swagger.json 687 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetDivisions": {
  391. "get": {
  392. "produces": [
  393. "application/json"
  394. ],
  395. "tags": [
  396. "通用服务"
  397. ],
  398. "summary": "查询区域信息",
  399. "responses": {
  400. "200": {
  401. "description": "OK",
  402. "schema": {
  403. "$ref": "#/definitions/models.Division"
  404. }
  405. },
  406. "500": {
  407. "description": "Internal Server Error",
  408. "schema": {
  409. "$ref": "#/definitions/app.Response"
  410. }
  411. }
  412. }
  413. }
  414. },
  415. "/Common/GetServerTime": {
  416. "get": {
  417. "produces": [
  418. "application/json"
  419. ],
  420. "tags": [
  421. "通用服务"
  422. ],
  423. "summary": "获取服务器时间",
  424. "responses": {
  425. "200": {
  426. "description": "OK",
  427. "schema": {
  428. "$ref": "#/definitions/app.Response"
  429. }
  430. },
  431. "500": {
  432. "description": "Internal Server Error",
  433. "schema": {
  434. "$ref": "#/definitions/app.Response"
  435. }
  436. }
  437. }
  438. }
  439. },
  440. "/Common/NoticeReaded": {
  441. "post": {
  442. "security": [
  443. {
  444. "ApiKeyAuth": []
  445. }
  446. ],
  447. "produces": [
  448. "application/json"
  449. ],
  450. "tags": [
  451. "通用服务"
  452. ],
  453. "summary": "通知公告设置已读请求",
  454. "parameters": [
  455. {
  456. "type": "integer",
  457. "description": "登录账号",
  458. "name": "loginID",
  459. "in": "query",
  460. "required": true
  461. },
  462. {
  463. "type": "integer",
  464. "description": "通知公告ID",
  465. "name": "noticeID",
  466. "in": "query",
  467. "required": true
  468. }
  469. ],
  470. "responses": {
  471. "200": {
  472. "description": "OK",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. },
  477. "500": {
  478. "description": "Internal Server Error",
  479. "schema": {
  480. "$ref": "#/definitions/app.Response"
  481. }
  482. }
  483. }
  484. }
  485. },
  486. "/Common/QueryErrorInfos": {
  487. "get": {
  488. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  489. "produces": [
  490. "application/json"
  491. ],
  492. "tags": [
  493. "通用服务"
  494. ],
  495. "summary": "获取数据库错误信息",
  496. "parameters": [
  497. {
  498. "type": "string",
  499. "description": "起始行号前索引",
  500. "name": "rowNumber",
  501. "in": "query"
  502. }
  503. ],
  504. "responses": {
  505. "200": {
  506. "description": "OK",
  507. "schema": {
  508. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  509. }
  510. },
  511. "500": {
  512. "description": "Internal Server Error",
  513. "schema": {
  514. "$ref": "#/definitions/app.Response"
  515. }
  516. }
  517. }
  518. }
  519. },
  520. "/Common/QueryImageConfigs": {
  521. "get": {
  522. "produces": [
  523. "application/json"
  524. ],
  525. "tags": [
  526. "通用服务"
  527. ],
  528. "summary": "查询轮播图配置信息",
  529. "parameters": [
  530. {
  531. "type": "integer",
  532. "description": "类型 - 1:App首页轮播 2:我的",
  533. "name": "imageType",
  534. "in": "query"
  535. }
  536. ],
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/QueryNotice": {
  554. "get": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告系统消息查询",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "页码",
  571. "name": "page",
  572. "in": "query"
  573. },
  574. {
  575. "type": "integer",
  576. "description": "每页条数",
  577. "name": "pagesize",
  578. "in": "query"
  579. },
  580. {
  581. "type": "integer",
  582. "description": "登录账号",
  583. "name": "loginID",
  584. "in": "query",
  585. "required": true
  586. },
  587. {
  588. "type": "integer",
  589. "description": "消息类型 - 1:公告通知 2:系统消息",
  590. "name": "msgType",
  591. "in": "query"
  592. },
  593. {
  594. "type": "boolean",
  595. "description": "是否只获取未读信息",
  596. "name": "onlyUnRead",
  597. "in": "query"
  598. },
  599. {
  600. "type": "integer",
  601. "description": "自增ID,传入后会返回这个ID后面的记录",
  602. "name": "lastID",
  603. "in": "query"
  604. }
  605. ],
  606. "responses": {
  607. "200": {
  608. "description": "OK",
  609. "schema": {
  610. "$ref": "#/definitions/common.QueryNoticeRsp"
  611. }
  612. },
  613. "500": {
  614. "description": "Internal Server Error",
  615. "schema": {
  616. "$ref": "#/definitions/app.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/Common/QueryProvincesAndCities": {
  623. "get": {
  624. "produces": [
  625. "application/json"
  626. ],
  627. "tags": [
  628. "通用服务"
  629. ],
  630. "summary": "查询省市信息(不包括区)",
  631. "parameters": [
  632. {
  633. "type": "integer",
  634. "description": "省ID",
  635. "name": "provinceID",
  636. "in": "query"
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "OK",
  642. "schema": {
  643. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  644. }
  645. },
  646. "500": {
  647. "description": "Internal Server Error",
  648. "schema": {
  649. "$ref": "#/definitions/app.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/Common/QueryTableDefine": {
  656. "get": {
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "通用服务"
  662. ],
  663. "summary": "查询交易端列表头信息",
  664. "parameters": [
  665. {
  666. "type": "string",
  667. "description": "表key",
  668. "name": "tableKey",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  674. "name": "tableType",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryTableDefineRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryTraderMenu": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询交易端菜单",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "登录账号",
  707. "name": "loginid",
  708. "in": "query",
  709. "required": true
  710. }
  711. ],
  712. "responses": {
  713. "200": {
  714. "description": "OK",
  715. "schema": {
  716. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  717. }
  718. },
  719. "500": {
  720. "description": "Internal Server Error",
  721. "schema": {
  722. "$ref": "#/definitions/app.Response"
  723. }
  724. }
  725. }
  726. }
  727. },
  728. "/Delivery/QueryDeliveryRelation": {
  729. "get": {
  730. "security": [
  731. {
  732. "ApiKeyAuth": []
  733. }
  734. ],
  735. "produces": [
  736. "application/json"
  737. ],
  738. "tags": [
  739. "交割服务"
  740. ],
  741. "summary": "查询商品交割关系表",
  742. "parameters": [
  743. {
  744. "type": "integer",
  745. "description": "商品ID",
  746. "name": "goodsid",
  747. "in": "query"
  748. },
  749. {
  750. "type": "integer",
  751. "description": "品种ID",
  752. "name": "deliverygoodsid",
  753. "in": "query"
  754. },
  755. {
  756. "type": "integer",
  757. "description": "市场ID",
  758. "name": "marketid",
  759. "in": "query"
  760. }
  761. ],
  762. "responses": {
  763. "200": {
  764. "description": "OK",
  765. "schema": {
  766. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  767. }
  768. },
  769. "500": {
  770. "description": "Internal Server Error",
  771. "schema": {
  772. "$ref": "#/definitions/app.Response"
  773. }
  774. }
  775. }
  776. }
  777. },
  778. "/Ermcp/GetErmcpGoods": {
  779. "get": {
  780. "security": [
  781. {
  782. "ApiKeyAuth": []
  783. }
  784. ],
  785. "produces": [
  786. "application/json"
  787. ],
  788. "tags": [
  789. "企业风险管理(app)"
  790. ],
  791. "summary": "查询企业风管期货商品信息",
  792. "parameters": [
  793. {
  794. "type": "string",
  795. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  796. "name": "lastUpdateTime",
  797. "in": "query"
  798. }
  799. ],
  800. "responses": {
  801. "200": {
  802. "description": "OK",
  803. "schema": {
  804. "$ref": "#/definitions/models.Goods"
  805. }
  806. },
  807. "500": {
  808. "description": "Internal Server Error",
  809. "schema": {
  810. "$ref": "#/definitions/app.Response"
  811. }
  812. }
  813. }
  814. }
  815. },
  816. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  817. "get": {
  818. "security": [
  819. {
  820. "ApiKeyAuth": []
  821. }
  822. ],
  823. "produces": [
  824. "application/json"
  825. ],
  826. "tags": [
  827. "企业风险管理(app)"
  828. ],
  829. "summary": "获取企业风管终端权限",
  830. "parameters": [
  831. {
  832. "type": "integer",
  833. "description": "登录账号",
  834. "name": "loginID",
  835. "in": "query",
  836. "required": true
  837. }
  838. ],
  839. "responses": {
  840. "200": {
  841. "description": "OK",
  842. "schema": {
  843. "$ref": "#/definitions/models.Funcmenulist"
  844. }
  845. },
  846. "500": {
  847. "description": "Internal Server Error",
  848. "schema": {
  849. "$ref": "#/definitions/app.Response"
  850. }
  851. }
  852. }
  853. }
  854. },
  855. "/Ermcp/QryReportDayExposure": {
  856. "get": {
  857. "security": [
  858. {
  859. "ApiKeyAuth": []
  860. }
  861. ],
  862. "produces": [
  863. "application/json"
  864. ],
  865. "tags": [
  866. "企业风险管理(app)"
  867. ],
  868. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  869. "parameters": [
  870. {
  871. "type": "integer",
  872. "description": "用户ID",
  873. "name": "userid",
  874. "in": "query",
  875. "required": true
  876. },
  877. {
  878. "type": "string",
  879. "description": "交易日(格式:yyyyMMdd)",
  880. "name": "tradedate",
  881. "in": "query",
  882. "required": true
  883. }
  884. ],
  885. "responses": {
  886. "200": {
  887. "description": "OK",
  888. "schema": {
  889. "type": "array",
  890. "items": {
  891. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  892. }
  893. }
  894. },
  895. "500": {
  896. "description": "Internal Server Error",
  897. "schema": {
  898. "$ref": "#/definitions/app.Response"
  899. }
  900. }
  901. }
  902. }
  903. },
  904. "/Ermcp/QryReportDayFinance": {
  905. "get": {
  906. "security": [
  907. {
  908. "ApiKeyAuth": []
  909. }
  910. ],
  911. "produces": [
  912. "application/json"
  913. ],
  914. "tags": [
  915. "企业风险管理(app)"
  916. ],
  917. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  918. "parameters": [
  919. {
  920. "type": "integer",
  921. "description": "用户ID",
  922. "name": "userid",
  923. "in": "query",
  924. "required": true
  925. },
  926. {
  927. "type": "string",
  928. "description": "交易日(格式:yyyyMMdd)",
  929. "name": "tradedate",
  930. "in": "query",
  931. "required": true
  932. }
  933. ],
  934. "responses": {
  935. "200": {
  936. "description": "OK",
  937. "schema": {
  938. "type": "array",
  939. "items": {
  940. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  941. }
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportDayFinanceFp": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "string",
  977. "description": "交易日(格式:yyyyMMdd)",
  978. "name": "tradedate",
  979. "in": "query",
  980. "required": true
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "OK",
  986. "schema": {
  987. "type": "array",
  988. "items": {
  989. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  990. }
  991. }
  992. },
  993. "500": {
  994. "description": "Internal Server Error",
  995. "schema": {
  996. "$ref": "#/definitions/app.Response"
  997. }
  998. }
  999. }
  1000. }
  1001. },
  1002. "/Ermcp/QryReportDayFinanceKx": {
  1003. "get": {
  1004. "security": [
  1005. {
  1006. "ApiKeyAuth": []
  1007. }
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "企业风险管理(app)"
  1014. ],
  1015. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1016. "parameters": [
  1017. {
  1018. "type": "integer",
  1019. "description": "用户ID",
  1020. "name": "userid",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "string",
  1026. "description": "交易日(格式:yyyyMMdd)",
  1027. "name": "tradedate",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QryReportDaySpot": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "string",
  1075. "description": "交易日(格式:yyyyMMdd)",
  1076. "name": "tradedate",
  1077. "in": "query",
  1078. "required": true
  1079. }
  1080. ],
  1081. "responses": {
  1082. "200": {
  1083. "description": "OK",
  1084. "schema": {
  1085. "type": "array",
  1086. "items": {
  1087. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1088. }
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Ermcp/QryReportDaySpotDetail": {
  1101. "get": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "企业风险管理(app)"
  1112. ],
  1113. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1114. "parameters": [
  1115. {
  1116. "type": "integer",
  1117. "description": "用户ID",
  1118. "name": "userid",
  1119. "in": "query",
  1120. "required": true
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "现货商品id",
  1125. "name": "wrstandardid",
  1126. "in": "query",
  1127. "required": true
  1128. },
  1129. {
  1130. "type": "string",
  1131. "description": "交易日(格式:yyyyMMdd)",
  1132. "name": "tradedate",
  1133. "in": "query",
  1134. "required": true
  1135. }
  1136. ],
  1137. "responses": {
  1138. "200": {
  1139. "description": "OK",
  1140. "schema": {
  1141. "type": "array",
  1142. "items": {
  1143. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1144. }
  1145. }
  1146. },
  1147. "500": {
  1148. "description": "Internal Server Error",
  1149. "schema": {
  1150. "$ref": "#/definitions/app.Response"
  1151. }
  1152. }
  1153. }
  1154. }
  1155. },
  1156. "/Ermcp/QryReportMonthFinance": {
  1157. "get": {
  1158. "security": [
  1159. {
  1160. "ApiKeyAuth": []
  1161. }
  1162. ],
  1163. "produces": [
  1164. "application/json"
  1165. ],
  1166. "tags": [
  1167. "企业风险管理(app)"
  1168. ],
  1169. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1170. "parameters": [
  1171. {
  1172. "type": "integer",
  1173. "description": "用户ID",
  1174. "name": "userid",
  1175. "in": "query",
  1176. "required": true
  1177. },
  1178. {
  1179. "type": "string",
  1180. "description": "周期时间:月(格式:yyyyMM)",
  1181. "name": "cycletime",
  1182. "in": "query",
  1183. "required": true
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "type": "array",
  1191. "items": {
  1192. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1193. }
  1194. }
  1195. },
  1196. "500": {
  1197. "description": "Internal Server Error",
  1198. "schema": {
  1199. "$ref": "#/definitions/app.Response"
  1200. }
  1201. }
  1202. }
  1203. }
  1204. },
  1205. "/Ermcp/QryReportMonthSpot": {
  1206. "get": {
  1207. "security": [
  1208. {
  1209. "ApiKeyAuth": []
  1210. }
  1211. ],
  1212. "produces": [
  1213. "application/json"
  1214. ],
  1215. "tags": [
  1216. "企业风险管理(app)"
  1217. ],
  1218. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1219. "parameters": [
  1220. {
  1221. "type": "integer",
  1222. "description": "用户ID",
  1223. "name": "userid",
  1224. "in": "query",
  1225. "required": true
  1226. },
  1227. {
  1228. "type": "string",
  1229. "description": "周期时间:月(格式:yyyyMM)",
  1230. "name": "cycletime",
  1231. "in": "query",
  1232. "required": true
  1233. }
  1234. ],
  1235. "responses": {
  1236. "200": {
  1237. "description": "OK",
  1238. "schema": {
  1239. "type": "array",
  1240. "items": {
  1241. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1242. }
  1243. }
  1244. },
  1245. "500": {
  1246. "description": "Internal Server Error",
  1247. "schema": {
  1248. "$ref": "#/definitions/app.Response"
  1249. }
  1250. }
  1251. }
  1252. }
  1253. },
  1254. "/Ermcp/QryReportMonthSpotDetail": {
  1255. "get": {
  1256. "security": [
  1257. {
  1258. "ApiKeyAuth": []
  1259. }
  1260. ],
  1261. "produces": [
  1262. "application/json"
  1263. ],
  1264. "tags": [
  1265. "企业风险管理(app)"
  1266. ],
  1267. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1268. "parameters": [
  1269. {
  1270. "type": "integer",
  1271. "description": "用户ID",
  1272. "name": "userid",
  1273. "in": "query",
  1274. "required": true
  1275. },
  1276. {
  1277. "type": "integer",
  1278. "description": "现货商品id",
  1279. "name": "wrstandardid",
  1280. "in": "query",
  1281. "required": true
  1282. },
  1283. {
  1284. "type": "string",
  1285. "description": "周期时间:月(格式:yyyyMM)",
  1286. "name": "cycletime",
  1287. "in": "query",
  1288. "required": true
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "type": "array",
  1296. "items": {
  1297. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1298. }
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/QueryAreaStockApply": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "查询库存申请(出入库记录|库存审核)",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "用户ID",
  1328. "name": "userid",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "string",
  1334. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1335. "name": "inouttype",
  1336. "in": "query"
  1337. },
  1338. {
  1339. "type": "integer",
  1340. "description": "合同ID",
  1341. "name": "spotcontractid",
  1342. "in": "query"
  1343. },
  1344. {
  1345. "type": "integer",
  1346. "description": "现货商品ID",
  1347. "name": "wrstandardid",
  1348. "in": "query"
  1349. },
  1350. {
  1351. "type": "integer",
  1352. "description": "品牌ID",
  1353. "name": "spotgoodsbrandid",
  1354. "in": "query"
  1355. },
  1356. {
  1357. "type": "integer",
  1358. "description": "型号ID",
  1359. "name": "spotgoodsmodelid",
  1360. "in": "query"
  1361. },
  1362. {
  1363. "type": "integer",
  1364. "description": "仓库ID",
  1365. "name": "warehouseinfoid",
  1366. "in": "query"
  1367. },
  1368. {
  1369. "type": "string",
  1370. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1371. "name": "applystatus",
  1372. "in": "query"
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "type": "array",
  1380. "items": {
  1381. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1382. }
  1383. }
  1384. },
  1385. "500": {
  1386. "description": "Internal Server Error",
  1387. "schema": {
  1388. "$ref": "#/definitions/app.Response"
  1389. }
  1390. }
  1391. }
  1392. }
  1393. },
  1394. "/Ermcp/QueryAvaildGoodsGroup": {
  1395. "get": {
  1396. "security": [
  1397. {
  1398. "ApiKeyAuth": []
  1399. }
  1400. ],
  1401. "produces": [
  1402. "application/json"
  1403. ],
  1404. "tags": [
  1405. "企业风险管理(app)"
  1406. ],
  1407. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "所属机构ID",
  1412. "name": "userid",
  1413. "in": "query",
  1414. "required": true
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "OK",
  1420. "schema": {
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1424. }
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Ermcp/QueryBusinessDj": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "企业风险管理(app)"
  1448. ],
  1449. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1450. "parameters": [
  1451. {
  1452. "type": "integer",
  1453. "description": "用户ID",
  1454. "name": "UserId",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessFp": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "现货合同ID, 不填则查所有",
  1509. "name": "relatedid",
  1510. "in": "query"
  1511. }
  1512. ],
  1513. "responses": {
  1514. "200": {
  1515. "description": "OK",
  1516. "schema": {
  1517. "type": "array",
  1518. "items": {
  1519. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1520. }
  1521. }
  1522. },
  1523. "500": {
  1524. "description": "Internal Server Error",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. }
  1529. }
  1530. }
  1531. },
  1532. "/Ermcp/QueryBusinessJs": {
  1533. "get": {
  1534. "security": [
  1535. {
  1536. "ApiKeyAuth": []
  1537. }
  1538. ],
  1539. "produces": [
  1540. "application/json"
  1541. ],
  1542. "tags": [
  1543. "企业风险管理(app)"
  1544. ],
  1545. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1546. "parameters": [
  1547. {
  1548. "type": "integer",
  1549. "description": "用户ID",
  1550. "name": "UserId",
  1551. "in": "query",
  1552. "required": true
  1553. },
  1554. {
  1555. "type": "string",
  1556. "description": "现货合同ID, 不填则查所有",
  1557. "name": "relatedid",
  1558. "in": "query"
  1559. }
  1560. ],
  1561. "responses": {
  1562. "200": {
  1563. "description": "OK",
  1564. "schema": {
  1565. "type": "array",
  1566. "items": {
  1567. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1568. }
  1569. }
  1570. },
  1571. "500": {
  1572. "description": "Internal Server Error",
  1573. "schema": {
  1574. "$ref": "#/definitions/app.Response"
  1575. }
  1576. }
  1577. }
  1578. }
  1579. },
  1580. "/Ermcp/QueryBusinessJsEx": {
  1581. "get": {
  1582. "security": [
  1583. {
  1584. "ApiKeyAuth": []
  1585. }
  1586. ],
  1587. "produces": [
  1588. "application/json"
  1589. ],
  1590. "tags": [
  1591. "企业风险管理(app)"
  1592. ],
  1593. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1594. "parameters": [
  1595. {
  1596. "type": "integer",
  1597. "description": "用户ID",
  1598. "name": "UserId",
  1599. "in": "query",
  1600. "required": true
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "现货合同ID, 不填则查所有",
  1605. "name": "relatedid",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "现货合同ID, 不填则查所有",
  1653. "name": "relatedid",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryContract": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "查询合同(采购和销售)",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "用户ID",
  1736. "name": "userId",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "integer",
  1742. "description": "合同类型 1-采购, -1-销售",
  1743. "name": "contracttype",
  1744. "in": "query",
  1745. "required": true
  1746. },
  1747. {
  1748. "type": "integer",
  1749. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1750. "name": "querytype",
  1751. "in": "query",
  1752. "required": true
  1753. }
  1754. ],
  1755. "responses": {
  1756. "200": {
  1757. "description": "OK",
  1758. "schema": {
  1759. "type": "array",
  1760. "items": {
  1761. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1762. }
  1763. }
  1764. },
  1765. "500": {
  1766. "description": "Internal Server Error",
  1767. "schema": {
  1768. "$ref": "#/definitions/app.Response"
  1769. }
  1770. }
  1771. }
  1772. }
  1773. },
  1774. "/Ermcp/QueryErmcpHisOrderDetails": {
  1775. "get": {
  1776. "security": [
  1777. {
  1778. "ApiKeyAuth": []
  1779. }
  1780. ],
  1781. "produces": [
  1782. "application/json"
  1783. ],
  1784. "tags": [
  1785. "企业风险管理(app)"
  1786. ],
  1787. "summary": "获取企业风管期货历史委托单信息",
  1788. "parameters": [
  1789. {
  1790. "type": "integer",
  1791. "description": "资金账户ID",
  1792. "name": "accountID",
  1793. "in": "query",
  1794. "required": true
  1795. },
  1796. {
  1797. "type": "string",
  1798. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1799. "name": "startDate",
  1800. "in": "query"
  1801. },
  1802. {
  1803. "type": "string",
  1804. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1805. "name": "endDate",
  1806. "in": "query"
  1807. }
  1808. ],
  1809. "responses": {
  1810. "200": {
  1811. "description": "OK",
  1812. "schema": {
  1813. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1814. }
  1815. },
  1816. "500": {
  1817. "description": "Internal Server Error",
  1818. "schema": {
  1819. "$ref": "#/definitions/app.Response"
  1820. }
  1821. }
  1822. }
  1823. }
  1824. },
  1825. "/Ermcp/QueryErmcpHisTradeDetails": {
  1826. "get": {
  1827. "security": [
  1828. {
  1829. "ApiKeyAuth": []
  1830. }
  1831. ],
  1832. "produces": [
  1833. "application/json"
  1834. ],
  1835. "tags": [
  1836. "企业风险管理(app)"
  1837. ],
  1838. "summary": "获取企业风管期货历史成交单信息",
  1839. "parameters": [
  1840. {
  1841. "type": "integer",
  1842. "description": "资金账户ID",
  1843. "name": "accountID",
  1844. "in": "query",
  1845. "required": true
  1846. },
  1847. {
  1848. "type": "integer",
  1849. "description": "商品ID",
  1850. "name": "goodsID",
  1851. "in": "query"
  1852. },
  1853. {
  1854. "type": "integer",
  1855. "description": "买卖方向,0:买 1:卖",
  1856. "name": "buyOrSell",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "string",
  1861. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1862. "name": "startDate",
  1863. "in": "query"
  1864. },
  1865. {
  1866. "type": "string",
  1867. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1868. "name": "endDate",
  1869. "in": "query"
  1870. }
  1871. ],
  1872. "responses": {
  1873. "200": {
  1874. "description": "OK",
  1875. "schema": {
  1876. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1877. }
  1878. },
  1879. "500": {
  1880. "description": "Internal Server Error",
  1881. "schema": {
  1882. "$ref": "#/definitions/app.Response"
  1883. }
  1884. }
  1885. }
  1886. }
  1887. },
  1888. "/Ermcp/QueryErmcpOrderDetails": {
  1889. "get": {
  1890. "security": [
  1891. {
  1892. "ApiKeyAuth": []
  1893. }
  1894. ],
  1895. "produces": [
  1896. "application/json"
  1897. ],
  1898. "tags": [
  1899. "企业风险管理(app)"
  1900. ],
  1901. "summary": "获取企业风管期货委托单信息",
  1902. "parameters": [
  1903. {
  1904. "type": "integer",
  1905. "description": "资金账户ID",
  1906. "name": "accountID",
  1907. "in": "query",
  1908. "required": true
  1909. }
  1910. ],
  1911. "responses": {
  1912. "200": {
  1913. "description": "OK",
  1914. "schema": {
  1915. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1916. }
  1917. },
  1918. "500": {
  1919. "description": "Internal Server Error",
  1920. "schema": {
  1921. "$ref": "#/definitions/app.Response"
  1922. }
  1923. }
  1924. }
  1925. }
  1926. },
  1927. "/Ermcp/QueryErmcpTradeDetails": {
  1928. "get": {
  1929. "security": [
  1930. {
  1931. "ApiKeyAuth": []
  1932. }
  1933. ],
  1934. "produces": [
  1935. "application/json"
  1936. ],
  1937. "tags": [
  1938. "企业风险管理(app)"
  1939. ],
  1940. "summary": "获取企业风管期货成交单信息",
  1941. "parameters": [
  1942. {
  1943. "type": "integer",
  1944. "description": "资金账户ID",
  1945. "name": "accountID",
  1946. "in": "query",
  1947. "required": true
  1948. },
  1949. {
  1950. "type": "integer",
  1951. "description": "商品ID",
  1952. "name": "goodsID",
  1953. "in": "query"
  1954. },
  1955. {
  1956. "type": "integer",
  1957. "description": "买卖方向,0:买 1:卖",
  1958. "name": "buyOrSell",
  1959. "in": "query"
  1960. }
  1961. ],
  1962. "responses": {
  1963. "200": {
  1964. "description": "OK",
  1965. "schema": {
  1966. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1967. }
  1968. },
  1969. "500": {
  1970. "description": "Internal Server Error",
  1971. "schema": {
  1972. "$ref": "#/definitions/app.Response"
  1973. }
  1974. }
  1975. }
  1976. }
  1977. },
  1978. "/Ermcp/QueryErmcpTradePosition": {
  1979. "get": {
  1980. "security": [
  1981. {
  1982. "ApiKeyAuth": []
  1983. }
  1984. ],
  1985. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "企业风险管理(app)"
  1991. ],
  1992. "summary": "获取企业风管期货持仓头寸信息",
  1993. "parameters": [
  1994. {
  1995. "type": "integer",
  1996. "description": "资金账户ID",
  1997. "name": "accountID",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "所属市场ID",
  2004. "name": "marketID",
  2005. "in": "query"
  2006. }
  2007. ],
  2008. "responses": {
  2009. "200": {
  2010. "description": "OK",
  2011. "schema": {
  2012. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryExposureDetail": {
  2025. "get": {
  2026. "security": [
  2027. {
  2028. "ApiKeyAuth": []
  2029. }
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "企业风险管理(app)"
  2036. ],
  2037. "summary": "查询敞口现货明细",
  2038. "parameters": [
  2039. {
  2040. "type": "integer",
  2041. "description": "所属机构ID",
  2042. "name": "areaUserId",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "套保商品",
  2049. "name": "middleGoodsId",
  2050. "in": "query",
  2051. "required": true
  2052. }
  2053. ],
  2054. "responses": {
  2055. "200": {
  2056. "description": "OK",
  2057. "schema": {
  2058. "type": "array",
  2059. "items": {
  2060. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2061. }
  2062. }
  2063. },
  2064. "500": {
  2065. "description": "Internal Server Error",
  2066. "schema": {
  2067. "$ref": "#/definitions/app.Response"
  2068. }
  2069. }
  2070. }
  2071. }
  2072. },
  2073. "/Ermcp/QueryExposureHedgePosition": {
  2074. "get": {
  2075. "security": [
  2076. {
  2077. "ApiKeyAuth": []
  2078. }
  2079. ],
  2080. "produces": [
  2081. "application/json"
  2082. ],
  2083. "tags": [
  2084. "企业风险管理(app)"
  2085. ],
  2086. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2087. "parameters": [
  2088. {
  2089. "type": "integer",
  2090. "description": "所属机构ID",
  2091. "name": "areaUserId",
  2092. "in": "query",
  2093. "required": true
  2094. }
  2095. ],
  2096. "responses": {
  2097. "200": {
  2098. "description": "OK",
  2099. "schema": {
  2100. "type": "array",
  2101. "items": {
  2102. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2103. }
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "Internal Server Error",
  2108. "schema": {
  2109. "$ref": "#/definitions/app.Response"
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "/Ermcp/QueryExposureHedgePositionDetail": {
  2116. "get": {
  2117. "security": [
  2118. {
  2119. "ApiKeyAuth": []
  2120. }
  2121. ],
  2122. "produces": [
  2123. "application/json"
  2124. ],
  2125. "tags": [
  2126. "企业风险管理(app)"
  2127. ],
  2128. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2129. "parameters": [
  2130. {
  2131. "type": "integer",
  2132. "description": "所属机构ID",
  2133. "name": "areaUserId",
  2134. "in": "query",
  2135. "required": true
  2136. },
  2137. {
  2138. "type": "integer",
  2139. "description": "商品id",
  2140. "name": "goodsId",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureSpot": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "areaUserId",
  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.ExposureSpotRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryExposureSpotDetail": {
  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. "type": "integer",
  2230. "description": "现货品种ID",
  2231. "name": "wrstandardId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryGGConvertConfig": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "品种id(不填则查所有)",
  2273. "name": "goodsgroupid",
  2274. "in": "query"
  2275. }
  2276. ],
  2277. "responses": {
  2278. "200": {
  2279. "description": "OK",
  2280. "schema": {
  2281. "type": "array",
  2282. "items": {
  2283. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2284. }
  2285. }
  2286. },
  2287. "500": {
  2288. "description": "Internal Server Error",
  2289. "schema": {
  2290. "$ref": "#/definitions/app.Response"
  2291. }
  2292. }
  2293. }
  2294. }
  2295. },
  2296. "/Ermcp/QueryHedgePlan": {
  2297. "get": {
  2298. "security": [
  2299. {
  2300. "ApiKeyAuth": []
  2301. }
  2302. ],
  2303. "produces": [
  2304. "application/json"
  2305. ],
  2306. "tags": [
  2307. "企业风险管理(app)"
  2308. ],
  2309. "summary": "查询套保计划",
  2310. "parameters": [
  2311. {
  2312. "type": "integer",
  2313. "description": "用户ID",
  2314. "name": "userId",
  2315. "in": "query",
  2316. "required": true
  2317. },
  2318. {
  2319. "type": "string",
  2320. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2321. "name": "HedgePlanStatus",
  2322. "in": "query",
  2323. "required": true
  2324. }
  2325. ],
  2326. "responses": {
  2327. "200": {
  2328. "description": "OK",
  2329. "schema": {
  2330. "type": "array",
  2331. "items": {
  2332. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2333. }
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/Ermcp/QueryHisExposure": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "企业风险管理(app)"
  2357. ],
  2358. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2359. "parameters": [
  2360. {
  2361. "type": "integer",
  2362. "description": "所属机构ID",
  2363. "name": "areaUserId",
  2364. "in": "query",
  2365. "required": true
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "每个品种记录数",
  2370. "name": "lastNum",
  2371. "in": "query",
  2372. "required": true
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "type": "array",
  2380. "items": {
  2381. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2382. }
  2383. }
  2384. },
  2385. "500": {
  2386. "description": "Internal Server Error",
  2387. "schema": {
  2388. "$ref": "#/definitions/app.Response"
  2389. }
  2390. }
  2391. }
  2392. }
  2393. },
  2394. "/Ermcp/QueryMiddleGoods": {
  2395. "get": {
  2396. "security": [
  2397. {
  2398. "ApiKeyAuth": []
  2399. }
  2400. ],
  2401. "produces": [
  2402. "application/json"
  2403. ],
  2404. "tags": [
  2405. "企业风险管理(app)"
  2406. ],
  2407. "summary": "查询套保品种(菜单:套保品种)",
  2408. "parameters": [
  2409. {
  2410. "type": "integer",
  2411. "description": "所属机构ID",
  2412. "name": "userid",
  2413. "in": "query",
  2414. "required": true
  2415. },
  2416. {
  2417. "type": "integer",
  2418. "description": "状态 0-停用 1-正常",
  2419. "name": "status",
  2420. "in": "query",
  2421. "required": true
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "所属机构ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "套保品种id",
  2468. "name": "middlegoodsid",
  2469. "in": "query",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "type": "array",
  2478. "items": {
  2479. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2480. }
  2481. }
  2482. },
  2483. "500": {
  2484. "description": "Internal Server Error",
  2485. "schema": {
  2486. "$ref": "#/definitions/app.Response"
  2487. }
  2488. }
  2489. }
  2490. }
  2491. },
  2492. "/Ermcp/QueryMiddleGoodsDetail": {
  2493. "get": {
  2494. "security": [
  2495. {
  2496. "ApiKeyAuth": []
  2497. }
  2498. ],
  2499. "produces": [
  2500. "application/json"
  2501. ],
  2502. "tags": [
  2503. "企业风险管理(app)"
  2504. ],
  2505. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2506. "parameters": [
  2507. {
  2508. "type": "integer",
  2509. "description": "所属机构ID",
  2510. "name": "userid",
  2511. "in": "query",
  2512. "required": true
  2513. },
  2514. {
  2515. "type": "integer",
  2516. "description": "套保品种id",
  2517. "name": "middlegoodsid",
  2518. "in": "query",
  2519. "required": true
  2520. }
  2521. ],
  2522. "responses": {
  2523. "200": {
  2524. "description": "OK",
  2525. "schema": {
  2526. "type": "array",
  2527. "items": {
  2528. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2529. }
  2530. }
  2531. },
  2532. "500": {
  2533. "description": "Internal Server Error",
  2534. "schema": {
  2535. "$ref": "#/definitions/app.Response"
  2536. }
  2537. }
  2538. }
  2539. }
  2540. },
  2541. "/Ermcp/QueryPendingAuditInfo": {
  2542. "get": {
  2543. "security": [
  2544. {
  2545. "ApiKeyAuth": []
  2546. }
  2547. ],
  2548. "produces": [
  2549. "application/json"
  2550. ],
  2551. "tags": [
  2552. "企业风险管理(app)"
  2553. ],
  2554. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2555. "parameters": [
  2556. {
  2557. "type": "integer",
  2558. "description": "用户ID",
  2559. "name": "UserId",
  2560. "in": "query",
  2561. "required": true
  2562. }
  2563. ],
  2564. "responses": {
  2565. "200": {
  2566. "description": "OK",
  2567. "schema": {
  2568. "type": "array",
  2569. "items": {
  2570. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2571. }
  2572. }
  2573. },
  2574. "500": {
  2575. "description": "Internal Server Error",
  2576. "schema": {
  2577. "$ref": "#/definitions/app.Response"
  2578. }
  2579. }
  2580. }
  2581. }
  2582. },
  2583. "/Ermcp/QueryRealtimeExposure": {
  2584. "get": {
  2585. "security": [
  2586. {
  2587. "ApiKeyAuth": []
  2588. }
  2589. ],
  2590. "produces": [
  2591. "application/json"
  2592. ],
  2593. "tags": [
  2594. "企业风险管理(app)"
  2595. ],
  2596. "summary": "查询实时敞口",
  2597. "parameters": [
  2598. {
  2599. "type": "integer",
  2600. "description": "所属机构ID",
  2601. "name": "AreaUserID",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryRealtimeExposurePosition": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "areaUserId",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保商品ID",
  2650. "name": "middleGoodsId",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QuerySpotContract": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询现货合同(对应现货合同菜单)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "userId",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2699. "name": "QueryType",
  2700. "in": "query",
  2701. "required": true
  2702. }
  2703. ],
  2704. "responses": {
  2705. "200": {
  2706. "description": "OK",
  2707. "schema": {
  2708. "type": "array",
  2709. "items": {
  2710. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2711. }
  2712. }
  2713. },
  2714. "500": {
  2715. "description": "Internal Server Error",
  2716. "schema": {
  2717. "$ref": "#/definitions/app.Response"
  2718. }
  2719. }
  2720. }
  2721. }
  2722. },
  2723. "/Ermcp/QueryUserInfo": {
  2724. "get": {
  2725. "security": [
  2726. {
  2727. "ApiKeyAuth": []
  2728. }
  2729. ],
  2730. "produces": [
  2731. "application/json"
  2732. ],
  2733. "tags": [
  2734. "企业风险管理(app)"
  2735. ],
  2736. "summary": "查询客户资料",
  2737. "parameters": [
  2738. {
  2739. "type": "integer",
  2740. "description": "所属机构用户ID",
  2741. "name": "MemberUserID",
  2742. "in": "query",
  2743. "required": true
  2744. },
  2745. {
  2746. "type": "integer",
  2747. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2748. "name": "queryType",
  2749. "in": "query",
  2750. "required": true
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "type": "array",
  2758. "items": {
  2759. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2760. }
  2761. }
  2762. },
  2763. "500": {
  2764. "description": "Internal Server Error",
  2765. "schema": {
  2766. "$ref": "#/definitions/app.Response"
  2767. }
  2768. }
  2769. }
  2770. }
  2771. },
  2772. "/Ermcp/QueryWarehouseInfo": {
  2773. "get": {
  2774. "security": [
  2775. {
  2776. "ApiKeyAuth": []
  2777. }
  2778. ],
  2779. "produces": [
  2780. "application/json"
  2781. ],
  2782. "tags": [
  2783. "企业风险管理(app)"
  2784. ],
  2785. "summary": "查询仓库信息",
  2786. "parameters": [
  2787. {
  2788. "type": "integer",
  2789. "description": "用户ID",
  2790. "name": "userid",
  2791. "in": "query",
  2792. "required": true
  2793. },
  2794. {
  2795. "type": "integer",
  2796. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2797. "name": "status",
  2798. "in": "query"
  2799. }
  2800. ],
  2801. "responses": {
  2802. "200": {
  2803. "description": "OK",
  2804. "schema": {
  2805. "type": "array",
  2806. "items": {
  2807. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2808. }
  2809. }
  2810. },
  2811. "500": {
  2812. "description": "Internal Server Error",
  2813. "schema": {
  2814. "$ref": "#/definitions/app.Response"
  2815. }
  2816. }
  2817. }
  2818. }
  2819. },
  2820. "/Ermcp/QueryWrStandard": {
  2821. "get": {
  2822. "security": [
  2823. {
  2824. "ApiKeyAuth": []
  2825. }
  2826. ],
  2827. "produces": [
  2828. "application/json"
  2829. ],
  2830. "tags": [
  2831. "企业风险管理(app)"
  2832. ],
  2833. "summary": "查询现货商品",
  2834. "parameters": [
  2835. {
  2836. "type": "integer",
  2837. "description": "所属机构ID",
  2838. "name": "userid",
  2839. "in": "query",
  2840. "required": true
  2841. },
  2842. {
  2843. "type": "integer",
  2844. "description": "状态 0-停用 1-正常",
  2845. "name": "status",
  2846. "in": "query",
  2847. "required": true
  2848. }
  2849. ],
  2850. "responses": {
  2851. "200": {
  2852. "description": "OK",
  2853. "schema": {
  2854. "type": "array",
  2855. "items": {
  2856. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2857. }
  2858. }
  2859. },
  2860. "500": {
  2861. "description": "Internal Server Error",
  2862. "schema": {
  2863. "$ref": "#/definitions/app.Response"
  2864. }
  2865. }
  2866. }
  2867. }
  2868. },
  2869. "/Ermcp/QueryWrStandardDetail": {
  2870. "get": {
  2871. "security": [
  2872. {
  2873. "ApiKeyAuth": []
  2874. }
  2875. ],
  2876. "produces": [
  2877. "application/json"
  2878. ],
  2879. "tags": [
  2880. "企业风险管理(app)"
  2881. ],
  2882. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2883. "parameters": [
  2884. {
  2885. "type": "integer",
  2886. "description": "所属机构ID",
  2887. "name": "userid",
  2888. "in": "query",
  2889. "required": true
  2890. },
  2891. {
  2892. "type": "integer",
  2893. "description": "现货商品ID",
  2894. "name": "wrstandardid",
  2895. "in": "query",
  2896. "required": true
  2897. },
  2898. {
  2899. "type": "integer",
  2900. "description": "可不填, 1-查询关联交易商品",
  2901. "name": "goods",
  2902. "in": "query"
  2903. }
  2904. ],
  2905. "responses": {
  2906. "200": {
  2907. "description": "OK",
  2908. "schema": {
  2909. "type": "array",
  2910. "items": {
  2911. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2912. }
  2913. }
  2914. },
  2915. "500": {
  2916. "description": "Internal Server Error",
  2917. "schema": {
  2918. "$ref": "#/definitions/app.Response"
  2919. }
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "/Erms2/QueryArbitrageStrategy": {
  2925. "get": {
  2926. "security": [
  2927. {
  2928. "ApiKeyAuth": []
  2929. }
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "风险管理"
  2936. ],
  2937. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2938. "parameters": [
  2939. {
  2940. "type": "integer",
  2941. "description": "账户ID",
  2942. "name": "userid",
  2943. "in": "query",
  2944. "required": true
  2945. },
  2946. {
  2947. "type": "string",
  2948. "description": "商品组ID(品种ID)",
  2949. "name": "goodsgroupid",
  2950. "in": "query"
  2951. }
  2952. ],
  2953. "responses": {
  2954. "200": {
  2955. "description": "OK",
  2956. "schema": {
  2957. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2958. }
  2959. },
  2960. "500": {
  2961. "description": "Internal Server Error",
  2962. "schema": {
  2963. "$ref": "#/definitions/app.Response"
  2964. }
  2965. }
  2966. }
  2967. }
  2968. },
  2969. "/Erms2/QueryInnerTradeDetail": {
  2970. "get": {
  2971. "security": [
  2972. {
  2973. "ApiKeyAuth": []
  2974. }
  2975. ],
  2976. "produces": [
  2977. "application/json"
  2978. ],
  2979. "tags": [
  2980. "风险管理"
  2981. ],
  2982. "summary": "查询内部成交单信息",
  2983. "parameters": [
  2984. {
  2985. "type": "integer",
  2986. "description": "资金账户",
  2987. "name": "accountid",
  2988. "in": "query",
  2989. "required": true
  2990. }
  2991. ],
  2992. "responses": {
  2993. "200": {
  2994. "description": "OK",
  2995. "schema": {
  2996. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2997. }
  2998. },
  2999. "500": {
  3000. "description": "Internal Server Error",
  3001. "schema": {
  3002. "$ref": "#/definitions/app.Response"
  3003. }
  3004. }
  3005. }
  3006. }
  3007. },
  3008. "/Erms2/QuerySpotContract": {
  3009. "get": {
  3010. "security": [
  3011. {
  3012. "ApiKeyAuth": []
  3013. }
  3014. ],
  3015. "produces": [
  3016. "application/json"
  3017. ],
  3018. "tags": [
  3019. "风险管理"
  3020. ],
  3021. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3022. "parameters": [
  3023. {
  3024. "type": "integer",
  3025. "description": "策略申请ID",
  3026. "name": "asapplyid",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "integer",
  3032. "description": "现货合同ID",
  3033. "name": "spotcontractid",
  3034. "in": "query"
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3042. }
  3043. },
  3044. "500": {
  3045. "description": "Internal Server Error",
  3046. "schema": {
  3047. "$ref": "#/definitions/app.Response"
  3048. }
  3049. }
  3050. }
  3051. }
  3052. },
  3053. "/Erms3/AddErms2ASApply": {
  3054. "post": {
  3055. "security": [
  3056. {
  3057. "ApiKeyAuth": []
  3058. }
  3059. ],
  3060. "produces": [
  3061. "application/json"
  3062. ],
  3063. "tags": [
  3064. "风险管理v3"
  3065. ],
  3066. "summary": "新增期现套利业务申请",
  3067. "parameters": [
  3068. {
  3069. "description": "申请参数",
  3070. "name": "jsonBody",
  3071. "in": "body",
  3072. "required": true,
  3073. "schema": {
  3074. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3075. }
  3076. }
  3077. ],
  3078. "responses": {
  3079. "200": {
  3080. "description": "OK",
  3081. "schema": {
  3082. "$ref": "#/definitions/app.Response"
  3083. }
  3084. },
  3085. "500": {
  3086. "description": "Internal Server Error",
  3087. "schema": {
  3088. "$ref": "#/definitions/app.Response"
  3089. }
  3090. }
  3091. }
  3092. }
  3093. },
  3094. "/Erms3/AddErms2SpotTradeApply": {
  3095. "post": {
  3096. "security": [
  3097. {
  3098. "ApiKeyAuth": []
  3099. }
  3100. ],
  3101. "produces": [
  3102. "application/json"
  3103. ],
  3104. "tags": [
  3105. "风险管理v3"
  3106. ],
  3107. "summary": "新增现货贸易业务申请",
  3108. "parameters": [
  3109. {
  3110. "description": "申请参数",
  3111. "name": "jsonBody",
  3112. "in": "body",
  3113. "required": true,
  3114. "schema": {
  3115. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3116. }
  3117. }
  3118. ],
  3119. "responses": {
  3120. "200": {
  3121. "description": "OK",
  3122. "schema": {
  3123. "$ref": "#/definitions/app.Response"
  3124. }
  3125. },
  3126. "500": {
  3127. "description": "Internal Server Error",
  3128. "schema": {
  3129. "$ref": "#/definitions/app.Response"
  3130. }
  3131. }
  3132. }
  3133. }
  3134. },
  3135. "/Erms3/AddSpotContractApply": {
  3136. "post": {
  3137. "security": [
  3138. {
  3139. "ApiKeyAuth": []
  3140. }
  3141. ],
  3142. "produces": [
  3143. "application/json"
  3144. ],
  3145. "tags": [
  3146. "风险管理v3"
  3147. ],
  3148. "summary": "新增现货合同申请",
  3149. "parameters": [
  3150. {
  3151. "description": "申请参数",
  3152. "name": "jsonBody",
  3153. "in": "body",
  3154. "required": true,
  3155. "schema": {
  3156. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3157. }
  3158. }
  3159. ],
  3160. "responses": {
  3161. "200": {
  3162. "description": "OK",
  3163. "schema": {
  3164. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3165. }
  3166. },
  3167. "500": {
  3168. "description": "Internal Server Error",
  3169. "schema": {
  3170. "$ref": "#/definitions/app.Response"
  3171. }
  3172. }
  3173. }
  3174. }
  3175. },
  3176. "/Erms3/AddUserInfoApply": {
  3177. "post": {
  3178. "security": [
  3179. {
  3180. "ApiKeyAuth": []
  3181. }
  3182. ],
  3183. "produces": [
  3184. "application/json"
  3185. ],
  3186. "tags": [
  3187. "风险管理v3"
  3188. ],
  3189. "summary": "新增客户申请",
  3190. "parameters": [
  3191. {
  3192. "description": "用户信息",
  3193. "name": "jsonBody",
  3194. "in": "body",
  3195. "required": true,
  3196. "schema": {
  3197. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3198. }
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "$ref": "#/definitions/app.Response"
  3206. }
  3207. },
  3208. "500": {
  3209. "description": "Internal Server Error",
  3210. "schema": {
  3211. "$ref": "#/definitions/app.Response"
  3212. }
  3213. }
  3214. }
  3215. }
  3216. },
  3217. "/Erms3/ModifyUserInfoApply": {
  3218. "post": {
  3219. "security": [
  3220. {
  3221. "ApiKeyAuth": []
  3222. }
  3223. ],
  3224. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3225. "produces": [
  3226. "application/json"
  3227. ],
  3228. "tags": [
  3229. "风险管理v3"
  3230. ],
  3231. "summary": "修改客户申请",
  3232. "parameters": [
  3233. {
  3234. "description": "用户信息",
  3235. "name": "jsonBody",
  3236. "in": "body",
  3237. "required": true,
  3238. "schema": {
  3239. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3240. }
  3241. }
  3242. ],
  3243. "responses": {
  3244. "200": {
  3245. "description": "OK",
  3246. "schema": {
  3247. "$ref": "#/definitions/app.Response"
  3248. }
  3249. },
  3250. "500": {
  3251. "description": "Internal Server Error",
  3252. "schema": {
  3253. "$ref": "#/definitions/app.Response"
  3254. }
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/Erms3/QueryBusinessInfo": {
  3260. "get": {
  3261. "security": [
  3262. {
  3263. "ApiKeyAuth": []
  3264. }
  3265. ],
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "风险管理v3"
  3271. ],
  3272. "summary": "查询业务表单数据",
  3273. "parameters": [
  3274. {
  3275. "type": "string",
  3276. "description": "资金账号ID列表,用逗号分隔",
  3277. "name": "accountids",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "integer",
  3283. "description": "状态,0为未结束 1为已结束",
  3284. "name": "status",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Erms3/QueryPendingAuditContract": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "风险管理v3"
  3320. ],
  3321. "summary": "查询待审核合同",
  3322. "parameters": [
  3323. {
  3324. "type": "string",
  3325. "description": "资金账号ID列表,逗号隔开",
  3326. "name": "accountids",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "合同类型 1-采购 -1-销售",
  3333. "name": "contracttype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "合同模式 1-普通 2-回购",
  3340. "name": "contractmode",
  3341. "in": "query",
  3342. "required": true
  3343. }
  3344. ],
  3345. "responses": {
  3346. "200": {
  3347. "description": "OK",
  3348. "schema": {
  3349. "type": "array",
  3350. "items": {
  3351. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3352. }
  3353. }
  3354. },
  3355. "500": {
  3356. "description": "Internal Server Error",
  3357. "schema": {
  3358. "$ref": "#/definitions/app.Response"
  3359. }
  3360. }
  3361. }
  3362. }
  3363. },
  3364. "/Erms3/QueryPendingBusiness": {
  3365. "get": {
  3366. "security": [
  3367. {
  3368. "ApiKeyAuth": []
  3369. }
  3370. ],
  3371. "produces": [
  3372. "application/json"
  3373. ],
  3374. "tags": [
  3375. "风险管理v3"
  3376. ],
  3377. "summary": "查询待审核基差贸易业务",
  3378. "parameters": [
  3379. {
  3380. "type": "string",
  3381. "description": "资金账号ID列表,逗号隔开",
  3382. "name": "accountids",
  3383. "in": "query",
  3384. "required": true
  3385. }
  3386. ],
  3387. "responses": {
  3388. "200": {
  3389. "description": "OK",
  3390. "schema": {
  3391. "type": "array",
  3392. "items": {
  3393. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3394. }
  3395. }
  3396. },
  3397. "500": {
  3398. "description": "Internal Server Error",
  3399. "schema": {
  3400. "$ref": "#/definitions/app.Response"
  3401. }
  3402. }
  3403. }
  3404. }
  3405. },
  3406. "/Erms3/QuerySpotContractAppleForm": {
  3407. "get": {
  3408. "security": [
  3409. {
  3410. "ApiKeyAuth": []
  3411. }
  3412. ],
  3413. "produces": [
  3414. "application/json"
  3415. ],
  3416. "tags": [
  3417. "风险管理v3"
  3418. ],
  3419. "summary": "查询合同申请表单数据",
  3420. "parameters": [
  3421. {
  3422. "type": "integer",
  3423. "description": "登录账号",
  3424. "name": "loginID",
  3425. "in": "query",
  3426. "required": true
  3427. }
  3428. ],
  3429. "responses": {
  3430. "200": {
  3431. "description": "OK",
  3432. "schema": {
  3433. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3434. }
  3435. },
  3436. "500": {
  3437. "description": "Internal Server Error",
  3438. "schema": {
  3439. "$ref": "#/definitions/app.Response"
  3440. }
  3441. }
  3442. }
  3443. }
  3444. },
  3445. "/Erms3/QuerySpotContractDetail": {
  3446. "get": {
  3447. "security": [
  3448. {
  3449. "ApiKeyAuth": []
  3450. }
  3451. ],
  3452. "produces": [
  3453. "application/json"
  3454. ],
  3455. "tags": [
  3456. "风险管理v3"
  3457. ],
  3458. "summary": "查询合同详细信息",
  3459. "parameters": [
  3460. {
  3461. "type": "string",
  3462. "description": "资金账号ID列表,用逗号分隔",
  3463. "name": "accountids",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "integer",
  3469. "description": "合同类型,1为采购合同 -1为销售合同",
  3470. "name": "contracttype",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "合同模式,1为普通合同 2为回购销售合同",
  3477. "name": "contractmode",
  3478. "in": "query",
  3479. "required": true
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "状态,0为履约中 1为已完成",
  3484. "name": "status",
  3485. "in": "query",
  3486. "required": true
  3487. }
  3488. ],
  3489. "responses": {
  3490. "200": {
  3491. "description": "OK",
  3492. "schema": {
  3493. "type": "array",
  3494. "items": {
  3495. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3496. }
  3497. }
  3498. },
  3499. "500": {
  3500. "description": "Internal Server Error",
  3501. "schema": {
  3502. "$ref": "#/definitions/app.Response"
  3503. }
  3504. }
  3505. }
  3506. }
  3507. },
  3508. "/Erms3/QueryUserInfoApplies": {
  3509. "get": {
  3510. "security": [
  3511. {
  3512. "ApiKeyAuth": []
  3513. }
  3514. ],
  3515. "produces": [
  3516. "application/json"
  3517. ],
  3518. "tags": [
  3519. "风险管理v3"
  3520. ],
  3521. "summary": "客户申请信息查询",
  3522. "parameters": [
  3523. {
  3524. "type": "integer",
  3525. "description": "页码",
  3526. "name": "page",
  3527. "in": "query"
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "每页条数",
  3532. "name": "pagesize",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "客户名称,支持模糊查询",
  3538. "name": "userName",
  3539. "in": "query"
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3547. }
  3548. },
  3549. "500": {
  3550. "description": "Internal Server Error",
  3551. "schema": {
  3552. "$ref": "#/definitions/app.Response"
  3553. }
  3554. }
  3555. }
  3556. }
  3557. },
  3558. "/Erms3/QueryUserInfos": {
  3559. "get": {
  3560. "security": [
  3561. {
  3562. "ApiKeyAuth": []
  3563. }
  3564. ],
  3565. "produces": [
  3566. "application/json"
  3567. ],
  3568. "tags": [
  3569. "风险管理v3"
  3570. ],
  3571. "summary": "客户信息查询",
  3572. "parameters": [
  3573. {
  3574. "type": "integer",
  3575. "description": "页码",
  3576. "name": "page",
  3577. "in": "query"
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "每页条数",
  3582. "name": "pagesize",
  3583. "in": "query"
  3584. },
  3585. {
  3586. "type": "string",
  3587. "description": "客户名称,支持模糊查询",
  3588. "name": "userName",
  3589. "in": "query"
  3590. }
  3591. ],
  3592. "responses": {
  3593. "200": {
  3594. "description": "OK",
  3595. "schema": {
  3596. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3597. }
  3598. },
  3599. "500": {
  3600. "description": "Internal Server Error",
  3601. "schema": {
  3602. "$ref": "#/definitions/app.Response"
  3603. }
  3604. }
  3605. }
  3606. }
  3607. },
  3608. "/HSBY/GetHsbyMyCount": {
  3609. "get": {
  3610. "security": [
  3611. {
  3612. "ApiKeyAuth": []
  3613. }
  3614. ],
  3615. "description": "说明: 不包括已完成的数量。",
  3616. "produces": [
  3617. "application/json"
  3618. ],
  3619. "tags": [
  3620. "定制【海商报业】"
  3621. ],
  3622. "summary": "获取我的订单与包裹数量",
  3623. "parameters": [
  3624. {
  3625. "type": "string",
  3626. "description": "资金账户列表,格式:1,2,3",
  3627. "name": "accountIDs",
  3628. "in": "query",
  3629. "required": true
  3630. }
  3631. ],
  3632. "responses": {
  3633. "200": {
  3634. "description": "OK",
  3635. "schema": {
  3636. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/HSBY/QueryClientFixedADConfigs": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "定制【海商报业】"
  3660. ],
  3661. "summary": "获取终端固定广告配置",
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "$ref": "#/definitions/models.Clientfixedadconfig"
  3667. }
  3668. },
  3669. "500": {
  3670. "description": "Internal Server Error",
  3671. "schema": {
  3672. "$ref": "#/definitions/app.Response"
  3673. }
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3679. "get": {
  3680. "security": [
  3681. {
  3682. "ApiKeyAuth": []
  3683. }
  3684. ],
  3685. "produces": [
  3686. "application/json"
  3687. ],
  3688. "tags": [
  3689. "定制【海商报业】"
  3690. ],
  3691. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3692. "parameters": [
  3693. {
  3694. "type": "integer",
  3695. "description": "页码",
  3696. "name": "page",
  3697. "in": "query"
  3698. },
  3699. {
  3700. "type": "integer",
  3701. "description": "每页条数",
  3702. "name": "pagesize",
  3703. "in": "query"
  3704. },
  3705. {
  3706. "type": "string",
  3707. "description": "资金账户列表,格式:1,2,3",
  3708. "name": "accountIDs",
  3709. "in": "query",
  3710. "required": true
  3711. }
  3712. ],
  3713. "responses": {
  3714. "200": {
  3715. "description": "OK",
  3716. "schema": {
  3717. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3718. }
  3719. },
  3720. "500": {
  3721. "description": "Internal Server Error",
  3722. "schema": {
  3723. "$ref": "#/definitions/app.Response"
  3724. }
  3725. }
  3726. }
  3727. }
  3728. },
  3729. "/HSBY/QueryHsbyGoodsOrderDetails": {
  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": "商品ID",
  3748. "name": "goodsID",
  3749. "in": "query",
  3750. "required": true
  3751. },
  3752. {
  3753. "type": "string",
  3754. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3755. "name": "accountIDs",
  3756. "in": "query"
  3757. },
  3758. {
  3759. "type": "integer",
  3760. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3761. "name": "buyOrSell",
  3762. "in": "query"
  3763. },
  3764. {
  3765. "type": "number",
  3766. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3767. "name": "price",
  3768. "in": "query"
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "档位,不传则默认为3档",
  3773. "name": "speed",
  3774. "in": "query"
  3775. }
  3776. ],
  3777. "responses": {
  3778. "200": {
  3779. "description": "OK",
  3780. "schema": {
  3781. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3782. }
  3783. },
  3784. "500": {
  3785. "description": "Internal Server Error",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. }
  3790. }
  3791. }
  3792. },
  3793. "/HSBY/QueryHsbyListingGoodsDetail": {
  3794. "get": {
  3795. "security": [
  3796. {
  3797. "ApiKeyAuth": []
  3798. }
  3799. ],
  3800. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "定制【海商报业】"
  3806. ],
  3807. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "商品ID",
  3812. "name": "goodsID",
  3813. "in": "query",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3819. "name": "accountID",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3828. }
  3829. },
  3830. "500": {
  3831. "description": "Internal Server Error",
  3832. "schema": {
  3833. "$ref": "#/definitions/app.Response"
  3834. }
  3835. }
  3836. }
  3837. }
  3838. },
  3839. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3840. "get": {
  3841. "security": [
  3842. {
  3843. "ApiKeyAuth": []
  3844. }
  3845. ],
  3846. "produces": [
  3847. "application/json"
  3848. ],
  3849. "tags": [
  3850. "定制【海商报业】"
  3851. ],
  3852. "summary": "查询三级市场(商城)商品信息详情",
  3853. "parameters": [
  3854. {
  3855. "type": "integer",
  3856. "description": "委托单号",
  3857. "name": "orderID",
  3858. "in": "query",
  3859. "required": true
  3860. },
  3861. {
  3862. "type": "integer",
  3863. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3864. "name": "accountID",
  3865. "in": "query"
  3866. }
  3867. ],
  3868. "responses": {
  3869. "200": {
  3870. "description": "OK",
  3871. "schema": {
  3872. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3873. }
  3874. },
  3875. "500": {
  3876. "description": "Internal Server Error",
  3877. "schema": {
  3878. "$ref": "#/definitions/app.Response"
  3879. }
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "/HSBY/QueryHsbyMarketGoodses": {
  3885. "get": {
  3886. "security": [
  3887. {
  3888. "ApiKeyAuth": []
  3889. }
  3890. ],
  3891. "produces": [
  3892. "application/json"
  3893. ],
  3894. "tags": [
  3895. "定制【海商报业】"
  3896. ],
  3897. "summary": "查询特卖商品列表(三级商城)",
  3898. "parameters": [
  3899. {
  3900. "type": "integer",
  3901. "description": "页码",
  3902. "name": "page",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "每页条数",
  3908. "name": "pagesize",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "string",
  3913. "description": "市场ID列表,格式:1,2,3",
  3914. "name": "marketIDs",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3921. "name": "accountID",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "类别ID",
  3928. "name": "categoryID",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "string",
  3933. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3934. "name": "goodsIDs",
  3935. "in": "query"
  3936. },
  3937. {
  3938. "type": "integer",
  3939. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3940. "name": "couponTypeID",
  3941. "in": "query"
  3942. }
  3943. ],
  3944. "responses": {
  3945. "200": {
  3946. "description": "OK",
  3947. "schema": {
  3948. "$ref": "#/definitions/models.HsbyMarketGoods"
  3949. }
  3950. },
  3951. "500": {
  3952. "description": "Internal Server Error",
  3953. "schema": {
  3954. "$ref": "#/definitions/app.Response"
  3955. }
  3956. }
  3957. }
  3958. }
  3959. },
  3960. "/HSBY/QueryHsbyMarkets": {
  3961. "get": {
  3962. "security": [
  3963. {
  3964. "ApiKeyAuth": []
  3965. }
  3966. ],
  3967. "produces": [
  3968. "application/json"
  3969. ],
  3970. "tags": [
  3971. "定制【海商报业】"
  3972. ],
  3973. "summary": "查询海商报业相关市场信息",
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "$ref": "#/definitions/models.HsbyMarketInfo"
  3979. }
  3980. },
  3981. "500": {
  3982. "description": "Internal Server Error",
  3983. "schema": {
  3984. "$ref": "#/definitions/app.Response"
  3985. }
  3986. }
  3987. }
  3988. }
  3989. },
  3990. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3991. "get": {
  3992. "security": [
  3993. {
  3994. "ApiKeyAuth": []
  3995. }
  3996. ],
  3997. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3998. "produces": [
  3999. "application/json"
  4000. ],
  4001. "tags": [
  4002. "定制【海商报业】"
  4003. ],
  4004. "summary": "查询“我的订单”信息",
  4005. "parameters": [
  4006. {
  4007. "type": "string",
  4008. "description": "资金账户列表,格式:1,2,3",
  4009. "name": "accountIDs",
  4010. "in": "query",
  4011. "required": true
  4012. }
  4013. ],
  4014. "responses": {
  4015. "200": {
  4016. "description": "OK",
  4017. "schema": {
  4018. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4019. }
  4020. },
  4021. "500": {
  4022. "description": "Internal Server Error",
  4023. "schema": {
  4024. "$ref": "#/definitions/app.Response"
  4025. }
  4026. }
  4027. }
  4028. }
  4029. },
  4030. "/HSBY/QueryHsbyMyGoods": {
  4031. "get": {
  4032. "security": [
  4033. {
  4034. "ApiKeyAuth": []
  4035. }
  4036. ],
  4037. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4038. "produces": [
  4039. "application/json"
  4040. ],
  4041. "tags": [
  4042. "定制【海商报业】"
  4043. ],
  4044. "summary": "查询“我的商品”信息",
  4045. "parameters": [
  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.HsbyMyGoods"
  4059. }
  4060. },
  4061. "500": {
  4062. "description": "Internal Server Error",
  4063. "schema": {
  4064. "$ref": "#/definitions/app.Response"
  4065. }
  4066. }
  4067. }
  4068. }
  4069. },
  4070. "/HSBY/QueryHsbyMyPackages": {
  4071. "get": {
  4072. "security": [
  4073. {
  4074. "ApiKeyAuth": []
  4075. }
  4076. ],
  4077. "produces": [
  4078. "application/json"
  4079. ],
  4080. "tags": [
  4081. "定制【海商报业】"
  4082. ],
  4083. "summary": "查询我的包裹信息",
  4084. "parameters": [
  4085. {
  4086. "type": "string",
  4087. "description": "资金账户列表,格式:1,2,3",
  4088. "name": "accountIDs",
  4089. "in": "query",
  4090. "required": true
  4091. },
  4092. {
  4093. "type": "integer",
  4094. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4095. "name": "takeOrderStatus",
  4096. "in": "query"
  4097. }
  4098. ],
  4099. "responses": {
  4100. "200": {
  4101. "description": "OK",
  4102. "schema": {
  4103. "$ref": "#/definitions/models.HsbyMyPackage"
  4104. }
  4105. },
  4106. "500": {
  4107. "description": "Internal Server Error",
  4108. "schema": {
  4109. "$ref": "#/definitions/app.Response"
  4110. }
  4111. }
  4112. }
  4113. }
  4114. },
  4115. "/HSBY/QueryHsbyPreGoodsDetail": {
  4116. "get": {
  4117. "security": [
  4118. {
  4119. "ApiKeyAuth": []
  4120. }
  4121. ],
  4122. "produces": [
  4123. "application/json"
  4124. ],
  4125. "tags": [
  4126. "定制【海商报业】"
  4127. ],
  4128. "summary": "查询一级市场(预售)商品信息详情",
  4129. "parameters": [
  4130. {
  4131. "type": "integer",
  4132. "description": "商品ID",
  4133. "name": "goodsID",
  4134. "in": "query",
  4135. "required": true
  4136. },
  4137. {
  4138. "type": "integer",
  4139. "description": "资金账户,主要用于获取预售商品购买上限",
  4140. "name": "accountID",
  4141. "in": "query"
  4142. }
  4143. ],
  4144. "responses": {
  4145. "200": {
  4146. "description": "OK",
  4147. "schema": {
  4148. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4149. }
  4150. },
  4151. "500": {
  4152. "description": "Internal Server Error",
  4153. "schema": {
  4154. "$ref": "#/definitions/app.Response"
  4155. }
  4156. }
  4157. }
  4158. }
  4159. },
  4160. "/HSBY/QueryHsbyPreGoodses": {
  4161. "get": {
  4162. "security": [
  4163. {
  4164. "ApiKeyAuth": []
  4165. }
  4166. ],
  4167. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "定制【海商报业】"
  4173. ],
  4174. "summary": "查询新品上市商品列表(一级市场预售)",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "页码",
  4179. "name": "page",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "每页条数",
  4185. "name": "pagesize",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "string",
  4190. "description": "市场ID列表,格式:1,2,3",
  4191. "name": "marketIDs",
  4192. "in": "query",
  4193. "required": true
  4194. },
  4195. {
  4196. "type": "integer",
  4197. "description": "目的地(省)ID",
  4198. "name": "descProvinceID",
  4199. "in": "query"
  4200. },
  4201. {
  4202. "type": "integer",
  4203. "description": "目的地(市)ID",
  4204. "name": "descCityID",
  4205. "in": "query"
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "$ref": "#/definitions/models.HsbyPreGoods"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "Internal Server Error",
  4217. "schema": {
  4218. "$ref": "#/definitions/app.Response"
  4219. }
  4220. }
  4221. }
  4222. }
  4223. },
  4224. "/HSBY/QueryHsbySellMyDetails": {
  4225. "get": {
  4226. "security": [
  4227. {
  4228. "ApiKeyAuth": []
  4229. }
  4230. ],
  4231. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4232. "produces": [
  4233. "application/json"
  4234. ],
  4235. "tags": [
  4236. "定制【海商报业】"
  4237. ],
  4238. "summary": "查询\"我的闲置\"单据信息",
  4239. "parameters": [
  4240. {
  4241. "type": "integer",
  4242. "description": "页码",
  4243. "name": "page",
  4244. "in": "query"
  4245. },
  4246. {
  4247. "type": "integer",
  4248. "description": "每页条数",
  4249. "name": "pagesize",
  4250. "in": "query"
  4251. },
  4252. {
  4253. "type": "string",
  4254. "description": "资金账户列表,格式:1,2,3",
  4255. "name": "accountIDs",
  4256. "in": "query",
  4257. "required": true
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4262. "name": "orderType",
  4263. "in": "query"
  4264. }
  4265. ],
  4266. "responses": {
  4267. "200": {
  4268. "description": "OK",
  4269. "schema": {
  4270. "$ref": "#/definitions/models.HsbySellMyDetail"
  4271. }
  4272. },
  4273. "500": {
  4274. "description": "Internal Server Error",
  4275. "schema": {
  4276. "$ref": "#/definitions/app.Response"
  4277. }
  4278. }
  4279. }
  4280. }
  4281. },
  4282. "/HSBY/QueryHsbyTopGoodses": {
  4283. "get": {
  4284. "security": [
  4285. {
  4286. "ApiKeyAuth": []
  4287. }
  4288. ],
  4289. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4290. "produces": [
  4291. "application/json"
  4292. ],
  4293. "tags": [
  4294. "定制【海商报业】"
  4295. ],
  4296. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4297. "parameters": [
  4298. {
  4299. "type": "integer",
  4300. "description": "页码",
  4301. "name": "page",
  4302. "in": "query"
  4303. },
  4304. {
  4305. "type": "integer",
  4306. "description": "每页条数",
  4307. "name": "pagesize",
  4308. "in": "query"
  4309. },
  4310. {
  4311. "type": "string",
  4312. "description": "市场ID列表,格式:1,2,3",
  4313. "name": "marketIDs",
  4314. "in": "query",
  4315. "required": true
  4316. },
  4317. {
  4318. "type": "integer",
  4319. "description": "目的地(省)ID",
  4320. "name": "descProvinceID",
  4321. "in": "query"
  4322. },
  4323. {
  4324. "type": "integer",
  4325. "description": "目的地(市)ID",
  4326. "name": "descCityID",
  4327. "in": "query"
  4328. }
  4329. ],
  4330. "responses": {
  4331. "200": {
  4332. "description": "OK",
  4333. "schema": {
  4334. "$ref": "#/definitions/models.HsbyTopGoods"
  4335. }
  4336. },
  4337. "500": {
  4338. "description": "Internal Server Error",
  4339. "schema": {
  4340. "$ref": "#/definitions/app.Response"
  4341. }
  4342. }
  4343. }
  4344. }
  4345. },
  4346. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4347. "get": {
  4348. "security": [
  4349. {
  4350. "ApiKeyAuth": []
  4351. }
  4352. ],
  4353. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4354. "produces": [
  4355. "application/json"
  4356. ],
  4357. "tags": [
  4358. "定制【海商报业】"
  4359. ],
  4360. "summary": "查询游客三级市场(商城)商品信息详情",
  4361. "parameters": [
  4362. {
  4363. "type": "integer",
  4364. "description": "商品ID",
  4365. "name": "goodsID",
  4366. "in": "query",
  4367. "required": true
  4368. }
  4369. ],
  4370. "responses": {
  4371. "200": {
  4372. "description": "OK",
  4373. "schema": {
  4374. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4375. }
  4376. },
  4377. "500": {
  4378. "description": "Internal Server Error",
  4379. "schema": {
  4380. "$ref": "#/definitions/app.Response"
  4381. }
  4382. }
  4383. }
  4384. }
  4385. },
  4386. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4387. "get": {
  4388. "security": [
  4389. {
  4390. "ApiKeyAuth": []
  4391. }
  4392. ],
  4393. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4394. "produces": [
  4395. "application/json"
  4396. ],
  4397. "tags": [
  4398. "定制【海商报业】"
  4399. ],
  4400. "summary": "查询游客特卖商品列表(三级商城)",
  4401. "parameters": [
  4402. {
  4403. "type": "integer",
  4404. "description": "页码",
  4405. "name": "page",
  4406. "in": "query"
  4407. },
  4408. {
  4409. "type": "integer",
  4410. "description": "每页条数",
  4411. "name": "pagesize",
  4412. "in": "query"
  4413. },
  4414. {
  4415. "type": "string",
  4416. "description": "市场ID列表,格式:1,2,3",
  4417. "name": "marketIDs",
  4418. "in": "query",
  4419. "required": true
  4420. },
  4421. {
  4422. "type": "integer",
  4423. "description": "类别ID",
  4424. "name": "categoryID",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "string",
  4429. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4430. "name": "goodsIDs",
  4431. "in": "query"
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "$ref": "#/definitions/models.HsbyMarketGoods"
  4439. }
  4440. },
  4441. "500": {
  4442. "description": "Internal Server Error",
  4443. "schema": {
  4444. "$ref": "#/definitions/app.Response"
  4445. }
  4446. }
  4447. }
  4448. }
  4449. },
  4450. "/HSBY/QueryMyCollectionOrders": {
  4451. "get": {
  4452. "security": [
  4453. {
  4454. "ApiKeyAuth": []
  4455. }
  4456. ],
  4457. "produces": [
  4458. "application/json"
  4459. ],
  4460. "tags": [
  4461. "定制【海商报业】"
  4462. ],
  4463. "summary": "我的闲置中收款信息查询",
  4464. "parameters": [
  4465. {
  4466. "type": "integer",
  4467. "description": "页码",
  4468. "name": "page",
  4469. "in": "query"
  4470. },
  4471. {
  4472. "type": "integer",
  4473. "description": "每页条数",
  4474. "name": "pagesize",
  4475. "in": "query"
  4476. },
  4477. {
  4478. "type": "string",
  4479. "description": "资金账户,格式:1,2,3",
  4480. "name": "accountIDs",
  4481. "in": "query",
  4482. "required": true
  4483. }
  4484. ],
  4485. "responses": {
  4486. "200": {
  4487. "description": "OK",
  4488. "schema": {
  4489. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4490. }
  4491. },
  4492. "500": {
  4493. "description": "Internal Server Error",
  4494. "schema": {
  4495. "$ref": "#/definitions/app.Response"
  4496. }
  4497. }
  4498. }
  4499. }
  4500. },
  4501. "/HSBY/QueryMyCouponHolds": {
  4502. "get": {
  4503. "security": [
  4504. {
  4505. "ApiKeyAuth": []
  4506. }
  4507. ],
  4508. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "定制【海商报业】"
  4514. ],
  4515. "summary": "我的优惠卷持仓查询",
  4516. "parameters": [
  4517. {
  4518. "type": "string",
  4519. "description": "资金账户列表,格式:1,2,3",
  4520. "name": "accountIDs",
  4521. "in": "query",
  4522. "required": true
  4523. },
  4524. {
  4525. "type": "string",
  4526. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4527. "name": "holdStatus",
  4528. "in": "query"
  4529. }
  4530. ],
  4531. "responses": {
  4532. "200": {
  4533. "description": "OK",
  4534. "schema": {
  4535. "$ref": "#/definitions/models.MyCouponHold"
  4536. }
  4537. },
  4538. "500": {
  4539. "description": "Internal Server Error",
  4540. "schema": {
  4541. "$ref": "#/definitions/app.Response"
  4542. }
  4543. }
  4544. }
  4545. }
  4546. },
  4547. "/HSBY/QueryMyCoupons": {
  4548. "get": {
  4549. "security": [
  4550. {
  4551. "ApiKeyAuth": []
  4552. }
  4553. ],
  4554. "produces": [
  4555. "application/json"
  4556. ],
  4557. "tags": [
  4558. "定制【海商报业】"
  4559. ],
  4560. "summary": "我的优惠卷查询",
  4561. "parameters": [
  4562. {
  4563. "type": "string",
  4564. "description": "资金账户列表,格式:1,2,3",
  4565. "name": "accountIDs",
  4566. "in": "query",
  4567. "required": true
  4568. },
  4569. {
  4570. "type": "integer",
  4571. "description": "商品ID, 一般与sellUserID配套传入",
  4572. "name": "goodsID",
  4573. "in": "query"
  4574. },
  4575. {
  4576. "type": "integer",
  4577. "description": "卖方UserID",
  4578. "name": "sellUserID",
  4579. "in": "query"
  4580. }
  4581. ],
  4582. "responses": {
  4583. "200": {
  4584. "description": "OK",
  4585. "schema": {
  4586. "$ref": "#/definitions/models.MyCoupon"
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/HSBY/QueryMyPayOrders": {
  4599. "get": {
  4600. "security": [
  4601. {
  4602. "ApiKeyAuth": []
  4603. }
  4604. ],
  4605. "produces": [
  4606. "application/json"
  4607. ],
  4608. "tags": [
  4609. "定制【海商报业】"
  4610. ],
  4611. "summary": "获取我的订单中待付款信息",
  4612. "parameters": [
  4613. {
  4614. "type": "integer",
  4615. "description": "页码",
  4616. "name": "page",
  4617. "in": "query"
  4618. },
  4619. {
  4620. "type": "integer",
  4621. "description": "每页条数",
  4622. "name": "pagesize",
  4623. "in": "query"
  4624. },
  4625. {
  4626. "type": "string",
  4627. "description": "资金账户列表,格式:1,2,3",
  4628. "name": "accountIDs",
  4629. "in": "query",
  4630. "required": true
  4631. },
  4632. {
  4633. "type": "integer",
  4634. "description": "买方委托单号",
  4635. "name": "buyOrderID",
  4636. "in": "query"
  4637. },
  4638. {
  4639. "type": "integer",
  4640. "description": "卖方委托单号",
  4641. "name": "sellOrderID",
  4642. "in": "query"
  4643. }
  4644. ],
  4645. "responses": {
  4646. "200": {
  4647. "description": "OK",
  4648. "schema": {
  4649. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4650. }
  4651. },
  4652. "500": {
  4653. "description": "Internal Server Error",
  4654. "schema": {
  4655. "$ref": "#/definitions/app.Response"
  4656. }
  4657. }
  4658. }
  4659. }
  4660. },
  4661. "/HSBY/QueryMyUsedCoupon": {
  4662. "get": {
  4663. "security": [
  4664. {
  4665. "ApiKeyAuth": []
  4666. }
  4667. ],
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "定制【海商报业】"
  4673. ],
  4674. "summary": "已使用优惠卷查询",
  4675. "parameters": [
  4676. {
  4677. "type": "string",
  4678. "description": "资金账户列表,格式:1,2,3",
  4679. "name": "accountIDs",
  4680. "in": "query",
  4681. "required": true
  4682. }
  4683. ],
  4684. "responses": {
  4685. "200": {
  4686. "description": "OK",
  4687. "schema": {
  4688. "$ref": "#/definitions/models.MyUsedCoupon"
  4689. }
  4690. },
  4691. "500": {
  4692. "description": "Internal Server Error",
  4693. "schema": {
  4694. "$ref": "#/definitions/app.Response"
  4695. }
  4696. }
  4697. }
  4698. }
  4699. },
  4700. "/HSBY/QueryProvincesAndCities": {
  4701. "get": {
  4702. "security": [
  4703. {
  4704. "ApiKeyAuth": []
  4705. }
  4706. ],
  4707. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4708. "produces": [
  4709. "application/json"
  4710. ],
  4711. "tags": [
  4712. "定制【海商报业】"
  4713. ],
  4714. "summary": "查询省市信息(不包括区)",
  4715. "parameters": [
  4716. {
  4717. "type": "integer",
  4718. "description": "省ID",
  4719. "name": "provinceID",
  4720. "in": "query"
  4721. }
  4722. ],
  4723. "responses": {
  4724. "200": {
  4725. "description": "OK",
  4726. "schema": {
  4727. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4728. }
  4729. },
  4730. "500": {
  4731. "description": "Internal Server Error",
  4732. "schema": {
  4733. "$ref": "#/definitions/app.Response"
  4734. }
  4735. }
  4736. }
  4737. }
  4738. },
  4739. "/HSBY/SetHsbyMyPackagesStatus": {
  4740. "post": {
  4741. "security": [
  4742. {
  4743. "ApiKeyAuth": []
  4744. }
  4745. ],
  4746. "produces": [
  4747. "application/json"
  4748. ],
  4749. "tags": [
  4750. "定制【海商报业】"
  4751. ],
  4752. "summary": "设置我的包裹已收货状态",
  4753. "parameters": [
  4754. {
  4755. "type": "string",
  4756. "description": "提货单号",
  4757. "name": "takeOrderID",
  4758. "in": "query",
  4759. "required": true
  4760. },
  4761. {
  4762. "type": "integer",
  4763. "description": "资金账号",
  4764. "name": "accountID",
  4765. "in": "query",
  4766. "required": true
  4767. }
  4768. ],
  4769. "responses": {
  4770. "200": {
  4771. "description": "OK",
  4772. "schema": {
  4773. "$ref": "#/definitions/app.Response"
  4774. }
  4775. },
  4776. "500": {
  4777. "description": "Internal Server Error",
  4778. "schema": {
  4779. "$ref": "#/definitions/app.Response"
  4780. }
  4781. }
  4782. }
  4783. }
  4784. },
  4785. "/Market/QueryGoodsesByLoginID": {
  4786. "get": {
  4787. "security": [
  4788. {
  4789. "ApiKeyAuth": []
  4790. }
  4791. ],
  4792. "produces": [
  4793. "application/json"
  4794. ],
  4795. "tags": [
  4796. "通用市场"
  4797. ],
  4798. "summary": "获取登录账号有权限的商品信息",
  4799. "parameters": [
  4800. {
  4801. "type": "integer",
  4802. "description": "登录账号",
  4803. "name": "loginID",
  4804. "in": "query",
  4805. "required": true
  4806. },
  4807. {
  4808. "type": "string",
  4809. "description": "市场ID列表,格式:1,2,3",
  4810. "name": "marketIDs",
  4811. "in": "query"
  4812. }
  4813. ],
  4814. "responses": {
  4815. "200": {
  4816. "description": "OK",
  4817. "schema": {
  4818. "$ref": "#/definitions/models.Goods"
  4819. }
  4820. },
  4821. "500": {
  4822. "description": "Internal Server Error",
  4823. "schema": {
  4824. "$ref": "#/definitions/app.Response"
  4825. }
  4826. }
  4827. }
  4828. }
  4829. },
  4830. "/Market/QueryMarketRun": {
  4831. "get": {
  4832. "security": [
  4833. {
  4834. "ApiKeyAuth": []
  4835. }
  4836. ],
  4837. "produces": [
  4838. "application/json"
  4839. ],
  4840. "tags": [
  4841. "通用市场"
  4842. ],
  4843. "summary": "查询市场运行信息",
  4844. "parameters": [
  4845. {
  4846. "type": "integer",
  4847. "description": "市场ID,不传返回所有",
  4848. "name": "marketID",
  4849. "in": "query"
  4850. }
  4851. ],
  4852. "responses": {
  4853. "200": {
  4854. "description": "OK",
  4855. "schema": {
  4856. "$ref": "#/definitions/models.Marketrun"
  4857. }
  4858. },
  4859. "500": {
  4860. "description": "Internal Server Error",
  4861. "schema": {
  4862. "$ref": "#/definitions/app.Response"
  4863. }
  4864. }
  4865. }
  4866. }
  4867. },
  4868. "/Market/QueryMarketsByLoginID": {
  4869. "get": {
  4870. "security": [
  4871. {
  4872. "ApiKeyAuth": []
  4873. }
  4874. ],
  4875. "produces": [
  4876. "application/json"
  4877. ],
  4878. "tags": [
  4879. "通用市场"
  4880. ],
  4881. "summary": "获取登录账号有权限的市场信息",
  4882. "parameters": [
  4883. {
  4884. "type": "integer",
  4885. "description": "登录账号",
  4886. "name": "loginID",
  4887. "in": "query",
  4888. "required": true
  4889. }
  4890. ],
  4891. "responses": {
  4892. "200": {
  4893. "description": "OK",
  4894. "schema": {
  4895. "$ref": "#/definitions/models.Market"
  4896. }
  4897. },
  4898. "500": {
  4899. "description": "Internal Server Error",
  4900. "schema": {
  4901. "$ref": "#/definitions/app.Response"
  4902. }
  4903. }
  4904. }
  4905. }
  4906. },
  4907. "/Order/QueryHisTradeDetail": {
  4908. "get": {
  4909. "security": [
  4910. {
  4911. "ApiKeyAuth": []
  4912. }
  4913. ],
  4914. "produces": [
  4915. "application/json"
  4916. ],
  4917. "tags": [
  4918. "通用单据"
  4919. ],
  4920. "summary": "历史成交单查询(合约市场)",
  4921. "parameters": [
  4922. {
  4923. "type": "string",
  4924. "description": "资金账户 - 格式:1,2,3",
  4925. "name": "accountID",
  4926. "in": "query",
  4927. "required": true
  4928. },
  4929. {
  4930. "type": "integer",
  4931. "description": "成交单号",
  4932. "name": "tradeID",
  4933. "in": "query"
  4934. },
  4935. {
  4936. "type": "integer",
  4937. "description": "委托单号",
  4938. "name": "orderID",
  4939. "in": "query"
  4940. },
  4941. {
  4942. "type": "string",
  4943. "description": "交易模式 - 格式:1,2,3",
  4944. "name": "tradeMode",
  4945. "in": "query"
  4946. },
  4947. {
  4948. "type": "integer",
  4949. "description": "委托单据类型",
  4950. "name": "buildType",
  4951. "in": "query"
  4952. },
  4953. {
  4954. "type": "string",
  4955. "description": "成交类别 - 格式:1,2,3",
  4956. "name": "tradeType",
  4957. "in": "query"
  4958. },
  4959. {
  4960. "type": "string",
  4961. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4962. "name": "startDate",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "string",
  4967. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4968. "name": "endDate",
  4969. "in": "query"
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/Order/QueryHisTradeOrderDetail": {
  4989. "get": {
  4990. "security": [
  4991. {
  4992. "ApiKeyAuth": []
  4993. }
  4994. ],
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "通用单据"
  5000. ],
  5001. "summary": "历史委托单查询请求(合约市场)",
  5002. "parameters": [
  5003. {
  5004. "type": "string",
  5005. "description": "资金账户 - 格式:1,2,3",
  5006. "name": "accountID",
  5007. "in": "query",
  5008. "required": true
  5009. },
  5010. {
  5011. "type": "string",
  5012. "description": "交易模式 - 格式:1,2,3",
  5013. "name": "tradeMode",
  5014. "in": "query"
  5015. },
  5016. {
  5017. "type": "string",
  5018. "description": "委托状态 - 格式:1,2,3",
  5019. "name": "orderStatus",
  5020. "in": "query"
  5021. },
  5022. {
  5023. "type": "integer",
  5024. "description": "委托单号",
  5025. "name": "orderID",
  5026. "in": "query"
  5027. },
  5028. {
  5029. "type": "string",
  5030. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5031. "name": "startDate",
  5032. "in": "query"
  5033. },
  5034. {
  5035. "type": "string",
  5036. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5037. "name": "endDate",
  5038. "in": "query"
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/Order/QueryTradeDetail": {
  5058. "get": {
  5059. "security": [
  5060. {
  5061. "ApiKeyAuth": []
  5062. }
  5063. ],
  5064. "produces": [
  5065. "application/json"
  5066. ],
  5067. "tags": [
  5068. "通用单据"
  5069. ],
  5070. "summary": "成交单查询(合约市场)",
  5071. "parameters": [
  5072. {
  5073. "type": "string",
  5074. "description": "资金账户 - 格式:1,2,3",
  5075. "name": "accountID",
  5076. "in": "query",
  5077. "required": true
  5078. },
  5079. {
  5080. "type": "integer",
  5081. "description": "成交单号",
  5082. "name": "tradeID",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "委托单号",
  5088. "name": "orderID",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "交易模式 - 格式:1,2,3",
  5094. "name": "tradeMode",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "委托单据类型",
  5100. "name": "buildType",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "成交类别 - 格式:1,2,3",
  5106. "name": "tradeType",
  5107. "in": "query"
  5108. }
  5109. ],
  5110. "responses": {
  5111. "200": {
  5112. "description": "OK",
  5113. "schema": {
  5114. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5115. }
  5116. },
  5117. "500": {
  5118. "description": "Internal Server Error",
  5119. "schema": {
  5120. "$ref": "#/definitions/app.Response"
  5121. }
  5122. }
  5123. }
  5124. }
  5125. },
  5126. "/Order/QueryTradeOrderDetail": {
  5127. "get": {
  5128. "security": [
  5129. {
  5130. "ApiKeyAuth": []
  5131. }
  5132. ],
  5133. "produces": [
  5134. "application/json"
  5135. ],
  5136. "tags": [
  5137. "通用单据"
  5138. ],
  5139. "summary": "委托单查询请求(合约市场)",
  5140. "parameters": [
  5141. {
  5142. "type": "string",
  5143. "description": "资金账户 - 格式:1,2,3",
  5144. "name": "accountID",
  5145. "in": "query",
  5146. "required": true
  5147. },
  5148. {
  5149. "type": "string",
  5150. "description": "交易模式 - 格式:1,2,3",
  5151. "name": "tradeMode",
  5152. "in": "query"
  5153. },
  5154. {
  5155. "type": "string",
  5156. "description": "委托状态 - 格式:1,2,3",
  5157. "name": "orderStatus",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "integer",
  5162. "description": "委托单号",
  5163. "name": "orderID",
  5164. "in": "query"
  5165. }
  5166. ],
  5167. "responses": {
  5168. "200": {
  5169. "description": "OK",
  5170. "schema": {
  5171. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Order/QueryTradePosition": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "produces": [
  5191. "application/json"
  5192. ],
  5193. "tags": [
  5194. "通用单据"
  5195. ],
  5196. "summary": "持仓汇总查询(合约市场)",
  5197. "parameters": [
  5198. {
  5199. "type": "string",
  5200. "description": "资金账户 - 格式:1,2,3",
  5201. "name": "accountID",
  5202. "in": "query",
  5203. "required": true
  5204. },
  5205. {
  5206. "type": "string",
  5207. "description": "交易模式 - 格式:1,2,3",
  5208. "name": "tradeMode",
  5209. "in": "query"
  5210. }
  5211. ],
  5212. "responses": {
  5213. "200": {
  5214. "description": "OK",
  5215. "schema": {
  5216. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5217. }
  5218. },
  5219. "500": {
  5220. "description": "Internal Server Error",
  5221. "schema": {
  5222. "$ref": "#/definitions/app.Response"
  5223. }
  5224. }
  5225. }
  5226. }
  5227. },
  5228. "/Quote/QueryHistoryDatas": {
  5229. "get": {
  5230. "security": [
  5231. {
  5232. "ApiKeyAuth": []
  5233. }
  5234. ],
  5235. "produces": [
  5236. "application/json"
  5237. ],
  5238. "tags": [
  5239. "行情服务"
  5240. ],
  5241. "summary": "查询行情历史数据",
  5242. "parameters": [
  5243. {
  5244. "type": "integer",
  5245. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5246. "name": "cycleType",
  5247. "in": "query",
  5248. "required": true
  5249. },
  5250. {
  5251. "type": "string",
  5252. "description": "商品代码",
  5253. "name": "goodsCode",
  5254. "in": "query",
  5255. "required": true
  5256. },
  5257. {
  5258. "type": "string",
  5259. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5260. "name": "startTime",
  5261. "in": "query"
  5262. },
  5263. {
  5264. "type": "string",
  5265. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5266. "name": "endTime",
  5267. "in": "query"
  5268. },
  5269. {
  5270. "type": "integer",
  5271. "description": "条数",
  5272. "name": "count",
  5273. "in": "query"
  5274. },
  5275. {
  5276. "type": "boolean",
  5277. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5278. "name": "isAsc",
  5279. "in": "query"
  5280. }
  5281. ],
  5282. "responses": {
  5283. "200": {
  5284. "description": "OK",
  5285. "schema": {
  5286. "$ref": "#/definitions/quote.HistoryData"
  5287. }
  5288. },
  5289. "500": {
  5290. "description": "Internal Server Error",
  5291. "schema": {
  5292. "$ref": "#/definitions/app.Response"
  5293. }
  5294. }
  5295. }
  5296. }
  5297. },
  5298. "/Quote/QueryHistoryTikDatas": {
  5299. "get": {
  5300. "security": [
  5301. {
  5302. "ApiKeyAuth": []
  5303. }
  5304. ],
  5305. "produces": [
  5306. "application/json"
  5307. ],
  5308. "tags": [
  5309. "行情服务"
  5310. ],
  5311. "summary": "查询行情Tik数据",
  5312. "parameters": [
  5313. {
  5314. "type": "string",
  5315. "description": "商品代码",
  5316. "name": "goodsCode",
  5317. "in": "query",
  5318. "required": true
  5319. },
  5320. {
  5321. "type": "string",
  5322. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5323. "name": "startTime",
  5324. "in": "query"
  5325. },
  5326. {
  5327. "type": "string",
  5328. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5329. "name": "endTime",
  5330. "in": "query"
  5331. },
  5332. {
  5333. "type": "integer",
  5334. "description": "条数",
  5335. "name": "count",
  5336. "in": "query"
  5337. },
  5338. {
  5339. "type": "boolean",
  5340. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5341. "name": "isAsc",
  5342. "in": "query"
  5343. }
  5344. ],
  5345. "responses": {
  5346. "200": {
  5347. "description": "OK",
  5348. "schema": {
  5349. "$ref": "#/definitions/quote.HistoryTikData"
  5350. }
  5351. },
  5352. "500": {
  5353. "description": "Internal Server Error",
  5354. "schema": {
  5355. "$ref": "#/definitions/app.Response"
  5356. }
  5357. }
  5358. }
  5359. }
  5360. },
  5361. "/Quote/QueryQuoteDay": {
  5362. "get": {
  5363. "security": [
  5364. {
  5365. "ApiKeyAuth": []
  5366. }
  5367. ],
  5368. "produces": [
  5369. "application/json"
  5370. ],
  5371. "tags": [
  5372. "行情服务"
  5373. ],
  5374. "summary": "获取商品盘面信息",
  5375. "parameters": [
  5376. {
  5377. "type": "string",
  5378. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5379. "name": "goodsCodes",
  5380. "in": "query",
  5381. "required": true
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5389. }
  5390. },
  5391. "500": {
  5392. "description": "Internal Server Error",
  5393. "schema": {
  5394. "$ref": "#/definitions/app.Response"
  5395. }
  5396. }
  5397. }
  5398. }
  5399. },
  5400. "/Quote/QueryTSData": {
  5401. "get": {
  5402. "security": [
  5403. {
  5404. "ApiKeyAuth": []
  5405. }
  5406. ],
  5407. "produces": [
  5408. "application/json"
  5409. ],
  5410. "tags": [
  5411. "行情服务"
  5412. ],
  5413. "summary": "分时图数据查询",
  5414. "parameters": [
  5415. {
  5416. "type": "string",
  5417. "description": "商品代码",
  5418. "name": "goodsCode",
  5419. "in": "query",
  5420. "required": true
  5421. }
  5422. ],
  5423. "responses": {
  5424. "200": {
  5425. "description": "OK",
  5426. "schema": {
  5427. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5428. }
  5429. },
  5430. "500": {
  5431. "description": "Internal Server Error",
  5432. "schema": {
  5433. "$ref": "#/definitions/app.Response"
  5434. }
  5435. }
  5436. }
  5437. }
  5438. },
  5439. "/SZDZ/QueryConvertConfig": {
  5440. "get": {
  5441. "security": [
  5442. {
  5443. "ApiKeyAuth": []
  5444. }
  5445. ],
  5446. "produces": [
  5447. "application/json"
  5448. ],
  5449. "tags": [
  5450. "定制【尚志大宗】"
  5451. ],
  5452. "summary": "查询交易系统转换设置",
  5453. "parameters": [
  5454. {
  5455. "type": "integer",
  5456. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5457. "name": "convertType",
  5458. "in": "query"
  5459. },
  5460. {
  5461. "type": "string",
  5462. "description": "外部商品代码[JD\\PD]",
  5463. "name": "outerGoodsCode",
  5464. "in": "query"
  5465. },
  5466. {
  5467. "type": "string",
  5468. "description": "内部商品ID列表[交易],格式:1,2,3",
  5469. "name": "innerGoodsIDs",
  5470. "in": "query"
  5471. }
  5472. ],
  5473. "responses": {
  5474. "200": {
  5475. "description": "OK",
  5476. "schema": {
  5477. "$ref": "#/definitions/models.Szdz3convertconfig"
  5478. }
  5479. },
  5480. "500": {
  5481. "description": "Internal Server Error",
  5482. "schema": {
  5483. "$ref": "#/definitions/app.Response"
  5484. }
  5485. }
  5486. }
  5487. }
  5488. },
  5489. "/SZDZ/QueryConvertLog": {
  5490. "get": {
  5491. "security": [
  5492. {
  5493. "ApiKeyAuth": []
  5494. }
  5495. ],
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "定制【尚志大宗】"
  5501. ],
  5502. "summary": "交易系统转换流水查询",
  5503. "parameters": [
  5504. {
  5505. "type": "string",
  5506. "description": "资金账户 - 格式:1,2,3",
  5507. "name": "accountID",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "string",
  5513. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5514. "name": "startDate",
  5515. "in": "query"
  5516. },
  5517. {
  5518. "type": "string",
  5519. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5520. "name": "endDate",
  5521. "in": "query"
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/SZDZ/QueryGoodsPickup": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "定制【尚志大宗】"
  5552. ],
  5553. "summary": "商品提货单查询",
  5554. "parameters": [
  5555. {
  5556. "type": "string",
  5557. "description": "资金账户 - 格式:1,2,3",
  5558. "name": "accountID",
  5559. "in": "query",
  5560. "required": true
  5561. },
  5562. {
  5563. "type": "integer",
  5564. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5565. "name": "takeOrderStatus",
  5566. "in": "query"
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/SZDZ/QueryRecieptOrder": {
  5586. "get": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5593. "produces": [
  5594. "application/json"
  5595. ],
  5596. "tags": [
  5597. "定制【尚志大宗】"
  5598. ],
  5599. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5600. "parameters": [
  5601. {
  5602. "type": "integer",
  5603. "description": "页码",
  5604. "name": "page",
  5605. "in": "query"
  5606. },
  5607. {
  5608. "type": "integer",
  5609. "description": "每页条数",
  5610. "name": "pagesize",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "商品ID",
  5616. "name": "goodsID",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "所属账户名称",
  5623. "name": "accountName",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "市场ID",
  5629. "name": "marketID",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "integer",
  5634. "description": "方向 - 0:买 1:卖",
  5635. "name": "buyorsell",
  5636. "in": "query",
  5637. "required": true
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5645. }
  5646. },
  5647. "500": {
  5648. "description": "Internal Server Error",
  5649. "schema": {
  5650. "$ref": "#/definitions/app.Response"
  5651. }
  5652. }
  5653. }
  5654. }
  5655. },
  5656. "/SZDZ/QuerySZDZTradePosition": {
  5657. "get": {
  5658. "security": [
  5659. {
  5660. "ApiKeyAuth": []
  5661. }
  5662. ],
  5663. "produces": [
  5664. "application/json"
  5665. ],
  5666. "tags": [
  5667. "定制【尚志大宗】"
  5668. ],
  5669. "summary": "持仓汇总查询(尚志大宗)",
  5670. "parameters": [
  5671. {
  5672. "type": "integer",
  5673. "description": "资金账户",
  5674. "name": "accountID",
  5675. "in": "query",
  5676. "required": true
  5677. }
  5678. ],
  5679. "responses": {
  5680. "200": {
  5681. "description": "OK",
  5682. "schema": {
  5683. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5684. }
  5685. },
  5686. "500": {
  5687. "description": "Internal Server Error",
  5688. "schema": {
  5689. "$ref": "#/definitions/app.Response"
  5690. }
  5691. }
  5692. }
  5693. }
  5694. },
  5695. "/SZDZ/SearchWhite": {
  5696. "get": {
  5697. "security": [
  5698. {
  5699. "ApiKeyAuth": []
  5700. }
  5701. ],
  5702. "produces": [
  5703. "application/json"
  5704. ],
  5705. "tags": [
  5706. "定制【尚志大宗】"
  5707. ],
  5708. "summary": "搜索白名单",
  5709. "parameters": [
  5710. {
  5711. "type": "integer",
  5712. "description": "用户ID",
  5713. "name": "userID",
  5714. "in": "query",
  5715. "required": true
  5716. }
  5717. ],
  5718. "responses": {
  5719. "200": {
  5720. "description": "OK",
  5721. "schema": {
  5722. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5723. }
  5724. },
  5725. "500": {
  5726. "description": "Internal Server Error",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. }
  5731. }
  5732. }
  5733. },
  5734. "/Search/SearchGoodses": {
  5735. "get": {
  5736. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5737. "produces": [
  5738. "application/json"
  5739. ],
  5740. "tags": [
  5741. "检索服务"
  5742. ],
  5743. "summary": "检索商品信息",
  5744. "parameters": [
  5745. {
  5746. "type": "string",
  5747. "description": "检索内容",
  5748. "name": "content",
  5749. "in": "query",
  5750. "required": true
  5751. },
  5752. {
  5753. "type": "string",
  5754. "description": "交易模式,格式:1,2,3",
  5755. "name": "tradeModes",
  5756. "in": "query"
  5757. }
  5758. ],
  5759. "responses": {
  5760. "200": {
  5761. "description": "OK",
  5762. "schema": {
  5763. "$ref": "#/definitions/models.SearchGoods"
  5764. }
  5765. },
  5766. "500": {
  5767. "description": "Internal Server Error",
  5768. "schema": {
  5769. "$ref": "#/definitions/app.Response"
  5770. }
  5771. }
  5772. }
  5773. }
  5774. },
  5775. "/TaAccount/GetTaAccounts": {
  5776. "get": {
  5777. "security": [
  5778. {
  5779. "ApiKeyAuth": []
  5780. }
  5781. ],
  5782. "produces": [
  5783. "application/json"
  5784. ],
  5785. "tags": [
  5786. "资金账户"
  5787. ],
  5788. "summary": "获取资金账户信息",
  5789. "parameters": [
  5790. {
  5791. "type": "integer",
  5792. "description": "登录账户",
  5793. "name": "loginID",
  5794. "in": "query",
  5795. "required": true
  5796. },
  5797. {
  5798. "type": "integer",
  5799. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5800. "name": "taAccountType",
  5801. "in": "query"
  5802. }
  5803. ],
  5804. "responses": {
  5805. "200": {
  5806. "description": "OK",
  5807. "schema": {
  5808. "$ref": "#/definitions/models.Taaccount"
  5809. }
  5810. },
  5811. "500": {
  5812. "description": "Internal Server Error",
  5813. "schema": {
  5814. "$ref": "#/definitions/app.Response"
  5815. }
  5816. }
  5817. }
  5818. }
  5819. },
  5820. "/TaAccount/QueryAmountLog": {
  5821. "get": {
  5822. "security": [
  5823. {
  5824. "ApiKeyAuth": []
  5825. }
  5826. ],
  5827. "produces": [
  5828. "application/json"
  5829. ],
  5830. "tags": [
  5831. "资金账户"
  5832. ],
  5833. "summary": "资金流水查询(当前)",
  5834. "parameters": [
  5835. {
  5836. "type": "integer",
  5837. "description": "页码",
  5838. "name": "page",
  5839. "in": "query"
  5840. },
  5841. {
  5842. "type": "integer",
  5843. "description": "每页条数",
  5844. "name": "pagesize",
  5845. "in": "query"
  5846. },
  5847. {
  5848. "type": "string",
  5849. "description": "资金账户 - 格式:1,2,3",
  5850. "name": "accountID",
  5851. "in": "query",
  5852. "required": true
  5853. },
  5854. {
  5855. "type": "string",
  5856. "description": "资金操作类型 - 格式:1,2,3",
  5857. "name": "OperateType",
  5858. "in": "query"
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/TaAccount/QueryHisAmountLog": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "produces": [
  5885. "application/json"
  5886. ],
  5887. "tags": [
  5888. "资金账户"
  5889. ],
  5890. "summary": "资金流水查询(历史)",
  5891. "parameters": [
  5892. {
  5893. "type": "integer",
  5894. "description": "页码",
  5895. "name": "page",
  5896. "in": "query"
  5897. },
  5898. {
  5899. "type": "integer",
  5900. "description": "每页条数",
  5901. "name": "pagesize",
  5902. "in": "query"
  5903. },
  5904. {
  5905. "type": "string",
  5906. "description": "资金账户 - 格式:1,2,3",
  5907. "name": "accountID",
  5908. "in": "query",
  5909. "required": true
  5910. },
  5911. {
  5912. "type": "string",
  5913. "description": "资金操作类型 - 格式:1,2,3",
  5914. "name": "OperateType",
  5915. "in": "query"
  5916. },
  5917. {
  5918. "type": "string",
  5919. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5920. "name": "startDate",
  5921. "in": "query"
  5922. },
  5923. {
  5924. "type": "string",
  5925. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5926. "name": "endDate",
  5927. "in": "query"
  5928. }
  5929. ],
  5930. "responses": {
  5931. "200": {
  5932. "description": "OK",
  5933. "schema": {
  5934. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5935. }
  5936. },
  5937. "500": {
  5938. "description": "Internal Server Error",
  5939. "schema": {
  5940. "$ref": "#/definitions/app.Response"
  5941. }
  5942. }
  5943. }
  5944. }
  5945. },
  5946. "/Trade/QueryRecieptOrder": {
  5947. "get": {
  5948. "security": [
  5949. {
  5950. "ApiKeyAuth": []
  5951. }
  5952. ],
  5953. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5954. "produces": [
  5955. "application/json"
  5956. ],
  5957. "tags": [
  5958. "通用交易"
  5959. ],
  5960. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5961. "parameters": [
  5962. {
  5963. "type": "integer",
  5964. "description": "页码",
  5965. "name": "page",
  5966. "in": "query"
  5967. },
  5968. {
  5969. "type": "integer",
  5970. "description": "每页条数",
  5971. "name": "pagesize",
  5972. "in": "query"
  5973. },
  5974. {
  5975. "type": "integer",
  5976. "description": "商品ID",
  5977. "name": "goodsID",
  5978. "in": "query",
  5979. "required": true
  5980. },
  5981. {
  5982. "type": "string",
  5983. "description": "所属账户名称",
  5984. "name": "accountName",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "integer",
  5989. "description": "市场ID",
  5990. "name": "marketID",
  5991. "in": "query"
  5992. },
  5993. {
  5994. "type": "integer",
  5995. "description": "方向 - 0:买 1:卖",
  5996. "name": "buyorsell",
  5997. "in": "query",
  5998. "required": true
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/User/AddMessageBoard": {
  6018. "post": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "produces": [
  6025. "application/json"
  6026. ],
  6027. "tags": [
  6028. "用户信息"
  6029. ],
  6030. "summary": "添加用户留言板信息",
  6031. "parameters": [
  6032. {
  6033. "type": "integer",
  6034. "description": "用户ID",
  6035. "name": "userID",
  6036. "in": "query",
  6037. "required": true
  6038. },
  6039. {
  6040. "type": "string",
  6041. "description": "留言信息",
  6042. "name": "message",
  6043. "in": "query",
  6044. "required": true
  6045. },
  6046. {
  6047. "type": "string",
  6048. "description": "联系电话",
  6049. "name": "contactNum",
  6050. "in": "query",
  6051. "required": true
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/app.Response"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/User/AddUserFavoriteGoods": {
  6071. "post": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "用户信息"
  6082. ],
  6083. "summary": "添加用户商品收藏信息",
  6084. "parameters": [
  6085. {
  6086. "type": "integer",
  6087. "description": "用户ID",
  6088. "name": "userID",
  6089. "in": "query",
  6090. "required": true
  6091. },
  6092. {
  6093. "type": "integer",
  6094. "description": "商品ID",
  6095. "name": "goodsID",
  6096. "in": "query",
  6097. "required": true
  6098. }
  6099. ],
  6100. "responses": {
  6101. "200": {
  6102. "description": "OK",
  6103. "schema": {
  6104. "$ref": "#/definitions/app.Response"
  6105. }
  6106. },
  6107. "500": {
  6108. "description": "Internal Server Error",
  6109. "schema": {
  6110. "$ref": "#/definitions/app.Response"
  6111. }
  6112. }
  6113. }
  6114. }
  6115. },
  6116. "/User/GetLoginID": {
  6117. "get": {
  6118. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6119. "produces": [
  6120. "application/json"
  6121. ],
  6122. "tags": [
  6123. "用户信息"
  6124. ],
  6125. "summary": "获取登录ID",
  6126. "parameters": [
  6127. {
  6128. "type": "string",
  6129. "description": "登录代码",
  6130. "name": "username",
  6131. "in": "query",
  6132. "required": true
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "$ref": "#/definitions/app.Response"
  6140. }
  6141. },
  6142. "500": {
  6143. "description": "Internal Server Error",
  6144. "schema": {
  6145. "$ref": "#/definitions/app.Response"
  6146. }
  6147. }
  6148. }
  6149. }
  6150. },
  6151. "/User/GetUserAccount": {
  6152. "get": {
  6153. "security": [
  6154. {
  6155. "ApiKeyAuth": []
  6156. }
  6157. ],
  6158. "produces": [
  6159. "application/json"
  6160. ],
  6161. "tags": [
  6162. "用户信息"
  6163. ],
  6164. "summary": "获取用户账号信息",
  6165. "parameters": [
  6166. {
  6167. "type": "integer",
  6168. "description": "用户ID",
  6169. "name": "userID",
  6170. "in": "query",
  6171. "required": true
  6172. }
  6173. ],
  6174. "responses": {
  6175. "200": {
  6176. "description": "OK",
  6177. "schema": {
  6178. "$ref": "#/definitions/models.Useraccount"
  6179. }
  6180. },
  6181. "500": {
  6182. "description": "Internal Server Error",
  6183. "schema": {
  6184. "$ref": "#/definitions/app.Response"
  6185. }
  6186. }
  6187. }
  6188. }
  6189. },
  6190. "/User/GetUserAuthStatus": {
  6191. "get": {
  6192. "security": [
  6193. {
  6194. "ApiKeyAuth": []
  6195. }
  6196. ],
  6197. "produces": [
  6198. "application/json"
  6199. ],
  6200. "tags": [
  6201. "用户信息"
  6202. ],
  6203. "summary": "获取用户实名认证状态",
  6204. "parameters": [
  6205. {
  6206. "type": "integer",
  6207. "description": "用户ID",
  6208. "name": "userID",
  6209. "in": "query",
  6210. "required": true
  6211. }
  6212. ],
  6213. "responses": {
  6214. "200": {
  6215. "description": "OK",
  6216. "schema": {
  6217. "$ref": "#/definitions/app.Response"
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/User/LoginQuery": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "用户信息"
  6241. ],
  6242. "summary": "账户登录后信息查询",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "登录账号",
  6247. "name": "loginID",
  6248. "in": "query",
  6249. "required": true
  6250. }
  6251. ],
  6252. "responses": {
  6253. "200": {
  6254. "description": "OK",
  6255. "schema": {
  6256. "$ref": "#/definitions/user.LoginQueryRsp"
  6257. }
  6258. },
  6259. "500": {
  6260. "description": "Internal Server Error",
  6261. "schema": {
  6262. "$ref": "#/definitions/app.Response"
  6263. }
  6264. }
  6265. }
  6266. }
  6267. },
  6268. "/User/QueryMessageBoard": {
  6269. "get": {
  6270. "security": [
  6271. {
  6272. "ApiKeyAuth": []
  6273. }
  6274. ],
  6275. "produces": [
  6276. "application/json"
  6277. ],
  6278. "tags": [
  6279. "用户信息"
  6280. ],
  6281. "summary": "获取用户留言板信息",
  6282. "parameters": [
  6283. {
  6284. "type": "integer",
  6285. "description": "用户ID",
  6286. "name": "userID",
  6287. "in": "query",
  6288. "required": true
  6289. }
  6290. ],
  6291. "responses": {
  6292. "200": {
  6293. "description": "OK",
  6294. "schema": {
  6295. "$ref": "#/definitions/models.Messageboard"
  6296. }
  6297. },
  6298. "500": {
  6299. "description": "Internal Server Error",
  6300. "schema": {
  6301. "$ref": "#/definitions/app.Response"
  6302. }
  6303. }
  6304. }
  6305. }
  6306. },
  6307. "/User/QueryUserFavoriteGoodses": {
  6308. "get": {
  6309. "security": [
  6310. {
  6311. "ApiKeyAuth": []
  6312. }
  6313. ],
  6314. "produces": [
  6315. "application/json"
  6316. ],
  6317. "tags": [
  6318. "用户信息"
  6319. ],
  6320. "summary": "获取用户商品收藏信息",
  6321. "parameters": [
  6322. {
  6323. "type": "integer",
  6324. "description": "用户ID",
  6325. "name": "userID",
  6326. "in": "query",
  6327. "required": true
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "$ref": "#/definitions/models.Userfavoritegoods"
  6335. }
  6336. },
  6337. "500": {
  6338. "description": "Internal Server Error",
  6339. "schema": {
  6340. "$ref": "#/definitions/app.Response"
  6341. }
  6342. }
  6343. }
  6344. }
  6345. },
  6346. "/User/QueryUserInfo": {
  6347. "get": {
  6348. "security": [
  6349. {
  6350. "ApiKeyAuth": []
  6351. }
  6352. ],
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "用户信息"
  6358. ],
  6359. "summary": "获取用户信息",
  6360. "parameters": [
  6361. {
  6362. "type": "integer",
  6363. "description": "用户ID",
  6364. "name": "userID",
  6365. "in": "query",
  6366. "required": true
  6367. }
  6368. ],
  6369. "responses": {
  6370. "200": {
  6371. "description": "OK",
  6372. "schema": {
  6373. "$ref": "#/definitions/models.Userinfo"
  6374. }
  6375. },
  6376. "500": {
  6377. "description": "Internal Server Error",
  6378. "schema": {
  6379. "$ref": "#/definitions/app.Response"
  6380. }
  6381. }
  6382. }
  6383. }
  6384. },
  6385. "/User/QueryUserReferNum": {
  6386. "get": {
  6387. "produces": [
  6388. "application/json"
  6389. ],
  6390. "tags": [
  6391. "用户信息"
  6392. ],
  6393. "summary": "获取用户邀请码",
  6394. "parameters": [
  6395. {
  6396. "type": "integer",
  6397. "description": "用户ID",
  6398. "name": "userID",
  6399. "in": "query",
  6400. "required": true
  6401. }
  6402. ],
  6403. "responses": {
  6404. "200": {
  6405. "description": "OK",
  6406. "schema": {
  6407. "$ref": "#/definitions/app.Response"
  6408. }
  6409. },
  6410. "500": {
  6411. "description": "Internal Server Error",
  6412. "schema": {
  6413. "$ref": "#/definitions/app.Response"
  6414. }
  6415. }
  6416. }
  6417. }
  6418. },
  6419. "/User/RemoveUserFavoriteGoods": {
  6420. "post": {
  6421. "security": [
  6422. {
  6423. "ApiKeyAuth": []
  6424. }
  6425. ],
  6426. "produces": [
  6427. "application/json"
  6428. ],
  6429. "tags": [
  6430. "用户信息"
  6431. ],
  6432. "summary": "移除用户商品收藏信息",
  6433. "parameters": [
  6434. {
  6435. "type": "integer",
  6436. "description": "用户ID",
  6437. "name": "userID",
  6438. "in": "query",
  6439. "required": true
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": "商品ID",
  6444. "name": "goodsID",
  6445. "in": "query",
  6446. "required": true
  6447. }
  6448. ],
  6449. "responses": {
  6450. "200": {
  6451. "description": "OK",
  6452. "schema": {
  6453. "$ref": "#/definitions/app.Response"
  6454. }
  6455. },
  6456. "500": {
  6457. "description": "Internal Server Error",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. }
  6462. }
  6463. }
  6464. },
  6465. "/User/UpdateUserAccountStatus": {
  6466. "post": {
  6467. "security": [
  6468. {
  6469. "ApiKeyAuth": []
  6470. }
  6471. ],
  6472. "produces": [
  6473. "application/json"
  6474. ],
  6475. "tags": [
  6476. "用户信息"
  6477. ],
  6478. "summary": "更新用户状态",
  6479. "parameters": [
  6480. {
  6481. "type": "integer",
  6482. "description": "用户ID",
  6483. "name": "userID",
  6484. "in": "query",
  6485. "required": true
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "账户状态 - 4:正常 6:注销(停用)",
  6490. "name": "accountStatus",
  6491. "in": "query",
  6492. "required": true
  6493. }
  6494. ],
  6495. "responses": {
  6496. "200": {
  6497. "description": "OK",
  6498. "schema": {
  6499. "$ref": "#/definitions/app.Response"
  6500. }
  6501. },
  6502. "500": {
  6503. "description": "Internal Server Error",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. }
  6508. }
  6509. }
  6510. },
  6511. "/WR/GetWRCategoryInfo": {
  6512. "get": {
  6513. "produces": [
  6514. "application/json"
  6515. ],
  6516. "tags": [
  6517. "仓单服务"
  6518. ],
  6519. "summary": "获取现货分类信息",
  6520. "responses": {
  6521. "200": {
  6522. "description": "OK",
  6523. "schema": {
  6524. "$ref": "#/definitions/models.WRCategoryTree"
  6525. }
  6526. },
  6527. "500": {
  6528. "description": "Internal Server Error",
  6529. "schema": {
  6530. "$ref": "#/definitions/app.Response"
  6531. }
  6532. }
  6533. }
  6534. }
  6535. },
  6536. "/WRTrade/GetAllDeliveryGoods": {
  6537. "get": {
  6538. "security": [
  6539. {
  6540. "ApiKeyAuth": []
  6541. },
  6542. {
  6543. "ApiKeyAuth": []
  6544. }
  6545. ],
  6546. "produces": [
  6547. "application/json",
  6548. "application/json"
  6549. ],
  6550. "tags": [
  6551. "仓单贸易",
  6552. "仓单贸易"
  6553. ],
  6554. "summary": "获取带仓单分类的种类信息",
  6555. "responses": {
  6556. "200": {
  6557. "description": "OK",
  6558. "schema": {
  6559. "$ref": "#/definitions/app.Response"
  6560. }
  6561. },
  6562. "500": {
  6563. "description": "Internal Server Error",
  6564. "schema": {
  6565. "$ref": "#/definitions/app.Response"
  6566. }
  6567. }
  6568. }
  6569. }
  6570. }
  6571. },
  6572. "definitions": {
  6573. "app.Response": {
  6574. "type": "object",
  6575. "properties": {
  6576. "code": {
  6577. "type": "integer"
  6578. },
  6579. "data": {
  6580. "type": "object"
  6581. },
  6582. "msg": {
  6583. "type": "string"
  6584. },
  6585. "page": {
  6586. "description": "页码",
  6587. "type": "integer"
  6588. },
  6589. "pagesize": {
  6590. "description": "每页条数",
  6591. "type": "integer"
  6592. },
  6593. "total": {
  6594. "description": "总条数",
  6595. "type": "integer"
  6596. }
  6597. }
  6598. },
  6599. "common.QueryImageConfigsRsp": {
  6600. "type": "object",
  6601. "required": [
  6602. "configid"
  6603. ],
  6604. "properties": {
  6605. "areauserid": {
  6606. "description": "所属机构ID",
  6607. "type": "integer"
  6608. },
  6609. "configid": {
  6610. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6611. "type": "integer"
  6612. },
  6613. "createdate": {
  6614. "description": "创建时间",
  6615. "type": "string"
  6616. },
  6617. "creatorid": {
  6618. "description": "创建人",
  6619. "type": "integer"
  6620. },
  6621. "imagepath": {
  6622. "description": "图片",
  6623. "type": "string"
  6624. },
  6625. "imagetype": {
  6626. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6627. "type": "integer"
  6628. },
  6629. "isshow": {
  6630. "description": "是否展示 - 0:不展示 1:展示",
  6631. "type": "integer"
  6632. },
  6633. "marketid": {
  6634. "description": "市场ID",
  6635. "type": "integer"
  6636. },
  6637. "modifierid": {
  6638. "description": "操作人",
  6639. "type": "integer"
  6640. },
  6641. "sort": {
  6642. "description": "排序",
  6643. "type": "integer"
  6644. },
  6645. "title": {
  6646. "description": "标题",
  6647. "type": "string"
  6648. },
  6649. "trademode": {
  6650. "description": "交易模式",
  6651. "type": "integer"
  6652. },
  6653. "updatedate": {
  6654. "description": "修改时间",
  6655. "type": "string"
  6656. },
  6657. "url": {
  6658. "description": "链接(地址或商品ID)",
  6659. "type": "string"
  6660. },
  6661. "urltype": {
  6662. "description": "链接类型 - 1:直接地址 2:商品ID",
  6663. "type": "integer"
  6664. }
  6665. }
  6666. },
  6667. "common.QueryNoticeRsp": {
  6668. "type": "object",
  6669. "required": [
  6670. "autoid"
  6671. ],
  6672. "properties": {
  6673. "auditoruserid": {
  6674. "description": "审核人",
  6675. "type": "integer"
  6676. },
  6677. "auditremark": {
  6678. "description": "审核备注",
  6679. "type": "string"
  6680. },
  6681. "audittime": {
  6682. "description": "审核日期",
  6683. "type": "string"
  6684. },
  6685. "autoid": {
  6686. "description": "自增ID",
  6687. "type": "integer"
  6688. },
  6689. "content": {
  6690. "description": "内容",
  6691. "type": "string"
  6692. },
  6693. "createtime": {
  6694. "description": "创建时间",
  6695. "type": "string"
  6696. },
  6697. "creatorid": {
  6698. "description": "建仓人",
  6699. "type": "integer"
  6700. },
  6701. "endtime": {
  6702. "description": "结束时间",
  6703. "type": "string"
  6704. },
  6705. "istop": {
  6706. "description": "是否置顶 - 0:不置顶 1:置顶",
  6707. "type": "integer"
  6708. },
  6709. "msgiconurl": {
  6710. "description": "消息图标Url",
  6711. "type": "string"
  6712. },
  6713. "msgtype": {
  6714. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6715. "type": "integer"
  6716. },
  6717. "publisher": {
  6718. "description": "消息发布者",
  6719. "type": "string"
  6720. },
  6721. "readed": {
  6722. "description": "是否已读",
  6723. "type": "boolean"
  6724. },
  6725. "scheduletime": {
  6726. "description": "计划发送时间",
  6727. "type": "string"
  6728. },
  6729. "sendtype": {
  6730. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6731. "type": "integer"
  6732. },
  6733. "sentstatus": {
  6734. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6735. "type": "integer"
  6736. },
  6737. "title": {
  6738. "description": "标题",
  6739. "type": "string"
  6740. },
  6741. "userid": {
  6742. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6743. "type": "integer"
  6744. }
  6745. }
  6746. },
  6747. "common.QueryProvincesAndCitiesRsp": {
  6748. "type": "object",
  6749. "properties": {
  6750. "cities": {
  6751. "description": "市",
  6752. "type": "array",
  6753. "items": {
  6754. "$ref": "#/definitions/models.Division"
  6755. }
  6756. },
  6757. "province": {
  6758. "description": "省",
  6759. "type": "object",
  6760. "$ref": "#/definitions/models.Division"
  6761. }
  6762. }
  6763. },
  6764. "common.QueryTableDefineRsp": {
  6765. "type": "object",
  6766. "required": [
  6767. "tablekey"
  6768. ],
  6769. "properties": {
  6770. "columns": {
  6771. "description": "列头信息数组",
  6772. "type": "array",
  6773. "items": {
  6774. "$ref": "#/definitions/models.Tablecolumnconfig"
  6775. }
  6776. },
  6777. "remark": {
  6778. "description": "Remark",
  6779. "type": "string"
  6780. },
  6781. "tabelmenu": {
  6782. "description": "列表菜单",
  6783. "type": "string"
  6784. },
  6785. "tablekey": {
  6786. "description": "列表Key",
  6787. "type": "string"
  6788. },
  6789. "tablename": {
  6790. "description": "列表名称",
  6791. "type": "string"
  6792. },
  6793. "tabletype": {
  6794. "description": "列表类型 - 1:管理端 2:终端",
  6795. "type": "integer"
  6796. }
  6797. }
  6798. },
  6799. "common.QueryTraderMenuRsp": {
  6800. "type": "object",
  6801. "properties": {
  6802. "OperationMenu": {
  6803. "description": "功能菜单",
  6804. "type": "array",
  6805. "items": {
  6806. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6807. }
  6808. },
  6809. "QuoteMenu": {
  6810. "description": "报价牌分类菜单",
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6814. }
  6815. }
  6816. }
  6817. },
  6818. "cptrade.Cptradepositioncancel": {
  6819. "type": "object",
  6820. "required": [
  6821. "cancelid"
  6822. ],
  6823. "properties": {
  6824. "accountid": {
  6825. "description": "申请人账户ID",
  6826. "type": "integer"
  6827. },
  6828. "applystatus": {
  6829. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6830. "type": "integer"
  6831. },
  6832. "applytime": {
  6833. "description": "申请时间",
  6834. "type": "string"
  6835. },
  6836. "cancelid": {
  6837. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6838. "type": "integer"
  6839. },
  6840. "cancelqty": {
  6841. "description": "注销数量",
  6842. "type": "integer"
  6843. },
  6844. "createtime": {
  6845. "description": "创建时间",
  6846. "type": "string"
  6847. },
  6848. "creatorid": {
  6849. "description": "创建人ID",
  6850. "type": "integer"
  6851. },
  6852. "creatorname": {
  6853. "description": "创建人",
  6854. "type": "string"
  6855. },
  6856. "goodscode": {
  6857. "description": "订单商品代码",
  6858. "type": "string"
  6859. },
  6860. "goodsid": {
  6861. "description": "商品ID",
  6862. "type": "integer"
  6863. },
  6864. "goodsname": {
  6865. "description": "订单商品名称",
  6866. "type": "string"
  6867. },
  6868. "goodunit": {
  6869. "description": "报价单位",
  6870. "type": "string"
  6871. },
  6872. "handlestatus": {
  6873. "description": "处理状态",
  6874. "type": "integer"
  6875. },
  6876. "marketid": {
  6877. "description": "市场ID",
  6878. "type": "integer"
  6879. },
  6880. "marketname": {
  6881. "description": "市场名称",
  6882. "type": "string"
  6883. },
  6884. "tradedate": {
  6885. "description": "交易日(yyyyMMdd)",
  6886. "type": "string"
  6887. },
  6888. "userid": {
  6889. "description": "申请人ID",
  6890. "type": "integer"
  6891. }
  6892. }
  6893. },
  6894. "cptrade.Cptradepresaleapply": {
  6895. "type": "object",
  6896. "required": [
  6897. "applyid"
  6898. ],
  6899. "properties": {
  6900. "accountid": {
  6901. "description": "申请人账户ID",
  6902. "type": "integer"
  6903. },
  6904. "applyid": {
  6905. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6906. "type": "integer"
  6907. },
  6908. "applyremark": {
  6909. "description": "申请备注",
  6910. "type": "string"
  6911. },
  6912. "applystatus": {
  6913. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6914. "type": "integer"
  6915. },
  6916. "applytime": {
  6917. "description": "申请时间",
  6918. "type": "string"
  6919. },
  6920. "attachmenturl": {
  6921. "description": "附件地址",
  6922. "type": "string"
  6923. },
  6924. "endtime": {
  6925. "description": "预售结束时间",
  6926. "type": "string"
  6927. },
  6928. "goodscode": {
  6929. "description": "商品代码",
  6930. "type": "string"
  6931. },
  6932. "goodsid": {
  6933. "description": "商品ID",
  6934. "type": "integer"
  6935. },
  6936. "goodsname": {
  6937. "description": "商品名称",
  6938. "type": "string"
  6939. },
  6940. "goodunit": {
  6941. "description": "报价单位",
  6942. "type": "string"
  6943. },
  6944. "handlestatus": {
  6945. "description": "处理状态",
  6946. "type": "integer"
  6947. },
  6948. "marketid": {
  6949. "description": "预售市场ID",
  6950. "type": "integer"
  6951. },
  6952. "marketname": {
  6953. "description": "预售市场名称",
  6954. "type": "string"
  6955. },
  6956. "presaleqty": {
  6957. "description": "预售数量",
  6958. "type": "integer"
  6959. },
  6960. "relatedgoodscode": {
  6961. "description": "关联交易合约代码",
  6962. "type": "string"
  6963. },
  6964. "relatedgoodsid": {
  6965. "description": "关联交易合约ID",
  6966. "type": "integer"
  6967. },
  6968. "relatedgoodsname": {
  6969. "description": "关联交易合约名称",
  6970. "type": "string"
  6971. },
  6972. "starttime": {
  6973. "description": "预售开始时间",
  6974. "type": "string"
  6975. },
  6976. "tradedate": {
  6977. "description": "交易日(yyyyMMdd)",
  6978. "type": "string"
  6979. },
  6980. "trademode": {
  6981. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6982. "type": "integer"
  6983. },
  6984. "userid": {
  6985. "description": "申请人ID",
  6986. "type": "integer"
  6987. }
  6988. }
  6989. },
  6990. "cptrade.Cptradeusergoodsdata": {
  6991. "type": "object",
  6992. "required": [
  6993. "accountid",
  6994. "goodsid"
  6995. ],
  6996. "properties": {
  6997. "EnabledQty": {
  6998. "description": "可用量",
  6999. "type": "integer"
  7000. },
  7001. "GoodsCode": {
  7002. "description": "订单商品代码",
  7003. "type": "string"
  7004. },
  7005. "GoodsName": {
  7006. "description": "订单商品名称",
  7007. "type": "string"
  7008. },
  7009. "WRStandardCode": {
  7010. "description": "仓单标准代码",
  7011. "type": "string"
  7012. },
  7013. "WRStandardName": {
  7014. "description": "仓单标准名称",
  7015. "type": "string"
  7016. },
  7017. "accountid": {
  7018. "description": "账户ID",
  7019. "type": "integer"
  7020. },
  7021. "cancelqty": {
  7022. "description": "注销量",
  7023. "type": "integer"
  7024. },
  7025. "curpresaleqty": {
  7026. "description": "当前预售量",
  7027. "type": "integer"
  7028. },
  7029. "deliveryqty": {
  7030. "description": "交割量",
  7031. "type": "integer"
  7032. },
  7033. "freezeamount": {
  7034. "description": "冻结金额",
  7035. "type": "number"
  7036. },
  7037. "goodsid": {
  7038. "description": "商品ID",
  7039. "type": "integer"
  7040. },
  7041. "goodunit": {
  7042. "description": "报价单位",
  7043. "type": "string"
  7044. },
  7045. "hasspotfreeze": {
  7046. "description": "是否有现货冻结 - 0:否 1:有",
  7047. "type": "integer"
  7048. },
  7049. "inqty": {
  7050. "description": "转入量(总数量)",
  7051. "type": "integer"
  7052. },
  7053. "marketid": {
  7054. "description": "市场ID",
  7055. "type": "integer"
  7056. },
  7057. "presaledamount": {
  7058. "description": "已预售总金额",
  7059. "type": "integer"
  7060. },
  7061. "presaledqty": {
  7062. "description": "已预售量",
  7063. "type": "integer"
  7064. },
  7065. "userid": {
  7066. "description": "用户ID",
  7067. "type": "integer"
  7068. },
  7069. "wrstandardid": {
  7070. "description": "仓单标准ID",
  7071. "type": "integer"
  7072. }
  7073. }
  7074. },
  7075. "cptrade.QueryCPTradeMyBidRsp": {
  7076. "type": "object",
  7077. "required": [
  7078. "accountid",
  7079. "goodsid",
  7080. "marketid",
  7081. "orderid",
  7082. "orderqty",
  7083. "ordertime",
  7084. "tradeprice",
  7085. "tradeqty"
  7086. ],
  7087. "properties": {
  7088. "accountid": {
  7089. "description": "账户ID[报价币种]",
  7090. "type": "integer"
  7091. },
  7092. "goodsid": {
  7093. "description": "商品ID",
  7094. "type": "integer"
  7095. },
  7096. "goodunit": {
  7097. "description": "报价单位",
  7098. "type": "string"
  7099. },
  7100. "marketid": {
  7101. "description": "市场ID",
  7102. "type": "integer"
  7103. },
  7104. "orderid": {
  7105. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7106. "type": "integer"
  7107. },
  7108. "orderprice": {
  7109. "description": "委托价格",
  7110. "type": "number"
  7111. },
  7112. "orderqty": {
  7113. "description": "委托数量",
  7114. "type": "integer"
  7115. },
  7116. "ordertime": {
  7117. "description": "委托时间",
  7118. "type": "string"
  7119. },
  7120. "ordertotalprice": {
  7121. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7122. "type": "number"
  7123. },
  7124. "ordertotalweight": {
  7125. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7126. "type": "integer"
  7127. },
  7128. "totaltotalprice": {
  7129. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7130. "type": "number"
  7131. },
  7132. "tradeprice": {
  7133. "description": "成交价格",
  7134. "type": "number"
  7135. },
  7136. "tradeqty": {
  7137. "description": "成交数量",
  7138. "type": "integer"
  7139. }
  7140. }
  7141. },
  7142. "cptrade.QueryCPTradeOrderDetailRsq": {
  7143. "type": "object",
  7144. "required": [
  7145. "accountid",
  7146. "buildtype",
  7147. "buyorsell",
  7148. "goodsid",
  7149. "marketid",
  7150. "memberuserid",
  7151. "operatetype",
  7152. "orderqty",
  7153. "ordertime",
  7154. "pricemode",
  7155. "strorderid",
  7156. "tradedate",
  7157. "validtype"
  7158. ],
  7159. "properties": {
  7160. "accountid": {
  7161. "description": "账户ID[报价币种]",
  7162. "type": "integer"
  7163. },
  7164. "buildtype": {
  7165. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7166. "type": "integer"
  7167. },
  7168. "buyorsell": {
  7169. "description": "买卖 - 0:买 1:卖",
  7170. "type": "integer"
  7171. },
  7172. "cancelorderid": {
  7173. "description": "撤单单号(撤单时填写)",
  7174. "type": "integer"
  7175. },
  7176. "cancelqty": {
  7177. "description": "撤单数量",
  7178. "type": "integer"
  7179. },
  7180. "clientordertime": {
  7181. "description": "客户端委托时间",
  7182. "type": "string"
  7183. },
  7184. "clientticket": {
  7185. "description": "客户端流水号",
  7186. "type": "string"
  7187. },
  7188. "clienttype": {
  7189. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7190. "type": "integer"
  7191. },
  7192. "closeexchagechargevalue": {
  7193. "description": "平仓交易所手续费设置值",
  7194. "type": "number"
  7195. },
  7196. "closefeealgorithm": {
  7197. "description": "平仓手续费收取方式 1:比率 2:固定",
  7198. "type": "integer"
  7199. },
  7200. "closefreezecharge": {
  7201. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7202. "type": "number"
  7203. },
  7204. "closememberchargevalue": {
  7205. "description": "平仓会员手续费设置值",
  7206. "type": "number"
  7207. },
  7208. "closeqty": {
  7209. "description": "平仓数量(先建后平操作 需要记录)",
  7210. "type": "integer"
  7211. },
  7212. "closetradeqty": {
  7213. "description": "平仓成交数量(先建后平操作,需要记录)",
  7214. "type": "integer"
  7215. },
  7216. "closeunfreezecharge": {
  7217. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7218. "type": "number"
  7219. },
  7220. "delistingtype": {
  7221. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7222. "type": "integer"
  7223. },
  7224. "freezecharge": {
  7225. "description": "冻结手续费",
  7226. "type": "number"
  7227. },
  7228. "freezemargin": {
  7229. "description": "冻结保证金(冻结交易金额)",
  7230. "type": "number"
  7231. },
  7232. "gcaccountid": {
  7233. "description": "账户ID[合约币种]",
  7234. "type": "integer"
  7235. },
  7236. "goodsid": {
  7237. "description": "商品ID",
  7238. "type": "integer"
  7239. },
  7240. "isconfirmexercise": {
  7241. "description": "是否确认行权- 0:否 1:是",
  7242. "type": "integer"
  7243. },
  7244. "ispreexercise": {
  7245. "description": "是否预申报- 0:否 1:是",
  7246. "type": "integer"
  7247. },
  7248. "listingselecttype": {
  7249. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7250. "type": "integer"
  7251. },
  7252. "marginalgorithm": {
  7253. "description": "保证金收取方式 1:比率 2:固定",
  7254. "type": "integer"
  7255. },
  7256. "marginvalue": {
  7257. "description": "即市保证金设置值",
  7258. "type": "number"
  7259. },
  7260. "marketid": {
  7261. "description": "市场ID",
  7262. "type": "integer"
  7263. },
  7264. "marketmaxsub": {
  7265. "description": "市价最大偏移范围",
  7266. "type": "number"
  7267. },
  7268. "memberuserid": {
  7269. "description": "所属会员UserID",
  7270. "type": "integer"
  7271. },
  7272. "openexchagechargevalue": {
  7273. "description": "建仓交易所手续费设置值",
  7274. "type": "number"
  7275. },
  7276. "openfeealgorithm": {
  7277. "description": "建仓手续费收取方式 1:比率 2:固定",
  7278. "type": "integer"
  7279. },
  7280. "openfreezecharge": {
  7281. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7282. "type": "number"
  7283. },
  7284. "openmemberchargevalue": {
  7285. "description": "建仓会员手续费设置值",
  7286. "type": "number"
  7287. },
  7288. "openqty": {
  7289. "description": "开仓数量(先建后平操作,需要记录)",
  7290. "type": "integer"
  7291. },
  7292. "opentradeqty": {
  7293. "description": "开仓成交数量(先建后平操作,需要记录)",
  7294. "type": "integer"
  7295. },
  7296. "openunfreezecharge": {
  7297. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7298. "type": "number"
  7299. },
  7300. "operatetype": {
  7301. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7302. "type": "integer"
  7303. },
  7304. "operatorid": {
  7305. "description": "登录账号(LoginID)",
  7306. "type": "integer"
  7307. },
  7308. "optiontype": {
  7309. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7310. "type": "integer"
  7311. },
  7312. "orderprice": {
  7313. "description": "委托价格",
  7314. "type": "number"
  7315. },
  7316. "orderqty": {
  7317. "description": "委托数量",
  7318. "type": "integer"
  7319. },
  7320. "ordersrc": {
  7321. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7322. "type": "integer"
  7323. },
  7324. "orderstatus": {
  7325. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7326. "type": "integer"
  7327. },
  7328. "ordertime": {
  7329. "description": "委托时间",
  7330. "type": "string"
  7331. },
  7332. "preexerciseprice": {
  7333. "description": "预申报价格",
  7334. "type": "number"
  7335. },
  7336. "premium": {
  7337. "description": "权利金",
  7338. "type": "number"
  7339. },
  7340. "preorderid": {
  7341. "description": "关联预埋单号(止盈止损单时填写)",
  7342. "type": "integer"
  7343. },
  7344. "pricemode": {
  7345. "description": "取价方式 - 1:市价 2: 限价",
  7346. "type": "integer"
  7347. },
  7348. "quoteid": {
  7349. "description": "报价单ID",
  7350. "type": "integer"
  7351. },
  7352. "relatedid": {
  7353. "description": "关联单号(交割单)",
  7354. "type": "integer"
  7355. },
  7356. "retcode": {
  7357. "description": "错误代码",
  7358. "type": "integer"
  7359. },
  7360. "sessionid": {
  7361. "description": "会话ID",
  7362. "type": "integer"
  7363. },
  7364. "strorderid": {
  7365. "description": "委托单号",
  7366. "type": "string"
  7367. },
  7368. "tradedate": {
  7369. "description": "交易日(yyyyMMdd)",
  7370. "type": "string"
  7371. },
  7372. "tradeproperty": {
  7373. "description": "交易属性",
  7374. "type": "integer"
  7375. },
  7376. "tradeqty": {
  7377. "description": "成交数量",
  7378. "type": "integer"
  7379. },
  7380. "unfreezecharge": {
  7381. "description": "解冻手续费",
  7382. "type": "number"
  7383. },
  7384. "unfreezemargin": {
  7385. "description": "解冻保证金",
  7386. "type": "number"
  7387. },
  7388. "updatetime": {
  7389. "description": "更新时间",
  7390. "type": "string"
  7391. },
  7392. "uuid": {
  7393. "description": "发起端唯一id",
  7394. "type": "string"
  7395. },
  7396. "validtime": {
  7397. "description": "有效期限",
  7398. "type": "string"
  7399. },
  7400. "validtype": {
  7401. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7402. "type": "integer"
  7403. },
  7404. "volumetype": {
  7405. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7406. "type": "integer"
  7407. }
  7408. }
  7409. },
  7410. "cptrade.QueryMyCPTradeGoodsRsp": {
  7411. "type": "object",
  7412. "required": [
  7413. "goodscode",
  7414. "goodsid",
  7415. "goodsname",
  7416. "marketid",
  7417. "relatedgoodscode",
  7418. "relatedgoodsname"
  7419. ],
  7420. "properties": {
  7421. "accountid": {
  7422. "description": "卖方账户ID",
  7423. "type": "integer"
  7424. },
  7425. "agreeunit": {
  7426. "description": "合约单位",
  7427. "type": "number"
  7428. },
  7429. "applyid": {
  7430. "description": "关联申请ID",
  7431. "type": "integer"
  7432. },
  7433. "attachmenturl": {
  7434. "description": "附件地址",
  7435. "type": "string"
  7436. },
  7437. "createtime": {
  7438. "description": "创建时间",
  7439. "type": "string"
  7440. },
  7441. "currencyid": {
  7442. "description": "报价货币ID",
  7443. "type": "integer"
  7444. },
  7445. "decimalplace": {
  7446. "description": "报价小数位",
  7447. "type": "integer"
  7448. },
  7449. "endtime": {
  7450. "description": "预售结束时间",
  7451. "type": "string"
  7452. },
  7453. "floorprice": {
  7454. "description": "底价[大宗式竞拍]",
  7455. "type": "number"
  7456. },
  7457. "goodscode": {
  7458. "description": "商品代码(预售)",
  7459. "type": "string"
  7460. },
  7461. "goodsdetail": {
  7462. "description": "详情[大宗]",
  7463. "type": "string"
  7464. },
  7465. "goodsid": {
  7466. "description": "商品ID(自增ID SEQ_GOODS)",
  7467. "type": "integer"
  7468. },
  7469. "goodsname": {
  7470. "description": "商品名称(预售)",
  7471. "type": "string"
  7472. },
  7473. "goodunit": {
  7474. "description": "报价单位",
  7475. "type": "string"
  7476. },
  7477. "goodunitid": {
  7478. "description": "报价单位ID",
  7479. "type": "integer"
  7480. },
  7481. "marketid": {
  7482. "description": "所属市场ID",
  7483. "type": "integer"
  7484. },
  7485. "marketname": {
  7486. "description": "预售市场名称",
  7487. "type": "string"
  7488. },
  7489. "presaledamount": {
  7490. "description": "已预售总金额(预售结束时更新)",
  7491. "type": "number"
  7492. },
  7493. "presaledqty": {
  7494. "description": "已预售量(预售结束时更新)",
  7495. "type": "integer"
  7496. },
  7497. "presalemode": {
  7498. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7499. "type": "integer"
  7500. },
  7501. "presaleqty": {
  7502. "description": "预售数量",
  7503. "type": "integer"
  7504. },
  7505. "refprice": {
  7506. "description": "参考价格[一口价]",
  7507. "type": "number"
  7508. },
  7509. "relatedgoodscode": {
  7510. "description": "商品代码(订单)",
  7511. "type": "string"
  7512. },
  7513. "relatedgoodsid": {
  7514. "description": "关联交易合约ID",
  7515. "type": "integer"
  7516. },
  7517. "relatedgoodsname": {
  7518. "description": "商品名称(订单)",
  7519. "type": "string"
  7520. },
  7521. "relatedmarketid": {
  7522. "description": "关联交易合约市场ID",
  7523. "type": "integer"
  7524. },
  7525. "sellstatus": {
  7526. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7527. "type": "integer"
  7528. },
  7529. "startprice": {
  7530. "description": "起拍价[大宗式竞拍]",
  7531. "type": "number"
  7532. },
  7533. "starttime": {
  7534. "description": "预售开始时间",
  7535. "type": "string"
  7536. },
  7537. "tradedate": {
  7538. "description": "交易日(yyyyMMdd)",
  7539. "type": "string"
  7540. },
  7541. "tradeprice": {
  7542. "description": "成交价[大宗]",
  7543. "type": "number"
  7544. },
  7545. "userid": {
  7546. "description": "卖方用户ID",
  7547. "type": "integer"
  7548. }
  7549. }
  7550. },
  7551. "cptrade.QueryPresaleGoodsExRsp": {
  7552. "type": "object",
  7553. "required": [
  7554. "goodsid"
  7555. ],
  7556. "properties": {
  7557. "attachmenturl": {
  7558. "description": "附件地址",
  7559. "type": "string"
  7560. },
  7561. "createtime": {
  7562. "description": "创建时间",
  7563. "type": "string"
  7564. },
  7565. "endtime": {
  7566. "description": "预售结束时间",
  7567. "type": "string"
  7568. },
  7569. "floorprice": {
  7570. "description": "底价[大宗式竞拍]",
  7571. "type": "number"
  7572. },
  7573. "goodsdetail": {
  7574. "description": "详情[大宗]",
  7575. "type": "string"
  7576. },
  7577. "goodsid": {
  7578. "description": "商品ID(预售)",
  7579. "type": "integer"
  7580. },
  7581. "goodunit": {
  7582. "description": "报价单位",
  7583. "type": "string"
  7584. },
  7585. "marketid": {
  7586. "description": "预售市场ID - 根据预售模式选择市场",
  7587. "type": "integer"
  7588. },
  7589. "presaledamount": {
  7590. "description": "已预售总金额(预售结束时更新)",
  7591. "type": "number"
  7592. },
  7593. "presaledqty": {
  7594. "description": "已预售量(预售结束时更新)",
  7595. "type": "integer"
  7596. },
  7597. "presalemode": {
  7598. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7599. "type": "integer"
  7600. },
  7601. "presaleqty": {
  7602. "description": "预售数量",
  7603. "type": "integer"
  7604. },
  7605. "refprice": {
  7606. "description": "参考价格[一口价]",
  7607. "type": "number"
  7608. },
  7609. "relatedgoodsid": {
  7610. "description": "关联交易合约ID",
  7611. "type": "integer"
  7612. },
  7613. "relatedmarketid": {
  7614. "description": "关联交易合约市场ID",
  7615. "type": "integer"
  7616. },
  7617. "sellstatus": {
  7618. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7619. "type": "integer"
  7620. },
  7621. "startprice": {
  7622. "description": "起拍价[大宗式竞拍]",
  7623. "type": "number"
  7624. },
  7625. "starttime": {
  7626. "description": "预售开始时间",
  7627. "type": "string"
  7628. },
  7629. "tradedate": {
  7630. "description": "交易日(yyyyMMdd)",
  7631. "type": "string"
  7632. },
  7633. "tradeprice": {
  7634. "description": "成交价[大宗]",
  7635. "type": "number"
  7636. }
  7637. }
  7638. },
  7639. "delivery.QueryDeliveryRelationRsp": {
  7640. "type": "object",
  7641. "required": [
  7642. "begindate",
  7643. "enddate",
  7644. "goodsid",
  7645. "mindeliveryqty",
  7646. "xdeliveryratio"
  7647. ],
  7648. "properties": {
  7649. "begindate": {
  7650. "description": "起始日期(yyyyMMdd)",
  7651. "type": "string"
  7652. },
  7653. "buytemplateid": {
  7654. "description": "买履约计划模板ID",
  7655. "type": "integer"
  7656. },
  7657. "deliverygoodscode": {
  7658. "description": "品种代码",
  7659. "type": "string"
  7660. },
  7661. "deliverygoodsid": {
  7662. "description": "交割商品",
  7663. "type": "integer"
  7664. },
  7665. "deliverygoodsname": {
  7666. "description": "品种名称",
  7667. "type": "string"
  7668. },
  7669. "deliverymode": {
  7670. "description": "交割方式 - 1:点选式 2:申报式",
  7671. "type": "integer"
  7672. },
  7673. "deliverypricerule": {
  7674. "description": "交割价规则- 1:行情价 2:建仓价",
  7675. "type": "integer"
  7676. },
  7677. "deliverytype": {
  7678. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7679. "type": "integer"
  7680. },
  7681. "enddate": {
  7682. "description": "结束日期(yyyyMMdd)",
  7683. "type": "string"
  7684. },
  7685. "goodscode": {
  7686. "description": "商品代码",
  7687. "type": "string"
  7688. },
  7689. "goodsid": {
  7690. "description": "交易合约ID",
  7691. "type": "integer"
  7692. },
  7693. "goodsname": {
  7694. "description": "商品名称",
  7695. "type": "string"
  7696. },
  7697. "marketid": {
  7698. "description": "市场ID",
  7699. "type": "integer"
  7700. },
  7701. "mindeliveryqty": {
  7702. "description": "最小交割系数(K)",
  7703. "type": "integer"
  7704. },
  7705. "p2deliveryprice": {
  7706. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7707. "type": "number"
  7708. },
  7709. "p2deliveryratio": {
  7710. "description": "P2合约系数(p)",
  7711. "type": "integer"
  7712. },
  7713. "p2goodsid": {
  7714. "description": "P2合约ID",
  7715. "type": "integer"
  7716. },
  7717. "p2pricemode": {
  7718. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7719. "type": "integer"
  7720. },
  7721. "pdeliveryprice": {
  7722. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7723. "type": "number"
  7724. },
  7725. "pdeliveryratio": {
  7726. "description": "P合约系数(n)",
  7727. "type": "integer"
  7728. },
  7729. "pgoodsid": {
  7730. "description": "P合约ID",
  7731. "type": "integer"
  7732. },
  7733. "ppricemode": {
  7734. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7735. "type": "integer"
  7736. },
  7737. "rratio": {
  7738. "description": "兑换系数(R)",
  7739. "type": "integer"
  7740. },
  7741. "rratio1": {
  7742. "description": "兑换系数(交易合约)(R1)",
  7743. "type": "integer"
  7744. },
  7745. "rratio2": {
  7746. "description": "兑换系数(仓单标准)(R2)",
  7747. "type": "integer"
  7748. },
  7749. "selltemplateid": {
  7750. "description": "卖履约计划模板ID",
  7751. "type": "integer"
  7752. },
  7753. "wrstandardid": {
  7754. "description": "仓单标准ID",
  7755. "type": "integer"
  7756. },
  7757. "xdeliveryratio": {
  7758. "description": "交易合约系数(m)",
  7759. "type": "integer"
  7760. }
  7761. }
  7762. },
  7763. "ermcp.ExposureDetailRsp": {
  7764. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  7765. },
  7766. "ermcp.ExposureHedgePosDetailRsp": {
  7767. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  7768. },
  7769. "ermcp.ExposureHedgePositionRsp": {
  7770. "$ref": "#/definitions/models.ErmcpHedgePosition"
  7771. },
  7772. "ermcp.ExposureSpotDetailRsp": {
  7773. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  7774. },
  7775. "ermcp.ExposureSpotRsp": {
  7776. "$ref": "#/definitions/models.AreaSpotModel"
  7777. },
  7778. "ermcp.HisExposureRsp": {
  7779. "$ref": "#/definitions/models.ErmcpHisExposureS"
  7780. },
  7781. "ermcp.PendingAuditCntRsp": {
  7782. "$ref": "#/definitions/models.ErmcpPendingAudit"
  7783. },
  7784. "ermcp.QryAreaStockApplyRsp": {
  7785. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  7786. },
  7787. "ermcp.QryAvalidGPRsp": {
  7788. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  7789. },
  7790. "ermcp.QryBusinessDjRsp": {
  7791. "type": "object",
  7792. "properties": {
  7793. "amount": {
  7794. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7795. "type": "number"
  7796. },
  7797. "applyid": {
  7798. "description": "申请人",
  7799. "type": "string"
  7800. },
  7801. "applyname": {
  7802. "description": "申请人名称",
  7803. "type": "string"
  7804. },
  7805. "applystatus": {
  7806. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7807. "type": "integer"
  7808. },
  7809. "applytime": {
  7810. "description": "申请时间",
  7811. "type": "string"
  7812. },
  7813. "attachurl": {
  7814. "description": "附件",
  7815. "type": "string"
  7816. },
  7817. "auditname": {
  7818. "description": "审核人名称",
  7819. "type": "string"
  7820. },
  7821. "audittime": {
  7822. "description": "审核时间",
  7823. "type": "string"
  7824. },
  7825. "buyusername": {
  7826. "description": "采购方名称",
  7827. "type": "string"
  7828. },
  7829. "contractno": {
  7830. "description": "合同编号",
  7831. "type": "string"
  7832. },
  7833. "contractstatus": {
  7834. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7835. "type": "integer"
  7836. },
  7837. "contracttype": {
  7838. "description": "现货合同类型 - 1:采购 -1:销售",
  7839. "type": "integer"
  7840. },
  7841. "enumdicname": {
  7842. "description": "单位名称",
  7843. "type": "string"
  7844. },
  7845. "goodscode": {
  7846. "description": "点价合约",
  7847. "type": "string"
  7848. },
  7849. "goodsname": {
  7850. "description": "商品名称",
  7851. "type": "string"
  7852. },
  7853. "operateapplyid": {
  7854. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7855. "type": "string"
  7856. },
  7857. "operateapplytype": {
  7858. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7859. "type": "integer"
  7860. },
  7861. "pricedPrice": {
  7862. "description": "点价价格(非必填)",
  7863. "type": "number"
  7864. },
  7865. "pricedQty": {
  7866. "description": "点价数量(非必填)",
  7867. "type": "number"
  7868. },
  7869. "pricemove": {
  7870. "description": "升贴水",
  7871. "type": "number"
  7872. },
  7873. "pricetype": {
  7874. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7875. "type": "integer"
  7876. },
  7877. "relatedid": {
  7878. "description": "现货合同ID",
  7879. "type": "string"
  7880. },
  7881. "sellusername": {
  7882. "description": "销售方名字",
  7883. "type": "string"
  7884. },
  7885. "userid": {
  7886. "description": "用户ID",
  7887. "type": "integer"
  7888. },
  7889. "wrstandardcode": {
  7890. "description": "现货商品代码",
  7891. "type": "string"
  7892. },
  7893. "wrstandardid": {
  7894. "description": "现货商品id",
  7895. "type": "integer"
  7896. },
  7897. "wrstandardname": {
  7898. "description": "现货商品名称",
  7899. "type": "string"
  7900. }
  7901. }
  7902. },
  7903. "ermcp.QryBussinessFpRsp": {
  7904. "type": "object",
  7905. "properties": {
  7906. "applyid": {
  7907. "description": "申请人",
  7908. "type": "string"
  7909. },
  7910. "applyname": {
  7911. "description": "申请人名称",
  7912. "type": "string"
  7913. },
  7914. "applystatus": {
  7915. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7916. "type": "integer"
  7917. },
  7918. "applytime": {
  7919. "description": "申请时间",
  7920. "type": "string"
  7921. },
  7922. "attachurl": {
  7923. "description": "附件",
  7924. "type": "string"
  7925. },
  7926. "auditname": {
  7927. "description": "审核人名称",
  7928. "type": "string"
  7929. },
  7930. "audittime": {
  7931. "description": "审核时间",
  7932. "type": "string"
  7933. },
  7934. "buyusername": {
  7935. "description": "采购方名称",
  7936. "type": "string"
  7937. },
  7938. "contractno": {
  7939. "description": "合同编号",
  7940. "type": "string"
  7941. },
  7942. "contractstatus": {
  7943. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7944. "type": "integer"
  7945. },
  7946. "contracttype": {
  7947. "description": "现货合同类型 - 1:采购 -1:销售",
  7948. "type": "integer"
  7949. },
  7950. "enumdicname": {
  7951. "description": "单位名称",
  7952. "type": "string"
  7953. },
  7954. "goodscode": {
  7955. "description": "点价合约",
  7956. "type": "string"
  7957. },
  7958. "goodsname": {
  7959. "description": "商品名称",
  7960. "type": "string"
  7961. },
  7962. "invoiceAmount": {
  7963. "description": "已开收票金额(销售为开票,采购为收票)",
  7964. "type": "number"
  7965. },
  7966. "operateapplyid": {
  7967. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7968. "type": "string"
  7969. },
  7970. "operateapplytype": {
  7971. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7972. "type": "integer"
  7973. },
  7974. "pricemove": {
  7975. "description": "升贴水",
  7976. "type": "number"
  7977. },
  7978. "pricetype": {
  7979. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7980. "type": "integer"
  7981. },
  7982. "relatedid": {
  7983. "description": "现货合同ID",
  7984. "type": "string"
  7985. },
  7986. "sellusername": {
  7987. "description": "销售方名字",
  7988. "type": "string"
  7989. },
  7990. "userid": {
  7991. "description": "用户ID",
  7992. "type": "integer"
  7993. },
  7994. "wrstandardcode": {
  7995. "description": "现货商品代码",
  7996. "type": "string"
  7997. },
  7998. "wrstandardid": {
  7999. "description": "现货商品id",
  8000. "type": "integer"
  8001. },
  8002. "wrstandardname": {
  8003. "description": "现货商品名称",
  8004. "type": "string"
  8005. }
  8006. }
  8007. },
  8008. "ermcp.QryBussinessJsExRsp": {
  8009. "type": "object",
  8010. "properties": {
  8011. "applyid": {
  8012. "description": "申请人",
  8013. "type": "string"
  8014. },
  8015. "applyname": {
  8016. "description": "申请人名称",
  8017. "type": "string"
  8018. },
  8019. "applystatus": {
  8020. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8021. "type": "integer"
  8022. },
  8023. "applytime": {
  8024. "description": "申请时间",
  8025. "type": "string"
  8026. },
  8027. "attachurl": {
  8028. "description": "附件",
  8029. "type": "string"
  8030. },
  8031. "auditname": {
  8032. "description": "审核人名称",
  8033. "type": "string"
  8034. },
  8035. "audittime": {
  8036. "description": "审核时间",
  8037. "type": "string"
  8038. },
  8039. "buyusername": {
  8040. "description": "采购方名称",
  8041. "type": "string"
  8042. },
  8043. "contractno": {
  8044. "description": "合同编号",
  8045. "type": "string"
  8046. },
  8047. "contractstatus": {
  8048. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8049. "type": "integer"
  8050. },
  8051. "contracttype": {
  8052. "description": "现货合同类型 - 1:采购 -1:销售",
  8053. "type": "integer"
  8054. },
  8055. "enumdicname": {
  8056. "description": "单位名称",
  8057. "type": "string"
  8058. },
  8059. "goodscode": {
  8060. "description": "点价合约",
  8061. "type": "string"
  8062. },
  8063. "goodsname": {
  8064. "description": "商品名称",
  8065. "type": "string"
  8066. },
  8067. "operateapplyid": {
  8068. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8069. "type": "string"
  8070. },
  8071. "operateapplytype": {
  8072. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8073. "type": "integer"
  8074. },
  8075. "pricemove": {
  8076. "description": "升贴水",
  8077. "type": "number"
  8078. },
  8079. "pricetype": {
  8080. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8081. "type": "integer"
  8082. },
  8083. "reckontype": {
  8084. "description": "结算类型",
  8085. "type": "string"
  8086. },
  8087. "reckonvalue": {
  8088. "description": "值",
  8089. "type": "number"
  8090. },
  8091. "relatedid": {
  8092. "description": "现货合同ID",
  8093. "type": "string"
  8094. },
  8095. "sellusername": {
  8096. "description": "销售方名字",
  8097. "type": "string"
  8098. },
  8099. "userid": {
  8100. "description": "用户ID",
  8101. "type": "integer"
  8102. },
  8103. "wrstandardcode": {
  8104. "description": "现货商品代码",
  8105. "type": "string"
  8106. },
  8107. "wrstandardid": {
  8108. "description": "现货商品id",
  8109. "type": "integer"
  8110. },
  8111. "wrstandardname": {
  8112. "description": "现货商品名称",
  8113. "type": "string"
  8114. }
  8115. }
  8116. },
  8117. "ermcp.QryBussinessJsRsp": {
  8118. "type": "object",
  8119. "properties": {
  8120. "addmargin": {
  8121. "description": "追加保证金(非必填)",
  8122. "type": "number"
  8123. },
  8124. "applyid": {
  8125. "description": "申请人",
  8126. "type": "string"
  8127. },
  8128. "applyname": {
  8129. "description": "申请人名称",
  8130. "type": "string"
  8131. },
  8132. "applystatus": {
  8133. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8134. "type": "integer"
  8135. },
  8136. "applytime": {
  8137. "description": "申请时间",
  8138. "type": "string"
  8139. },
  8140. "attachurl": {
  8141. "description": "附件",
  8142. "type": "string"
  8143. },
  8144. "auditname": {
  8145. "description": "审核人名称",
  8146. "type": "string"
  8147. },
  8148. "audittime": {
  8149. "description": "审核时间",
  8150. "type": "string"
  8151. },
  8152. "buyusername": {
  8153. "description": "采购方名称",
  8154. "type": "string"
  8155. },
  8156. "contractno": {
  8157. "description": "合同编号",
  8158. "type": "string"
  8159. },
  8160. "contractstatus": {
  8161. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8162. "type": "integer"
  8163. },
  8164. "contracttype": {
  8165. "description": "现货合同类型 - 1:采购 -1:销售",
  8166. "type": "integer"
  8167. },
  8168. "decmargin": {
  8169. "description": "减少保证金(非必填)",
  8170. "type": "number"
  8171. },
  8172. "enumdicname": {
  8173. "description": "单位名称",
  8174. "type": "string"
  8175. },
  8176. "goodscode": {
  8177. "description": "点价合约",
  8178. "type": "string"
  8179. },
  8180. "goodsname": {
  8181. "description": "商品名称",
  8182. "type": "string"
  8183. },
  8184. "operateapplyid": {
  8185. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8186. "type": "string"
  8187. },
  8188. "operateapplytype": {
  8189. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8190. "type": "integer"
  8191. },
  8192. "pricemove": {
  8193. "description": "升贴水",
  8194. "type": "number"
  8195. },
  8196. "pricetype": {
  8197. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8198. "type": "integer"
  8199. },
  8200. "reckonadjustamount": {
  8201. "description": "结算调整金额(非必填)",
  8202. "type": "number"
  8203. },
  8204. "reckonosamount": {
  8205. "description": "结算溢短金额(非必填)",
  8206. "type": "number"
  8207. },
  8208. "reckonotheramount": {
  8209. "description": "结算其他费用(非必填)",
  8210. "type": "number"
  8211. },
  8212. "reckonrealqty": {
  8213. "description": "结算实际数量(非必填)",
  8214. "type": "number"
  8215. },
  8216. "relatedid": {
  8217. "description": "现货合同ID",
  8218. "type": "string"
  8219. },
  8220. "sellusername": {
  8221. "description": "销售方名字",
  8222. "type": "string"
  8223. },
  8224. "userid": {
  8225. "description": "用户ID",
  8226. "type": "integer"
  8227. },
  8228. "wrstandardcode": {
  8229. "description": "现货商品代码",
  8230. "type": "string"
  8231. },
  8232. "wrstandardid": {
  8233. "description": "现货商品id",
  8234. "type": "integer"
  8235. },
  8236. "wrstandardname": {
  8237. "description": "现货商品名称",
  8238. "type": "string"
  8239. }
  8240. }
  8241. },
  8242. "ermcp.QryBussinessKxRsp": {
  8243. "type": "object",
  8244. "properties": {
  8245. "applyid": {
  8246. "description": "申请人",
  8247. "type": "string"
  8248. },
  8249. "applyname": {
  8250. "description": "申请人名称",
  8251. "type": "string"
  8252. },
  8253. "applystatus": {
  8254. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8255. "type": "integer"
  8256. },
  8257. "applytime": {
  8258. "description": "申请时间",
  8259. "type": "string"
  8260. },
  8261. "attachurl": {
  8262. "description": "附件",
  8263. "type": "string"
  8264. },
  8265. "auditname": {
  8266. "description": "审核人名称",
  8267. "type": "string"
  8268. },
  8269. "audittime": {
  8270. "description": "审核时间",
  8271. "type": "string"
  8272. },
  8273. "buyusername": {
  8274. "description": "采购方名称",
  8275. "type": "string"
  8276. },
  8277. "contractno": {
  8278. "description": "合同编号",
  8279. "type": "string"
  8280. },
  8281. "contractstatus": {
  8282. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8283. "type": "integer"
  8284. },
  8285. "contracttype": {
  8286. "description": "现货合同类型 - 1:采购 -1:销售",
  8287. "type": "integer"
  8288. },
  8289. "deductamount": {
  8290. "description": "退款(非必填)",
  8291. "type": "number"
  8292. },
  8293. "enumdicname": {
  8294. "description": "单位名称",
  8295. "type": "string"
  8296. },
  8297. "goodscode": {
  8298. "description": "点价合约",
  8299. "type": "string"
  8300. },
  8301. "goodsname": {
  8302. "description": "商品名称",
  8303. "type": "string"
  8304. },
  8305. "kxtype": {
  8306. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8307. "type": "integer"
  8308. },
  8309. "operateapplyid": {
  8310. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8311. "type": "string"
  8312. },
  8313. "operateapplytype": {
  8314. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8315. "type": "integer"
  8316. },
  8317. "payamount": {
  8318. "description": "收付款(非必填)",
  8319. "type": "number"
  8320. },
  8321. "pricemove": {
  8322. "description": "升贴水",
  8323. "type": "number"
  8324. },
  8325. "pricetype": {
  8326. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8327. "type": "integer"
  8328. },
  8329. "relatedid": {
  8330. "description": "现货合同ID",
  8331. "type": "string"
  8332. },
  8333. "sellusername": {
  8334. "description": "销售方名字",
  8335. "type": "string"
  8336. },
  8337. "userid": {
  8338. "description": "用户ID",
  8339. "type": "integer"
  8340. },
  8341. "wrstandardcode": {
  8342. "description": "现货商品代码",
  8343. "type": "string"
  8344. },
  8345. "wrstandardid": {
  8346. "description": "现货商品id",
  8347. "type": "integer"
  8348. },
  8349. "wrstandardname": {
  8350. "description": "现货商品名称",
  8351. "type": "string"
  8352. }
  8353. }
  8354. },
  8355. "ermcp.QryErmcpRsp": {
  8356. "$ref": "#/definitions/models.ErmcpModel"
  8357. },
  8358. "ermcp.QryGGCovertCfgRsp": {
  8359. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8360. },
  8361. "ermcp.QryHedgePlanRsp": {
  8362. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8363. },
  8364. "ermcp.QryMGChangeLogRsp": {
  8365. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8366. },
  8367. "ermcp.QryMiddleGoodsDetailRsp": {
  8368. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8369. },
  8370. "ermcp.QryMiddleGoodsRsp": {
  8371. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8372. },
  8373. "ermcp.QryOPLogRsp": {
  8374. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8375. },
  8376. "ermcp.QryReportDaySpotDetailRsp": {
  8377. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8378. },
  8379. "ermcp.QryReportExposureDayRsp": {
  8380. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8381. },
  8382. "ermcp.QryReportFinanceDayRsp": {
  8383. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8384. },
  8385. "ermcp.QryReportFinanceKxRsp": {
  8386. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8387. },
  8388. "ermcp.QryReportFinanceMonRsp": {
  8389. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8390. },
  8391. "ermcp.QryReportSpotDayRsp": {
  8392. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8393. },
  8394. "ermcp.QryReportSpotMonRsp": {
  8395. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8396. },
  8397. "ermcp.QryReportSpotMonthDetailRsp": {
  8398. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8399. },
  8400. "ermcp.QrySpotContractRsp": {
  8401. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8402. },
  8403. "ermcp.QryUserInfoRsp": {
  8404. "$ref": "#/definitions/models.ErmcpUserModel"
  8405. },
  8406. "ermcp.QryWarehouseRsp": {
  8407. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8408. },
  8409. "ermcp.QryWrStandardDetailRsp": {
  8410. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8411. },
  8412. "ermcp.QryWrStandardRsp": {
  8413. "$ref": "#/definitions/models.ErmcpWrstandard"
  8414. },
  8415. "ermcp.QueryErmcpTradePositionRsp": {
  8416. "type": "object",
  8417. "properties": {
  8418. "agreeunit": {
  8419. "description": "合约单位",
  8420. "type": "number"
  8421. },
  8422. "buyorsell": {
  8423. "description": "方向 - 0:买 1:卖",
  8424. "type": "integer"
  8425. },
  8426. "curpositionqty": {
  8427. "description": "持仓(总仓数量, 期末头寸)",
  8428. "type": "integer"
  8429. },
  8430. "curtdposition": {
  8431. "description": "今仓数量(期末今日头寸)",
  8432. "type": "integer"
  8433. },
  8434. "curtdpositionenabled": {
  8435. "description": "今仓可用",
  8436. "type": "integer"
  8437. },
  8438. "decimalplace": {
  8439. "description": "报价小数位",
  8440. "type": "integer"
  8441. },
  8442. "enableqty": {
  8443. "description": "可用(总仓可用)",
  8444. "type": "integer"
  8445. },
  8446. "exexchangename": {
  8447. "description": "外部交易所名称",
  8448. "type": "string"
  8449. },
  8450. "goodscode": {
  8451. "description": "商品代码(内部)",
  8452. "type": "string"
  8453. },
  8454. "goodsid": {
  8455. "description": "商品ID(自增ID SEQ_GOODS)",
  8456. "type": "integer"
  8457. },
  8458. "goodsname": {
  8459. "description": "商品名称",
  8460. "type": "string"
  8461. },
  8462. "last": {
  8463. "description": "现价",
  8464. "type": "number"
  8465. },
  8466. "marketid": {
  8467. "description": "所属市场ID",
  8468. "type": "integer"
  8469. },
  8470. "openaverageprice": {
  8471. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8472. "type": "number"
  8473. },
  8474. "opencost": {
  8475. "description": "开仓成本",
  8476. "type": "number"
  8477. },
  8478. "openpl": {
  8479. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8480. "type": "number"
  8481. },
  8482. "outgoodscode": {
  8483. "description": "商品代码(外部)",
  8484. "type": "string"
  8485. },
  8486. "positionaverageprice": {
  8487. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8488. "type": "number"
  8489. },
  8490. "positioncost": {
  8491. "description": "持仓成本",
  8492. "type": "number"
  8493. },
  8494. "positionpl": {
  8495. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8496. "type": "number"
  8497. },
  8498. "positionplrate": {
  8499. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8500. "type": "number"
  8501. },
  8502. "usedmargin": {
  8503. "description": "占用保证金",
  8504. "type": "number"
  8505. }
  8506. }
  8507. },
  8508. "ermcp.RealtimeExposurePositionRsp": {
  8509. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8510. },
  8511. "ermcp.RealtimeExposureRsp": {
  8512. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8513. },
  8514. "erms2.QueryArbitrageStrategyRsp": {
  8515. "type": "object",
  8516. "required": [
  8517. "asapplyid"
  8518. ],
  8519. "properties": {
  8520. "applybasis": {
  8521. "description": "申请基差",
  8522. "type": "number"
  8523. },
  8524. "asapplyid": {
  8525. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8526. "type": "string"
  8527. },
  8528. "asname": {
  8529. "description": "策略名称",
  8530. "type": "string"
  8531. },
  8532. "asno": {
  8533. "description": "策略编号",
  8534. "type": "string"
  8535. },
  8536. "basischangepl": {
  8537. "description": "基差变动损益[结算更新]",
  8538. "type": "number"
  8539. },
  8540. "biztype": {
  8541. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8542. "type": "integer"
  8543. },
  8544. "closetradedate": {
  8545. "description": "完结交易日(yyyyMMdd)",
  8546. "type": "string"
  8547. },
  8548. "curbasis": {
  8549. "description": "当前基差[结算更新]",
  8550. "type": "number"
  8551. },
  8552. "deliverygoodsid": {
  8553. "description": "现货品种ID",
  8554. "type": "integer"
  8555. },
  8556. "futureavgprice": {
  8557. "description": "期货建仓均价",
  8558. "type": "number"
  8559. },
  8560. "futurecloseamount": {
  8561. "description": "期货平仓金额",
  8562. "type": "number"
  8563. },
  8564. "futurecloseqty": {
  8565. "description": "期货平仓数量",
  8566. "type": "number"
  8567. },
  8568. "futureopenamount": {
  8569. "description": "期货开仓金额",
  8570. "type": "number"
  8571. },
  8572. "futureopenqty": {
  8573. "description": "期货开仓数量",
  8574. "type": "number"
  8575. },
  8576. "futurepl": {
  8577. "description": "期货总盈亏[结算更新]",
  8578. "type": "number"
  8579. },
  8580. "futureqty": {
  8581. "description": "期货持仓数量",
  8582. "type": "number"
  8583. },
  8584. "futurequote": {
  8585. "description": "期货额度",
  8586. "type": "number"
  8587. },
  8588. "goodsgroupid": {
  8589. "description": "期货品种ID",
  8590. "type": "integer"
  8591. },
  8592. "marketid": {
  8593. "description": "市场ID",
  8594. "type": "integer"
  8595. },
  8596. "netexposure": {
  8597. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8598. "type": "number"
  8599. },
  8600. "netexposurepl": {
  8601. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8602. "type": "number"
  8603. },
  8604. "netexposurerate": {
  8605. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8606. "type": "number"
  8607. },
  8608. "openbasis": {
  8609. "description": "建仓基差",
  8610. "type": "number"
  8611. },
  8612. "pricedspotqty": {
  8613. "description": "已定价现货数量",
  8614. "type": "number"
  8615. },
  8616. "pricedspotqtynotax": {
  8617. "description": "已定价现货不含税数量",
  8618. "type": "number"
  8619. },
  8620. "remark": {
  8621. "description": "备注",
  8622. "type": "string"
  8623. },
  8624. "spotavgprice": {
  8625. "description": "现货均价",
  8626. "type": "number"
  8627. },
  8628. "spotbuyamount": {
  8629. "description": "现货采购金额",
  8630. "type": "number"
  8631. },
  8632. "spotbuyqty": {
  8633. "description": "现货采购数量",
  8634. "type": "number"
  8635. },
  8636. "spotpl": {
  8637. "description": "现货总盈亏[结算更新]",
  8638. "type": "number"
  8639. },
  8640. "spotquota": {
  8641. "description": "现货额度",
  8642. "type": "number"
  8643. },
  8644. "spotsellamount": {
  8645. "description": "现货销售金额",
  8646. "type": "number"
  8647. },
  8648. "spotsellqty": {
  8649. "description": "现货销售数量",
  8650. "type": "number"
  8651. },
  8652. "spotusedquota": {
  8653. "description": "现货占用资金",
  8654. "type": "number"
  8655. },
  8656. "strategystatus": {
  8657. "description": "策略状态 - 0:未结束 1:已结束",
  8658. "type": "integer"
  8659. },
  8660. "totalpl": {
  8661. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8662. "type": "number"
  8663. },
  8664. "tradedate": {
  8665. "description": "交易日(yyyyMMdd)",
  8666. "type": "string"
  8667. },
  8668. "updatetime": {
  8669. "description": "更新时间",
  8670. "type": "string"
  8671. },
  8672. "usedquota": {
  8673. "description": "已占用资金",
  8674. "type": "number"
  8675. },
  8676. "userid": {
  8677. "description": "所属机构",
  8678. "type": "integer"
  8679. }
  8680. }
  8681. },
  8682. "erms2.QueryInnerTradeDetailRsp": {
  8683. "type": "object",
  8684. "required": [
  8685. "asapplyid",
  8686. "buyorsell",
  8687. "goodscode",
  8688. "goodsgroupid",
  8689. "goodsgroupname",
  8690. "goodsname",
  8691. "tradeid"
  8692. ],
  8693. "properties": {
  8694. "accountid": {
  8695. "description": "账号ID",
  8696. "type": "integer"
  8697. },
  8698. "agreeunit": {
  8699. "description": "合约单位",
  8700. "type": "number"
  8701. },
  8702. "asapplyid": {
  8703. "description": "策略申请ID",
  8704. "type": "integer"
  8705. },
  8706. "asname": {
  8707. "description": "策略名称",
  8708. "type": "string"
  8709. },
  8710. "asno": {
  8711. "description": "策略编号",
  8712. "type": "string"
  8713. },
  8714. "buyorsell": {
  8715. "description": "方向 - 0:买 1:卖",
  8716. "type": "integer"
  8717. },
  8718. "channelbuildtype": {
  8719. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8720. "type": "integer"
  8721. },
  8722. "closetype": {
  8723. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8724. "type": "integer"
  8725. },
  8726. "decimalplace": {
  8727. "description": "报价小数位",
  8728. "type": "integer"
  8729. },
  8730. "detailtype": {
  8731. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8732. "type": "integer"
  8733. },
  8734. "exexchangecode": {
  8735. "description": "外部交易所代码",
  8736. "type": "string"
  8737. },
  8738. "exexchangename": {
  8739. "description": "外部交易所名称",
  8740. "type": "string"
  8741. },
  8742. "goodscode": {
  8743. "description": "商品代码(合约)",
  8744. "type": "string"
  8745. },
  8746. "goodsgroupid": {
  8747. "description": "商品组ID(品种ID)",
  8748. "type": "integer"
  8749. },
  8750. "goodsgroupname": {
  8751. "description": "商品组名称(品种)",
  8752. "type": "string"
  8753. },
  8754. "goodsid": {
  8755. "description": "商品ID",
  8756. "type": "integer"
  8757. },
  8758. "goodsname": {
  8759. "description": "商品名称(合约)",
  8760. "type": "string"
  8761. },
  8762. "goodunit": {
  8763. "description": "报价单位",
  8764. "type": "string"
  8765. },
  8766. "marketid": {
  8767. "description": "市场ID",
  8768. "type": "integer"
  8769. },
  8770. "orderid": {
  8771. "description": "委托单号",
  8772. "type": "string"
  8773. },
  8774. "outgoodscode": {
  8775. "description": "商品代码(外部)",
  8776. "type": "string"
  8777. },
  8778. "relatedouttradeid": {
  8779. "description": "关联外部成交单ID",
  8780. "type": "string"
  8781. },
  8782. "remark": {
  8783. "description": "备注",
  8784. "type": "string"
  8785. },
  8786. "spotcontractid": {
  8787. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8788. "type": "integer"
  8789. },
  8790. "spotcontractno": {
  8791. "description": "现货合同编号",
  8792. "type": "string"
  8793. },
  8794. "tradeid": {
  8795. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8796. "type": "string"
  8797. },
  8798. "tradeprice": {
  8799. "description": "成交价格",
  8800. "type": "number"
  8801. },
  8802. "tradeqty": {
  8803. "description": "成交数量",
  8804. "type": "integer"
  8805. },
  8806. "tradetime": {
  8807. "description": "成交时间",
  8808. "type": "string"
  8809. },
  8810. "updatetime": {
  8811. "description": "更新时间",
  8812. "type": "string"
  8813. }
  8814. }
  8815. },
  8816. "erms2.QuerySpotContractRsp": {
  8817. "type": "object",
  8818. "required": [
  8819. "spotcontractid"
  8820. ],
  8821. "properties": {
  8822. "accountid": {
  8823. "description": "资金账户ID",
  8824. "type": "integer"
  8825. },
  8826. "areauserid": {
  8827. "description": "所属机构",
  8828. "type": "integer"
  8829. },
  8830. "closedate": {
  8831. "description": "终止日期",
  8832. "type": "string"
  8833. },
  8834. "closeremark": {
  8835. "description": "结束备注",
  8836. "type": "string"
  8837. },
  8838. "closetradedate": {
  8839. "description": "完结交易日(yyyyMMdd)",
  8840. "type": "string"
  8841. },
  8842. "closetype": {
  8843. "description": "终止类型 - 1:违约 2:提前终止",
  8844. "type": "integer"
  8845. },
  8846. "contractamount": {
  8847. "description": "合同金额",
  8848. "type": "number"
  8849. },
  8850. "contractattachment": {
  8851. "description": "合同附件",
  8852. "type": "string"
  8853. },
  8854. "contractno": {
  8855. "description": "现货合同编号",
  8856. "type": "string"
  8857. },
  8858. "contractqty": {
  8859. "description": "合同数量(数值) (用于计算)",
  8860. "type": "number"
  8861. },
  8862. "contractqtychar": {
  8863. "description": "合同数量\\已订价数量 (用于显示)",
  8864. "type": "string"
  8865. },
  8866. "contractstatus": {
  8867. "description": "合同状态 - 0:未结束 1:已结束",
  8868. "type": "integer"
  8869. },
  8870. "contracttype": {
  8871. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8872. "type": "integer"
  8873. },
  8874. "customeraccountid": {
  8875. "description": "客户资金账户ID",
  8876. "type": "integer"
  8877. },
  8878. "customeruserid": {
  8879. "description": "客户ID",
  8880. "type": "integer"
  8881. },
  8882. "deliverygoodsdesc": {
  8883. "description": "品种说明",
  8884. "type": "string"
  8885. },
  8886. "deliverygoodsid": {
  8887. "description": "现货品种ID",
  8888. "type": "integer"
  8889. },
  8890. "handlestatus": {
  8891. "description": "处理状态",
  8892. "type": "integer"
  8893. },
  8894. "invoiceatt": {
  8895. "description": "发票附件",
  8896. "type": "string"
  8897. },
  8898. "invoicedatetime": {
  8899. "description": "开收票更新时间",
  8900. "type": "string"
  8901. },
  8902. "invoiceopentime": {
  8903. "description": "开票时间",
  8904. "type": "string"
  8905. },
  8906. "invoiceremark": {
  8907. "description": "发票备注",
  8908. "type": "string"
  8909. },
  8910. "invoicestatus": {
  8911. "description": "开收票状态 - 0:未开票 1:已开票",
  8912. "type": "integer"
  8913. },
  8914. "lastdate": {
  8915. "description": "交货时间",
  8916. "type": "string"
  8917. },
  8918. "marketid": {
  8919. "description": "市场ID",
  8920. "type": "integer"
  8921. },
  8922. "paydatetime": {
  8923. "description": "收付款更新时间",
  8924. "type": "string"
  8925. },
  8926. "payremark": {
  8927. "description": "收付款备注",
  8928. "type": "string"
  8929. },
  8930. "paystatus": {
  8931. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8932. "type": "integer"
  8933. },
  8934. "positionqty": {
  8935. "description": "头寸数量 - 合同数量去小数部分",
  8936. "type": "integer"
  8937. },
  8938. "producttype": {
  8939. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8940. "type": "integer"
  8941. },
  8942. "relatedqty": {
  8943. "description": "已关联数量",
  8944. "type": "number"
  8945. },
  8946. "relatedstatus": {
  8947. "description": "关联完结状态 - 0:未结束 1:已结束",
  8948. "type": "integer"
  8949. },
  8950. "remark": {
  8951. "description": "备注",
  8952. "type": "string"
  8953. },
  8954. "signdate": {
  8955. "description": "签订日期",
  8956. "type": "string"
  8957. },
  8958. "spotcontractid": {
  8959. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  8960. "type": "string"
  8961. },
  8962. "spotdatetime": {
  8963. "description": "收发货更新时间",
  8964. "type": "string"
  8965. },
  8966. "spotprice": {
  8967. "description": "价格",
  8968. "type": "number"
  8969. },
  8970. "spotremark": {
  8971. "description": "收发货备注",
  8972. "type": "string"
  8973. },
  8974. "spotstatus": {
  8975. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  8976. "type": "integer"
  8977. },
  8978. "tradedate": {
  8979. "description": "交易日(yyyyMMdd)",
  8980. "type": "string"
  8981. },
  8982. "userid": {
  8983. "description": "业务员用户ID",
  8984. "type": "integer"
  8985. },
  8986. "warehouseid": {
  8987. "description": "仓库ID",
  8988. "type": "integer"
  8989. },
  8990. "wrfactortypeid": {
  8991. "description": "仓单要素类型ID",
  8992. "type": "integer"
  8993. },
  8994. "wrstandardid": {
  8995. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8996. "type": "integer"
  8997. }
  8998. }
  8999. },
  9000. "erms3.AddErms2ASApplyReq": {
  9001. "type": "object",
  9002. "required": [
  9003. "asapplyid"
  9004. ],
  9005. "properties": {
  9006. "applybasis": {
  9007. "description": "申请基差",
  9008. "type": "number"
  9009. },
  9010. "applystatus": {
  9011. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9012. "type": "integer"
  9013. },
  9014. "asapplyid": {
  9015. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9016. "type": "integer"
  9017. },
  9018. "asname": {
  9019. "description": "策略名称",
  9020. "type": "string"
  9021. },
  9022. "asno": {
  9023. "description": "策略编号",
  9024. "type": "string"
  9025. },
  9026. "auditid": {
  9027. "description": "审核人",
  9028. "type": "integer"
  9029. },
  9030. "auditremark": {
  9031. "description": "审核备注",
  9032. "type": "string"
  9033. },
  9034. "audittime": {
  9035. "description": "审核时间",
  9036. "type": "string"
  9037. },
  9038. "biztype": {
  9039. "description": "业务类型 - 1:正向套利 2:反向套利",
  9040. "type": "integer"
  9041. },
  9042. "createtime": {
  9043. "description": "创建时间",
  9044. "type": "string"
  9045. },
  9046. "creatorid": {
  9047. "description": "创建人",
  9048. "type": "integer"
  9049. },
  9050. "deliverygoodsid": {
  9051. "description": "现货品种ID",
  9052. "type": "integer"
  9053. },
  9054. "futurequote": {
  9055. "description": "期货额度",
  9056. "type": "number"
  9057. },
  9058. "goodsgroupid": {
  9059. "description": "期货品种ID",
  9060. "type": "integer"
  9061. },
  9062. "marketid": {
  9063. "description": "市场ID",
  9064. "type": "integer"
  9065. },
  9066. "remark": {
  9067. "description": "备注",
  9068. "type": "string"
  9069. },
  9070. "spotquota": {
  9071. "description": "现货额度",
  9072. "type": "number"
  9073. },
  9074. "tradedate": {
  9075. "description": "交易日(yyyyMMdd)",
  9076. "type": "string"
  9077. },
  9078. "userid": {
  9079. "description": "所属机构",
  9080. "type": "integer"
  9081. }
  9082. }
  9083. },
  9084. "erms3.AddErms2SpotTradeApplyReq": {
  9085. "type": "object",
  9086. "required": [
  9087. "spottradeid"
  9088. ],
  9089. "properties": {
  9090. "applyjsondetail": {
  9091. "description": "申请明细(JSON)",
  9092. "type": "string"
  9093. },
  9094. "applystatus": {
  9095. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9096. "type": "integer"
  9097. },
  9098. "areauserid": {
  9099. "description": "所属机构",
  9100. "type": "integer"
  9101. },
  9102. "auditid": {
  9103. "description": "审核人",
  9104. "type": "integer"
  9105. },
  9106. "auditremark": {
  9107. "description": "审核备注",
  9108. "type": "string"
  9109. },
  9110. "audittime": {
  9111. "description": "审核时间",
  9112. "type": "string"
  9113. },
  9114. "createtime": {
  9115. "description": "创建时间",
  9116. "type": "string"
  9117. },
  9118. "creatorid": {
  9119. "description": "创建人",
  9120. "type": "integer"
  9121. },
  9122. "deliverygoodsid": {
  9123. "description": "现货品种ID",
  9124. "type": "integer"
  9125. },
  9126. "futureaccountid": {
  9127. "description": "期货资金账户",
  9128. "type": "integer"
  9129. },
  9130. "goodsgroupid": {
  9131. "description": "期货品种",
  9132. "type": "integer"
  9133. },
  9134. "marketid": {
  9135. "description": "市场ID",
  9136. "type": "integer"
  9137. },
  9138. "remark": {
  9139. "description": "备注",
  9140. "type": "string"
  9141. },
  9142. "spotaccountid": {
  9143. "description": "现货资金账户",
  9144. "type": "integer"
  9145. },
  9146. "spottradeid": {
  9147. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9148. "type": "integer"
  9149. },
  9150. "spottradename": {
  9151. "description": "业务名称",
  9152. "type": "string"
  9153. },
  9154. "spottradeno": {
  9155. "description": "业务编号",
  9156. "type": "string"
  9157. },
  9158. "tradedate": {
  9159. "description": "交易日(yyyyMMdd)",
  9160. "type": "string"
  9161. },
  9162. "wrstandardid": {
  9163. "description": "仓单标准ID",
  9164. "type": "integer"
  9165. }
  9166. }
  9167. },
  9168. "erms3.AddSpotContractApplyReq": {
  9169. "type": "object",
  9170. "required": [
  9171. "accountid",
  9172. "areauserid",
  9173. "contractno",
  9174. "contracttype",
  9175. "customeraccountid",
  9176. "customeruserid",
  9177. "details",
  9178. "orimargin",
  9179. "signdate"
  9180. ],
  9181. "properties": {
  9182. "accountid": {
  9183. "description": "资金账户ID",
  9184. "type": "integer"
  9185. },
  9186. "areauserid": {
  9187. "description": "所属机构",
  9188. "type": "integer"
  9189. },
  9190. "contractattachment": {
  9191. "description": "合同附件",
  9192. "type": "string"
  9193. },
  9194. "contractno": {
  9195. "description": "现货合同编号",
  9196. "type": "string"
  9197. },
  9198. "contracttype": {
  9199. "description": "现货合同类型 - 1:采购 -1:销售",
  9200. "type": "integer"
  9201. },
  9202. "creatorid": {
  9203. "description": "申请人",
  9204. "type": "integer"
  9205. },
  9206. "customeraccountid": {
  9207. "description": "客户资金账户ID",
  9208. "type": "integer"
  9209. },
  9210. "customeruserid": {
  9211. "description": "客户ID",
  9212. "type": "integer"
  9213. },
  9214. "details": {
  9215. "description": "明细",
  9216. "type": "array",
  9217. "items": {
  9218. "$ref": "#/definitions/erms3.SoptContractDetail"
  9219. }
  9220. },
  9221. "orimargin": {
  9222. "description": "初始保证金",
  9223. "type": "number"
  9224. },
  9225. "remark": {
  9226. "description": "备注",
  9227. "type": "string"
  9228. },
  9229. "signdate": {
  9230. "description": "签订日期",
  9231. "type": "string"
  9232. }
  9233. }
  9234. },
  9235. "erms3.AddSpotContractApplyRsp": {
  9236. "type": "object",
  9237. "required": [
  9238. "contractno"
  9239. ],
  9240. "properties": {
  9241. "contractno": {
  9242. "description": "现货合同编号",
  9243. "type": "string"
  9244. },
  9245. "spotcontractid": {
  9246. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9247. "type": "integer"
  9248. }
  9249. }
  9250. },
  9251. "erms3.AddUserInfoApplyReq": {
  9252. "type": "object",
  9253. "required": [
  9254. "userid"
  9255. ],
  9256. "properties": {
  9257. "accountid": {
  9258. "description": "交易系统帐号Id (加密存储)",
  9259. "type": "integer"
  9260. },
  9261. "areacode": {
  9262. "description": "机构代码",
  9263. "type": "string"
  9264. },
  9265. "areaid": {
  9266. "description": "机构Id",
  9267. "type": "integer"
  9268. },
  9269. "attachment1": {
  9270. "description": "附件1",
  9271. "type": "string"
  9272. },
  9273. "attachment2": {
  9274. "description": "附件2",
  9275. "type": "string"
  9276. },
  9277. "attachment3": {
  9278. "description": "附件3",
  9279. "type": "string"
  9280. },
  9281. "attachment4": {
  9282. "description": "附件4",
  9283. "type": "string"
  9284. },
  9285. "attachment5": {
  9286. "description": "附件5",
  9287. "type": "string"
  9288. },
  9289. "auditedby": {
  9290. "description": "审核人",
  9291. "type": "string"
  9292. },
  9293. "auditime": {
  9294. "description": "审核时间",
  9295. "type": "string"
  9296. },
  9297. "bankaccount": {
  9298. "description": "银行帐号 (加密存储)",
  9299. "type": "string"
  9300. },
  9301. "bankaccountname": {
  9302. "description": "收款人名称",
  9303. "type": "string"
  9304. },
  9305. "bankcardbackphotourl": {
  9306. "description": "银行卡背面照地址",
  9307. "type": "string"
  9308. },
  9309. "bankcardfrontphotourl": {
  9310. "description": "银行卡正面照地址",
  9311. "type": "string"
  9312. },
  9313. "bankid": {
  9314. "description": "银行编码",
  9315. "type": "string"
  9316. },
  9317. "bankname": {
  9318. "description": "银行名称",
  9319. "type": "string"
  9320. },
  9321. "bankpictureurl": {
  9322. "description": "银行卡正面地址",
  9323. "type": "string"
  9324. },
  9325. "biznature": {
  9326. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9327. "type": "integer"
  9328. },
  9329. "bizscope": {
  9330. "description": "企业经营范围(企业)",
  9331. "type": "string"
  9332. },
  9333. "biztype": {
  9334. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9335. "type": "integer"
  9336. },
  9337. "brokerid": {
  9338. "description": "经纪人ID(加密存储)",
  9339. "type": "string"
  9340. },
  9341. "cardaddress": {
  9342. "description": "证件地址 (加密存储)",
  9343. "type": "string"
  9344. },
  9345. "cardbackphotourl": {
  9346. "description": "背面证件照地址",
  9347. "type": "string"
  9348. },
  9349. "cardfrontphotourl": {
  9350. "description": "正面证件照地址",
  9351. "type": "string"
  9352. },
  9353. "cardnum": {
  9354. "description": "证件号码 (加密存储)",
  9355. "type": "string"
  9356. },
  9357. "cardtype": {
  9358. "description": "证件类型",
  9359. "type": "integer"
  9360. },
  9361. "cityid": {
  9362. "description": "市",
  9363. "type": "integer"
  9364. },
  9365. "company": {
  9366. "description": "公司(个人)",
  9367. "type": "string"
  9368. },
  9369. "contactcardbackphotourl": {
  9370. "description": "联系人证件背面图片地址",
  9371. "type": "string"
  9372. },
  9373. "contactcardfrontphotourl": {
  9374. "description": "联系人证件正面图片地址",
  9375. "type": "string"
  9376. },
  9377. "contactname": {
  9378. "description": "联系人",
  9379. "type": "string"
  9380. },
  9381. "countryid": {
  9382. "description": "国家",
  9383. "type": "integer"
  9384. },
  9385. "createtime": {
  9386. "description": "开户申请时间",
  9387. "type": "string"
  9388. },
  9389. "cusbankid": {
  9390. "description": "签约类型",
  9391. "type": "string"
  9392. },
  9393. "cusbankname": {
  9394. "description": "签约类型名称",
  9395. "type": "string"
  9396. },
  9397. "customername": {
  9398. "description": "客户名称(企业名称)",
  9399. "type": "string"
  9400. },
  9401. "districtid": {
  9402. "description": "地区",
  9403. "type": "integer"
  9404. },
  9405. "email": {
  9406. "description": "Email地址(加密存储)",
  9407. "type": "string"
  9408. },
  9409. "halfbodyphotourl": {
  9410. "description": "半身照地址",
  9411. "type": "string"
  9412. },
  9413. "headurl": {
  9414. "description": "头像地址",
  9415. "type": "string"
  9416. },
  9417. "ipaddress": {
  9418. "description": "IP地址",
  9419. "type": "string"
  9420. },
  9421. "isvalidate": {
  9422. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9423. "type": "string"
  9424. },
  9425. "legalcardbackphotourl": {
  9426. "description": "法人身份证背面照地址",
  9427. "type": "string"
  9428. },
  9429. "legalcardfrontphotourl": {
  9430. "description": "法人身份证正面照地址",
  9431. "type": "string"
  9432. },
  9433. "legalpersonname": {
  9434. "description": "法人姓名(企业)",
  9435. "type": "string"
  9436. },
  9437. "logincode": {
  9438. "description": "登录帐号 (加密存储)",
  9439. "type": "string"
  9440. },
  9441. "memberareaid": {
  9442. "description": "所属会员ID",
  9443. "type": "integer"
  9444. },
  9445. "mobile2": {
  9446. "description": "手机号码[明文-尚志]",
  9447. "type": "string"
  9448. },
  9449. "mobilephone": {
  9450. "description": "手机号码 (加密存储)",
  9451. "type": "string"
  9452. },
  9453. "modifiedby": {
  9454. "description": "修改人帐号",
  9455. "type": "integer"
  9456. },
  9457. "modifiedtime": {
  9458. "description": "修改时间",
  9459. "type": "string"
  9460. },
  9461. "nickname": {
  9462. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9463. "type": "string"
  9464. },
  9465. "openmode": {
  9466. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9467. "type": "integer"
  9468. },
  9469. "otherurl": {
  9470. "description": "其它图片地址[使用分号分隔]",
  9471. "type": "string"
  9472. },
  9473. "postalcode": {
  9474. "description": "邮政编码",
  9475. "type": "string"
  9476. },
  9477. "provinceid": {
  9478. "description": "省",
  9479. "type": "integer"
  9480. },
  9481. "proxystatementurl": {
  9482. "description": "授权委托书",
  9483. "type": "string"
  9484. },
  9485. "qq": {
  9486. "description": "QQ(加密存储",
  9487. "type": "string"
  9488. },
  9489. "referral": {
  9490. "description": "推荐人编码",
  9491. "type": "string"
  9492. },
  9493. "remark": {
  9494. "description": "备注",
  9495. "type": "string"
  9496. },
  9497. "removebeforestatus": {
  9498. "description": "REMOVEBEFORESTATUS",
  9499. "type": "integer"
  9500. },
  9501. "sex": {
  9502. "description": "性别 - 0:女 1:男",
  9503. "type": "integer"
  9504. },
  9505. "signedstatus": {
  9506. "description": "账户一号签签约状态",
  9507. "type": "integer"
  9508. },
  9509. "signpdfurl": {
  9510. "description": "签约pdf文件",
  9511. "type": "string"
  9512. },
  9513. "subbranch": {
  9514. "description": "开户支行",
  9515. "type": "string"
  9516. },
  9517. "telphone": {
  9518. "description": "联系电话(加密存储)",
  9519. "type": "string"
  9520. },
  9521. "userid": {
  9522. "description": "用户ID(自增ID)",
  9523. "type": "integer"
  9524. },
  9525. "userinfotype": {
  9526. "description": "用户信息类型 - 1:个人 2:企业",
  9527. "type": "integer"
  9528. },
  9529. "username": {
  9530. "description": "用户姓名",
  9531. "type": "string"
  9532. },
  9533. "userstate": {
  9534. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9535. "type": "integer"
  9536. },
  9537. "usertype": {
  9538. "description": "用户类型 - 1:投资者 2:机构",
  9539. "type": "integer"
  9540. },
  9541. "videourl": {
  9542. "description": "视频地址",
  9543. "type": "string"
  9544. },
  9545. "wechat": {
  9546. "description": "微信号 (加密存储)",
  9547. "type": "string"
  9548. }
  9549. }
  9550. },
  9551. "erms3.CustomerInfo": {
  9552. "type": "object",
  9553. "required": [
  9554. "userid"
  9555. ],
  9556. "properties": {
  9557. "accountids": {
  9558. "description": "资金账户ID列表",
  9559. "type": "array",
  9560. "items": {
  9561. "type": "integer"
  9562. }
  9563. },
  9564. "customername": {
  9565. "description": "名称(企业名称)",
  9566. "type": "string"
  9567. },
  9568. "mobile": {
  9569. "description": "手机号码",
  9570. "type": "string"
  9571. },
  9572. "userid": {
  9573. "description": "用户ID",
  9574. "type": "integer"
  9575. }
  9576. }
  9577. },
  9578. "erms3.ModifyUserInfoApplyReq": {
  9579. "type": "object",
  9580. "required": [
  9581. "userid"
  9582. ],
  9583. "properties": {
  9584. "accountid": {
  9585. "description": "交易系统帐号Id (加密存储)",
  9586. "type": "integer"
  9587. },
  9588. "areacode": {
  9589. "description": "机构代码",
  9590. "type": "string"
  9591. },
  9592. "areaid": {
  9593. "description": "机构Id",
  9594. "type": "integer"
  9595. },
  9596. "attachment1": {
  9597. "description": "附件1",
  9598. "type": "string"
  9599. },
  9600. "attachment2": {
  9601. "description": "附件2",
  9602. "type": "string"
  9603. },
  9604. "attachment3": {
  9605. "description": "附件3",
  9606. "type": "string"
  9607. },
  9608. "attachment4": {
  9609. "description": "附件4",
  9610. "type": "string"
  9611. },
  9612. "attachment5": {
  9613. "description": "附件5",
  9614. "type": "string"
  9615. },
  9616. "auditedby": {
  9617. "description": "审核人",
  9618. "type": "string"
  9619. },
  9620. "auditime": {
  9621. "description": "审核时间",
  9622. "type": "string"
  9623. },
  9624. "bankaccount": {
  9625. "description": "银行帐号 (加密存储)",
  9626. "type": "string"
  9627. },
  9628. "bankaccountname": {
  9629. "description": "收款人名称",
  9630. "type": "string"
  9631. },
  9632. "bankcardbackphotourl": {
  9633. "description": "银行卡背面照地址",
  9634. "type": "string"
  9635. },
  9636. "bankcardfrontphotourl": {
  9637. "description": "银行卡正面照地址",
  9638. "type": "string"
  9639. },
  9640. "bankid": {
  9641. "description": "银行编码",
  9642. "type": "string"
  9643. },
  9644. "bankname": {
  9645. "description": "银行名称",
  9646. "type": "string"
  9647. },
  9648. "bankpictureurl": {
  9649. "description": "银行卡正面地址",
  9650. "type": "string"
  9651. },
  9652. "biznature": {
  9653. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9654. "type": "integer"
  9655. },
  9656. "bizscope": {
  9657. "description": "企业经营范围(企业)",
  9658. "type": "string"
  9659. },
  9660. "biztype": {
  9661. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9662. "type": "integer"
  9663. },
  9664. "brokerid": {
  9665. "description": "经纪人ID(加密存储)",
  9666. "type": "string"
  9667. },
  9668. "cardaddress": {
  9669. "description": "证件地址 (加密存储)",
  9670. "type": "string"
  9671. },
  9672. "cardbackphotourl": {
  9673. "description": "背面证件照地址",
  9674. "type": "string"
  9675. },
  9676. "cardfrontphotourl": {
  9677. "description": "正面证件照地址",
  9678. "type": "string"
  9679. },
  9680. "cardnum": {
  9681. "description": "证件号码 (加密存储)",
  9682. "type": "string"
  9683. },
  9684. "cardtype": {
  9685. "description": "证件类型",
  9686. "type": "integer"
  9687. },
  9688. "cityid": {
  9689. "description": "市",
  9690. "type": "integer"
  9691. },
  9692. "company": {
  9693. "description": "公司(个人)",
  9694. "type": "string"
  9695. },
  9696. "contactcardbackphotourl": {
  9697. "description": "联系人证件背面图片地址",
  9698. "type": "string"
  9699. },
  9700. "contactcardfrontphotourl": {
  9701. "description": "联系人证件正面图片地址",
  9702. "type": "string"
  9703. },
  9704. "contactname": {
  9705. "description": "联系人",
  9706. "type": "string"
  9707. },
  9708. "countryid": {
  9709. "description": "国家",
  9710. "type": "integer"
  9711. },
  9712. "createtime": {
  9713. "description": "开户申请时间",
  9714. "type": "string"
  9715. },
  9716. "cusbankid": {
  9717. "description": "签约类型",
  9718. "type": "string"
  9719. },
  9720. "cusbankname": {
  9721. "description": "签约类型名称",
  9722. "type": "string"
  9723. },
  9724. "customername": {
  9725. "description": "客户名称(企业名称)",
  9726. "type": "string"
  9727. },
  9728. "districtid": {
  9729. "description": "地区",
  9730. "type": "integer"
  9731. },
  9732. "email": {
  9733. "description": "Email地址(加密存储)",
  9734. "type": "string"
  9735. },
  9736. "halfbodyphotourl": {
  9737. "description": "半身照地址",
  9738. "type": "string"
  9739. },
  9740. "headurl": {
  9741. "description": "头像地址",
  9742. "type": "string"
  9743. },
  9744. "ipaddress": {
  9745. "description": "IP地址",
  9746. "type": "string"
  9747. },
  9748. "isvalidate": {
  9749. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9750. "type": "string"
  9751. },
  9752. "legalcardbackphotourl": {
  9753. "description": "法人身份证背面照地址",
  9754. "type": "string"
  9755. },
  9756. "legalcardfrontphotourl": {
  9757. "description": "法人身份证正面照地址",
  9758. "type": "string"
  9759. },
  9760. "legalpersonname": {
  9761. "description": "法人姓名(企业)",
  9762. "type": "string"
  9763. },
  9764. "logincode": {
  9765. "description": "登录帐号 (加密存储)",
  9766. "type": "string"
  9767. },
  9768. "memberareaid": {
  9769. "description": "所属会员ID",
  9770. "type": "integer"
  9771. },
  9772. "mobile2": {
  9773. "description": "手机号码[明文-尚志]",
  9774. "type": "string"
  9775. },
  9776. "mobilephone": {
  9777. "description": "手机号码 (加密存储)",
  9778. "type": "string"
  9779. },
  9780. "modifiedby": {
  9781. "description": "修改人帐号",
  9782. "type": "integer"
  9783. },
  9784. "modifiedtime": {
  9785. "description": "修改时间",
  9786. "type": "string"
  9787. },
  9788. "nickname": {
  9789. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9790. "type": "string"
  9791. },
  9792. "openmode": {
  9793. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9794. "type": "integer"
  9795. },
  9796. "otherurl": {
  9797. "description": "其它图片地址[使用分号分隔]",
  9798. "type": "string"
  9799. },
  9800. "postalcode": {
  9801. "description": "邮政编码",
  9802. "type": "string"
  9803. },
  9804. "provinceid": {
  9805. "description": "省",
  9806. "type": "integer"
  9807. },
  9808. "proxystatementurl": {
  9809. "description": "授权委托书",
  9810. "type": "string"
  9811. },
  9812. "qq": {
  9813. "description": "QQ(加密存储",
  9814. "type": "string"
  9815. },
  9816. "referral": {
  9817. "description": "推荐人编码",
  9818. "type": "string"
  9819. },
  9820. "remark": {
  9821. "description": "备注",
  9822. "type": "string"
  9823. },
  9824. "removebeforestatus": {
  9825. "description": "REMOVEBEFORESTATUS",
  9826. "type": "integer"
  9827. },
  9828. "sex": {
  9829. "description": "性别 - 0:女 1:男",
  9830. "type": "integer"
  9831. },
  9832. "signedstatus": {
  9833. "description": "账户一号签签约状态",
  9834. "type": "integer"
  9835. },
  9836. "signpdfurl": {
  9837. "description": "签约pdf文件",
  9838. "type": "string"
  9839. },
  9840. "subbranch": {
  9841. "description": "开户支行",
  9842. "type": "string"
  9843. },
  9844. "telphone": {
  9845. "description": "联系电话(加密存储)",
  9846. "type": "string"
  9847. },
  9848. "userid": {
  9849. "description": "用户ID(自增ID)",
  9850. "type": "integer"
  9851. },
  9852. "userinfotype": {
  9853. "description": "用户信息类型 - 1:个人 2:企业",
  9854. "type": "integer"
  9855. },
  9856. "username": {
  9857. "description": "用户姓名",
  9858. "type": "string"
  9859. },
  9860. "userstate": {
  9861. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9862. "type": "integer"
  9863. },
  9864. "usertype": {
  9865. "description": "用户类型 - 1:投资者 2:机构",
  9866. "type": "integer"
  9867. },
  9868. "videourl": {
  9869. "description": "视频地址",
  9870. "type": "string"
  9871. },
  9872. "wechat": {
  9873. "description": "微信号 (加密存储)",
  9874. "type": "string"
  9875. }
  9876. }
  9877. },
  9878. "erms3.QryAuditContractRsp": {
  9879. "type": "object",
  9880. "required": [
  9881. "matchcustomername",
  9882. "spotcontractid"
  9883. ],
  9884. "properties": {
  9885. "accountid": {
  9886. "description": "交易员ID",
  9887. "type": "string"
  9888. },
  9889. "applystatus": {
  9890. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9891. "type": "integer"
  9892. },
  9893. "curdeliveryqty": {
  9894. "description": "未交收量",
  9895. "type": "integer"
  9896. },
  9897. "customername": {
  9898. "description": "采购方ID",
  9899. "type": "string"
  9900. },
  9901. "deliverygoodsid": {
  9902. "description": "品种ID",
  9903. "type": "string"
  9904. },
  9905. "deliveryqty": {
  9906. "description": "交收量",
  9907. "type": "integer"
  9908. },
  9909. "enumdicname": {
  9910. "description": "单位名称",
  9911. "type": "string"
  9912. },
  9913. "matchaccountid": {
  9914. "description": "业务员ID",
  9915. "type": "string"
  9916. },
  9917. "matchcustomername": {
  9918. "description": "销售方ID",
  9919. "type": "string"
  9920. },
  9921. "pricedqty": {
  9922. "description": "定价量",
  9923. "type": "number"
  9924. },
  9925. "signdate": {
  9926. "description": "签订日期",
  9927. "type": "string"
  9928. },
  9929. "spotcontractid": {
  9930. "description": "合同ID",
  9931. "type": "string"
  9932. },
  9933. "totaldqty": {
  9934. "description": "合同量",
  9935. "type": "number"
  9936. },
  9937. "unpricedqty": {
  9938. "description": "未定价量",
  9939. "type": "number"
  9940. },
  9941. "wrstandardname": {
  9942. "description": "商品名称",
  9943. "type": "string"
  9944. }
  9945. }
  9946. },
  9947. "erms3.QryPendingBizRsp": {
  9948. "$ref": "#/definitions/models.PendingAuditBizModel"
  9949. },
  9950. "erms3.QueryBusinessInfoRsp": {
  9951. "type": "object",
  9952. "properties": {
  9953. "businessid": {
  9954. "description": "业务ID.",
  9955. "type": "integer"
  9956. },
  9957. "buyamount": {
  9958. "description": "采购额.",
  9959. "type": "number"
  9960. },
  9961. "buyqty": {
  9962. "description": "采购量.",
  9963. "type": "string"
  9964. },
  9965. "futurepl": {
  9966. "description": "期货盈亏.",
  9967. "type": "number"
  9968. },
  9969. "futureqty": {
  9970. "description": "期货敞口.",
  9971. "type": "string"
  9972. },
  9973. "goodsid": {
  9974. "description": "商品名称/商品代码.",
  9975. "type": "string"
  9976. },
  9977. "hedgingqty": {
  9978. "description": "套保量.",
  9979. "type": "string"
  9980. },
  9981. "sellamount": {
  9982. "description": "销售额.",
  9983. "type": "number"
  9984. },
  9985. "sellqty": {
  9986. "description": "销售量.",
  9987. "type": "string"
  9988. },
  9989. "spotmarketvalue": {
  9990. "description": "现货市值.",
  9991. "type": "number"
  9992. },
  9993. "spotpl": {
  9994. "description": "浮动权益.",
  9995. "type": "number"
  9996. },
  9997. "spotqty": {
  9998. "description": "现货量.",
  9999. "type": "string"
  10000. },
  10001. "statu": {
  10002. "description": "状态,0-未结束 1-已结束.",
  10003. "type": "integer"
  10004. },
  10005. "totalpl": {
  10006. "description": "总盈亏.",
  10007. "type": "number"
  10008. },
  10009. "totalqty": {
  10010. "description": "总敞口.",
  10011. "type": "string"
  10012. },
  10013. "type": {
  10014. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10015. "type": "integer"
  10016. }
  10017. }
  10018. },
  10019. "erms3.QuerySpotContractAppleFormRsp": {
  10020. "type": "object",
  10021. "properties": {
  10022. "goodses": {
  10023. "description": "合约列表",
  10024. "type": "array",
  10025. "items": {
  10026. "$ref": "#/definitions/models.GoodsIDAndName"
  10027. }
  10028. },
  10029. "oppositeusers": {
  10030. "description": "对方账号列表",
  10031. "type": "array",
  10032. "items": {
  10033. "$ref": "#/definitions/erms3.CustomerInfo"
  10034. }
  10035. },
  10036. "ouruser": {
  10037. "description": "我方账号",
  10038. "type": "object",
  10039. "$ref": "#/definitions/erms3.CustomerInfo"
  10040. },
  10041. "warehouseinfos": {
  10042. "description": "仓库信息列表",
  10043. "type": "array",
  10044. "items": {
  10045. "$ref": "#/definitions/models.Warehouseinfo"
  10046. }
  10047. },
  10048. "wrstandards": {
  10049. "description": "仓单标准列表",
  10050. "type": "array",
  10051. "items": {
  10052. "$ref": "#/definitions/models.WRStandardInfo"
  10053. }
  10054. }
  10055. }
  10056. },
  10057. "erms3.QuerySpotContractInfoRsp": {
  10058. "type": "object",
  10059. "properties": {
  10060. "accountid": {
  10061. "description": "表示交易员ID.",
  10062. "type": "integer"
  10063. },
  10064. "curdeliveryqty": {
  10065. "description": "表示未交收量.",
  10066. "type": "number"
  10067. },
  10068. "customername": {
  10069. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10070. "type": "string"
  10071. },
  10072. "deliverygoodsid": {
  10073. "description": "表示品种ID.",
  10074. "type": "string"
  10075. },
  10076. "deliveryqty": {
  10077. "description": "表示交收量.",
  10078. "type": "number"
  10079. },
  10080. "matchaccountid": {
  10081. "description": "表示业务员ID.",
  10082. "type": "integer"
  10083. },
  10084. "matchcustomername": {
  10085. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10086. "type": "string"
  10087. },
  10088. "priceqty": {
  10089. "description": "表示定价量.",
  10090. "type": "number"
  10091. },
  10092. "relatedbizid": {
  10093. "description": "表示业务ID.",
  10094. "type": "string"
  10095. },
  10096. "signdate": {
  10097. "description": "表示签订日期.",
  10098. "type": "string"
  10099. },
  10100. "spotcontractid": {
  10101. "description": "合同ID",
  10102. "type": "string"
  10103. },
  10104. "status": {
  10105. "description": "表示状态,0-履约中 1-已完成.",
  10106. "type": "integer"
  10107. },
  10108. "totalqty": {
  10109. "description": "表示合同量.",
  10110. "type": "number"
  10111. },
  10112. "unpricedqty": {
  10113. "description": "表示未定价量.",
  10114. "type": "number"
  10115. },
  10116. "wrstandardname": {
  10117. "description": "表示商品ID.",
  10118. "type": "string"
  10119. }
  10120. }
  10121. },
  10122. "erms3.QueryUserInfoAppliesRsp": {
  10123. "type": "object",
  10124. "required": [
  10125. "userid"
  10126. ],
  10127. "properties": {
  10128. "biznature": {
  10129. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10130. "type": "integer"
  10131. },
  10132. "contactname": {
  10133. "description": "联系人",
  10134. "type": "string"
  10135. },
  10136. "createtime": {
  10137. "description": "开户申请时间",
  10138. "type": "string"
  10139. },
  10140. "userid": {
  10141. "description": "用户ID(自增ID)",
  10142. "type": "integer"
  10143. },
  10144. "userinfotype": {
  10145. "description": "用户信息类型 - 1:个人 2:企业",
  10146. "type": "integer"
  10147. },
  10148. "username": {
  10149. "description": "用户姓名",
  10150. "type": "string"
  10151. },
  10152. "userstate": {
  10153. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10154. "type": "integer"
  10155. }
  10156. }
  10157. },
  10158. "erms3.QueryUserInfosRsp": {
  10159. "type": "object",
  10160. "required": [
  10161. "userid"
  10162. ],
  10163. "properties": {
  10164. "biznature": {
  10165. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10166. "type": "integer"
  10167. },
  10168. "contactname": {
  10169. "description": "联系人",
  10170. "type": "string"
  10171. },
  10172. "customername": {
  10173. "description": "客户名称(企业名称)",
  10174. "type": "string"
  10175. },
  10176. "userid": {
  10177. "description": "用户ID",
  10178. "type": "integer"
  10179. },
  10180. "userinfotype": {
  10181. "description": "用户信息类型 - 1:个人 2:企业",
  10182. "type": "integer"
  10183. },
  10184. "userstatus": {
  10185. "description": "用户状态 - 1:正常 2:注销",
  10186. "type": "integer"
  10187. }
  10188. }
  10189. },
  10190. "erms3.SoptContractDetail": {
  10191. "type": "object",
  10192. "required": [
  10193. "deliverygoodsid",
  10194. "producttype",
  10195. "unitname",
  10196. "warehouseid",
  10197. "wrstandardid",
  10198. "wrstandardname"
  10199. ],
  10200. "properties": {
  10201. "deliverygoodsdesc": {
  10202. "description": "现货品种说明",
  10203. "type": "string"
  10204. },
  10205. "deliverygoodsid": {
  10206. "description": "现货品种ID",
  10207. "type": "integer"
  10208. },
  10209. "deliverygoodsname": {
  10210. "description": "现货品种名称",
  10211. "type": "string"
  10212. },
  10213. "pointdesc": {
  10214. "description": "点价描述",
  10215. "type": "string"
  10216. },
  10217. "producttype": {
  10218. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10219. "type": "integer"
  10220. },
  10221. "producttypename": {
  10222. "description": "产品类型名称",
  10223. "type": "string"
  10224. },
  10225. "spotPointOrderVoList": {
  10226. "description": "点价列表",
  10227. "type": "array",
  10228. "items": {
  10229. "$ref": "#/definitions/erms3.SpotPointOrder"
  10230. }
  10231. },
  10232. "spotPriceOrderList": {
  10233. "description": "定价列表",
  10234. "type": "array",
  10235. "items": {
  10236. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10237. }
  10238. },
  10239. "unitname": {
  10240. "description": "单位名称",
  10241. "type": "string"
  10242. },
  10243. "warehouseid": {
  10244. "description": "仓库ID",
  10245. "type": "integer"
  10246. },
  10247. "warehousename": {
  10248. "description": "仓库名称",
  10249. "type": "string"
  10250. },
  10251. "wrstandardid": {
  10252. "description": "交易标的ID",
  10253. "type": "integer"
  10254. },
  10255. "wrstandardname": {
  10256. "description": "交易标的名称",
  10257. "type": "string"
  10258. }
  10259. }
  10260. },
  10261. "erms3.SpotPointOrder": {
  10262. "type": "object",
  10263. "required": [
  10264. "basic",
  10265. "goodsid",
  10266. "qty"
  10267. ],
  10268. "properties": {
  10269. "basic": {
  10270. "description": "基差",
  10271. "type": "number"
  10272. },
  10273. "deliveryenddate": {
  10274. "description": "交收结束日期",
  10275. "type": "string"
  10276. },
  10277. "deliverystartdate": {
  10278. "description": "交收开始日期",
  10279. "type": "string"
  10280. },
  10281. "enddate": {
  10282. "description": "点价结束日期",
  10283. "type": "string"
  10284. },
  10285. "goodsid": {
  10286. "description": "商品ID",
  10287. "type": "integer"
  10288. },
  10289. "goodsname": {
  10290. "description": "商品名称",
  10291. "type": "string"
  10292. },
  10293. "qty": {
  10294. "description": "数量",
  10295. "type": "number"
  10296. },
  10297. "startdate": {
  10298. "description": "点价开始日期",
  10299. "type": "string"
  10300. }
  10301. }
  10302. },
  10303. "erms3.SpotPriceOrder": {
  10304. "type": "object",
  10305. "required": [
  10306. "amount",
  10307. "price",
  10308. "qty"
  10309. ],
  10310. "properties": {
  10311. "amount": {
  10312. "description": "金额",
  10313. "type": "number"
  10314. },
  10315. "deliveryenddate": {
  10316. "description": "交收结束日期",
  10317. "type": "string"
  10318. },
  10319. "deliverystartdate": {
  10320. "description": "交收开始日期",
  10321. "type": "string"
  10322. },
  10323. "price": {
  10324. "description": "价格",
  10325. "type": "number"
  10326. },
  10327. "qty": {
  10328. "description": "数量",
  10329. "type": "number"
  10330. }
  10331. }
  10332. },
  10333. "hsby.GetHsbyMyCountRsp": {
  10334. "type": "object",
  10335. "properties": {
  10336. "myCouponCount": {
  10337. "description": "我的优惠卷数量",
  10338. "type": "integer"
  10339. },
  10340. "myOrderDetailListingCount": {
  10341. "description": "我的订单求购中数量",
  10342. "type": "integer"
  10343. },
  10344. "myOrderDetailPreCount": {
  10345. "description": "我的订单抢购中数量",
  10346. "type": "integer"
  10347. },
  10348. "myPackageUnReceiveCount": {
  10349. "description": "我的包裹待收货数量",
  10350. "type": "integer"
  10351. },
  10352. "myPackageUnSendCount": {
  10353. "description": "我的包裹待发货数量",
  10354. "type": "integer"
  10355. },
  10356. "myPayOrderCount": {
  10357. "description": "我的订单待付款数量",
  10358. "type": "integer"
  10359. }
  10360. }
  10361. },
  10362. "hsby.QueryProvincesAndCitiesRsp": {
  10363. "type": "object",
  10364. "properties": {
  10365. "cities": {
  10366. "description": "市",
  10367. "type": "array",
  10368. "items": {
  10369. "$ref": "#/definitions/models.Division"
  10370. }
  10371. },
  10372. "province": {
  10373. "description": "省",
  10374. "type": "object",
  10375. "$ref": "#/definitions/models.Division"
  10376. }
  10377. }
  10378. },
  10379. "models.AreaSpotModel": {
  10380. "type": "object",
  10381. "properties": {
  10382. "areauserid": {
  10383. "description": "所属机构",
  10384. "type": "integer"
  10385. },
  10386. "decreaseqty": {
  10387. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10388. "type": "number"
  10389. },
  10390. "increaseqty": {
  10391. "description": "增加数量=销售计划数量+采购已定价数量",
  10392. "type": "number"
  10393. },
  10394. "oritoalspotqty": {
  10395. "description": "昨日数量",
  10396. "type": "number"
  10397. },
  10398. "totalspotqty": {
  10399. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10400. "type": "number"
  10401. },
  10402. "updatetime": {
  10403. "description": "更新时间",
  10404. "type": "string"
  10405. },
  10406. "wrstandardcode": {
  10407. "description": "现货品种代码",
  10408. "type": "string"
  10409. },
  10410. "wrstandardid": {
  10411. "description": "现货商品ID",
  10412. "type": "integer"
  10413. },
  10414. "wrstandardname": {
  10415. "description": "现货品种",
  10416. "type": "string"
  10417. }
  10418. }
  10419. },
  10420. "models.Clientfixedadconfig": {
  10421. "type": "object",
  10422. "required": [
  10423. "adsort",
  10424. "adtype"
  10425. ],
  10426. "properties": {
  10427. "adsort": {
  10428. "description": "排序",
  10429. "type": "integer"
  10430. },
  10431. "adtype": {
  10432. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10433. "type": "integer"
  10434. },
  10435. "areauserid": {
  10436. "description": "所属机构ID",
  10437. "type": "integer"
  10438. },
  10439. "createdate": {
  10440. "description": "创建时间",
  10441. "type": "string"
  10442. },
  10443. "creatorid": {
  10444. "description": "创建人",
  10445. "type": "integer"
  10446. },
  10447. "imagepath": {
  10448. "description": "图片",
  10449. "type": "string"
  10450. },
  10451. "isshow": {
  10452. "description": "是否展示 - 0:不展示 1:展示",
  10453. "type": "integer"
  10454. },
  10455. "modifierid": {
  10456. "description": "操作人",
  10457. "type": "integer"
  10458. },
  10459. "recsize": {
  10460. "description": "推荐尺寸",
  10461. "type": "string"
  10462. },
  10463. "title": {
  10464. "description": "标题",
  10465. "type": "string"
  10466. },
  10467. "updatedate": {
  10468. "description": "更新时间",
  10469. "type": "string"
  10470. },
  10471. "urlcontent": {
  10472. "description": "链接(地址或商品ID)",
  10473. "type": "string"
  10474. },
  10475. "urltype": {
  10476. "description": "链接类型 - 1:直接地址 2:商品ID",
  10477. "type": "integer"
  10478. }
  10479. }
  10480. },
  10481. "models.Division": {
  10482. "type": "object",
  10483. "required": [
  10484. "autoid",
  10485. "divisioncode"
  10486. ],
  10487. "properties": {
  10488. "autoid": {
  10489. "description": "自增ID",
  10490. "type": "integer"
  10491. },
  10492. "divisioncode": {
  10493. "description": "行政代码",
  10494. "type": "string"
  10495. },
  10496. "divisionlevel": {
  10497. "description": "行政级别",
  10498. "type": "string"
  10499. },
  10500. "divisionname": {
  10501. "description": "行政名称",
  10502. "type": "string"
  10503. },
  10504. "modifierid": {
  10505. "description": "修改人",
  10506. "type": "integer"
  10507. },
  10508. "modifytime": {
  10509. "description": "修改时间",
  10510. "type": "string"
  10511. },
  10512. "parentcode": {
  10513. "description": "上级行政代码",
  10514. "type": "string"
  10515. },
  10516. "pathname": {
  10517. "description": "路径名称",
  10518. "type": "string"
  10519. },
  10520. "postcode": {
  10521. "description": "邮政编码",
  10522. "type": "string"
  10523. },
  10524. "separablename": {
  10525. "description": "可拆分的全称",
  10526. "type": "string"
  10527. },
  10528. "shortcode": {
  10529. "description": "地区简码",
  10530. "type": "string"
  10531. }
  10532. }
  10533. },
  10534. "models.Enumdicitem": {
  10535. "type": "object",
  10536. "required": [
  10537. "autoid",
  10538. "enumdiccode",
  10539. "enumdicid",
  10540. "enumitemname"
  10541. ],
  10542. "properties": {
  10543. "autoid": {
  10544. "description": "自增ID",
  10545. "type": "integer"
  10546. },
  10547. "bankmappedvalue": {
  10548. "description": "银行服务对应值",
  10549. "type": "string"
  10550. },
  10551. "enumdiccode": {
  10552. "description": "所属枚举代码",
  10553. "type": "string"
  10554. },
  10555. "enumdicid": {
  10556. "description": "所属枚举ID",
  10557. "type": "integer"
  10558. },
  10559. "enumdicname": {
  10560. "description": "枚举项名称",
  10561. "type": "string"
  10562. },
  10563. "enumitemname": {
  10564. "description": "枚举项值",
  10565. "type": "integer"
  10566. },
  10567. "enumitemstatus": {
  10568. "description": "枚举项状态 - 1.启用 2.不启用",
  10569. "type": "integer"
  10570. },
  10571. "enumitemvalue": {
  10572. "description": "通用值 - [币种通用简写]",
  10573. "type": "string"
  10574. },
  10575. "param1": {
  10576. "description": "参数1[币种:币种小数位]",
  10577. "type": "string"
  10578. },
  10579. "param2": {
  10580. "description": "参数1[币种:币种显示单位]",
  10581. "type": "string"
  10582. },
  10583. "remark": {
  10584. "description": "备注",
  10585. "type": "string"
  10586. }
  10587. }
  10588. },
  10589. "models.ErmcpAreaSpotDetailModel": {
  10590. "type": "object",
  10591. "properties": {
  10592. "contracttype": {
  10593. "description": "合同类型 1-采购 -1-销售",
  10594. "type": "integer"
  10595. },
  10596. "createtime": {
  10597. "description": "创建时间",
  10598. "type": "string"
  10599. },
  10600. "enumdicname": {
  10601. "description": "现货商品单位名称",
  10602. "type": "string"
  10603. },
  10604. "logtype": {
  10605. "description": "记录类型 1-套保 2-现货合同",
  10606. "type": "integer"
  10607. },
  10608. "qty": {
  10609. "description": "数量",
  10610. "type": "number"
  10611. },
  10612. "recordname": {
  10613. "description": "类型名称",
  10614. "type": "string"
  10615. },
  10616. "relatedid": {
  10617. "description": "套保计划ID/现货合同ID",
  10618. "type": "string"
  10619. },
  10620. "relatedno": {
  10621. "description": "编号",
  10622. "type": "string"
  10623. },
  10624. "strtime": {
  10625. "description": "时间",
  10626. "type": "string"
  10627. },
  10628. "wrstandardcode": {
  10629. "description": "现货商品代码",
  10630. "type": "string"
  10631. },
  10632. "wrstandardname": {
  10633. "description": "现货商品名称",
  10634. "type": "string"
  10635. }
  10636. }
  10637. },
  10638. "models.ErmcpAreaStockApply": {
  10639. "type": "object",
  10640. "properties": {
  10641. "applyid": {
  10642. "description": "申请人",
  10643. "type": "integer"
  10644. },
  10645. "applyname": {
  10646. "description": "申请人名称",
  10647. "type": "string"
  10648. },
  10649. "applyremark": {
  10650. "description": "申请备注",
  10651. "type": "string"
  10652. },
  10653. "applysrc": {
  10654. "description": "申请来源 - 1:管理端 2:终端",
  10655. "type": "integer"
  10656. },
  10657. "applystatus": {
  10658. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10659. "type": "integer"
  10660. },
  10661. "applytime": {
  10662. "description": "申请时间",
  10663. "type": "string"
  10664. },
  10665. "auditid": {
  10666. "description": "审核人",
  10667. "type": "integer"
  10668. },
  10669. "auditname": {
  10670. "description": "审核人名称",
  10671. "type": "string"
  10672. },
  10673. "auditremark": {
  10674. "description": "审核备注",
  10675. "type": "string"
  10676. },
  10677. "auditsrc": {
  10678. "description": "审核来源 - 1:管理端 2:终端",
  10679. "type": "integer"
  10680. },
  10681. "audittime": {
  10682. "description": "审核时间",
  10683. "type": "string"
  10684. },
  10685. "audittradedate": {
  10686. "description": "审核交易日(yyyyMMdd)",
  10687. "type": "string"
  10688. },
  10689. "brandname": {
  10690. "description": "品牌名称",
  10691. "type": "string"
  10692. },
  10693. "buyuserid": {
  10694. "description": "采购方userid",
  10695. "type": "integer"
  10696. },
  10697. "buyusername": {
  10698. "description": "采购方名称",
  10699. "type": "string"
  10700. },
  10701. "contractno": {
  10702. "description": "合同编号",
  10703. "type": "string"
  10704. },
  10705. "contractqty": {
  10706. "description": "合同量",
  10707. "type": "number"
  10708. },
  10709. "contracttype": {
  10710. "description": "现货合同类型 - 1:采购 -1:销售",
  10711. "type": "integer"
  10712. },
  10713. "deliverygoodsid": {
  10714. "description": "现货品种ID",
  10715. "type": "integer"
  10716. },
  10717. "enumdicname": {
  10718. "description": "现货商品单位名称",
  10719. "type": "string"
  10720. },
  10721. "inoutapplyid": {
  10722. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  10723. "type": "string"
  10724. },
  10725. "inouttype": {
  10726. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10727. "type": "integer"
  10728. },
  10729. "modelname": {
  10730. "description": "型号名称",
  10731. "type": "string"
  10732. },
  10733. "pricetype": {
  10734. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10735. "type": "integer"
  10736. },
  10737. "qty": {
  10738. "description": "数量",
  10739. "type": "number"
  10740. },
  10741. "selluserid": {
  10742. "description": "销售方userid",
  10743. "type": "integer"
  10744. },
  10745. "sellusername": {
  10746. "description": "销售方名称",
  10747. "type": "string"
  10748. },
  10749. "spotcontractid": {
  10750. "description": "关联现货合同ID [1:采购入库 2:销售出库 ]",
  10751. "type": "string"
  10752. },
  10753. "spotgoodsbrandid": {
  10754. "description": "现货品牌ID",
  10755. "type": "integer"
  10756. },
  10757. "spotgoodsmodelid": {
  10758. "description": "现货型号ID",
  10759. "type": "integer"
  10760. },
  10761. "unitid": {
  10762. "description": "单位id",
  10763. "type": "integer"
  10764. },
  10765. "userid": {
  10766. "description": "机构ID",
  10767. "type": "string"
  10768. },
  10769. "warehousecode": {
  10770. "description": "仓库代码",
  10771. "type": "string"
  10772. },
  10773. "warehouseinfoid": {
  10774. "description": "现货仓库ID",
  10775. "type": "string"
  10776. },
  10777. "warehousename": {
  10778. "description": "仓库名称",
  10779. "type": "string"
  10780. },
  10781. "warehousetype": {
  10782. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10783. "type": "integer"
  10784. },
  10785. "wrstandardcode": {
  10786. "description": "现货商品代码",
  10787. "type": "string"
  10788. },
  10789. "wrstandardid": {
  10790. "description": "现货商品ID",
  10791. "type": "string"
  10792. },
  10793. "wrstandardname": {
  10794. "description": "现货商品名称",
  10795. "type": "string"
  10796. }
  10797. }
  10798. },
  10799. "models.ErmcpAvalidGoodsGroupModel": {
  10800. "type": "object",
  10801. "properties": {
  10802. "goodsgroupid": {
  10803. "description": "期货品种id",
  10804. "type": "integer"
  10805. },
  10806. "goodsgroupname": {
  10807. "description": "期货品种名称",
  10808. "type": "string"
  10809. },
  10810. "goodunitid": {
  10811. "description": "品种单位id",
  10812. "type": "integer"
  10813. },
  10814. "goodunitname": {
  10815. "description": "品种单位名称",
  10816. "type": "string"
  10817. },
  10818. "outergroupcode": {
  10819. "description": "期货品种代码",
  10820. "type": "string"
  10821. }
  10822. }
  10823. },
  10824. "models.ErmcpExposureDetailModel": {
  10825. "type": "object",
  10826. "properties": {
  10827. "areauserid": {
  10828. "description": "机构ID",
  10829. "type": "integer"
  10830. },
  10831. "changeQty": {
  10832. "description": "套保变动量",
  10833. "type": "number"
  10834. },
  10835. "contracttype": {
  10836. "description": "现货合同类型 - 1:采购 -1:销售",
  10837. "type": "integer"
  10838. },
  10839. "convertfactor": {
  10840. "description": "标仓系数",
  10841. "type": "number"
  10842. },
  10843. "convertratio": {
  10844. "description": "套保系数",
  10845. "type": "number"
  10846. },
  10847. "createtime": {
  10848. "description": "时间",
  10849. "type": "string"
  10850. },
  10851. "enumdicname": {
  10852. "description": "现货商品单位名称",
  10853. "type": "string"
  10854. },
  10855. "logtype": {
  10856. "description": "类型 - 1:套保计划 2:现货合同",
  10857. "type": "integer"
  10858. },
  10859. "middlegoodsId": {
  10860. "description": "套保商品id",
  10861. "type": "integer"
  10862. },
  10863. "middlegoodscode": {
  10864. "description": "套保商品代码",
  10865. "type": "string"
  10866. },
  10867. "middlegoodsname": {
  10868. "description": "套保商品名称",
  10869. "type": "string"
  10870. },
  10871. "qty": {
  10872. "description": "数量",
  10873. "type": "number"
  10874. },
  10875. "relateNo": {
  10876. "description": "现货合同/套保计划编号",
  10877. "type": "string"
  10878. },
  10879. "wrstandardcode": {
  10880. "description": "现货商品代码",
  10881. "type": "string"
  10882. },
  10883. "wrstandardid": {
  10884. "description": "现货商品ID",
  10885. "type": "integer"
  10886. },
  10887. "wrstandardname": {
  10888. "description": "现货商品名称",
  10889. "type": "string"
  10890. }
  10891. }
  10892. },
  10893. "models.ErmcpExposurePostion": {
  10894. "type": "object",
  10895. "properties": {
  10896. "agreeunit": {
  10897. "description": "合约单位",
  10898. "type": "string"
  10899. },
  10900. "areauserid": {
  10901. "description": "所属机构id",
  10902. "type": "integer"
  10903. },
  10904. "convertratio": {
  10905. "description": "期货品种系数(折算系数)",
  10906. "type": "number"
  10907. },
  10908. "curqty": {
  10909. "description": "当前持仓",
  10910. "type": "integer"
  10911. },
  10912. "diffhedgeqty": {
  10913. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10914. "type": "number"
  10915. },
  10916. "diffqty": {
  10917. "description": "持仓变动量=当前持仓-昨日持仓",
  10918. "type": "integer"
  10919. },
  10920. "goodscode": {
  10921. "description": "商品代码",
  10922. "type": "string"
  10923. },
  10924. "goodsid": {
  10925. "description": "商品id",
  10926. "type": "integer"
  10927. },
  10928. "goodsname": {
  10929. "description": "商品名称",
  10930. "type": "string"
  10931. },
  10932. "middlegoodsid": {
  10933. "description": "套保商品id",
  10934. "type": "integer"
  10935. },
  10936. "ydqty": {
  10937. "description": "昨日持仓",
  10938. "type": "integer"
  10939. }
  10940. }
  10941. },
  10942. "models.ErmcpGGConvertCfg": {
  10943. "type": "object",
  10944. "properties": {
  10945. "convertratio": {
  10946. "description": "折算系数",
  10947. "type": "number"
  10948. },
  10949. "destgoodsgroupid": {
  10950. "description": "目标品种ID",
  10951. "type": "integer"
  10952. },
  10953. "dstcode": {
  10954. "description": "目录品种代码",
  10955. "type": "string"
  10956. },
  10957. "dstexchangecode": {
  10958. "description": "目标期货交易所",
  10959. "type": "string"
  10960. },
  10961. "dstname": {
  10962. "description": "目标品种名称",
  10963. "type": "string"
  10964. },
  10965. "dstunitid": {
  10966. "description": "目标品种单位ID",
  10967. "type": "integer"
  10968. },
  10969. "dstunitidname": {
  10970. "description": "目标品种单位名称",
  10971. "type": "string"
  10972. },
  10973. "modifytime": {
  10974. "description": "修改时间",
  10975. "type": "string"
  10976. },
  10977. "srccode": {
  10978. "description": "源品种代码",
  10979. "type": "string"
  10980. },
  10981. "srcexchangecode": {
  10982. "description": "源期货交易所",
  10983. "type": "string"
  10984. },
  10985. "srcgoodsgroupid": {
  10986. "description": "源品种ID",
  10987. "type": "integer"
  10988. },
  10989. "srcname": {
  10990. "description": "源品种名称",
  10991. "type": "string"
  10992. },
  10993. "srcunitid": {
  10994. "description": "源品种单位ID",
  10995. "type": "integer"
  10996. },
  10997. "srcunitidname": {
  10998. "description": "源品种单位名称",
  10999. "type": "string"
  11000. }
  11001. }
  11002. },
  11003. "models.ErmcpHedgePlan": {
  11004. "type": "object",
  11005. "properties": {
  11006. "areauserid": {
  11007. "description": "用户ID",
  11008. "type": "integer"
  11009. },
  11010. "audittime": {
  11011. "description": "审核时间",
  11012. "type": "string"
  11013. },
  11014. "contracttype": {
  11015. "description": "计划类型 - 1:采购 -1:销售",
  11016. "type": "integer"
  11017. },
  11018. "convertfactor": {
  11019. "description": "标仓系数",
  11020. "type": "number"
  11021. },
  11022. "createtime": {
  11023. "description": "创建时间",
  11024. "type": "string"
  11025. },
  11026. "deliverygoodsid": {
  11027. "description": "现货品种ID",
  11028. "type": "integer"
  11029. },
  11030. "deliverygoodsname": {
  11031. "description": "现货品种名称",
  11032. "type": "string"
  11033. },
  11034. "enumdicname": {
  11035. "description": "单位名称",
  11036. "type": "string"
  11037. },
  11038. "hedgeplanid": {
  11039. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11040. "type": "string"
  11041. },
  11042. "hedgeplanno": {
  11043. "description": "套保计划编号(名称)",
  11044. "type": "string"
  11045. },
  11046. "hedgeplanstatus": {
  11047. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11048. "type": "integer"
  11049. },
  11050. "planqty": {
  11051. "description": "计划数量",
  11052. "type": "number"
  11053. },
  11054. "plantime": {
  11055. "description": "计划时间",
  11056. "type": "string"
  11057. },
  11058. "producttype": {
  11059. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11060. "type": "integer"
  11061. },
  11062. "remark": {
  11063. "description": "备注",
  11064. "type": "string"
  11065. },
  11066. "spotgoodsdesc": {
  11067. "description": "商品型号",
  11068. "type": "string"
  11069. },
  11070. "unitid": {
  11071. "description": "单位id",
  11072. "type": "integer"
  11073. },
  11074. "updatetime": {
  11075. "description": "更新时间",
  11076. "type": "string"
  11077. },
  11078. "wrstandardid": {
  11079. "description": "现货商品ID",
  11080. "type": "integer"
  11081. },
  11082. "wrstandardname": {
  11083. "description": "现货商品名称",
  11084. "type": "string"
  11085. }
  11086. }
  11087. },
  11088. "models.ErmcpHedgePosition": {
  11089. "type": "object",
  11090. "properties": {
  11091. "accountid": {
  11092. "description": "资金账号[外部母账户]",
  11093. "type": "integer"
  11094. },
  11095. "curbuyposition": {
  11096. "description": "期末买头寸",
  11097. "type": "integer"
  11098. },
  11099. "cursellposition": {
  11100. "description": "期末卖头寸",
  11101. "type": "integer"
  11102. },
  11103. "curtdbuyposition": {
  11104. "description": "期末今日买头寸",
  11105. "type": "integer"
  11106. },
  11107. "curtdsellposition": {
  11108. "description": "期末今日卖头寸",
  11109. "type": "integer"
  11110. },
  11111. "curydbuyposition": {
  11112. "description": "期末上日买头寸",
  11113. "type": "integer"
  11114. },
  11115. "curydsellposition": {
  11116. "description": "期末上日卖头寸",
  11117. "type": "integer"
  11118. },
  11119. "decreaseqty": {
  11120. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11121. "type": "integer"
  11122. },
  11123. "fretdbuyposition": {
  11124. "description": "冻结今日买头寸",
  11125. "type": "integer"
  11126. },
  11127. "fretdsellposition": {
  11128. "description": "冻结今日卖头寸",
  11129. "type": "integer"
  11130. },
  11131. "freydbuyposition": {
  11132. "description": "冻结上日买头寸",
  11133. "type": "integer"
  11134. },
  11135. "freydsellposition": {
  11136. "description": "冻结上日卖头寸",
  11137. "type": "integer"
  11138. },
  11139. "goodscode": {
  11140. "description": "商品代码",
  11141. "type": "string"
  11142. },
  11143. "goodsid": {
  11144. "description": "商品id",
  11145. "type": "integer"
  11146. },
  11147. "goodsname": {
  11148. "description": "商品名称",
  11149. "type": "string"
  11150. },
  11151. "hedgeaccountcode": {
  11152. "description": "对冲账号",
  11153. "type": "string"
  11154. },
  11155. "hedgegoodsid": {
  11156. "description": "对冲合约ID",
  11157. "type": "integer"
  11158. },
  11159. "increaseqty": {
  11160. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11161. "type": "integer"
  11162. },
  11163. "marketid": {
  11164. "description": "市场ID",
  11165. "type": "integer"
  11166. },
  11167. "relateduserid": {
  11168. "description": "关联用户id",
  11169. "type": "integer"
  11170. },
  11171. "totalcurqty": {
  11172. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11173. "type": "integer"
  11174. },
  11175. "totalydqty": {
  11176. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11177. "type": "integer"
  11178. },
  11179. "tradedate": {
  11180. "description": "交易日(yyyyMMdd)",
  11181. "type": "string"
  11182. },
  11183. "ydbuyposition": {
  11184. "description": "期初买头寸",
  11185. "type": "integer"
  11186. },
  11187. "ydsellposition": {
  11188. "description": "期初卖头寸",
  11189. "type": "integer"
  11190. }
  11191. }
  11192. },
  11193. "models.ErmcpHedgePositionDetail": {
  11194. "type": "object",
  11195. "properties": {
  11196. "buyorsell": {
  11197. "description": "买卖方向 0-买 1-卖",
  11198. "type": "integer"
  11199. },
  11200. "channelbuildtype": {
  11201. "description": "开平方向 1-建仓 2-平仓",
  11202. "type": "integer"
  11203. },
  11204. "goodscode": {
  11205. "description": "商品代码",
  11206. "type": "string"
  11207. },
  11208. "goodsname": {
  11209. "description": "商品名称",
  11210. "type": "string"
  11211. },
  11212. "hedgegoodsid": {
  11213. "description": "商品id",
  11214. "type": "integer"
  11215. },
  11216. "tradeqty": {
  11217. "description": "数量(成交数量)",
  11218. "type": "integer"
  11219. },
  11220. "tradetime": {
  11221. "description": "时间(成交时间)",
  11222. "type": "string"
  11223. }
  11224. }
  11225. },
  11226. "models.ErmcpHisExposure": {
  11227. "type": "object",
  11228. "properties": {
  11229. "needhedgeexposoure": {
  11230. "description": "应套保敞口",
  11231. "type": "number"
  11232. },
  11233. "reckondate": {
  11234. "description": "日照时期(yyyyMMdd)",
  11235. "type": "string"
  11236. },
  11237. "totalexposure": {
  11238. "description": "总敞口",
  11239. "type": "number"
  11240. }
  11241. }
  11242. },
  11243. "models.ErmcpHisExposureS": {
  11244. "type": "object",
  11245. "properties": {
  11246. "data": {
  11247. "description": "历史敞口",
  11248. "type": "array",
  11249. "items": {
  11250. "$ref": "#/definitions/models.ErmcpHisExposure"
  11251. }
  11252. },
  11253. "enumdicname": {
  11254. "description": "单位名称",
  11255. "type": "string"
  11256. },
  11257. "middlegoodscode": {
  11258. "description": "套保品种代码",
  11259. "type": "string"
  11260. },
  11261. "middlegoodsid": {
  11262. "description": "套保品种ID",
  11263. "type": "integer"
  11264. },
  11265. "middlegoodsname": {
  11266. "description": "套保品种名称",
  11267. "type": "string"
  11268. }
  11269. }
  11270. },
  11271. "models.ErmcpMiddleGoodsChangeLog": {
  11272. "type": "object",
  11273. "properties": {
  11274. "aftervalue": {
  11275. "description": "变更后",
  11276. "type": "number"
  11277. },
  11278. "applyid": {
  11279. "description": "操作人",
  11280. "type": "integer"
  11281. },
  11282. "applyname": {
  11283. "description": "操作人名称",
  11284. "type": "string"
  11285. },
  11286. "applysrc": {
  11287. "description": "操作来源 - 1:管理端 2:终端",
  11288. "type": "integer"
  11289. },
  11290. "beforevalue": {
  11291. "description": "变更前",
  11292. "type": "number"
  11293. },
  11294. "changelogtype": {
  11295. "description": "变更流水类型 - 1:套保比率变更",
  11296. "type": "integer"
  11297. },
  11298. "handlestatus": {
  11299. "description": "处理状态",
  11300. "type": "integer"
  11301. },
  11302. "logdatetime": {
  11303. "description": "流水日期",
  11304. "type": "string"
  11305. },
  11306. "logid": {
  11307. "description": "流水ID",
  11308. "type": "integer"
  11309. },
  11310. "logremark": {
  11311. "description": "流水备注",
  11312. "type": "string"
  11313. },
  11314. "middlegoodsid": {
  11315. "description": "套保品种ID",
  11316. "type": "integer"
  11317. },
  11318. "tradedate": {
  11319. "description": "交易日(yyyyMMdd)",
  11320. "type": "string"
  11321. },
  11322. "updatetime": {
  11323. "description": "更新时间",
  11324. "type": "string"
  11325. }
  11326. }
  11327. },
  11328. "models.ErmcpMiddleGoodsDetail": {
  11329. "type": "object",
  11330. "properties": {
  11331. "cvList": {
  11332. "description": "期货品种折算列表",
  11333. "type": "array",
  11334. "items": {
  11335. "$ref": "#/definitions/models.GoodsGroupConvert"
  11336. }
  11337. },
  11338. "mg": {
  11339. "description": "套保品种基本信息",
  11340. "type": "object",
  11341. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11342. }
  11343. }
  11344. },
  11345. "models.ErmcpMiddleGoodsModel": {
  11346. "type": "object",
  11347. "properties": {
  11348. "areauserid": {
  11349. "description": "机构用户ID",
  11350. "type": "integer"
  11351. },
  11352. "createtime": {
  11353. "description": "修改时间",
  11354. "type": "string"
  11355. },
  11356. "enumdicname": {
  11357. "description": "单位名称",
  11358. "type": "string"
  11359. },
  11360. "evaluateratio": {
  11361. "description": "估价系数",
  11362. "type": "number"
  11363. },
  11364. "goodsgroupid": {
  11365. "description": "关联期货品种ID",
  11366. "type": "integer"
  11367. },
  11368. "isvalid": {
  11369. "description": "状态 0-无效(停用) 1-有效(正常)",
  11370. "type": "integer"
  11371. },
  11372. "middlegoodscode": {
  11373. "description": "套保品种代码",
  11374. "type": "string"
  11375. },
  11376. "middlegoodsid": {
  11377. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11378. "type": "integer"
  11379. },
  11380. "middlegoodsname": {
  11381. "description": "套保品种名称",
  11382. "type": "string"
  11383. },
  11384. "modifytime": {
  11385. "description": "修改时间",
  11386. "type": "string"
  11387. },
  11388. "needhedgeratio": {
  11389. "description": "套保比率",
  11390. "type": "number"
  11391. },
  11392. "qtydecimalplace": {
  11393. "description": "数量小数位",
  11394. "type": "integer"
  11395. },
  11396. "relatedgoodsid": {
  11397. "description": "关联交易商品ID",
  11398. "type": "integer"
  11399. },
  11400. "relatedgoodstype": {
  11401. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11402. "type": "integer"
  11403. }
  11404. }
  11405. },
  11406. "models.ErmcpModel": {
  11407. "type": "object",
  11408. "properties": {
  11409. "accountname": {
  11410. "description": "账户名称",
  11411. "type": "string"
  11412. },
  11413. "attachment": {
  11414. "description": "附件",
  11415. "type": "string"
  11416. },
  11417. "audittime": {
  11418. "description": "审核时间",
  11419. "type": "string"
  11420. },
  11421. "contracctstatus": {
  11422. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11423. "type": "integer"
  11424. },
  11425. "contractmargin": {
  11426. "description": "合同保证金",
  11427. "type": "number"
  11428. },
  11429. "contractno": {
  11430. "description": "合同编号",
  11431. "type": "string"
  11432. },
  11433. "contracttype": {
  11434. "description": "合同类型 1-采购, -1-销售",
  11435. "type": "integer"
  11436. },
  11437. "convertfactor": {
  11438. "description": "标仓系数",
  11439. "type": "number"
  11440. },
  11441. "createtime": {
  11442. "description": "创建时间",
  11443. "type": "string"
  11444. },
  11445. "daikaiamount": {
  11446. "description": "待开票额",
  11447. "type": "number"
  11448. },
  11449. "deliveryenddate": {
  11450. "description": "交割结束日",
  11451. "type": "string"
  11452. },
  11453. "deliverygoodscode": {
  11454. "description": "现货商品代码",
  11455. "type": "string"
  11456. },
  11457. "deliverygoodsid": {
  11458. "description": "现货商品ID",
  11459. "type": "integer"
  11460. },
  11461. "deliverygoodsname": {
  11462. "description": "现货商品名称",
  11463. "type": "string"
  11464. },
  11465. "deliverystartdate": {
  11466. "description": "交割开始日",
  11467. "type": "string"
  11468. },
  11469. "enddate": {
  11470. "description": "点价结束日",
  11471. "type": "string"
  11472. },
  11473. "enumdicname": {
  11474. "description": "单位名称",
  11475. "type": "string"
  11476. },
  11477. "goodscode": {
  11478. "description": "点价商品代码",
  11479. "type": "string"
  11480. },
  11481. "goodsid": {
  11482. "description": "点价商品ID",
  11483. "type": "integer"
  11484. },
  11485. "goodsname": {
  11486. "description": "点价商品名称",
  11487. "type": "string"
  11488. },
  11489. "invoiceamount": {
  11490. "description": "已开票额",
  11491. "type": "number"
  11492. },
  11493. "loanamount": {
  11494. "description": "贷款总额=已定价额+调整金额",
  11495. "type": "number"
  11496. },
  11497. "margin": {
  11498. "description": "保证金",
  11499. "type": "number"
  11500. },
  11501. "payamount": {
  11502. "description": "已收付额(收款或付款)",
  11503. "type": "number"
  11504. },
  11505. "price": {
  11506. "description": "价格",
  11507. "type": "number"
  11508. },
  11509. "pricedamount": {
  11510. "description": "已定价额",
  11511. "type": "number"
  11512. },
  11513. "pricedavg": {
  11514. "description": "已点均价",
  11515. "type": "number"
  11516. },
  11517. "pricedqty": {
  11518. "description": "已定价量",
  11519. "type": "number"
  11520. },
  11521. "pricemove": {
  11522. "description": "升贴水",
  11523. "type": "number"
  11524. },
  11525. "pricetype": {
  11526. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11527. "type": "integer"
  11528. },
  11529. "producttype": {
  11530. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11531. "type": "integer"
  11532. },
  11533. "qty": {
  11534. "description": "合同量",
  11535. "type": "number"
  11536. },
  11537. "reckonadjustamount": {
  11538. "description": "调整金额",
  11539. "type": "number"
  11540. },
  11541. "reckonedamount": {
  11542. "description": "已收付额(已确定额)",
  11543. "type": "number"
  11544. },
  11545. "reckonotheramount": {
  11546. "description": "其它费用",
  11547. "type": "number"
  11548. },
  11549. "reckonrealqty": {
  11550. "description": "已确定量",
  11551. "type": "number"
  11552. },
  11553. "remark": {
  11554. "description": "备注",
  11555. "type": "string"
  11556. },
  11557. "spotcontractid": {
  11558. "description": "合同ID",
  11559. "type": "string"
  11560. },
  11561. "spotgoodsdesc": {
  11562. "description": "商品型号(商品规格)",
  11563. "type": "string"
  11564. },
  11565. "startdate": {
  11566. "description": "点价开始日",
  11567. "type": "string"
  11568. },
  11569. "totalamount": {
  11570. "description": "合计总额",
  11571. "type": "number"
  11572. },
  11573. "unpayamount": {
  11574. "description": "待支收额(支付或收款)",
  11575. "type": "number"
  11576. },
  11577. "unpricedqty": {
  11578. "description": "未定价量",
  11579. "type": "number"
  11580. },
  11581. "unsureqty": {
  11582. "description": "未确定量",
  11583. "type": "number"
  11584. },
  11585. "userid": {
  11586. "description": "用户ID",
  11587. "type": "integer"
  11588. }
  11589. }
  11590. },
  11591. "models.ErmcpOPLogModel": {
  11592. "type": "object",
  11593. "properties": {
  11594. "aftervalue": {
  11595. "description": "变更后",
  11596. "type": "number"
  11597. },
  11598. "applyid": {
  11599. "description": "操作人ID",
  11600. "type": "string"
  11601. },
  11602. "applyname": {
  11603. "description": "操作人名称",
  11604. "type": "string"
  11605. },
  11606. "beforevalue": {
  11607. "description": "变更前",
  11608. "type": "number"
  11609. },
  11610. "biztype": {
  11611. "description": "业务类型 - 1:套保计划 2:现货合同",
  11612. "type": "integer"
  11613. },
  11614. "contracttype": {
  11615. "description": "现货合同类型 - 1:采购 -1:销售",
  11616. "type": "integer"
  11617. },
  11618. "logvalue": {
  11619. "description": "数值",
  11620. "type": "number"
  11621. },
  11622. "operatelogtype": {
  11623. "description": "操作流水类型",
  11624. "type": "integer"
  11625. },
  11626. "operatelogtypedesc": {
  11627. "description": "操作流水类型名称",
  11628. "type": "string"
  11629. },
  11630. "relatedid": {
  11631. "description": "现货合同ID\\套保计划",
  11632. "type": "string"
  11633. },
  11634. "updatetime": {
  11635. "description": "更新时间",
  11636. "type": "string"
  11637. }
  11638. }
  11639. },
  11640. "models.ErmcpPendingAudit": {
  11641. "type": "object",
  11642. "properties": {
  11643. "businessdjqty": {
  11644. "description": "待审核数量: 点价",
  11645. "type": "integer"
  11646. },
  11647. "businessfpqty": {
  11648. "description": "待审核数量: 发票",
  11649. "type": "integer"
  11650. },
  11651. "businessjsqty": {
  11652. "description": "待审核数量: 结算",
  11653. "type": "integer"
  11654. },
  11655. "businesskxqty": {
  11656. "description": "待审核数量: 款项",
  11657. "type": "integer"
  11658. },
  11659. "hedgeplanqty": {
  11660. "description": "待审核数量: 套保计划",
  11661. "type": "integer"
  11662. },
  11663. "spotcontractqty": {
  11664. "description": "待审核数量: 现货合同",
  11665. "type": "integer"
  11666. },
  11667. "userqty": {
  11668. "description": "待审核数量: 用户",
  11669. "type": "integer"
  11670. }
  11671. }
  11672. },
  11673. "models.ErmcpRealExposureModel": {
  11674. "type": "object",
  11675. "properties": {
  11676. "areaUserID": {
  11677. "description": "所属机构",
  11678. "type": "integer"
  11679. },
  11680. "buyFutureQty": {
  11681. "description": "买入期货数量",
  11682. "type": "number"
  11683. },
  11684. "buyPlanQty": {
  11685. "description": "采购计划数量",
  11686. "type": "number"
  11687. },
  11688. "buyPricedQty": {
  11689. "description": "采购合同已定价数量",
  11690. "type": "number"
  11691. },
  11692. "diffFutuQty": {
  11693. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11694. "type": "number"
  11695. },
  11696. "diffSpotQty": {
  11697. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11698. "type": "number"
  11699. },
  11700. "enumdicname": {
  11701. "description": "单位名称",
  11702. "type": "string"
  11703. },
  11704. "middleGoodsCode": {
  11705. "description": "套保品种代码",
  11706. "type": "string"
  11707. },
  11708. "middleGoodsHedgeRatio": {
  11709. "description": "应套保比例",
  11710. "type": "number"
  11711. },
  11712. "middleGoodsID": {
  11713. "description": "套保品种",
  11714. "type": "integer"
  11715. },
  11716. "middleGoodsName": {
  11717. "description": "套保品种名称",
  11718. "type": "string"
  11719. },
  11720. "needHedgeExposoure": {
  11721. "description": "应套保敞口",
  11722. "type": "number"
  11723. },
  11724. "needHedgeRatio": {
  11725. "description": "应套保敞口比例",
  11726. "type": "number"
  11727. },
  11728. "oriBuyFutureQty": {
  11729. "description": "期初买入期货数量",
  11730. "type": "number"
  11731. },
  11732. "oriBuyPlanQty": {
  11733. "description": "期初采购计划数量",
  11734. "type": "number"
  11735. },
  11736. "oriBuyPricedQty": {
  11737. "description": "期初采购合同已定价数量",
  11738. "type": "number"
  11739. },
  11740. "oriSellFutureQty": {
  11741. "description": "期初卖出期货数量",
  11742. "type": "number"
  11743. },
  11744. "oriSellPlanQty": {
  11745. "description": "期初销售计划数量",
  11746. "type": "number"
  11747. },
  11748. "oriSellPricedQty": {
  11749. "description": "期初销售合同已定价数量",
  11750. "type": "number"
  11751. },
  11752. "oriTotalFutuQty": {
  11753. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11754. "type": "number"
  11755. },
  11756. "oriTotalSpotQty": {
  11757. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11758. "type": "number"
  11759. },
  11760. "sellFutureQty": {
  11761. "description": "卖出期货数量",
  11762. "type": "number"
  11763. },
  11764. "sellPlanQty": {
  11765. "description": "销售计划数量",
  11766. "type": "number"
  11767. },
  11768. "sellPricedQty": {
  11769. "description": "销售合同已定价数量",
  11770. "type": "number"
  11771. },
  11772. "totalExposure": {
  11773. "description": "总敞口",
  11774. "type": "number"
  11775. },
  11776. "totalFutureQty": {
  11777. "description": "期货数量",
  11778. "type": "number"
  11779. },
  11780. "totalHedgeRatio": {
  11781. "description": "敞口比例",
  11782. "type": "number"
  11783. },
  11784. "totalNeedHedgeQty": {
  11785. "description": "期货应套保量",
  11786. "type": "number"
  11787. },
  11788. "totalSpotQty": {
  11789. "description": "现货数量",
  11790. "type": "number"
  11791. }
  11792. }
  11793. },
  11794. "models.ErmcpReportDayExposure": {
  11795. "type": "object",
  11796. "properties": {
  11797. "areauserid": {
  11798. "description": "所属机构",
  11799. "type": "integer"
  11800. },
  11801. "buyfutureqty": {
  11802. "description": "买入期货数量",
  11803. "type": "number"
  11804. },
  11805. "buyplanqty": {
  11806. "description": "采购计划数量",
  11807. "type": "number"
  11808. },
  11809. "buypricedqty": {
  11810. "description": "采购合同已定价数量",
  11811. "type": "number"
  11812. },
  11813. "diffFutuQty": {
  11814. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11815. "type": "number"
  11816. },
  11817. "diffSpotQty": {
  11818. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11819. "type": "number"
  11820. },
  11821. "enumdicname": {
  11822. "description": "单位名称",
  11823. "type": "string"
  11824. },
  11825. "middlegoodscode": {
  11826. "description": "套保品种代码",
  11827. "type": "string"
  11828. },
  11829. "middlegoodshedgeratio": {
  11830. "description": "应套保比例",
  11831. "type": "number"
  11832. },
  11833. "middlegoodsid": {
  11834. "description": "套保品种ID",
  11835. "type": "integer"
  11836. },
  11837. "middlegoodsname": {
  11838. "description": "套保品种名称",
  11839. "type": "string"
  11840. },
  11841. "needhedgeexposoure": {
  11842. "description": "应套保敞口",
  11843. "type": "number"
  11844. },
  11845. "needhedgeratio": {
  11846. "description": "应套保敞口比例",
  11847. "type": "number"
  11848. },
  11849. "oriTotalFutuQty": {
  11850. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11851. "type": "number"
  11852. },
  11853. "oriTotalSpotQty": {
  11854. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11855. "type": "number"
  11856. },
  11857. "oribuyfutureqty": {
  11858. "description": "期初买入期货数量",
  11859. "type": "number"
  11860. },
  11861. "oribuyplanqty": {
  11862. "description": "期初采购计划数量",
  11863. "type": "number"
  11864. },
  11865. "oribuypricedqty": {
  11866. "description": "期初采购合同已定价数量",
  11867. "type": "number"
  11868. },
  11869. "orisellfutureqty": {
  11870. "description": "期初卖出期货数量",
  11871. "type": "number"
  11872. },
  11873. "orisellplanqty": {
  11874. "description": "期初销售计划数量",
  11875. "type": "number"
  11876. },
  11877. "orisellpricedqty": {
  11878. "description": "期初销售合同已定价数量",
  11879. "type": "number"
  11880. },
  11881. "reckondate": {
  11882. "description": "日照时期(yyyyMMdd)",
  11883. "type": "string"
  11884. },
  11885. "sellfutureqty": {
  11886. "description": "卖出期货数量",
  11887. "type": "number"
  11888. },
  11889. "sellplanqty": {
  11890. "description": "销售计划数量",
  11891. "type": "number"
  11892. },
  11893. "sellpricedqty": {
  11894. "description": "销售合同已定价数量",
  11895. "type": "number"
  11896. },
  11897. "totalexposure": {
  11898. "description": "总敞口",
  11899. "type": "number"
  11900. },
  11901. "totalfutureqty": {
  11902. "description": "期货数量",
  11903. "type": "number"
  11904. },
  11905. "totalhedgeratio": {
  11906. "description": "敞口比例",
  11907. "type": "number"
  11908. },
  11909. "totalneedhedgeqty": {
  11910. "description": "期货应套保量",
  11911. "type": "number"
  11912. },
  11913. "totalspotqty": {
  11914. "description": "现货数量",
  11915. "type": "number"
  11916. }
  11917. }
  11918. },
  11919. "models.ErmcpReportDayFR": {
  11920. "type": "object",
  11921. "properties": {
  11922. "areauserid": {
  11923. "description": "所属机构",
  11924. "type": "integer"
  11925. },
  11926. "collectinvoiceamount": {
  11927. "description": "今日开票金额",
  11928. "type": "number"
  11929. },
  11930. "collectinvoicecount": {
  11931. "description": "今日开票笔数",
  11932. "type": "integer"
  11933. },
  11934. "collectmoneyamount": {
  11935. "description": "今日收款金额",
  11936. "type": "number"
  11937. },
  11938. "collectmoneycount": {
  11939. "description": "今日收款笔数",
  11940. "type": "integer"
  11941. },
  11942. "payinvoiceamount": {
  11943. "description": "今日收票金额",
  11944. "type": "number"
  11945. },
  11946. "payinvoicecount": {
  11947. "description": "今日收票笔数",
  11948. "type": "integer"
  11949. },
  11950. "paymoneyamount": {
  11951. "description": "今日付款金额",
  11952. "type": "number"
  11953. },
  11954. "paymoneycount": {
  11955. "description": "今日付款笔数",
  11956. "type": "integer"
  11957. },
  11958. "reckondate": {
  11959. "description": "日照时期(yyyyMMdd)",
  11960. "type": "string"
  11961. },
  11962. "updatetime": {
  11963. "description": "更新时间",
  11964. "type": "string"
  11965. }
  11966. }
  11967. },
  11968. "models.ErmcpReportDaySpot": {
  11969. "type": "object",
  11970. "properties": {
  11971. "areauserid": {
  11972. "description": "所属机构T",
  11973. "type": "integer"
  11974. },
  11975. "enumdicname": {
  11976. "description": "现货商品单位名称",
  11977. "type": "string"
  11978. },
  11979. "reckondate": {
  11980. "description": "日照时期(yyyyMMdd)",
  11981. "type": "string"
  11982. },
  11983. "todaybuyreckonqty": {
  11984. "description": "采购确定量",
  11985. "type": "number"
  11986. },
  11987. "todaysellreckonqty": {
  11988. "description": "销售确定量",
  11989. "type": "number"
  11990. },
  11991. "totalbuypricedqty": {
  11992. "description": "采购定价量 = 期末 - 期初",
  11993. "type": "number"
  11994. },
  11995. "totalsellpricedqty": {
  11996. "description": "销售定价量 = 期末 - 期初",
  11997. "type": "number"
  11998. },
  11999. "wrstandardcode": {
  12000. "description": "现货商品代码",
  12001. "type": "string"
  12002. },
  12003. "wrstandardid": {
  12004. "description": "现货商品ID",
  12005. "type": "integer"
  12006. },
  12007. "wrstandardname": {
  12008. "description": "现货商品名称",
  12009. "type": "string"
  12010. }
  12011. }
  12012. },
  12013. "models.ErmcpReportMonSpot": {
  12014. "type": "object",
  12015. "properties": {
  12016. "areauserid": {
  12017. "description": "所属机构T",
  12018. "type": "integer"
  12019. },
  12020. "cycletime": {
  12021. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12022. "type": "string"
  12023. },
  12024. "cycletype": {
  12025. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12026. "type": "integer"
  12027. },
  12028. "enumdicname": {
  12029. "description": "现货商品单位名称",
  12030. "type": "string"
  12031. },
  12032. "todaybuyreckonqty": {
  12033. "description": "采购确定量",
  12034. "type": "number"
  12035. },
  12036. "todaysellreckonqty": {
  12037. "description": "销售确定量",
  12038. "type": "number"
  12039. },
  12040. "totalbuypricedqty": {
  12041. "description": "采购定价量 = 期末 - 期初",
  12042. "type": "number"
  12043. },
  12044. "totalsellpricedqty": {
  12045. "description": "销售定价量 = 期末 - 期初",
  12046. "type": "number"
  12047. },
  12048. "wrstandardcode": {
  12049. "description": "现货商品代码",
  12050. "type": "string"
  12051. },
  12052. "wrstandardid": {
  12053. "description": "现货商品ID",
  12054. "type": "integer"
  12055. },
  12056. "wrstandardname": {
  12057. "description": "现货商品名称",
  12058. "type": "string"
  12059. }
  12060. }
  12061. },
  12062. "models.ErmcpReportMonthFR": {
  12063. "type": "object",
  12064. "properties": {
  12065. "areauserid": {
  12066. "description": "所属机构【原值】",
  12067. "type": "integer"
  12068. },
  12069. "collectinvoiceamount": {
  12070. "description": "今日开票金额【汇总】",
  12071. "type": "number"
  12072. },
  12073. "collectinvoicecount": {
  12074. "description": "今日开票笔数【汇总】",
  12075. "type": "integer"
  12076. },
  12077. "collectmoneyamount": {
  12078. "description": "今日收款金额【汇总】",
  12079. "type": "number"
  12080. },
  12081. "collectmoneycount": {
  12082. "description": "今日收款笔数 【汇总】",
  12083. "type": "integer"
  12084. },
  12085. "cycletime": {
  12086. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12087. "type": "string"
  12088. },
  12089. "cycletype": {
  12090. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12091. "type": "integer"
  12092. },
  12093. "dayFr": {
  12094. "description": "日报表明细",
  12095. "type": "array",
  12096. "items": {
  12097. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12098. }
  12099. },
  12100. "payinvoiceamount": {
  12101. "description": "今日收票金额【汇总】",
  12102. "type": "number"
  12103. },
  12104. "payinvoicecount": {
  12105. "description": "今日收票笔数【汇总】",
  12106. "type": "integer"
  12107. },
  12108. "paymoneyamount": {
  12109. "description": "今日付款金额【汇总】",
  12110. "type": "number"
  12111. },
  12112. "paymoneycount": {
  12113. "description": "今日付款笔数【汇总】",
  12114. "type": "integer"
  12115. },
  12116. "updatetime": {
  12117. "description": "更新时间",
  12118. "type": "string"
  12119. }
  12120. }
  12121. },
  12122. "models.ErmcpReportOPLog": {
  12123. "type": "object",
  12124. "properties": {
  12125. "applyid": {
  12126. "description": "操作人",
  12127. "type": "integer"
  12128. },
  12129. "applyname": {
  12130. "description": "操作人名称",
  12131. "type": "string"
  12132. },
  12133. "biztype": {
  12134. "description": "业务类型 - 1:套保计划 2:现货合同",
  12135. "type": "integer"
  12136. },
  12137. "contracttype": {
  12138. "description": "现货合同类型 - 1:采购 -1:销售",
  12139. "type": "integer"
  12140. },
  12141. "enumdicName": {
  12142. "description": "单位名称",
  12143. "type": "string"
  12144. },
  12145. "logdatetime": {
  12146. "description": "流水日期(时间)",
  12147. "type": "string"
  12148. },
  12149. "logid": {
  12150. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12151. "type": "string"
  12152. },
  12153. "logtypename": {
  12154. "description": "合同类型(名称)",
  12155. "type": "string"
  12156. },
  12157. "logvalue": {
  12158. "description": "数值",
  12159. "type": "string"
  12160. },
  12161. "operatelogtype": {
  12162. "description": "操作流水类型 -",
  12163. "type": "integer"
  12164. },
  12165. "optypename": {
  12166. "description": "流水类型名称",
  12167. "type": "string"
  12168. },
  12169. "relatedid": {
  12170. "description": "现货合同ID\\套保计划",
  12171. "type": "string"
  12172. },
  12173. "relatedno": {
  12174. "description": "合同编号",
  12175. "type": "string"
  12176. },
  12177. "tradedate": {
  12178. "description": "交易日(yyyyMMdd)",
  12179. "type": "string"
  12180. },
  12181. "userid": {
  12182. "description": "机构ID",
  12183. "type": "integer"
  12184. },
  12185. "wrstandardcode": {
  12186. "description": "现货商品代码",
  12187. "type": "string"
  12188. },
  12189. "wrstandardid": {
  12190. "description": "现货商品ID",
  12191. "type": "integer"
  12192. },
  12193. "wrstandardname": {
  12194. "description": "现货商品名称",
  12195. "type": "string"
  12196. }
  12197. }
  12198. },
  12199. "models.ErmcpSpotContractModel": {
  12200. "type": "object",
  12201. "properties": {
  12202. "amount": {
  12203. "description": "金额 [1:一口价、3:暂定价]",
  12204. "type": "number"
  12205. },
  12206. "attachment": {
  12207. "description": "附件",
  12208. "type": "string"
  12209. },
  12210. "auditremark": {
  12211. "description": "审核意见",
  12212. "type": "string"
  12213. },
  12214. "audittime": {
  12215. "description": "审核时间",
  12216. "type": "string"
  12217. },
  12218. "brandname": {
  12219. "description": "品牌名称",
  12220. "type": "string"
  12221. },
  12222. "buyuserid": {
  12223. "description": "采购方ID",
  12224. "type": "integer"
  12225. },
  12226. "buyusername": {
  12227. "description": "采购方名称",
  12228. "type": "string"
  12229. },
  12230. "contracctstatus": {
  12231. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12232. "type": "integer"
  12233. },
  12234. "contractmargin": {
  12235. "description": "合同保证金",
  12236. "type": "number"
  12237. },
  12238. "contractno": {
  12239. "description": "现货合同编号",
  12240. "type": "string"
  12241. },
  12242. "contracttype": {
  12243. "description": "现货合同类型 - 1:采购 -1:销售",
  12244. "type": "integer"
  12245. },
  12246. "convertfactor": {
  12247. "description": "标仓系数",
  12248. "type": "number"
  12249. },
  12250. "createtime": {
  12251. "description": "创建时间",
  12252. "type": "string"
  12253. },
  12254. "deliveryenddate": {
  12255. "description": "交收期(结束)",
  12256. "type": "string"
  12257. },
  12258. "deliverygoodscode": {
  12259. "description": "现货品种代码",
  12260. "type": "string"
  12261. },
  12262. "deliverygoodsid": {
  12263. "description": "现货品种ID",
  12264. "type": "integer"
  12265. },
  12266. "deliverygoodsname": {
  12267. "description": "现货品种名称",
  12268. "type": "string"
  12269. },
  12270. "deliverystartdate": {
  12271. "description": "交收期(开始)",
  12272. "type": "string"
  12273. },
  12274. "enddate": {
  12275. "description": "点价结束日期 [2:点价 3:暂定价]",
  12276. "type": "string"
  12277. },
  12278. "enumdicname": {
  12279. "description": "单位名称",
  12280. "type": "string"
  12281. },
  12282. "goodscode": {
  12283. "description": "点价合约代码",
  12284. "type": "string"
  12285. },
  12286. "goodsid": {
  12287. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12288. "type": "integer"
  12289. },
  12290. "goodsname": {
  12291. "description": "点价商品名称",
  12292. "type": "string"
  12293. },
  12294. "margin": {
  12295. "description": "当前保证金",
  12296. "type": "number"
  12297. },
  12298. "modelname": {
  12299. "description": "型号名称",
  12300. "type": "string"
  12301. },
  12302. "price": {
  12303. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12304. "type": "number"
  12305. },
  12306. "pricemove": {
  12307. "description": "升贴水 [2:点价 3:暂定价]",
  12308. "type": "number"
  12309. },
  12310. "pricetype": {
  12311. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12312. "type": "integer"
  12313. },
  12314. "producttype": {
  12315. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12316. "type": "integer"
  12317. },
  12318. "qty": {
  12319. "description": "数量",
  12320. "type": "number"
  12321. },
  12322. "remark": {
  12323. "description": "备注",
  12324. "type": "string"
  12325. },
  12326. "selluserid": {
  12327. "description": "销售方ID",
  12328. "type": "integer"
  12329. },
  12330. "sellusername": {
  12331. "description": "销售方名称",
  12332. "type": "string"
  12333. },
  12334. "spotcontractid": {
  12335. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12336. "type": "string"
  12337. },
  12338. "spotgoodsbrandid": {
  12339. "description": "现货品牌ID",
  12340. "type": "integer"
  12341. },
  12342. "spotgoodsdesc": {
  12343. "description": "商品型号",
  12344. "type": "string"
  12345. },
  12346. "spotgoodsmodelid": {
  12347. "description": "现货型号ID",
  12348. "type": "integer"
  12349. },
  12350. "startdate": {
  12351. "description": "点价开始日期 [2:点价 3:暂定价]",
  12352. "type": "string"
  12353. },
  12354. "updatetime": {
  12355. "description": "更新时间",
  12356. "type": "string"
  12357. },
  12358. "userid": {
  12359. "description": "机构ID",
  12360. "type": "integer"
  12361. },
  12362. "wrstandardid": {
  12363. "description": "现货商品ID",
  12364. "type": "integer"
  12365. }
  12366. }
  12367. },
  12368. "models.ErmcpUserModel": {
  12369. "type": "object",
  12370. "properties": {
  12371. "address": {
  12372. "description": "通讯地址",
  12373. "type": "string"
  12374. },
  12375. "attachment1": {
  12376. "description": "附件1",
  12377. "type": "string"
  12378. },
  12379. "audittime": {
  12380. "description": "审核时间",
  12381. "type": "string"
  12382. },
  12383. "cardfrontphotourl": {
  12384. "description": "证件正面图片地址",
  12385. "type": "string"
  12386. },
  12387. "cardnum": {
  12388. "description": "证件号码",
  12389. "type": "string"
  12390. },
  12391. "cardtype": {
  12392. "description": "证件类型",
  12393. "type": "integer"
  12394. },
  12395. "cardtypename": {
  12396. "description": "证件类型名称",
  12397. "type": "string"
  12398. },
  12399. "cityid": {
  12400. "description": "市",
  12401. "type": "integer"
  12402. },
  12403. "countryid": {
  12404. "description": "国家",
  12405. "type": "integer"
  12406. },
  12407. "createtime": {
  12408. "description": "创建时间",
  12409. "type": "string"
  12410. },
  12411. "customername": {
  12412. "description": "企业名称",
  12413. "type": "string"
  12414. },
  12415. "memberuserid": {
  12416. "description": "所属机构ID",
  12417. "type": "integer"
  12418. },
  12419. "mobile": {
  12420. "description": "手机号码",
  12421. "type": "string"
  12422. },
  12423. "modifytime": {
  12424. "description": "修改时间",
  12425. "type": "string"
  12426. },
  12427. "provinceid": {
  12428. "description": "省",
  12429. "type": "integer"
  12430. },
  12431. "remark": {
  12432. "description": "备注",
  12433. "type": "string"
  12434. },
  12435. "status": {
  12436. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12437. "type": "integer"
  12438. },
  12439. "statusdesc": {
  12440. "description": "账户状态中文描述",
  12441. "type": "string"
  12442. },
  12443. "telphone": {
  12444. "description": "联系电话",
  12445. "type": "string"
  12446. },
  12447. "userid": {
  12448. "description": "用户ID",
  12449. "type": "integer"
  12450. },
  12451. "userinfotype": {
  12452. "description": "客户类型",
  12453. "type": "string"
  12454. }
  12455. }
  12456. },
  12457. "models.ErmcpWareHouseInfo": {
  12458. "type": "object",
  12459. "properties": {
  12460. "address": {
  12461. "description": "详细地址",
  12462. "type": "string"
  12463. },
  12464. "areauserid": {
  12465. "description": "所属机构",
  12466. "type": "integer"
  12467. },
  12468. "autoid": {
  12469. "description": "自增ID(仓库ID)",
  12470. "type": "integer"
  12471. },
  12472. "cityid": {
  12473. "description": "市",
  12474. "type": "integer"
  12475. },
  12476. "contactname": {
  12477. "description": "联系人",
  12478. "type": "string"
  12479. },
  12480. "contactnum": {
  12481. "description": "联系电话",
  12482. "type": "string"
  12483. },
  12484. "countryid": {
  12485. "description": "国家",
  12486. "type": "integer"
  12487. },
  12488. "createtime": {
  12489. "description": "创建时间",
  12490. "type": "string"
  12491. },
  12492. "districtid": {
  12493. "description": "区",
  12494. "type": "integer"
  12495. },
  12496. "hasvideo": {
  12497. "description": "是否有视频 - 0:无 1:有",
  12498. "type": "integer"
  12499. },
  12500. "provinceid": {
  12501. "description": "省",
  12502. "type": "integer"
  12503. },
  12504. "remark": {
  12505. "description": "审核备注",
  12506. "type": "string"
  12507. },
  12508. "videourl": {
  12509. "description": "视频地址",
  12510. "type": "string"
  12511. },
  12512. "warehousecode": {
  12513. "description": "仓库代码",
  12514. "type": "string"
  12515. },
  12516. "warehousename": {
  12517. "description": "仓库名称",
  12518. "type": "string"
  12519. },
  12520. "warehousestatus": {
  12521. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12522. "type": "integer"
  12523. },
  12524. "warehousetype": {
  12525. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12526. "type": "integer"
  12527. }
  12528. }
  12529. },
  12530. "models.ErmcpWrstandDetail": {
  12531. "type": "object",
  12532. "properties": {
  12533. "gbList": {
  12534. "description": "品牌列表",
  12535. "type": "array",
  12536. "items": {
  12537. "$ref": "#/definitions/models.GoodsBrand"
  12538. }
  12539. },
  12540. "goodsList": {
  12541. "description": "关联交易商品列表",
  12542. "type": "array",
  12543. "items": {
  12544. "$ref": "#/definitions/models.RelatedGoodsEx"
  12545. }
  12546. },
  12547. "gtList": {
  12548. "description": "型号列表",
  12549. "type": "array",
  12550. "items": {
  12551. "$ref": "#/definitions/models.GoodsTypeModel"
  12552. }
  12553. },
  12554. "wrd": {
  12555. "description": "基本信息",
  12556. "type": "object",
  12557. "$ref": "#/definitions/models.ErmcpWrstandard"
  12558. },
  12559. "wrsList": {
  12560. "description": "套保信息列表",
  12561. "type": "array",
  12562. "items": {
  12563. "$ref": "#/definitions/models.WRSConverTDetail"
  12564. }
  12565. }
  12566. }
  12567. },
  12568. "models.ErmcpWrstandard": {
  12569. "type": "object",
  12570. "properties": {
  12571. "areauserid": {
  12572. "description": "所属机构",
  12573. "type": "integer"
  12574. },
  12575. "createtime": {
  12576. "description": "创建时间",
  12577. "type": "string"
  12578. },
  12579. "creatorid": {
  12580. "description": "创建人",
  12581. "type": "integer"
  12582. },
  12583. "deliverygoodsid": {
  12584. "description": "品种ID",
  12585. "type": "integer"
  12586. },
  12587. "enumdicname": {
  12588. "description": "单位名称",
  12589. "type": "string"
  12590. },
  12591. "isvalid": {
  12592. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12593. "type": "integer"
  12594. },
  12595. "minivalue": {
  12596. "description": "最小变动值",
  12597. "type": "integer"
  12598. },
  12599. "minivaluedp": {
  12600. "description": "最小变动值小数位",
  12601. "type": "integer"
  12602. },
  12603. "realminivalue": {
  12604. "description": "实际最小变动值",
  12605. "type": "integer"
  12606. },
  12607. "realminivaluedp": {
  12608. "description": "实际最小变动值小数位",
  12609. "type": "integer"
  12610. },
  12611. "remark": {
  12612. "description": "备注",
  12613. "type": "string"
  12614. },
  12615. "unitid": {
  12616. "description": "单位ID",
  12617. "type": "integer"
  12618. },
  12619. "updatetime": {
  12620. "description": "更新时间",
  12621. "type": "string"
  12622. },
  12623. "wrstandardcode": {
  12624. "description": "现货商品代码",
  12625. "type": "string"
  12626. },
  12627. "wrstandardid": {
  12628. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12629. "type": "integer"
  12630. },
  12631. "wrstandardname": {
  12632. "description": "现货商品名称",
  12633. "type": "string"
  12634. }
  12635. }
  12636. },
  12637. "models.Externalexchange": {
  12638. "type": "object",
  12639. "required": [
  12640. "autoid"
  12641. ],
  12642. "properties": {
  12643. "autoid": {
  12644. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12645. "type": "integer"
  12646. },
  12647. "exchangefullname": {
  12648. "description": "外部交易所全称",
  12649. "type": "string"
  12650. },
  12651. "exexchangecode": {
  12652. "description": "外部交易所代码",
  12653. "type": "string"
  12654. },
  12655. "exexchangename": {
  12656. "description": "外部交易所名称(简称)",
  12657. "type": "string"
  12658. },
  12659. "ismarketprice": {
  12660. "description": "是否支持市价 - 0:不支持 1:支持",
  12661. "type": "integer"
  12662. },
  12663. "quotegear": {
  12664. "description": "行情档位(1-10)",
  12665. "type": "integer"
  12666. },
  12667. "showbrokerflag": {
  12668. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12669. "type": "integer"
  12670. },
  12671. "updatetime": {
  12672. "description": "更新时间",
  12673. "type": "string"
  12674. }
  12675. }
  12676. },
  12677. "models.Funcmenulist": {
  12678. "type": "object",
  12679. "required": [
  12680. "resourcecode"
  12681. ],
  12682. "properties": {
  12683. "iconame": {
  12684. "description": "菜单图标",
  12685. "type": "string"
  12686. },
  12687. "menutype": {
  12688. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  12689. "type": "integer"
  12690. },
  12691. "parentcode": {
  12692. "description": "上级资源代码",
  12693. "type": "string"
  12694. },
  12695. "remark": {
  12696. "description": "备注",
  12697. "type": "string"
  12698. },
  12699. "resourcecode": {
  12700. "description": "资源代码",
  12701. "type": "string"
  12702. },
  12703. "resourcelevel": {
  12704. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  12705. "type": "integer"
  12706. },
  12707. "resourcename": {
  12708. "description": "资源名",
  12709. "type": "string"
  12710. },
  12711. "sort": {
  12712. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  12713. "type": "integer"
  12714. },
  12715. "url": {
  12716. "description": "URL",
  12717. "type": "string"
  12718. }
  12719. }
  12720. },
  12721. "models.Goods": {
  12722. "type": "object",
  12723. "required": [
  12724. "goodscode",
  12725. "goodsid",
  12726. "goodsname",
  12727. "marketid"
  12728. ],
  12729. "properties": {
  12730. "agreeunit": {
  12731. "description": "合约单位",
  12732. "type": "number"
  12733. },
  12734. "auditaccountid": {
  12735. "description": "审核操作员账号",
  12736. "type": "integer"
  12737. },
  12738. "audittime": {
  12739. "description": "审核时间",
  12740. "type": "string"
  12741. },
  12742. "cancelaccountid": {
  12743. "description": "注销操作员账号",
  12744. "type": "integer"
  12745. },
  12746. "canceltime": {
  12747. "description": "注销时间",
  12748. "type": "string"
  12749. },
  12750. "closepricemode": {
  12751. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12752. "type": "integer"
  12753. },
  12754. "closepriceparam": {
  12755. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12756. "type": "number"
  12757. },
  12758. "createtime": {
  12759. "description": "创建时间",
  12760. "type": "string"
  12761. },
  12762. "creatorid": {
  12763. "description": "创建人",
  12764. "type": "integer"
  12765. },
  12766. "currencyid": {
  12767. "description": "报价货币ID",
  12768. "type": "integer"
  12769. },
  12770. "cutmode": {
  12771. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12772. "type": "integer"
  12773. },
  12774. "decimalplace": {
  12775. "description": "报价小数位",
  12776. "type": "integer"
  12777. },
  12778. "delistingdate": {
  12779. "description": "商品退市时间(状态:退市) -- 已作废",
  12780. "type": "string"
  12781. },
  12782. "delistingmode": {
  12783. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12784. "type": "integer"
  12785. },
  12786. "deliveryflag": {
  12787. "description": "交割标志 - 0:不可交割 1:可交割",
  12788. "type": "integer"
  12789. },
  12790. "forceclosemode": {
  12791. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12792. "type": "integer"
  12793. },
  12794. "forceclosevalue": {
  12795. "description": "定期强平参数 [收益权]",
  12796. "type": "integer"
  12797. },
  12798. "goodscode": {
  12799. "description": "商品代码(内部)",
  12800. "type": "string"
  12801. },
  12802. "goodscurrencyid": {
  12803. "description": "合约货币ID",
  12804. "type": "integer"
  12805. },
  12806. "goodsgroupid": {
  12807. "description": "所属商品组ID",
  12808. "type": "integer"
  12809. },
  12810. "goodsid": {
  12811. "description": "商品ID(自增ID SEQ_GOODS)",
  12812. "type": "integer"
  12813. },
  12814. "goodsname": {
  12815. "description": "商品名称",
  12816. "type": "string"
  12817. },
  12818. "goodsquotetype": {
  12819. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12820. "type": "integer"
  12821. },
  12822. "goodsstatus": {
  12823. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12824. "type": "integer"
  12825. },
  12826. "goodstradetype": {
  12827. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12828. "type": "integer"
  12829. },
  12830. "goodunitid": {
  12831. "description": "报价单位ID",
  12832. "type": "integer"
  12833. },
  12834. "hasquoter": {
  12835. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12836. "type": "integer"
  12837. },
  12838. "hqprotecttime": {
  12839. "description": "行情保护时间(秒)",
  12840. "type": "integer"
  12841. },
  12842. "innerdealmode": {
  12843. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12844. "type": "integer"
  12845. },
  12846. "isbuylimited": {
  12847. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12848. "type": "integer"
  12849. },
  12850. "lasttradedate": {
  12851. "description": "最后交易日期(状态:待退市)",
  12852. "type": "string"
  12853. },
  12854. "listingdate": {
  12855. "description": "交易开始日期",
  12856. "type": "string"
  12857. },
  12858. "marketid": {
  12859. "description": "所属市场ID",
  12860. "type": "integer"
  12861. },
  12862. "modifierid": {
  12863. "description": "修改人",
  12864. "type": "integer"
  12865. },
  12866. "modifystatus": {
  12867. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12868. "type": "integer"
  12869. },
  12870. "modifytime": {
  12871. "description": "修改时间",
  12872. "type": "string"
  12873. },
  12874. "outerdealmode": {
  12875. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12876. "type": "integer"
  12877. },
  12878. "outgoodscode": {
  12879. "description": "商品代码(外部)",
  12880. "type": "string"
  12881. },
  12882. "qtydecimalplace": {
  12883. "description": "成交量小数位",
  12884. "type": "integer"
  12885. },
  12886. "quotegear": {
  12887. "description": "行情档位(1-10)",
  12888. "type": "integer"
  12889. },
  12890. "quoteminunit": {
  12891. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12892. "type": "integer"
  12893. },
  12894. "quoteshowtype": {
  12895. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12896. "type": "integer"
  12897. },
  12898. "quoteshowtypeinterval": {
  12899. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12900. "type": "integer"
  12901. },
  12902. "remark": {
  12903. "description": "备注",
  12904. "type": "string"
  12905. }
  12906. }
  12907. },
  12908. "models.GoodsBrand": {
  12909. "type": "object",
  12910. "properties": {
  12911. "brandid": {
  12912. "description": "品牌ID",
  12913. "type": "integer"
  12914. },
  12915. "brandname": {
  12916. "description": "品牌名称",
  12917. "type": "string"
  12918. },
  12919. "isvalid": {
  12920. "description": "是否有效 - 0:无效 1:有效",
  12921. "type": "integer"
  12922. }
  12923. }
  12924. },
  12925. "models.GoodsGroupConvert": {
  12926. "type": "object",
  12927. "properties": {
  12928. "convertratio": {
  12929. "description": "折算系数",
  12930. "type": "number"
  12931. },
  12932. "dstgoodsgroupid": {
  12933. "description": "目标期货品种ID",
  12934. "type": "integer"
  12935. },
  12936. "goodsgroupname": {
  12937. "description": "期货品种名称",
  12938. "type": "string"
  12939. },
  12940. "outergroupcode": {
  12941. "description": "期货品种代码",
  12942. "type": "string"
  12943. },
  12944. "srcgoodsgroupid": {
  12945. "description": "源期货品种ID",
  12946. "type": "integer"
  12947. }
  12948. }
  12949. },
  12950. "models.GoodsIDAndName": {
  12951. "type": "object",
  12952. "required": [
  12953. "goodscode",
  12954. "goodsid",
  12955. "goodsname",
  12956. "marketid"
  12957. ],
  12958. "properties": {
  12959. "goodscode": {
  12960. "description": "商品代码(内部)",
  12961. "type": "string"
  12962. },
  12963. "goodsid": {
  12964. "description": "商品ID(自增ID SEQ_GOODS)",
  12965. "type": "integer"
  12966. },
  12967. "goodsname": {
  12968. "description": "商品名称",
  12969. "type": "string"
  12970. },
  12971. "marketid": {
  12972. "description": "所属市场ID",
  12973. "type": "integer"
  12974. }
  12975. }
  12976. },
  12977. "models.GoodsTypeModel": {
  12978. "type": "object",
  12979. "properties": {
  12980. "modelid": {
  12981. "description": "型号ID",
  12982. "type": "integer"
  12983. },
  12984. "modelname": {
  12985. "description": "型号名称",
  12986. "type": "string"
  12987. },
  12988. "updatetime": {
  12989. "description": "更新时间",
  12990. "type": "string"
  12991. }
  12992. }
  12993. },
  12994. "models.Goodsgroup": {
  12995. "type": "object",
  12996. "required": [
  12997. "goodsgroupid",
  12998. "goodsgroupname",
  12999. "goodsgroupstatus",
  13000. "marketid"
  13001. ],
  13002. "properties": {
  13003. "agreeunit": {
  13004. "description": "合约单位",
  13005. "type": "number"
  13006. },
  13007. "canshort": {
  13008. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13009. "type": "integer"
  13010. },
  13011. "closepricemode": {
  13012. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13013. "type": "integer"
  13014. },
  13015. "closepriceparam": {
  13016. "description": "强平最新价浮动比例 - 方式为2时使用",
  13017. "type": "number"
  13018. },
  13019. "createtime": {
  13020. "description": "创建时间",
  13021. "type": "string"
  13022. },
  13023. "creatorid": {
  13024. "description": "创建人",
  13025. "type": "integer"
  13026. },
  13027. "currencyid": {
  13028. "description": "报价货币ID",
  13029. "type": "integer"
  13030. },
  13031. "decimalplace": {
  13032. "description": "报价小数位",
  13033. "type": "integer"
  13034. },
  13035. "exercisetype": {
  13036. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13037. "type": "integer"
  13038. },
  13039. "exexchangeid": {
  13040. "description": "外部交易所ID[通道交易]",
  13041. "type": "integer"
  13042. },
  13043. "goodsgroupid": {
  13044. "description": "商品组ID(自增ID)",
  13045. "type": "integer"
  13046. },
  13047. "goodsgroupname": {
  13048. "description": "商品组名称",
  13049. "type": "string"
  13050. },
  13051. "goodsgroupstatus": {
  13052. "description": "商品组状态 - 1:正常 2:注销",
  13053. "type": "integer"
  13054. },
  13055. "goodunitid": {
  13056. "description": "报价单位ID",
  13057. "type": "integer"
  13058. },
  13059. "innerdealmode": {
  13060. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13061. "type": "integer"
  13062. },
  13063. "isbuylimited": {
  13064. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13065. "type": "integer"
  13066. },
  13067. "marketid": {
  13068. "description": "所属市场ID",
  13069. "type": "integer"
  13070. },
  13071. "modifierid": {
  13072. "description": "修改人",
  13073. "type": "integer"
  13074. },
  13075. "modifytime": {
  13076. "description": "修改时间",
  13077. "type": "string"
  13078. },
  13079. "outerdealmode": {
  13080. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13081. "type": "integer"
  13082. },
  13083. "outergroupcode": {
  13084. "description": "外部商品组代码[通道交易]",
  13085. "type": "string"
  13086. },
  13087. "premiumdecimalplace": {
  13088. "description": "权利金小数位[场外期权]",
  13089. "type": "integer"
  13090. },
  13091. "premiumspreadalgorithm": {
  13092. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13093. "type": "integer"
  13094. },
  13095. "premiumspreadvalue": {
  13096. "description": "权利金点差值[场外期权]",
  13097. "type": "number"
  13098. },
  13099. "qtydecimalplace": {
  13100. "description": "成交量小数位",
  13101. "type": "integer"
  13102. },
  13103. "quotegear": {
  13104. "description": "行情档位(1-10)",
  13105. "type": "integer"
  13106. },
  13107. "quoteminunit": {
  13108. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13109. "type": "integer"
  13110. },
  13111. "quoterid": {
  13112. "description": "报价商ID[场外期权]",
  13113. "type": "integer"
  13114. },
  13115. "quotesourcegroupid": {
  13116. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13117. "type": "integer"
  13118. },
  13119. "syncgoodsqty": {
  13120. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13121. "type": "integer"
  13122. }
  13123. }
  13124. },
  13125. "models.HsbyBuyMyPayOrder": {
  13126. "type": "object",
  13127. "required": [
  13128. "goodscode",
  13129. "goodsname",
  13130. "tradeid",
  13131. "trademode"
  13132. ],
  13133. "properties": {
  13134. "agreeunit": {
  13135. "description": "合约单位",
  13136. "type": "number"
  13137. },
  13138. "buyaccountid": {
  13139. "description": "买方账号ID[报价币种]",
  13140. "type": "integer"
  13141. },
  13142. "buyorderid": {
  13143. "description": "买方委托单号",
  13144. "type": "string"
  13145. },
  13146. "createtime": {
  13147. "description": "创建时间",
  13148. "type": "string"
  13149. },
  13150. "currencysign": {
  13151. "description": "货币符号",
  13152. "type": "string"
  13153. },
  13154. "decimalplace": {
  13155. "description": "报价小数位",
  13156. "type": "integer"
  13157. },
  13158. "goodscode": {
  13159. "description": "商品代码(内部)",
  13160. "type": "string"
  13161. },
  13162. "goodsid": {
  13163. "description": "商品ID",
  13164. "type": "integer"
  13165. },
  13166. "goodsname": {
  13167. "description": "商品名称",
  13168. "type": "string"
  13169. },
  13170. "marketid": {
  13171. "description": "市场ID",
  13172. "type": "integer"
  13173. },
  13174. "offamount": {
  13175. "description": "优惠金额",
  13176. "type": "number"
  13177. },
  13178. "originalamount": {
  13179. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13180. "type": "number"
  13181. },
  13182. "payamount": {
  13183. "description": "支付金额 = TradeAmount + TradeCharge",
  13184. "type": "number"
  13185. },
  13186. "payflag": {
  13187. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13188. "type": "integer"
  13189. },
  13190. "paylimitedtime": {
  13191. "description": "支付期限",
  13192. "type": "string"
  13193. },
  13194. "paytime": {
  13195. "description": "付款时间",
  13196. "type": "string"
  13197. },
  13198. "picurls1": {
  13199. "description": "预售商品介绍图片[多张用逗号分隔]",
  13200. "type": "string"
  13201. },
  13202. "picurls2": {
  13203. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13204. "type": "string"
  13205. },
  13206. "sellaccountid": {
  13207. "description": "卖方账号ID[报价币种]",
  13208. "type": "integer"
  13209. },
  13210. "sellorderid": {
  13211. "description": "卖方委托单号",
  13212. "type": "string"
  13213. },
  13214. "tradeamount": {
  13215. "description": "成交金额",
  13216. "type": "number"
  13217. },
  13218. "tradecharge": {
  13219. "description": "成交手续费(买方)",
  13220. "type": "number"
  13221. },
  13222. "tradedate": {
  13223. "description": "交易日(yyyyMMdd)",
  13224. "type": "string"
  13225. },
  13226. "tradeid": {
  13227. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13228. "type": "string"
  13229. },
  13230. "trademode": {
  13231. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13232. "type": "integer"
  13233. },
  13234. "tradeprice": {
  13235. "description": "成交价格",
  13236. "type": "number"
  13237. },
  13238. "tradeqty": {
  13239. "description": "成交数量",
  13240. "type": "integer"
  13241. },
  13242. "vendorname1": {
  13243. "description": "预售商品供应商名称",
  13244. "type": "string"
  13245. },
  13246. "vendorname2": {
  13247. "description": "挂牌商品供应商名称",
  13248. "type": "string"
  13249. }
  13250. }
  13251. },
  13252. "models.HsbyBuyMyTradeDetail": {
  13253. "type": "object",
  13254. "required": [
  13255. "accountid",
  13256. "buyorsell",
  13257. "goodscode",
  13258. "goodsid",
  13259. "goodsname",
  13260. "marketid",
  13261. "orderid",
  13262. "qty",
  13263. "time",
  13264. "trademode"
  13265. ],
  13266. "properties": {
  13267. "accountid": {
  13268. "description": "账户ID[报价币种]",
  13269. "type": "integer"
  13270. },
  13271. "agreeunit": {
  13272. "description": "合约单位",
  13273. "type": "number"
  13274. },
  13275. "amount": {
  13276. "description": "金额 = 价格 * 数量 * 合约单位",
  13277. "type": "number"
  13278. },
  13279. "buyorsell": {
  13280. "description": "买卖 - 0:买 1:卖",
  13281. "type": "integer"
  13282. },
  13283. "currencysign": {
  13284. "description": "货币符号",
  13285. "type": "string"
  13286. },
  13287. "decimalplace": {
  13288. "description": "报价小数位",
  13289. "type": "integer"
  13290. },
  13291. "goodscode": {
  13292. "description": "商品代码(内部)",
  13293. "type": "string"
  13294. },
  13295. "goodsid": {
  13296. "description": "商品ID",
  13297. "type": "integer"
  13298. },
  13299. "goodsname": {
  13300. "description": "商品名称",
  13301. "type": "string"
  13302. },
  13303. "marketid": {
  13304. "description": "市场ID",
  13305. "type": "integer"
  13306. },
  13307. "orderid": {
  13308. "description": "单号(成交单号)",
  13309. "type": "string"
  13310. },
  13311. "picurls1": {
  13312. "description": "预售商品介绍图片[多张用逗号分隔]",
  13313. "type": "string"
  13314. },
  13315. "picurls2": {
  13316. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13317. "type": "string"
  13318. },
  13319. "price": {
  13320. "description": "价格",
  13321. "type": "number"
  13322. },
  13323. "qty": {
  13324. "description": "数量",
  13325. "type": "integer"
  13326. },
  13327. "time": {
  13328. "description": "时间",
  13329. "type": "string"
  13330. },
  13331. "trademode": {
  13332. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13333. "type": "integer"
  13334. },
  13335. "vendorname1": {
  13336. "description": "预售商品供应商名称",
  13337. "type": "string"
  13338. },
  13339. "vendorname2": {
  13340. "description": "挂牌商品供应商名称",
  13341. "type": "string"
  13342. }
  13343. }
  13344. },
  13345. "models.HsbyGoodsOrderDetail": {
  13346. "type": "object",
  13347. "required": [
  13348. "buyorsell",
  13349. "orderid",
  13350. "ordertime"
  13351. ],
  13352. "properties": {
  13353. "buyorsell": {
  13354. "description": "买卖 - 0:买 1:卖",
  13355. "type": "integer"
  13356. },
  13357. "currencysign": {
  13358. "description": "货币符号",
  13359. "type": "string"
  13360. },
  13361. "customername": {
  13362. "description": "客户名称(企业名称),已脱敏",
  13363. "type": "string"
  13364. },
  13365. "enableqty": {
  13366. "description": "可用数量",
  13367. "type": "integer"
  13368. },
  13369. "goodunit": {
  13370. "description": "报价单位",
  13371. "type": "string"
  13372. },
  13373. "orderid": {
  13374. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13375. "type": "string"
  13376. },
  13377. "orderprice": {
  13378. "description": "委托价格",
  13379. "type": "number"
  13380. },
  13381. "ordertime": {
  13382. "description": "委托时间",
  13383. "type": "string"
  13384. }
  13385. }
  13386. },
  13387. "models.HsbyListingGoodsDetail": {
  13388. "type": "object",
  13389. "required": [
  13390. "goodscode",
  13391. "goodsid",
  13392. "goodsname",
  13393. "marketid",
  13394. "trademode"
  13395. ],
  13396. "properties": {
  13397. "agreeunit": {
  13398. "description": "合约单位",
  13399. "type": "number"
  13400. },
  13401. "buymaxqty": {
  13402. "description": "购买上限 [71] - 0为不限",
  13403. "type": "integer"
  13404. },
  13405. "currency": {
  13406. "description": "货币",
  13407. "type": "string"
  13408. },
  13409. "currencysign": {
  13410. "description": "货币符号",
  13411. "type": "string"
  13412. },
  13413. "decimalplace": {
  13414. "description": "报价小数位",
  13415. "type": "integer"
  13416. },
  13417. "desccityid": {
  13418. "description": "目的地(市)ID",
  13419. "type": "integer"
  13420. },
  13421. "descprovinceid": {
  13422. "description": "目的地(省)ID",
  13423. "type": "integer"
  13424. },
  13425. "goodscode": {
  13426. "description": "商品代码(内部)",
  13427. "type": "string"
  13428. },
  13429. "goodsdesc": {
  13430. "description": "商品详情",
  13431. "type": "string"
  13432. },
  13433. "goodsid": {
  13434. "description": "商品ID(自增ID SEQ_GOODS)",
  13435. "type": "integer"
  13436. },
  13437. "goodsname": {
  13438. "description": "商品名称",
  13439. "type": "string"
  13440. },
  13441. "goodsprice": {
  13442. "description": "商品价格",
  13443. "type": "number"
  13444. },
  13445. "hotindex": {
  13446. "description": "景点热度",
  13447. "type": "integer"
  13448. },
  13449. "last": {
  13450. "description": "现价",
  13451. "type": "number"
  13452. },
  13453. "limitdown": {
  13454. "description": "跌停价",
  13455. "type": "number"
  13456. },
  13457. "limitup": {
  13458. "description": "涨停价",
  13459. "type": "number"
  13460. },
  13461. "lotsize": {
  13462. "description": "手数最小变动单位",
  13463. "type": "integer"
  13464. },
  13465. "marketid": {
  13466. "description": "所属市场ID",
  13467. "type": "integer"
  13468. },
  13469. "picurls": {
  13470. "description": "介绍图片[多张用逗号分隔]",
  13471. "type": "string"
  13472. },
  13473. "quoteminunit": {
  13474. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13475. "type": "integer"
  13476. },
  13477. "stepvalue": {
  13478. "description": "价格最小变动单位",
  13479. "type": "number"
  13480. },
  13481. "trademode": {
  13482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13483. "type": "integer"
  13484. },
  13485. "vendorattr": {
  13486. "description": "供应商附件(多张,逗号分隔)",
  13487. "type": "string"
  13488. },
  13489. "vendorname": {
  13490. "description": "供应商名称",
  13491. "type": "string"
  13492. },
  13493. "vendorphone": {
  13494. "description": "供应商客服电话",
  13495. "type": "string"
  13496. },
  13497. "videourls": {
  13498. "description": "介绍视频[多张用逗号分隔]",
  13499. "type": "string"
  13500. }
  13501. }
  13502. },
  13503. "models.HsbyMarketGoods": {
  13504. "type": "object",
  13505. "required": [
  13506. "accountid",
  13507. "buyorsell",
  13508. "goodscode",
  13509. "goodsid",
  13510. "goodsname",
  13511. "marketid",
  13512. "orderid",
  13513. "trademode"
  13514. ],
  13515. "properties": {
  13516. "accountid": {
  13517. "description": "账户ID[报价币种]",
  13518. "type": "integer"
  13519. },
  13520. "agreeunit": {
  13521. "description": "合约单位",
  13522. "type": "number"
  13523. },
  13524. "buyorsell": {
  13525. "description": "买卖 - 0:买 1:卖",
  13526. "type": "integer"
  13527. },
  13528. "categoryid": {
  13529. "description": "类别ID(WRCATEGORY)",
  13530. "type": "integer"
  13531. },
  13532. "currency": {
  13533. "description": "货币",
  13534. "type": "string"
  13535. },
  13536. "currencysign": {
  13537. "description": "货币符号",
  13538. "type": "string"
  13539. },
  13540. "customername": {
  13541. "description": "卖家名称",
  13542. "type": "string"
  13543. },
  13544. "decimalplace": {
  13545. "description": "报价小数位",
  13546. "type": "integer"
  13547. },
  13548. "goodscode": {
  13549. "description": "商品代码(内部)",
  13550. "type": "string"
  13551. },
  13552. "goodsid": {
  13553. "description": "商品ID",
  13554. "type": "integer"
  13555. },
  13556. "goodsname": {
  13557. "description": "商品名称",
  13558. "type": "string"
  13559. },
  13560. "goodsprice": {
  13561. "description": "商品价格",
  13562. "type": "number"
  13563. },
  13564. "hascoupon": {
  13565. "description": "是否可用优惠卷",
  13566. "type": "boolean"
  13567. },
  13568. "hotindex": {
  13569. "description": "景点热度",
  13570. "type": "integer"
  13571. },
  13572. "marketid": {
  13573. "description": "市场ID",
  13574. "type": "integer"
  13575. },
  13576. "orderid": {
  13577. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13578. "type": "string"
  13579. },
  13580. "orderprice": {
  13581. "description": "委托价格",
  13582. "type": "number"
  13583. },
  13584. "orderstatus": {
  13585. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13586. "type": "integer"
  13587. },
  13588. "picurls": {
  13589. "description": "介绍图片[多张用逗号分隔]",
  13590. "type": "string"
  13591. },
  13592. "quoteminunit": {
  13593. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13594. "type": "integer"
  13595. },
  13596. "sellUserID": {
  13597. "description": "卖方UserID",
  13598. "type": "integer"
  13599. },
  13600. "trademode": {
  13601. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13602. "type": "integer"
  13603. },
  13604. "videourls": {
  13605. "description": "介绍视频[多张用逗号分隔]",
  13606. "type": "string"
  13607. }
  13608. }
  13609. },
  13610. "models.HsbyMarketGoodsDetail": {
  13611. "type": "object",
  13612. "required": [
  13613. "accountid",
  13614. "buyorsell",
  13615. "goodscode",
  13616. "goodsid",
  13617. "goodsname",
  13618. "marketid",
  13619. "orderid",
  13620. "orderqty",
  13621. "trademode"
  13622. ],
  13623. "properties": {
  13624. "accountid": {
  13625. "description": "账户ID[报价币种]",
  13626. "type": "integer"
  13627. },
  13628. "agreeunit": {
  13629. "description": "合约单位",
  13630. "type": "number"
  13631. },
  13632. "buymaxqty": {
  13633. "description": "购买上限 [71] - 0为不限",
  13634. "type": "integer"
  13635. },
  13636. "buyorsell": {
  13637. "description": "买卖 - 0:买 1:卖",
  13638. "type": "integer"
  13639. },
  13640. "cancelqty": {
  13641. "description": "撤单数量",
  13642. "type": "integer"
  13643. },
  13644. "categoryid": {
  13645. "description": "类别ID(WRCATEGORY)",
  13646. "type": "integer"
  13647. },
  13648. "currency": {
  13649. "description": "货币",
  13650. "type": "string"
  13651. },
  13652. "currencysign": {
  13653. "description": "货币符号",
  13654. "type": "string"
  13655. },
  13656. "customername": {
  13657. "description": "卖家名称",
  13658. "type": "string"
  13659. },
  13660. "decimalplace": {
  13661. "description": "报价小数位",
  13662. "type": "integer"
  13663. },
  13664. "goodscode": {
  13665. "description": "商品代码(内部)",
  13666. "type": "string"
  13667. },
  13668. "goodsdesc": {
  13669. "description": "商品详情",
  13670. "type": "string"
  13671. },
  13672. "goodsid": {
  13673. "description": "商品ID",
  13674. "type": "integer"
  13675. },
  13676. "goodsname": {
  13677. "description": "商品名称",
  13678. "type": "string"
  13679. },
  13680. "goodsprice": {
  13681. "description": "商品价格",
  13682. "type": "number"
  13683. },
  13684. "hotindex": {
  13685. "description": "景点热度",
  13686. "type": "integer"
  13687. },
  13688. "lotsize": {
  13689. "description": "手数最小变动单位",
  13690. "type": "integer"
  13691. },
  13692. "marketid": {
  13693. "description": "市场ID",
  13694. "type": "integer"
  13695. },
  13696. "orderid": {
  13697. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13698. "type": "string"
  13699. },
  13700. "orderprice": {
  13701. "description": "委托价格",
  13702. "type": "number"
  13703. },
  13704. "orderqty": {
  13705. "description": "委托数量",
  13706. "type": "integer"
  13707. },
  13708. "orderstatus": {
  13709. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13710. "type": "integer"
  13711. },
  13712. "picurls": {
  13713. "description": "介绍图片[多张用逗号分隔]",
  13714. "type": "string"
  13715. },
  13716. "quoteminunit": {
  13717. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13718. "type": "integer"
  13719. },
  13720. "sellUserID": {
  13721. "description": "卖方UserID",
  13722. "type": "integer"
  13723. },
  13724. "trademode": {
  13725. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13726. "type": "integer"
  13727. },
  13728. "tradeqty": {
  13729. "description": "成交数量",
  13730. "type": "integer"
  13731. },
  13732. "vendorattr": {
  13733. "description": "供应商附件(多张,逗号分隔)",
  13734. "type": "string"
  13735. },
  13736. "vendorname": {
  13737. "description": "供应商名称",
  13738. "type": "string"
  13739. },
  13740. "vendorphone": {
  13741. "description": "供应商客服电话",
  13742. "type": "string"
  13743. },
  13744. "videourls": {
  13745. "description": "介绍视频[多张用逗号分隔]",
  13746. "type": "string"
  13747. }
  13748. }
  13749. },
  13750. "models.HsbyMarketInfo": {
  13751. "type": "object",
  13752. "required": [
  13753. "marketid",
  13754. "marketstatus",
  13755. "trademode"
  13756. ],
  13757. "properties": {
  13758. "marketid": {
  13759. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13760. "type": "integer"
  13761. },
  13762. "marketname": {
  13763. "description": "市场名称",
  13764. "type": "string"
  13765. },
  13766. "marketstatus": {
  13767. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13768. "type": "integer"
  13769. },
  13770. "trademode": {
  13771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13772. "type": "integer"
  13773. }
  13774. }
  13775. },
  13776. "models.HsbyMyGoods": {
  13777. "type": "object",
  13778. "required": [
  13779. "accountid",
  13780. "goodscode",
  13781. "goodsid",
  13782. "goodsname",
  13783. "marketid",
  13784. "trademode"
  13785. ],
  13786. "properties": {
  13787. "accountid": {
  13788. "description": "账号Id",
  13789. "type": "integer"
  13790. },
  13791. "agreeunit": {
  13792. "description": "合约单位",
  13793. "type": "number"
  13794. },
  13795. "buyaverageprice": {
  13796. "description": "持仓均价",
  13797. "type": "number"
  13798. },
  13799. "buycurholderamount": {
  13800. "description": "买当前持仓总金额[商品币种]",
  13801. "type": "number"
  13802. },
  13803. "buycurpositionqty": {
  13804. "description": "买当前持仓总数量",
  13805. "type": "integer"
  13806. },
  13807. "buymaxqty": {
  13808. "description": "购买上限 [71] - 0为不限",
  13809. "type": "integer"
  13810. },
  13811. "currencysign": {
  13812. "description": "货币符号",
  13813. "type": "string"
  13814. },
  13815. "decimalplace": {
  13816. "description": "报价小数位",
  13817. "type": "integer"
  13818. },
  13819. "enableqty": {
  13820. "description": "可用数量",
  13821. "type": "integer"
  13822. },
  13823. "goodscode": {
  13824. "description": "商品代码(内部)",
  13825. "type": "string"
  13826. },
  13827. "goodsid": {
  13828. "description": "商品Id",
  13829. "type": "integer"
  13830. },
  13831. "goodsname": {
  13832. "description": "商品名称",
  13833. "type": "string"
  13834. },
  13835. "goodsprice": {
  13836. "description": "商品价格",
  13837. "type": "number"
  13838. },
  13839. "goodsstatus": {
  13840. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13841. "type": "integer"
  13842. },
  13843. "last": {
  13844. "description": "现价(仅使用于挂牌点选)",
  13845. "type": "number"
  13846. },
  13847. "limitdown": {
  13848. "description": "跌停价(仅使用于挂牌点选)",
  13849. "type": "number"
  13850. },
  13851. "limitup": {
  13852. "description": "涨停价(仅使用于挂牌点选)",
  13853. "type": "number"
  13854. },
  13855. "lotsize": {
  13856. "description": "手数最小变动单位",
  13857. "type": "integer"
  13858. },
  13859. "marketid": {
  13860. "description": "所属市场ID",
  13861. "type": "integer"
  13862. },
  13863. "picurls": {
  13864. "description": "介绍图片[多张用逗号分隔]",
  13865. "type": "string"
  13866. },
  13867. "quoteminunit": {
  13868. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13869. "type": "integer"
  13870. },
  13871. "stepvalue": {
  13872. "description": "价格最小变动单位",
  13873. "type": "number"
  13874. },
  13875. "trademode": {
  13876. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13877. "type": "integer"
  13878. }
  13879. }
  13880. },
  13881. "models.HsbyMyPackage": {
  13882. "type": "object",
  13883. "required": [
  13884. "goodscode",
  13885. "goodsname",
  13886. "takeorderid",
  13887. "trademode"
  13888. ],
  13889. "properties": {
  13890. "accountid": {
  13891. "description": "账户ID",
  13892. "type": "integer"
  13893. },
  13894. "address": {
  13895. "description": "提货人详细地址",
  13896. "type": "string"
  13897. },
  13898. "agreeunit": {
  13899. "description": "合约单位",
  13900. "type": "number"
  13901. },
  13902. "amount": {
  13903. "description": "提货金额",
  13904. "type": "number"
  13905. },
  13906. "auditer": {
  13907. "description": "审核人",
  13908. "type": "integer"
  13909. },
  13910. "audittime": {
  13911. "description": "审核时间",
  13912. "type": "string"
  13913. },
  13914. "averageprice": {
  13915. "description": "均价",
  13916. "type": "number"
  13917. },
  13918. "cardnum": {
  13919. "description": "提货人证件号码",
  13920. "type": "string"
  13921. },
  13922. "cardtypeid": {
  13923. "description": "提货人证件类型",
  13924. "type": "integer"
  13925. },
  13926. "checkremark": {
  13927. "description": "审核备注",
  13928. "type": "string"
  13929. },
  13930. "currencysign": {
  13931. "description": "货币符号",
  13932. "type": "string"
  13933. },
  13934. "decimalplace": {
  13935. "description": "报价小数位",
  13936. "type": "integer"
  13937. },
  13938. "goodscode": {
  13939. "description": "商品代码(内部)",
  13940. "type": "string"
  13941. },
  13942. "goodsid": {
  13943. "description": "商品ID",
  13944. "type": "integer"
  13945. },
  13946. "goodsname": {
  13947. "description": "商品名称",
  13948. "type": "string"
  13949. },
  13950. "handlestatus": {
  13951. "description": "处理状态",
  13952. "type": "integer"
  13953. },
  13954. "marketid": {
  13955. "description": "市场ID",
  13956. "type": "integer"
  13957. },
  13958. "phonenum": {
  13959. "description": "提货人联系方式",
  13960. "type": "string"
  13961. },
  13962. "picurls": {
  13963. "description": "介绍图片[多张用逗号分隔]",
  13964. "type": "string"
  13965. },
  13966. "qty": {
  13967. "description": "提货数量",
  13968. "type": "number"
  13969. },
  13970. "recivername": {
  13971. "description": "提货人姓名",
  13972. "type": "string"
  13973. },
  13974. "reqtime": {
  13975. "description": "更新时间",
  13976. "type": "string"
  13977. },
  13978. "takemode": {
  13979. "description": "提货方式 - 2:自提 3:配送",
  13980. "type": "integer"
  13981. },
  13982. "takeorderid": {
  13983. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13984. "type": "string"
  13985. },
  13986. "takeorderstatus": {
  13987. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13988. "type": "integer"
  13989. },
  13990. "takeremark": {
  13991. "description": "提货备注",
  13992. "type": "string"
  13993. },
  13994. "tradedate": {
  13995. "description": "交易日(yyyyMMdd)",
  13996. "type": "string"
  13997. },
  13998. "trademode": {
  13999. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14000. "type": "integer"
  14001. },
  14002. "userid": {
  14003. "description": "用户ID",
  14004. "type": "integer"
  14005. },
  14006. "vendorname": {
  14007. "description": "供应商名称",
  14008. "type": "string"
  14009. }
  14010. }
  14011. },
  14012. "models.HsbyPreGoods": {
  14013. "type": "object",
  14014. "required": [
  14015. "goodscode",
  14016. "goodsid",
  14017. "goodsname",
  14018. "marketid",
  14019. "trademode"
  14020. ],
  14021. "properties": {
  14022. "agreeunit": {
  14023. "description": "合约单位",
  14024. "type": "number"
  14025. },
  14026. "currency": {
  14027. "description": "货币",
  14028. "type": "string"
  14029. },
  14030. "currencysign": {
  14031. "description": "货币符号",
  14032. "type": "string"
  14033. },
  14034. "decimalplace": {
  14035. "description": "报价小数位",
  14036. "type": "integer"
  14037. },
  14038. "desccityid": {
  14039. "description": "目的地(市)",
  14040. "type": "integer"
  14041. },
  14042. "descprovinceid": {
  14043. "description": "目的地(省)",
  14044. "type": "integer"
  14045. },
  14046. "enableqty": {
  14047. "description": "剩余数量",
  14048. "type": "integer"
  14049. },
  14050. "goodscode": {
  14051. "description": "商品代码(内部)",
  14052. "type": "string"
  14053. },
  14054. "goodsid": {
  14055. "description": "商品ID(自增ID SEQ_GOODS)",
  14056. "type": "integer"
  14057. },
  14058. "goodsname": {
  14059. "description": "商品名称",
  14060. "type": "string"
  14061. },
  14062. "goodsstatus": {
  14063. "description": "商品状态- 2:未上市 3:上市",
  14064. "type": "integer"
  14065. },
  14066. "lasttradedate": {
  14067. "description": "最后交易日期(状态:待退市)",
  14068. "type": "string"
  14069. },
  14070. "listingdate": {
  14071. "description": "交易开始日期",
  14072. "type": "string"
  14073. },
  14074. "marketid": {
  14075. "description": "所属市场ID",
  14076. "type": "integer"
  14077. },
  14078. "picurls": {
  14079. "description": "介绍图片[多张用逗号分隔]",
  14080. "type": "string"
  14081. },
  14082. "presaledqty": {
  14083. "description": "已预售量(预售结束时更新)",
  14084. "type": "integer"
  14085. },
  14086. "presaleqty": {
  14087. "description": "预售数量",
  14088. "type": "integer"
  14089. },
  14090. "quoteminunit": {
  14091. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14092. "type": "integer"
  14093. },
  14094. "refprice": {
  14095. "description": "参考价格[一口价]",
  14096. "type": "number"
  14097. },
  14098. "relatedgoodsid": {
  14099. "description": "关联交易合约ID",
  14100. "type": "integer"
  14101. },
  14102. "trademode": {
  14103. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14104. "type": "integer"
  14105. },
  14106. "videourls": {
  14107. "description": "介绍视频[多张用逗号分隔]",
  14108. "type": "string"
  14109. }
  14110. }
  14111. },
  14112. "models.HsbyPreGoodsDetail": {
  14113. "type": "object",
  14114. "required": [
  14115. "goodscode",
  14116. "goodsid",
  14117. "goodsname",
  14118. "marketid",
  14119. "trademode"
  14120. ],
  14121. "properties": {
  14122. "agreeunit": {
  14123. "description": "合约单位",
  14124. "type": "number"
  14125. },
  14126. "buymaxqty": {
  14127. "description": "购买上限 [71] - 0为不限",
  14128. "type": "integer"
  14129. },
  14130. "currency": {
  14131. "description": "货币",
  14132. "type": "string"
  14133. },
  14134. "currencysign": {
  14135. "description": "货币符号",
  14136. "type": "string"
  14137. },
  14138. "customername": {
  14139. "description": "发行单位",
  14140. "type": "string"
  14141. },
  14142. "decimalplace": {
  14143. "description": "报价小数位",
  14144. "type": "integer"
  14145. },
  14146. "desccityid": {
  14147. "description": "目的地(市)ID",
  14148. "type": "integer"
  14149. },
  14150. "descprovinceid": {
  14151. "description": "目的地(省)ID",
  14152. "type": "integer"
  14153. },
  14154. "enableqty": {
  14155. "description": "剩余数量",
  14156. "type": "integer"
  14157. },
  14158. "goodscode": {
  14159. "description": "商品代码(内部)",
  14160. "type": "string"
  14161. },
  14162. "goodsdesc": {
  14163. "description": "商品详情",
  14164. "type": "string"
  14165. },
  14166. "goodsid": {
  14167. "description": "商品ID(自增ID SEQ_GOODS)",
  14168. "type": "integer"
  14169. },
  14170. "goodsname": {
  14171. "description": "商品名称",
  14172. "type": "string"
  14173. },
  14174. "goodsstatus": {
  14175. "description": "商品状态- 2:未上市 3:上市",
  14176. "type": "integer"
  14177. },
  14178. "goodunit": {
  14179. "description": "报价单位",
  14180. "type": "string"
  14181. },
  14182. "lasttradedate": {
  14183. "description": "最后交易日期(状态:待退市)",
  14184. "type": "string"
  14185. },
  14186. "listingdate": {
  14187. "description": "交易开始日期",
  14188. "type": "string"
  14189. },
  14190. "lotsize": {
  14191. "description": "手数最小变动单位",
  14192. "type": "integer"
  14193. },
  14194. "marketid": {
  14195. "description": "所属市场ID",
  14196. "type": "integer"
  14197. },
  14198. "picurls": {
  14199. "description": "介绍图片[多张用逗号分隔]",
  14200. "type": "string"
  14201. },
  14202. "presaledqty": {
  14203. "description": "已预售量(预售结束时更新)",
  14204. "type": "integer"
  14205. },
  14206. "presaleqty": {
  14207. "description": "预售数量",
  14208. "type": "integer"
  14209. },
  14210. "quoteminunit": {
  14211. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14212. "type": "integer"
  14213. },
  14214. "refprice": {
  14215. "description": "参考价格[一口价]",
  14216. "type": "number"
  14217. },
  14218. "relatedgoodsid": {
  14219. "description": "关联交易合约ID",
  14220. "type": "integer"
  14221. },
  14222. "stepvalue": {
  14223. "description": "价格最小变动单位",
  14224. "type": "number"
  14225. },
  14226. "trademode": {
  14227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14228. "type": "integer"
  14229. },
  14230. "vendorattr": {
  14231. "description": "供应商附件(多张,逗号分隔)",
  14232. "type": "string"
  14233. },
  14234. "vendorname": {
  14235. "description": "供应商名称",
  14236. "type": "string"
  14237. },
  14238. "vendorphone": {
  14239. "description": "供应商客服电话",
  14240. "type": "string"
  14241. },
  14242. "videourls": {
  14243. "description": "介绍视频[多张用逗号分隔]",
  14244. "type": "string"
  14245. }
  14246. }
  14247. },
  14248. "models.HsbySellCollectionOrder": {
  14249. "type": "object",
  14250. "required": [
  14251. "goodscode",
  14252. "goodsname",
  14253. "tradeid",
  14254. "trademode"
  14255. ],
  14256. "properties": {
  14257. "agreeunit": {
  14258. "description": "合约单位",
  14259. "type": "number"
  14260. },
  14261. "buyaccountid": {
  14262. "description": "买方账号ID[报价币种]",
  14263. "type": "integer"
  14264. },
  14265. "buyorderid": {
  14266. "description": "买方委托单号",
  14267. "type": "string"
  14268. },
  14269. "createtime": {
  14270. "description": "创建时间",
  14271. "type": "string"
  14272. },
  14273. "currencysign": {
  14274. "description": "货币符号",
  14275. "type": "string"
  14276. },
  14277. "decimalplace": {
  14278. "description": "报价小数位",
  14279. "type": "integer"
  14280. },
  14281. "goodscode": {
  14282. "description": "商品代码(内部)",
  14283. "type": "string"
  14284. },
  14285. "goodsid": {
  14286. "description": "商品ID",
  14287. "type": "integer"
  14288. },
  14289. "goodsname": {
  14290. "description": "商品名称",
  14291. "type": "string"
  14292. },
  14293. "marketid": {
  14294. "description": "市场ID",
  14295. "type": "integer"
  14296. },
  14297. "offamount": {
  14298. "description": "优惠金额",
  14299. "type": "number"
  14300. },
  14301. "payamount": {
  14302. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  14303. "type": "number"
  14304. },
  14305. "payflag": {
  14306. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14307. "type": "integer"
  14308. },
  14309. "paylimitedtime": {
  14310. "description": "支付期限",
  14311. "type": "string"
  14312. },
  14313. "paytime": {
  14314. "description": "付款时间",
  14315. "type": "string"
  14316. },
  14317. "picurls": {
  14318. "description": "商品介绍图片[多张用逗号分隔]",
  14319. "type": "string"
  14320. },
  14321. "sellaccountid": {
  14322. "description": "卖方账号ID[报价币种]",
  14323. "type": "integer"
  14324. },
  14325. "sellorderid": {
  14326. "description": "卖方委托单号",
  14327. "type": "string"
  14328. },
  14329. "tradeamount": {
  14330. "description": "成交金额",
  14331. "type": "number"
  14332. },
  14333. "tradecharge": {
  14334. "description": "成交手续费(买方)",
  14335. "type": "number"
  14336. },
  14337. "tradedate": {
  14338. "description": "交易日(yyyyMMdd)",
  14339. "type": "string"
  14340. },
  14341. "tradeid": {
  14342. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14343. "type": "string"
  14344. },
  14345. "trademode": {
  14346. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14347. "type": "integer"
  14348. },
  14349. "tradeprice": {
  14350. "description": "成交价格",
  14351. "type": "number"
  14352. },
  14353. "tradeqty": {
  14354. "description": "成交数量",
  14355. "type": "integer"
  14356. }
  14357. }
  14358. },
  14359. "models.HsbySellMyDetail": {
  14360. "type": "object",
  14361. "required": [
  14362. "accountid",
  14363. "buyorsell",
  14364. "goodscode",
  14365. "goodsid",
  14366. "goodsname",
  14367. "marketid",
  14368. "orderid",
  14369. "time",
  14370. "trademode"
  14371. ],
  14372. "properties": {
  14373. "accountid": {
  14374. "description": "账户ID[报价币种]",
  14375. "type": "integer"
  14376. },
  14377. "agreeunit": {
  14378. "description": "合约单位",
  14379. "type": "number"
  14380. },
  14381. "buyorsell": {
  14382. "description": "买卖 - 0:买 1:卖",
  14383. "type": "integer"
  14384. },
  14385. "currencysign": {
  14386. "description": "货币符号",
  14387. "type": "string"
  14388. },
  14389. "decimalplace": {
  14390. "description": "报价小数位",
  14391. "type": "integer"
  14392. },
  14393. "goodscode": {
  14394. "description": "商品代码(内部)",
  14395. "type": "string"
  14396. },
  14397. "goodsid": {
  14398. "description": "商品ID",
  14399. "type": "integer"
  14400. },
  14401. "goodsname": {
  14402. "description": "商品名称",
  14403. "type": "string"
  14404. },
  14405. "marketid": {
  14406. "description": "市场ID",
  14407. "type": "integer"
  14408. },
  14409. "orderid": {
  14410. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14411. "type": "string"
  14412. },
  14413. "ordertype": {
  14414. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14415. "type": "integer"
  14416. },
  14417. "picurls": {
  14418. "description": "介绍图片[多张用逗号分隔]",
  14419. "type": "string"
  14420. },
  14421. "price": {
  14422. "description": "价格",
  14423. "type": "number"
  14424. },
  14425. "qty": {
  14426. "description": "数量",
  14427. "type": "integer"
  14428. },
  14429. "time": {
  14430. "description": "时间",
  14431. "type": "string"
  14432. },
  14433. "trademode": {
  14434. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14435. "type": "integer"
  14436. },
  14437. "vendorname": {
  14438. "description": "供应商名称",
  14439. "type": "string"
  14440. }
  14441. }
  14442. },
  14443. "models.HsbyTopGoods": {
  14444. "type": "object",
  14445. "required": [
  14446. "goodscode",
  14447. "goodsid",
  14448. "goodsname",
  14449. "marketid",
  14450. "trademode"
  14451. ],
  14452. "properties": {
  14453. "agreeunit": {
  14454. "description": "合约单位",
  14455. "type": "number"
  14456. },
  14457. "currency": {
  14458. "description": "货币",
  14459. "type": "string"
  14460. },
  14461. "currencysign": {
  14462. "description": "货币符号",
  14463. "type": "string"
  14464. },
  14465. "decimalplace": {
  14466. "description": "报价小数位",
  14467. "type": "integer"
  14468. },
  14469. "desccityid": {
  14470. "description": "目的地(市)",
  14471. "type": "integer"
  14472. },
  14473. "descprovinceid": {
  14474. "description": "目的地(省)",
  14475. "type": "integer"
  14476. },
  14477. "goodscode": {
  14478. "description": "商品代码(内部)",
  14479. "type": "string"
  14480. },
  14481. "goodsid": {
  14482. "description": "商品ID(自增ID SEQ_GOODS)",
  14483. "type": "integer"
  14484. },
  14485. "goodsname": {
  14486. "description": "商品名称",
  14487. "type": "string"
  14488. },
  14489. "hotindex": {
  14490. "description": "景点热度",
  14491. "type": "integer"
  14492. },
  14493. "last": {
  14494. "description": "现价",
  14495. "type": "number"
  14496. },
  14497. "marketid": {
  14498. "description": "所属市场ID",
  14499. "type": "integer"
  14500. },
  14501. "picurls": {
  14502. "description": "介绍图片[多张用逗号分隔]",
  14503. "type": "string"
  14504. },
  14505. "quoteminunit": {
  14506. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14507. "type": "integer"
  14508. },
  14509. "trademode": {
  14510. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14511. "type": "integer"
  14512. },
  14513. "videourls": {
  14514. "description": "介绍视频[多张用逗号分隔]",
  14515. "type": "string"
  14516. }
  14517. }
  14518. },
  14519. "models.HybsMyBuyOrderDetail": {
  14520. "type": "object",
  14521. "required": [
  14522. "accountid",
  14523. "buyorsell",
  14524. "goodscode",
  14525. "goodsid",
  14526. "goodsname",
  14527. "marketid",
  14528. "orderid",
  14529. "orderqty",
  14530. "ordertime",
  14531. "trademode"
  14532. ],
  14533. "properties": {
  14534. "accountid": {
  14535. "description": "账户ID[报价币种]",
  14536. "type": "integer"
  14537. },
  14538. "agreeunit": {
  14539. "description": "合约单位",
  14540. "type": "number"
  14541. },
  14542. "buyorsell": {
  14543. "description": "买卖 - 0:买 1:卖",
  14544. "type": "integer"
  14545. },
  14546. "cancelqty": {
  14547. "description": "撤单数量",
  14548. "type": "integer"
  14549. },
  14550. "currencysign": {
  14551. "description": "货币符号",
  14552. "type": "string"
  14553. },
  14554. "decimalplace": {
  14555. "description": "报价小数位",
  14556. "type": "integer"
  14557. },
  14558. "goodscode": {
  14559. "description": "商品代码(内部)",
  14560. "type": "string"
  14561. },
  14562. "goodsid": {
  14563. "description": "商品ID",
  14564. "type": "integer"
  14565. },
  14566. "goodsname": {
  14567. "description": "商品名称",
  14568. "type": "string"
  14569. },
  14570. "listingselecttype": {
  14571. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14572. "type": "integer"
  14573. },
  14574. "marketid": {
  14575. "description": "市场ID",
  14576. "type": "integer"
  14577. },
  14578. "mybuystatus": {
  14579. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14580. "type": "integer"
  14581. },
  14582. "orderamount": {
  14583. "description": "委托金额",
  14584. "type": "number"
  14585. },
  14586. "orderid": {
  14587. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14588. "type": "string"
  14589. },
  14590. "orderprice": {
  14591. "description": "委托价格",
  14592. "type": "number"
  14593. },
  14594. "orderqty": {
  14595. "description": "委托数量",
  14596. "type": "integer"
  14597. },
  14598. "orderstatus": {
  14599. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14600. "type": "integer"
  14601. },
  14602. "ordertime": {
  14603. "description": "委托时间",
  14604. "type": "string"
  14605. },
  14606. "picurls1": {
  14607. "description": "预售商品介绍图片[多张用逗号分隔]",
  14608. "type": "string"
  14609. },
  14610. "picurls2": {
  14611. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14612. "type": "string"
  14613. },
  14614. "trademode": {
  14615. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14616. "type": "integer"
  14617. },
  14618. "tradeqty": {
  14619. "description": "成交数量",
  14620. "type": "integer"
  14621. },
  14622. "vendorname1": {
  14623. "description": "预售商品供应商名称",
  14624. "type": "string"
  14625. },
  14626. "vendorname2": {
  14627. "description": "挂牌商品供应商名称",
  14628. "type": "string"
  14629. }
  14630. }
  14631. },
  14632. "models.Loginaccount": {
  14633. "type": "object",
  14634. "required": [
  14635. "loginid"
  14636. ],
  14637. "properties": {
  14638. "canoutin": {
  14639. "description": "是否可出入金 - 0:不可 1:可",
  14640. "type": "integer"
  14641. },
  14642. "clientroleid": {
  14643. "description": "终端角色ID",
  14644. "type": "integer"
  14645. },
  14646. "haslogined": {
  14647. "description": "是否已登录 - 0:未登录 1:已登录",
  14648. "type": "integer"
  14649. },
  14650. "hasupdatedpwd": {
  14651. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14652. "type": "integer"
  14653. },
  14654. "lastloginip": {
  14655. "description": "最新登录地址",
  14656. "type": "string"
  14657. },
  14658. "lastloginmode": {
  14659. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14660. "type": "integer"
  14661. },
  14662. "lastloginremark": {
  14663. "description": "最新登录描述",
  14664. "type": "string"
  14665. },
  14666. "lastlogintime": {
  14667. "description": "最新登录时间",
  14668. "type": "string"
  14669. },
  14670. "logincode": {
  14671. "description": "登录代码",
  14672. "type": "string"
  14673. },
  14674. "loginfailnum": {
  14675. "description": "连续登录失败次数(登录成功时清零)",
  14676. "type": "integer"
  14677. },
  14678. "loginid": {
  14679. "description": "登陆账号",
  14680. "type": "integer"
  14681. },
  14682. "loginport": {
  14683. "description": "最新登录端口",
  14684. "type": "integer"
  14685. },
  14686. "loginstatus": {
  14687. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14688. "type": "integer"
  14689. },
  14690. "loginusertype": {
  14691. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14692. "type": "integer"
  14693. },
  14694. "modifierid": {
  14695. "description": "修改人",
  14696. "type": "integer"
  14697. },
  14698. "modifytime": {
  14699. "description": "修改时间",
  14700. "type": "string"
  14701. },
  14702. "pwdwrongcount": {
  14703. "description": "密码错误次数",
  14704. "type": "integer"
  14705. },
  14706. "taaccountrighttype": {
  14707. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14708. "type": "integer"
  14709. },
  14710. "unfreezetime": {
  14711. "description": "账户解冻时间",
  14712. "type": "string"
  14713. },
  14714. "userid": {
  14715. "description": "用户ID",
  14716. "type": "integer"
  14717. }
  14718. }
  14719. },
  14720. "models.Market": {
  14721. "type": "object",
  14722. "required": [
  14723. "marketid",
  14724. "marketstatus",
  14725. "openmethod",
  14726. "reckonpricealgorithm",
  14727. "trademode",
  14728. "tradeproperty"
  14729. ],
  14730. "properties": {
  14731. "auctionwrtype": {
  14732. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14733. "type": "integer"
  14734. },
  14735. "canacceptquote": {
  14736. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14737. "type": "integer"
  14738. },
  14739. "cangoodsexercise": {
  14740. "description": "[期权]是否可现货行权- 0:否 1:是",
  14741. "type": "integer"
  14742. },
  14743. "cangoodsexercisetype": {
  14744. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14745. "type": "integer"
  14746. },
  14747. "canmanualquotestrike": {
  14748. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14749. "type": "integer"
  14750. },
  14751. "canmutistage": {
  14752. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14753. "type": "integer"
  14754. },
  14755. "canpreexercise": {
  14756. "description": "[期权]是否可预申报- 0:否 1:是",
  14757. "type": "integer"
  14758. },
  14759. "clearinterval": {
  14760. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14761. "type": "integer"
  14762. },
  14763. "contracttmp": {
  14764. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14765. "type": "string"
  14766. },
  14767. "exchareaid": {
  14768. "description": "所属交易所,可以没有",
  14769. "type": "integer"
  14770. },
  14771. "goodstype": {
  14772. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14773. "type": "integer"
  14774. },
  14775. "hasrebate": {
  14776. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14777. "type": "integer"
  14778. },
  14779. "hastradecredit": {
  14780. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14781. "type": "integer"
  14782. },
  14783. "haswr": {
  14784. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14785. "type": "integer"
  14786. },
  14787. "isdeductmargin": {
  14788. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14789. "type": "integer"
  14790. },
  14791. "isrecordsource": {
  14792. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14793. "type": "integer"
  14794. },
  14795. "isreleasemargin": {
  14796. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14797. "type": "integer"
  14798. },
  14799. "marginformula": {
  14800. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14801. "type": "integer"
  14802. },
  14803. "marginformula2": {
  14804. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14805. "type": "integer"
  14806. },
  14807. "marketid": {
  14808. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14809. "type": "integer"
  14810. },
  14811. "marketname": {
  14812. "description": "市场名称",
  14813. "type": "string"
  14814. },
  14815. "marketserviceid": {
  14816. "description": "市场服务ID",
  14817. "type": "integer"
  14818. },
  14819. "marketstatus": {
  14820. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14821. "type": "integer"
  14822. },
  14823. "markettype": {
  14824. "description": "市场类型- 1:非交易服务 2:交易服务",
  14825. "type": "integer"
  14826. },
  14827. "matchermode": {
  14828. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14829. "type": "integer"
  14830. },
  14831. "openmethod": {
  14832. "description": "开盘模式 - 0 自动 1手动",
  14833. "type": "integer"
  14834. },
  14835. "otcuserid": {
  14836. "description": "场外期权做市商[场外期权]",
  14837. "type": "integer"
  14838. },
  14839. "outersynctime": {
  14840. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14841. "type": "string"
  14842. },
  14843. "pendingflag": {
  14844. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14845. "type": "integer"
  14846. },
  14847. "pendingtime": {
  14848. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14849. "type": "string"
  14850. },
  14851. "performancetempid": {
  14852. "description": "履约计划模板ID - 作废",
  14853. "type": "integer"
  14854. },
  14855. "premiumquotemode": {
  14856. "description": "权利金报价方式 - 1:自动 2:手动",
  14857. "type": "integer"
  14858. },
  14859. "rebateratio": {
  14860. "description": "返利比率[竞价式]",
  14861. "type": "number"
  14862. },
  14863. "reckonorder": {
  14864. "description": "结算顺序",
  14865. "type": "integer"
  14866. },
  14867. "reckonpricealgorithm": {
  14868. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14869. "type": "integer"
  14870. },
  14871. "reckonpriceparam": {
  14872. "description": "结算价参数",
  14873. "type": "integer"
  14874. },
  14875. "reckontime": {
  14876. "description": "结算时间[通道交易-对冲](HH:mm)",
  14877. "type": "string"
  14878. },
  14879. "roleprioritytype": {
  14880. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14881. "type": "integer"
  14882. },
  14883. "selllistingauditflag": {
  14884. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14885. "type": "integer"
  14886. },
  14887. "trademarkettype": {
  14888. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14889. "type": "integer"
  14890. },
  14891. "trademode": {
  14892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14893. "type": "integer"
  14894. },
  14895. "tradeproperty": {
  14896. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14897. "type": "integer"
  14898. },
  14899. "tradetype": {
  14900. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14901. "type": "integer"
  14902. }
  14903. }
  14904. },
  14905. "models.Marketrun": {
  14906. "type": "object",
  14907. "required": [
  14908. "marketid",
  14909. "nexttradedate",
  14910. "reckonflag",
  14911. "runstatus",
  14912. "tradedate",
  14913. "tradedate2"
  14914. ],
  14915. "properties": {
  14916. "afternexttradedate": {
  14917. "description": "下下交易日",
  14918. "type": "string"
  14919. },
  14920. "clearquoteflag": {
  14921. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14922. "type": "integer"
  14923. },
  14924. "lastreckondate": {
  14925. "description": "最新交易日(结算成功)",
  14926. "type": "string"
  14927. },
  14928. "machinedate": {
  14929. "description": "机器时间",
  14930. "type": "string"
  14931. },
  14932. "manualflag": {
  14933. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14934. "type": "integer"
  14935. },
  14936. "marketid": {
  14937. "description": "市场ID",
  14938. "type": "integer"
  14939. },
  14940. "nexttradedate": {
  14941. "description": "下一交易日",
  14942. "type": "string"
  14943. },
  14944. "pretradedate": {
  14945. "description": "上一交易日",
  14946. "type": "string"
  14947. },
  14948. "reckonflag": {
  14949. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14950. "type": "integer"
  14951. },
  14952. "runstatus": {
  14953. "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.今日免清算",
  14954. "type": "integer"
  14955. },
  14956. "sectionid": {
  14957. "description": "时间段号[多时段时用]",
  14958. "type": "integer"
  14959. },
  14960. "tradedate": {
  14961. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14962. "type": "string"
  14963. },
  14964. "tradedate2": {
  14965. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14966. "type": "string"
  14967. },
  14968. "updatetime": {
  14969. "description": "更新时间",
  14970. "type": "string"
  14971. }
  14972. }
  14973. },
  14974. "models.Messageboard": {
  14975. "type": "object",
  14976. "required": [
  14977. "messageboardid"
  14978. ],
  14979. "properties": {
  14980. "contactnum": {
  14981. "description": "联系电话",
  14982. "type": "string"
  14983. },
  14984. "createtime": {
  14985. "description": "创建时间",
  14986. "type": "string"
  14987. },
  14988. "message": {
  14989. "description": "留言信息",
  14990. "type": "string"
  14991. },
  14992. "messageboardid": {
  14993. "description": "留言簿ID(SEQ_MessageBoard)",
  14994. "type": "integer"
  14995. },
  14996. "userid": {
  14997. "description": "用户ID",
  14998. "type": "integer"
  14999. }
  15000. }
  15001. },
  15002. "models.MyCoupon": {
  15003. "type": "object",
  15004. "required": [
  15005. "accountid",
  15006. "coupontypeid"
  15007. ],
  15008. "properties": {
  15009. "accountid": {
  15010. "description": "资金账户ID",
  15011. "type": "integer"
  15012. },
  15013. "areauserid": {
  15014. "description": "所属机构",
  15015. "type": "integer"
  15016. },
  15017. "conditionvalue": {
  15018. "description": "条件阈值(可为0)",
  15019. "type": "number"
  15020. },
  15021. "couponcategroy": {
  15022. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15023. "type": "integer"
  15024. },
  15025. "couponname": {
  15026. "description": "优惠券名称",
  15027. "type": "string"
  15028. },
  15029. "coupontypeid": {
  15030. "description": "优惠券类型ID",
  15031. "type": "string"
  15032. },
  15033. "couponvalue": {
  15034. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15035. "type": "number"
  15036. },
  15037. "curfreezeqty": {
  15038. "description": "期末冻结数量",
  15039. "type": "integer"
  15040. },
  15041. "curqty": {
  15042. "description": "期末数量",
  15043. "type": "integer"
  15044. },
  15045. "isgeneral": {
  15046. "description": "是否通用券 - 0:否 1:是",
  15047. "type": "integer"
  15048. },
  15049. "isunusable": {
  15050. "description": "是否不可用",
  15051. "type": "boolean"
  15052. },
  15053. "limitedflag": {
  15054. "description": "是否指定商品 - 0:不限 1:限制",
  15055. "type": "integer"
  15056. },
  15057. "limitedgoodsids": {
  15058. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15059. "type": "string"
  15060. },
  15061. "orifreezeqty": {
  15062. "description": "期初冻结数量",
  15063. "type": "integer"
  15064. },
  15065. "oriqty": {
  15066. "description": "期初数量",
  15067. "type": "integer"
  15068. },
  15069. "reasontype": {
  15070. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15071. "type": "integer"
  15072. },
  15073. "todaydecrease": {
  15074. "description": "今日减少",
  15075. "type": "integer"
  15076. },
  15077. "todayincrease": {
  15078. "description": "今日增加",
  15079. "type": "integer"
  15080. },
  15081. "userid": {
  15082. "description": "用户ID",
  15083. "type": "integer"
  15084. },
  15085. "userscope": {
  15086. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15087. "type": "string"
  15088. }
  15089. }
  15090. },
  15091. "models.MyCouponHold": {
  15092. "type": "object",
  15093. "required": [
  15094. "couponholdid"
  15095. ],
  15096. "properties": {
  15097. "accountid": {
  15098. "description": "资金账户ID",
  15099. "type": "integer"
  15100. },
  15101. "conditionvalue": {
  15102. "description": "条件阈值(可为0)",
  15103. "type": "number"
  15104. },
  15105. "couponcategroy": {
  15106. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15107. "type": "integer"
  15108. },
  15109. "couponholdid": {
  15110. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15111. "type": "string"
  15112. },
  15113. "couponname": {
  15114. "description": "优惠券名称",
  15115. "type": "string"
  15116. },
  15117. "coupontypeid": {
  15118. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15119. "type": "string"
  15120. },
  15121. "couponvalue": {
  15122. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15123. "type": "number"
  15124. },
  15125. "createtime": {
  15126. "description": "创建时间",
  15127. "type": "string"
  15128. },
  15129. "enddate": {
  15130. "description": "结束日期",
  15131. "type": "string"
  15132. },
  15133. "giveapplyid": {
  15134. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15135. "type": "integer"
  15136. },
  15137. "holdstatus": {
  15138. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15139. "type": "integer"
  15140. },
  15141. "isgeneral": {
  15142. "description": "是否通用券 - 0:否 1:是",
  15143. "type": "integer"
  15144. },
  15145. "limitedflag": {
  15146. "description": "是否指定商品 - 0:不限 1:限制",
  15147. "type": "integer"
  15148. },
  15149. "limitedgoodsids": {
  15150. "description": "指定商品IDs[逗号分隔]",
  15151. "type": "string"
  15152. },
  15153. "qty": {
  15154. "description": "数量(按1平铺)",
  15155. "type": "integer"
  15156. },
  15157. "startdate": {
  15158. "description": "开始日期",
  15159. "type": "string"
  15160. },
  15161. "userid": {
  15162. "description": "用户ID",
  15163. "type": "integer"
  15164. },
  15165. "userscope": {
  15166. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15167. "type": "string"
  15168. }
  15169. }
  15170. },
  15171. "models.MyUsedCoupon": {
  15172. "type": "object",
  15173. "required": [
  15174. "coupontypeid",
  15175. "orderid"
  15176. ],
  15177. "properties": {
  15178. "accountid": {
  15179. "description": "资金账户ID(买方)",
  15180. "type": "integer"
  15181. },
  15182. "conditionvalue": {
  15183. "description": "条件阈值(可为0)",
  15184. "type": "number"
  15185. },
  15186. "couponcategroy": {
  15187. "description": "种类 - 1:现金券 2:折扣券",
  15188. "type": "integer"
  15189. },
  15190. "couponname": {
  15191. "description": "优惠券名称",
  15192. "type": "string"
  15193. },
  15194. "coupontypeid": {
  15195. "description": "优惠券类型ID(买方)",
  15196. "type": "string"
  15197. },
  15198. "couponvalue": {
  15199. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15200. "type": "number"
  15201. },
  15202. "createtime": {
  15203. "description": "创建时间",
  15204. "type": "string"
  15205. },
  15206. "goodsid": {
  15207. "description": "商品ID",
  15208. "type": "integer"
  15209. },
  15210. "handlestatus": {
  15211. "description": "处理状态",
  15212. "type": "integer"
  15213. },
  15214. "marketid": {
  15215. "description": "市场ID",
  15216. "type": "integer"
  15217. },
  15218. "offamount": {
  15219. "description": "优惠金额",
  15220. "type": "number"
  15221. },
  15222. "orderid": {
  15223. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15224. "type": "string"
  15225. },
  15226. "sellaccountid": {
  15227. "description": "资金账户ID(卖方)",
  15228. "type": "integer"
  15229. },
  15230. "tradeamount": {
  15231. "description": "成交金额",
  15232. "type": "number"
  15233. },
  15234. "tradeid": {
  15235. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15236. "type": "string"
  15237. },
  15238. "usedqty": {
  15239. "description": "使用数量",
  15240. "type": "integer"
  15241. }
  15242. }
  15243. },
  15244. "models.OperationPrimaryMenu": {
  15245. "type": "object",
  15246. "properties": {
  15247. "Children": {
  15248. "description": "二级功能菜单",
  15249. "type": "array",
  15250. "items": {
  15251. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15252. }
  15253. },
  15254. "Key": {
  15255. "description": "菜单KEY",
  15256. "type": "string"
  15257. },
  15258. "Label": {
  15259. "description": "菜单标题",
  15260. "type": "string"
  15261. }
  15262. }
  15263. },
  15264. "models.OperationSecondaryMenu": {
  15265. "type": "object",
  15266. "properties": {
  15267. "Key": {
  15268. "description": "菜单KEY",
  15269. "type": "string"
  15270. },
  15271. "Label": {
  15272. "description": "菜单标题",
  15273. "type": "string"
  15274. },
  15275. "TabList": {
  15276. "description": "三级功能菜单",
  15277. "type": "array",
  15278. "items": {
  15279. "$ref": "#/definitions/models.OperationTabMenu"
  15280. }
  15281. }
  15282. }
  15283. },
  15284. "models.OperationTabMenu": {
  15285. "type": "object",
  15286. "properties": {
  15287. "Key": {
  15288. "description": "菜单KEY",
  15289. "type": "string"
  15290. },
  15291. "Label": {
  15292. "description": "菜单标题",
  15293. "type": "string"
  15294. }
  15295. }
  15296. },
  15297. "models.PendingAuditBizModel": {
  15298. "type": "object",
  15299. "properties": {
  15300. "accountid": {
  15301. "description": "现货账户",
  15302. "type": "string"
  15303. },
  15304. "areaname": {
  15305. "description": "所属部门",
  15306. "type": "string"
  15307. },
  15308. "bizid": {
  15309. "description": "业务ID",
  15310. "type": "string"
  15311. },
  15312. "bizname": {
  15313. "description": "业务名称",
  15314. "type": "string"
  15315. },
  15316. "status": {
  15317. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15318. "type": "integer"
  15319. },
  15320. "type": {
  15321. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  15322. "type": "integer"
  15323. }
  15324. }
  15325. },
  15326. "models.QueryErrorInfosRsp": {
  15327. "type": "object",
  15328. "required": [
  15329. "errorid"
  15330. ],
  15331. "properties": {
  15332. "description": {
  15333. "description": "异常描述",
  15334. "type": "string"
  15335. },
  15336. "errorcode": {
  15337. "description": "异常代码",
  15338. "type": "string"
  15339. },
  15340. "errorid": {
  15341. "description": "异常ID",
  15342. "type": "integer"
  15343. },
  15344. "modulecode": {
  15345. "description": "所属模块",
  15346. "type": "string"
  15347. },
  15348. "operatecode": {
  15349. "description": "所属操作",
  15350. "type": "string"
  15351. },
  15352. "rownumber": {
  15353. "description": "行号",
  15354. "type": "string"
  15355. }
  15356. }
  15357. },
  15358. "models.QueryHedgeOrderDetailRsp": {
  15359. "type": "object",
  15360. "properties": {
  15361. "accountid": {
  15362. "description": "账户ID",
  15363. "type": "integer"
  15364. },
  15365. "buyorsell": {
  15366. "description": "买卖 - 0:买 1:卖",
  15367. "type": "integer"
  15368. },
  15369. "channelbuildtype": {
  15370. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15371. "type": "integer"
  15372. },
  15373. "channelinnerorderstatus": {
  15374. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15375. "type": "integer"
  15376. },
  15377. "channeloperatetype": {
  15378. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15379. "type": "integer"
  15380. },
  15381. "closetype": {
  15382. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15383. "type": "integer"
  15384. },
  15385. "curexchangerate": {
  15386. "description": "当前汇率",
  15387. "type": "number"
  15388. },
  15389. "exchangefullname": {
  15390. "description": "外部交易所全称",
  15391. "type": "string"
  15392. },
  15393. "goodscode": {
  15394. "description": "商品代码(内部)",
  15395. "type": "string"
  15396. },
  15397. "goodsid": {
  15398. "description": "商品ID",
  15399. "type": "integer"
  15400. },
  15401. "goodsname": {
  15402. "description": "商品名称",
  15403. "type": "string"
  15404. },
  15405. "marketid": {
  15406. "description": "市场ID",
  15407. "type": "integer"
  15408. },
  15409. "openfreezemargin": {
  15410. "description": "冻结保证金(冻结交易金额)",
  15411. "type": "number"
  15412. },
  15413. "orderid": {
  15414. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15415. "type": "string"
  15416. },
  15417. "orderprice": {
  15418. "description": "委托价格(账户)",
  15419. "type": "number"
  15420. },
  15421. "orderqty": {
  15422. "description": "委托数量",
  15423. "type": "integer"
  15424. },
  15425. "ordertime": {
  15426. "description": "委托时间",
  15427. "type": "string"
  15428. },
  15429. "pricemode": {
  15430. "description": "取价方式 - 1:市价 2: 限价",
  15431. "type": "integer"
  15432. },
  15433. "tradedate": {
  15434. "description": "交易日(yyyyMMdd)",
  15435. "type": "string"
  15436. },
  15437. "tradeqty": {
  15438. "description": "成交数量",
  15439. "type": "integer"
  15440. }
  15441. }
  15442. },
  15443. "models.QueryHedgeTradeDetailRsp": {
  15444. "type": "object",
  15445. "properties": {
  15446. "accountid": {
  15447. "description": "账号ID",
  15448. "type": "integer"
  15449. },
  15450. "buyorsell": {
  15451. "description": "方向 - 0:买 1:卖",
  15452. "type": "integer"
  15453. },
  15454. "channelbuildtype": {
  15455. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15456. "type": "integer"
  15457. },
  15458. "closecharge": {
  15459. "description": "平仓手续费(账户)",
  15460. "type": "number"
  15461. },
  15462. "closecharge2": {
  15463. "description": "平仓手续费(商品)",
  15464. "type": "number"
  15465. },
  15466. "closetype": {
  15467. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15468. "type": "integer"
  15469. },
  15470. "curexchangerate": {
  15471. "description": "当前汇率",
  15472. "type": "number"
  15473. },
  15474. "exchangefullname": {
  15475. "description": "外部交易所全称",
  15476. "type": "string"
  15477. },
  15478. "goodscode": {
  15479. "description": "商品代码(内部)",
  15480. "type": "string"
  15481. },
  15482. "goodsid": {
  15483. "description": "商品ID",
  15484. "type": "integer"
  15485. },
  15486. "goodsname": {
  15487. "description": "商品名称",
  15488. "type": "string"
  15489. },
  15490. "marketid": {
  15491. "description": "市场ID",
  15492. "type": "integer"
  15493. },
  15494. "opencharge": {
  15495. "description": "建仓手续费(账户)",
  15496. "type": "number"
  15497. },
  15498. "opencharge2": {
  15499. "description": "建仓手续费(商品)",
  15500. "type": "number"
  15501. },
  15502. "orderid": {
  15503. "description": "委托单号",
  15504. "type": "string"
  15505. },
  15506. "tradeamount": {
  15507. "description": "成交金额(账户)",
  15508. "type": "number"
  15509. },
  15510. "tradedate": {
  15511. "description": "交易日(yyyyMMdd)",
  15512. "type": "string"
  15513. },
  15514. "tradeid": {
  15515. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15516. "type": "string"
  15517. },
  15518. "tradeprice": {
  15519. "description": "成交价格",
  15520. "type": "number"
  15521. },
  15522. "tradeqty": {
  15523. "description": "成交数量",
  15524. "type": "integer"
  15525. },
  15526. "tradetime": {
  15527. "description": "成交时间",
  15528. "type": "string"
  15529. },
  15530. "tradetype": {
  15531. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15532. "type": "integer"
  15533. }
  15534. }
  15535. },
  15536. "models.QuotePrimaryMenu": {
  15537. "type": "object",
  15538. "properties": {
  15539. "Index": {
  15540. "description": "序号",
  15541. "type": "integer"
  15542. },
  15543. "Key": {
  15544. "description": "键名",
  15545. "type": "string"
  15546. },
  15547. "Name": {
  15548. "description": "菜单名称",
  15549. "type": "string"
  15550. },
  15551. "SubMenus": {
  15552. "description": "子菜单",
  15553. "type": "array",
  15554. "items": {
  15555. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15556. }
  15557. },
  15558. "SubTitleType": {
  15559. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15560. "type": "integer"
  15561. },
  15562. "TradeModes": {
  15563. "description": "包含市场交易类型",
  15564. "type": "string"
  15565. }
  15566. }
  15567. },
  15568. "models.QuoteSecondaryMenu": {
  15569. "type": "object",
  15570. "properties": {
  15571. "ExExchangeCode": {
  15572. "description": "外部交易所代码",
  15573. "type": "string"
  15574. },
  15575. "ExExchangeID": {
  15576. "description": "外部交易所ID",
  15577. "type": "integer"
  15578. },
  15579. "GoodsGroupIDs": {
  15580. "description": "商品组ID列表",
  15581. "type": "array",
  15582. "items": {
  15583. "type": "integer"
  15584. }
  15585. },
  15586. "Index": {
  15587. "description": "序号",
  15588. "type": "integer"
  15589. },
  15590. "MarketID": {
  15591. "description": "市场ID",
  15592. "type": "integer"
  15593. },
  15594. "MenuTitle": {
  15595. "description": "菜单标题(市场名称或外部交易所名称)",
  15596. "type": "string"
  15597. },
  15598. "TradeMode": {
  15599. "description": "交易模式",
  15600. "type": "integer"
  15601. }
  15602. }
  15603. },
  15604. "models.RelatedGoodsEx": {
  15605. "type": "object",
  15606. "properties": {
  15607. "goodscode": {
  15608. "description": "商品代码",
  15609. "type": "string"
  15610. },
  15611. "goodsid": {
  15612. "description": "商品id",
  15613. "type": "integer"
  15614. },
  15615. "goodsname": {
  15616. "description": "商品名称",
  15617. "type": "string"
  15618. }
  15619. }
  15620. },
  15621. "models.SearchGoods": {
  15622. "type": "object",
  15623. "required": [
  15624. "goodscode",
  15625. "goodsid",
  15626. "goodsname",
  15627. "marketid",
  15628. "trademode"
  15629. ],
  15630. "properties": {
  15631. "goodscode": {
  15632. "description": "商品代码(内部)",
  15633. "type": "string"
  15634. },
  15635. "goodsid": {
  15636. "description": "商品ID(自增ID SEQ_GOODS)",
  15637. "type": "integer"
  15638. },
  15639. "goodsname": {
  15640. "description": "商品名称",
  15641. "type": "string"
  15642. },
  15643. "marketid": {
  15644. "description": "所属市场ID",
  15645. "type": "integer"
  15646. },
  15647. "marketname": {
  15648. "description": "市场名称",
  15649. "type": "string"
  15650. },
  15651. "trademode": {
  15652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15653. "type": "integer"
  15654. }
  15655. }
  15656. },
  15657. "models.Systemparam": {
  15658. "type": "object",
  15659. "required": [
  15660. "paramcode"
  15661. ],
  15662. "properties": {
  15663. "loginid": {
  15664. "description": "更新用户账号,登录账号",
  15665. "type": "string"
  15666. },
  15667. "modifyflag": {
  15668. "description": "修改标志0 不允许修改 1 允许修改",
  15669. "type": "integer"
  15670. },
  15671. "paramcode": {
  15672. "description": "参数代码",
  15673. "type": "string"
  15674. },
  15675. "paramname": {
  15676. "description": "参数名",
  15677. "type": "string"
  15678. },
  15679. "paramtype": {
  15680. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15681. "type": "integer"
  15682. },
  15683. "paramvalue": {
  15684. "description": "参数值",
  15685. "type": "string"
  15686. },
  15687. "paramvalue2": {
  15688. "description": "参数值(CLOB)",
  15689. "type": "string"
  15690. },
  15691. "regexpress": {
  15692. "description": "正则表达式",
  15693. "type": "string"
  15694. },
  15695. "remark": {
  15696. "description": "备注",
  15697. "type": "string"
  15698. },
  15699. "serverip": {
  15700. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15701. "type": "string"
  15702. },
  15703. "showflag": {
  15704. "description": "是否显示0 不显示 1 显示",
  15705. "type": "integer"
  15706. },
  15707. "updatetime": {
  15708. "description": "更新时间",
  15709. "type": "string"
  15710. },
  15711. "userid": {
  15712. "description": "更新用户ID",
  15713. "type": "integer"
  15714. }
  15715. }
  15716. },
  15717. "models.Szdz3convertconfig": {
  15718. "type": "object",
  15719. "required": [
  15720. "converttype",
  15721. "innergoodsid",
  15722. "outergoodscode"
  15723. ],
  15724. "properties": {
  15725. "canin": {
  15726. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15727. "type": "integer"
  15728. },
  15729. "canout": {
  15730. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15731. "type": "integer"
  15732. },
  15733. "converttype": {
  15734. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15735. "type": "integer"
  15736. },
  15737. "createtime": {
  15738. "description": "创建时间",
  15739. "type": "string"
  15740. },
  15741. "creatorid": {
  15742. "description": "创建人",
  15743. "type": "integer"
  15744. },
  15745. "daymaxvalue": {
  15746. "description": "当日最大转入限制",
  15747. "type": "number"
  15748. },
  15749. "freezedays": {
  15750. "description": "冻结天数 [5:花生米转交易]",
  15751. "type": "integer"
  15752. },
  15753. "innergoodsid": {
  15754. "description": "内部商品ID[交易]",
  15755. "type": "integer"
  15756. },
  15757. "inratio": {
  15758. "description": "目标值",
  15759. "type": "integer"
  15760. },
  15761. "modifierid": {
  15762. "description": "修改人",
  15763. "type": "integer"
  15764. },
  15765. "modifytime": {
  15766. "description": "修改时间",
  15767. "type": "string"
  15768. },
  15769. "outergoodscode": {
  15770. "description": "外部商品代码[JD\\PD]",
  15771. "type": "string"
  15772. },
  15773. "outratio": {
  15774. "description": "源值",
  15775. "type": "integer"
  15776. },
  15777. "pddecimalplace": {
  15778. "description": "PD小数位",
  15779. "type": "integer"
  15780. },
  15781. "timemaxvalue": {
  15782. "description": "单次最大转入限制",
  15783. "type": "number"
  15784. },
  15785. "timeminvalue": {
  15786. "description": "单次最小转入限制",
  15787. "type": "number"
  15788. }
  15789. }
  15790. },
  15791. "models.Szdz3searchwhitelist": {
  15792. "type": "object",
  15793. "required": [
  15794. "userid"
  15795. ],
  15796. "properties": {
  15797. "createtime": {
  15798. "description": "创建时间",
  15799. "type": "string"
  15800. },
  15801. "creatorid": {
  15802. "description": "创建人",
  15803. "type": "integer"
  15804. },
  15805. "modifierid": {
  15806. "description": "修改人",
  15807. "type": "integer"
  15808. },
  15809. "modifytime": {
  15810. "description": "修改时间",
  15811. "type": "string"
  15812. },
  15813. "userid": {
  15814. "description": "用户ID",
  15815. "type": "integer"
  15816. }
  15817. }
  15818. },
  15819. "models.Taaccount": {
  15820. "type": "object",
  15821. "required": [
  15822. "accountid",
  15823. "userid"
  15824. ],
  15825. "properties": {
  15826. "accountflag": {
  15827. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15828. "type": "integer"
  15829. },
  15830. "accountid": {
  15831. "description": "资金账户ID",
  15832. "type": "integer"
  15833. },
  15834. "accountname": {
  15835. "description": "账户名称",
  15836. "type": "string"
  15837. },
  15838. "balance": {
  15839. "description": "期初余额",
  15840. "type": "number"
  15841. },
  15842. "capitalbalance": {
  15843. "description": "本金余额[外部子账户实际出入金余额]",
  15844. "type": "number"
  15845. },
  15846. "changeflag": {
  15847. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15848. "type": "integer"
  15849. },
  15850. "changetime": {
  15851. "description": "账户状态变更时间",
  15852. "type": "string"
  15853. },
  15854. "closepl": {
  15855. "description": "今日平仓盈亏",
  15856. "type": "number"
  15857. },
  15858. "creditdecrease": {
  15859. "description": "今日授信减少",
  15860. "type": "number"
  15861. },
  15862. "creditincrease": {
  15863. "description": "今日授信增加",
  15864. "type": "number"
  15865. },
  15866. "currencyid": {
  15867. "description": "货币ID",
  15868. "type": "integer"
  15869. },
  15870. "currentbalance": {
  15871. "description": "期末余额",
  15872. "type": "number"
  15873. },
  15874. "freezecharge": {
  15875. "description": "手续费冻结",
  15876. "type": "number"
  15877. },
  15878. "freezemargin": {
  15879. "description": "冻结保证金",
  15880. "type": "number"
  15881. },
  15882. "fromaccountid": {
  15883. "description": "所属上级账户",
  15884. "type": "integer"
  15885. },
  15886. "inamount": {
  15887. "description": "今日入金金额(包括三方入金)",
  15888. "type": "number"
  15889. },
  15890. "ismain": {
  15891. "description": "是否母账号 0:不是母账户 1:是母账户",
  15892. "type": "integer"
  15893. },
  15894. "ismarketaccount": {
  15895. "description": "是否机构接单账号 0:不是 1:是",
  15896. "type": "integer"
  15897. },
  15898. "isreckonaccount": {
  15899. "description": "是否机构分润账号 0:不是 1:是",
  15900. "type": "integer"
  15901. },
  15902. "mortgagecredit": {
  15903. "description": "授信金额",
  15904. "type": "number"
  15905. },
  15906. "orifreezecharge": {
  15907. "description": "期初手续费冻结",
  15908. "type": "number"
  15909. },
  15910. "orifreezemargin": {
  15911. "description": "期初冻结保证金",
  15912. "type": "number"
  15913. },
  15914. "orimortgagecredit": {
  15915. "description": "期初授信金额",
  15916. "type": "number"
  15917. },
  15918. "oriothercredit": {
  15919. "description": "期初其它授信金额",
  15920. "type": "number"
  15921. },
  15922. "oriotherfreezemargin": {
  15923. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15924. "type": "number"
  15925. },
  15926. "orioutamountfreeze": {
  15927. "description": "期初出金冻结",
  15928. "type": "number"
  15929. },
  15930. "oriusedmargin": {
  15931. "description": "期初占用保证金",
  15932. "type": "number"
  15933. },
  15934. "othercredit": {
  15935. "description": "其它授信金额",
  15936. "type": "number"
  15937. },
  15938. "othercreditdecrease": {
  15939. "description": "今日其它授信减少",
  15940. "type": "number"
  15941. },
  15942. "othercreditincrease": {
  15943. "description": "今日其它授信增加",
  15944. "type": "number"
  15945. },
  15946. "otherfreezemargin": {
  15947. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15948. "type": "number"
  15949. },
  15950. "otherincome": {
  15951. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15952. "type": "number"
  15953. },
  15954. "otherpay": {
  15955. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15956. "type": "number"
  15957. },
  15958. "outamount": {
  15959. "description": "今日出金金额(包括三方出金)",
  15960. "type": "number"
  15961. },
  15962. "outamountfreeze": {
  15963. "description": "出金冻结",
  15964. "type": "number"
  15965. },
  15966. "outthreshold": {
  15967. "description": "出金阈值",
  15968. "type": "number"
  15969. },
  15970. "parentaccountid": {
  15971. "description": "所属根账号",
  15972. "type": "integer"
  15973. },
  15974. "paycharge": {
  15975. "description": "今日手续费支出",
  15976. "type": "number"
  15977. },
  15978. "relatedaccountstatus": {
  15979. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15980. "type": "integer"
  15981. },
  15982. "relateduserid": {
  15983. "description": "关联用户",
  15984. "type": "integer"
  15985. },
  15986. "serivcegroup": {
  15987. "description": "服务分组",
  15988. "type": "integer"
  15989. },
  15990. "signstatus": {
  15991. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15992. "type": "integer"
  15993. },
  15994. "sublevelpath": {
  15995. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15996. "type": "string"
  15997. },
  15998. "taaccounttype": {
  15999. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16000. "type": "integer"
  16001. },
  16002. "thirdinamount": {
  16003. "description": "今日三方入金",
  16004. "type": "number"
  16005. },
  16006. "thirdoutamount": {
  16007. "description": "今日三方出金",
  16008. "type": "number"
  16009. },
  16010. "tradestatus": {
  16011. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16012. "type": "integer"
  16013. },
  16014. "tradestatuschangetime": {
  16015. "description": "激活时间",
  16016. "type": "string"
  16017. },
  16018. "transferamount": {
  16019. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16020. "type": "number"
  16021. },
  16022. "usedmargin": {
  16023. "description": "占用保证金",
  16024. "type": "number"
  16025. },
  16026. "userid": {
  16027. "description": "用户ID",
  16028. "type": "integer"
  16029. }
  16030. }
  16031. },
  16032. "models.Tablecolumnconfig": {
  16033. "type": "object",
  16034. "required": [
  16035. "autoid"
  16036. ],
  16037. "properties": {
  16038. "aligntype": {
  16039. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16040. "type": "integer"
  16041. },
  16042. "autoid": {
  16043. "description": "AutoID",
  16044. "type": "integer"
  16045. },
  16046. "columnfield": {
  16047. "description": "列字段",
  16048. "type": "string"
  16049. },
  16050. "columntitle": {
  16051. "description": "列Title",
  16052. "type": "string"
  16053. },
  16054. "columnwidth": {
  16055. "description": "列宽",
  16056. "type": "string"
  16057. },
  16058. "formatterstring": {
  16059. "description": "格式化字符",
  16060. "type": "string"
  16061. },
  16062. "formattertype": {
  16063. "description": "格式化类型",
  16064. "type": "string"
  16065. },
  16066. "groupname": {
  16067. "description": "表头分组名称",
  16068. "type": "string"
  16069. },
  16070. "isshow": {
  16071. "description": "是否显示 - 0:不显示 1:显示",
  16072. "type": "integer"
  16073. },
  16074. "needsummary": {
  16075. "description": "是否需要汇总 - 0:不需要 1:需要",
  16076. "type": "integer"
  16077. },
  16078. "orderindex": {
  16079. "description": "顺序",
  16080. "type": "integer"
  16081. },
  16082. "remark": {
  16083. "description": "备注",
  16084. "type": "string"
  16085. },
  16086. "summarytype": {
  16087. "description": "汇总类型 - 1:加总 2:最后一个",
  16088. "type": "integer"
  16089. },
  16090. "tablekey": {
  16091. "description": "列表Key",
  16092. "type": "string"
  16093. }
  16094. }
  16095. },
  16096. "models.Useraccount": {
  16097. "type": "object",
  16098. "required": [
  16099. "userid"
  16100. ],
  16101. "properties": {
  16102. "accountname": {
  16103. "description": "账户名称(机构名称)",
  16104. "type": "string"
  16105. },
  16106. "accountstatus": {
  16107. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16108. "type": "integer"
  16109. },
  16110. "auditremark": {
  16111. "description": "审核备注",
  16112. "type": "string"
  16113. },
  16114. "audittime": {
  16115. "description": "审核时间",
  16116. "type": "string"
  16117. },
  16118. "audituserid": {
  16119. "description": "审核人",
  16120. "type": "integer"
  16121. },
  16122. "broker": {
  16123. "description": "所属经纪人ID",
  16124. "type": "integer"
  16125. },
  16126. "canceltime": {
  16127. "description": "销户时间",
  16128. "type": "string"
  16129. },
  16130. "canceluserid": {
  16131. "description": "销户人",
  16132. "type": "integer"
  16133. },
  16134. "createtime": {
  16135. "description": "创建时间",
  16136. "type": "string"
  16137. },
  16138. "creatorid": {
  16139. "description": "创建人",
  16140. "type": "integer"
  16141. },
  16142. "hasauth": {
  16143. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16144. "type": "integer"
  16145. },
  16146. "isanonymous": {
  16147. "description": "是否匿名下单 - 0:否 1:是",
  16148. "type": "integer"
  16149. },
  16150. "maxinvestornum": {
  16151. "description": "最大用户数(经纪会员下投资者个数)",
  16152. "type": "integer"
  16153. },
  16154. "memberuserid": {
  16155. "description": "所属会员ID",
  16156. "type": "integer"
  16157. },
  16158. "modifierid": {
  16159. "description": "修改人",
  16160. "type": "integer"
  16161. },
  16162. "modifyremark": {
  16163. "description": "变更备注",
  16164. "type": "string"
  16165. },
  16166. "modifystatus": {
  16167. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16168. "type": "integer"
  16169. },
  16170. "modifytime": {
  16171. "description": "修改时间",
  16172. "type": "string"
  16173. },
  16174. "parentuserid": {
  16175. "description": "所属机构ID",
  16176. "type": "integer"
  16177. },
  16178. "reckonaccountid": {
  16179. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16180. "type": "integer"
  16181. },
  16182. "refercount": {
  16183. "description": "推荐总人数",
  16184. "type": "integer"
  16185. },
  16186. "refereeuserid": {
  16187. "description": "推荐人ID",
  16188. "type": "integer"
  16189. },
  16190. "refernum": {
  16191. "description": "推荐码",
  16192. "type": "string"
  16193. },
  16194. "subarealevelpath": {
  16195. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16196. "type": "string"
  16197. },
  16198. "userid": {
  16199. "description": "用户ID",
  16200. "type": "integer"
  16201. },
  16202. "usertype": {
  16203. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16204. "type": "integer"
  16205. }
  16206. }
  16207. },
  16208. "models.Userfavoritegoods": {
  16209. "type": "object",
  16210. "required": [
  16211. "goodsid"
  16212. ],
  16213. "properties": {
  16214. "goodsid": {
  16215. "description": "商品ID",
  16216. "type": "integer"
  16217. }
  16218. }
  16219. },
  16220. "models.Userinfo": {
  16221. "type": "object",
  16222. "required": [
  16223. "userid"
  16224. ],
  16225. "properties": {
  16226. "address": {
  16227. "description": "地址",
  16228. "type": "string"
  16229. },
  16230. "attachment1": {
  16231. "description": "附件1",
  16232. "type": "string"
  16233. },
  16234. "attachment2": {
  16235. "description": "附件2",
  16236. "type": "string"
  16237. },
  16238. "bankaccount": {
  16239. "description": "银行帐号 (加密存储)",
  16240. "type": "string"
  16241. },
  16242. "bankaccountname": {
  16243. "description": "收款人名称",
  16244. "type": "string"
  16245. },
  16246. "bankcardfrontphotourl": {
  16247. "description": "银行卡正面照地址",
  16248. "type": "string"
  16249. },
  16250. "bankid": {
  16251. "description": "银行编码",
  16252. "type": "string"
  16253. },
  16254. "bankname": {
  16255. "description": "银行名称",
  16256. "type": "string"
  16257. },
  16258. "biznature": {
  16259. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16260. "type": "integer"
  16261. },
  16262. "bizscope": {
  16263. "description": "企业经营范围(企业)",
  16264. "type": "string"
  16265. },
  16266. "cardbackphotourl": {
  16267. "description": "证件背面图片地址",
  16268. "type": "string"
  16269. },
  16270. "cardfrontphotourl": {
  16271. "description": "证件正面图片地址",
  16272. "type": "string"
  16273. },
  16274. "cardnum": {
  16275. "description": "证件号码(加密存储)",
  16276. "type": "string"
  16277. },
  16278. "cardtypeid": {
  16279. "description": "证件类型ID",
  16280. "type": "integer"
  16281. },
  16282. "cityid": {
  16283. "description": "市",
  16284. "type": "integer"
  16285. },
  16286. "company": {
  16287. "description": "公司(个人)",
  16288. "type": "string"
  16289. },
  16290. "contactname": {
  16291. "description": "联系人",
  16292. "type": "string"
  16293. },
  16294. "countryid": {
  16295. "description": "国家",
  16296. "type": "integer"
  16297. },
  16298. "createtime": {
  16299. "description": "创建时间",
  16300. "type": "string"
  16301. },
  16302. "creatorid": {
  16303. "description": "创建人",
  16304. "type": "integer"
  16305. },
  16306. "customername": {
  16307. "description": "客户名称(企业名称)",
  16308. "type": "string"
  16309. },
  16310. "districtid": {
  16311. "description": "地区",
  16312. "type": "integer"
  16313. },
  16314. "email": {
  16315. "description": "邮件(加密存储)",
  16316. "type": "string"
  16317. },
  16318. "fax": {
  16319. "description": "传真(加密存储)",
  16320. "type": "string"
  16321. },
  16322. "halfbodyphotourl": {
  16323. "description": "半身照地址",
  16324. "type": "string"
  16325. },
  16326. "hasencrypt": {
  16327. "description": "数据是否已加密 - 0:未加密 1:已加密",
  16328. "type": "integer"
  16329. },
  16330. "headurl": {
  16331. "description": "头像地址",
  16332. "type": "string"
  16333. },
  16334. "legalcardbackphotourl": {
  16335. "description": "法人身份证背面照地址",
  16336. "type": "string"
  16337. },
  16338. "legalcardfrontphotourl": {
  16339. "description": "法人身份证正面照地址",
  16340. "type": "string"
  16341. },
  16342. "legalpersonname": {
  16343. "description": "法人姓名(企业)",
  16344. "type": "string"
  16345. },
  16346. "mobile": {
  16347. "description": "手机号码(加密存储)",
  16348. "type": "string"
  16349. },
  16350. "mobile2": {
  16351. "description": "手机号码[明文-尚志]",
  16352. "type": "string"
  16353. },
  16354. "modifierid": {
  16355. "description": "修改人",
  16356. "type": "integer"
  16357. },
  16358. "modifiertime": {
  16359. "description": "修改时间",
  16360. "type": "string"
  16361. },
  16362. "needinvoice": {
  16363. "description": "是否需要发票 - 0:不需要 1:需要",
  16364. "type": "integer"
  16365. },
  16366. "nickname": {
  16367. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16368. "type": "string"
  16369. },
  16370. "openmode": {
  16371. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16372. "type": "integer"
  16373. },
  16374. "otherurl": {
  16375. "description": "其它图片地址[使用分号分隔]",
  16376. "type": "string"
  16377. },
  16378. "postalcode": {
  16379. "description": "邮政编码",
  16380. "type": "string"
  16381. },
  16382. "provinceid": {
  16383. "description": "省",
  16384. "type": "integer"
  16385. },
  16386. "qq": {
  16387. "description": "QQ(加密存储",
  16388. "type": "string"
  16389. },
  16390. "remark": {
  16391. "description": "备注",
  16392. "type": "string"
  16393. },
  16394. "sex": {
  16395. "description": "用户性别 0: 女 1: 男",
  16396. "type": "integer"
  16397. },
  16398. "signpdfurl": {
  16399. "description": "签约pdf文件",
  16400. "type": "string"
  16401. },
  16402. "telphone": {
  16403. "description": "联系电话(加密存储)",
  16404. "type": "string"
  16405. },
  16406. "userid": {
  16407. "description": "用户ID",
  16408. "type": "integer"
  16409. },
  16410. "userinfotype": {
  16411. "description": "用户信息类型 - 1:个人 2:企业",
  16412. "type": "integer"
  16413. },
  16414. "userstatus": {
  16415. "description": "用户状态 - 1:正常 2:注销",
  16416. "type": "integer"
  16417. },
  16418. "usertype": {
  16419. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16420. "type": "integer"
  16421. },
  16422. "wechat": {
  16423. "description": "微信(加密存储)",
  16424. "type": "string"
  16425. },
  16426. "wskhinfo": {
  16427. "description": "开户申请信息(JSON)",
  16428. "type": "string"
  16429. }
  16430. }
  16431. },
  16432. "models.WRCategoryTree": {
  16433. "type": "object",
  16434. "required": [
  16435. "categoryid"
  16436. ],
  16437. "properties": {
  16438. "areauserid": {
  16439. "description": "所属机构",
  16440. "type": "integer"
  16441. },
  16442. "categorydesc": {
  16443. "description": "类别描述",
  16444. "type": "string"
  16445. },
  16446. "categoryid": {
  16447. "description": "类别ID(SEQ_WRCATEGORY)",
  16448. "type": "integer"
  16449. },
  16450. "categoryname": {
  16451. "description": "类别名称",
  16452. "type": "string"
  16453. },
  16454. "iconurl": {
  16455. "description": "图标地址",
  16456. "type": "string"
  16457. },
  16458. "orderindex": {
  16459. "description": "顺序",
  16460. "type": "integer"
  16461. },
  16462. "parentcategoryid": {
  16463. "description": "父类别ID",
  16464. "type": "integer"
  16465. },
  16466. "subcategory": {
  16467. "description": "子分类",
  16468. "type": "array",
  16469. "items": {
  16470. "$ref": "#/definitions/models.WRCategoryTree"
  16471. }
  16472. }
  16473. }
  16474. },
  16475. "models.WRSConverTDetail": {
  16476. "type": "object",
  16477. "properties": {
  16478. "convertratio": {
  16479. "description": "套保系数",
  16480. "type": "number"
  16481. },
  16482. "deliverygoodsid": {
  16483. "description": "现货品种ID",
  16484. "type": "integer"
  16485. },
  16486. "middlegoodscode": {
  16487. "description": "套保品种代码",
  16488. "type": "string"
  16489. },
  16490. "middlegoodsid": {
  16491. "description": "套保品种ID",
  16492. "type": "integer"
  16493. },
  16494. "middlegoodsname": {
  16495. "description": "套保品种名称",
  16496. "type": "string"
  16497. },
  16498. "modifytime": {
  16499. "description": "修改时间",
  16500. "type": "string"
  16501. },
  16502. "wrstandardid": {
  16503. "description": "现货商品ID",
  16504. "type": "integer"
  16505. }
  16506. }
  16507. },
  16508. "models.WRStandardInfo": {
  16509. "type": "object",
  16510. "required": [
  16511. "wrstandardid"
  16512. ],
  16513. "properties": {
  16514. "createtime": {
  16515. "description": "创建时间",
  16516. "type": "string"
  16517. },
  16518. "creatorid": {
  16519. "description": "创建人",
  16520. "type": "integer"
  16521. },
  16522. "deliverygoodsid": {
  16523. "description": "品种ID",
  16524. "type": "integer"
  16525. },
  16526. "deliverygoodsname": {
  16527. "description": "交割商品名称",
  16528. "type": "string"
  16529. },
  16530. "factoryitemjson": {
  16531. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16532. "type": "string"
  16533. },
  16534. "isvalid": {
  16535. "description": "是否有效 - 0:无效 1:有效",
  16536. "type": "integer"
  16537. },
  16538. "minivalue": {
  16539. "description": "最小变动值",
  16540. "type": "integer"
  16541. },
  16542. "minivaluedp": {
  16543. "description": "最小变动值小数位",
  16544. "type": "integer"
  16545. },
  16546. "realminivalue": {
  16547. "description": "实际最小变动值",
  16548. "type": "integer"
  16549. },
  16550. "realminivaluedp": {
  16551. "description": "实际最小变动值小数位",
  16552. "type": "integer"
  16553. },
  16554. "unitid": {
  16555. "description": "单位ID",
  16556. "type": "integer"
  16557. },
  16558. "unitname": {
  16559. "description": "单位",
  16560. "type": "string"
  16561. },
  16562. "updatetime": {
  16563. "description": "更新时间",
  16564. "type": "string"
  16565. },
  16566. "updatorid": {
  16567. "description": "更新人",
  16568. "type": "integer"
  16569. },
  16570. "wrsstatus": {
  16571. "description": "状态 - 作废 - 0:未激活 1:正常",
  16572. "type": "integer"
  16573. },
  16574. "wrstandardcode": {
  16575. "description": "仓单标准代码",
  16576. "type": "string"
  16577. },
  16578. "wrstandardid": {
  16579. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16580. "type": "integer"
  16581. },
  16582. "wrstandardname": {
  16583. "description": "仓单标准名称",
  16584. "type": "string"
  16585. }
  16586. }
  16587. },
  16588. "models.Warehouseinfo": {
  16589. "type": "object",
  16590. "required": [
  16591. "autoid",
  16592. "warehousecode"
  16593. ],
  16594. "properties": {
  16595. "address": {
  16596. "description": "详细地址",
  16597. "type": "string"
  16598. },
  16599. "areauserid": {
  16600. "description": "所属机构",
  16601. "type": "integer"
  16602. },
  16603. "autoid": {
  16604. "description": "自增ID",
  16605. "type": "integer"
  16606. },
  16607. "cityid": {
  16608. "description": "市",
  16609. "type": "integer"
  16610. },
  16611. "contactname": {
  16612. "description": "联系人",
  16613. "type": "string"
  16614. },
  16615. "contactnum": {
  16616. "description": "联系电话",
  16617. "type": "string"
  16618. },
  16619. "countryid": {
  16620. "description": "国家",
  16621. "type": "integer"
  16622. },
  16623. "createtime": {
  16624. "description": "创建时间",
  16625. "type": "string"
  16626. },
  16627. "districtid": {
  16628. "description": "区",
  16629. "type": "integer"
  16630. },
  16631. "hasvideo": {
  16632. "description": "是否有视频 - 0:无 1:有",
  16633. "type": "integer"
  16634. },
  16635. "provinceid": {
  16636. "description": "省",
  16637. "type": "integer"
  16638. },
  16639. "remark": {
  16640. "description": "审核备注",
  16641. "type": "string"
  16642. },
  16643. "videourl": {
  16644. "description": "视频地址",
  16645. "type": "string"
  16646. },
  16647. "warehousecode": {
  16648. "description": "仓库代码",
  16649. "type": "string"
  16650. },
  16651. "warehousename": {
  16652. "description": "仓库名称",
  16653. "type": "string"
  16654. },
  16655. "warehousestatus": {
  16656. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16657. "type": "integer"
  16658. },
  16659. "warehousetype": {
  16660. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16661. "type": "integer"
  16662. }
  16663. }
  16664. },
  16665. "order.QueryHisTradeDetailRsp": {
  16666. "type": "object",
  16667. "required": [
  16668. "accountid",
  16669. "buyorsell",
  16670. "goodsid",
  16671. "histradedate",
  16672. "marketid",
  16673. "memberuserid",
  16674. "orderid",
  16675. "tradeamount",
  16676. "tradedate",
  16677. "tradeid",
  16678. "tradeprice",
  16679. "tradeqty",
  16680. "tradetime"
  16681. ],
  16682. "properties": {
  16683. "accountid": {
  16684. "description": "账户ID[报价币种]",
  16685. "type": "integer"
  16686. },
  16687. "buildtype": {
  16688. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16689. "type": "integer"
  16690. },
  16691. "buyorsell": {
  16692. "description": "方向 - 0:买 1:卖",
  16693. "type": "integer"
  16694. },
  16695. "charge": {
  16696. "description": "手续费",
  16697. "type": "number"
  16698. },
  16699. "closecharge": {
  16700. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16701. "type": "number"
  16702. },
  16703. "closeexchagechargevalue": {
  16704. "description": "平仓交易所手续费设置值",
  16705. "type": "number"
  16706. },
  16707. "closefeealgorithm": {
  16708. "description": "平仓手续费收取方式 1:比率 2:固定",
  16709. "type": "integer"
  16710. },
  16711. "closememberchargevalue": {
  16712. "description": "平仓会员手续费设置值",
  16713. "type": "number"
  16714. },
  16715. "closepl": {
  16716. "description": "平仓盈亏",
  16717. "type": "number"
  16718. },
  16719. "closepl2": {
  16720. "description": "平仓盈亏[逐笔]",
  16721. "type": "number"
  16722. },
  16723. "closeqty": {
  16724. "description": "平仓数量(先建后平操作 需要记录)",
  16725. "type": "integer"
  16726. },
  16727. "creditamount": {
  16728. "description": "授信金额",
  16729. "type": "number"
  16730. },
  16731. "gcaccountid": {
  16732. "description": "账户ID[合约币种]",
  16733. "type": "integer"
  16734. },
  16735. "goodscode": {
  16736. "description": "商品代码",
  16737. "type": "string"
  16738. },
  16739. "goodsid": {
  16740. "description": "商品ID",
  16741. "type": "integer"
  16742. },
  16743. "goodsname": {
  16744. "description": "商品名称",
  16745. "type": "string"
  16746. },
  16747. "histradedate": {
  16748. "description": "历史交易日",
  16749. "type": "string"
  16750. },
  16751. "intclosepl": {
  16752. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16753. "type": "integer"
  16754. },
  16755. "isconfirmexercise": {
  16756. "description": "是否确认行权- 0:否 1:是",
  16757. "type": "integer"
  16758. },
  16759. "ismain": {
  16760. "description": "是否主单 - 0:不是 1:是",
  16761. "type": "integer"
  16762. },
  16763. "ispreexercise": {
  16764. "description": "是否预申报- 0:否 1:是",
  16765. "type": "integer"
  16766. },
  16767. "isreckoned": {
  16768. "description": "是否结算 - 0:未结算 1:已结算",
  16769. "type": "integer"
  16770. },
  16771. "isvaliddata": {
  16772. "description": "是否有效 - 0:无效 1:有效",
  16773. "type": "integer"
  16774. },
  16775. "listingselecttype": {
  16776. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16777. "type": "integer"
  16778. },
  16779. "marketid": {
  16780. "description": "市场ID",
  16781. "type": "integer"
  16782. },
  16783. "marketname": {
  16784. "description": "市场名称",
  16785. "type": "string"
  16786. },
  16787. "matchaccountid": {
  16788. "description": "对手账号id",
  16789. "type": "integer"
  16790. },
  16791. "memberuserid": {
  16792. "description": "会员id 个人投资者 需要填写",
  16793. "type": "integer"
  16794. },
  16795. "opencharge": {
  16796. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16797. "type": "number"
  16798. },
  16799. "openexchagechargevalue": {
  16800. "description": "建仓交易所手续费设置值",
  16801. "type": "number"
  16802. },
  16803. "openfeealgorithm": {
  16804. "description": "建仓手续费收取方式 1:比率 2:固定",
  16805. "type": "integer"
  16806. },
  16807. "openmemberchargevalue": {
  16808. "description": "建仓会员手续费设置值",
  16809. "type": "number"
  16810. },
  16811. "openqty": {
  16812. "description": "开仓数量(先建后平操作 需要记录)",
  16813. "type": "integer"
  16814. },
  16815. "optiontype": {
  16816. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16817. "type": "integer"
  16818. },
  16819. "orderid": {
  16820. "description": "委托单号",
  16821. "type": "string"
  16822. },
  16823. "performanceplanid": {
  16824. "description": "履约计划ID[期权]",
  16825. "type": "integer"
  16826. },
  16827. "performancestatus": {
  16828. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16829. "type": "integer"
  16830. },
  16831. "preexerciseprice": {
  16832. "description": "预申报价格",
  16833. "type": "number"
  16834. },
  16835. "premium": {
  16836. "description": "权利金 - [持仓单的权利金]",
  16837. "type": "number"
  16838. },
  16839. "relatedouttradeid": {
  16840. "description": "关联外部成交单ID",
  16841. "type": "integer"
  16842. },
  16843. "status": {
  16844. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16845. "type": "integer"
  16846. },
  16847. "tradeamount": {
  16848. "description": "成交金额[账户币种,用于所有权]",
  16849. "type": "number"
  16850. },
  16851. "tradedate": {
  16852. "description": "交易日(yyyyMMdd)",
  16853. "type": "string"
  16854. },
  16855. "tradeid": {
  16856. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16857. "type": "string"
  16858. },
  16859. "trademode": {
  16860. "description": "交易模式",
  16861. "type": "integer"
  16862. },
  16863. "tradeprice": {
  16864. "description": "成交价格",
  16865. "type": "number"
  16866. },
  16867. "tradeproperty": {
  16868. "description": "交易属性",
  16869. "type": "integer"
  16870. },
  16871. "tradeqty": {
  16872. "description": "成交数量",
  16873. "type": "integer"
  16874. },
  16875. "tradetime": {
  16876. "description": "成交时间",
  16877. "type": "string"
  16878. },
  16879. "tradetype": {
  16880. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16881. "type": "integer"
  16882. }
  16883. }
  16884. },
  16885. "order.QueryHisTradeOrderDetailRsp": {
  16886. "type": "object",
  16887. "required": [
  16888. "accountid",
  16889. "buildtype",
  16890. "buyorsell",
  16891. "goodsid",
  16892. "histradedate",
  16893. "marketid",
  16894. "memberuserid",
  16895. "operatetype",
  16896. "orderid",
  16897. "orderqty",
  16898. "ordertime",
  16899. "pricemode",
  16900. "tradedate",
  16901. "validtype"
  16902. ],
  16903. "properties": {
  16904. "accountid": {
  16905. "description": "账户ID[报价币种]",
  16906. "type": "integer"
  16907. },
  16908. "buildtype": {
  16909. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16910. "type": "integer"
  16911. },
  16912. "buyorsell": {
  16913. "description": "买卖 - 0:买 1:卖",
  16914. "type": "integer"
  16915. },
  16916. "cancelorderid": {
  16917. "description": "撤单单号(撤单时填写)",
  16918. "type": "string"
  16919. },
  16920. "cancelqty": {
  16921. "description": "撤单数量",
  16922. "type": "integer"
  16923. },
  16924. "clientordertime": {
  16925. "description": "客户端委托时间",
  16926. "type": "string"
  16927. },
  16928. "clientticket": {
  16929. "description": "客户端流水号",
  16930. "type": "string"
  16931. },
  16932. "clienttype": {
  16933. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16934. "type": "integer"
  16935. },
  16936. "closeexchagechargevalue": {
  16937. "description": "平仓交易所手续费设置值",
  16938. "type": "number"
  16939. },
  16940. "closefeealgorithm": {
  16941. "description": "平仓手续费收取方式 1:比率 2:固定",
  16942. "type": "integer"
  16943. },
  16944. "closefreezecharge": {
  16945. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16946. "type": "number"
  16947. },
  16948. "closememberchargevalue": {
  16949. "description": "平仓会员手续费设置值",
  16950. "type": "number"
  16951. },
  16952. "closeqty": {
  16953. "description": "平仓数量(先建后平操作 需要记录)",
  16954. "type": "integer"
  16955. },
  16956. "closetradeqty": {
  16957. "description": "平仓成交数量(先建后平操作,需要记录)",
  16958. "type": "integer"
  16959. },
  16960. "closeunfreezecharge": {
  16961. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16962. "type": "number"
  16963. },
  16964. "delistingtype": {
  16965. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16966. "type": "integer"
  16967. },
  16968. "freezecharge": {
  16969. "description": "冻结手续费",
  16970. "type": "number"
  16971. },
  16972. "freezemargin": {
  16973. "description": "冻结保证金(冻结交易金额)",
  16974. "type": "number"
  16975. },
  16976. "gcaccountid": {
  16977. "description": "账户ID[合约币种]",
  16978. "type": "integer"
  16979. },
  16980. "goodscode": {
  16981. "description": "商品代码",
  16982. "type": "string"
  16983. },
  16984. "goodsid": {
  16985. "description": "商品ID",
  16986. "type": "integer"
  16987. },
  16988. "goodsname": {
  16989. "description": "商品名称",
  16990. "type": "string"
  16991. },
  16992. "histradedate": {
  16993. "description": "历史交易日",
  16994. "type": "string"
  16995. },
  16996. "isconfirmexercise": {
  16997. "description": "是否确认行权- 0:否 1:是",
  16998. "type": "integer"
  16999. },
  17000. "ispreexercise": {
  17001. "description": "是否预申报- 0:否 1:是",
  17002. "type": "integer"
  17003. },
  17004. "isvaliddata": {
  17005. "description": "是否有效 - 0:无效 1:有效",
  17006. "type": "integer"
  17007. },
  17008. "listingselecttype": {
  17009. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17010. "type": "integer"
  17011. },
  17012. "marginalgorithm": {
  17013. "description": "保证金收取方式 1:比率 2:固定",
  17014. "type": "integer"
  17015. },
  17016. "marginvalue": {
  17017. "description": "即市保证金设置值",
  17018. "type": "number"
  17019. },
  17020. "marketid": {
  17021. "description": "市场ID",
  17022. "type": "integer"
  17023. },
  17024. "marketmaxsub": {
  17025. "description": "市价最大偏移范围",
  17026. "type": "number"
  17027. },
  17028. "marketname": {
  17029. "description": "市场名称",
  17030. "type": "string"
  17031. },
  17032. "memberuserid": {
  17033. "description": "所属会员UserID",
  17034. "type": "integer"
  17035. },
  17036. "openexchagechargevalue": {
  17037. "description": "建仓交易所手续费设置值",
  17038. "type": "number"
  17039. },
  17040. "openfeealgorithm": {
  17041. "description": "建仓手续费收取方式 1:比率 2:固定",
  17042. "type": "integer"
  17043. },
  17044. "openfreezecharge": {
  17045. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17046. "type": "number"
  17047. },
  17048. "openmemberchargevalue": {
  17049. "description": "建仓会员手续费设置值",
  17050. "type": "number"
  17051. },
  17052. "openqty": {
  17053. "description": "开仓数量(先建后平操作,需要记录)",
  17054. "type": "integer"
  17055. },
  17056. "opentradeqty": {
  17057. "description": "开仓成交数量(先建后平操作,需要记录)",
  17058. "type": "integer"
  17059. },
  17060. "openunfreezecharge": {
  17061. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17062. "type": "number"
  17063. },
  17064. "operatetype": {
  17065. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17066. "type": "integer"
  17067. },
  17068. "operatorid": {
  17069. "description": "登录账号(LoginID)",
  17070. "type": "integer"
  17071. },
  17072. "optiontype": {
  17073. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17074. "type": "integer"
  17075. },
  17076. "orderid": {
  17077. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17078. "type": "string"
  17079. },
  17080. "orderprice": {
  17081. "description": "委托价格",
  17082. "type": "number"
  17083. },
  17084. "orderqty": {
  17085. "description": "委托数量",
  17086. "type": "integer"
  17087. },
  17088. "ordersrc": {
  17089. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17090. "type": "integer"
  17091. },
  17092. "orderstatus": {
  17093. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17094. "type": "integer"
  17095. },
  17096. "ordertime": {
  17097. "description": "委托时间",
  17098. "type": "string"
  17099. },
  17100. "preexerciseprice": {
  17101. "description": "预申报价格",
  17102. "type": "number"
  17103. },
  17104. "premium": {
  17105. "description": "权利金",
  17106. "type": "number"
  17107. },
  17108. "preorderid": {
  17109. "description": "关联预埋单号(止盈止损单时填写)",
  17110. "type": "string"
  17111. },
  17112. "pricemode": {
  17113. "description": "取价方式 - 1:市价 2: 限价",
  17114. "type": "integer"
  17115. },
  17116. "quoteid": {
  17117. "description": "报价单ID",
  17118. "type": "integer"
  17119. },
  17120. "relatedid": {
  17121. "description": "关联单号(交割单)",
  17122. "type": "string"
  17123. },
  17124. "retcode": {
  17125. "description": "错误代码",
  17126. "type": "integer"
  17127. },
  17128. "sessionid": {
  17129. "description": "会话ID",
  17130. "type": "integer"
  17131. },
  17132. "tradedate": {
  17133. "description": "交易日(yyyyMMdd)",
  17134. "type": "string"
  17135. },
  17136. "trademode": {
  17137. "description": "交易模式",
  17138. "type": "integer"
  17139. },
  17140. "tradeproperty": {
  17141. "description": "交易属性",
  17142. "type": "integer"
  17143. },
  17144. "tradeqty": {
  17145. "description": "成交数量",
  17146. "type": "integer"
  17147. },
  17148. "unfreezecharge": {
  17149. "description": "解冻手续费",
  17150. "type": "number"
  17151. },
  17152. "unfreezemargin": {
  17153. "description": "解冻保证金",
  17154. "type": "number"
  17155. },
  17156. "updatetime": {
  17157. "description": "更新时间",
  17158. "type": "string"
  17159. },
  17160. "uuid": {
  17161. "description": "发起端唯一id",
  17162. "type": "string"
  17163. },
  17164. "validtime": {
  17165. "description": "有效期限",
  17166. "type": "string"
  17167. },
  17168. "validtype": {
  17169. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17170. "type": "integer"
  17171. },
  17172. "volumetype": {
  17173. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17174. "type": "integer"
  17175. }
  17176. }
  17177. },
  17178. "order.QueryTradeDetailRsp": {
  17179. "type": "object",
  17180. "required": [
  17181. "accountid",
  17182. "buyorsell",
  17183. "goodsid",
  17184. "marketid",
  17185. "memberuserid",
  17186. "orderid",
  17187. "tradeamount",
  17188. "tradedate",
  17189. "tradeid",
  17190. "tradeprice",
  17191. "tradeqty",
  17192. "tradetime"
  17193. ],
  17194. "properties": {
  17195. "accountid": {
  17196. "description": "账户ID[报价币种]",
  17197. "type": "integer"
  17198. },
  17199. "buildtype": {
  17200. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17201. "type": "integer"
  17202. },
  17203. "buyorsell": {
  17204. "description": "方向 - 0:买 1:卖",
  17205. "type": "integer"
  17206. },
  17207. "charge": {
  17208. "description": "手续费",
  17209. "type": "number"
  17210. },
  17211. "closecharge": {
  17212. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17213. "type": "number"
  17214. },
  17215. "closeexchagechargevalue": {
  17216. "description": "平仓交易所手续费设置值",
  17217. "type": "number"
  17218. },
  17219. "closefeealgorithm": {
  17220. "description": "平仓手续费收取方式 1:比率 2:固定",
  17221. "type": "integer"
  17222. },
  17223. "closememberchargevalue": {
  17224. "description": "平仓会员手续费设置值",
  17225. "type": "number"
  17226. },
  17227. "closepl": {
  17228. "description": "平仓盈亏",
  17229. "type": "number"
  17230. },
  17231. "closepl2": {
  17232. "description": "平仓盈亏[逐笔]",
  17233. "type": "number"
  17234. },
  17235. "closeqty": {
  17236. "description": "平仓数量(先建后平操作 需要记录)",
  17237. "type": "integer"
  17238. },
  17239. "creditamount": {
  17240. "description": "授信金额",
  17241. "type": "number"
  17242. },
  17243. "gcaccountid": {
  17244. "description": "账户ID[合约币种]",
  17245. "type": "integer"
  17246. },
  17247. "goodscode": {
  17248. "description": "商品代码",
  17249. "type": "string"
  17250. },
  17251. "goodsid": {
  17252. "description": "商品ID",
  17253. "type": "integer"
  17254. },
  17255. "goodsname": {
  17256. "description": "商品名称",
  17257. "type": "string"
  17258. },
  17259. "intclosepl": {
  17260. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17261. "type": "integer"
  17262. },
  17263. "isconfirmexercise": {
  17264. "description": "是否确认行权- 0:否 1:是",
  17265. "type": "integer"
  17266. },
  17267. "ismain": {
  17268. "description": "是否主单 - 0:不是 1:是",
  17269. "type": "integer"
  17270. },
  17271. "ispreexercise": {
  17272. "description": "是否预申报- 0:否 1:是",
  17273. "type": "integer"
  17274. },
  17275. "isreckoned": {
  17276. "description": "是否结算 - 0:未结算 1:已结算",
  17277. "type": "integer"
  17278. },
  17279. "listingselecttype": {
  17280. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17281. "type": "integer"
  17282. },
  17283. "marketid": {
  17284. "description": "市场ID",
  17285. "type": "integer"
  17286. },
  17287. "marketname": {
  17288. "description": "市场名称",
  17289. "type": "string"
  17290. },
  17291. "matchaccountid": {
  17292. "description": "对手账号id",
  17293. "type": "integer"
  17294. },
  17295. "memberuserid": {
  17296. "description": "会员id 个人投资者 需要填写",
  17297. "type": "integer"
  17298. },
  17299. "opencharge": {
  17300. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17301. "type": "number"
  17302. },
  17303. "openexchagechargevalue": {
  17304. "description": "建仓交易所手续费设置值",
  17305. "type": "number"
  17306. },
  17307. "openfeealgorithm": {
  17308. "description": "建仓手续费收取方式 1:比率 2:固定",
  17309. "type": "integer"
  17310. },
  17311. "openmemberchargevalue": {
  17312. "description": "建仓会员手续费设置值",
  17313. "type": "number"
  17314. },
  17315. "openqty": {
  17316. "description": "开仓数量(先建后平操作 需要记录)",
  17317. "type": "integer"
  17318. },
  17319. "optiontype": {
  17320. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17321. "type": "integer"
  17322. },
  17323. "orderid": {
  17324. "description": "委托单号",
  17325. "type": "string"
  17326. },
  17327. "performanceplanid": {
  17328. "description": "履约计划ID[期权]",
  17329. "type": "integer"
  17330. },
  17331. "performancestatus": {
  17332. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17333. "type": "integer"
  17334. },
  17335. "preexerciseprice": {
  17336. "description": "预申报价格",
  17337. "type": "number"
  17338. },
  17339. "premium": {
  17340. "description": "权利金 - [持仓单的权利金]",
  17341. "type": "number"
  17342. },
  17343. "relatedouttradeid": {
  17344. "description": "关联外部成交单ID",
  17345. "type": "integer"
  17346. },
  17347. "status": {
  17348. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17349. "type": "integer"
  17350. },
  17351. "tradeamount": {
  17352. "description": "成交金额[账户币种,用于所有权]",
  17353. "type": "number"
  17354. },
  17355. "tradedate": {
  17356. "description": "交易日(yyyyMMdd)",
  17357. "type": "string"
  17358. },
  17359. "tradeid": {
  17360. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17361. "type": "string"
  17362. },
  17363. "trademode": {
  17364. "description": "交易模式",
  17365. "type": "integer"
  17366. },
  17367. "tradeprice": {
  17368. "description": "成交价格",
  17369. "type": "number"
  17370. },
  17371. "tradeproperty": {
  17372. "description": "交易属性",
  17373. "type": "integer"
  17374. },
  17375. "tradeqty": {
  17376. "description": "成交数量",
  17377. "type": "integer"
  17378. },
  17379. "tradetime": {
  17380. "description": "成交时间",
  17381. "type": "string"
  17382. },
  17383. "tradetype": {
  17384. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17385. "type": "integer"
  17386. }
  17387. }
  17388. },
  17389. "order.QueryTradeOrderDetailRsp": {
  17390. "type": "object",
  17391. "required": [
  17392. "accountid",
  17393. "buildtype",
  17394. "buyorsell",
  17395. "goodsid",
  17396. "marketid",
  17397. "operatetype",
  17398. "orderqty",
  17399. "ordertime",
  17400. "pricemode",
  17401. "tradedate",
  17402. "validtype"
  17403. ],
  17404. "properties": {
  17405. "accountid": {
  17406. "description": "账户ID[报价币种]",
  17407. "type": "integer"
  17408. },
  17409. "buildtype": {
  17410. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17411. "type": "integer"
  17412. },
  17413. "buyorsell": {
  17414. "description": "买卖 - 0:买 1:卖",
  17415. "type": "integer"
  17416. },
  17417. "cancelorderid": {
  17418. "description": "撤单单号(撤单时填写)",
  17419. "type": "string"
  17420. },
  17421. "cancelqty": {
  17422. "description": "撤单数量",
  17423. "type": "integer"
  17424. },
  17425. "clienttype": {
  17426. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17427. "type": "integer"
  17428. },
  17429. "closefreezecharge": {
  17430. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17431. "type": "number"
  17432. },
  17433. "closeqty": {
  17434. "description": "平仓数量(先建后平操作 需要记录)",
  17435. "type": "integer"
  17436. },
  17437. "closetradeqty": {
  17438. "description": "平仓成交数量(先建后平操作,需要记录)",
  17439. "type": "integer"
  17440. },
  17441. "closeunfreezecharge": {
  17442. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17443. "type": "number"
  17444. },
  17445. "delistingtype": {
  17446. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17447. "type": "integer"
  17448. },
  17449. "enableqty": {
  17450. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17451. "type": "integer"
  17452. },
  17453. "freezecharge": {
  17454. "description": "冻结手续费",
  17455. "type": "number"
  17456. },
  17457. "freezemargin": {
  17458. "description": "冻结保证金(冻结交易金额)",
  17459. "type": "number"
  17460. },
  17461. "goodscode": {
  17462. "description": "商品代码",
  17463. "type": "string"
  17464. },
  17465. "goodsid": {
  17466. "description": "商品ID",
  17467. "type": "integer"
  17468. },
  17469. "goodsname": {
  17470. "description": "商品名称",
  17471. "type": "string"
  17472. },
  17473. "listingselecttype": {
  17474. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17475. "type": "integer"
  17476. },
  17477. "marketid": {
  17478. "description": "市场ID",
  17479. "type": "integer"
  17480. },
  17481. "marketname": {
  17482. "description": "市场名称",
  17483. "type": "string"
  17484. },
  17485. "openfreezecharge": {
  17486. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17487. "type": "number"
  17488. },
  17489. "openqty": {
  17490. "description": "开仓数量(先建后平操作,需要记录)",
  17491. "type": "integer"
  17492. },
  17493. "opentradeqty": {
  17494. "description": "开仓成交数量(先建后平操作,需要记录)",
  17495. "type": "integer"
  17496. },
  17497. "openunfreezecharge": {
  17498. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17499. "type": "number"
  17500. },
  17501. "operatetype": {
  17502. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17503. "type": "integer"
  17504. },
  17505. "operatorid": {
  17506. "description": "登录账号(LoginID)",
  17507. "type": "integer"
  17508. },
  17509. "orderid": {
  17510. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17511. "type": "string"
  17512. },
  17513. "orderprice": {
  17514. "description": "委托价格",
  17515. "type": "number"
  17516. },
  17517. "orderqty": {
  17518. "description": "委托数量",
  17519. "type": "integer"
  17520. },
  17521. "ordersrc": {
  17522. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17523. "type": "integer"
  17524. },
  17525. "orderstatus": {
  17526. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17527. "type": "integer"
  17528. },
  17529. "ordertime": {
  17530. "description": "委托时间",
  17531. "type": "string"
  17532. },
  17533. "preorderid": {
  17534. "description": "关联预埋单号(止盈止损单时填写)",
  17535. "type": "string"
  17536. },
  17537. "pricemode": {
  17538. "description": "取价方式 - 1:市价 2: 限价",
  17539. "type": "integer"
  17540. },
  17541. "relatedid": {
  17542. "description": "关联单号(交割单)",
  17543. "type": "string"
  17544. },
  17545. "tradedate": {
  17546. "description": "交易日(yyyyMMdd)",
  17547. "type": "string"
  17548. },
  17549. "trademode": {
  17550. "description": "交易模式",
  17551. "type": "integer"
  17552. },
  17553. "tradeqty": {
  17554. "description": "成交数量",
  17555. "type": "integer"
  17556. },
  17557. "unfreezecharge": {
  17558. "description": "解冻手续费",
  17559. "type": "number"
  17560. },
  17561. "unfreezemargin": {
  17562. "description": "解冻保证金",
  17563. "type": "number"
  17564. },
  17565. "validtime": {
  17566. "description": "有效期限",
  17567. "type": "string"
  17568. },
  17569. "validtype": {
  17570. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17571. "type": "integer"
  17572. },
  17573. "volumetype": {
  17574. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17575. "type": "integer"
  17576. }
  17577. }
  17578. },
  17579. "order.QueryTradePositionRsp": {
  17580. "type": "object",
  17581. "required": [
  17582. "goodsid"
  17583. ],
  17584. "properties": {
  17585. "accountid": {
  17586. "description": "资金账户",
  17587. "type": "integer"
  17588. },
  17589. "agreeunit": {
  17590. "description": "合约单位",
  17591. "type": "number"
  17592. },
  17593. "averageprice": {
  17594. "description": "持仓均价",
  17595. "type": "number"
  17596. },
  17597. "buyorsell": {
  17598. "description": "方向 - 0:买 1:卖",
  17599. "type": "integer"
  17600. },
  17601. "closetotalqty": {
  17602. "description": "平仓总数量",
  17603. "type": "integer"
  17604. },
  17605. "curholderamount": {
  17606. "description": "当前持仓总金额[商品币种]",
  17607. "type": "number"
  17608. },
  17609. "curpositionqty": {
  17610. "description": "当前持仓总数量",
  17611. "type": "integer"
  17612. },
  17613. "currencyid": {
  17614. "description": "报价货币ID",
  17615. "type": "integer"
  17616. },
  17617. "curtdposition": {
  17618. "description": "期末今日头寸",
  17619. "type": "integer"
  17620. },
  17621. "decimalplace": {
  17622. "description": "报价小数位",
  17623. "type": "integer"
  17624. },
  17625. "enableqty": {
  17626. "description": "可用量",
  17627. "type": "integer"
  17628. },
  17629. "fretdposition": {
  17630. "description": "冻结今日头寸",
  17631. "type": "integer"
  17632. },
  17633. "frozenqty": {
  17634. "description": "持仓冻结数量",
  17635. "type": "integer"
  17636. },
  17637. "goodscode": {
  17638. "description": "商品代码",
  17639. "type": "string"
  17640. },
  17641. "goodsid": {
  17642. "description": "商品Id",
  17643. "type": "integer"
  17644. },
  17645. "goodsname": {
  17646. "description": "商品名称",
  17647. "type": "string"
  17648. },
  17649. "goodunit": {
  17650. "description": "报价单位",
  17651. "type": "string"
  17652. },
  17653. "goodunitid": {
  17654. "description": "报价单位ID",
  17655. "type": "integer"
  17656. },
  17657. "holderamount": {
  17658. "description": "期初持仓总金额[商品币种]",
  17659. "type": "number"
  17660. },
  17661. "marketid": {
  17662. "description": "所属市场ID",
  17663. "type": "integer"
  17664. },
  17665. "openreqqty": {
  17666. "description": "开仓申请数量(用于比较最大持仓数量)",
  17667. "type": "integer"
  17668. },
  17669. "opentotalqty": {
  17670. "description": "开仓总数量",
  17671. "type": "integer"
  17672. },
  17673. "otherfrozenqty": {
  17674. "description": "持仓其他冻结数量(交割冻结)",
  17675. "type": "integer"
  17676. },
  17677. "positionqty": {
  17678. "description": "期初持仓数量",
  17679. "type": "integer"
  17680. },
  17681. "tnqty": {
  17682. "description": "T+N冻结总量",
  17683. "type": "integer"
  17684. },
  17685. "tnusedqty": {
  17686. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17687. "type": "integer"
  17688. },
  17689. "trademode": {
  17690. "description": "交易模式",
  17691. "type": "integer"
  17692. },
  17693. "usedmargin": {
  17694. "description": "占用保证金[商品币种]",
  17695. "type": "number"
  17696. }
  17697. }
  17698. },
  17699. "quote.HistoryData": {
  17700. "type": "object",
  17701. "properties": {
  17702. "c": {
  17703. "description": "收盘价",
  17704. "type": "number"
  17705. },
  17706. "f": {
  17707. "description": "是否补充数据",
  17708. "type": "boolean"
  17709. },
  17710. "h": {
  17711. "description": "最高价",
  17712. "type": "number"
  17713. },
  17714. "hv": {
  17715. "description": "持仓量",
  17716. "type": "integer"
  17717. },
  17718. "l": {
  17719. "description": "最低价",
  17720. "type": "number"
  17721. },
  17722. "o": {
  17723. "description": "开盘价",
  17724. "type": "number"
  17725. },
  17726. "s": {
  17727. "description": "结算价,日线周期(包括)以上才有",
  17728. "type": "number"
  17729. },
  17730. "ts": {
  17731. "description": "时间",
  17732. "type": "string"
  17733. },
  17734. "tt": {
  17735. "description": "总金额",
  17736. "type": "number"
  17737. },
  17738. "tv": {
  17739. "description": "总量",
  17740. "type": "integer"
  17741. }
  17742. }
  17743. },
  17744. "quote.HistoryTikData": {
  17745. "type": "object",
  17746. "properties": {
  17747. "AV": {
  17748. "description": "卖量",
  17749. "type": "integer"
  17750. },
  17751. "Ask": {
  17752. "description": "卖价",
  17753. "type": "number"
  17754. },
  17755. "BV": {
  17756. "description": "买量",
  17757. "type": "integer"
  17758. },
  17759. "Bid": {
  17760. "description": "买价",
  17761. "type": "number"
  17762. },
  17763. "HI": {
  17764. "description": "单笔持仓",
  17765. "type": "integer"
  17766. },
  17767. "HV": {
  17768. "description": "持仓量",
  17769. "type": "integer"
  17770. },
  17771. "PE": {
  17772. "description": "现价",
  17773. "type": "number"
  17774. },
  17775. "TDR": {
  17776. "description": "交易方向,0:买 1:卖",
  17777. "type": "integer"
  17778. },
  17779. "TK": {
  17780. "description": "交易类型",
  17781. "type": "integer"
  17782. },
  17783. "TS": {
  17784. "description": "行情时间文本",
  17785. "type": "string"
  17786. },
  17787. "TT": {
  17788. "description": "现金额",
  17789. "type": "number"
  17790. },
  17791. "Vol": {
  17792. "description": "现量",
  17793. "type": "integer"
  17794. }
  17795. }
  17796. },
  17797. "quote.QueryQuoteDayRsp": {
  17798. "type": "object",
  17799. "properties": {
  17800. "ask": {
  17801. "description": "卖1",
  17802. "type": "number"
  17803. },
  17804. "ask10": {
  17805. "description": "卖10",
  17806. "type": "number"
  17807. },
  17808. "ask2": {
  17809. "description": "卖2",
  17810. "type": "number"
  17811. },
  17812. "ask3": {
  17813. "description": "卖3",
  17814. "type": "number"
  17815. },
  17816. "ask4": {
  17817. "description": "卖4",
  17818. "type": "number"
  17819. },
  17820. "ask5": {
  17821. "description": "卖5",
  17822. "type": "number"
  17823. },
  17824. "ask6": {
  17825. "description": "卖6",
  17826. "type": "number"
  17827. },
  17828. "ask7": {
  17829. "description": "卖7",
  17830. "type": "number"
  17831. },
  17832. "ask8": {
  17833. "description": "卖8",
  17834. "type": "number"
  17835. },
  17836. "ask9": {
  17837. "description": "卖9",
  17838. "type": "number"
  17839. },
  17840. "askorderid": {
  17841. "description": "卖单号1",
  17842. "type": "integer"
  17843. },
  17844. "askorderid2": {
  17845. "description": "卖单号2",
  17846. "type": "integer"
  17847. },
  17848. "askorderid3": {
  17849. "description": "卖单号3",
  17850. "type": "integer"
  17851. },
  17852. "askorderid4": {
  17853. "description": "卖单号4",
  17854. "type": "integer"
  17855. },
  17856. "askorderid5": {
  17857. "description": "卖单号5",
  17858. "type": "integer"
  17859. },
  17860. "askordervolume": {
  17861. "description": "卖单量1",
  17862. "type": "integer"
  17863. },
  17864. "askordervolume10": {
  17865. "description": "卖单量10",
  17866. "type": "integer"
  17867. },
  17868. "askordervolume2": {
  17869. "description": "卖单量2",
  17870. "type": "integer"
  17871. },
  17872. "askordervolume3": {
  17873. "description": "卖单量3",
  17874. "type": "integer"
  17875. },
  17876. "askordervolume4": {
  17877. "description": "卖单量4",
  17878. "type": "integer"
  17879. },
  17880. "askordervolume5": {
  17881. "description": "卖单量5",
  17882. "type": "integer"
  17883. },
  17884. "askordervolume6": {
  17885. "description": "卖单量6",
  17886. "type": "integer"
  17887. },
  17888. "askordervolume7": {
  17889. "description": "卖单量7",
  17890. "type": "integer"
  17891. },
  17892. "askordervolume8": {
  17893. "description": "卖单量8",
  17894. "type": "integer"
  17895. },
  17896. "askordervolume9": {
  17897. "description": "卖单量9",
  17898. "type": "integer"
  17899. },
  17900. "askqueueinfo": {
  17901. "description": "大利市卖港股用",
  17902. "type": "string"
  17903. },
  17904. "askvolume": {
  17905. "description": "卖量1",
  17906. "type": "integer"
  17907. },
  17908. "askvolume10": {
  17909. "description": "卖量10",
  17910. "type": "integer"
  17911. },
  17912. "askvolume2": {
  17913. "description": "卖量2",
  17914. "type": "integer"
  17915. },
  17916. "askvolume3": {
  17917. "description": "卖量3",
  17918. "type": "integer"
  17919. },
  17920. "askvolume4": {
  17921. "description": "卖量4",
  17922. "type": "integer"
  17923. },
  17924. "askvolume5": {
  17925. "description": "卖量5",
  17926. "type": "integer"
  17927. },
  17928. "askvolume6": {
  17929. "description": "卖量6",
  17930. "type": "integer"
  17931. },
  17932. "askvolume7": {
  17933. "description": "卖量7",
  17934. "type": "integer"
  17935. },
  17936. "askvolume8": {
  17937. "description": "卖量8",
  17938. "type": "integer"
  17939. },
  17940. "askvolume9": {
  17941. "description": "卖量9",
  17942. "type": "integer"
  17943. },
  17944. "averageprice": {
  17945. "description": "均价",
  17946. "type": "number"
  17947. },
  17948. "bid": {
  17949. "description": "买1",
  17950. "type": "number"
  17951. },
  17952. "bid10": {
  17953. "description": "买10",
  17954. "type": "number"
  17955. },
  17956. "bid2": {
  17957. "description": "买2",
  17958. "type": "number"
  17959. },
  17960. "bid3": {
  17961. "description": "买3",
  17962. "type": "number"
  17963. },
  17964. "bid4": {
  17965. "description": "买4",
  17966. "type": "number"
  17967. },
  17968. "bid5": {
  17969. "description": "买5",
  17970. "type": "number"
  17971. },
  17972. "bid6": {
  17973. "description": "买6",
  17974. "type": "number"
  17975. },
  17976. "bid7": {
  17977. "description": "买7",
  17978. "type": "number"
  17979. },
  17980. "bid8": {
  17981. "description": "买8",
  17982. "type": "number"
  17983. },
  17984. "bid9": {
  17985. "description": "买9",
  17986. "type": "number"
  17987. },
  17988. "bidorderid": {
  17989. "description": "买单号1",
  17990. "type": "integer"
  17991. },
  17992. "bidorderid2": {
  17993. "description": "买单号2",
  17994. "type": "integer"
  17995. },
  17996. "bidorderid3": {
  17997. "description": "买单号3",
  17998. "type": "integer"
  17999. },
  18000. "bidorderid4": {
  18001. "description": "买单号4",
  18002. "type": "integer"
  18003. },
  18004. "bidorderid5": {
  18005. "description": "买单号5",
  18006. "type": "integer"
  18007. },
  18008. "bidordervolume": {
  18009. "description": "买单量1",
  18010. "type": "integer"
  18011. },
  18012. "bidordervolume10": {
  18013. "description": "买单量10",
  18014. "type": "integer"
  18015. },
  18016. "bidordervolume2": {
  18017. "description": "买单量2",
  18018. "type": "integer"
  18019. },
  18020. "bidordervolume3": {
  18021. "description": "买单量3",
  18022. "type": "integer"
  18023. },
  18024. "bidordervolume4": {
  18025. "description": "买单量4",
  18026. "type": "integer"
  18027. },
  18028. "bidordervolume5": {
  18029. "description": "买单量5",
  18030. "type": "integer"
  18031. },
  18032. "bidordervolume6": {
  18033. "description": "买单量6",
  18034. "type": "integer"
  18035. },
  18036. "bidordervolume7": {
  18037. "description": "买单量7",
  18038. "type": "integer"
  18039. },
  18040. "bidordervolume8": {
  18041. "description": "买单量8",
  18042. "type": "integer"
  18043. },
  18044. "bidordervolume9": {
  18045. "description": "买单量9",
  18046. "type": "integer"
  18047. },
  18048. "bidqueueinfo": {
  18049. "description": "大利市买港股用",
  18050. "type": "string"
  18051. },
  18052. "bidvolume": {
  18053. "description": "买量1",
  18054. "type": "integer"
  18055. },
  18056. "bidvolume10": {
  18057. "description": "买量10",
  18058. "type": "integer"
  18059. },
  18060. "bidvolume2": {
  18061. "description": "买量2",
  18062. "type": "integer"
  18063. },
  18064. "bidvolume3": {
  18065. "description": "买量3",
  18066. "type": "integer"
  18067. },
  18068. "bidvolume4": {
  18069. "description": "买量4",
  18070. "type": "integer"
  18071. },
  18072. "bidvolume5": {
  18073. "description": "买量5",
  18074. "type": "integer"
  18075. },
  18076. "bidvolume6": {
  18077. "description": "买量6",
  18078. "type": "integer"
  18079. },
  18080. "bidvolume7": {
  18081. "description": "买量7",
  18082. "type": "integer"
  18083. },
  18084. "bidvolume8": {
  18085. "description": "买量8",
  18086. "type": "integer"
  18087. },
  18088. "bidvolume9": {
  18089. "description": "买量9",
  18090. "type": "integer"
  18091. },
  18092. "calloptionpremiums": {
  18093. "description": "认购期权1",
  18094. "type": "integer"
  18095. },
  18096. "calloptionpremiums2": {
  18097. "description": "认购期权2",
  18098. "type": "integer"
  18099. },
  18100. "calloptionpremiums3": {
  18101. "description": "认购期权3",
  18102. "type": "integer"
  18103. },
  18104. "calloptionpremiums4": {
  18105. "description": "认购期权4",
  18106. "type": "integer"
  18107. },
  18108. "calloptionpremiums5": {
  18109. "description": "认购期权5",
  18110. "type": "integer"
  18111. },
  18112. "cleartime": {
  18113. "description": "清盘时间",
  18114. "type": "integer"
  18115. },
  18116. "exchangecode": {
  18117. "description": "交易所代码",
  18118. "type": "integer"
  18119. },
  18120. "exchangedate": {
  18121. "description": "交易日",
  18122. "type": "integer"
  18123. },
  18124. "goodscode": {
  18125. "description": "商品代码",
  18126. "type": "string"
  18127. },
  18128. "grepmarketprice": {
  18129. "description": "暗盘价 港股专用",
  18130. "type": "number"
  18131. },
  18132. "highest": {
  18133. "description": "最高价",
  18134. "type": "number"
  18135. },
  18136. "holdincrement": {
  18137. "description": "单笔持仓",
  18138. "type": "integer"
  18139. },
  18140. "holdvolume": {
  18141. "description": "持仓",
  18142. "type": "integer"
  18143. },
  18144. "iep": {
  18145. "description": "平衡价 港股专用",
  18146. "type": "number"
  18147. },
  18148. "iev": {
  18149. "description": "平衡量 港股专用",
  18150. "type": "number"
  18151. },
  18152. "inventory": {
  18153. "description": "库存",
  18154. "type": "integer"
  18155. },
  18156. "iscleared": {
  18157. "description": "是否清盘标志",
  18158. "type": "integer"
  18159. },
  18160. "issettled": {
  18161. "description": "是否结算标志",
  18162. "type": "integer"
  18163. },
  18164. "last": {
  18165. "description": "最新价",
  18166. "type": "number"
  18167. },
  18168. "lastlot": {
  18169. "description": "最新成交手数",
  18170. "type": "integer"
  18171. },
  18172. "lasttime": {
  18173. "description": "行情时间(只有现价变化行情时间才变化)",
  18174. "type": "string"
  18175. },
  18176. "lastturnover": {
  18177. "description": "最新成交金额",
  18178. "type": "number"
  18179. },
  18180. "lastvolume": {
  18181. "description": "最新成交量",
  18182. "type": "integer"
  18183. },
  18184. "limitdown": {
  18185. "description": "跌停价",
  18186. "type": "number"
  18187. },
  18188. "limitup": {
  18189. "description": "涨停价",
  18190. "type": "number"
  18191. },
  18192. "lowest": {
  18193. "description": "最低价",
  18194. "type": "number"
  18195. },
  18196. "nontotalholdervolume": {
  18197. "description": "非交易持仓量",
  18198. "type": "integer"
  18199. },
  18200. "nontotallot": {
  18201. "description": "非交易总手数",
  18202. "type": "integer"
  18203. },
  18204. "nontotalturnover": {
  18205. "description": "非交易总金额",
  18206. "type": "integer"
  18207. },
  18208. "nontotalvolume": {
  18209. "description": "非交易总量",
  18210. "type": "integer"
  18211. },
  18212. "opened": {
  18213. "description": "开盘价",
  18214. "type": "number"
  18215. },
  18216. "opentime": {
  18217. "description": "开盘时间",
  18218. "type": "string"
  18219. },
  18220. "orderid": {
  18221. "description": "序号",
  18222. "type": "integer"
  18223. },
  18224. "preclose": {
  18225. "description": "昨收",
  18226. "type": "number"
  18227. },
  18228. "preholdvolume": {
  18229. "description": "昨持仓",
  18230. "type": "integer"
  18231. },
  18232. "presettle": {
  18233. "description": "昨结价",
  18234. "type": "number"
  18235. },
  18236. "publictradetype": {
  18237. "description": "公共交易标志类型 港股专用",
  18238. "type": "string"
  18239. },
  18240. "putoptionpremiums": {
  18241. "description": "认沽期权1",
  18242. "type": "integer"
  18243. },
  18244. "putoptionpremiums2": {
  18245. "description": "认沽期权2",
  18246. "type": "integer"
  18247. },
  18248. "putoptionpremiums3": {
  18249. "description": "认沽期权3",
  18250. "type": "integer"
  18251. },
  18252. "putoptionpremiums4": {
  18253. "description": "认沽期权4",
  18254. "type": "integer"
  18255. },
  18256. "putoptionpremiums5": {
  18257. "description": "认沽期权5",
  18258. "type": "integer"
  18259. },
  18260. "settle": {
  18261. "description": "结算价",
  18262. "type": "number"
  18263. },
  18264. "strikeprice": {
  18265. "description": "发行价",
  18266. "type": "number"
  18267. },
  18268. "totalaskvolume": {
  18269. "description": "内盘",
  18270. "type": "integer"
  18271. },
  18272. "totalbidvolume": {
  18273. "description": "外盘",
  18274. "type": "integer"
  18275. },
  18276. "totallot": {
  18277. "description": "总手数",
  18278. "type": "integer"
  18279. },
  18280. "totalturnover": {
  18281. "description": "总金额",
  18282. "type": "number"
  18283. },
  18284. "totalvolume": {
  18285. "description": "总量",
  18286. "type": "integer"
  18287. },
  18288. "utclasttime": {
  18289. "description": "utc的行情时间",
  18290. "type": "string"
  18291. }
  18292. }
  18293. },
  18294. "quote.QueryTSDataRsp": {
  18295. "type": "object",
  18296. "properties": {
  18297. "decimalPlace": {
  18298. "description": "小数位",
  18299. "type": "integer"
  18300. },
  18301. "endTime": {
  18302. "description": "结束时间",
  18303. "type": "string"
  18304. },
  18305. "goodsCode": {
  18306. "description": "商品代码",
  18307. "type": "string"
  18308. },
  18309. "historyDatas": {
  18310. "description": "历史数据",
  18311. "type": "array",
  18312. "items": {
  18313. "$ref": "#/definitions/quote.HistoryData"
  18314. }
  18315. },
  18316. "outGoodsCode": {
  18317. "description": "外部商品代码",
  18318. "type": "string"
  18319. },
  18320. "preSettle": {
  18321. "description": "昨结",
  18322. "type": "number"
  18323. },
  18324. "startTime": {
  18325. "description": "开始时间",
  18326. "type": "string"
  18327. },
  18328. "tradeDate": {
  18329. "description": "交易日",
  18330. "type": "string"
  18331. }
  18332. }
  18333. },
  18334. "szdz.QueryConvertLogRsp": {
  18335. "type": "object",
  18336. "required": [
  18337. "logid"
  18338. ],
  18339. "properties": {
  18340. "accountid": {
  18341. "description": "资金账户ID",
  18342. "type": "integer"
  18343. },
  18344. "clientticket": {
  18345. "description": "客户端流水号",
  18346. "type": "string"
  18347. },
  18348. "converttype": {
  18349. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  18350. "type": "integer"
  18351. },
  18352. "createtime": {
  18353. "description": "记账时间",
  18354. "type": "string"
  18355. },
  18356. "daymaxvalue": {
  18357. "description": "配置当日最大转入限制",
  18358. "type": "number"
  18359. },
  18360. "daymaxvalue2": {
  18361. "description": "配置当日最大转入限制(转入)",
  18362. "type": "number"
  18363. },
  18364. "goodscode": {
  18365. "description": "商品代码",
  18366. "type": "string"
  18367. },
  18368. "goodsname": {
  18369. "description": "商品名称",
  18370. "type": "string"
  18371. },
  18372. "handlestatus": {
  18373. "description": "处理状态",
  18374. "type": "integer"
  18375. },
  18376. "innergoodsid": {
  18377. "description": "内部商品ID",
  18378. "type": "integer"
  18379. },
  18380. "inratio": {
  18381. "description": "配置转入比值",
  18382. "type": "integer"
  18383. },
  18384. "invalue": {
  18385. "description": "目标值",
  18386. "type": "number"
  18387. },
  18388. "logid": {
  18389. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18390. "type": "integer"
  18391. },
  18392. "mobile": {
  18393. "description": "手机号码(加密存储)",
  18394. "type": "string"
  18395. },
  18396. "outergoodscode": {
  18397. "description": "外部商品代码[JD\\PD]",
  18398. "type": "string"
  18399. },
  18400. "outratio": {
  18401. "description": "配置转出比值",
  18402. "type": "integer"
  18403. },
  18404. "outvalue": {
  18405. "description": "源值",
  18406. "type": "number"
  18407. },
  18408. "pddecimalplace": {
  18409. "description": "PD小数位",
  18410. "type": "integer"
  18411. },
  18412. "qty": {
  18413. "description": "数量",
  18414. "type": "string"
  18415. },
  18416. "remark": {
  18417. "description": "备注",
  18418. "type": "string"
  18419. },
  18420. "sessionid": {
  18421. "description": "会话ID",
  18422. "type": "integer"
  18423. },
  18424. "timemaxvalue": {
  18425. "description": "配置单次最大转入限制",
  18426. "type": "number"
  18427. },
  18428. "timemaxvalue2": {
  18429. "description": "配置单次最大转入限制(转入)",
  18430. "type": "number"
  18431. },
  18432. "timeminvalue": {
  18433. "description": "配置单次最小数量限制",
  18434. "type": "number"
  18435. },
  18436. "timeminvalue2": {
  18437. "description": "配置单次最小数量限制(转入)",
  18438. "type": "number"
  18439. },
  18440. "tradedate": {
  18441. "description": "交易日(yyyyMMdd)",
  18442. "type": "string"
  18443. },
  18444. "userid": {
  18445. "description": "用户ID",
  18446. "type": "integer"
  18447. }
  18448. }
  18449. },
  18450. "szdz.QueryGoodsPickupRsp": {
  18451. "type": "object",
  18452. "required": [
  18453. "takeorderid"
  18454. ],
  18455. "properties": {
  18456. "accountid": {
  18457. "description": "账户ID",
  18458. "type": "integer"
  18459. },
  18460. "address": {
  18461. "description": "提货人详细地址",
  18462. "type": "string"
  18463. },
  18464. "auditer": {
  18465. "description": "审核人",
  18466. "type": "integer"
  18467. },
  18468. "audittime": {
  18469. "description": "审核时间",
  18470. "type": "string"
  18471. },
  18472. "cardnum": {
  18473. "description": "提货人证件号码",
  18474. "type": "string"
  18475. },
  18476. "cardtypeid": {
  18477. "description": "提货人证件类型",
  18478. "type": "integer"
  18479. },
  18480. "checkremark": {
  18481. "description": "审核备注",
  18482. "type": "string"
  18483. },
  18484. "goodscode": {
  18485. "description": "商品代码",
  18486. "type": "string"
  18487. },
  18488. "goodsid": {
  18489. "description": "商品ID",
  18490. "type": "integer"
  18491. },
  18492. "goodsname": {
  18493. "description": "商品名称",
  18494. "type": "string"
  18495. },
  18496. "handlestatus": {
  18497. "description": "处理状态",
  18498. "type": "integer"
  18499. },
  18500. "marketid": {
  18501. "description": "市场ID",
  18502. "type": "integer"
  18503. },
  18504. "phonenum": {
  18505. "description": "提货人联系方式",
  18506. "type": "string"
  18507. },
  18508. "qty": {
  18509. "description": "提货数量",
  18510. "type": "number"
  18511. },
  18512. "recivername": {
  18513. "description": "提货人姓名",
  18514. "type": "string"
  18515. },
  18516. "reqtime": {
  18517. "description": "更新时间",
  18518. "type": "string"
  18519. },
  18520. "takemode": {
  18521. "description": "提货方式 - 2:自提 3:配送",
  18522. "type": "integer"
  18523. },
  18524. "takeorderid": {
  18525. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18526. "type": "string"
  18527. },
  18528. "takeorderstatus": {
  18529. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18530. "type": "integer"
  18531. },
  18532. "takeremark": {
  18533. "description": "提货备注",
  18534. "type": "string"
  18535. },
  18536. "tradedate": {
  18537. "description": "交易日(yyyyMMdd)",
  18538. "type": "string"
  18539. },
  18540. "userid": {
  18541. "description": "用户ID",
  18542. "type": "integer"
  18543. }
  18544. }
  18545. },
  18546. "szdz.QueryRecieptOrderRsp": {
  18547. "type": "object",
  18548. "required": [
  18549. "ordertime"
  18550. ],
  18551. "properties": {
  18552. "accountName": {
  18553. "description": "所属账号名称(已脱敏)",
  18554. "type": "string"
  18555. },
  18556. "accountid": {
  18557. "description": "资金账号",
  18558. "type": "integer"
  18559. },
  18560. "buyorsell": {
  18561. "description": "方向 - 0:买 1:卖",
  18562. "type": "integer"
  18563. },
  18564. "enableqty": {
  18565. "description": "可摘数量",
  18566. "type": "integer"
  18567. },
  18568. "goodscode": {
  18569. "description": "商品代码",
  18570. "type": "string"
  18571. },
  18572. "goodsid": {
  18573. "description": "商品ID",
  18574. "type": "integer"
  18575. },
  18576. "goodsname": {
  18577. "description": "商品名称",
  18578. "type": "string"
  18579. },
  18580. "orderid": {
  18581. "description": "委托单号",
  18582. "type": "string"
  18583. },
  18584. "orderprice": {
  18585. "description": "委托价格",
  18586. "type": "number"
  18587. },
  18588. "ordertime": {
  18589. "description": "委托时间",
  18590. "type": "string"
  18591. },
  18592. "tradedate": {
  18593. "description": "交易日(yyyyMMdd)",
  18594. "type": "string"
  18595. }
  18596. }
  18597. },
  18598. "szdz.QuerySZDZTradePositionRsp": {
  18599. "type": "object",
  18600. "properties": {
  18601. "accountid": {
  18602. "description": "账号Id",
  18603. "type": "integer"
  18604. },
  18605. "agreeunit": {
  18606. "description": "合约单位",
  18607. "type": "number"
  18608. },
  18609. "averageprice": {
  18610. "description": "持仓均价",
  18611. "type": "number"
  18612. },
  18613. "buyorsell": {
  18614. "description": "方向 - 0:买 1:卖",
  18615. "type": "integer"
  18616. },
  18617. "closetotalqty": {
  18618. "description": "平仓总数量",
  18619. "type": "integer"
  18620. },
  18621. "curholderamount": {
  18622. "description": "当前持仓总金额",
  18623. "type": "number"
  18624. },
  18625. "curpositionqty": {
  18626. "description": "当前持仓总数量",
  18627. "type": "integer"
  18628. },
  18629. "currencyid": {
  18630. "description": "报价货币ID",
  18631. "type": "integer"
  18632. },
  18633. "curtdposition": {
  18634. "description": "期末今日头寸",
  18635. "type": "integer"
  18636. },
  18637. "decimalplace": {
  18638. "description": "报价小数位",
  18639. "type": "integer"
  18640. },
  18641. "enableqty": {
  18642. "description": "可用量",
  18643. "type": "integer"
  18644. },
  18645. "fretdposition": {
  18646. "description": "冻结今日头寸",
  18647. "type": "integer"
  18648. },
  18649. "frozenqty": {
  18650. "description": "持仓冻结数量",
  18651. "type": "integer"
  18652. },
  18653. "goodscode": {
  18654. "description": "商品代码(内部)",
  18655. "type": "string"
  18656. },
  18657. "goodsid": {
  18658. "description": "商品Id",
  18659. "type": "integer"
  18660. },
  18661. "goodsname": {
  18662. "description": "商品名称",
  18663. "type": "string"
  18664. },
  18665. "goodunit": {
  18666. "description": "报价单位",
  18667. "type": "string"
  18668. },
  18669. "goodunitid": {
  18670. "description": "报价单位ID",
  18671. "type": "integer"
  18672. },
  18673. "holderamount": {
  18674. "description": "期初持仓总金额",
  18675. "type": "number"
  18676. },
  18677. "marketid": {
  18678. "description": "市场ID",
  18679. "type": "integer"
  18680. },
  18681. "openreqqty": {
  18682. "description": "开仓申请数量",
  18683. "type": "integer"
  18684. },
  18685. "opentotalqty": {
  18686. "description": "开仓总数量",
  18687. "type": "integer"
  18688. },
  18689. "otherfrozenqty": {
  18690. "description": "持仓其他冻结数量(交割冻结)",
  18691. "type": "integer"
  18692. },
  18693. "positionqty": {
  18694. "description": "期初持仓数量",
  18695. "type": "integer"
  18696. },
  18697. "szdz3freezqty": {
  18698. "description": "尚志大宗转换冻结总数量",
  18699. "type": "integer"
  18700. },
  18701. "tnqty": {
  18702. "description": "T+N冻结总量",
  18703. "type": "integer"
  18704. },
  18705. "tnusedqty": {
  18706. "description": "T+N使用量",
  18707. "type": "integer"
  18708. },
  18709. "trademode": {
  18710. "description": "交易模式",
  18711. "type": "integer"
  18712. },
  18713. "usedmargin": {
  18714. "description": "占用保证金",
  18715. "type": "number"
  18716. }
  18717. }
  18718. },
  18719. "taaccount.QueryAmountLogRsp": {
  18720. "type": "object",
  18721. "required": [
  18722. "accountid",
  18723. "amount",
  18724. "amountadjusttype",
  18725. "autoid",
  18726. "balance",
  18727. "createtime",
  18728. "currentbalance",
  18729. "operatetype"
  18730. ],
  18731. "properties": {
  18732. "OPERATETYPENAME": {
  18733. "description": "资金操作类型名称",
  18734. "type": "string"
  18735. },
  18736. "accountid": {
  18737. "description": "资金账户ID",
  18738. "type": "integer"
  18739. },
  18740. "agoodscode": {
  18741. "description": "竞拍商品代码",
  18742. "type": "string"
  18743. },
  18744. "agoodsname": {
  18745. "description": "竞拍商品名称",
  18746. "type": "string"
  18747. },
  18748. "amount": {
  18749. "description": "资金金额",
  18750. "type": "number"
  18751. },
  18752. "amountadjusttype": {
  18753. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18754. "type": "integer"
  18755. },
  18756. "autoid": {
  18757. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18758. "type": "integer"
  18759. },
  18760. "balance": {
  18761. "description": "期初余额",
  18762. "type": "number"
  18763. },
  18764. "businesscode": {
  18765. "description": "业务编号",
  18766. "type": "integer"
  18767. },
  18768. "createtime": {
  18769. "description": "发生时间",
  18770. "type": "string"
  18771. },
  18772. "currencyid": {
  18773. "description": "币种ID",
  18774. "type": "integer"
  18775. },
  18776. "currentbalance": {
  18777. "description": "期末余额(变动后金额)",
  18778. "type": "number"
  18779. },
  18780. "dgoodscode": {
  18781. "description": "交割商品代码",
  18782. "type": "string"
  18783. },
  18784. "dgoodsname": {
  18785. "description": "交割商品名称",
  18786. "type": "string"
  18787. },
  18788. "goodscode": {
  18789. "description": "商品代码",
  18790. "type": "string"
  18791. },
  18792. "goodsid": {
  18793. "description": "商品ID",
  18794. "type": "integer"
  18795. },
  18796. "goodsname": {
  18797. "description": "商品名称",
  18798. "type": "string"
  18799. },
  18800. "marketid": {
  18801. "description": "市场ID",
  18802. "type": "integer"
  18803. },
  18804. "marketname": {
  18805. "description": "市场名称",
  18806. "type": "string"
  18807. },
  18808. "moneyticket": {
  18809. "description": "资金流水号:银行端流水号",
  18810. "type": "integer"
  18811. },
  18812. "operatetype": {
  18813. "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:营销收款",
  18814. "type": "integer"
  18815. },
  18816. "relationorderid": {
  18817. "description": "关联单号",
  18818. "type": "string"
  18819. },
  18820. "remark": {
  18821. "description": "备注",
  18822. "type": "string"
  18823. },
  18824. "trademode": {
  18825. "description": "交易模式",
  18826. "type": "integer"
  18827. }
  18828. }
  18829. },
  18830. "taaccount.QueryHisAmountLogRsp": {
  18831. "type": "object",
  18832. "required": [
  18833. "accountid",
  18834. "amount",
  18835. "amountadjusttype",
  18836. "autoid",
  18837. "balance",
  18838. "createtime",
  18839. "currentbalance",
  18840. "histradedate",
  18841. "operatetype"
  18842. ],
  18843. "properties": {
  18844. "OPERATETYPENAME": {
  18845. "description": "资金操作类型名称",
  18846. "type": "string"
  18847. },
  18848. "accountid": {
  18849. "description": "资金账户ID",
  18850. "type": "integer"
  18851. },
  18852. "agoodscode": {
  18853. "description": "竞拍商品代码",
  18854. "type": "string"
  18855. },
  18856. "agoodsname": {
  18857. "description": "竞拍商品名称",
  18858. "type": "string"
  18859. },
  18860. "amount": {
  18861. "description": "资金金额",
  18862. "type": "number"
  18863. },
  18864. "amountadjusttype": {
  18865. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18866. "type": "integer"
  18867. },
  18868. "autoid": {
  18869. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18870. "type": "integer"
  18871. },
  18872. "balance": {
  18873. "description": "期初余额",
  18874. "type": "number"
  18875. },
  18876. "businesscode": {
  18877. "description": "业务编号",
  18878. "type": "integer"
  18879. },
  18880. "createtime": {
  18881. "description": "发生时间",
  18882. "type": "string"
  18883. },
  18884. "currencyid": {
  18885. "description": "币种ID",
  18886. "type": "integer"
  18887. },
  18888. "currentbalance": {
  18889. "description": "期末余额(变动后金额)",
  18890. "type": "number"
  18891. },
  18892. "dgoodscode": {
  18893. "description": "交割商品代码",
  18894. "type": "string"
  18895. },
  18896. "dgoodsname": {
  18897. "description": "交割商品名称",
  18898. "type": "string"
  18899. },
  18900. "goodscode": {
  18901. "description": "商品代码",
  18902. "type": "string"
  18903. },
  18904. "goodsid": {
  18905. "description": "商品ID",
  18906. "type": "integer"
  18907. },
  18908. "goodsname": {
  18909. "description": "商品名称",
  18910. "type": "string"
  18911. },
  18912. "histradedate": {
  18913. "description": "历史交易日",
  18914. "type": "string"
  18915. },
  18916. "isvaliddata": {
  18917. "description": "是否有效 - 0:无效 1:有效",
  18918. "type": "integer"
  18919. },
  18920. "marketid": {
  18921. "description": "市场ID",
  18922. "type": "integer"
  18923. },
  18924. "marketname": {
  18925. "description": "市场名称",
  18926. "type": "string"
  18927. },
  18928. "moneyticket": {
  18929. "description": "资金流水号:银行端流水号",
  18930. "type": "integer"
  18931. },
  18932. "operatetype": {
  18933. "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:营销收款",
  18934. "type": "integer"
  18935. },
  18936. "relationorderid": {
  18937. "description": "关联单号",
  18938. "type": "string"
  18939. },
  18940. "remark": {
  18941. "description": "备注",
  18942. "type": "string"
  18943. },
  18944. "trademode": {
  18945. "description": "交易模式",
  18946. "type": "integer"
  18947. }
  18948. }
  18949. },
  18950. "trade.QueryRecieptOrderRsp": {
  18951. "type": "object",
  18952. "required": [
  18953. "ordertime"
  18954. ],
  18955. "properties": {
  18956. "accountName": {
  18957. "description": "所属账号名称(已脱敏)",
  18958. "type": "string"
  18959. },
  18960. "accountid": {
  18961. "description": "资金账号",
  18962. "type": "integer"
  18963. },
  18964. "buyorsell": {
  18965. "description": "方向 - 0:买 1:卖",
  18966. "type": "integer"
  18967. },
  18968. "enableqty": {
  18969. "description": "可摘数量",
  18970. "type": "integer"
  18971. },
  18972. "goodscode": {
  18973. "description": "商品代码",
  18974. "type": "string"
  18975. },
  18976. "goodsid": {
  18977. "description": "商品ID",
  18978. "type": "integer"
  18979. },
  18980. "goodsname": {
  18981. "description": "商品名称",
  18982. "type": "string"
  18983. },
  18984. "orderid": {
  18985. "description": "委托单号",
  18986. "type": "string"
  18987. },
  18988. "orderprice": {
  18989. "description": "委托价格",
  18990. "type": "number"
  18991. },
  18992. "ordertime": {
  18993. "description": "委托时间",
  18994. "type": "string"
  18995. },
  18996. "tradedate": {
  18997. "description": "交易日(yyyyMMdd)",
  18998. "type": "string"
  18999. }
  19000. }
  19001. },
  19002. "user.LoginQueryRsp": {
  19003. "type": "object",
  19004. "properties": {
  19005. "externalExchanges": {
  19006. "description": "外部交易所",
  19007. "type": "array",
  19008. "items": {
  19009. "$ref": "#/definitions/models.Externalexchange"
  19010. }
  19011. },
  19012. "goodsgroups": {
  19013. "description": "商品组",
  19014. "type": "array",
  19015. "items": {
  19016. "$ref": "#/definitions/models.Goodsgroup"
  19017. }
  19018. },
  19019. "loginAccount": {
  19020. "description": "登录账号",
  19021. "type": "object",
  19022. "$ref": "#/definitions/models.Loginaccount"
  19023. },
  19024. "markets": {
  19025. "description": "市场",
  19026. "type": "array",
  19027. "items": {
  19028. "$ref": "#/definitions/models.Market"
  19029. }
  19030. },
  19031. "systemParams": {
  19032. "description": "系统参数",
  19033. "type": "array",
  19034. "items": {
  19035. "$ref": "#/definitions/models.Systemparam"
  19036. }
  19037. },
  19038. "userAccount": {
  19039. "description": "用户账号",
  19040. "type": "object",
  19041. "$ref": "#/definitions/models.Useraccount"
  19042. },
  19043. "userInfo": {
  19044. "description": "用户信息",
  19045. "type": "object",
  19046. "$ref": "#/definitions/models.Userinfo"
  19047. },
  19048. "username": {
  19049. "description": "用户姓名",
  19050. "type": "string"
  19051. }
  19052. }
  19053. }
  19054. },
  19055. "securityDefinitions": {
  19056. "ApiKeyAuth": {
  19057. "type": "apiKey",
  19058. "name": "Authorization",
  19059. "in": "header"
  19060. }
  19061. }
  19062. }