swagger.json 975 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://www.muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PC 1:Mobile",
  415. "name": "clientType",
  416. "in": "query"
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "type": "array",
  424. "items": {
  425. "$ref": "#/definitions/common.ClientMenu"
  426. }
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/GetDivisions": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询区域信息",
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/models.Division"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/GetServerTime": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "获取服务器时间",
  472. "responses": {
  473. "200": {
  474. "description": "OK",
  475. "schema": {
  476. "$ref": "#/definitions/app.Response"
  477. }
  478. },
  479. "500": {
  480. "description": "Internal Server Error",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/Common/NoticeReaded": {
  489. "post": {
  490. "security": [
  491. {
  492. "ApiKeyAuth": []
  493. }
  494. ],
  495. "produces": [
  496. "application/json"
  497. ],
  498. "tags": [
  499. "通用服务"
  500. ],
  501. "summary": "通知公告设置已读请求",
  502. "parameters": [
  503. {
  504. "type": "integer",
  505. "description": "登录账号",
  506. "name": "loginID",
  507. "in": "query",
  508. "required": true
  509. },
  510. {
  511. "type": "integer",
  512. "description": "通知公告ID",
  513. "name": "noticeID",
  514. "in": "query",
  515. "required": true
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryErrorInfos": {
  535. "get": {
  536. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "通用服务"
  542. ],
  543. "summary": "获取数据库错误信息",
  544. "parameters": [
  545. {
  546. "type": "string",
  547. "description": "起始行号前索引",
  548. "name": "rowNumber",
  549. "in": "query"
  550. }
  551. ],
  552. "responses": {
  553. "200": {
  554. "description": "OK",
  555. "schema": {
  556. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  557. }
  558. },
  559. "500": {
  560. "description": "Internal Server Error",
  561. "schema": {
  562. "$ref": "#/definitions/app.Response"
  563. }
  564. }
  565. }
  566. }
  567. },
  568. "/Common/QueryImageConfigs": {
  569. "get": {
  570. "produces": [
  571. "application/json"
  572. ],
  573. "tags": [
  574. "通用服务"
  575. ],
  576. "summary": "查询轮播图配置信息",
  577. "parameters": [
  578. {
  579. "type": "integer",
  580. "description": "类型 - 1:App首页轮播 2:我的",
  581. "name": "imageType",
  582. "in": "query"
  583. }
  584. ],
  585. "responses": {
  586. "200": {
  587. "description": "OK",
  588. "schema": {
  589. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/QueryNotice": {
  602. "get": {
  603. "security": [
  604. {
  605. "ApiKeyAuth": []
  606. }
  607. ],
  608. "produces": [
  609. "application/json"
  610. ],
  611. "tags": [
  612. "通用服务"
  613. ],
  614. "summary": "通知公告系统消息查询",
  615. "parameters": [
  616. {
  617. "type": "integer",
  618. "description": "页码",
  619. "name": "page",
  620. "in": "query"
  621. },
  622. {
  623. "type": "integer",
  624. "description": "每页条数",
  625. "name": "pagesize",
  626. "in": "query"
  627. },
  628. {
  629. "type": "integer",
  630. "description": "登录账号",
  631. "name": "loginID",
  632. "in": "query",
  633. "required": true
  634. },
  635. {
  636. "type": "integer",
  637. "description": "消息类型 - 1:公告通知 2:系统消息",
  638. "name": "msgType",
  639. "in": "query"
  640. },
  641. {
  642. "type": "boolean",
  643. "description": "是否只获取未读信息",
  644. "name": "onlyUnRead",
  645. "in": "query"
  646. },
  647. {
  648. "type": "integer",
  649. "description": "自增ID,传入后会返回这个ID后面的记录",
  650. "name": "lastID",
  651. "in": "query"
  652. }
  653. ],
  654. "responses": {
  655. "200": {
  656. "description": "OK",
  657. "schema": {
  658. "$ref": "#/definitions/common.QueryNoticeRsp"
  659. }
  660. },
  661. "500": {
  662. "description": "Internal Server Error",
  663. "schema": {
  664. "$ref": "#/definitions/app.Response"
  665. }
  666. }
  667. }
  668. }
  669. },
  670. "/Common/QueryProvincesAndCities": {
  671. "get": {
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "通用服务"
  677. ],
  678. "summary": "查询省市信息(不包括区)",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "省ID",
  683. "name": "provinceID",
  684. "in": "query"
  685. }
  686. ],
  687. "responses": {
  688. "200": {
  689. "description": "OK",
  690. "schema": {
  691. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  692. }
  693. },
  694. "500": {
  695. "description": "Internal Server Error",
  696. "schema": {
  697. "$ref": "#/definitions/app.Response"
  698. }
  699. }
  700. }
  701. }
  702. },
  703. "/Common/QueryTableDefine": {
  704. "get": {
  705. "produces": [
  706. "application/json"
  707. ],
  708. "tags": [
  709. "通用服务"
  710. ],
  711. "summary": "查询交易端列表头信息",
  712. "parameters": [
  713. {
  714. "type": "string",
  715. "description": "表key",
  716. "name": "tableKey",
  717. "in": "query"
  718. },
  719. {
  720. "type": "integer",
  721. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  722. "name": "tableType",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/common.QueryTableDefineRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Common/QueryTraderMenu": {
  743. "get": {
  744. "produces": [
  745. "application/json"
  746. ],
  747. "tags": [
  748. "通用服务"
  749. ],
  750. "summary": "查询交易端菜单",
  751. "parameters": [
  752. {
  753. "type": "integer",
  754. "description": "登录账号",
  755. "name": "loginid",
  756. "in": "query",
  757. "required": true
  758. }
  759. ],
  760. "responses": {
  761. "200": {
  762. "description": "OK",
  763. "schema": {
  764. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  765. }
  766. },
  767. "500": {
  768. "description": "Internal Server Error",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. }
  773. }
  774. }
  775. },
  776. "/Delivery/QueryDeliveryRelation": {
  777. "get": {
  778. "security": [
  779. {
  780. "ApiKeyAuth": []
  781. }
  782. ],
  783. "produces": [
  784. "application/json"
  785. ],
  786. "tags": [
  787. "交割服务"
  788. ],
  789. "summary": "查询商品交割关系表",
  790. "parameters": [
  791. {
  792. "type": "integer",
  793. "description": "商品ID",
  794. "name": "goodsid",
  795. "in": "query"
  796. },
  797. {
  798. "type": "integer",
  799. "description": "品种ID",
  800. "name": "deliverygoodsid",
  801. "in": "query"
  802. },
  803. {
  804. "type": "integer",
  805. "description": "市场ID",
  806. "name": "marketid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Ermcp/GetErmcpGoods": {
  827. "get": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "企业风险管理(app)"
  838. ],
  839. "summary": "查询企业风管期货商品信息",
  840. "parameters": [
  841. {
  842. "type": "string",
  843. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  844. "name": "lastUpdateTime",
  845. "in": "query"
  846. }
  847. ],
  848. "responses": {
  849. "200": {
  850. "description": "OK",
  851. "schema": {
  852. "$ref": "#/definitions/models.ErmcpGoods"
  853. }
  854. },
  855. "500": {
  856. "description": "Internal Server Error",
  857. "schema": {
  858. "$ref": "#/definitions/app.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/Ermcp/GetErmcpGoodsSortByPosition": {
  865. "get": {
  866. "security": [
  867. {
  868. "ApiKeyAuth": []
  869. }
  870. ],
  871. "produces": [
  872. "application/json"
  873. ],
  874. "tags": [
  875. "企业风险管理(app)"
  876. ],
  877. "summary": "查询企业风管期货主力、次主力商品信息",
  878. "parameters": [
  879. {
  880. "type": "string",
  881. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  882. "name": "sortIndex",
  883. "in": "query"
  884. }
  885. ],
  886. "responses": {
  887. "200": {
  888. "description": "OK",
  889. "schema": {
  890. "$ref": "#/definitions/models.Goodssortbypreposition"
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/GetErmcpOutAccountStatus": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "获取目标登录账号当前对冲账号在线状态",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "登录账号",
  920. "name": "loginID",
  921. "in": "query",
  922. "required": true
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.Hedgemarketopenlog"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "获取企业风管终端权限",
  955. "parameters": [
  956. {
  957. "type": "integer",
  958. "description": "登录账号",
  959. "name": "loginID",
  960. "in": "query",
  961. "required": true
  962. }
  963. ],
  964. "responses": {
  965. "200": {
  966. "description": "OK",
  967. "schema": {
  968. "$ref": "#/definitions/models.Funcmenulist"
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryAccMgrBizGroupSet": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询业务类型分组(账户管理/账户设置)",
  994. "parameters": [
  995. {
  996. "type": "integer",
  997. "description": "用户ID",
  998. "name": "userid",
  999. "in": "query",
  1000. "required": true
  1001. },
  1002. {
  1003. "type": "integer",
  1004. "description": "现货商品id",
  1005. "name": "deliverygoodsid",
  1006. "in": "query"
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "OK",
  1012. "schema": {
  1013. "type": "array",
  1014. "items": {
  1015. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1016. }
  1017. }
  1018. },
  1019. "500": {
  1020. "description": "Internal Server Error",
  1021. "schema": {
  1022. "$ref": "#/definitions/app.Response"
  1023. }
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "/Ermcp/QueryAccMgrLoginUser": {
  1029. "get": {
  1030. "security": [
  1031. {
  1032. "ApiKeyAuth": []
  1033. }
  1034. ],
  1035. "produces": [
  1036. "application/json"
  1037. ],
  1038. "tags": [
  1039. "企业风险管理(app)"
  1040. ],
  1041. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1042. "parameters": [
  1043. {
  1044. "type": "integer",
  1045. "description": "用户ID",
  1046. "name": "userid",
  1047. "in": "query",
  1048. "required": true
  1049. },
  1050. {
  1051. "type": "integer",
  1052. "description": "用户类型 2-机构 7-企业成员",
  1053. "name": "usertype",
  1054. "in": "query"
  1055. },
  1056. {
  1057. "type": "integer",
  1058. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1059. "name": "querytype",
  1060. "in": "query",
  1061. "required": true
  1062. }
  1063. ],
  1064. "responses": {
  1065. "200": {
  1066. "description": "OK",
  1067. "schema": {
  1068. "type": "array",
  1069. "items": {
  1070. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1071. }
  1072. }
  1073. },
  1074. "500": {
  1075. "description": "Internal Server Error",
  1076. "schema": {
  1077. "$ref": "#/definitions/app.Response"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1084. "get": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "produces": [
  1091. "application/json"
  1092. ],
  1093. "tags": [
  1094. "企业风险管理(app)"
  1095. ],
  1096. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1097. "parameters": [
  1098. {
  1099. "type": "integer",
  1100. "description": "用户ID",
  1101. "name": "userid",
  1102. "in": "query"
  1103. },
  1104. {
  1105. "type": "integer",
  1106. "description": "主账号id",
  1107. "name": "accountid",
  1108. "in": "query"
  1109. }
  1110. ],
  1111. "responses": {
  1112. "200": {
  1113. "description": "OK",
  1114. "schema": {
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/models.MainAccountInfo"
  1118. }
  1119. }
  1120. },
  1121. "500": {
  1122. "description": "Internal Server Error",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. }
  1127. }
  1128. }
  1129. },
  1130. "/Ermcp/QueryAccMgrRole": {
  1131. "get": {
  1132. "security": [
  1133. {
  1134. "ApiKeyAuth": []
  1135. }
  1136. ],
  1137. "produces": [
  1138. "application/json"
  1139. ],
  1140. "tags": [
  1141. "企业风险管理(app)"
  1142. ],
  1143. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1144. "parameters": [
  1145. {
  1146. "type": "integer",
  1147. "description": "用户ID",
  1148. "name": "userid",
  1149. "in": "query",
  1150. "required": true
  1151. }
  1152. ],
  1153. "responses": {
  1154. "200": {
  1155. "description": "OK",
  1156. "schema": {
  1157. "type": "array",
  1158. "items": {
  1159. "$ref": "#/definitions/models.ErmcpRole"
  1160. }
  1161. }
  1162. },
  1163. "500": {
  1164. "description": "Internal Server Error",
  1165. "schema": {
  1166. "$ref": "#/definitions/app.Response"
  1167. }
  1168. }
  1169. }
  1170. }
  1171. },
  1172. "/Ermcp/QueryAccMgrRoleMenu": {
  1173. "get": {
  1174. "security": [
  1175. {
  1176. "ApiKeyAuth": []
  1177. }
  1178. ],
  1179. "produces": [
  1180. "application/json"
  1181. ],
  1182. "tags": [
  1183. "企业风险管理(app)"
  1184. ],
  1185. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1186. "parameters": [
  1187. {
  1188. "type": "integer",
  1189. "description": "用户ID",
  1190. "name": "userid",
  1191. "in": "query",
  1192. "required": true
  1193. },
  1194. {
  1195. "type": "string",
  1196. "description": "角色id(可多个,逗号隔开)",
  1197. "name": "roleid",
  1198. "in": "query"
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "账号id",
  1245. "name": "accountid",
  1246. "in": "query"
  1247. }
  1248. ],
  1249. "responses": {
  1250. "200": {
  1251. "description": "OK",
  1252. "schema": {
  1253. "type": "array",
  1254. "items": {
  1255. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1256. }
  1257. }
  1258. },
  1259. "500": {
  1260. "description": "Internal Server Error",
  1261. "schema": {
  1262. "$ref": "#/definitions/app.Response"
  1263. }
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "/Ermcp/QueryAccMgrTaaccount": {
  1269. "get": {
  1270. "security": [
  1271. {
  1272. "ApiKeyAuth": []
  1273. }
  1274. ],
  1275. "produces": [
  1276. "application/json"
  1277. ],
  1278. "tags": [
  1279. "企业风险管理(app)"
  1280. ],
  1281. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1282. "parameters": [
  1283. {
  1284. "type": "integer",
  1285. "description": "用户ID",
  1286. "name": "userid",
  1287. "in": "query",
  1288. "required": true
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "type": "array",
  1296. "items": {
  1297. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1298. }
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/QueryAvaildGoodsGroup": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "所属机构ID",
  1328. "name": "userid",
  1329. "in": "query",
  1330. "required": true
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "type": "array",
  1338. "items": {
  1339. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1340. }
  1341. }
  1342. },
  1343. "500": {
  1344. "description": "Internal Server Error",
  1345. "schema": {
  1346. "$ref": "#/definitions/app.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/Ermcp/QueryBusinessDj": {
  1353. "get": {
  1354. "security": [
  1355. {
  1356. "ApiKeyAuth": []
  1357. }
  1358. ],
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "企业风险管理(app)"
  1364. ],
  1365. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1366. "parameters": [
  1367. {
  1368. "type": "integer",
  1369. "description": "用户ID",
  1370. "name": "UserId",
  1371. "in": "query",
  1372. "required": true
  1373. },
  1374. {
  1375. "type": "integer",
  1376. "description": "用户类型 2-机构 7-企业成员",
  1377. "name": "usertype",
  1378. "in": "query"
  1379. },
  1380. {
  1381. "type": "string",
  1382. "description": "现货合同ID, 不填则查所有",
  1383. "name": "relatedid",
  1384. "in": "query"
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1389. "name": "applystatus",
  1390. "in": "query"
  1391. }
  1392. ],
  1393. "responses": {
  1394. "200": {
  1395. "description": "OK",
  1396. "schema": {
  1397. "type": "array",
  1398. "items": {
  1399. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1400. }
  1401. }
  1402. },
  1403. "500": {
  1404. "description": "Internal Server Error",
  1405. "schema": {
  1406. "$ref": "#/definitions/app.Response"
  1407. }
  1408. }
  1409. }
  1410. }
  1411. },
  1412. "/Ermcp/QueryBusinessFp": {
  1413. "get": {
  1414. "security": [
  1415. {
  1416. "ApiKeyAuth": []
  1417. }
  1418. ],
  1419. "produces": [
  1420. "application/json"
  1421. ],
  1422. "tags": [
  1423. "企业风险管理(app)"
  1424. ],
  1425. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1426. "parameters": [
  1427. {
  1428. "type": "integer",
  1429. "description": "用户ID",
  1430. "name": "UserId",
  1431. "in": "query",
  1432. "required": true
  1433. },
  1434. {
  1435. "type": "integer",
  1436. "description": "用户类型 2-机构 7-企业成员",
  1437. "name": "usertype",
  1438. "in": "query"
  1439. },
  1440. {
  1441. "type": "string",
  1442. "description": "现货合同ID, 不填则查所有",
  1443. "name": "relatedid",
  1444. "in": "query"
  1445. },
  1446. {
  1447. "type": "string",
  1448. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1449. "name": "applystatus",
  1450. "in": "query"
  1451. }
  1452. ],
  1453. "responses": {
  1454. "200": {
  1455. "description": "OK",
  1456. "schema": {
  1457. "type": "array",
  1458. "items": {
  1459. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1460. }
  1461. }
  1462. },
  1463. "500": {
  1464. "description": "Internal Server Error",
  1465. "schema": {
  1466. "$ref": "#/definitions/app.Response"
  1467. }
  1468. }
  1469. }
  1470. }
  1471. },
  1472. "/Ermcp/QueryBusinessJs": {
  1473. "get": {
  1474. "security": [
  1475. {
  1476. "ApiKeyAuth": []
  1477. }
  1478. ],
  1479. "produces": [
  1480. "application/json"
  1481. ],
  1482. "tags": [
  1483. "企业风险管理(app)"
  1484. ],
  1485. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1486. "parameters": [
  1487. {
  1488. "type": "integer",
  1489. "description": "用户ID",
  1490. "name": "UserId",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "integer",
  1496. "description": "用户类型 2-机构 7-企业成员",
  1497. "name": "usertype",
  1498. "in": "query"
  1499. },
  1500. {
  1501. "type": "string",
  1502. "description": "现货合同ID, 不填则查所有",
  1503. "name": "relatedid",
  1504. "in": "query"
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "操作申请id",
  1509. "name": "operateapplyid",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1515. "name": "applystatus",
  1516. "in": "query"
  1517. }
  1518. ],
  1519. "responses": {
  1520. "200": {
  1521. "description": "OK",
  1522. "schema": {
  1523. "type": "array",
  1524. "items": {
  1525. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1526. }
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Ermcp/QueryBusinessJsEx": {
  1539. "get": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "企业风险管理(app)"
  1550. ],
  1551. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1552. "parameters": [
  1553. {
  1554. "type": "integer",
  1555. "description": "用户ID",
  1556. "name": "UserId",
  1557. "in": "query",
  1558. "required": true
  1559. },
  1560. {
  1561. "type": "integer",
  1562. "description": "用户类型 2-机构 7-企业成员",
  1563. "name": "usertype",
  1564. "in": "query"
  1565. },
  1566. {
  1567. "type": "string",
  1568. "description": "现货合同ID, 不填则查所有",
  1569. "name": "relatedid",
  1570. "in": "query"
  1571. },
  1572. {
  1573. "type": "string",
  1574. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1575. "name": "applystatus",
  1576. "in": "query"
  1577. }
  1578. ],
  1579. "responses": {
  1580. "200": {
  1581. "description": "OK",
  1582. "schema": {
  1583. "type": "array",
  1584. "items": {
  1585. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1586. }
  1587. }
  1588. },
  1589. "500": {
  1590. "description": "Internal Server Error",
  1591. "schema": {
  1592. "$ref": "#/definitions/app.Response"
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "/Ermcp/QueryBusinessKx": {
  1599. "get": {
  1600. "security": [
  1601. {
  1602. "ApiKeyAuth": []
  1603. }
  1604. ],
  1605. "produces": [
  1606. "application/json"
  1607. ],
  1608. "tags": [
  1609. "企业风险管理(app)"
  1610. ],
  1611. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1612. "parameters": [
  1613. {
  1614. "type": "integer",
  1615. "description": "用户ID",
  1616. "name": "UserId",
  1617. "in": "query",
  1618. "required": true
  1619. },
  1620. {
  1621. "type": "integer",
  1622. "description": "用户类型 2-机构 7-企业成员",
  1623. "name": "usertype",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "string",
  1628. "description": "现货合同ID, 不填则查所有",
  1629. "name": "relatedid",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "string",
  1634. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1635. "name": "applystatus",
  1636. "in": "query"
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "OK",
  1642. "schema": {
  1643. "type": "array",
  1644. "items": {
  1645. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1646. }
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "Internal Server Error",
  1651. "schema": {
  1652. "$ref": "#/definitions/app.Response"
  1653. }
  1654. }
  1655. }
  1656. }
  1657. },
  1658. "/Ermcp/QueryChangeLog": {
  1659. "get": {
  1660. "security": [
  1661. {
  1662. "ApiKeyAuth": []
  1663. }
  1664. ],
  1665. "produces": [
  1666. "application/json"
  1667. ],
  1668. "tags": [
  1669. "企业风险管理(app)"
  1670. ],
  1671. "summary": "查询变更记录",
  1672. "parameters": [
  1673. {
  1674. "type": "string",
  1675. "description": "合同ID",
  1676. "name": "RelatedId",
  1677. "in": "query",
  1678. "required": true
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "type": "array",
  1686. "items": {
  1687. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1688. }
  1689. }
  1690. },
  1691. "500": {
  1692. "description": "Internal Server Error",
  1693. "schema": {
  1694. "$ref": "#/definitions/app.Response"
  1695. }
  1696. }
  1697. }
  1698. }
  1699. },
  1700. "/Ermcp/QueryErmcpHisOrderDetails": {
  1701. "get": {
  1702. "security": [
  1703. {
  1704. "ApiKeyAuth": []
  1705. }
  1706. ],
  1707. "produces": [
  1708. "application/json"
  1709. ],
  1710. "tags": [
  1711. "企业风险管理(app)"
  1712. ],
  1713. "summary": "获取企业风管期货历史委托单信息",
  1714. "parameters": [
  1715. {
  1716. "type": "integer",
  1717. "description": "资金账户ID",
  1718. "name": "accountID",
  1719. "in": "query",
  1720. "required": true
  1721. },
  1722. {
  1723. "type": "string",
  1724. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1725. "name": "startDate",
  1726. "in": "query"
  1727. },
  1728. {
  1729. "type": "string",
  1730. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1731. "name": "endDate",
  1732. "in": "query"
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "OK",
  1738. "schema": {
  1739. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryErmcpHisTradeDetails": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "获取企业风管期货历史成交单信息",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "资金账户ID",
  1769. "name": "accountID",
  1770. "in": "query",
  1771. "required": true
  1772. },
  1773. {
  1774. "type": "integer",
  1775. "description": "商品ID",
  1776. "name": "goodsID",
  1777. "in": "query"
  1778. },
  1779. {
  1780. "type": "integer",
  1781. "description": "买卖方向,0:买 1:卖",
  1782. "name": "buyOrSell",
  1783. "in": "query"
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "关联委托单号",
  1788. "name": "orderID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "string",
  1793. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1794. "name": "startDate",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "string",
  1799. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1800. "name": "endDate",
  1801. "in": "query"
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "produces": [
  1828. "application/json"
  1829. ],
  1830. "tags": [
  1831. "企业风险管理(app)"
  1832. ],
  1833. "summary": "获取企业风管期货内部持仓单信息",
  1834. "parameters": [
  1835. {
  1836. "type": "integer",
  1837. "description": "资金账户ID",
  1838. "name": "accountID",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "商品ID",
  1845. "name": "goodsID",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "买卖方向,0:买 1:卖",
  1851. "name": "buyOrSell",
  1852. "in": "query"
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1860. }
  1861. },
  1862. "500": {
  1863. "description": "Internal Server Error",
  1864. "schema": {
  1865. "$ref": "#/definitions/app.Response"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/Ermcp/QueryErmcpOrderDetails": {
  1872. "get": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "produces": [
  1879. "application/json"
  1880. ],
  1881. "tags": [
  1882. "企业风险管理(app)"
  1883. ],
  1884. "summary": "获取企业风管期货委托单信息",
  1885. "parameters": [
  1886. {
  1887. "type": "integer",
  1888. "description": "资金账户ID",
  1889. "name": "accountID",
  1890. "in": "query",
  1891. "required": true
  1892. }
  1893. ],
  1894. "responses": {
  1895. "200": {
  1896. "description": "OK",
  1897. "schema": {
  1898. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1899. }
  1900. },
  1901. "500": {
  1902. "description": "Internal Server Error",
  1903. "schema": {
  1904. "$ref": "#/definitions/app.Response"
  1905. }
  1906. }
  1907. }
  1908. }
  1909. },
  1910. "/Ermcp/QueryErmcpTradeDetails": {
  1911. "get": {
  1912. "security": [
  1913. {
  1914. "ApiKeyAuth": []
  1915. }
  1916. ],
  1917. "produces": [
  1918. "application/json"
  1919. ],
  1920. "tags": [
  1921. "企业风险管理(app)"
  1922. ],
  1923. "summary": "获取企业风管期货成交单信息",
  1924. "parameters": [
  1925. {
  1926. "type": "integer",
  1927. "description": "资金账户ID",
  1928. "name": "accountID",
  1929. "in": "query",
  1930. "required": true
  1931. },
  1932. {
  1933. "type": "integer",
  1934. "description": "商品ID",
  1935. "name": "goodsID",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "integer",
  1940. "description": "买卖方向,0:买 1:卖",
  1941. "name": "buyOrSell",
  1942. "in": "query"
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "关联委托单号",
  1947. "name": "orderID",
  1948. "in": "query"
  1949. }
  1950. ],
  1951. "responses": {
  1952. "200": {
  1953. "description": "OK",
  1954. "schema": {
  1955. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1956. }
  1957. },
  1958. "500": {
  1959. "description": "Internal Server Error",
  1960. "schema": {
  1961. "$ref": "#/definitions/app.Response"
  1962. }
  1963. }
  1964. }
  1965. }
  1966. },
  1967. "/Ermcp/QueryErmcpTradePosition": {
  1968. "get": {
  1969. "security": [
  1970. {
  1971. "ApiKeyAuth": []
  1972. }
  1973. ],
  1974. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1975. "produces": [
  1976. "application/json"
  1977. ],
  1978. "tags": [
  1979. "企业风险管理(app)"
  1980. ],
  1981. "summary": "获取企业风管期货持仓头寸信息",
  1982. "parameters": [
  1983. {
  1984. "type": "integer",
  1985. "description": "资金账户ID",
  1986. "name": "accountID",
  1987. "in": "query",
  1988. "required": true
  1989. },
  1990. {
  1991. "type": "integer",
  1992. "description": "所属市场ID",
  1993. "name": "marketID",
  1994. "in": "query"
  1995. }
  1996. ],
  1997. "responses": {
  1998. "200": {
  1999. "description": "OK",
  2000. "schema": {
  2001. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Ermcp/QueryExposureDetail": {
  2014. "get": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "企业风险管理(app)"
  2025. ],
  2026. "summary": "查询敞口现货明细",
  2027. "parameters": [
  2028. {
  2029. "type": "integer",
  2030. "description": "所属机构ID",
  2031. "name": "areaUserId",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "套保商品",
  2038. "name": "middleGoodsId",
  2039. "in": "query",
  2040. "required": true
  2041. }
  2042. ],
  2043. "responses": {
  2044. "200": {
  2045. "description": "OK",
  2046. "schema": {
  2047. "type": "array",
  2048. "items": {
  2049. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2050. }
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Ermcp/QueryExposureGoods": {
  2063. "get": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "企业风险管理(app)"
  2074. ],
  2075. "summary": "查询敞口主力合约",
  2076. "parameters": [
  2077. {
  2078. "type": "integer",
  2079. "description": "套保商品id",
  2080. "name": "middlegoodsid",
  2081. "in": "query",
  2082. "required": true
  2083. }
  2084. ],
  2085. "responses": {
  2086. "200": {
  2087. "description": "OK",
  2088. "schema": {
  2089. "type": "array",
  2090. "items": {
  2091. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2092. }
  2093. }
  2094. },
  2095. "500": {
  2096. "description": "Internal Server Error",
  2097. "schema": {
  2098. "$ref": "#/definitions/app.Response"
  2099. }
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "/Ermcp/QueryExposureHedgePosition": {
  2105. "get": {
  2106. "security": [
  2107. {
  2108. "ApiKeyAuth": []
  2109. }
  2110. ],
  2111. "produces": [
  2112. "application/json"
  2113. ],
  2114. "tags": [
  2115. "企业风险管理(app)"
  2116. ],
  2117. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2118. "parameters": [
  2119. {
  2120. "type": "integer",
  2121. "description": "用户id",
  2122. "name": "userid",
  2123. "in": "query",
  2124. "required": true
  2125. }
  2126. ],
  2127. "responses": {
  2128. "200": {
  2129. "description": "OK",
  2130. "schema": {
  2131. "type": "array",
  2132. "items": {
  2133. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2134. }
  2135. }
  2136. },
  2137. "500": {
  2138. "description": "Internal Server Error",
  2139. "schema": {
  2140. "$ref": "#/definitions/app.Response"
  2141. }
  2142. }
  2143. }
  2144. }
  2145. },
  2146. "/Ermcp/QueryExposureHedgePositionDetail": {
  2147. "get": {
  2148. "security": [
  2149. {
  2150. "ApiKeyAuth": []
  2151. }
  2152. ],
  2153. "produces": [
  2154. "application/json"
  2155. ],
  2156. "tags": [
  2157. "企业风险管理(app)"
  2158. ],
  2159. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2160. "parameters": [
  2161. {
  2162. "type": "integer",
  2163. "description": "所属机构ID",
  2164. "name": "userid",
  2165. "in": "query",
  2166. "required": true
  2167. },
  2168. {
  2169. "type": "integer",
  2170. "description": "商品id",
  2171. "name": "goodsId",
  2172. "in": "query",
  2173. "required": true
  2174. }
  2175. ],
  2176. "responses": {
  2177. "200": {
  2178. "description": "OK",
  2179. "schema": {
  2180. "type": "array",
  2181. "items": {
  2182. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2183. }
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/app.Response"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/Ermcp/QueryExposureSpot": {
  2196. "get": {
  2197. "security": [
  2198. {
  2199. "ApiKeyAuth": []
  2200. }
  2201. ],
  2202. "produces": [
  2203. "application/json"
  2204. ],
  2205. "tags": [
  2206. "企业风险管理(app)"
  2207. ],
  2208. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2209. "parameters": [
  2210. {
  2211. "type": "integer",
  2212. "description": "所属机构ID",
  2213. "name": "areaUserId",
  2214. "in": "query",
  2215. "required": true
  2216. }
  2217. ],
  2218. "responses": {
  2219. "200": {
  2220. "description": "OK",
  2221. "schema": {
  2222. "type": "array",
  2223. "items": {
  2224. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2225. }
  2226. }
  2227. },
  2228. "500": {
  2229. "description": "Internal Server Error",
  2230. "schema": {
  2231. "$ref": "#/definitions/app.Response"
  2232. }
  2233. }
  2234. }
  2235. }
  2236. },
  2237. "/Ermcp/QueryExposureSpotDetail": {
  2238. "get": {
  2239. "security": [
  2240. {
  2241. "ApiKeyAuth": []
  2242. }
  2243. ],
  2244. "produces": [
  2245. "application/json"
  2246. ],
  2247. "tags": [
  2248. "企业风险管理(app)"
  2249. ],
  2250. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2251. "parameters": [
  2252. {
  2253. "type": "integer",
  2254. "description": "所属机构ID",
  2255. "name": "areaUserId",
  2256. "in": "query",
  2257. "required": true
  2258. },
  2259. {
  2260. "type": "integer",
  2261. "description": "现货品种ID",
  2262. "name": "wrstandardId",
  2263. "in": "query",
  2264. "required": true
  2265. }
  2266. ],
  2267. "responses": {
  2268. "200": {
  2269. "description": "OK",
  2270. "schema": {
  2271. "type": "array",
  2272. "items": {
  2273. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2274. }
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/Ermcp/QueryFuturesCompany": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "企业风险管理(app)"
  2298. ],
  2299. "summary": "查询期货公司",
  2300. "responses": {
  2301. "200": {
  2302. "description": "OK",
  2303. "schema": {
  2304. "type": "array",
  2305. "items": {
  2306. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2307. }
  2308. }
  2309. },
  2310. "500": {
  2311. "description": "Internal Server Error",
  2312. "schema": {
  2313. "$ref": "#/definitions/app.Response"
  2314. }
  2315. }
  2316. }
  2317. }
  2318. },
  2319. "/Ermcp/QueryGGConvertConfig": {
  2320. "get": {
  2321. "security": [
  2322. {
  2323. "ApiKeyAuth": []
  2324. }
  2325. ],
  2326. "produces": [
  2327. "application/json"
  2328. ],
  2329. "tags": [
  2330. "企业风险管理(app)"
  2331. ],
  2332. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2333. "parameters": [
  2334. {
  2335. "type": "integer",
  2336. "description": "品种id(不填则查所有)",
  2337. "name": "goodsgroupid",
  2338. "in": "query"
  2339. }
  2340. ],
  2341. "responses": {
  2342. "200": {
  2343. "description": "OK",
  2344. "schema": {
  2345. "type": "array",
  2346. "items": {
  2347. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2348. }
  2349. }
  2350. },
  2351. "500": {
  2352. "description": "Internal Server Error",
  2353. "schema": {
  2354. "$ref": "#/definitions/app.Response"
  2355. }
  2356. }
  2357. }
  2358. }
  2359. },
  2360. "/Ermcp/QueryGoodsBrand": {
  2361. "get": {
  2362. "security": [
  2363. {
  2364. "ApiKeyAuth": []
  2365. }
  2366. ],
  2367. "produces": [
  2368. "application/json"
  2369. ],
  2370. "tags": [
  2371. "企业风险管理(app)"
  2372. ],
  2373. "summary": "查询商品品牌",
  2374. "parameters": [
  2375. {
  2376. "type": "integer",
  2377. "description": "用户ID",
  2378. "name": "userid",
  2379. "in": "query",
  2380. "required": true
  2381. },
  2382. {
  2383. "type": "integer",
  2384. "description": "现货商品ID",
  2385. "name": "wrstandardid",
  2386. "in": "query"
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "OK",
  2392. "schema": {
  2393. "type": "array",
  2394. "items": {
  2395. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2396. }
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/app.Response"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/Ermcp/QueryGoodsModel": {
  2409. "get": {
  2410. "security": [
  2411. {
  2412. "ApiKeyAuth": []
  2413. }
  2414. ],
  2415. "produces": [
  2416. "application/json"
  2417. ],
  2418. "tags": [
  2419. "企业风险管理(app)"
  2420. ],
  2421. "summary": "查询商品型号",
  2422. "parameters": [
  2423. {
  2424. "type": "integer",
  2425. "description": "用户ID",
  2426. "name": "userid",
  2427. "in": "query",
  2428. "required": true
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryHisExposure": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "用户id",
  2468. "name": "userid",
  2469. "in": "query",
  2470. "required": true
  2471. },
  2472. {
  2473. "type": "integer",
  2474. "description": "每个品种记录数",
  2475. "name": "lastNum",
  2476. "in": "query",
  2477. "required": true
  2478. }
  2479. ],
  2480. "responses": {
  2481. "200": {
  2482. "description": "OK",
  2483. "schema": {
  2484. "type": "array",
  2485. "items": {
  2486. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2487. }
  2488. }
  2489. },
  2490. "500": {
  2491. "description": "Internal Server Error",
  2492. "schema": {
  2493. "$ref": "#/definitions/app.Response"
  2494. }
  2495. }
  2496. }
  2497. }
  2498. },
  2499. "/Ermcp/QueryMiddleGoods": {
  2500. "get": {
  2501. "security": [
  2502. {
  2503. "ApiKeyAuth": []
  2504. }
  2505. ],
  2506. "produces": [
  2507. "application/json"
  2508. ],
  2509. "tags": [
  2510. "企业风险管理(app)"
  2511. ],
  2512. "summary": "查询套保品种(菜单:套保品种)",
  2513. "parameters": [
  2514. {
  2515. "type": "integer",
  2516. "description": "所属机构ID",
  2517. "name": "userid",
  2518. "in": "query",
  2519. "required": true
  2520. },
  2521. {
  2522. "type": "integer",
  2523. "description": "状态 0-停用 1-正常",
  2524. "name": "status",
  2525. "in": "query",
  2526. "required": true
  2527. }
  2528. ],
  2529. "responses": {
  2530. "200": {
  2531. "description": "OK",
  2532. "schema": {
  2533. "type": "array",
  2534. "items": {
  2535. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2536. }
  2537. }
  2538. },
  2539. "500": {
  2540. "description": "Internal Server Error",
  2541. "schema": {
  2542. "$ref": "#/definitions/app.Response"
  2543. }
  2544. }
  2545. }
  2546. }
  2547. },
  2548. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2549. "get": {
  2550. "security": [
  2551. {
  2552. "ApiKeyAuth": []
  2553. }
  2554. ],
  2555. "produces": [
  2556. "application/json"
  2557. ],
  2558. "tags": [
  2559. "企业风险管理(app)"
  2560. ],
  2561. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2562. "parameters": [
  2563. {
  2564. "type": "integer",
  2565. "description": "所属机构ID",
  2566. "name": "userid",
  2567. "in": "query",
  2568. "required": true
  2569. },
  2570. {
  2571. "type": "integer",
  2572. "description": "套保品种id",
  2573. "name": "middlegoodsid",
  2574. "in": "query",
  2575. "required": true
  2576. }
  2577. ],
  2578. "responses": {
  2579. "200": {
  2580. "description": "OK",
  2581. "schema": {
  2582. "type": "array",
  2583. "items": {
  2584. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2585. }
  2586. }
  2587. },
  2588. "500": {
  2589. "description": "Internal Server Error",
  2590. "schema": {
  2591. "$ref": "#/definitions/app.Response"
  2592. }
  2593. }
  2594. }
  2595. }
  2596. },
  2597. "/Ermcp/QueryMiddleGoodsDetail": {
  2598. "get": {
  2599. "security": [
  2600. {
  2601. "ApiKeyAuth": []
  2602. }
  2603. ],
  2604. "produces": [
  2605. "application/json"
  2606. ],
  2607. "tags": [
  2608. "企业风险管理(app)"
  2609. ],
  2610. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2611. "parameters": [
  2612. {
  2613. "type": "integer",
  2614. "description": "所属机构ID",
  2615. "name": "userid",
  2616. "in": "query",
  2617. "required": true
  2618. },
  2619. {
  2620. "type": "integer",
  2621. "description": "套保品种id",
  2622. "name": "middlegoodsid",
  2623. "in": "query"
  2624. }
  2625. ],
  2626. "responses": {
  2627. "200": {
  2628. "description": "OK",
  2629. "schema": {
  2630. "type": "array",
  2631. "items": {
  2632. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2633. }
  2634. }
  2635. },
  2636. "500": {
  2637. "description": "Internal Server Error",
  2638. "schema": {
  2639. "$ref": "#/definitions/app.Response"
  2640. }
  2641. }
  2642. }
  2643. }
  2644. },
  2645. "/Ermcp/QueryPendingAuditInfo": {
  2646. "get": {
  2647. "security": [
  2648. {
  2649. "ApiKeyAuth": []
  2650. }
  2651. ],
  2652. "produces": [
  2653. "application/json"
  2654. ],
  2655. "tags": [
  2656. "企业风险管理(app)"
  2657. ],
  2658. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2659. "parameters": [
  2660. {
  2661. "type": "integer",
  2662. "description": "用户ID",
  2663. "name": "UserId",
  2664. "in": "query",
  2665. "required": true
  2666. }
  2667. ],
  2668. "responses": {
  2669. "200": {
  2670. "description": "OK",
  2671. "schema": {
  2672. "type": "array",
  2673. "items": {
  2674. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2675. }
  2676. }
  2677. },
  2678. "500": {
  2679. "description": "Internal Server Error",
  2680. "schema": {
  2681. "$ref": "#/definitions/app.Response"
  2682. }
  2683. }
  2684. }
  2685. }
  2686. },
  2687. "/Ermcp/QueryRealtimeExposure": {
  2688. "get": {
  2689. "security": [
  2690. {
  2691. "ApiKeyAuth": []
  2692. }
  2693. ],
  2694. "produces": [
  2695. "application/json"
  2696. ],
  2697. "tags": [
  2698. "企业风险管理(app)"
  2699. ],
  2700. "summary": "查询实时敞口",
  2701. "parameters": [
  2702. {
  2703. "type": "integer",
  2704. "description": "所属机构ID",
  2705. "name": "userid",
  2706. "in": "query",
  2707. "required": true
  2708. }
  2709. ],
  2710. "responses": {
  2711. "200": {
  2712. "description": "OK",
  2713. "schema": {
  2714. "type": "array",
  2715. "items": {
  2716. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2717. }
  2718. }
  2719. },
  2720. "500": {
  2721. "description": "Internal Server Error",
  2722. "schema": {
  2723. "$ref": "#/definitions/app.Response"
  2724. }
  2725. }
  2726. }
  2727. }
  2728. },
  2729. "/Ermcp/QueryRealtimeExposurePosition": {
  2730. "get": {
  2731. "security": [
  2732. {
  2733. "ApiKeyAuth": []
  2734. }
  2735. ],
  2736. "produces": [
  2737. "application/json"
  2738. ],
  2739. "tags": [
  2740. "企业风险管理(app)"
  2741. ],
  2742. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2743. "parameters": [
  2744. {
  2745. "type": "integer",
  2746. "description": "用户id",
  2747. "name": "userid",
  2748. "in": "query",
  2749. "required": true
  2750. },
  2751. {
  2752. "type": "integer",
  2753. "description": "套保商品ID",
  2754. "name": "middleGoodsId",
  2755. "in": "query",
  2756. "required": true
  2757. }
  2758. ],
  2759. "responses": {
  2760. "200": {
  2761. "description": "OK",
  2762. "schema": {
  2763. "type": "array",
  2764. "items": {
  2765. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2766. }
  2767. }
  2768. },
  2769. "500": {
  2770. "description": "Internal Server Error",
  2771. "schema": {
  2772. "$ref": "#/definitions/app.Response"
  2773. }
  2774. }
  2775. }
  2776. }
  2777. },
  2778. "/Ermcp/QueryTradeConfigTMP": {
  2779. "get": {
  2780. "security": [
  2781. {
  2782. "ApiKeyAuth": []
  2783. }
  2784. ],
  2785. "produces": [
  2786. "application/json"
  2787. ],
  2788. "tags": [
  2789. "企业风险管理(app)"
  2790. ],
  2791. "summary": "查询交易模板配置",
  2792. "parameters": [
  2793. {
  2794. "type": "integer",
  2795. "description": "所属机构id",
  2796. "name": "areauserid",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "type": "array",
  2805. "items": {
  2806. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2807. }
  2808. }
  2809. },
  2810. "500": {
  2811. "description": "Internal Server Error",
  2812. "schema": {
  2813. "$ref": "#/definitions/app.Response"
  2814. }
  2815. }
  2816. }
  2817. }
  2818. },
  2819. "/Ermcp/QueryUserInfo": {
  2820. "get": {
  2821. "security": [
  2822. {
  2823. "ApiKeyAuth": []
  2824. }
  2825. ],
  2826. "produces": [
  2827. "application/json"
  2828. ],
  2829. "tags": [
  2830. "企业风险管理(app)"
  2831. ],
  2832. "summary": "查询客户资料",
  2833. "parameters": [
  2834. {
  2835. "type": "integer",
  2836. "description": "所属机构用户ID",
  2837. "name": "MemberUserID",
  2838. "in": "query",
  2839. "required": true
  2840. },
  2841. {
  2842. "type": "integer",
  2843. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2844. "name": "queryType",
  2845. "in": "query",
  2846. "required": true
  2847. }
  2848. ],
  2849. "responses": {
  2850. "200": {
  2851. "description": "OK",
  2852. "schema": {
  2853. "type": "array",
  2854. "items": {
  2855. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2856. }
  2857. }
  2858. },
  2859. "500": {
  2860. "description": "Internal Server Error",
  2861. "schema": {
  2862. "$ref": "#/definitions/app.Response"
  2863. }
  2864. }
  2865. }
  2866. }
  2867. },
  2868. "/Ermcp/QueryWarehouseInfo": {
  2869. "get": {
  2870. "security": [
  2871. {
  2872. "ApiKeyAuth": []
  2873. }
  2874. ],
  2875. "produces": [
  2876. "application/json"
  2877. ],
  2878. "tags": [
  2879. "企业风险管理(app)"
  2880. ],
  2881. "summary": "查询仓库信息",
  2882. "parameters": [
  2883. {
  2884. "type": "integer",
  2885. "description": "用户ID",
  2886. "name": "userid",
  2887. "in": "query",
  2888. "required": true
  2889. },
  2890. {
  2891. "type": "string",
  2892. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2893. "name": "status",
  2894. "in": "query"
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "type": "array",
  2902. "items": {
  2903. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2904. }
  2905. }
  2906. },
  2907. "500": {
  2908. "description": "Internal Server Error",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/Ermcp3/QryAreaExpourseContractDetail": {
  2917. "get": {
  2918. "security": [
  2919. {
  2920. "ApiKeyAuth": []
  2921. }
  2922. ],
  2923. "produces": [
  2924. "application/json"
  2925. ],
  2926. "tags": [
  2927. "企业风险管理v3(app)"
  2928. ],
  2929. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2930. "parameters": [
  2931. {
  2932. "type": "integer",
  2933. "description": "用户ID",
  2934. "name": "userid",
  2935. "in": "query",
  2936. "required": true
  2937. },
  2938. {
  2939. "type": "integer",
  2940. "description": "套保商品id",
  2941. "name": "middlegoodsid",
  2942. "in": "query",
  2943. "required": true
  2944. },
  2945. {
  2946. "type": "integer",
  2947. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2948. "name": "cycletype",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "string",
  2954. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2955. "name": "cycletime",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理v3(app)"
  2991. ],
  2992. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "用户ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保商品id",
  3004. "name": "middlegoodsid",
  3005. "in": "query",
  3006. "required": true
  3007. },
  3008. {
  3009. "type": "integer",
  3010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3011. "name": "cycletype",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3018. "name": "cycletime",
  3019. "in": "query",
  3020. "required": true
  3021. }
  3022. ],
  3023. "responses": {
  3024. "200": {
  3025. "description": "OK",
  3026. "schema": {
  3027. "type": "array",
  3028. "items": {
  3029. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3030. }
  3031. }
  3032. },
  3033. "500": {
  3034. "description": "Internal Server Error",
  3035. "schema": {
  3036. "$ref": "#/definitions/app.Response"
  3037. }
  3038. }
  3039. }
  3040. }
  3041. },
  3042. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3043. "get": {
  3044. "security": [
  3045. {
  3046. "ApiKeyAuth": []
  3047. }
  3048. ],
  3049. "produces": [
  3050. "application/json"
  3051. ],
  3052. "tags": [
  3053. "企业风险管理v3(app)"
  3054. ],
  3055. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3056. "parameters": [
  3057. {
  3058. "type": "integer",
  3059. "description": "用户ID",
  3060. "name": "userid",
  3061. "in": "query",
  3062. "required": true
  3063. },
  3064. {
  3065. "type": "integer",
  3066. "description": "套保商品id",
  3067. "name": "middlegoodsid",
  3068. "in": "query",
  3069. "required": true
  3070. },
  3071. {
  3072. "type": "integer",
  3073. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3074. "name": "cycletype",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "string",
  3080. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3081. "name": "cycletime",
  3082. "in": "query",
  3083. "required": true
  3084. }
  3085. ],
  3086. "responses": {
  3087. "200": {
  3088. "description": "OK",
  3089. "schema": {
  3090. "type": "array",
  3091. "items": {
  3092. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3093. }
  3094. }
  3095. },
  3096. "500": {
  3097. "description": "Internal Server Error",
  3098. "schema": {
  3099. "$ref": "#/definitions/app.Response"
  3100. }
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3106. "get": {
  3107. "security": [
  3108. {
  3109. "ApiKeyAuth": []
  3110. }
  3111. ],
  3112. "produces": [
  3113. "application/json"
  3114. ],
  3115. "tags": [
  3116. "企业风险管理v3(app)"
  3117. ],
  3118. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3119. "parameters": [
  3120. {
  3121. "type": "integer",
  3122. "description": "用户ID",
  3123. "name": "userid",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "套保商品id",
  3130. "name": "middlegoodsid",
  3131. "in": "query",
  3132. "required": true
  3133. },
  3134. {
  3135. "type": "integer",
  3136. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3137. "name": "cycletype",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "string",
  3143. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3144. "name": "cycletime",
  3145. "in": "query",
  3146. "required": true
  3147. }
  3148. ],
  3149. "responses": {
  3150. "200": {
  3151. "description": "OK",
  3152. "schema": {
  3153. "type": "array",
  3154. "items": {
  3155. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3156. }
  3157. }
  3158. },
  3159. "500": {
  3160. "description": "Internal Server Error",
  3161. "schema": {
  3162. "$ref": "#/definitions/app.Response"
  3163. }
  3164. }
  3165. }
  3166. }
  3167. },
  3168. "/Ermcp3/QryAreaExpourseReport": {
  3169. "get": {
  3170. "security": [
  3171. {
  3172. "ApiKeyAuth": []
  3173. }
  3174. ],
  3175. "produces": [
  3176. "application/json"
  3177. ],
  3178. "tags": [
  3179. "企业风险管理v3(app)"
  3180. ],
  3181. "summary": "查询敞口报表",
  3182. "parameters": [
  3183. {
  3184. "type": "integer",
  3185. "description": "用户ID",
  3186. "name": "userid",
  3187. "in": "query",
  3188. "required": true
  3189. },
  3190. {
  3191. "type": "integer",
  3192. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3193. "name": "querytype",
  3194. "in": "query",
  3195. "required": true
  3196. },
  3197. {
  3198. "type": "integer",
  3199. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3200. "name": "cycletype",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "string",
  3206. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3207. "name": "cycletime",
  3208. "in": "query",
  3209. "required": true
  3210. }
  3211. ],
  3212. "responses": {
  3213. "200": {
  3214. "description": "OK",
  3215. "schema": {
  3216. "type": "array",
  3217. "items": {
  3218. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3219. }
  3220. }
  3221. },
  3222. "500": {
  3223. "description": "Internal Server Error",
  3224. "schema": {
  3225. "$ref": "#/definitions/app.Response"
  3226. }
  3227. }
  3228. }
  3229. }
  3230. },
  3231. "/Ermcp3/QryAreaSpotplReport": {
  3232. "get": {
  3233. "security": [
  3234. {
  3235. "ApiKeyAuth": []
  3236. }
  3237. ],
  3238. "produces": [
  3239. "application/json"
  3240. ],
  3241. "tags": [
  3242. "企业风险管理v3(app)"
  3243. ],
  3244. "summary": "查询现货报表",
  3245. "parameters": [
  3246. {
  3247. "type": "integer",
  3248. "description": "用户ID",
  3249. "name": "userid",
  3250. "in": "query",
  3251. "required": true
  3252. },
  3253. {
  3254. "type": "integer",
  3255. "description": "查询类型 1-报表 2-报表明细",
  3256. "name": "querytype",
  3257. "in": "query",
  3258. "required": true
  3259. },
  3260. {
  3261. "type": "integer",
  3262. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3263. "name": "cycletype",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "string",
  3269. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3270. "name": "cycletime",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "现货品种id(明细必填)",
  3277. "name": "deliverygoodsid",
  3278. "in": "query"
  3279. },
  3280. {
  3281. "type": "integer",
  3282. "description": "币种id(明细必填)",
  3283. "name": "currencyid",
  3284. "in": "query"
  3285. }
  3286. ],
  3287. "responses": {
  3288. "200": {
  3289. "description": "OK",
  3290. "schema": {
  3291. "type": "array",
  3292. "items": {
  3293. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3294. }
  3295. }
  3296. },
  3297. "500": {
  3298. "description": "Internal Server Error",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/Ermcp3/QryAreaStockReport": {
  3307. "get": {
  3308. "security": [
  3309. {
  3310. "ApiKeyAuth": []
  3311. }
  3312. ],
  3313. "produces": [
  3314. "application/json"
  3315. ],
  3316. "tags": [
  3317. "企业风险管理v3(app)"
  3318. ],
  3319. "summary": "查询库存报表",
  3320. "parameters": [
  3321. {
  3322. "type": "integer",
  3323. "description": "用户ID",
  3324. "name": "userid",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "查询类型 1-报表 2-报表明细",
  3331. "name": "querytype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "integer",
  3337. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3338. "name": "cycletype",
  3339. "in": "query",
  3340. "required": true
  3341. },
  3342. {
  3343. "type": "string",
  3344. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3345. "name": "cycletime",
  3346. "in": "query",
  3347. "required": true
  3348. },
  3349. {
  3350. "type": "string",
  3351. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3352. "name": "sumfields",
  3353. "in": "query"
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "品种ID",
  3358. "name": "deliverygoodsid",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "品类ID",
  3364. "name": "wrstandardid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "品牌ID",
  3370. "name": "spotgoodsbrandid",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "仓库ID",
  3376. "name": "warehouseinfoid",
  3377. "in": "query"
  3378. }
  3379. ],
  3380. "responses": {
  3381. "200": {
  3382. "description": "OK",
  3383. "schema": {
  3384. "type": "array",
  3385. "items": {
  3386. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3387. }
  3388. }
  3389. },
  3390. "500": {
  3391. "description": "Internal Server Error",
  3392. "schema": {
  3393. "$ref": "#/definitions/app.Response"
  3394. }
  3395. }
  3396. }
  3397. }
  3398. },
  3399. "/Ermcp3/QryAreaSumPL": {
  3400. "get": {
  3401. "security": [
  3402. {
  3403. "ApiKeyAuth": []
  3404. }
  3405. ],
  3406. "produces": [
  3407. "application/json"
  3408. ],
  3409. "tags": [
  3410. "企业风险管理v3(app)"
  3411. ],
  3412. "summary": "查询汇总损益表",
  3413. "parameters": [
  3414. {
  3415. "type": "integer",
  3416. "description": "用户ID",
  3417. "name": "userid",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "查询类型 1-报表 2-报表明细",
  3424. "name": "querytype",
  3425. "in": "query",
  3426. "required": true
  3427. },
  3428. {
  3429. "type": "integer",
  3430. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3431. "name": "cycletype",
  3432. "in": "query",
  3433. "required": true
  3434. },
  3435. {
  3436. "type": "string",
  3437. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3438. "name": "cycletime",
  3439. "in": "query",
  3440. "required": true
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "币种id(明细必填)",
  3445. "name": "currencyid",
  3446. "in": "query"
  3447. }
  3448. ],
  3449. "responses": {
  3450. "200": {
  3451. "description": "OK",
  3452. "schema": {
  3453. "type": "array",
  3454. "items": {
  3455. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3456. }
  3457. }
  3458. },
  3459. "500": {
  3460. "description": "Internal Server Error",
  3461. "schema": {
  3462. "$ref": "#/definitions/app.Response"
  3463. }
  3464. }
  3465. }
  3466. }
  3467. },
  3468. "/Ermcp3/QryFinanceReport": {
  3469. "get": {
  3470. "security": [
  3471. {
  3472. "ApiKeyAuth": []
  3473. }
  3474. ],
  3475. "produces": [
  3476. "application/json"
  3477. ],
  3478. "tags": [
  3479. "企业风险管理v3(app)"
  3480. ],
  3481. "summary": "查询财务报表",
  3482. "parameters": [
  3483. {
  3484. "type": "integer",
  3485. "description": "用户ID",
  3486. "name": "userid",
  3487. "in": "query",
  3488. "required": true
  3489. },
  3490. {
  3491. "type": "integer",
  3492. "description": "查询类型 1-报表 2-报表明细",
  3493. "name": "querytype",
  3494. "in": "query",
  3495. "required": true
  3496. },
  3497. {
  3498. "type": "integer",
  3499. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3500. "name": "cycletype",
  3501. "in": "query",
  3502. "required": true
  3503. },
  3504. {
  3505. "type": "string",
  3506. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3507. "name": "cycletime",
  3508. "in": "query",
  3509. "required": true
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "币种id(报表明细必填)",
  3514. "name": "currencyid",
  3515. "in": "query"
  3516. },
  3517. {
  3518. "type": "string",
  3519. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3520. "name": "sumfields",
  3521. "in": "query"
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "type": "array",
  3529. "items": {
  3530. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3531. }
  3532. }
  3533. },
  3534. "500": {
  3535. "description": "Internal Server Error",
  3536. "schema": {
  3537. "$ref": "#/definitions/app.Response"
  3538. }
  3539. }
  3540. }
  3541. }
  3542. },
  3543. "/Ermcp3/QryTaFutureDataReport": {
  3544. "get": {
  3545. "security": [
  3546. {
  3547. "ApiKeyAuth": []
  3548. }
  3549. ],
  3550. "produces": [
  3551. "application/json"
  3552. ],
  3553. "tags": [
  3554. "企业风险管理v3(app)"
  3555. ],
  3556. "summary": "查询期货报表",
  3557. "parameters": [
  3558. {
  3559. "type": "integer",
  3560. "description": "用户ID",
  3561. "name": "userid",
  3562. "in": "query",
  3563. "required": true
  3564. },
  3565. {
  3566. "type": "integer",
  3567. "description": "查询类型 1-报表 2-报表明细",
  3568. "name": "querytype",
  3569. "in": "query",
  3570. "required": true
  3571. },
  3572. {
  3573. "type": "integer",
  3574. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3575. "name": "cycletype",
  3576. "in": "query",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "string",
  3581. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3582. "name": "cycletime",
  3583. "in": "query",
  3584. "required": true
  3585. },
  3586. {
  3587. "type": "integer",
  3588. "description": "币种id(查明细必填)",
  3589. "name": "currencyid",
  3590. "in": "query"
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "品种id(查明细必填)",
  3595. "name": "goodsgroupid",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "商品id(查明细必填)",
  3601. "name": "goodsid",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "买卖方向(查明细必填)",
  3607. "name": "buyorsell",
  3608. "in": "query"
  3609. }
  3610. ],
  3611. "responses": {
  3612. "200": {
  3613. "description": "OK",
  3614. "schema": {
  3615. "type": "array",
  3616. "items": {
  3617. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3618. }
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/Ermcp3/QueryAreaStock": {
  3631. "get": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "企业风险管理v3(app)"
  3642. ],
  3643. "summary": "查询机构库存(库存管理/当前库存)",
  3644. "parameters": [
  3645. {
  3646. "type": "integer",
  3647. "description": "用户ID",
  3648. "name": "userid",
  3649. "in": "query",
  3650. "required": true
  3651. }
  3652. ],
  3653. "responses": {
  3654. "200": {
  3655. "description": "OK",
  3656. "schema": {
  3657. "type": "array",
  3658. "items": {
  3659. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3660. }
  3661. }
  3662. },
  3663. "500": {
  3664. "description": "Internal Server Error",
  3665. "schema": {
  3666. "$ref": "#/definitions/app.Response"
  3667. }
  3668. }
  3669. }
  3670. }
  3671. },
  3672. "/Ermcp3/QueryAreaStockApply": {
  3673. "get": {
  3674. "security": [
  3675. {
  3676. "ApiKeyAuth": []
  3677. }
  3678. ],
  3679. "produces": [
  3680. "application/json"
  3681. ],
  3682. "tags": [
  3683. "企业风险管理v3(app)"
  3684. ],
  3685. "summary": "查询库存申请(出入库记录|库存审核)",
  3686. "parameters": [
  3687. {
  3688. "type": "integer",
  3689. "description": "用户ID",
  3690. "name": "userid",
  3691. "in": "query",
  3692. "required": true
  3693. },
  3694. {
  3695. "type": "integer",
  3696. "description": "用户类型 2-机构 7-企业成员",
  3697. "name": "usertype",
  3698. "in": "query"
  3699. },
  3700. {
  3701. "type": "integer",
  3702. "description": "现货商品ID",
  3703. "name": "deliverygoodsid",
  3704. "in": "query"
  3705. },
  3706. {
  3707. "type": "string",
  3708. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3709. "name": "inouttype",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "合同ID",
  3715. "name": "spotcontractid",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "品类ID",
  3721. "name": "wrstandardid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "integer",
  3726. "description": "品牌ID",
  3727. "name": "spotgoodsbrandid",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "仓库ID",
  3733. "name": "warehouseinfoid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "string",
  3738. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3739. "name": "applystatus",
  3740. "in": "query"
  3741. }
  3742. ],
  3743. "responses": {
  3744. "200": {
  3745. "description": "OK",
  3746. "schema": {
  3747. "type": "array",
  3748. "items": {
  3749. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3750. }
  3751. }
  3752. },
  3753. "500": {
  3754. "description": "Internal Server Error",
  3755. "schema": {
  3756. "$ref": "#/definitions/app.Response"
  3757. }
  3758. }
  3759. }
  3760. }
  3761. },
  3762. "/Ermcp3/QueryAreaStockApplySum": {
  3763. "get": {
  3764. "security": [
  3765. {
  3766. "ApiKeyAuth": []
  3767. }
  3768. ],
  3769. "produces": [
  3770. "application/json"
  3771. ],
  3772. "tags": [
  3773. "企业风险管理v3(app)"
  3774. ],
  3775. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3776. "parameters": [
  3777. {
  3778. "type": "integer",
  3779. "description": "合同ID",
  3780. "name": "spotcontractid",
  3781. "in": "query"
  3782. }
  3783. ],
  3784. "responses": {
  3785. "200": {
  3786. "description": "OK",
  3787. "schema": {
  3788. "type": "array",
  3789. "items": {
  3790. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3791. }
  3792. }
  3793. },
  3794. "500": {
  3795. "description": "Internal Server Error",
  3796. "schema": {
  3797. "$ref": "#/definitions/app.Response"
  3798. }
  3799. }
  3800. }
  3801. }
  3802. },
  3803. "/Ermcp3/QueryDGFactoryItem": {
  3804. "get": {
  3805. "security": [
  3806. {
  3807. "ApiKeyAuth": []
  3808. }
  3809. ],
  3810. "produces": [
  3811. "application/json"
  3812. ],
  3813. "tags": [
  3814. "企业风险管理v3(app)"
  3815. ],
  3816. "summary": "查询品种要素定义项",
  3817. "parameters": [
  3818. {
  3819. "type": "integer",
  3820. "description": "用户id",
  3821. "name": "userid",
  3822. "in": "query"
  3823. },
  3824. {
  3825. "type": "integer",
  3826. "description": "用户类型 2-机构 7-企业成员",
  3827. "name": "usertype",
  3828. "in": "query"
  3829. },
  3830. {
  3831. "type": "integer",
  3832. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3833. "name": "dgfactoryitemid",
  3834. "in": "query"
  3835. },
  3836. {
  3837. "type": "integer",
  3838. "description": "现货品种ID",
  3839. "name": "deliverygoodsid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "要素项类型",
  3845. "name": "dgfactoryitemtypeid",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "顺序",
  3851. "name": "orderindex",
  3852. "in": "query"
  3853. }
  3854. ],
  3855. "responses": {
  3856. "200": {
  3857. "description": "OK",
  3858. "schema": {
  3859. "type": "array",
  3860. "items": {
  3861. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3862. }
  3863. }
  3864. },
  3865. "500": {
  3866. "description": "Internal Server Error",
  3867. "schema": {
  3868. "$ref": "#/definitions/app.Response"
  3869. }
  3870. }
  3871. }
  3872. }
  3873. },
  3874. "/Ermcp3/QueryDeliveryGoods": {
  3875. "get": {
  3876. "security": [
  3877. {
  3878. "ApiKeyAuth": []
  3879. }
  3880. ],
  3881. "produces": [
  3882. "application/json"
  3883. ],
  3884. "tags": [
  3885. "企业风险管理v3(app)"
  3886. ],
  3887. "summary": "查询现货商品",
  3888. "parameters": [
  3889. {
  3890. "type": "integer",
  3891. "description": "用户id",
  3892. "name": "userid",
  3893. "in": "query",
  3894. "required": true
  3895. },
  3896. {
  3897. "type": "integer",
  3898. "description": "用户类型 2-机构 7-企业成员",
  3899. "name": "usertype",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3905. "name": "excludecfg",
  3906. "in": "query"
  3907. }
  3908. ],
  3909. "responses": {
  3910. "200": {
  3911. "description": "OK",
  3912. "schema": {
  3913. "type": "array",
  3914. "items": {
  3915. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3916. }
  3917. }
  3918. },
  3919. "500": {
  3920. "description": "Internal Server Error",
  3921. "schema": {
  3922. "$ref": "#/definitions/app.Response"
  3923. }
  3924. }
  3925. }
  3926. }
  3927. },
  3928. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3929. "get": {
  3930. "security": [
  3931. {
  3932. "ApiKeyAuth": []
  3933. }
  3934. ],
  3935. "produces": [
  3936. "application/json"
  3937. ],
  3938. "tags": [
  3939. "企业风险管理v3(app)"
  3940. ],
  3941. "summary": "查询现货商品详情",
  3942. "parameters": [
  3943. {
  3944. "type": "integer",
  3945. "description": "用户id",
  3946. "name": "userid",
  3947. "in": "query",
  3948. "required": true
  3949. },
  3950. {
  3951. "type": "integer",
  3952. "description": "用户类型 2-机构 7-企业成员",
  3953. "name": "usertype",
  3954. "in": "query"
  3955. },
  3956. {
  3957. "type": "integer",
  3958. "description": "现货商品id",
  3959. "name": "deliverygoodsid",
  3960. "in": "query"
  3961. }
  3962. ],
  3963. "responses": {
  3964. "200": {
  3965. "description": "OK",
  3966. "schema": {
  3967. "type": "array",
  3968. "items": {
  3969. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3970. }
  3971. }
  3972. },
  3973. "500": {
  3974. "description": "Internal Server Error",
  3975. "schema": {
  3976. "$ref": "#/definitions/app.Response"
  3977. }
  3978. }
  3979. }
  3980. }
  3981. },
  3982. "/Ermcp3/QueryExposureDetail": {
  3983. "get": {
  3984. "security": [
  3985. {
  3986. "ApiKeyAuth": []
  3987. }
  3988. ],
  3989. "produces": [
  3990. "application/json"
  3991. ],
  3992. "tags": [
  3993. "企业风险管理v3(app)"
  3994. ],
  3995. "summary": "查询敞口现货明细",
  3996. "parameters": [
  3997. {
  3998. "type": "integer",
  3999. "description": "用户id",
  4000. "name": "userid",
  4001. "in": "query",
  4002. "required": true
  4003. },
  4004. {
  4005. "type": "integer",
  4006. "description": "用户类型 2-机构 7-企业成员",
  4007. "name": "usertype",
  4008. "in": "query"
  4009. },
  4010. {
  4011. "type": "integer",
  4012. "description": "套保商品",
  4013. "name": "middlegoodsid",
  4014. "in": "query",
  4015. "required": true
  4016. }
  4017. ],
  4018. "responses": {
  4019. "200": {
  4020. "description": "OK",
  4021. "schema": {
  4022. "type": "array",
  4023. "items": {
  4024. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4025. }
  4026. }
  4027. },
  4028. "500": {
  4029. "description": "Internal Server Error",
  4030. "schema": {
  4031. "$ref": "#/definitions/app.Response"
  4032. }
  4033. }
  4034. }
  4035. }
  4036. },
  4037. "/Ermcp3/QueryExposureSpot": {
  4038. "get": {
  4039. "security": [
  4040. {
  4041. "ApiKeyAuth": []
  4042. }
  4043. ],
  4044. "produces": [
  4045. "application/json"
  4046. ],
  4047. "tags": [
  4048. "企业风险管理v3(app)"
  4049. ],
  4050. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4051. "parameters": [
  4052. {
  4053. "type": "integer",
  4054. "description": "用户id",
  4055. "name": "userid",
  4056. "in": "query",
  4057. "required": true
  4058. },
  4059. {
  4060. "type": "integer",
  4061. "description": "用户类型 2-机构 7-企业成员",
  4062. "name": "usertype",
  4063. "in": "query"
  4064. }
  4065. ],
  4066. "responses": {
  4067. "200": {
  4068. "description": "OK",
  4069. "schema": {
  4070. "type": "array",
  4071. "items": {
  4072. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4073. }
  4074. }
  4075. },
  4076. "500": {
  4077. "description": "Internal Server Error",
  4078. "schema": {
  4079. "$ref": "#/definitions/app.Response"
  4080. }
  4081. }
  4082. }
  4083. }
  4084. },
  4085. "/Ermcp3/QueryExposureSpotDetail": {
  4086. "get": {
  4087. "security": [
  4088. {
  4089. "ApiKeyAuth": []
  4090. }
  4091. ],
  4092. "produces": [
  4093. "application/json"
  4094. ],
  4095. "tags": [
  4096. "企业风险管理v3(app)"
  4097. ],
  4098. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4099. "parameters": [
  4100. {
  4101. "type": "integer",
  4102. "description": "用户id",
  4103. "name": "userid",
  4104. "in": "query",
  4105. "required": true
  4106. },
  4107. {
  4108. "type": "integer",
  4109. "description": "用户类型 2-机构 7-企业成员",
  4110. "name": "usertype",
  4111. "in": "query"
  4112. },
  4113. {
  4114. "type": "integer",
  4115. "description": "现货品种ID",
  4116. "name": "deliverygoodsid",
  4117. "in": "query",
  4118. "required": true
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryGoodsGroup": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询期货商品组",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "排除套保品中已关联的商品组 1-排除",
  4171. "name": "excludecfg",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryGoodsWrstandard": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询商品品类",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "现货商品id",
  4225. "name": "deliverygoodsid",
  4226. "in": "query"
  4227. }
  4228. ],
  4229. "responses": {
  4230. "200": {
  4231. "description": "OK",
  4232. "schema": {
  4233. "type": "array",
  4234. "items": {
  4235. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4236. }
  4237. }
  4238. },
  4239. "500": {
  4240. "description": "Internal Server Error",
  4241. "schema": {
  4242. "$ref": "#/definitions/app.Response"
  4243. }
  4244. }
  4245. }
  4246. }
  4247. },
  4248. "/Ermcp3/QueryGoodsbrand": {
  4249. "get": {
  4250. "security": [
  4251. {
  4252. "ApiKeyAuth": []
  4253. }
  4254. ],
  4255. "produces": [
  4256. "application/json"
  4257. ],
  4258. "tags": [
  4259. "企业风险管理v3(app)"
  4260. ],
  4261. "summary": "查询商品品牌",
  4262. "parameters": [
  4263. {
  4264. "type": "integer",
  4265. "description": "用户id",
  4266. "name": "userid",
  4267. "in": "query",
  4268. "required": true
  4269. },
  4270. {
  4271. "type": "integer",
  4272. "description": "用户类型 2-机构 7-企业成员",
  4273. "name": "usertype",
  4274. "in": "query"
  4275. }
  4276. ],
  4277. "responses": {
  4278. "200": {
  4279. "description": "OK",
  4280. "schema": {
  4281. "type": "array",
  4282. "items": {
  4283. "$ref": "#/definitions/models.Ermcp3Brand"
  4284. }
  4285. }
  4286. },
  4287. "500": {
  4288. "description": "Internal Server Error",
  4289. "schema": {
  4290. "$ref": "#/definitions/app.Response"
  4291. }
  4292. }
  4293. }
  4294. }
  4295. },
  4296. "/Ermcp3/QueryHedgePlan": {
  4297. "get": {
  4298. "security": [
  4299. {
  4300. "ApiKeyAuth": []
  4301. }
  4302. ],
  4303. "produces": [
  4304. "application/json"
  4305. ],
  4306. "tags": [
  4307. "企业风险管理v3(app)"
  4308. ],
  4309. "summary": "查询套保计划",
  4310. "parameters": [
  4311. {
  4312. "type": "integer",
  4313. "description": "用户ID",
  4314. "name": "userid",
  4315. "in": "query",
  4316. "required": true
  4317. },
  4318. {
  4319. "type": "integer",
  4320. "description": "用户类型 2-机构 7-企业成员",
  4321. "name": "usertype",
  4322. "in": "query"
  4323. },
  4324. {
  4325. "type": "string",
  4326. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4327. "name": "hedgeplanstatus",
  4328. "in": "query",
  4329. "required": true
  4330. }
  4331. ],
  4332. "responses": {
  4333. "200": {
  4334. "description": "OK",
  4335. "schema": {
  4336. "type": "array",
  4337. "items": {
  4338. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4339. }
  4340. }
  4341. },
  4342. "500": {
  4343. "description": "Internal Server Error",
  4344. "schema": {
  4345. "$ref": "#/definitions/app.Response"
  4346. }
  4347. }
  4348. }
  4349. }
  4350. },
  4351. "/Ermcp3/QueryMiddleGoodsDetail": {
  4352. "get": {
  4353. "security": [
  4354. {
  4355. "ApiKeyAuth": []
  4356. }
  4357. ],
  4358. "produces": [
  4359. "application/json"
  4360. ],
  4361. "tags": [
  4362. "企业风险管理v3(app)"
  4363. ],
  4364. "summary": "查询套保品种详情(套保品种/商品详情)",
  4365. "parameters": [
  4366. {
  4367. "type": "integer",
  4368. "description": "用户id",
  4369. "name": "userid",
  4370. "in": "query",
  4371. "required": true
  4372. },
  4373. {
  4374. "type": "integer",
  4375. "description": "用户类型 2-机构 7-企业成员",
  4376. "name": "usertype",
  4377. "in": "query"
  4378. },
  4379. {
  4380. "type": "integer",
  4381. "description": "套保品种id",
  4382. "name": "middlegoodsid",
  4383. "in": "query"
  4384. }
  4385. ],
  4386. "responses": {
  4387. "200": {
  4388. "description": "OK",
  4389. "schema": {
  4390. "type": "array",
  4391. "items": {
  4392. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4393. }
  4394. }
  4395. },
  4396. "500": {
  4397. "description": "Internal Server Error",
  4398. "schema": {
  4399. "$ref": "#/definitions/app.Response"
  4400. }
  4401. }
  4402. }
  4403. }
  4404. },
  4405. "/Ermcp3/QueryRootUserAccount": {
  4406. "get": {
  4407. "security": [
  4408. {
  4409. "ApiKeyAuth": []
  4410. }
  4411. ],
  4412. "produces": [
  4413. "application/json"
  4414. ],
  4415. "tags": [
  4416. "企业风险管理v3(app)"
  4417. ],
  4418. "summary": "查询顶级用户信息",
  4419. "parameters": [
  4420. {
  4421. "type": "integer",
  4422. "description": "用户ID",
  4423. "name": "userid",
  4424. "in": "query",
  4425. "required": true
  4426. }
  4427. ],
  4428. "responses": {
  4429. "200": {
  4430. "description": "OK",
  4431. "schema": {
  4432. "type": "array",
  4433. "items": {
  4434. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4435. }
  4436. }
  4437. },
  4438. "500": {
  4439. "description": "Internal Server Error",
  4440. "schema": {
  4441. "$ref": "#/definitions/app.Response"
  4442. }
  4443. }
  4444. }
  4445. }
  4446. },
  4447. "/Ermcp3/QuerySpotContract": {
  4448. "get": {
  4449. "security": [
  4450. {
  4451. "ApiKeyAuth": []
  4452. }
  4453. ],
  4454. "produces": [
  4455. "application/json"
  4456. ],
  4457. "tags": [
  4458. "企业风险管理v3(app)"
  4459. ],
  4460. "summary": "查询现货合同",
  4461. "parameters": [
  4462. {
  4463. "type": "integer",
  4464. "description": "用户id",
  4465. "name": "userid",
  4466. "in": "query",
  4467. "required": true
  4468. },
  4469. {
  4470. "type": "integer",
  4471. "description": "用户类型 2-机构 7-企业成员",
  4472. "name": "usertype",
  4473. "in": "query"
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4478. "name": "querytype",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "string",
  4484. "description": "合同ID(SpotContractId)",
  4485. "name": "contractid",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Contract"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QuerySpotContractBS": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询合同(采购/销售)",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户id",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "合同类型 1-采购, -1-销售",
  4539. "name": "contracttype",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4546. "name": "querytype",
  4547. "in": "query",
  4548. "required": true
  4549. },
  4550. {
  4551. "type": "string",
  4552. "description": "合同ID(SpotContractId)",
  4553. "name": "contractid",
  4554. "in": "query"
  4555. }
  4556. ],
  4557. "responses": {
  4558. "200": {
  4559. "description": "OK",
  4560. "schema": {
  4561. "type": "array",
  4562. "items": {
  4563. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4564. }
  4565. }
  4566. },
  4567. "500": {
  4568. "description": "Internal Server Error",
  4569. "schema": {
  4570. "$ref": "#/definitions/app.Response"
  4571. }
  4572. }
  4573. }
  4574. }
  4575. },
  4576. "/Ermcp3/QuerySpotGoodsPrice": {
  4577. "get": {
  4578. "security": [
  4579. {
  4580. "ApiKeyAuth": []
  4581. }
  4582. ],
  4583. "produces": [
  4584. "application/json"
  4585. ],
  4586. "tags": [
  4587. "企业风险管理v3(app)"
  4588. ],
  4589. "summary": "查询现货市价(现货市价)",
  4590. "parameters": [
  4591. {
  4592. "type": "integer",
  4593. "description": "用户ID",
  4594. "name": "userid",
  4595. "in": "query",
  4596. "required": true
  4597. }
  4598. ],
  4599. "responses": {
  4600. "200": {
  4601. "description": "OK",
  4602. "schema": {
  4603. "type": "array",
  4604. "items": {
  4605. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4606. }
  4607. }
  4608. },
  4609. "500": {
  4610. "description": "Internal Server Error",
  4611. "schema": {
  4612. "$ref": "#/definitions/app.Response"
  4613. }
  4614. }
  4615. }
  4616. }
  4617. },
  4618. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4619. "get": {
  4620. "security": [
  4621. {
  4622. "ApiKeyAuth": []
  4623. }
  4624. ],
  4625. "produces": [
  4626. "application/json"
  4627. ],
  4628. "tags": [
  4629. "企业风险管理v3(app)"
  4630. ],
  4631. "summary": "查询现货市价详情(现货市价/详情)",
  4632. "parameters": [
  4633. {
  4634. "type": "integer",
  4635. "description": "用户ID",
  4636. "name": "userid",
  4637. "in": "query",
  4638. "required": true
  4639. },
  4640. {
  4641. "type": "integer",
  4642. "description": "现货商品ID",
  4643. "name": "deliverygoodsid",
  4644. "in": "query",
  4645. "required": true
  4646. },
  4647. {
  4648. "type": "integer",
  4649. "description": "品牌ID",
  4650. "name": "brandid",
  4651. "in": "query"
  4652. },
  4653. {
  4654. "type": "integer",
  4655. "description": "品类ID",
  4656. "name": "wrstandardid",
  4657. "in": "query"
  4658. }
  4659. ],
  4660. "responses": {
  4661. "200": {
  4662. "description": "OK",
  4663. "schema": {
  4664. "type": "array",
  4665. "items": {
  4666. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4667. }
  4668. }
  4669. },
  4670. "500": {
  4671. "description": "Internal Server Error",
  4672. "schema": {
  4673. "$ref": "#/definitions/app.Response"
  4674. }
  4675. }
  4676. }
  4677. }
  4678. },
  4679. "/Erms2/QueryArbitrageStrategy": {
  4680. "get": {
  4681. "security": [
  4682. {
  4683. "ApiKeyAuth": []
  4684. }
  4685. ],
  4686. "produces": [
  4687. "application/json"
  4688. ],
  4689. "tags": [
  4690. "风险管理"
  4691. ],
  4692. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4693. "parameters": [
  4694. {
  4695. "type": "integer",
  4696. "description": "账户ID",
  4697. "name": "userid",
  4698. "in": "query",
  4699. "required": true
  4700. },
  4701. {
  4702. "type": "string",
  4703. "description": "商品组ID(品种ID)",
  4704. "name": "goodsgroupid",
  4705. "in": "query"
  4706. }
  4707. ],
  4708. "responses": {
  4709. "200": {
  4710. "description": "OK",
  4711. "schema": {
  4712. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4713. }
  4714. },
  4715. "500": {
  4716. "description": "Internal Server Error",
  4717. "schema": {
  4718. "$ref": "#/definitions/app.Response"
  4719. }
  4720. }
  4721. }
  4722. }
  4723. },
  4724. "/Erms2/QueryInnerTradeDetail": {
  4725. "get": {
  4726. "security": [
  4727. {
  4728. "ApiKeyAuth": []
  4729. }
  4730. ],
  4731. "produces": [
  4732. "application/json"
  4733. ],
  4734. "tags": [
  4735. "风险管理"
  4736. ],
  4737. "summary": "查询内部成交单信息",
  4738. "parameters": [
  4739. {
  4740. "type": "integer",
  4741. "description": "资金账户",
  4742. "name": "accountid",
  4743. "in": "query",
  4744. "required": true
  4745. }
  4746. ],
  4747. "responses": {
  4748. "200": {
  4749. "description": "OK",
  4750. "schema": {
  4751. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Erms2/QuerySpotContract": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "风险管理"
  4775. ],
  4776. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "策略申请ID",
  4781. "name": "asapplyid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "现货合同ID",
  4788. "name": "spotcontractid",
  4789. "in": "query"
  4790. }
  4791. ],
  4792. "responses": {
  4793. "200": {
  4794. "description": "OK",
  4795. "schema": {
  4796. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4797. }
  4798. },
  4799. "500": {
  4800. "description": "Internal Server Error",
  4801. "schema": {
  4802. "$ref": "#/definitions/app.Response"
  4803. }
  4804. }
  4805. }
  4806. }
  4807. },
  4808. "/Erms3/AddErms2ASApply": {
  4809. "post": {
  4810. "security": [
  4811. {
  4812. "ApiKeyAuth": []
  4813. }
  4814. ],
  4815. "produces": [
  4816. "application/json"
  4817. ],
  4818. "tags": [
  4819. "风险管理v3"
  4820. ],
  4821. "summary": "新增期现套利业务申请",
  4822. "parameters": [
  4823. {
  4824. "description": "申请参数",
  4825. "name": "jsonBody",
  4826. "in": "body",
  4827. "required": true,
  4828. "schema": {
  4829. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4830. }
  4831. }
  4832. ],
  4833. "responses": {
  4834. "200": {
  4835. "description": "OK",
  4836. "schema": {
  4837. "$ref": "#/definitions/app.Response"
  4838. }
  4839. },
  4840. "500": {
  4841. "description": "Internal Server Error",
  4842. "schema": {
  4843. "$ref": "#/definitions/app.Response"
  4844. }
  4845. }
  4846. }
  4847. }
  4848. },
  4849. "/Erms3/AddErms2SpotTradeApply": {
  4850. "post": {
  4851. "security": [
  4852. {
  4853. "ApiKeyAuth": []
  4854. }
  4855. ],
  4856. "produces": [
  4857. "application/json"
  4858. ],
  4859. "tags": [
  4860. "风险管理v3"
  4861. ],
  4862. "summary": "新增现货贸易业务申请",
  4863. "parameters": [
  4864. {
  4865. "description": "申请参数",
  4866. "name": "jsonBody",
  4867. "in": "body",
  4868. "required": true,
  4869. "schema": {
  4870. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4871. }
  4872. }
  4873. ],
  4874. "responses": {
  4875. "200": {
  4876. "description": "OK",
  4877. "schema": {
  4878. "$ref": "#/definitions/app.Response"
  4879. }
  4880. },
  4881. "500": {
  4882. "description": "Internal Server Error",
  4883. "schema": {
  4884. "$ref": "#/definitions/app.Response"
  4885. }
  4886. }
  4887. }
  4888. }
  4889. },
  4890. "/Erms3/AddSpotContractApply": {
  4891. "post": {
  4892. "security": [
  4893. {
  4894. "ApiKeyAuth": []
  4895. }
  4896. ],
  4897. "produces": [
  4898. "application/json"
  4899. ],
  4900. "tags": [
  4901. "风险管理v3"
  4902. ],
  4903. "summary": "新增现货合同申请",
  4904. "parameters": [
  4905. {
  4906. "description": "申请参数",
  4907. "name": "jsonBody",
  4908. "in": "body",
  4909. "required": true,
  4910. "schema": {
  4911. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4912. }
  4913. }
  4914. ],
  4915. "responses": {
  4916. "200": {
  4917. "description": "OK",
  4918. "schema": {
  4919. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4920. }
  4921. },
  4922. "500": {
  4923. "description": "Internal Server Error",
  4924. "schema": {
  4925. "$ref": "#/definitions/app.Response"
  4926. }
  4927. }
  4928. }
  4929. }
  4930. },
  4931. "/Erms3/AddUserInfoApply": {
  4932. "post": {
  4933. "security": [
  4934. {
  4935. "ApiKeyAuth": []
  4936. }
  4937. ],
  4938. "produces": [
  4939. "application/json"
  4940. ],
  4941. "tags": [
  4942. "风险管理v3"
  4943. ],
  4944. "summary": "新增客户申请",
  4945. "parameters": [
  4946. {
  4947. "description": "用户信息",
  4948. "name": "jsonBody",
  4949. "in": "body",
  4950. "required": true,
  4951. "schema": {
  4952. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4953. }
  4954. }
  4955. ],
  4956. "responses": {
  4957. "200": {
  4958. "description": "OK",
  4959. "schema": {
  4960. "$ref": "#/definitions/app.Response"
  4961. }
  4962. },
  4963. "500": {
  4964. "description": "Internal Server Error",
  4965. "schema": {
  4966. "$ref": "#/definitions/app.Response"
  4967. }
  4968. }
  4969. }
  4970. }
  4971. },
  4972. "/Erms3/DeleteUserInfoApply": {
  4973. "get": {
  4974. "security": [
  4975. {
  4976. "ApiKeyAuth": []
  4977. }
  4978. ],
  4979. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4980. "produces": [
  4981. "application/json"
  4982. ],
  4983. "tags": [
  4984. "风险管理v3"
  4985. ],
  4986. "summary": "删除客户申请",
  4987. "parameters": [
  4988. {
  4989. "type": "integer",
  4990. "description": "用户ID",
  4991. "name": "userID",
  4992. "in": "query",
  4993. "required": true
  4994. }
  4995. ],
  4996. "responses": {
  4997. "200": {
  4998. "description": "OK",
  4999. "schema": {
  5000. "$ref": "#/definitions/app.Response"
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Erms3/ModifyUserInfoApply": {
  5013. "post": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5020. "produces": [
  5021. "application/json"
  5022. ],
  5023. "tags": [
  5024. "风险管理v3"
  5025. ],
  5026. "summary": "修改客户申请",
  5027. "parameters": [
  5028. {
  5029. "description": "用户信息",
  5030. "name": "jsonBody",
  5031. "in": "body",
  5032. "required": true,
  5033. "schema": {
  5034. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5035. }
  5036. }
  5037. ],
  5038. "responses": {
  5039. "200": {
  5040. "description": "OK",
  5041. "schema": {
  5042. "$ref": "#/definitions/app.Response"
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Erms3/QueryBusinessInfo": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "produces": [
  5062. "application/json"
  5063. ],
  5064. "tags": [
  5065. "风险管理v3"
  5066. ],
  5067. "summary": "查询业务表单数据",
  5068. "parameters": [
  5069. {
  5070. "type": "string",
  5071. "description": "资金账号ID列表,用逗号分隔",
  5072. "name": "accountids",
  5073. "in": "query",
  5074. "required": true
  5075. },
  5076. {
  5077. "type": "integer",
  5078. "description": "状态,0为未结束 1为已结束",
  5079. "name": "status",
  5080. "in": "query",
  5081. "required": true
  5082. }
  5083. ],
  5084. "responses": {
  5085. "200": {
  5086. "description": "OK",
  5087. "schema": {
  5088. "type": "array",
  5089. "items": {
  5090. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5091. }
  5092. }
  5093. },
  5094. "500": {
  5095. "description": "Internal Server Error",
  5096. "schema": {
  5097. "$ref": "#/definitions/app.Response"
  5098. }
  5099. }
  5100. }
  5101. }
  5102. },
  5103. "/Erms3/QueryPendingAuditContract": {
  5104. "get": {
  5105. "security": [
  5106. {
  5107. "ApiKeyAuth": []
  5108. }
  5109. ],
  5110. "produces": [
  5111. "application/json"
  5112. ],
  5113. "tags": [
  5114. "风险管理v3"
  5115. ],
  5116. "summary": "查询待审核合同",
  5117. "parameters": [
  5118. {
  5119. "type": "string",
  5120. "description": "资金账号ID列表,逗号隔开",
  5121. "name": "accountids",
  5122. "in": "query",
  5123. "required": true
  5124. },
  5125. {
  5126. "type": "integer",
  5127. "description": "合同类型 1-采购 -1-销售",
  5128. "name": "contracttype",
  5129. "in": "query",
  5130. "required": true
  5131. },
  5132. {
  5133. "type": "integer",
  5134. "description": "合同模式 1-普通 2-回购",
  5135. "name": "contractmode",
  5136. "in": "query",
  5137. "required": true
  5138. }
  5139. ],
  5140. "responses": {
  5141. "200": {
  5142. "description": "OK",
  5143. "schema": {
  5144. "type": "array",
  5145. "items": {
  5146. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5147. }
  5148. }
  5149. },
  5150. "500": {
  5151. "description": "Internal Server Error",
  5152. "schema": {
  5153. "$ref": "#/definitions/app.Response"
  5154. }
  5155. }
  5156. }
  5157. }
  5158. },
  5159. "/Erms3/QueryPendingBusiness": {
  5160. "get": {
  5161. "security": [
  5162. {
  5163. "ApiKeyAuth": []
  5164. }
  5165. ],
  5166. "produces": [
  5167. "application/json"
  5168. ],
  5169. "tags": [
  5170. "风险管理v3"
  5171. ],
  5172. "summary": "查询待审核基差贸易业务",
  5173. "parameters": [
  5174. {
  5175. "type": "string",
  5176. "description": "资金账号ID列表,逗号隔开",
  5177. "name": "accountids",
  5178. "in": "query",
  5179. "required": true
  5180. }
  5181. ],
  5182. "responses": {
  5183. "200": {
  5184. "description": "OK",
  5185. "schema": {
  5186. "type": "array",
  5187. "items": {
  5188. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5189. }
  5190. }
  5191. },
  5192. "500": {
  5193. "description": "Internal Server Error",
  5194. "schema": {
  5195. "$ref": "#/definitions/app.Response"
  5196. }
  5197. }
  5198. }
  5199. }
  5200. },
  5201. "/Erms3/QuerySpotContractAppleForm": {
  5202. "get": {
  5203. "security": [
  5204. {
  5205. "ApiKeyAuth": []
  5206. }
  5207. ],
  5208. "produces": [
  5209. "application/json"
  5210. ],
  5211. "tags": [
  5212. "风险管理v3"
  5213. ],
  5214. "summary": "查询合同申请表单数据",
  5215. "parameters": [
  5216. {
  5217. "type": "integer",
  5218. "description": "登录账号",
  5219. "name": "loginID",
  5220. "in": "query",
  5221. "required": true
  5222. }
  5223. ],
  5224. "responses": {
  5225. "200": {
  5226. "description": "OK",
  5227. "schema": {
  5228. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5229. }
  5230. },
  5231. "500": {
  5232. "description": "Internal Server Error",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. }
  5237. }
  5238. }
  5239. },
  5240. "/Erms3/QuerySpotContractDetail": {
  5241. "get": {
  5242. "security": [
  5243. {
  5244. "ApiKeyAuth": []
  5245. }
  5246. ],
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "风险管理v3"
  5252. ],
  5253. "summary": "查询合同详细信息",
  5254. "parameters": [
  5255. {
  5256. "type": "string",
  5257. "description": "资金账号ID列表,用逗号分隔",
  5258. "name": "accountids",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "integer",
  5264. "description": "合同类型,1为采购合同 -1为销售合同",
  5265. "name": "contracttype",
  5266. "in": "query",
  5267. "required": true
  5268. },
  5269. {
  5270. "type": "integer",
  5271. "description": "合同模式,1为普通合同 2为回购销售合同",
  5272. "name": "contractmode",
  5273. "in": "query",
  5274. "required": true
  5275. },
  5276. {
  5277. "type": "integer",
  5278. "description": "状态,0为履约中 1为已完成",
  5279. "name": "status",
  5280. "in": "query",
  5281. "required": true
  5282. }
  5283. ],
  5284. "responses": {
  5285. "200": {
  5286. "description": "OK",
  5287. "schema": {
  5288. "type": "array",
  5289. "items": {
  5290. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5291. }
  5292. }
  5293. },
  5294. "500": {
  5295. "description": "Internal Server Error",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "/Erms3/QueryUserInfoApplies": {
  5304. "get": {
  5305. "security": [
  5306. {
  5307. "ApiKeyAuth": []
  5308. }
  5309. ],
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "风险管理v3"
  5315. ],
  5316. "summary": "客户申请信息查询",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "页码",
  5321. "name": "page",
  5322. "in": "query"
  5323. },
  5324. {
  5325. "type": "integer",
  5326. "description": "每页条数",
  5327. "name": "pagesize",
  5328. "in": "query"
  5329. },
  5330. {
  5331. "type": "string",
  5332. "description": "客户名称,支持模糊查询",
  5333. "name": "userName",
  5334. "in": "query"
  5335. }
  5336. ],
  5337. "responses": {
  5338. "200": {
  5339. "description": "OK",
  5340. "schema": {
  5341. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5342. }
  5343. },
  5344. "500": {
  5345. "description": "Internal Server Error",
  5346. "schema": {
  5347. "$ref": "#/definitions/app.Response"
  5348. }
  5349. }
  5350. }
  5351. }
  5352. },
  5353. "/Erms3/QueryUserInfos": {
  5354. "get": {
  5355. "security": [
  5356. {
  5357. "ApiKeyAuth": []
  5358. }
  5359. ],
  5360. "produces": [
  5361. "application/json"
  5362. ],
  5363. "tags": [
  5364. "风险管理v3"
  5365. ],
  5366. "summary": "客户信息查询",
  5367. "parameters": [
  5368. {
  5369. "type": "integer",
  5370. "description": "页码",
  5371. "name": "page",
  5372. "in": "query"
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": "每页条数",
  5377. "name": "pagesize",
  5378. "in": "query"
  5379. },
  5380. {
  5381. "type": "string",
  5382. "description": "客户名称,支持模糊查询",
  5383. "name": "userName",
  5384. "in": "query"
  5385. }
  5386. ],
  5387. "responses": {
  5388. "200": {
  5389. "description": "OK",
  5390. "schema": {
  5391. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/app.Response"
  5398. }
  5399. }
  5400. }
  5401. }
  5402. },
  5403. "/HSBY/GetHsbyMyCount": {
  5404. "get": {
  5405. "security": [
  5406. {
  5407. "ApiKeyAuth": []
  5408. }
  5409. ],
  5410. "description": "说明: 不包括已完成的数量。",
  5411. "produces": [
  5412. "application/json"
  5413. ],
  5414. "tags": [
  5415. "定制【海商报业】"
  5416. ],
  5417. "summary": "获取我的订单与包裹数量",
  5418. "parameters": [
  5419. {
  5420. "type": "string",
  5421. "description": "资金账户列表,格式:1,2,3",
  5422. "name": "accountIDs",
  5423. "in": "query",
  5424. "required": true
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5432. }
  5433. },
  5434. "500": {
  5435. "description": "Internal Server Error",
  5436. "schema": {
  5437. "$ref": "#/definitions/app.Response"
  5438. }
  5439. }
  5440. }
  5441. }
  5442. },
  5443. "/HSBY/QueryClientFixedADConfigs": {
  5444. "get": {
  5445. "security": [
  5446. {
  5447. "ApiKeyAuth": []
  5448. }
  5449. ],
  5450. "produces": [
  5451. "application/json"
  5452. ],
  5453. "tags": [
  5454. "定制【海商报业】"
  5455. ],
  5456. "summary": "获取终端固定广告配置",
  5457. "responses": {
  5458. "200": {
  5459. "description": "OK",
  5460. "schema": {
  5461. "$ref": "#/definitions/models.Clientfixedadconfig"
  5462. }
  5463. },
  5464. "500": {
  5465. "description": "Internal Server Error",
  5466. "schema": {
  5467. "$ref": "#/definitions/app.Response"
  5468. }
  5469. }
  5470. }
  5471. }
  5472. },
  5473. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5474. "get": {
  5475. "security": [
  5476. {
  5477. "ApiKeyAuth": []
  5478. }
  5479. ],
  5480. "produces": [
  5481. "application/json"
  5482. ],
  5483. "tags": [
  5484. "定制【海商报业】"
  5485. ],
  5486. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5487. "parameters": [
  5488. {
  5489. "type": "integer",
  5490. "description": "页码",
  5491. "name": "page",
  5492. "in": "query"
  5493. },
  5494. {
  5495. "type": "integer",
  5496. "description": "每页条数",
  5497. "name": "pagesize",
  5498. "in": "query"
  5499. },
  5500. {
  5501. "type": "string",
  5502. "description": "资金账户列表,格式:1,2,3",
  5503. "name": "accountIDs",
  5504. "in": "query",
  5505. "required": true
  5506. }
  5507. ],
  5508. "responses": {
  5509. "200": {
  5510. "description": "OK",
  5511. "schema": {
  5512. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5513. }
  5514. },
  5515. "500": {
  5516. "description": "Internal Server Error",
  5517. "schema": {
  5518. "$ref": "#/definitions/app.Response"
  5519. }
  5520. }
  5521. }
  5522. }
  5523. },
  5524. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5525. "get": {
  5526. "security": [
  5527. {
  5528. "ApiKeyAuth": []
  5529. }
  5530. ],
  5531. "description": "说明:查询结果已按委托价格和委托时间排序",
  5532. "produces": [
  5533. "application/json"
  5534. ],
  5535. "tags": [
  5536. "定制【海商报业】"
  5537. ],
  5538. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5539. "parameters": [
  5540. {
  5541. "type": "integer",
  5542. "description": "商品ID",
  5543. "name": "goodsID",
  5544. "in": "query",
  5545. "required": true
  5546. },
  5547. {
  5548. "type": "string",
  5549. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5550. "name": "accountIDs",
  5551. "in": "query"
  5552. },
  5553. {
  5554. "type": "integer",
  5555. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5556. "name": "buyOrSell",
  5557. "in": "query"
  5558. },
  5559. {
  5560. "type": "number",
  5561. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5562. "name": "price",
  5563. "in": "query"
  5564. },
  5565. {
  5566. "type": "integer",
  5567. "description": "档位,不传则默认为3档",
  5568. "name": "speed",
  5569. "in": "query"
  5570. }
  5571. ],
  5572. "responses": {
  5573. "200": {
  5574. "description": "OK",
  5575. "schema": {
  5576. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5577. }
  5578. },
  5579. "500": {
  5580. "description": "Internal Server Error",
  5581. "schema": {
  5582. "$ref": "#/definitions/app.Response"
  5583. }
  5584. }
  5585. }
  5586. }
  5587. },
  5588. "/HSBY/QueryHsbyListingGoodsDetail": {
  5589. "get": {
  5590. "security": [
  5591. {
  5592. "ApiKeyAuth": []
  5593. }
  5594. ],
  5595. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5596. "produces": [
  5597. "application/json"
  5598. ],
  5599. "tags": [
  5600. "定制【海商报业】"
  5601. ],
  5602. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5603. "parameters": [
  5604. {
  5605. "type": "integer",
  5606. "description": "商品ID",
  5607. "name": "goodsID",
  5608. "in": "query",
  5609. "required": true
  5610. },
  5611. {
  5612. "type": "integer",
  5613. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5614. "name": "accountID",
  5615. "in": "query"
  5616. }
  5617. ],
  5618. "responses": {
  5619. "200": {
  5620. "description": "OK",
  5621. "schema": {
  5622. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5623. }
  5624. },
  5625. "500": {
  5626. "description": "Internal Server Error",
  5627. "schema": {
  5628. "$ref": "#/definitions/app.Response"
  5629. }
  5630. }
  5631. }
  5632. }
  5633. },
  5634. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5635. "get": {
  5636. "security": [
  5637. {
  5638. "ApiKeyAuth": []
  5639. }
  5640. ],
  5641. "produces": [
  5642. "application/json"
  5643. ],
  5644. "tags": [
  5645. "定制【海商报业】"
  5646. ],
  5647. "summary": "查询三级市场(商城)商品信息详情",
  5648. "parameters": [
  5649. {
  5650. "type": "integer",
  5651. "description": "委托单号",
  5652. "name": "orderID",
  5653. "in": "query",
  5654. "required": true
  5655. },
  5656. {
  5657. "type": "integer",
  5658. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5659. "name": "accountID",
  5660. "in": "query"
  5661. }
  5662. ],
  5663. "responses": {
  5664. "200": {
  5665. "description": "OK",
  5666. "schema": {
  5667. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5668. }
  5669. },
  5670. "500": {
  5671. "description": "Internal Server Error",
  5672. "schema": {
  5673. "$ref": "#/definitions/app.Response"
  5674. }
  5675. }
  5676. }
  5677. }
  5678. },
  5679. "/HSBY/QueryHsbyMarketGoodses": {
  5680. "get": {
  5681. "security": [
  5682. {
  5683. "ApiKeyAuth": []
  5684. }
  5685. ],
  5686. "produces": [
  5687. "application/json"
  5688. ],
  5689. "tags": [
  5690. "定制【海商报业】"
  5691. ],
  5692. "summary": "查询特卖商品列表(三级商城)",
  5693. "parameters": [
  5694. {
  5695. "type": "integer",
  5696. "description": "页码",
  5697. "name": "page",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "integer",
  5702. "description": "每页条数",
  5703. "name": "pagesize",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "市场ID列表,格式:1,2,3",
  5709. "name": "marketIDs",
  5710. "in": "query",
  5711. "required": true
  5712. },
  5713. {
  5714. "type": "integer",
  5715. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5716. "name": "accountID",
  5717. "in": "query",
  5718. "required": true
  5719. },
  5720. {
  5721. "type": "integer",
  5722. "description": "类别ID",
  5723. "name": "categoryID",
  5724. "in": "query"
  5725. },
  5726. {
  5727. "type": "string",
  5728. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5729. "name": "goodsIDs",
  5730. "in": "query"
  5731. },
  5732. {
  5733. "type": "integer",
  5734. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5735. "name": "couponTypeID",
  5736. "in": "query"
  5737. }
  5738. ],
  5739. "responses": {
  5740. "200": {
  5741. "description": "OK",
  5742. "schema": {
  5743. "$ref": "#/definitions/models.HsbyMarketGoods"
  5744. }
  5745. },
  5746. "500": {
  5747. "description": "Internal Server Error",
  5748. "schema": {
  5749. "$ref": "#/definitions/app.Response"
  5750. }
  5751. }
  5752. }
  5753. }
  5754. },
  5755. "/HSBY/QueryHsbyMarkets": {
  5756. "get": {
  5757. "security": [
  5758. {
  5759. "ApiKeyAuth": []
  5760. }
  5761. ],
  5762. "produces": [
  5763. "application/json"
  5764. ],
  5765. "tags": [
  5766. "定制【海商报业】"
  5767. ],
  5768. "summary": "查询海商报业相关市场信息",
  5769. "responses": {
  5770. "200": {
  5771. "description": "OK",
  5772. "schema": {
  5773. "$ref": "#/definitions/models.HsbyMarketInfo"
  5774. }
  5775. },
  5776. "500": {
  5777. "description": "Internal Server Error",
  5778. "schema": {
  5779. "$ref": "#/definitions/app.Response"
  5780. }
  5781. }
  5782. }
  5783. }
  5784. },
  5785. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5786. "get": {
  5787. "security": [
  5788. {
  5789. "ApiKeyAuth": []
  5790. }
  5791. ],
  5792. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5793. "produces": [
  5794. "application/json"
  5795. ],
  5796. "tags": [
  5797. "定制【海商报业】"
  5798. ],
  5799. "summary": "查询“我的订单”信息",
  5800. "parameters": [
  5801. {
  5802. "type": "string",
  5803. "description": "资金账户列表,格式:1,2,3",
  5804. "name": "accountIDs",
  5805. "in": "query",
  5806. "required": true
  5807. }
  5808. ],
  5809. "responses": {
  5810. "200": {
  5811. "description": "OK",
  5812. "schema": {
  5813. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5814. }
  5815. },
  5816. "500": {
  5817. "description": "Internal Server Error",
  5818. "schema": {
  5819. "$ref": "#/definitions/app.Response"
  5820. }
  5821. }
  5822. }
  5823. }
  5824. },
  5825. "/HSBY/QueryHsbyMyGoods": {
  5826. "get": {
  5827. "security": [
  5828. {
  5829. "ApiKeyAuth": []
  5830. }
  5831. ],
  5832. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5833. "produces": [
  5834. "application/json"
  5835. ],
  5836. "tags": [
  5837. "定制【海商报业】"
  5838. ],
  5839. "summary": "查询“我的商品”信息",
  5840. "parameters": [
  5841. {
  5842. "type": "string",
  5843. "description": "资金账户列表,格式:1,2,3",
  5844. "name": "accountIDs",
  5845. "in": "query",
  5846. "required": true
  5847. }
  5848. ],
  5849. "responses": {
  5850. "200": {
  5851. "description": "OK",
  5852. "schema": {
  5853. "$ref": "#/definitions/models.HsbyMyGoods"
  5854. }
  5855. },
  5856. "500": {
  5857. "description": "Internal Server Error",
  5858. "schema": {
  5859. "$ref": "#/definitions/app.Response"
  5860. }
  5861. }
  5862. }
  5863. }
  5864. },
  5865. "/HSBY/QueryHsbyMyPackages": {
  5866. "get": {
  5867. "security": [
  5868. {
  5869. "ApiKeyAuth": []
  5870. }
  5871. ],
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "定制【海商报业】"
  5877. ],
  5878. "summary": "查询我的包裹信息",
  5879. "parameters": [
  5880. {
  5881. "type": "string",
  5882. "description": "资金账户列表,格式:1,2,3",
  5883. "name": "accountIDs",
  5884. "in": "query",
  5885. "required": true
  5886. },
  5887. {
  5888. "type": "integer",
  5889. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5890. "name": "takeOrderStatus",
  5891. "in": "query"
  5892. }
  5893. ],
  5894. "responses": {
  5895. "200": {
  5896. "description": "OK",
  5897. "schema": {
  5898. "$ref": "#/definitions/models.HsbyMyPackage"
  5899. }
  5900. },
  5901. "500": {
  5902. "description": "Internal Server Error",
  5903. "schema": {
  5904. "$ref": "#/definitions/app.Response"
  5905. }
  5906. }
  5907. }
  5908. }
  5909. },
  5910. "/HSBY/QueryHsbyPreGoodsDetail": {
  5911. "get": {
  5912. "security": [
  5913. {
  5914. "ApiKeyAuth": []
  5915. }
  5916. ],
  5917. "produces": [
  5918. "application/json"
  5919. ],
  5920. "tags": [
  5921. "定制【海商报业】"
  5922. ],
  5923. "summary": "查询一级市场(预售)商品信息详情",
  5924. "parameters": [
  5925. {
  5926. "type": "integer",
  5927. "description": "商品ID",
  5928. "name": "goodsID",
  5929. "in": "query",
  5930. "required": true
  5931. },
  5932. {
  5933. "type": "integer",
  5934. "description": "资金账户,主要用于获取预售商品购买上限",
  5935. "name": "accountID",
  5936. "in": "query"
  5937. }
  5938. ],
  5939. "responses": {
  5940. "200": {
  5941. "description": "OK",
  5942. "schema": {
  5943. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5944. }
  5945. },
  5946. "500": {
  5947. "description": "Internal Server Error",
  5948. "schema": {
  5949. "$ref": "#/definitions/app.Response"
  5950. }
  5951. }
  5952. }
  5953. }
  5954. },
  5955. "/HSBY/QueryHsbyPreGoodses": {
  5956. "get": {
  5957. "security": [
  5958. {
  5959. "ApiKeyAuth": []
  5960. }
  5961. ],
  5962. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5963. "produces": [
  5964. "application/json"
  5965. ],
  5966. "tags": [
  5967. "定制【海商报业】"
  5968. ],
  5969. "summary": "查询新品上市商品列表(一级市场预售)",
  5970. "parameters": [
  5971. {
  5972. "type": "integer",
  5973. "description": "页码",
  5974. "name": "page",
  5975. "in": "query"
  5976. },
  5977. {
  5978. "type": "integer",
  5979. "description": "每页条数",
  5980. "name": "pagesize",
  5981. "in": "query"
  5982. },
  5983. {
  5984. "type": "string",
  5985. "description": "市场ID列表,格式:1,2,3",
  5986. "name": "marketIDs",
  5987. "in": "query",
  5988. "required": true
  5989. },
  5990. {
  5991. "type": "integer",
  5992. "description": "目的地(省)ID",
  5993. "name": "descProvinceID",
  5994. "in": "query"
  5995. },
  5996. {
  5997. "type": "integer",
  5998. "description": "目的地(市)ID",
  5999. "name": "descCityID",
  6000. "in": "query"
  6001. }
  6002. ],
  6003. "responses": {
  6004. "200": {
  6005. "description": "OK",
  6006. "schema": {
  6007. "$ref": "#/definitions/models.HsbyPreGoods"
  6008. }
  6009. },
  6010. "500": {
  6011. "description": "Internal Server Error",
  6012. "schema": {
  6013. "$ref": "#/definitions/app.Response"
  6014. }
  6015. }
  6016. }
  6017. }
  6018. },
  6019. "/HSBY/QueryHsbySellMyDetails": {
  6020. "get": {
  6021. "security": [
  6022. {
  6023. "ApiKeyAuth": []
  6024. }
  6025. ],
  6026. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6027. "produces": [
  6028. "application/json"
  6029. ],
  6030. "tags": [
  6031. "定制【海商报业】"
  6032. ],
  6033. "summary": "查询\"我的闲置\"单据信息",
  6034. "parameters": [
  6035. {
  6036. "type": "integer",
  6037. "description": "页码",
  6038. "name": "page",
  6039. "in": "query"
  6040. },
  6041. {
  6042. "type": "integer",
  6043. "description": "每页条数",
  6044. "name": "pagesize",
  6045. "in": "query"
  6046. },
  6047. {
  6048. "type": "string",
  6049. "description": "资金账户列表,格式:1,2,3",
  6050. "name": "accountIDs",
  6051. "in": "query",
  6052. "required": true
  6053. },
  6054. {
  6055. "type": "integer",
  6056. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6057. "name": "orderType",
  6058. "in": "query"
  6059. }
  6060. ],
  6061. "responses": {
  6062. "200": {
  6063. "description": "OK",
  6064. "schema": {
  6065. "$ref": "#/definitions/models.HsbySellMyDetail"
  6066. }
  6067. },
  6068. "500": {
  6069. "description": "Internal Server Error",
  6070. "schema": {
  6071. "$ref": "#/definitions/app.Response"
  6072. }
  6073. }
  6074. }
  6075. }
  6076. },
  6077. "/HSBY/QueryHsbyTopGoodses": {
  6078. "get": {
  6079. "security": [
  6080. {
  6081. "ApiKeyAuth": []
  6082. }
  6083. ],
  6084. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6085. "produces": [
  6086. "application/json"
  6087. ],
  6088. "tags": [
  6089. "定制【海商报业】"
  6090. ],
  6091. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6092. "parameters": [
  6093. {
  6094. "type": "integer",
  6095. "description": "页码",
  6096. "name": "page",
  6097. "in": "query"
  6098. },
  6099. {
  6100. "type": "integer",
  6101. "description": "每页条数",
  6102. "name": "pagesize",
  6103. "in": "query"
  6104. },
  6105. {
  6106. "type": "string",
  6107. "description": "市场ID列表,格式:1,2,3",
  6108. "name": "marketIDs",
  6109. "in": "query",
  6110. "required": true
  6111. },
  6112. {
  6113. "type": "integer",
  6114. "description": "目的地(省)ID",
  6115. "name": "descProvinceID",
  6116. "in": "query"
  6117. },
  6118. {
  6119. "type": "integer",
  6120. "description": "目的地(市)ID",
  6121. "name": "descCityID",
  6122. "in": "query"
  6123. }
  6124. ],
  6125. "responses": {
  6126. "200": {
  6127. "description": "OK",
  6128. "schema": {
  6129. "$ref": "#/definitions/models.HsbyTopGoods"
  6130. }
  6131. },
  6132. "500": {
  6133. "description": "Internal Server Error",
  6134. "schema": {
  6135. "$ref": "#/definitions/app.Response"
  6136. }
  6137. }
  6138. }
  6139. }
  6140. },
  6141. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6142. "get": {
  6143. "security": [
  6144. {
  6145. "ApiKeyAuth": []
  6146. }
  6147. ],
  6148. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6149. "produces": [
  6150. "application/json"
  6151. ],
  6152. "tags": [
  6153. "定制【海商报业】"
  6154. ],
  6155. "summary": "查询游客三级市场(商城)商品信息详情",
  6156. "parameters": [
  6157. {
  6158. "type": "integer",
  6159. "description": "商品ID",
  6160. "name": "goodsID",
  6161. "in": "query",
  6162. "required": true
  6163. }
  6164. ],
  6165. "responses": {
  6166. "200": {
  6167. "description": "OK",
  6168. "schema": {
  6169. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6170. }
  6171. },
  6172. "500": {
  6173. "description": "Internal Server Error",
  6174. "schema": {
  6175. "$ref": "#/definitions/app.Response"
  6176. }
  6177. }
  6178. }
  6179. }
  6180. },
  6181. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6182. "get": {
  6183. "security": [
  6184. {
  6185. "ApiKeyAuth": []
  6186. }
  6187. ],
  6188. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6189. "produces": [
  6190. "application/json"
  6191. ],
  6192. "tags": [
  6193. "定制【海商报业】"
  6194. ],
  6195. "summary": "查询游客特卖商品列表(三级商城)",
  6196. "parameters": [
  6197. {
  6198. "type": "integer",
  6199. "description": "页码",
  6200. "name": "page",
  6201. "in": "query"
  6202. },
  6203. {
  6204. "type": "integer",
  6205. "description": "每页条数",
  6206. "name": "pagesize",
  6207. "in": "query"
  6208. },
  6209. {
  6210. "type": "string",
  6211. "description": "市场ID列表,格式:1,2,3",
  6212. "name": "marketIDs",
  6213. "in": "query",
  6214. "required": true
  6215. },
  6216. {
  6217. "type": "integer",
  6218. "description": "类别ID",
  6219. "name": "categoryID",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6225. "name": "goodsIDs",
  6226. "in": "query"
  6227. }
  6228. ],
  6229. "responses": {
  6230. "200": {
  6231. "description": "OK",
  6232. "schema": {
  6233. "$ref": "#/definitions/models.HsbyMarketGoods"
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/HSBY/QueryMyCollectionOrders": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "定制【海商报业】"
  6257. ],
  6258. "summary": "我的闲置中收款信息查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "页码",
  6263. "name": "page",
  6264. "in": "query"
  6265. },
  6266. {
  6267. "type": "integer",
  6268. "description": "每页条数",
  6269. "name": "pagesize",
  6270. "in": "query"
  6271. },
  6272. {
  6273. "type": "string",
  6274. "description": "资金账户,格式:1,2,3",
  6275. "name": "accountIDs",
  6276. "in": "query",
  6277. "required": true
  6278. }
  6279. ],
  6280. "responses": {
  6281. "200": {
  6282. "description": "OK",
  6283. "schema": {
  6284. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6285. }
  6286. },
  6287. "500": {
  6288. "description": "Internal Server Error",
  6289. "schema": {
  6290. "$ref": "#/definitions/app.Response"
  6291. }
  6292. }
  6293. }
  6294. }
  6295. },
  6296. "/HSBY/QueryMyCouponHolds": {
  6297. "get": {
  6298. "security": [
  6299. {
  6300. "ApiKeyAuth": []
  6301. }
  6302. ],
  6303. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6304. "produces": [
  6305. "application/json"
  6306. ],
  6307. "tags": [
  6308. "定制【海商报业】"
  6309. ],
  6310. "summary": "我的优惠卷持仓查询",
  6311. "parameters": [
  6312. {
  6313. "type": "string",
  6314. "description": "资金账户列表,格式:1,2,3",
  6315. "name": "accountIDs",
  6316. "in": "query",
  6317. "required": true
  6318. },
  6319. {
  6320. "type": "string",
  6321. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6322. "name": "holdStatus",
  6323. "in": "query"
  6324. }
  6325. ],
  6326. "responses": {
  6327. "200": {
  6328. "description": "OK",
  6329. "schema": {
  6330. "$ref": "#/definitions/models.MyCouponHold"
  6331. }
  6332. },
  6333. "500": {
  6334. "description": "Internal Server Error",
  6335. "schema": {
  6336. "$ref": "#/definitions/app.Response"
  6337. }
  6338. }
  6339. }
  6340. }
  6341. },
  6342. "/HSBY/QueryMyCoupons": {
  6343. "get": {
  6344. "security": [
  6345. {
  6346. "ApiKeyAuth": []
  6347. }
  6348. ],
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "定制【海商报业】"
  6354. ],
  6355. "summary": "我的优惠卷查询",
  6356. "parameters": [
  6357. {
  6358. "type": "string",
  6359. "description": "资金账户列表,格式:1,2,3",
  6360. "name": "accountIDs",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "商品ID, 一般与sellUserID配套传入",
  6367. "name": "goodsID",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "integer",
  6372. "description": "卖方UserID",
  6373. "name": "sellUserID",
  6374. "in": "query"
  6375. }
  6376. ],
  6377. "responses": {
  6378. "200": {
  6379. "description": "OK",
  6380. "schema": {
  6381. "$ref": "#/definitions/models.MyCoupon"
  6382. }
  6383. },
  6384. "500": {
  6385. "description": "Internal Server Error",
  6386. "schema": {
  6387. "$ref": "#/definitions/app.Response"
  6388. }
  6389. }
  6390. }
  6391. }
  6392. },
  6393. "/HSBY/QueryMyPayOrders": {
  6394. "get": {
  6395. "security": [
  6396. {
  6397. "ApiKeyAuth": []
  6398. }
  6399. ],
  6400. "produces": [
  6401. "application/json"
  6402. ],
  6403. "tags": [
  6404. "定制【海商报业】"
  6405. ],
  6406. "summary": "获取我的订单中待付款信息",
  6407. "parameters": [
  6408. {
  6409. "type": "integer",
  6410. "description": "页码",
  6411. "name": "page",
  6412. "in": "query"
  6413. },
  6414. {
  6415. "type": "integer",
  6416. "description": "每页条数",
  6417. "name": "pagesize",
  6418. "in": "query"
  6419. },
  6420. {
  6421. "type": "string",
  6422. "description": "资金账户列表,格式:1,2,3",
  6423. "name": "accountIDs",
  6424. "in": "query",
  6425. "required": true
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "买方委托单号",
  6430. "name": "buyOrderID",
  6431. "in": "query"
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "卖方委托单号",
  6436. "name": "sellOrderID",
  6437. "in": "query"
  6438. }
  6439. ],
  6440. "responses": {
  6441. "200": {
  6442. "description": "OK",
  6443. "schema": {
  6444. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6445. }
  6446. },
  6447. "500": {
  6448. "description": "Internal Server Error",
  6449. "schema": {
  6450. "$ref": "#/definitions/app.Response"
  6451. }
  6452. }
  6453. }
  6454. }
  6455. },
  6456. "/HSBY/QueryMyUsedCoupon": {
  6457. "get": {
  6458. "security": [
  6459. {
  6460. "ApiKeyAuth": []
  6461. }
  6462. ],
  6463. "produces": [
  6464. "application/json"
  6465. ],
  6466. "tags": [
  6467. "定制【海商报业】"
  6468. ],
  6469. "summary": "已使用优惠卷查询",
  6470. "parameters": [
  6471. {
  6472. "type": "string",
  6473. "description": "资金账户列表,格式:1,2,3",
  6474. "name": "accountIDs",
  6475. "in": "query",
  6476. "required": true
  6477. }
  6478. ],
  6479. "responses": {
  6480. "200": {
  6481. "description": "OK",
  6482. "schema": {
  6483. "$ref": "#/definitions/models.MyUsedCoupon"
  6484. }
  6485. },
  6486. "500": {
  6487. "description": "Internal Server Error",
  6488. "schema": {
  6489. "$ref": "#/definitions/app.Response"
  6490. }
  6491. }
  6492. }
  6493. }
  6494. },
  6495. "/HSBY/QueryProvincesAndCities": {
  6496. "get": {
  6497. "security": [
  6498. {
  6499. "ApiKeyAuth": []
  6500. }
  6501. ],
  6502. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6503. "produces": [
  6504. "application/json"
  6505. ],
  6506. "tags": [
  6507. "定制【海商报业】"
  6508. ],
  6509. "summary": "查询省市信息(不包括区)",
  6510. "parameters": [
  6511. {
  6512. "type": "integer",
  6513. "description": "省ID",
  6514. "name": "provinceID",
  6515. "in": "query"
  6516. }
  6517. ],
  6518. "responses": {
  6519. "200": {
  6520. "description": "OK",
  6521. "schema": {
  6522. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6523. }
  6524. },
  6525. "500": {
  6526. "description": "Internal Server Error",
  6527. "schema": {
  6528. "$ref": "#/definitions/app.Response"
  6529. }
  6530. }
  6531. }
  6532. }
  6533. },
  6534. "/HSBY/SetHsbyMyPackagesStatus": {
  6535. "post": {
  6536. "security": [
  6537. {
  6538. "ApiKeyAuth": []
  6539. }
  6540. ],
  6541. "produces": [
  6542. "application/json"
  6543. ],
  6544. "tags": [
  6545. "定制【海商报业】"
  6546. ],
  6547. "summary": "设置我的包裹已收货状态",
  6548. "parameters": [
  6549. {
  6550. "type": "string",
  6551. "description": "提货单号",
  6552. "name": "takeOrderID",
  6553. "in": "query",
  6554. "required": true
  6555. },
  6556. {
  6557. "type": "integer",
  6558. "description": "资金账号",
  6559. "name": "accountID",
  6560. "in": "query",
  6561. "required": true
  6562. }
  6563. ],
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/Market/QueryGoodsesByLoginID": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "produces": [
  6588. "application/json"
  6589. ],
  6590. "tags": [
  6591. "通用市场"
  6592. ],
  6593. "summary": "获取登录账号有权限的商品信息",
  6594. "parameters": [
  6595. {
  6596. "type": "integer",
  6597. "description": "登录账号",
  6598. "name": "loginID",
  6599. "in": "query",
  6600. "required": true
  6601. },
  6602. {
  6603. "type": "string",
  6604. "description": "市场ID列表,格式:1,2,3",
  6605. "name": "marketIDs",
  6606. "in": "query"
  6607. }
  6608. ],
  6609. "responses": {
  6610. "200": {
  6611. "description": "OK",
  6612. "schema": {
  6613. "$ref": "#/definitions/models.Goods"
  6614. }
  6615. },
  6616. "500": {
  6617. "description": "Internal Server Error",
  6618. "schema": {
  6619. "$ref": "#/definitions/app.Response"
  6620. }
  6621. }
  6622. }
  6623. }
  6624. },
  6625. "/Market/QueryMarketRun": {
  6626. "get": {
  6627. "security": [
  6628. {
  6629. "ApiKeyAuth": []
  6630. }
  6631. ],
  6632. "produces": [
  6633. "application/json"
  6634. ],
  6635. "tags": [
  6636. "通用市场"
  6637. ],
  6638. "summary": "查询市场运行信息",
  6639. "parameters": [
  6640. {
  6641. "type": "integer",
  6642. "description": "市场ID,不传返回所有",
  6643. "name": "marketID",
  6644. "in": "query"
  6645. }
  6646. ],
  6647. "responses": {
  6648. "200": {
  6649. "description": "OK",
  6650. "schema": {
  6651. "$ref": "#/definitions/models.Marketrun"
  6652. }
  6653. },
  6654. "500": {
  6655. "description": "Internal Server Error",
  6656. "schema": {
  6657. "$ref": "#/definitions/app.Response"
  6658. }
  6659. }
  6660. }
  6661. }
  6662. },
  6663. "/Market/QueryMarketsByLoginID": {
  6664. "get": {
  6665. "security": [
  6666. {
  6667. "ApiKeyAuth": []
  6668. }
  6669. ],
  6670. "produces": [
  6671. "application/json"
  6672. ],
  6673. "tags": [
  6674. "通用市场"
  6675. ],
  6676. "summary": "获取登录账号有权限的市场信息",
  6677. "parameters": [
  6678. {
  6679. "type": "integer",
  6680. "description": "登录账号",
  6681. "name": "loginID",
  6682. "in": "query",
  6683. "required": true
  6684. }
  6685. ],
  6686. "responses": {
  6687. "200": {
  6688. "description": "OK",
  6689. "schema": {
  6690. "$ref": "#/definitions/models.Market"
  6691. }
  6692. },
  6693. "500": {
  6694. "description": "Internal Server Error",
  6695. "schema": {
  6696. "$ref": "#/definitions/app.Response"
  6697. }
  6698. }
  6699. }
  6700. }
  6701. },
  6702. "/Order/QueryHisTradeDetail": {
  6703. "get": {
  6704. "security": [
  6705. {
  6706. "ApiKeyAuth": []
  6707. }
  6708. ],
  6709. "produces": [
  6710. "application/json"
  6711. ],
  6712. "tags": [
  6713. "通用单据"
  6714. ],
  6715. "summary": "历史成交单查询(合约市场)",
  6716. "parameters": [
  6717. {
  6718. "type": "string",
  6719. "description": "资金账户 - 格式:1,2,3",
  6720. "name": "accountID",
  6721. "in": "query",
  6722. "required": true
  6723. },
  6724. {
  6725. "type": "integer",
  6726. "description": "成交单号",
  6727. "name": "tradeID",
  6728. "in": "query"
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "委托单号",
  6733. "name": "orderID",
  6734. "in": "query"
  6735. },
  6736. {
  6737. "type": "string",
  6738. "description": "交易模式 - 格式:1,2,3",
  6739. "name": "tradeMode",
  6740. "in": "query"
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "委托单据类型",
  6745. "name": "buildType",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "string",
  6750. "description": "成交类别 - 格式:1,2,3",
  6751. "name": "tradeType",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "string",
  6756. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6757. "name": "startDate",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6763. "name": "endDate",
  6764. "in": "query"
  6765. }
  6766. ],
  6767. "responses": {
  6768. "200": {
  6769. "description": "OK",
  6770. "schema": {
  6771. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6772. }
  6773. },
  6774. "500": {
  6775. "description": "Internal Server Error",
  6776. "schema": {
  6777. "$ref": "#/definitions/app.Response"
  6778. }
  6779. }
  6780. }
  6781. }
  6782. },
  6783. "/Order/QueryHisTradeOrderDetail": {
  6784. "get": {
  6785. "security": [
  6786. {
  6787. "ApiKeyAuth": []
  6788. }
  6789. ],
  6790. "produces": [
  6791. "application/json"
  6792. ],
  6793. "tags": [
  6794. "通用单据"
  6795. ],
  6796. "summary": "历史委托单查询请求(合约市场)",
  6797. "parameters": [
  6798. {
  6799. "type": "string",
  6800. "description": "资金账户 - 格式:1,2,3",
  6801. "name": "accountID",
  6802. "in": "query",
  6803. "required": true
  6804. },
  6805. {
  6806. "type": "string",
  6807. "description": "交易模式 - 格式:1,2,3",
  6808. "name": "tradeMode",
  6809. "in": "query"
  6810. },
  6811. {
  6812. "type": "string",
  6813. "description": "委托状态 - 格式:1,2,3",
  6814. "name": "orderStatus",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "integer",
  6819. "description": "委托单号",
  6820. "name": "orderID",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6826. "name": "startDate",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6832. "name": "endDate",
  6833. "in": "query"
  6834. }
  6835. ],
  6836. "responses": {
  6837. "200": {
  6838. "description": "OK",
  6839. "schema": {
  6840. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6841. }
  6842. },
  6843. "500": {
  6844. "description": "Internal Server Error",
  6845. "schema": {
  6846. "$ref": "#/definitions/app.Response"
  6847. }
  6848. }
  6849. }
  6850. }
  6851. },
  6852. "/Order/QueryTradeDetail": {
  6853. "get": {
  6854. "security": [
  6855. {
  6856. "ApiKeyAuth": []
  6857. }
  6858. ],
  6859. "produces": [
  6860. "application/json"
  6861. ],
  6862. "tags": [
  6863. "通用单据"
  6864. ],
  6865. "summary": "成交单查询(合约市场)",
  6866. "parameters": [
  6867. {
  6868. "type": "string",
  6869. "description": "资金账户 - 格式:1,2,3",
  6870. "name": "accountID",
  6871. "in": "query",
  6872. "required": true
  6873. },
  6874. {
  6875. "type": "integer",
  6876. "description": "成交单号",
  6877. "name": "tradeID",
  6878. "in": "query"
  6879. },
  6880. {
  6881. "type": "integer",
  6882. "description": "委托单号",
  6883. "name": "orderID",
  6884. "in": "query"
  6885. },
  6886. {
  6887. "type": "string",
  6888. "description": "交易模式 - 格式:1,2,3",
  6889. "name": "tradeMode",
  6890. "in": "query"
  6891. },
  6892. {
  6893. "type": "integer",
  6894. "description": "委托单据类型",
  6895. "name": "buildType",
  6896. "in": "query"
  6897. },
  6898. {
  6899. "type": "string",
  6900. "description": "成交类别 - 格式:1,2,3",
  6901. "name": "tradeType",
  6902. "in": "query"
  6903. }
  6904. ],
  6905. "responses": {
  6906. "200": {
  6907. "description": "OK",
  6908. "schema": {
  6909. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6910. }
  6911. },
  6912. "500": {
  6913. "description": "Internal Server Error",
  6914. "schema": {
  6915. "$ref": "#/definitions/app.Response"
  6916. }
  6917. }
  6918. }
  6919. }
  6920. },
  6921. "/Order/QueryTradeOrderDetail": {
  6922. "get": {
  6923. "security": [
  6924. {
  6925. "ApiKeyAuth": []
  6926. }
  6927. ],
  6928. "produces": [
  6929. "application/json"
  6930. ],
  6931. "tags": [
  6932. "通用单据"
  6933. ],
  6934. "summary": "委托单查询请求(合约市场)",
  6935. "parameters": [
  6936. {
  6937. "type": "string",
  6938. "description": "资金账户 - 格式:1,2,3",
  6939. "name": "accountID",
  6940. "in": "query",
  6941. "required": true
  6942. },
  6943. {
  6944. "type": "string",
  6945. "description": "交易模式 - 格式:1,2,3",
  6946. "name": "tradeMode",
  6947. "in": "query"
  6948. },
  6949. {
  6950. "type": "string",
  6951. "description": "委托状态 - 格式:1,2,3",
  6952. "name": "orderStatus",
  6953. "in": "query"
  6954. },
  6955. {
  6956. "type": "integer",
  6957. "description": "委托单号",
  6958. "name": "orderID",
  6959. "in": "query"
  6960. }
  6961. ],
  6962. "responses": {
  6963. "200": {
  6964. "description": "OK",
  6965. "schema": {
  6966. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6967. }
  6968. },
  6969. "500": {
  6970. "description": "Internal Server Error",
  6971. "schema": {
  6972. "$ref": "#/definitions/app.Response"
  6973. }
  6974. }
  6975. }
  6976. }
  6977. },
  6978. "/Order/QueryTradePosition": {
  6979. "get": {
  6980. "security": [
  6981. {
  6982. "ApiKeyAuth": []
  6983. }
  6984. ],
  6985. "produces": [
  6986. "application/json"
  6987. ],
  6988. "tags": [
  6989. "通用单据"
  6990. ],
  6991. "summary": "持仓汇总查询(合约市场)",
  6992. "parameters": [
  6993. {
  6994. "type": "string",
  6995. "description": "资金账户 - 格式:1,2,3",
  6996. "name": "accountID",
  6997. "in": "query",
  6998. "required": true
  6999. },
  7000. {
  7001. "type": "string",
  7002. "description": "交易模式 - 格式:1,2,3",
  7003. "name": "tradeMode",
  7004. "in": "query"
  7005. }
  7006. ],
  7007. "responses": {
  7008. "200": {
  7009. "description": "OK",
  7010. "schema": {
  7011. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7012. }
  7013. },
  7014. "500": {
  7015. "description": "Internal Server Error",
  7016. "schema": {
  7017. "$ref": "#/definitions/app.Response"
  7018. }
  7019. }
  7020. }
  7021. }
  7022. },
  7023. "/Qhj/QueryAccountInOutApply": {
  7024. "get": {
  7025. "security": [
  7026. {
  7027. "ApiKeyAuth": []
  7028. }
  7029. ],
  7030. "produces": [
  7031. "application/json"
  7032. ],
  7033. "tags": [
  7034. "大连千海金"
  7035. ],
  7036. "summary": "查询充值提现",
  7037. "parameters": [
  7038. {
  7039. "type": "string",
  7040. "description": "申请起始日期(格式yyyymmdd)",
  7041. "name": "begindate",
  7042. "in": "query"
  7043. },
  7044. {
  7045. "type": "string",
  7046. "description": "申请截止日期(格式yyyymmdd)",
  7047. "name": "enddate",
  7048. "in": "query"
  7049. },
  7050. {
  7051. "type": "string",
  7052. "description": "模糊搜索名称",
  7053. "name": "likename",
  7054. "in": "query"
  7055. }
  7056. ],
  7057. "responses": {
  7058. "200": {
  7059. "description": "OK",
  7060. "schema": {
  7061. "type": "array",
  7062. "items": {
  7063. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7064. }
  7065. }
  7066. },
  7067. "500": {
  7068. "description": "Internal Server Error",
  7069. "schema": {
  7070. "$ref": "#/definitions/app.Response"
  7071. }
  7072. }
  7073. }
  7074. }
  7075. },
  7076. "/Qhj/QueryBankAccountSign": {
  7077. "get": {
  7078. "security": [
  7079. {
  7080. "ApiKeyAuth": []
  7081. }
  7082. ],
  7083. "produces": [
  7084. "application/json"
  7085. ],
  7086. "tags": [
  7087. "大连千海金"
  7088. ],
  7089. "summary": "查询签约银行信息(提现账户管理)",
  7090. "parameters": [
  7091. {
  7092. "type": "integer",
  7093. "description": "用户ID",
  7094. "name": "userid",
  7095. "in": "query",
  7096. "required": true
  7097. }
  7098. ],
  7099. "responses": {
  7100. "200": {
  7101. "description": "OK",
  7102. "schema": {
  7103. "type": "array",
  7104. "items": {
  7105. "$ref": "#/definitions/models.QhjBankAccountSign"
  7106. }
  7107. }
  7108. },
  7109. "500": {
  7110. "description": "Internal Server Error",
  7111. "schema": {
  7112. "$ref": "#/definitions/app.Response"
  7113. }
  7114. }
  7115. }
  7116. }
  7117. },
  7118. "/Qhj/QueryBankInfo": {
  7119. "get": {
  7120. "security": [
  7121. {
  7122. "ApiKeyAuth": []
  7123. }
  7124. ],
  7125. "produces": [
  7126. "application/json"
  7127. ],
  7128. "tags": [
  7129. "大连千海金"
  7130. ],
  7131. "summary": "查询开户行",
  7132. "responses": {
  7133. "200": {
  7134. "description": "OK",
  7135. "schema": {
  7136. "type": "array",
  7137. "items": {
  7138. "$ref": "#/definitions/models.QhjBankInfo"
  7139. }
  7140. }
  7141. },
  7142. "500": {
  7143. "description": "Internal Server Error",
  7144. "schema": {
  7145. "$ref": "#/definitions/app.Response"
  7146. }
  7147. }
  7148. }
  7149. }
  7150. },
  7151. "/Qhj/QueryContract": {
  7152. "get": {
  7153. "security": [
  7154. {
  7155. "ApiKeyAuth": []
  7156. }
  7157. ],
  7158. "produces": [
  7159. "application/json"
  7160. ],
  7161. "tags": [
  7162. "大连千海金"
  7163. ],
  7164. "summary": "查询融资明细(合同)",
  7165. "parameters": [
  7166. {
  7167. "type": "integer",
  7168. "description": "用户ID",
  7169. "name": "userid",
  7170. "in": "query",
  7171. "required": true
  7172. },
  7173. {
  7174. "type": "integer",
  7175. "description": "scf合同id",
  7176. "name": "scfcontractid",
  7177. "in": "query"
  7178. }
  7179. ],
  7180. "responses": {
  7181. "200": {
  7182. "description": "OK",
  7183. "schema": {
  7184. "type": "array",
  7185. "items": {
  7186. "$ref": "#/definitions/models.QhjContract"
  7187. }
  7188. }
  7189. },
  7190. "500": {
  7191. "description": "Internal Server Error",
  7192. "schema": {
  7193. "$ref": "#/definitions/app.Response"
  7194. }
  7195. }
  7196. }
  7197. }
  7198. },
  7199. "/Qhj/QueryContractLog": {
  7200. "get": {
  7201. "security": [
  7202. {
  7203. "ApiKeyAuth": []
  7204. }
  7205. ],
  7206. "produces": [
  7207. "application/json"
  7208. ],
  7209. "tags": [
  7210. "大连千海金"
  7211. ],
  7212. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7213. "parameters": [
  7214. {
  7215. "type": "integer",
  7216. "description": "scf合同id",
  7217. "name": "scfcontractid",
  7218. "in": "query",
  7219. "required": true
  7220. },
  7221. {
  7222. "type": "string",
  7223. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7224. "name": "amounttype",
  7225. "in": "query"
  7226. }
  7227. ],
  7228. "responses": {
  7229. "200": {
  7230. "description": "OK",
  7231. "schema": {
  7232. "type": "array",
  7233. "items": {
  7234. "$ref": "#/definitions/models.QhjContractLog"
  7235. }
  7236. }
  7237. },
  7238. "500": {
  7239. "description": "Internal Server Error",
  7240. "schema": {
  7241. "$ref": "#/definitions/app.Response"
  7242. }
  7243. }
  7244. }
  7245. }
  7246. },
  7247. "/Qhj/QueryCusBankSignBank": {
  7248. "get": {
  7249. "security": [
  7250. {
  7251. "ApiKeyAuth": []
  7252. }
  7253. ],
  7254. "produces": [
  7255. "application/json"
  7256. ],
  7257. "tags": [
  7258. "大连千海金"
  7259. ],
  7260. "summary": "查询托管银行",
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "type": "array",
  7266. "items": {
  7267. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7268. }
  7269. }
  7270. },
  7271. "500": {
  7272. "description": "Internal Server Error",
  7273. "schema": {
  7274. "$ref": "#/definitions/app.Response"
  7275. }
  7276. }
  7277. }
  7278. }
  7279. },
  7280. "/Qhj/QueryCustomerInfo": {
  7281. "get": {
  7282. "security": [
  7283. {
  7284. "ApiKeyAuth": []
  7285. }
  7286. ],
  7287. "produces": [
  7288. "application/json"
  7289. ],
  7290. "tags": [
  7291. "大连千海金"
  7292. ],
  7293. "summary": "查询客户资料",
  7294. "parameters": [
  7295. {
  7296. "type": "integer",
  7297. "description": "用户ID",
  7298. "name": "userid",
  7299. "in": "query",
  7300. "required": true
  7301. },
  7302. {
  7303. "type": "integer",
  7304. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7305. "name": "querytype",
  7306. "in": "query",
  7307. "required": true
  7308. },
  7309. {
  7310. "type": "integer",
  7311. "description": "客户类型 1-个人 2-企业",
  7312. "name": "userinfotype",
  7313. "in": "query"
  7314. },
  7315. {
  7316. "type": "string",
  7317. "description": "客户名称(模糊匹配)",
  7318. "name": "customername",
  7319. "in": "query"
  7320. },
  7321. {
  7322. "type": "string",
  7323. "description": "昵称(模糊匹配)",
  7324. "name": "nickname",
  7325. "in": "query"
  7326. },
  7327. {
  7328. "type": "integer",
  7329. "description": "是否包含子级 1-包含",
  7330. "name": "includesub",
  7331. "in": "query"
  7332. }
  7333. ],
  7334. "responses": {
  7335. "200": {
  7336. "description": "OK",
  7337. "schema": {
  7338. "type": "array",
  7339. "items": {
  7340. "$ref": "#/definitions/models.QhjCustomer"
  7341. }
  7342. }
  7343. },
  7344. "500": {
  7345. "description": "Internal Server Error",
  7346. "schema": {
  7347. "$ref": "#/definitions/app.Response"
  7348. }
  7349. }
  7350. }
  7351. }
  7352. },
  7353. "/Qhj/QueryGoodsEx": {
  7354. "get": {
  7355. "security": [
  7356. {
  7357. "ApiKeyAuth": []
  7358. }
  7359. ],
  7360. "produces": [
  7361. "application/json"
  7362. ],
  7363. "tags": [
  7364. "大连千海金"
  7365. ],
  7366. "summary": "交易商品扩展表",
  7367. "parameters": [
  7368. {
  7369. "type": "integer",
  7370. "description": "商品id",
  7371. "name": "goodsid",
  7372. "in": "query"
  7373. }
  7374. ],
  7375. "responses": {
  7376. "200": {
  7377. "description": "OK",
  7378. "schema": {
  7379. "type": "array",
  7380. "items": {
  7381. "$ref": "#/definitions/models.Qhjgoodsex"
  7382. }
  7383. }
  7384. },
  7385. "500": {
  7386. "description": "Internal Server Error",
  7387. "schema": {
  7388. "$ref": "#/definitions/app.Response"
  7389. }
  7390. }
  7391. }
  7392. }
  7393. },
  7394. "/Qhj/QueryPayOrder": {
  7395. "get": {
  7396. "security": [
  7397. {
  7398. "ApiKeyAuth": []
  7399. }
  7400. ],
  7401. "produces": [
  7402. "application/json"
  7403. ],
  7404. "tags": [
  7405. "大连千海金"
  7406. ],
  7407. "summary": "查询待付款单据",
  7408. "parameters": [
  7409. {
  7410. "type": "integer",
  7411. "description": "资金账号id",
  7412. "name": "accountid",
  7413. "in": "query",
  7414. "required": true
  7415. }
  7416. ],
  7417. "responses": {
  7418. "200": {
  7419. "description": "OK",
  7420. "schema": {
  7421. "type": "array",
  7422. "items": {
  7423. "$ref": "#/definitions/models.QhjPayOrder"
  7424. }
  7425. }
  7426. },
  7427. "500": {
  7428. "description": "Internal Server Error",
  7429. "schema": {
  7430. "$ref": "#/definitions/app.Response"
  7431. }
  7432. }
  7433. }
  7434. }
  7435. },
  7436. "/Qhj/QueryPickArea": {
  7437. "get": {
  7438. "security": [
  7439. {
  7440. "ApiKeyAuth": []
  7441. }
  7442. ],
  7443. "produces": [
  7444. "application/json"
  7445. ],
  7446. "tags": [
  7447. "大连千海金"
  7448. ],
  7449. "summary": "查询提货门店",
  7450. "parameters": [
  7451. {
  7452. "type": "integer",
  7453. "description": "用户ID",
  7454. "name": "userid",
  7455. "in": "query"
  7456. }
  7457. ],
  7458. "responses": {
  7459. "200": {
  7460. "description": "OK",
  7461. "schema": {
  7462. "type": "array",
  7463. "items": {
  7464. "$ref": "#/definitions/models.QhjPickArea"
  7465. }
  7466. }
  7467. },
  7468. "500": {
  7469. "description": "Internal Server Error",
  7470. "schema": {
  7471. "$ref": "#/definitions/app.Response"
  7472. }
  7473. }
  7474. }
  7475. }
  7476. },
  7477. "/Qhj/QueryPickGoods": {
  7478. "get": {
  7479. "security": [
  7480. {
  7481. "ApiKeyAuth": []
  7482. }
  7483. ],
  7484. "produces": [
  7485. "application/json"
  7486. ],
  7487. "tags": [
  7488. "大连千海金"
  7489. ],
  7490. "summary": "查询提货商品",
  7491. "parameters": [
  7492. {
  7493. "type": "string",
  7494. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7495. "name": "status",
  7496. "in": "query"
  7497. }
  7498. ],
  7499. "responses": {
  7500. "200": {
  7501. "description": "OK",
  7502. "schema": {
  7503. "type": "array",
  7504. "items": {
  7505. "$ref": "#/definitions/models.QhjPickGoods"
  7506. }
  7507. }
  7508. },
  7509. "500": {
  7510. "description": "Internal Server Error",
  7511. "schema": {
  7512. "$ref": "#/definitions/app.Response"
  7513. }
  7514. }
  7515. }
  7516. }
  7517. },
  7518. "/Qhj/QueryRSTriggerLog": {
  7519. "get": {
  7520. "security": [
  7521. {
  7522. "ApiKeyAuth": []
  7523. }
  7524. ],
  7525. "produces": [
  7526. "application/json"
  7527. ],
  7528. "tags": [
  7529. "大连千海金"
  7530. ],
  7531. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7532. "parameters": [
  7533. {
  7534. "type": "integer",
  7535. "description": "用户ID",
  7536. "name": "userid",
  7537. "in": "query",
  7538. "required": true
  7539. },
  7540. {
  7541. "type": "integer",
  7542. "description": "定投策略id",
  7543. "name": "regularlystrategyid",
  7544. "in": "query"
  7545. }
  7546. ],
  7547. "responses": {
  7548. "200": {
  7549. "description": "OK",
  7550. "schema": {
  7551. "type": "array",
  7552. "items": {
  7553. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7554. }
  7555. }
  7556. },
  7557. "500": {
  7558. "description": "Internal Server Error",
  7559. "schema": {
  7560. "$ref": "#/definitions/app.Response"
  7561. }
  7562. }
  7563. }
  7564. }
  7565. },
  7566. "/Qhj/QueryRStrategy": {
  7567. "get": {
  7568. "security": [
  7569. {
  7570. "ApiKeyAuth": []
  7571. }
  7572. ],
  7573. "produces": [
  7574. "application/json"
  7575. ],
  7576. "tags": [
  7577. "大连千海金"
  7578. ],
  7579. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7580. "parameters": [
  7581. {
  7582. "type": "integer",
  7583. "description": "用户ID",
  7584. "name": "userid",
  7585. "in": "query",
  7586. "required": true
  7587. },
  7588. {
  7589. "type": "string",
  7590. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7591. "name": "status",
  7592. "in": "query"
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "type": "array",
  7600. "items": {
  7601. "$ref": "#/definitions/models.QhjRStrategy"
  7602. }
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/Qhj/QueryReckonPriceLog": {
  7615. "get": {
  7616. "security": [
  7617. {
  7618. "ApiKeyAuth": []
  7619. }
  7620. ],
  7621. "produces": [
  7622. "application/json"
  7623. ],
  7624. "tags": [
  7625. "大连千海金"
  7626. ],
  7627. "summary": "查询定投价(结算价)",
  7628. "parameters": [
  7629. {
  7630. "type": "integer",
  7631. "description": "商品ID",
  7632. "name": "goodsid",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "交易日 格式(yyyymmdd)",
  7638. "name": "tradedate",
  7639. "in": "query"
  7640. }
  7641. ],
  7642. "responses": {
  7643. "200": {
  7644. "description": "OK",
  7645. "schema": {
  7646. "type": "array",
  7647. "items": {
  7648. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7649. }
  7650. }
  7651. },
  7652. "500": {
  7653. "description": "Internal Server Error",
  7654. "schema": {
  7655. "$ref": "#/definitions/app.Response"
  7656. }
  7657. }
  7658. }
  7659. }
  7660. },
  7661. "/Qhj/QuerySiteColumnDetail": {
  7662. "get": {
  7663. "security": [
  7664. {
  7665. "ApiKeyAuth": []
  7666. }
  7667. ],
  7668. "produces": [
  7669. "application/json"
  7670. ],
  7671. "tags": [
  7672. "大连千海金"
  7673. ],
  7674. "summary": "查询资讯",
  7675. "parameters": [
  7676. {
  7677. "type": "integer",
  7678. "description": "用户ID",
  7679. "name": "userid",
  7680. "in": "query",
  7681. "required": true
  7682. }
  7683. ],
  7684. "responses": {
  7685. "200": {
  7686. "description": "OK",
  7687. "schema": {
  7688. "type": "array",
  7689. "items": {
  7690. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7691. }
  7692. }
  7693. },
  7694. "500": {
  7695. "description": "Internal Server Error",
  7696. "schema": {
  7697. "$ref": "#/definitions/app.Response"
  7698. }
  7699. }
  7700. }
  7701. }
  7702. },
  7703. "/Qhj/QueryTradeGoodsPickup": {
  7704. "get": {
  7705. "security": [
  7706. {
  7707. "ApiKeyAuth": []
  7708. }
  7709. ],
  7710. "produces": [
  7711. "application/json"
  7712. ],
  7713. "tags": [
  7714. "大连千海金"
  7715. ],
  7716. "summary": "查询提货",
  7717. "parameters": [
  7718. {
  7719. "type": "integer",
  7720. "description": "用户ID",
  7721. "name": "userid",
  7722. "in": "query",
  7723. "required": true
  7724. }
  7725. ],
  7726. "responses": {
  7727. "200": {
  7728. "description": "OK",
  7729. "schema": {
  7730. "type": "array",
  7731. "items": {
  7732. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7733. }
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/Qhj/QueryUserCollectConfig": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "大连千海金"
  7757. ],
  7758. "summary": "查询提现账户设置",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "用户ID",
  7763. "name": "userid",
  7764. "in": "query",
  7765. "required": true
  7766. }
  7767. ],
  7768. "responses": {
  7769. "200": {
  7770. "description": "OK",
  7771. "schema": {
  7772. "type": "array",
  7773. "items": {
  7774. "$ref": "#/definitions/models.UserCollectConfig"
  7775. }
  7776. }
  7777. },
  7778. "500": {
  7779. "description": "Internal Server Error",
  7780. "schema": {
  7781. "$ref": "#/definitions/app.Response"
  7782. }
  7783. }
  7784. }
  7785. }
  7786. },
  7787. "/Qhj/QueryUserReceiveInfo": {
  7788. "get": {
  7789. "security": [
  7790. {
  7791. "ApiKeyAuth": []
  7792. }
  7793. ],
  7794. "produces": [
  7795. "application/json"
  7796. ],
  7797. "tags": [
  7798. "大连千海金"
  7799. ],
  7800. "summary": "查询收货地址信息",
  7801. "parameters": [
  7802. {
  7803. "type": "integer",
  7804. "description": "用户ID",
  7805. "name": "userid",
  7806. "in": "query",
  7807. "required": true
  7808. }
  7809. ],
  7810. "responses": {
  7811. "200": {
  7812. "description": "OK",
  7813. "schema": {
  7814. "type": "array",
  7815. "items": {
  7816. "$ref": "#/definitions/models.UserReceiveInfo"
  7817. }
  7818. }
  7819. },
  7820. "500": {
  7821. "description": "Internal Server Error",
  7822. "schema": {
  7823. "$ref": "#/definitions/app.Response"
  7824. }
  7825. }
  7826. }
  7827. }
  7828. },
  7829. "/Quote/QueryHistoryDatas": {
  7830. "get": {
  7831. "security": [
  7832. {
  7833. "ApiKeyAuth": []
  7834. }
  7835. ],
  7836. "produces": [
  7837. "application/json"
  7838. ],
  7839. "tags": [
  7840. "行情服务"
  7841. ],
  7842. "summary": "查询行情历史数据",
  7843. "parameters": [
  7844. {
  7845. "type": "integer",
  7846. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7847. "name": "cycleType",
  7848. "in": "query",
  7849. "required": true
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "商品代码",
  7854. "name": "goodsCode",
  7855. "in": "query",
  7856. "required": true
  7857. },
  7858. {
  7859. "type": "string",
  7860. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7861. "name": "startTime",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7867. "name": "endTime",
  7868. "in": "query"
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "条数",
  7873. "name": "count",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "boolean",
  7878. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7879. "name": "isAsc",
  7880. "in": "query"
  7881. }
  7882. ],
  7883. "responses": {
  7884. "200": {
  7885. "description": "OK",
  7886. "schema": {
  7887. "$ref": "#/definitions/quote.HistoryData"
  7888. }
  7889. },
  7890. "500": {
  7891. "description": "Internal Server Error",
  7892. "schema": {
  7893. "$ref": "#/definitions/app.Response"
  7894. }
  7895. }
  7896. }
  7897. }
  7898. },
  7899. "/Quote/QueryHistoryTikDatas": {
  7900. "get": {
  7901. "security": [
  7902. {
  7903. "ApiKeyAuth": []
  7904. }
  7905. ],
  7906. "produces": [
  7907. "application/json"
  7908. ],
  7909. "tags": [
  7910. "行情服务"
  7911. ],
  7912. "summary": "查询行情Tik数据",
  7913. "parameters": [
  7914. {
  7915. "type": "string",
  7916. "description": "商品代码",
  7917. "name": "goodsCode",
  7918. "in": "query",
  7919. "required": true
  7920. },
  7921. {
  7922. "type": "string",
  7923. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7924. "name": "startTime",
  7925. "in": "query"
  7926. },
  7927. {
  7928. "type": "string",
  7929. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7930. "name": "endTime",
  7931. "in": "query"
  7932. },
  7933. {
  7934. "type": "integer",
  7935. "description": "条数",
  7936. "name": "count",
  7937. "in": "query"
  7938. },
  7939. {
  7940. "type": "boolean",
  7941. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7942. "name": "isAsc",
  7943. "in": "query"
  7944. }
  7945. ],
  7946. "responses": {
  7947. "200": {
  7948. "description": "OK",
  7949. "schema": {
  7950. "$ref": "#/definitions/quote.HistoryTikData"
  7951. }
  7952. },
  7953. "500": {
  7954. "description": "Internal Server Error",
  7955. "schema": {
  7956. "$ref": "#/definitions/app.Response"
  7957. }
  7958. }
  7959. }
  7960. }
  7961. },
  7962. "/Quote/QueryQuoteDay": {
  7963. "get": {
  7964. "security": [
  7965. {
  7966. "ApiKeyAuth": []
  7967. }
  7968. ],
  7969. "produces": [
  7970. "application/json"
  7971. ],
  7972. "tags": [
  7973. "行情服务"
  7974. ],
  7975. "summary": "获取商品盘面信息",
  7976. "parameters": [
  7977. {
  7978. "type": "string",
  7979. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7980. "name": "goodsCodes",
  7981. "in": "query",
  7982. "required": true
  7983. }
  7984. ],
  7985. "responses": {
  7986. "200": {
  7987. "description": "OK",
  7988. "schema": {
  7989. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7990. }
  7991. },
  7992. "500": {
  7993. "description": "Internal Server Error",
  7994. "schema": {
  7995. "$ref": "#/definitions/app.Response"
  7996. }
  7997. }
  7998. }
  7999. }
  8000. },
  8001. "/Quote/QueryTSData": {
  8002. "get": {
  8003. "security": [
  8004. {
  8005. "ApiKeyAuth": []
  8006. }
  8007. ],
  8008. "produces": [
  8009. "application/json"
  8010. ],
  8011. "tags": [
  8012. "行情服务"
  8013. ],
  8014. "summary": "分时图数据查询",
  8015. "parameters": [
  8016. {
  8017. "type": "string",
  8018. "description": "商品代码",
  8019. "name": "goodsCode",
  8020. "in": "query",
  8021. "required": true
  8022. }
  8023. ],
  8024. "responses": {
  8025. "200": {
  8026. "description": "OK",
  8027. "schema": {
  8028. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8029. }
  8030. },
  8031. "500": {
  8032. "description": "Internal Server Error",
  8033. "schema": {
  8034. "$ref": "#/definitions/app.Response"
  8035. }
  8036. }
  8037. }
  8038. }
  8039. },
  8040. "/SZDZ/QueryConvertConfig": {
  8041. "get": {
  8042. "security": [
  8043. {
  8044. "ApiKeyAuth": []
  8045. }
  8046. ],
  8047. "produces": [
  8048. "application/json"
  8049. ],
  8050. "tags": [
  8051. "定制【尚志大宗】"
  8052. ],
  8053. "summary": "查询交易系统转换设置",
  8054. "parameters": [
  8055. {
  8056. "type": "integer",
  8057. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8058. "name": "convertType",
  8059. "in": "query"
  8060. },
  8061. {
  8062. "type": "string",
  8063. "description": "外部商品代码[JD\\PD]",
  8064. "name": "outerGoodsCode",
  8065. "in": "query"
  8066. },
  8067. {
  8068. "type": "string",
  8069. "description": "内部商品ID列表[交易],格式:1,2,3",
  8070. "name": "innerGoodsIDs",
  8071. "in": "query"
  8072. }
  8073. ],
  8074. "responses": {
  8075. "200": {
  8076. "description": "OK",
  8077. "schema": {
  8078. "$ref": "#/definitions/models.Szdz3convertconfig"
  8079. }
  8080. },
  8081. "500": {
  8082. "description": "Internal Server Error",
  8083. "schema": {
  8084. "$ref": "#/definitions/app.Response"
  8085. }
  8086. }
  8087. }
  8088. }
  8089. },
  8090. "/SZDZ/QueryConvertLog": {
  8091. "get": {
  8092. "security": [
  8093. {
  8094. "ApiKeyAuth": []
  8095. }
  8096. ],
  8097. "produces": [
  8098. "application/json"
  8099. ],
  8100. "tags": [
  8101. "定制【尚志大宗】"
  8102. ],
  8103. "summary": "交易系统转换流水查询",
  8104. "parameters": [
  8105. {
  8106. "type": "string",
  8107. "description": "资金账户 - 格式:1,2,3",
  8108. "name": "accountID",
  8109. "in": "query",
  8110. "required": true
  8111. },
  8112. {
  8113. "type": "string",
  8114. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8115. "name": "startDate",
  8116. "in": "query"
  8117. },
  8118. {
  8119. "type": "string",
  8120. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8121. "name": "endDate",
  8122. "in": "query"
  8123. }
  8124. ],
  8125. "responses": {
  8126. "200": {
  8127. "description": "OK",
  8128. "schema": {
  8129. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/SZDZ/QueryGoodsPickup": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "定制【尚志大宗】"
  8153. ],
  8154. "summary": "商品提货单查询",
  8155. "parameters": [
  8156. {
  8157. "type": "string",
  8158. "description": "资金账户 - 格式:1,2,3",
  8159. "name": "accountID",
  8160. "in": "query",
  8161. "required": true
  8162. },
  8163. {
  8164. "type": "integer",
  8165. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8166. "name": "takeOrderStatus",
  8167. "in": "query"
  8168. }
  8169. ],
  8170. "responses": {
  8171. "200": {
  8172. "description": "OK",
  8173. "schema": {
  8174. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8175. }
  8176. },
  8177. "500": {
  8178. "description": "Internal Server Error",
  8179. "schema": {
  8180. "$ref": "#/definitions/app.Response"
  8181. }
  8182. }
  8183. }
  8184. }
  8185. },
  8186. "/SZDZ/QueryRecieptOrder": {
  8187. "get": {
  8188. "security": [
  8189. {
  8190. "ApiKeyAuth": []
  8191. }
  8192. ],
  8193. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8194. "produces": [
  8195. "application/json"
  8196. ],
  8197. "tags": [
  8198. "定制【尚志大宗】"
  8199. ],
  8200. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8201. "parameters": [
  8202. {
  8203. "type": "integer",
  8204. "description": "页码",
  8205. "name": "page",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "每页条数",
  8211. "name": "pagesize",
  8212. "in": "query"
  8213. },
  8214. {
  8215. "type": "integer",
  8216. "description": "商品ID",
  8217. "name": "goodsID",
  8218. "in": "query",
  8219. "required": true
  8220. },
  8221. {
  8222. "type": "string",
  8223. "description": "所属账户名称",
  8224. "name": "accountName",
  8225. "in": "query"
  8226. },
  8227. {
  8228. "type": "integer",
  8229. "description": "市场ID",
  8230. "name": "marketID",
  8231. "in": "query"
  8232. },
  8233. {
  8234. "type": "integer",
  8235. "description": "方向 - 0:买 1:卖",
  8236. "name": "buyorsell",
  8237. "in": "query",
  8238. "required": true
  8239. }
  8240. ],
  8241. "responses": {
  8242. "200": {
  8243. "description": "OK",
  8244. "schema": {
  8245. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8246. }
  8247. },
  8248. "500": {
  8249. "description": "Internal Server Error",
  8250. "schema": {
  8251. "$ref": "#/definitions/app.Response"
  8252. }
  8253. }
  8254. }
  8255. }
  8256. },
  8257. "/SZDZ/QuerySZDZTradePosition": {
  8258. "get": {
  8259. "security": [
  8260. {
  8261. "ApiKeyAuth": []
  8262. }
  8263. ],
  8264. "produces": [
  8265. "application/json"
  8266. ],
  8267. "tags": [
  8268. "定制【尚志大宗】"
  8269. ],
  8270. "summary": "持仓汇总查询(尚志大宗)",
  8271. "parameters": [
  8272. {
  8273. "type": "integer",
  8274. "description": "资金账户",
  8275. "name": "accountID",
  8276. "in": "query",
  8277. "required": true
  8278. }
  8279. ],
  8280. "responses": {
  8281. "200": {
  8282. "description": "OK",
  8283. "schema": {
  8284. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8285. }
  8286. },
  8287. "500": {
  8288. "description": "Internal Server Error",
  8289. "schema": {
  8290. "$ref": "#/definitions/app.Response"
  8291. }
  8292. }
  8293. }
  8294. }
  8295. },
  8296. "/SZDZ/SearchWhite": {
  8297. "get": {
  8298. "security": [
  8299. {
  8300. "ApiKeyAuth": []
  8301. }
  8302. ],
  8303. "produces": [
  8304. "application/json"
  8305. ],
  8306. "tags": [
  8307. "定制【尚志大宗】"
  8308. ],
  8309. "summary": "搜索白名单",
  8310. "parameters": [
  8311. {
  8312. "type": "integer",
  8313. "description": "用户ID",
  8314. "name": "userID",
  8315. "in": "query",
  8316. "required": true
  8317. }
  8318. ],
  8319. "responses": {
  8320. "200": {
  8321. "description": "OK",
  8322. "schema": {
  8323. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Search/SearchGoodses": {
  8336. "get": {
  8337. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "检索服务"
  8343. ],
  8344. "summary": "检索商品信息",
  8345. "parameters": [
  8346. {
  8347. "type": "string",
  8348. "description": "检索内容",
  8349. "name": "content",
  8350. "in": "query",
  8351. "required": true
  8352. },
  8353. {
  8354. "type": "string",
  8355. "description": "交易模式,格式:1,2,3",
  8356. "name": "tradeModes",
  8357. "in": "query"
  8358. }
  8359. ],
  8360. "responses": {
  8361. "200": {
  8362. "description": "OK",
  8363. "schema": {
  8364. "$ref": "#/definitions/models.SearchGoods"
  8365. }
  8366. },
  8367. "500": {
  8368. "description": "Internal Server Error",
  8369. "schema": {
  8370. "$ref": "#/definitions/app.Response"
  8371. }
  8372. }
  8373. }
  8374. }
  8375. },
  8376. "/TaAccount/GetTaAccounts": {
  8377. "get": {
  8378. "security": [
  8379. {
  8380. "ApiKeyAuth": []
  8381. }
  8382. ],
  8383. "produces": [
  8384. "application/json"
  8385. ],
  8386. "tags": [
  8387. "资金账户"
  8388. ],
  8389. "summary": "获取资金账户信息",
  8390. "parameters": [
  8391. {
  8392. "type": "integer",
  8393. "description": "登录账户",
  8394. "name": "loginID",
  8395. "in": "query",
  8396. "required": true
  8397. },
  8398. {
  8399. "type": "integer",
  8400. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8401. "name": "taAccountType",
  8402. "in": "query"
  8403. }
  8404. ],
  8405. "responses": {
  8406. "200": {
  8407. "description": "OK",
  8408. "schema": {
  8409. "$ref": "#/definitions/models.Taaccount"
  8410. }
  8411. },
  8412. "500": {
  8413. "description": "Internal Server Error",
  8414. "schema": {
  8415. "$ref": "#/definitions/app.Response"
  8416. }
  8417. }
  8418. }
  8419. }
  8420. },
  8421. "/TaAccount/QueryAmountLog": {
  8422. "get": {
  8423. "security": [
  8424. {
  8425. "ApiKeyAuth": []
  8426. }
  8427. ],
  8428. "produces": [
  8429. "application/json"
  8430. ],
  8431. "tags": [
  8432. "资金账户"
  8433. ],
  8434. "summary": "资金流水查询(当前)",
  8435. "parameters": [
  8436. {
  8437. "type": "integer",
  8438. "description": "页码",
  8439. "name": "page",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "integer",
  8444. "description": "每页条数",
  8445. "name": "pagesize",
  8446. "in": "query"
  8447. },
  8448. {
  8449. "type": "string",
  8450. "description": "资金账户 - 格式:1,2,3",
  8451. "name": "accountID",
  8452. "in": "query",
  8453. "required": true
  8454. },
  8455. {
  8456. "type": "string",
  8457. "description": "资金操作类型 - 格式:1,2,3",
  8458. "name": "OperateType",
  8459. "in": "query"
  8460. }
  8461. ],
  8462. "responses": {
  8463. "200": {
  8464. "description": "OK",
  8465. "schema": {
  8466. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8467. }
  8468. },
  8469. "500": {
  8470. "description": "Internal Server Error",
  8471. "schema": {
  8472. "$ref": "#/definitions/app.Response"
  8473. }
  8474. }
  8475. }
  8476. }
  8477. },
  8478. "/TaAccount/QueryHisAmountLog": {
  8479. "get": {
  8480. "security": [
  8481. {
  8482. "ApiKeyAuth": []
  8483. }
  8484. ],
  8485. "produces": [
  8486. "application/json"
  8487. ],
  8488. "tags": [
  8489. "资金账户"
  8490. ],
  8491. "summary": "资金流水查询(历史)",
  8492. "parameters": [
  8493. {
  8494. "type": "integer",
  8495. "description": "页码",
  8496. "name": "page",
  8497. "in": "query"
  8498. },
  8499. {
  8500. "type": "integer",
  8501. "description": "每页条数",
  8502. "name": "pagesize",
  8503. "in": "query"
  8504. },
  8505. {
  8506. "type": "string",
  8507. "description": "资金账户 - 格式:1,2,3",
  8508. "name": "accountID",
  8509. "in": "query",
  8510. "required": true
  8511. },
  8512. {
  8513. "type": "string",
  8514. "description": "资金操作类型 - 格式:1,2,3",
  8515. "name": "OperateType",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "string",
  8520. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8521. "name": "startDate",
  8522. "in": "query"
  8523. },
  8524. {
  8525. "type": "string",
  8526. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8527. "name": "endDate",
  8528. "in": "query"
  8529. }
  8530. ],
  8531. "responses": {
  8532. "200": {
  8533. "description": "OK",
  8534. "schema": {
  8535. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8536. }
  8537. },
  8538. "500": {
  8539. "description": "Internal Server Error",
  8540. "schema": {
  8541. "$ref": "#/definitions/app.Response"
  8542. }
  8543. }
  8544. }
  8545. }
  8546. },
  8547. "/Trade/QueryRecieptOrder": {
  8548. "get": {
  8549. "security": [
  8550. {
  8551. "ApiKeyAuth": []
  8552. }
  8553. ],
  8554. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8555. "produces": [
  8556. "application/json"
  8557. ],
  8558. "tags": [
  8559. "通用交易"
  8560. ],
  8561. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8562. "parameters": [
  8563. {
  8564. "type": "integer",
  8565. "description": "页码",
  8566. "name": "page",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "每页条数",
  8572. "name": "pagesize",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "商品ID",
  8578. "name": "goodsID",
  8579. "in": "query",
  8580. "required": true
  8581. },
  8582. {
  8583. "type": "string",
  8584. "description": "所属账户名称",
  8585. "name": "accountName",
  8586. "in": "query"
  8587. },
  8588. {
  8589. "type": "integer",
  8590. "description": "市场ID",
  8591. "name": "marketID",
  8592. "in": "query"
  8593. },
  8594. {
  8595. "type": "integer",
  8596. "description": "方向 - 0:买 1:卖",
  8597. "name": "buyorsell",
  8598. "in": "query",
  8599. "required": true
  8600. }
  8601. ],
  8602. "responses": {
  8603. "200": {
  8604. "description": "OK",
  8605. "schema": {
  8606. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8607. }
  8608. },
  8609. "500": {
  8610. "description": "Internal Server Error",
  8611. "schema": {
  8612. "$ref": "#/definitions/app.Response"
  8613. }
  8614. }
  8615. }
  8616. }
  8617. },
  8618. "/User/AddMessageBoard": {
  8619. "post": {
  8620. "security": [
  8621. {
  8622. "ApiKeyAuth": []
  8623. }
  8624. ],
  8625. "produces": [
  8626. "application/json"
  8627. ],
  8628. "tags": [
  8629. "用户信息"
  8630. ],
  8631. "summary": "添加用户留言板信息",
  8632. "parameters": [
  8633. {
  8634. "type": "integer",
  8635. "description": "用户ID",
  8636. "name": "userID",
  8637. "in": "query",
  8638. "required": true
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "留言信息",
  8643. "name": "message",
  8644. "in": "query",
  8645. "required": true
  8646. },
  8647. {
  8648. "type": "string",
  8649. "description": "联系电话",
  8650. "name": "contactNum",
  8651. "in": "query",
  8652. "required": true
  8653. }
  8654. ],
  8655. "responses": {
  8656. "200": {
  8657. "description": "OK",
  8658. "schema": {
  8659. "$ref": "#/definitions/app.Response"
  8660. }
  8661. },
  8662. "500": {
  8663. "description": "Internal Server Error",
  8664. "schema": {
  8665. "$ref": "#/definitions/app.Response"
  8666. }
  8667. }
  8668. }
  8669. }
  8670. },
  8671. "/User/AddUserFavoriteGoods": {
  8672. "post": {
  8673. "security": [
  8674. {
  8675. "ApiKeyAuth": []
  8676. }
  8677. ],
  8678. "produces": [
  8679. "application/json"
  8680. ],
  8681. "tags": [
  8682. "用户信息"
  8683. ],
  8684. "summary": "添加用户商品收藏信息",
  8685. "parameters": [
  8686. {
  8687. "type": "integer",
  8688. "description": "用户ID",
  8689. "name": "userID",
  8690. "in": "query",
  8691. "required": true
  8692. },
  8693. {
  8694. "type": "integer",
  8695. "description": "商品ID",
  8696. "name": "goodsID",
  8697. "in": "query",
  8698. "required": true
  8699. }
  8700. ],
  8701. "responses": {
  8702. "200": {
  8703. "description": "OK",
  8704. "schema": {
  8705. "$ref": "#/definitions/app.Response"
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/User/GetLoginID": {
  8718. "get": {
  8719. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "用户信息"
  8725. ],
  8726. "summary": "获取登录ID",
  8727. "parameters": [
  8728. {
  8729. "type": "string",
  8730. "description": "登录代码",
  8731. "name": "username",
  8732. "in": "query",
  8733. "required": true
  8734. }
  8735. ],
  8736. "responses": {
  8737. "200": {
  8738. "description": "OK",
  8739. "schema": {
  8740. "$ref": "#/definitions/app.Response"
  8741. }
  8742. },
  8743. "500": {
  8744. "description": "Internal Server Error",
  8745. "schema": {
  8746. "$ref": "#/definitions/app.Response"
  8747. }
  8748. }
  8749. }
  8750. }
  8751. },
  8752. "/User/GetUserAccount": {
  8753. "get": {
  8754. "security": [
  8755. {
  8756. "ApiKeyAuth": []
  8757. }
  8758. ],
  8759. "produces": [
  8760. "application/json"
  8761. ],
  8762. "tags": [
  8763. "用户信息"
  8764. ],
  8765. "summary": "获取用户账号信息",
  8766. "parameters": [
  8767. {
  8768. "type": "integer",
  8769. "description": "用户ID",
  8770. "name": "userID",
  8771. "in": "query",
  8772. "required": true
  8773. }
  8774. ],
  8775. "responses": {
  8776. "200": {
  8777. "description": "OK",
  8778. "schema": {
  8779. "$ref": "#/definitions/models.Useraccount"
  8780. }
  8781. },
  8782. "500": {
  8783. "description": "Internal Server Error",
  8784. "schema": {
  8785. "$ref": "#/definitions/app.Response"
  8786. }
  8787. }
  8788. }
  8789. }
  8790. },
  8791. "/User/GetUserAuthStatus": {
  8792. "get": {
  8793. "security": [
  8794. {
  8795. "ApiKeyAuth": []
  8796. }
  8797. ],
  8798. "produces": [
  8799. "application/json"
  8800. ],
  8801. "tags": [
  8802. "用户信息"
  8803. ],
  8804. "summary": "获取用户实名认证状态",
  8805. "parameters": [
  8806. {
  8807. "type": "integer",
  8808. "description": "用户ID",
  8809. "name": "userID",
  8810. "in": "query",
  8811. "required": true
  8812. }
  8813. ],
  8814. "responses": {
  8815. "200": {
  8816. "description": "OK",
  8817. "schema": {
  8818. "$ref": "#/definitions/app.Response"
  8819. }
  8820. },
  8821. "500": {
  8822. "description": "Internal Server Error",
  8823. "schema": {
  8824. "$ref": "#/definitions/app.Response"
  8825. }
  8826. }
  8827. }
  8828. }
  8829. },
  8830. "/User/LoginQuery": {
  8831. "get": {
  8832. "security": [
  8833. {
  8834. "ApiKeyAuth": []
  8835. }
  8836. ],
  8837. "produces": [
  8838. "application/json"
  8839. ],
  8840. "tags": [
  8841. "用户信息"
  8842. ],
  8843. "summary": "账户登录后信息查询",
  8844. "parameters": [
  8845. {
  8846. "type": "integer",
  8847. "description": "登录账号",
  8848. "name": "loginID",
  8849. "in": "query",
  8850. "required": true
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/user.LoginQueryRsp"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/app.Response"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/User/QueryMessageBoard": {
  8870. "get": {
  8871. "security": [
  8872. {
  8873. "ApiKeyAuth": []
  8874. }
  8875. ],
  8876. "produces": [
  8877. "application/json"
  8878. ],
  8879. "tags": [
  8880. "用户信息"
  8881. ],
  8882. "summary": "获取用户留言板信息",
  8883. "parameters": [
  8884. {
  8885. "type": "integer",
  8886. "description": "用户ID",
  8887. "name": "userID",
  8888. "in": "query",
  8889. "required": true
  8890. }
  8891. ],
  8892. "responses": {
  8893. "200": {
  8894. "description": "OK",
  8895. "schema": {
  8896. "$ref": "#/definitions/models.Messageboard"
  8897. }
  8898. },
  8899. "500": {
  8900. "description": "Internal Server Error",
  8901. "schema": {
  8902. "$ref": "#/definitions/app.Response"
  8903. }
  8904. }
  8905. }
  8906. }
  8907. },
  8908. "/User/QueryUserFavoriteGoodses": {
  8909. "get": {
  8910. "security": [
  8911. {
  8912. "ApiKeyAuth": []
  8913. }
  8914. ],
  8915. "produces": [
  8916. "application/json"
  8917. ],
  8918. "tags": [
  8919. "用户信息"
  8920. ],
  8921. "summary": "获取用户商品收藏信息",
  8922. "parameters": [
  8923. {
  8924. "type": "integer",
  8925. "description": "用户ID",
  8926. "name": "userID",
  8927. "in": "query",
  8928. "required": true
  8929. }
  8930. ],
  8931. "responses": {
  8932. "200": {
  8933. "description": "OK",
  8934. "schema": {
  8935. "$ref": "#/definitions/models.Userfavoritegoods"
  8936. }
  8937. },
  8938. "500": {
  8939. "description": "Internal Server Error",
  8940. "schema": {
  8941. "$ref": "#/definitions/app.Response"
  8942. }
  8943. }
  8944. }
  8945. }
  8946. },
  8947. "/User/QueryUserInfo": {
  8948. "get": {
  8949. "security": [
  8950. {
  8951. "ApiKeyAuth": []
  8952. }
  8953. ],
  8954. "produces": [
  8955. "application/json"
  8956. ],
  8957. "tags": [
  8958. "用户信息"
  8959. ],
  8960. "summary": "获取用户信息",
  8961. "parameters": [
  8962. {
  8963. "type": "integer",
  8964. "description": "用户ID",
  8965. "name": "userID",
  8966. "in": "query",
  8967. "required": true
  8968. },
  8969. {
  8970. "type": "boolean",
  8971. "description": "是否解密",
  8972. "name": "isDecrypt",
  8973. "in": "query"
  8974. }
  8975. ],
  8976. "responses": {
  8977. "200": {
  8978. "description": "OK",
  8979. "schema": {
  8980. "$ref": "#/definitions/models.Userinfo"
  8981. }
  8982. },
  8983. "500": {
  8984. "description": "Internal Server Error",
  8985. "schema": {
  8986. "$ref": "#/definitions/app.Response"
  8987. }
  8988. }
  8989. }
  8990. }
  8991. },
  8992. "/User/QueryUserReferNum": {
  8993. "get": {
  8994. "produces": [
  8995. "application/json"
  8996. ],
  8997. "tags": [
  8998. "用户信息"
  8999. ],
  9000. "summary": "获取用户邀请码",
  9001. "parameters": [
  9002. {
  9003. "type": "integer",
  9004. "description": "用户ID",
  9005. "name": "userID",
  9006. "in": "query",
  9007. "required": true
  9008. }
  9009. ],
  9010. "responses": {
  9011. "200": {
  9012. "description": "OK",
  9013. "schema": {
  9014. "$ref": "#/definitions/app.Response"
  9015. }
  9016. },
  9017. "500": {
  9018. "description": "Internal Server Error",
  9019. "schema": {
  9020. "$ref": "#/definitions/app.Response"
  9021. }
  9022. }
  9023. }
  9024. }
  9025. },
  9026. "/User/RemoveUserFavoriteGoods": {
  9027. "post": {
  9028. "security": [
  9029. {
  9030. "ApiKeyAuth": []
  9031. }
  9032. ],
  9033. "produces": [
  9034. "application/json"
  9035. ],
  9036. "tags": [
  9037. "用户信息"
  9038. ],
  9039. "summary": "移除用户商品收藏信息",
  9040. "parameters": [
  9041. {
  9042. "type": "integer",
  9043. "description": "用户ID",
  9044. "name": "userID",
  9045. "in": "query",
  9046. "required": true
  9047. },
  9048. {
  9049. "type": "integer",
  9050. "description": "商品ID",
  9051. "name": "goodsID",
  9052. "in": "query",
  9053. "required": true
  9054. }
  9055. ],
  9056. "responses": {
  9057. "200": {
  9058. "description": "OK",
  9059. "schema": {
  9060. "$ref": "#/definitions/app.Response"
  9061. }
  9062. },
  9063. "500": {
  9064. "description": "Internal Server Error",
  9065. "schema": {
  9066. "$ref": "#/definitions/app.Response"
  9067. }
  9068. }
  9069. }
  9070. }
  9071. },
  9072. "/User/UpdateUserAccountStatus": {
  9073. "post": {
  9074. "security": [
  9075. {
  9076. "ApiKeyAuth": []
  9077. }
  9078. ],
  9079. "produces": [
  9080. "application/json"
  9081. ],
  9082. "tags": [
  9083. "用户信息"
  9084. ],
  9085. "summary": "更新用户状态",
  9086. "parameters": [
  9087. {
  9088. "type": "integer",
  9089. "description": "用户ID",
  9090. "name": "userID",
  9091. "in": "query",
  9092. "required": true
  9093. },
  9094. {
  9095. "type": "integer",
  9096. "description": "账户状态 - 4:正常 6:注销(停用)",
  9097. "name": "accountStatus",
  9098. "in": "query",
  9099. "required": true
  9100. }
  9101. ],
  9102. "responses": {
  9103. "200": {
  9104. "description": "OK",
  9105. "schema": {
  9106. "$ref": "#/definitions/app.Response"
  9107. }
  9108. },
  9109. "500": {
  9110. "description": "Internal Server Error",
  9111. "schema": {
  9112. "$ref": "#/definitions/app.Response"
  9113. }
  9114. }
  9115. }
  9116. }
  9117. },
  9118. "/WRTrade/GetAllDeliveryGoods": {
  9119. "get": {
  9120. "security": [
  9121. {
  9122. "ApiKeyAuth": []
  9123. },
  9124. {
  9125. "ApiKeyAuth": []
  9126. }
  9127. ],
  9128. "produces": [
  9129. "application/json",
  9130. "application/json"
  9131. ],
  9132. "tags": [
  9133. "仓单贸易",
  9134. "仓单贸易"
  9135. ],
  9136. "summary": "获取带仓单分类的种类信息",
  9137. "responses": {
  9138. "200": {
  9139. "description": "OK",
  9140. "schema": {
  9141. "$ref": "#/definitions/app.Response"
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. }
  9153. },
  9154. "definitions": {
  9155. "app.Response": {
  9156. "type": "object",
  9157. "properties": {
  9158. "code": {
  9159. "type": "integer"
  9160. },
  9161. "data": {
  9162. "type": "object"
  9163. },
  9164. "msg": {
  9165. "type": "string"
  9166. },
  9167. "page": {
  9168. "description": "页码",
  9169. "type": "integer"
  9170. },
  9171. "pagesize": {
  9172. "description": "每页条数",
  9173. "type": "integer"
  9174. },
  9175. "total": {
  9176. "description": "总条数",
  9177. "type": "integer"
  9178. }
  9179. }
  9180. },
  9181. "common.ClientMenu": {
  9182. "type": "object",
  9183. "properties": {
  9184. "children": {
  9185. "description": "子菜单列表",
  9186. "type": "array",
  9187. "items": {
  9188. "$ref": "#/definitions/common.ClientMenu"
  9189. }
  9190. },
  9191. "code": {
  9192. "description": "ID",
  9193. "type": "string"
  9194. },
  9195. "isshow": {
  9196. "description": "是否显示",
  9197. "type": "boolean"
  9198. },
  9199. "rulekey": {
  9200. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9201. "type": "string"
  9202. },
  9203. "sort": {
  9204. "description": "排序",
  9205. "type": "integer"
  9206. },
  9207. "title": {
  9208. "description": "标题",
  9209. "type": "string"
  9210. },
  9211. "type": {
  9212. "description": "类型,1:菜单 2:按钮",
  9213. "type": "integer"
  9214. }
  9215. }
  9216. },
  9217. "common.QueryImageConfigsRsp": {
  9218. "type": "object",
  9219. "required": [
  9220. "configid"
  9221. ],
  9222. "properties": {
  9223. "areauserid": {
  9224. "description": "所属机构ID",
  9225. "type": "integer"
  9226. },
  9227. "configid": {
  9228. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9229. "type": "integer"
  9230. },
  9231. "createdate": {
  9232. "description": "创建时间",
  9233. "type": "string"
  9234. },
  9235. "creatorid": {
  9236. "description": "创建人",
  9237. "type": "integer"
  9238. },
  9239. "imagepath": {
  9240. "description": "图片",
  9241. "type": "string"
  9242. },
  9243. "imagetype": {
  9244. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9245. "type": "integer"
  9246. },
  9247. "isshow": {
  9248. "description": "是否展示 - 0:不展示 1:展示",
  9249. "type": "integer"
  9250. },
  9251. "marketid": {
  9252. "description": "市场ID",
  9253. "type": "integer"
  9254. },
  9255. "modifierid": {
  9256. "description": "操作人",
  9257. "type": "integer"
  9258. },
  9259. "sort": {
  9260. "description": "排序",
  9261. "type": "integer"
  9262. },
  9263. "title": {
  9264. "description": "标题",
  9265. "type": "string"
  9266. },
  9267. "trademode": {
  9268. "description": "交易模式",
  9269. "type": "integer"
  9270. },
  9271. "updatedate": {
  9272. "description": "修改时间",
  9273. "type": "string"
  9274. },
  9275. "url": {
  9276. "description": "链接(地址或商品ID)",
  9277. "type": "string"
  9278. },
  9279. "urltype": {
  9280. "description": "链接类型 - 1:直接地址 2:商品ID",
  9281. "type": "integer"
  9282. }
  9283. }
  9284. },
  9285. "common.QueryNoticeRsp": {
  9286. "type": "object",
  9287. "required": [
  9288. "autoid"
  9289. ],
  9290. "properties": {
  9291. "auditoruserid": {
  9292. "description": "审核人",
  9293. "type": "integer"
  9294. },
  9295. "auditremark": {
  9296. "description": "审核备注",
  9297. "type": "string"
  9298. },
  9299. "audittime": {
  9300. "description": "审核日期",
  9301. "type": "string"
  9302. },
  9303. "autoid": {
  9304. "description": "自增ID",
  9305. "type": "integer"
  9306. },
  9307. "content": {
  9308. "description": "内容",
  9309. "type": "string"
  9310. },
  9311. "createtime": {
  9312. "description": "创建时间",
  9313. "type": "string"
  9314. },
  9315. "creatorid": {
  9316. "description": "建仓人",
  9317. "type": "integer"
  9318. },
  9319. "endtime": {
  9320. "description": "结束时间",
  9321. "type": "string"
  9322. },
  9323. "istop": {
  9324. "description": "是否置顶 - 0:不置顶 1:置顶",
  9325. "type": "integer"
  9326. },
  9327. "msgiconurl": {
  9328. "description": "消息图标Url",
  9329. "type": "string"
  9330. },
  9331. "msgtype": {
  9332. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9333. "type": "integer"
  9334. },
  9335. "publisher": {
  9336. "description": "消息发布者",
  9337. "type": "string"
  9338. },
  9339. "readed": {
  9340. "description": "是否已读",
  9341. "type": "boolean"
  9342. },
  9343. "scheduletime": {
  9344. "description": "计划发送时间",
  9345. "type": "string"
  9346. },
  9347. "sendtype": {
  9348. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9349. "type": "integer"
  9350. },
  9351. "sentstatus": {
  9352. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9353. "type": "integer"
  9354. },
  9355. "title": {
  9356. "description": "标题",
  9357. "type": "string"
  9358. },
  9359. "userid": {
  9360. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9361. "type": "integer"
  9362. }
  9363. }
  9364. },
  9365. "common.QueryProvincesAndCitiesRsp": {
  9366. "type": "object",
  9367. "properties": {
  9368. "cities": {
  9369. "description": "市",
  9370. "type": "array",
  9371. "items": {
  9372. "$ref": "#/definitions/models.Division"
  9373. }
  9374. },
  9375. "province": {
  9376. "description": "省",
  9377. "type": "object",
  9378. "$ref": "#/definitions/models.Division"
  9379. }
  9380. }
  9381. },
  9382. "common.QueryTableDefineRsp": {
  9383. "type": "object",
  9384. "required": [
  9385. "tablekey"
  9386. ],
  9387. "properties": {
  9388. "columns": {
  9389. "description": "列头信息数组",
  9390. "type": "array",
  9391. "items": {
  9392. "$ref": "#/definitions/models.Tablecolumnconfig"
  9393. }
  9394. },
  9395. "remark": {
  9396. "description": "Remark",
  9397. "type": "string"
  9398. },
  9399. "tabelmenu": {
  9400. "description": "列表菜单",
  9401. "type": "string"
  9402. },
  9403. "tablekey": {
  9404. "description": "列表Key",
  9405. "type": "string"
  9406. },
  9407. "tablename": {
  9408. "description": "列表名称",
  9409. "type": "string"
  9410. },
  9411. "tabletype": {
  9412. "description": "列表类型 - 1:管理端 2:终端",
  9413. "type": "integer"
  9414. }
  9415. }
  9416. },
  9417. "common.QueryTraderMenuRsp": {
  9418. "type": "object",
  9419. "properties": {
  9420. "OperationMenu": {
  9421. "description": "功能菜单",
  9422. "type": "array",
  9423. "items": {
  9424. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9425. }
  9426. },
  9427. "QuoteMenu": {
  9428. "description": "报价牌分类菜单",
  9429. "type": "array",
  9430. "items": {
  9431. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "cptrade.Cptradepositioncancel": {
  9437. "type": "object",
  9438. "required": [
  9439. "cancelid"
  9440. ],
  9441. "properties": {
  9442. "accountid": {
  9443. "description": "申请人账户ID",
  9444. "type": "integer"
  9445. },
  9446. "applystatus": {
  9447. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9448. "type": "integer"
  9449. },
  9450. "applytime": {
  9451. "description": "申请时间",
  9452. "type": "string"
  9453. },
  9454. "cancelid": {
  9455. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9456. "type": "integer"
  9457. },
  9458. "cancelqty": {
  9459. "description": "注销数量",
  9460. "type": "integer"
  9461. },
  9462. "createtime": {
  9463. "description": "创建时间",
  9464. "type": "string"
  9465. },
  9466. "creatorid": {
  9467. "description": "创建人ID",
  9468. "type": "integer"
  9469. },
  9470. "creatorname": {
  9471. "description": "创建人",
  9472. "type": "string"
  9473. },
  9474. "goodscode": {
  9475. "description": "订单商品代码",
  9476. "type": "string"
  9477. },
  9478. "goodsid": {
  9479. "description": "商品ID",
  9480. "type": "integer"
  9481. },
  9482. "goodsname": {
  9483. "description": "订单商品名称",
  9484. "type": "string"
  9485. },
  9486. "goodunit": {
  9487. "description": "报价单位",
  9488. "type": "string"
  9489. },
  9490. "handlestatus": {
  9491. "description": "处理状态",
  9492. "type": "integer"
  9493. },
  9494. "marketid": {
  9495. "description": "市场ID",
  9496. "type": "integer"
  9497. },
  9498. "marketname": {
  9499. "description": "市场名称",
  9500. "type": "string"
  9501. },
  9502. "tradedate": {
  9503. "description": "交易日(yyyyMMdd)",
  9504. "type": "string"
  9505. },
  9506. "userid": {
  9507. "description": "申请人ID",
  9508. "type": "integer"
  9509. }
  9510. }
  9511. },
  9512. "cptrade.Cptradepresaleapply": {
  9513. "type": "object",
  9514. "required": [
  9515. "applyid"
  9516. ],
  9517. "properties": {
  9518. "accountid": {
  9519. "description": "申请人账户ID",
  9520. "type": "integer"
  9521. },
  9522. "applyid": {
  9523. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9524. "type": "integer"
  9525. },
  9526. "applyremark": {
  9527. "description": "申请备注",
  9528. "type": "string"
  9529. },
  9530. "applystatus": {
  9531. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9532. "type": "integer"
  9533. },
  9534. "applytime": {
  9535. "description": "申请时间",
  9536. "type": "string"
  9537. },
  9538. "attachmenturl": {
  9539. "description": "附件地址",
  9540. "type": "string"
  9541. },
  9542. "endtime": {
  9543. "description": "预售结束时间",
  9544. "type": "string"
  9545. },
  9546. "goodscode": {
  9547. "description": "商品代码",
  9548. "type": "string"
  9549. },
  9550. "goodsid": {
  9551. "description": "商品ID",
  9552. "type": "integer"
  9553. },
  9554. "goodsname": {
  9555. "description": "商品名称",
  9556. "type": "string"
  9557. },
  9558. "goodunit": {
  9559. "description": "报价单位",
  9560. "type": "string"
  9561. },
  9562. "handlestatus": {
  9563. "description": "处理状态",
  9564. "type": "integer"
  9565. },
  9566. "marketid": {
  9567. "description": "预售市场ID",
  9568. "type": "integer"
  9569. },
  9570. "marketname": {
  9571. "description": "预售市场名称",
  9572. "type": "string"
  9573. },
  9574. "presaleqty": {
  9575. "description": "预售数量",
  9576. "type": "integer"
  9577. },
  9578. "relatedgoodscode": {
  9579. "description": "关联交易合约代码",
  9580. "type": "string"
  9581. },
  9582. "relatedgoodsid": {
  9583. "description": "关联交易合约ID",
  9584. "type": "integer"
  9585. },
  9586. "relatedgoodsname": {
  9587. "description": "关联交易合约名称",
  9588. "type": "string"
  9589. },
  9590. "starttime": {
  9591. "description": "预售开始时间",
  9592. "type": "string"
  9593. },
  9594. "tradedate": {
  9595. "description": "交易日(yyyyMMdd)",
  9596. "type": "string"
  9597. },
  9598. "trademode": {
  9599. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9600. "type": "integer"
  9601. },
  9602. "userid": {
  9603. "description": "申请人ID",
  9604. "type": "integer"
  9605. }
  9606. }
  9607. },
  9608. "cptrade.Cptradeusergoodsdata": {
  9609. "type": "object",
  9610. "required": [
  9611. "accountid",
  9612. "goodsid"
  9613. ],
  9614. "properties": {
  9615. "EnabledQty": {
  9616. "description": "可用量",
  9617. "type": "integer"
  9618. },
  9619. "GoodsCode": {
  9620. "description": "订单商品代码",
  9621. "type": "string"
  9622. },
  9623. "GoodsName": {
  9624. "description": "订单商品名称",
  9625. "type": "string"
  9626. },
  9627. "WRStandardCode": {
  9628. "description": "仓单标准代码",
  9629. "type": "string"
  9630. },
  9631. "WRStandardName": {
  9632. "description": "仓单标准名称",
  9633. "type": "string"
  9634. },
  9635. "accountid": {
  9636. "description": "账户ID",
  9637. "type": "integer"
  9638. },
  9639. "cancelqty": {
  9640. "description": "注销量",
  9641. "type": "integer"
  9642. },
  9643. "curpresaleqty": {
  9644. "description": "当前预售量",
  9645. "type": "integer"
  9646. },
  9647. "deliveryqty": {
  9648. "description": "交割量",
  9649. "type": "integer"
  9650. },
  9651. "freezeamount": {
  9652. "description": "冻结金额",
  9653. "type": "number"
  9654. },
  9655. "goodsid": {
  9656. "description": "商品ID",
  9657. "type": "integer"
  9658. },
  9659. "goodunit": {
  9660. "description": "报价单位",
  9661. "type": "string"
  9662. },
  9663. "hasspotfreeze": {
  9664. "description": "是否有现货冻结 - 0:否 1:有",
  9665. "type": "integer"
  9666. },
  9667. "inqty": {
  9668. "description": "转入量(总数量)",
  9669. "type": "integer"
  9670. },
  9671. "marketid": {
  9672. "description": "市场ID",
  9673. "type": "integer"
  9674. },
  9675. "presaledamount": {
  9676. "description": "已预售总金额",
  9677. "type": "integer"
  9678. },
  9679. "presaledqty": {
  9680. "description": "已预售量",
  9681. "type": "integer"
  9682. },
  9683. "userid": {
  9684. "description": "用户ID",
  9685. "type": "integer"
  9686. },
  9687. "wrstandardid": {
  9688. "description": "仓单标准ID",
  9689. "type": "integer"
  9690. }
  9691. }
  9692. },
  9693. "cptrade.QueryCPTradeMyBidRsp": {
  9694. "type": "object",
  9695. "required": [
  9696. "accountid",
  9697. "goodsid",
  9698. "marketid",
  9699. "orderid",
  9700. "orderqty",
  9701. "ordertime",
  9702. "tradeprice",
  9703. "tradeqty"
  9704. ],
  9705. "properties": {
  9706. "accountid": {
  9707. "description": "账户ID[报价币种]",
  9708. "type": "integer"
  9709. },
  9710. "goodsid": {
  9711. "description": "商品ID",
  9712. "type": "integer"
  9713. },
  9714. "goodunit": {
  9715. "description": "报价单位",
  9716. "type": "string"
  9717. },
  9718. "marketid": {
  9719. "description": "市场ID",
  9720. "type": "integer"
  9721. },
  9722. "orderid": {
  9723. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9724. "type": "integer"
  9725. },
  9726. "orderprice": {
  9727. "description": "委托价格",
  9728. "type": "number"
  9729. },
  9730. "orderqty": {
  9731. "description": "委托数量",
  9732. "type": "integer"
  9733. },
  9734. "ordertime": {
  9735. "description": "委托时间",
  9736. "type": "string"
  9737. },
  9738. "ordertotalprice": {
  9739. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9740. "type": "number"
  9741. },
  9742. "ordertotalweight": {
  9743. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9744. "type": "integer"
  9745. },
  9746. "totaltotalprice": {
  9747. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9748. "type": "number"
  9749. },
  9750. "tradeprice": {
  9751. "description": "成交价格",
  9752. "type": "number"
  9753. },
  9754. "tradeqty": {
  9755. "description": "成交数量",
  9756. "type": "integer"
  9757. }
  9758. }
  9759. },
  9760. "cptrade.QueryCPTradeOrderDetailRsq": {
  9761. "type": "object",
  9762. "required": [
  9763. "accountid",
  9764. "buildtype",
  9765. "buyorsell",
  9766. "goodsid",
  9767. "marketid",
  9768. "memberuserid",
  9769. "operatetype",
  9770. "orderqty",
  9771. "ordertime",
  9772. "pricemode",
  9773. "strorderid",
  9774. "tradedate",
  9775. "validtype"
  9776. ],
  9777. "properties": {
  9778. "accountid": {
  9779. "description": "账户ID[报价币种]",
  9780. "type": "integer"
  9781. },
  9782. "buildtype": {
  9783. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9784. "type": "integer"
  9785. },
  9786. "buyorsell": {
  9787. "description": "买卖 - 0:买 1:卖",
  9788. "type": "integer"
  9789. },
  9790. "cancelorderid": {
  9791. "description": "撤单单号(撤单时填写)",
  9792. "type": "integer"
  9793. },
  9794. "cancelqty": {
  9795. "description": "撤单数量",
  9796. "type": "integer"
  9797. },
  9798. "clientordertime": {
  9799. "description": "客户端委托时间",
  9800. "type": "string"
  9801. },
  9802. "clientticket": {
  9803. "description": "客户端流水号",
  9804. "type": "string"
  9805. },
  9806. "clienttype": {
  9807. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9808. "type": "integer"
  9809. },
  9810. "closeexchagechargevalue": {
  9811. "description": "平仓交易所手续费设置值",
  9812. "type": "number"
  9813. },
  9814. "closefeealgorithm": {
  9815. "description": "平仓手续费收取方式 1:比率 2:固定",
  9816. "type": "integer"
  9817. },
  9818. "closefreezecharge": {
  9819. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9820. "type": "number"
  9821. },
  9822. "closememberchargevalue": {
  9823. "description": "平仓会员手续费设置值",
  9824. "type": "number"
  9825. },
  9826. "closeqty": {
  9827. "description": "平仓数量(先建后平操作 需要记录)",
  9828. "type": "integer"
  9829. },
  9830. "closetradeqty": {
  9831. "description": "平仓成交数量(先建后平操作,需要记录)",
  9832. "type": "integer"
  9833. },
  9834. "closeunfreezecharge": {
  9835. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9836. "type": "number"
  9837. },
  9838. "delistingtype": {
  9839. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9840. "type": "integer"
  9841. },
  9842. "freezecharge": {
  9843. "description": "冻结手续费",
  9844. "type": "number"
  9845. },
  9846. "freezemargin": {
  9847. "description": "冻结保证金(冻结交易金额)",
  9848. "type": "number"
  9849. },
  9850. "gcaccountid": {
  9851. "description": "账户ID[合约币种]",
  9852. "type": "integer"
  9853. },
  9854. "goodsid": {
  9855. "description": "商品ID",
  9856. "type": "integer"
  9857. },
  9858. "isconfirmexercise": {
  9859. "description": "是否确认行权- 0:否 1:是",
  9860. "type": "integer"
  9861. },
  9862. "ispreexercise": {
  9863. "description": "是否预申报- 0:否 1:是",
  9864. "type": "integer"
  9865. },
  9866. "listingselecttype": {
  9867. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9868. "type": "integer"
  9869. },
  9870. "marginalgorithm": {
  9871. "description": "保证金收取方式 1:比率 2:固定",
  9872. "type": "integer"
  9873. },
  9874. "marginvalue": {
  9875. "description": "即市保证金设置值",
  9876. "type": "number"
  9877. },
  9878. "marketid": {
  9879. "description": "市场ID",
  9880. "type": "integer"
  9881. },
  9882. "marketmaxsub": {
  9883. "description": "市价最大偏移范围",
  9884. "type": "number"
  9885. },
  9886. "memberuserid": {
  9887. "description": "所属会员UserID",
  9888. "type": "integer"
  9889. },
  9890. "openexchagechargevalue": {
  9891. "description": "建仓交易所手续费设置值",
  9892. "type": "number"
  9893. },
  9894. "openfeealgorithm": {
  9895. "description": "建仓手续费收取方式 1:比率 2:固定",
  9896. "type": "integer"
  9897. },
  9898. "openfreezecharge": {
  9899. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9900. "type": "number"
  9901. },
  9902. "openmemberchargevalue": {
  9903. "description": "建仓会员手续费设置值",
  9904. "type": "number"
  9905. },
  9906. "openqty": {
  9907. "description": "开仓数量(先建后平操作,需要记录)",
  9908. "type": "integer"
  9909. },
  9910. "opentradeqty": {
  9911. "description": "开仓成交数量(先建后平操作,需要记录)",
  9912. "type": "integer"
  9913. },
  9914. "openunfreezecharge": {
  9915. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9916. "type": "number"
  9917. },
  9918. "operatetype": {
  9919. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9920. "type": "integer"
  9921. },
  9922. "operatorid": {
  9923. "description": "登录账号(LoginID)",
  9924. "type": "integer"
  9925. },
  9926. "optiontype": {
  9927. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9928. "type": "integer"
  9929. },
  9930. "orderprice": {
  9931. "description": "委托价格",
  9932. "type": "number"
  9933. },
  9934. "orderqty": {
  9935. "description": "委托数量",
  9936. "type": "integer"
  9937. },
  9938. "ordersrc": {
  9939. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9940. "type": "integer"
  9941. },
  9942. "orderstatus": {
  9943. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9944. "type": "integer"
  9945. },
  9946. "ordertime": {
  9947. "description": "委托时间",
  9948. "type": "string"
  9949. },
  9950. "preexerciseprice": {
  9951. "description": "预申报价格",
  9952. "type": "number"
  9953. },
  9954. "premium": {
  9955. "description": "权利金",
  9956. "type": "number"
  9957. },
  9958. "preorderid": {
  9959. "description": "关联预埋单号(止盈止损单时填写)",
  9960. "type": "integer"
  9961. },
  9962. "pricemode": {
  9963. "description": "取价方式 - 1:市价 2: 限价",
  9964. "type": "integer"
  9965. },
  9966. "quoteid": {
  9967. "description": "报价单ID",
  9968. "type": "integer"
  9969. },
  9970. "relatedid": {
  9971. "description": "关联单号(交割单)",
  9972. "type": "integer"
  9973. },
  9974. "retcode": {
  9975. "description": "错误代码",
  9976. "type": "integer"
  9977. },
  9978. "sessionid": {
  9979. "description": "会话ID",
  9980. "type": "integer"
  9981. },
  9982. "strorderid": {
  9983. "description": "委托单号",
  9984. "type": "string"
  9985. },
  9986. "tradedate": {
  9987. "description": "交易日(yyyyMMdd)",
  9988. "type": "string"
  9989. },
  9990. "tradeproperty": {
  9991. "description": "交易属性",
  9992. "type": "integer"
  9993. },
  9994. "tradeqty": {
  9995. "description": "成交数量",
  9996. "type": "integer"
  9997. },
  9998. "unfreezecharge": {
  9999. "description": "解冻手续费",
  10000. "type": "number"
  10001. },
  10002. "unfreezemargin": {
  10003. "description": "解冻保证金",
  10004. "type": "number"
  10005. },
  10006. "updatetime": {
  10007. "description": "更新时间",
  10008. "type": "string"
  10009. },
  10010. "uuid": {
  10011. "description": "发起端唯一id",
  10012. "type": "string"
  10013. },
  10014. "validtime": {
  10015. "description": "有效期限",
  10016. "type": "string"
  10017. },
  10018. "validtype": {
  10019. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10020. "type": "integer"
  10021. },
  10022. "volumetype": {
  10023. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10024. "type": "integer"
  10025. }
  10026. }
  10027. },
  10028. "cptrade.QueryMyCPTradeGoodsRsp": {
  10029. "type": "object",
  10030. "required": [
  10031. "goodscode",
  10032. "goodsid",
  10033. "goodsname",
  10034. "marketid",
  10035. "relatedgoodscode",
  10036. "relatedgoodsname"
  10037. ],
  10038. "properties": {
  10039. "accountid": {
  10040. "description": "卖方账户ID",
  10041. "type": "integer"
  10042. },
  10043. "agreeunit": {
  10044. "description": "合约单位",
  10045. "type": "number"
  10046. },
  10047. "applyid": {
  10048. "description": "关联申请ID",
  10049. "type": "integer"
  10050. },
  10051. "attachmenturl": {
  10052. "description": "附件地址",
  10053. "type": "string"
  10054. },
  10055. "createtime": {
  10056. "description": "创建时间",
  10057. "type": "string"
  10058. },
  10059. "currencyid": {
  10060. "description": "报价货币ID",
  10061. "type": "integer"
  10062. },
  10063. "decimalplace": {
  10064. "description": "报价小数位",
  10065. "type": "integer"
  10066. },
  10067. "endtime": {
  10068. "description": "预售结束时间",
  10069. "type": "string"
  10070. },
  10071. "floorprice": {
  10072. "description": "底价[大宗式竞拍]",
  10073. "type": "number"
  10074. },
  10075. "goodscode": {
  10076. "description": "商品代码(预售)",
  10077. "type": "string"
  10078. },
  10079. "goodsdetail": {
  10080. "description": "详情[大宗]",
  10081. "type": "string"
  10082. },
  10083. "goodsid": {
  10084. "description": "商品ID(自增ID SEQ_GOODS)",
  10085. "type": "integer"
  10086. },
  10087. "goodsname": {
  10088. "description": "商品名称(预售)",
  10089. "type": "string"
  10090. },
  10091. "goodunit": {
  10092. "description": "报价单位",
  10093. "type": "string"
  10094. },
  10095. "goodunitid": {
  10096. "description": "报价单位ID",
  10097. "type": "integer"
  10098. },
  10099. "marketid": {
  10100. "description": "所属市场ID",
  10101. "type": "integer"
  10102. },
  10103. "marketname": {
  10104. "description": "预售市场名称",
  10105. "type": "string"
  10106. },
  10107. "presaledamount": {
  10108. "description": "已预售总金额(预售结束时更新)",
  10109. "type": "number"
  10110. },
  10111. "presaledqty": {
  10112. "description": "已预售量(预售结束时更新)",
  10113. "type": "integer"
  10114. },
  10115. "presalemode": {
  10116. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10117. "type": "integer"
  10118. },
  10119. "presaleqty": {
  10120. "description": "预售数量",
  10121. "type": "integer"
  10122. },
  10123. "refprice": {
  10124. "description": "参考价格[一口价]",
  10125. "type": "number"
  10126. },
  10127. "relatedgoodscode": {
  10128. "description": "商品代码(订单)",
  10129. "type": "string"
  10130. },
  10131. "relatedgoodsid": {
  10132. "description": "关联交易合约ID",
  10133. "type": "integer"
  10134. },
  10135. "relatedgoodsname": {
  10136. "description": "商品名称(订单)",
  10137. "type": "string"
  10138. },
  10139. "relatedmarketid": {
  10140. "description": "关联交易合约市场ID",
  10141. "type": "integer"
  10142. },
  10143. "sellstatus": {
  10144. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10145. "type": "integer"
  10146. },
  10147. "startprice": {
  10148. "description": "起拍价[大宗式竞拍]",
  10149. "type": "number"
  10150. },
  10151. "starttime": {
  10152. "description": "预售开始时间",
  10153. "type": "string"
  10154. },
  10155. "tradedate": {
  10156. "description": "交易日(yyyyMMdd)",
  10157. "type": "string"
  10158. },
  10159. "tradeprice": {
  10160. "description": "成交价[大宗]",
  10161. "type": "number"
  10162. },
  10163. "userid": {
  10164. "description": "卖方用户ID",
  10165. "type": "integer"
  10166. }
  10167. }
  10168. },
  10169. "cptrade.QueryPresaleGoodsExRsp": {
  10170. "type": "object",
  10171. "required": [
  10172. "goodsid"
  10173. ],
  10174. "properties": {
  10175. "attachmenturl": {
  10176. "description": "附件地址",
  10177. "type": "string"
  10178. },
  10179. "createtime": {
  10180. "description": "创建时间",
  10181. "type": "string"
  10182. },
  10183. "endtime": {
  10184. "description": "预售结束时间",
  10185. "type": "string"
  10186. },
  10187. "floorprice": {
  10188. "description": "底价[大宗式竞拍]",
  10189. "type": "number"
  10190. },
  10191. "goodsdetail": {
  10192. "description": "详情[大宗]",
  10193. "type": "string"
  10194. },
  10195. "goodsid": {
  10196. "description": "商品ID(预售)",
  10197. "type": "integer"
  10198. },
  10199. "goodunit": {
  10200. "description": "报价单位",
  10201. "type": "string"
  10202. },
  10203. "marketid": {
  10204. "description": "预售市场ID - 根据预售模式选择市场",
  10205. "type": "integer"
  10206. },
  10207. "presaledamount": {
  10208. "description": "已预售总金额(预售结束时更新)",
  10209. "type": "number"
  10210. },
  10211. "presaledqty": {
  10212. "description": "已预售量(预售结束时更新)",
  10213. "type": "integer"
  10214. },
  10215. "presalemode": {
  10216. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10217. "type": "integer"
  10218. },
  10219. "presaleqty": {
  10220. "description": "预售数量",
  10221. "type": "integer"
  10222. },
  10223. "refprice": {
  10224. "description": "参考价格[一口价]",
  10225. "type": "number"
  10226. },
  10227. "relatedgoodsid": {
  10228. "description": "关联交易合约ID",
  10229. "type": "integer"
  10230. },
  10231. "relatedmarketid": {
  10232. "description": "关联交易合约市场ID",
  10233. "type": "integer"
  10234. },
  10235. "sellstatus": {
  10236. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10237. "type": "integer"
  10238. },
  10239. "startprice": {
  10240. "description": "起拍价[大宗式竞拍]",
  10241. "type": "number"
  10242. },
  10243. "starttime": {
  10244. "description": "预售开始时间",
  10245. "type": "string"
  10246. },
  10247. "tradedate": {
  10248. "description": "交易日(yyyyMMdd)",
  10249. "type": "string"
  10250. },
  10251. "tradeprice": {
  10252. "description": "成交价[大宗]",
  10253. "type": "number"
  10254. }
  10255. }
  10256. },
  10257. "delivery.QueryDeliveryRelationRsp": {
  10258. "type": "object",
  10259. "required": [
  10260. "begindate",
  10261. "enddate",
  10262. "goodsid",
  10263. "mindeliveryqty",
  10264. "xdeliveryratio"
  10265. ],
  10266. "properties": {
  10267. "begindate": {
  10268. "description": "起始日期(yyyyMMdd)",
  10269. "type": "string"
  10270. },
  10271. "buytemplateid": {
  10272. "description": "买履约计划模板ID",
  10273. "type": "integer"
  10274. },
  10275. "deliverygoodscode": {
  10276. "description": "品种代码",
  10277. "type": "string"
  10278. },
  10279. "deliverygoodsid": {
  10280. "description": "交割商品",
  10281. "type": "integer"
  10282. },
  10283. "deliverygoodsname": {
  10284. "description": "品种名称",
  10285. "type": "string"
  10286. },
  10287. "deliverymode": {
  10288. "description": "交割方式 - 1:点选式 2:申报式",
  10289. "type": "integer"
  10290. },
  10291. "deliverypricerule": {
  10292. "description": "交割价规则- 1:行情价 2:建仓价",
  10293. "type": "integer"
  10294. },
  10295. "deliverytype": {
  10296. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10297. "type": "integer"
  10298. },
  10299. "enddate": {
  10300. "description": "结束日期(yyyyMMdd)",
  10301. "type": "string"
  10302. },
  10303. "goodscode": {
  10304. "description": "商品代码",
  10305. "type": "string"
  10306. },
  10307. "goodsid": {
  10308. "description": "交易合约ID",
  10309. "type": "integer"
  10310. },
  10311. "goodsname": {
  10312. "description": "商品名称",
  10313. "type": "string"
  10314. },
  10315. "marketid": {
  10316. "description": "市场ID",
  10317. "type": "integer"
  10318. },
  10319. "mindeliveryqty": {
  10320. "description": "最小交割系数(K)",
  10321. "type": "integer"
  10322. },
  10323. "p2deliveryprice": {
  10324. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10325. "type": "number"
  10326. },
  10327. "p2deliveryratio": {
  10328. "description": "P2合约系数(p)",
  10329. "type": "integer"
  10330. },
  10331. "p2goodsid": {
  10332. "description": "P2合约ID",
  10333. "type": "integer"
  10334. },
  10335. "p2pricemode": {
  10336. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10337. "type": "integer"
  10338. },
  10339. "pdeliveryprice": {
  10340. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10341. "type": "number"
  10342. },
  10343. "pdeliveryratio": {
  10344. "description": "P合约系数(n)",
  10345. "type": "integer"
  10346. },
  10347. "pgoodsid": {
  10348. "description": "P合约ID",
  10349. "type": "integer"
  10350. },
  10351. "ppricemode": {
  10352. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10353. "type": "integer"
  10354. },
  10355. "rratio": {
  10356. "description": "兑换系数(R)",
  10357. "type": "integer"
  10358. },
  10359. "rratio1": {
  10360. "description": "兑换系数(交易合约)(R1)",
  10361. "type": "integer"
  10362. },
  10363. "rratio2": {
  10364. "description": "兑换系数(仓单标准)(R2)",
  10365. "type": "integer"
  10366. },
  10367. "selltemplateid": {
  10368. "description": "卖履约计划模板ID",
  10369. "type": "integer"
  10370. },
  10371. "wrstandardid": {
  10372. "description": "仓单标准ID",
  10373. "type": "integer"
  10374. },
  10375. "xdeliveryratio": {
  10376. "description": "交易合约系数(m)",
  10377. "type": "integer"
  10378. }
  10379. }
  10380. },
  10381. "ermcp.ExposureDetailRsp": {
  10382. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10383. },
  10384. "ermcp.ExposureHedgePosDetailRsp": {
  10385. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10386. },
  10387. "ermcp.ExposureHedgePositionRsp": {
  10388. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10389. },
  10390. "ermcp.ExposureSpotDetailRsp": {
  10391. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10392. },
  10393. "ermcp.ExposureSpotRsp": {
  10394. "$ref": "#/definitions/models.AreaSpotModel"
  10395. },
  10396. "ermcp.HisExposureRsp": {
  10397. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10398. },
  10399. "ermcp.PendingAuditCntRsp": {
  10400. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10401. },
  10402. "ermcp.QryAvalidGPRsp": {
  10403. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10404. },
  10405. "ermcp.QryBusinessDjRsp": {
  10406. "type": "object",
  10407. "properties": {
  10408. "amount": {
  10409. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10410. "type": "number"
  10411. },
  10412. "applyid": {
  10413. "description": "申请人",
  10414. "type": "string"
  10415. },
  10416. "applyname": {
  10417. "description": "申请人名称",
  10418. "type": "string"
  10419. },
  10420. "applystatus": {
  10421. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10422. "type": "integer"
  10423. },
  10424. "applytime": {
  10425. "description": "申请时间",
  10426. "type": "string"
  10427. },
  10428. "attachurl": {
  10429. "description": "附件",
  10430. "type": "string"
  10431. },
  10432. "auditid": {
  10433. "description": "审核人ID",
  10434. "type": "string"
  10435. },
  10436. "auditname": {
  10437. "description": "审核人名称",
  10438. "type": "string"
  10439. },
  10440. "audittime": {
  10441. "description": "审核时间",
  10442. "type": "string"
  10443. },
  10444. "buyusername": {
  10445. "description": "采购方名称",
  10446. "type": "string"
  10447. },
  10448. "contractno": {
  10449. "description": "合同编号",
  10450. "type": "string"
  10451. },
  10452. "contractstatus": {
  10453. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10454. "type": "integer"
  10455. },
  10456. "contracttype": {
  10457. "description": "现货合同类型 - 1:采购 -1:销售",
  10458. "type": "integer"
  10459. },
  10460. "deliverygoodscode": {
  10461. "description": "现货品种代码",
  10462. "type": "string"
  10463. },
  10464. "deliverygoodsid": {
  10465. "description": "现货商品ID",
  10466. "type": "integer"
  10467. },
  10468. "deliverygoodsname": {
  10469. "description": "现货品种名称",
  10470. "type": "string"
  10471. },
  10472. "enumdicname": {
  10473. "description": "单位名称",
  10474. "type": "string"
  10475. },
  10476. "goodscode": {
  10477. "description": "点价合约",
  10478. "type": "string"
  10479. },
  10480. "goodsname": {
  10481. "description": "商品名称",
  10482. "type": "string"
  10483. },
  10484. "operateapplyid": {
  10485. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10486. "type": "string"
  10487. },
  10488. "operateapplytype": {
  10489. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10490. "type": "integer"
  10491. },
  10492. "pricedPrice": {
  10493. "description": "点价价格(非必填)",
  10494. "type": "number"
  10495. },
  10496. "pricedQty": {
  10497. "description": "点价数量(非必填)",
  10498. "type": "number"
  10499. },
  10500. "pricemove": {
  10501. "description": "升贴水",
  10502. "type": "number"
  10503. },
  10504. "pricetype": {
  10505. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10506. "type": "integer"
  10507. },
  10508. "relatedid": {
  10509. "description": "现货合同ID",
  10510. "type": "string"
  10511. },
  10512. "sellusername": {
  10513. "description": "销售方名字",
  10514. "type": "string"
  10515. },
  10516. "userid": {
  10517. "description": "用户ID",
  10518. "type": "integer"
  10519. },
  10520. "wrstandardcode": {
  10521. "description": "品类代码",
  10522. "type": "string"
  10523. },
  10524. "wrstandardid": {
  10525. "description": "品类id",
  10526. "type": "integer"
  10527. },
  10528. "wrstandardname": {
  10529. "description": "品类名称",
  10530. "type": "string"
  10531. }
  10532. }
  10533. },
  10534. "ermcp.QryBussinessFpRsp": {
  10535. "type": "object",
  10536. "properties": {
  10537. "applyid": {
  10538. "description": "申请人",
  10539. "type": "string"
  10540. },
  10541. "applyname": {
  10542. "description": "申请人名称",
  10543. "type": "string"
  10544. },
  10545. "applystatus": {
  10546. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10547. "type": "integer"
  10548. },
  10549. "applytime": {
  10550. "description": "申请时间",
  10551. "type": "string"
  10552. },
  10553. "attachurl": {
  10554. "description": "附件",
  10555. "type": "string"
  10556. },
  10557. "auditid": {
  10558. "description": "审核人ID",
  10559. "type": "string"
  10560. },
  10561. "auditname": {
  10562. "description": "审核人名称",
  10563. "type": "string"
  10564. },
  10565. "audittime": {
  10566. "description": "审核时间",
  10567. "type": "string"
  10568. },
  10569. "buyusername": {
  10570. "description": "采购方名称",
  10571. "type": "string"
  10572. },
  10573. "contractno": {
  10574. "description": "合同编号",
  10575. "type": "string"
  10576. },
  10577. "contractstatus": {
  10578. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10579. "type": "integer"
  10580. },
  10581. "contracttype": {
  10582. "description": "现货合同类型 - 1:采购 -1:销售",
  10583. "type": "integer"
  10584. },
  10585. "deliverygoodscode": {
  10586. "description": "现货品种代码",
  10587. "type": "string"
  10588. },
  10589. "deliverygoodsid": {
  10590. "description": "现货商品ID",
  10591. "type": "integer"
  10592. },
  10593. "deliverygoodsname": {
  10594. "description": "现货品种名称",
  10595. "type": "string"
  10596. },
  10597. "enumdicname": {
  10598. "description": "单位名称",
  10599. "type": "string"
  10600. },
  10601. "goodscode": {
  10602. "description": "点价合约",
  10603. "type": "string"
  10604. },
  10605. "goodsname": {
  10606. "description": "商品名称",
  10607. "type": "string"
  10608. },
  10609. "invoiceAmount": {
  10610. "description": "已开收票金额(销售为开票,采购为收票)",
  10611. "type": "number"
  10612. },
  10613. "operateapplyid": {
  10614. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10615. "type": "string"
  10616. },
  10617. "operateapplytype": {
  10618. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10619. "type": "integer"
  10620. },
  10621. "pricemove": {
  10622. "description": "升贴水",
  10623. "type": "number"
  10624. },
  10625. "pricetype": {
  10626. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10627. "type": "integer"
  10628. },
  10629. "relatedid": {
  10630. "description": "现货合同ID",
  10631. "type": "string"
  10632. },
  10633. "sellusername": {
  10634. "description": "销售方名字",
  10635. "type": "string"
  10636. },
  10637. "userid": {
  10638. "description": "用户ID",
  10639. "type": "integer"
  10640. },
  10641. "wrstandardcode": {
  10642. "description": "品类代码",
  10643. "type": "string"
  10644. },
  10645. "wrstandardid": {
  10646. "description": "品类id",
  10647. "type": "integer"
  10648. },
  10649. "wrstandardname": {
  10650. "description": "品类名称",
  10651. "type": "string"
  10652. }
  10653. }
  10654. },
  10655. "ermcp.QryBussinessJsExRsp": {
  10656. "type": "object",
  10657. "properties": {
  10658. "applyid": {
  10659. "description": "申请人",
  10660. "type": "string"
  10661. },
  10662. "applyname": {
  10663. "description": "申请人名称",
  10664. "type": "string"
  10665. },
  10666. "applystatus": {
  10667. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10668. "type": "integer"
  10669. },
  10670. "applytime": {
  10671. "description": "申请时间",
  10672. "type": "string"
  10673. },
  10674. "attachurl": {
  10675. "description": "附件",
  10676. "type": "string"
  10677. },
  10678. "auditid": {
  10679. "description": "审核人ID",
  10680. "type": "string"
  10681. },
  10682. "auditname": {
  10683. "description": "审核人名称",
  10684. "type": "string"
  10685. },
  10686. "audittime": {
  10687. "description": "审核时间",
  10688. "type": "string"
  10689. },
  10690. "buyusername": {
  10691. "description": "采购方名称",
  10692. "type": "string"
  10693. },
  10694. "contractno": {
  10695. "description": "合同编号",
  10696. "type": "string"
  10697. },
  10698. "contractstatus": {
  10699. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10700. "type": "integer"
  10701. },
  10702. "contracttype": {
  10703. "description": "现货合同类型 - 1:采购 -1:销售",
  10704. "type": "integer"
  10705. },
  10706. "deliverygoodscode": {
  10707. "description": "现货品种代码",
  10708. "type": "string"
  10709. },
  10710. "deliverygoodsid": {
  10711. "description": "现货商品ID",
  10712. "type": "integer"
  10713. },
  10714. "deliverygoodsname": {
  10715. "description": "现货品种名称",
  10716. "type": "string"
  10717. },
  10718. "enumdicname": {
  10719. "description": "单位名称",
  10720. "type": "string"
  10721. },
  10722. "goodscode": {
  10723. "description": "点价合约",
  10724. "type": "string"
  10725. },
  10726. "goodsname": {
  10727. "description": "商品名称",
  10728. "type": "string"
  10729. },
  10730. "operateapplyid": {
  10731. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10732. "type": "string"
  10733. },
  10734. "operateapplytype": {
  10735. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10736. "type": "integer"
  10737. },
  10738. "pricemove": {
  10739. "description": "升贴水",
  10740. "type": "number"
  10741. },
  10742. "pricetype": {
  10743. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10744. "type": "integer"
  10745. },
  10746. "reckontype": {
  10747. "description": "结算类型",
  10748. "type": "string"
  10749. },
  10750. "reckonvalue": {
  10751. "description": "值",
  10752. "type": "number"
  10753. },
  10754. "relatedid": {
  10755. "description": "现货合同ID",
  10756. "type": "string"
  10757. },
  10758. "sellusername": {
  10759. "description": "销售方名字",
  10760. "type": "string"
  10761. },
  10762. "userid": {
  10763. "description": "用户ID",
  10764. "type": "integer"
  10765. },
  10766. "wrstandardcode": {
  10767. "description": "品类代码",
  10768. "type": "string"
  10769. },
  10770. "wrstandardid": {
  10771. "description": "品类id",
  10772. "type": "integer"
  10773. },
  10774. "wrstandardname": {
  10775. "description": "品类名称",
  10776. "type": "string"
  10777. }
  10778. }
  10779. },
  10780. "ermcp.QryBussinessJsRsp": {
  10781. "type": "object",
  10782. "properties": {
  10783. "addmargin": {
  10784. "description": "追加保证金(非必填)",
  10785. "type": "number"
  10786. },
  10787. "applyid": {
  10788. "description": "申请人",
  10789. "type": "string"
  10790. },
  10791. "applyname": {
  10792. "description": "申请人名称",
  10793. "type": "string"
  10794. },
  10795. "applystatus": {
  10796. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10797. "type": "integer"
  10798. },
  10799. "applytime": {
  10800. "description": "申请时间",
  10801. "type": "string"
  10802. },
  10803. "attachurl": {
  10804. "description": "附件",
  10805. "type": "string"
  10806. },
  10807. "auditid": {
  10808. "description": "审核人ID",
  10809. "type": "string"
  10810. },
  10811. "auditname": {
  10812. "description": "审核人名称",
  10813. "type": "string"
  10814. },
  10815. "audittime": {
  10816. "description": "审核时间",
  10817. "type": "string"
  10818. },
  10819. "buyusername": {
  10820. "description": "采购方名称",
  10821. "type": "string"
  10822. },
  10823. "contractno": {
  10824. "description": "合同编号",
  10825. "type": "string"
  10826. },
  10827. "contractstatus": {
  10828. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10829. "type": "integer"
  10830. },
  10831. "contracttype": {
  10832. "description": "现货合同类型 - 1:采购 -1:销售",
  10833. "type": "integer"
  10834. },
  10835. "decmargin": {
  10836. "description": "减少保证金(非必填)",
  10837. "type": "number"
  10838. },
  10839. "deliverygoodscode": {
  10840. "description": "现货品种代码",
  10841. "type": "string"
  10842. },
  10843. "deliverygoodsid": {
  10844. "description": "现货商品ID",
  10845. "type": "integer"
  10846. },
  10847. "deliverygoodsname": {
  10848. "description": "现货品种名称",
  10849. "type": "string"
  10850. },
  10851. "enumdicname": {
  10852. "description": "单位名称",
  10853. "type": "string"
  10854. },
  10855. "goodscode": {
  10856. "description": "点价合约",
  10857. "type": "string"
  10858. },
  10859. "goodsname": {
  10860. "description": "商品名称",
  10861. "type": "string"
  10862. },
  10863. "operateapplyid": {
  10864. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10865. "type": "string"
  10866. },
  10867. "operateapplytype": {
  10868. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10869. "type": "integer"
  10870. },
  10871. "pricemove": {
  10872. "description": "升贴水",
  10873. "type": "number"
  10874. },
  10875. "pricetype": {
  10876. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10877. "type": "integer"
  10878. },
  10879. "reckonadjustamount": {
  10880. "description": "结算调整金额(非必填)",
  10881. "type": "number"
  10882. },
  10883. "reckonosamount": {
  10884. "description": "结算溢短金额(非必填)",
  10885. "type": "number"
  10886. },
  10887. "reckonotheramount": {
  10888. "description": "结算其他费用(非必填)",
  10889. "type": "number"
  10890. },
  10891. "reckonrealqty": {
  10892. "description": "结算实际数量(非必填)",
  10893. "type": "number"
  10894. },
  10895. "relatedid": {
  10896. "description": "现货合同ID",
  10897. "type": "string"
  10898. },
  10899. "sellusername": {
  10900. "description": "销售方名字",
  10901. "type": "string"
  10902. },
  10903. "userid": {
  10904. "description": "用户ID",
  10905. "type": "integer"
  10906. },
  10907. "wrstandardcode": {
  10908. "description": "品类代码",
  10909. "type": "string"
  10910. },
  10911. "wrstandardid": {
  10912. "description": "品类id",
  10913. "type": "integer"
  10914. },
  10915. "wrstandardname": {
  10916. "description": "品类名称",
  10917. "type": "string"
  10918. }
  10919. }
  10920. },
  10921. "ermcp.QryBussinessKxRsp": {
  10922. "type": "object",
  10923. "properties": {
  10924. "applyid": {
  10925. "description": "申请人",
  10926. "type": "string"
  10927. },
  10928. "applyname": {
  10929. "description": "申请人名称",
  10930. "type": "string"
  10931. },
  10932. "applystatus": {
  10933. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10934. "type": "integer"
  10935. },
  10936. "applytime": {
  10937. "description": "申请时间",
  10938. "type": "string"
  10939. },
  10940. "attachurl": {
  10941. "description": "附件",
  10942. "type": "string"
  10943. },
  10944. "auditid": {
  10945. "description": "审核人ID",
  10946. "type": "string"
  10947. },
  10948. "auditname": {
  10949. "description": "审核人名称",
  10950. "type": "string"
  10951. },
  10952. "audittime": {
  10953. "description": "审核时间",
  10954. "type": "string"
  10955. },
  10956. "buyusername": {
  10957. "description": "采购方名称",
  10958. "type": "string"
  10959. },
  10960. "contractno": {
  10961. "description": "合同编号",
  10962. "type": "string"
  10963. },
  10964. "contractstatus": {
  10965. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10966. "type": "integer"
  10967. },
  10968. "contracttype": {
  10969. "description": "现货合同类型 - 1:采购 -1:销售",
  10970. "type": "integer"
  10971. },
  10972. "deductamount": {
  10973. "description": "退款(非必填)",
  10974. "type": "number"
  10975. },
  10976. "deliverygoodscode": {
  10977. "description": "现货品种代码",
  10978. "type": "string"
  10979. },
  10980. "deliverygoodsid": {
  10981. "description": "现货商品ID",
  10982. "type": "integer"
  10983. },
  10984. "deliverygoodsname": {
  10985. "description": "现货品种名称",
  10986. "type": "string"
  10987. },
  10988. "enumdicname": {
  10989. "description": "单位名称",
  10990. "type": "string"
  10991. },
  10992. "goodscode": {
  10993. "description": "点价合约",
  10994. "type": "string"
  10995. },
  10996. "goodsname": {
  10997. "description": "商品名称",
  10998. "type": "string"
  10999. },
  11000. "kxtype": {
  11001. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11002. "type": "integer"
  11003. },
  11004. "operateapplyid": {
  11005. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11006. "type": "string"
  11007. },
  11008. "operateapplytype": {
  11009. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11010. "type": "integer"
  11011. },
  11012. "payamount": {
  11013. "description": "收付款(非必填)",
  11014. "type": "number"
  11015. },
  11016. "pricemove": {
  11017. "description": "升贴水",
  11018. "type": "number"
  11019. },
  11020. "pricetype": {
  11021. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11022. "type": "integer"
  11023. },
  11024. "relatedid": {
  11025. "description": "现货合同ID",
  11026. "type": "string"
  11027. },
  11028. "sellusername": {
  11029. "description": "销售方名字",
  11030. "type": "string"
  11031. },
  11032. "userid": {
  11033. "description": "用户ID",
  11034. "type": "integer"
  11035. },
  11036. "wrstandardcode": {
  11037. "description": "品类代码",
  11038. "type": "string"
  11039. },
  11040. "wrstandardid": {
  11041. "description": "品类id",
  11042. "type": "integer"
  11043. },
  11044. "wrstandardname": {
  11045. "description": "品类名称",
  11046. "type": "string"
  11047. }
  11048. }
  11049. },
  11050. "ermcp.QryGGCovertCfgRsp": {
  11051. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11052. },
  11053. "ermcp.QryMGChangeLogRsp": {
  11054. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11055. },
  11056. "ermcp.QryMiddleGoodsDetailRsp": {
  11057. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11058. },
  11059. "ermcp.QryMiddleGoodsRsp": {
  11060. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11061. },
  11062. "ermcp.QryOPLogRsp": {
  11063. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11064. },
  11065. "ermcp.QryUserInfoRsp": {
  11066. "$ref": "#/definitions/models.ErmcpUserModel"
  11067. },
  11068. "ermcp.QryWarehouseRsp": {
  11069. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11070. },
  11071. "ermcp.QueryErmcpTradePositionRsp": {
  11072. "type": "object",
  11073. "properties": {
  11074. "agreeunit": {
  11075. "description": "合约单位",
  11076. "type": "number"
  11077. },
  11078. "buyorsell": {
  11079. "description": "方向 - 0:买 1:卖",
  11080. "type": "integer"
  11081. },
  11082. "curpositionqty": {
  11083. "description": "持仓(总仓数量, 期末头寸)",
  11084. "type": "integer"
  11085. },
  11086. "curtdposition": {
  11087. "description": "今仓数量(期末今日头寸)",
  11088. "type": "integer"
  11089. },
  11090. "curtdpositionenabled": {
  11091. "description": "今仓可用",
  11092. "type": "integer"
  11093. },
  11094. "decimalplace": {
  11095. "description": "报价小数位",
  11096. "type": "integer"
  11097. },
  11098. "enableqty": {
  11099. "description": "可用(总仓可用)",
  11100. "type": "integer"
  11101. },
  11102. "exexchangename": {
  11103. "description": "外部交易所名称",
  11104. "type": "string"
  11105. },
  11106. "goodscode": {
  11107. "description": "商品代码(内部)",
  11108. "type": "string"
  11109. },
  11110. "goodsid": {
  11111. "description": "商品ID(自增ID SEQ_GOODS)",
  11112. "type": "integer"
  11113. },
  11114. "goodsname": {
  11115. "description": "商品名称",
  11116. "type": "string"
  11117. },
  11118. "last": {
  11119. "description": "现价",
  11120. "type": "number"
  11121. },
  11122. "marketid": {
  11123. "description": "所属市场ID",
  11124. "type": "integer"
  11125. },
  11126. "openaverageprice": {
  11127. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11128. "type": "number"
  11129. },
  11130. "opencost": {
  11131. "description": "开仓成本",
  11132. "type": "number"
  11133. },
  11134. "openpl": {
  11135. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11136. "type": "number"
  11137. },
  11138. "outgoodscode": {
  11139. "description": "商品代码(外部)",
  11140. "type": "string"
  11141. },
  11142. "positionaverageprice": {
  11143. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11144. "type": "number"
  11145. },
  11146. "positioncost": {
  11147. "description": "持仓成本",
  11148. "type": "number"
  11149. },
  11150. "positionpl": {
  11151. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11152. "type": "number"
  11153. },
  11154. "positionplrate": {
  11155. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11156. "type": "number"
  11157. },
  11158. "usedmargin": {
  11159. "description": "占用保证金",
  11160. "type": "number"
  11161. }
  11162. }
  11163. },
  11164. "ermcp.RealtimeExposurePositionRsp": {
  11165. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11166. },
  11167. "ermcp.RealtimeExposureRsp": {
  11168. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11169. },
  11170. "erms2.QueryArbitrageStrategyRsp": {
  11171. "type": "object",
  11172. "required": [
  11173. "asapplyid"
  11174. ],
  11175. "properties": {
  11176. "applybasis": {
  11177. "description": "申请基差",
  11178. "type": "number"
  11179. },
  11180. "asapplyid": {
  11181. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11182. "type": "string"
  11183. },
  11184. "asname": {
  11185. "description": "策略名称",
  11186. "type": "string"
  11187. },
  11188. "asno": {
  11189. "description": "策略编号",
  11190. "type": "string"
  11191. },
  11192. "basischangepl": {
  11193. "description": "基差变动损益[结算更新]",
  11194. "type": "number"
  11195. },
  11196. "biztype": {
  11197. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11198. "type": "integer"
  11199. },
  11200. "closetradedate": {
  11201. "description": "完结交易日(yyyyMMdd)",
  11202. "type": "string"
  11203. },
  11204. "curbasis": {
  11205. "description": "当前基差[结算更新]",
  11206. "type": "number"
  11207. },
  11208. "deliverygoodsid": {
  11209. "description": "现货品种ID",
  11210. "type": "integer"
  11211. },
  11212. "futureavgprice": {
  11213. "description": "期货建仓均价",
  11214. "type": "number"
  11215. },
  11216. "futurecloseamount": {
  11217. "description": "期货平仓金额",
  11218. "type": "number"
  11219. },
  11220. "futurecloseqty": {
  11221. "description": "期货平仓数量",
  11222. "type": "number"
  11223. },
  11224. "futureopenamount": {
  11225. "description": "期货开仓金额",
  11226. "type": "number"
  11227. },
  11228. "futureopenqty": {
  11229. "description": "期货开仓数量",
  11230. "type": "number"
  11231. },
  11232. "futurepl": {
  11233. "description": "期货总盈亏[结算更新]",
  11234. "type": "number"
  11235. },
  11236. "futureqty": {
  11237. "description": "期货持仓数量",
  11238. "type": "number"
  11239. },
  11240. "futurequote": {
  11241. "description": "期货额度",
  11242. "type": "number"
  11243. },
  11244. "goodsgroupid": {
  11245. "description": "期货品种ID",
  11246. "type": "integer"
  11247. },
  11248. "marketid": {
  11249. "description": "市场ID",
  11250. "type": "integer"
  11251. },
  11252. "netexposure": {
  11253. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11254. "type": "number"
  11255. },
  11256. "netexposurepl": {
  11257. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11258. "type": "number"
  11259. },
  11260. "netexposurerate": {
  11261. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11262. "type": "number"
  11263. },
  11264. "openbasis": {
  11265. "description": "建仓基差",
  11266. "type": "number"
  11267. },
  11268. "pricedspotqty": {
  11269. "description": "已定价现货数量",
  11270. "type": "number"
  11271. },
  11272. "pricedspotqtynotax": {
  11273. "description": "已定价现货不含税数量",
  11274. "type": "number"
  11275. },
  11276. "remark": {
  11277. "description": "备注",
  11278. "type": "string"
  11279. },
  11280. "spotavgprice": {
  11281. "description": "现货均价",
  11282. "type": "number"
  11283. },
  11284. "spotbuyamount": {
  11285. "description": "现货采购金额",
  11286. "type": "number"
  11287. },
  11288. "spotbuyqty": {
  11289. "description": "现货采购数量",
  11290. "type": "number"
  11291. },
  11292. "spotpl": {
  11293. "description": "现货总盈亏[结算更新]",
  11294. "type": "number"
  11295. },
  11296. "spotquota": {
  11297. "description": "现货额度",
  11298. "type": "number"
  11299. },
  11300. "spotsellamount": {
  11301. "description": "现货销售金额",
  11302. "type": "number"
  11303. },
  11304. "spotsellqty": {
  11305. "description": "现货销售数量",
  11306. "type": "number"
  11307. },
  11308. "spotusedquota": {
  11309. "description": "现货占用资金",
  11310. "type": "number"
  11311. },
  11312. "strategystatus": {
  11313. "description": "策略状态 - 0:未结束 1:已结束",
  11314. "type": "integer"
  11315. },
  11316. "totalpl": {
  11317. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11318. "type": "number"
  11319. },
  11320. "tradedate": {
  11321. "description": "交易日(yyyyMMdd)",
  11322. "type": "string"
  11323. },
  11324. "updatetime": {
  11325. "description": "更新时间",
  11326. "type": "string"
  11327. },
  11328. "usedquota": {
  11329. "description": "已占用资金",
  11330. "type": "number"
  11331. },
  11332. "userid": {
  11333. "description": "所属机构",
  11334. "type": "integer"
  11335. }
  11336. }
  11337. },
  11338. "erms2.QueryInnerTradeDetailRsp": {
  11339. "type": "object",
  11340. "required": [
  11341. "asapplyid",
  11342. "buyorsell",
  11343. "goodscode",
  11344. "goodsgroupid",
  11345. "goodsgroupname",
  11346. "goodsname",
  11347. "tradeid"
  11348. ],
  11349. "properties": {
  11350. "accountid": {
  11351. "description": "账号ID",
  11352. "type": "integer"
  11353. },
  11354. "agreeunit": {
  11355. "description": "合约单位",
  11356. "type": "number"
  11357. },
  11358. "asapplyid": {
  11359. "description": "策略申请ID",
  11360. "type": "integer"
  11361. },
  11362. "asname": {
  11363. "description": "策略名称",
  11364. "type": "string"
  11365. },
  11366. "asno": {
  11367. "description": "策略编号",
  11368. "type": "string"
  11369. },
  11370. "buyorsell": {
  11371. "description": "方向 - 0:买 1:卖",
  11372. "type": "integer"
  11373. },
  11374. "channelbuildtype": {
  11375. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11376. "type": "integer"
  11377. },
  11378. "closetype": {
  11379. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11380. "type": "integer"
  11381. },
  11382. "decimalplace": {
  11383. "description": "报价小数位",
  11384. "type": "integer"
  11385. },
  11386. "detailtype": {
  11387. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11388. "type": "integer"
  11389. },
  11390. "exexchangecode": {
  11391. "description": "外部交易所代码",
  11392. "type": "string"
  11393. },
  11394. "exexchangename": {
  11395. "description": "外部交易所名称",
  11396. "type": "string"
  11397. },
  11398. "goodscode": {
  11399. "description": "商品代码(合约)",
  11400. "type": "string"
  11401. },
  11402. "goodsgroupid": {
  11403. "description": "商品组ID(品种ID)",
  11404. "type": "integer"
  11405. },
  11406. "goodsgroupname": {
  11407. "description": "商品组名称(品种)",
  11408. "type": "string"
  11409. },
  11410. "goodsid": {
  11411. "description": "商品ID",
  11412. "type": "integer"
  11413. },
  11414. "goodsname": {
  11415. "description": "商品名称(合约)",
  11416. "type": "string"
  11417. },
  11418. "goodunit": {
  11419. "description": "报价单位",
  11420. "type": "string"
  11421. },
  11422. "marketid": {
  11423. "description": "市场ID",
  11424. "type": "integer"
  11425. },
  11426. "orderid": {
  11427. "description": "委托单号",
  11428. "type": "string"
  11429. },
  11430. "outgoodscode": {
  11431. "description": "商品代码(外部)",
  11432. "type": "string"
  11433. },
  11434. "relatedouttradeid": {
  11435. "description": "关联外部成交单ID",
  11436. "type": "string"
  11437. },
  11438. "remark": {
  11439. "description": "备注",
  11440. "type": "string"
  11441. },
  11442. "spotcontractid": {
  11443. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11444. "type": "integer"
  11445. },
  11446. "spotcontractno": {
  11447. "description": "现货合同编号",
  11448. "type": "string"
  11449. },
  11450. "tradeid": {
  11451. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11452. "type": "string"
  11453. },
  11454. "tradeprice": {
  11455. "description": "成交价格",
  11456. "type": "number"
  11457. },
  11458. "tradeqty": {
  11459. "description": "成交数量",
  11460. "type": "integer"
  11461. },
  11462. "tradetime": {
  11463. "description": "成交时间",
  11464. "type": "string"
  11465. },
  11466. "updatetime": {
  11467. "description": "更新时间",
  11468. "type": "string"
  11469. }
  11470. }
  11471. },
  11472. "erms2.QuerySpotContractRsp": {
  11473. "type": "object",
  11474. "required": [
  11475. "spotcontractid"
  11476. ],
  11477. "properties": {
  11478. "accountid": {
  11479. "description": "资金账户ID",
  11480. "type": "integer"
  11481. },
  11482. "areauserid": {
  11483. "description": "所属机构",
  11484. "type": "integer"
  11485. },
  11486. "closedate": {
  11487. "description": "终止日期",
  11488. "type": "string"
  11489. },
  11490. "closeremark": {
  11491. "description": "结束备注",
  11492. "type": "string"
  11493. },
  11494. "closetradedate": {
  11495. "description": "完结交易日(yyyyMMdd)",
  11496. "type": "string"
  11497. },
  11498. "closetype": {
  11499. "description": "终止类型 - 1:违约 2:提前终止",
  11500. "type": "integer"
  11501. },
  11502. "contractamount": {
  11503. "description": "合同金额",
  11504. "type": "number"
  11505. },
  11506. "contractattachment": {
  11507. "description": "合同附件",
  11508. "type": "string"
  11509. },
  11510. "contractno": {
  11511. "description": "现货合同编号",
  11512. "type": "string"
  11513. },
  11514. "contractqty": {
  11515. "description": "合同数量(数值) (用于计算)",
  11516. "type": "number"
  11517. },
  11518. "contractqtychar": {
  11519. "description": "合同数量\\已订价数量 (用于显示)",
  11520. "type": "string"
  11521. },
  11522. "contractstatus": {
  11523. "description": "合同状态 - 0:未结束 1:已结束",
  11524. "type": "integer"
  11525. },
  11526. "contracttype": {
  11527. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11528. "type": "integer"
  11529. },
  11530. "customeraccountid": {
  11531. "description": "客户资金账户ID",
  11532. "type": "integer"
  11533. },
  11534. "customeruserid": {
  11535. "description": "客户ID",
  11536. "type": "integer"
  11537. },
  11538. "deliverygoodsdesc": {
  11539. "description": "品种说明",
  11540. "type": "string"
  11541. },
  11542. "deliverygoodsid": {
  11543. "description": "现货品种ID",
  11544. "type": "integer"
  11545. },
  11546. "handlestatus": {
  11547. "description": "处理状态",
  11548. "type": "integer"
  11549. },
  11550. "invoiceatt": {
  11551. "description": "发票附件",
  11552. "type": "string"
  11553. },
  11554. "invoicedatetime": {
  11555. "description": "开收票更新时间",
  11556. "type": "string"
  11557. },
  11558. "invoiceopentime": {
  11559. "description": "开票时间",
  11560. "type": "string"
  11561. },
  11562. "invoiceremark": {
  11563. "description": "发票备注",
  11564. "type": "string"
  11565. },
  11566. "invoicestatus": {
  11567. "description": "开收票状态 - 0:未开票 1:已开票",
  11568. "type": "integer"
  11569. },
  11570. "lastdate": {
  11571. "description": "交货时间",
  11572. "type": "string"
  11573. },
  11574. "marketid": {
  11575. "description": "市场ID",
  11576. "type": "integer"
  11577. },
  11578. "paydatetime": {
  11579. "description": "收付款更新时间",
  11580. "type": "string"
  11581. },
  11582. "payremark": {
  11583. "description": "收付款备注",
  11584. "type": "string"
  11585. },
  11586. "paystatus": {
  11587. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11588. "type": "integer"
  11589. },
  11590. "positionqty": {
  11591. "description": "头寸数量 - 合同数量去小数部分",
  11592. "type": "integer"
  11593. },
  11594. "producttype": {
  11595. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11596. "type": "integer"
  11597. },
  11598. "relatedqty": {
  11599. "description": "已关联数量",
  11600. "type": "number"
  11601. },
  11602. "relatedstatus": {
  11603. "description": "关联完结状态 - 0:未结束 1:已结束",
  11604. "type": "integer"
  11605. },
  11606. "remark": {
  11607. "description": "备注",
  11608. "type": "string"
  11609. },
  11610. "signdate": {
  11611. "description": "签订日期",
  11612. "type": "string"
  11613. },
  11614. "spotcontractid": {
  11615. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11616. "type": "string"
  11617. },
  11618. "spotdatetime": {
  11619. "description": "收发货更新时间",
  11620. "type": "string"
  11621. },
  11622. "spotprice": {
  11623. "description": "价格",
  11624. "type": "number"
  11625. },
  11626. "spotremark": {
  11627. "description": "收发货备注",
  11628. "type": "string"
  11629. },
  11630. "spotstatus": {
  11631. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11632. "type": "integer"
  11633. },
  11634. "tradedate": {
  11635. "description": "交易日(yyyyMMdd)",
  11636. "type": "string"
  11637. },
  11638. "userid": {
  11639. "description": "业务员用户ID",
  11640. "type": "integer"
  11641. },
  11642. "warehouseid": {
  11643. "description": "仓库ID",
  11644. "type": "integer"
  11645. },
  11646. "wrfactortypeid": {
  11647. "description": "仓单要素类型ID",
  11648. "type": "integer"
  11649. },
  11650. "wrstandardid": {
  11651. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11652. "type": "integer"
  11653. }
  11654. }
  11655. },
  11656. "erms3.AddErms2ASApplyReq": {
  11657. "type": "object",
  11658. "required": [
  11659. "asapplyid"
  11660. ],
  11661. "properties": {
  11662. "applybasis": {
  11663. "description": "申请基差",
  11664. "type": "number"
  11665. },
  11666. "applystatus": {
  11667. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11668. "type": "integer"
  11669. },
  11670. "asapplyid": {
  11671. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11672. "type": "integer"
  11673. },
  11674. "asname": {
  11675. "description": "策略名称",
  11676. "type": "string"
  11677. },
  11678. "asno": {
  11679. "description": "策略编号",
  11680. "type": "string"
  11681. },
  11682. "auditid": {
  11683. "description": "审核人",
  11684. "type": "integer"
  11685. },
  11686. "auditremark": {
  11687. "description": "审核备注",
  11688. "type": "string"
  11689. },
  11690. "audittime": {
  11691. "description": "审核时间",
  11692. "type": "string"
  11693. },
  11694. "biztype": {
  11695. "description": "业务类型 - 1:正向套利 2:反向套利",
  11696. "type": "integer"
  11697. },
  11698. "createtime": {
  11699. "description": "创建时间",
  11700. "type": "string"
  11701. },
  11702. "creatorid": {
  11703. "description": "创建人",
  11704. "type": "integer"
  11705. },
  11706. "deliverygoodsid": {
  11707. "description": "现货品种ID",
  11708. "type": "integer"
  11709. },
  11710. "futurequote": {
  11711. "description": "期货额度",
  11712. "type": "number"
  11713. },
  11714. "goodsgroupid": {
  11715. "description": "期货品种ID",
  11716. "type": "integer"
  11717. },
  11718. "marketid": {
  11719. "description": "市场ID",
  11720. "type": "integer"
  11721. },
  11722. "remark": {
  11723. "description": "备注",
  11724. "type": "string"
  11725. },
  11726. "spotquota": {
  11727. "description": "现货额度",
  11728. "type": "number"
  11729. },
  11730. "tradedate": {
  11731. "description": "交易日(yyyyMMdd)",
  11732. "type": "string"
  11733. },
  11734. "userid": {
  11735. "description": "所属机构",
  11736. "type": "integer"
  11737. }
  11738. }
  11739. },
  11740. "erms3.AddErms2SpotTradeApplyReq": {
  11741. "type": "object",
  11742. "required": [
  11743. "spottradeid"
  11744. ],
  11745. "properties": {
  11746. "applyjsondetail": {
  11747. "description": "申请明细(JSON)",
  11748. "type": "string"
  11749. },
  11750. "applystatus": {
  11751. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11752. "type": "integer"
  11753. },
  11754. "areauserid": {
  11755. "description": "所属机构",
  11756. "type": "integer"
  11757. },
  11758. "auditid": {
  11759. "description": "审核人",
  11760. "type": "integer"
  11761. },
  11762. "auditremark": {
  11763. "description": "审核备注",
  11764. "type": "string"
  11765. },
  11766. "audittime": {
  11767. "description": "审核时间",
  11768. "type": "string"
  11769. },
  11770. "createtime": {
  11771. "description": "创建时间",
  11772. "type": "string"
  11773. },
  11774. "creatorid": {
  11775. "description": "创建人",
  11776. "type": "integer"
  11777. },
  11778. "deliverygoodsid": {
  11779. "description": "现货品种ID",
  11780. "type": "integer"
  11781. },
  11782. "futureaccountid": {
  11783. "description": "期货资金账户",
  11784. "type": "integer"
  11785. },
  11786. "goodsgroupid": {
  11787. "description": "期货品种",
  11788. "type": "integer"
  11789. },
  11790. "marketid": {
  11791. "description": "市场ID",
  11792. "type": "integer"
  11793. },
  11794. "remark": {
  11795. "description": "备注",
  11796. "type": "string"
  11797. },
  11798. "spotaccountid": {
  11799. "description": "现货资金账户",
  11800. "type": "integer"
  11801. },
  11802. "spottradeid": {
  11803. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11804. "type": "integer"
  11805. },
  11806. "spottradename": {
  11807. "description": "业务名称",
  11808. "type": "string"
  11809. },
  11810. "spottradeno": {
  11811. "description": "业务编号",
  11812. "type": "string"
  11813. },
  11814. "tradedate": {
  11815. "description": "交易日(yyyyMMdd)",
  11816. "type": "string"
  11817. },
  11818. "wrstandardid": {
  11819. "description": "仓单标准ID",
  11820. "type": "integer"
  11821. }
  11822. }
  11823. },
  11824. "erms3.AddSpotContractApplyReq": {
  11825. "type": "object",
  11826. "required": [
  11827. "accountid",
  11828. "areauserid",
  11829. "contractno",
  11830. "contracttype",
  11831. "customeraccountid",
  11832. "customeruserid",
  11833. "details",
  11834. "orimargin",
  11835. "signdate"
  11836. ],
  11837. "properties": {
  11838. "accountid": {
  11839. "description": "资金账户ID",
  11840. "type": "integer"
  11841. },
  11842. "areauserid": {
  11843. "description": "所属机构",
  11844. "type": "integer"
  11845. },
  11846. "contractattachment": {
  11847. "description": "合同附件",
  11848. "type": "string"
  11849. },
  11850. "contractno": {
  11851. "description": "现货合同编号",
  11852. "type": "string"
  11853. },
  11854. "contracttype": {
  11855. "description": "现货合同类型 - 1:采购 -1:销售",
  11856. "type": "integer"
  11857. },
  11858. "creatorid": {
  11859. "description": "申请人",
  11860. "type": "integer"
  11861. },
  11862. "customeraccountid": {
  11863. "description": "客户资金账户ID",
  11864. "type": "integer"
  11865. },
  11866. "customeruserid": {
  11867. "description": "客户ID",
  11868. "type": "integer"
  11869. },
  11870. "details": {
  11871. "description": "明细",
  11872. "type": "array",
  11873. "items": {
  11874. "$ref": "#/definitions/erms3.SoptContractDetail"
  11875. }
  11876. },
  11877. "orimargin": {
  11878. "description": "初始保证金",
  11879. "type": "number"
  11880. },
  11881. "remark": {
  11882. "description": "备注",
  11883. "type": "string"
  11884. },
  11885. "signdate": {
  11886. "description": "签订日期",
  11887. "type": "string"
  11888. }
  11889. }
  11890. },
  11891. "erms3.AddSpotContractApplyRsp": {
  11892. "type": "object",
  11893. "required": [
  11894. "contractno"
  11895. ],
  11896. "properties": {
  11897. "contractno": {
  11898. "description": "现货合同编号",
  11899. "type": "string"
  11900. },
  11901. "spotcontractid": {
  11902. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11903. "type": "integer"
  11904. }
  11905. }
  11906. },
  11907. "erms3.AddUserInfoApplyReq": {
  11908. "type": "object",
  11909. "required": [
  11910. "userid"
  11911. ],
  11912. "properties": {
  11913. "accountid": {
  11914. "description": "交易系统帐号Id (加密存储)",
  11915. "type": "integer"
  11916. },
  11917. "areacode": {
  11918. "description": "机构代码",
  11919. "type": "string"
  11920. },
  11921. "areaid": {
  11922. "description": "机构Id",
  11923. "type": "integer"
  11924. },
  11925. "attachment1": {
  11926. "description": "附件1",
  11927. "type": "string"
  11928. },
  11929. "attachment2": {
  11930. "description": "附件2",
  11931. "type": "string"
  11932. },
  11933. "attachment3": {
  11934. "description": "附件3",
  11935. "type": "string"
  11936. },
  11937. "attachment4": {
  11938. "description": "附件4",
  11939. "type": "string"
  11940. },
  11941. "attachment5": {
  11942. "description": "附件5",
  11943. "type": "string"
  11944. },
  11945. "auditedby": {
  11946. "description": "审核人",
  11947. "type": "string"
  11948. },
  11949. "auditime": {
  11950. "description": "审核时间",
  11951. "type": "string"
  11952. },
  11953. "auditsrc": {
  11954. "description": "审核来源 - 1:管理端 2:终端",
  11955. "type": "integer"
  11956. },
  11957. "bankaccount": {
  11958. "description": "银行帐号 (加密存储)",
  11959. "type": "string"
  11960. },
  11961. "bankaccountname": {
  11962. "description": "收款人名称",
  11963. "type": "string"
  11964. },
  11965. "bankcardbackphotourl": {
  11966. "description": "银行卡背面照地址",
  11967. "type": "string"
  11968. },
  11969. "bankcardfrontphotourl": {
  11970. "description": "银行卡正面照地址",
  11971. "type": "string"
  11972. },
  11973. "bankid": {
  11974. "description": "银行编码",
  11975. "type": "string"
  11976. },
  11977. "bankname": {
  11978. "description": "银行名称",
  11979. "type": "string"
  11980. },
  11981. "bankpictureurl": {
  11982. "description": "银行卡正面地址",
  11983. "type": "string"
  11984. },
  11985. "biznature": {
  11986. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11987. "type": "integer"
  11988. },
  11989. "bizscope": {
  11990. "description": "企业经营范围(企业)",
  11991. "type": "string"
  11992. },
  11993. "biztype": {
  11994. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11995. "type": "integer"
  11996. },
  11997. "brokerid": {
  11998. "description": "经纪人ID(加密存储)",
  11999. "type": "string"
  12000. },
  12001. "cardaddress": {
  12002. "description": "证件地址 (加密存储)",
  12003. "type": "string"
  12004. },
  12005. "cardbackphotourl": {
  12006. "description": "背面证件照地址",
  12007. "type": "string"
  12008. },
  12009. "cardfrontphotourl": {
  12010. "description": "正面证件照地址",
  12011. "type": "string"
  12012. },
  12013. "cardnum": {
  12014. "description": "证件号码 (加密存储)",
  12015. "type": "string"
  12016. },
  12017. "cardtype": {
  12018. "description": "证件类型",
  12019. "type": "integer"
  12020. },
  12021. "cityid": {
  12022. "description": "市",
  12023. "type": "integer"
  12024. },
  12025. "company": {
  12026. "description": "公司(个人)",
  12027. "type": "string"
  12028. },
  12029. "contactcardbackphotourl": {
  12030. "description": "联系人证件背面图片地址",
  12031. "type": "string"
  12032. },
  12033. "contactcardfrontphotourl": {
  12034. "description": "联系人证件正面图片地址",
  12035. "type": "string"
  12036. },
  12037. "contactname": {
  12038. "description": "联系人",
  12039. "type": "string"
  12040. },
  12041. "countryid": {
  12042. "description": "国家",
  12043. "type": "integer"
  12044. },
  12045. "createtime": {
  12046. "description": "开户申请时间",
  12047. "type": "string"
  12048. },
  12049. "cusbankid": {
  12050. "description": "签约类型",
  12051. "type": "string"
  12052. },
  12053. "cusbankname": {
  12054. "description": "签约类型名称",
  12055. "type": "string"
  12056. },
  12057. "customername": {
  12058. "description": "客户名称(企业名称)",
  12059. "type": "string"
  12060. },
  12061. "districtid": {
  12062. "description": "地区",
  12063. "type": "integer"
  12064. },
  12065. "email": {
  12066. "description": "Email地址(加密存储)",
  12067. "type": "string"
  12068. },
  12069. "halfbodyphotourl": {
  12070. "description": "半身照地址",
  12071. "type": "string"
  12072. },
  12073. "headurl": {
  12074. "description": "头像地址",
  12075. "type": "string"
  12076. },
  12077. "ipaddress": {
  12078. "description": "IP地址",
  12079. "type": "string"
  12080. },
  12081. "isvalidate": {
  12082. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12083. "type": "string"
  12084. },
  12085. "legalcardbackphotourl": {
  12086. "description": "法人身份证背面照地址",
  12087. "type": "string"
  12088. },
  12089. "legalcardfrontphotourl": {
  12090. "description": "法人身份证正面照地址",
  12091. "type": "string"
  12092. },
  12093. "legalpersonname": {
  12094. "description": "法人姓名(企业)",
  12095. "type": "string"
  12096. },
  12097. "logincode": {
  12098. "description": "登录帐号 (加密存储)",
  12099. "type": "string"
  12100. },
  12101. "memberareaid": {
  12102. "description": "所属会员ID",
  12103. "type": "integer"
  12104. },
  12105. "mobile2": {
  12106. "description": "手机号码[明文-尚志]",
  12107. "type": "string"
  12108. },
  12109. "mobilephone": {
  12110. "description": "手机号码 (加密存储)",
  12111. "type": "string"
  12112. },
  12113. "modifiedby": {
  12114. "description": "修改人帐号",
  12115. "type": "integer"
  12116. },
  12117. "modifiedtime": {
  12118. "description": "修改时间",
  12119. "type": "string"
  12120. },
  12121. "nickname": {
  12122. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12123. "type": "string"
  12124. },
  12125. "openmode": {
  12126. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12127. "type": "integer"
  12128. },
  12129. "otherurl": {
  12130. "description": "其它图片地址[使用分号分隔]",
  12131. "type": "string"
  12132. },
  12133. "postalcode": {
  12134. "description": "邮政编码",
  12135. "type": "string"
  12136. },
  12137. "provinceid": {
  12138. "description": "省",
  12139. "type": "integer"
  12140. },
  12141. "proxystatementurl": {
  12142. "description": "授权委托书",
  12143. "type": "string"
  12144. },
  12145. "qq": {
  12146. "description": "QQ(加密存储",
  12147. "type": "string"
  12148. },
  12149. "referral": {
  12150. "description": "推荐人编码",
  12151. "type": "string"
  12152. },
  12153. "remark": {
  12154. "description": "备注",
  12155. "type": "string"
  12156. },
  12157. "removebeforestatus": {
  12158. "description": "REMOVEBEFORESTATUS",
  12159. "type": "integer"
  12160. },
  12161. "sex": {
  12162. "description": "性别 - 0:女 1:男",
  12163. "type": "integer"
  12164. },
  12165. "signedstatus": {
  12166. "description": "账户一号签签约状态",
  12167. "type": "integer"
  12168. },
  12169. "signpdfurl": {
  12170. "description": "签约pdf文件",
  12171. "type": "string"
  12172. },
  12173. "subbranch": {
  12174. "description": "开户支行",
  12175. "type": "string"
  12176. },
  12177. "taxpayernum": {
  12178. "description": "纳税人识别号",
  12179. "type": "string"
  12180. },
  12181. "telphone": {
  12182. "description": "联系电话(加密存储)",
  12183. "type": "string"
  12184. },
  12185. "userid": {
  12186. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12187. "type": "integer"
  12188. },
  12189. "userinfotype": {
  12190. "description": "用户信息类型 - 1:个人 2:企业",
  12191. "type": "integer"
  12192. },
  12193. "username": {
  12194. "description": "用户姓名",
  12195. "type": "string"
  12196. },
  12197. "userstate": {
  12198. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12199. "type": "integer"
  12200. },
  12201. "usertype": {
  12202. "description": "用户类型 - 1:投资者 2:机构",
  12203. "type": "integer"
  12204. },
  12205. "videourl": {
  12206. "description": "视频地址",
  12207. "type": "string"
  12208. },
  12209. "wechat": {
  12210. "description": "微信号 (加密存储)",
  12211. "type": "string"
  12212. }
  12213. }
  12214. },
  12215. "erms3.CustomerInfo": {
  12216. "type": "object",
  12217. "required": [
  12218. "userid"
  12219. ],
  12220. "properties": {
  12221. "accountids": {
  12222. "description": "资金账户ID列表",
  12223. "type": "array",
  12224. "items": {
  12225. "type": "integer"
  12226. }
  12227. },
  12228. "customername": {
  12229. "description": "名称(企业名称)",
  12230. "type": "string"
  12231. },
  12232. "mobile": {
  12233. "description": "手机号码",
  12234. "type": "string"
  12235. },
  12236. "userid": {
  12237. "description": "用户ID",
  12238. "type": "integer"
  12239. }
  12240. }
  12241. },
  12242. "erms3.ModifyUserInfoApplyReq": {
  12243. "type": "object",
  12244. "required": [
  12245. "userid"
  12246. ],
  12247. "properties": {
  12248. "accountid": {
  12249. "description": "交易系统帐号Id (加密存储)",
  12250. "type": "integer"
  12251. },
  12252. "areacode": {
  12253. "description": "机构代码",
  12254. "type": "string"
  12255. },
  12256. "areaid": {
  12257. "description": "机构Id",
  12258. "type": "integer"
  12259. },
  12260. "attachment1": {
  12261. "description": "附件1",
  12262. "type": "string"
  12263. },
  12264. "attachment2": {
  12265. "description": "附件2",
  12266. "type": "string"
  12267. },
  12268. "attachment3": {
  12269. "description": "附件3",
  12270. "type": "string"
  12271. },
  12272. "attachment4": {
  12273. "description": "附件4",
  12274. "type": "string"
  12275. },
  12276. "attachment5": {
  12277. "description": "附件5",
  12278. "type": "string"
  12279. },
  12280. "auditedby": {
  12281. "description": "审核人",
  12282. "type": "string"
  12283. },
  12284. "auditime": {
  12285. "description": "审核时间",
  12286. "type": "string"
  12287. },
  12288. "auditsrc": {
  12289. "description": "审核来源 - 1:管理端 2:终端",
  12290. "type": "integer"
  12291. },
  12292. "bankaccount": {
  12293. "description": "银行帐号 (加密存储)",
  12294. "type": "string"
  12295. },
  12296. "bankaccountname": {
  12297. "description": "收款人名称",
  12298. "type": "string"
  12299. },
  12300. "bankcardbackphotourl": {
  12301. "description": "银行卡背面照地址",
  12302. "type": "string"
  12303. },
  12304. "bankcardfrontphotourl": {
  12305. "description": "银行卡正面照地址",
  12306. "type": "string"
  12307. },
  12308. "bankid": {
  12309. "description": "银行编码",
  12310. "type": "string"
  12311. },
  12312. "bankname": {
  12313. "description": "银行名称",
  12314. "type": "string"
  12315. },
  12316. "bankpictureurl": {
  12317. "description": "银行卡正面地址",
  12318. "type": "string"
  12319. },
  12320. "biznature": {
  12321. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12322. "type": "integer"
  12323. },
  12324. "bizscope": {
  12325. "description": "企业经营范围(企业)",
  12326. "type": "string"
  12327. },
  12328. "biztype": {
  12329. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12330. "type": "integer"
  12331. },
  12332. "brokerid": {
  12333. "description": "经纪人ID(加密存储)",
  12334. "type": "string"
  12335. },
  12336. "cardaddress": {
  12337. "description": "证件地址 (加密存储)",
  12338. "type": "string"
  12339. },
  12340. "cardbackphotourl": {
  12341. "description": "背面证件照地址",
  12342. "type": "string"
  12343. },
  12344. "cardfrontphotourl": {
  12345. "description": "正面证件照地址",
  12346. "type": "string"
  12347. },
  12348. "cardnum": {
  12349. "description": "证件号码 (加密存储)",
  12350. "type": "string"
  12351. },
  12352. "cardtype": {
  12353. "description": "证件类型",
  12354. "type": "integer"
  12355. },
  12356. "cityid": {
  12357. "description": "市",
  12358. "type": "integer"
  12359. },
  12360. "company": {
  12361. "description": "公司(个人)",
  12362. "type": "string"
  12363. },
  12364. "contactcardbackphotourl": {
  12365. "description": "联系人证件背面图片地址",
  12366. "type": "string"
  12367. },
  12368. "contactcardfrontphotourl": {
  12369. "description": "联系人证件正面图片地址",
  12370. "type": "string"
  12371. },
  12372. "contactname": {
  12373. "description": "联系人",
  12374. "type": "string"
  12375. },
  12376. "countryid": {
  12377. "description": "国家",
  12378. "type": "integer"
  12379. },
  12380. "createtime": {
  12381. "description": "开户申请时间",
  12382. "type": "string"
  12383. },
  12384. "cusbankid": {
  12385. "description": "签约类型",
  12386. "type": "string"
  12387. },
  12388. "cusbankname": {
  12389. "description": "签约类型名称",
  12390. "type": "string"
  12391. },
  12392. "customername": {
  12393. "description": "客户名称(企业名称)",
  12394. "type": "string"
  12395. },
  12396. "districtid": {
  12397. "description": "地区",
  12398. "type": "integer"
  12399. },
  12400. "email": {
  12401. "description": "Email地址(加密存储)",
  12402. "type": "string"
  12403. },
  12404. "halfbodyphotourl": {
  12405. "description": "半身照地址",
  12406. "type": "string"
  12407. },
  12408. "headurl": {
  12409. "description": "头像地址",
  12410. "type": "string"
  12411. },
  12412. "ipaddress": {
  12413. "description": "IP地址",
  12414. "type": "string"
  12415. },
  12416. "isvalidate": {
  12417. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12418. "type": "string"
  12419. },
  12420. "legalcardbackphotourl": {
  12421. "description": "法人身份证背面照地址",
  12422. "type": "string"
  12423. },
  12424. "legalcardfrontphotourl": {
  12425. "description": "法人身份证正面照地址",
  12426. "type": "string"
  12427. },
  12428. "legalpersonname": {
  12429. "description": "法人姓名(企业)",
  12430. "type": "string"
  12431. },
  12432. "logincode": {
  12433. "description": "登录帐号 (加密存储)",
  12434. "type": "string"
  12435. },
  12436. "memberareaid": {
  12437. "description": "所属会员ID",
  12438. "type": "integer"
  12439. },
  12440. "mobile2": {
  12441. "description": "手机号码[明文-尚志]",
  12442. "type": "string"
  12443. },
  12444. "mobilephone": {
  12445. "description": "手机号码 (加密存储)",
  12446. "type": "string"
  12447. },
  12448. "modifiedby": {
  12449. "description": "修改人帐号",
  12450. "type": "integer"
  12451. },
  12452. "modifiedtime": {
  12453. "description": "修改时间",
  12454. "type": "string"
  12455. },
  12456. "nickname": {
  12457. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12458. "type": "string"
  12459. },
  12460. "openmode": {
  12461. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12462. "type": "integer"
  12463. },
  12464. "otherurl": {
  12465. "description": "其它图片地址[使用分号分隔]",
  12466. "type": "string"
  12467. },
  12468. "postalcode": {
  12469. "description": "邮政编码",
  12470. "type": "string"
  12471. },
  12472. "provinceid": {
  12473. "description": "省",
  12474. "type": "integer"
  12475. },
  12476. "proxystatementurl": {
  12477. "description": "授权委托书",
  12478. "type": "string"
  12479. },
  12480. "qq": {
  12481. "description": "QQ(加密存储",
  12482. "type": "string"
  12483. },
  12484. "referral": {
  12485. "description": "推荐人编码",
  12486. "type": "string"
  12487. },
  12488. "remark": {
  12489. "description": "备注",
  12490. "type": "string"
  12491. },
  12492. "removebeforestatus": {
  12493. "description": "REMOVEBEFORESTATUS",
  12494. "type": "integer"
  12495. },
  12496. "sex": {
  12497. "description": "性别 - 0:女 1:男",
  12498. "type": "integer"
  12499. },
  12500. "signedstatus": {
  12501. "description": "账户一号签签约状态",
  12502. "type": "integer"
  12503. },
  12504. "signpdfurl": {
  12505. "description": "签约pdf文件",
  12506. "type": "string"
  12507. },
  12508. "subbranch": {
  12509. "description": "开户支行",
  12510. "type": "string"
  12511. },
  12512. "taxpayernum": {
  12513. "description": "纳税人识别号",
  12514. "type": "string"
  12515. },
  12516. "telphone": {
  12517. "description": "联系电话(加密存储)",
  12518. "type": "string"
  12519. },
  12520. "userid": {
  12521. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12522. "type": "integer"
  12523. },
  12524. "userinfotype": {
  12525. "description": "用户信息类型 - 1:个人 2:企业",
  12526. "type": "integer"
  12527. },
  12528. "username": {
  12529. "description": "用户姓名",
  12530. "type": "string"
  12531. },
  12532. "userstate": {
  12533. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12534. "type": "integer"
  12535. },
  12536. "usertype": {
  12537. "description": "用户类型 - 1:投资者 2:机构",
  12538. "type": "integer"
  12539. },
  12540. "videourl": {
  12541. "description": "视频地址",
  12542. "type": "string"
  12543. },
  12544. "wechat": {
  12545. "description": "微信号 (加密存储)",
  12546. "type": "string"
  12547. }
  12548. }
  12549. },
  12550. "erms3.QryAuditContractRsp": {
  12551. "type": "object",
  12552. "required": [
  12553. "matchcustomername",
  12554. "spotcontractid"
  12555. ],
  12556. "properties": {
  12557. "accountid": {
  12558. "description": "交易员ID",
  12559. "type": "string"
  12560. },
  12561. "applystatus": {
  12562. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12563. "type": "integer"
  12564. },
  12565. "curdeliveryqty": {
  12566. "description": "未交收量",
  12567. "type": "integer"
  12568. },
  12569. "customername": {
  12570. "description": "采购方ID",
  12571. "type": "string"
  12572. },
  12573. "deliverygoodsid": {
  12574. "description": "品种ID",
  12575. "type": "string"
  12576. },
  12577. "deliveryqty": {
  12578. "description": "交收量",
  12579. "type": "integer"
  12580. },
  12581. "enumdicname": {
  12582. "description": "单位名称",
  12583. "type": "string"
  12584. },
  12585. "matchaccountid": {
  12586. "description": "业务员ID",
  12587. "type": "string"
  12588. },
  12589. "matchcustomername": {
  12590. "description": "销售方ID",
  12591. "type": "string"
  12592. },
  12593. "pricedqty": {
  12594. "description": "定价量",
  12595. "type": "number"
  12596. },
  12597. "signdate": {
  12598. "description": "签订日期",
  12599. "type": "string"
  12600. },
  12601. "spotcontractid": {
  12602. "description": "合同ID",
  12603. "type": "string"
  12604. },
  12605. "totaldqty": {
  12606. "description": "合同量",
  12607. "type": "number"
  12608. },
  12609. "unpricedqty": {
  12610. "description": "未定价量",
  12611. "type": "number"
  12612. },
  12613. "wrstandardname": {
  12614. "description": "商品名称",
  12615. "type": "string"
  12616. }
  12617. }
  12618. },
  12619. "erms3.QryPendingBizRsp": {
  12620. "$ref": "#/definitions/models.PendingAuditBizModel"
  12621. },
  12622. "erms3.QueryBusinessInfoRsp": {
  12623. "type": "object",
  12624. "properties": {
  12625. "businessid": {
  12626. "description": "业务ID.",
  12627. "type": "integer"
  12628. },
  12629. "buyamount": {
  12630. "description": "采购额.",
  12631. "type": "number"
  12632. },
  12633. "buyqty": {
  12634. "description": "采购量.",
  12635. "type": "string"
  12636. },
  12637. "futurepl": {
  12638. "description": "期货盈亏.",
  12639. "type": "number"
  12640. },
  12641. "futureqty": {
  12642. "description": "期货敞口.",
  12643. "type": "string"
  12644. },
  12645. "goodsid": {
  12646. "description": "商品名称/商品代码.",
  12647. "type": "string"
  12648. },
  12649. "hedgingqty": {
  12650. "description": "套保量.",
  12651. "type": "string"
  12652. },
  12653. "sellamount": {
  12654. "description": "销售额.",
  12655. "type": "number"
  12656. },
  12657. "sellqty": {
  12658. "description": "销售量.",
  12659. "type": "string"
  12660. },
  12661. "spotmarketvalue": {
  12662. "description": "现货市值.",
  12663. "type": "number"
  12664. },
  12665. "spotpl": {
  12666. "description": "浮动权益.",
  12667. "type": "number"
  12668. },
  12669. "spotqty": {
  12670. "description": "现货量.",
  12671. "type": "string"
  12672. },
  12673. "statu": {
  12674. "description": "状态,0-未结束 1-已结束.",
  12675. "type": "integer"
  12676. },
  12677. "totalpl": {
  12678. "description": "总盈亏.",
  12679. "type": "number"
  12680. },
  12681. "totalqty": {
  12682. "description": "总敞口.",
  12683. "type": "string"
  12684. },
  12685. "type": {
  12686. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12687. "type": "integer"
  12688. }
  12689. }
  12690. },
  12691. "erms3.QuerySpotContractAppleFormRsp": {
  12692. "type": "object",
  12693. "properties": {
  12694. "goodses": {
  12695. "description": "合约列表",
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.GoodsIDAndName"
  12699. }
  12700. },
  12701. "oppositeusers": {
  12702. "description": "对方账号列表",
  12703. "type": "array",
  12704. "items": {
  12705. "$ref": "#/definitions/erms3.CustomerInfo"
  12706. }
  12707. },
  12708. "ouruser": {
  12709. "description": "我方账号",
  12710. "type": "object",
  12711. "$ref": "#/definitions/erms3.CustomerInfo"
  12712. },
  12713. "warehouseinfos": {
  12714. "description": "仓库信息列表",
  12715. "type": "array",
  12716. "items": {
  12717. "$ref": "#/definitions/models.Warehouseinfo"
  12718. }
  12719. },
  12720. "wrstandards": {
  12721. "description": "仓单标准列表",
  12722. "type": "array",
  12723. "items": {
  12724. "$ref": "#/definitions/models.WRStandardInfo"
  12725. }
  12726. }
  12727. }
  12728. },
  12729. "erms3.QuerySpotContractInfoRsp": {
  12730. "type": "object",
  12731. "properties": {
  12732. "accountid": {
  12733. "description": "表示交易员ID.",
  12734. "type": "integer"
  12735. },
  12736. "curdeliveryqty": {
  12737. "description": "表示未交收量.",
  12738. "type": "number"
  12739. },
  12740. "customername": {
  12741. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12742. "type": "string"
  12743. },
  12744. "deliverygoodsid": {
  12745. "description": "表示品种ID.",
  12746. "type": "string"
  12747. },
  12748. "deliveryqty": {
  12749. "description": "表示交收量.",
  12750. "type": "number"
  12751. },
  12752. "matchaccountid": {
  12753. "description": "表示业务员ID.",
  12754. "type": "integer"
  12755. },
  12756. "matchcustomername": {
  12757. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12758. "type": "string"
  12759. },
  12760. "priceqty": {
  12761. "description": "表示定价量.",
  12762. "type": "number"
  12763. },
  12764. "relatedbizid": {
  12765. "description": "表示业务ID.",
  12766. "type": "string"
  12767. },
  12768. "signdate": {
  12769. "description": "表示签订日期.",
  12770. "type": "string"
  12771. },
  12772. "spotcontractid": {
  12773. "description": "合同ID",
  12774. "type": "string"
  12775. },
  12776. "status": {
  12777. "description": "表示状态,0-履约中 1-已完成.",
  12778. "type": "integer"
  12779. },
  12780. "totalqty": {
  12781. "description": "表示合同量.",
  12782. "type": "number"
  12783. },
  12784. "unpricedqty": {
  12785. "description": "表示未定价量.",
  12786. "type": "number"
  12787. },
  12788. "wrstandardname": {
  12789. "description": "表示商品ID.",
  12790. "type": "string"
  12791. }
  12792. }
  12793. },
  12794. "erms3.QueryUserInfoAppliesRsp": {
  12795. "type": "object",
  12796. "required": [
  12797. "userid"
  12798. ],
  12799. "properties": {
  12800. "biznature": {
  12801. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12802. "type": "integer"
  12803. },
  12804. "contactname": {
  12805. "description": "联系人",
  12806. "type": "string"
  12807. },
  12808. "createtime": {
  12809. "description": "开户申请时间",
  12810. "type": "string"
  12811. },
  12812. "userid": {
  12813. "description": "用户ID(自增ID)",
  12814. "type": "integer"
  12815. },
  12816. "userinfotype": {
  12817. "description": "用户信息类型 - 1:个人 2:企业",
  12818. "type": "integer"
  12819. },
  12820. "username": {
  12821. "description": "用户姓名",
  12822. "type": "string"
  12823. },
  12824. "userstate": {
  12825. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12826. "type": "integer"
  12827. }
  12828. }
  12829. },
  12830. "erms3.QueryUserInfosRsp": {
  12831. "type": "object",
  12832. "required": [
  12833. "userid"
  12834. ],
  12835. "properties": {
  12836. "biznature": {
  12837. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12838. "type": "integer"
  12839. },
  12840. "contactname": {
  12841. "description": "联系人",
  12842. "type": "string"
  12843. },
  12844. "customername": {
  12845. "description": "客户名称(企业名称)",
  12846. "type": "string"
  12847. },
  12848. "userid": {
  12849. "description": "用户ID",
  12850. "type": "integer"
  12851. },
  12852. "userinfotype": {
  12853. "description": "用户信息类型 - 1:个人 2:企业",
  12854. "type": "integer"
  12855. },
  12856. "userstatus": {
  12857. "description": "用户状态 - 1:正常 2:注销",
  12858. "type": "integer"
  12859. }
  12860. }
  12861. },
  12862. "erms3.SoptContractDetail": {
  12863. "type": "object",
  12864. "required": [
  12865. "deliverygoodsid",
  12866. "producttype",
  12867. "unitname",
  12868. "warehouseid",
  12869. "wrstandardid",
  12870. "wrstandardname"
  12871. ],
  12872. "properties": {
  12873. "deliverygoodsdesc": {
  12874. "description": "现货品种说明",
  12875. "type": "string"
  12876. },
  12877. "deliverygoodsid": {
  12878. "description": "现货品种ID",
  12879. "type": "integer"
  12880. },
  12881. "deliverygoodsname": {
  12882. "description": "现货品种名称",
  12883. "type": "string"
  12884. },
  12885. "pointdesc": {
  12886. "description": "点价描述",
  12887. "type": "string"
  12888. },
  12889. "producttype": {
  12890. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12891. "type": "integer"
  12892. },
  12893. "producttypename": {
  12894. "description": "产品类型名称",
  12895. "type": "string"
  12896. },
  12897. "spotPointOrderVoList": {
  12898. "description": "点价列表",
  12899. "type": "array",
  12900. "items": {
  12901. "$ref": "#/definitions/erms3.SpotPointOrder"
  12902. }
  12903. },
  12904. "spotPriceOrderList": {
  12905. "description": "定价列表",
  12906. "type": "array",
  12907. "items": {
  12908. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12909. }
  12910. },
  12911. "unitname": {
  12912. "description": "单位名称",
  12913. "type": "string"
  12914. },
  12915. "warehouseid": {
  12916. "description": "仓库ID",
  12917. "type": "integer"
  12918. },
  12919. "warehousename": {
  12920. "description": "仓库名称",
  12921. "type": "string"
  12922. },
  12923. "wrstandardid": {
  12924. "description": "交易标的ID",
  12925. "type": "integer"
  12926. },
  12927. "wrstandardname": {
  12928. "description": "交易标的名称",
  12929. "type": "string"
  12930. }
  12931. }
  12932. },
  12933. "erms3.SpotPointOrder": {
  12934. "type": "object",
  12935. "required": [
  12936. "basic",
  12937. "goodsid",
  12938. "qty"
  12939. ],
  12940. "properties": {
  12941. "basic": {
  12942. "description": "基差",
  12943. "type": "number"
  12944. },
  12945. "deliveryenddate": {
  12946. "description": "交收结束日期",
  12947. "type": "string"
  12948. },
  12949. "deliverystartdate": {
  12950. "description": "交收开始日期",
  12951. "type": "string"
  12952. },
  12953. "enddate": {
  12954. "description": "点价结束日期",
  12955. "type": "string"
  12956. },
  12957. "goodsid": {
  12958. "description": "商品ID",
  12959. "type": "integer"
  12960. },
  12961. "goodsname": {
  12962. "description": "商品名称",
  12963. "type": "string"
  12964. },
  12965. "qty": {
  12966. "description": "数量",
  12967. "type": "number"
  12968. },
  12969. "startdate": {
  12970. "description": "点价开始日期",
  12971. "type": "string"
  12972. }
  12973. }
  12974. },
  12975. "erms3.SpotPriceOrder": {
  12976. "type": "object",
  12977. "required": [
  12978. "amount",
  12979. "price",
  12980. "qty"
  12981. ],
  12982. "properties": {
  12983. "amount": {
  12984. "description": "金额",
  12985. "type": "number"
  12986. },
  12987. "deliveryenddate": {
  12988. "description": "交收结束日期",
  12989. "type": "string"
  12990. },
  12991. "deliverystartdate": {
  12992. "description": "交收开始日期",
  12993. "type": "string"
  12994. },
  12995. "price": {
  12996. "description": "价格",
  12997. "type": "number"
  12998. },
  12999. "qty": {
  13000. "description": "数量",
  13001. "type": "number"
  13002. }
  13003. }
  13004. },
  13005. "hsby.GetHsbyMyCountRsp": {
  13006. "type": "object",
  13007. "properties": {
  13008. "myCouponCount": {
  13009. "description": "我的优惠卷数量",
  13010. "type": "integer"
  13011. },
  13012. "myOrderDetailListingCount": {
  13013. "description": "我的订单求购中数量",
  13014. "type": "integer"
  13015. },
  13016. "myOrderDetailPreCount": {
  13017. "description": "我的订单抢购中数量",
  13018. "type": "integer"
  13019. },
  13020. "myPackageUnReceiveCount": {
  13021. "description": "我的包裹待收货数量",
  13022. "type": "integer"
  13023. },
  13024. "myPackageUnSendCount": {
  13025. "description": "我的包裹待发货数量",
  13026. "type": "integer"
  13027. },
  13028. "myPayOrderCount": {
  13029. "description": "我的订单待付款数量",
  13030. "type": "integer"
  13031. }
  13032. }
  13033. },
  13034. "hsby.QueryProvincesAndCitiesRsp": {
  13035. "type": "object",
  13036. "properties": {
  13037. "cities": {
  13038. "description": "市",
  13039. "type": "array",
  13040. "items": {
  13041. "$ref": "#/definitions/models.Division"
  13042. }
  13043. },
  13044. "province": {
  13045. "description": "省",
  13046. "type": "object",
  13047. "$ref": "#/definitions/models.Division"
  13048. }
  13049. }
  13050. },
  13051. "models.AreaSpotModel": {
  13052. "type": "object",
  13053. "properties": {
  13054. "areauserid": {
  13055. "description": "所属机构",
  13056. "type": "integer"
  13057. },
  13058. "decreaseqty": {
  13059. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13060. "type": "number"
  13061. },
  13062. "increaseqty": {
  13063. "description": "增加数量=销售计划数量+采购已定价数量",
  13064. "type": "number"
  13065. },
  13066. "oritoalspotqty": {
  13067. "description": "昨日数量",
  13068. "type": "number"
  13069. },
  13070. "totalspotqty": {
  13071. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13072. "type": "number"
  13073. },
  13074. "updatetime": {
  13075. "description": "更新时间",
  13076. "type": "string"
  13077. },
  13078. "wrstandardcode": {
  13079. "description": "现货品种代码",
  13080. "type": "string"
  13081. },
  13082. "wrstandardid": {
  13083. "description": "现货商品ID",
  13084. "type": "integer"
  13085. },
  13086. "wrstandardname": {
  13087. "description": "现货品种",
  13088. "type": "string"
  13089. }
  13090. }
  13091. },
  13092. "models.Arearole": {
  13093. "type": "object",
  13094. "required": [
  13095. "roletype",
  13096. "userid"
  13097. ],
  13098. "properties": {
  13099. "createtime": {
  13100. "description": "创建时间",
  13101. "type": "string"
  13102. },
  13103. "creatorid": {
  13104. "description": "创建人ID",
  13105. "type": "integer"
  13106. },
  13107. "fromuserid": {
  13108. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13109. "type": "integer"
  13110. },
  13111. "isreturnscore": {
  13112. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13113. "type": "integer"
  13114. },
  13115. "modifierid": {
  13116. "description": "修改人ID",
  13117. "type": "integer"
  13118. },
  13119. "modifytime": {
  13120. "description": "修改时间",
  13121. "type": "string"
  13122. },
  13123. "orgtype": {
  13124. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13125. "type": "integer"
  13126. },
  13127. "outuserid": {
  13128. "description": "外部账户[场外期权做市商]",
  13129. "type": "string"
  13130. },
  13131. "parentuserid": {
  13132. "description": "上级组织机构(组织机构)",
  13133. "type": "integer"
  13134. },
  13135. "roletype": {
  13136. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  13137. "type": "integer"
  13138. },
  13139. "rootuserid": {
  13140. "description": "顶级组织机构用户ID(组织机构)",
  13141. "type": "integer"
  13142. },
  13143. "shoppassword": {
  13144. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13145. "type": "string"
  13146. },
  13147. "sublevelpath": {
  13148. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13149. "type": "string"
  13150. },
  13151. "suborgtype": {
  13152. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13153. "type": "integer"
  13154. },
  13155. "tradeaccountid": {
  13156. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13157. "type": "integer"
  13158. },
  13159. "transurl": {
  13160. "description": "物流地址(物流机构)",
  13161. "type": "string"
  13162. },
  13163. "userid": {
  13164. "description": "机构用户ID其他做市关系,都设置为 1",
  13165. "type": "integer"
  13166. }
  13167. }
  13168. },
  13169. "models.Clientfixedadconfig": {
  13170. "type": "object",
  13171. "required": [
  13172. "adsort",
  13173. "adtype"
  13174. ],
  13175. "properties": {
  13176. "adsort": {
  13177. "description": "排序",
  13178. "type": "integer"
  13179. },
  13180. "adtype": {
  13181. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13182. "type": "integer"
  13183. },
  13184. "areauserid": {
  13185. "description": "所属机构ID",
  13186. "type": "integer"
  13187. },
  13188. "createdate": {
  13189. "description": "创建时间",
  13190. "type": "string"
  13191. },
  13192. "creatorid": {
  13193. "description": "创建人",
  13194. "type": "integer"
  13195. },
  13196. "imagepath": {
  13197. "description": "图片",
  13198. "type": "string"
  13199. },
  13200. "isshow": {
  13201. "description": "是否展示 - 0:不展示 1:展示",
  13202. "type": "integer"
  13203. },
  13204. "modifierid": {
  13205. "description": "操作人",
  13206. "type": "integer"
  13207. },
  13208. "recsize": {
  13209. "description": "推荐尺寸",
  13210. "type": "string"
  13211. },
  13212. "title": {
  13213. "description": "标题",
  13214. "type": "string"
  13215. },
  13216. "updatedate": {
  13217. "description": "更新时间",
  13218. "type": "string"
  13219. },
  13220. "urlcontent": {
  13221. "description": "链接(地址或商品ID)",
  13222. "type": "string"
  13223. },
  13224. "urltype": {
  13225. "description": "链接类型 - 1:直接地址 2:商品ID",
  13226. "type": "integer"
  13227. }
  13228. }
  13229. },
  13230. "models.Division": {
  13231. "type": "object",
  13232. "required": [
  13233. "autoid",
  13234. "divisioncode"
  13235. ],
  13236. "properties": {
  13237. "autoid": {
  13238. "description": "自增ID",
  13239. "type": "integer"
  13240. },
  13241. "divisioncode": {
  13242. "description": "行政代码",
  13243. "type": "string"
  13244. },
  13245. "divisionlevel": {
  13246. "description": "行政级别",
  13247. "type": "string"
  13248. },
  13249. "divisionname": {
  13250. "description": "行政名称",
  13251. "type": "string"
  13252. },
  13253. "modifierid": {
  13254. "description": "修改人",
  13255. "type": "integer"
  13256. },
  13257. "modifytime": {
  13258. "description": "修改时间",
  13259. "type": "string"
  13260. },
  13261. "parentcode": {
  13262. "description": "上级行政代码",
  13263. "type": "string"
  13264. },
  13265. "pathname": {
  13266. "description": "路径名称",
  13267. "type": "string"
  13268. },
  13269. "postcode": {
  13270. "description": "邮政编码",
  13271. "type": "string"
  13272. },
  13273. "separablename": {
  13274. "description": "可拆分的全称",
  13275. "type": "string"
  13276. },
  13277. "shortcode": {
  13278. "description": "地区简码",
  13279. "type": "string"
  13280. }
  13281. }
  13282. },
  13283. "models.Enumdicitem": {
  13284. "type": "object",
  13285. "required": [
  13286. "autoid",
  13287. "enumdiccode",
  13288. "enumdicid",
  13289. "enumitemname"
  13290. ],
  13291. "properties": {
  13292. "autoid": {
  13293. "description": "自增ID",
  13294. "type": "integer"
  13295. },
  13296. "bankmappedvalue": {
  13297. "description": "银行服务对应值",
  13298. "type": "string"
  13299. },
  13300. "enumdiccode": {
  13301. "description": "所属枚举代码",
  13302. "type": "string"
  13303. },
  13304. "enumdicid": {
  13305. "description": "所属枚举ID",
  13306. "type": "integer"
  13307. },
  13308. "enumdicname": {
  13309. "description": "枚举项名称",
  13310. "type": "string"
  13311. },
  13312. "enumitemname": {
  13313. "description": "枚举项值",
  13314. "type": "integer"
  13315. },
  13316. "enumitemstatus": {
  13317. "description": "枚举项状态 - 1.启用 2.不启用",
  13318. "type": "integer"
  13319. },
  13320. "enumitemvalue": {
  13321. "description": "通用值 - [币种通用简写]",
  13322. "type": "string"
  13323. },
  13324. "param1": {
  13325. "description": "参数1[币种:币种小数位]",
  13326. "type": "string"
  13327. },
  13328. "param2": {
  13329. "description": "参数1[币种:币种显示单位]",
  13330. "type": "string"
  13331. },
  13332. "remark": {
  13333. "description": "备注",
  13334. "type": "string"
  13335. }
  13336. }
  13337. },
  13338. "models.Ermcp3AreaSpot": {
  13339. "type": "object",
  13340. "properties": {
  13341. "areauserid": {
  13342. "description": "所属机构",
  13343. "type": "integer"
  13344. },
  13345. "decreaseqty": {
  13346. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13347. "type": "number"
  13348. },
  13349. "deliverygoodscode": {
  13350. "description": "现货品种代码",
  13351. "type": "string"
  13352. },
  13353. "deliverygoodsid": {
  13354. "description": "现货品种id",
  13355. "type": "integer"
  13356. },
  13357. "deliverygoodsname": {
  13358. "description": "现货品种名称",
  13359. "type": "string"
  13360. },
  13361. "enumdicname": {
  13362. "description": "单位名称",
  13363. "type": "string"
  13364. },
  13365. "goodsunitid": {
  13366. "description": "现货品种单位id",
  13367. "type": "integer"
  13368. },
  13369. "increaseqty": {
  13370. "description": "增加数量=销售计划数量+采购已定价数量",
  13371. "type": "number"
  13372. },
  13373. "oritoalspotqty": {
  13374. "description": "昨日数量",
  13375. "type": "number"
  13376. },
  13377. "totalspotqty": {
  13378. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13379. "type": "number"
  13380. },
  13381. "updatetime": {
  13382. "description": "更新时间",
  13383. "type": "string"
  13384. }
  13385. }
  13386. },
  13387. "models.Ermcp3AreaSpotDetail": {
  13388. "type": "object",
  13389. "properties": {
  13390. "contracttype": {
  13391. "description": "合同类型 1-采购 -1-销售",
  13392. "type": "integer"
  13393. },
  13394. "createtime": {
  13395. "description": "创建时间",
  13396. "type": "string"
  13397. },
  13398. "deliverygoodscode": {
  13399. "description": "现货品种代码",
  13400. "type": "string"
  13401. },
  13402. "deliverygoodsid": {
  13403. "description": "现货品种id",
  13404. "type": "integer"
  13405. },
  13406. "deliverygoodsname": {
  13407. "description": "现货品种名称",
  13408. "type": "string"
  13409. },
  13410. "enumdicname": {
  13411. "description": "现货商品单位名称",
  13412. "type": "string"
  13413. },
  13414. "logtype": {
  13415. "description": "记录类型 1-套保 2-现货合同",
  13416. "type": "integer"
  13417. },
  13418. "qty": {
  13419. "description": "数量",
  13420. "type": "number"
  13421. },
  13422. "recordname": {
  13423. "description": "类型名称",
  13424. "type": "string"
  13425. },
  13426. "relatedid": {
  13427. "description": "套保计划ID/现货合同ID",
  13428. "type": "string"
  13429. },
  13430. "relatedno": {
  13431. "description": "编号",
  13432. "type": "string"
  13433. },
  13434. "strtime": {
  13435. "description": "时间",
  13436. "type": "string"
  13437. }
  13438. }
  13439. },
  13440. "models.Ermcp3AreaSpotPLReport": {
  13441. "type": "object",
  13442. "properties": {
  13443. "accountid": {
  13444. "description": "期货账户ID (作废, 默认为0)",
  13445. "type": "integer"
  13446. },
  13447. "accountname": {
  13448. "description": "机构名称",
  13449. "type": "string"
  13450. },
  13451. "actualpl": {
  13452. "description": "现货损益",
  13453. "type": "number"
  13454. },
  13455. "areauserid": {
  13456. "description": "所属机构\\交易用户ID",
  13457. "type": "integer"
  13458. },
  13459. "begindate": {
  13460. "description": "开始交易日",
  13461. "type": "string"
  13462. },
  13463. "biztype": {
  13464. "description": "业务类型 - 1:套保 2:套利",
  13465. "type": "integer"
  13466. },
  13467. "brandname": {
  13468. "description": "品牌名称",
  13469. "type": "string"
  13470. },
  13471. "curamount": {
  13472. "description": "期末额",
  13473. "type": "number"
  13474. },
  13475. "curaverageprice": {
  13476. "description": "期末均价",
  13477. "type": "number"
  13478. },
  13479. "curbuyamount": {
  13480. "description": "期末采购总额",
  13481. "type": "number"
  13482. },
  13483. "curbuyqty": {
  13484. "description": "期末采购总量",
  13485. "type": "number"
  13486. },
  13487. "curmarketvalue": {
  13488. "description": "参考市值(期末市值)",
  13489. "type": "number"
  13490. },
  13491. "curqty": {
  13492. "description": "期末量",
  13493. "type": "number"
  13494. },
  13495. "currencyid": {
  13496. "description": "结算币种ID【原值】",
  13497. "type": "integer"
  13498. },
  13499. "currencyname": {
  13500. "description": "币种名称",
  13501. "type": "string"
  13502. },
  13503. "cursellamount": {
  13504. "description": "期末销售总额",
  13505. "type": "number"
  13506. },
  13507. "cursellqty": {
  13508. "description": "期末销售总量",
  13509. "type": "number"
  13510. },
  13511. "curspotprice": {
  13512. "description": "参考市价(最新价)",
  13513. "type": "number"
  13514. },
  13515. "cycletime": {
  13516. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13517. "type": "string"
  13518. },
  13519. "cycletype": {
  13520. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13521. "type": "integer"
  13522. },
  13523. "deliverygoodscode": {
  13524. "description": "现货商品代码",
  13525. "type": "string"
  13526. },
  13527. "deliverygoodsid": {
  13528. "description": "现货品种ID",
  13529. "type": "integer"
  13530. },
  13531. "deliverygoodsname": {
  13532. "description": "现货商品名称",
  13533. "type": "string"
  13534. },
  13535. "enddate": {
  13536. "description": "结束交易日",
  13537. "type": "string"
  13538. },
  13539. "enumdicname": {
  13540. "description": "现货商品单位名称",
  13541. "type": "string"
  13542. },
  13543. "floatpl": {
  13544. "description": "浮动损益",
  13545. "type": "number"
  13546. },
  13547. "goodsunitid": {
  13548. "description": "现货商品单位id",
  13549. "type": "integer"
  13550. },
  13551. "oriamount": {
  13552. "description": "期初额",
  13553. "type": "number"
  13554. },
  13555. "oriaverageprice": {
  13556. "description": "期初均价",
  13557. "type": "number"
  13558. },
  13559. "oribuyamount": {
  13560. "description": "期初采购总额",
  13561. "type": "number"
  13562. },
  13563. "oribuyqty": {
  13564. "description": "期初采购总量",
  13565. "type": "number"
  13566. },
  13567. "oriqty": {
  13568. "description": "期初量",
  13569. "type": "number"
  13570. },
  13571. "orisellamount": {
  13572. "description": "期初销售总额",
  13573. "type": "number"
  13574. },
  13575. "orisellqty": {
  13576. "description": "期初销售总量",
  13577. "type": "number"
  13578. },
  13579. "reckondate": {
  13580. "description": "日照时期(yyyyMMdd)",
  13581. "type": "string"
  13582. },
  13583. "spotgoodsbrandid": {
  13584. "description": "现货品牌ID",
  13585. "type": "integer"
  13586. },
  13587. "todaybuyamount": {
  13588. "description": "今日采购额(今采购额)",
  13589. "type": "number"
  13590. },
  13591. "todaybuyaverageprice": {
  13592. "description": "今日采购均价",
  13593. "type": "number"
  13594. },
  13595. "todaybuyqty": {
  13596. "description": "今日采购量(今采购量)",
  13597. "type": "number"
  13598. },
  13599. "todayinqty": {
  13600. "description": "今日入库量(今入库量)",
  13601. "type": "number"
  13602. },
  13603. "todayoutqty": {
  13604. "description": "今日出库量(今出库量)",
  13605. "type": "number"
  13606. },
  13607. "todaysellamount": {
  13608. "description": "今日销售额(今销售额)",
  13609. "type": "number"
  13610. },
  13611. "todaysellaverageprice": {
  13612. "description": "今日销售均价",
  13613. "type": "number"
  13614. },
  13615. "todaysellqty": {
  13616. "description": "今日销售量(今销售量)",
  13617. "type": "number"
  13618. },
  13619. "unitid": {
  13620. "description": "品类单位id",
  13621. "type": "integer"
  13622. },
  13623. "unitidname": {
  13624. "description": "品类单位名称",
  13625. "type": "string"
  13626. },
  13627. "updatetime": {
  13628. "description": "更新时间",
  13629. "type": "string"
  13630. },
  13631. "wrfactortypeid": {
  13632. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13633. "type": "integer"
  13634. },
  13635. "wrstandardcode": {
  13636. "description": "品类代码",
  13637. "type": "string"
  13638. },
  13639. "wrstandardid": {
  13640. "description": "现货品类ID",
  13641. "type": "integer"
  13642. },
  13643. "wrstandardname": {
  13644. "description": "品类名称",
  13645. "type": "string"
  13646. }
  13647. }
  13648. },
  13649. "models.Ermcp3AreaStock": {
  13650. "type": "object",
  13651. "required": [
  13652. "userid"
  13653. ],
  13654. "properties": {
  13655. "brandname": {
  13656. "description": "品牌名称",
  13657. "type": "string"
  13658. },
  13659. "curstock": {
  13660. "description": "期末库存量(今日量)",
  13661. "type": "number"
  13662. },
  13663. "deliverygoodscode": {
  13664. "description": "现货品种代码",
  13665. "type": "string"
  13666. },
  13667. "deliverygoodsid": {
  13668. "description": "现货品种id",
  13669. "type": "integer"
  13670. },
  13671. "deliverygoodsname": {
  13672. "description": "现货品种名称",
  13673. "type": "string"
  13674. },
  13675. "enumdicname": {
  13676. "description": "单位名称",
  13677. "type": "string"
  13678. },
  13679. "goodsunitid": {
  13680. "description": "现货商品单位id",
  13681. "type": "integer"
  13682. },
  13683. "oristock": {
  13684. "description": "期初库存量(昨日量)",
  13685. "type": "number"
  13686. },
  13687. "spotgoodsbrandid": {
  13688. "description": "现货品牌ID",
  13689. "type": "integer"
  13690. },
  13691. "todaybuyinqty": {
  13692. "description": "今日采购入库量",
  13693. "type": "number"
  13694. },
  13695. "todayproduceinqty": {
  13696. "description": "今日生产入库量",
  13697. "type": "number"
  13698. },
  13699. "todayproduceoutqty": {
  13700. "description": "今日生产出库量",
  13701. "type": "number"
  13702. },
  13703. "todayselloutqty": {
  13704. "description": "今日销售出库量",
  13705. "type": "number"
  13706. },
  13707. "unitid": {
  13708. "description": "单位id",
  13709. "type": "integer"
  13710. },
  13711. "updatetime": {
  13712. "description": "更新时间",
  13713. "type": "string"
  13714. },
  13715. "userid": {
  13716. "description": "机构ID",
  13717. "type": "integer"
  13718. },
  13719. "username": {
  13720. "description": "机构名称",
  13721. "type": "string"
  13722. },
  13723. "warehousecode": {
  13724. "description": "仓库代码",
  13725. "type": "string"
  13726. },
  13727. "warehouseinfoid": {
  13728. "description": "仓库ID",
  13729. "type": "string"
  13730. },
  13731. "warehousename": {
  13732. "description": "仓库名称",
  13733. "type": "string"
  13734. },
  13735. "warehousetype": {
  13736. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13737. "type": "integer"
  13738. },
  13739. "wrstandardcode": {
  13740. "description": "品类代码",
  13741. "type": "string"
  13742. },
  13743. "wrstandardid": {
  13744. "description": "品类ID",
  13745. "type": "string"
  13746. },
  13747. "wrstandardname": {
  13748. "description": "品类名称",
  13749. "type": "string"
  13750. }
  13751. }
  13752. },
  13753. "models.Ermcp3AreaStockApply": {
  13754. "type": "object",
  13755. "properties": {
  13756. "applyid": {
  13757. "description": "申请人",
  13758. "type": "integer"
  13759. },
  13760. "applyname": {
  13761. "description": "申请人名称",
  13762. "type": "string"
  13763. },
  13764. "applyremark": {
  13765. "description": "申请备注",
  13766. "type": "string"
  13767. },
  13768. "applysrc": {
  13769. "description": "申请来源 - 1:管理端 2:终端",
  13770. "type": "integer"
  13771. },
  13772. "applystatus": {
  13773. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13774. "type": "integer"
  13775. },
  13776. "applytime": {
  13777. "description": "申请时间",
  13778. "type": "string"
  13779. },
  13780. "auditid": {
  13781. "description": "审核人",
  13782. "type": "integer"
  13783. },
  13784. "auditname": {
  13785. "description": "审核人名称",
  13786. "type": "string"
  13787. },
  13788. "auditremark": {
  13789. "description": "审核备注",
  13790. "type": "string"
  13791. },
  13792. "auditsrc": {
  13793. "description": "审核来源 - 1:管理端 2:终端",
  13794. "type": "integer"
  13795. },
  13796. "audittime": {
  13797. "description": "审核时间",
  13798. "type": "string"
  13799. },
  13800. "audittradedate": {
  13801. "description": "审核交易日(yyyyMMdd)",
  13802. "type": "string"
  13803. },
  13804. "brandname": {
  13805. "description": "品牌名称",
  13806. "type": "string"
  13807. },
  13808. "buynickname": {
  13809. "description": "采购方昵称",
  13810. "type": "string"
  13811. },
  13812. "buyuserid": {
  13813. "description": "采购方userid",
  13814. "type": "integer"
  13815. },
  13816. "buyusername": {
  13817. "description": "采购方名称",
  13818. "type": "string"
  13819. },
  13820. "contractno": {
  13821. "description": "合同编号",
  13822. "type": "string"
  13823. },
  13824. "contractqty": {
  13825. "description": "合同量",
  13826. "type": "number"
  13827. },
  13828. "contracttype": {
  13829. "description": "现货合同类型 - 1:采购 -1:销售",
  13830. "type": "integer"
  13831. },
  13832. "deliverygoodscode": {
  13833. "description": "现货品种代码",
  13834. "type": "string"
  13835. },
  13836. "deliverygoodsid": {
  13837. "description": "现货品种id",
  13838. "type": "integer"
  13839. },
  13840. "deliverygoodsname": {
  13841. "description": "现货品种名称",
  13842. "type": "string"
  13843. },
  13844. "detailjson": {
  13845. "description": "明细数据",
  13846. "type": "string"
  13847. },
  13848. "enumdicname": {
  13849. "description": "现货商品单位名称",
  13850. "type": "string"
  13851. },
  13852. "inoutapplyid": {
  13853. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13854. "type": "string"
  13855. },
  13856. "inouttype": {
  13857. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13858. "type": "integer"
  13859. },
  13860. "pricetype": {
  13861. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13862. "type": "integer"
  13863. },
  13864. "qty": {
  13865. "description": "数量",
  13866. "type": "number"
  13867. },
  13868. "sellnickname": {
  13869. "description": "销售方昵称",
  13870. "type": "string"
  13871. },
  13872. "selluserid": {
  13873. "description": "销售方userid",
  13874. "type": "integer"
  13875. },
  13876. "sellusername": {
  13877. "description": "销售方名称",
  13878. "type": "string"
  13879. },
  13880. "spotcontractid": {
  13881. "description": "关联现货合同ID",
  13882. "type": "string"
  13883. },
  13884. "spotgoodsbrandid": {
  13885. "description": "现货品牌ID",
  13886. "type": "integer"
  13887. },
  13888. "unitid": {
  13889. "description": "单位id",
  13890. "type": "integer"
  13891. },
  13892. "userid": {
  13893. "description": "机构ID",
  13894. "type": "integer"
  13895. },
  13896. "warehousecode": {
  13897. "description": "仓库代码",
  13898. "type": "string"
  13899. },
  13900. "warehouseinfoid": {
  13901. "description": "现货仓库ID",
  13902. "type": "string"
  13903. },
  13904. "warehousename": {
  13905. "description": "仓库名称",
  13906. "type": "string"
  13907. },
  13908. "warehousetype": {
  13909. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13910. "type": "integer"
  13911. },
  13912. "wrstandardcode": {
  13913. "description": "品类代码",
  13914. "type": "string"
  13915. },
  13916. "wrstandardid": {
  13917. "description": "品类ID",
  13918. "type": "integer"
  13919. },
  13920. "wrstandardname": {
  13921. "description": "品类名称",
  13922. "type": "string"
  13923. }
  13924. }
  13925. },
  13926. "models.Ermcp3AreaStockApplySum": {
  13927. "type": "object",
  13928. "properties": {
  13929. "brandname": {
  13930. "description": "品牌名称",
  13931. "type": "string"
  13932. },
  13933. "inouttype": {
  13934. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13935. "type": "integer"
  13936. },
  13937. "spotcontractid": {
  13938. "description": "关联现货合同ID",
  13939. "type": "string"
  13940. },
  13941. "spotgoodsbrandid": {
  13942. "description": "品牌id",
  13943. "type": "integer"
  13944. },
  13945. "totalqty": {
  13946. "description": "总数量",
  13947. "type": "number"
  13948. },
  13949. "wrstandardid": {
  13950. "description": "品类id",
  13951. "type": "integer"
  13952. },
  13953. "wrstandardname": {
  13954. "description": "品类名称",
  13955. "type": "string"
  13956. }
  13957. }
  13958. },
  13959. "models.Ermcp3AreaStockReportEx": {
  13960. "type": "object",
  13961. "properties": {
  13962. "begindate": {
  13963. "description": "开始交易日",
  13964. "type": "string"
  13965. },
  13966. "brandname": {
  13967. "description": "品牌名称",
  13968. "type": "string"
  13969. },
  13970. "curstock": {
  13971. "description": "期末库存量",
  13972. "type": "number"
  13973. },
  13974. "cycletime": {
  13975. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13976. "type": "string"
  13977. },
  13978. "cycletype": {
  13979. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13980. "type": "integer"
  13981. },
  13982. "deliverygoodscode": {
  13983. "description": "现货品种代码",
  13984. "type": "string"
  13985. },
  13986. "deliverygoodsid": {
  13987. "description": "现货品种id",
  13988. "type": "integer"
  13989. },
  13990. "deliverygoodsname": {
  13991. "description": "现货品种名称",
  13992. "type": "string"
  13993. },
  13994. "diffqty": {
  13995. "description": "库存变化量 = 期末 - 期初",
  13996. "type": "number"
  13997. },
  13998. "enddate": {
  13999. "description": "结束交易日",
  14000. "type": "string"
  14001. },
  14002. "enumdicname": {
  14003. "description": "单位名称",
  14004. "type": "string"
  14005. },
  14006. "goodsunitid": {
  14007. "description": "现货单位id",
  14008. "type": "integer"
  14009. },
  14010. "oristock": {
  14011. "description": "期初库存量",
  14012. "type": "number"
  14013. },
  14014. "reckondate": {
  14015. "description": "日照时期(yyyyMMdd)",
  14016. "type": "string"
  14017. },
  14018. "spotgoodsbrandid": {
  14019. "description": "现货品牌ID",
  14020. "type": "integer"
  14021. },
  14022. "todaybuyinqty": {
  14023. "description": "今采购入库量",
  14024. "type": "number"
  14025. },
  14026. "todayproduceinqty": {
  14027. "description": "今内部入库量",
  14028. "type": "number"
  14029. },
  14030. "todayproduceoutqty": {
  14031. "description": "今内部出库量",
  14032. "type": "number"
  14033. },
  14034. "todayselloutqty": {
  14035. "description": "今销售出库量",
  14036. "type": "number"
  14037. },
  14038. "unbuyinqty": {
  14039. "description": "采购未入库量(数据库未找到相关字段?)",
  14040. "type": "number"
  14041. },
  14042. "unitid": {
  14043. "description": "品类单位id",
  14044. "type": "integer"
  14045. },
  14046. "unselloutqty": {
  14047. "description": "销售未出库量(数据库未找到相关字段?)",
  14048. "type": "number"
  14049. },
  14050. "updatetime": {
  14051. "description": "更新时间",
  14052. "type": "string"
  14053. },
  14054. "userid": {
  14055. "description": "机构ID",
  14056. "type": "integer"
  14057. },
  14058. "username": {
  14059. "description": "机构名称",
  14060. "type": "string"
  14061. },
  14062. "warehousecode": {
  14063. "description": "仓库代码",
  14064. "type": "string"
  14065. },
  14066. "warehouseinfoid": {
  14067. "description": "仓库ID",
  14068. "type": "string"
  14069. },
  14070. "warehousename": {
  14071. "description": "仓库名称",
  14072. "type": "string"
  14073. },
  14074. "warehousetype": {
  14075. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14076. "type": "integer"
  14077. },
  14078. "wrstandardcode": {
  14079. "description": "品类代码",
  14080. "type": "string"
  14081. },
  14082. "wrstandardid": {
  14083. "description": "品类ID",
  14084. "type": "integer"
  14085. },
  14086. "wrstandardname": {
  14087. "description": "品类名称",
  14088. "type": "string"
  14089. }
  14090. }
  14091. },
  14092. "models.Ermcp3ArealSumPL": {
  14093. "type": "object",
  14094. "properties": {
  14095. "accountname": {
  14096. "description": "机构名称",
  14097. "type": "string"
  14098. },
  14099. "areauserid": {
  14100. "description": "所属机构\\交易用户ID",
  14101. "type": "integer"
  14102. },
  14103. "begindate": {
  14104. "description": "开始交易日",
  14105. "type": "string"
  14106. },
  14107. "currencyid": {
  14108. "description": "结算币种ID",
  14109. "type": "integer"
  14110. },
  14111. "currencyname": {
  14112. "description": "币种名称",
  14113. "type": "string"
  14114. },
  14115. "cycletime": {
  14116. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14117. "type": "string"
  14118. },
  14119. "cycletype": {
  14120. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14121. "type": "integer"
  14122. },
  14123. "enddate": {
  14124. "description": "结束交易日",
  14125. "type": "string"
  14126. },
  14127. "enumdicname": {
  14128. "description": "单位名称(套保品种)",
  14129. "type": "string"
  14130. },
  14131. "futureactualpl": {
  14132. "description": "期货损益",
  14133. "type": "number"
  14134. },
  14135. "futurefloatpl": {
  14136. "description": "期货浮动损益",
  14137. "type": "number"
  14138. },
  14139. "goodsunitid": {
  14140. "description": "套保品种单位id",
  14141. "type": "integer"
  14142. },
  14143. "middlegoodscode": {
  14144. "description": "套保品种代码",
  14145. "type": "string"
  14146. },
  14147. "middlegoodsid": {
  14148. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14149. "type": "integer"
  14150. },
  14151. "middlegoodsname": {
  14152. "description": "套保品种名称",
  14153. "type": "string"
  14154. },
  14155. "reckondate": {
  14156. "description": "日照时期(yyyyMMdd)",
  14157. "type": "string"
  14158. },
  14159. "spotactualpl": {
  14160. "description": "现货损益",
  14161. "type": "number"
  14162. },
  14163. "spotfloatpl": {
  14164. "description": "现货浮动损益",
  14165. "type": "number"
  14166. },
  14167. "sumactualpl": {
  14168. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14169. "type": "number"
  14170. },
  14171. "sumpl": {
  14172. "description": "汇总损益",
  14173. "type": "number"
  14174. },
  14175. "updatetime": {
  14176. "description": "更新时间",
  14177. "type": "string"
  14178. }
  14179. }
  14180. },
  14181. "models.Ermcp3Brand": {
  14182. "type": "object",
  14183. "properties": {
  14184. "areauserid": {
  14185. "description": "用户id",
  14186. "type": "integer"
  14187. },
  14188. "brandid": {
  14189. "description": "品牌id",
  14190. "type": "integer"
  14191. },
  14192. "brandname": {
  14193. "description": "品牌名称",
  14194. "type": "string"
  14195. },
  14196. "deliverygoodsid": {
  14197. "description": "品种ID",
  14198. "type": "integer"
  14199. }
  14200. }
  14201. },
  14202. "models.Ermcp3Contract": {
  14203. "type": "object",
  14204. "properties": {
  14205. "accountid": {
  14206. "description": "期货账户id",
  14207. "type": "string"
  14208. },
  14209. "amount": {
  14210. "description": "金额 [1:一口价、3:暂定价]",
  14211. "type": "number"
  14212. },
  14213. "attachment": {
  14214. "description": "附件",
  14215. "type": "string"
  14216. },
  14217. "auditremark": {
  14218. "description": "审核意见",
  14219. "type": "string"
  14220. },
  14221. "audittime": {
  14222. "description": "审核时间",
  14223. "type": "string"
  14224. },
  14225. "biztype": {
  14226. "description": "业务类型 1-套保 2-套利",
  14227. "type": "integer"
  14228. },
  14229. "brandname": {
  14230. "description": "品牌名称",
  14231. "type": "string"
  14232. },
  14233. "buynickname": {
  14234. "description": "销售方昵称",
  14235. "type": "string"
  14236. },
  14237. "buyuserid": {
  14238. "description": "采购方ID",
  14239. "type": "integer"
  14240. },
  14241. "buyusername": {
  14242. "description": "采购方名称",
  14243. "type": "string"
  14244. },
  14245. "contracctstatus": {
  14246. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14247. "type": "integer"
  14248. },
  14249. "contractmargin": {
  14250. "description": "合同保证金",
  14251. "type": "number"
  14252. },
  14253. "contractno": {
  14254. "description": "现货合同编号",
  14255. "type": "string"
  14256. },
  14257. "contracttype": {
  14258. "description": "现货合同类型 - 1:采购 -1:销售",
  14259. "type": "integer"
  14260. },
  14261. "convertfactor": {
  14262. "description": "标仓系数(品类)",
  14263. "type": "number"
  14264. },
  14265. "createtime": {
  14266. "description": "创建时间",
  14267. "type": "string"
  14268. },
  14269. "currencyid": {
  14270. "description": "币种id",
  14271. "type": "integer"
  14272. },
  14273. "currencyname": {
  14274. "description": "币种名称",
  14275. "type": "string"
  14276. },
  14277. "deliveryenddate": {
  14278. "description": "交收期(结束)",
  14279. "type": "string"
  14280. },
  14281. "deliverygoodscode": {
  14282. "description": "现货品种代码",
  14283. "type": "string"
  14284. },
  14285. "deliverygoodsid": {
  14286. "description": "现货品种ID",
  14287. "type": "integer"
  14288. },
  14289. "deliverygoodsname": {
  14290. "description": "现货品种名称",
  14291. "type": "string"
  14292. },
  14293. "deliverystartdate": {
  14294. "description": "交收期(开始)",
  14295. "type": "string"
  14296. },
  14297. "enddate": {
  14298. "description": "点价结束日期 [2:点价 3:暂定价]",
  14299. "type": "string"
  14300. },
  14301. "enumdicname": {
  14302. "description": "单位名称",
  14303. "type": "string"
  14304. },
  14305. "goodscode": {
  14306. "description": "点价合约代码",
  14307. "type": "string"
  14308. },
  14309. "goodsid": {
  14310. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14311. "type": "integer"
  14312. },
  14313. "goodsname": {
  14314. "description": "点价商品名称",
  14315. "type": "string"
  14316. },
  14317. "margin": {
  14318. "description": "当前保证金",
  14319. "type": "number"
  14320. },
  14321. "meruserid": {
  14322. "description": "跟单员id",
  14323. "type": "integer"
  14324. },
  14325. "meruserlogincode": {
  14326. "description": "跟单员登录代码",
  14327. "type": "string"
  14328. },
  14329. "price": {
  14330. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14331. "type": "number"
  14332. },
  14333. "pricemove": {
  14334. "description": "升贴水 [2:点价 3:暂定价]",
  14335. "type": "number"
  14336. },
  14337. "pricetype": {
  14338. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14339. "type": "integer"
  14340. },
  14341. "producttype": {
  14342. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14343. "type": "integer"
  14344. },
  14345. "qty": {
  14346. "description": "数量",
  14347. "type": "number"
  14348. },
  14349. "remark": {
  14350. "description": "备注",
  14351. "type": "string"
  14352. },
  14353. "saleuserid": {
  14354. "description": "业务员id",
  14355. "type": "integer"
  14356. },
  14357. "saleuserlogincode": {
  14358. "description": "业务员登录代码",
  14359. "type": "string"
  14360. },
  14361. "sellnickname": {
  14362. "description": "采购方昵称",
  14363. "type": "string"
  14364. },
  14365. "selluserid": {
  14366. "description": "销售方ID",
  14367. "type": "integer"
  14368. },
  14369. "sellusername": {
  14370. "description": "销售方名称",
  14371. "type": "string"
  14372. },
  14373. "spotcontractid": {
  14374. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14375. "type": "string"
  14376. },
  14377. "spotgoodsbrandid": {
  14378. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14379. "type": "integer"
  14380. },
  14381. "spotgoodsdesc": {
  14382. "description": "商品型号",
  14383. "type": "string"
  14384. },
  14385. "startdate": {
  14386. "description": "点价开始日期 [2:点价 3:暂定价]",
  14387. "type": "string"
  14388. },
  14389. "tradeuserid": {
  14390. "description": "交易员id",
  14391. "type": "integer"
  14392. },
  14393. "tradeuserlogincode": {
  14394. "description": "交易员登录代码",
  14395. "type": "string"
  14396. },
  14397. "tradeusername": {
  14398. "description": "交易员名称",
  14399. "type": "string"
  14400. },
  14401. "unitid": {
  14402. "description": "单位id(取品类上的单位id)",
  14403. "type": "integer"
  14404. },
  14405. "updatetime": {
  14406. "description": "更新时间",
  14407. "type": "string"
  14408. },
  14409. "userid": {
  14410. "description": "所属机构ID",
  14411. "type": "integer"
  14412. },
  14413. "wrstandardcode": {
  14414. "description": "品类代码",
  14415. "type": "string"
  14416. },
  14417. "wrstandardid": {
  14418. "description": "品类ID",
  14419. "type": "integer"
  14420. },
  14421. "wrstandardname": {
  14422. "description": "品类名称",
  14423. "type": "string"
  14424. }
  14425. }
  14426. },
  14427. "models.Ermcp3ExposureContractDetail": {
  14428. "type": "object",
  14429. "properties": {
  14430. "biztype": {
  14431. "description": "业务类型 1-套保 2-套利",
  14432. "type": "integer"
  14433. },
  14434. "brandname": {
  14435. "description": "品牌名称",
  14436. "type": "string"
  14437. },
  14438. "buyuserid": {
  14439. "description": "采购方id",
  14440. "type": "integer"
  14441. },
  14442. "buyusername": {
  14443. "description": "采购方名称",
  14444. "type": "string"
  14445. },
  14446. "contractno": {
  14447. "description": "合同编号",
  14448. "type": "string"
  14449. },
  14450. "contracttype": {
  14451. "description": "现货合同类型 - 1:采购 -1:销售",
  14452. "type": "integer"
  14453. },
  14454. "convertfactor": {
  14455. "description": "标仓系数",
  14456. "type": "number"
  14457. },
  14458. "convertratio": {
  14459. "description": "折算系数(套保品种)",
  14460. "type": "number"
  14461. },
  14462. "curqty": {
  14463. "description": "今定价量",
  14464. "type": "number"
  14465. },
  14466. "deliverygoodscode": {
  14467. "description": "现货商品代码",
  14468. "type": "string"
  14469. },
  14470. "deliverygoodsid": {
  14471. "description": "现货商品id",
  14472. "type": "integer"
  14473. },
  14474. "deliverygoodsname": {
  14475. "description": "现货商品名称",
  14476. "type": "string"
  14477. },
  14478. "diffhedgeqty": {
  14479. "description": "套保变动量",
  14480. "type": "number"
  14481. },
  14482. "diffneedhedgeqty": {
  14483. "description": "应套保变动量",
  14484. "type": "number"
  14485. },
  14486. "diffqty": {
  14487. "description": "套保品种今变动量",
  14488. "type": "number"
  14489. },
  14490. "enumdicname": {
  14491. "description": "单位名称",
  14492. "type": "string"
  14493. },
  14494. "middlegoodscode": {
  14495. "description": "套保品种代码",
  14496. "type": "string"
  14497. },
  14498. "middlegoodsid": {
  14499. "description": "套保品种id",
  14500. "type": "integer"
  14501. },
  14502. "middlegoodsname": {
  14503. "description": "套保品种名称",
  14504. "type": "string"
  14505. },
  14506. "needarbitrageratio": {
  14507. "description": "应套利比例",
  14508. "type": "number"
  14509. },
  14510. "needhedgeratio": {
  14511. "description": "应套保比例",
  14512. "type": "number"
  14513. },
  14514. "pricedqty": {
  14515. "description": "已定价量",
  14516. "type": "number"
  14517. },
  14518. "qty": {
  14519. "description": "合同量",
  14520. "type": "number"
  14521. },
  14522. "selluserid": {
  14523. "description": "销售方id",
  14524. "type": "integer"
  14525. },
  14526. "sellusername": {
  14527. "description": "销售方名称",
  14528. "type": "string"
  14529. },
  14530. "spotcontractid": {
  14531. "description": "合同id",
  14532. "type": "string"
  14533. },
  14534. "todaypricedqty": {
  14535. "description": "今定价量",
  14536. "type": "number"
  14537. },
  14538. "tradedate": {
  14539. "description": "交易日",
  14540. "type": "string"
  14541. },
  14542. "unitid": {
  14543. "description": "品类单位id",
  14544. "type": "integer"
  14545. },
  14546. "userid": {
  14547. "description": "机构id",
  14548. "type": "integer"
  14549. },
  14550. "wrstandardcode": {
  14551. "description": "品类代码",
  14552. "type": "string"
  14553. },
  14554. "wrstandardid": {
  14555. "description": "品类id",
  14556. "type": "integer"
  14557. },
  14558. "wrstandardname": {
  14559. "description": "品类名称",
  14560. "type": "string"
  14561. }
  14562. }
  14563. },
  14564. "models.Ermcp3ExposureDetail": {
  14565. "type": "object",
  14566. "properties": {
  14567. "areauserid": {
  14568. "description": "机构ID",
  14569. "type": "integer"
  14570. },
  14571. "changeQty": {
  14572. "description": "套保变动量",
  14573. "type": "number"
  14574. },
  14575. "contracttype": {
  14576. "description": "现货合同类型 - 1:采购 -1:销售",
  14577. "type": "integer"
  14578. },
  14579. "convertfactor": {
  14580. "description": "标仓系数",
  14581. "type": "number"
  14582. },
  14583. "convertratio": {
  14584. "description": "套保系数",
  14585. "type": "number"
  14586. },
  14587. "createtime": {
  14588. "description": "时间",
  14589. "type": "string"
  14590. },
  14591. "deliverygoodscode": {
  14592. "description": "现货品种代码",
  14593. "type": "string"
  14594. },
  14595. "deliverygoodsid": {
  14596. "description": "现货品种id",
  14597. "type": "integer"
  14598. },
  14599. "deliverygoodsname": {
  14600. "description": "现货品种名称",
  14601. "type": "string"
  14602. },
  14603. "enumdicname": {
  14604. "description": "现货商品单位名称",
  14605. "type": "string"
  14606. },
  14607. "logtype": {
  14608. "description": "类型 - 1:套保计划 2:现货合同",
  14609. "type": "integer"
  14610. },
  14611. "mgunitid": {
  14612. "description": "套保品种单位id",
  14613. "type": "integer"
  14614. },
  14615. "mgunitidname": {
  14616. "description": "套保品种单位名称",
  14617. "type": "string"
  14618. },
  14619. "middlegoodsId": {
  14620. "description": "套保商品id",
  14621. "type": "integer"
  14622. },
  14623. "middlegoodscode": {
  14624. "description": "套保商品代码",
  14625. "type": "string"
  14626. },
  14627. "middlegoodsname": {
  14628. "description": "套保商品名称",
  14629. "type": "string"
  14630. },
  14631. "qty": {
  14632. "description": "数量",
  14633. "type": "number"
  14634. },
  14635. "relateNo": {
  14636. "description": "现货合同/套保计划编号",
  14637. "type": "string"
  14638. }
  14639. }
  14640. },
  14641. "models.Ermcp3ExposureFutuDetail": {
  14642. "type": "object",
  14643. "properties": {
  14644. "accountid": {
  14645. "description": "交易账户id",
  14646. "type": "integer"
  14647. },
  14648. "accountname": {
  14649. "description": "交易账户",
  14650. "type": "string"
  14651. },
  14652. "begindate": {
  14653. "description": "开始交易日",
  14654. "type": "string"
  14655. },
  14656. "buyorsell": {
  14657. "description": "方向 0-买 1-卖",
  14658. "type": "integer"
  14659. },
  14660. "diffmgqty": {
  14661. "description": "套保品种今变化量",
  14662. "type": "number"
  14663. },
  14664. "diffneedqty": {
  14665. "description": "应套保总量变化量",
  14666. "type": "number"
  14667. },
  14668. "difftradeqty": {
  14669. "description": "交易品种今变化量",
  14670. "type": "number"
  14671. },
  14672. "enddate": {
  14673. "description": "结束交易日",
  14674. "type": "string"
  14675. },
  14676. "enumdicname": {
  14677. "description": "单位名称",
  14678. "type": "string"
  14679. },
  14680. "goodscode": {
  14681. "description": "商品代码",
  14682. "type": "string"
  14683. },
  14684. "goodsid": {
  14685. "description": "商品id",
  14686. "type": "integer"
  14687. },
  14688. "goodsname": {
  14689. "description": "商品名称",
  14690. "type": "string"
  14691. },
  14692. "holdqty": {
  14693. "description": "期末持仓量",
  14694. "type": "number"
  14695. },
  14696. "middlegoodscode": {
  14697. "description": "套保商品代码",
  14698. "type": "string"
  14699. },
  14700. "middlegoodsid": {
  14701. "description": "套保商品id",
  14702. "type": "integer"
  14703. },
  14704. "middlegoodsname": {
  14705. "description": "套保商品名称",
  14706. "type": "string"
  14707. },
  14708. "oriholdqty": {
  14709. "description": "期初持仓量",
  14710. "type": "number"
  14711. },
  14712. "todaycloseqty": {
  14713. "description": "今平仓量",
  14714. "type": "number"
  14715. },
  14716. "todayopenqty": {
  14717. "description": "今开仓量",
  14718. "type": "number"
  14719. },
  14720. "tradedate": {
  14721. "description": "交易日",
  14722. "type": "string"
  14723. }
  14724. }
  14725. },
  14726. "models.Ermcp3ExposureHedgeplanDetail": {
  14727. "type": "object",
  14728. "properties": {
  14729. "biztype": {
  14730. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  14731. "type": "integer"
  14732. },
  14733. "changqty": {
  14734. "description": "应套保总量变化量",
  14735. "type": "number"
  14736. },
  14737. "contracttype": {
  14738. "description": "计划类型 - 1:采购 -1:销售",
  14739. "type": "integer"
  14740. },
  14741. "convertratio": {
  14742. "description": "折算系数(套保品种)",
  14743. "type": "number"
  14744. },
  14745. "deliverygoodscode": {
  14746. "description": "现货商品代码",
  14747. "type": "string"
  14748. },
  14749. "deliverygoodsid": {
  14750. "description": "现货商品id",
  14751. "type": "integer"
  14752. },
  14753. "deliverygoodsname": {
  14754. "description": "现货商吕名称",
  14755. "type": "string"
  14756. },
  14757. "dgunitid": {
  14758. "description": "现货商品单位id",
  14759. "type": "integer"
  14760. },
  14761. "dgunitidname": {
  14762. "description": "单位名称(现货商品)",
  14763. "type": "string"
  14764. },
  14765. "diffqty": {
  14766. "description": "套保品种今变动量",
  14767. "type": "number"
  14768. },
  14769. "enumdicname": {
  14770. "description": "单位名称(品类)",
  14771. "type": "string"
  14772. },
  14773. "hedgeplanid": {
  14774. "description": "套保计划id",
  14775. "type": "string"
  14776. },
  14777. "hedgeplanno": {
  14778. "description": "套保计划名称",
  14779. "type": "string"
  14780. },
  14781. "hedgeplanstatus": {
  14782. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14783. "type": "integer"
  14784. },
  14785. "mgunitidname": {
  14786. "description": "单位名称(套保商品)",
  14787. "type": "string"
  14788. },
  14789. "middlegoodscode": {
  14790. "description": "套保品种代码",
  14791. "type": "string"
  14792. },
  14793. "middlegoodsid": {
  14794. "description": "套保品种id",
  14795. "type": "integer"
  14796. },
  14797. "middlegoodsname": {
  14798. "description": "套保品种名称",
  14799. "type": "string"
  14800. },
  14801. "needarbitrageratio": {
  14802. "description": "应套利比例",
  14803. "type": "number"
  14804. },
  14805. "needhedgeratio": {
  14806. "description": "应套保比例",
  14807. "type": "number"
  14808. },
  14809. "pricedqty": {
  14810. "description": "已定价量",
  14811. "type": "number"
  14812. },
  14813. "qty": {
  14814. "description": "合同量",
  14815. "type": "number"
  14816. },
  14817. "tradedate": {
  14818. "description": "交易日(登记日)",
  14819. "type": "string"
  14820. },
  14821. "unitid": {
  14822. "description": "品类单位id",
  14823. "type": "integer"
  14824. },
  14825. "userid": {
  14826. "description": "机构id",
  14827. "type": "integer"
  14828. },
  14829. "wrstandardcode": {
  14830. "description": "品类代码",
  14831. "type": "string"
  14832. },
  14833. "wrstandardid": {
  14834. "description": "品类id",
  14835. "type": "integer"
  14836. },
  14837. "wrstandardname": {
  14838. "description": "品类名称",
  14839. "type": "string"
  14840. }
  14841. }
  14842. },
  14843. "models.Ermcp3ExpourseReport": {
  14844. "type": "object",
  14845. "properties": {
  14846. "accountid": {
  14847. "description": "期货账户ID (作废, 默认为0)",
  14848. "type": "integer"
  14849. },
  14850. "accountname": {
  14851. "description": "机构名称",
  14852. "type": "string"
  14853. },
  14854. "arbitrageqty": {
  14855. "description": "套利量",
  14856. "type": "number"
  14857. },
  14858. "areauserid": {
  14859. "description": "所属机构\\交易用户ID",
  14860. "type": "integer"
  14861. },
  14862. "begindate": {
  14863. "description": "开始交易日",
  14864. "type": "string"
  14865. },
  14866. "buyfutureqty": {
  14867. "description": "买入期货数量",
  14868. "type": "number"
  14869. },
  14870. "buyplanqty": {
  14871. "description": "采购计划数量",
  14872. "type": "number"
  14873. },
  14874. "buypricedqty": {
  14875. "description": "采购合同已定价数量",
  14876. "type": "number"
  14877. },
  14878. "cycletime": {
  14879. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14880. "type": "string"
  14881. },
  14882. "cycletype": {
  14883. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14884. "type": "integer"
  14885. },
  14886. "diffexposure": {
  14887. "description": "变动量(套保敞口)",
  14888. "type": "number"
  14889. },
  14890. "difffutuqty": {
  14891. "description": "变动量(期货)",
  14892. "type": "number"
  14893. },
  14894. "diffhedgeqty": {
  14895. "description": "变动量(现货应套保总量)",
  14896. "type": "number"
  14897. },
  14898. "diffmgqtya": {
  14899. "description": "套保变动量",
  14900. "type": "number"
  14901. },
  14902. "diffmgqtyb": {
  14903. "description": "套利变动量",
  14904. "type": "number"
  14905. },
  14906. "diffqty": {
  14907. "description": "变动量(总敞口)",
  14908. "type": "number"
  14909. },
  14910. "diffspotqty": {
  14911. "description": "变动量(现货)",
  14912. "type": "number"
  14913. },
  14914. "enddate": {
  14915. "description": "结束交易日",
  14916. "type": "string"
  14917. },
  14918. "enumdicname": {
  14919. "description": "单位名称",
  14920. "type": "string"
  14921. },
  14922. "hedgeqty": {
  14923. "description": "套保量",
  14924. "type": "number"
  14925. },
  14926. "mgneedhedgeratio": {
  14927. "description": "套保比例(套保品的)",
  14928. "type": "number"
  14929. },
  14930. "middlegoodsid": {
  14931. "description": "套保品种ID",
  14932. "type": "integer"
  14933. },
  14934. "middlegoodsname": {
  14935. "description": "套保商品名称",
  14936. "type": "string"
  14937. },
  14938. "middlgoodscode": {
  14939. "description": "套保商品代码",
  14940. "type": "string"
  14941. },
  14942. "needarbitrageqty": {
  14943. "description": "应套利量",
  14944. "type": "number"
  14945. },
  14946. "needarbitrageratio": {
  14947. "description": "套利比例(套保品的)",
  14948. "type": "number"
  14949. },
  14950. "needhedgeexposoure": {
  14951. "description": "应套保敞口(套保敞口)",
  14952. "type": "number"
  14953. },
  14954. "needhedgeqty": {
  14955. "description": "应套保量",
  14956. "type": "number"
  14957. },
  14958. "needhedgeratio": {
  14959. "description": "应套保敞口比例",
  14960. "type": "number"
  14961. },
  14962. "oriarbitrageqty": {
  14963. "description": "期初套利量",
  14964. "type": "number"
  14965. },
  14966. "oribuyfutureqty": {
  14967. "description": "期初买入期货数量",
  14968. "type": "number"
  14969. },
  14970. "oribuyplanqty": {
  14971. "description": "期初采购计划数量",
  14972. "type": "number"
  14973. },
  14974. "oribuypricedqty": {
  14975. "description": "期初采购合同已定价数量",
  14976. "type": "number"
  14977. },
  14978. "orihedgeqty": {
  14979. "description": "期初套保量",
  14980. "type": "number"
  14981. },
  14982. "orineedarbitrageqty": {
  14983. "description": "期初应套利量",
  14984. "type": "number"
  14985. },
  14986. "orineedhedgeexposoure": {
  14987. "description": "期初应套保敞口",
  14988. "type": "number"
  14989. },
  14990. "orineedhedgeqty": {
  14991. "description": "期初应套保量",
  14992. "type": "number"
  14993. },
  14994. "orisellfutureqty": {
  14995. "description": "期初卖出期货数量",
  14996. "type": "number"
  14997. },
  14998. "orisellplanqty": {
  14999. "description": "期初销售计划数量",
  15000. "type": "number"
  15001. },
  15002. "orisellpricedqty": {
  15003. "description": "期初销售合同已定价数量",
  15004. "type": "number"
  15005. },
  15006. "oritotalexposure": {
  15007. "description": "期初实时总敞口",
  15008. "type": "number"
  15009. },
  15010. "oritotalfutureqty": {
  15011. "description": "期初期货头寸总量",
  15012. "type": "number"
  15013. },
  15014. "oritotalneedhedgeqty": {
  15015. "description": "期初应套保总量",
  15016. "type": "number"
  15017. },
  15018. "oritotalspotqty": {
  15019. "description": "期初现货头寸总量",
  15020. "type": "number"
  15021. },
  15022. "reckondate": {
  15023. "description": "日照时期(yyyyMMdd)",
  15024. "type": "string"
  15025. },
  15026. "sellfutureqty": {
  15027. "description": "卖出期货数量",
  15028. "type": "number"
  15029. },
  15030. "sellplanqty": {
  15031. "description": "销售计划数量",
  15032. "type": "number"
  15033. },
  15034. "sellpricedqty": {
  15035. "description": "销售合同已定价数量",
  15036. "type": "number"
  15037. },
  15038. "totalexposure": {
  15039. "description": "实时总敞口(总敞口)",
  15040. "type": "number"
  15041. },
  15042. "totalfutureqty": {
  15043. "description": "期货头寸总量(期货总量)",
  15044. "type": "number"
  15045. },
  15046. "totalhedgeratio": {
  15047. "description": "敞口比例",
  15048. "type": "number"
  15049. },
  15050. "totalneedhedgeqty": {
  15051. "description": "应套保总量(现货应套保总量)",
  15052. "type": "number"
  15053. },
  15054. "totalspotqty": {
  15055. "description": "现货头寸总量",
  15056. "type": "number"
  15057. },
  15058. "unitid": {
  15059. "description": "单位id",
  15060. "type": "integer"
  15061. },
  15062. "updatetime": {
  15063. "description": "更新时间",
  15064. "type": "string"
  15065. }
  15066. }
  15067. },
  15068. "models.Ermcp3FinanceReport": {
  15069. "type": "object",
  15070. "properties": {
  15071. "accountname": {
  15072. "description": "机构名称",
  15073. "type": "string"
  15074. },
  15075. "areauserid": {
  15076. "description": "所属机构\\交易用户ID",
  15077. "type": "integer"
  15078. },
  15079. "begindate": {
  15080. "description": "开始交易日",
  15081. "type": "string"
  15082. },
  15083. "biztype": {
  15084. "description": "业务类型 - 1:套保 2:套利",
  15085. "type": "integer"
  15086. },
  15087. "brandname": {
  15088. "description": "品牌名称",
  15089. "type": "string"
  15090. },
  15091. "buypreinvoicedamount": {
  15092. "description": "采购预收票额(预收票额)",
  15093. "type": "number"
  15094. },
  15095. "buyprepaidamount": {
  15096. "description": "采购预付款额(预付货款额)",
  15097. "type": "number"
  15098. },
  15099. "buytodayinvoiceamount": {
  15100. "description": "采购今收票额(今收票额)",
  15101. "type": "number"
  15102. },
  15103. "buytodayrefundamount": {
  15104. "description": "采购今收退款额(今收退款额)",
  15105. "type": "number"
  15106. },
  15107. "buytodaysettleamount": {
  15108. "description": "采购今付款额(今付货款额)",
  15109. "type": "number"
  15110. },
  15111. "buyuninvoicedamount": {
  15112. "description": "采购应收票额(应收票额)",
  15113. "type": "number"
  15114. },
  15115. "buyunpaidamount": {
  15116. "description": "采购应付款额(应付货款额)",
  15117. "type": "number"
  15118. },
  15119. "currencyid": {
  15120. "description": "结算币种ID",
  15121. "type": "integer"
  15122. },
  15123. "currencyname": {
  15124. "description": "币种名称",
  15125. "type": "string"
  15126. },
  15127. "cycletime": {
  15128. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15129. "type": "string"
  15130. },
  15131. "cycletype": {
  15132. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15133. "type": "integer"
  15134. },
  15135. "deliverygoodscode": {
  15136. "description": "现货品种代码",
  15137. "type": "string"
  15138. },
  15139. "deliverygoodsid": {
  15140. "description": "现货品种ID",
  15141. "type": "integer"
  15142. },
  15143. "deliverygoodsname": {
  15144. "description": "现货品种名称",
  15145. "type": "string"
  15146. },
  15147. "enddate": {
  15148. "description": "结束交易日",
  15149. "type": "string"
  15150. },
  15151. "reckondate": {
  15152. "description": "日照时期(yyyyMMdd)",
  15153. "type": "string"
  15154. },
  15155. "sellpreinvoicedamount": {
  15156. "description": "销售预开票额(预开票额)",
  15157. "type": "number"
  15158. },
  15159. "sellprepaidamount": {
  15160. "description": "销售预收款额(预收货款额)",
  15161. "type": "number"
  15162. },
  15163. "selltodayinvoiceamount": {
  15164. "description": "销售今开票额(今开票额)",
  15165. "type": "number"
  15166. },
  15167. "selltodayrefundamount": {
  15168. "description": "销售今付退款额(今付退款额)",
  15169. "type": "number"
  15170. },
  15171. "selltodaysettleamount": {
  15172. "description": "销售今收款额(今收货款额)",
  15173. "type": "number"
  15174. },
  15175. "selluninvoicedamount": {
  15176. "description": "销售应开票额(应开票额)",
  15177. "type": "number"
  15178. },
  15179. "sellunpaidamount": {
  15180. "description": "销售应收款额(应收货款额)",
  15181. "type": "number"
  15182. },
  15183. "spotgoodsbrandid": {
  15184. "description": "现货品牌ID",
  15185. "type": "integer"
  15186. },
  15187. "todaypaysum": {
  15188. "description": "今付款合计",
  15189. "type": "number"
  15190. },
  15191. "todayreceivesum": {
  15192. "description": "今收款合计",
  15193. "type": "number"
  15194. },
  15195. "updatetime": {
  15196. "description": "更新时间",
  15197. "type": "string"
  15198. },
  15199. "wrfactortypeid": {
  15200. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15201. "type": "integer"
  15202. },
  15203. "wrstandardcode": {
  15204. "description": "品类代码",
  15205. "type": "string"
  15206. },
  15207. "wrstandardid": {
  15208. "description": "现货商品ID",
  15209. "type": "integer"
  15210. },
  15211. "wrstandardname": {
  15212. "description": "品类名称",
  15213. "type": "string"
  15214. }
  15215. }
  15216. },
  15217. "models.Ermcp3Goods": {
  15218. "type": "object",
  15219. "properties": {
  15220. "agreeunit": {
  15221. "description": "合约单位(合约乘数)",
  15222. "type": "number"
  15223. },
  15224. "enumdicname": {
  15225. "description": "单位名称",
  15226. "type": "string"
  15227. },
  15228. "exexchangecode": {
  15229. "description": "交易所代码",
  15230. "type": "string"
  15231. },
  15232. "goodscode": {
  15233. "description": "期货商品代码",
  15234. "type": "string"
  15235. },
  15236. "goodsid": {
  15237. "description": "期货商品id",
  15238. "type": "integer"
  15239. },
  15240. "goodsname": {
  15241. "description": "期货商品名称",
  15242. "type": "string"
  15243. }
  15244. }
  15245. },
  15246. "models.Ermcp3GoodsGroup": {
  15247. "type": "object",
  15248. "required": [
  15249. "areauserid"
  15250. ],
  15251. "properties": {
  15252. "agreeunit": {
  15253. "description": "合约单位",
  15254. "type": "number"
  15255. },
  15256. "areauserid": {
  15257. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15258. "type": "integer"
  15259. },
  15260. "canshort": {
  15261. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15262. "type": "integer"
  15263. },
  15264. "closepricemode": {
  15265. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15266. "type": "integer"
  15267. },
  15268. "createtime": {
  15269. "description": "创建时间",
  15270. "type": "string"
  15271. },
  15272. "creatorid": {
  15273. "description": "创建人",
  15274. "type": "integer"
  15275. },
  15276. "currencyid": {
  15277. "description": "报价货币ID",
  15278. "type": "integer"
  15279. },
  15280. "decimalplace": {
  15281. "description": "报价小数位",
  15282. "type": "integer"
  15283. },
  15284. "enumdicname": {
  15285. "description": "单位名称",
  15286. "type": "string"
  15287. },
  15288. "exchangefullname": {
  15289. "description": "交易所全称",
  15290. "type": "string"
  15291. },
  15292. "excludecfg": {
  15293. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15294. "type": "integer"
  15295. },
  15296. "exexchangecode": {
  15297. "description": "交易所代码",
  15298. "type": "string"
  15299. },
  15300. "exexchangeid": {
  15301. "description": "外部交易所ID[通道交易]",
  15302. "type": "integer"
  15303. },
  15304. "exexchangename": {
  15305. "description": "交易所名称",
  15306. "type": "string"
  15307. },
  15308. "goodsgroupid": {
  15309. "description": "商品组ID(自增ID)",
  15310. "type": "integer"
  15311. },
  15312. "goodsgroupname": {
  15313. "description": "商品组名称",
  15314. "type": "string"
  15315. },
  15316. "goodsgroupstatus": {
  15317. "description": "商品组状态 - 1:正常 2:注销",
  15318. "type": "integer"
  15319. },
  15320. "goodunitid": {
  15321. "description": "报价单位ID",
  15322. "type": "integer"
  15323. },
  15324. "groupcategroyid": {
  15325. "description": "品种分类ID",
  15326. "type": "integer"
  15327. },
  15328. "innerdealmode": {
  15329. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15330. "type": "integer"
  15331. },
  15332. "marketid": {
  15333. "description": "所属市场ID",
  15334. "type": "integer"
  15335. },
  15336. "modifierid": {
  15337. "description": "修改人",
  15338. "type": "integer"
  15339. },
  15340. "modifytime": {
  15341. "description": "修改时间",
  15342. "type": "string"
  15343. },
  15344. "outerdealmode": {
  15345. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15346. "type": "integer"
  15347. },
  15348. "outergroupcode": {
  15349. "description": "外部商品组代码[通道交易]",
  15350. "type": "string"
  15351. },
  15352. "quoteminunit": {
  15353. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15354. "type": "integer"
  15355. },
  15356. "quotesourcegroupid": {
  15357. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15358. "type": "integer"
  15359. },
  15360. "syncgoodsqty": {
  15361. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15362. "type": "integer"
  15363. }
  15364. }
  15365. },
  15366. "models.Ermcp3GoodsGroupEx": {
  15367. "type": "object",
  15368. "properties": {
  15369. "convertratio": {
  15370. "description": "折算系数(品种系数)",
  15371. "type": "number"
  15372. },
  15373. "enumdicname": {
  15374. "description": "单位名称",
  15375. "type": "string"
  15376. },
  15377. "exexchangecode": {
  15378. "description": "交易所代码",
  15379. "type": "string"
  15380. },
  15381. "glist": {
  15382. "description": "合约列表",
  15383. "type": "array",
  15384. "items": {
  15385. "$ref": "#/definitions/models.Ermcp3Goods"
  15386. }
  15387. },
  15388. "goodsgroupid": {
  15389. "description": "商品组id",
  15390. "type": "integer"
  15391. },
  15392. "goodsgroupname": {
  15393. "description": "商品组名称",
  15394. "type": "string"
  15395. },
  15396. "goodsunitid": {
  15397. "description": "单位id",
  15398. "type": "integer"
  15399. },
  15400. "middlegoodsid": {
  15401. "description": "套保商品id",
  15402. "type": "integer"
  15403. }
  15404. }
  15405. },
  15406. "models.Ermcp3HedgePlan": {
  15407. "type": "object",
  15408. "properties": {
  15409. "accountid": {
  15410. "description": "资金账号",
  15411. "type": "integer"
  15412. },
  15413. "areauserid": {
  15414. "description": "用户ID",
  15415. "type": "integer"
  15416. },
  15417. "audittime": {
  15418. "description": "审核时间",
  15419. "type": "string"
  15420. },
  15421. "contracttype": {
  15422. "description": "计划类型 - 1:采购 -1:销售",
  15423. "type": "integer"
  15424. },
  15425. "convertfactor": {
  15426. "description": "标仓系数",
  15427. "type": "number"
  15428. },
  15429. "createtime": {
  15430. "description": "创建时间",
  15431. "type": "string"
  15432. },
  15433. "currencyid": {
  15434. "description": "币种id",
  15435. "type": "integer"
  15436. },
  15437. "currencyname": {
  15438. "description": "币种名称",
  15439. "type": "string"
  15440. },
  15441. "deliverygoodscode": {
  15442. "description": "现货品种代码",
  15443. "type": "string"
  15444. },
  15445. "deliverygoodsid": {
  15446. "description": "现货品种ID",
  15447. "type": "integer"
  15448. },
  15449. "deliverygoodsname": {
  15450. "description": "现货品种名称",
  15451. "type": "string"
  15452. },
  15453. "enumdicname": {
  15454. "description": "单位名称(现货商品)",
  15455. "type": "string"
  15456. },
  15457. "hedgeplanid": {
  15458. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15459. "type": "string"
  15460. },
  15461. "hedgeplanno": {
  15462. "description": "套保计划编号(名称)",
  15463. "type": "string"
  15464. },
  15465. "hedgeplanstatus": {
  15466. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15467. "type": "integer"
  15468. },
  15469. "planqty": {
  15470. "description": "计划数量",
  15471. "type": "number"
  15472. },
  15473. "plantime": {
  15474. "description": "计划时间",
  15475. "type": "string"
  15476. },
  15477. "producttype": {
  15478. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15479. "type": "integer"
  15480. },
  15481. "remark": {
  15482. "description": "备注",
  15483. "type": "string"
  15484. },
  15485. "spotgoodsdesc": {
  15486. "description": "商品型号",
  15487. "type": "string"
  15488. },
  15489. "taaccountname": {
  15490. "description": "资金账号名称",
  15491. "type": "string"
  15492. },
  15493. "tradeuserid": {
  15494. "description": "交易用户id",
  15495. "type": "integer"
  15496. },
  15497. "tradeusername": {
  15498. "description": "交易用户名称",
  15499. "type": "string"
  15500. },
  15501. "unitid": {
  15502. "description": "单位id(现货商品)",
  15503. "type": "integer"
  15504. },
  15505. "updatetime": {
  15506. "description": "更新时间",
  15507. "type": "string"
  15508. },
  15509. "wrstandardcode": {
  15510. "description": "品类代码",
  15511. "type": "string"
  15512. },
  15513. "wrstandardid": {
  15514. "description": "品类id",
  15515. "type": "integer"
  15516. },
  15517. "wrstandardname": {
  15518. "description": "品类名称",
  15519. "type": "string"
  15520. },
  15521. "wrunitid": {
  15522. "description": "品类单位id",
  15523. "type": "integer"
  15524. },
  15525. "wrunitidame": {
  15526. "description": "品类单位名称",
  15527. "type": "string"
  15528. }
  15529. }
  15530. },
  15531. "models.Ermcp3MiddleGoodsDetail2": {
  15532. "type": "object",
  15533. "properties": {
  15534. "convertratio": {
  15535. "description": "套保系数(折算系数)",
  15536. "type": "number"
  15537. },
  15538. "gplist": {
  15539. "description": "关联商品组列表",
  15540. "type": "array",
  15541. "items": {
  15542. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15543. }
  15544. },
  15545. "mg": {
  15546. "description": "套保商品信息",
  15547. "type": "object",
  15548. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15549. }
  15550. }
  15551. },
  15552. "models.Ermcp3MiddleGoodsDetailEx": {
  15553. "type": "object",
  15554. "properties": {
  15555. "dglist": {
  15556. "description": "关联的现货品种列表",
  15557. "type": "array",
  15558. "items": {
  15559. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15560. }
  15561. },
  15562. "gplist": {
  15563. "description": "关联商品组列表",
  15564. "type": "array",
  15565. "items": {
  15566. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15567. }
  15568. },
  15569. "mg": {
  15570. "description": "套保商品信息",
  15571. "type": "object",
  15572. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15573. }
  15574. }
  15575. },
  15576. "models.Ermcp3RootUserAccount": {
  15577. "type": "object",
  15578. "properties": {
  15579. "accountname": {
  15580. "description": "账户名称(机构名称)",
  15581. "type": "string"
  15582. },
  15583. "accountstatus": {
  15584. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15585. "type": "integer"
  15586. },
  15587. "applysrc": {
  15588. "description": "申请来源 - 1:管理端 2:终端",
  15589. "type": "integer"
  15590. },
  15591. "auditremark": {
  15592. "description": "审核备注",
  15593. "type": "string"
  15594. },
  15595. "auditsrc": {
  15596. "description": "审核来源 - 1:管理端 2:终端",
  15597. "type": "integer"
  15598. },
  15599. "audittime": {
  15600. "description": "审核时间",
  15601. "type": "string"
  15602. },
  15603. "audituserid": {
  15604. "description": "审核人",
  15605. "type": "integer"
  15606. },
  15607. "broker": {
  15608. "description": "所属经纪人ID",
  15609. "type": "integer"
  15610. },
  15611. "canceltime": {
  15612. "description": "销户时间",
  15613. "type": "string"
  15614. },
  15615. "canceluserid": {
  15616. "description": "销户人",
  15617. "type": "integer"
  15618. },
  15619. "canrecommend": {
  15620. "description": "是否可推荐 - 0:不可 1;可",
  15621. "type": "integer"
  15622. },
  15623. "createtime": {
  15624. "description": "创建时间",
  15625. "type": "string"
  15626. },
  15627. "creatorid": {
  15628. "description": "创建人",
  15629. "type": "integer"
  15630. },
  15631. "hasauth": {
  15632. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15633. "type": "integer"
  15634. },
  15635. "isanonymous": {
  15636. "description": "是否匿名下单 - 0:否 1:是",
  15637. "type": "integer"
  15638. },
  15639. "maxinvestornum": {
  15640. "description": "最大用户数(经纪会员下投资者个数)",
  15641. "type": "integer"
  15642. },
  15643. "memberuserid": {
  15644. "description": "所属会员ID",
  15645. "type": "integer"
  15646. },
  15647. "modifierid": {
  15648. "description": "修改人",
  15649. "type": "integer"
  15650. },
  15651. "modifyremark": {
  15652. "description": "变更备注",
  15653. "type": "string"
  15654. },
  15655. "modifystatus": {
  15656. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15657. "type": "integer"
  15658. },
  15659. "modifytime": {
  15660. "description": "修改时间",
  15661. "type": "string"
  15662. },
  15663. "parenttopuser": {
  15664. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  15665. "type": "string"
  15666. },
  15667. "parentuserid": {
  15668. "description": "所属机构ID",
  15669. "type": "integer"
  15670. },
  15671. "reckonaccountid": {
  15672. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15673. "type": "integer"
  15674. },
  15675. "refercount": {
  15676. "description": "推荐总人数",
  15677. "type": "integer"
  15678. },
  15679. "refereeuserid": {
  15680. "description": "推荐人ID",
  15681. "type": "integer"
  15682. },
  15683. "refernum": {
  15684. "description": "推荐码",
  15685. "type": "string"
  15686. },
  15687. "rootuserid": {
  15688. "description": "根用户ID",
  15689. "type": "integer"
  15690. },
  15691. "subaccountlevel": {
  15692. "description": "子账户层数",
  15693. "type": "integer"
  15694. },
  15695. "subarealevelpath": {
  15696. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15697. "type": "string"
  15698. },
  15699. "userid": {
  15700. "description": "用户ID",
  15701. "type": "integer"
  15702. },
  15703. "usertype": {
  15704. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15705. "type": "integer"
  15706. }
  15707. }
  15708. },
  15709. "models.Ermcp3SellBuyContract": {
  15710. "type": "object",
  15711. "properties": {
  15712. "accountid": {
  15713. "description": "期货账户id",
  15714. "type": "string"
  15715. },
  15716. "accountname": {
  15717. "description": "账户名称",
  15718. "type": "string"
  15719. },
  15720. "attachment": {
  15721. "description": "附件",
  15722. "type": "string"
  15723. },
  15724. "audittime": {
  15725. "description": "审核时间",
  15726. "type": "string"
  15727. },
  15728. "biztype": {
  15729. "description": "业务类型 1-套保 2-套利",
  15730. "type": "integer"
  15731. },
  15732. "brandname": {
  15733. "description": "品牌名称",
  15734. "type": "string"
  15735. },
  15736. "contracctstatus": {
  15737. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15738. "type": "integer"
  15739. },
  15740. "contractmargin": {
  15741. "description": "合同保证金",
  15742. "type": "number"
  15743. },
  15744. "contractno": {
  15745. "description": "合同编号",
  15746. "type": "string"
  15747. },
  15748. "contracttype": {
  15749. "description": "合同类型 1-采购, -1-销售",
  15750. "type": "integer"
  15751. },
  15752. "convertfactor": {
  15753. "description": "标仓系数(品类)",
  15754. "type": "number"
  15755. },
  15756. "createtime": {
  15757. "description": "创建时间",
  15758. "type": "string"
  15759. },
  15760. "currencyid": {
  15761. "description": "币种id",
  15762. "type": "integer"
  15763. },
  15764. "currencyname": {
  15765. "description": "币种名称",
  15766. "type": "string"
  15767. },
  15768. "daikaiamount": {
  15769. "description": "应收(开)票额",
  15770. "type": "number"
  15771. },
  15772. "deliveryenddate": {
  15773. "description": "交割结束日",
  15774. "type": "string"
  15775. },
  15776. "deliverygoodscode": {
  15777. "description": "现货品种代码",
  15778. "type": "string"
  15779. },
  15780. "deliverygoodsid": {
  15781. "description": "现货商品ID",
  15782. "type": "integer"
  15783. },
  15784. "deliverygoodsname": {
  15785. "description": "现货品种名称",
  15786. "type": "string"
  15787. },
  15788. "deliverystartdate": {
  15789. "description": "交割开始日",
  15790. "type": "string"
  15791. },
  15792. "enddate": {
  15793. "description": "点价结束日",
  15794. "type": "string"
  15795. },
  15796. "enumdicname": {
  15797. "description": "单位名称",
  15798. "type": "string"
  15799. },
  15800. "goodscode": {
  15801. "description": "点价商品代码",
  15802. "type": "string"
  15803. },
  15804. "goodsid": {
  15805. "description": "点价商品ID",
  15806. "type": "integer"
  15807. },
  15808. "goodsname": {
  15809. "description": "点价商品名称",
  15810. "type": "string"
  15811. },
  15812. "invoiceamount": {
  15813. "description": "已开票额",
  15814. "type": "number"
  15815. },
  15816. "loanamount": {
  15817. "description": "贷款总额=已定价额+调整金额",
  15818. "type": "number"
  15819. },
  15820. "margin": {
  15821. "description": "保证金",
  15822. "type": "number"
  15823. },
  15824. "meruserid": {
  15825. "description": "跟单员id",
  15826. "type": "integer"
  15827. },
  15828. "meruserlogincode": {
  15829. "description": "跟单员登录代码",
  15830. "type": "string"
  15831. },
  15832. "nickname": {
  15833. "description": "账户昵称",
  15834. "type": "string"
  15835. },
  15836. "payamount": {
  15837. "description": "已收付额(收款或付款)",
  15838. "type": "number"
  15839. },
  15840. "preinvoiceamount": {
  15841. "description": "预收(开)票额",
  15842. "type": "number"
  15843. },
  15844. "prepayamount": {
  15845. "description": "预收付额",
  15846. "type": "number"
  15847. },
  15848. "price": {
  15849. "description": "价格",
  15850. "type": "number"
  15851. },
  15852. "pricedamount": {
  15853. "description": "已定价额",
  15854. "type": "number"
  15855. },
  15856. "pricedavg": {
  15857. "description": "已点均价",
  15858. "type": "number"
  15859. },
  15860. "pricedqty": {
  15861. "description": "已定价量",
  15862. "type": "number"
  15863. },
  15864. "pricemove": {
  15865. "description": "升贴水",
  15866. "type": "number"
  15867. },
  15868. "pricetype": {
  15869. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15870. "type": "integer"
  15871. },
  15872. "producttype": {
  15873. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15874. "type": "integer"
  15875. },
  15876. "qty": {
  15877. "description": "合同量",
  15878. "type": "number"
  15879. },
  15880. "reckonadjustamount": {
  15881. "description": "调整金额",
  15882. "type": "number"
  15883. },
  15884. "reckonedamount": {
  15885. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15886. "type": "number"
  15887. },
  15888. "reckonotheramount": {
  15889. "description": "其它费用",
  15890. "type": "number"
  15891. },
  15892. "reckonrealqty": {
  15893. "description": "已确定量",
  15894. "type": "number"
  15895. },
  15896. "remark": {
  15897. "description": "备注",
  15898. "type": "string"
  15899. },
  15900. "saleuserid": {
  15901. "description": "业务员id",
  15902. "type": "integer"
  15903. },
  15904. "saleuserlogincode": {
  15905. "description": "业务员登录代码",
  15906. "type": "string"
  15907. },
  15908. "spotcontractid": {
  15909. "description": "合同ID",
  15910. "type": "string"
  15911. },
  15912. "spotgoodsbrandid": {
  15913. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15914. "type": "integer"
  15915. },
  15916. "spotgoodsdesc": {
  15917. "description": "商品型号(商品规格)",
  15918. "type": "string"
  15919. },
  15920. "startdate": {
  15921. "description": "点价开始日",
  15922. "type": "string"
  15923. },
  15924. "totalamount": {
  15925. "description": "合计总额",
  15926. "type": "number"
  15927. },
  15928. "tradeuserid": {
  15929. "description": "交易员id",
  15930. "type": "integer"
  15931. },
  15932. "tradeuserlogincode": {
  15933. "description": "交易员登录代码",
  15934. "type": "string"
  15935. },
  15936. "tradeusername": {
  15937. "description": "交易员名称",
  15938. "type": "string"
  15939. },
  15940. "unpayamount": {
  15941. "description": "应收付款额(应支付或应收款)",
  15942. "type": "number"
  15943. },
  15944. "unpricedqty": {
  15945. "description": "未定价量",
  15946. "type": "number"
  15947. },
  15948. "unsureqty": {
  15949. "description": "未确定量",
  15950. "type": "number"
  15951. },
  15952. "userid": {
  15953. "description": "机构ID",
  15954. "type": "integer"
  15955. },
  15956. "wrstandardcode": {
  15957. "description": "品类代码",
  15958. "type": "string"
  15959. },
  15960. "wrstandardid": {
  15961. "description": "品类ID",
  15962. "type": "integer"
  15963. },
  15964. "wrstandardname": {
  15965. "description": "品类名称",
  15966. "type": "string"
  15967. }
  15968. }
  15969. },
  15970. "models.Ermcp3SpotGoodsPrice": {
  15971. "type": "object",
  15972. "properties": {
  15973. "areauserid": {
  15974. "description": "所属机构id",
  15975. "type": "integer"
  15976. },
  15977. "brandname": {
  15978. "description": "品牌名称",
  15979. "type": "string"
  15980. },
  15981. "currencyid": {
  15982. "description": "报价货币ID",
  15983. "type": "integer"
  15984. },
  15985. "currencyname": {
  15986. "description": "币种名称",
  15987. "type": "string"
  15988. },
  15989. "deliverygoodscode": {
  15990. "description": "现货商品代码",
  15991. "type": "string"
  15992. },
  15993. "deliverygoodsid": {
  15994. "description": "现货商品id",
  15995. "type": "integer"
  15996. },
  15997. "deliverygoodsname": {
  15998. "description": "现货商品名称",
  15999. "type": "string"
  16000. },
  16001. "enumdicname": {
  16002. "description": "现货商品单位名称",
  16003. "type": "string"
  16004. },
  16005. "gbenumdicname": {
  16006. "description": "品类单位名称",
  16007. "type": "string"
  16008. },
  16009. "gmunitid": {
  16010. "description": "品类单位id",
  16011. "type": "integer"
  16012. },
  16013. "isvalid": {
  16014. "description": "是否有效 - 0:无效 1:有效",
  16015. "type": "integer"
  16016. },
  16017. "operateid": {
  16018. "description": "最后操作人",
  16019. "type": "integer"
  16020. },
  16021. "operatesrc": {
  16022. "description": "最后操作来源 - 1:管理端 2:终端",
  16023. "type": "integer"
  16024. },
  16025. "operatetime": {
  16026. "description": "最后操作时间",
  16027. "type": "string"
  16028. },
  16029. "operatorname": {
  16030. "description": "操作人名称",
  16031. "type": "string"
  16032. },
  16033. "spotgoodsbrandid": {
  16034. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16035. "type": "integer"
  16036. },
  16037. "spotgoodsprice": {
  16038. "description": "现货价格",
  16039. "type": "number"
  16040. },
  16041. "tradedate": {
  16042. "description": "交易日(yyyyMMdd)",
  16043. "type": "string"
  16044. },
  16045. "unitid": {
  16046. "description": "现货商品单位id",
  16047. "type": "integer"
  16048. },
  16049. "wrstandardcode": {
  16050. "description": "品类代码",
  16051. "type": "string"
  16052. },
  16053. "wrstandardid": {
  16054. "description": "现货品类ID(通用则为0)",
  16055. "type": "integer"
  16056. },
  16057. "wrstandardname": {
  16058. "description": "品类名称",
  16059. "type": "string"
  16060. }
  16061. }
  16062. },
  16063. "models.Ermcp3SpotGoodsPriceLog": {
  16064. "type": "object",
  16065. "properties": {
  16066. "areauserid": {
  16067. "description": "所属机构id",
  16068. "type": "integer"
  16069. },
  16070. "brandname": {
  16071. "description": "品牌名称",
  16072. "type": "string"
  16073. },
  16074. "currencyid": {
  16075. "description": "报价货币ID",
  16076. "type": "integer"
  16077. },
  16078. "deliverygoodscode": {
  16079. "description": "现货商品代码",
  16080. "type": "string"
  16081. },
  16082. "deliverygoodsid": {
  16083. "description": "现货商品id",
  16084. "type": "integer"
  16085. },
  16086. "deliverygoodsname": {
  16087. "description": "现货商品名称",
  16088. "type": "string"
  16089. },
  16090. "enumdicname": {
  16091. "description": "现货商品单位名称",
  16092. "type": "string"
  16093. },
  16094. "gbenumdicname": {
  16095. "description": "品类单位名称",
  16096. "type": "string"
  16097. },
  16098. "gmunitid": {
  16099. "description": "品类单位id",
  16100. "type": "integer"
  16101. },
  16102. "logid": {
  16103. "description": "日志id",
  16104. "type": "integer"
  16105. },
  16106. "operateid": {
  16107. "description": "最后操作人",
  16108. "type": "integer"
  16109. },
  16110. "operatesrc": {
  16111. "description": "最后操作来源 - 1:管理端 2:终端",
  16112. "type": "integer"
  16113. },
  16114. "operatetime": {
  16115. "description": "最后操作时间",
  16116. "type": "string"
  16117. },
  16118. "operatorname": {
  16119. "description": "操作人名称",
  16120. "type": "string"
  16121. },
  16122. "spotgoodsbrandid": {
  16123. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16124. "type": "integer"
  16125. },
  16126. "spotgoodsprice": {
  16127. "description": "现货价格",
  16128. "type": "number"
  16129. },
  16130. "tradedate": {
  16131. "description": "交易日(yyyyMMdd)",
  16132. "type": "string"
  16133. },
  16134. "unitid": {
  16135. "description": "现货商品单位id",
  16136. "type": "integer"
  16137. },
  16138. "wrstandardcode": {
  16139. "description": "品类代码",
  16140. "type": "string"
  16141. },
  16142. "wrstandardid": {
  16143. "description": "现货品类ID(通用则为0)",
  16144. "type": "integer"
  16145. },
  16146. "wrstandardname": {
  16147. "description": "品类名称",
  16148. "type": "string"
  16149. }
  16150. }
  16151. },
  16152. "models.Ermcp3TaFutuReDataReport": {
  16153. "type": "object",
  16154. "properties": {
  16155. "accountid": {
  16156. "description": "交易账户",
  16157. "type": "integer"
  16158. },
  16159. "accountname": {
  16160. "description": "交易账号名称",
  16161. "type": "string"
  16162. },
  16163. "begindate": {
  16164. "description": "开始交易日",
  16165. "type": "string"
  16166. },
  16167. "buyorsell": {
  16168. "description": "持仓方向",
  16169. "type": "integer"
  16170. },
  16171. "charge": {
  16172. "description": "手续费",
  16173. "type": "number"
  16174. },
  16175. "closepl": {
  16176. "description": "平仓损益",
  16177. "type": "number"
  16178. },
  16179. "currencyid": {
  16180. "description": "结算币种ID",
  16181. "type": "integer"
  16182. },
  16183. "cycletime": {
  16184. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16185. "type": "string"
  16186. },
  16187. "cycletype": {
  16188. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16189. "type": "integer"
  16190. },
  16191. "enddate": {
  16192. "description": "结束交易日",
  16193. "type": "string"
  16194. },
  16195. "enumdicname": {
  16196. "description": "单位名称(现货商品)",
  16197. "type": "string"
  16198. },
  16199. "floatpl": {
  16200. "description": "浮动损益",
  16201. "type": "number"
  16202. },
  16203. "goodscode": {
  16204. "description": "交易合约代码",
  16205. "type": "string"
  16206. },
  16207. "goodsgroupid": {
  16208. "description": "交易品种",
  16209. "type": "integer"
  16210. },
  16211. "goodsgroupname": {
  16212. "description": "交易品种名称",
  16213. "type": "string"
  16214. },
  16215. "goodsgroupspotqty": {
  16216. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16217. "type": "number"
  16218. },
  16219. "goodsid": {
  16220. "description": "交易合约",
  16221. "type": "integer"
  16222. },
  16223. "goodsname": {
  16224. "description": "交易合约名称",
  16225. "type": "string"
  16226. },
  16227. "goodunitid": {
  16228. "description": "交易合约单位id",
  16229. "type": "integer"
  16230. },
  16231. "holdamount": {
  16232. "description": "期末持仓额",
  16233. "type": "number"
  16234. },
  16235. "holdqty": {
  16236. "description": "期末持仓量",
  16237. "type": "number"
  16238. },
  16239. "lastholdamount": {
  16240. "description": "当前持仓额",
  16241. "type": "number"
  16242. },
  16243. "lastprice": {
  16244. "description": "最新价",
  16245. "type": "number"
  16246. },
  16247. "middlegoodsqty": {
  16248. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16249. "type": "number"
  16250. },
  16251. "openamount": {
  16252. "description": "期末开仓额",
  16253. "type": "number"
  16254. },
  16255. "oriholdamount": {
  16256. "description": "期初持仓额",
  16257. "type": "number"
  16258. },
  16259. "oriholdqty": {
  16260. "description": "期初持仓量",
  16261. "type": "number"
  16262. },
  16263. "oriopenamount": {
  16264. "description": "期初开仓额",
  16265. "type": "number"
  16266. },
  16267. "outergroupcode": {
  16268. "description": "交易品种代码",
  16269. "type": "string"
  16270. },
  16271. "reckondate": {
  16272. "description": "日照时期(yyyyMMdd)",
  16273. "type": "string"
  16274. },
  16275. "reckonholdamount": {
  16276. "description": "结算持仓额",
  16277. "type": "number"
  16278. },
  16279. "reckonpl": {
  16280. "description": "结算损益",
  16281. "type": "number"
  16282. },
  16283. "reckonpl2": {
  16284. "description": "结算逐笔盈亏",
  16285. "type": "number"
  16286. },
  16287. "reckonprice": {
  16288. "description": "结算价",
  16289. "type": "number"
  16290. },
  16291. "relateduserid": {
  16292. "description": "账户关联用户ID",
  16293. "type": "integer"
  16294. },
  16295. "todaycloseamount": {
  16296. "description": "今平仓额",
  16297. "type": "number"
  16298. },
  16299. "todaycloseqty": {
  16300. "description": "今平仓量",
  16301. "type": "number"
  16302. },
  16303. "todaygoodsgroupspotqty": {
  16304. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16305. "type": "number"
  16306. },
  16307. "todaymiddlegoodsqty": {
  16308. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16309. "type": "number"
  16310. },
  16311. "todayopenamount": {
  16312. "description": "今开仓额",
  16313. "type": "number"
  16314. },
  16315. "todayopenqty": {
  16316. "description": "今开仓量",
  16317. "type": "number"
  16318. },
  16319. "userid": {
  16320. "description": "账户所属用户ID",
  16321. "type": "integer"
  16322. }
  16323. }
  16324. },
  16325. "models.Ermcp3Wrstandard": {
  16326. "type": "object",
  16327. "properties": {
  16328. "areauserid": {
  16329. "description": "所属机构",
  16330. "type": "integer"
  16331. },
  16332. "convertfactor": {
  16333. "description": "标仓系数",
  16334. "type": "number"
  16335. },
  16336. "createtime": {
  16337. "description": "创建时间",
  16338. "type": "string"
  16339. },
  16340. "creatorid": {
  16341. "description": "创建人",
  16342. "type": "integer"
  16343. },
  16344. "deliverygoodsid": {
  16345. "description": "现货品种ID",
  16346. "type": "integer"
  16347. },
  16348. "enumdicname": {
  16349. "description": "品类单位名称",
  16350. "type": "string"
  16351. },
  16352. "isvalid": {
  16353. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16354. "type": "integer"
  16355. },
  16356. "minivalue": {
  16357. "description": "最小变动值",
  16358. "type": "integer"
  16359. },
  16360. "minivaluedp": {
  16361. "description": "最小变动值小数位",
  16362. "type": "integer"
  16363. },
  16364. "realminivalue": {
  16365. "description": "实际最小变动值",
  16366. "type": "integer"
  16367. },
  16368. "realminivaluedp": {
  16369. "description": "实际最小变动值小数位",
  16370. "type": "integer"
  16371. },
  16372. "remark": {
  16373. "description": "备注",
  16374. "type": "string"
  16375. },
  16376. "unitid": {
  16377. "description": "品类单位ID",
  16378. "type": "integer"
  16379. },
  16380. "updatetime": {
  16381. "description": "更新时间",
  16382. "type": "string"
  16383. },
  16384. "wrstandardcode": {
  16385. "description": "品类代码",
  16386. "type": "string"
  16387. },
  16388. "wrstandardid": {
  16389. "description": "品类ID(SEQ_WRSTANDARD)",
  16390. "type": "integer"
  16391. },
  16392. "wrstandardname": {
  16393. "description": "品类名称",
  16394. "type": "string"
  16395. }
  16396. }
  16397. },
  16398. "models.ErmcpAreaSpotDetailModel": {
  16399. "type": "object",
  16400. "properties": {
  16401. "contracttype": {
  16402. "description": "合同类型 1-采购 -1-销售",
  16403. "type": "integer"
  16404. },
  16405. "createtime": {
  16406. "description": "创建时间",
  16407. "type": "string"
  16408. },
  16409. "enumdicname": {
  16410. "description": "现货商品单位名称",
  16411. "type": "string"
  16412. },
  16413. "logtype": {
  16414. "description": "记录类型 1-套保 2-现货合同",
  16415. "type": "integer"
  16416. },
  16417. "qty": {
  16418. "description": "数量",
  16419. "type": "number"
  16420. },
  16421. "recordname": {
  16422. "description": "类型名称",
  16423. "type": "string"
  16424. },
  16425. "relatedid": {
  16426. "description": "套保计划ID/现货合同ID",
  16427. "type": "string"
  16428. },
  16429. "relatedno": {
  16430. "description": "编号",
  16431. "type": "string"
  16432. },
  16433. "strtime": {
  16434. "description": "时间",
  16435. "type": "string"
  16436. },
  16437. "wrstandardcode": {
  16438. "description": "现货商品代码",
  16439. "type": "string"
  16440. },
  16441. "wrstandardname": {
  16442. "description": "现货商品名称",
  16443. "type": "string"
  16444. }
  16445. }
  16446. },
  16447. "models.ErmcpAvalidGoodsGroupModel": {
  16448. "type": "object",
  16449. "properties": {
  16450. "goodsgroupid": {
  16451. "description": "期货品种id",
  16452. "type": "integer"
  16453. },
  16454. "goodsgroupname": {
  16455. "description": "期货品种名称",
  16456. "type": "string"
  16457. },
  16458. "goodunitid": {
  16459. "description": "品种单位id",
  16460. "type": "integer"
  16461. },
  16462. "goodunitname": {
  16463. "description": "品种单位名称",
  16464. "type": "string"
  16465. },
  16466. "outergroupcode": {
  16467. "description": "期货品种代码",
  16468. "type": "string"
  16469. }
  16470. }
  16471. },
  16472. "models.ErmcpBizGroupEx": {
  16473. "type": "object",
  16474. "properties": {
  16475. "acclist": {
  16476. "description": "账号列表",
  16477. "type": "array",
  16478. "items": {
  16479. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16480. }
  16481. },
  16482. "bizgroupid": {
  16483. "description": "业务分组id",
  16484. "type": "integer"
  16485. },
  16486. "biztype": {
  16487. "description": "业务类型 1-套保 2-套利",
  16488. "type": "integer"
  16489. },
  16490. "wrlist": {
  16491. "description": "现货商品表",
  16492. "type": "array",
  16493. "items": {
  16494. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16495. }
  16496. }
  16497. }
  16498. },
  16499. "models.ErmcpBizGroupSpotGoods": {
  16500. "type": "object",
  16501. "properties": {
  16502. "areauserid": {
  16503. "description": "所属机构id",
  16504. "type": "integer"
  16505. },
  16506. "bizgroupid": {
  16507. "description": "分组id",
  16508. "type": "integer"
  16509. },
  16510. "biztype": {
  16511. "description": "业务类型 1-套保 2-套利",
  16512. "type": "integer"
  16513. },
  16514. "deliverygoodscode": {
  16515. "description": "现货商品代码",
  16516. "type": "string"
  16517. },
  16518. "deliverygoodsid": {
  16519. "description": "现货商品id",
  16520. "type": "integer"
  16521. },
  16522. "deliverygoodsname": {
  16523. "description": "现货商品名称",
  16524. "type": "string"
  16525. },
  16526. "unitid": {
  16527. "description": "现货商品单位id",
  16528. "type": "integer"
  16529. }
  16530. }
  16531. },
  16532. "models.ErmcpBizGroupTaAccount": {
  16533. "type": "object",
  16534. "properties": {
  16535. "accountid": {
  16536. "description": "账号id",
  16537. "type": "integer"
  16538. },
  16539. "accountname": {
  16540. "description": "账号名称",
  16541. "type": "string"
  16542. },
  16543. "areauserid": {
  16544. "description": "所属机构id",
  16545. "type": "integer"
  16546. },
  16547. "bizgroupid": {
  16548. "description": "业务分组id",
  16549. "type": "integer"
  16550. },
  16551. "ismain": {
  16552. "description": "是否主账号 1-是 0-否",
  16553. "type": "integer"
  16554. }
  16555. }
  16556. },
  16557. "models.ErmcpDGFactoryItem": {
  16558. "type": "object",
  16559. "properties": {
  16560. "areauserid": {
  16561. "description": "用户id",
  16562. "type": "integer"
  16563. },
  16564. "deliverygoodsid": {
  16565. "description": "现货品种ID",
  16566. "type": "integer"
  16567. },
  16568. "dgfactoryitemid": {
  16569. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16570. "type": "integer"
  16571. },
  16572. "dgfactoryitemtypeid": {
  16573. "description": "要素项类型",
  16574. "type": "integer"
  16575. },
  16576. "dgfactoryitemvalue": {
  16577. "description": "要素项值(类型为仓库时填写仓库名称)",
  16578. "type": "string"
  16579. },
  16580. "isvalid": {
  16581. "description": "是否有效 - 0:无效 1:有效",
  16582. "type": "integer"
  16583. },
  16584. "orderindex": {
  16585. "description": "顺序",
  16586. "type": "integer"
  16587. },
  16588. "warehouseid": {
  16589. "description": "仓库ID(类型为仓库时填写)",
  16590. "type": "integer"
  16591. }
  16592. }
  16593. },
  16594. "models.ErmcpDeliveryGoods": {
  16595. "type": "object",
  16596. "properties": {
  16597. "agreeunit": {
  16598. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16599. "type": "integer"
  16600. },
  16601. "areauserid": {
  16602. "description": "所属机构",
  16603. "type": "integer"
  16604. },
  16605. "auditflag": {
  16606. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16607. "type": "integer"
  16608. },
  16609. "categoryid": {
  16610. "description": "类别ID(SEQ_WRCATEGORY)",
  16611. "type": "integer"
  16612. },
  16613. "deliverygoodscode": {
  16614. "description": "现货品种代码",
  16615. "type": "string"
  16616. },
  16617. "deliverygoodsid": {
  16618. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16619. "type": "integer"
  16620. },
  16621. "deliverygoodsname": {
  16622. "description": "现货品种名称",
  16623. "type": "string"
  16624. },
  16625. "deliverygoodstype": {
  16626. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16627. "type": "integer"
  16628. },
  16629. "dgstatus": {
  16630. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16631. "type": "integer"
  16632. },
  16633. "enumdicname": {
  16634. "description": "现货品种单位名称",
  16635. "type": "string"
  16636. },
  16637. "goodsunitid": {
  16638. "description": "现货品种单位ID",
  16639. "type": "integer"
  16640. },
  16641. "isvalid": {
  16642. "description": "是否有效 - 0:无效 1:有效",
  16643. "type": "integer"
  16644. },
  16645. "qtydecimalplace": {
  16646. "description": "成交量小数位",
  16647. "type": "integer"
  16648. },
  16649. "remark": {
  16650. "description": "备注",
  16651. "type": "string"
  16652. },
  16653. "standardqty": {
  16654. "description": "标准数量(库位数量) [标准品特有]",
  16655. "type": "integer"
  16656. },
  16657. "standardqtyrange": {
  16658. "description": "标准数量偏差范围 [标准品特有]",
  16659. "type": "integer"
  16660. }
  16661. }
  16662. },
  16663. "models.ErmcpDeliveryGoodsDetail2": {
  16664. "type": "object",
  16665. "properties": {
  16666. "convertratio": {
  16667. "description": "套保系数(折算系数)",
  16668. "type": "number"
  16669. },
  16670. "data": {
  16671. "description": "现货商品基本信息(交割品种)",
  16672. "type": "object",
  16673. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16674. },
  16675. "gblist": {
  16676. "description": "品牌列表",
  16677. "type": "array",
  16678. "items": {
  16679. "$ref": "#/definitions/models.Ermcp3Brand"
  16680. }
  16681. },
  16682. "gmlist": {
  16683. "description": "品类列表(仓单标准)",
  16684. "type": "array",
  16685. "items": {
  16686. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16687. }
  16688. }
  16689. }
  16690. },
  16691. "models.ErmcpDeliveryGoodsDetailEx": {
  16692. "type": "object",
  16693. "properties": {
  16694. "data": {
  16695. "description": "现货商品基本信息(交割品种)",
  16696. "type": "object",
  16697. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16698. },
  16699. "gblist": {
  16700. "description": "品牌列表",
  16701. "type": "array",
  16702. "items": {
  16703. "$ref": "#/definitions/models.Ermcp3Brand"
  16704. }
  16705. },
  16706. "gmlist": {
  16707. "description": "品类列表(仓单标准)",
  16708. "type": "array",
  16709. "items": {
  16710. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16711. }
  16712. },
  16713. "mgList": {
  16714. "description": "套保列表",
  16715. "type": "array",
  16716. "items": {
  16717. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16718. }
  16719. }
  16720. }
  16721. },
  16722. "models.ErmcpExposureDetailModel": {
  16723. "type": "object",
  16724. "properties": {
  16725. "areauserid": {
  16726. "description": "机构ID",
  16727. "type": "integer"
  16728. },
  16729. "changeQty": {
  16730. "description": "套保变动量",
  16731. "type": "number"
  16732. },
  16733. "contracttype": {
  16734. "description": "现货合同类型 - 1:采购 -1:销售",
  16735. "type": "integer"
  16736. },
  16737. "convertfactor": {
  16738. "description": "标仓系数",
  16739. "type": "number"
  16740. },
  16741. "convertratio": {
  16742. "description": "套保系数",
  16743. "type": "number"
  16744. },
  16745. "createtime": {
  16746. "description": "时间",
  16747. "type": "string"
  16748. },
  16749. "enumdicname": {
  16750. "description": "现货商品单位名称",
  16751. "type": "string"
  16752. },
  16753. "logtype": {
  16754. "description": "类型 - 1:套保计划 2:现货合同",
  16755. "type": "integer"
  16756. },
  16757. "middlegoodsId": {
  16758. "description": "套保商品id",
  16759. "type": "integer"
  16760. },
  16761. "middlegoodscode": {
  16762. "description": "套保商品代码",
  16763. "type": "string"
  16764. },
  16765. "middlegoodsname": {
  16766. "description": "套保商品名称",
  16767. "type": "string"
  16768. },
  16769. "qty": {
  16770. "description": "数量",
  16771. "type": "number"
  16772. },
  16773. "relateNo": {
  16774. "description": "现货合同/套保计划编号",
  16775. "type": "string"
  16776. },
  16777. "wrstandardcode": {
  16778. "description": "现货商品代码",
  16779. "type": "string"
  16780. },
  16781. "wrstandardid": {
  16782. "description": "现货商品ID",
  16783. "type": "integer"
  16784. },
  16785. "wrstandardname": {
  16786. "description": "现货商品名称",
  16787. "type": "string"
  16788. }
  16789. }
  16790. },
  16791. "models.ErmcpExposurePostion": {
  16792. "type": "object",
  16793. "properties": {
  16794. "agreeunit": {
  16795. "description": "合约单位",
  16796. "type": "string"
  16797. },
  16798. "areauserid": {
  16799. "description": "所属机构id",
  16800. "type": "integer"
  16801. },
  16802. "convertratio": {
  16803. "description": "期货品种系数(折算系数)",
  16804. "type": "number"
  16805. },
  16806. "curqty": {
  16807. "description": "当前持仓",
  16808. "type": "integer"
  16809. },
  16810. "diffhedgeqty": {
  16811. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16812. "type": "number"
  16813. },
  16814. "diffqty": {
  16815. "description": "持仓变动量=当前持仓-昨日持仓",
  16816. "type": "integer"
  16817. },
  16818. "goodscode": {
  16819. "description": "商品代码",
  16820. "type": "string"
  16821. },
  16822. "goodsid": {
  16823. "description": "商品id",
  16824. "type": "integer"
  16825. },
  16826. "goodsname": {
  16827. "description": "商品名称",
  16828. "type": "string"
  16829. },
  16830. "middlegoodsid": {
  16831. "description": "套保商品id",
  16832. "type": "integer"
  16833. },
  16834. "ydqty": {
  16835. "description": "昨日持仓",
  16836. "type": "integer"
  16837. }
  16838. }
  16839. },
  16840. "models.ErmcpFuturesCompany": {
  16841. "type": "object",
  16842. "properties": {
  16843. "brokerid": {
  16844. "description": "经纪公司代码",
  16845. "type": "string"
  16846. },
  16847. "channeladdress": {
  16848. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16849. "type": "string"
  16850. },
  16851. "channelid": {
  16852. "description": "对冲渠道ID",
  16853. "type": "string"
  16854. },
  16855. "createtime": {
  16856. "description": "创建时间",
  16857. "type": "string"
  16858. },
  16859. "creatorid": {
  16860. "description": "创建人",
  16861. "type": "string"
  16862. },
  16863. "fcid": {
  16864. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16865. "type": "integer"
  16866. },
  16867. "fcname": {
  16868. "description": "期货公司名称",
  16869. "type": "string"
  16870. },
  16871. "isvalid": {
  16872. "description": "是否有效 - 0:无效 1:有效",
  16873. "type": "integer"
  16874. },
  16875. "mhpaddress": {
  16876. "description": "MHP服务地址(IP:Port)",
  16877. "type": "string"
  16878. },
  16879. "riskrulegroupid": {
  16880. "description": "风控规则组ID",
  16881. "type": "string"
  16882. },
  16883. "tradefeetmpid": {
  16884. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16885. "type": "string"
  16886. },
  16887. "trademargintmpid": {
  16888. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16889. "type": "string"
  16890. },
  16891. "traderatetmpid": {
  16892. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16893. "type": "string"
  16894. },
  16895. "updatetime": {
  16896. "description": "更新时间",
  16897. "type": "string"
  16898. },
  16899. "updatorid": {
  16900. "description": "更新人",
  16901. "type": "string"
  16902. }
  16903. }
  16904. },
  16905. "models.ErmcpGGConvertCfg": {
  16906. "type": "object",
  16907. "properties": {
  16908. "convertratio": {
  16909. "description": "折算系数",
  16910. "type": "number"
  16911. },
  16912. "destgoodsgroupid": {
  16913. "description": "目标品种ID",
  16914. "type": "integer"
  16915. },
  16916. "dstcode": {
  16917. "description": "目录品种代码",
  16918. "type": "string"
  16919. },
  16920. "dstexchangecode": {
  16921. "description": "目标期货交易所",
  16922. "type": "string"
  16923. },
  16924. "dstname": {
  16925. "description": "目标品种名称",
  16926. "type": "string"
  16927. },
  16928. "dstunitid": {
  16929. "description": "目标品种单位ID",
  16930. "type": "integer"
  16931. },
  16932. "dstunitidname": {
  16933. "description": "目标品种单位名称",
  16934. "type": "string"
  16935. },
  16936. "modifytime": {
  16937. "description": "修改时间",
  16938. "type": "string"
  16939. },
  16940. "srccode": {
  16941. "description": "源品种代码",
  16942. "type": "string"
  16943. },
  16944. "srcexchangecode": {
  16945. "description": "源期货交易所",
  16946. "type": "string"
  16947. },
  16948. "srcgoodsgroupid": {
  16949. "description": "源品种ID",
  16950. "type": "integer"
  16951. },
  16952. "srcname": {
  16953. "description": "源品种名称",
  16954. "type": "string"
  16955. },
  16956. "srcunitid": {
  16957. "description": "源品种单位ID",
  16958. "type": "integer"
  16959. },
  16960. "srcunitidname": {
  16961. "description": "源品种单位名称",
  16962. "type": "string"
  16963. }
  16964. }
  16965. },
  16966. "models.ErmcpGoods": {
  16967. "type": "object",
  16968. "required": [
  16969. "goodscode",
  16970. "goodsid",
  16971. "goodsname",
  16972. "marketid"
  16973. ],
  16974. "properties": {
  16975. "agreeunit": {
  16976. "description": "合约单位",
  16977. "type": "number"
  16978. },
  16979. "areauserid": {
  16980. "description": "所属机构",
  16981. "type": "integer"
  16982. },
  16983. "auditaccountid": {
  16984. "description": "审核操作员账号",
  16985. "type": "integer"
  16986. },
  16987. "audittime": {
  16988. "description": "审核时间",
  16989. "type": "string"
  16990. },
  16991. "cancelaccountid": {
  16992. "description": "注销操作员账号",
  16993. "type": "integer"
  16994. },
  16995. "canceltime": {
  16996. "description": "注销时间",
  16997. "type": "string"
  16998. },
  16999. "closepricemode": {
  17000. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17001. "type": "integer"
  17002. },
  17003. "closepriceparam": {
  17004. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17005. "type": "number"
  17006. },
  17007. "createtime": {
  17008. "description": "创建时间",
  17009. "type": "string"
  17010. },
  17011. "creatorid": {
  17012. "description": "创建人",
  17013. "type": "integer"
  17014. },
  17015. "currencyid": {
  17016. "description": "报价货币ID",
  17017. "type": "integer"
  17018. },
  17019. "cutmode": {
  17020. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17021. "type": "integer"
  17022. },
  17023. "decimalplace": {
  17024. "description": "报价小数位",
  17025. "type": "integer"
  17026. },
  17027. "delistingdate": {
  17028. "description": "商品退市时间(状态:退市) -- 已作废",
  17029. "type": "string"
  17030. },
  17031. "delistingmode": {
  17032. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17033. "type": "integer"
  17034. },
  17035. "deliveryflag": {
  17036. "description": "交割标志 - 0:不可交割 1:可交割",
  17037. "type": "integer"
  17038. },
  17039. "forceclosemode": {
  17040. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17041. "type": "integer"
  17042. },
  17043. "forceclosevalue": {
  17044. "description": "定期强平参数 [收益权]",
  17045. "type": "integer"
  17046. },
  17047. "goodscode": {
  17048. "description": "商品代码(内部)",
  17049. "type": "string"
  17050. },
  17051. "goodscurrencyid": {
  17052. "description": "合约货币ID",
  17053. "type": "integer"
  17054. },
  17055. "goodsgroupid": {
  17056. "description": "所属商品组ID",
  17057. "type": "integer"
  17058. },
  17059. "goodsid": {
  17060. "description": "商品ID(自增ID SEQ_GOODS)",
  17061. "type": "integer"
  17062. },
  17063. "goodsname": {
  17064. "description": "商品名称",
  17065. "type": "string"
  17066. },
  17067. "goodsquotetype": {
  17068. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17069. "type": "integer"
  17070. },
  17071. "goodsstatus": {
  17072. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17073. "type": "integer"
  17074. },
  17075. "goodstradetype": {
  17076. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17077. "type": "integer"
  17078. },
  17079. "goodunitid": {
  17080. "description": "报价单位ID",
  17081. "type": "integer"
  17082. },
  17083. "hasquoter": {
  17084. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17085. "type": "integer"
  17086. },
  17087. "hqprotecttime": {
  17088. "description": "行情保护时间(秒)",
  17089. "type": "integer"
  17090. },
  17091. "innerdealmode": {
  17092. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17093. "type": "integer"
  17094. },
  17095. "isbuylimited": {
  17096. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17097. "type": "integer"
  17098. },
  17099. "isvisible": {
  17100. "description": "游客是否可见 - 0:不可见 1:可见",
  17101. "type": "integer"
  17102. },
  17103. "lasttradedate": {
  17104. "description": "最后交易日期(状态:待退市)",
  17105. "type": "string"
  17106. },
  17107. "listingdate": {
  17108. "description": "交易开始日期",
  17109. "type": "string"
  17110. },
  17111. "marketid": {
  17112. "description": "所属市场ID",
  17113. "type": "integer"
  17114. },
  17115. "modifierid": {
  17116. "description": "修改人",
  17117. "type": "integer"
  17118. },
  17119. "modifystatus": {
  17120. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17121. "type": "integer"
  17122. },
  17123. "modifytime": {
  17124. "description": "修改时间",
  17125. "type": "string"
  17126. },
  17127. "outerdealmode": {
  17128. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17129. "type": "integer"
  17130. },
  17131. "outgoodscode": {
  17132. "description": "商品代码(外部)",
  17133. "type": "string"
  17134. },
  17135. "pictureurl": {
  17136. "description": "商品图片",
  17137. "type": "string"
  17138. },
  17139. "qtydecimalplace": {
  17140. "description": "成交量小数位",
  17141. "type": "integer"
  17142. },
  17143. "quotegear": {
  17144. "description": "行情档位(1-10)",
  17145. "type": "integer"
  17146. },
  17147. "quoteminunit": {
  17148. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17149. "type": "integer"
  17150. },
  17151. "quoteshowtype": {
  17152. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17153. "type": "integer"
  17154. },
  17155. "quoteshowtypeinterval": {
  17156. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17157. "type": "integer"
  17158. },
  17159. "relatedgoodsid": {
  17160. "description": "关联参考商品ID",
  17161. "type": "integer"
  17162. },
  17163. "remark": {
  17164. "description": "备注",
  17165. "type": "string"
  17166. },
  17167. "trademode": {
  17168. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17169. "type": "integer"
  17170. }
  17171. }
  17172. },
  17173. "models.ErmcpGoodsBrand": {
  17174. "type": "object",
  17175. "properties": {
  17176. "areauserid": {
  17177. "description": "所属机构",
  17178. "type": "integer"
  17179. },
  17180. "brandid": {
  17181. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17182. "type": "integer"
  17183. },
  17184. "brandname": {
  17185. "description": "品牌名称",
  17186. "type": "string"
  17187. },
  17188. "createtime": {
  17189. "description": "创建时间",
  17190. "type": "string"
  17191. },
  17192. "creatorid": {
  17193. "description": "创建人",
  17194. "type": "integer"
  17195. },
  17196. "creatorsrc": {
  17197. "description": "创建人来源 - 1:管理端 2:终端",
  17198. "type": "integer"
  17199. },
  17200. "deliverygoodsid": {
  17201. "description": "现货品种ID",
  17202. "type": "integer"
  17203. },
  17204. "isvalid": {
  17205. "description": "是否有效 - 0:无效 1:有效",
  17206. "type": "integer"
  17207. },
  17208. "updatetime": {
  17209. "description": "更新时间",
  17210. "type": "string"
  17211. },
  17212. "updatorid": {
  17213. "description": "更新人",
  17214. "type": "integer"
  17215. },
  17216. "updatorsrc": {
  17217. "description": "更新人来源 - 1:管理端 2:终端",
  17218. "type": "integer"
  17219. },
  17220. "wrstandardid": {
  17221. "description": "现货商品ID",
  17222. "type": "integer"
  17223. }
  17224. }
  17225. },
  17226. "models.ErmcpGoodsModel": {
  17227. "type": "object",
  17228. "properties": {
  17229. "areauserid": {
  17230. "description": "所属机构",
  17231. "type": "integer"
  17232. },
  17233. "convertfactor": {
  17234. "description": "标仓系数",
  17235. "type": "number"
  17236. },
  17237. "createtime": {
  17238. "description": "创建时间",
  17239. "type": "string"
  17240. },
  17241. "creatorid": {
  17242. "description": "创建人",
  17243. "type": "integer"
  17244. },
  17245. "creatorsrc": {
  17246. "description": "创建人来源 - 1:管理端 2:终端",
  17247. "type": "integer"
  17248. },
  17249. "deliverygoodsid": {
  17250. "description": "现货品种ID",
  17251. "type": "integer"
  17252. },
  17253. "isvalid": {
  17254. "description": "是否有效 - 0:无效 1:有效",
  17255. "type": "integer"
  17256. },
  17257. "modelid": {
  17258. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17259. "type": "integer"
  17260. },
  17261. "modelname": {
  17262. "description": "型号名称",
  17263. "type": "string"
  17264. },
  17265. "updatetime": {
  17266. "description": "更新时间",
  17267. "type": "string"
  17268. },
  17269. "updatorid": {
  17270. "description": "更新人",
  17271. "type": "integer"
  17272. },
  17273. "updatorsrc": {
  17274. "description": "更新人来源 - 1:管理端 2:终端",
  17275. "type": "integer"
  17276. },
  17277. "wrstandardid": {
  17278. "description": "现货商品ID",
  17279. "type": "integer"
  17280. }
  17281. }
  17282. },
  17283. "models.ErmcpHedgePosition": {
  17284. "type": "object",
  17285. "properties": {
  17286. "accountid": {
  17287. "description": "资金账号[外部母账户]",
  17288. "type": "integer"
  17289. },
  17290. "curbuyposition": {
  17291. "description": "期末买头寸",
  17292. "type": "integer"
  17293. },
  17294. "cursellposition": {
  17295. "description": "期末卖头寸",
  17296. "type": "integer"
  17297. },
  17298. "curtdbuyposition": {
  17299. "description": "期末今日买头寸",
  17300. "type": "integer"
  17301. },
  17302. "curtdsellposition": {
  17303. "description": "期末今日卖头寸",
  17304. "type": "integer"
  17305. },
  17306. "curydbuyposition": {
  17307. "description": "期末上日买头寸",
  17308. "type": "integer"
  17309. },
  17310. "curydsellposition": {
  17311. "description": "期末上日卖头寸",
  17312. "type": "integer"
  17313. },
  17314. "decreaseqty": {
  17315. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17316. "type": "integer"
  17317. },
  17318. "fretdbuyposition": {
  17319. "description": "冻结今日买头寸",
  17320. "type": "integer"
  17321. },
  17322. "fretdsellposition": {
  17323. "description": "冻结今日卖头寸",
  17324. "type": "integer"
  17325. },
  17326. "freydbuyposition": {
  17327. "description": "冻结上日买头寸",
  17328. "type": "integer"
  17329. },
  17330. "freydsellposition": {
  17331. "description": "冻结上日卖头寸",
  17332. "type": "integer"
  17333. },
  17334. "goodscode": {
  17335. "description": "商品代码",
  17336. "type": "string"
  17337. },
  17338. "goodsid": {
  17339. "description": "商品id",
  17340. "type": "integer"
  17341. },
  17342. "goodsname": {
  17343. "description": "商品名称",
  17344. "type": "string"
  17345. },
  17346. "hedgeaccountcode": {
  17347. "description": "对冲账号",
  17348. "type": "string"
  17349. },
  17350. "hedgegoodsid": {
  17351. "description": "对冲合约ID",
  17352. "type": "integer"
  17353. },
  17354. "increaseqty": {
  17355. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17356. "type": "integer"
  17357. },
  17358. "marketid": {
  17359. "description": "市场ID",
  17360. "type": "integer"
  17361. },
  17362. "relateduserid": {
  17363. "description": "关联用户id",
  17364. "type": "integer"
  17365. },
  17366. "totalcurqty": {
  17367. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17368. "type": "integer"
  17369. },
  17370. "totalydqty": {
  17371. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17372. "type": "integer"
  17373. },
  17374. "tradedate": {
  17375. "description": "交易日(yyyyMMdd)",
  17376. "type": "string"
  17377. },
  17378. "ydbuyposition": {
  17379. "description": "期初买头寸",
  17380. "type": "integer"
  17381. },
  17382. "ydsellposition": {
  17383. "description": "期初卖头寸",
  17384. "type": "integer"
  17385. }
  17386. }
  17387. },
  17388. "models.ErmcpHedgePositionDetail": {
  17389. "type": "object",
  17390. "properties": {
  17391. "buyorsell": {
  17392. "description": "买卖方向 0-买 1-卖",
  17393. "type": "integer"
  17394. },
  17395. "channelbuildtype": {
  17396. "description": "开平方向 1-建仓 2-平仓",
  17397. "type": "integer"
  17398. },
  17399. "goodscode": {
  17400. "description": "商品代码",
  17401. "type": "string"
  17402. },
  17403. "goodsname": {
  17404. "description": "商品名称",
  17405. "type": "string"
  17406. },
  17407. "hedgegoodsid": {
  17408. "description": "商品id",
  17409. "type": "integer"
  17410. },
  17411. "tradeqty": {
  17412. "description": "数量(成交数量)",
  17413. "type": "integer"
  17414. },
  17415. "tradetime": {
  17416. "description": "时间(成交时间)",
  17417. "type": "string"
  17418. }
  17419. }
  17420. },
  17421. "models.ErmcpHisExposure": {
  17422. "type": "object",
  17423. "properties": {
  17424. "needhedgeexposoure": {
  17425. "description": "应套保敞口",
  17426. "type": "number"
  17427. },
  17428. "reckondate": {
  17429. "description": "日照时期(yyyyMMdd)",
  17430. "type": "string"
  17431. },
  17432. "totalexposure": {
  17433. "description": "总敞口",
  17434. "type": "number"
  17435. }
  17436. }
  17437. },
  17438. "models.ErmcpHisExposureS": {
  17439. "type": "object",
  17440. "properties": {
  17441. "data": {
  17442. "description": "历史敞口",
  17443. "type": "array",
  17444. "items": {
  17445. "$ref": "#/definitions/models.ErmcpHisExposure"
  17446. }
  17447. },
  17448. "enumdicname": {
  17449. "description": "单位名称",
  17450. "type": "string"
  17451. },
  17452. "middlegoodscode": {
  17453. "description": "套保品种代码",
  17454. "type": "string"
  17455. },
  17456. "middlegoodsid": {
  17457. "description": "套保品种ID",
  17458. "type": "integer"
  17459. },
  17460. "middlegoodsname": {
  17461. "description": "套保品种名称",
  17462. "type": "string"
  17463. }
  17464. }
  17465. },
  17466. "models.ErmcpLoginTaAccount": {
  17467. "type": "object",
  17468. "properties": {
  17469. "accountid": {
  17470. "description": "账号id",
  17471. "type": "integer"
  17472. },
  17473. "accountname": {
  17474. "description": "账号名称",
  17475. "type": "string"
  17476. }
  17477. }
  17478. },
  17479. "models.ErmcpLoginUser": {
  17480. "type": "object",
  17481. "properties": {
  17482. "acclist": {
  17483. "description": "关联资金账号",
  17484. "type": "array",
  17485. "items": {
  17486. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17487. }
  17488. },
  17489. "accountname": {
  17490. "description": "用户名称",
  17491. "type": "string"
  17492. },
  17493. "clientroleid": {
  17494. "description": "角色id(usertype=2)",
  17495. "type": "integer"
  17496. },
  17497. "createtime": {
  17498. "description": "创建时间",
  17499. "type": "string"
  17500. },
  17501. "logincode": {
  17502. "description": "登录代码",
  17503. "type": "string"
  17504. },
  17505. "loginid": {
  17506. "description": "登录id(LOGINID)",
  17507. "type": "integer"
  17508. },
  17509. "loginname": {
  17510. "description": "登录名称(loginaccount表中的accountname字段)",
  17511. "type": "string"
  17512. },
  17513. "loginstatus": {
  17514. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17515. "type": "integer"
  17516. },
  17517. "memberuserid": {
  17518. "description": "所属会员id",
  17519. "type": "integer"
  17520. },
  17521. "mobile": {
  17522. "description": "手机号",
  17523. "type": "string"
  17524. },
  17525. "modifytime": {
  17526. "description": "修改时间",
  17527. "type": "string"
  17528. },
  17529. "password": {
  17530. "description": "密码(不可解密)",
  17531. "type": "string"
  17532. },
  17533. "rolename": {
  17534. "description": "角色名称",
  17535. "type": "string"
  17536. },
  17537. "rolestatus": {
  17538. "description": "角色状态 1-启用 2-停用",
  17539. "type": "integer"
  17540. },
  17541. "roletype": {
  17542. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17543. "type": "string"
  17544. },
  17545. "userid": {
  17546. "description": "用户id",
  17547. "type": "integer"
  17548. },
  17549. "usertype": {
  17550. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17551. "type": "integer"
  17552. }
  17553. }
  17554. },
  17555. "models.ErmcpLoginUserEx": {
  17556. "type": "object",
  17557. "properties": {
  17558. "accountstatus": {
  17559. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17560. "type": "integer"
  17561. },
  17562. "mobile": {
  17563. "description": "手机号",
  17564. "type": "string"
  17565. },
  17566. "querytype": {
  17567. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17568. "type": "integer"
  17569. },
  17570. "roleid": {
  17571. "description": "角色id(交易账户-\u003e用户id)",
  17572. "type": "integer"
  17573. },
  17574. "rolename": {
  17575. "description": "角色名称(交易账户-\u003e用户名称)",
  17576. "type": "string"
  17577. },
  17578. "userlist": {
  17579. "description": "用户列表",
  17580. "type": "array",
  17581. "items": {
  17582. "$ref": "#/definitions/models.ErmcpLoginUser"
  17583. }
  17584. },
  17585. "usertype": {
  17586. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17587. "type": "integer"
  17588. }
  17589. }
  17590. },
  17591. "models.ErmcpMiddleGoodsChangeLog": {
  17592. "type": "object",
  17593. "properties": {
  17594. "aftervalue": {
  17595. "description": "变更后",
  17596. "type": "number"
  17597. },
  17598. "applyid": {
  17599. "description": "操作人",
  17600. "type": "integer"
  17601. },
  17602. "applyname": {
  17603. "description": "操作人名称",
  17604. "type": "string"
  17605. },
  17606. "applysrc": {
  17607. "description": "操作来源 - 1:管理端 2:终端",
  17608. "type": "integer"
  17609. },
  17610. "beforevalue": {
  17611. "description": "变更前",
  17612. "type": "number"
  17613. },
  17614. "changelogtype": {
  17615. "description": "变更流水类型 - 1:套保比率变更",
  17616. "type": "integer"
  17617. },
  17618. "handlestatus": {
  17619. "description": "处理状态",
  17620. "type": "integer"
  17621. },
  17622. "logdatetime": {
  17623. "description": "流水日期",
  17624. "type": "string"
  17625. },
  17626. "logid": {
  17627. "description": "流水ID",
  17628. "type": "integer"
  17629. },
  17630. "logremark": {
  17631. "description": "流水备注",
  17632. "type": "string"
  17633. },
  17634. "middlegoodsid": {
  17635. "description": "套保品种ID",
  17636. "type": "integer"
  17637. },
  17638. "tradedate": {
  17639. "description": "交易日(yyyyMMdd)",
  17640. "type": "string"
  17641. },
  17642. "updatetime": {
  17643. "description": "更新时间",
  17644. "type": "string"
  17645. }
  17646. }
  17647. },
  17648. "models.ErmcpMiddleGoodsDetail": {
  17649. "type": "object",
  17650. "properties": {
  17651. "cvList": {
  17652. "description": "期货品种折算列表",
  17653. "type": "array",
  17654. "items": {
  17655. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17656. }
  17657. },
  17658. "mg": {
  17659. "description": "套保品种基本信息",
  17660. "type": "object",
  17661. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17662. },
  17663. "wrcList": {
  17664. "description": "现货品种列表(现货商品折算配置)",
  17665. "type": "array",
  17666. "items": {
  17667. "$ref": "#/definitions/models.WRSConverTDetail"
  17668. }
  17669. }
  17670. }
  17671. },
  17672. "models.ErmcpMiddleGoodsModel": {
  17673. "type": "object",
  17674. "properties": {
  17675. "areauserid": {
  17676. "description": "机构用户ID",
  17677. "type": "integer"
  17678. },
  17679. "createtime": {
  17680. "description": "修改时间",
  17681. "type": "string"
  17682. },
  17683. "enumdicname": {
  17684. "description": "单位名称",
  17685. "type": "string"
  17686. },
  17687. "evaluateratio": {
  17688. "description": "估价系数",
  17689. "type": "number"
  17690. },
  17691. "goodsgroupid": {
  17692. "description": "关联期货品种ID",
  17693. "type": "integer"
  17694. },
  17695. "goodsunitid": {
  17696. "description": "单位ID",
  17697. "type": "integer"
  17698. },
  17699. "isvalid": {
  17700. "description": "状态 0-无效(停用) 1-有效(正常)",
  17701. "type": "integer"
  17702. },
  17703. "middlegoodscode": {
  17704. "description": "套保品种代码",
  17705. "type": "string"
  17706. },
  17707. "middlegoodsid": {
  17708. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17709. "type": "integer"
  17710. },
  17711. "middlegoodsname": {
  17712. "description": "套保品种名称",
  17713. "type": "string"
  17714. },
  17715. "modifytime": {
  17716. "description": "修改时间",
  17717. "type": "string"
  17718. },
  17719. "needarbitrageratio": {
  17720. "description": "套利比例",
  17721. "type": "number"
  17722. },
  17723. "needhedgeratio": {
  17724. "description": "套保比率",
  17725. "type": "number"
  17726. },
  17727. "qtydecimalplace": {
  17728. "description": "数量小数位",
  17729. "type": "integer"
  17730. },
  17731. "relatedgoodsid": {
  17732. "description": "关联交易商品ID",
  17733. "type": "integer"
  17734. },
  17735. "relatedgoodstype": {
  17736. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17737. "type": "integer"
  17738. },
  17739. "remark": {
  17740. "description": "备注",
  17741. "type": "string"
  17742. }
  17743. }
  17744. },
  17745. "models.ErmcpMiddlegoodsRelateGoods": {
  17746. "type": "object",
  17747. "properties": {
  17748. "agreeunit": {
  17749. "description": "合约乘数",
  17750. "type": "number"
  17751. },
  17752. "convertratio": {
  17753. "description": "折算系数",
  17754. "type": "number"
  17755. },
  17756. "enumdicname": {
  17757. "description": "单位名称(交易商品)",
  17758. "type": "string"
  17759. },
  17760. "goodscode": {
  17761. "description": "交易商品代码",
  17762. "type": "string"
  17763. },
  17764. "goodsgroupid": {
  17765. "description": "交易品种id",
  17766. "type": "integer"
  17767. },
  17768. "goodsid": {
  17769. "description": "商品Id",
  17770. "type": "integer"
  17771. },
  17772. "goodsname": {
  17773. "description": "交易商品名称",
  17774. "type": "string"
  17775. },
  17776. "goodunitid": {
  17777. "description": "交易商品单位id",
  17778. "type": "integer"
  17779. },
  17780. "middlegoodsid": {
  17781. "description": "套保商品id",
  17782. "type": "integer"
  17783. },
  17784. "middlegoodsname": {
  17785. "description": "套保商品名称",
  17786. "type": "string"
  17787. },
  17788. "middlegoodsswcode": {
  17789. "description": "套保商品代码",
  17790. "type": "string"
  17791. },
  17792. "needarbitrageratio": {
  17793. "description": "应套利比例",
  17794. "type": "number"
  17795. },
  17796. "needhedgeratio": {
  17797. "description": "应套保比例",
  17798. "type": "number"
  17799. }
  17800. }
  17801. },
  17802. "models.ErmcpOPLogModel": {
  17803. "type": "object",
  17804. "properties": {
  17805. "aftervalue": {
  17806. "description": "变更后",
  17807. "type": "number"
  17808. },
  17809. "applyid": {
  17810. "description": "操作人ID",
  17811. "type": "string"
  17812. },
  17813. "applyname": {
  17814. "description": "操作人名称",
  17815. "type": "string"
  17816. },
  17817. "beforevalue": {
  17818. "description": "变更前",
  17819. "type": "number"
  17820. },
  17821. "biztype": {
  17822. "description": "业务类型 - 1:套保计划 2:现货合同",
  17823. "type": "integer"
  17824. },
  17825. "contracttype": {
  17826. "description": "现货合同类型 - 1:采购 -1:销售",
  17827. "type": "integer"
  17828. },
  17829. "logvalue": {
  17830. "description": "数值",
  17831. "type": "number"
  17832. },
  17833. "operatelogtype": {
  17834. "description": "操作流水类型",
  17835. "type": "integer"
  17836. },
  17837. "operatelogtypedesc": {
  17838. "description": "操作流水类型名称",
  17839. "type": "string"
  17840. },
  17841. "relatedid": {
  17842. "description": "现货合同ID\\套保计划",
  17843. "type": "string"
  17844. },
  17845. "updatetime": {
  17846. "description": "更新时间",
  17847. "type": "string"
  17848. }
  17849. }
  17850. },
  17851. "models.ErmcpPendingAudit": {
  17852. "type": "object",
  17853. "properties": {
  17854. "areastockqty": {
  17855. "description": "待审核数量: 库存申请",
  17856. "type": "integer"
  17857. },
  17858. "businessdjqty": {
  17859. "description": "待审核数量: 点价",
  17860. "type": "integer"
  17861. },
  17862. "businessfpqty": {
  17863. "description": "待审核数量: 发票",
  17864. "type": "integer"
  17865. },
  17866. "businessjsqty": {
  17867. "description": "待审核数量: 结算",
  17868. "type": "integer"
  17869. },
  17870. "businesskxqty": {
  17871. "description": "待审核数量: 款项",
  17872. "type": "integer"
  17873. },
  17874. "hedgeplanqty": {
  17875. "description": "待审核数量: 套保计划",
  17876. "type": "integer"
  17877. },
  17878. "spotcontractqty": {
  17879. "description": "待审核数量: 现货合同",
  17880. "type": "integer"
  17881. },
  17882. "userqty": {
  17883. "description": "待审核数量: 用户",
  17884. "type": "integer"
  17885. }
  17886. }
  17887. },
  17888. "models.ErmcpRealExposureModel": {
  17889. "type": "object",
  17890. "properties": {
  17891. "AreaUserID": {
  17892. "description": "所属机构",
  17893. "type": "integer"
  17894. },
  17895. "BuyFutureQty": {
  17896. "description": "买入期货数量",
  17897. "type": "number"
  17898. },
  17899. "BuyPlanQty": {
  17900. "description": "采购计划数量",
  17901. "type": "number"
  17902. },
  17903. "BuyPricedQty": {
  17904. "description": "采购合同已定价数量",
  17905. "type": "number"
  17906. },
  17907. "MiddleGoodsCode": {
  17908. "description": "套保品种代码",
  17909. "type": "string"
  17910. },
  17911. "MiddleGoodsHedgeRatio": {
  17912. "description": "套保比例",
  17913. "type": "number"
  17914. },
  17915. "MiddleGoodsID": {
  17916. "description": "套保品种",
  17917. "type": "integer"
  17918. },
  17919. "MiddleGoodsName": {
  17920. "description": "套保品种名称",
  17921. "type": "string"
  17922. },
  17923. "NeedHedgeExposoure": {
  17924. "description": "应套保敞口(套保敞口)",
  17925. "type": "number"
  17926. },
  17927. "NeedHedgeRatio": {
  17928. "description": "应套保敞口比例",
  17929. "type": "number"
  17930. },
  17931. "OriBuyFutureQty": {
  17932. "description": "期初买入期货数量",
  17933. "type": "number"
  17934. },
  17935. "OriBuyPlanQty": {
  17936. "description": "期初采购计划数量",
  17937. "type": "number"
  17938. },
  17939. "OriBuyPricedQty": {
  17940. "description": "期初采购合同已定价数量",
  17941. "type": "number"
  17942. },
  17943. "OriSellFutureQty": {
  17944. "description": "期初卖出期货数量",
  17945. "type": "number"
  17946. },
  17947. "OriSellPlanQty": {
  17948. "description": "期初销售计划数量",
  17949. "type": "number"
  17950. },
  17951. "OriSellPricedQty": {
  17952. "description": "期初销售合同已定价数量",
  17953. "type": "number"
  17954. },
  17955. "SellFutureQty": {
  17956. "description": "卖出期货数量",
  17957. "type": "number"
  17958. },
  17959. "SellPlanQty": {
  17960. "description": "销售计划数量",
  17961. "type": "number"
  17962. },
  17963. "SellPricedQty": {
  17964. "description": "销售合同已定价数量",
  17965. "type": "number"
  17966. },
  17967. "TotalExposure": {
  17968. "description": "总敞口",
  17969. "type": "number"
  17970. },
  17971. "TotalFutureQty": {
  17972. "description": "期货总量",
  17973. "type": "number"
  17974. },
  17975. "TotalHedgeRatio": {
  17976. "description": "敞口比例",
  17977. "type": "number"
  17978. },
  17979. "TotalNeedHedgeQty": {
  17980. "description": "应套保总量(现货应套保总量)",
  17981. "type": "number"
  17982. },
  17983. "TotalSpotQty": {
  17984. "description": "现货总量",
  17985. "type": "number"
  17986. },
  17987. "arbitrageqty": {
  17988. "description": "套利量",
  17989. "type": "number"
  17990. },
  17991. "diffArbitrageQty": {
  17992. "description": "套利变动量",
  17993. "type": "number"
  17994. },
  17995. "diffExposoureQty": {
  17996. "description": "变动量(套保敞口)",
  17997. "type": "number"
  17998. },
  17999. "diffFutuQty": {
  18000. "description": "变动量(期货总量)",
  18001. "type": "number"
  18002. },
  18003. "diffHedgeQty": {
  18004. "description": "套保变动量",
  18005. "type": "number"
  18006. },
  18007. "diffQty": {
  18008. "description": "变动量(总敞口)",
  18009. "type": "number"
  18010. },
  18011. "diffSpotHedgeQty": {
  18012. "description": "变动量(现货应套保总量)",
  18013. "type": "number"
  18014. },
  18015. "diffSpotQty": {
  18016. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18017. "type": "number"
  18018. },
  18019. "enumdicname": {
  18020. "description": "单位名称",
  18021. "type": "string"
  18022. },
  18023. "hedgeqty": {
  18024. "description": "套保量",
  18025. "type": "number"
  18026. },
  18027. "needarbitrageqty": {
  18028. "description": "应套利量",
  18029. "type": "number"
  18030. },
  18031. "needarbitrageratio": {
  18032. "description": "套利比例",
  18033. "type": "number"
  18034. },
  18035. "needhedgeqty": {
  18036. "description": "应套保量",
  18037. "type": "number"
  18038. },
  18039. "oriTotalFutuQty": {
  18040. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18041. "type": "number"
  18042. },
  18043. "oriTotalSpotQty": {
  18044. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18045. "type": "number"
  18046. },
  18047. "oriarbitrageqty": {
  18048. "description": "期初套利量",
  18049. "type": "number"
  18050. },
  18051. "orihedgeqty": {
  18052. "description": "期初套保量",
  18053. "type": "number"
  18054. },
  18055. "orineedhedgeexposoure": {
  18056. "description": "期初套保敞口",
  18057. "type": "number"
  18058. },
  18059. "oritotalexposure": {
  18060. "description": "期初总敞口",
  18061. "type": "number"
  18062. },
  18063. "oritotalfutureqty": {
  18064. "description": "期初期货总量",
  18065. "type": "number"
  18066. },
  18067. "oritotalneedhedgeqty": {
  18068. "description": "期初现货应套保量",
  18069. "type": "number"
  18070. }
  18071. }
  18072. },
  18073. "models.ErmcpRole": {
  18074. "type": "object",
  18075. "properties": {
  18076. "areauserid": {
  18077. "description": "所属机构",
  18078. "type": "integer"
  18079. },
  18080. "autoid": {
  18081. "description": "角色ID(自增ID)",
  18082. "type": "integer"
  18083. },
  18084. "modifierid": {
  18085. "description": "修改人(创建人)",
  18086. "type": "integer"
  18087. },
  18088. "modifiername": {
  18089. "description": "修改人名称",
  18090. "type": "string"
  18091. },
  18092. "modifytime": {
  18093. "description": "修改时间(创建时间)",
  18094. "type": "string"
  18095. },
  18096. "rolename": {
  18097. "description": "角色名称",
  18098. "type": "string"
  18099. },
  18100. "rolestatus": {
  18101. "description": "角色状态 - 1:启用 2:停用",
  18102. "type": "integer"
  18103. },
  18104. "roletype": {
  18105. "description": "角色类型 - 1- 管理端 2- 交易端",
  18106. "type": "integer"
  18107. }
  18108. }
  18109. },
  18110. "models.ErmcpRoleMenu": {
  18111. "type": "object",
  18112. "properties": {
  18113. "iconame": {
  18114. "description": "菜单图标",
  18115. "type": "string"
  18116. },
  18117. "ishadrole": {
  18118. "description": "是否有权限",
  18119. "type": "boolean"
  18120. },
  18121. "menutype": {
  18122. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18123. "type": "integer"
  18124. },
  18125. "parentcode": {
  18126. "description": "上级资源代码",
  18127. "type": "string"
  18128. },
  18129. "remark": {
  18130. "description": "菜单备注",
  18131. "type": "string"
  18132. },
  18133. "resourcecode": {
  18134. "description": "菜单代码",
  18135. "type": "string"
  18136. },
  18137. "resourcelevel": {
  18138. "description": "级别",
  18139. "type": "integer"
  18140. },
  18141. "resourcename": {
  18142. "description": "菜单名称",
  18143. "type": "string"
  18144. },
  18145. "roleid": {
  18146. "description": "角色id",
  18147. "type": "integer"
  18148. },
  18149. "sort": {
  18150. "description": "排序",
  18151. "type": "integer"
  18152. },
  18153. "url": {
  18154. "description": "URL",
  18155. "type": "string"
  18156. },
  18157. "userid": {
  18158. "description": "用户id",
  18159. "type": "integer"
  18160. }
  18161. }
  18162. },
  18163. "models.ErmcpRoleMenuEx": {
  18164. "type": "object",
  18165. "properties": {
  18166. "menu": {
  18167. "description": "父级菜单",
  18168. "type": "object",
  18169. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18170. },
  18171. "subMenu": {
  18172. "description": "子级菜单",
  18173. "type": "array",
  18174. "items": {
  18175. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18176. }
  18177. }
  18178. }
  18179. },
  18180. "models.ErmcpTaAccount": {
  18181. "type": "object",
  18182. "properties": {
  18183. "accountid": {
  18184. "description": "账户id",
  18185. "type": "integer"
  18186. },
  18187. "accountname": {
  18188. "description": "账户名称",
  18189. "type": "string"
  18190. },
  18191. "currencyid": {
  18192. "description": "币种id",
  18193. "type": "integer"
  18194. },
  18195. "hedgeaccountcode": {
  18196. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18197. "type": "string"
  18198. },
  18199. "ismain": {
  18200. "description": "是否主账户 0-否 1-是",
  18201. "type": "integer"
  18202. },
  18203. "parentaccountid": {
  18204. "description": "父账户id",
  18205. "type": "integer"
  18206. },
  18207. "relateduserid": {
  18208. "description": "关联userid",
  18209. "type": "integer"
  18210. },
  18211. "tradefeetmpid": {
  18212. "description": "手续费模板id",
  18213. "type": "integer"
  18214. },
  18215. "tradefeetmpname": {
  18216. "description": "手续费模板名称",
  18217. "type": "string"
  18218. },
  18219. "trademargintmpid": {
  18220. "description": "保证金模板id",
  18221. "type": "integer"
  18222. },
  18223. "trademargintmpname": {
  18224. "description": "保证金模板名称",
  18225. "type": "string"
  18226. },
  18227. "traderatetmpid": {
  18228. "description": "汇率模板id",
  18229. "type": "integer"
  18230. },
  18231. "traderatetmpname": {
  18232. "description": "汇率模板名称",
  18233. "type": "string"
  18234. },
  18235. "tradestatus": {
  18236. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18237. "type": "integer"
  18238. },
  18239. "userid": {
  18240. "description": "用户id",
  18241. "type": "integer"
  18242. }
  18243. }
  18244. },
  18245. "models.ErmcpTaAccountEx": {
  18246. "type": "object",
  18247. "properties": {
  18248. "mainAcc": {
  18249. "description": "主账号",
  18250. "type": "object",
  18251. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18252. },
  18253. "subacclist": {
  18254. "description": "子账号列表",
  18255. "type": "array",
  18256. "items": {
  18257. "$ref": "#/definitions/models.ErmcpTaAccount"
  18258. }
  18259. }
  18260. }
  18261. },
  18262. "models.ErmcpTaAccountInfo": {
  18263. "type": "object",
  18264. "properties": {
  18265. "accountid": {
  18266. "description": "资金账户ID",
  18267. "type": "integer"
  18268. },
  18269. "accountname": {
  18270. "description": "账户名称",
  18271. "type": "string"
  18272. },
  18273. "balance": {
  18274. "description": "期初余额",
  18275. "type": "number"
  18276. },
  18277. "capitalbalance": {
  18278. "description": "本金余额[外部子账户实际出入金余额]",
  18279. "type": "number"
  18280. },
  18281. "closepl": {
  18282. "description": "今日平仓盈亏",
  18283. "type": "number"
  18284. },
  18285. "creditdecrease": {
  18286. "description": "今日授信减少",
  18287. "type": "number"
  18288. },
  18289. "creditincrease": {
  18290. "description": "今日授信增加",
  18291. "type": "number"
  18292. },
  18293. "curdebt": {
  18294. "description": "期末欠款",
  18295. "type": "number"
  18296. },
  18297. "currencyid": {
  18298. "description": "货币ID",
  18299. "type": "integer"
  18300. },
  18301. "currentbalance": {
  18302. "description": "期末余额",
  18303. "type": "number"
  18304. },
  18305. "freezecharge": {
  18306. "description": "手续费冻结",
  18307. "type": "number"
  18308. },
  18309. "freezemargin": {
  18310. "description": "冻结保证金",
  18311. "type": "number"
  18312. },
  18313. "fromaccountid": {
  18314. "description": "所属上级账户",
  18315. "type": "integer"
  18316. },
  18317. "inamount": {
  18318. "description": "今日入金金额(包括三方入金)",
  18319. "type": "number"
  18320. },
  18321. "ismain": {
  18322. "description": "是否母账号 0:不是母账户 1:是母账户",
  18323. "type": "integer"
  18324. },
  18325. "mortgagecredit": {
  18326. "description": "授信金额",
  18327. "type": "number"
  18328. },
  18329. "oridebt": {
  18330. "description": "期初欠款",
  18331. "type": "number"
  18332. },
  18333. "orifreezecharge": {
  18334. "description": "期初手续费冻结",
  18335. "type": "number"
  18336. },
  18337. "orifreezemargin": {
  18338. "description": "期初冻结保证金",
  18339. "type": "number"
  18340. },
  18341. "orimortgagecredit": {
  18342. "description": "期初授信金额",
  18343. "type": "number"
  18344. },
  18345. "oriothercredit": {
  18346. "description": "期初其它授信金额",
  18347. "type": "number"
  18348. },
  18349. "oriotherfreezemargin": {
  18350. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18351. "type": "number"
  18352. },
  18353. "orioutamountfreeze": {
  18354. "description": "期初出金冻结",
  18355. "type": "number"
  18356. },
  18357. "oriusedmargin": {
  18358. "description": "期初占用保证金",
  18359. "type": "number"
  18360. },
  18361. "othercredit": {
  18362. "description": "其它授信金额",
  18363. "type": "number"
  18364. },
  18365. "othercreditdecrease": {
  18366. "description": "今日其它授信减少",
  18367. "type": "number"
  18368. },
  18369. "othercreditincrease": {
  18370. "description": "今日其它授信增加",
  18371. "type": "number"
  18372. },
  18373. "otherfreezemargin": {
  18374. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18375. "type": "number"
  18376. },
  18377. "outamount": {
  18378. "description": "今日出金金额(包括三方出金)",
  18379. "type": "number"
  18380. },
  18381. "outamountfreeze": {
  18382. "description": "出金冻结",
  18383. "type": "number"
  18384. },
  18385. "outthreshold": {
  18386. "description": "出金阈值",
  18387. "type": "number"
  18388. },
  18389. "parentaccountid": {
  18390. "description": "所属根账号",
  18391. "type": "integer"
  18392. },
  18393. "paycharge": {
  18394. "description": "今日手续费支出",
  18395. "type": "number"
  18396. },
  18397. "relateduserid": {
  18398. "description": "关联用户",
  18399. "type": "integer"
  18400. },
  18401. "signstatus": {
  18402. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18403. "type": "integer"
  18404. },
  18405. "sublevelpath": {
  18406. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18407. "type": "string"
  18408. },
  18409. "taaccounttype": {
  18410. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18411. "type": "integer"
  18412. },
  18413. "thirdinamount": {
  18414. "description": "今日三方入金",
  18415. "type": "number"
  18416. },
  18417. "thirdoutamount": {
  18418. "description": "今日三方出金",
  18419. "type": "number"
  18420. },
  18421. "tradestatus": {
  18422. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18423. "type": "integer"
  18424. },
  18425. "transferamount": {
  18426. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18427. "type": "number"
  18428. },
  18429. "usedmargin": {
  18430. "description": "占用保证金",
  18431. "type": "number"
  18432. },
  18433. "userid": {
  18434. "description": "用户ID",
  18435. "type": "integer"
  18436. }
  18437. }
  18438. },
  18439. "models.ErmcpTaAccountM": {
  18440. "type": "object",
  18441. "properties": {
  18442. "accountid": {
  18443. "description": "账户id",
  18444. "type": "integer"
  18445. },
  18446. "accountname": {
  18447. "description": "账户名称",
  18448. "type": "string"
  18449. },
  18450. "currencyid": {
  18451. "description": "币种id",
  18452. "type": "integer"
  18453. },
  18454. "fcid": {
  18455. "description": "期货公司id",
  18456. "type": "integer"
  18457. },
  18458. "fcname": {
  18459. "description": "期货公司代码",
  18460. "type": "string"
  18461. },
  18462. "hedgeaccountcode": {
  18463. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18464. "type": "string"
  18465. },
  18466. "ismain": {
  18467. "description": "是否主账户 0-否 1-是",
  18468. "type": "integer"
  18469. },
  18470. "parentaccountid": {
  18471. "description": "父账户id",
  18472. "type": "integer"
  18473. },
  18474. "relateduserid": {
  18475. "description": "关联userid",
  18476. "type": "integer"
  18477. },
  18478. "tradefeetmpid": {
  18479. "description": "手续费模板id",
  18480. "type": "integer"
  18481. },
  18482. "tradefeetmpname": {
  18483. "description": "手续费模板名称",
  18484. "type": "string"
  18485. },
  18486. "trademargintmpid": {
  18487. "description": "保证金模板id",
  18488. "type": "integer"
  18489. },
  18490. "trademargintmpname": {
  18491. "description": "保证金模板名称",
  18492. "type": "string"
  18493. },
  18494. "traderatetmpid": {
  18495. "description": "汇率模板id",
  18496. "type": "integer"
  18497. },
  18498. "traderatetmpname": {
  18499. "description": "汇率模板名称",
  18500. "type": "string"
  18501. },
  18502. "tradestatus": {
  18503. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18504. "type": "integer"
  18505. },
  18506. "userid": {
  18507. "description": "用户id",
  18508. "type": "integer"
  18509. }
  18510. }
  18511. },
  18512. "models.ErmcpTradeConfigTMP": {
  18513. "type": "object",
  18514. "properties": {
  18515. "areauserid": {
  18516. "description": "所属机构",
  18517. "type": "integer"
  18518. },
  18519. "basiccurrencyid": {
  18520. "description": "基本币种ID[汇率] - 目标币种",
  18521. "type": "integer"
  18522. },
  18523. "mainaccountid": {
  18524. "description": "主账户ID",
  18525. "type": "integer"
  18526. },
  18527. "modifierid": {
  18528. "description": "修改人",
  18529. "type": "integer"
  18530. },
  18531. "remark": {
  18532. "description": "备注",
  18533. "type": "string"
  18534. },
  18535. "tradeconfigtmpid": {
  18536. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18537. "type": "integer"
  18538. },
  18539. "tradeconfigtmpname": {
  18540. "description": "交易配置模板名称",
  18541. "type": "string"
  18542. },
  18543. "tradeconfigtmptype": {
  18544. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18545. "type": "integer"
  18546. },
  18547. "updatetime": {
  18548. "description": "更新时间",
  18549. "type": "string"
  18550. }
  18551. }
  18552. },
  18553. "models.ErmcpUserModel": {
  18554. "type": "object",
  18555. "properties": {
  18556. "address": {
  18557. "description": "通讯地址",
  18558. "type": "string"
  18559. },
  18560. "attachment1": {
  18561. "description": "附件1",
  18562. "type": "string"
  18563. },
  18564. "audittime": {
  18565. "description": "审核时间",
  18566. "type": "string"
  18567. },
  18568. "cardbackphotourl": {
  18569. "description": "证件反面图片地址",
  18570. "type": "string"
  18571. },
  18572. "cardfrontphotourl": {
  18573. "description": "证件正面图片地址",
  18574. "type": "string"
  18575. },
  18576. "cardnum": {
  18577. "description": "证件号码",
  18578. "type": "string"
  18579. },
  18580. "cardtype": {
  18581. "description": "证件类型",
  18582. "type": "integer"
  18583. },
  18584. "cardtypename": {
  18585. "description": "证件类型名称",
  18586. "type": "string"
  18587. },
  18588. "cityid": {
  18589. "description": "市",
  18590. "type": "integer"
  18591. },
  18592. "contactname": {
  18593. "description": "联系人",
  18594. "type": "string"
  18595. },
  18596. "countryid": {
  18597. "description": "国家",
  18598. "type": "integer"
  18599. },
  18600. "createtime": {
  18601. "description": "创建时间",
  18602. "type": "string"
  18603. },
  18604. "customername": {
  18605. "description": "企业名称",
  18606. "type": "string"
  18607. },
  18608. "districtid": {
  18609. "description": "区域",
  18610. "type": "integer"
  18611. },
  18612. "email": {
  18613. "description": "邮件",
  18614. "type": "string"
  18615. },
  18616. "legalpersonname": {
  18617. "description": "法人姓名(企业)",
  18618. "type": "string"
  18619. },
  18620. "memberuserid": {
  18621. "description": "所属机构ID",
  18622. "type": "integer"
  18623. },
  18624. "mobile": {
  18625. "description": "手机号码",
  18626. "type": "string"
  18627. },
  18628. "modifytime": {
  18629. "description": "修改时间",
  18630. "type": "string"
  18631. },
  18632. "nickname": {
  18633. "description": "昵称",
  18634. "type": "string"
  18635. },
  18636. "provinceid": {
  18637. "description": "省",
  18638. "type": "integer"
  18639. },
  18640. "remark": {
  18641. "description": "备注",
  18642. "type": "string"
  18643. },
  18644. "status": {
  18645. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18646. "type": "integer"
  18647. },
  18648. "statusdesc": {
  18649. "description": "账户状态中文描述",
  18650. "type": "string"
  18651. },
  18652. "taxpayernum": {
  18653. "description": "纳税人识别号",
  18654. "type": "string"
  18655. },
  18656. "telphone": {
  18657. "description": "联系电话",
  18658. "type": "string"
  18659. },
  18660. "userid": {
  18661. "description": "用户ID",
  18662. "type": "integer"
  18663. },
  18664. "userinfotype": {
  18665. "description": "客户类型",
  18666. "type": "string"
  18667. }
  18668. }
  18669. },
  18670. "models.ErmcpWareHouseInfo": {
  18671. "type": "object",
  18672. "properties": {
  18673. "address": {
  18674. "description": "详细地址",
  18675. "type": "string"
  18676. },
  18677. "areauserid": {
  18678. "description": "所属机构",
  18679. "type": "integer"
  18680. },
  18681. "autoid": {
  18682. "description": "自增ID(仓库ID)",
  18683. "type": "integer"
  18684. },
  18685. "cityid": {
  18686. "description": "市",
  18687. "type": "integer"
  18688. },
  18689. "contactname": {
  18690. "description": "联系人",
  18691. "type": "string"
  18692. },
  18693. "contactnum": {
  18694. "description": "联系电话",
  18695. "type": "string"
  18696. },
  18697. "countryid": {
  18698. "description": "国家",
  18699. "type": "integer"
  18700. },
  18701. "createtime": {
  18702. "description": "创建时间",
  18703. "type": "string"
  18704. },
  18705. "districtid": {
  18706. "description": "区",
  18707. "type": "integer"
  18708. },
  18709. "hasvideo": {
  18710. "description": "是否有视频 - 0:无 1:有",
  18711. "type": "integer"
  18712. },
  18713. "provinceid": {
  18714. "description": "省",
  18715. "type": "integer"
  18716. },
  18717. "remark": {
  18718. "description": "审核备注",
  18719. "type": "string"
  18720. },
  18721. "videourl": {
  18722. "description": "视频地址",
  18723. "type": "string"
  18724. },
  18725. "warehousecode": {
  18726. "description": "仓库代码",
  18727. "type": "string"
  18728. },
  18729. "warehousename": {
  18730. "description": "仓库名称",
  18731. "type": "string"
  18732. },
  18733. "warehousestatus": {
  18734. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18735. "type": "integer"
  18736. },
  18737. "warehousetype": {
  18738. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18739. "type": "integer"
  18740. }
  18741. }
  18742. },
  18743. "models.Externalexchange": {
  18744. "type": "object",
  18745. "required": [
  18746. "autoid"
  18747. ],
  18748. "properties": {
  18749. "autoid": {
  18750. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18751. "type": "integer"
  18752. },
  18753. "exchangefullname": {
  18754. "description": "外部交易所全称",
  18755. "type": "string"
  18756. },
  18757. "exexchangecode": {
  18758. "description": "外部交易所代码",
  18759. "type": "string"
  18760. },
  18761. "exexchangename": {
  18762. "description": "外部交易所名称(简称)",
  18763. "type": "string"
  18764. },
  18765. "ismarketprice": {
  18766. "description": "是否支持市价 - 0:不支持 1:支持",
  18767. "type": "integer"
  18768. },
  18769. "quotegear": {
  18770. "description": "行情档位(1-10)",
  18771. "type": "integer"
  18772. },
  18773. "showbrokerflag": {
  18774. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18775. "type": "integer"
  18776. },
  18777. "updatetime": {
  18778. "description": "更新时间",
  18779. "type": "string"
  18780. }
  18781. }
  18782. },
  18783. "models.Funcmenulist": {
  18784. "type": "object",
  18785. "required": [
  18786. "resourcecode"
  18787. ],
  18788. "properties": {
  18789. "iconame": {
  18790. "description": "菜单图标",
  18791. "type": "string"
  18792. },
  18793. "menutype": {
  18794. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18795. "type": "integer"
  18796. },
  18797. "parentcode": {
  18798. "description": "上级资源代码",
  18799. "type": "string"
  18800. },
  18801. "remark": {
  18802. "description": "备注",
  18803. "type": "string"
  18804. },
  18805. "resourcecode": {
  18806. "description": "资源代码",
  18807. "type": "string"
  18808. },
  18809. "resourcelevel": {
  18810. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18811. "type": "integer"
  18812. },
  18813. "resourcename": {
  18814. "description": "资源名",
  18815. "type": "string"
  18816. },
  18817. "sort": {
  18818. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18819. "type": "integer"
  18820. },
  18821. "url": {
  18822. "description": "URL",
  18823. "type": "string"
  18824. }
  18825. }
  18826. },
  18827. "models.Goods": {
  18828. "type": "object",
  18829. "required": [
  18830. "goodscode",
  18831. "goodsid",
  18832. "goodsname",
  18833. "marketid"
  18834. ],
  18835. "properties": {
  18836. "agreeunit": {
  18837. "description": "合约单位",
  18838. "type": "number"
  18839. },
  18840. "areauserid": {
  18841. "description": "所属机构",
  18842. "type": "integer"
  18843. },
  18844. "auditaccountid": {
  18845. "description": "审核操作员账号",
  18846. "type": "integer"
  18847. },
  18848. "audittime": {
  18849. "description": "审核时间",
  18850. "type": "string"
  18851. },
  18852. "cancelaccountid": {
  18853. "description": "注销操作员账号",
  18854. "type": "integer"
  18855. },
  18856. "canceltime": {
  18857. "description": "注销时间",
  18858. "type": "string"
  18859. },
  18860. "closepricemode": {
  18861. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18862. "type": "integer"
  18863. },
  18864. "closepriceparam": {
  18865. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18866. "type": "number"
  18867. },
  18868. "createtime": {
  18869. "description": "创建时间",
  18870. "type": "string"
  18871. },
  18872. "creatorid": {
  18873. "description": "创建人",
  18874. "type": "integer"
  18875. },
  18876. "currencyid": {
  18877. "description": "报价货币ID",
  18878. "type": "integer"
  18879. },
  18880. "cutmode": {
  18881. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18882. "type": "integer"
  18883. },
  18884. "decimalplace": {
  18885. "description": "报价小数位",
  18886. "type": "integer"
  18887. },
  18888. "delistingdate": {
  18889. "description": "商品退市时间(状态:退市) -- 已作废",
  18890. "type": "string"
  18891. },
  18892. "delistingmode": {
  18893. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18894. "type": "integer"
  18895. },
  18896. "deliveryflag": {
  18897. "description": "交割标志 - 0:不可交割 1:可交割",
  18898. "type": "integer"
  18899. },
  18900. "forceclosemode": {
  18901. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18902. "type": "integer"
  18903. },
  18904. "forceclosevalue": {
  18905. "description": "定期强平参数 [收益权]",
  18906. "type": "integer"
  18907. },
  18908. "goodscode": {
  18909. "description": "商品代码(内部)",
  18910. "type": "string"
  18911. },
  18912. "goodscurrencyid": {
  18913. "description": "合约货币ID",
  18914. "type": "integer"
  18915. },
  18916. "goodsgroupid": {
  18917. "description": "所属商品组ID",
  18918. "type": "integer"
  18919. },
  18920. "goodsid": {
  18921. "description": "商品ID(自增ID SEQ_GOODS)",
  18922. "type": "integer"
  18923. },
  18924. "goodsname": {
  18925. "description": "商品名称",
  18926. "type": "string"
  18927. },
  18928. "goodsquotetype": {
  18929. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18930. "type": "integer"
  18931. },
  18932. "goodsstatus": {
  18933. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18934. "type": "integer"
  18935. },
  18936. "goodstradetype": {
  18937. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18938. "type": "integer"
  18939. },
  18940. "goodunitid": {
  18941. "description": "报价单位ID",
  18942. "type": "integer"
  18943. },
  18944. "hasquoter": {
  18945. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18946. "type": "integer"
  18947. },
  18948. "hqprotecttime": {
  18949. "description": "行情保护时间(秒)",
  18950. "type": "integer"
  18951. },
  18952. "innerdealmode": {
  18953. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18954. "type": "integer"
  18955. },
  18956. "isbuylimited": {
  18957. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18958. "type": "integer"
  18959. },
  18960. "isvisible": {
  18961. "description": "游客是否可见 - 0:不可见 1:可见",
  18962. "type": "integer"
  18963. },
  18964. "lasttradedate": {
  18965. "description": "最后交易日期(状态:待退市)",
  18966. "type": "string"
  18967. },
  18968. "listingdate": {
  18969. "description": "交易开始日期",
  18970. "type": "string"
  18971. },
  18972. "marketid": {
  18973. "description": "所属市场ID",
  18974. "type": "integer"
  18975. },
  18976. "modifierid": {
  18977. "description": "修改人",
  18978. "type": "integer"
  18979. },
  18980. "modifystatus": {
  18981. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18982. "type": "integer"
  18983. },
  18984. "modifytime": {
  18985. "description": "修改时间",
  18986. "type": "string"
  18987. },
  18988. "outerdealmode": {
  18989. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18990. "type": "integer"
  18991. },
  18992. "outgoodscode": {
  18993. "description": "商品代码(外部)",
  18994. "type": "string"
  18995. },
  18996. "pictureurl": {
  18997. "description": "商品图片",
  18998. "type": "string"
  18999. },
  19000. "qtydecimalplace": {
  19001. "description": "成交量小数位",
  19002. "type": "integer"
  19003. },
  19004. "quotegear": {
  19005. "description": "行情档位(1-10)",
  19006. "type": "integer"
  19007. },
  19008. "quoteminunit": {
  19009. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19010. "type": "integer"
  19011. },
  19012. "quoteshowtype": {
  19013. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19014. "type": "integer"
  19015. },
  19016. "quoteshowtypeinterval": {
  19017. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19018. "type": "integer"
  19019. },
  19020. "remark": {
  19021. "description": "备注",
  19022. "type": "string"
  19023. }
  19024. }
  19025. },
  19026. "models.GoodsIDAndName": {
  19027. "type": "object",
  19028. "required": [
  19029. "goodscode",
  19030. "goodsid",
  19031. "goodsname",
  19032. "marketid"
  19033. ],
  19034. "properties": {
  19035. "goodscode": {
  19036. "description": "商品代码(内部)",
  19037. "type": "string"
  19038. },
  19039. "goodsid": {
  19040. "description": "商品ID(自增ID SEQ_GOODS)",
  19041. "type": "integer"
  19042. },
  19043. "goodsname": {
  19044. "description": "商品名称",
  19045. "type": "string"
  19046. },
  19047. "marketid": {
  19048. "description": "所属市场ID",
  19049. "type": "integer"
  19050. }
  19051. }
  19052. },
  19053. "models.Goodsgroup": {
  19054. "type": "object",
  19055. "required": [
  19056. "goodsgroupid",
  19057. "goodsgroupname",
  19058. "goodsgroupstatus",
  19059. "marketid"
  19060. ],
  19061. "properties": {
  19062. "agreeunit": {
  19063. "description": "合约单位",
  19064. "type": "number"
  19065. },
  19066. "canshort": {
  19067. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19068. "type": "integer"
  19069. },
  19070. "closepricemode": {
  19071. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19072. "type": "integer"
  19073. },
  19074. "closepriceparam": {
  19075. "description": "强平最新价浮动比例 - 方式为2时使用",
  19076. "type": "number"
  19077. },
  19078. "createtime": {
  19079. "description": "创建时间",
  19080. "type": "string"
  19081. },
  19082. "creatorid": {
  19083. "description": "创建人",
  19084. "type": "integer"
  19085. },
  19086. "currencyid": {
  19087. "description": "报价货币ID",
  19088. "type": "integer"
  19089. },
  19090. "decimalplace": {
  19091. "description": "报价小数位",
  19092. "type": "integer"
  19093. },
  19094. "exercisetype": {
  19095. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19096. "type": "integer"
  19097. },
  19098. "exexchangeid": {
  19099. "description": "外部交易所ID[通道交易]",
  19100. "type": "integer"
  19101. },
  19102. "goodsgroupid": {
  19103. "description": "商品组ID(自增ID)",
  19104. "type": "integer"
  19105. },
  19106. "goodsgroupname": {
  19107. "description": "商品组名称",
  19108. "type": "string"
  19109. },
  19110. "goodsgroupstatus": {
  19111. "description": "商品组状态 - 1:正常 2:注销",
  19112. "type": "integer"
  19113. },
  19114. "goodunitid": {
  19115. "description": "报价单位ID",
  19116. "type": "integer"
  19117. },
  19118. "innerdealmode": {
  19119. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19120. "type": "integer"
  19121. },
  19122. "isbuylimited": {
  19123. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19124. "type": "integer"
  19125. },
  19126. "marketid": {
  19127. "description": "所属市场ID",
  19128. "type": "integer"
  19129. },
  19130. "modifierid": {
  19131. "description": "修改人",
  19132. "type": "integer"
  19133. },
  19134. "modifytime": {
  19135. "description": "修改时间",
  19136. "type": "string"
  19137. },
  19138. "outerdealmode": {
  19139. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19140. "type": "integer"
  19141. },
  19142. "outergroupcode": {
  19143. "description": "外部商品组代码[通道交易]",
  19144. "type": "string"
  19145. },
  19146. "premiumdecimalplace": {
  19147. "description": "权利金小数位[场外期权]",
  19148. "type": "integer"
  19149. },
  19150. "premiumspreadalgorithm": {
  19151. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19152. "type": "integer"
  19153. },
  19154. "premiumspreadvalue": {
  19155. "description": "权利金点差值[场外期权]",
  19156. "type": "number"
  19157. },
  19158. "qtydecimalplace": {
  19159. "description": "成交量小数位",
  19160. "type": "integer"
  19161. },
  19162. "quotegear": {
  19163. "description": "行情档位(1-10)",
  19164. "type": "integer"
  19165. },
  19166. "quoteminunit": {
  19167. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19168. "type": "integer"
  19169. },
  19170. "quoterid": {
  19171. "description": "报价商ID[场外期权]",
  19172. "type": "integer"
  19173. },
  19174. "quotesourcegroupid": {
  19175. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19176. "type": "integer"
  19177. },
  19178. "syncgoodsqty": {
  19179. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19180. "type": "integer"
  19181. }
  19182. }
  19183. },
  19184. "models.Goodssortbypreposition": {
  19185. "type": "object",
  19186. "required": [
  19187. "goodscode",
  19188. "tradedate"
  19189. ],
  19190. "properties": {
  19191. "goodscode": {
  19192. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19193. "type": "string"
  19194. },
  19195. "goodsgroupcode": {
  19196. "description": "品种代码",
  19197. "type": "string"
  19198. },
  19199. "prepositionqty": {
  19200. "description": "昨持仓量",
  19201. "type": "integer"
  19202. },
  19203. "sortindex": {
  19204. "description": "排序",
  19205. "type": "integer"
  19206. },
  19207. "tradedate": {
  19208. "description": "交易日",
  19209. "type": "string"
  19210. },
  19211. "updatetime": {
  19212. "description": "更新时间",
  19213. "type": "string"
  19214. }
  19215. }
  19216. },
  19217. "models.Hedgeinnerholderdetail": {
  19218. "type": "object",
  19219. "required": [
  19220. "buyorsell",
  19221. "tradeid"
  19222. ],
  19223. "properties": {
  19224. "accountid": {
  19225. "description": "账号ID",
  19226. "type": "integer"
  19227. },
  19228. "buyorsell": {
  19229. "description": "方向 - 0:买 1:卖",
  19230. "type": "integer"
  19231. },
  19232. "freezeqty": {
  19233. "description": "冻结数量 - 按单平使用",
  19234. "type": "integer"
  19235. },
  19236. "goodsid": {
  19237. "description": "商品ID",
  19238. "type": "integer"
  19239. },
  19240. "holderamount": {
  19241. "description": "持仓金额 [商品币种]",
  19242. "type": "number"
  19243. },
  19244. "holderdays": {
  19245. "description": "剩余冻结天数",
  19246. "type": "integer"
  19247. },
  19248. "holderprice": {
  19249. "description": "持仓价格",
  19250. "type": "number"
  19251. },
  19252. "holderqty": {
  19253. "description": "持仓数量",
  19254. "type": "integer"
  19255. },
  19256. "marketid": {
  19257. "description": "市场ID",
  19258. "type": "integer"
  19259. },
  19260. "openprice": {
  19261. "description": "建仓价格",
  19262. "type": "number"
  19263. },
  19264. "openqty": {
  19265. "description": "建仓数量",
  19266. "type": "integer"
  19267. },
  19268. "parentaccountid": {
  19269. "description": "所属母账户",
  19270. "type": "integer"
  19271. },
  19272. "releaseamount": {
  19273. "description": "释放持仓金额[商品币种]",
  19274. "type": "number"
  19275. },
  19276. "tradeamount": {
  19277. "description": "成交金额[账户]",
  19278. "type": "number"
  19279. },
  19280. "tradedate": {
  19281. "description": "交易日(yyyyMMdd)",
  19282. "type": "string"
  19283. },
  19284. "tradeid": {
  19285. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19286. "type": "string"
  19287. },
  19288. "tradetime": {
  19289. "description": "交易时间",
  19290. "type": "string"
  19291. }
  19292. }
  19293. },
  19294. "models.Hedgemarketopenlog": {
  19295. "type": "object",
  19296. "required": [
  19297. "accountid"
  19298. ],
  19299. "properties": {
  19300. "accountid": {
  19301. "description": "资金账号[外部母账户]",
  19302. "type": "integer"
  19303. },
  19304. "fcname": {
  19305. "description": "期货公司名称",
  19306. "type": "string"
  19307. },
  19308. "handlestatus": {
  19309. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19310. "type": "integer"
  19311. },
  19312. "marketid": {
  19313. "description": "市场ID",
  19314. "type": "integer"
  19315. },
  19316. "status": {
  19317. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19318. "type": "integer"
  19319. },
  19320. "tradedate": {
  19321. "description": "交易日(yyyyMMdd)",
  19322. "type": "string"
  19323. },
  19324. "updatetime": {
  19325. "description": "更新时间",
  19326. "type": "string"
  19327. }
  19328. }
  19329. },
  19330. "models.HsbyBuyMyPayOrder": {
  19331. "type": "object",
  19332. "required": [
  19333. "goodscode",
  19334. "goodsname",
  19335. "tradeid",
  19336. "trademode"
  19337. ],
  19338. "properties": {
  19339. "agreeunit": {
  19340. "description": "合约单位",
  19341. "type": "number"
  19342. },
  19343. "buyaccountid": {
  19344. "description": "买方账号ID[报价币种]",
  19345. "type": "integer"
  19346. },
  19347. "buyorderid": {
  19348. "description": "买方委托单号",
  19349. "type": "string"
  19350. },
  19351. "createtime": {
  19352. "description": "创建时间",
  19353. "type": "string"
  19354. },
  19355. "currencysign": {
  19356. "description": "货币符号",
  19357. "type": "string"
  19358. },
  19359. "decimalplace": {
  19360. "description": "报价小数位",
  19361. "type": "integer"
  19362. },
  19363. "goodscode": {
  19364. "description": "商品代码(内部)",
  19365. "type": "string"
  19366. },
  19367. "goodsid": {
  19368. "description": "商品ID",
  19369. "type": "integer"
  19370. },
  19371. "goodsname": {
  19372. "description": "商品名称",
  19373. "type": "string"
  19374. },
  19375. "marketid": {
  19376. "description": "市场ID",
  19377. "type": "integer"
  19378. },
  19379. "offamount": {
  19380. "description": "优惠金额",
  19381. "type": "number"
  19382. },
  19383. "originalamount": {
  19384. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19385. "type": "number"
  19386. },
  19387. "payamount": {
  19388. "description": "支付金额 = TradeAmount + TradeCharge",
  19389. "type": "number"
  19390. },
  19391. "payflag": {
  19392. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19393. "type": "integer"
  19394. },
  19395. "paylimitedtime": {
  19396. "description": "支付期限",
  19397. "type": "string"
  19398. },
  19399. "paytime": {
  19400. "description": "付款时间",
  19401. "type": "string"
  19402. },
  19403. "picurls1": {
  19404. "description": "预售商品介绍图片[多张用逗号分隔]",
  19405. "type": "string"
  19406. },
  19407. "picurls2": {
  19408. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19409. "type": "string"
  19410. },
  19411. "sellaccountid": {
  19412. "description": "卖方账号ID[报价币种]",
  19413. "type": "integer"
  19414. },
  19415. "sellorderid": {
  19416. "description": "卖方委托单号",
  19417. "type": "string"
  19418. },
  19419. "tradeamount": {
  19420. "description": "成交金额",
  19421. "type": "number"
  19422. },
  19423. "tradecharge": {
  19424. "description": "成交手续费(买方)",
  19425. "type": "number"
  19426. },
  19427. "tradedate": {
  19428. "description": "交易日(yyyyMMdd)",
  19429. "type": "string"
  19430. },
  19431. "tradeid": {
  19432. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19433. "type": "string"
  19434. },
  19435. "trademode": {
  19436. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19437. "type": "integer"
  19438. },
  19439. "tradeprice": {
  19440. "description": "成交价格",
  19441. "type": "number"
  19442. },
  19443. "tradeqty": {
  19444. "description": "成交数量",
  19445. "type": "integer"
  19446. },
  19447. "vendorname1": {
  19448. "description": "预售商品供应商名称",
  19449. "type": "string"
  19450. },
  19451. "vendorname2": {
  19452. "description": "挂牌商品供应商名称",
  19453. "type": "string"
  19454. }
  19455. }
  19456. },
  19457. "models.HsbyBuyMyTradeDetail": {
  19458. "type": "object",
  19459. "required": [
  19460. "accountid",
  19461. "buyorsell",
  19462. "goodscode",
  19463. "goodsid",
  19464. "goodsname",
  19465. "marketid",
  19466. "orderid",
  19467. "qty",
  19468. "time",
  19469. "trademode"
  19470. ],
  19471. "properties": {
  19472. "accountid": {
  19473. "description": "账户ID[报价币种]",
  19474. "type": "integer"
  19475. },
  19476. "agreeunit": {
  19477. "description": "合约单位",
  19478. "type": "number"
  19479. },
  19480. "amount": {
  19481. "description": "金额 = 价格 * 数量 * 合约单位",
  19482. "type": "number"
  19483. },
  19484. "buyorsell": {
  19485. "description": "买卖 - 0:买 1:卖",
  19486. "type": "integer"
  19487. },
  19488. "currencysign": {
  19489. "description": "货币符号",
  19490. "type": "string"
  19491. },
  19492. "decimalplace": {
  19493. "description": "报价小数位",
  19494. "type": "integer"
  19495. },
  19496. "goodscode": {
  19497. "description": "商品代码(内部)",
  19498. "type": "string"
  19499. },
  19500. "goodsid": {
  19501. "description": "商品ID",
  19502. "type": "integer"
  19503. },
  19504. "goodsname": {
  19505. "description": "商品名称",
  19506. "type": "string"
  19507. },
  19508. "marketid": {
  19509. "description": "市场ID",
  19510. "type": "integer"
  19511. },
  19512. "orderamount": {
  19513. "description": "委托金额",
  19514. "type": "number"
  19515. },
  19516. "orderid": {
  19517. "description": "单号(成交单号)",
  19518. "type": "string"
  19519. },
  19520. "picurls1": {
  19521. "description": "预售商品介绍图片[多张用逗号分隔]",
  19522. "type": "string"
  19523. },
  19524. "picurls2": {
  19525. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19526. "type": "string"
  19527. },
  19528. "price": {
  19529. "description": "价格",
  19530. "type": "number"
  19531. },
  19532. "qty": {
  19533. "description": "数量",
  19534. "type": "integer"
  19535. },
  19536. "time": {
  19537. "description": "时间",
  19538. "type": "string"
  19539. },
  19540. "trademode": {
  19541. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19542. "type": "integer"
  19543. },
  19544. "vendorname1": {
  19545. "description": "预售商品供应商名称",
  19546. "type": "string"
  19547. },
  19548. "vendorname2": {
  19549. "description": "挂牌商品供应商名称",
  19550. "type": "string"
  19551. }
  19552. }
  19553. },
  19554. "models.HsbyGoodsOrderDetail": {
  19555. "type": "object",
  19556. "required": [
  19557. "buyorsell",
  19558. "orderid",
  19559. "ordertime"
  19560. ],
  19561. "properties": {
  19562. "buyorsell": {
  19563. "description": "买卖 - 0:买 1:卖",
  19564. "type": "integer"
  19565. },
  19566. "currencysign": {
  19567. "description": "货币符号",
  19568. "type": "string"
  19569. },
  19570. "customername": {
  19571. "description": "客户名称(企业名称),已脱敏",
  19572. "type": "string"
  19573. },
  19574. "enableqty": {
  19575. "description": "可用数量",
  19576. "type": "integer"
  19577. },
  19578. "goodunit": {
  19579. "description": "报价单位",
  19580. "type": "string"
  19581. },
  19582. "orderid": {
  19583. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19584. "type": "string"
  19585. },
  19586. "orderprice": {
  19587. "description": "委托价格",
  19588. "type": "number"
  19589. },
  19590. "ordertime": {
  19591. "description": "委托时间",
  19592. "type": "string"
  19593. }
  19594. }
  19595. },
  19596. "models.HsbyListingGoodsDetail": {
  19597. "type": "object",
  19598. "required": [
  19599. "goodscode",
  19600. "goodsid",
  19601. "goodsname",
  19602. "marketid",
  19603. "trademode"
  19604. ],
  19605. "properties": {
  19606. "agreeunit": {
  19607. "description": "合约单位",
  19608. "type": "number"
  19609. },
  19610. "buymaxqty": {
  19611. "description": "购买上限 [71] - 0为不限",
  19612. "type": "integer"
  19613. },
  19614. "currency": {
  19615. "description": "货币",
  19616. "type": "string"
  19617. },
  19618. "currencysign": {
  19619. "description": "货币符号",
  19620. "type": "string"
  19621. },
  19622. "decimalplace": {
  19623. "description": "报价小数位",
  19624. "type": "integer"
  19625. },
  19626. "desccityid": {
  19627. "description": "目的地(市)ID",
  19628. "type": "integer"
  19629. },
  19630. "descprovinceid": {
  19631. "description": "目的地(省)ID",
  19632. "type": "integer"
  19633. },
  19634. "goodscode": {
  19635. "description": "商品代码(内部)",
  19636. "type": "string"
  19637. },
  19638. "goodsdesc": {
  19639. "description": "商品详情",
  19640. "type": "string"
  19641. },
  19642. "goodsid": {
  19643. "description": "商品ID(自增ID SEQ_GOODS)",
  19644. "type": "integer"
  19645. },
  19646. "goodsname": {
  19647. "description": "商品名称",
  19648. "type": "string"
  19649. },
  19650. "goodsprice": {
  19651. "description": "商品价格",
  19652. "type": "number"
  19653. },
  19654. "hotindex": {
  19655. "description": "景点热度",
  19656. "type": "integer"
  19657. },
  19658. "last": {
  19659. "description": "现价",
  19660. "type": "number"
  19661. },
  19662. "limitdown": {
  19663. "description": "跌停价",
  19664. "type": "number"
  19665. },
  19666. "limitup": {
  19667. "description": "涨停价",
  19668. "type": "number"
  19669. },
  19670. "lotsize": {
  19671. "description": "手数最小变动单位",
  19672. "type": "integer"
  19673. },
  19674. "marketid": {
  19675. "description": "所属市场ID",
  19676. "type": "integer"
  19677. },
  19678. "picurls": {
  19679. "description": "介绍图片[多张用逗号分隔]",
  19680. "type": "string"
  19681. },
  19682. "quoteminunit": {
  19683. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19684. "type": "integer"
  19685. },
  19686. "stepvalue": {
  19687. "description": "价格最小变动单位",
  19688. "type": "number"
  19689. },
  19690. "trademode": {
  19691. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19692. "type": "integer"
  19693. },
  19694. "vendorattr": {
  19695. "description": "供应商附件(多张,逗号分隔)",
  19696. "type": "string"
  19697. },
  19698. "vendorname": {
  19699. "description": "供应商名称",
  19700. "type": "string"
  19701. },
  19702. "vendorphone": {
  19703. "description": "供应商客服电话",
  19704. "type": "string"
  19705. },
  19706. "videourls": {
  19707. "description": "介绍视频[多张用逗号分隔]",
  19708. "type": "string"
  19709. }
  19710. }
  19711. },
  19712. "models.HsbyMarketGoods": {
  19713. "type": "object",
  19714. "required": [
  19715. "accountid",
  19716. "buyorsell",
  19717. "goodscode",
  19718. "goodsid",
  19719. "goodsname",
  19720. "marketid",
  19721. "orderid",
  19722. "trademode"
  19723. ],
  19724. "properties": {
  19725. "accountid": {
  19726. "description": "账户ID[报价币种]",
  19727. "type": "integer"
  19728. },
  19729. "agreeunit": {
  19730. "description": "合约单位",
  19731. "type": "number"
  19732. },
  19733. "buyorsell": {
  19734. "description": "买卖 - 0:买 1:卖",
  19735. "type": "integer"
  19736. },
  19737. "categoryid": {
  19738. "description": "类别ID(WRCATEGORY)",
  19739. "type": "integer"
  19740. },
  19741. "currency": {
  19742. "description": "货币",
  19743. "type": "string"
  19744. },
  19745. "currencysign": {
  19746. "description": "货币符号",
  19747. "type": "string"
  19748. },
  19749. "customername": {
  19750. "description": "卖家名称",
  19751. "type": "string"
  19752. },
  19753. "decimalplace": {
  19754. "description": "报价小数位",
  19755. "type": "integer"
  19756. },
  19757. "goodscode": {
  19758. "description": "商品代码(内部)",
  19759. "type": "string"
  19760. },
  19761. "goodsid": {
  19762. "description": "商品ID",
  19763. "type": "integer"
  19764. },
  19765. "goodsname": {
  19766. "description": "商品名称",
  19767. "type": "string"
  19768. },
  19769. "goodsprice": {
  19770. "description": "商品价格",
  19771. "type": "number"
  19772. },
  19773. "hascoupon": {
  19774. "description": "是否可用优惠卷",
  19775. "type": "boolean"
  19776. },
  19777. "hotindex": {
  19778. "description": "景点热度",
  19779. "type": "integer"
  19780. },
  19781. "marketid": {
  19782. "description": "市场ID",
  19783. "type": "integer"
  19784. },
  19785. "orderid": {
  19786. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19787. "type": "string"
  19788. },
  19789. "orderprice": {
  19790. "description": "委托价格",
  19791. "type": "number"
  19792. },
  19793. "orderstatus": {
  19794. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19795. "type": "integer"
  19796. },
  19797. "picurls": {
  19798. "description": "介绍图片[多张用逗号分隔]",
  19799. "type": "string"
  19800. },
  19801. "quoteminunit": {
  19802. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19803. "type": "integer"
  19804. },
  19805. "sellUserID": {
  19806. "description": "卖方UserID",
  19807. "type": "integer"
  19808. },
  19809. "trademode": {
  19810. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19811. "type": "integer"
  19812. },
  19813. "videourls": {
  19814. "description": "介绍视频[多张用逗号分隔]",
  19815. "type": "string"
  19816. }
  19817. }
  19818. },
  19819. "models.HsbyMarketGoodsDetail": {
  19820. "type": "object",
  19821. "required": [
  19822. "accountid",
  19823. "buyorsell",
  19824. "goodscode",
  19825. "goodsid",
  19826. "goodsname",
  19827. "marketid",
  19828. "orderid",
  19829. "orderqty",
  19830. "trademode"
  19831. ],
  19832. "properties": {
  19833. "accountid": {
  19834. "description": "账户ID[报价币种]",
  19835. "type": "integer"
  19836. },
  19837. "agreeunit": {
  19838. "description": "合约单位",
  19839. "type": "number"
  19840. },
  19841. "buymaxqty": {
  19842. "description": "购买上限 [71] - 0为不限",
  19843. "type": "integer"
  19844. },
  19845. "buyorsell": {
  19846. "description": "买卖 - 0:买 1:卖",
  19847. "type": "integer"
  19848. },
  19849. "cancelqty": {
  19850. "description": "撤单数量",
  19851. "type": "integer"
  19852. },
  19853. "categoryid": {
  19854. "description": "类别ID(WRCATEGORY)",
  19855. "type": "integer"
  19856. },
  19857. "currency": {
  19858. "description": "货币",
  19859. "type": "string"
  19860. },
  19861. "currencysign": {
  19862. "description": "货币符号",
  19863. "type": "string"
  19864. },
  19865. "customername": {
  19866. "description": "卖家名称",
  19867. "type": "string"
  19868. },
  19869. "decimalplace": {
  19870. "description": "报价小数位",
  19871. "type": "integer"
  19872. },
  19873. "goodscode": {
  19874. "description": "商品代码(内部)",
  19875. "type": "string"
  19876. },
  19877. "goodsdesc": {
  19878. "description": "商品详情",
  19879. "type": "string"
  19880. },
  19881. "goodsid": {
  19882. "description": "商品ID",
  19883. "type": "integer"
  19884. },
  19885. "goodsname": {
  19886. "description": "商品名称",
  19887. "type": "string"
  19888. },
  19889. "goodsprice": {
  19890. "description": "商品价格",
  19891. "type": "number"
  19892. },
  19893. "hotindex": {
  19894. "description": "景点热度",
  19895. "type": "integer"
  19896. },
  19897. "lotsize": {
  19898. "description": "手数最小变动单位",
  19899. "type": "integer"
  19900. },
  19901. "marketid": {
  19902. "description": "市场ID",
  19903. "type": "integer"
  19904. },
  19905. "orderid": {
  19906. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19907. "type": "string"
  19908. },
  19909. "orderprice": {
  19910. "description": "委托价格",
  19911. "type": "number"
  19912. },
  19913. "orderqty": {
  19914. "description": "委托数量",
  19915. "type": "integer"
  19916. },
  19917. "orderstatus": {
  19918. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19919. "type": "integer"
  19920. },
  19921. "picurls": {
  19922. "description": "介绍图片[多张用逗号分隔]",
  19923. "type": "string"
  19924. },
  19925. "quoteminunit": {
  19926. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19927. "type": "integer"
  19928. },
  19929. "sellUserID": {
  19930. "description": "卖方UserID",
  19931. "type": "integer"
  19932. },
  19933. "trademode": {
  19934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19935. "type": "integer"
  19936. },
  19937. "tradeqty": {
  19938. "description": "成交数量",
  19939. "type": "integer"
  19940. },
  19941. "vendorattr": {
  19942. "description": "供应商附件(多张,逗号分隔)",
  19943. "type": "string"
  19944. },
  19945. "vendorname": {
  19946. "description": "供应商名称",
  19947. "type": "string"
  19948. },
  19949. "vendorphone": {
  19950. "description": "供应商客服电话",
  19951. "type": "string"
  19952. },
  19953. "videourls": {
  19954. "description": "介绍视频[多张用逗号分隔]",
  19955. "type": "string"
  19956. }
  19957. }
  19958. },
  19959. "models.HsbyMarketInfo": {
  19960. "type": "object",
  19961. "required": [
  19962. "marketid",
  19963. "marketstatus",
  19964. "trademode"
  19965. ],
  19966. "properties": {
  19967. "marketid": {
  19968. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19969. "type": "integer"
  19970. },
  19971. "marketname": {
  19972. "description": "市场名称",
  19973. "type": "string"
  19974. },
  19975. "marketstatus": {
  19976. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19977. "type": "integer"
  19978. },
  19979. "trademode": {
  19980. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19981. "type": "integer"
  19982. }
  19983. }
  19984. },
  19985. "models.HsbyMyGoods": {
  19986. "type": "object",
  19987. "required": [
  19988. "accountid",
  19989. "goodscode",
  19990. "goodsid",
  19991. "goodsname",
  19992. "marketid",
  19993. "trademode"
  19994. ],
  19995. "properties": {
  19996. "accountid": {
  19997. "description": "账号Id",
  19998. "type": "integer"
  19999. },
  20000. "agreeunit": {
  20001. "description": "合约单位",
  20002. "type": "number"
  20003. },
  20004. "buyaverageprice": {
  20005. "description": "持仓均价",
  20006. "type": "number"
  20007. },
  20008. "buycurholderamount": {
  20009. "description": "买当前持仓总金额[商品币种]",
  20010. "type": "number"
  20011. },
  20012. "buycurpositionqty": {
  20013. "description": "买当前持仓总数量",
  20014. "type": "integer"
  20015. },
  20016. "buymaxqty": {
  20017. "description": "购买上限 [71] - 0为不限",
  20018. "type": "integer"
  20019. },
  20020. "currencysign": {
  20021. "description": "货币符号",
  20022. "type": "string"
  20023. },
  20024. "decimalplace": {
  20025. "description": "报价小数位",
  20026. "type": "integer"
  20027. },
  20028. "enableqty": {
  20029. "description": "可用数量",
  20030. "type": "integer"
  20031. },
  20032. "goodscode": {
  20033. "description": "商品代码(内部)",
  20034. "type": "string"
  20035. },
  20036. "goodsid": {
  20037. "description": "商品Id",
  20038. "type": "integer"
  20039. },
  20040. "goodsname": {
  20041. "description": "商品名称",
  20042. "type": "string"
  20043. },
  20044. "goodsprice": {
  20045. "description": "商品价格",
  20046. "type": "number"
  20047. },
  20048. "goodsstatus": {
  20049. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20050. "type": "integer"
  20051. },
  20052. "last": {
  20053. "description": "现价(仅使用于挂牌点选)",
  20054. "type": "number"
  20055. },
  20056. "limitdown": {
  20057. "description": "跌停价(仅使用于挂牌点选)",
  20058. "type": "number"
  20059. },
  20060. "limitup": {
  20061. "description": "涨停价(仅使用于挂牌点选)",
  20062. "type": "number"
  20063. },
  20064. "lotsize": {
  20065. "description": "手数最小变动单位",
  20066. "type": "integer"
  20067. },
  20068. "marketid": {
  20069. "description": "所属市场ID",
  20070. "type": "integer"
  20071. },
  20072. "picurls": {
  20073. "description": "介绍图片[多张用逗号分隔]",
  20074. "type": "string"
  20075. },
  20076. "quoteminunit": {
  20077. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20078. "type": "integer"
  20079. },
  20080. "stepvalue": {
  20081. "description": "价格最小变动单位",
  20082. "type": "number"
  20083. },
  20084. "trademode": {
  20085. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20086. "type": "integer"
  20087. }
  20088. }
  20089. },
  20090. "models.HsbyMyPackage": {
  20091. "type": "object",
  20092. "required": [
  20093. "goodscode",
  20094. "goodsname",
  20095. "takeorderid",
  20096. "trademode"
  20097. ],
  20098. "properties": {
  20099. "accountid": {
  20100. "description": "账户ID",
  20101. "type": "integer"
  20102. },
  20103. "address": {
  20104. "description": "提货人详细地址",
  20105. "type": "string"
  20106. },
  20107. "agreeunit": {
  20108. "description": "合约单位",
  20109. "type": "number"
  20110. },
  20111. "amount": {
  20112. "description": "提货金额",
  20113. "type": "number"
  20114. },
  20115. "auditer": {
  20116. "description": "审核人",
  20117. "type": "integer"
  20118. },
  20119. "audittime": {
  20120. "description": "审核时间",
  20121. "type": "string"
  20122. },
  20123. "averageprice": {
  20124. "description": "均价",
  20125. "type": "number"
  20126. },
  20127. "cardnum": {
  20128. "description": "提货人证件号码",
  20129. "type": "string"
  20130. },
  20131. "cardtypeid": {
  20132. "description": "提货人证件类型",
  20133. "type": "integer"
  20134. },
  20135. "checkremark": {
  20136. "description": "审核备注",
  20137. "type": "string"
  20138. },
  20139. "currencysign": {
  20140. "description": "货币符号",
  20141. "type": "string"
  20142. },
  20143. "decimalplace": {
  20144. "description": "报价小数位",
  20145. "type": "integer"
  20146. },
  20147. "goodscode": {
  20148. "description": "商品代码(内部)",
  20149. "type": "string"
  20150. },
  20151. "goodsid": {
  20152. "description": "商品ID",
  20153. "type": "integer"
  20154. },
  20155. "goodsname": {
  20156. "description": "商品名称",
  20157. "type": "string"
  20158. },
  20159. "handlestatus": {
  20160. "description": "处理状态",
  20161. "type": "integer"
  20162. },
  20163. "marketid": {
  20164. "description": "市场ID",
  20165. "type": "integer"
  20166. },
  20167. "phonenum": {
  20168. "description": "提货人联系方式",
  20169. "type": "string"
  20170. },
  20171. "picurls": {
  20172. "description": "介绍图片[多张用逗号分隔]",
  20173. "type": "string"
  20174. },
  20175. "qty": {
  20176. "description": "提货数量",
  20177. "type": "number"
  20178. },
  20179. "recivername": {
  20180. "description": "提货人姓名",
  20181. "type": "string"
  20182. },
  20183. "reqtime": {
  20184. "description": "更新时间",
  20185. "type": "string"
  20186. },
  20187. "takemode": {
  20188. "description": "提货方式 - 2:自提 3:配送",
  20189. "type": "integer"
  20190. },
  20191. "takeorderid": {
  20192. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20193. "type": "string"
  20194. },
  20195. "takeorderstatus": {
  20196. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20197. "type": "integer"
  20198. },
  20199. "takeremark": {
  20200. "description": "提货备注",
  20201. "type": "string"
  20202. },
  20203. "tradedate": {
  20204. "description": "交易日(yyyyMMdd)",
  20205. "type": "string"
  20206. },
  20207. "trademode": {
  20208. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20209. "type": "integer"
  20210. },
  20211. "userid": {
  20212. "description": "用户ID",
  20213. "type": "integer"
  20214. },
  20215. "vendorname": {
  20216. "description": "供应商名称",
  20217. "type": "string"
  20218. }
  20219. }
  20220. },
  20221. "models.HsbyPreGoods": {
  20222. "type": "object",
  20223. "required": [
  20224. "goodscode",
  20225. "goodsid",
  20226. "goodsname",
  20227. "marketid",
  20228. "trademode"
  20229. ],
  20230. "properties": {
  20231. "agreeunit": {
  20232. "description": "合约单位",
  20233. "type": "number"
  20234. },
  20235. "currency": {
  20236. "description": "货币",
  20237. "type": "string"
  20238. },
  20239. "currencysign": {
  20240. "description": "货币符号",
  20241. "type": "string"
  20242. },
  20243. "decimalplace": {
  20244. "description": "报价小数位",
  20245. "type": "integer"
  20246. },
  20247. "desccityid": {
  20248. "description": "目的地(市)",
  20249. "type": "integer"
  20250. },
  20251. "descprovinceid": {
  20252. "description": "目的地(省)",
  20253. "type": "integer"
  20254. },
  20255. "enableqty": {
  20256. "description": "剩余数量",
  20257. "type": "integer"
  20258. },
  20259. "goodscode": {
  20260. "description": "商品代码(内部)",
  20261. "type": "string"
  20262. },
  20263. "goodsid": {
  20264. "description": "商品ID(自增ID SEQ_GOODS)",
  20265. "type": "integer"
  20266. },
  20267. "goodsname": {
  20268. "description": "商品名称",
  20269. "type": "string"
  20270. },
  20271. "goodsstatus": {
  20272. "description": "商品状态- 2:未上市 3:上市",
  20273. "type": "integer"
  20274. },
  20275. "lasttradedate": {
  20276. "description": "最后交易日期(状态:待退市)",
  20277. "type": "string"
  20278. },
  20279. "listingdate": {
  20280. "description": "交易开始日期",
  20281. "type": "string"
  20282. },
  20283. "marketid": {
  20284. "description": "所属市场ID",
  20285. "type": "integer"
  20286. },
  20287. "picurls": {
  20288. "description": "介绍图片[多张用逗号分隔]",
  20289. "type": "string"
  20290. },
  20291. "presaledqty": {
  20292. "description": "已预售量(预售结束时更新)",
  20293. "type": "integer"
  20294. },
  20295. "presaleqty": {
  20296. "description": "预售数量",
  20297. "type": "integer"
  20298. },
  20299. "quoteminunit": {
  20300. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20301. "type": "integer"
  20302. },
  20303. "refprice": {
  20304. "description": "参考价格[一口价]",
  20305. "type": "number"
  20306. },
  20307. "relatedgoodsid": {
  20308. "description": "关联交易合约ID",
  20309. "type": "integer"
  20310. },
  20311. "trademode": {
  20312. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20313. "type": "integer"
  20314. },
  20315. "videourls": {
  20316. "description": "介绍视频[多张用逗号分隔]",
  20317. "type": "string"
  20318. }
  20319. }
  20320. },
  20321. "models.HsbyPreGoodsDetail": {
  20322. "type": "object",
  20323. "required": [
  20324. "goodscode",
  20325. "goodsid",
  20326. "goodsname",
  20327. "marketid",
  20328. "trademode"
  20329. ],
  20330. "properties": {
  20331. "agreeunit": {
  20332. "description": "合约单位",
  20333. "type": "number"
  20334. },
  20335. "buymaxqty": {
  20336. "description": "购买上限 [71] - 0为不限",
  20337. "type": "integer"
  20338. },
  20339. "currency": {
  20340. "description": "货币",
  20341. "type": "string"
  20342. },
  20343. "currencysign": {
  20344. "description": "货币符号",
  20345. "type": "string"
  20346. },
  20347. "customername": {
  20348. "description": "发行单位",
  20349. "type": "string"
  20350. },
  20351. "decimalplace": {
  20352. "description": "报价小数位",
  20353. "type": "integer"
  20354. },
  20355. "desccityid": {
  20356. "description": "目的地(市)ID",
  20357. "type": "integer"
  20358. },
  20359. "descprovinceid": {
  20360. "description": "目的地(省)ID",
  20361. "type": "integer"
  20362. },
  20363. "enableqty": {
  20364. "description": "剩余数量",
  20365. "type": "integer"
  20366. },
  20367. "goodscode": {
  20368. "description": "商品代码(内部)",
  20369. "type": "string"
  20370. },
  20371. "goodsdesc": {
  20372. "description": "商品详情",
  20373. "type": "string"
  20374. },
  20375. "goodsid": {
  20376. "description": "商品ID(自增ID SEQ_GOODS)",
  20377. "type": "integer"
  20378. },
  20379. "goodsname": {
  20380. "description": "商品名称",
  20381. "type": "string"
  20382. },
  20383. "goodsstatus": {
  20384. "description": "商品状态- 2:未上市 3:上市",
  20385. "type": "integer"
  20386. },
  20387. "goodunit": {
  20388. "description": "报价单位",
  20389. "type": "string"
  20390. },
  20391. "lasttradedate": {
  20392. "description": "最后交易日期(状态:待退市)",
  20393. "type": "string"
  20394. },
  20395. "listingdate": {
  20396. "description": "交易开始日期",
  20397. "type": "string"
  20398. },
  20399. "lotsize": {
  20400. "description": "手数最小变动单位",
  20401. "type": "integer"
  20402. },
  20403. "marketid": {
  20404. "description": "所属市场ID",
  20405. "type": "integer"
  20406. },
  20407. "picurls": {
  20408. "description": "介绍图片[多张用逗号分隔]",
  20409. "type": "string"
  20410. },
  20411. "presaledqty": {
  20412. "description": "已预售量(预售结束时更新)",
  20413. "type": "integer"
  20414. },
  20415. "presaleqty": {
  20416. "description": "预售数量",
  20417. "type": "integer"
  20418. },
  20419. "quoteminunit": {
  20420. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20421. "type": "integer"
  20422. },
  20423. "refprice": {
  20424. "description": "参考价格[一口价]",
  20425. "type": "number"
  20426. },
  20427. "relatedgoodsid": {
  20428. "description": "关联交易合约ID",
  20429. "type": "integer"
  20430. },
  20431. "stepvalue": {
  20432. "description": "价格最小变动单位",
  20433. "type": "number"
  20434. },
  20435. "trademode": {
  20436. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20437. "type": "integer"
  20438. },
  20439. "vendorattr": {
  20440. "description": "供应商附件(多张,逗号分隔)",
  20441. "type": "string"
  20442. },
  20443. "vendorname": {
  20444. "description": "供应商名称",
  20445. "type": "string"
  20446. },
  20447. "vendorphone": {
  20448. "description": "供应商客服电话",
  20449. "type": "string"
  20450. },
  20451. "videourls": {
  20452. "description": "介绍视频[多张用逗号分隔]",
  20453. "type": "string"
  20454. }
  20455. }
  20456. },
  20457. "models.HsbySellCollectionOrder": {
  20458. "type": "object",
  20459. "required": [
  20460. "goodscode",
  20461. "goodsname",
  20462. "tradeid",
  20463. "trademode"
  20464. ],
  20465. "properties": {
  20466. "agreeunit": {
  20467. "description": "合约单位",
  20468. "type": "number"
  20469. },
  20470. "buyaccountid": {
  20471. "description": "买方账号ID[报价币种]",
  20472. "type": "integer"
  20473. },
  20474. "buyorderid": {
  20475. "description": "买方委托单号",
  20476. "type": "string"
  20477. },
  20478. "createtime": {
  20479. "description": "创建时间",
  20480. "type": "string"
  20481. },
  20482. "currencysign": {
  20483. "description": "货币符号",
  20484. "type": "string"
  20485. },
  20486. "decimalplace": {
  20487. "description": "报价小数位",
  20488. "type": "integer"
  20489. },
  20490. "goodscode": {
  20491. "description": "商品代码(内部)",
  20492. "type": "string"
  20493. },
  20494. "goodsid": {
  20495. "description": "商品ID",
  20496. "type": "integer"
  20497. },
  20498. "goodsname": {
  20499. "description": "商品名称",
  20500. "type": "string"
  20501. },
  20502. "marketid": {
  20503. "description": "市场ID",
  20504. "type": "integer"
  20505. },
  20506. "offamount": {
  20507. "description": "优惠金额",
  20508. "type": "number"
  20509. },
  20510. "payamount": {
  20511. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20512. "type": "number"
  20513. },
  20514. "payflag": {
  20515. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20516. "type": "integer"
  20517. },
  20518. "paylimitedtime": {
  20519. "description": "支付期限",
  20520. "type": "string"
  20521. },
  20522. "paytime": {
  20523. "description": "付款时间",
  20524. "type": "string"
  20525. },
  20526. "picurls": {
  20527. "description": "商品介绍图片[多张用逗号分隔]",
  20528. "type": "string"
  20529. },
  20530. "sellaccountid": {
  20531. "description": "卖方账号ID[报价币种]",
  20532. "type": "integer"
  20533. },
  20534. "sellorderid": {
  20535. "description": "卖方委托单号",
  20536. "type": "string"
  20537. },
  20538. "tradeamount": {
  20539. "description": "成交金额",
  20540. "type": "number"
  20541. },
  20542. "tradecharge": {
  20543. "description": "成交手续费(买方)",
  20544. "type": "number"
  20545. },
  20546. "tradedate": {
  20547. "description": "交易日(yyyyMMdd)",
  20548. "type": "string"
  20549. },
  20550. "tradeid": {
  20551. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20552. "type": "string"
  20553. },
  20554. "trademode": {
  20555. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20556. "type": "integer"
  20557. },
  20558. "tradeprice": {
  20559. "description": "成交价格",
  20560. "type": "number"
  20561. },
  20562. "tradeqty": {
  20563. "description": "成交数量",
  20564. "type": "integer"
  20565. }
  20566. }
  20567. },
  20568. "models.HsbySellMyDetail": {
  20569. "type": "object",
  20570. "required": [
  20571. "accountid",
  20572. "buyorsell",
  20573. "goodscode",
  20574. "goodsid",
  20575. "goodsname",
  20576. "marketid",
  20577. "orderid",
  20578. "time",
  20579. "trademode"
  20580. ],
  20581. "properties": {
  20582. "accountid": {
  20583. "description": "账户ID[报价币种]",
  20584. "type": "integer"
  20585. },
  20586. "agreeunit": {
  20587. "description": "合约单位",
  20588. "type": "number"
  20589. },
  20590. "buyorsell": {
  20591. "description": "买卖 - 0:买 1:卖",
  20592. "type": "integer"
  20593. },
  20594. "currencysign": {
  20595. "description": "货币符号",
  20596. "type": "string"
  20597. },
  20598. "decimalplace": {
  20599. "description": "报价小数位",
  20600. "type": "integer"
  20601. },
  20602. "goodscode": {
  20603. "description": "商品代码(内部)",
  20604. "type": "string"
  20605. },
  20606. "goodsid": {
  20607. "description": "商品ID",
  20608. "type": "integer"
  20609. },
  20610. "goodsname": {
  20611. "description": "商品名称",
  20612. "type": "string"
  20613. },
  20614. "marketid": {
  20615. "description": "市场ID",
  20616. "type": "integer"
  20617. },
  20618. "orderid": {
  20619. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20620. "type": "string"
  20621. },
  20622. "ordertype": {
  20623. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20624. "type": "integer"
  20625. },
  20626. "picurls": {
  20627. "description": "介绍图片[多张用逗号分隔]",
  20628. "type": "string"
  20629. },
  20630. "price": {
  20631. "description": "价格",
  20632. "type": "number"
  20633. },
  20634. "qty": {
  20635. "description": "数量",
  20636. "type": "integer"
  20637. },
  20638. "time": {
  20639. "description": "时间",
  20640. "type": "string"
  20641. },
  20642. "trademode": {
  20643. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20644. "type": "integer"
  20645. },
  20646. "vendorname": {
  20647. "description": "供应商名称",
  20648. "type": "string"
  20649. }
  20650. }
  20651. },
  20652. "models.HsbyTopGoods": {
  20653. "type": "object",
  20654. "required": [
  20655. "goodscode",
  20656. "goodsid",
  20657. "goodsname",
  20658. "marketid",
  20659. "trademode"
  20660. ],
  20661. "properties": {
  20662. "agreeunit": {
  20663. "description": "合约单位",
  20664. "type": "number"
  20665. },
  20666. "currency": {
  20667. "description": "货币",
  20668. "type": "string"
  20669. },
  20670. "currencysign": {
  20671. "description": "货币符号",
  20672. "type": "string"
  20673. },
  20674. "decimalplace": {
  20675. "description": "报价小数位",
  20676. "type": "integer"
  20677. },
  20678. "desccityid": {
  20679. "description": "目的地(市)",
  20680. "type": "integer"
  20681. },
  20682. "descprovinceid": {
  20683. "description": "目的地(省)",
  20684. "type": "integer"
  20685. },
  20686. "goodscode": {
  20687. "description": "商品代码(内部)",
  20688. "type": "string"
  20689. },
  20690. "goodsid": {
  20691. "description": "商品ID(自增ID SEQ_GOODS)",
  20692. "type": "integer"
  20693. },
  20694. "goodsname": {
  20695. "description": "商品名称",
  20696. "type": "string"
  20697. },
  20698. "hotindex": {
  20699. "description": "景点热度",
  20700. "type": "integer"
  20701. },
  20702. "last": {
  20703. "description": "现价",
  20704. "type": "number"
  20705. },
  20706. "marketid": {
  20707. "description": "所属市场ID",
  20708. "type": "integer"
  20709. },
  20710. "picurls": {
  20711. "description": "介绍图片[多张用逗号分隔]",
  20712. "type": "string"
  20713. },
  20714. "quoteminunit": {
  20715. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20716. "type": "integer"
  20717. },
  20718. "trademode": {
  20719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20720. "type": "integer"
  20721. },
  20722. "videourls": {
  20723. "description": "介绍视频[多张用逗号分隔]",
  20724. "type": "string"
  20725. }
  20726. }
  20727. },
  20728. "models.HybsMyBuyOrderDetail": {
  20729. "type": "object",
  20730. "required": [
  20731. "accountid",
  20732. "buyorsell",
  20733. "goodscode",
  20734. "goodsid",
  20735. "goodsname",
  20736. "marketid",
  20737. "orderid",
  20738. "orderqty",
  20739. "ordertime",
  20740. "trademode"
  20741. ],
  20742. "properties": {
  20743. "accountid": {
  20744. "description": "账户ID[报价币种]",
  20745. "type": "integer"
  20746. },
  20747. "agreeunit": {
  20748. "description": "合约单位",
  20749. "type": "number"
  20750. },
  20751. "buyorsell": {
  20752. "description": "买卖 - 0:买 1:卖",
  20753. "type": "integer"
  20754. },
  20755. "cancelqty": {
  20756. "description": "撤单数量",
  20757. "type": "integer"
  20758. },
  20759. "currencysign": {
  20760. "description": "货币符号",
  20761. "type": "string"
  20762. },
  20763. "decimalplace": {
  20764. "description": "报价小数位",
  20765. "type": "integer"
  20766. },
  20767. "goodscode": {
  20768. "description": "商品代码(内部)",
  20769. "type": "string"
  20770. },
  20771. "goodsid": {
  20772. "description": "商品ID",
  20773. "type": "integer"
  20774. },
  20775. "goodsname": {
  20776. "description": "商品名称",
  20777. "type": "string"
  20778. },
  20779. "listingselecttype": {
  20780. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20781. "type": "integer"
  20782. },
  20783. "marketid": {
  20784. "description": "市场ID",
  20785. "type": "integer"
  20786. },
  20787. "mybuystatus": {
  20788. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20789. "type": "integer"
  20790. },
  20791. "orderamount": {
  20792. "description": "委托金额",
  20793. "type": "number"
  20794. },
  20795. "orderid": {
  20796. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20797. "type": "string"
  20798. },
  20799. "orderprice": {
  20800. "description": "委托价格",
  20801. "type": "number"
  20802. },
  20803. "orderqty": {
  20804. "description": "委托数量",
  20805. "type": "integer"
  20806. },
  20807. "orderstatus": {
  20808. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20809. "type": "integer"
  20810. },
  20811. "ordertime": {
  20812. "description": "委托时间",
  20813. "type": "string"
  20814. },
  20815. "picurls1": {
  20816. "description": "预售商品介绍图片[多张用逗号分隔]",
  20817. "type": "string"
  20818. },
  20819. "picurls2": {
  20820. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20821. "type": "string"
  20822. },
  20823. "trademode": {
  20824. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20825. "type": "integer"
  20826. },
  20827. "tradeqty": {
  20828. "description": "成交数量",
  20829. "type": "integer"
  20830. },
  20831. "vendorname1": {
  20832. "description": "预售商品供应商名称",
  20833. "type": "string"
  20834. },
  20835. "vendorname2": {
  20836. "description": "挂牌商品供应商名称",
  20837. "type": "string"
  20838. }
  20839. }
  20840. },
  20841. "models.Loginaccount": {
  20842. "type": "object",
  20843. "required": [
  20844. "loginid"
  20845. ],
  20846. "properties": {
  20847. "canoutin": {
  20848. "description": "是否可出入金 - 0:不可 1:可",
  20849. "type": "integer"
  20850. },
  20851. "clientroleid": {
  20852. "description": "终端角色ID",
  20853. "type": "integer"
  20854. },
  20855. "haslogined": {
  20856. "description": "是否已登录 - 0:未登录 1:已登录",
  20857. "type": "integer"
  20858. },
  20859. "hasupdatedpwd": {
  20860. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20861. "type": "integer"
  20862. },
  20863. "lastloginip": {
  20864. "description": "最新登录地址",
  20865. "type": "string"
  20866. },
  20867. "lastloginmode": {
  20868. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20869. "type": "integer"
  20870. },
  20871. "lastloginremark": {
  20872. "description": "最新登录描述",
  20873. "type": "string"
  20874. },
  20875. "lastlogintime": {
  20876. "description": "最新登录时间",
  20877. "type": "string"
  20878. },
  20879. "logincode": {
  20880. "description": "登录代码",
  20881. "type": "string"
  20882. },
  20883. "loginfailnum": {
  20884. "description": "连续登录失败次数(登录成功时清零)",
  20885. "type": "integer"
  20886. },
  20887. "loginid": {
  20888. "description": "登陆账号",
  20889. "type": "integer"
  20890. },
  20891. "loginport": {
  20892. "description": "最新登录端口",
  20893. "type": "integer"
  20894. },
  20895. "loginstatus": {
  20896. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20897. "type": "integer"
  20898. },
  20899. "loginusertype": {
  20900. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20901. "type": "integer"
  20902. },
  20903. "modifierid": {
  20904. "description": "修改人",
  20905. "type": "integer"
  20906. },
  20907. "modifytime": {
  20908. "description": "修改时间",
  20909. "type": "string"
  20910. },
  20911. "pwdwrongcount": {
  20912. "description": "密码错误次数",
  20913. "type": "integer"
  20914. },
  20915. "taaccountrighttype": {
  20916. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20917. "type": "integer"
  20918. },
  20919. "unfreezetime": {
  20920. "description": "账户解冻时间",
  20921. "type": "string"
  20922. },
  20923. "userid": {
  20924. "description": "用户ID",
  20925. "type": "integer"
  20926. }
  20927. }
  20928. },
  20929. "models.MainAccountInfo": {
  20930. "type": "object",
  20931. "properties": {
  20932. "accountid": {
  20933. "description": "账号id",
  20934. "type": "integer"
  20935. },
  20936. "accountname": {
  20937. "description": "账号名称(taaccount表中的名称)",
  20938. "type": "string"
  20939. },
  20940. "appid": {
  20941. "description": "AppID",
  20942. "type": "string"
  20943. },
  20944. "authcode": {
  20945. "description": "授权码",
  20946. "type": "string"
  20947. },
  20948. "brokerid": {
  20949. "description": "经纪商id",
  20950. "type": "string"
  20951. },
  20952. "fcid": {
  20953. "description": "期货公司id",
  20954. "type": "integer"
  20955. },
  20956. "fcname": {
  20957. "description": "期货公司代码",
  20958. "type": "string"
  20959. },
  20960. "hedgeaccountcode": {
  20961. "description": "外部账号代码(主账号登录代码)",
  20962. "type": "string"
  20963. },
  20964. "hedgeaccountpwd": {
  20965. "description": "密码",
  20966. "type": "string"
  20967. },
  20968. "ismain": {
  20969. "description": "是否主账号",
  20970. "type": "integer"
  20971. },
  20972. "relateduserid": {
  20973. "description": "关联用户id",
  20974. "type": "integer"
  20975. },
  20976. "userid": {
  20977. "description": "关联用户id",
  20978. "type": "integer"
  20979. }
  20980. }
  20981. },
  20982. "models.Market": {
  20983. "type": "object",
  20984. "required": [
  20985. "marketid",
  20986. "marketstatus",
  20987. "openmethod",
  20988. "reckonpricealgorithm",
  20989. "trademode",
  20990. "tradeproperty"
  20991. ],
  20992. "properties": {
  20993. "auctionwrtype": {
  20994. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20995. "type": "integer"
  20996. },
  20997. "canacceptquote": {
  20998. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20999. "type": "integer"
  21000. },
  21001. "cangoodsexercise": {
  21002. "description": "[期权]是否可现货行权- 0:否 1:是",
  21003. "type": "integer"
  21004. },
  21005. "cangoodsexercisetype": {
  21006. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21007. "type": "integer"
  21008. },
  21009. "canmanualquotestrike": {
  21010. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21011. "type": "integer"
  21012. },
  21013. "canmutistage": {
  21014. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21015. "type": "integer"
  21016. },
  21017. "canpreexercise": {
  21018. "description": "[期权]是否可预申报- 0:否 1:是",
  21019. "type": "integer"
  21020. },
  21021. "clearinterval": {
  21022. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21023. "type": "integer"
  21024. },
  21025. "contracttmp": {
  21026. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21027. "type": "string"
  21028. },
  21029. "exchareaid": {
  21030. "description": "所属交易所,可以没有",
  21031. "type": "integer"
  21032. },
  21033. "goodstype": {
  21034. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21035. "type": "integer"
  21036. },
  21037. "hasrebate": {
  21038. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21039. "type": "integer"
  21040. },
  21041. "hastradecredit": {
  21042. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21043. "type": "integer"
  21044. },
  21045. "haswr": {
  21046. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21047. "type": "integer"
  21048. },
  21049. "isdeductmargin": {
  21050. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21051. "type": "integer"
  21052. },
  21053. "isrecordsource": {
  21054. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21055. "type": "integer"
  21056. },
  21057. "isreleasemargin": {
  21058. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21059. "type": "integer"
  21060. },
  21061. "marginformula": {
  21062. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21063. "type": "integer"
  21064. },
  21065. "marginformula2": {
  21066. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21067. "type": "integer"
  21068. },
  21069. "marketid": {
  21070. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21071. "type": "integer"
  21072. },
  21073. "marketname": {
  21074. "description": "市场名称",
  21075. "type": "string"
  21076. },
  21077. "marketserviceid": {
  21078. "description": "市场服务ID",
  21079. "type": "integer"
  21080. },
  21081. "marketstatus": {
  21082. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21083. "type": "integer"
  21084. },
  21085. "markettype": {
  21086. "description": "市场类型- 1:非交易服务 2:交易服务",
  21087. "type": "integer"
  21088. },
  21089. "matchermode": {
  21090. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21091. "type": "integer"
  21092. },
  21093. "openmethod": {
  21094. "description": "开盘模式 - 0 自动 1手动",
  21095. "type": "integer"
  21096. },
  21097. "otcuserid": {
  21098. "description": "场外期权做市商[场外期权]",
  21099. "type": "integer"
  21100. },
  21101. "outersynctime": {
  21102. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21103. "type": "string"
  21104. },
  21105. "pendingflag": {
  21106. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21107. "type": "integer"
  21108. },
  21109. "pendingtime": {
  21110. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21111. "type": "string"
  21112. },
  21113. "performancetempid": {
  21114. "description": "履约计划模板ID - 作废",
  21115. "type": "integer"
  21116. },
  21117. "premiumquotemode": {
  21118. "description": "权利金报价方式 - 1:自动 2:手动",
  21119. "type": "integer"
  21120. },
  21121. "rebateratio": {
  21122. "description": "返利比率[竞价式]",
  21123. "type": "number"
  21124. },
  21125. "reckonorder": {
  21126. "description": "结算顺序",
  21127. "type": "integer"
  21128. },
  21129. "reckonpricealgorithm": {
  21130. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21131. "type": "integer"
  21132. },
  21133. "reckonpriceparam": {
  21134. "description": "结算价参数",
  21135. "type": "integer"
  21136. },
  21137. "reckontime": {
  21138. "description": "结算时间[通道交易-对冲](HH:mm)",
  21139. "type": "string"
  21140. },
  21141. "roleprioritytype": {
  21142. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21143. "type": "integer"
  21144. },
  21145. "selllistingauditflag": {
  21146. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21147. "type": "integer"
  21148. },
  21149. "trademarkettype": {
  21150. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21151. "type": "integer"
  21152. },
  21153. "trademode": {
  21154. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21155. "type": "integer"
  21156. },
  21157. "tradeproperty": {
  21158. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21159. "type": "integer"
  21160. },
  21161. "tradetype": {
  21162. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21163. "type": "integer"
  21164. }
  21165. }
  21166. },
  21167. "models.Marketrun": {
  21168. "type": "object",
  21169. "required": [
  21170. "marketid",
  21171. "nexttradedate",
  21172. "reckonflag",
  21173. "runstatus",
  21174. "tradedate",
  21175. "tradedate2"
  21176. ],
  21177. "properties": {
  21178. "afternexttradedate": {
  21179. "description": "下下交易日",
  21180. "type": "string"
  21181. },
  21182. "clearquoteflag": {
  21183. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21184. "type": "integer"
  21185. },
  21186. "lastreckondate": {
  21187. "description": "最新交易日(结算成功)",
  21188. "type": "string"
  21189. },
  21190. "machinedate": {
  21191. "description": "机器时间",
  21192. "type": "string"
  21193. },
  21194. "manualflag": {
  21195. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21196. "type": "integer"
  21197. },
  21198. "marketid": {
  21199. "description": "市场ID",
  21200. "type": "integer"
  21201. },
  21202. "nexttradedate": {
  21203. "description": "下一交易日",
  21204. "type": "string"
  21205. },
  21206. "pretradedate": {
  21207. "description": "上一交易日",
  21208. "type": "string"
  21209. },
  21210. "reckonflag": {
  21211. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21212. "type": "integer"
  21213. },
  21214. "runstatus": {
  21215. "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.今日免清算",
  21216. "type": "integer"
  21217. },
  21218. "sectionid": {
  21219. "description": "时间段号[多时段时用]",
  21220. "type": "integer"
  21221. },
  21222. "tradedate": {
  21223. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21224. "type": "string"
  21225. },
  21226. "tradedate2": {
  21227. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21228. "type": "string"
  21229. },
  21230. "updatetime": {
  21231. "description": "更新时间",
  21232. "type": "string"
  21233. }
  21234. }
  21235. },
  21236. "models.Messageboard": {
  21237. "type": "object",
  21238. "required": [
  21239. "messageboardid"
  21240. ],
  21241. "properties": {
  21242. "contactnum": {
  21243. "description": "联系电话",
  21244. "type": "string"
  21245. },
  21246. "createtime": {
  21247. "description": "创建时间",
  21248. "type": "string"
  21249. },
  21250. "message": {
  21251. "description": "留言信息",
  21252. "type": "string"
  21253. },
  21254. "messageboardid": {
  21255. "description": "留言簿ID(SEQ_MessageBoard)",
  21256. "type": "integer"
  21257. },
  21258. "userid": {
  21259. "description": "用户ID",
  21260. "type": "integer"
  21261. }
  21262. }
  21263. },
  21264. "models.MyCoupon": {
  21265. "type": "object",
  21266. "required": [
  21267. "accountid",
  21268. "coupontypeid"
  21269. ],
  21270. "properties": {
  21271. "accountid": {
  21272. "description": "资金账户ID",
  21273. "type": "integer"
  21274. },
  21275. "areauserid": {
  21276. "description": "所属机构",
  21277. "type": "integer"
  21278. },
  21279. "conditionvalue": {
  21280. "description": "条件阈值(可为0)",
  21281. "type": "number"
  21282. },
  21283. "couponcategroy": {
  21284. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21285. "type": "integer"
  21286. },
  21287. "couponname": {
  21288. "description": "优惠券名称",
  21289. "type": "string"
  21290. },
  21291. "coupontypeid": {
  21292. "description": "优惠券类型ID",
  21293. "type": "string"
  21294. },
  21295. "couponvalue": {
  21296. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21297. "type": "number"
  21298. },
  21299. "curfreezeqty": {
  21300. "description": "期末冻结数量",
  21301. "type": "integer"
  21302. },
  21303. "curqty": {
  21304. "description": "期末数量",
  21305. "type": "integer"
  21306. },
  21307. "isgeneral": {
  21308. "description": "是否通用券 - 0:否 1:是",
  21309. "type": "integer"
  21310. },
  21311. "isunusable": {
  21312. "description": "是否不可用",
  21313. "type": "boolean"
  21314. },
  21315. "limitedflag": {
  21316. "description": "是否指定商品 - 0:不限 1:限制",
  21317. "type": "integer"
  21318. },
  21319. "limitedgoodsids": {
  21320. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21321. "type": "string"
  21322. },
  21323. "orifreezeqty": {
  21324. "description": "期初冻结数量",
  21325. "type": "integer"
  21326. },
  21327. "oriqty": {
  21328. "description": "期初数量",
  21329. "type": "integer"
  21330. },
  21331. "reasontype": {
  21332. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21333. "type": "integer"
  21334. },
  21335. "todaydecrease": {
  21336. "description": "今日减少",
  21337. "type": "integer"
  21338. },
  21339. "todayincrease": {
  21340. "description": "今日增加",
  21341. "type": "integer"
  21342. },
  21343. "userid": {
  21344. "description": "用户ID",
  21345. "type": "integer"
  21346. },
  21347. "userscope": {
  21348. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21349. "type": "string"
  21350. }
  21351. }
  21352. },
  21353. "models.MyCouponHold": {
  21354. "type": "object",
  21355. "required": [
  21356. "couponholdid"
  21357. ],
  21358. "properties": {
  21359. "accountid": {
  21360. "description": "资金账户ID",
  21361. "type": "integer"
  21362. },
  21363. "conditionvalue": {
  21364. "description": "条件阈值(可为0)",
  21365. "type": "number"
  21366. },
  21367. "couponcategroy": {
  21368. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21369. "type": "integer"
  21370. },
  21371. "couponholdid": {
  21372. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21373. "type": "string"
  21374. },
  21375. "couponname": {
  21376. "description": "优惠券名称",
  21377. "type": "string"
  21378. },
  21379. "coupontypeid": {
  21380. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21381. "type": "string"
  21382. },
  21383. "couponvalue": {
  21384. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21385. "type": "number"
  21386. },
  21387. "createtime": {
  21388. "description": "创建时间",
  21389. "type": "string"
  21390. },
  21391. "enddate": {
  21392. "description": "结束日期",
  21393. "type": "string"
  21394. },
  21395. "giveapplyid": {
  21396. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21397. "type": "integer"
  21398. },
  21399. "holdstatus": {
  21400. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21401. "type": "integer"
  21402. },
  21403. "isgeneral": {
  21404. "description": "是否通用券 - 0:否 1:是",
  21405. "type": "integer"
  21406. },
  21407. "limitedflag": {
  21408. "description": "是否指定商品 - 0:不限 1:限制",
  21409. "type": "integer"
  21410. },
  21411. "limitedgoodsids": {
  21412. "description": "指定商品IDs[逗号分隔]",
  21413. "type": "string"
  21414. },
  21415. "qty": {
  21416. "description": "数量(按1平铺)",
  21417. "type": "integer"
  21418. },
  21419. "startdate": {
  21420. "description": "开始日期",
  21421. "type": "string"
  21422. },
  21423. "userid": {
  21424. "description": "用户ID",
  21425. "type": "integer"
  21426. },
  21427. "userscope": {
  21428. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21429. "type": "string"
  21430. }
  21431. }
  21432. },
  21433. "models.MyUsedCoupon": {
  21434. "type": "object",
  21435. "required": [
  21436. "coupontypeid",
  21437. "orderid"
  21438. ],
  21439. "properties": {
  21440. "accountid": {
  21441. "description": "资金账户ID(买方)",
  21442. "type": "integer"
  21443. },
  21444. "conditionvalue": {
  21445. "description": "条件阈值(可为0)",
  21446. "type": "number"
  21447. },
  21448. "couponcategroy": {
  21449. "description": "种类 - 1:现金券 2:折扣券",
  21450. "type": "integer"
  21451. },
  21452. "couponname": {
  21453. "description": "优惠券名称",
  21454. "type": "string"
  21455. },
  21456. "coupontypeid": {
  21457. "description": "优惠券类型ID(买方)",
  21458. "type": "string"
  21459. },
  21460. "couponvalue": {
  21461. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21462. "type": "number"
  21463. },
  21464. "createtime": {
  21465. "description": "创建时间",
  21466. "type": "string"
  21467. },
  21468. "goodsid": {
  21469. "description": "商品ID",
  21470. "type": "integer"
  21471. },
  21472. "handlestatus": {
  21473. "description": "处理状态",
  21474. "type": "integer"
  21475. },
  21476. "marketid": {
  21477. "description": "市场ID",
  21478. "type": "integer"
  21479. },
  21480. "offamount": {
  21481. "description": "优惠金额",
  21482. "type": "number"
  21483. },
  21484. "orderid": {
  21485. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21486. "type": "string"
  21487. },
  21488. "sellaccountid": {
  21489. "description": "资金账户ID(卖方)",
  21490. "type": "integer"
  21491. },
  21492. "tradeamount": {
  21493. "description": "成交金额",
  21494. "type": "number"
  21495. },
  21496. "tradeid": {
  21497. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21498. "type": "string"
  21499. },
  21500. "usedqty": {
  21501. "description": "使用数量",
  21502. "type": "integer"
  21503. }
  21504. }
  21505. },
  21506. "models.OperationPrimaryMenu": {
  21507. "type": "object",
  21508. "properties": {
  21509. "Children": {
  21510. "description": "二级功能菜单",
  21511. "type": "array",
  21512. "items": {
  21513. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21514. }
  21515. },
  21516. "Key": {
  21517. "description": "菜单KEY",
  21518. "type": "string"
  21519. },
  21520. "Label": {
  21521. "description": "菜单标题",
  21522. "type": "string"
  21523. }
  21524. }
  21525. },
  21526. "models.OperationSecondaryMenu": {
  21527. "type": "object",
  21528. "properties": {
  21529. "Key": {
  21530. "description": "菜单KEY",
  21531. "type": "string"
  21532. },
  21533. "Label": {
  21534. "description": "菜单标题",
  21535. "type": "string"
  21536. },
  21537. "TabList": {
  21538. "description": "三级功能菜单",
  21539. "type": "array",
  21540. "items": {
  21541. "$ref": "#/definitions/models.OperationTabMenu"
  21542. }
  21543. }
  21544. }
  21545. },
  21546. "models.OperationTabMenu": {
  21547. "type": "object",
  21548. "properties": {
  21549. "Key": {
  21550. "description": "菜单KEY",
  21551. "type": "string"
  21552. },
  21553. "Label": {
  21554. "description": "菜单标题",
  21555. "type": "string"
  21556. }
  21557. }
  21558. },
  21559. "models.PendingAuditBizModel": {
  21560. "type": "object",
  21561. "properties": {
  21562. "accountid": {
  21563. "description": "现货账户",
  21564. "type": "string"
  21565. },
  21566. "areaname": {
  21567. "description": "所属部门",
  21568. "type": "string"
  21569. },
  21570. "bizid": {
  21571. "description": "业务ID",
  21572. "type": "string"
  21573. },
  21574. "bizname": {
  21575. "description": "业务名称",
  21576. "type": "string"
  21577. },
  21578. "status": {
  21579. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21580. "type": "integer"
  21581. },
  21582. "type": {
  21583. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21584. "type": "integer"
  21585. }
  21586. }
  21587. },
  21588. "models.QhjAccountOutInApply": {
  21589. "type": "object",
  21590. "properties": {
  21591. "accountcode": {
  21592. "description": "资金账号",
  21593. "type": "string"
  21594. },
  21595. "accountname": {
  21596. "description": "用户名称(名称)",
  21597. "type": "string"
  21598. },
  21599. "accountpwd": {
  21600. "description": "资金密码",
  21601. "type": "string"
  21602. },
  21603. "accountticket": {
  21604. "description": "最新账户服务流水号",
  21605. "type": "string"
  21606. },
  21607. "amount": {
  21608. "description": "金额",
  21609. "type": "number"
  21610. },
  21611. "applyremark": {
  21612. "description": "申请备注",
  21613. "type": "string"
  21614. },
  21615. "applystatus": {
  21616. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  21617. "type": "integer"
  21618. },
  21619. "auditid": {
  21620. "description": "审核人",
  21621. "type": "integer"
  21622. },
  21623. "audittime": {
  21624. "description": "审核时间",
  21625. "type": "string"
  21626. },
  21627. "bank_apply_ticket": {
  21628. "description": "银行申请流水",
  21629. "type": "string"
  21630. },
  21631. "bankaccountname": {
  21632. "description": "银行账户名",
  21633. "type": "string"
  21634. },
  21635. "bankaccountno": {
  21636. "description": "银行卡号",
  21637. "type": "string"
  21638. },
  21639. "bankid": {
  21640. "description": "银行编号",
  21641. "type": "string"
  21642. },
  21643. "bankticket": {
  21644. "description": "银行流水",
  21645. "type": "string"
  21646. },
  21647. "branchbankid": {
  21648. "description": "银行支行号",
  21649. "type": "string"
  21650. },
  21651. "branchbankname": {
  21652. "description": "银行支行名称",
  21653. "type": "string"
  21654. },
  21655. "capamountout": {
  21656. "description": "出金(劣后本金) - 外部子账户",
  21657. "type": "number"
  21658. },
  21659. "certificatephotourl": {
  21660. "description": "凭证地址",
  21661. "type": "string"
  21662. },
  21663. "charge": {
  21664. "description": "手续费",
  21665. "type": "number"
  21666. },
  21667. "checkerrorflag": {
  21668. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  21669. "type": "integer"
  21670. },
  21671. "currency": {
  21672. "description": "币种",
  21673. "type": "string"
  21674. },
  21675. "cusbankid": {
  21676. "description": "托管银行编号",
  21677. "type": "string"
  21678. },
  21679. "exchticket": {
  21680. "description": "银行服务流水号",
  21681. "type": "string"
  21682. },
  21683. "executetype": {
  21684. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  21685. "type": "integer"
  21686. },
  21687. "extendinfo": {
  21688. "description": "扩展信息",
  21689. "type": "string"
  21690. },
  21691. "extoperateid": {
  21692. "description": "交易服务流水号",
  21693. "type": "integer"
  21694. },
  21695. "infamount": {
  21696. "description": "劣后金额(自有)",
  21697. "type": "number"
  21698. },
  21699. "logincode": {
  21700. "description": "登录账号(账号)",
  21701. "type": "string"
  21702. },
  21703. "netaddr": {
  21704. "description": "调转网址",
  21705. "type": "string"
  21706. },
  21707. "priamount": {
  21708. "description": "优先金额(授信)",
  21709. "type": "number"
  21710. },
  21711. "reauditid": {
  21712. "description": "复审人",
  21713. "type": "integer"
  21714. },
  21715. "reauditremark": {
  21716. "description": "复审备注",
  21717. "type": "string"
  21718. },
  21719. "reaudittime": {
  21720. "description": "复审时间",
  21721. "type": "string"
  21722. },
  21723. "relatedorderid": {
  21724. "description": "三方关联ID",
  21725. "type": "string"
  21726. },
  21727. "remark": {
  21728. "description": "备注",
  21729. "type": "string"
  21730. },
  21731. "remark2": {
  21732. "description": "备注(失败原因)",
  21733. "type": "string"
  21734. },
  21735. "soucreamount": {
  21736. "description": "原始出入金金额",
  21737. "type": "number"
  21738. },
  21739. "soucrecurrencyid": {
  21740. "description": "原始出入金币种",
  21741. "type": "integer"
  21742. },
  21743. "tradedate": {
  21744. "description": "交易日(yyyyMMdd)",
  21745. "type": "string"
  21746. },
  21747. "updatetime": {
  21748. "description": "更新时间(申请时间)",
  21749. "type": "string"
  21750. },
  21751. "userid": {
  21752. "description": "用户id",
  21753. "type": "integer"
  21754. },
  21755. "userinfotype": {
  21756. "description": "账户类型 1-个人 2-企业",
  21757. "type": "integer"
  21758. }
  21759. }
  21760. },
  21761. "models.QhjBankAccountSign": {
  21762. "type": "object",
  21763. "properties": {
  21764. "accountcode": {
  21765. "description": "资金账号",
  21766. "type": "string"
  21767. },
  21768. "accountname": {
  21769. "description": "资金账号对应的账号名(UserName)",
  21770. "type": "string"
  21771. },
  21772. "accounttype": {
  21773. "description": "账户类型(UserType)",
  21774. "type": "integer"
  21775. },
  21776. "applicationtime": {
  21777. "description": "最后一次更新的时间",
  21778. "type": "string"
  21779. },
  21780. "applyexchticket": {
  21781. "description": "申请流水",
  21782. "type": "string"
  21783. },
  21784. "auditid": {
  21785. "description": "审核人",
  21786. "type": "integer"
  21787. },
  21788. "audittime": {
  21789. "description": "审核时间",
  21790. "type": "string"
  21791. },
  21792. "bankaccountname": {
  21793. "description": "签约银行卡账号名",
  21794. "type": "string"
  21795. },
  21796. "bankaccountno": {
  21797. "description": "银行卡号",
  21798. "type": "string"
  21799. },
  21800. "bankaccounttype": {
  21801. "description": "银行账户类型 - 1-对私; 2-对公",
  21802. "type": "integer"
  21803. },
  21804. "bankcardtype": {
  21805. "description": "银行卡类型",
  21806. "type": "integer"
  21807. },
  21808. "bankchildaccount": {
  21809. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  21810. "type": "string"
  21811. },
  21812. "bankcity": {
  21813. "description": "开户行城市",
  21814. "type": "string"
  21815. },
  21816. "bankid": {
  21817. "description": "签约银行ID",
  21818. "type": "string"
  21819. },
  21820. "bankprovince": {
  21821. "description": "开户行省份",
  21822. "type": "string"
  21823. },
  21824. "branchbankid": {
  21825. "description": "签约银行支行号",
  21826. "type": "string"
  21827. },
  21828. "branchbankname": {
  21829. "description": "签约银行支行名称",
  21830. "type": "string"
  21831. },
  21832. "cardno": {
  21833. "description": "证件号码",
  21834. "type": "string"
  21835. },
  21836. "cardtype": {
  21837. "description": "证件类型",
  21838. "type": "string"
  21839. },
  21840. "currency": {
  21841. "description": "币种",
  21842. "type": "string"
  21843. },
  21844. "cusbankid": {
  21845. "description": "托管银行编号",
  21846. "type": "string"
  21847. },
  21848. "direct": {
  21849. "description": "方向(可以判断那方先发起的签约)",
  21850. "type": "integer"
  21851. },
  21852. "exchticket": {
  21853. "description": "最后一次签约成功的流水号",
  21854. "type": "string"
  21855. },
  21856. "extendinfo": {
  21857. "description": "扩展信息(JSON字符串)",
  21858. "type": "string"
  21859. },
  21860. "mobilephone": {
  21861. "description": "手机号",
  21862. "type": "string"
  21863. },
  21864. "netaddr": {
  21865. "description": "调转网址",
  21866. "type": "string"
  21867. },
  21868. "relateduserid": {
  21869. "description": "关联使用者userid",
  21870. "type": "integer"
  21871. },
  21872. "signstatus": {
  21873. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  21874. "type": "integer"
  21875. },
  21876. "updatetime": {
  21877. "description": "更新时间(签解约更新时间)",
  21878. "type": "string"
  21879. }
  21880. }
  21881. },
  21882. "models.QhjBankInfo": {
  21883. "type": "object",
  21884. "properties": {
  21885. "bankid": {
  21886. "description": "银行ID",
  21887. "type": "string"
  21888. },
  21889. "bankname": {
  21890. "description": "银行名称",
  21891. "type": "string"
  21892. },
  21893. "clearbankno": {
  21894. "description": "清算系统银行编号",
  21895. "type": "string"
  21896. },
  21897. "orderindex": {
  21898. "description": "排序顺序",
  21899. "type": "integer"
  21900. },
  21901. "status": {
  21902. "description": "状态 - 0:正常 1:注销",
  21903. "type": "integer"
  21904. }
  21905. }
  21906. },
  21907. "models.QhjContract": {
  21908. "type": "object",
  21909. "properties": {
  21910. "contractconfirmtime": {
  21911. "description": "合同确认时间(时间)",
  21912. "type": "string"
  21913. },
  21914. "enumdicname": {
  21915. "description": "单位名称",
  21916. "type": "string"
  21917. },
  21918. "goodscode": {
  21919. "description": "商品代码",
  21920. "type": "string"
  21921. },
  21922. "goodsid": {
  21923. "description": "商品ID [5:融资单]",
  21924. "type": "integer"
  21925. },
  21926. "goodsname": {
  21927. "description": "商品名称",
  21928. "type": "string"
  21929. },
  21930. "goodunitid": {
  21931. "description": "商品单位id",
  21932. "type": "integer"
  21933. },
  21934. "initmargin": {
  21935. "description": "初始保证金(首付款)",
  21936. "type": "number"
  21937. },
  21938. "lenderamount": {
  21939. "description": "贷款金额(总额|订单总额)",
  21940. "type": "number"
  21941. },
  21942. "marginratio": {
  21943. "description": "保证金比率(首付比例)",
  21944. "type": "number"
  21945. },
  21946. "payamount": {
  21947. "description": "已付(已付货款)",
  21948. "type": "number"
  21949. },
  21950. "recoveredmargin": {
  21951. "description": "已追缴保证金",
  21952. "type": "number"
  21953. },
  21954. "remainamount": {
  21955. "description": "合同剩余金额(融资额)",
  21956. "type": "number"
  21957. },
  21958. "scfcontractid": {
  21959. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21960. "type": "integer"
  21961. },
  21962. "scfcontracttype": {
  21963. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  21964. "type": "integer"
  21965. },
  21966. "totalinterest": {
  21967. "description": "已计总利息(利息)",
  21968. "type": "number"
  21969. },
  21970. "tradeprice": {
  21971. "description": "成交价格(成本价格)",
  21972. "type": "number"
  21973. },
  21974. "userid": {
  21975. "description": "用户ID",
  21976. "type": "integer"
  21977. },
  21978. "username": {
  21979. "description": "用户名称",
  21980. "type": "string"
  21981. },
  21982. "wrqty": {
  21983. "description": "仓单数量(数量)",
  21984. "type": "integer"
  21985. }
  21986. }
  21987. },
  21988. "models.QhjContractLog": {
  21989. "type": "object",
  21990. "properties": {
  21991. "amount": {
  21992. "description": "支付金额",
  21993. "type": "number"
  21994. },
  21995. "amounttype": {
  21996. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  21997. "type": "integer"
  21998. },
  21999. "logid": {
  22000. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22001. "type": "string"
  22002. },
  22003. "remainamount": {
  22004. "description": "剩余货款",
  22005. "type": "number"
  22006. },
  22007. "scfcontractid": {
  22008. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22009. "type": "integer"
  22010. },
  22011. "updatetime": {
  22012. "description": "更新时间",
  22013. "type": "string"
  22014. }
  22015. }
  22016. },
  22017. "models.QhjCusBankSignBankEx": {
  22018. "type": "object",
  22019. "properties": {
  22020. "banklst": {
  22021. "description": "银行列表",
  22022. "type": "array",
  22023. "items": {
  22024. "$ref": "#/definitions/models.QhjBankInfo"
  22025. }
  22026. },
  22027. "canallot": {
  22028. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22029. "type": "integer"
  22030. },
  22031. "canallotquery": {
  22032. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22033. "type": "integer"
  22034. },
  22035. "canbindcard": {
  22036. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22037. "type": "integer"
  22038. },
  22039. "caninamount": {
  22040. "description": "是否可入金 - 0:不可 1:可以",
  22041. "type": "integer"
  22042. },
  22043. "caninamount2": {
  22044. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22045. "type": "integer"
  22046. },
  22047. "canmodifybankcard": {
  22048. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22049. "type": "integer"
  22050. },
  22051. "canmodifyphone": {
  22052. "description": "是否可修改手机号 - 0:不可 1:可以",
  22053. "type": "integer"
  22054. },
  22055. "canmodifysigninfo": {
  22056. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22057. "type": "integer"
  22058. },
  22059. "canoutamount": {
  22060. "description": "是否可出金 - 0:不可 1:可以",
  22061. "type": "integer"
  22062. },
  22063. "canoutamount2": {
  22064. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22065. "type": "integer"
  22066. },
  22067. "canrelease": {
  22068. "description": "是否可解约 - 0:不可 1:可以",
  22069. "type": "integer"
  22070. },
  22071. "canrelease2": {
  22072. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22073. "type": "integer"
  22074. },
  22075. "cansign": {
  22076. "description": "是否可签约 - 0:不可 1:可以",
  22077. "type": "integer"
  22078. },
  22079. "cansign2": {
  22080. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22081. "type": "integer"
  22082. },
  22083. "currency": {
  22084. "description": "币种",
  22085. "type": "string"
  22086. },
  22087. "cusbankid": {
  22088. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22089. "type": "string"
  22090. },
  22091. "cusbankname": {
  22092. "description": "银行业务名称",
  22093. "type": "string"
  22094. },
  22095. "cusbankshortname": {
  22096. "description": "银行业务简称",
  22097. "type": "string"
  22098. },
  22099. "exchbankid": {
  22100. "description": "交易所开户银行ID",
  22101. "type": "string"
  22102. },
  22103. "exchpaybankaccname": {
  22104. "description": "交易所支出结算账户户名",
  22105. "type": "string"
  22106. },
  22107. "exchpaybankaccno": {
  22108. "description": "交易所支出结算账户",
  22109. "type": "string"
  22110. },
  22111. "isneedcheck": {
  22112. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22113. "type": "integer"
  22114. },
  22115. "isneedclear": {
  22116. "description": "是否需要清算 - 0:不需要 1:需要",
  22117. "type": "integer"
  22118. },
  22119. "riskinfo": {
  22120. "description": "签约风险提示书",
  22121. "type": "string"
  22122. }
  22123. }
  22124. },
  22125. "models.QhjCustomer": {
  22126. "type": "object",
  22127. "properties": {
  22128. "address": {
  22129. "description": "通讯地址",
  22130. "type": "string"
  22131. },
  22132. "attachment1": {
  22133. "description": "附件1",
  22134. "type": "string"
  22135. },
  22136. "audittime": {
  22137. "description": "审核时间",
  22138. "type": "string"
  22139. },
  22140. "cardbackphotourl": {
  22141. "description": "证件反面图片地址",
  22142. "type": "string"
  22143. },
  22144. "cardfrontphotourl": {
  22145. "description": "证件正面图片地址",
  22146. "type": "string"
  22147. },
  22148. "cardnum": {
  22149. "description": "证件号码",
  22150. "type": "string"
  22151. },
  22152. "cardtype": {
  22153. "description": "证件类型",
  22154. "type": "integer"
  22155. },
  22156. "cardtypename": {
  22157. "description": "证件类型名称",
  22158. "type": "string"
  22159. },
  22160. "cityid": {
  22161. "description": "市",
  22162. "type": "integer"
  22163. },
  22164. "cityname": {
  22165. "description": "城市名称",
  22166. "type": "string"
  22167. },
  22168. "contactname": {
  22169. "description": "联系人",
  22170. "type": "string"
  22171. },
  22172. "countryid": {
  22173. "description": "国家",
  22174. "type": "integer"
  22175. },
  22176. "countryname": {
  22177. "description": "国家名称",
  22178. "type": "string"
  22179. },
  22180. "createtime": {
  22181. "description": "创建时间",
  22182. "type": "string"
  22183. },
  22184. "customername": {
  22185. "description": "客户名称",
  22186. "type": "string"
  22187. },
  22188. "districtid": {
  22189. "description": "区域",
  22190. "type": "integer"
  22191. },
  22192. "districtname": {
  22193. "description": "地区名称",
  22194. "type": "string"
  22195. },
  22196. "email": {
  22197. "description": "邮件",
  22198. "type": "string"
  22199. },
  22200. "legalpersonname": {
  22201. "description": "法人姓名(企业)",
  22202. "type": "string"
  22203. },
  22204. "memberuserid": {
  22205. "description": "所属机构ID(所属会员)",
  22206. "type": "integer"
  22207. },
  22208. "memberusername": {
  22209. "description": "所属会员名称",
  22210. "type": "string"
  22211. },
  22212. "mobile": {
  22213. "description": "手机号码",
  22214. "type": "string"
  22215. },
  22216. "modifytime": {
  22217. "description": "修改时间",
  22218. "type": "string"
  22219. },
  22220. "nickname": {
  22221. "description": "昵称",
  22222. "type": "string"
  22223. },
  22224. "parentuserid": {
  22225. "description": "上级机构(所属机构)",
  22226. "type": "integer"
  22227. },
  22228. "parentusername": {
  22229. "description": "所属机构名称",
  22230. "type": "string"
  22231. },
  22232. "provinceid": {
  22233. "description": "省",
  22234. "type": "integer"
  22235. },
  22236. "provincename": {
  22237. "description": "省名称",
  22238. "type": "string"
  22239. },
  22240. "remark": {
  22241. "description": "备注",
  22242. "type": "string"
  22243. },
  22244. "status": {
  22245. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22246. "type": "integer"
  22247. },
  22248. "statusdesc": {
  22249. "description": "账户状态中文描述",
  22250. "type": "string"
  22251. },
  22252. "taxpayernum": {
  22253. "description": "纳税人识别号",
  22254. "type": "string"
  22255. },
  22256. "telphone": {
  22257. "description": "联系电话",
  22258. "type": "string"
  22259. },
  22260. "userid": {
  22261. "description": "用户ID",
  22262. "type": "integer"
  22263. },
  22264. "userinfotype": {
  22265. "description": "客户类型 1-个人 2-企业",
  22266. "type": "integer"
  22267. },
  22268. "username": {
  22269. "description": "用户名称",
  22270. "type": "string"
  22271. }
  22272. }
  22273. },
  22274. "models.QhjPayOrder": {
  22275. "type": "object",
  22276. "properties": {
  22277. "buyaccountid": {
  22278. "description": "买方账号ID[报价币种]",
  22279. "type": "integer"
  22280. },
  22281. "buyorderid": {
  22282. "description": "买方委托单号",
  22283. "type": "integer"
  22284. },
  22285. "createtime": {
  22286. "description": "创建时间",
  22287. "type": "string"
  22288. },
  22289. "goodscode": {
  22290. "description": "商品代码",
  22291. "type": "string"
  22292. },
  22293. "goodsid": {
  22294. "description": "商品ID",
  22295. "type": "integer"
  22296. },
  22297. "goodsname": {
  22298. "description": "商品名称",
  22299. "type": "string"
  22300. },
  22301. "marketid": {
  22302. "description": "市场ID",
  22303. "type": "integer"
  22304. },
  22305. "offamount": {
  22306. "description": "优惠金额",
  22307. "type": "number"
  22308. },
  22309. "operatetype": {
  22310. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  22311. "type": "integer"
  22312. },
  22313. "payamount": {
  22314. "description": "支付金额=TradeAmount + TradeCharge",
  22315. "type": "number"
  22316. },
  22317. "payflag": {
  22318. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22319. "type": "integer"
  22320. },
  22321. "paylimitedtime": {
  22322. "description": "支付期限",
  22323. "type": "string"
  22324. },
  22325. "paytime": {
  22326. "description": "付款时间",
  22327. "type": "string"
  22328. },
  22329. "sellaccountid": {
  22330. "description": "卖方账号ID[报价币种]",
  22331. "type": "integer"
  22332. },
  22333. "sellorderid": {
  22334. "description": "卖方委托单号",
  22335. "type": "integer"
  22336. },
  22337. "tradeamount": {
  22338. "description": "成交金额(优惠后金额)",
  22339. "type": "number"
  22340. },
  22341. "tradecharge": {
  22342. "description": "成交手续费(买方)",
  22343. "type": "number"
  22344. },
  22345. "tradedate": {
  22346. "description": "交易日(yyyyMMdd)",
  22347. "type": "string"
  22348. },
  22349. "tradeid": {
  22350. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22351. "type": "integer"
  22352. },
  22353. "tradeprice": {
  22354. "description": "成交价格",
  22355. "type": "number"
  22356. },
  22357. "tradeqty": {
  22358. "description": "成交数量",
  22359. "type": "integer"
  22360. }
  22361. }
  22362. },
  22363. "models.QhjPickArea": {
  22364. "type": "object",
  22365. "properties": {
  22366. "cityid": {
  22367. "description": "市",
  22368. "type": "integer"
  22369. },
  22370. "cityname": {
  22371. "description": "城市名称",
  22372. "type": "string"
  22373. },
  22374. "countryid": {
  22375. "description": "国家",
  22376. "type": "integer"
  22377. },
  22378. "countryname": {
  22379. "description": "国家名称",
  22380. "type": "string"
  22381. },
  22382. "districtid": {
  22383. "description": "地区",
  22384. "type": "integer"
  22385. },
  22386. "districtname": {
  22387. "description": "地区名称",
  22388. "type": "string"
  22389. },
  22390. "fromuserid": {
  22391. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22392. "type": "integer"
  22393. },
  22394. "fromusername": {
  22395. "description": "所属机构名称",
  22396. "type": "string"
  22397. },
  22398. "provinceid": {
  22399. "description": "省",
  22400. "type": "integer"
  22401. },
  22402. "provincename": {
  22403. "description": "省名称",
  22404. "type": "string"
  22405. },
  22406. "suborgtype": {
  22407. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22408. "type": "integer"
  22409. },
  22410. "userid": {
  22411. "description": "机构用户ID 其他做市关系,都设置为 1",
  22412. "type": "integer"
  22413. },
  22414. "username": {
  22415. "description": "机构用户名称(门店门称)",
  22416. "type": "string"
  22417. }
  22418. }
  22419. },
  22420. "models.QhjPickGoods": {
  22421. "type": "object",
  22422. "properties": {
  22423. "imageaddress": {
  22424. "description": "图片",
  22425. "type": "string"
  22426. },
  22427. "modifierid": {
  22428. "description": "修改人",
  22429. "type": "integer"
  22430. },
  22431. "modifiername": {
  22432. "description": "修改人名称",
  22433. "type": "string"
  22434. },
  22435. "modifysrc": {
  22436. "description": "修改来源 - 1:管理端 2:终端",
  22437. "type": "integer"
  22438. },
  22439. "pickupgoodsagreeunit": {
  22440. "description": "合约乘数",
  22441. "type": "number"
  22442. },
  22443. "pickupgoodsdesc": {
  22444. "description": "描述",
  22445. "type": "string"
  22446. },
  22447. "pickupgoodsid": {
  22448. "description": "提货商品ID",
  22449. "type": "string"
  22450. },
  22451. "pickupgoodsname": {
  22452. "description": "提货商品名称",
  22453. "type": "string"
  22454. },
  22455. "pickupgoodsstatus": {
  22456. "description": "状态 - 1:正常 2:停用 3:注销",
  22457. "type": "integer"
  22458. },
  22459. "pickupgoodsunitid": {
  22460. "description": "单位ID",
  22461. "type": "integer"
  22462. },
  22463. "preparedays": {
  22464. "description": "备货期(天)",
  22465. "type": "integer"
  22466. },
  22467. "remark": {
  22468. "description": "备注",
  22469. "type": "string"
  22470. },
  22471. "updatetime": {
  22472. "description": "更新时间",
  22473. "type": "string"
  22474. }
  22475. }
  22476. },
  22477. "models.QhjRSTriggerLog": {
  22478. "type": "object",
  22479. "properties": {
  22480. "accountid": {
  22481. "description": "用户资金账户",
  22482. "type": "integer"
  22483. },
  22484. "accountname": {
  22485. "description": "账号名称(ACCOUNTID对应的名称)",
  22486. "type": "string"
  22487. },
  22488. "currencyid": {
  22489. "description": "币种id",
  22490. "type": "integer"
  22491. },
  22492. "currencyname": {
  22493. "description": "币种名称",
  22494. "type": "string"
  22495. },
  22496. "enumdicname": {
  22497. "description": "单位名称",
  22498. "type": "string"
  22499. },
  22500. "goodscode": {
  22501. "description": "定投商品代码",
  22502. "type": "string"
  22503. },
  22504. "goodsid": {
  22505. "description": "定投商品ID",
  22506. "type": "string"
  22507. },
  22508. "goodsname": {
  22509. "description": "定投商品名称",
  22510. "type": "string"
  22511. },
  22512. "goodunitid": {
  22513. "description": "定投商品单位id",
  22514. "type": "integer"
  22515. },
  22516. "logid": {
  22517. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  22518. "type": "string"
  22519. },
  22520. "regularlycycle": {
  22521. "description": "定投频率 - 1:每周 2:每月",
  22522. "type": "integer"
  22523. },
  22524. "regularlycyclevalue": {
  22525. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22526. "type": "string"
  22527. },
  22528. "regularlymode": {
  22529. "description": "定投方式 - 1:按数量 2:按金额",
  22530. "type": "integer"
  22531. },
  22532. "regularlymodevalue": {
  22533. "description": "定投方式值 - 数量或金额",
  22534. "type": "number"
  22535. },
  22536. "regularlystrategyid": {
  22537. "description": "定投策略ID",
  22538. "type": "integer"
  22539. },
  22540. "retcode": {
  22541. "description": "错误码",
  22542. "type": "string"
  22543. },
  22544. "tradeid": {
  22545. "description": "成交单ID",
  22546. "type": "string"
  22547. },
  22548. "triggeramount": {
  22549. "description": "触发金额",
  22550. "type": "number"
  22551. },
  22552. "triggerqty": {
  22553. "description": "触发数量",
  22554. "type": "number"
  22555. },
  22556. "triggerstatus": {
  22557. "description": "触发状态 - 1:成功 2:失败",
  22558. "type": "integer"
  22559. },
  22560. "triggertime": {
  22561. "description": "触发时间",
  22562. "type": "string"
  22563. },
  22564. "triggertradedate": {
  22565. "description": "触发交易日",
  22566. "type": "string"
  22567. },
  22568. "userid": {
  22569. "description": "所属用户ID",
  22570. "type": "integer"
  22571. },
  22572. "username": {
  22573. "description": "用户名称(userid对应的名称)",
  22574. "type": "string"
  22575. }
  22576. }
  22577. },
  22578. "models.QhjRStrategy": {
  22579. "type": "object",
  22580. "properties": {
  22581. "accountid": {
  22582. "description": "用户资金账户",
  22583. "type": "integer"
  22584. },
  22585. "accountname": {
  22586. "description": "账号名称(ACCOUNTID对应的名称)",
  22587. "type": "string"
  22588. },
  22589. "currencyid": {
  22590. "description": "币种id",
  22591. "type": "integer"
  22592. },
  22593. "currencyname": {
  22594. "description": "币种名称",
  22595. "type": "string"
  22596. },
  22597. "enumdicname": {
  22598. "description": "单位名称",
  22599. "type": "string"
  22600. },
  22601. "goodscode": {
  22602. "description": "定投商品代码",
  22603. "type": "string"
  22604. },
  22605. "goodsid": {
  22606. "description": "定投商品ID",
  22607. "type": "string"
  22608. },
  22609. "goodsname": {
  22610. "description": "定投商品名称",
  22611. "type": "string"
  22612. },
  22613. "goodunitid": {
  22614. "description": "定投商品单位id",
  22615. "type": "integer"
  22616. },
  22617. "lasteffecttradedate": {
  22618. "description": "最新生效交易日",
  22619. "type": "string"
  22620. },
  22621. "laststoptradedate": {
  22622. "description": "最新暂停交易日",
  22623. "type": "string"
  22624. },
  22625. "lasttriggertradedate": {
  22626. "description": "最新触发交易日",
  22627. "type": "string"
  22628. },
  22629. "nexttriggeramount": {
  22630. "description": "下次触发金额",
  22631. "type": "number"
  22632. },
  22633. "nexttriggerdate": {
  22634. "description": "下次触发日期",
  22635. "type": "string"
  22636. },
  22637. "nexttriggerqty": {
  22638. "description": "下次触发数量 [按小数位放大值]",
  22639. "type": "number"
  22640. },
  22641. "regularlycycle": {
  22642. "description": "定投频率 - 1:每周 2:每月",
  22643. "type": "integer"
  22644. },
  22645. "regularlycyclevalue": {
  22646. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  22647. "type": "string"
  22648. },
  22649. "regularlymode": {
  22650. "description": "定投方式 - 1:按数量 2:按金额",
  22651. "type": "integer"
  22652. },
  22653. "regularlymodevalue": {
  22654. "description": "定投方式值 - 数量或金额",
  22655. "type": "number"
  22656. },
  22657. "regularlystrategyid": {
  22658. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  22659. "type": "integer"
  22660. },
  22661. "regularlystrategystatus": {
  22662. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  22663. "type": "integer"
  22664. },
  22665. "remark": {
  22666. "description": "备注",
  22667. "type": "string"
  22668. },
  22669. "triggersuccesstimes": {
  22670. "description": "累计定投成功次数",
  22671. "type": "string"
  22672. },
  22673. "triggertotalamount": {
  22674. "description": "累计定投金额(成功)",
  22675. "type": "number"
  22676. },
  22677. "triggertotalqty": {
  22678. "description": "累计定投数量(成功) [按小数位放大值]",
  22679. "type": "number"
  22680. },
  22681. "triggertotaltimes": {
  22682. "description": "累计定投总次数",
  22683. "type": "string"
  22684. },
  22685. "updatesrc": {
  22686. "description": "更新来源 - 1:管理端 2:终端",
  22687. "type": "integer"
  22688. },
  22689. "updatetime": {
  22690. "description": "更新时间",
  22691. "type": "string"
  22692. },
  22693. "updatorid": {
  22694. "description": "更新人",
  22695. "type": "string"
  22696. },
  22697. "userid": {
  22698. "description": "所属用户ID",
  22699. "type": "integer"
  22700. },
  22701. "username": {
  22702. "description": "用户名称(userid对应的名称)",
  22703. "type": "string"
  22704. }
  22705. }
  22706. },
  22707. "models.QhjReckonPriceLog": {
  22708. "type": "object",
  22709. "properties": {
  22710. "goodsid": {
  22711. "description": "商品ID",
  22712. "type": "integer"
  22713. },
  22714. "lastreckonprice": {
  22715. "description": "上日结算价",
  22716. "type": "number"
  22717. },
  22718. "nextdnlimitprice": {
  22719. "description": "下个交易日跌停价",
  22720. "type": "number"
  22721. },
  22722. "nexttrade": {
  22723. "description": "下个交易日",
  22724. "type": "string"
  22725. },
  22726. "nextuplimitprice": {
  22727. "description": "下个交易日涨停价",
  22728. "type": "number"
  22729. },
  22730. "reckonprice": {
  22731. "description": "今日结算价(定投价)",
  22732. "type": "number"
  22733. },
  22734. "reckontime": {
  22735. "description": "结算时间",
  22736. "type": "string"
  22737. },
  22738. "totalholderqty": {
  22739. "description": "总持仓数",
  22740. "type": "integer"
  22741. },
  22742. "totalstock": {
  22743. "description": "总库存",
  22744. "type": "integer"
  22745. },
  22746. "tradedate": {
  22747. "description": "交易日",
  22748. "type": "string"
  22749. },
  22750. "updowncount": {
  22751. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  22752. "type": "integer"
  22753. },
  22754. "updownflag": {
  22755. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  22756. "type": "integer"
  22757. },
  22758. "updownrate": {
  22759. "description": "今日涨跌幅",
  22760. "type": "number"
  22761. },
  22762. "updownrate_2d": {
  22763. "description": "连续两日涨跌幅",
  22764. "type": "number"
  22765. },
  22766. "updownrate_3d": {
  22767. "description": "连续三日涨跌幅",
  22768. "type": "number"
  22769. }
  22770. }
  22771. },
  22772. "models.QhjSiteColumnDetail": {
  22773. "type": "object",
  22774. "properties": {
  22775. "author": {
  22776. "description": "作者",
  22777. "type": "string"
  22778. },
  22779. "brief": {
  22780. "description": "简介",
  22781. "type": "string"
  22782. },
  22783. "columnid": {
  22784. "description": "所属栏目",
  22785. "type": "integer"
  22786. },
  22787. "context": {
  22788. "description": "内容",
  22789. "type": "string"
  22790. },
  22791. "coverimage": {
  22792. "description": "封面图片",
  22793. "type": "string"
  22794. },
  22795. "creaedate": {
  22796. "description": "创建时间",
  22797. "type": "string"
  22798. },
  22799. "creatorid": {
  22800. "description": "创建人",
  22801. "type": "integer"
  22802. },
  22803. "hits": {
  22804. "description": "点击数",
  22805. "type": "integer"
  22806. },
  22807. "id": {
  22808. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  22809. "type": "integer"
  22810. },
  22811. "isshow": {
  22812. "description": "是否展示 - 0:不展示 1:展示",
  22813. "type": "integer"
  22814. },
  22815. "istop": {
  22816. "description": "是否置顶 - 0:不置 1:置顶",
  22817. "type": "integer"
  22818. },
  22819. "modifierid": {
  22820. "description": "操作人",
  22821. "type": "integer"
  22822. },
  22823. "publishdate": {
  22824. "description": "发布日期",
  22825. "type": "string"
  22826. },
  22827. "status": {
  22828. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  22829. "type": "integer"
  22830. },
  22831. "title": {
  22832. "description": "标题",
  22833. "type": "string"
  22834. },
  22835. "updatedate": {
  22836. "description": "修改时间",
  22837. "type": "string"
  22838. },
  22839. "userid": {
  22840. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  22841. "type": "integer"
  22842. },
  22843. "username": {
  22844. "description": "用户名称",
  22845. "type": "string"
  22846. }
  22847. }
  22848. },
  22849. "models.QhjTradeGoodsPickup": {
  22850. "type": "object",
  22851. "properties": {
  22852. "accountid": {
  22853. "description": "账户ID",
  22854. "type": "integer"
  22855. },
  22856. "address": {
  22857. "description": "提货人详细地址",
  22858. "type": "string"
  22859. },
  22860. "amount": {
  22861. "description": "提货金额",
  22862. "type": "number"
  22863. },
  22864. "artradedate": {
  22865. "description": "自动收货交易日(yyyyMMdd)",
  22866. "type": "string"
  22867. },
  22868. "auditer": {
  22869. "description": "审核人",
  22870. "type": "integer"
  22871. },
  22872. "auditsrc": {
  22873. "description": "更新来源 - 1:管理端 2:终端",
  22874. "type": "integer"
  22875. },
  22876. "audittime": {
  22877. "description": "审核时间(发货时间)",
  22878. "type": "string"
  22879. },
  22880. "audittradedate": {
  22881. "description": "审核交易日(yyyyMMdd)",
  22882. "type": "string"
  22883. },
  22884. "cardnum": {
  22885. "description": "提货人证件号码",
  22886. "type": "string"
  22887. },
  22888. "cardtypeid": {
  22889. "description": "提货人证件类型",
  22890. "type": "integer"
  22891. },
  22892. "checkremark": {
  22893. "description": "审核备注",
  22894. "type": "string"
  22895. },
  22896. "cityid": {
  22897. "description": "市",
  22898. "type": "integer"
  22899. },
  22900. "cityname": {
  22901. "description": "城市名称",
  22902. "type": "string"
  22903. },
  22904. "countryid": {
  22905. "description": "国家",
  22906. "type": "integer"
  22907. },
  22908. "countryname": {
  22909. "description": "国家名称",
  22910. "type": "string"
  22911. },
  22912. "districtid": {
  22913. "description": "地区",
  22914. "type": "integer"
  22915. },
  22916. "districtname": {
  22917. "description": "地区名称",
  22918. "type": "string"
  22919. },
  22920. "enumdicname": {
  22921. "description": "单位名称(提货商品)",
  22922. "type": "string"
  22923. },
  22924. "expresscompany": {
  22925. "description": "物流公司",
  22926. "type": "string"
  22927. },
  22928. "expressnum": {
  22929. "description": "物流单号",
  22930. "type": "string"
  22931. },
  22932. "goodsagreeunit": {
  22933. "description": "交易商品乘数",
  22934. "type": "number"
  22935. },
  22936. "goodscode": {
  22937. "description": "商品代码",
  22938. "type": "string"
  22939. },
  22940. "goodsid": {
  22941. "description": "商品ID",
  22942. "type": "integer"
  22943. },
  22944. "goodsname": {
  22945. "description": "商品名称",
  22946. "type": "string"
  22947. },
  22948. "goodsqty": {
  22949. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  22950. "type": "number"
  22951. },
  22952. "handlestatus": {
  22953. "description": "处理状态",
  22954. "type": "integer"
  22955. },
  22956. "marketid": {
  22957. "description": "市场ID",
  22958. "type": "integer"
  22959. },
  22960. "phonenum": {
  22961. "description": "提货人联系方式",
  22962. "type": "string"
  22963. },
  22964. "pickupgoodsagreeunit": {
  22965. "description": "提货商品合约乘数",
  22966. "type": "number"
  22967. },
  22968. "pickupgoodsid": {
  22969. "description": "提货商品ID",
  22970. "type": "string"
  22971. },
  22972. "pickupgoodsname": {
  22973. "description": "提货商品名称",
  22974. "type": "string"
  22975. },
  22976. "pickupgoodsqty": {
  22977. "description": "提货商品手数(数量)",
  22978. "type": "number"
  22979. },
  22980. "pickupgoodsunitid": {
  22981. "description": "单位ID(提货商品)",
  22982. "type": "integer"
  22983. },
  22984. "pickupratio": {
  22985. "description": "提货系数",
  22986. "type": "number"
  22987. },
  22988. "preparedays": {
  22989. "description": "备货期(天)-提货单明细表",
  22990. "type": "integer"
  22991. },
  22992. "provinceid": {
  22993. "description": "省",
  22994. "type": "integer"
  22995. },
  22996. "provincename": {
  22997. "description": "省名称",
  22998. "type": "string"
  22999. },
  23000. "qty": {
  23001. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  23002. "type": "number"
  23003. },
  23004. "recivername": {
  23005. "description": "提货人姓名",
  23006. "type": "string"
  23007. },
  23008. "reqtime": {
  23009. "description": "提货申请时间",
  23010. "type": "string"
  23011. },
  23012. "storeuserid": {
  23013. "description": "门店用户ID (千海金)",
  23014. "type": "integer"
  23015. },
  23016. "storeusername": {
  23017. "description": "门店用户名称",
  23018. "type": "string"
  23019. },
  23020. "takemode": {
  23021. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  23022. "type": "integer"
  23023. },
  23024. "takeorderid": {
  23025. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23026. "type": "integer"
  23027. },
  23028. "takeorderstatus": {
  23029. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  23030. "type": "integer"
  23031. },
  23032. "takeremark": {
  23033. "description": "提货备注",
  23034. "type": "string"
  23035. },
  23036. "tradedate": {
  23037. "description": "交易日(yyyyMMdd)",
  23038. "type": "string"
  23039. },
  23040. "updatetime": {
  23041. "description": "更新时间",
  23042. "type": "string"
  23043. },
  23044. "userid": {
  23045. "description": "用户ID",
  23046. "type": "integer"
  23047. },
  23048. "username": {
  23049. "description": "用户名称",
  23050. "type": "string"
  23051. }
  23052. }
  23053. },
  23054. "models.Qhjgoodsex": {
  23055. "type": "object",
  23056. "properties": {
  23057. "canfinance": {
  23058. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  23059. "type": "integer"
  23060. },
  23061. "canregularlybuy": {
  23062. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  23063. "type": "integer"
  23064. },
  23065. "defaulttradeuserid": {
  23066. "description": "默认交易用户ID",
  23067. "type": "integer"
  23068. },
  23069. "deliverygoodsid": {
  23070. "description": "现货品种ID",
  23071. "type": "integer"
  23072. },
  23073. "goodsid": {
  23074. "description": "商品ID(自增ID SEQ_GOODS)",
  23075. "type": "integer"
  23076. },
  23077. "minamount": {
  23078. "description": "最小购买金额",
  23079. "type": "number"
  23080. },
  23081. "regularlybuyminamount": {
  23082. "description": "定投最小金额",
  23083. "type": "number"
  23084. },
  23085. "regularlybuyminqty": {
  23086. "description": "定投最小数量",
  23087. "type": "number"
  23088. },
  23089. "spotgoodsbrandid": {
  23090. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  23091. "type": "integer"
  23092. },
  23093. "wrstandardid": {
  23094. "description": "现货商品ID",
  23095. "type": "integer"
  23096. }
  23097. }
  23098. },
  23099. "models.QueryErrorInfosRsp": {
  23100. "type": "object",
  23101. "required": [
  23102. "errorid"
  23103. ],
  23104. "properties": {
  23105. "description": {
  23106. "description": "异常描述",
  23107. "type": "string"
  23108. },
  23109. "errorcode": {
  23110. "description": "异常代码",
  23111. "type": "string"
  23112. },
  23113. "errorid": {
  23114. "description": "异常ID",
  23115. "type": "integer"
  23116. },
  23117. "modulecode": {
  23118. "description": "所属模块",
  23119. "type": "string"
  23120. },
  23121. "operatecode": {
  23122. "description": "所属操作",
  23123. "type": "string"
  23124. },
  23125. "rownumber": {
  23126. "description": "行号",
  23127. "type": "string"
  23128. }
  23129. }
  23130. },
  23131. "models.QueryHedgeOrderDetailRsp": {
  23132. "type": "object",
  23133. "properties": {
  23134. "accountid": {
  23135. "description": "账户ID",
  23136. "type": "integer"
  23137. },
  23138. "buyorsell": {
  23139. "description": "买卖 - 0:买 1:卖",
  23140. "type": "integer"
  23141. },
  23142. "cancellogincode": {
  23143. "description": "撤单人",
  23144. "type": "string"
  23145. },
  23146. "channelbuildtype": {
  23147. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  23148. "type": "integer"
  23149. },
  23150. "channelinnerorderstatus": {
  23151. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  23152. "type": "integer"
  23153. },
  23154. "channeloperatetype": {
  23155. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  23156. "type": "integer"
  23157. },
  23158. "closetype": {
  23159. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23160. "type": "integer"
  23161. },
  23162. "curexchangerate": {
  23163. "description": "当前汇率",
  23164. "type": "number"
  23165. },
  23166. "exchangefullname": {
  23167. "description": "外部交易所全称",
  23168. "type": "string"
  23169. },
  23170. "goodscode": {
  23171. "description": "商品代码(内部)",
  23172. "type": "string"
  23173. },
  23174. "goodsid": {
  23175. "description": "商品ID",
  23176. "type": "integer"
  23177. },
  23178. "goodsname": {
  23179. "description": "商品名称",
  23180. "type": "string"
  23181. },
  23182. "marketid": {
  23183. "description": "市场ID",
  23184. "type": "integer"
  23185. },
  23186. "openfreezemargin": {
  23187. "description": "冻结保证金(冻结交易金额)",
  23188. "type": "number"
  23189. },
  23190. "orderid": {
  23191. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23192. "type": "string"
  23193. },
  23194. "orderlogincode": {
  23195. "description": "委托人",
  23196. "type": "string"
  23197. },
  23198. "orderprice": {
  23199. "description": "委托价格(账户)",
  23200. "type": "number"
  23201. },
  23202. "orderqty": {
  23203. "description": "委托数量",
  23204. "type": "integer"
  23205. },
  23206. "ordertime": {
  23207. "description": "委托时间",
  23208. "type": "string"
  23209. },
  23210. "pricemode": {
  23211. "description": "取价方式 - 1:市价 2: 限价",
  23212. "type": "integer"
  23213. },
  23214. "tradedate": {
  23215. "description": "交易日(yyyyMMdd)",
  23216. "type": "string"
  23217. },
  23218. "tradeqty": {
  23219. "description": "成交数量",
  23220. "type": "integer"
  23221. }
  23222. }
  23223. },
  23224. "models.QueryHedgeTradeDetailRsp": {
  23225. "type": "object",
  23226. "properties": {
  23227. "accountid": {
  23228. "description": "账号ID",
  23229. "type": "integer"
  23230. },
  23231. "buyorsell": {
  23232. "description": "方向 - 0:买 1:卖",
  23233. "type": "integer"
  23234. },
  23235. "channelbuildtype": {
  23236. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23237. "type": "integer"
  23238. },
  23239. "closecharge": {
  23240. "description": "平仓手续费(账户)",
  23241. "type": "number"
  23242. },
  23243. "closecharge2": {
  23244. "description": "平仓手续费(商品)",
  23245. "type": "number"
  23246. },
  23247. "closepl": {
  23248. "description": "平仓盈亏(账户)",
  23249. "type": "number"
  23250. },
  23251. "closepl2": {
  23252. "description": "平仓盈亏(商品)",
  23253. "type": "number"
  23254. },
  23255. "closepl3": {
  23256. "description": "平仓盈亏(账户)(逐笔)",
  23257. "type": "number"
  23258. },
  23259. "closepl4": {
  23260. "description": "平仓盈亏(商品)(逐笔)",
  23261. "type": "number"
  23262. },
  23263. "closetype": {
  23264. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23265. "type": "integer"
  23266. },
  23267. "curexchangerate": {
  23268. "description": "当前汇率",
  23269. "type": "number"
  23270. },
  23271. "exchangefullname": {
  23272. "description": "外部交易所全称",
  23273. "type": "string"
  23274. },
  23275. "goodscode": {
  23276. "description": "商品代码(内部)",
  23277. "type": "string"
  23278. },
  23279. "goodsid": {
  23280. "description": "商品ID",
  23281. "type": "integer"
  23282. },
  23283. "goodsname": {
  23284. "description": "商品名称",
  23285. "type": "string"
  23286. },
  23287. "marketid": {
  23288. "description": "市场ID",
  23289. "type": "integer"
  23290. },
  23291. "opencharge": {
  23292. "description": "建仓手续费(账户)",
  23293. "type": "number"
  23294. },
  23295. "opencharge2": {
  23296. "description": "建仓手续费(商品)",
  23297. "type": "number"
  23298. },
  23299. "orderid": {
  23300. "description": "委托单号",
  23301. "type": "string"
  23302. },
  23303. "orderlogincode": {
  23304. "description": "委托人",
  23305. "type": "string"
  23306. },
  23307. "tradeamount": {
  23308. "description": "成交金额(账户)",
  23309. "type": "number"
  23310. },
  23311. "tradedate": {
  23312. "description": "交易日(yyyyMMdd)",
  23313. "type": "string"
  23314. },
  23315. "tradeid": {
  23316. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23317. "type": "string"
  23318. },
  23319. "tradeprice": {
  23320. "description": "成交价格",
  23321. "type": "number"
  23322. },
  23323. "tradeqty": {
  23324. "description": "成交数量",
  23325. "type": "integer"
  23326. },
  23327. "tradetime": {
  23328. "description": "成交时间",
  23329. "type": "string"
  23330. },
  23331. "tradetype": {
  23332. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23333. "type": "integer"
  23334. }
  23335. }
  23336. },
  23337. "models.QuotePrimaryMenu": {
  23338. "type": "object",
  23339. "properties": {
  23340. "Index": {
  23341. "description": "序号",
  23342. "type": "integer"
  23343. },
  23344. "Key": {
  23345. "description": "键名",
  23346. "type": "string"
  23347. },
  23348. "Name": {
  23349. "description": "菜单名称",
  23350. "type": "string"
  23351. },
  23352. "SubMenus": {
  23353. "description": "子菜单",
  23354. "type": "array",
  23355. "items": {
  23356. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  23357. }
  23358. },
  23359. "SubTitleType": {
  23360. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  23361. "type": "integer"
  23362. },
  23363. "TradeModes": {
  23364. "description": "包含市场交易类型",
  23365. "type": "string"
  23366. }
  23367. }
  23368. },
  23369. "models.QuoteSecondaryMenu": {
  23370. "type": "object",
  23371. "properties": {
  23372. "ExExchangeCode": {
  23373. "description": "外部交易所代码",
  23374. "type": "string"
  23375. },
  23376. "ExExchangeID": {
  23377. "description": "外部交易所ID",
  23378. "type": "integer"
  23379. },
  23380. "GoodsGroupIDs": {
  23381. "description": "商品组ID列表",
  23382. "type": "array",
  23383. "items": {
  23384. "type": "integer"
  23385. }
  23386. },
  23387. "Index": {
  23388. "description": "序号",
  23389. "type": "integer"
  23390. },
  23391. "MarketID": {
  23392. "description": "市场ID",
  23393. "type": "integer"
  23394. },
  23395. "MenuTitle": {
  23396. "description": "菜单标题(市场名称或外部交易所名称)",
  23397. "type": "string"
  23398. },
  23399. "TradeMode": {
  23400. "description": "交易模式",
  23401. "type": "integer"
  23402. }
  23403. }
  23404. },
  23405. "models.SearchGoods": {
  23406. "type": "object",
  23407. "required": [
  23408. "goodscode",
  23409. "goodsid",
  23410. "goodsname",
  23411. "marketid",
  23412. "trademode"
  23413. ],
  23414. "properties": {
  23415. "goodscode": {
  23416. "description": "商品代码(内部)",
  23417. "type": "string"
  23418. },
  23419. "goodsid": {
  23420. "description": "商品ID(自增ID SEQ_GOODS)",
  23421. "type": "integer"
  23422. },
  23423. "goodsname": {
  23424. "description": "商品名称",
  23425. "type": "string"
  23426. },
  23427. "marketid": {
  23428. "description": "所属市场ID",
  23429. "type": "integer"
  23430. },
  23431. "marketname": {
  23432. "description": "市场名称",
  23433. "type": "string"
  23434. },
  23435. "trademode": {
  23436. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23437. "type": "integer"
  23438. }
  23439. }
  23440. },
  23441. "models.Systemparam": {
  23442. "type": "object",
  23443. "required": [
  23444. "paramcode"
  23445. ],
  23446. "properties": {
  23447. "loginid": {
  23448. "description": "更新用户账号,登录账号",
  23449. "type": "string"
  23450. },
  23451. "modifyflag": {
  23452. "description": "修改标志0 不允许修改 1 允许修改",
  23453. "type": "integer"
  23454. },
  23455. "paramcode": {
  23456. "description": "参数代码",
  23457. "type": "string"
  23458. },
  23459. "paramname": {
  23460. "description": "参数名",
  23461. "type": "string"
  23462. },
  23463. "paramtype": {
  23464. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  23465. "type": "integer"
  23466. },
  23467. "paramvalue": {
  23468. "description": "参数值",
  23469. "type": "string"
  23470. },
  23471. "paramvalue2": {
  23472. "description": "参数值(CLOB)",
  23473. "type": "string"
  23474. },
  23475. "regexpress": {
  23476. "description": "正则表达式",
  23477. "type": "string"
  23478. },
  23479. "remark": {
  23480. "description": "备注",
  23481. "type": "string"
  23482. },
  23483. "serverip": {
  23484. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  23485. "type": "string"
  23486. },
  23487. "showflag": {
  23488. "description": "是否显示0 不显示 1 显示",
  23489. "type": "integer"
  23490. },
  23491. "updatetime": {
  23492. "description": "更新时间",
  23493. "type": "string"
  23494. },
  23495. "userid": {
  23496. "description": "更新用户ID",
  23497. "type": "integer"
  23498. }
  23499. }
  23500. },
  23501. "models.Szdz3convertconfig": {
  23502. "type": "object",
  23503. "required": [
  23504. "converttype",
  23505. "innergoodsid",
  23506. "outergoodscode"
  23507. ],
  23508. "properties": {
  23509. "canin": {
  23510. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  23511. "type": "integer"
  23512. },
  23513. "canout": {
  23514. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  23515. "type": "integer"
  23516. },
  23517. "converttype": {
  23518. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  23519. "type": "integer"
  23520. },
  23521. "createtime": {
  23522. "description": "创建时间",
  23523. "type": "string"
  23524. },
  23525. "creatorid": {
  23526. "description": "创建人",
  23527. "type": "integer"
  23528. },
  23529. "daymaxvalue": {
  23530. "description": "当日最大转入限制",
  23531. "type": "number"
  23532. },
  23533. "freezedays": {
  23534. "description": "冻结天数 [5:花生米转交易]",
  23535. "type": "integer"
  23536. },
  23537. "innergoodsid": {
  23538. "description": "内部商品ID[交易]",
  23539. "type": "integer"
  23540. },
  23541. "inratio": {
  23542. "description": "目标值",
  23543. "type": "integer"
  23544. },
  23545. "modifierid": {
  23546. "description": "修改人",
  23547. "type": "integer"
  23548. },
  23549. "modifytime": {
  23550. "description": "修改时间",
  23551. "type": "string"
  23552. },
  23553. "outergoodscode": {
  23554. "description": "外部商品代码[JD\\PD]",
  23555. "type": "string"
  23556. },
  23557. "outratio": {
  23558. "description": "源值",
  23559. "type": "integer"
  23560. },
  23561. "pddecimalplace": {
  23562. "description": "PD小数位",
  23563. "type": "integer"
  23564. },
  23565. "timemaxvalue": {
  23566. "description": "单次最大转入限制",
  23567. "type": "number"
  23568. },
  23569. "timeminvalue": {
  23570. "description": "单次最小转入限制",
  23571. "type": "number"
  23572. }
  23573. }
  23574. },
  23575. "models.Szdz3searchwhitelist": {
  23576. "type": "object",
  23577. "required": [
  23578. "userid"
  23579. ],
  23580. "properties": {
  23581. "createtime": {
  23582. "description": "创建时间",
  23583. "type": "string"
  23584. },
  23585. "creatorid": {
  23586. "description": "创建人",
  23587. "type": "integer"
  23588. },
  23589. "modifierid": {
  23590. "description": "修改人",
  23591. "type": "integer"
  23592. },
  23593. "modifytime": {
  23594. "description": "修改时间",
  23595. "type": "string"
  23596. },
  23597. "userid": {
  23598. "description": "用户ID",
  23599. "type": "integer"
  23600. }
  23601. }
  23602. },
  23603. "models.Taaccount": {
  23604. "type": "object",
  23605. "required": [
  23606. "accountid",
  23607. "userid"
  23608. ],
  23609. "properties": {
  23610. "accountflag": {
  23611. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  23612. "type": "integer"
  23613. },
  23614. "accountid": {
  23615. "description": "资金账户ID",
  23616. "type": "integer"
  23617. },
  23618. "accountname": {
  23619. "description": "账户名称",
  23620. "type": "string"
  23621. },
  23622. "balance": {
  23623. "description": "期初余额",
  23624. "type": "number"
  23625. },
  23626. "capitalbalance": {
  23627. "description": "本金余额[外部子账户实际出入金余额]",
  23628. "type": "number"
  23629. },
  23630. "changeflag": {
  23631. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  23632. "type": "integer"
  23633. },
  23634. "changetime": {
  23635. "description": "账户状态变更时间",
  23636. "type": "string"
  23637. },
  23638. "closepl": {
  23639. "description": "今日平仓盈亏",
  23640. "type": "number"
  23641. },
  23642. "creditdecrease": {
  23643. "description": "今日授信减少",
  23644. "type": "number"
  23645. },
  23646. "creditincrease": {
  23647. "description": "今日授信增加",
  23648. "type": "number"
  23649. },
  23650. "currencyid": {
  23651. "description": "货币ID",
  23652. "type": "integer"
  23653. },
  23654. "currentbalance": {
  23655. "description": "期末余额",
  23656. "type": "number"
  23657. },
  23658. "freezecharge": {
  23659. "description": "手续费冻结",
  23660. "type": "number"
  23661. },
  23662. "freezemargin": {
  23663. "description": "冻结保证金",
  23664. "type": "number"
  23665. },
  23666. "fromaccountid": {
  23667. "description": "所属上级账户",
  23668. "type": "integer"
  23669. },
  23670. "inamount": {
  23671. "description": "今日入金金额(包括三方入金)",
  23672. "type": "number"
  23673. },
  23674. "ismain": {
  23675. "description": "是否母账号 0:不是母账户 1:是母账户",
  23676. "type": "integer"
  23677. },
  23678. "ismarketaccount": {
  23679. "description": "是否机构接单账号 0:不是 1:是",
  23680. "type": "integer"
  23681. },
  23682. "isreckonaccount": {
  23683. "description": "是否机构分润账号 0:不是 1:是",
  23684. "type": "integer"
  23685. },
  23686. "mortgagecredit": {
  23687. "description": "授信金额",
  23688. "type": "number"
  23689. },
  23690. "orifreezecharge": {
  23691. "description": "期初手续费冻结",
  23692. "type": "number"
  23693. },
  23694. "orifreezemargin": {
  23695. "description": "期初冻结保证金",
  23696. "type": "number"
  23697. },
  23698. "orimortgagecredit": {
  23699. "description": "期初授信金额",
  23700. "type": "number"
  23701. },
  23702. "oriothercredit": {
  23703. "description": "期初其它授信金额",
  23704. "type": "number"
  23705. },
  23706. "oriotherfreezemargin": {
  23707. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  23708. "type": "number"
  23709. },
  23710. "orioutamountfreeze": {
  23711. "description": "期初出金冻结",
  23712. "type": "number"
  23713. },
  23714. "oriusedmargin": {
  23715. "description": "期初占用保证金",
  23716. "type": "number"
  23717. },
  23718. "othercredit": {
  23719. "description": "其它授信金额",
  23720. "type": "number"
  23721. },
  23722. "othercreditdecrease": {
  23723. "description": "今日其它授信减少",
  23724. "type": "number"
  23725. },
  23726. "othercreditincrease": {
  23727. "description": "今日其它授信增加",
  23728. "type": "number"
  23729. },
  23730. "otherfreezemargin": {
  23731. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  23732. "type": "number"
  23733. },
  23734. "otherincome": {
  23735. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  23736. "type": "number"
  23737. },
  23738. "otherpay": {
  23739. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  23740. "type": "number"
  23741. },
  23742. "outamount": {
  23743. "description": "今日出金金额(包括三方出金)",
  23744. "type": "number"
  23745. },
  23746. "outamountfreeze": {
  23747. "description": "出金冻结",
  23748. "type": "number"
  23749. },
  23750. "outthreshold": {
  23751. "description": "出金阈值",
  23752. "type": "number"
  23753. },
  23754. "parentaccountid": {
  23755. "description": "所属根账号",
  23756. "type": "integer"
  23757. },
  23758. "paycharge": {
  23759. "description": "今日手续费支出",
  23760. "type": "number"
  23761. },
  23762. "relatedaccountstatus": {
  23763. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  23764. "type": "integer"
  23765. },
  23766. "relateduserid": {
  23767. "description": "关联用户",
  23768. "type": "integer"
  23769. },
  23770. "serivcegroup": {
  23771. "description": "服务分组",
  23772. "type": "integer"
  23773. },
  23774. "signstatus": {
  23775. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23776. "type": "integer"
  23777. },
  23778. "sublevelpath": {
  23779. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23780. "type": "string"
  23781. },
  23782. "taaccounttype": {
  23783. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23784. "type": "integer"
  23785. },
  23786. "thirdinamount": {
  23787. "description": "今日三方入金",
  23788. "type": "number"
  23789. },
  23790. "thirdoutamount": {
  23791. "description": "今日三方出金",
  23792. "type": "number"
  23793. },
  23794. "tradestatus": {
  23795. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23796. "type": "integer"
  23797. },
  23798. "tradestatuschangetime": {
  23799. "description": "激活时间",
  23800. "type": "string"
  23801. },
  23802. "transferamount": {
  23803. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23804. "type": "number"
  23805. },
  23806. "usedmargin": {
  23807. "description": "占用保证金",
  23808. "type": "number"
  23809. },
  23810. "userid": {
  23811. "description": "用户ID",
  23812. "type": "integer"
  23813. }
  23814. }
  23815. },
  23816. "models.Tablecolumnconfig": {
  23817. "type": "object",
  23818. "required": [
  23819. "autoid"
  23820. ],
  23821. "properties": {
  23822. "aligntype": {
  23823. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23824. "type": "integer"
  23825. },
  23826. "autoid": {
  23827. "description": "AutoID",
  23828. "type": "integer"
  23829. },
  23830. "columnfield": {
  23831. "description": "列字段",
  23832. "type": "string"
  23833. },
  23834. "columntitle": {
  23835. "description": "列Title",
  23836. "type": "string"
  23837. },
  23838. "columnwidth": {
  23839. "description": "列宽",
  23840. "type": "string"
  23841. },
  23842. "formatterstring": {
  23843. "description": "格式化字符",
  23844. "type": "string"
  23845. },
  23846. "formattertype": {
  23847. "description": "格式化类型",
  23848. "type": "string"
  23849. },
  23850. "groupname": {
  23851. "description": "表头分组名称",
  23852. "type": "string"
  23853. },
  23854. "isshow": {
  23855. "description": "是否显示 - 0:不显示 1:显示",
  23856. "type": "integer"
  23857. },
  23858. "needsummary": {
  23859. "description": "是否需要汇总 - 0:不需要 1:需要",
  23860. "type": "integer"
  23861. },
  23862. "orderindex": {
  23863. "description": "顺序",
  23864. "type": "integer"
  23865. },
  23866. "remark": {
  23867. "description": "备注",
  23868. "type": "string"
  23869. },
  23870. "summarytype": {
  23871. "description": "汇总类型 - 1:加总 2:最后一个",
  23872. "type": "integer"
  23873. },
  23874. "tablekey": {
  23875. "description": "列表Key",
  23876. "type": "string"
  23877. }
  23878. }
  23879. },
  23880. "models.UserCollectConfig": {
  23881. "type": "object",
  23882. "properties": {
  23883. "accountstatus": {
  23884. "description": "账户状态 - 1:正常 2:停用 3:注销",
  23885. "type": "integer"
  23886. },
  23887. "collectaccountname": {
  23888. "description": "收款人账户名称",
  23889. "type": "string"
  23890. },
  23891. "collectaccountno": {
  23892. "description": "收款人账户",
  23893. "type": "string"
  23894. },
  23895. "collectbankname": {
  23896. "description": "收款人开户行",
  23897. "type": "string"
  23898. },
  23899. "collectbranchbankname": {
  23900. "description": "收款人开户支行",
  23901. "type": "string"
  23902. },
  23903. "collectconfigid": {
  23904. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  23905. "type": "string"
  23906. },
  23907. "remark": {
  23908. "description": "备注",
  23909. "type": "string"
  23910. },
  23911. "userid": {
  23912. "description": "收款人用户ID",
  23913. "type": "integer"
  23914. }
  23915. }
  23916. },
  23917. "models.UserReceiveInfo": {
  23918. "type": "object",
  23919. "properties": {
  23920. "address": {
  23921. "description": "提货人详细地址",
  23922. "type": "string"
  23923. },
  23924. "autoid": {
  23925. "description": "AutoID",
  23926. "type": "integer"
  23927. },
  23928. "cardnum": {
  23929. "description": "证件号码(加密存储)",
  23930. "type": "string"
  23931. },
  23932. "cardtypeid": {
  23933. "description": "证件类型",
  23934. "type": "integer"
  23935. },
  23936. "cityid": {
  23937. "description": "市",
  23938. "type": "integer"
  23939. },
  23940. "cityname": {
  23941. "description": "城市名称",
  23942. "type": "string"
  23943. },
  23944. "countryid": {
  23945. "description": "国家",
  23946. "type": "integer"
  23947. },
  23948. "countryname": {
  23949. "description": "国家名称",
  23950. "type": "string"
  23951. },
  23952. "districtid": {
  23953. "description": "地区",
  23954. "type": "integer"
  23955. },
  23956. "districtname": {
  23957. "description": "地区名称",
  23958. "type": "string"
  23959. },
  23960. "hasencrypt": {
  23961. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23962. "type": "integer"
  23963. },
  23964. "isdefault": {
  23965. "description": "是否默认地址 - 0:否 1:是",
  23966. "type": "integer"
  23967. },
  23968. "phonenum": {
  23969. "description": "提货人联系方式(加密存储)",
  23970. "type": "string"
  23971. },
  23972. "provinceid": {
  23973. "description": "省",
  23974. "type": "integer"
  23975. },
  23976. "provincename": {
  23977. "description": "省名称",
  23978. "type": "string"
  23979. },
  23980. "receivername": {
  23981. "description": "提货人姓名",
  23982. "type": "string"
  23983. },
  23984. "takeremark": {
  23985. "description": "提货备注",
  23986. "type": "string"
  23987. },
  23988. "userid": {
  23989. "description": "用户ID",
  23990. "type": "integer"
  23991. }
  23992. }
  23993. },
  23994. "models.Useraccount": {
  23995. "type": "object",
  23996. "required": [
  23997. "userid"
  23998. ],
  23999. "properties": {
  24000. "accountname": {
  24001. "description": "账户名称(机构名称)",
  24002. "type": "string"
  24003. },
  24004. "accountstatus": {
  24005. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24006. "type": "integer"
  24007. },
  24008. "applysrc": {
  24009. "description": "申请来源 - 1:管理端 2:终端",
  24010. "type": "integer"
  24011. },
  24012. "auditremark": {
  24013. "description": "审核备注",
  24014. "type": "string"
  24015. },
  24016. "auditsrc": {
  24017. "description": "审核来源 - 1:管理端 2:终端",
  24018. "type": "integer"
  24019. },
  24020. "audittime": {
  24021. "description": "审核时间",
  24022. "type": "string"
  24023. },
  24024. "audituserid": {
  24025. "description": "审核人",
  24026. "type": "integer"
  24027. },
  24028. "broker": {
  24029. "description": "所属经纪人ID",
  24030. "type": "integer"
  24031. },
  24032. "canceltime": {
  24033. "description": "销户时间",
  24034. "type": "string"
  24035. },
  24036. "canceluserid": {
  24037. "description": "销户人",
  24038. "type": "integer"
  24039. },
  24040. "canrecommend": {
  24041. "description": "是否可推荐 - 0:不可 1;可",
  24042. "type": "integer"
  24043. },
  24044. "createtime": {
  24045. "description": "创建时间",
  24046. "type": "string"
  24047. },
  24048. "creatorid": {
  24049. "description": "创建人",
  24050. "type": "integer"
  24051. },
  24052. "hasauth": {
  24053. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24054. "type": "integer"
  24055. },
  24056. "isanonymous": {
  24057. "description": "是否匿名下单 - 0:否 1:是",
  24058. "type": "integer"
  24059. },
  24060. "maxinvestornum": {
  24061. "description": "最大用户数(经纪会员下投资者个数)",
  24062. "type": "integer"
  24063. },
  24064. "memberuserid": {
  24065. "description": "所属会员ID",
  24066. "type": "integer"
  24067. },
  24068. "modifierid": {
  24069. "description": "修改人",
  24070. "type": "integer"
  24071. },
  24072. "modifyremark": {
  24073. "description": "变更备注",
  24074. "type": "string"
  24075. },
  24076. "modifystatus": {
  24077. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24078. "type": "integer"
  24079. },
  24080. "modifytime": {
  24081. "description": "修改时间",
  24082. "type": "string"
  24083. },
  24084. "parenttopuser": {
  24085. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24086. "type": "string"
  24087. },
  24088. "parentuserid": {
  24089. "description": "所属机构ID",
  24090. "type": "integer"
  24091. },
  24092. "reckonaccountid": {
  24093. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24094. "type": "integer"
  24095. },
  24096. "refercount": {
  24097. "description": "推荐总人数",
  24098. "type": "integer"
  24099. },
  24100. "refereeuserid": {
  24101. "description": "推荐人ID",
  24102. "type": "integer"
  24103. },
  24104. "refernum": {
  24105. "description": "推荐码",
  24106. "type": "string"
  24107. },
  24108. "rootuserid": {
  24109. "description": "根用户ID",
  24110. "type": "integer"
  24111. },
  24112. "subaccountlevel": {
  24113. "description": "子账户层数",
  24114. "type": "integer"
  24115. },
  24116. "subarealevelpath": {
  24117. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24118. "type": "string"
  24119. },
  24120. "userid": {
  24121. "description": "用户ID",
  24122. "type": "integer"
  24123. },
  24124. "usertype": {
  24125. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24126. "type": "integer"
  24127. }
  24128. }
  24129. },
  24130. "models.Userfavoritegoods": {
  24131. "type": "object",
  24132. "required": [
  24133. "goodsid"
  24134. ],
  24135. "properties": {
  24136. "goodsid": {
  24137. "description": "商品ID",
  24138. "type": "integer"
  24139. }
  24140. }
  24141. },
  24142. "models.Userinfo": {
  24143. "type": "object",
  24144. "required": [
  24145. "userid"
  24146. ],
  24147. "properties": {
  24148. "address": {
  24149. "description": "地址",
  24150. "type": "string"
  24151. },
  24152. "attachment1": {
  24153. "description": "附件1",
  24154. "type": "string"
  24155. },
  24156. "attachment2": {
  24157. "description": "附件2",
  24158. "type": "string"
  24159. },
  24160. "bankaccount": {
  24161. "description": "银行帐号 (加密存储)",
  24162. "type": "string"
  24163. },
  24164. "bankaccountname": {
  24165. "description": "收款人名称",
  24166. "type": "string"
  24167. },
  24168. "bankcardfrontphotourl": {
  24169. "description": "银行卡正面照地址",
  24170. "type": "string"
  24171. },
  24172. "bankid": {
  24173. "description": "银行编码",
  24174. "type": "string"
  24175. },
  24176. "bankname": {
  24177. "description": "银行名称",
  24178. "type": "string"
  24179. },
  24180. "biznature": {
  24181. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  24182. "type": "integer"
  24183. },
  24184. "bizscope": {
  24185. "description": "企业经营范围(企业)",
  24186. "type": "string"
  24187. },
  24188. "cardbackphotourl": {
  24189. "description": "证件背面图片地址",
  24190. "type": "string"
  24191. },
  24192. "cardfrontphotourl": {
  24193. "description": "证件正面图片地址",
  24194. "type": "string"
  24195. },
  24196. "cardnum": {
  24197. "description": "证件号码(加密存储)",
  24198. "type": "string"
  24199. },
  24200. "cardtypeid": {
  24201. "description": "证件类型ID",
  24202. "type": "integer"
  24203. },
  24204. "cityid": {
  24205. "description": "市",
  24206. "type": "integer"
  24207. },
  24208. "company": {
  24209. "description": "公司(个人)",
  24210. "type": "string"
  24211. },
  24212. "contactname": {
  24213. "description": "联系人",
  24214. "type": "string"
  24215. },
  24216. "countryid": {
  24217. "description": "国家",
  24218. "type": "integer"
  24219. },
  24220. "createtime": {
  24221. "description": "创建时间",
  24222. "type": "string"
  24223. },
  24224. "creatorid": {
  24225. "description": "创建人",
  24226. "type": "integer"
  24227. },
  24228. "customername": {
  24229. "description": "客户名称(企业名称)",
  24230. "type": "string"
  24231. },
  24232. "districtid": {
  24233. "description": "地区",
  24234. "type": "integer"
  24235. },
  24236. "email": {
  24237. "description": "邮件(加密存储)",
  24238. "type": "string"
  24239. },
  24240. "fax": {
  24241. "description": "传真(加密存储)",
  24242. "type": "string"
  24243. },
  24244. "halfbodyphotourl": {
  24245. "description": "半身照地址",
  24246. "type": "string"
  24247. },
  24248. "hasencrypt": {
  24249. "description": "数据是否已加密 - 0:未加密 1:已加密",
  24250. "type": "integer"
  24251. },
  24252. "headurl": {
  24253. "description": "头像地址",
  24254. "type": "string"
  24255. },
  24256. "legalcardbackphotourl": {
  24257. "description": "法人身份证背面照地址",
  24258. "type": "string"
  24259. },
  24260. "legalcardfrontphotourl": {
  24261. "description": "法人身份证正面照地址",
  24262. "type": "string"
  24263. },
  24264. "legalpersonname": {
  24265. "description": "法人姓名(企业)",
  24266. "type": "string"
  24267. },
  24268. "mobile": {
  24269. "description": "手机号码(加密存储)",
  24270. "type": "string"
  24271. },
  24272. "mobile2": {
  24273. "description": "手机号码[明文-尚志]",
  24274. "type": "string"
  24275. },
  24276. "modifierid": {
  24277. "description": "修改人",
  24278. "type": "integer"
  24279. },
  24280. "modifiertime": {
  24281. "description": "修改时间",
  24282. "type": "string"
  24283. },
  24284. "needinvoice": {
  24285. "description": "是否需要发票 - 0:不需要 1:需要",
  24286. "type": "integer"
  24287. },
  24288. "nickname": {
  24289. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  24290. "type": "string"
  24291. },
  24292. "openmode": {
  24293. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  24294. "type": "integer"
  24295. },
  24296. "otherurl": {
  24297. "description": "其它图片地址[使用分号分隔]",
  24298. "type": "string"
  24299. },
  24300. "postalcode": {
  24301. "description": "邮政编码",
  24302. "type": "string"
  24303. },
  24304. "provinceid": {
  24305. "description": "省",
  24306. "type": "integer"
  24307. },
  24308. "qq": {
  24309. "description": "QQ(加密存储",
  24310. "type": "string"
  24311. },
  24312. "remark": {
  24313. "description": "备注",
  24314. "type": "string"
  24315. },
  24316. "sex": {
  24317. "description": "用户性别 0: 女 1: 男",
  24318. "type": "integer"
  24319. },
  24320. "signpdfurl": {
  24321. "description": "签约pdf文件",
  24322. "type": "string"
  24323. },
  24324. "telphone": {
  24325. "description": "联系电话(加密存储)",
  24326. "type": "string"
  24327. },
  24328. "userid": {
  24329. "description": "用户ID",
  24330. "type": "integer"
  24331. },
  24332. "userinfotype": {
  24333. "description": "用户信息类型 - 1:个人 2:企业",
  24334. "type": "integer"
  24335. },
  24336. "userstatus": {
  24337. "description": "用户状态 - 1:正常 2:注销",
  24338. "type": "integer"
  24339. },
  24340. "usertype": {
  24341. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  24342. "type": "integer"
  24343. },
  24344. "wechat": {
  24345. "description": "微信(加密存储)",
  24346. "type": "string"
  24347. },
  24348. "wskhinfo": {
  24349. "description": "开户申请信息(JSON)",
  24350. "type": "string"
  24351. }
  24352. }
  24353. },
  24354. "models.WRSConverTDetail": {
  24355. "type": "object",
  24356. "properties": {
  24357. "convertratio": {
  24358. "description": "套保系数",
  24359. "type": "number"
  24360. },
  24361. "deliverygoodscode": {
  24362. "description": "现货商品代码",
  24363. "type": "string"
  24364. },
  24365. "deliverygoodsid": {
  24366. "description": "现货品种ID",
  24367. "type": "integer"
  24368. },
  24369. "deliverygoodsname": {
  24370. "description": "现货商品名称",
  24371. "type": "string"
  24372. },
  24373. "enumdicname": {
  24374. "description": "单位名称",
  24375. "type": "string"
  24376. },
  24377. "goodsunitid": {
  24378. "description": "套保品种单位id",
  24379. "type": "integer"
  24380. },
  24381. "middlegoodscode": {
  24382. "description": "套保品种代码",
  24383. "type": "string"
  24384. },
  24385. "middlegoodsid": {
  24386. "description": "套保品种ID",
  24387. "type": "integer"
  24388. },
  24389. "middlegoodsname": {
  24390. "description": "套保品种名称",
  24391. "type": "string"
  24392. },
  24393. "modifytime": {
  24394. "description": "修改时间",
  24395. "type": "string"
  24396. },
  24397. "wrstandardid": {
  24398. "description": "品类ID",
  24399. "type": "integer"
  24400. }
  24401. }
  24402. },
  24403. "models.WRStandardInfo": {
  24404. "type": "object",
  24405. "required": [
  24406. "wrstandardid"
  24407. ],
  24408. "properties": {
  24409. "areauserid": {
  24410. "description": "所属机构",
  24411. "type": "integer"
  24412. },
  24413. "convertfactor": {
  24414. "description": "标仓系数",
  24415. "type": "number"
  24416. },
  24417. "createtime": {
  24418. "description": "创建时间",
  24419. "type": "string"
  24420. },
  24421. "creatorid": {
  24422. "description": "创建人",
  24423. "type": "integer"
  24424. },
  24425. "deliverygoodsid": {
  24426. "description": "品种ID",
  24427. "type": "integer"
  24428. },
  24429. "deliverygoodsname": {
  24430. "description": "交割商品名称",
  24431. "type": "string"
  24432. },
  24433. "factoryitemjson": {
  24434. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  24435. "type": "string"
  24436. },
  24437. "isvalid": {
  24438. "description": "是否有效 - 0:无效 1:有效",
  24439. "type": "integer"
  24440. },
  24441. "minivalue": {
  24442. "description": "最小变动值",
  24443. "type": "integer"
  24444. },
  24445. "minivaluedp": {
  24446. "description": "最小变动值小数位",
  24447. "type": "integer"
  24448. },
  24449. "realminivalue": {
  24450. "description": "实际最小变动值",
  24451. "type": "integer"
  24452. },
  24453. "realminivaluedp": {
  24454. "description": "实际最小变动值小数位",
  24455. "type": "integer"
  24456. },
  24457. "remark": {
  24458. "description": "备注",
  24459. "type": "string"
  24460. },
  24461. "unitid": {
  24462. "description": "单位ID",
  24463. "type": "integer"
  24464. },
  24465. "unitname": {
  24466. "description": "单位",
  24467. "type": "string"
  24468. },
  24469. "updatetime": {
  24470. "description": "更新时间",
  24471. "type": "string"
  24472. },
  24473. "updatorid": {
  24474. "description": "更新人",
  24475. "type": "integer"
  24476. },
  24477. "wrsstatus": {
  24478. "description": "状态 - 作废 - 0:未激活 1:正常",
  24479. "type": "integer"
  24480. },
  24481. "wrstandardcode": {
  24482. "description": "现货品类代码",
  24483. "type": "string"
  24484. },
  24485. "wrstandardid": {
  24486. "description": "现货品类ID(SEQ_WRSTANDARD)",
  24487. "type": "integer"
  24488. },
  24489. "wrstandardname": {
  24490. "description": "现货品类名称",
  24491. "type": "string"
  24492. }
  24493. }
  24494. },
  24495. "models.Warehouseinfo": {
  24496. "type": "object",
  24497. "required": [
  24498. "autoid",
  24499. "warehousecode"
  24500. ],
  24501. "properties": {
  24502. "address": {
  24503. "description": "详细地址",
  24504. "type": "string"
  24505. },
  24506. "areauserid": {
  24507. "description": "所属机构",
  24508. "type": "integer"
  24509. },
  24510. "autoid": {
  24511. "description": "自增ID",
  24512. "type": "integer"
  24513. },
  24514. "cityid": {
  24515. "description": "市",
  24516. "type": "integer"
  24517. },
  24518. "contactname": {
  24519. "description": "联系人",
  24520. "type": "string"
  24521. },
  24522. "contactnum": {
  24523. "description": "联系电话",
  24524. "type": "string"
  24525. },
  24526. "countryid": {
  24527. "description": "国家",
  24528. "type": "integer"
  24529. },
  24530. "createtime": {
  24531. "description": "创建时间",
  24532. "type": "string"
  24533. },
  24534. "districtid": {
  24535. "description": "区",
  24536. "type": "integer"
  24537. },
  24538. "hasvideo": {
  24539. "description": "是否有视频 - 0:无 1:有",
  24540. "type": "integer"
  24541. },
  24542. "provinceid": {
  24543. "description": "省",
  24544. "type": "integer"
  24545. },
  24546. "remark": {
  24547. "description": "审核备注",
  24548. "type": "string"
  24549. },
  24550. "videourl": {
  24551. "description": "视频地址",
  24552. "type": "string"
  24553. },
  24554. "warehousecode": {
  24555. "description": "仓库代码",
  24556. "type": "string"
  24557. },
  24558. "warehousename": {
  24559. "description": "仓库名称",
  24560. "type": "string"
  24561. },
  24562. "warehousestatus": {
  24563. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  24564. "type": "integer"
  24565. },
  24566. "warehousetype": {
  24567. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24568. "type": "integer"
  24569. }
  24570. }
  24571. },
  24572. "order.QueryHisTradeDetailRsp": {
  24573. "type": "object",
  24574. "required": [
  24575. "accountid",
  24576. "buyorsell",
  24577. "goodsid",
  24578. "histradedate",
  24579. "marketid",
  24580. "memberuserid",
  24581. "orderid",
  24582. "tradeamount",
  24583. "tradedate",
  24584. "tradeid",
  24585. "tradeprice",
  24586. "tradeqty",
  24587. "tradetime"
  24588. ],
  24589. "properties": {
  24590. "accountid": {
  24591. "description": "账户ID[报价币种]",
  24592. "type": "integer"
  24593. },
  24594. "buildtype": {
  24595. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24596. "type": "integer"
  24597. },
  24598. "buyorsell": {
  24599. "description": "方向 - 0:买 1:卖",
  24600. "type": "integer"
  24601. },
  24602. "charge": {
  24603. "description": "手续费",
  24604. "type": "number"
  24605. },
  24606. "closecharge": {
  24607. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24608. "type": "number"
  24609. },
  24610. "closeexchagechargevalue": {
  24611. "description": "平仓交易所手续费设置值",
  24612. "type": "number"
  24613. },
  24614. "closefeealgorithm": {
  24615. "description": "平仓手续费收取方式 1:比率 2:固定",
  24616. "type": "integer"
  24617. },
  24618. "closememberchargevalue": {
  24619. "description": "平仓会员手续费设置值",
  24620. "type": "number"
  24621. },
  24622. "closepl": {
  24623. "description": "平仓盈亏",
  24624. "type": "number"
  24625. },
  24626. "closepl2": {
  24627. "description": "平仓盈亏[逐笔]",
  24628. "type": "number"
  24629. },
  24630. "closeqty": {
  24631. "description": "平仓数量(先建后平操作 需要记录)",
  24632. "type": "integer"
  24633. },
  24634. "creditamount": {
  24635. "description": "授信金额",
  24636. "type": "number"
  24637. },
  24638. "gcaccountid": {
  24639. "description": "账户ID[合约币种]",
  24640. "type": "integer"
  24641. },
  24642. "goodscode": {
  24643. "description": "商品代码",
  24644. "type": "string"
  24645. },
  24646. "goodsid": {
  24647. "description": "商品ID",
  24648. "type": "integer"
  24649. },
  24650. "goodsname": {
  24651. "description": "商品名称",
  24652. "type": "string"
  24653. },
  24654. "histradedate": {
  24655. "description": "历史交易日",
  24656. "type": "string"
  24657. },
  24658. "intclosepl": {
  24659. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24660. "type": "integer"
  24661. },
  24662. "isconfirmexercise": {
  24663. "description": "是否确认行权- 0:否 1:是",
  24664. "type": "integer"
  24665. },
  24666. "ismain": {
  24667. "description": "是否主单 - 0:不是 1:是",
  24668. "type": "integer"
  24669. },
  24670. "ispreexercise": {
  24671. "description": "是否预申报- 0:否 1:是",
  24672. "type": "integer"
  24673. },
  24674. "isreckoned": {
  24675. "description": "是否结算 - 0:未结算 1:已结算",
  24676. "type": "integer"
  24677. },
  24678. "isvaliddata": {
  24679. "description": "是否有效 - 0:无效 1:有效",
  24680. "type": "integer"
  24681. },
  24682. "listingselecttype": {
  24683. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24684. "type": "integer"
  24685. },
  24686. "marketid": {
  24687. "description": "市场ID",
  24688. "type": "integer"
  24689. },
  24690. "marketname": {
  24691. "description": "市场名称",
  24692. "type": "string"
  24693. },
  24694. "matchaccountid": {
  24695. "description": "对手账号id",
  24696. "type": "integer"
  24697. },
  24698. "memberuserid": {
  24699. "description": "会员id 个人投资者 需要填写",
  24700. "type": "integer"
  24701. },
  24702. "opencharge": {
  24703. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24704. "type": "number"
  24705. },
  24706. "openexchagechargevalue": {
  24707. "description": "建仓交易所手续费设置值",
  24708. "type": "number"
  24709. },
  24710. "openfeealgorithm": {
  24711. "description": "建仓手续费收取方式 1:比率 2:固定",
  24712. "type": "integer"
  24713. },
  24714. "openmemberchargevalue": {
  24715. "description": "建仓会员手续费设置值",
  24716. "type": "number"
  24717. },
  24718. "openqty": {
  24719. "description": "开仓数量(先建后平操作 需要记录)",
  24720. "type": "integer"
  24721. },
  24722. "optiontype": {
  24723. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24724. "type": "integer"
  24725. },
  24726. "orderid": {
  24727. "description": "委托单号",
  24728. "type": "string"
  24729. },
  24730. "performanceplanid": {
  24731. "description": "履约计划ID[期权]",
  24732. "type": "integer"
  24733. },
  24734. "performancestatus": {
  24735. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24736. "type": "integer"
  24737. },
  24738. "preexerciseprice": {
  24739. "description": "预申报价格",
  24740. "type": "number"
  24741. },
  24742. "premium": {
  24743. "description": "权利金 - [持仓单的权利金]",
  24744. "type": "number"
  24745. },
  24746. "relatedouttradeid": {
  24747. "description": "关联外部成交单ID",
  24748. "type": "integer"
  24749. },
  24750. "status": {
  24751. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24752. "type": "integer"
  24753. },
  24754. "tradeamount": {
  24755. "description": "成交金额[账户币种,用于所有权]",
  24756. "type": "number"
  24757. },
  24758. "tradedate": {
  24759. "description": "交易日(yyyyMMdd)",
  24760. "type": "string"
  24761. },
  24762. "tradeid": {
  24763. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24764. "type": "string"
  24765. },
  24766. "trademode": {
  24767. "description": "交易模式",
  24768. "type": "integer"
  24769. },
  24770. "tradeprice": {
  24771. "description": "成交价格",
  24772. "type": "number"
  24773. },
  24774. "tradeproperty": {
  24775. "description": "交易属性",
  24776. "type": "integer"
  24777. },
  24778. "tradeqty": {
  24779. "description": "成交数量",
  24780. "type": "integer"
  24781. },
  24782. "tradetime": {
  24783. "description": "成交时间",
  24784. "type": "string"
  24785. },
  24786. "tradetype": {
  24787. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24788. "type": "integer"
  24789. }
  24790. }
  24791. },
  24792. "order.QueryHisTradeOrderDetailRsp": {
  24793. "type": "object",
  24794. "required": [
  24795. "accountid",
  24796. "buildtype",
  24797. "buyorsell",
  24798. "goodsid",
  24799. "histradedate",
  24800. "marketid",
  24801. "memberuserid",
  24802. "operatetype",
  24803. "orderid",
  24804. "orderqty",
  24805. "ordertime",
  24806. "pricemode",
  24807. "tradedate",
  24808. "validtype"
  24809. ],
  24810. "properties": {
  24811. "accountid": {
  24812. "description": "账户ID[报价币种]",
  24813. "type": "integer"
  24814. },
  24815. "buildtype": {
  24816. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24817. "type": "integer"
  24818. },
  24819. "buyorsell": {
  24820. "description": "买卖 - 0:买 1:卖",
  24821. "type": "integer"
  24822. },
  24823. "cancelorderid": {
  24824. "description": "撤单单号(撤单时填写)",
  24825. "type": "string"
  24826. },
  24827. "cancelqty": {
  24828. "description": "撤单数量",
  24829. "type": "integer"
  24830. },
  24831. "clientordertime": {
  24832. "description": "客户端委托时间",
  24833. "type": "string"
  24834. },
  24835. "clientticket": {
  24836. "description": "客户端流水号",
  24837. "type": "string"
  24838. },
  24839. "clienttype": {
  24840. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24841. "type": "integer"
  24842. },
  24843. "closeexchagechargevalue": {
  24844. "description": "平仓交易所手续费设置值",
  24845. "type": "number"
  24846. },
  24847. "closefeealgorithm": {
  24848. "description": "平仓手续费收取方式 1:比率 2:固定",
  24849. "type": "integer"
  24850. },
  24851. "closefreezecharge": {
  24852. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24853. "type": "number"
  24854. },
  24855. "closememberchargevalue": {
  24856. "description": "平仓会员手续费设置值",
  24857. "type": "number"
  24858. },
  24859. "closeqty": {
  24860. "description": "平仓数量(先建后平操作 需要记录)",
  24861. "type": "integer"
  24862. },
  24863. "closetradeqty": {
  24864. "description": "平仓成交数量(先建后平操作,需要记录)",
  24865. "type": "integer"
  24866. },
  24867. "closeunfreezecharge": {
  24868. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24869. "type": "number"
  24870. },
  24871. "delistingtype": {
  24872. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24873. "type": "integer"
  24874. },
  24875. "freezecharge": {
  24876. "description": "冻结手续费",
  24877. "type": "number"
  24878. },
  24879. "freezemargin": {
  24880. "description": "冻结保证金(冻结交易金额)",
  24881. "type": "number"
  24882. },
  24883. "gcaccountid": {
  24884. "description": "账户ID[合约币种]",
  24885. "type": "integer"
  24886. },
  24887. "goodscode": {
  24888. "description": "商品代码",
  24889. "type": "string"
  24890. },
  24891. "goodsid": {
  24892. "description": "商品ID",
  24893. "type": "integer"
  24894. },
  24895. "goodsname": {
  24896. "description": "商品名称",
  24897. "type": "string"
  24898. },
  24899. "histradedate": {
  24900. "description": "历史交易日",
  24901. "type": "string"
  24902. },
  24903. "isconfirmexercise": {
  24904. "description": "是否确认行权- 0:否 1:是",
  24905. "type": "integer"
  24906. },
  24907. "ispreexercise": {
  24908. "description": "是否预申报- 0:否 1:是",
  24909. "type": "integer"
  24910. },
  24911. "isvaliddata": {
  24912. "description": "是否有效 - 0:无效 1:有效",
  24913. "type": "integer"
  24914. },
  24915. "listingselecttype": {
  24916. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24917. "type": "integer"
  24918. },
  24919. "marginalgorithm": {
  24920. "description": "保证金收取方式 1:比率 2:固定",
  24921. "type": "integer"
  24922. },
  24923. "marginvalue": {
  24924. "description": "即市保证金设置值",
  24925. "type": "number"
  24926. },
  24927. "marketid": {
  24928. "description": "市场ID",
  24929. "type": "integer"
  24930. },
  24931. "marketmaxsub": {
  24932. "description": "市价最大偏移范围",
  24933. "type": "number"
  24934. },
  24935. "marketname": {
  24936. "description": "市场名称",
  24937. "type": "string"
  24938. },
  24939. "memberuserid": {
  24940. "description": "所属会员UserID",
  24941. "type": "integer"
  24942. },
  24943. "openexchagechargevalue": {
  24944. "description": "建仓交易所手续费设置值",
  24945. "type": "number"
  24946. },
  24947. "openfeealgorithm": {
  24948. "description": "建仓手续费收取方式 1:比率 2:固定",
  24949. "type": "integer"
  24950. },
  24951. "openfreezecharge": {
  24952. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24953. "type": "number"
  24954. },
  24955. "openmemberchargevalue": {
  24956. "description": "建仓会员手续费设置值",
  24957. "type": "number"
  24958. },
  24959. "openqty": {
  24960. "description": "开仓数量(先建后平操作,需要记录)",
  24961. "type": "integer"
  24962. },
  24963. "opentradeqty": {
  24964. "description": "开仓成交数量(先建后平操作,需要记录)",
  24965. "type": "integer"
  24966. },
  24967. "openunfreezecharge": {
  24968. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24969. "type": "number"
  24970. },
  24971. "operatetype": {
  24972. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24973. "type": "integer"
  24974. },
  24975. "operatorid": {
  24976. "description": "登录账号(LoginID)",
  24977. "type": "integer"
  24978. },
  24979. "optiontype": {
  24980. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24981. "type": "integer"
  24982. },
  24983. "orderid": {
  24984. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24985. "type": "string"
  24986. },
  24987. "orderprice": {
  24988. "description": "委托价格",
  24989. "type": "number"
  24990. },
  24991. "orderqty": {
  24992. "description": "委托数量",
  24993. "type": "integer"
  24994. },
  24995. "ordersrc": {
  24996. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24997. "type": "integer"
  24998. },
  24999. "orderstatus": {
  25000. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25001. "type": "integer"
  25002. },
  25003. "ordertime": {
  25004. "description": "委托时间",
  25005. "type": "string"
  25006. },
  25007. "preexerciseprice": {
  25008. "description": "预申报价格",
  25009. "type": "number"
  25010. },
  25011. "premium": {
  25012. "description": "权利金",
  25013. "type": "number"
  25014. },
  25015. "preorderid": {
  25016. "description": "关联预埋单号(止盈止损单时填写)",
  25017. "type": "string"
  25018. },
  25019. "pricemode": {
  25020. "description": "取价方式 - 1:市价 2: 限价",
  25021. "type": "integer"
  25022. },
  25023. "quoteid": {
  25024. "description": "报价单ID",
  25025. "type": "integer"
  25026. },
  25027. "relatedid": {
  25028. "description": "关联单号(交割单)",
  25029. "type": "string"
  25030. },
  25031. "retcode": {
  25032. "description": "错误代码",
  25033. "type": "integer"
  25034. },
  25035. "sessionid": {
  25036. "description": "会话ID",
  25037. "type": "integer"
  25038. },
  25039. "tradedate": {
  25040. "description": "交易日(yyyyMMdd)",
  25041. "type": "string"
  25042. },
  25043. "trademode": {
  25044. "description": "交易模式",
  25045. "type": "integer"
  25046. },
  25047. "tradeproperty": {
  25048. "description": "交易属性",
  25049. "type": "integer"
  25050. },
  25051. "tradeqty": {
  25052. "description": "成交数量",
  25053. "type": "integer"
  25054. },
  25055. "unfreezecharge": {
  25056. "description": "解冻手续费",
  25057. "type": "number"
  25058. },
  25059. "unfreezemargin": {
  25060. "description": "解冻保证金",
  25061. "type": "number"
  25062. },
  25063. "updatetime": {
  25064. "description": "更新时间",
  25065. "type": "string"
  25066. },
  25067. "uuid": {
  25068. "description": "发起端唯一id",
  25069. "type": "string"
  25070. },
  25071. "validtime": {
  25072. "description": "有效期限",
  25073. "type": "string"
  25074. },
  25075. "validtype": {
  25076. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25077. "type": "integer"
  25078. },
  25079. "volumetype": {
  25080. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25081. "type": "integer"
  25082. }
  25083. }
  25084. },
  25085. "order.QueryTradeDetailRsp": {
  25086. "type": "object",
  25087. "required": [
  25088. "accountid",
  25089. "buyorsell",
  25090. "goodsid",
  25091. "marketid",
  25092. "memberuserid",
  25093. "orderid",
  25094. "tradeamount",
  25095. "tradedate",
  25096. "tradeid",
  25097. "tradeprice",
  25098. "tradeqty",
  25099. "tradetime"
  25100. ],
  25101. "properties": {
  25102. "accountid": {
  25103. "description": "账户ID[报价币种]",
  25104. "type": "integer"
  25105. },
  25106. "buildtype": {
  25107. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25108. "type": "integer"
  25109. },
  25110. "buyorsell": {
  25111. "description": "方向 - 0:买 1:卖",
  25112. "type": "integer"
  25113. },
  25114. "charge": {
  25115. "description": "手续费",
  25116. "type": "number"
  25117. },
  25118. "closecharge": {
  25119. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25120. "type": "number"
  25121. },
  25122. "closeexchagechargevalue": {
  25123. "description": "平仓交易所手续费设置值",
  25124. "type": "number"
  25125. },
  25126. "closefeealgorithm": {
  25127. "description": "平仓手续费收取方式 1:比率 2:固定",
  25128. "type": "integer"
  25129. },
  25130. "closememberchargevalue": {
  25131. "description": "平仓会员手续费设置值",
  25132. "type": "number"
  25133. },
  25134. "closepl": {
  25135. "description": "平仓盈亏",
  25136. "type": "number"
  25137. },
  25138. "closepl2": {
  25139. "description": "平仓盈亏[逐笔]",
  25140. "type": "number"
  25141. },
  25142. "closeqty": {
  25143. "description": "平仓数量(先建后平操作 需要记录)",
  25144. "type": "integer"
  25145. },
  25146. "creditamount": {
  25147. "description": "授信金额",
  25148. "type": "number"
  25149. },
  25150. "gcaccountid": {
  25151. "description": "账户ID[合约币种]",
  25152. "type": "integer"
  25153. },
  25154. "goodscode": {
  25155. "description": "商品代码",
  25156. "type": "string"
  25157. },
  25158. "goodsid": {
  25159. "description": "商品ID",
  25160. "type": "integer"
  25161. },
  25162. "goodsname": {
  25163. "description": "商品名称",
  25164. "type": "string"
  25165. },
  25166. "intclosepl": {
  25167. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25168. "type": "integer"
  25169. },
  25170. "isconfirmexercise": {
  25171. "description": "是否确认行权- 0:否 1:是",
  25172. "type": "integer"
  25173. },
  25174. "ismain": {
  25175. "description": "是否主单 - 0:不是 1:是",
  25176. "type": "integer"
  25177. },
  25178. "ispreexercise": {
  25179. "description": "是否预申报- 0:否 1:是",
  25180. "type": "integer"
  25181. },
  25182. "isreckoned": {
  25183. "description": "是否结算 - 0:未结算 1:已结算",
  25184. "type": "integer"
  25185. },
  25186. "listingselecttype": {
  25187. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25188. "type": "integer"
  25189. },
  25190. "marketid": {
  25191. "description": "市场ID",
  25192. "type": "integer"
  25193. },
  25194. "marketname": {
  25195. "description": "市场名称",
  25196. "type": "string"
  25197. },
  25198. "matchaccountid": {
  25199. "description": "对手账号id",
  25200. "type": "integer"
  25201. },
  25202. "memberuserid": {
  25203. "description": "会员id 个人投资者 需要填写",
  25204. "type": "integer"
  25205. },
  25206. "opencharge": {
  25207. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25208. "type": "number"
  25209. },
  25210. "openexchagechargevalue": {
  25211. "description": "建仓交易所手续费设置值",
  25212. "type": "number"
  25213. },
  25214. "openfeealgorithm": {
  25215. "description": "建仓手续费收取方式 1:比率 2:固定",
  25216. "type": "integer"
  25217. },
  25218. "openmemberchargevalue": {
  25219. "description": "建仓会员手续费设置值",
  25220. "type": "number"
  25221. },
  25222. "openqty": {
  25223. "description": "开仓数量(先建后平操作 需要记录)",
  25224. "type": "integer"
  25225. },
  25226. "optiontype": {
  25227. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25228. "type": "integer"
  25229. },
  25230. "orderid": {
  25231. "description": "委托单号",
  25232. "type": "string"
  25233. },
  25234. "performanceplanid": {
  25235. "description": "履约计划ID[期权]",
  25236. "type": "integer"
  25237. },
  25238. "performancestatus": {
  25239. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25240. "type": "integer"
  25241. },
  25242. "preexerciseprice": {
  25243. "description": "预申报价格",
  25244. "type": "number"
  25245. },
  25246. "premium": {
  25247. "description": "权利金 - [持仓单的权利金]",
  25248. "type": "number"
  25249. },
  25250. "relatedouttradeid": {
  25251. "description": "关联外部成交单ID",
  25252. "type": "integer"
  25253. },
  25254. "status": {
  25255. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  25256. "type": "integer"
  25257. },
  25258. "tradeamount": {
  25259. "description": "成交金额[账户币种,用于所有权]",
  25260. "type": "number"
  25261. },
  25262. "tradedate": {
  25263. "description": "交易日(yyyyMMdd)",
  25264. "type": "string"
  25265. },
  25266. "tradeid": {
  25267. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25268. "type": "string"
  25269. },
  25270. "trademode": {
  25271. "description": "交易模式",
  25272. "type": "integer"
  25273. },
  25274. "tradeprice": {
  25275. "description": "成交价格",
  25276. "type": "number"
  25277. },
  25278. "tradeproperty": {
  25279. "description": "交易属性",
  25280. "type": "integer"
  25281. },
  25282. "tradeqty": {
  25283. "description": "成交数量",
  25284. "type": "integer"
  25285. },
  25286. "tradetime": {
  25287. "description": "成交时间",
  25288. "type": "string"
  25289. },
  25290. "tradetype": {
  25291. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  25292. "type": "integer"
  25293. }
  25294. }
  25295. },
  25296. "order.QueryTradeOrderDetailRsp": {
  25297. "type": "object",
  25298. "required": [
  25299. "accountid",
  25300. "buildtype",
  25301. "buyorsell",
  25302. "goodsid",
  25303. "marketid",
  25304. "operatetype",
  25305. "orderqty",
  25306. "ordertime",
  25307. "pricemode",
  25308. "tradedate",
  25309. "validtype"
  25310. ],
  25311. "properties": {
  25312. "accountid": {
  25313. "description": "账户ID[报价币种]",
  25314. "type": "integer"
  25315. },
  25316. "buildtype": {
  25317. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  25318. "type": "integer"
  25319. },
  25320. "buyorsell": {
  25321. "description": "买卖 - 0:买 1:卖",
  25322. "type": "integer"
  25323. },
  25324. "cancelorderid": {
  25325. "description": "撤单单号(撤单时填写)",
  25326. "type": "string"
  25327. },
  25328. "cancelqty": {
  25329. "description": "撤单数量",
  25330. "type": "integer"
  25331. },
  25332. "clienttype": {
  25333. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25334. "type": "integer"
  25335. },
  25336. "closefreezecharge": {
  25337. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  25338. "type": "number"
  25339. },
  25340. "closeqty": {
  25341. "description": "平仓数量(先建后平操作 需要记录)",
  25342. "type": "integer"
  25343. },
  25344. "closetradeqty": {
  25345. "description": "平仓成交数量(先建后平操作,需要记录)",
  25346. "type": "integer"
  25347. },
  25348. "closeunfreezecharge": {
  25349. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  25350. "type": "number"
  25351. },
  25352. "delistingtype": {
  25353. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  25354. "type": "integer"
  25355. },
  25356. "enableqty": {
  25357. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  25358. "type": "integer"
  25359. },
  25360. "freezecharge": {
  25361. "description": "冻结手续费",
  25362. "type": "number"
  25363. },
  25364. "freezemargin": {
  25365. "description": "冻结保证金(冻结交易金额)",
  25366. "type": "number"
  25367. },
  25368. "goodscode": {
  25369. "description": "商品代码",
  25370. "type": "string"
  25371. },
  25372. "goodsid": {
  25373. "description": "商品ID",
  25374. "type": "integer"
  25375. },
  25376. "goodsname": {
  25377. "description": "商品名称",
  25378. "type": "string"
  25379. },
  25380. "listingselecttype": {
  25381. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25382. "type": "integer"
  25383. },
  25384. "marketid": {
  25385. "description": "市场ID",
  25386. "type": "integer"
  25387. },
  25388. "marketname": {
  25389. "description": "市场名称",
  25390. "type": "string"
  25391. },
  25392. "openfreezecharge": {
  25393. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  25394. "type": "number"
  25395. },
  25396. "openqty": {
  25397. "description": "开仓数量(先建后平操作,需要记录)",
  25398. "type": "integer"
  25399. },
  25400. "opentradeqty": {
  25401. "description": "开仓成交数量(先建后平操作,需要记录)",
  25402. "type": "integer"
  25403. },
  25404. "openunfreezecharge": {
  25405. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  25406. "type": "number"
  25407. },
  25408. "operatetype": {
  25409. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  25410. "type": "integer"
  25411. },
  25412. "operatorid": {
  25413. "description": "登录账号(LoginID)",
  25414. "type": "integer"
  25415. },
  25416. "orderid": {
  25417. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25418. "type": "string"
  25419. },
  25420. "orderprice": {
  25421. "description": "委托价格",
  25422. "type": "number"
  25423. },
  25424. "orderqty": {
  25425. "description": "委托数量",
  25426. "type": "integer"
  25427. },
  25428. "ordersrc": {
  25429. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  25430. "type": "integer"
  25431. },
  25432. "orderstatus": {
  25433. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25434. "type": "integer"
  25435. },
  25436. "ordertime": {
  25437. "description": "委托时间",
  25438. "type": "string"
  25439. },
  25440. "preorderid": {
  25441. "description": "关联预埋单号(止盈止损单时填写)",
  25442. "type": "string"
  25443. },
  25444. "pricemode": {
  25445. "description": "取价方式 - 1:市价 2: 限价",
  25446. "type": "integer"
  25447. },
  25448. "relatedid": {
  25449. "description": "关联单号(交割单)",
  25450. "type": "string"
  25451. },
  25452. "tradedate": {
  25453. "description": "交易日(yyyyMMdd)",
  25454. "type": "string"
  25455. },
  25456. "trademode": {
  25457. "description": "交易模式",
  25458. "type": "integer"
  25459. },
  25460. "tradeqty": {
  25461. "description": "成交数量",
  25462. "type": "integer"
  25463. },
  25464. "unfreezecharge": {
  25465. "description": "解冻手续费",
  25466. "type": "number"
  25467. },
  25468. "unfreezemargin": {
  25469. "description": "解冻保证金",
  25470. "type": "number"
  25471. },
  25472. "validtime": {
  25473. "description": "有效期限",
  25474. "type": "string"
  25475. },
  25476. "validtype": {
  25477. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25478. "type": "integer"
  25479. },
  25480. "volumetype": {
  25481. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25482. "type": "integer"
  25483. }
  25484. }
  25485. },
  25486. "order.QueryTradePositionRsp": {
  25487. "type": "object",
  25488. "required": [
  25489. "goodsid"
  25490. ],
  25491. "properties": {
  25492. "accountid": {
  25493. "description": "资金账户",
  25494. "type": "integer"
  25495. },
  25496. "agreeunit": {
  25497. "description": "合约单位",
  25498. "type": "number"
  25499. },
  25500. "averageprice": {
  25501. "description": "持仓均价",
  25502. "type": "number"
  25503. },
  25504. "buyorsell": {
  25505. "description": "方向 - 0:买 1:卖",
  25506. "type": "integer"
  25507. },
  25508. "closetotalqty": {
  25509. "description": "平仓总数量",
  25510. "type": "integer"
  25511. },
  25512. "curholderamount": {
  25513. "description": "当前持仓总金额[商品币种]",
  25514. "type": "number"
  25515. },
  25516. "curpositionqty": {
  25517. "description": "当前持仓总数量",
  25518. "type": "integer"
  25519. },
  25520. "currencyid": {
  25521. "description": "报价货币ID",
  25522. "type": "integer"
  25523. },
  25524. "curtdposition": {
  25525. "description": "期末今日头寸",
  25526. "type": "integer"
  25527. },
  25528. "decimalplace": {
  25529. "description": "报价小数位",
  25530. "type": "integer"
  25531. },
  25532. "enableqty": {
  25533. "description": "可用量",
  25534. "type": "integer"
  25535. },
  25536. "fretdposition": {
  25537. "description": "冻结今日头寸",
  25538. "type": "integer"
  25539. },
  25540. "frozenqty": {
  25541. "description": "持仓冻结数量",
  25542. "type": "integer"
  25543. },
  25544. "goodscode": {
  25545. "description": "商品代码",
  25546. "type": "string"
  25547. },
  25548. "goodsid": {
  25549. "description": "商品Id",
  25550. "type": "integer"
  25551. },
  25552. "goodsname": {
  25553. "description": "商品名称",
  25554. "type": "string"
  25555. },
  25556. "goodunit": {
  25557. "description": "报价单位",
  25558. "type": "string"
  25559. },
  25560. "goodunitid": {
  25561. "description": "报价单位ID",
  25562. "type": "integer"
  25563. },
  25564. "holderamount": {
  25565. "description": "期初持仓总金额[商品币种]",
  25566. "type": "number"
  25567. },
  25568. "marketid": {
  25569. "description": "所属市场ID",
  25570. "type": "integer"
  25571. },
  25572. "openreqqty": {
  25573. "description": "开仓申请数量(用于比较最大持仓数量)",
  25574. "type": "integer"
  25575. },
  25576. "opentotalqty": {
  25577. "description": "开仓总数量",
  25578. "type": "integer"
  25579. },
  25580. "otherfrozenqty": {
  25581. "description": "持仓其他冻结数量(交割冻结)",
  25582. "type": "integer"
  25583. },
  25584. "positionqty": {
  25585. "description": "期初持仓数量",
  25586. "type": "integer"
  25587. },
  25588. "tnqty": {
  25589. "description": "T+N冻结总量",
  25590. "type": "integer"
  25591. },
  25592. "tnusedqty": {
  25593. "description": "T+N使用量(可以使用T+N的冻结数量)",
  25594. "type": "integer"
  25595. },
  25596. "trademode": {
  25597. "description": "交易模式",
  25598. "type": "integer"
  25599. },
  25600. "usedmargin": {
  25601. "description": "占用保证金[商品币种]",
  25602. "type": "number"
  25603. }
  25604. }
  25605. },
  25606. "quote.HistoryData": {
  25607. "type": "object",
  25608. "properties": {
  25609. "c": {
  25610. "description": "收盘价",
  25611. "type": "number"
  25612. },
  25613. "f": {
  25614. "description": "是否补充数据",
  25615. "type": "boolean"
  25616. },
  25617. "h": {
  25618. "description": "最高价",
  25619. "type": "number"
  25620. },
  25621. "hv": {
  25622. "description": "持仓量",
  25623. "type": "integer"
  25624. },
  25625. "l": {
  25626. "description": "最低价",
  25627. "type": "number"
  25628. },
  25629. "o": {
  25630. "description": "开盘价",
  25631. "type": "number"
  25632. },
  25633. "s": {
  25634. "description": "结算价,日线周期(包括)以上才有",
  25635. "type": "number"
  25636. },
  25637. "ts": {
  25638. "description": "时间",
  25639. "type": "string"
  25640. },
  25641. "tt": {
  25642. "description": "总金额",
  25643. "type": "number"
  25644. },
  25645. "tv": {
  25646. "description": "总量",
  25647. "type": "integer"
  25648. }
  25649. }
  25650. },
  25651. "quote.HistoryTikData": {
  25652. "type": "object",
  25653. "properties": {
  25654. "AV": {
  25655. "description": "卖量",
  25656. "type": "integer"
  25657. },
  25658. "Ask": {
  25659. "description": "卖价",
  25660. "type": "number"
  25661. },
  25662. "BV": {
  25663. "description": "买量",
  25664. "type": "integer"
  25665. },
  25666. "Bid": {
  25667. "description": "买价",
  25668. "type": "number"
  25669. },
  25670. "HI": {
  25671. "description": "单笔持仓",
  25672. "type": "integer"
  25673. },
  25674. "HV": {
  25675. "description": "持仓量",
  25676. "type": "integer"
  25677. },
  25678. "PE": {
  25679. "description": "现价",
  25680. "type": "number"
  25681. },
  25682. "TDR": {
  25683. "description": "交易方向,0:买 1:卖",
  25684. "type": "integer"
  25685. },
  25686. "TK": {
  25687. "description": "交易类型",
  25688. "type": "integer"
  25689. },
  25690. "TS": {
  25691. "description": "行情时间文本",
  25692. "type": "string"
  25693. },
  25694. "TT": {
  25695. "description": "现金额",
  25696. "type": "number"
  25697. },
  25698. "Vol": {
  25699. "description": "现量",
  25700. "type": "integer"
  25701. }
  25702. }
  25703. },
  25704. "quote.QueryQuoteDayRsp": {
  25705. "type": "object",
  25706. "properties": {
  25707. "ask": {
  25708. "description": "卖1",
  25709. "type": "number"
  25710. },
  25711. "ask10": {
  25712. "description": "卖10",
  25713. "type": "number"
  25714. },
  25715. "ask2": {
  25716. "description": "卖2",
  25717. "type": "number"
  25718. },
  25719. "ask3": {
  25720. "description": "卖3",
  25721. "type": "number"
  25722. },
  25723. "ask4": {
  25724. "description": "卖4",
  25725. "type": "number"
  25726. },
  25727. "ask5": {
  25728. "description": "卖5",
  25729. "type": "number"
  25730. },
  25731. "ask6": {
  25732. "description": "卖6",
  25733. "type": "number"
  25734. },
  25735. "ask7": {
  25736. "description": "卖7",
  25737. "type": "number"
  25738. },
  25739. "ask8": {
  25740. "description": "卖8",
  25741. "type": "number"
  25742. },
  25743. "ask9": {
  25744. "description": "卖9",
  25745. "type": "number"
  25746. },
  25747. "askorderid": {
  25748. "description": "卖单号1",
  25749. "type": "integer"
  25750. },
  25751. "askorderid2": {
  25752. "description": "卖单号2",
  25753. "type": "integer"
  25754. },
  25755. "askorderid3": {
  25756. "description": "卖单号3",
  25757. "type": "integer"
  25758. },
  25759. "askorderid4": {
  25760. "description": "卖单号4",
  25761. "type": "integer"
  25762. },
  25763. "askorderid5": {
  25764. "description": "卖单号5",
  25765. "type": "integer"
  25766. },
  25767. "askordervolume": {
  25768. "description": "卖单量1",
  25769. "type": "integer"
  25770. },
  25771. "askordervolume10": {
  25772. "description": "卖单量10",
  25773. "type": "integer"
  25774. },
  25775. "askordervolume2": {
  25776. "description": "卖单量2",
  25777. "type": "integer"
  25778. },
  25779. "askordervolume3": {
  25780. "description": "卖单量3",
  25781. "type": "integer"
  25782. },
  25783. "askordervolume4": {
  25784. "description": "卖单量4",
  25785. "type": "integer"
  25786. },
  25787. "askordervolume5": {
  25788. "description": "卖单量5",
  25789. "type": "integer"
  25790. },
  25791. "askordervolume6": {
  25792. "description": "卖单量6",
  25793. "type": "integer"
  25794. },
  25795. "askordervolume7": {
  25796. "description": "卖单量7",
  25797. "type": "integer"
  25798. },
  25799. "askordervolume8": {
  25800. "description": "卖单量8",
  25801. "type": "integer"
  25802. },
  25803. "askordervolume9": {
  25804. "description": "卖单量9",
  25805. "type": "integer"
  25806. },
  25807. "askqueueinfo": {
  25808. "description": "大利市卖港股用",
  25809. "type": "string"
  25810. },
  25811. "askvolume": {
  25812. "description": "卖量1",
  25813. "type": "integer"
  25814. },
  25815. "askvolume10": {
  25816. "description": "卖量10",
  25817. "type": "integer"
  25818. },
  25819. "askvolume2": {
  25820. "description": "卖量2",
  25821. "type": "integer"
  25822. },
  25823. "askvolume3": {
  25824. "description": "卖量3",
  25825. "type": "integer"
  25826. },
  25827. "askvolume4": {
  25828. "description": "卖量4",
  25829. "type": "integer"
  25830. },
  25831. "askvolume5": {
  25832. "description": "卖量5",
  25833. "type": "integer"
  25834. },
  25835. "askvolume6": {
  25836. "description": "卖量6",
  25837. "type": "integer"
  25838. },
  25839. "askvolume7": {
  25840. "description": "卖量7",
  25841. "type": "integer"
  25842. },
  25843. "askvolume8": {
  25844. "description": "卖量8",
  25845. "type": "integer"
  25846. },
  25847. "askvolume9": {
  25848. "description": "卖量9",
  25849. "type": "integer"
  25850. },
  25851. "averageprice": {
  25852. "description": "均价",
  25853. "type": "number"
  25854. },
  25855. "bid": {
  25856. "description": "买1",
  25857. "type": "number"
  25858. },
  25859. "bid10": {
  25860. "description": "买10",
  25861. "type": "number"
  25862. },
  25863. "bid2": {
  25864. "description": "买2",
  25865. "type": "number"
  25866. },
  25867. "bid3": {
  25868. "description": "买3",
  25869. "type": "number"
  25870. },
  25871. "bid4": {
  25872. "description": "买4",
  25873. "type": "number"
  25874. },
  25875. "bid5": {
  25876. "description": "买5",
  25877. "type": "number"
  25878. },
  25879. "bid6": {
  25880. "description": "买6",
  25881. "type": "number"
  25882. },
  25883. "bid7": {
  25884. "description": "买7",
  25885. "type": "number"
  25886. },
  25887. "bid8": {
  25888. "description": "买8",
  25889. "type": "number"
  25890. },
  25891. "bid9": {
  25892. "description": "买9",
  25893. "type": "number"
  25894. },
  25895. "bidorderid": {
  25896. "description": "买单号1",
  25897. "type": "integer"
  25898. },
  25899. "bidorderid2": {
  25900. "description": "买单号2",
  25901. "type": "integer"
  25902. },
  25903. "bidorderid3": {
  25904. "description": "买单号3",
  25905. "type": "integer"
  25906. },
  25907. "bidorderid4": {
  25908. "description": "买单号4",
  25909. "type": "integer"
  25910. },
  25911. "bidorderid5": {
  25912. "description": "买单号5",
  25913. "type": "integer"
  25914. },
  25915. "bidordervolume": {
  25916. "description": "买单量1",
  25917. "type": "integer"
  25918. },
  25919. "bidordervolume10": {
  25920. "description": "买单量10",
  25921. "type": "integer"
  25922. },
  25923. "bidordervolume2": {
  25924. "description": "买单量2",
  25925. "type": "integer"
  25926. },
  25927. "bidordervolume3": {
  25928. "description": "买单量3",
  25929. "type": "integer"
  25930. },
  25931. "bidordervolume4": {
  25932. "description": "买单量4",
  25933. "type": "integer"
  25934. },
  25935. "bidordervolume5": {
  25936. "description": "买单量5",
  25937. "type": "integer"
  25938. },
  25939. "bidordervolume6": {
  25940. "description": "买单量6",
  25941. "type": "integer"
  25942. },
  25943. "bidordervolume7": {
  25944. "description": "买单量7",
  25945. "type": "integer"
  25946. },
  25947. "bidordervolume8": {
  25948. "description": "买单量8",
  25949. "type": "integer"
  25950. },
  25951. "bidordervolume9": {
  25952. "description": "买单量9",
  25953. "type": "integer"
  25954. },
  25955. "bidqueueinfo": {
  25956. "description": "大利市买港股用",
  25957. "type": "string"
  25958. },
  25959. "bidvolume": {
  25960. "description": "买量1",
  25961. "type": "integer"
  25962. },
  25963. "bidvolume10": {
  25964. "description": "买量10",
  25965. "type": "integer"
  25966. },
  25967. "bidvolume2": {
  25968. "description": "买量2",
  25969. "type": "integer"
  25970. },
  25971. "bidvolume3": {
  25972. "description": "买量3",
  25973. "type": "integer"
  25974. },
  25975. "bidvolume4": {
  25976. "description": "买量4",
  25977. "type": "integer"
  25978. },
  25979. "bidvolume5": {
  25980. "description": "买量5",
  25981. "type": "integer"
  25982. },
  25983. "bidvolume6": {
  25984. "description": "买量6",
  25985. "type": "integer"
  25986. },
  25987. "bidvolume7": {
  25988. "description": "买量7",
  25989. "type": "integer"
  25990. },
  25991. "bidvolume8": {
  25992. "description": "买量8",
  25993. "type": "integer"
  25994. },
  25995. "bidvolume9": {
  25996. "description": "买量9",
  25997. "type": "integer"
  25998. },
  25999. "calloptionpremiums": {
  26000. "description": "认购期权1",
  26001. "type": "integer"
  26002. },
  26003. "calloptionpremiums2": {
  26004. "description": "认购期权2",
  26005. "type": "integer"
  26006. },
  26007. "calloptionpremiums3": {
  26008. "description": "认购期权3",
  26009. "type": "integer"
  26010. },
  26011. "calloptionpremiums4": {
  26012. "description": "认购期权4",
  26013. "type": "integer"
  26014. },
  26015. "calloptionpremiums5": {
  26016. "description": "认购期权5",
  26017. "type": "integer"
  26018. },
  26019. "cleartime": {
  26020. "description": "清盘时间",
  26021. "type": "integer"
  26022. },
  26023. "exchangecode": {
  26024. "description": "交易所代码",
  26025. "type": "integer"
  26026. },
  26027. "exchangedate": {
  26028. "description": "交易日",
  26029. "type": "integer"
  26030. },
  26031. "goodscode": {
  26032. "description": "商品代码",
  26033. "type": "string"
  26034. },
  26035. "grepmarketprice": {
  26036. "description": "暗盘价 港股专用",
  26037. "type": "number"
  26038. },
  26039. "highest": {
  26040. "description": "最高价",
  26041. "type": "number"
  26042. },
  26043. "holdincrement": {
  26044. "description": "单笔持仓",
  26045. "type": "integer"
  26046. },
  26047. "holdvolume": {
  26048. "description": "持仓",
  26049. "type": "integer"
  26050. },
  26051. "iep": {
  26052. "description": "平衡价 港股专用",
  26053. "type": "number"
  26054. },
  26055. "iev": {
  26056. "description": "平衡量 港股专用",
  26057. "type": "number"
  26058. },
  26059. "inventory": {
  26060. "description": "库存",
  26061. "type": "integer"
  26062. },
  26063. "iscleared": {
  26064. "description": "是否清盘标志",
  26065. "type": "integer"
  26066. },
  26067. "issettled": {
  26068. "description": "是否结算标志",
  26069. "type": "integer"
  26070. },
  26071. "last": {
  26072. "description": "最新价",
  26073. "type": "number"
  26074. },
  26075. "lastlot": {
  26076. "description": "最新成交手数",
  26077. "type": "integer"
  26078. },
  26079. "lasttime": {
  26080. "description": "行情时间(只有现价变化行情时间才变化)",
  26081. "type": "string"
  26082. },
  26083. "lastturnover": {
  26084. "description": "最新成交金额",
  26085. "type": "number"
  26086. },
  26087. "lastvolume": {
  26088. "description": "最新成交量",
  26089. "type": "integer"
  26090. },
  26091. "limitdown": {
  26092. "description": "跌停价",
  26093. "type": "number"
  26094. },
  26095. "limitup": {
  26096. "description": "涨停价",
  26097. "type": "number"
  26098. },
  26099. "lowest": {
  26100. "description": "最低价",
  26101. "type": "number"
  26102. },
  26103. "nontotalholdervolume": {
  26104. "description": "非交易持仓量",
  26105. "type": "integer"
  26106. },
  26107. "nontotallot": {
  26108. "description": "非交易总手数",
  26109. "type": "integer"
  26110. },
  26111. "nontotalturnover": {
  26112. "description": "非交易总金额",
  26113. "type": "integer"
  26114. },
  26115. "nontotalvolume": {
  26116. "description": "非交易总量",
  26117. "type": "integer"
  26118. },
  26119. "opened": {
  26120. "description": "开盘价",
  26121. "type": "number"
  26122. },
  26123. "opentime": {
  26124. "description": "开盘时间",
  26125. "type": "string"
  26126. },
  26127. "orderid": {
  26128. "description": "序号",
  26129. "type": "integer"
  26130. },
  26131. "preclose": {
  26132. "description": "昨收",
  26133. "type": "number"
  26134. },
  26135. "preholdvolume": {
  26136. "description": "昨持仓",
  26137. "type": "integer"
  26138. },
  26139. "presettle": {
  26140. "description": "昨结价",
  26141. "type": "number"
  26142. },
  26143. "publictradetype": {
  26144. "description": "公共交易标志类型 港股专用",
  26145. "type": "string"
  26146. },
  26147. "putoptionpremiums": {
  26148. "description": "认沽期权1",
  26149. "type": "integer"
  26150. },
  26151. "putoptionpremiums2": {
  26152. "description": "认沽期权2",
  26153. "type": "integer"
  26154. },
  26155. "putoptionpremiums3": {
  26156. "description": "认沽期权3",
  26157. "type": "integer"
  26158. },
  26159. "putoptionpremiums4": {
  26160. "description": "认沽期权4",
  26161. "type": "integer"
  26162. },
  26163. "putoptionpremiums5": {
  26164. "description": "认沽期权5",
  26165. "type": "integer"
  26166. },
  26167. "settle": {
  26168. "description": "结算价",
  26169. "type": "number"
  26170. },
  26171. "strikeprice": {
  26172. "description": "发行价",
  26173. "type": "number"
  26174. },
  26175. "totalaskvolume": {
  26176. "description": "内盘",
  26177. "type": "integer"
  26178. },
  26179. "totalbidvolume": {
  26180. "description": "外盘",
  26181. "type": "integer"
  26182. },
  26183. "totallot": {
  26184. "description": "总手数",
  26185. "type": "integer"
  26186. },
  26187. "totalturnover": {
  26188. "description": "总金额",
  26189. "type": "number"
  26190. },
  26191. "totalvolume": {
  26192. "description": "总量",
  26193. "type": "integer"
  26194. },
  26195. "utclasttime": {
  26196. "description": "utc的行情时间",
  26197. "type": "string"
  26198. }
  26199. }
  26200. },
  26201. "quote.QueryTSDataRsp": {
  26202. "type": "object",
  26203. "properties": {
  26204. "Count": {
  26205. "description": "交易日应有数据个数",
  26206. "type": "integer"
  26207. },
  26208. "decimalPlace": {
  26209. "description": "小数位",
  26210. "type": "integer"
  26211. },
  26212. "endTime": {
  26213. "description": "结束时间",
  26214. "type": "string"
  26215. },
  26216. "goodsCode": {
  26217. "description": "商品代码",
  26218. "type": "string"
  26219. },
  26220. "historyDatas": {
  26221. "description": "历史数据",
  26222. "type": "array",
  26223. "items": {
  26224. "$ref": "#/definitions/quote.HistoryData"
  26225. }
  26226. },
  26227. "outGoodsCode": {
  26228. "description": "外部商品代码",
  26229. "type": "string"
  26230. },
  26231. "preSettle": {
  26232. "description": "昨结价",
  26233. "type": "number"
  26234. },
  26235. "runSteps": {
  26236. "description": "交易日开休市计划",
  26237. "type": "array",
  26238. "items": {
  26239. "$ref": "#/definitions/quote.TSDataRunStep"
  26240. }
  26241. },
  26242. "startTime": {
  26243. "description": "开始时间",
  26244. "type": "string"
  26245. },
  26246. "tradeDate": {
  26247. "description": "交易日",
  26248. "type": "string"
  26249. }
  26250. }
  26251. },
  26252. "quote.TSDataRunStep": {
  26253. "type": "object",
  26254. "properties": {
  26255. "end": {
  26256. "description": "真实结束时间",
  26257. "type": "string"
  26258. },
  26259. "endflag": {
  26260. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  26261. "type": "integer"
  26262. },
  26263. "endtime": {
  26264. "description": "结束时间(HH:mm)",
  26265. "type": "string"
  26266. },
  26267. "endweekday": {
  26268. "description": "结束周几",
  26269. "type": "integer"
  26270. },
  26271. "groupid": {
  26272. "description": "分组ID",
  26273. "type": "integer"
  26274. },
  26275. "runstep": {
  26276. "description": "运行阶段 - 2:连续交易",
  26277. "type": "integer"
  26278. },
  26279. "sectionid": {
  26280. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  26281. "type": "integer"
  26282. },
  26283. "start": {
  26284. "description": "真实开始时间",
  26285. "type": "string"
  26286. },
  26287. "startflag": {
  26288. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  26289. "type": "integer"
  26290. },
  26291. "starttime": {
  26292. "description": "起始时间(HH:mm)",
  26293. "type": "string"
  26294. },
  26295. "startweekday": {
  26296. "description": "起始周几",
  26297. "type": "integer"
  26298. },
  26299. "tradeweekday": {
  26300. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  26301. "type": "integer"
  26302. }
  26303. }
  26304. },
  26305. "szdz.QueryConvertLogRsp": {
  26306. "type": "object",
  26307. "required": [
  26308. "logid"
  26309. ],
  26310. "properties": {
  26311. "accountid": {
  26312. "description": "资金账户ID",
  26313. "type": "integer"
  26314. },
  26315. "clientticket": {
  26316. "description": "客户端流水号",
  26317. "type": "string"
  26318. },
  26319. "converttype": {
  26320. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  26321. "type": "integer"
  26322. },
  26323. "createtime": {
  26324. "description": "记账时间",
  26325. "type": "string"
  26326. },
  26327. "daymaxvalue": {
  26328. "description": "配置当日最大转入限制",
  26329. "type": "number"
  26330. },
  26331. "daymaxvalue2": {
  26332. "description": "配置当日最大转入限制(转入)",
  26333. "type": "number"
  26334. },
  26335. "goodscode": {
  26336. "description": "商品代码",
  26337. "type": "string"
  26338. },
  26339. "goodsname": {
  26340. "description": "商品名称",
  26341. "type": "string"
  26342. },
  26343. "handlestatus": {
  26344. "description": "处理状态",
  26345. "type": "integer"
  26346. },
  26347. "innergoodsid": {
  26348. "description": "内部商品ID",
  26349. "type": "integer"
  26350. },
  26351. "inratio": {
  26352. "description": "配置转入比值",
  26353. "type": "integer"
  26354. },
  26355. "invalue": {
  26356. "description": "目标值",
  26357. "type": "number"
  26358. },
  26359. "logid": {
  26360. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26361. "type": "integer"
  26362. },
  26363. "mobile": {
  26364. "description": "手机号码(加密存储)",
  26365. "type": "string"
  26366. },
  26367. "outergoodscode": {
  26368. "description": "外部商品代码[JD\\PD]",
  26369. "type": "string"
  26370. },
  26371. "outratio": {
  26372. "description": "配置转出比值",
  26373. "type": "integer"
  26374. },
  26375. "outvalue": {
  26376. "description": "源值",
  26377. "type": "number"
  26378. },
  26379. "pddecimalplace": {
  26380. "description": "PD小数位",
  26381. "type": "integer"
  26382. },
  26383. "qty": {
  26384. "description": "数量",
  26385. "type": "string"
  26386. },
  26387. "remark": {
  26388. "description": "备注",
  26389. "type": "string"
  26390. },
  26391. "sessionid": {
  26392. "description": "会话ID",
  26393. "type": "integer"
  26394. },
  26395. "timemaxvalue": {
  26396. "description": "配置单次最大转入限制",
  26397. "type": "number"
  26398. },
  26399. "timemaxvalue2": {
  26400. "description": "配置单次最大转入限制(转入)",
  26401. "type": "number"
  26402. },
  26403. "timeminvalue": {
  26404. "description": "配置单次最小数量限制",
  26405. "type": "number"
  26406. },
  26407. "timeminvalue2": {
  26408. "description": "配置单次最小数量限制(转入)",
  26409. "type": "number"
  26410. },
  26411. "tradedate": {
  26412. "description": "交易日(yyyyMMdd)",
  26413. "type": "string"
  26414. },
  26415. "userid": {
  26416. "description": "用户ID",
  26417. "type": "integer"
  26418. }
  26419. }
  26420. },
  26421. "szdz.QueryGoodsPickupRsp": {
  26422. "type": "object",
  26423. "required": [
  26424. "takeorderid"
  26425. ],
  26426. "properties": {
  26427. "accountid": {
  26428. "description": "账户ID",
  26429. "type": "integer"
  26430. },
  26431. "address": {
  26432. "description": "提货人详细地址",
  26433. "type": "string"
  26434. },
  26435. "auditer": {
  26436. "description": "审核人",
  26437. "type": "integer"
  26438. },
  26439. "audittime": {
  26440. "description": "审核时间",
  26441. "type": "string"
  26442. },
  26443. "cardnum": {
  26444. "description": "提货人证件号码",
  26445. "type": "string"
  26446. },
  26447. "cardtypeid": {
  26448. "description": "提货人证件类型",
  26449. "type": "integer"
  26450. },
  26451. "checkremark": {
  26452. "description": "审核备注",
  26453. "type": "string"
  26454. },
  26455. "goodscode": {
  26456. "description": "商品代码",
  26457. "type": "string"
  26458. },
  26459. "goodsid": {
  26460. "description": "商品ID",
  26461. "type": "integer"
  26462. },
  26463. "goodsname": {
  26464. "description": "商品名称",
  26465. "type": "string"
  26466. },
  26467. "handlestatus": {
  26468. "description": "处理状态",
  26469. "type": "integer"
  26470. },
  26471. "marketid": {
  26472. "description": "市场ID",
  26473. "type": "integer"
  26474. },
  26475. "phonenum": {
  26476. "description": "提货人联系方式",
  26477. "type": "string"
  26478. },
  26479. "qty": {
  26480. "description": "提货数量",
  26481. "type": "number"
  26482. },
  26483. "recivername": {
  26484. "description": "提货人姓名",
  26485. "type": "string"
  26486. },
  26487. "reqtime": {
  26488. "description": "更新时间",
  26489. "type": "string"
  26490. },
  26491. "takemode": {
  26492. "description": "提货方式 - 2:自提 3:配送",
  26493. "type": "integer"
  26494. },
  26495. "takeorderid": {
  26496. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26497. "type": "string"
  26498. },
  26499. "takeorderstatus": {
  26500. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26501. "type": "integer"
  26502. },
  26503. "takeremark": {
  26504. "description": "提货备注",
  26505. "type": "string"
  26506. },
  26507. "tradedate": {
  26508. "description": "交易日(yyyyMMdd)",
  26509. "type": "string"
  26510. },
  26511. "userid": {
  26512. "description": "用户ID",
  26513. "type": "integer"
  26514. }
  26515. }
  26516. },
  26517. "szdz.QueryRecieptOrderRsp": {
  26518. "type": "object",
  26519. "required": [
  26520. "ordertime"
  26521. ],
  26522. "properties": {
  26523. "accountName": {
  26524. "description": "所属账号名称(已脱敏)",
  26525. "type": "string"
  26526. },
  26527. "accountid": {
  26528. "description": "资金账号",
  26529. "type": "integer"
  26530. },
  26531. "buyorsell": {
  26532. "description": "方向 - 0:买 1:卖",
  26533. "type": "integer"
  26534. },
  26535. "enableqty": {
  26536. "description": "可摘数量",
  26537. "type": "integer"
  26538. },
  26539. "goodscode": {
  26540. "description": "商品代码",
  26541. "type": "string"
  26542. },
  26543. "goodsid": {
  26544. "description": "商品ID",
  26545. "type": "integer"
  26546. },
  26547. "goodsname": {
  26548. "description": "商品名称",
  26549. "type": "string"
  26550. },
  26551. "orderid": {
  26552. "description": "委托单号",
  26553. "type": "string"
  26554. },
  26555. "orderprice": {
  26556. "description": "委托价格",
  26557. "type": "number"
  26558. },
  26559. "ordertime": {
  26560. "description": "委托时间",
  26561. "type": "string"
  26562. },
  26563. "tradedate": {
  26564. "description": "交易日(yyyyMMdd)",
  26565. "type": "string"
  26566. }
  26567. }
  26568. },
  26569. "szdz.QuerySZDZTradePositionRsp": {
  26570. "type": "object",
  26571. "properties": {
  26572. "accountid": {
  26573. "description": "账号Id",
  26574. "type": "integer"
  26575. },
  26576. "agreeunit": {
  26577. "description": "合约单位",
  26578. "type": "number"
  26579. },
  26580. "averageprice": {
  26581. "description": "持仓均价",
  26582. "type": "number"
  26583. },
  26584. "buyorsell": {
  26585. "description": "方向 - 0:买 1:卖",
  26586. "type": "integer"
  26587. },
  26588. "closetotalqty": {
  26589. "description": "平仓总数量",
  26590. "type": "integer"
  26591. },
  26592. "curholderamount": {
  26593. "description": "当前持仓总金额",
  26594. "type": "number"
  26595. },
  26596. "curpositionqty": {
  26597. "description": "当前持仓总数量",
  26598. "type": "integer"
  26599. },
  26600. "currencyid": {
  26601. "description": "报价货币ID",
  26602. "type": "integer"
  26603. },
  26604. "curtdposition": {
  26605. "description": "期末今日头寸",
  26606. "type": "integer"
  26607. },
  26608. "decimalplace": {
  26609. "description": "报价小数位",
  26610. "type": "integer"
  26611. },
  26612. "enableqty": {
  26613. "description": "可用量",
  26614. "type": "integer"
  26615. },
  26616. "fretdposition": {
  26617. "description": "冻结今日头寸",
  26618. "type": "integer"
  26619. },
  26620. "frozenqty": {
  26621. "description": "持仓冻结数量",
  26622. "type": "integer"
  26623. },
  26624. "goodscode": {
  26625. "description": "商品代码(内部)",
  26626. "type": "string"
  26627. },
  26628. "goodsid": {
  26629. "description": "商品Id",
  26630. "type": "integer"
  26631. },
  26632. "goodsname": {
  26633. "description": "商品名称",
  26634. "type": "string"
  26635. },
  26636. "goodunit": {
  26637. "description": "报价单位",
  26638. "type": "string"
  26639. },
  26640. "goodunitid": {
  26641. "description": "报价单位ID",
  26642. "type": "integer"
  26643. },
  26644. "holderamount": {
  26645. "description": "期初持仓总金额",
  26646. "type": "number"
  26647. },
  26648. "marketid": {
  26649. "description": "市场ID",
  26650. "type": "integer"
  26651. },
  26652. "openreqqty": {
  26653. "description": "开仓申请数量",
  26654. "type": "integer"
  26655. },
  26656. "opentotalqty": {
  26657. "description": "开仓总数量",
  26658. "type": "integer"
  26659. },
  26660. "otherfrozenqty": {
  26661. "description": "持仓其他冻结数量(交割冻结)",
  26662. "type": "integer"
  26663. },
  26664. "positionqty": {
  26665. "description": "期初持仓数量",
  26666. "type": "integer"
  26667. },
  26668. "szdz3freezqty": {
  26669. "description": "尚志大宗转换冻结总数量",
  26670. "type": "integer"
  26671. },
  26672. "tnqty": {
  26673. "description": "T+N冻结总量",
  26674. "type": "integer"
  26675. },
  26676. "tnusedqty": {
  26677. "description": "T+N使用量",
  26678. "type": "integer"
  26679. },
  26680. "trademode": {
  26681. "description": "交易模式",
  26682. "type": "integer"
  26683. },
  26684. "usedmargin": {
  26685. "description": "占用保证金",
  26686. "type": "number"
  26687. }
  26688. }
  26689. },
  26690. "taaccount.QueryAmountLogRsp": {
  26691. "type": "object",
  26692. "required": [
  26693. "accountid",
  26694. "amount",
  26695. "amountadjusttype",
  26696. "autoid",
  26697. "balance",
  26698. "createtime",
  26699. "currentbalance",
  26700. "operatetype"
  26701. ],
  26702. "properties": {
  26703. "OPERATETYPENAME": {
  26704. "description": "资金操作类型名称",
  26705. "type": "string"
  26706. },
  26707. "accountid": {
  26708. "description": "资金账户ID",
  26709. "type": "integer"
  26710. },
  26711. "agoodscode": {
  26712. "description": "竞拍商品代码",
  26713. "type": "string"
  26714. },
  26715. "agoodsname": {
  26716. "description": "竞拍商品名称",
  26717. "type": "string"
  26718. },
  26719. "amount": {
  26720. "description": "资金金额",
  26721. "type": "number"
  26722. },
  26723. "amountadjusttype": {
  26724. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26725. "type": "integer"
  26726. },
  26727. "autoid": {
  26728. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26729. "type": "integer"
  26730. },
  26731. "balance": {
  26732. "description": "期初余额",
  26733. "type": "number"
  26734. },
  26735. "businesscode": {
  26736. "description": "业务编号",
  26737. "type": "integer"
  26738. },
  26739. "createtime": {
  26740. "description": "发生时间",
  26741. "type": "string"
  26742. },
  26743. "currencyid": {
  26744. "description": "币种ID",
  26745. "type": "integer"
  26746. },
  26747. "currentbalance": {
  26748. "description": "期末余额(变动后金额)",
  26749. "type": "number"
  26750. },
  26751. "dgoodscode": {
  26752. "description": "交割商品代码",
  26753. "type": "string"
  26754. },
  26755. "dgoodsname": {
  26756. "description": "交割商品名称",
  26757. "type": "string"
  26758. },
  26759. "goodscode": {
  26760. "description": "商品代码",
  26761. "type": "string"
  26762. },
  26763. "goodsid": {
  26764. "description": "商品ID",
  26765. "type": "integer"
  26766. },
  26767. "goodsname": {
  26768. "description": "商品名称",
  26769. "type": "string"
  26770. },
  26771. "marketid": {
  26772. "description": "市场ID",
  26773. "type": "integer"
  26774. },
  26775. "marketname": {
  26776. "description": "市场名称",
  26777. "type": "string"
  26778. },
  26779. "moneyticket": {
  26780. "description": "资金流水号:银行端流水号",
  26781. "type": "integer"
  26782. },
  26783. "operatetype": {
  26784. "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:营销收款",
  26785. "type": "integer"
  26786. },
  26787. "relationorderid": {
  26788. "description": "关联单号",
  26789. "type": "string"
  26790. },
  26791. "remark": {
  26792. "description": "备注",
  26793. "type": "string"
  26794. },
  26795. "trademode": {
  26796. "description": "交易模式",
  26797. "type": "integer"
  26798. }
  26799. }
  26800. },
  26801. "taaccount.QueryHisAmountLogRsp": {
  26802. "type": "object",
  26803. "required": [
  26804. "accountid",
  26805. "amount",
  26806. "amountadjusttype",
  26807. "autoid",
  26808. "balance",
  26809. "createtime",
  26810. "currentbalance",
  26811. "histradedate",
  26812. "operatetype"
  26813. ],
  26814. "properties": {
  26815. "OPERATETYPENAME": {
  26816. "description": "资金操作类型名称",
  26817. "type": "string"
  26818. },
  26819. "accountid": {
  26820. "description": "资金账户ID",
  26821. "type": "integer"
  26822. },
  26823. "agoodscode": {
  26824. "description": "竞拍商品代码",
  26825. "type": "string"
  26826. },
  26827. "agoodsname": {
  26828. "description": "竞拍商品名称",
  26829. "type": "string"
  26830. },
  26831. "amount": {
  26832. "description": "资金金额",
  26833. "type": "number"
  26834. },
  26835. "amountadjusttype": {
  26836. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26837. "type": "integer"
  26838. },
  26839. "autoid": {
  26840. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26841. "type": "integer"
  26842. },
  26843. "balance": {
  26844. "description": "期初余额",
  26845. "type": "number"
  26846. },
  26847. "businesscode": {
  26848. "description": "业务编号",
  26849. "type": "integer"
  26850. },
  26851. "createtime": {
  26852. "description": "发生时间",
  26853. "type": "string"
  26854. },
  26855. "currencyid": {
  26856. "description": "币种ID",
  26857. "type": "integer"
  26858. },
  26859. "currentbalance": {
  26860. "description": "期末余额(变动后金额)",
  26861. "type": "number"
  26862. },
  26863. "dgoodscode": {
  26864. "description": "交割商品代码",
  26865. "type": "string"
  26866. },
  26867. "dgoodsname": {
  26868. "description": "交割商品名称",
  26869. "type": "string"
  26870. },
  26871. "goodscode": {
  26872. "description": "商品代码",
  26873. "type": "string"
  26874. },
  26875. "goodsid": {
  26876. "description": "商品ID",
  26877. "type": "integer"
  26878. },
  26879. "goodsname": {
  26880. "description": "商品名称",
  26881. "type": "string"
  26882. },
  26883. "histradedate": {
  26884. "description": "历史交易日",
  26885. "type": "string"
  26886. },
  26887. "isvaliddata": {
  26888. "description": "是否有效 - 0:无效 1:有效",
  26889. "type": "integer"
  26890. },
  26891. "marketid": {
  26892. "description": "市场ID",
  26893. "type": "integer"
  26894. },
  26895. "marketname": {
  26896. "description": "市场名称",
  26897. "type": "string"
  26898. },
  26899. "moneyticket": {
  26900. "description": "资金流水号:银行端流水号",
  26901. "type": "integer"
  26902. },
  26903. "operatetype": {
  26904. "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:营销收款",
  26905. "type": "integer"
  26906. },
  26907. "relationorderid": {
  26908. "description": "关联单号",
  26909. "type": "string"
  26910. },
  26911. "remark": {
  26912. "description": "备注",
  26913. "type": "string"
  26914. },
  26915. "trademode": {
  26916. "description": "交易模式",
  26917. "type": "integer"
  26918. }
  26919. }
  26920. },
  26921. "trade.QueryRecieptOrderRsp": {
  26922. "type": "object",
  26923. "required": [
  26924. "ordertime"
  26925. ],
  26926. "properties": {
  26927. "accountName": {
  26928. "description": "所属账号名称(已脱敏)",
  26929. "type": "string"
  26930. },
  26931. "accountid": {
  26932. "description": "资金账号",
  26933. "type": "integer"
  26934. },
  26935. "buyorsell": {
  26936. "description": "方向 - 0:买 1:卖",
  26937. "type": "integer"
  26938. },
  26939. "enableqty": {
  26940. "description": "可摘数量",
  26941. "type": "integer"
  26942. },
  26943. "goodscode": {
  26944. "description": "商品代码",
  26945. "type": "string"
  26946. },
  26947. "goodsid": {
  26948. "description": "商品ID",
  26949. "type": "integer"
  26950. },
  26951. "goodsname": {
  26952. "description": "商品名称",
  26953. "type": "string"
  26954. },
  26955. "orderid": {
  26956. "description": "委托单号",
  26957. "type": "string"
  26958. },
  26959. "orderprice": {
  26960. "description": "委托价格",
  26961. "type": "number"
  26962. },
  26963. "ordertime": {
  26964. "description": "委托时间",
  26965. "type": "string"
  26966. },
  26967. "tradedate": {
  26968. "description": "交易日(yyyyMMdd)",
  26969. "type": "string"
  26970. }
  26971. }
  26972. },
  26973. "user.LoginQueryRsp": {
  26974. "type": "object",
  26975. "properties": {
  26976. "areaRoles": {
  26977. "description": "所属角色信息",
  26978. "type": "array",
  26979. "items": {
  26980. "$ref": "#/definitions/models.Arearole"
  26981. }
  26982. },
  26983. "externalExchanges": {
  26984. "description": "外部交易所",
  26985. "type": "array",
  26986. "items": {
  26987. "$ref": "#/definitions/models.Externalexchange"
  26988. }
  26989. },
  26990. "goodsgroups": {
  26991. "description": "商品组",
  26992. "type": "array",
  26993. "items": {
  26994. "$ref": "#/definitions/models.Goodsgroup"
  26995. }
  26996. },
  26997. "loginAccount": {
  26998. "description": "登录账号",
  26999. "type": "object",
  27000. "$ref": "#/definitions/models.Loginaccount"
  27001. },
  27002. "markets": {
  27003. "description": "市场",
  27004. "type": "array",
  27005. "items": {
  27006. "$ref": "#/definitions/models.Market"
  27007. }
  27008. },
  27009. "systemParams": {
  27010. "description": "系统参数",
  27011. "type": "array",
  27012. "items": {
  27013. "$ref": "#/definitions/models.Systemparam"
  27014. }
  27015. },
  27016. "userAccount": {
  27017. "description": "用户账号",
  27018. "type": "object",
  27019. "$ref": "#/definitions/models.Useraccount"
  27020. },
  27021. "userInfo": {
  27022. "description": "用户信息",
  27023. "type": "object",
  27024. "$ref": "#/definitions/models.Userinfo"
  27025. },
  27026. "username": {
  27027. "description": "用户姓名",
  27028. "type": "string"
  27029. }
  27030. }
  27031. }
  27032. },
  27033. "securityDefinitions": {
  27034. "ApiKeyAuth": {
  27035. "type": "apiKey",
  27036. "name": "Authorization",
  27037. "in": "header"
  27038. }
  27039. }
  27040. }