swagger.json 890 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716
  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.Goods"
  853. }
  854. },
  855. "500": {
  856. "description": "Internal Server Error",
  857. "schema": {
  858. "$ref": "#/definitions/app.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/Ermcp/GetErmcpGoodsSortByPosition": {
  865. "get": {
  866. "security": [
  867. {
  868. "ApiKeyAuth": []
  869. }
  870. ],
  871. "produces": [
  872. "application/json"
  873. ],
  874. "tags": [
  875. "企业风险管理(app)"
  876. ],
  877. "summary": "查询企业风管期货主力、次主力商品信息",
  878. "parameters": [
  879. {
  880. "type": "string",
  881. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  882. "name": "sortIndex",
  883. "in": "query"
  884. }
  885. ],
  886. "responses": {
  887. "200": {
  888. "description": "OK",
  889. "schema": {
  890. "$ref": "#/definitions/models.Goodssortbypreposition"
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/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/QueryExposureHedgePosition": {
  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": "userid",
  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/ermcp.ExposureHedgePositionRsp"
  2092. }
  2093. }
  2094. },
  2095. "500": {
  2096. "description": "Internal Server Error",
  2097. "schema": {
  2098. "$ref": "#/definitions/app.Response"
  2099. }
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "/Ermcp/QueryExposureHedgePositionDetail": {
  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. "type": "integer",
  2128. "description": "商品id",
  2129. "name": "goodsId",
  2130. "in": "query",
  2131. "required": true
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "type": "array",
  2139. "items": {
  2140. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2141. }
  2142. }
  2143. },
  2144. "500": {
  2145. "description": "Internal Server Error",
  2146. "schema": {
  2147. "$ref": "#/definitions/app.Response"
  2148. }
  2149. }
  2150. }
  2151. }
  2152. },
  2153. "/Ermcp/QueryExposureSpot": {
  2154. "get": {
  2155. "security": [
  2156. {
  2157. "ApiKeyAuth": []
  2158. }
  2159. ],
  2160. "produces": [
  2161. "application/json"
  2162. ],
  2163. "tags": [
  2164. "企业风险管理(app)"
  2165. ],
  2166. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2167. "parameters": [
  2168. {
  2169. "type": "integer",
  2170. "description": "所属机构ID",
  2171. "name": "areaUserId",
  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.ExposureSpotRsp"
  2183. }
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/app.Response"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/Ermcp/QueryExposureSpotDetail": {
  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. "type": "integer",
  2219. "description": "现货品种ID",
  2220. "name": "wrstandardId",
  2221. "in": "query",
  2222. "required": true
  2223. }
  2224. ],
  2225. "responses": {
  2226. "200": {
  2227. "description": "OK",
  2228. "schema": {
  2229. "type": "array",
  2230. "items": {
  2231. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2232. }
  2233. }
  2234. },
  2235. "500": {
  2236. "description": "Internal Server Error",
  2237. "schema": {
  2238. "$ref": "#/definitions/app.Response"
  2239. }
  2240. }
  2241. }
  2242. }
  2243. },
  2244. "/Ermcp/QueryFuturesCompany": {
  2245. "get": {
  2246. "security": [
  2247. {
  2248. "ApiKeyAuth": []
  2249. }
  2250. ],
  2251. "produces": [
  2252. "application/json"
  2253. ],
  2254. "tags": [
  2255. "企业风险管理(app)"
  2256. ],
  2257. "summary": "查询期货公司",
  2258. "responses": {
  2259. "200": {
  2260. "description": "OK",
  2261. "schema": {
  2262. "type": "array",
  2263. "items": {
  2264. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2265. }
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryGGConvertConfig": {
  2278. "get": {
  2279. "security": [
  2280. {
  2281. "ApiKeyAuth": []
  2282. }
  2283. ],
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "企业风险管理(app)"
  2289. ],
  2290. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "品种id(不填则查所有)",
  2295. "name": "goodsgroupid",
  2296. "in": "query"
  2297. }
  2298. ],
  2299. "responses": {
  2300. "200": {
  2301. "description": "OK",
  2302. "schema": {
  2303. "type": "array",
  2304. "items": {
  2305. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2306. }
  2307. }
  2308. },
  2309. "500": {
  2310. "description": "Internal Server Error",
  2311. "schema": {
  2312. "$ref": "#/definitions/app.Response"
  2313. }
  2314. }
  2315. }
  2316. }
  2317. },
  2318. "/Ermcp/QueryGoodsBrand": {
  2319. "get": {
  2320. "security": [
  2321. {
  2322. "ApiKeyAuth": []
  2323. }
  2324. ],
  2325. "produces": [
  2326. "application/json"
  2327. ],
  2328. "tags": [
  2329. "企业风险管理(app)"
  2330. ],
  2331. "summary": "查询商品品牌",
  2332. "parameters": [
  2333. {
  2334. "type": "integer",
  2335. "description": "用户ID",
  2336. "name": "userid",
  2337. "in": "query",
  2338. "required": true
  2339. },
  2340. {
  2341. "type": "integer",
  2342. "description": "现货商品ID",
  2343. "name": "wrstandardid",
  2344. "in": "query"
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "OK",
  2350. "schema": {
  2351. "type": "array",
  2352. "items": {
  2353. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2354. }
  2355. }
  2356. },
  2357. "500": {
  2358. "description": "Internal Server Error",
  2359. "schema": {
  2360. "$ref": "#/definitions/app.Response"
  2361. }
  2362. }
  2363. }
  2364. }
  2365. },
  2366. "/Ermcp/QueryGoodsModel": {
  2367. "get": {
  2368. "security": [
  2369. {
  2370. "ApiKeyAuth": []
  2371. }
  2372. ],
  2373. "produces": [
  2374. "application/json"
  2375. ],
  2376. "tags": [
  2377. "企业风险管理(app)"
  2378. ],
  2379. "summary": "查询商品型号",
  2380. "parameters": [
  2381. {
  2382. "type": "integer",
  2383. "description": "用户ID",
  2384. "name": "userid",
  2385. "in": "query",
  2386. "required": true
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "OK",
  2392. "schema": {
  2393. "type": "array",
  2394. "items": {
  2395. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2396. }
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/app.Response"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/Ermcp/QueryHisExposure": {
  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. "type": "integer",
  2432. "description": "每个品种记录数",
  2433. "name": "lastNum",
  2434. "in": "query",
  2435. "required": true
  2436. }
  2437. ],
  2438. "responses": {
  2439. "200": {
  2440. "description": "OK",
  2441. "schema": {
  2442. "type": "array",
  2443. "items": {
  2444. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2445. }
  2446. }
  2447. },
  2448. "500": {
  2449. "description": "Internal Server Error",
  2450. "schema": {
  2451. "$ref": "#/definitions/app.Response"
  2452. }
  2453. }
  2454. }
  2455. }
  2456. },
  2457. "/Ermcp/QueryMiddleGoods": {
  2458. "get": {
  2459. "security": [
  2460. {
  2461. "ApiKeyAuth": []
  2462. }
  2463. ],
  2464. "produces": [
  2465. "application/json"
  2466. ],
  2467. "tags": [
  2468. "企业风险管理(app)"
  2469. ],
  2470. "summary": "查询套保品种(菜单:套保品种)",
  2471. "parameters": [
  2472. {
  2473. "type": "integer",
  2474. "description": "所属机构ID",
  2475. "name": "userid",
  2476. "in": "query",
  2477. "required": true
  2478. },
  2479. {
  2480. "type": "integer",
  2481. "description": "状态 0-停用 1-正常",
  2482. "name": "status",
  2483. "in": "query",
  2484. "required": true
  2485. }
  2486. ],
  2487. "responses": {
  2488. "200": {
  2489. "description": "OK",
  2490. "schema": {
  2491. "type": "array",
  2492. "items": {
  2493. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2494. }
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2507. "get": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "企业风险管理(app)"
  2518. ],
  2519. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2520. "parameters": [
  2521. {
  2522. "type": "integer",
  2523. "description": "所属机构ID",
  2524. "name": "userid",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "integer",
  2530. "description": "套保品种id",
  2531. "name": "middlegoodsid",
  2532. "in": "query",
  2533. "required": true
  2534. }
  2535. ],
  2536. "responses": {
  2537. "200": {
  2538. "description": "OK",
  2539. "schema": {
  2540. "type": "array",
  2541. "items": {
  2542. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2543. }
  2544. }
  2545. },
  2546. "500": {
  2547. "description": "Internal Server Error",
  2548. "schema": {
  2549. "$ref": "#/definitions/app.Response"
  2550. }
  2551. }
  2552. }
  2553. }
  2554. },
  2555. "/Ermcp/QueryMiddleGoodsDetail": {
  2556. "get": {
  2557. "security": [
  2558. {
  2559. "ApiKeyAuth": []
  2560. }
  2561. ],
  2562. "produces": [
  2563. "application/json"
  2564. ],
  2565. "tags": [
  2566. "企业风险管理(app)"
  2567. ],
  2568. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2569. "parameters": [
  2570. {
  2571. "type": "integer",
  2572. "description": "所属机构ID",
  2573. "name": "userid",
  2574. "in": "query",
  2575. "required": true
  2576. },
  2577. {
  2578. "type": "integer",
  2579. "description": "套保品种id",
  2580. "name": "middlegoodsid",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryPendingAuditInfo": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2617. "parameters": [
  2618. {
  2619. "type": "integer",
  2620. "description": "用户ID",
  2621. "name": "UserId",
  2622. "in": "query",
  2623. "required": true
  2624. }
  2625. ],
  2626. "responses": {
  2627. "200": {
  2628. "description": "OK",
  2629. "schema": {
  2630. "type": "array",
  2631. "items": {
  2632. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2633. }
  2634. }
  2635. },
  2636. "500": {
  2637. "description": "Internal Server Error",
  2638. "schema": {
  2639. "$ref": "#/definitions/app.Response"
  2640. }
  2641. }
  2642. }
  2643. }
  2644. },
  2645. "/Ermcp/QueryRealtimeExposure": {
  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.RealtimeExposureRsp"
  2675. }
  2676. }
  2677. },
  2678. "500": {
  2679. "description": "Internal Server Error",
  2680. "schema": {
  2681. "$ref": "#/definitions/app.Response"
  2682. }
  2683. }
  2684. }
  2685. }
  2686. },
  2687. "/Ermcp/QueryRealtimeExposurePosition": {
  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. "type": "integer",
  2711. "description": "套保商品ID",
  2712. "name": "middleGoodsId",
  2713. "in": "query",
  2714. "required": true
  2715. }
  2716. ],
  2717. "responses": {
  2718. "200": {
  2719. "description": "OK",
  2720. "schema": {
  2721. "type": "array",
  2722. "items": {
  2723. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2724. }
  2725. }
  2726. },
  2727. "500": {
  2728. "description": "Internal Server Error",
  2729. "schema": {
  2730. "$ref": "#/definitions/app.Response"
  2731. }
  2732. }
  2733. }
  2734. }
  2735. },
  2736. "/Ermcp/QueryTradeConfigTMP": {
  2737. "get": {
  2738. "security": [
  2739. {
  2740. "ApiKeyAuth": []
  2741. }
  2742. ],
  2743. "produces": [
  2744. "application/json"
  2745. ],
  2746. "tags": [
  2747. "企业风险管理(app)"
  2748. ],
  2749. "summary": "查询交易模板配置",
  2750. "parameters": [
  2751. {
  2752. "type": "integer",
  2753. "description": "所属机构id",
  2754. "name": "areauserid",
  2755. "in": "query"
  2756. }
  2757. ],
  2758. "responses": {
  2759. "200": {
  2760. "description": "OK",
  2761. "schema": {
  2762. "type": "array",
  2763. "items": {
  2764. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2765. }
  2766. }
  2767. },
  2768. "500": {
  2769. "description": "Internal Server Error",
  2770. "schema": {
  2771. "$ref": "#/definitions/app.Response"
  2772. }
  2773. }
  2774. }
  2775. }
  2776. },
  2777. "/Ermcp/QueryUserInfo": {
  2778. "get": {
  2779. "security": [
  2780. {
  2781. "ApiKeyAuth": []
  2782. }
  2783. ],
  2784. "produces": [
  2785. "application/json"
  2786. ],
  2787. "tags": [
  2788. "企业风险管理(app)"
  2789. ],
  2790. "summary": "查询客户资料",
  2791. "parameters": [
  2792. {
  2793. "type": "integer",
  2794. "description": "所属机构用户ID",
  2795. "name": "MemberUserID",
  2796. "in": "query",
  2797. "required": true
  2798. },
  2799. {
  2800. "type": "integer",
  2801. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2802. "name": "queryType",
  2803. "in": "query",
  2804. "required": true
  2805. }
  2806. ],
  2807. "responses": {
  2808. "200": {
  2809. "description": "OK",
  2810. "schema": {
  2811. "type": "array",
  2812. "items": {
  2813. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2814. }
  2815. }
  2816. },
  2817. "500": {
  2818. "description": "Internal Server Error",
  2819. "schema": {
  2820. "$ref": "#/definitions/app.Response"
  2821. }
  2822. }
  2823. }
  2824. }
  2825. },
  2826. "/Ermcp/QueryWarehouseInfo": {
  2827. "get": {
  2828. "security": [
  2829. {
  2830. "ApiKeyAuth": []
  2831. }
  2832. ],
  2833. "produces": [
  2834. "application/json"
  2835. ],
  2836. "tags": [
  2837. "企业风险管理(app)"
  2838. ],
  2839. "summary": "查询仓库信息",
  2840. "parameters": [
  2841. {
  2842. "type": "integer",
  2843. "description": "用户ID",
  2844. "name": "userid",
  2845. "in": "query",
  2846. "required": true
  2847. },
  2848. {
  2849. "type": "string",
  2850. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2851. "name": "status",
  2852. "in": "query"
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "type": "array",
  2860. "items": {
  2861. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2862. }
  2863. }
  2864. },
  2865. "500": {
  2866. "description": "Internal Server Error",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. }
  2871. }
  2872. }
  2873. },
  2874. "/Ermcp3/QryAreaExpourseContractDetail": {
  2875. "get": {
  2876. "security": [
  2877. {
  2878. "ApiKeyAuth": []
  2879. }
  2880. ],
  2881. "produces": [
  2882. "application/json"
  2883. ],
  2884. "tags": [
  2885. "企业风险管理v3(app)"
  2886. ],
  2887. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2888. "parameters": [
  2889. {
  2890. "type": "integer",
  2891. "description": "用户ID",
  2892. "name": "userid",
  2893. "in": "query",
  2894. "required": true
  2895. },
  2896. {
  2897. "type": "integer",
  2898. "description": "套保商品id",
  2899. "name": "middlegoodsid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2906. "name": "cycletype",
  2907. "in": "query",
  2908. "required": true
  2909. },
  2910. {
  2911. "type": "string",
  2912. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2913. "name": "cycletime",
  2914. "in": "query",
  2915. "required": true
  2916. }
  2917. ],
  2918. "responses": {
  2919. "200": {
  2920. "description": "OK",
  2921. "schema": {
  2922. "type": "array",
  2923. "items": {
  2924. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2925. }
  2926. }
  2927. },
  2928. "500": {
  2929. "description": "Internal Server Error",
  2930. "schema": {
  2931. "$ref": "#/definitions/app.Response"
  2932. }
  2933. }
  2934. }
  2935. }
  2936. },
  2937. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2938. "get": {
  2939. "security": [
  2940. {
  2941. "ApiKeyAuth": []
  2942. }
  2943. ],
  2944. "produces": [
  2945. "application/json"
  2946. ],
  2947. "tags": [
  2948. "企业风险管理v3(app)"
  2949. ],
  2950. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2951. "parameters": [
  2952. {
  2953. "type": "integer",
  2954. "description": "用户ID",
  2955. "name": "userid",
  2956. "in": "query",
  2957. "required": true
  2958. },
  2959. {
  2960. "type": "integer",
  2961. "description": "套保商品id",
  2962. "name": "middlegoodsid",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2969. "name": "cycletype",
  2970. "in": "query",
  2971. "required": true
  2972. },
  2973. {
  2974. "type": "string",
  2975. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2976. "name": "cycletime",
  2977. "in": "query",
  2978. "required": true
  2979. }
  2980. ],
  2981. "responses": {
  2982. "200": {
  2983. "description": "OK",
  2984. "schema": {
  2985. "type": "array",
  2986. "items": {
  2987. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2988. }
  2989. }
  2990. },
  2991. "500": {
  2992. "description": "Internal Server Error",
  2993. "schema": {
  2994. "$ref": "#/definitions/app.Response"
  2995. }
  2996. }
  2997. }
  2998. }
  2999. },
  3000. "/Ermcp3/QryAreaExpourseReport": {
  3001. "get": {
  3002. "security": [
  3003. {
  3004. "ApiKeyAuth": []
  3005. }
  3006. ],
  3007. "produces": [
  3008. "application/json"
  3009. ],
  3010. "tags": [
  3011. "企业风险管理v3(app)"
  3012. ],
  3013. "summary": "查询敞口报表",
  3014. "parameters": [
  3015. {
  3016. "type": "integer",
  3017. "description": "用户ID",
  3018. "name": "userid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3025. "name": "querytype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "integer",
  3031. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3032. "name": "cycletype",
  3033. "in": "query",
  3034. "required": true
  3035. },
  3036. {
  3037. "type": "string",
  3038. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3039. "name": "cycletime",
  3040. "in": "query",
  3041. "required": true
  3042. }
  3043. ],
  3044. "responses": {
  3045. "200": {
  3046. "description": "OK",
  3047. "schema": {
  3048. "type": "array",
  3049. "items": {
  3050. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3051. }
  3052. }
  3053. },
  3054. "500": {
  3055. "description": "Internal Server Error",
  3056. "schema": {
  3057. "$ref": "#/definitions/app.Response"
  3058. }
  3059. }
  3060. }
  3061. }
  3062. },
  3063. "/Ermcp3/QryAreaSpotplReport": {
  3064. "get": {
  3065. "security": [
  3066. {
  3067. "ApiKeyAuth": []
  3068. }
  3069. ],
  3070. "produces": [
  3071. "application/json"
  3072. ],
  3073. "tags": [
  3074. "企业风险管理v3(app)"
  3075. ],
  3076. "summary": "查询现货报表",
  3077. "parameters": [
  3078. {
  3079. "type": "integer",
  3080. "description": "用户ID",
  3081. "name": "userid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "查询类型 1-报表 2-报表明细",
  3088. "name": "querytype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "integer",
  3094. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3095. "name": "cycletype",
  3096. "in": "query",
  3097. "required": true
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3102. "name": "cycletime",
  3103. "in": "query",
  3104. "required": true
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "现货品种id(明细必填)",
  3109. "name": "deliverygoodsid",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "integer",
  3114. "description": "品类id(明细必填)",
  3115. "name": "wrstandardid",
  3116. "in": "query"
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "币种id(明细必填)",
  3121. "name": "currencyid",
  3122. "in": "query"
  3123. }
  3124. ],
  3125. "responses": {
  3126. "200": {
  3127. "description": "OK",
  3128. "schema": {
  3129. "type": "array",
  3130. "items": {
  3131. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3132. }
  3133. }
  3134. },
  3135. "500": {
  3136. "description": "Internal Server Error",
  3137. "schema": {
  3138. "$ref": "#/definitions/app.Response"
  3139. }
  3140. }
  3141. }
  3142. }
  3143. },
  3144. "/Ermcp3/QryAreaStockReport": {
  3145. "get": {
  3146. "security": [
  3147. {
  3148. "ApiKeyAuth": []
  3149. }
  3150. ],
  3151. "produces": [
  3152. "application/json"
  3153. ],
  3154. "tags": [
  3155. "企业风险管理v3(app)"
  3156. ],
  3157. "summary": "查询库存报表",
  3158. "parameters": [
  3159. {
  3160. "type": "integer",
  3161. "description": "用户ID",
  3162. "name": "userid",
  3163. "in": "query",
  3164. "required": true
  3165. },
  3166. {
  3167. "type": "integer",
  3168. "description": "查询类型 1-报表 2-报表明细",
  3169. "name": "querytype",
  3170. "in": "query",
  3171. "required": true
  3172. },
  3173. {
  3174. "type": "integer",
  3175. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3176. "name": "cycletype",
  3177. "in": "query",
  3178. "required": true
  3179. },
  3180. {
  3181. "type": "string",
  3182. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3183. "name": "cycletime",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "string",
  3189. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3190. "name": "sumfields",
  3191. "in": "query"
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "品种ID",
  3196. "name": "deliverygoodsid",
  3197. "in": "query"
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "品类ID",
  3202. "name": "wrstandardid",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品牌ID",
  3208. "name": "spotgoodsbrandid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "仓库ID",
  3214. "name": "warehouseinfoid",
  3215. "in": "query"
  3216. }
  3217. ],
  3218. "responses": {
  3219. "200": {
  3220. "description": "OK",
  3221. "schema": {
  3222. "type": "array",
  3223. "items": {
  3224. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3225. }
  3226. }
  3227. },
  3228. "500": {
  3229. "description": "Internal Server Error",
  3230. "schema": {
  3231. "$ref": "#/definitions/app.Response"
  3232. }
  3233. }
  3234. }
  3235. }
  3236. },
  3237. "/Ermcp3/QryAreaSumPL": {
  3238. "get": {
  3239. "security": [
  3240. {
  3241. "ApiKeyAuth": []
  3242. }
  3243. ],
  3244. "produces": [
  3245. "application/json"
  3246. ],
  3247. "tags": [
  3248. "企业风险管理v3(app)"
  3249. ],
  3250. "summary": "查询汇总损益表",
  3251. "parameters": [
  3252. {
  3253. "type": "integer",
  3254. "description": "用户ID",
  3255. "name": "userid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "查询类型 1-报表 2-报表明细",
  3262. "name": "querytype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "integer",
  3268. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3269. "name": "cycletype",
  3270. "in": "query",
  3271. "required": true
  3272. },
  3273. {
  3274. "type": "string",
  3275. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3276. "name": "cycletime",
  3277. "in": "query",
  3278. "required": true
  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.Ermcp3ArealSumPL"
  3294. }
  3295. }
  3296. },
  3297. "500": {
  3298. "description": "Internal Server Error",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/Ermcp3/QryFinanceReport": {
  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": "integer",
  3351. "description": "币种id(报表明细必填)",
  3352. "name": "currencyid",
  3353. "in": "query"
  3354. },
  3355. {
  3356. "type": "string",
  3357. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3358. "name": "sumfields",
  3359. "in": "query"
  3360. }
  3361. ],
  3362. "responses": {
  3363. "200": {
  3364. "description": "OK",
  3365. "schema": {
  3366. "type": "array",
  3367. "items": {
  3368. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3369. }
  3370. }
  3371. },
  3372. "500": {
  3373. "description": "Internal Server Error",
  3374. "schema": {
  3375. "$ref": "#/definitions/app.Response"
  3376. }
  3377. }
  3378. }
  3379. }
  3380. },
  3381. "/Ermcp3/QueryAreaStock": {
  3382. "get": {
  3383. "security": [
  3384. {
  3385. "ApiKeyAuth": []
  3386. }
  3387. ],
  3388. "produces": [
  3389. "application/json"
  3390. ],
  3391. "tags": [
  3392. "企业风险管理v3(app)"
  3393. ],
  3394. "summary": "查询机构库存(库存管理/当前库存)",
  3395. "parameters": [
  3396. {
  3397. "type": "integer",
  3398. "description": "用户ID",
  3399. "name": "userid",
  3400. "in": "query",
  3401. "required": true
  3402. }
  3403. ],
  3404. "responses": {
  3405. "200": {
  3406. "description": "OK",
  3407. "schema": {
  3408. "type": "array",
  3409. "items": {
  3410. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3411. }
  3412. }
  3413. },
  3414. "500": {
  3415. "description": "Internal Server Error",
  3416. "schema": {
  3417. "$ref": "#/definitions/app.Response"
  3418. }
  3419. }
  3420. }
  3421. }
  3422. },
  3423. "/Ermcp3/QueryAreaStockApply": {
  3424. "get": {
  3425. "security": [
  3426. {
  3427. "ApiKeyAuth": []
  3428. }
  3429. ],
  3430. "produces": [
  3431. "application/json"
  3432. ],
  3433. "tags": [
  3434. "企业风险管理v3(app)"
  3435. ],
  3436. "summary": "查询库存申请(出入库记录|库存审核)",
  3437. "parameters": [
  3438. {
  3439. "type": "integer",
  3440. "description": "用户ID",
  3441. "name": "userid",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "用户类型 2-机构 7-企业成员",
  3448. "name": "usertype",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "现货商品ID",
  3454. "name": "deliverygoodsid",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "string",
  3459. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3460. "name": "inouttype",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "合同ID",
  3466. "name": "spotcontractid",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "品类ID",
  3472. "name": "wrstandardid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "品牌ID",
  3478. "name": "spotgoodsbrandid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "仓库ID",
  3484. "name": "warehouseinfoid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3490. "name": "applystatus",
  3491. "in": "query"
  3492. }
  3493. ],
  3494. "responses": {
  3495. "200": {
  3496. "description": "OK",
  3497. "schema": {
  3498. "type": "array",
  3499. "items": {
  3500. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3501. }
  3502. }
  3503. },
  3504. "500": {
  3505. "description": "Internal Server Error",
  3506. "schema": {
  3507. "$ref": "#/definitions/app.Response"
  3508. }
  3509. }
  3510. }
  3511. }
  3512. },
  3513. "/Ermcp3/QueryAreaStockApplySum": {
  3514. "get": {
  3515. "security": [
  3516. {
  3517. "ApiKeyAuth": []
  3518. }
  3519. ],
  3520. "produces": [
  3521. "application/json"
  3522. ],
  3523. "tags": [
  3524. "企业风险管理v3(app)"
  3525. ],
  3526. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3527. "parameters": [
  3528. {
  3529. "type": "integer",
  3530. "description": "合同ID",
  3531. "name": "spotcontractid",
  3532. "in": "query"
  3533. }
  3534. ],
  3535. "responses": {
  3536. "200": {
  3537. "description": "OK",
  3538. "schema": {
  3539. "type": "array",
  3540. "items": {
  3541. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3542. }
  3543. }
  3544. },
  3545. "500": {
  3546. "description": "Internal Server Error",
  3547. "schema": {
  3548. "$ref": "#/definitions/app.Response"
  3549. }
  3550. }
  3551. }
  3552. }
  3553. },
  3554. "/Ermcp3/QueryDGFactoryItem": {
  3555. "get": {
  3556. "security": [
  3557. {
  3558. "ApiKeyAuth": []
  3559. }
  3560. ],
  3561. "produces": [
  3562. "application/json"
  3563. ],
  3564. "tags": [
  3565. "企业风险管理v3(app)"
  3566. ],
  3567. "summary": "查询品种要素定义项",
  3568. "parameters": [
  3569. {
  3570. "type": "integer",
  3571. "description": "用户id",
  3572. "name": "userid",
  3573. "in": "query"
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "用户类型 2-机构 7-企业成员",
  3578. "name": "usertype",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3584. "name": "dgfactoryitemid",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "现货品种ID",
  3590. "name": "deliverygoodsid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "要素项类型",
  3596. "name": "dgfactoryitemtypeid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "顺序",
  3602. "name": "orderindex",
  3603. "in": "query"
  3604. }
  3605. ],
  3606. "responses": {
  3607. "200": {
  3608. "description": "OK",
  3609. "schema": {
  3610. "type": "array",
  3611. "items": {
  3612. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3613. }
  3614. }
  3615. },
  3616. "500": {
  3617. "description": "Internal Server Error",
  3618. "schema": {
  3619. "$ref": "#/definitions/app.Response"
  3620. }
  3621. }
  3622. }
  3623. }
  3624. },
  3625. "/Ermcp3/QueryDeliveryGoods": {
  3626. "get": {
  3627. "security": [
  3628. {
  3629. "ApiKeyAuth": []
  3630. }
  3631. ],
  3632. "produces": [
  3633. "application/json"
  3634. ],
  3635. "tags": [
  3636. "企业风险管理v3(app)"
  3637. ],
  3638. "summary": "查询现货商品",
  3639. "parameters": [
  3640. {
  3641. "type": "integer",
  3642. "description": "用户id",
  3643. "name": "userid",
  3644. "in": "query",
  3645. "required": true
  3646. },
  3647. {
  3648. "type": "integer",
  3649. "description": "用户类型 2-机构 7-企业成员",
  3650. "name": "usertype",
  3651. "in": "query"
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3656. "name": "excludecfg",
  3657. "in": "query"
  3658. }
  3659. ],
  3660. "responses": {
  3661. "200": {
  3662. "description": "OK",
  3663. "schema": {
  3664. "type": "array",
  3665. "items": {
  3666. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3667. }
  3668. }
  3669. },
  3670. "500": {
  3671. "description": "Internal Server Error",
  3672. "schema": {
  3673. "$ref": "#/definitions/app.Response"
  3674. }
  3675. }
  3676. }
  3677. }
  3678. },
  3679. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3680. "get": {
  3681. "security": [
  3682. {
  3683. "ApiKeyAuth": []
  3684. }
  3685. ],
  3686. "produces": [
  3687. "application/json"
  3688. ],
  3689. "tags": [
  3690. "企业风险管理v3(app)"
  3691. ],
  3692. "summary": "查询现货商品详情",
  3693. "parameters": [
  3694. {
  3695. "type": "integer",
  3696. "description": "用户id",
  3697. "name": "userid",
  3698. "in": "query",
  3699. "required": true
  3700. },
  3701. {
  3702. "type": "integer",
  3703. "description": "用户类型 2-机构 7-企业成员",
  3704. "name": "usertype",
  3705. "in": "query"
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "现货商品id",
  3710. "name": "deliverygoodsid",
  3711. "in": "query"
  3712. }
  3713. ],
  3714. "responses": {
  3715. "200": {
  3716. "description": "OK",
  3717. "schema": {
  3718. "type": "array",
  3719. "items": {
  3720. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3721. }
  3722. }
  3723. },
  3724. "500": {
  3725. "description": "Internal Server Error",
  3726. "schema": {
  3727. "$ref": "#/definitions/app.Response"
  3728. }
  3729. }
  3730. }
  3731. }
  3732. },
  3733. "/Ermcp3/QueryExposureDetail": {
  3734. "get": {
  3735. "security": [
  3736. {
  3737. "ApiKeyAuth": []
  3738. }
  3739. ],
  3740. "produces": [
  3741. "application/json"
  3742. ],
  3743. "tags": [
  3744. "企业风险管理v3(app)"
  3745. ],
  3746. "summary": "查询敞口现货明细",
  3747. "parameters": [
  3748. {
  3749. "type": "integer",
  3750. "description": "用户id",
  3751. "name": "userid",
  3752. "in": "query",
  3753. "required": true
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "用户类型 2-机构 7-企业成员",
  3758. "name": "usertype",
  3759. "in": "query"
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "套保商品",
  3764. "name": "middlegoodsid",
  3765. "in": "query",
  3766. "required": true
  3767. }
  3768. ],
  3769. "responses": {
  3770. "200": {
  3771. "description": "OK",
  3772. "schema": {
  3773. "type": "array",
  3774. "items": {
  3775. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3776. }
  3777. }
  3778. },
  3779. "500": {
  3780. "description": "Internal Server Error",
  3781. "schema": {
  3782. "$ref": "#/definitions/app.Response"
  3783. }
  3784. }
  3785. }
  3786. }
  3787. },
  3788. "/Ermcp3/QueryExposureSpot": {
  3789. "get": {
  3790. "security": [
  3791. {
  3792. "ApiKeyAuth": []
  3793. }
  3794. ],
  3795. "produces": [
  3796. "application/json"
  3797. ],
  3798. "tags": [
  3799. "企业风险管理v3(app)"
  3800. ],
  3801. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3802. "parameters": [
  3803. {
  3804. "type": "integer",
  3805. "description": "用户id",
  3806. "name": "userid",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "用户类型 2-机构 7-企业成员",
  3813. "name": "usertype",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QueryExposureSpotDetail": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户id",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "用户类型 2-机构 7-企业成员",
  3861. "name": "usertype",
  3862. "in": "query"
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "现货品种ID",
  3867. "name": "deliverygoodsid",
  3868. "in": "query",
  3869. "required": true
  3870. }
  3871. ],
  3872. "responses": {
  3873. "200": {
  3874. "description": "OK",
  3875. "schema": {
  3876. "type": "array",
  3877. "items": {
  3878. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3879. }
  3880. }
  3881. },
  3882. "500": {
  3883. "description": "Internal Server Error",
  3884. "schema": {
  3885. "$ref": "#/definitions/app.Response"
  3886. }
  3887. }
  3888. }
  3889. }
  3890. },
  3891. "/Ermcp3/QueryGoodsGroup": {
  3892. "get": {
  3893. "security": [
  3894. {
  3895. "ApiKeyAuth": []
  3896. }
  3897. ],
  3898. "produces": [
  3899. "application/json"
  3900. ],
  3901. "tags": [
  3902. "企业风险管理v3(app)"
  3903. ],
  3904. "summary": "查询期货商品组",
  3905. "parameters": [
  3906. {
  3907. "type": "integer",
  3908. "description": "用户id",
  3909. "name": "userid",
  3910. "in": "query",
  3911. "required": true
  3912. },
  3913. {
  3914. "type": "integer",
  3915. "description": "用户类型 2-机构 7-企业成员",
  3916. "name": "usertype",
  3917. "in": "query"
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "排除套保品中已关联的商品组 1-排除",
  3922. "name": "excludecfg",
  3923. "in": "query"
  3924. }
  3925. ],
  3926. "responses": {
  3927. "200": {
  3928. "description": "OK",
  3929. "schema": {
  3930. "type": "array",
  3931. "items": {
  3932. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3933. }
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/Ermcp3/QueryGoodsWrstandard": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "企业风险管理v3(app)"
  3957. ],
  3958. "summary": "查询商品品类",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "用户id",
  3963. "name": "userid",
  3964. "in": "query",
  3965. "required": true
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "用户类型 2-机构 7-企业成员",
  3970. "name": "usertype",
  3971. "in": "query"
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "现货商品id",
  3976. "name": "deliverygoodsid",
  3977. "in": "query"
  3978. }
  3979. ],
  3980. "responses": {
  3981. "200": {
  3982. "description": "OK",
  3983. "schema": {
  3984. "type": "array",
  3985. "items": {
  3986. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3987. }
  3988. }
  3989. },
  3990. "500": {
  3991. "description": "Internal Server Error",
  3992. "schema": {
  3993. "$ref": "#/definitions/app.Response"
  3994. }
  3995. }
  3996. }
  3997. }
  3998. },
  3999. "/Ermcp3/QueryGoodsbrand": {
  4000. "get": {
  4001. "security": [
  4002. {
  4003. "ApiKeyAuth": []
  4004. }
  4005. ],
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "企业风险管理v3(app)"
  4011. ],
  4012. "summary": "查询商品品牌",
  4013. "parameters": [
  4014. {
  4015. "type": "integer",
  4016. "description": "用户id",
  4017. "name": "userid",
  4018. "in": "query",
  4019. "required": true
  4020. },
  4021. {
  4022. "type": "integer",
  4023. "description": "用户类型 2-机构 7-企业成员",
  4024. "name": "usertype",
  4025. "in": "query"
  4026. }
  4027. ],
  4028. "responses": {
  4029. "200": {
  4030. "description": "OK",
  4031. "schema": {
  4032. "type": "array",
  4033. "items": {
  4034. "$ref": "#/definitions/models.Ermcp3Brand"
  4035. }
  4036. }
  4037. },
  4038. "500": {
  4039. "description": "Internal Server Error",
  4040. "schema": {
  4041. "$ref": "#/definitions/app.Response"
  4042. }
  4043. }
  4044. }
  4045. }
  4046. },
  4047. "/Ermcp3/QueryHedgePlan": {
  4048. "get": {
  4049. "security": [
  4050. {
  4051. "ApiKeyAuth": []
  4052. }
  4053. ],
  4054. "produces": [
  4055. "application/json"
  4056. ],
  4057. "tags": [
  4058. "企业风险管理v3(app)"
  4059. ],
  4060. "summary": "查询套保计划",
  4061. "parameters": [
  4062. {
  4063. "type": "integer",
  4064. "description": "用户ID",
  4065. "name": "userid",
  4066. "in": "query",
  4067. "required": true
  4068. },
  4069. {
  4070. "type": "integer",
  4071. "description": "用户类型 2-机构 7-企业成员",
  4072. "name": "usertype",
  4073. "in": "query"
  4074. },
  4075. {
  4076. "type": "string",
  4077. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4078. "name": "hedgeplanstatus",
  4079. "in": "query",
  4080. "required": true
  4081. }
  4082. ],
  4083. "responses": {
  4084. "200": {
  4085. "description": "OK",
  4086. "schema": {
  4087. "type": "array",
  4088. "items": {
  4089. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4090. }
  4091. }
  4092. },
  4093. "500": {
  4094. "description": "Internal Server Error",
  4095. "schema": {
  4096. "$ref": "#/definitions/app.Response"
  4097. }
  4098. }
  4099. }
  4100. }
  4101. },
  4102. "/Ermcp3/QueryMiddleGoodsDetail": {
  4103. "get": {
  4104. "security": [
  4105. {
  4106. "ApiKeyAuth": []
  4107. }
  4108. ],
  4109. "produces": [
  4110. "application/json"
  4111. ],
  4112. "tags": [
  4113. "企业风险管理v3(app)"
  4114. ],
  4115. "summary": "查询套保品种详情(套保品种/商品详情)",
  4116. "parameters": [
  4117. {
  4118. "type": "integer",
  4119. "description": "用户id",
  4120. "name": "userid",
  4121. "in": "query",
  4122. "required": true
  4123. },
  4124. {
  4125. "type": "integer",
  4126. "description": "用户类型 2-机构 7-企业成员",
  4127. "name": "usertype",
  4128. "in": "query"
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": "套保品种id",
  4133. "name": "middlegoodsid",
  4134. "in": "query"
  4135. }
  4136. ],
  4137. "responses": {
  4138. "200": {
  4139. "description": "OK",
  4140. "schema": {
  4141. "type": "array",
  4142. "items": {
  4143. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4144. }
  4145. }
  4146. },
  4147. "500": {
  4148. "description": "Internal Server Error",
  4149. "schema": {
  4150. "$ref": "#/definitions/app.Response"
  4151. }
  4152. }
  4153. }
  4154. }
  4155. },
  4156. "/Ermcp3/QuerySpotContract": {
  4157. "get": {
  4158. "security": [
  4159. {
  4160. "ApiKeyAuth": []
  4161. }
  4162. ],
  4163. "produces": [
  4164. "application/json"
  4165. ],
  4166. "tags": [
  4167. "企业风险管理v3(app)"
  4168. ],
  4169. "summary": "查询现货合同",
  4170. "parameters": [
  4171. {
  4172. "type": "integer",
  4173. "description": "用户id",
  4174. "name": "userid",
  4175. "in": "query",
  4176. "required": true
  4177. },
  4178. {
  4179. "type": "integer",
  4180. "description": "用户类型 2-机构 7-企业成员",
  4181. "name": "usertype",
  4182. "in": "query"
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4187. "name": "querytype",
  4188. "in": "query",
  4189. "required": true
  4190. },
  4191. {
  4192. "type": "string",
  4193. "description": "合同ID(SpotContractId)",
  4194. "name": "contractid",
  4195. "in": "query"
  4196. }
  4197. ],
  4198. "responses": {
  4199. "200": {
  4200. "description": "OK",
  4201. "schema": {
  4202. "type": "array",
  4203. "items": {
  4204. "$ref": "#/definitions/models.Ermcp3Contract"
  4205. }
  4206. }
  4207. },
  4208. "500": {
  4209. "description": "Internal Server Error",
  4210. "schema": {
  4211. "$ref": "#/definitions/app.Response"
  4212. }
  4213. }
  4214. }
  4215. }
  4216. },
  4217. "/Ermcp3/QuerySpotContractBS": {
  4218. "get": {
  4219. "security": [
  4220. {
  4221. "ApiKeyAuth": []
  4222. }
  4223. ],
  4224. "produces": [
  4225. "application/json"
  4226. ],
  4227. "tags": [
  4228. "企业风险管理v3(app)"
  4229. ],
  4230. "summary": "查询合同(采购/销售)",
  4231. "parameters": [
  4232. {
  4233. "type": "integer",
  4234. "description": "用户id",
  4235. "name": "userid",
  4236. "in": "query",
  4237. "required": true
  4238. },
  4239. {
  4240. "type": "integer",
  4241. "description": "用户类型 2-机构 7-企业成员",
  4242. "name": "usertype",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "合同类型 1-采购, -1-销售",
  4248. "name": "contracttype",
  4249. "in": "query",
  4250. "required": true
  4251. },
  4252. {
  4253. "type": "integer",
  4254. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4255. "name": "querytype",
  4256. "in": "query",
  4257. "required": true
  4258. },
  4259. {
  4260. "type": "string",
  4261. "description": "合同ID(SpotContractId)",
  4262. "name": "contractid",
  4263. "in": "query"
  4264. }
  4265. ],
  4266. "responses": {
  4267. "200": {
  4268. "description": "OK",
  4269. "schema": {
  4270. "type": "array",
  4271. "items": {
  4272. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4273. }
  4274. }
  4275. },
  4276. "500": {
  4277. "description": "Internal Server Error",
  4278. "schema": {
  4279. "$ref": "#/definitions/app.Response"
  4280. }
  4281. }
  4282. }
  4283. }
  4284. },
  4285. "/Ermcp3/QuerySpotGoodsPrice": {
  4286. "get": {
  4287. "security": [
  4288. {
  4289. "ApiKeyAuth": []
  4290. }
  4291. ],
  4292. "produces": [
  4293. "application/json"
  4294. ],
  4295. "tags": [
  4296. "企业风险管理v3(app)"
  4297. ],
  4298. "summary": "查询现货市价(现货市价)",
  4299. "parameters": [
  4300. {
  4301. "type": "integer",
  4302. "description": "用户ID",
  4303. "name": "userid",
  4304. "in": "query",
  4305. "required": true
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询现货市价详情(现货市价/详情)",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户ID",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "现货商品ID",
  4352. "name": "deliverygoodsid",
  4353. "in": "query",
  4354. "required": true
  4355. },
  4356. {
  4357. "type": "integer",
  4358. "description": "品牌ID",
  4359. "name": "brandid",
  4360. "in": "query"
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "品类ID",
  4365. "name": "wrstandardid",
  4366. "in": "query"
  4367. }
  4368. ],
  4369. "responses": {
  4370. "200": {
  4371. "description": "OK",
  4372. "schema": {
  4373. "type": "array",
  4374. "items": {
  4375. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4376. }
  4377. }
  4378. },
  4379. "500": {
  4380. "description": "Internal Server Error",
  4381. "schema": {
  4382. "$ref": "#/definitions/app.Response"
  4383. }
  4384. }
  4385. }
  4386. }
  4387. },
  4388. "/Erms2/QueryArbitrageStrategy": {
  4389. "get": {
  4390. "security": [
  4391. {
  4392. "ApiKeyAuth": []
  4393. }
  4394. ],
  4395. "produces": [
  4396. "application/json"
  4397. ],
  4398. "tags": [
  4399. "风险管理"
  4400. ],
  4401. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4402. "parameters": [
  4403. {
  4404. "type": "integer",
  4405. "description": "账户ID",
  4406. "name": "userid",
  4407. "in": "query",
  4408. "required": true
  4409. },
  4410. {
  4411. "type": "string",
  4412. "description": "商品组ID(品种ID)",
  4413. "name": "goodsgroupid",
  4414. "in": "query"
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4422. }
  4423. },
  4424. "500": {
  4425. "description": "Internal Server Error",
  4426. "schema": {
  4427. "$ref": "#/definitions/app.Response"
  4428. }
  4429. }
  4430. }
  4431. }
  4432. },
  4433. "/Erms2/QueryInnerTradeDetail": {
  4434. "get": {
  4435. "security": [
  4436. {
  4437. "ApiKeyAuth": []
  4438. }
  4439. ],
  4440. "produces": [
  4441. "application/json"
  4442. ],
  4443. "tags": [
  4444. "风险管理"
  4445. ],
  4446. "summary": "查询内部成交单信息",
  4447. "parameters": [
  4448. {
  4449. "type": "integer",
  4450. "description": "资金账户",
  4451. "name": "accountid",
  4452. "in": "query",
  4453. "required": true
  4454. }
  4455. ],
  4456. "responses": {
  4457. "200": {
  4458. "description": "OK",
  4459. "schema": {
  4460. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/Erms2/QuerySpotContract": {
  4473. "get": {
  4474. "security": [
  4475. {
  4476. "ApiKeyAuth": []
  4477. }
  4478. ],
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "风险管理"
  4484. ],
  4485. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4486. "parameters": [
  4487. {
  4488. "type": "integer",
  4489. "description": "策略申请ID",
  4490. "name": "asapplyid",
  4491. "in": "query",
  4492. "required": true
  4493. },
  4494. {
  4495. "type": "integer",
  4496. "description": "现货合同ID",
  4497. "name": "spotcontractid",
  4498. "in": "query"
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4506. }
  4507. },
  4508. "500": {
  4509. "description": "Internal Server Error",
  4510. "schema": {
  4511. "$ref": "#/definitions/app.Response"
  4512. }
  4513. }
  4514. }
  4515. }
  4516. },
  4517. "/Erms3/AddErms2ASApply": {
  4518. "post": {
  4519. "security": [
  4520. {
  4521. "ApiKeyAuth": []
  4522. }
  4523. ],
  4524. "produces": [
  4525. "application/json"
  4526. ],
  4527. "tags": [
  4528. "风险管理v3"
  4529. ],
  4530. "summary": "新增期现套利业务申请",
  4531. "parameters": [
  4532. {
  4533. "description": "申请参数",
  4534. "name": "jsonBody",
  4535. "in": "body",
  4536. "required": true,
  4537. "schema": {
  4538. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4539. }
  4540. }
  4541. ],
  4542. "responses": {
  4543. "200": {
  4544. "description": "OK",
  4545. "schema": {
  4546. "$ref": "#/definitions/app.Response"
  4547. }
  4548. },
  4549. "500": {
  4550. "description": "Internal Server Error",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. }
  4555. }
  4556. }
  4557. },
  4558. "/Erms3/AddErms2SpotTradeApply": {
  4559. "post": {
  4560. "security": [
  4561. {
  4562. "ApiKeyAuth": []
  4563. }
  4564. ],
  4565. "produces": [
  4566. "application/json"
  4567. ],
  4568. "tags": [
  4569. "风险管理v3"
  4570. ],
  4571. "summary": "新增现货贸易业务申请",
  4572. "parameters": [
  4573. {
  4574. "description": "申请参数",
  4575. "name": "jsonBody",
  4576. "in": "body",
  4577. "required": true,
  4578. "schema": {
  4579. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4580. }
  4581. }
  4582. ],
  4583. "responses": {
  4584. "200": {
  4585. "description": "OK",
  4586. "schema": {
  4587. "$ref": "#/definitions/app.Response"
  4588. }
  4589. },
  4590. "500": {
  4591. "description": "Internal Server Error",
  4592. "schema": {
  4593. "$ref": "#/definitions/app.Response"
  4594. }
  4595. }
  4596. }
  4597. }
  4598. },
  4599. "/Erms3/AddSpotContractApply": {
  4600. "post": {
  4601. "security": [
  4602. {
  4603. "ApiKeyAuth": []
  4604. }
  4605. ],
  4606. "produces": [
  4607. "application/json"
  4608. ],
  4609. "tags": [
  4610. "风险管理v3"
  4611. ],
  4612. "summary": "新增现货合同申请",
  4613. "parameters": [
  4614. {
  4615. "description": "申请参数",
  4616. "name": "jsonBody",
  4617. "in": "body",
  4618. "required": true,
  4619. "schema": {
  4620. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4621. }
  4622. }
  4623. ],
  4624. "responses": {
  4625. "200": {
  4626. "description": "OK",
  4627. "schema": {
  4628. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4629. }
  4630. },
  4631. "500": {
  4632. "description": "Internal Server Error",
  4633. "schema": {
  4634. "$ref": "#/definitions/app.Response"
  4635. }
  4636. }
  4637. }
  4638. }
  4639. },
  4640. "/Erms3/AddUserInfoApply": {
  4641. "post": {
  4642. "security": [
  4643. {
  4644. "ApiKeyAuth": []
  4645. }
  4646. ],
  4647. "produces": [
  4648. "application/json"
  4649. ],
  4650. "tags": [
  4651. "风险管理v3"
  4652. ],
  4653. "summary": "新增客户申请",
  4654. "parameters": [
  4655. {
  4656. "description": "用户信息",
  4657. "name": "jsonBody",
  4658. "in": "body",
  4659. "required": true,
  4660. "schema": {
  4661. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4662. }
  4663. }
  4664. ],
  4665. "responses": {
  4666. "200": {
  4667. "description": "OK",
  4668. "schema": {
  4669. "$ref": "#/definitions/app.Response"
  4670. }
  4671. },
  4672. "500": {
  4673. "description": "Internal Server Error",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. }
  4678. }
  4679. }
  4680. },
  4681. "/Erms3/DeleteUserInfoApply": {
  4682. "get": {
  4683. "security": [
  4684. {
  4685. "ApiKeyAuth": []
  4686. }
  4687. ],
  4688. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4689. "produces": [
  4690. "application/json"
  4691. ],
  4692. "tags": [
  4693. "风险管理v3"
  4694. ],
  4695. "summary": "删除客户申请",
  4696. "parameters": [
  4697. {
  4698. "type": "integer",
  4699. "description": "用户ID",
  4700. "name": "userID",
  4701. "in": "query",
  4702. "required": true
  4703. }
  4704. ],
  4705. "responses": {
  4706. "200": {
  4707. "description": "OK",
  4708. "schema": {
  4709. "$ref": "#/definitions/app.Response"
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Erms3/ModifyUserInfoApply": {
  4722. "post": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4729. "produces": [
  4730. "application/json"
  4731. ],
  4732. "tags": [
  4733. "风险管理v3"
  4734. ],
  4735. "summary": "修改客户申请",
  4736. "parameters": [
  4737. {
  4738. "description": "用户信息",
  4739. "name": "jsonBody",
  4740. "in": "body",
  4741. "required": true,
  4742. "schema": {
  4743. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4744. }
  4745. }
  4746. ],
  4747. "responses": {
  4748. "200": {
  4749. "description": "OK",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Erms3/QueryBusinessInfo": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "风险管理v3"
  4775. ],
  4776. "summary": "查询业务表单数据",
  4777. "parameters": [
  4778. {
  4779. "type": "string",
  4780. "description": "资金账号ID列表,用逗号分隔",
  4781. "name": "accountids",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "状态,0为未结束 1为已结束",
  4788. "name": "status",
  4789. "in": "query",
  4790. "required": true
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "type": "array",
  4798. "items": {
  4799. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4800. }
  4801. }
  4802. },
  4803. "500": {
  4804. "description": "Internal Server Error",
  4805. "schema": {
  4806. "$ref": "#/definitions/app.Response"
  4807. }
  4808. }
  4809. }
  4810. }
  4811. },
  4812. "/Erms3/QueryPendingAuditContract": {
  4813. "get": {
  4814. "security": [
  4815. {
  4816. "ApiKeyAuth": []
  4817. }
  4818. ],
  4819. "produces": [
  4820. "application/json"
  4821. ],
  4822. "tags": [
  4823. "风险管理v3"
  4824. ],
  4825. "summary": "查询待审核合同",
  4826. "parameters": [
  4827. {
  4828. "type": "string",
  4829. "description": "资金账号ID列表,逗号隔开",
  4830. "name": "accountids",
  4831. "in": "query",
  4832. "required": true
  4833. },
  4834. {
  4835. "type": "integer",
  4836. "description": "合同类型 1-采购 -1-销售",
  4837. "name": "contracttype",
  4838. "in": "query",
  4839. "required": true
  4840. },
  4841. {
  4842. "type": "integer",
  4843. "description": "合同模式 1-普通 2-回购",
  4844. "name": "contractmode",
  4845. "in": "query",
  4846. "required": true
  4847. }
  4848. ],
  4849. "responses": {
  4850. "200": {
  4851. "description": "OK",
  4852. "schema": {
  4853. "type": "array",
  4854. "items": {
  4855. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4856. }
  4857. }
  4858. },
  4859. "500": {
  4860. "description": "Internal Server Error",
  4861. "schema": {
  4862. "$ref": "#/definitions/app.Response"
  4863. }
  4864. }
  4865. }
  4866. }
  4867. },
  4868. "/Erms3/QueryPendingBusiness": {
  4869. "get": {
  4870. "security": [
  4871. {
  4872. "ApiKeyAuth": []
  4873. }
  4874. ],
  4875. "produces": [
  4876. "application/json"
  4877. ],
  4878. "tags": [
  4879. "风险管理v3"
  4880. ],
  4881. "summary": "查询待审核基差贸易业务",
  4882. "parameters": [
  4883. {
  4884. "type": "string",
  4885. "description": "资金账号ID列表,逗号隔开",
  4886. "name": "accountids",
  4887. "in": "query",
  4888. "required": true
  4889. }
  4890. ],
  4891. "responses": {
  4892. "200": {
  4893. "description": "OK",
  4894. "schema": {
  4895. "type": "array",
  4896. "items": {
  4897. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4898. }
  4899. }
  4900. },
  4901. "500": {
  4902. "description": "Internal Server Error",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. }
  4907. }
  4908. }
  4909. },
  4910. "/Erms3/QuerySpotContractAppleForm": {
  4911. "get": {
  4912. "security": [
  4913. {
  4914. "ApiKeyAuth": []
  4915. }
  4916. ],
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "风险管理v3"
  4922. ],
  4923. "summary": "查询合同申请表单数据",
  4924. "parameters": [
  4925. {
  4926. "type": "integer",
  4927. "description": "登录账号",
  4928. "name": "loginID",
  4929. "in": "query",
  4930. "required": true
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms3/QuerySpotContractDetail": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理v3"
  4961. ],
  4962. "summary": "查询合同详细信息",
  4963. "parameters": [
  4964. {
  4965. "type": "string",
  4966. "description": "资金账号ID列表,用逗号分隔",
  4967. "name": "accountids",
  4968. "in": "query",
  4969. "required": true
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "合同类型,1为采购合同 -1为销售合同",
  4974. "name": "contracttype",
  4975. "in": "query",
  4976. "required": true
  4977. },
  4978. {
  4979. "type": "integer",
  4980. "description": "合同模式,1为普通合同 2为回购销售合同",
  4981. "name": "contractmode",
  4982. "in": "query",
  4983. "required": true
  4984. },
  4985. {
  4986. "type": "integer",
  4987. "description": "状态,0为履约中 1为已完成",
  4988. "name": "status",
  4989. "in": "query",
  4990. "required": true
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Erms3/QueryUserInfoApplies": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "风险管理v3"
  5024. ],
  5025. "summary": "客户申请信息查询",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "页码",
  5030. "name": "page",
  5031. "in": "query"
  5032. },
  5033. {
  5034. "type": "integer",
  5035. "description": "每页条数",
  5036. "name": "pagesize",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "string",
  5041. "description": "客户名称,支持模糊查询",
  5042. "name": "userName",
  5043. "in": "query"
  5044. }
  5045. ],
  5046. "responses": {
  5047. "200": {
  5048. "description": "OK",
  5049. "schema": {
  5050. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Erms3/QueryUserInfos": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "produces": [
  5070. "application/json"
  5071. ],
  5072. "tags": [
  5073. "风险管理v3"
  5074. ],
  5075. "summary": "客户信息查询",
  5076. "parameters": [
  5077. {
  5078. "type": "integer",
  5079. "description": "页码",
  5080. "name": "page",
  5081. "in": "query"
  5082. },
  5083. {
  5084. "type": "integer",
  5085. "description": "每页条数",
  5086. "name": "pagesize",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "string",
  5091. "description": "客户名称,支持模糊查询",
  5092. "name": "userName",
  5093. "in": "query"
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5101. }
  5102. },
  5103. "500": {
  5104. "description": "Internal Server Error",
  5105. "schema": {
  5106. "$ref": "#/definitions/app.Response"
  5107. }
  5108. }
  5109. }
  5110. }
  5111. },
  5112. "/HSBY/GetHsbyMyCount": {
  5113. "get": {
  5114. "security": [
  5115. {
  5116. "ApiKeyAuth": []
  5117. }
  5118. ],
  5119. "description": "说明: 不包括已完成的数量。",
  5120. "produces": [
  5121. "application/json"
  5122. ],
  5123. "tags": [
  5124. "定制【海商报业】"
  5125. ],
  5126. "summary": "获取我的订单与包裹数量",
  5127. "parameters": [
  5128. {
  5129. "type": "string",
  5130. "description": "资金账户列表,格式:1,2,3",
  5131. "name": "accountIDs",
  5132. "in": "query",
  5133. "required": true
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5141. }
  5142. },
  5143. "500": {
  5144. "description": "Internal Server Error",
  5145. "schema": {
  5146. "$ref": "#/definitions/app.Response"
  5147. }
  5148. }
  5149. }
  5150. }
  5151. },
  5152. "/HSBY/QueryClientFixedADConfigs": {
  5153. "get": {
  5154. "security": [
  5155. {
  5156. "ApiKeyAuth": []
  5157. }
  5158. ],
  5159. "produces": [
  5160. "application/json"
  5161. ],
  5162. "tags": [
  5163. "定制【海商报业】"
  5164. ],
  5165. "summary": "获取终端固定广告配置",
  5166. "responses": {
  5167. "200": {
  5168. "description": "OK",
  5169. "schema": {
  5170. "$ref": "#/definitions/models.Clientfixedadconfig"
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "定制【海商报业】"
  5194. ],
  5195. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5196. "parameters": [
  5197. {
  5198. "type": "integer",
  5199. "description": "页码",
  5200. "name": "page",
  5201. "in": "query"
  5202. },
  5203. {
  5204. "type": "integer",
  5205. "description": "每页条数",
  5206. "name": "pagesize",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "string",
  5211. "description": "资金账户列表,格式:1,2,3",
  5212. "name": "accountIDs",
  5213. "in": "query",
  5214. "required": true
  5215. }
  5216. ],
  5217. "responses": {
  5218. "200": {
  5219. "description": "OK",
  5220. "schema": {
  5221. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5222. }
  5223. },
  5224. "500": {
  5225. "description": "Internal Server Error",
  5226. "schema": {
  5227. "$ref": "#/definitions/app.Response"
  5228. }
  5229. }
  5230. }
  5231. }
  5232. },
  5233. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5234. "get": {
  5235. "security": [
  5236. {
  5237. "ApiKeyAuth": []
  5238. }
  5239. ],
  5240. "description": "说明:查询结果已按委托价格和委托时间排序",
  5241. "produces": [
  5242. "application/json"
  5243. ],
  5244. "tags": [
  5245. "定制【海商报业】"
  5246. ],
  5247. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5248. "parameters": [
  5249. {
  5250. "type": "integer",
  5251. "description": "商品ID",
  5252. "name": "goodsID",
  5253. "in": "query",
  5254. "required": true
  5255. },
  5256. {
  5257. "type": "string",
  5258. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5259. "name": "accountIDs",
  5260. "in": "query"
  5261. },
  5262. {
  5263. "type": "integer",
  5264. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5265. "name": "buyOrSell",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "number",
  5270. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5271. "name": "price",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "integer",
  5276. "description": "档位,不传则默认为3档",
  5277. "name": "speed",
  5278. "in": "query"
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5286. }
  5287. },
  5288. "500": {
  5289. "description": "Internal Server Error",
  5290. "schema": {
  5291. "$ref": "#/definitions/app.Response"
  5292. }
  5293. }
  5294. }
  5295. }
  5296. },
  5297. "/HSBY/QueryHsbyListingGoodsDetail": {
  5298. "get": {
  5299. "security": [
  5300. {
  5301. "ApiKeyAuth": []
  5302. }
  5303. ],
  5304. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5305. "produces": [
  5306. "application/json"
  5307. ],
  5308. "tags": [
  5309. "定制【海商报业】"
  5310. ],
  5311. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5312. "parameters": [
  5313. {
  5314. "type": "integer",
  5315. "description": "商品ID",
  5316. "name": "goodsID",
  5317. "in": "query",
  5318. "required": true
  5319. },
  5320. {
  5321. "type": "integer",
  5322. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5323. "name": "accountID",
  5324. "in": "query"
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5332. }
  5333. },
  5334. "500": {
  5335. "description": "Internal Server Error",
  5336. "schema": {
  5337. "$ref": "#/definitions/app.Response"
  5338. }
  5339. }
  5340. }
  5341. }
  5342. },
  5343. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5344. "get": {
  5345. "security": [
  5346. {
  5347. "ApiKeyAuth": []
  5348. }
  5349. ],
  5350. "produces": [
  5351. "application/json"
  5352. ],
  5353. "tags": [
  5354. "定制【海商报业】"
  5355. ],
  5356. "summary": "查询三级市场(商城)商品信息详情",
  5357. "parameters": [
  5358. {
  5359. "type": "integer",
  5360. "description": "委托单号",
  5361. "name": "orderID",
  5362. "in": "query",
  5363. "required": true
  5364. },
  5365. {
  5366. "type": "integer",
  5367. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5368. "name": "accountID",
  5369. "in": "query"
  5370. }
  5371. ],
  5372. "responses": {
  5373. "200": {
  5374. "description": "OK",
  5375. "schema": {
  5376. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5377. }
  5378. },
  5379. "500": {
  5380. "description": "Internal Server Error",
  5381. "schema": {
  5382. "$ref": "#/definitions/app.Response"
  5383. }
  5384. }
  5385. }
  5386. }
  5387. },
  5388. "/HSBY/QueryHsbyMarketGoodses": {
  5389. "get": {
  5390. "security": [
  5391. {
  5392. "ApiKeyAuth": []
  5393. }
  5394. ],
  5395. "produces": [
  5396. "application/json"
  5397. ],
  5398. "tags": [
  5399. "定制【海商报业】"
  5400. ],
  5401. "summary": "查询特卖商品列表(三级商城)",
  5402. "parameters": [
  5403. {
  5404. "type": "integer",
  5405. "description": "页码",
  5406. "name": "page",
  5407. "in": "query"
  5408. },
  5409. {
  5410. "type": "integer",
  5411. "description": "每页条数",
  5412. "name": "pagesize",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "string",
  5417. "description": "市场ID列表,格式:1,2,3",
  5418. "name": "marketIDs",
  5419. "in": "query",
  5420. "required": true
  5421. },
  5422. {
  5423. "type": "integer",
  5424. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5425. "name": "accountID",
  5426. "in": "query",
  5427. "required": true
  5428. },
  5429. {
  5430. "type": "integer",
  5431. "description": "类别ID",
  5432. "name": "categoryID",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "string",
  5437. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5438. "name": "goodsIDs",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "integer",
  5443. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5444. "name": "couponTypeID",
  5445. "in": "query"
  5446. }
  5447. ],
  5448. "responses": {
  5449. "200": {
  5450. "description": "OK",
  5451. "schema": {
  5452. "$ref": "#/definitions/models.HsbyMarketGoods"
  5453. }
  5454. },
  5455. "500": {
  5456. "description": "Internal Server Error",
  5457. "schema": {
  5458. "$ref": "#/definitions/app.Response"
  5459. }
  5460. }
  5461. }
  5462. }
  5463. },
  5464. "/HSBY/QueryHsbyMarkets": {
  5465. "get": {
  5466. "security": [
  5467. {
  5468. "ApiKeyAuth": []
  5469. }
  5470. ],
  5471. "produces": [
  5472. "application/json"
  5473. ],
  5474. "tags": [
  5475. "定制【海商报业】"
  5476. ],
  5477. "summary": "查询海商报业相关市场信息",
  5478. "responses": {
  5479. "200": {
  5480. "description": "OK",
  5481. "schema": {
  5482. "$ref": "#/definitions/models.HsbyMarketInfo"
  5483. }
  5484. },
  5485. "500": {
  5486. "description": "Internal Server Error",
  5487. "schema": {
  5488. "$ref": "#/definitions/app.Response"
  5489. }
  5490. }
  5491. }
  5492. }
  5493. },
  5494. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5495. "get": {
  5496. "security": [
  5497. {
  5498. "ApiKeyAuth": []
  5499. }
  5500. ],
  5501. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "定制【海商报业】"
  5507. ],
  5508. "summary": "查询“我的订单”信息",
  5509. "parameters": [
  5510. {
  5511. "type": "string",
  5512. "description": "资金账户列表,格式:1,2,3",
  5513. "name": "accountIDs",
  5514. "in": "query",
  5515. "required": true
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/HSBY/QueryHsbyMyGoods": {
  5535. "get": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "定制【海商报业】"
  5547. ],
  5548. "summary": "查询“我的商品”信息",
  5549. "parameters": [
  5550. {
  5551. "type": "string",
  5552. "description": "资金账户列表,格式:1,2,3",
  5553. "name": "accountIDs",
  5554. "in": "query",
  5555. "required": true
  5556. }
  5557. ],
  5558. "responses": {
  5559. "200": {
  5560. "description": "OK",
  5561. "schema": {
  5562. "$ref": "#/definitions/models.HsbyMyGoods"
  5563. }
  5564. },
  5565. "500": {
  5566. "description": "Internal Server Error",
  5567. "schema": {
  5568. "$ref": "#/definitions/app.Response"
  5569. }
  5570. }
  5571. }
  5572. }
  5573. },
  5574. "/HSBY/QueryHsbyMyPackages": {
  5575. "get": {
  5576. "security": [
  5577. {
  5578. "ApiKeyAuth": []
  5579. }
  5580. ],
  5581. "produces": [
  5582. "application/json"
  5583. ],
  5584. "tags": [
  5585. "定制【海商报业】"
  5586. ],
  5587. "summary": "查询我的包裹信息",
  5588. "parameters": [
  5589. {
  5590. "type": "string",
  5591. "description": "资金账户列表,格式:1,2,3",
  5592. "name": "accountIDs",
  5593. "in": "query",
  5594. "required": true
  5595. },
  5596. {
  5597. "type": "integer",
  5598. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5599. "name": "takeOrderStatus",
  5600. "in": "query"
  5601. }
  5602. ],
  5603. "responses": {
  5604. "200": {
  5605. "description": "OK",
  5606. "schema": {
  5607. "$ref": "#/definitions/models.HsbyMyPackage"
  5608. }
  5609. },
  5610. "500": {
  5611. "description": "Internal Server Error",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. }
  5616. }
  5617. }
  5618. },
  5619. "/HSBY/QueryHsbyPreGoodsDetail": {
  5620. "get": {
  5621. "security": [
  5622. {
  5623. "ApiKeyAuth": []
  5624. }
  5625. ],
  5626. "produces": [
  5627. "application/json"
  5628. ],
  5629. "tags": [
  5630. "定制【海商报业】"
  5631. ],
  5632. "summary": "查询一级市场(预售)商品信息详情",
  5633. "parameters": [
  5634. {
  5635. "type": "integer",
  5636. "description": "商品ID",
  5637. "name": "goodsID",
  5638. "in": "query",
  5639. "required": true
  5640. },
  5641. {
  5642. "type": "integer",
  5643. "description": "资金账户,主要用于获取预售商品购买上限",
  5644. "name": "accountID",
  5645. "in": "query"
  5646. }
  5647. ],
  5648. "responses": {
  5649. "200": {
  5650. "description": "OK",
  5651. "schema": {
  5652. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5653. }
  5654. },
  5655. "500": {
  5656. "description": "Internal Server Error",
  5657. "schema": {
  5658. "$ref": "#/definitions/app.Response"
  5659. }
  5660. }
  5661. }
  5662. }
  5663. },
  5664. "/HSBY/QueryHsbyPreGoodses": {
  5665. "get": {
  5666. "security": [
  5667. {
  5668. "ApiKeyAuth": []
  5669. }
  5670. ],
  5671. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5672. "produces": [
  5673. "application/json"
  5674. ],
  5675. "tags": [
  5676. "定制【海商报业】"
  5677. ],
  5678. "summary": "查询新品上市商品列表(一级市场预售)",
  5679. "parameters": [
  5680. {
  5681. "type": "integer",
  5682. "description": "页码",
  5683. "name": "page",
  5684. "in": "query"
  5685. },
  5686. {
  5687. "type": "integer",
  5688. "description": "每页条数",
  5689. "name": "pagesize",
  5690. "in": "query"
  5691. },
  5692. {
  5693. "type": "string",
  5694. "description": "市场ID列表,格式:1,2,3",
  5695. "name": "marketIDs",
  5696. "in": "query",
  5697. "required": true
  5698. },
  5699. {
  5700. "type": "integer",
  5701. "description": "目的地(省)ID",
  5702. "name": "descProvinceID",
  5703. "in": "query"
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "目的地(市)ID",
  5708. "name": "descCityID",
  5709. "in": "query"
  5710. }
  5711. ],
  5712. "responses": {
  5713. "200": {
  5714. "description": "OK",
  5715. "schema": {
  5716. "$ref": "#/definitions/models.HsbyPreGoods"
  5717. }
  5718. },
  5719. "500": {
  5720. "description": "Internal Server Error",
  5721. "schema": {
  5722. "$ref": "#/definitions/app.Response"
  5723. }
  5724. }
  5725. }
  5726. }
  5727. },
  5728. "/HSBY/QueryHsbySellMyDetails": {
  5729. "get": {
  5730. "security": [
  5731. {
  5732. "ApiKeyAuth": []
  5733. }
  5734. ],
  5735. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5736. "produces": [
  5737. "application/json"
  5738. ],
  5739. "tags": [
  5740. "定制【海商报业】"
  5741. ],
  5742. "summary": "查询\"我的闲置\"单据信息",
  5743. "parameters": [
  5744. {
  5745. "type": "integer",
  5746. "description": "页码",
  5747. "name": "page",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "每页条数",
  5753. "name": "pagesize",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "string",
  5758. "description": "资金账户列表,格式:1,2,3",
  5759. "name": "accountIDs",
  5760. "in": "query",
  5761. "required": true
  5762. },
  5763. {
  5764. "type": "integer",
  5765. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5766. "name": "orderType",
  5767. "in": "query"
  5768. }
  5769. ],
  5770. "responses": {
  5771. "200": {
  5772. "description": "OK",
  5773. "schema": {
  5774. "$ref": "#/definitions/models.HsbySellMyDetail"
  5775. }
  5776. },
  5777. "500": {
  5778. "description": "Internal Server Error",
  5779. "schema": {
  5780. "$ref": "#/definitions/app.Response"
  5781. }
  5782. }
  5783. }
  5784. }
  5785. },
  5786. "/HSBY/QueryHsbyTopGoodses": {
  5787. "get": {
  5788. "security": [
  5789. {
  5790. "ApiKeyAuth": []
  5791. }
  5792. ],
  5793. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5794. "produces": [
  5795. "application/json"
  5796. ],
  5797. "tags": [
  5798. "定制【海商报业】"
  5799. ],
  5800. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5801. "parameters": [
  5802. {
  5803. "type": "integer",
  5804. "description": "页码",
  5805. "name": "page",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "每页条数",
  5811. "name": "pagesize",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "string",
  5816. "description": "市场ID列表,格式:1,2,3",
  5817. "name": "marketIDs",
  5818. "in": "query",
  5819. "required": true
  5820. },
  5821. {
  5822. "type": "integer",
  5823. "description": "目的地(省)ID",
  5824. "name": "descProvinceID",
  5825. "in": "query"
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "目的地(市)ID",
  5830. "name": "descCityID",
  5831. "in": "query"
  5832. }
  5833. ],
  5834. "responses": {
  5835. "200": {
  5836. "description": "OK",
  5837. "schema": {
  5838. "$ref": "#/definitions/models.HsbyTopGoods"
  5839. }
  5840. },
  5841. "500": {
  5842. "description": "Internal Server Error",
  5843. "schema": {
  5844. "$ref": "#/definitions/app.Response"
  5845. }
  5846. }
  5847. }
  5848. }
  5849. },
  5850. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5851. "get": {
  5852. "security": [
  5853. {
  5854. "ApiKeyAuth": []
  5855. }
  5856. ],
  5857. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5858. "produces": [
  5859. "application/json"
  5860. ],
  5861. "tags": [
  5862. "定制【海商报业】"
  5863. ],
  5864. "summary": "查询游客三级市场(商城)商品信息详情",
  5865. "parameters": [
  5866. {
  5867. "type": "integer",
  5868. "description": "商品ID",
  5869. "name": "goodsID",
  5870. "in": "query",
  5871. "required": true
  5872. }
  5873. ],
  5874. "responses": {
  5875. "200": {
  5876. "description": "OK",
  5877. "schema": {
  5878. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5879. }
  5880. },
  5881. "500": {
  5882. "description": "Internal Server Error",
  5883. "schema": {
  5884. "$ref": "#/definitions/app.Response"
  5885. }
  5886. }
  5887. }
  5888. }
  5889. },
  5890. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5891. "get": {
  5892. "security": [
  5893. {
  5894. "ApiKeyAuth": []
  5895. }
  5896. ],
  5897. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "定制【海商报业】"
  5903. ],
  5904. "summary": "查询游客特卖商品列表(三级商城)",
  5905. "parameters": [
  5906. {
  5907. "type": "integer",
  5908. "description": "页码",
  5909. "name": "page",
  5910. "in": "query"
  5911. },
  5912. {
  5913. "type": "integer",
  5914. "description": "每页条数",
  5915. "name": "pagesize",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "string",
  5920. "description": "市场ID列表,格式:1,2,3",
  5921. "name": "marketIDs",
  5922. "in": "query",
  5923. "required": true
  5924. },
  5925. {
  5926. "type": "integer",
  5927. "description": "类别ID",
  5928. "name": "categoryID",
  5929. "in": "query"
  5930. },
  5931. {
  5932. "type": "string",
  5933. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5934. "name": "goodsIDs",
  5935. "in": "query"
  5936. }
  5937. ],
  5938. "responses": {
  5939. "200": {
  5940. "description": "OK",
  5941. "schema": {
  5942. "$ref": "#/definitions/models.HsbyMarketGoods"
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/HSBY/QueryMyCollectionOrders": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "定制【海商报业】"
  5966. ],
  5967. "summary": "我的闲置中收款信息查询",
  5968. "parameters": [
  5969. {
  5970. "type": "integer",
  5971. "description": "页码",
  5972. "name": "page",
  5973. "in": "query"
  5974. },
  5975. {
  5976. "type": "integer",
  5977. "description": "每页条数",
  5978. "name": "pagesize",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "string",
  5983. "description": "资金账户,格式:1,2,3",
  5984. "name": "accountIDs",
  5985. "in": "query",
  5986. "required": true
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5994. }
  5995. },
  5996. "500": {
  5997. "description": "Internal Server Error",
  5998. "schema": {
  5999. "$ref": "#/definitions/app.Response"
  6000. }
  6001. }
  6002. }
  6003. }
  6004. },
  6005. "/HSBY/QueryMyCouponHolds": {
  6006. "get": {
  6007. "security": [
  6008. {
  6009. "ApiKeyAuth": []
  6010. }
  6011. ],
  6012. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6013. "produces": [
  6014. "application/json"
  6015. ],
  6016. "tags": [
  6017. "定制【海商报业】"
  6018. ],
  6019. "summary": "我的优惠卷持仓查询",
  6020. "parameters": [
  6021. {
  6022. "type": "string",
  6023. "description": "资金账户列表,格式:1,2,3",
  6024. "name": "accountIDs",
  6025. "in": "query",
  6026. "required": true
  6027. },
  6028. {
  6029. "type": "string",
  6030. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6031. "name": "holdStatus",
  6032. "in": "query"
  6033. }
  6034. ],
  6035. "responses": {
  6036. "200": {
  6037. "description": "OK",
  6038. "schema": {
  6039. "$ref": "#/definitions/models.MyCouponHold"
  6040. }
  6041. },
  6042. "500": {
  6043. "description": "Internal Server Error",
  6044. "schema": {
  6045. "$ref": "#/definitions/app.Response"
  6046. }
  6047. }
  6048. }
  6049. }
  6050. },
  6051. "/HSBY/QueryMyCoupons": {
  6052. "get": {
  6053. "security": [
  6054. {
  6055. "ApiKeyAuth": []
  6056. }
  6057. ],
  6058. "produces": [
  6059. "application/json"
  6060. ],
  6061. "tags": [
  6062. "定制【海商报业】"
  6063. ],
  6064. "summary": "我的优惠卷查询",
  6065. "parameters": [
  6066. {
  6067. "type": "string",
  6068. "description": "资金账户列表,格式:1,2,3",
  6069. "name": "accountIDs",
  6070. "in": "query",
  6071. "required": true
  6072. },
  6073. {
  6074. "type": "integer",
  6075. "description": "商品ID, 一般与sellUserID配套传入",
  6076. "name": "goodsID",
  6077. "in": "query"
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "卖方UserID",
  6082. "name": "sellUserID",
  6083. "in": "query"
  6084. }
  6085. ],
  6086. "responses": {
  6087. "200": {
  6088. "description": "OK",
  6089. "schema": {
  6090. "$ref": "#/definitions/models.MyCoupon"
  6091. }
  6092. },
  6093. "500": {
  6094. "description": "Internal Server Error",
  6095. "schema": {
  6096. "$ref": "#/definitions/app.Response"
  6097. }
  6098. }
  6099. }
  6100. }
  6101. },
  6102. "/HSBY/QueryMyPayOrders": {
  6103. "get": {
  6104. "security": [
  6105. {
  6106. "ApiKeyAuth": []
  6107. }
  6108. ],
  6109. "produces": [
  6110. "application/json"
  6111. ],
  6112. "tags": [
  6113. "定制【海商报业】"
  6114. ],
  6115. "summary": "获取我的订单中待付款信息",
  6116. "parameters": [
  6117. {
  6118. "type": "integer",
  6119. "description": "页码",
  6120. "name": "page",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "integer",
  6125. "description": "每页条数",
  6126. "name": "pagesize",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "string",
  6131. "description": "资金账户列表,格式:1,2,3",
  6132. "name": "accountIDs",
  6133. "in": "query",
  6134. "required": true
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "买方委托单号",
  6139. "name": "buyOrderID",
  6140. "in": "query"
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "卖方委托单号",
  6145. "name": "sellOrderID",
  6146. "in": "query"
  6147. }
  6148. ],
  6149. "responses": {
  6150. "200": {
  6151. "description": "OK",
  6152. "schema": {
  6153. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/HSBY/QueryMyUsedCoupon": {
  6166. "get": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "定制【海商报业】"
  6177. ],
  6178. "summary": "已使用优惠卷查询",
  6179. "parameters": [
  6180. {
  6181. "type": "string",
  6182. "description": "资金账户列表,格式:1,2,3",
  6183. "name": "accountIDs",
  6184. "in": "query",
  6185. "required": true
  6186. }
  6187. ],
  6188. "responses": {
  6189. "200": {
  6190. "description": "OK",
  6191. "schema": {
  6192. "$ref": "#/definitions/models.MyUsedCoupon"
  6193. }
  6194. },
  6195. "500": {
  6196. "description": "Internal Server Error",
  6197. "schema": {
  6198. "$ref": "#/definitions/app.Response"
  6199. }
  6200. }
  6201. }
  6202. }
  6203. },
  6204. "/HSBY/QueryProvincesAndCities": {
  6205. "get": {
  6206. "security": [
  6207. {
  6208. "ApiKeyAuth": []
  6209. }
  6210. ],
  6211. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6212. "produces": [
  6213. "application/json"
  6214. ],
  6215. "tags": [
  6216. "定制【海商报业】"
  6217. ],
  6218. "summary": "查询省市信息(不包括区)",
  6219. "parameters": [
  6220. {
  6221. "type": "integer",
  6222. "description": "省ID",
  6223. "name": "provinceID",
  6224. "in": "query"
  6225. }
  6226. ],
  6227. "responses": {
  6228. "200": {
  6229. "description": "OK",
  6230. "schema": {
  6231. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6232. }
  6233. },
  6234. "500": {
  6235. "description": "Internal Server Error",
  6236. "schema": {
  6237. "$ref": "#/definitions/app.Response"
  6238. }
  6239. }
  6240. }
  6241. }
  6242. },
  6243. "/HSBY/SetHsbyMyPackagesStatus": {
  6244. "post": {
  6245. "security": [
  6246. {
  6247. "ApiKeyAuth": []
  6248. }
  6249. ],
  6250. "produces": [
  6251. "application/json"
  6252. ],
  6253. "tags": [
  6254. "定制【海商报业】"
  6255. ],
  6256. "summary": "设置我的包裹已收货状态",
  6257. "parameters": [
  6258. {
  6259. "type": "string",
  6260. "description": "提货单号",
  6261. "name": "takeOrderID",
  6262. "in": "query",
  6263. "required": true
  6264. },
  6265. {
  6266. "type": "integer",
  6267. "description": "资金账号",
  6268. "name": "accountID",
  6269. "in": "query",
  6270. "required": true
  6271. }
  6272. ],
  6273. "responses": {
  6274. "200": {
  6275. "description": "OK",
  6276. "schema": {
  6277. "$ref": "#/definitions/app.Response"
  6278. }
  6279. },
  6280. "500": {
  6281. "description": "Internal Server Error",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. }
  6286. }
  6287. }
  6288. },
  6289. "/Market/QueryGoodsesByLoginID": {
  6290. "get": {
  6291. "security": [
  6292. {
  6293. "ApiKeyAuth": []
  6294. }
  6295. ],
  6296. "produces": [
  6297. "application/json"
  6298. ],
  6299. "tags": [
  6300. "通用市场"
  6301. ],
  6302. "summary": "获取登录账号有权限的商品信息",
  6303. "parameters": [
  6304. {
  6305. "type": "integer",
  6306. "description": "登录账号",
  6307. "name": "loginID",
  6308. "in": "query",
  6309. "required": true
  6310. },
  6311. {
  6312. "type": "string",
  6313. "description": "市场ID列表,格式:1,2,3",
  6314. "name": "marketIDs",
  6315. "in": "query"
  6316. }
  6317. ],
  6318. "responses": {
  6319. "200": {
  6320. "description": "OK",
  6321. "schema": {
  6322. "$ref": "#/definitions/models.Goods"
  6323. }
  6324. },
  6325. "500": {
  6326. "description": "Internal Server Error",
  6327. "schema": {
  6328. "$ref": "#/definitions/app.Response"
  6329. }
  6330. }
  6331. }
  6332. }
  6333. },
  6334. "/Market/QueryMarketRun": {
  6335. "get": {
  6336. "security": [
  6337. {
  6338. "ApiKeyAuth": []
  6339. }
  6340. ],
  6341. "produces": [
  6342. "application/json"
  6343. ],
  6344. "tags": [
  6345. "通用市场"
  6346. ],
  6347. "summary": "查询市场运行信息",
  6348. "parameters": [
  6349. {
  6350. "type": "integer",
  6351. "description": "市场ID,不传返回所有",
  6352. "name": "marketID",
  6353. "in": "query"
  6354. }
  6355. ],
  6356. "responses": {
  6357. "200": {
  6358. "description": "OK",
  6359. "schema": {
  6360. "$ref": "#/definitions/models.Marketrun"
  6361. }
  6362. },
  6363. "500": {
  6364. "description": "Internal Server Error",
  6365. "schema": {
  6366. "$ref": "#/definitions/app.Response"
  6367. }
  6368. }
  6369. }
  6370. }
  6371. },
  6372. "/Market/QueryMarketsByLoginID": {
  6373. "get": {
  6374. "security": [
  6375. {
  6376. "ApiKeyAuth": []
  6377. }
  6378. ],
  6379. "produces": [
  6380. "application/json"
  6381. ],
  6382. "tags": [
  6383. "通用市场"
  6384. ],
  6385. "summary": "获取登录账号有权限的市场信息",
  6386. "parameters": [
  6387. {
  6388. "type": "integer",
  6389. "description": "登录账号",
  6390. "name": "loginID",
  6391. "in": "query",
  6392. "required": true
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.Market"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/Order/QueryHisTradeDetail": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "通用单据"
  6423. ],
  6424. "summary": "历史成交单查询(合约市场)",
  6425. "parameters": [
  6426. {
  6427. "type": "string",
  6428. "description": "资金账户 - 格式:1,2,3",
  6429. "name": "accountID",
  6430. "in": "query",
  6431. "required": true
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "成交单号",
  6436. "name": "tradeID",
  6437. "in": "query"
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "委托单号",
  6442. "name": "orderID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "string",
  6447. "description": "交易模式 - 格式:1,2,3",
  6448. "name": "tradeMode",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "委托单据类型",
  6454. "name": "buildType",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "string",
  6459. "description": "成交类别 - 格式:1,2,3",
  6460. "name": "tradeType",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6466. "name": "startDate",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6472. "name": "endDate",
  6473. "in": "query"
  6474. }
  6475. ],
  6476. "responses": {
  6477. "200": {
  6478. "description": "OK",
  6479. "schema": {
  6480. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6481. }
  6482. },
  6483. "500": {
  6484. "description": "Internal Server Error",
  6485. "schema": {
  6486. "$ref": "#/definitions/app.Response"
  6487. }
  6488. }
  6489. }
  6490. }
  6491. },
  6492. "/Order/QueryHisTradeOrderDetail": {
  6493. "get": {
  6494. "security": [
  6495. {
  6496. "ApiKeyAuth": []
  6497. }
  6498. ],
  6499. "produces": [
  6500. "application/json"
  6501. ],
  6502. "tags": [
  6503. "通用单据"
  6504. ],
  6505. "summary": "历史委托单查询请求(合约市场)",
  6506. "parameters": [
  6507. {
  6508. "type": "string",
  6509. "description": "资金账户 - 格式:1,2,3",
  6510. "name": "accountID",
  6511. "in": "query",
  6512. "required": true
  6513. },
  6514. {
  6515. "type": "string",
  6516. "description": "交易模式 - 格式:1,2,3",
  6517. "name": "tradeMode",
  6518. "in": "query"
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "委托状态 - 格式:1,2,3",
  6523. "name": "orderStatus",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "integer",
  6528. "description": "委托单号",
  6529. "name": "orderID",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "string",
  6534. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6535. "name": "startDate",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "endDate",
  6542. "in": "query"
  6543. }
  6544. ],
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/Order/QueryTradeDetail": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "produces": [
  6569. "application/json"
  6570. ],
  6571. "tags": [
  6572. "通用单据"
  6573. ],
  6574. "summary": "成交单查询(合约市场)",
  6575. "parameters": [
  6576. {
  6577. "type": "string",
  6578. "description": "资金账户 - 格式:1,2,3",
  6579. "name": "accountID",
  6580. "in": "query",
  6581. "required": true
  6582. },
  6583. {
  6584. "type": "integer",
  6585. "description": "成交单号",
  6586. "name": "tradeID",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "委托单号",
  6592. "name": "orderID",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "string",
  6597. "description": "交易模式 - 格式:1,2,3",
  6598. "name": "tradeMode",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "integer",
  6603. "description": "委托单据类型",
  6604. "name": "buildType",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "成交类别 - 格式:1,2,3",
  6610. "name": "tradeType",
  6611. "in": "query"
  6612. }
  6613. ],
  6614. "responses": {
  6615. "200": {
  6616. "description": "OK",
  6617. "schema": {
  6618. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6619. }
  6620. },
  6621. "500": {
  6622. "description": "Internal Server Error",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. }
  6627. }
  6628. }
  6629. },
  6630. "/Order/QueryTradeOrderDetail": {
  6631. "get": {
  6632. "security": [
  6633. {
  6634. "ApiKeyAuth": []
  6635. }
  6636. ],
  6637. "produces": [
  6638. "application/json"
  6639. ],
  6640. "tags": [
  6641. "通用单据"
  6642. ],
  6643. "summary": "委托单查询请求(合约市场)",
  6644. "parameters": [
  6645. {
  6646. "type": "string",
  6647. "description": "资金账户 - 格式:1,2,3",
  6648. "name": "accountID",
  6649. "in": "query",
  6650. "required": true
  6651. },
  6652. {
  6653. "type": "string",
  6654. "description": "交易模式 - 格式:1,2,3",
  6655. "name": "tradeMode",
  6656. "in": "query"
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "委托状态 - 格式:1,2,3",
  6661. "name": "orderStatus",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "integer",
  6666. "description": "委托单号",
  6667. "name": "orderID",
  6668. "in": "query"
  6669. }
  6670. ],
  6671. "responses": {
  6672. "200": {
  6673. "description": "OK",
  6674. "schema": {
  6675. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6676. }
  6677. },
  6678. "500": {
  6679. "description": "Internal Server Error",
  6680. "schema": {
  6681. "$ref": "#/definitions/app.Response"
  6682. }
  6683. }
  6684. }
  6685. }
  6686. },
  6687. "/Order/QueryTradePosition": {
  6688. "get": {
  6689. "security": [
  6690. {
  6691. "ApiKeyAuth": []
  6692. }
  6693. ],
  6694. "produces": [
  6695. "application/json"
  6696. ],
  6697. "tags": [
  6698. "通用单据"
  6699. ],
  6700. "summary": "持仓汇总查询(合约市场)",
  6701. "parameters": [
  6702. {
  6703. "type": "string",
  6704. "description": "资金账户 - 格式:1,2,3",
  6705. "name": "accountID",
  6706. "in": "query",
  6707. "required": true
  6708. },
  6709. {
  6710. "type": "string",
  6711. "description": "交易模式 - 格式:1,2,3",
  6712. "name": "tradeMode",
  6713. "in": "query"
  6714. }
  6715. ],
  6716. "responses": {
  6717. "200": {
  6718. "description": "OK",
  6719. "schema": {
  6720. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6721. }
  6722. },
  6723. "500": {
  6724. "description": "Internal Server Error",
  6725. "schema": {
  6726. "$ref": "#/definitions/app.Response"
  6727. }
  6728. }
  6729. }
  6730. }
  6731. },
  6732. "/Qhj/QueryContract": {
  6733. "get": {
  6734. "security": [
  6735. {
  6736. "ApiKeyAuth": []
  6737. }
  6738. ],
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "大连千海金"
  6744. ],
  6745. "summary": "查询融资明细(合同)",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "用户ID",
  6750. "name": "userid",
  6751. "in": "query",
  6752. "required": true
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "scf合同id",
  6757. "name": "scfcontractid",
  6758. "in": "query"
  6759. }
  6760. ],
  6761. "responses": {
  6762. "200": {
  6763. "description": "OK",
  6764. "schema": {
  6765. "type": "array",
  6766. "items": {
  6767. "$ref": "#/definitions/models.QhjContract"
  6768. }
  6769. }
  6770. },
  6771. "500": {
  6772. "description": "Internal Server Error",
  6773. "schema": {
  6774. "$ref": "#/definitions/app.Response"
  6775. }
  6776. }
  6777. }
  6778. }
  6779. },
  6780. "/Qhj/QueryContractLog": {
  6781. "get": {
  6782. "security": [
  6783. {
  6784. "ApiKeyAuth": []
  6785. }
  6786. ],
  6787. "produces": [
  6788. "application/json"
  6789. ],
  6790. "tags": [
  6791. "大连千海金"
  6792. ],
  6793. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6794. "parameters": [
  6795. {
  6796. "type": "integer",
  6797. "description": "scf合同id",
  6798. "name": "scfcontractid",
  6799. "in": "query",
  6800. "required": true
  6801. },
  6802. {
  6803. "type": "string",
  6804. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6805. "name": "amounttype",
  6806. "in": "query"
  6807. }
  6808. ],
  6809. "responses": {
  6810. "200": {
  6811. "description": "OK",
  6812. "schema": {
  6813. "type": "array",
  6814. "items": {
  6815. "$ref": "#/definitions/models.QhjContractLog"
  6816. }
  6817. }
  6818. },
  6819. "500": {
  6820. "description": "Internal Server Error",
  6821. "schema": {
  6822. "$ref": "#/definitions/app.Response"
  6823. }
  6824. }
  6825. }
  6826. }
  6827. },
  6828. "/Qhj/QueryPickArea": {
  6829. "get": {
  6830. "security": [
  6831. {
  6832. "ApiKeyAuth": []
  6833. }
  6834. ],
  6835. "produces": [
  6836. "application/json"
  6837. ],
  6838. "tags": [
  6839. "大连千海金"
  6840. ],
  6841. "summary": "查询提货门店",
  6842. "parameters": [
  6843. {
  6844. "type": "integer",
  6845. "description": "用户ID",
  6846. "name": "userid",
  6847. "in": "query"
  6848. }
  6849. ],
  6850. "responses": {
  6851. "200": {
  6852. "description": "OK",
  6853. "schema": {
  6854. "type": "array",
  6855. "items": {
  6856. "$ref": "#/definitions/models.QhjPickArea"
  6857. }
  6858. }
  6859. },
  6860. "500": {
  6861. "description": "Internal Server Error",
  6862. "schema": {
  6863. "$ref": "#/definitions/app.Response"
  6864. }
  6865. }
  6866. }
  6867. }
  6868. },
  6869. "/Qhj/QueryPickGoods": {
  6870. "get": {
  6871. "security": [
  6872. {
  6873. "ApiKeyAuth": []
  6874. }
  6875. ],
  6876. "produces": [
  6877. "application/json"
  6878. ],
  6879. "tags": [
  6880. "大连千海金"
  6881. ],
  6882. "summary": "查询提货商品",
  6883. "parameters": [
  6884. {
  6885. "type": "string",
  6886. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6887. "name": "status",
  6888. "in": "query"
  6889. }
  6890. ],
  6891. "responses": {
  6892. "200": {
  6893. "description": "OK",
  6894. "schema": {
  6895. "type": "array",
  6896. "items": {
  6897. "$ref": "#/definitions/models.QhjPickGoods"
  6898. }
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Qhj/QueryRSTriggerLog": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "大连千海金"
  6922. ],
  6923. "summary": "查询定投记录(定投管理/详情/定投记录)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "用户ID",
  6928. "name": "userid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "定投策略id",
  6935. "name": "regularlystrategyid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "type": "array",
  6944. "items": {
  6945. "$ref": "#/definitions/models.QhjRSTriggerLog"
  6946. }
  6947. }
  6948. },
  6949. "500": {
  6950. "description": "Internal Server Error",
  6951. "schema": {
  6952. "$ref": "#/definitions/app.Response"
  6953. }
  6954. }
  6955. }
  6956. }
  6957. },
  6958. "/Qhj/QueryRStrategy": {
  6959. "get": {
  6960. "security": [
  6961. {
  6962. "ApiKeyAuth": []
  6963. }
  6964. ],
  6965. "produces": [
  6966. "application/json"
  6967. ],
  6968. "tags": [
  6969. "大连千海金"
  6970. ],
  6971. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  6972. "parameters": [
  6973. {
  6974. "type": "integer",
  6975. "description": "用户ID",
  6976. "name": "userid",
  6977. "in": "query",
  6978. "required": true
  6979. },
  6980. {
  6981. "type": "string",
  6982. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  6983. "name": "status",
  6984. "in": "query"
  6985. }
  6986. ],
  6987. "responses": {
  6988. "200": {
  6989. "description": "OK",
  6990. "schema": {
  6991. "type": "array",
  6992. "items": {
  6993. "$ref": "#/definitions/models.QhjRStrategy"
  6994. }
  6995. }
  6996. },
  6997. "500": {
  6998. "description": "Internal Server Error",
  6999. "schema": {
  7000. "$ref": "#/definitions/app.Response"
  7001. }
  7002. }
  7003. }
  7004. }
  7005. },
  7006. "/Qhj/QueryTradeGoodsPickup": {
  7007. "get": {
  7008. "security": [
  7009. {
  7010. "ApiKeyAuth": []
  7011. }
  7012. ],
  7013. "produces": [
  7014. "application/json"
  7015. ],
  7016. "tags": [
  7017. "大连千海金"
  7018. ],
  7019. "summary": "查询提货",
  7020. "parameters": [
  7021. {
  7022. "type": "integer",
  7023. "description": "用户ID",
  7024. "name": "userid",
  7025. "in": "query",
  7026. "required": true
  7027. }
  7028. ],
  7029. "responses": {
  7030. "200": {
  7031. "description": "OK",
  7032. "schema": {
  7033. "type": "array",
  7034. "items": {
  7035. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7036. }
  7037. }
  7038. },
  7039. "500": {
  7040. "description": "Internal Server Error",
  7041. "schema": {
  7042. "$ref": "#/definitions/app.Response"
  7043. }
  7044. }
  7045. }
  7046. }
  7047. },
  7048. "/Qhj/QueryUserCollectConfig": {
  7049. "get": {
  7050. "security": [
  7051. {
  7052. "ApiKeyAuth": []
  7053. }
  7054. ],
  7055. "produces": [
  7056. "application/json"
  7057. ],
  7058. "tags": [
  7059. "大连千海金"
  7060. ],
  7061. "summary": "查询提现账户设置",
  7062. "parameters": [
  7063. {
  7064. "type": "integer",
  7065. "description": "用户ID",
  7066. "name": "userid",
  7067. "in": "query",
  7068. "required": true
  7069. }
  7070. ],
  7071. "responses": {
  7072. "200": {
  7073. "description": "OK",
  7074. "schema": {
  7075. "type": "array",
  7076. "items": {
  7077. "$ref": "#/definitions/models.UserCollectConfig"
  7078. }
  7079. }
  7080. },
  7081. "500": {
  7082. "description": "Internal Server Error",
  7083. "schema": {
  7084. "$ref": "#/definitions/app.Response"
  7085. }
  7086. }
  7087. }
  7088. }
  7089. },
  7090. "/Qhj/QueryUserReceiveInfo": {
  7091. "get": {
  7092. "security": [
  7093. {
  7094. "ApiKeyAuth": []
  7095. }
  7096. ],
  7097. "produces": [
  7098. "application/json"
  7099. ],
  7100. "tags": [
  7101. "大连千海金"
  7102. ],
  7103. "summary": "查询收货地址信息",
  7104. "parameters": [
  7105. {
  7106. "type": "integer",
  7107. "description": "用户ID",
  7108. "name": "userid",
  7109. "in": "query",
  7110. "required": true
  7111. }
  7112. ],
  7113. "responses": {
  7114. "200": {
  7115. "description": "OK",
  7116. "schema": {
  7117. "type": "array",
  7118. "items": {
  7119. "$ref": "#/definitions/models.UserReceiveInfo"
  7120. }
  7121. }
  7122. },
  7123. "500": {
  7124. "description": "Internal Server Error",
  7125. "schema": {
  7126. "$ref": "#/definitions/app.Response"
  7127. }
  7128. }
  7129. }
  7130. }
  7131. },
  7132. "/Quote/QueryHistoryDatas": {
  7133. "get": {
  7134. "security": [
  7135. {
  7136. "ApiKeyAuth": []
  7137. }
  7138. ],
  7139. "produces": [
  7140. "application/json"
  7141. ],
  7142. "tags": [
  7143. "行情服务"
  7144. ],
  7145. "summary": "查询行情历史数据",
  7146. "parameters": [
  7147. {
  7148. "type": "integer",
  7149. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7150. "name": "cycleType",
  7151. "in": "query",
  7152. "required": true
  7153. },
  7154. {
  7155. "type": "string",
  7156. "description": "商品代码",
  7157. "name": "goodsCode",
  7158. "in": "query",
  7159. "required": true
  7160. },
  7161. {
  7162. "type": "string",
  7163. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7164. "name": "startTime",
  7165. "in": "query"
  7166. },
  7167. {
  7168. "type": "string",
  7169. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7170. "name": "endTime",
  7171. "in": "query"
  7172. },
  7173. {
  7174. "type": "integer",
  7175. "description": "条数",
  7176. "name": "count",
  7177. "in": "query"
  7178. },
  7179. {
  7180. "type": "boolean",
  7181. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7182. "name": "isAsc",
  7183. "in": "query"
  7184. }
  7185. ],
  7186. "responses": {
  7187. "200": {
  7188. "description": "OK",
  7189. "schema": {
  7190. "$ref": "#/definitions/quote.HistoryData"
  7191. }
  7192. },
  7193. "500": {
  7194. "description": "Internal Server Error",
  7195. "schema": {
  7196. "$ref": "#/definitions/app.Response"
  7197. }
  7198. }
  7199. }
  7200. }
  7201. },
  7202. "/Quote/QueryHistoryTikDatas": {
  7203. "get": {
  7204. "security": [
  7205. {
  7206. "ApiKeyAuth": []
  7207. }
  7208. ],
  7209. "produces": [
  7210. "application/json"
  7211. ],
  7212. "tags": [
  7213. "行情服务"
  7214. ],
  7215. "summary": "查询行情Tik数据",
  7216. "parameters": [
  7217. {
  7218. "type": "string",
  7219. "description": "商品代码",
  7220. "name": "goodsCode",
  7221. "in": "query",
  7222. "required": true
  7223. },
  7224. {
  7225. "type": "string",
  7226. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7227. "name": "startTime",
  7228. "in": "query"
  7229. },
  7230. {
  7231. "type": "string",
  7232. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7233. "name": "endTime",
  7234. "in": "query"
  7235. },
  7236. {
  7237. "type": "integer",
  7238. "description": "条数",
  7239. "name": "count",
  7240. "in": "query"
  7241. },
  7242. {
  7243. "type": "boolean",
  7244. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7245. "name": "isAsc",
  7246. "in": "query"
  7247. }
  7248. ],
  7249. "responses": {
  7250. "200": {
  7251. "description": "OK",
  7252. "schema": {
  7253. "$ref": "#/definitions/quote.HistoryTikData"
  7254. }
  7255. },
  7256. "500": {
  7257. "description": "Internal Server Error",
  7258. "schema": {
  7259. "$ref": "#/definitions/app.Response"
  7260. }
  7261. }
  7262. }
  7263. }
  7264. },
  7265. "/Quote/QueryQuoteDay": {
  7266. "get": {
  7267. "security": [
  7268. {
  7269. "ApiKeyAuth": []
  7270. }
  7271. ],
  7272. "produces": [
  7273. "application/json"
  7274. ],
  7275. "tags": [
  7276. "行情服务"
  7277. ],
  7278. "summary": "获取商品盘面信息",
  7279. "parameters": [
  7280. {
  7281. "type": "string",
  7282. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7283. "name": "goodsCodes",
  7284. "in": "query",
  7285. "required": true
  7286. }
  7287. ],
  7288. "responses": {
  7289. "200": {
  7290. "description": "OK",
  7291. "schema": {
  7292. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7293. }
  7294. },
  7295. "500": {
  7296. "description": "Internal Server Error",
  7297. "schema": {
  7298. "$ref": "#/definitions/app.Response"
  7299. }
  7300. }
  7301. }
  7302. }
  7303. },
  7304. "/Quote/QueryTSData": {
  7305. "get": {
  7306. "security": [
  7307. {
  7308. "ApiKeyAuth": []
  7309. }
  7310. ],
  7311. "produces": [
  7312. "application/json"
  7313. ],
  7314. "tags": [
  7315. "行情服务"
  7316. ],
  7317. "summary": "分时图数据查询",
  7318. "parameters": [
  7319. {
  7320. "type": "string",
  7321. "description": "商品代码",
  7322. "name": "goodsCode",
  7323. "in": "query",
  7324. "required": true
  7325. }
  7326. ],
  7327. "responses": {
  7328. "200": {
  7329. "description": "OK",
  7330. "schema": {
  7331. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7332. }
  7333. },
  7334. "500": {
  7335. "description": "Internal Server Error",
  7336. "schema": {
  7337. "$ref": "#/definitions/app.Response"
  7338. }
  7339. }
  7340. }
  7341. }
  7342. },
  7343. "/SZDZ/QueryConvertConfig": {
  7344. "get": {
  7345. "security": [
  7346. {
  7347. "ApiKeyAuth": []
  7348. }
  7349. ],
  7350. "produces": [
  7351. "application/json"
  7352. ],
  7353. "tags": [
  7354. "定制【尚志大宗】"
  7355. ],
  7356. "summary": "查询交易系统转换设置",
  7357. "parameters": [
  7358. {
  7359. "type": "integer",
  7360. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7361. "name": "convertType",
  7362. "in": "query"
  7363. },
  7364. {
  7365. "type": "string",
  7366. "description": "外部商品代码[JD\\PD]",
  7367. "name": "outerGoodsCode",
  7368. "in": "query"
  7369. },
  7370. {
  7371. "type": "string",
  7372. "description": "内部商品ID列表[交易],格式:1,2,3",
  7373. "name": "innerGoodsIDs",
  7374. "in": "query"
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/models.Szdz3convertconfig"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/SZDZ/QueryConvertLog": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "定制【尚志大宗】"
  7405. ],
  7406. "summary": "交易系统转换流水查询",
  7407. "parameters": [
  7408. {
  7409. "type": "string",
  7410. "description": "资金账户 - 格式:1,2,3",
  7411. "name": "accountID",
  7412. "in": "query",
  7413. "required": true
  7414. },
  7415. {
  7416. "type": "string",
  7417. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7418. "name": "startDate",
  7419. "in": "query"
  7420. },
  7421. {
  7422. "type": "string",
  7423. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7424. "name": "endDate",
  7425. "in": "query"
  7426. }
  7427. ],
  7428. "responses": {
  7429. "200": {
  7430. "description": "OK",
  7431. "schema": {
  7432. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7433. }
  7434. },
  7435. "500": {
  7436. "description": "Internal Server Error",
  7437. "schema": {
  7438. "$ref": "#/definitions/app.Response"
  7439. }
  7440. }
  7441. }
  7442. }
  7443. },
  7444. "/SZDZ/QueryGoodsPickup": {
  7445. "get": {
  7446. "security": [
  7447. {
  7448. "ApiKeyAuth": []
  7449. }
  7450. ],
  7451. "produces": [
  7452. "application/json"
  7453. ],
  7454. "tags": [
  7455. "定制【尚志大宗】"
  7456. ],
  7457. "summary": "商品提货单查询",
  7458. "parameters": [
  7459. {
  7460. "type": "string",
  7461. "description": "资金账户 - 格式:1,2,3",
  7462. "name": "accountID",
  7463. "in": "query",
  7464. "required": true
  7465. },
  7466. {
  7467. "type": "integer",
  7468. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7469. "name": "takeOrderStatus",
  7470. "in": "query"
  7471. }
  7472. ],
  7473. "responses": {
  7474. "200": {
  7475. "description": "OK",
  7476. "schema": {
  7477. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7478. }
  7479. },
  7480. "500": {
  7481. "description": "Internal Server Error",
  7482. "schema": {
  7483. "$ref": "#/definitions/app.Response"
  7484. }
  7485. }
  7486. }
  7487. }
  7488. },
  7489. "/SZDZ/QueryRecieptOrder": {
  7490. "get": {
  7491. "security": [
  7492. {
  7493. "ApiKeyAuth": []
  7494. }
  7495. ],
  7496. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7497. "produces": [
  7498. "application/json"
  7499. ],
  7500. "tags": [
  7501. "定制【尚志大宗】"
  7502. ],
  7503. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7504. "parameters": [
  7505. {
  7506. "type": "integer",
  7507. "description": "页码",
  7508. "name": "page",
  7509. "in": "query"
  7510. },
  7511. {
  7512. "type": "integer",
  7513. "description": "每页条数",
  7514. "name": "pagesize",
  7515. "in": "query"
  7516. },
  7517. {
  7518. "type": "integer",
  7519. "description": "商品ID",
  7520. "name": "goodsID",
  7521. "in": "query",
  7522. "required": true
  7523. },
  7524. {
  7525. "type": "string",
  7526. "description": "所属账户名称",
  7527. "name": "accountName",
  7528. "in": "query"
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "市场ID",
  7533. "name": "marketID",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "方向 - 0:买 1:卖",
  7539. "name": "buyorsell",
  7540. "in": "query",
  7541. "required": true
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/SZDZ/QuerySZDZTradePosition": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "定制【尚志大宗】"
  7572. ],
  7573. "summary": "持仓汇总查询(尚志大宗)",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "资金账户",
  7578. "name": "accountID",
  7579. "in": "query",
  7580. "required": true
  7581. }
  7582. ],
  7583. "responses": {
  7584. "200": {
  7585. "description": "OK",
  7586. "schema": {
  7587. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7588. }
  7589. },
  7590. "500": {
  7591. "description": "Internal Server Error",
  7592. "schema": {
  7593. "$ref": "#/definitions/app.Response"
  7594. }
  7595. }
  7596. }
  7597. }
  7598. },
  7599. "/SZDZ/SearchWhite": {
  7600. "get": {
  7601. "security": [
  7602. {
  7603. "ApiKeyAuth": []
  7604. }
  7605. ],
  7606. "produces": [
  7607. "application/json"
  7608. ],
  7609. "tags": [
  7610. "定制【尚志大宗】"
  7611. ],
  7612. "summary": "搜索白名单",
  7613. "parameters": [
  7614. {
  7615. "type": "integer",
  7616. "description": "用户ID",
  7617. "name": "userID",
  7618. "in": "query",
  7619. "required": true
  7620. }
  7621. ],
  7622. "responses": {
  7623. "200": {
  7624. "description": "OK",
  7625. "schema": {
  7626. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7627. }
  7628. },
  7629. "500": {
  7630. "description": "Internal Server Error",
  7631. "schema": {
  7632. "$ref": "#/definitions/app.Response"
  7633. }
  7634. }
  7635. }
  7636. }
  7637. },
  7638. "/Search/SearchGoodses": {
  7639. "get": {
  7640. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7641. "produces": [
  7642. "application/json"
  7643. ],
  7644. "tags": [
  7645. "检索服务"
  7646. ],
  7647. "summary": "检索商品信息",
  7648. "parameters": [
  7649. {
  7650. "type": "string",
  7651. "description": "检索内容",
  7652. "name": "content",
  7653. "in": "query",
  7654. "required": true
  7655. },
  7656. {
  7657. "type": "string",
  7658. "description": "交易模式,格式:1,2,3",
  7659. "name": "tradeModes",
  7660. "in": "query"
  7661. }
  7662. ],
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "$ref": "#/definitions/models.SearchGoods"
  7668. }
  7669. },
  7670. "500": {
  7671. "description": "Internal Server Error",
  7672. "schema": {
  7673. "$ref": "#/definitions/app.Response"
  7674. }
  7675. }
  7676. }
  7677. }
  7678. },
  7679. "/TaAccount/GetTaAccounts": {
  7680. "get": {
  7681. "security": [
  7682. {
  7683. "ApiKeyAuth": []
  7684. }
  7685. ],
  7686. "produces": [
  7687. "application/json"
  7688. ],
  7689. "tags": [
  7690. "资金账户"
  7691. ],
  7692. "summary": "获取资金账户信息",
  7693. "parameters": [
  7694. {
  7695. "type": "integer",
  7696. "description": "登录账户",
  7697. "name": "loginID",
  7698. "in": "query",
  7699. "required": true
  7700. },
  7701. {
  7702. "type": "integer",
  7703. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7704. "name": "taAccountType",
  7705. "in": "query"
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "$ref": "#/definitions/models.Taaccount"
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/TaAccount/QueryAmountLog": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "资金账户"
  7736. ],
  7737. "summary": "资金流水查询(当前)",
  7738. "parameters": [
  7739. {
  7740. "type": "integer",
  7741. "description": "页码",
  7742. "name": "page",
  7743. "in": "query"
  7744. },
  7745. {
  7746. "type": "integer",
  7747. "description": "每页条数",
  7748. "name": "pagesize",
  7749. "in": "query"
  7750. },
  7751. {
  7752. "type": "string",
  7753. "description": "资金账户 - 格式:1,2,3",
  7754. "name": "accountID",
  7755. "in": "query",
  7756. "required": true
  7757. },
  7758. {
  7759. "type": "string",
  7760. "description": "资金操作类型 - 格式:1,2,3",
  7761. "name": "OperateType",
  7762. "in": "query"
  7763. }
  7764. ],
  7765. "responses": {
  7766. "200": {
  7767. "description": "OK",
  7768. "schema": {
  7769. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7770. }
  7771. },
  7772. "500": {
  7773. "description": "Internal Server Error",
  7774. "schema": {
  7775. "$ref": "#/definitions/app.Response"
  7776. }
  7777. }
  7778. }
  7779. }
  7780. },
  7781. "/TaAccount/QueryHisAmountLog": {
  7782. "get": {
  7783. "security": [
  7784. {
  7785. "ApiKeyAuth": []
  7786. }
  7787. ],
  7788. "produces": [
  7789. "application/json"
  7790. ],
  7791. "tags": [
  7792. "资金账户"
  7793. ],
  7794. "summary": "资金流水查询(历史)",
  7795. "parameters": [
  7796. {
  7797. "type": "integer",
  7798. "description": "页码",
  7799. "name": "page",
  7800. "in": "query"
  7801. },
  7802. {
  7803. "type": "integer",
  7804. "description": "每页条数",
  7805. "name": "pagesize",
  7806. "in": "query"
  7807. },
  7808. {
  7809. "type": "string",
  7810. "description": "资金账户 - 格式:1,2,3",
  7811. "name": "accountID",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "string",
  7817. "description": "资金操作类型 - 格式:1,2,3",
  7818. "name": "OperateType",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "string",
  7823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7824. "name": "startDate",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "string",
  7829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7830. "name": "endDate",
  7831. "in": "query"
  7832. }
  7833. ],
  7834. "responses": {
  7835. "200": {
  7836. "description": "OK",
  7837. "schema": {
  7838. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7839. }
  7840. },
  7841. "500": {
  7842. "description": "Internal Server Error",
  7843. "schema": {
  7844. "$ref": "#/definitions/app.Response"
  7845. }
  7846. }
  7847. }
  7848. }
  7849. },
  7850. "/Trade/QueryRecieptOrder": {
  7851. "get": {
  7852. "security": [
  7853. {
  7854. "ApiKeyAuth": []
  7855. }
  7856. ],
  7857. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7858. "produces": [
  7859. "application/json"
  7860. ],
  7861. "tags": [
  7862. "通用交易"
  7863. ],
  7864. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7865. "parameters": [
  7866. {
  7867. "type": "integer",
  7868. "description": "页码",
  7869. "name": "page",
  7870. "in": "query"
  7871. },
  7872. {
  7873. "type": "integer",
  7874. "description": "每页条数",
  7875. "name": "pagesize",
  7876. "in": "query"
  7877. },
  7878. {
  7879. "type": "integer",
  7880. "description": "商品ID",
  7881. "name": "goodsID",
  7882. "in": "query",
  7883. "required": true
  7884. },
  7885. {
  7886. "type": "string",
  7887. "description": "所属账户名称",
  7888. "name": "accountName",
  7889. "in": "query"
  7890. },
  7891. {
  7892. "type": "integer",
  7893. "description": "市场ID",
  7894. "name": "marketID",
  7895. "in": "query"
  7896. },
  7897. {
  7898. "type": "integer",
  7899. "description": "方向 - 0:买 1:卖",
  7900. "name": "buyorsell",
  7901. "in": "query",
  7902. "required": true
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7910. }
  7911. },
  7912. "500": {
  7913. "description": "Internal Server Error",
  7914. "schema": {
  7915. "$ref": "#/definitions/app.Response"
  7916. }
  7917. }
  7918. }
  7919. }
  7920. },
  7921. "/User/AddMessageBoard": {
  7922. "post": {
  7923. "security": [
  7924. {
  7925. "ApiKeyAuth": []
  7926. }
  7927. ],
  7928. "produces": [
  7929. "application/json"
  7930. ],
  7931. "tags": [
  7932. "用户信息"
  7933. ],
  7934. "summary": "添加用户留言板信息",
  7935. "parameters": [
  7936. {
  7937. "type": "integer",
  7938. "description": "用户ID",
  7939. "name": "userID",
  7940. "in": "query",
  7941. "required": true
  7942. },
  7943. {
  7944. "type": "string",
  7945. "description": "留言信息",
  7946. "name": "message",
  7947. "in": "query",
  7948. "required": true
  7949. },
  7950. {
  7951. "type": "string",
  7952. "description": "联系电话",
  7953. "name": "contactNum",
  7954. "in": "query",
  7955. "required": true
  7956. }
  7957. ],
  7958. "responses": {
  7959. "200": {
  7960. "description": "OK",
  7961. "schema": {
  7962. "$ref": "#/definitions/app.Response"
  7963. }
  7964. },
  7965. "500": {
  7966. "description": "Internal Server Error",
  7967. "schema": {
  7968. "$ref": "#/definitions/app.Response"
  7969. }
  7970. }
  7971. }
  7972. }
  7973. },
  7974. "/User/AddUserFavoriteGoods": {
  7975. "post": {
  7976. "security": [
  7977. {
  7978. "ApiKeyAuth": []
  7979. }
  7980. ],
  7981. "produces": [
  7982. "application/json"
  7983. ],
  7984. "tags": [
  7985. "用户信息"
  7986. ],
  7987. "summary": "添加用户商品收藏信息",
  7988. "parameters": [
  7989. {
  7990. "type": "integer",
  7991. "description": "用户ID",
  7992. "name": "userID",
  7993. "in": "query",
  7994. "required": true
  7995. },
  7996. {
  7997. "type": "integer",
  7998. "description": "商品ID",
  7999. "name": "goodsID",
  8000. "in": "query",
  8001. "required": true
  8002. }
  8003. ],
  8004. "responses": {
  8005. "200": {
  8006. "description": "OK",
  8007. "schema": {
  8008. "$ref": "#/definitions/app.Response"
  8009. }
  8010. },
  8011. "500": {
  8012. "description": "Internal Server Error",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. }
  8017. }
  8018. }
  8019. },
  8020. "/User/GetLoginID": {
  8021. "get": {
  8022. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8023. "produces": [
  8024. "application/json"
  8025. ],
  8026. "tags": [
  8027. "用户信息"
  8028. ],
  8029. "summary": "获取登录ID",
  8030. "parameters": [
  8031. {
  8032. "type": "string",
  8033. "description": "登录代码",
  8034. "name": "username",
  8035. "in": "query",
  8036. "required": true
  8037. }
  8038. ],
  8039. "responses": {
  8040. "200": {
  8041. "description": "OK",
  8042. "schema": {
  8043. "$ref": "#/definitions/app.Response"
  8044. }
  8045. },
  8046. "500": {
  8047. "description": "Internal Server Error",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. }
  8052. }
  8053. }
  8054. },
  8055. "/User/GetUserAccount": {
  8056. "get": {
  8057. "security": [
  8058. {
  8059. "ApiKeyAuth": []
  8060. }
  8061. ],
  8062. "produces": [
  8063. "application/json"
  8064. ],
  8065. "tags": [
  8066. "用户信息"
  8067. ],
  8068. "summary": "获取用户账号信息",
  8069. "parameters": [
  8070. {
  8071. "type": "integer",
  8072. "description": "用户ID",
  8073. "name": "userID",
  8074. "in": "query",
  8075. "required": true
  8076. }
  8077. ],
  8078. "responses": {
  8079. "200": {
  8080. "description": "OK",
  8081. "schema": {
  8082. "$ref": "#/definitions/models.Useraccount"
  8083. }
  8084. },
  8085. "500": {
  8086. "description": "Internal Server Error",
  8087. "schema": {
  8088. "$ref": "#/definitions/app.Response"
  8089. }
  8090. }
  8091. }
  8092. }
  8093. },
  8094. "/User/GetUserAuthStatus": {
  8095. "get": {
  8096. "security": [
  8097. {
  8098. "ApiKeyAuth": []
  8099. }
  8100. ],
  8101. "produces": [
  8102. "application/json"
  8103. ],
  8104. "tags": [
  8105. "用户信息"
  8106. ],
  8107. "summary": "获取用户实名认证状态",
  8108. "parameters": [
  8109. {
  8110. "type": "integer",
  8111. "description": "用户ID",
  8112. "name": "userID",
  8113. "in": "query",
  8114. "required": true
  8115. }
  8116. ],
  8117. "responses": {
  8118. "200": {
  8119. "description": "OK",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. },
  8124. "500": {
  8125. "description": "Internal Server Error",
  8126. "schema": {
  8127. "$ref": "#/definitions/app.Response"
  8128. }
  8129. }
  8130. }
  8131. }
  8132. },
  8133. "/User/LoginQuery": {
  8134. "get": {
  8135. "security": [
  8136. {
  8137. "ApiKeyAuth": []
  8138. }
  8139. ],
  8140. "produces": [
  8141. "application/json"
  8142. ],
  8143. "tags": [
  8144. "用户信息"
  8145. ],
  8146. "summary": "账户登录后信息查询",
  8147. "parameters": [
  8148. {
  8149. "type": "integer",
  8150. "description": "登录账号",
  8151. "name": "loginID",
  8152. "in": "query",
  8153. "required": true
  8154. }
  8155. ],
  8156. "responses": {
  8157. "200": {
  8158. "description": "OK",
  8159. "schema": {
  8160. "$ref": "#/definitions/user.LoginQueryRsp"
  8161. }
  8162. },
  8163. "500": {
  8164. "description": "Internal Server Error",
  8165. "schema": {
  8166. "$ref": "#/definitions/app.Response"
  8167. }
  8168. }
  8169. }
  8170. }
  8171. },
  8172. "/User/QueryMessageBoard": {
  8173. "get": {
  8174. "security": [
  8175. {
  8176. "ApiKeyAuth": []
  8177. }
  8178. ],
  8179. "produces": [
  8180. "application/json"
  8181. ],
  8182. "tags": [
  8183. "用户信息"
  8184. ],
  8185. "summary": "获取用户留言板信息",
  8186. "parameters": [
  8187. {
  8188. "type": "integer",
  8189. "description": "用户ID",
  8190. "name": "userID",
  8191. "in": "query",
  8192. "required": true
  8193. }
  8194. ],
  8195. "responses": {
  8196. "200": {
  8197. "description": "OK",
  8198. "schema": {
  8199. "$ref": "#/definitions/models.Messageboard"
  8200. }
  8201. },
  8202. "500": {
  8203. "description": "Internal Server Error",
  8204. "schema": {
  8205. "$ref": "#/definitions/app.Response"
  8206. }
  8207. }
  8208. }
  8209. }
  8210. },
  8211. "/User/QueryUserFavoriteGoodses": {
  8212. "get": {
  8213. "security": [
  8214. {
  8215. "ApiKeyAuth": []
  8216. }
  8217. ],
  8218. "produces": [
  8219. "application/json"
  8220. ],
  8221. "tags": [
  8222. "用户信息"
  8223. ],
  8224. "summary": "获取用户商品收藏信息",
  8225. "parameters": [
  8226. {
  8227. "type": "integer",
  8228. "description": "用户ID",
  8229. "name": "userID",
  8230. "in": "query",
  8231. "required": true
  8232. }
  8233. ],
  8234. "responses": {
  8235. "200": {
  8236. "description": "OK",
  8237. "schema": {
  8238. "$ref": "#/definitions/models.Userfavoritegoods"
  8239. }
  8240. },
  8241. "500": {
  8242. "description": "Internal Server Error",
  8243. "schema": {
  8244. "$ref": "#/definitions/app.Response"
  8245. }
  8246. }
  8247. }
  8248. }
  8249. },
  8250. "/User/QueryUserInfo": {
  8251. "get": {
  8252. "security": [
  8253. {
  8254. "ApiKeyAuth": []
  8255. }
  8256. ],
  8257. "produces": [
  8258. "application/json"
  8259. ],
  8260. "tags": [
  8261. "用户信息"
  8262. ],
  8263. "summary": "获取用户信息",
  8264. "parameters": [
  8265. {
  8266. "type": "integer",
  8267. "description": "用户ID",
  8268. "name": "userID",
  8269. "in": "query",
  8270. "required": true
  8271. },
  8272. {
  8273. "type": "boolean",
  8274. "description": "是否解密",
  8275. "name": "isDecrypt",
  8276. "in": "query"
  8277. }
  8278. ],
  8279. "responses": {
  8280. "200": {
  8281. "description": "OK",
  8282. "schema": {
  8283. "$ref": "#/definitions/models.Userinfo"
  8284. }
  8285. },
  8286. "500": {
  8287. "description": "Internal Server Error",
  8288. "schema": {
  8289. "$ref": "#/definitions/app.Response"
  8290. }
  8291. }
  8292. }
  8293. }
  8294. },
  8295. "/User/QueryUserReferNum": {
  8296. "get": {
  8297. "produces": [
  8298. "application/json"
  8299. ],
  8300. "tags": [
  8301. "用户信息"
  8302. ],
  8303. "summary": "获取用户邀请码",
  8304. "parameters": [
  8305. {
  8306. "type": "integer",
  8307. "description": "用户ID",
  8308. "name": "userID",
  8309. "in": "query",
  8310. "required": true
  8311. }
  8312. ],
  8313. "responses": {
  8314. "200": {
  8315. "description": "OK",
  8316. "schema": {
  8317. "$ref": "#/definitions/app.Response"
  8318. }
  8319. },
  8320. "500": {
  8321. "description": "Internal Server Error",
  8322. "schema": {
  8323. "$ref": "#/definitions/app.Response"
  8324. }
  8325. }
  8326. }
  8327. }
  8328. },
  8329. "/User/RemoveUserFavoriteGoods": {
  8330. "post": {
  8331. "security": [
  8332. {
  8333. "ApiKeyAuth": []
  8334. }
  8335. ],
  8336. "produces": [
  8337. "application/json"
  8338. ],
  8339. "tags": [
  8340. "用户信息"
  8341. ],
  8342. "summary": "移除用户商品收藏信息",
  8343. "parameters": [
  8344. {
  8345. "type": "integer",
  8346. "description": "用户ID",
  8347. "name": "userID",
  8348. "in": "query",
  8349. "required": true
  8350. },
  8351. {
  8352. "type": "integer",
  8353. "description": "商品ID",
  8354. "name": "goodsID",
  8355. "in": "query",
  8356. "required": true
  8357. }
  8358. ],
  8359. "responses": {
  8360. "200": {
  8361. "description": "OK",
  8362. "schema": {
  8363. "$ref": "#/definitions/app.Response"
  8364. }
  8365. },
  8366. "500": {
  8367. "description": "Internal Server Error",
  8368. "schema": {
  8369. "$ref": "#/definitions/app.Response"
  8370. }
  8371. }
  8372. }
  8373. }
  8374. },
  8375. "/User/UpdateUserAccountStatus": {
  8376. "post": {
  8377. "security": [
  8378. {
  8379. "ApiKeyAuth": []
  8380. }
  8381. ],
  8382. "produces": [
  8383. "application/json"
  8384. ],
  8385. "tags": [
  8386. "用户信息"
  8387. ],
  8388. "summary": "更新用户状态",
  8389. "parameters": [
  8390. {
  8391. "type": "integer",
  8392. "description": "用户ID",
  8393. "name": "userID",
  8394. "in": "query",
  8395. "required": true
  8396. },
  8397. {
  8398. "type": "integer",
  8399. "description": "账户状态 - 4:正常 6:注销(停用)",
  8400. "name": "accountStatus",
  8401. "in": "query",
  8402. "required": true
  8403. }
  8404. ],
  8405. "responses": {
  8406. "200": {
  8407. "description": "OK",
  8408. "schema": {
  8409. "$ref": "#/definitions/app.Response"
  8410. }
  8411. },
  8412. "500": {
  8413. "description": "Internal Server Error",
  8414. "schema": {
  8415. "$ref": "#/definitions/app.Response"
  8416. }
  8417. }
  8418. }
  8419. }
  8420. },
  8421. "/WRTrade/GetAllDeliveryGoods": {
  8422. "get": {
  8423. "security": [
  8424. {
  8425. "ApiKeyAuth": []
  8426. },
  8427. {
  8428. "ApiKeyAuth": []
  8429. }
  8430. ],
  8431. "produces": [
  8432. "application/json",
  8433. "application/json"
  8434. ],
  8435. "tags": [
  8436. "仓单贸易",
  8437. "仓单贸易"
  8438. ],
  8439. "summary": "获取带仓单分类的种类信息",
  8440. "responses": {
  8441. "200": {
  8442. "description": "OK",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. },
  8447. "500": {
  8448. "description": "Internal Server Error",
  8449. "schema": {
  8450. "$ref": "#/definitions/app.Response"
  8451. }
  8452. }
  8453. }
  8454. }
  8455. }
  8456. },
  8457. "definitions": {
  8458. "app.Response": {
  8459. "type": "object",
  8460. "properties": {
  8461. "code": {
  8462. "type": "integer"
  8463. },
  8464. "data": {
  8465. "type": "object"
  8466. },
  8467. "msg": {
  8468. "type": "string"
  8469. },
  8470. "page": {
  8471. "description": "页码",
  8472. "type": "integer"
  8473. },
  8474. "pagesize": {
  8475. "description": "每页条数",
  8476. "type": "integer"
  8477. },
  8478. "total": {
  8479. "description": "总条数",
  8480. "type": "integer"
  8481. }
  8482. }
  8483. },
  8484. "common.ClientMenu": {
  8485. "type": "object",
  8486. "properties": {
  8487. "children": {
  8488. "description": "子菜单列表",
  8489. "type": "array",
  8490. "items": {
  8491. "$ref": "#/definitions/common.ClientMenu"
  8492. }
  8493. },
  8494. "code": {
  8495. "description": "ID",
  8496. "type": "string"
  8497. },
  8498. "isshow": {
  8499. "description": "是否显示",
  8500. "type": "boolean"
  8501. },
  8502. "rulekey": {
  8503. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8504. "type": "string"
  8505. },
  8506. "sort": {
  8507. "description": "排序",
  8508. "type": "integer"
  8509. },
  8510. "title": {
  8511. "description": "标题",
  8512. "type": "string"
  8513. },
  8514. "type": {
  8515. "description": "类型,1:菜单 2:按钮",
  8516. "type": "integer"
  8517. }
  8518. }
  8519. },
  8520. "common.QueryImageConfigsRsp": {
  8521. "type": "object",
  8522. "required": [
  8523. "configid"
  8524. ],
  8525. "properties": {
  8526. "areauserid": {
  8527. "description": "所属机构ID",
  8528. "type": "integer"
  8529. },
  8530. "configid": {
  8531. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8532. "type": "integer"
  8533. },
  8534. "createdate": {
  8535. "description": "创建时间",
  8536. "type": "string"
  8537. },
  8538. "creatorid": {
  8539. "description": "创建人",
  8540. "type": "integer"
  8541. },
  8542. "imagepath": {
  8543. "description": "图片",
  8544. "type": "string"
  8545. },
  8546. "imagetype": {
  8547. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8548. "type": "integer"
  8549. },
  8550. "isshow": {
  8551. "description": "是否展示 - 0:不展示 1:展示",
  8552. "type": "integer"
  8553. },
  8554. "marketid": {
  8555. "description": "市场ID",
  8556. "type": "integer"
  8557. },
  8558. "modifierid": {
  8559. "description": "操作人",
  8560. "type": "integer"
  8561. },
  8562. "sort": {
  8563. "description": "排序",
  8564. "type": "integer"
  8565. },
  8566. "title": {
  8567. "description": "标题",
  8568. "type": "string"
  8569. },
  8570. "trademode": {
  8571. "description": "交易模式",
  8572. "type": "integer"
  8573. },
  8574. "updatedate": {
  8575. "description": "修改时间",
  8576. "type": "string"
  8577. },
  8578. "url": {
  8579. "description": "链接(地址或商品ID)",
  8580. "type": "string"
  8581. },
  8582. "urltype": {
  8583. "description": "链接类型 - 1:直接地址 2:商品ID",
  8584. "type": "integer"
  8585. }
  8586. }
  8587. },
  8588. "common.QueryNoticeRsp": {
  8589. "type": "object",
  8590. "required": [
  8591. "autoid"
  8592. ],
  8593. "properties": {
  8594. "auditoruserid": {
  8595. "description": "审核人",
  8596. "type": "integer"
  8597. },
  8598. "auditremark": {
  8599. "description": "审核备注",
  8600. "type": "string"
  8601. },
  8602. "audittime": {
  8603. "description": "审核日期",
  8604. "type": "string"
  8605. },
  8606. "autoid": {
  8607. "description": "自增ID",
  8608. "type": "integer"
  8609. },
  8610. "content": {
  8611. "description": "内容",
  8612. "type": "string"
  8613. },
  8614. "createtime": {
  8615. "description": "创建时间",
  8616. "type": "string"
  8617. },
  8618. "creatorid": {
  8619. "description": "建仓人",
  8620. "type": "integer"
  8621. },
  8622. "endtime": {
  8623. "description": "结束时间",
  8624. "type": "string"
  8625. },
  8626. "istop": {
  8627. "description": "是否置顶 - 0:不置顶 1:置顶",
  8628. "type": "integer"
  8629. },
  8630. "msgiconurl": {
  8631. "description": "消息图标Url",
  8632. "type": "string"
  8633. },
  8634. "msgtype": {
  8635. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8636. "type": "integer"
  8637. },
  8638. "publisher": {
  8639. "description": "消息发布者",
  8640. "type": "string"
  8641. },
  8642. "readed": {
  8643. "description": "是否已读",
  8644. "type": "boolean"
  8645. },
  8646. "scheduletime": {
  8647. "description": "计划发送时间",
  8648. "type": "string"
  8649. },
  8650. "sendtype": {
  8651. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8652. "type": "integer"
  8653. },
  8654. "sentstatus": {
  8655. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8656. "type": "integer"
  8657. },
  8658. "title": {
  8659. "description": "标题",
  8660. "type": "string"
  8661. },
  8662. "userid": {
  8663. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8664. "type": "integer"
  8665. }
  8666. }
  8667. },
  8668. "common.QueryProvincesAndCitiesRsp": {
  8669. "type": "object",
  8670. "properties": {
  8671. "cities": {
  8672. "description": "市",
  8673. "type": "array",
  8674. "items": {
  8675. "$ref": "#/definitions/models.Division"
  8676. }
  8677. },
  8678. "province": {
  8679. "description": "省",
  8680. "type": "object",
  8681. "$ref": "#/definitions/models.Division"
  8682. }
  8683. }
  8684. },
  8685. "common.QueryTableDefineRsp": {
  8686. "type": "object",
  8687. "required": [
  8688. "tablekey"
  8689. ],
  8690. "properties": {
  8691. "columns": {
  8692. "description": "列头信息数组",
  8693. "type": "array",
  8694. "items": {
  8695. "$ref": "#/definitions/models.Tablecolumnconfig"
  8696. }
  8697. },
  8698. "remark": {
  8699. "description": "Remark",
  8700. "type": "string"
  8701. },
  8702. "tabelmenu": {
  8703. "description": "列表菜单",
  8704. "type": "string"
  8705. },
  8706. "tablekey": {
  8707. "description": "列表Key",
  8708. "type": "string"
  8709. },
  8710. "tablename": {
  8711. "description": "列表名称",
  8712. "type": "string"
  8713. },
  8714. "tabletype": {
  8715. "description": "列表类型 - 1:管理端 2:终端",
  8716. "type": "integer"
  8717. }
  8718. }
  8719. },
  8720. "common.QueryTraderMenuRsp": {
  8721. "type": "object",
  8722. "properties": {
  8723. "OperationMenu": {
  8724. "description": "功能菜单",
  8725. "type": "array",
  8726. "items": {
  8727. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8728. }
  8729. },
  8730. "QuoteMenu": {
  8731. "description": "报价牌分类菜单",
  8732. "type": "array",
  8733. "items": {
  8734. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "cptrade.Cptradepositioncancel": {
  8740. "type": "object",
  8741. "required": [
  8742. "cancelid"
  8743. ],
  8744. "properties": {
  8745. "accountid": {
  8746. "description": "申请人账户ID",
  8747. "type": "integer"
  8748. },
  8749. "applystatus": {
  8750. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8751. "type": "integer"
  8752. },
  8753. "applytime": {
  8754. "description": "申请时间",
  8755. "type": "string"
  8756. },
  8757. "cancelid": {
  8758. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8759. "type": "integer"
  8760. },
  8761. "cancelqty": {
  8762. "description": "注销数量",
  8763. "type": "integer"
  8764. },
  8765. "createtime": {
  8766. "description": "创建时间",
  8767. "type": "string"
  8768. },
  8769. "creatorid": {
  8770. "description": "创建人ID",
  8771. "type": "integer"
  8772. },
  8773. "creatorname": {
  8774. "description": "创建人",
  8775. "type": "string"
  8776. },
  8777. "goodscode": {
  8778. "description": "订单商品代码",
  8779. "type": "string"
  8780. },
  8781. "goodsid": {
  8782. "description": "商品ID",
  8783. "type": "integer"
  8784. },
  8785. "goodsname": {
  8786. "description": "订单商品名称",
  8787. "type": "string"
  8788. },
  8789. "goodunit": {
  8790. "description": "报价单位",
  8791. "type": "string"
  8792. },
  8793. "handlestatus": {
  8794. "description": "处理状态",
  8795. "type": "integer"
  8796. },
  8797. "marketid": {
  8798. "description": "市场ID",
  8799. "type": "integer"
  8800. },
  8801. "marketname": {
  8802. "description": "市场名称",
  8803. "type": "string"
  8804. },
  8805. "tradedate": {
  8806. "description": "交易日(yyyyMMdd)",
  8807. "type": "string"
  8808. },
  8809. "userid": {
  8810. "description": "申请人ID",
  8811. "type": "integer"
  8812. }
  8813. }
  8814. },
  8815. "cptrade.Cptradepresaleapply": {
  8816. "type": "object",
  8817. "required": [
  8818. "applyid"
  8819. ],
  8820. "properties": {
  8821. "accountid": {
  8822. "description": "申请人账户ID",
  8823. "type": "integer"
  8824. },
  8825. "applyid": {
  8826. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8827. "type": "integer"
  8828. },
  8829. "applyremark": {
  8830. "description": "申请备注",
  8831. "type": "string"
  8832. },
  8833. "applystatus": {
  8834. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8835. "type": "integer"
  8836. },
  8837. "applytime": {
  8838. "description": "申请时间",
  8839. "type": "string"
  8840. },
  8841. "attachmenturl": {
  8842. "description": "附件地址",
  8843. "type": "string"
  8844. },
  8845. "endtime": {
  8846. "description": "预售结束时间",
  8847. "type": "string"
  8848. },
  8849. "goodscode": {
  8850. "description": "商品代码",
  8851. "type": "string"
  8852. },
  8853. "goodsid": {
  8854. "description": "商品ID",
  8855. "type": "integer"
  8856. },
  8857. "goodsname": {
  8858. "description": "商品名称",
  8859. "type": "string"
  8860. },
  8861. "goodunit": {
  8862. "description": "报价单位",
  8863. "type": "string"
  8864. },
  8865. "handlestatus": {
  8866. "description": "处理状态",
  8867. "type": "integer"
  8868. },
  8869. "marketid": {
  8870. "description": "预售市场ID",
  8871. "type": "integer"
  8872. },
  8873. "marketname": {
  8874. "description": "预售市场名称",
  8875. "type": "string"
  8876. },
  8877. "presaleqty": {
  8878. "description": "预售数量",
  8879. "type": "integer"
  8880. },
  8881. "relatedgoodscode": {
  8882. "description": "关联交易合约代码",
  8883. "type": "string"
  8884. },
  8885. "relatedgoodsid": {
  8886. "description": "关联交易合约ID",
  8887. "type": "integer"
  8888. },
  8889. "relatedgoodsname": {
  8890. "description": "关联交易合约名称",
  8891. "type": "string"
  8892. },
  8893. "starttime": {
  8894. "description": "预售开始时间",
  8895. "type": "string"
  8896. },
  8897. "tradedate": {
  8898. "description": "交易日(yyyyMMdd)",
  8899. "type": "string"
  8900. },
  8901. "trademode": {
  8902. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8903. "type": "integer"
  8904. },
  8905. "userid": {
  8906. "description": "申请人ID",
  8907. "type": "integer"
  8908. }
  8909. }
  8910. },
  8911. "cptrade.Cptradeusergoodsdata": {
  8912. "type": "object",
  8913. "required": [
  8914. "accountid",
  8915. "goodsid"
  8916. ],
  8917. "properties": {
  8918. "EnabledQty": {
  8919. "description": "可用量",
  8920. "type": "integer"
  8921. },
  8922. "GoodsCode": {
  8923. "description": "订单商品代码",
  8924. "type": "string"
  8925. },
  8926. "GoodsName": {
  8927. "description": "订单商品名称",
  8928. "type": "string"
  8929. },
  8930. "WRStandardCode": {
  8931. "description": "仓单标准代码",
  8932. "type": "string"
  8933. },
  8934. "WRStandardName": {
  8935. "description": "仓单标准名称",
  8936. "type": "string"
  8937. },
  8938. "accountid": {
  8939. "description": "账户ID",
  8940. "type": "integer"
  8941. },
  8942. "cancelqty": {
  8943. "description": "注销量",
  8944. "type": "integer"
  8945. },
  8946. "curpresaleqty": {
  8947. "description": "当前预售量",
  8948. "type": "integer"
  8949. },
  8950. "deliveryqty": {
  8951. "description": "交割量",
  8952. "type": "integer"
  8953. },
  8954. "freezeamount": {
  8955. "description": "冻结金额",
  8956. "type": "number"
  8957. },
  8958. "goodsid": {
  8959. "description": "商品ID",
  8960. "type": "integer"
  8961. },
  8962. "goodunit": {
  8963. "description": "报价单位",
  8964. "type": "string"
  8965. },
  8966. "hasspotfreeze": {
  8967. "description": "是否有现货冻结 - 0:否 1:有",
  8968. "type": "integer"
  8969. },
  8970. "inqty": {
  8971. "description": "转入量(总数量)",
  8972. "type": "integer"
  8973. },
  8974. "marketid": {
  8975. "description": "市场ID",
  8976. "type": "integer"
  8977. },
  8978. "presaledamount": {
  8979. "description": "已预售总金额",
  8980. "type": "integer"
  8981. },
  8982. "presaledqty": {
  8983. "description": "已预售量",
  8984. "type": "integer"
  8985. },
  8986. "userid": {
  8987. "description": "用户ID",
  8988. "type": "integer"
  8989. },
  8990. "wrstandardid": {
  8991. "description": "仓单标准ID",
  8992. "type": "integer"
  8993. }
  8994. }
  8995. },
  8996. "cptrade.QueryCPTradeMyBidRsp": {
  8997. "type": "object",
  8998. "required": [
  8999. "accountid",
  9000. "goodsid",
  9001. "marketid",
  9002. "orderid",
  9003. "orderqty",
  9004. "ordertime",
  9005. "tradeprice",
  9006. "tradeqty"
  9007. ],
  9008. "properties": {
  9009. "accountid": {
  9010. "description": "账户ID[报价币种]",
  9011. "type": "integer"
  9012. },
  9013. "goodsid": {
  9014. "description": "商品ID",
  9015. "type": "integer"
  9016. },
  9017. "goodunit": {
  9018. "description": "报价单位",
  9019. "type": "string"
  9020. },
  9021. "marketid": {
  9022. "description": "市场ID",
  9023. "type": "integer"
  9024. },
  9025. "orderid": {
  9026. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9027. "type": "integer"
  9028. },
  9029. "orderprice": {
  9030. "description": "委托价格",
  9031. "type": "number"
  9032. },
  9033. "orderqty": {
  9034. "description": "委托数量",
  9035. "type": "integer"
  9036. },
  9037. "ordertime": {
  9038. "description": "委托时间",
  9039. "type": "string"
  9040. },
  9041. "ordertotalprice": {
  9042. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9043. "type": "number"
  9044. },
  9045. "ordertotalweight": {
  9046. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9047. "type": "integer"
  9048. },
  9049. "totaltotalprice": {
  9050. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9051. "type": "number"
  9052. },
  9053. "tradeprice": {
  9054. "description": "成交价格",
  9055. "type": "number"
  9056. },
  9057. "tradeqty": {
  9058. "description": "成交数量",
  9059. "type": "integer"
  9060. }
  9061. }
  9062. },
  9063. "cptrade.QueryCPTradeOrderDetailRsq": {
  9064. "type": "object",
  9065. "required": [
  9066. "accountid",
  9067. "buildtype",
  9068. "buyorsell",
  9069. "goodsid",
  9070. "marketid",
  9071. "memberuserid",
  9072. "operatetype",
  9073. "orderqty",
  9074. "ordertime",
  9075. "pricemode",
  9076. "strorderid",
  9077. "tradedate",
  9078. "validtype"
  9079. ],
  9080. "properties": {
  9081. "accountid": {
  9082. "description": "账户ID[报价币种]",
  9083. "type": "integer"
  9084. },
  9085. "buildtype": {
  9086. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9087. "type": "integer"
  9088. },
  9089. "buyorsell": {
  9090. "description": "买卖 - 0:买 1:卖",
  9091. "type": "integer"
  9092. },
  9093. "cancelorderid": {
  9094. "description": "撤单单号(撤单时填写)",
  9095. "type": "integer"
  9096. },
  9097. "cancelqty": {
  9098. "description": "撤单数量",
  9099. "type": "integer"
  9100. },
  9101. "clientordertime": {
  9102. "description": "客户端委托时间",
  9103. "type": "string"
  9104. },
  9105. "clientticket": {
  9106. "description": "客户端流水号",
  9107. "type": "string"
  9108. },
  9109. "clienttype": {
  9110. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9111. "type": "integer"
  9112. },
  9113. "closeexchagechargevalue": {
  9114. "description": "平仓交易所手续费设置值",
  9115. "type": "number"
  9116. },
  9117. "closefeealgorithm": {
  9118. "description": "平仓手续费收取方式 1:比率 2:固定",
  9119. "type": "integer"
  9120. },
  9121. "closefreezecharge": {
  9122. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9123. "type": "number"
  9124. },
  9125. "closememberchargevalue": {
  9126. "description": "平仓会员手续费设置值",
  9127. "type": "number"
  9128. },
  9129. "closeqty": {
  9130. "description": "平仓数量(先建后平操作 需要记录)",
  9131. "type": "integer"
  9132. },
  9133. "closetradeqty": {
  9134. "description": "平仓成交数量(先建后平操作,需要记录)",
  9135. "type": "integer"
  9136. },
  9137. "closeunfreezecharge": {
  9138. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9139. "type": "number"
  9140. },
  9141. "delistingtype": {
  9142. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9143. "type": "integer"
  9144. },
  9145. "freezecharge": {
  9146. "description": "冻结手续费",
  9147. "type": "number"
  9148. },
  9149. "freezemargin": {
  9150. "description": "冻结保证金(冻结交易金额)",
  9151. "type": "number"
  9152. },
  9153. "gcaccountid": {
  9154. "description": "账户ID[合约币种]",
  9155. "type": "integer"
  9156. },
  9157. "goodsid": {
  9158. "description": "商品ID",
  9159. "type": "integer"
  9160. },
  9161. "isconfirmexercise": {
  9162. "description": "是否确认行权- 0:否 1:是",
  9163. "type": "integer"
  9164. },
  9165. "ispreexercise": {
  9166. "description": "是否预申报- 0:否 1:是",
  9167. "type": "integer"
  9168. },
  9169. "listingselecttype": {
  9170. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9171. "type": "integer"
  9172. },
  9173. "marginalgorithm": {
  9174. "description": "保证金收取方式 1:比率 2:固定",
  9175. "type": "integer"
  9176. },
  9177. "marginvalue": {
  9178. "description": "即市保证金设置值",
  9179. "type": "number"
  9180. },
  9181. "marketid": {
  9182. "description": "市场ID",
  9183. "type": "integer"
  9184. },
  9185. "marketmaxsub": {
  9186. "description": "市价最大偏移范围",
  9187. "type": "number"
  9188. },
  9189. "memberuserid": {
  9190. "description": "所属会员UserID",
  9191. "type": "integer"
  9192. },
  9193. "openexchagechargevalue": {
  9194. "description": "建仓交易所手续费设置值",
  9195. "type": "number"
  9196. },
  9197. "openfeealgorithm": {
  9198. "description": "建仓手续费收取方式 1:比率 2:固定",
  9199. "type": "integer"
  9200. },
  9201. "openfreezecharge": {
  9202. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9203. "type": "number"
  9204. },
  9205. "openmemberchargevalue": {
  9206. "description": "建仓会员手续费设置值",
  9207. "type": "number"
  9208. },
  9209. "openqty": {
  9210. "description": "开仓数量(先建后平操作,需要记录)",
  9211. "type": "integer"
  9212. },
  9213. "opentradeqty": {
  9214. "description": "开仓成交数量(先建后平操作,需要记录)",
  9215. "type": "integer"
  9216. },
  9217. "openunfreezecharge": {
  9218. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9219. "type": "number"
  9220. },
  9221. "operatetype": {
  9222. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9223. "type": "integer"
  9224. },
  9225. "operatorid": {
  9226. "description": "登录账号(LoginID)",
  9227. "type": "integer"
  9228. },
  9229. "optiontype": {
  9230. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9231. "type": "integer"
  9232. },
  9233. "orderprice": {
  9234. "description": "委托价格",
  9235. "type": "number"
  9236. },
  9237. "orderqty": {
  9238. "description": "委托数量",
  9239. "type": "integer"
  9240. },
  9241. "ordersrc": {
  9242. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9243. "type": "integer"
  9244. },
  9245. "orderstatus": {
  9246. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9247. "type": "integer"
  9248. },
  9249. "ordertime": {
  9250. "description": "委托时间",
  9251. "type": "string"
  9252. },
  9253. "preexerciseprice": {
  9254. "description": "预申报价格",
  9255. "type": "number"
  9256. },
  9257. "premium": {
  9258. "description": "权利金",
  9259. "type": "number"
  9260. },
  9261. "preorderid": {
  9262. "description": "关联预埋单号(止盈止损单时填写)",
  9263. "type": "integer"
  9264. },
  9265. "pricemode": {
  9266. "description": "取价方式 - 1:市价 2: 限价",
  9267. "type": "integer"
  9268. },
  9269. "quoteid": {
  9270. "description": "报价单ID",
  9271. "type": "integer"
  9272. },
  9273. "relatedid": {
  9274. "description": "关联单号(交割单)",
  9275. "type": "integer"
  9276. },
  9277. "retcode": {
  9278. "description": "错误代码",
  9279. "type": "integer"
  9280. },
  9281. "sessionid": {
  9282. "description": "会话ID",
  9283. "type": "integer"
  9284. },
  9285. "strorderid": {
  9286. "description": "委托单号",
  9287. "type": "string"
  9288. },
  9289. "tradedate": {
  9290. "description": "交易日(yyyyMMdd)",
  9291. "type": "string"
  9292. },
  9293. "tradeproperty": {
  9294. "description": "交易属性",
  9295. "type": "integer"
  9296. },
  9297. "tradeqty": {
  9298. "description": "成交数量",
  9299. "type": "integer"
  9300. },
  9301. "unfreezecharge": {
  9302. "description": "解冻手续费",
  9303. "type": "number"
  9304. },
  9305. "unfreezemargin": {
  9306. "description": "解冻保证金",
  9307. "type": "number"
  9308. },
  9309. "updatetime": {
  9310. "description": "更新时间",
  9311. "type": "string"
  9312. },
  9313. "uuid": {
  9314. "description": "发起端唯一id",
  9315. "type": "string"
  9316. },
  9317. "validtime": {
  9318. "description": "有效期限",
  9319. "type": "string"
  9320. },
  9321. "validtype": {
  9322. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9323. "type": "integer"
  9324. },
  9325. "volumetype": {
  9326. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9327. "type": "integer"
  9328. }
  9329. }
  9330. },
  9331. "cptrade.QueryMyCPTradeGoodsRsp": {
  9332. "type": "object",
  9333. "required": [
  9334. "goodscode",
  9335. "goodsid",
  9336. "goodsname",
  9337. "marketid",
  9338. "relatedgoodscode",
  9339. "relatedgoodsname"
  9340. ],
  9341. "properties": {
  9342. "accountid": {
  9343. "description": "卖方账户ID",
  9344. "type": "integer"
  9345. },
  9346. "agreeunit": {
  9347. "description": "合约单位",
  9348. "type": "number"
  9349. },
  9350. "applyid": {
  9351. "description": "关联申请ID",
  9352. "type": "integer"
  9353. },
  9354. "attachmenturl": {
  9355. "description": "附件地址",
  9356. "type": "string"
  9357. },
  9358. "createtime": {
  9359. "description": "创建时间",
  9360. "type": "string"
  9361. },
  9362. "currencyid": {
  9363. "description": "报价货币ID",
  9364. "type": "integer"
  9365. },
  9366. "decimalplace": {
  9367. "description": "报价小数位",
  9368. "type": "integer"
  9369. },
  9370. "endtime": {
  9371. "description": "预售结束时间",
  9372. "type": "string"
  9373. },
  9374. "floorprice": {
  9375. "description": "底价[大宗式竞拍]",
  9376. "type": "number"
  9377. },
  9378. "goodscode": {
  9379. "description": "商品代码(预售)",
  9380. "type": "string"
  9381. },
  9382. "goodsdetail": {
  9383. "description": "详情[大宗]",
  9384. "type": "string"
  9385. },
  9386. "goodsid": {
  9387. "description": "商品ID(自增ID SEQ_GOODS)",
  9388. "type": "integer"
  9389. },
  9390. "goodsname": {
  9391. "description": "商品名称(预售)",
  9392. "type": "string"
  9393. },
  9394. "goodunit": {
  9395. "description": "报价单位",
  9396. "type": "string"
  9397. },
  9398. "goodunitid": {
  9399. "description": "报价单位ID",
  9400. "type": "integer"
  9401. },
  9402. "marketid": {
  9403. "description": "所属市场ID",
  9404. "type": "integer"
  9405. },
  9406. "marketname": {
  9407. "description": "预售市场名称",
  9408. "type": "string"
  9409. },
  9410. "presaledamount": {
  9411. "description": "已预售总金额(预售结束时更新)",
  9412. "type": "number"
  9413. },
  9414. "presaledqty": {
  9415. "description": "已预售量(预售结束时更新)",
  9416. "type": "integer"
  9417. },
  9418. "presalemode": {
  9419. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9420. "type": "integer"
  9421. },
  9422. "presaleqty": {
  9423. "description": "预售数量",
  9424. "type": "integer"
  9425. },
  9426. "refprice": {
  9427. "description": "参考价格[一口价]",
  9428. "type": "number"
  9429. },
  9430. "relatedgoodscode": {
  9431. "description": "商品代码(订单)",
  9432. "type": "string"
  9433. },
  9434. "relatedgoodsid": {
  9435. "description": "关联交易合约ID",
  9436. "type": "integer"
  9437. },
  9438. "relatedgoodsname": {
  9439. "description": "商品名称(订单)",
  9440. "type": "string"
  9441. },
  9442. "relatedmarketid": {
  9443. "description": "关联交易合约市场ID",
  9444. "type": "integer"
  9445. },
  9446. "sellstatus": {
  9447. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9448. "type": "integer"
  9449. },
  9450. "startprice": {
  9451. "description": "起拍价[大宗式竞拍]",
  9452. "type": "number"
  9453. },
  9454. "starttime": {
  9455. "description": "预售开始时间",
  9456. "type": "string"
  9457. },
  9458. "tradedate": {
  9459. "description": "交易日(yyyyMMdd)",
  9460. "type": "string"
  9461. },
  9462. "tradeprice": {
  9463. "description": "成交价[大宗]",
  9464. "type": "number"
  9465. },
  9466. "userid": {
  9467. "description": "卖方用户ID",
  9468. "type": "integer"
  9469. }
  9470. }
  9471. },
  9472. "cptrade.QueryPresaleGoodsExRsp": {
  9473. "type": "object",
  9474. "required": [
  9475. "goodsid"
  9476. ],
  9477. "properties": {
  9478. "attachmenturl": {
  9479. "description": "附件地址",
  9480. "type": "string"
  9481. },
  9482. "createtime": {
  9483. "description": "创建时间",
  9484. "type": "string"
  9485. },
  9486. "endtime": {
  9487. "description": "预售结束时间",
  9488. "type": "string"
  9489. },
  9490. "floorprice": {
  9491. "description": "底价[大宗式竞拍]",
  9492. "type": "number"
  9493. },
  9494. "goodsdetail": {
  9495. "description": "详情[大宗]",
  9496. "type": "string"
  9497. },
  9498. "goodsid": {
  9499. "description": "商品ID(预售)",
  9500. "type": "integer"
  9501. },
  9502. "goodunit": {
  9503. "description": "报价单位",
  9504. "type": "string"
  9505. },
  9506. "marketid": {
  9507. "description": "预售市场ID - 根据预售模式选择市场",
  9508. "type": "integer"
  9509. },
  9510. "presaledamount": {
  9511. "description": "已预售总金额(预售结束时更新)",
  9512. "type": "number"
  9513. },
  9514. "presaledqty": {
  9515. "description": "已预售量(预售结束时更新)",
  9516. "type": "integer"
  9517. },
  9518. "presalemode": {
  9519. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9520. "type": "integer"
  9521. },
  9522. "presaleqty": {
  9523. "description": "预售数量",
  9524. "type": "integer"
  9525. },
  9526. "refprice": {
  9527. "description": "参考价格[一口价]",
  9528. "type": "number"
  9529. },
  9530. "relatedgoodsid": {
  9531. "description": "关联交易合约ID",
  9532. "type": "integer"
  9533. },
  9534. "relatedmarketid": {
  9535. "description": "关联交易合约市场ID",
  9536. "type": "integer"
  9537. },
  9538. "sellstatus": {
  9539. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9540. "type": "integer"
  9541. },
  9542. "startprice": {
  9543. "description": "起拍价[大宗式竞拍]",
  9544. "type": "number"
  9545. },
  9546. "starttime": {
  9547. "description": "预售开始时间",
  9548. "type": "string"
  9549. },
  9550. "tradedate": {
  9551. "description": "交易日(yyyyMMdd)",
  9552. "type": "string"
  9553. },
  9554. "tradeprice": {
  9555. "description": "成交价[大宗]",
  9556. "type": "number"
  9557. }
  9558. }
  9559. },
  9560. "delivery.QueryDeliveryRelationRsp": {
  9561. "type": "object",
  9562. "required": [
  9563. "begindate",
  9564. "enddate",
  9565. "goodsid",
  9566. "mindeliveryqty",
  9567. "xdeliveryratio"
  9568. ],
  9569. "properties": {
  9570. "begindate": {
  9571. "description": "起始日期(yyyyMMdd)",
  9572. "type": "string"
  9573. },
  9574. "buytemplateid": {
  9575. "description": "买履约计划模板ID",
  9576. "type": "integer"
  9577. },
  9578. "deliverygoodscode": {
  9579. "description": "品种代码",
  9580. "type": "string"
  9581. },
  9582. "deliverygoodsid": {
  9583. "description": "交割商品",
  9584. "type": "integer"
  9585. },
  9586. "deliverygoodsname": {
  9587. "description": "品种名称",
  9588. "type": "string"
  9589. },
  9590. "deliverymode": {
  9591. "description": "交割方式 - 1:点选式 2:申报式",
  9592. "type": "integer"
  9593. },
  9594. "deliverypricerule": {
  9595. "description": "交割价规则- 1:行情价 2:建仓价",
  9596. "type": "integer"
  9597. },
  9598. "deliverytype": {
  9599. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9600. "type": "integer"
  9601. },
  9602. "enddate": {
  9603. "description": "结束日期(yyyyMMdd)",
  9604. "type": "string"
  9605. },
  9606. "goodscode": {
  9607. "description": "商品代码",
  9608. "type": "string"
  9609. },
  9610. "goodsid": {
  9611. "description": "交易合约ID",
  9612. "type": "integer"
  9613. },
  9614. "goodsname": {
  9615. "description": "商品名称",
  9616. "type": "string"
  9617. },
  9618. "marketid": {
  9619. "description": "市场ID",
  9620. "type": "integer"
  9621. },
  9622. "mindeliveryqty": {
  9623. "description": "最小交割系数(K)",
  9624. "type": "integer"
  9625. },
  9626. "p2deliveryprice": {
  9627. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9628. "type": "number"
  9629. },
  9630. "p2deliveryratio": {
  9631. "description": "P2合约系数(p)",
  9632. "type": "integer"
  9633. },
  9634. "p2goodsid": {
  9635. "description": "P2合约ID",
  9636. "type": "integer"
  9637. },
  9638. "p2pricemode": {
  9639. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9640. "type": "integer"
  9641. },
  9642. "pdeliveryprice": {
  9643. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9644. "type": "number"
  9645. },
  9646. "pdeliveryratio": {
  9647. "description": "P合约系数(n)",
  9648. "type": "integer"
  9649. },
  9650. "pgoodsid": {
  9651. "description": "P合约ID",
  9652. "type": "integer"
  9653. },
  9654. "ppricemode": {
  9655. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9656. "type": "integer"
  9657. },
  9658. "rratio": {
  9659. "description": "兑换系数(R)",
  9660. "type": "integer"
  9661. },
  9662. "rratio1": {
  9663. "description": "兑换系数(交易合约)(R1)",
  9664. "type": "integer"
  9665. },
  9666. "rratio2": {
  9667. "description": "兑换系数(仓单标准)(R2)",
  9668. "type": "integer"
  9669. },
  9670. "selltemplateid": {
  9671. "description": "卖履约计划模板ID",
  9672. "type": "integer"
  9673. },
  9674. "wrstandardid": {
  9675. "description": "仓单标准ID",
  9676. "type": "integer"
  9677. },
  9678. "xdeliveryratio": {
  9679. "description": "交易合约系数(m)",
  9680. "type": "integer"
  9681. }
  9682. }
  9683. },
  9684. "ermcp.ExposureDetailRsp": {
  9685. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9686. },
  9687. "ermcp.ExposureHedgePosDetailRsp": {
  9688. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9689. },
  9690. "ermcp.ExposureHedgePositionRsp": {
  9691. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9692. },
  9693. "ermcp.ExposureSpotDetailRsp": {
  9694. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9695. },
  9696. "ermcp.ExposureSpotRsp": {
  9697. "$ref": "#/definitions/models.AreaSpotModel"
  9698. },
  9699. "ermcp.HisExposureRsp": {
  9700. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9701. },
  9702. "ermcp.PendingAuditCntRsp": {
  9703. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9704. },
  9705. "ermcp.QryAvalidGPRsp": {
  9706. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9707. },
  9708. "ermcp.QryBusinessDjRsp": {
  9709. "type": "object",
  9710. "properties": {
  9711. "amount": {
  9712. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9713. "type": "number"
  9714. },
  9715. "applyid": {
  9716. "description": "申请人",
  9717. "type": "string"
  9718. },
  9719. "applyname": {
  9720. "description": "申请人名称",
  9721. "type": "string"
  9722. },
  9723. "applystatus": {
  9724. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9725. "type": "integer"
  9726. },
  9727. "applytime": {
  9728. "description": "申请时间",
  9729. "type": "string"
  9730. },
  9731. "attachurl": {
  9732. "description": "附件",
  9733. "type": "string"
  9734. },
  9735. "auditid": {
  9736. "description": "审核人ID",
  9737. "type": "string"
  9738. },
  9739. "auditname": {
  9740. "description": "审核人名称",
  9741. "type": "string"
  9742. },
  9743. "audittime": {
  9744. "description": "审核时间",
  9745. "type": "string"
  9746. },
  9747. "buyusername": {
  9748. "description": "采购方名称",
  9749. "type": "string"
  9750. },
  9751. "contractno": {
  9752. "description": "合同编号",
  9753. "type": "string"
  9754. },
  9755. "contractstatus": {
  9756. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9757. "type": "integer"
  9758. },
  9759. "contracttype": {
  9760. "description": "现货合同类型 - 1:采购 -1:销售",
  9761. "type": "integer"
  9762. },
  9763. "deliverygoodscode": {
  9764. "description": "现货品种代码",
  9765. "type": "string"
  9766. },
  9767. "deliverygoodsid": {
  9768. "description": "现货商品ID",
  9769. "type": "integer"
  9770. },
  9771. "deliverygoodsname": {
  9772. "description": "现货品种名称",
  9773. "type": "string"
  9774. },
  9775. "enumdicname": {
  9776. "description": "单位名称",
  9777. "type": "string"
  9778. },
  9779. "goodscode": {
  9780. "description": "点价合约",
  9781. "type": "string"
  9782. },
  9783. "goodsname": {
  9784. "description": "商品名称",
  9785. "type": "string"
  9786. },
  9787. "operateapplyid": {
  9788. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9789. "type": "string"
  9790. },
  9791. "operateapplytype": {
  9792. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9793. "type": "integer"
  9794. },
  9795. "pricedPrice": {
  9796. "description": "点价价格(非必填)",
  9797. "type": "number"
  9798. },
  9799. "pricedQty": {
  9800. "description": "点价数量(非必填)",
  9801. "type": "number"
  9802. },
  9803. "pricemove": {
  9804. "description": "升贴水",
  9805. "type": "number"
  9806. },
  9807. "pricetype": {
  9808. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9809. "type": "integer"
  9810. },
  9811. "relatedid": {
  9812. "description": "现货合同ID",
  9813. "type": "string"
  9814. },
  9815. "sellusername": {
  9816. "description": "销售方名字",
  9817. "type": "string"
  9818. },
  9819. "userid": {
  9820. "description": "用户ID",
  9821. "type": "integer"
  9822. },
  9823. "wrstandardcode": {
  9824. "description": "品类代码",
  9825. "type": "string"
  9826. },
  9827. "wrstandardid": {
  9828. "description": "品类id",
  9829. "type": "integer"
  9830. },
  9831. "wrstandardname": {
  9832. "description": "品类名称",
  9833. "type": "string"
  9834. }
  9835. }
  9836. },
  9837. "ermcp.QryBussinessFpRsp": {
  9838. "type": "object",
  9839. "properties": {
  9840. "applyid": {
  9841. "description": "申请人",
  9842. "type": "string"
  9843. },
  9844. "applyname": {
  9845. "description": "申请人名称",
  9846. "type": "string"
  9847. },
  9848. "applystatus": {
  9849. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9850. "type": "integer"
  9851. },
  9852. "applytime": {
  9853. "description": "申请时间",
  9854. "type": "string"
  9855. },
  9856. "attachurl": {
  9857. "description": "附件",
  9858. "type": "string"
  9859. },
  9860. "auditid": {
  9861. "description": "审核人ID",
  9862. "type": "string"
  9863. },
  9864. "auditname": {
  9865. "description": "审核人名称",
  9866. "type": "string"
  9867. },
  9868. "audittime": {
  9869. "description": "审核时间",
  9870. "type": "string"
  9871. },
  9872. "buyusername": {
  9873. "description": "采购方名称",
  9874. "type": "string"
  9875. },
  9876. "contractno": {
  9877. "description": "合同编号",
  9878. "type": "string"
  9879. },
  9880. "contractstatus": {
  9881. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9882. "type": "integer"
  9883. },
  9884. "contracttype": {
  9885. "description": "现货合同类型 - 1:采购 -1:销售",
  9886. "type": "integer"
  9887. },
  9888. "deliverygoodscode": {
  9889. "description": "现货品种代码",
  9890. "type": "string"
  9891. },
  9892. "deliverygoodsid": {
  9893. "description": "现货商品ID",
  9894. "type": "integer"
  9895. },
  9896. "deliverygoodsname": {
  9897. "description": "现货品种名称",
  9898. "type": "string"
  9899. },
  9900. "enumdicname": {
  9901. "description": "单位名称",
  9902. "type": "string"
  9903. },
  9904. "goodscode": {
  9905. "description": "点价合约",
  9906. "type": "string"
  9907. },
  9908. "goodsname": {
  9909. "description": "商品名称",
  9910. "type": "string"
  9911. },
  9912. "invoiceAmount": {
  9913. "description": "已开收票金额(销售为开票,采购为收票)",
  9914. "type": "number"
  9915. },
  9916. "operateapplyid": {
  9917. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9918. "type": "string"
  9919. },
  9920. "operateapplytype": {
  9921. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9922. "type": "integer"
  9923. },
  9924. "pricemove": {
  9925. "description": "升贴水",
  9926. "type": "number"
  9927. },
  9928. "pricetype": {
  9929. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9930. "type": "integer"
  9931. },
  9932. "relatedid": {
  9933. "description": "现货合同ID",
  9934. "type": "string"
  9935. },
  9936. "sellusername": {
  9937. "description": "销售方名字",
  9938. "type": "string"
  9939. },
  9940. "userid": {
  9941. "description": "用户ID",
  9942. "type": "integer"
  9943. },
  9944. "wrstandardcode": {
  9945. "description": "品类代码",
  9946. "type": "string"
  9947. },
  9948. "wrstandardid": {
  9949. "description": "品类id",
  9950. "type": "integer"
  9951. },
  9952. "wrstandardname": {
  9953. "description": "品类名称",
  9954. "type": "string"
  9955. }
  9956. }
  9957. },
  9958. "ermcp.QryBussinessJsExRsp": {
  9959. "type": "object",
  9960. "properties": {
  9961. "applyid": {
  9962. "description": "申请人",
  9963. "type": "string"
  9964. },
  9965. "applyname": {
  9966. "description": "申请人名称",
  9967. "type": "string"
  9968. },
  9969. "applystatus": {
  9970. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9971. "type": "integer"
  9972. },
  9973. "applytime": {
  9974. "description": "申请时间",
  9975. "type": "string"
  9976. },
  9977. "attachurl": {
  9978. "description": "附件",
  9979. "type": "string"
  9980. },
  9981. "auditid": {
  9982. "description": "审核人ID",
  9983. "type": "string"
  9984. },
  9985. "auditname": {
  9986. "description": "审核人名称",
  9987. "type": "string"
  9988. },
  9989. "audittime": {
  9990. "description": "审核时间",
  9991. "type": "string"
  9992. },
  9993. "buyusername": {
  9994. "description": "采购方名称",
  9995. "type": "string"
  9996. },
  9997. "contractno": {
  9998. "description": "合同编号",
  9999. "type": "string"
  10000. },
  10001. "contractstatus": {
  10002. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10003. "type": "integer"
  10004. },
  10005. "contracttype": {
  10006. "description": "现货合同类型 - 1:采购 -1:销售",
  10007. "type": "integer"
  10008. },
  10009. "deliverygoodscode": {
  10010. "description": "现货品种代码",
  10011. "type": "string"
  10012. },
  10013. "deliverygoodsid": {
  10014. "description": "现货商品ID",
  10015. "type": "integer"
  10016. },
  10017. "deliverygoodsname": {
  10018. "description": "现货品种名称",
  10019. "type": "string"
  10020. },
  10021. "enumdicname": {
  10022. "description": "单位名称",
  10023. "type": "string"
  10024. },
  10025. "goodscode": {
  10026. "description": "点价合约",
  10027. "type": "string"
  10028. },
  10029. "goodsname": {
  10030. "description": "商品名称",
  10031. "type": "string"
  10032. },
  10033. "operateapplyid": {
  10034. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10035. "type": "string"
  10036. },
  10037. "operateapplytype": {
  10038. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10039. "type": "integer"
  10040. },
  10041. "pricemove": {
  10042. "description": "升贴水",
  10043. "type": "number"
  10044. },
  10045. "pricetype": {
  10046. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10047. "type": "integer"
  10048. },
  10049. "reckontype": {
  10050. "description": "结算类型",
  10051. "type": "string"
  10052. },
  10053. "reckonvalue": {
  10054. "description": "值",
  10055. "type": "number"
  10056. },
  10057. "relatedid": {
  10058. "description": "现货合同ID",
  10059. "type": "string"
  10060. },
  10061. "sellusername": {
  10062. "description": "销售方名字",
  10063. "type": "string"
  10064. },
  10065. "userid": {
  10066. "description": "用户ID",
  10067. "type": "integer"
  10068. },
  10069. "wrstandardcode": {
  10070. "description": "品类代码",
  10071. "type": "string"
  10072. },
  10073. "wrstandardid": {
  10074. "description": "品类id",
  10075. "type": "integer"
  10076. },
  10077. "wrstandardname": {
  10078. "description": "品类名称",
  10079. "type": "string"
  10080. }
  10081. }
  10082. },
  10083. "ermcp.QryBussinessJsRsp": {
  10084. "type": "object",
  10085. "properties": {
  10086. "addmargin": {
  10087. "description": "追加保证金(非必填)",
  10088. "type": "number"
  10089. },
  10090. "applyid": {
  10091. "description": "申请人",
  10092. "type": "string"
  10093. },
  10094. "applyname": {
  10095. "description": "申请人名称",
  10096. "type": "string"
  10097. },
  10098. "applystatus": {
  10099. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10100. "type": "integer"
  10101. },
  10102. "applytime": {
  10103. "description": "申请时间",
  10104. "type": "string"
  10105. },
  10106. "attachurl": {
  10107. "description": "附件",
  10108. "type": "string"
  10109. },
  10110. "auditid": {
  10111. "description": "审核人ID",
  10112. "type": "string"
  10113. },
  10114. "auditname": {
  10115. "description": "审核人名称",
  10116. "type": "string"
  10117. },
  10118. "audittime": {
  10119. "description": "审核时间",
  10120. "type": "string"
  10121. },
  10122. "buyusername": {
  10123. "description": "采购方名称",
  10124. "type": "string"
  10125. },
  10126. "contractno": {
  10127. "description": "合同编号",
  10128. "type": "string"
  10129. },
  10130. "contractstatus": {
  10131. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10132. "type": "integer"
  10133. },
  10134. "contracttype": {
  10135. "description": "现货合同类型 - 1:采购 -1:销售",
  10136. "type": "integer"
  10137. },
  10138. "decmargin": {
  10139. "description": "减少保证金(非必填)",
  10140. "type": "number"
  10141. },
  10142. "deliverygoodscode": {
  10143. "description": "现货品种代码",
  10144. "type": "string"
  10145. },
  10146. "deliverygoodsid": {
  10147. "description": "现货商品ID",
  10148. "type": "integer"
  10149. },
  10150. "deliverygoodsname": {
  10151. "description": "现货品种名称",
  10152. "type": "string"
  10153. },
  10154. "enumdicname": {
  10155. "description": "单位名称",
  10156. "type": "string"
  10157. },
  10158. "goodscode": {
  10159. "description": "点价合约",
  10160. "type": "string"
  10161. },
  10162. "goodsname": {
  10163. "description": "商品名称",
  10164. "type": "string"
  10165. },
  10166. "operateapplyid": {
  10167. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10168. "type": "string"
  10169. },
  10170. "operateapplytype": {
  10171. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10172. "type": "integer"
  10173. },
  10174. "pricemove": {
  10175. "description": "升贴水",
  10176. "type": "number"
  10177. },
  10178. "pricetype": {
  10179. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10180. "type": "integer"
  10181. },
  10182. "reckonadjustamount": {
  10183. "description": "结算调整金额(非必填)",
  10184. "type": "number"
  10185. },
  10186. "reckonosamount": {
  10187. "description": "结算溢短金额(非必填)",
  10188. "type": "number"
  10189. },
  10190. "reckonotheramount": {
  10191. "description": "结算其他费用(非必填)",
  10192. "type": "number"
  10193. },
  10194. "reckonrealqty": {
  10195. "description": "结算实际数量(非必填)",
  10196. "type": "number"
  10197. },
  10198. "relatedid": {
  10199. "description": "现货合同ID",
  10200. "type": "string"
  10201. },
  10202. "sellusername": {
  10203. "description": "销售方名字",
  10204. "type": "string"
  10205. },
  10206. "userid": {
  10207. "description": "用户ID",
  10208. "type": "integer"
  10209. },
  10210. "wrstandardcode": {
  10211. "description": "品类代码",
  10212. "type": "string"
  10213. },
  10214. "wrstandardid": {
  10215. "description": "品类id",
  10216. "type": "integer"
  10217. },
  10218. "wrstandardname": {
  10219. "description": "品类名称",
  10220. "type": "string"
  10221. }
  10222. }
  10223. },
  10224. "ermcp.QryBussinessKxRsp": {
  10225. "type": "object",
  10226. "properties": {
  10227. "applyid": {
  10228. "description": "申请人",
  10229. "type": "string"
  10230. },
  10231. "applyname": {
  10232. "description": "申请人名称",
  10233. "type": "string"
  10234. },
  10235. "applystatus": {
  10236. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10237. "type": "integer"
  10238. },
  10239. "applytime": {
  10240. "description": "申请时间",
  10241. "type": "string"
  10242. },
  10243. "attachurl": {
  10244. "description": "附件",
  10245. "type": "string"
  10246. },
  10247. "auditid": {
  10248. "description": "审核人ID",
  10249. "type": "string"
  10250. },
  10251. "auditname": {
  10252. "description": "审核人名称",
  10253. "type": "string"
  10254. },
  10255. "audittime": {
  10256. "description": "审核时间",
  10257. "type": "string"
  10258. },
  10259. "buyusername": {
  10260. "description": "采购方名称",
  10261. "type": "string"
  10262. },
  10263. "contractno": {
  10264. "description": "合同编号",
  10265. "type": "string"
  10266. },
  10267. "contractstatus": {
  10268. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10269. "type": "integer"
  10270. },
  10271. "contracttype": {
  10272. "description": "现货合同类型 - 1:采购 -1:销售",
  10273. "type": "integer"
  10274. },
  10275. "deductamount": {
  10276. "description": "退款(非必填)",
  10277. "type": "number"
  10278. },
  10279. "deliverygoodscode": {
  10280. "description": "现货品种代码",
  10281. "type": "string"
  10282. },
  10283. "deliverygoodsid": {
  10284. "description": "现货商品ID",
  10285. "type": "integer"
  10286. },
  10287. "deliverygoodsname": {
  10288. "description": "现货品种名称",
  10289. "type": "string"
  10290. },
  10291. "enumdicname": {
  10292. "description": "单位名称",
  10293. "type": "string"
  10294. },
  10295. "goodscode": {
  10296. "description": "点价合约",
  10297. "type": "string"
  10298. },
  10299. "goodsname": {
  10300. "description": "商品名称",
  10301. "type": "string"
  10302. },
  10303. "kxtype": {
  10304. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10305. "type": "integer"
  10306. },
  10307. "operateapplyid": {
  10308. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10309. "type": "string"
  10310. },
  10311. "operateapplytype": {
  10312. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10313. "type": "integer"
  10314. },
  10315. "payamount": {
  10316. "description": "收付款(非必填)",
  10317. "type": "number"
  10318. },
  10319. "pricemove": {
  10320. "description": "升贴水",
  10321. "type": "number"
  10322. },
  10323. "pricetype": {
  10324. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10325. "type": "integer"
  10326. },
  10327. "relatedid": {
  10328. "description": "现货合同ID",
  10329. "type": "string"
  10330. },
  10331. "sellusername": {
  10332. "description": "销售方名字",
  10333. "type": "string"
  10334. },
  10335. "userid": {
  10336. "description": "用户ID",
  10337. "type": "integer"
  10338. },
  10339. "wrstandardcode": {
  10340. "description": "品类代码",
  10341. "type": "string"
  10342. },
  10343. "wrstandardid": {
  10344. "description": "品类id",
  10345. "type": "integer"
  10346. },
  10347. "wrstandardname": {
  10348. "description": "品类名称",
  10349. "type": "string"
  10350. }
  10351. }
  10352. },
  10353. "ermcp.QryGGCovertCfgRsp": {
  10354. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10355. },
  10356. "ermcp.QryMGChangeLogRsp": {
  10357. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10358. },
  10359. "ermcp.QryMiddleGoodsDetailRsp": {
  10360. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10361. },
  10362. "ermcp.QryMiddleGoodsRsp": {
  10363. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10364. },
  10365. "ermcp.QryOPLogRsp": {
  10366. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10367. },
  10368. "ermcp.QryUserInfoRsp": {
  10369. "$ref": "#/definitions/models.ErmcpUserModel"
  10370. },
  10371. "ermcp.QryWarehouseRsp": {
  10372. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10373. },
  10374. "ermcp.QueryErmcpTradePositionRsp": {
  10375. "type": "object",
  10376. "properties": {
  10377. "agreeunit": {
  10378. "description": "合约单位",
  10379. "type": "number"
  10380. },
  10381. "buyorsell": {
  10382. "description": "方向 - 0:买 1:卖",
  10383. "type": "integer"
  10384. },
  10385. "curpositionqty": {
  10386. "description": "持仓(总仓数量, 期末头寸)",
  10387. "type": "integer"
  10388. },
  10389. "curtdposition": {
  10390. "description": "今仓数量(期末今日头寸)",
  10391. "type": "integer"
  10392. },
  10393. "curtdpositionenabled": {
  10394. "description": "今仓可用",
  10395. "type": "integer"
  10396. },
  10397. "decimalplace": {
  10398. "description": "报价小数位",
  10399. "type": "integer"
  10400. },
  10401. "enableqty": {
  10402. "description": "可用(总仓可用)",
  10403. "type": "integer"
  10404. },
  10405. "exexchangename": {
  10406. "description": "外部交易所名称",
  10407. "type": "string"
  10408. },
  10409. "goodscode": {
  10410. "description": "商品代码(内部)",
  10411. "type": "string"
  10412. },
  10413. "goodsid": {
  10414. "description": "商品ID(自增ID SEQ_GOODS)",
  10415. "type": "integer"
  10416. },
  10417. "goodsname": {
  10418. "description": "商品名称",
  10419. "type": "string"
  10420. },
  10421. "last": {
  10422. "description": "现价",
  10423. "type": "number"
  10424. },
  10425. "marketid": {
  10426. "description": "所属市场ID",
  10427. "type": "integer"
  10428. },
  10429. "openaverageprice": {
  10430. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10431. "type": "number"
  10432. },
  10433. "opencost": {
  10434. "description": "开仓成本",
  10435. "type": "number"
  10436. },
  10437. "openpl": {
  10438. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10439. "type": "number"
  10440. },
  10441. "outgoodscode": {
  10442. "description": "商品代码(外部)",
  10443. "type": "string"
  10444. },
  10445. "positionaverageprice": {
  10446. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10447. "type": "number"
  10448. },
  10449. "positioncost": {
  10450. "description": "持仓成本",
  10451. "type": "number"
  10452. },
  10453. "positionpl": {
  10454. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10455. "type": "number"
  10456. },
  10457. "positionplrate": {
  10458. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10459. "type": "number"
  10460. },
  10461. "usedmargin": {
  10462. "description": "占用保证金",
  10463. "type": "number"
  10464. }
  10465. }
  10466. },
  10467. "ermcp.RealtimeExposurePositionRsp": {
  10468. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10469. },
  10470. "ermcp.RealtimeExposureRsp": {
  10471. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10472. },
  10473. "erms2.QueryArbitrageStrategyRsp": {
  10474. "type": "object",
  10475. "required": [
  10476. "asapplyid"
  10477. ],
  10478. "properties": {
  10479. "applybasis": {
  10480. "description": "申请基差",
  10481. "type": "number"
  10482. },
  10483. "asapplyid": {
  10484. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10485. "type": "string"
  10486. },
  10487. "asname": {
  10488. "description": "策略名称",
  10489. "type": "string"
  10490. },
  10491. "asno": {
  10492. "description": "策略编号",
  10493. "type": "string"
  10494. },
  10495. "basischangepl": {
  10496. "description": "基差变动损益[结算更新]",
  10497. "type": "number"
  10498. },
  10499. "biztype": {
  10500. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10501. "type": "integer"
  10502. },
  10503. "closetradedate": {
  10504. "description": "完结交易日(yyyyMMdd)",
  10505. "type": "string"
  10506. },
  10507. "curbasis": {
  10508. "description": "当前基差[结算更新]",
  10509. "type": "number"
  10510. },
  10511. "deliverygoodsid": {
  10512. "description": "现货品种ID",
  10513. "type": "integer"
  10514. },
  10515. "futureavgprice": {
  10516. "description": "期货建仓均价",
  10517. "type": "number"
  10518. },
  10519. "futurecloseamount": {
  10520. "description": "期货平仓金额",
  10521. "type": "number"
  10522. },
  10523. "futurecloseqty": {
  10524. "description": "期货平仓数量",
  10525. "type": "number"
  10526. },
  10527. "futureopenamount": {
  10528. "description": "期货开仓金额",
  10529. "type": "number"
  10530. },
  10531. "futureopenqty": {
  10532. "description": "期货开仓数量",
  10533. "type": "number"
  10534. },
  10535. "futurepl": {
  10536. "description": "期货总盈亏[结算更新]",
  10537. "type": "number"
  10538. },
  10539. "futureqty": {
  10540. "description": "期货持仓数量",
  10541. "type": "number"
  10542. },
  10543. "futurequote": {
  10544. "description": "期货额度",
  10545. "type": "number"
  10546. },
  10547. "goodsgroupid": {
  10548. "description": "期货品种ID",
  10549. "type": "integer"
  10550. },
  10551. "marketid": {
  10552. "description": "市场ID",
  10553. "type": "integer"
  10554. },
  10555. "netexposure": {
  10556. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10557. "type": "number"
  10558. },
  10559. "netexposurepl": {
  10560. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10561. "type": "number"
  10562. },
  10563. "netexposurerate": {
  10564. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10565. "type": "number"
  10566. },
  10567. "openbasis": {
  10568. "description": "建仓基差",
  10569. "type": "number"
  10570. },
  10571. "pricedspotqty": {
  10572. "description": "已定价现货数量",
  10573. "type": "number"
  10574. },
  10575. "pricedspotqtynotax": {
  10576. "description": "已定价现货不含税数量",
  10577. "type": "number"
  10578. },
  10579. "remark": {
  10580. "description": "备注",
  10581. "type": "string"
  10582. },
  10583. "spotavgprice": {
  10584. "description": "现货均价",
  10585. "type": "number"
  10586. },
  10587. "spotbuyamount": {
  10588. "description": "现货采购金额",
  10589. "type": "number"
  10590. },
  10591. "spotbuyqty": {
  10592. "description": "现货采购数量",
  10593. "type": "number"
  10594. },
  10595. "spotpl": {
  10596. "description": "现货总盈亏[结算更新]",
  10597. "type": "number"
  10598. },
  10599. "spotquota": {
  10600. "description": "现货额度",
  10601. "type": "number"
  10602. },
  10603. "spotsellamount": {
  10604. "description": "现货销售金额",
  10605. "type": "number"
  10606. },
  10607. "spotsellqty": {
  10608. "description": "现货销售数量",
  10609. "type": "number"
  10610. },
  10611. "spotusedquota": {
  10612. "description": "现货占用资金",
  10613. "type": "number"
  10614. },
  10615. "strategystatus": {
  10616. "description": "策略状态 - 0:未结束 1:已结束",
  10617. "type": "integer"
  10618. },
  10619. "totalpl": {
  10620. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10621. "type": "number"
  10622. },
  10623. "tradedate": {
  10624. "description": "交易日(yyyyMMdd)",
  10625. "type": "string"
  10626. },
  10627. "updatetime": {
  10628. "description": "更新时间",
  10629. "type": "string"
  10630. },
  10631. "usedquota": {
  10632. "description": "已占用资金",
  10633. "type": "number"
  10634. },
  10635. "userid": {
  10636. "description": "所属机构",
  10637. "type": "integer"
  10638. }
  10639. }
  10640. },
  10641. "erms2.QueryInnerTradeDetailRsp": {
  10642. "type": "object",
  10643. "required": [
  10644. "asapplyid",
  10645. "buyorsell",
  10646. "goodscode",
  10647. "goodsgroupid",
  10648. "goodsgroupname",
  10649. "goodsname",
  10650. "tradeid"
  10651. ],
  10652. "properties": {
  10653. "accountid": {
  10654. "description": "账号ID",
  10655. "type": "integer"
  10656. },
  10657. "agreeunit": {
  10658. "description": "合约单位",
  10659. "type": "number"
  10660. },
  10661. "asapplyid": {
  10662. "description": "策略申请ID",
  10663. "type": "integer"
  10664. },
  10665. "asname": {
  10666. "description": "策略名称",
  10667. "type": "string"
  10668. },
  10669. "asno": {
  10670. "description": "策略编号",
  10671. "type": "string"
  10672. },
  10673. "buyorsell": {
  10674. "description": "方向 - 0:买 1:卖",
  10675. "type": "integer"
  10676. },
  10677. "channelbuildtype": {
  10678. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10679. "type": "integer"
  10680. },
  10681. "closetype": {
  10682. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10683. "type": "integer"
  10684. },
  10685. "decimalplace": {
  10686. "description": "报价小数位",
  10687. "type": "integer"
  10688. },
  10689. "detailtype": {
  10690. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10691. "type": "integer"
  10692. },
  10693. "exexchangecode": {
  10694. "description": "外部交易所代码",
  10695. "type": "string"
  10696. },
  10697. "exexchangename": {
  10698. "description": "外部交易所名称",
  10699. "type": "string"
  10700. },
  10701. "goodscode": {
  10702. "description": "商品代码(合约)",
  10703. "type": "string"
  10704. },
  10705. "goodsgroupid": {
  10706. "description": "商品组ID(品种ID)",
  10707. "type": "integer"
  10708. },
  10709. "goodsgroupname": {
  10710. "description": "商品组名称(品种)",
  10711. "type": "string"
  10712. },
  10713. "goodsid": {
  10714. "description": "商品ID",
  10715. "type": "integer"
  10716. },
  10717. "goodsname": {
  10718. "description": "商品名称(合约)",
  10719. "type": "string"
  10720. },
  10721. "goodunit": {
  10722. "description": "报价单位",
  10723. "type": "string"
  10724. },
  10725. "marketid": {
  10726. "description": "市场ID",
  10727. "type": "integer"
  10728. },
  10729. "orderid": {
  10730. "description": "委托单号",
  10731. "type": "string"
  10732. },
  10733. "outgoodscode": {
  10734. "description": "商品代码(外部)",
  10735. "type": "string"
  10736. },
  10737. "relatedouttradeid": {
  10738. "description": "关联外部成交单ID",
  10739. "type": "string"
  10740. },
  10741. "remark": {
  10742. "description": "备注",
  10743. "type": "string"
  10744. },
  10745. "spotcontractid": {
  10746. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10747. "type": "integer"
  10748. },
  10749. "spotcontractno": {
  10750. "description": "现货合同编号",
  10751. "type": "string"
  10752. },
  10753. "tradeid": {
  10754. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10755. "type": "string"
  10756. },
  10757. "tradeprice": {
  10758. "description": "成交价格",
  10759. "type": "number"
  10760. },
  10761. "tradeqty": {
  10762. "description": "成交数量",
  10763. "type": "integer"
  10764. },
  10765. "tradetime": {
  10766. "description": "成交时间",
  10767. "type": "string"
  10768. },
  10769. "updatetime": {
  10770. "description": "更新时间",
  10771. "type": "string"
  10772. }
  10773. }
  10774. },
  10775. "erms2.QuerySpotContractRsp": {
  10776. "type": "object",
  10777. "required": [
  10778. "spotcontractid"
  10779. ],
  10780. "properties": {
  10781. "accountid": {
  10782. "description": "资金账户ID",
  10783. "type": "integer"
  10784. },
  10785. "areauserid": {
  10786. "description": "所属机构",
  10787. "type": "integer"
  10788. },
  10789. "closedate": {
  10790. "description": "终止日期",
  10791. "type": "string"
  10792. },
  10793. "closeremark": {
  10794. "description": "结束备注",
  10795. "type": "string"
  10796. },
  10797. "closetradedate": {
  10798. "description": "完结交易日(yyyyMMdd)",
  10799. "type": "string"
  10800. },
  10801. "closetype": {
  10802. "description": "终止类型 - 1:违约 2:提前终止",
  10803. "type": "integer"
  10804. },
  10805. "contractamount": {
  10806. "description": "合同金额",
  10807. "type": "number"
  10808. },
  10809. "contractattachment": {
  10810. "description": "合同附件",
  10811. "type": "string"
  10812. },
  10813. "contractno": {
  10814. "description": "现货合同编号",
  10815. "type": "string"
  10816. },
  10817. "contractqty": {
  10818. "description": "合同数量(数值) (用于计算)",
  10819. "type": "number"
  10820. },
  10821. "contractqtychar": {
  10822. "description": "合同数量\\已订价数量 (用于显示)",
  10823. "type": "string"
  10824. },
  10825. "contractstatus": {
  10826. "description": "合同状态 - 0:未结束 1:已结束",
  10827. "type": "integer"
  10828. },
  10829. "contracttype": {
  10830. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10831. "type": "integer"
  10832. },
  10833. "customeraccountid": {
  10834. "description": "客户资金账户ID",
  10835. "type": "integer"
  10836. },
  10837. "customeruserid": {
  10838. "description": "客户ID",
  10839. "type": "integer"
  10840. },
  10841. "deliverygoodsdesc": {
  10842. "description": "品种说明",
  10843. "type": "string"
  10844. },
  10845. "deliverygoodsid": {
  10846. "description": "现货品种ID",
  10847. "type": "integer"
  10848. },
  10849. "handlestatus": {
  10850. "description": "处理状态",
  10851. "type": "integer"
  10852. },
  10853. "invoiceatt": {
  10854. "description": "发票附件",
  10855. "type": "string"
  10856. },
  10857. "invoicedatetime": {
  10858. "description": "开收票更新时间",
  10859. "type": "string"
  10860. },
  10861. "invoiceopentime": {
  10862. "description": "开票时间",
  10863. "type": "string"
  10864. },
  10865. "invoiceremark": {
  10866. "description": "发票备注",
  10867. "type": "string"
  10868. },
  10869. "invoicestatus": {
  10870. "description": "开收票状态 - 0:未开票 1:已开票",
  10871. "type": "integer"
  10872. },
  10873. "lastdate": {
  10874. "description": "交货时间",
  10875. "type": "string"
  10876. },
  10877. "marketid": {
  10878. "description": "市场ID",
  10879. "type": "integer"
  10880. },
  10881. "paydatetime": {
  10882. "description": "收付款更新时间",
  10883. "type": "string"
  10884. },
  10885. "payremark": {
  10886. "description": "收付款备注",
  10887. "type": "string"
  10888. },
  10889. "paystatus": {
  10890. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10891. "type": "integer"
  10892. },
  10893. "positionqty": {
  10894. "description": "头寸数量 - 合同数量去小数部分",
  10895. "type": "integer"
  10896. },
  10897. "producttype": {
  10898. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10899. "type": "integer"
  10900. },
  10901. "relatedqty": {
  10902. "description": "已关联数量",
  10903. "type": "number"
  10904. },
  10905. "relatedstatus": {
  10906. "description": "关联完结状态 - 0:未结束 1:已结束",
  10907. "type": "integer"
  10908. },
  10909. "remark": {
  10910. "description": "备注",
  10911. "type": "string"
  10912. },
  10913. "signdate": {
  10914. "description": "签订日期",
  10915. "type": "string"
  10916. },
  10917. "spotcontractid": {
  10918. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10919. "type": "string"
  10920. },
  10921. "spotdatetime": {
  10922. "description": "收发货更新时间",
  10923. "type": "string"
  10924. },
  10925. "spotprice": {
  10926. "description": "价格",
  10927. "type": "number"
  10928. },
  10929. "spotremark": {
  10930. "description": "收发货备注",
  10931. "type": "string"
  10932. },
  10933. "spotstatus": {
  10934. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10935. "type": "integer"
  10936. },
  10937. "tradedate": {
  10938. "description": "交易日(yyyyMMdd)",
  10939. "type": "string"
  10940. },
  10941. "userid": {
  10942. "description": "业务员用户ID",
  10943. "type": "integer"
  10944. },
  10945. "warehouseid": {
  10946. "description": "仓库ID",
  10947. "type": "integer"
  10948. },
  10949. "wrfactortypeid": {
  10950. "description": "仓单要素类型ID",
  10951. "type": "integer"
  10952. },
  10953. "wrstandardid": {
  10954. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10955. "type": "integer"
  10956. }
  10957. }
  10958. },
  10959. "erms3.AddErms2ASApplyReq": {
  10960. "type": "object",
  10961. "required": [
  10962. "asapplyid"
  10963. ],
  10964. "properties": {
  10965. "applybasis": {
  10966. "description": "申请基差",
  10967. "type": "number"
  10968. },
  10969. "applystatus": {
  10970. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10971. "type": "integer"
  10972. },
  10973. "asapplyid": {
  10974. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10975. "type": "integer"
  10976. },
  10977. "asname": {
  10978. "description": "策略名称",
  10979. "type": "string"
  10980. },
  10981. "asno": {
  10982. "description": "策略编号",
  10983. "type": "string"
  10984. },
  10985. "auditid": {
  10986. "description": "审核人",
  10987. "type": "integer"
  10988. },
  10989. "auditremark": {
  10990. "description": "审核备注",
  10991. "type": "string"
  10992. },
  10993. "audittime": {
  10994. "description": "审核时间",
  10995. "type": "string"
  10996. },
  10997. "biztype": {
  10998. "description": "业务类型 - 1:正向套利 2:反向套利",
  10999. "type": "integer"
  11000. },
  11001. "createtime": {
  11002. "description": "创建时间",
  11003. "type": "string"
  11004. },
  11005. "creatorid": {
  11006. "description": "创建人",
  11007. "type": "integer"
  11008. },
  11009. "deliverygoodsid": {
  11010. "description": "现货品种ID",
  11011. "type": "integer"
  11012. },
  11013. "futurequote": {
  11014. "description": "期货额度",
  11015. "type": "number"
  11016. },
  11017. "goodsgroupid": {
  11018. "description": "期货品种ID",
  11019. "type": "integer"
  11020. },
  11021. "marketid": {
  11022. "description": "市场ID",
  11023. "type": "integer"
  11024. },
  11025. "remark": {
  11026. "description": "备注",
  11027. "type": "string"
  11028. },
  11029. "spotquota": {
  11030. "description": "现货额度",
  11031. "type": "number"
  11032. },
  11033. "tradedate": {
  11034. "description": "交易日(yyyyMMdd)",
  11035. "type": "string"
  11036. },
  11037. "userid": {
  11038. "description": "所属机构",
  11039. "type": "integer"
  11040. }
  11041. }
  11042. },
  11043. "erms3.AddErms2SpotTradeApplyReq": {
  11044. "type": "object",
  11045. "required": [
  11046. "spottradeid"
  11047. ],
  11048. "properties": {
  11049. "applyjsondetail": {
  11050. "description": "申请明细(JSON)",
  11051. "type": "string"
  11052. },
  11053. "applystatus": {
  11054. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11055. "type": "integer"
  11056. },
  11057. "areauserid": {
  11058. "description": "所属机构",
  11059. "type": "integer"
  11060. },
  11061. "auditid": {
  11062. "description": "审核人",
  11063. "type": "integer"
  11064. },
  11065. "auditremark": {
  11066. "description": "审核备注",
  11067. "type": "string"
  11068. },
  11069. "audittime": {
  11070. "description": "审核时间",
  11071. "type": "string"
  11072. },
  11073. "createtime": {
  11074. "description": "创建时间",
  11075. "type": "string"
  11076. },
  11077. "creatorid": {
  11078. "description": "创建人",
  11079. "type": "integer"
  11080. },
  11081. "deliverygoodsid": {
  11082. "description": "现货品种ID",
  11083. "type": "integer"
  11084. },
  11085. "futureaccountid": {
  11086. "description": "期货资金账户",
  11087. "type": "integer"
  11088. },
  11089. "goodsgroupid": {
  11090. "description": "期货品种",
  11091. "type": "integer"
  11092. },
  11093. "marketid": {
  11094. "description": "市场ID",
  11095. "type": "integer"
  11096. },
  11097. "remark": {
  11098. "description": "备注",
  11099. "type": "string"
  11100. },
  11101. "spotaccountid": {
  11102. "description": "现货资金账户",
  11103. "type": "integer"
  11104. },
  11105. "spottradeid": {
  11106. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11107. "type": "integer"
  11108. },
  11109. "spottradename": {
  11110. "description": "业务名称",
  11111. "type": "string"
  11112. },
  11113. "spottradeno": {
  11114. "description": "业务编号",
  11115. "type": "string"
  11116. },
  11117. "tradedate": {
  11118. "description": "交易日(yyyyMMdd)",
  11119. "type": "string"
  11120. },
  11121. "wrstandardid": {
  11122. "description": "仓单标准ID",
  11123. "type": "integer"
  11124. }
  11125. }
  11126. },
  11127. "erms3.AddSpotContractApplyReq": {
  11128. "type": "object",
  11129. "required": [
  11130. "accountid",
  11131. "areauserid",
  11132. "contractno",
  11133. "contracttype",
  11134. "customeraccountid",
  11135. "customeruserid",
  11136. "details",
  11137. "orimargin",
  11138. "signdate"
  11139. ],
  11140. "properties": {
  11141. "accountid": {
  11142. "description": "资金账户ID",
  11143. "type": "integer"
  11144. },
  11145. "areauserid": {
  11146. "description": "所属机构",
  11147. "type": "integer"
  11148. },
  11149. "contractattachment": {
  11150. "description": "合同附件",
  11151. "type": "string"
  11152. },
  11153. "contractno": {
  11154. "description": "现货合同编号",
  11155. "type": "string"
  11156. },
  11157. "contracttype": {
  11158. "description": "现货合同类型 - 1:采购 -1:销售",
  11159. "type": "integer"
  11160. },
  11161. "creatorid": {
  11162. "description": "申请人",
  11163. "type": "integer"
  11164. },
  11165. "customeraccountid": {
  11166. "description": "客户资金账户ID",
  11167. "type": "integer"
  11168. },
  11169. "customeruserid": {
  11170. "description": "客户ID",
  11171. "type": "integer"
  11172. },
  11173. "details": {
  11174. "description": "明细",
  11175. "type": "array",
  11176. "items": {
  11177. "$ref": "#/definitions/erms3.SoptContractDetail"
  11178. }
  11179. },
  11180. "orimargin": {
  11181. "description": "初始保证金",
  11182. "type": "number"
  11183. },
  11184. "remark": {
  11185. "description": "备注",
  11186. "type": "string"
  11187. },
  11188. "signdate": {
  11189. "description": "签订日期",
  11190. "type": "string"
  11191. }
  11192. }
  11193. },
  11194. "erms3.AddSpotContractApplyRsp": {
  11195. "type": "object",
  11196. "required": [
  11197. "contractno"
  11198. ],
  11199. "properties": {
  11200. "contractno": {
  11201. "description": "现货合同编号",
  11202. "type": "string"
  11203. },
  11204. "spotcontractid": {
  11205. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11206. "type": "integer"
  11207. }
  11208. }
  11209. },
  11210. "erms3.AddUserInfoApplyReq": {
  11211. "type": "object",
  11212. "required": [
  11213. "userid"
  11214. ],
  11215. "properties": {
  11216. "accountid": {
  11217. "description": "交易系统帐号Id (加密存储)",
  11218. "type": "integer"
  11219. },
  11220. "areacode": {
  11221. "description": "机构代码",
  11222. "type": "string"
  11223. },
  11224. "areaid": {
  11225. "description": "机构Id",
  11226. "type": "integer"
  11227. },
  11228. "attachment1": {
  11229. "description": "附件1",
  11230. "type": "string"
  11231. },
  11232. "attachment2": {
  11233. "description": "附件2",
  11234. "type": "string"
  11235. },
  11236. "attachment3": {
  11237. "description": "附件3",
  11238. "type": "string"
  11239. },
  11240. "attachment4": {
  11241. "description": "附件4",
  11242. "type": "string"
  11243. },
  11244. "attachment5": {
  11245. "description": "附件5",
  11246. "type": "string"
  11247. },
  11248. "auditedby": {
  11249. "description": "审核人",
  11250. "type": "string"
  11251. },
  11252. "auditime": {
  11253. "description": "审核时间",
  11254. "type": "string"
  11255. },
  11256. "auditsrc": {
  11257. "description": "审核来源 - 1:管理端 2:终端",
  11258. "type": "integer"
  11259. },
  11260. "bankaccount": {
  11261. "description": "银行帐号 (加密存储)",
  11262. "type": "string"
  11263. },
  11264. "bankaccountname": {
  11265. "description": "收款人名称",
  11266. "type": "string"
  11267. },
  11268. "bankcardbackphotourl": {
  11269. "description": "银行卡背面照地址",
  11270. "type": "string"
  11271. },
  11272. "bankcardfrontphotourl": {
  11273. "description": "银行卡正面照地址",
  11274. "type": "string"
  11275. },
  11276. "bankid": {
  11277. "description": "银行编码",
  11278. "type": "string"
  11279. },
  11280. "bankname": {
  11281. "description": "银行名称",
  11282. "type": "string"
  11283. },
  11284. "bankpictureurl": {
  11285. "description": "银行卡正面地址",
  11286. "type": "string"
  11287. },
  11288. "biznature": {
  11289. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11290. "type": "integer"
  11291. },
  11292. "bizscope": {
  11293. "description": "企业经营范围(企业)",
  11294. "type": "string"
  11295. },
  11296. "biztype": {
  11297. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11298. "type": "integer"
  11299. },
  11300. "brokerid": {
  11301. "description": "经纪人ID(加密存储)",
  11302. "type": "string"
  11303. },
  11304. "cardaddress": {
  11305. "description": "证件地址 (加密存储)",
  11306. "type": "string"
  11307. },
  11308. "cardbackphotourl": {
  11309. "description": "背面证件照地址",
  11310. "type": "string"
  11311. },
  11312. "cardfrontphotourl": {
  11313. "description": "正面证件照地址",
  11314. "type": "string"
  11315. },
  11316. "cardnum": {
  11317. "description": "证件号码 (加密存储)",
  11318. "type": "string"
  11319. },
  11320. "cardtype": {
  11321. "description": "证件类型",
  11322. "type": "integer"
  11323. },
  11324. "cityid": {
  11325. "description": "市",
  11326. "type": "integer"
  11327. },
  11328. "company": {
  11329. "description": "公司(个人)",
  11330. "type": "string"
  11331. },
  11332. "contactcardbackphotourl": {
  11333. "description": "联系人证件背面图片地址",
  11334. "type": "string"
  11335. },
  11336. "contactcardfrontphotourl": {
  11337. "description": "联系人证件正面图片地址",
  11338. "type": "string"
  11339. },
  11340. "contactname": {
  11341. "description": "联系人",
  11342. "type": "string"
  11343. },
  11344. "countryid": {
  11345. "description": "国家",
  11346. "type": "integer"
  11347. },
  11348. "createtime": {
  11349. "description": "开户申请时间",
  11350. "type": "string"
  11351. },
  11352. "cusbankid": {
  11353. "description": "签约类型",
  11354. "type": "string"
  11355. },
  11356. "cusbankname": {
  11357. "description": "签约类型名称",
  11358. "type": "string"
  11359. },
  11360. "customername": {
  11361. "description": "客户名称(企业名称)",
  11362. "type": "string"
  11363. },
  11364. "districtid": {
  11365. "description": "地区",
  11366. "type": "integer"
  11367. },
  11368. "email": {
  11369. "description": "Email地址(加密存储)",
  11370. "type": "string"
  11371. },
  11372. "halfbodyphotourl": {
  11373. "description": "半身照地址",
  11374. "type": "string"
  11375. },
  11376. "headurl": {
  11377. "description": "头像地址",
  11378. "type": "string"
  11379. },
  11380. "ipaddress": {
  11381. "description": "IP地址",
  11382. "type": "string"
  11383. },
  11384. "isvalidate": {
  11385. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11386. "type": "string"
  11387. },
  11388. "legalcardbackphotourl": {
  11389. "description": "法人身份证背面照地址",
  11390. "type": "string"
  11391. },
  11392. "legalcardfrontphotourl": {
  11393. "description": "法人身份证正面照地址",
  11394. "type": "string"
  11395. },
  11396. "legalpersonname": {
  11397. "description": "法人姓名(企业)",
  11398. "type": "string"
  11399. },
  11400. "logincode": {
  11401. "description": "登录帐号 (加密存储)",
  11402. "type": "string"
  11403. },
  11404. "memberareaid": {
  11405. "description": "所属会员ID",
  11406. "type": "integer"
  11407. },
  11408. "mobile2": {
  11409. "description": "手机号码[明文-尚志]",
  11410. "type": "string"
  11411. },
  11412. "mobilephone": {
  11413. "description": "手机号码 (加密存储)",
  11414. "type": "string"
  11415. },
  11416. "modifiedby": {
  11417. "description": "修改人帐号",
  11418. "type": "integer"
  11419. },
  11420. "modifiedtime": {
  11421. "description": "修改时间",
  11422. "type": "string"
  11423. },
  11424. "nickname": {
  11425. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11426. "type": "string"
  11427. },
  11428. "openmode": {
  11429. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11430. "type": "integer"
  11431. },
  11432. "otherurl": {
  11433. "description": "其它图片地址[使用分号分隔]",
  11434. "type": "string"
  11435. },
  11436. "postalcode": {
  11437. "description": "邮政编码",
  11438. "type": "string"
  11439. },
  11440. "provinceid": {
  11441. "description": "省",
  11442. "type": "integer"
  11443. },
  11444. "proxystatementurl": {
  11445. "description": "授权委托书",
  11446. "type": "string"
  11447. },
  11448. "qq": {
  11449. "description": "QQ(加密存储",
  11450. "type": "string"
  11451. },
  11452. "referral": {
  11453. "description": "推荐人编码",
  11454. "type": "string"
  11455. },
  11456. "remark": {
  11457. "description": "备注",
  11458. "type": "string"
  11459. },
  11460. "removebeforestatus": {
  11461. "description": "REMOVEBEFORESTATUS",
  11462. "type": "integer"
  11463. },
  11464. "sex": {
  11465. "description": "性别 - 0:女 1:男",
  11466. "type": "integer"
  11467. },
  11468. "signedstatus": {
  11469. "description": "账户一号签签约状态",
  11470. "type": "integer"
  11471. },
  11472. "signpdfurl": {
  11473. "description": "签约pdf文件",
  11474. "type": "string"
  11475. },
  11476. "subbranch": {
  11477. "description": "开户支行",
  11478. "type": "string"
  11479. },
  11480. "taxpayernum": {
  11481. "description": "纳税人识别号",
  11482. "type": "string"
  11483. },
  11484. "telphone": {
  11485. "description": "联系电话(加密存储)",
  11486. "type": "string"
  11487. },
  11488. "userid": {
  11489. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11490. "type": "integer"
  11491. },
  11492. "userinfotype": {
  11493. "description": "用户信息类型 - 1:个人 2:企业",
  11494. "type": "integer"
  11495. },
  11496. "username": {
  11497. "description": "用户姓名",
  11498. "type": "string"
  11499. },
  11500. "userstate": {
  11501. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11502. "type": "integer"
  11503. },
  11504. "usertype": {
  11505. "description": "用户类型 - 1:投资者 2:机构",
  11506. "type": "integer"
  11507. },
  11508. "videourl": {
  11509. "description": "视频地址",
  11510. "type": "string"
  11511. },
  11512. "wechat": {
  11513. "description": "微信号 (加密存储)",
  11514. "type": "string"
  11515. }
  11516. }
  11517. },
  11518. "erms3.CustomerInfo": {
  11519. "type": "object",
  11520. "required": [
  11521. "userid"
  11522. ],
  11523. "properties": {
  11524. "accountids": {
  11525. "description": "资金账户ID列表",
  11526. "type": "array",
  11527. "items": {
  11528. "type": "integer"
  11529. }
  11530. },
  11531. "customername": {
  11532. "description": "名称(企业名称)",
  11533. "type": "string"
  11534. },
  11535. "mobile": {
  11536. "description": "手机号码",
  11537. "type": "string"
  11538. },
  11539. "userid": {
  11540. "description": "用户ID",
  11541. "type": "integer"
  11542. }
  11543. }
  11544. },
  11545. "erms3.ModifyUserInfoApplyReq": {
  11546. "type": "object",
  11547. "required": [
  11548. "userid"
  11549. ],
  11550. "properties": {
  11551. "accountid": {
  11552. "description": "交易系统帐号Id (加密存储)",
  11553. "type": "integer"
  11554. },
  11555. "areacode": {
  11556. "description": "机构代码",
  11557. "type": "string"
  11558. },
  11559. "areaid": {
  11560. "description": "机构Id",
  11561. "type": "integer"
  11562. },
  11563. "attachment1": {
  11564. "description": "附件1",
  11565. "type": "string"
  11566. },
  11567. "attachment2": {
  11568. "description": "附件2",
  11569. "type": "string"
  11570. },
  11571. "attachment3": {
  11572. "description": "附件3",
  11573. "type": "string"
  11574. },
  11575. "attachment4": {
  11576. "description": "附件4",
  11577. "type": "string"
  11578. },
  11579. "attachment5": {
  11580. "description": "附件5",
  11581. "type": "string"
  11582. },
  11583. "auditedby": {
  11584. "description": "审核人",
  11585. "type": "string"
  11586. },
  11587. "auditime": {
  11588. "description": "审核时间",
  11589. "type": "string"
  11590. },
  11591. "auditsrc": {
  11592. "description": "审核来源 - 1:管理端 2:终端",
  11593. "type": "integer"
  11594. },
  11595. "bankaccount": {
  11596. "description": "银行帐号 (加密存储)",
  11597. "type": "string"
  11598. },
  11599. "bankaccountname": {
  11600. "description": "收款人名称",
  11601. "type": "string"
  11602. },
  11603. "bankcardbackphotourl": {
  11604. "description": "银行卡背面照地址",
  11605. "type": "string"
  11606. },
  11607. "bankcardfrontphotourl": {
  11608. "description": "银行卡正面照地址",
  11609. "type": "string"
  11610. },
  11611. "bankid": {
  11612. "description": "银行编码",
  11613. "type": "string"
  11614. },
  11615. "bankname": {
  11616. "description": "银行名称",
  11617. "type": "string"
  11618. },
  11619. "bankpictureurl": {
  11620. "description": "银行卡正面地址",
  11621. "type": "string"
  11622. },
  11623. "biznature": {
  11624. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11625. "type": "integer"
  11626. },
  11627. "bizscope": {
  11628. "description": "企业经营范围(企业)",
  11629. "type": "string"
  11630. },
  11631. "biztype": {
  11632. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11633. "type": "integer"
  11634. },
  11635. "brokerid": {
  11636. "description": "经纪人ID(加密存储)",
  11637. "type": "string"
  11638. },
  11639. "cardaddress": {
  11640. "description": "证件地址 (加密存储)",
  11641. "type": "string"
  11642. },
  11643. "cardbackphotourl": {
  11644. "description": "背面证件照地址",
  11645. "type": "string"
  11646. },
  11647. "cardfrontphotourl": {
  11648. "description": "正面证件照地址",
  11649. "type": "string"
  11650. },
  11651. "cardnum": {
  11652. "description": "证件号码 (加密存储)",
  11653. "type": "string"
  11654. },
  11655. "cardtype": {
  11656. "description": "证件类型",
  11657. "type": "integer"
  11658. },
  11659. "cityid": {
  11660. "description": "市",
  11661. "type": "integer"
  11662. },
  11663. "company": {
  11664. "description": "公司(个人)",
  11665. "type": "string"
  11666. },
  11667. "contactcardbackphotourl": {
  11668. "description": "联系人证件背面图片地址",
  11669. "type": "string"
  11670. },
  11671. "contactcardfrontphotourl": {
  11672. "description": "联系人证件正面图片地址",
  11673. "type": "string"
  11674. },
  11675. "contactname": {
  11676. "description": "联系人",
  11677. "type": "string"
  11678. },
  11679. "countryid": {
  11680. "description": "国家",
  11681. "type": "integer"
  11682. },
  11683. "createtime": {
  11684. "description": "开户申请时间",
  11685. "type": "string"
  11686. },
  11687. "cusbankid": {
  11688. "description": "签约类型",
  11689. "type": "string"
  11690. },
  11691. "cusbankname": {
  11692. "description": "签约类型名称",
  11693. "type": "string"
  11694. },
  11695. "customername": {
  11696. "description": "客户名称(企业名称)",
  11697. "type": "string"
  11698. },
  11699. "districtid": {
  11700. "description": "地区",
  11701. "type": "integer"
  11702. },
  11703. "email": {
  11704. "description": "Email地址(加密存储)",
  11705. "type": "string"
  11706. },
  11707. "halfbodyphotourl": {
  11708. "description": "半身照地址",
  11709. "type": "string"
  11710. },
  11711. "headurl": {
  11712. "description": "头像地址",
  11713. "type": "string"
  11714. },
  11715. "ipaddress": {
  11716. "description": "IP地址",
  11717. "type": "string"
  11718. },
  11719. "isvalidate": {
  11720. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11721. "type": "string"
  11722. },
  11723. "legalcardbackphotourl": {
  11724. "description": "法人身份证背面照地址",
  11725. "type": "string"
  11726. },
  11727. "legalcardfrontphotourl": {
  11728. "description": "法人身份证正面照地址",
  11729. "type": "string"
  11730. },
  11731. "legalpersonname": {
  11732. "description": "法人姓名(企业)",
  11733. "type": "string"
  11734. },
  11735. "logincode": {
  11736. "description": "登录帐号 (加密存储)",
  11737. "type": "string"
  11738. },
  11739. "memberareaid": {
  11740. "description": "所属会员ID",
  11741. "type": "integer"
  11742. },
  11743. "mobile2": {
  11744. "description": "手机号码[明文-尚志]",
  11745. "type": "string"
  11746. },
  11747. "mobilephone": {
  11748. "description": "手机号码 (加密存储)",
  11749. "type": "string"
  11750. },
  11751. "modifiedby": {
  11752. "description": "修改人帐号",
  11753. "type": "integer"
  11754. },
  11755. "modifiedtime": {
  11756. "description": "修改时间",
  11757. "type": "string"
  11758. },
  11759. "nickname": {
  11760. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11761. "type": "string"
  11762. },
  11763. "openmode": {
  11764. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11765. "type": "integer"
  11766. },
  11767. "otherurl": {
  11768. "description": "其它图片地址[使用分号分隔]",
  11769. "type": "string"
  11770. },
  11771. "postalcode": {
  11772. "description": "邮政编码",
  11773. "type": "string"
  11774. },
  11775. "provinceid": {
  11776. "description": "省",
  11777. "type": "integer"
  11778. },
  11779. "proxystatementurl": {
  11780. "description": "授权委托书",
  11781. "type": "string"
  11782. },
  11783. "qq": {
  11784. "description": "QQ(加密存储",
  11785. "type": "string"
  11786. },
  11787. "referral": {
  11788. "description": "推荐人编码",
  11789. "type": "string"
  11790. },
  11791. "remark": {
  11792. "description": "备注",
  11793. "type": "string"
  11794. },
  11795. "removebeforestatus": {
  11796. "description": "REMOVEBEFORESTATUS",
  11797. "type": "integer"
  11798. },
  11799. "sex": {
  11800. "description": "性别 - 0:女 1:男",
  11801. "type": "integer"
  11802. },
  11803. "signedstatus": {
  11804. "description": "账户一号签签约状态",
  11805. "type": "integer"
  11806. },
  11807. "signpdfurl": {
  11808. "description": "签约pdf文件",
  11809. "type": "string"
  11810. },
  11811. "subbranch": {
  11812. "description": "开户支行",
  11813. "type": "string"
  11814. },
  11815. "taxpayernum": {
  11816. "description": "纳税人识别号",
  11817. "type": "string"
  11818. },
  11819. "telphone": {
  11820. "description": "联系电话(加密存储)",
  11821. "type": "string"
  11822. },
  11823. "userid": {
  11824. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11825. "type": "integer"
  11826. },
  11827. "userinfotype": {
  11828. "description": "用户信息类型 - 1:个人 2:企业",
  11829. "type": "integer"
  11830. },
  11831. "username": {
  11832. "description": "用户姓名",
  11833. "type": "string"
  11834. },
  11835. "userstate": {
  11836. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11837. "type": "integer"
  11838. },
  11839. "usertype": {
  11840. "description": "用户类型 - 1:投资者 2:机构",
  11841. "type": "integer"
  11842. },
  11843. "videourl": {
  11844. "description": "视频地址",
  11845. "type": "string"
  11846. },
  11847. "wechat": {
  11848. "description": "微信号 (加密存储)",
  11849. "type": "string"
  11850. }
  11851. }
  11852. },
  11853. "erms3.QryAuditContractRsp": {
  11854. "type": "object",
  11855. "required": [
  11856. "matchcustomername",
  11857. "spotcontractid"
  11858. ],
  11859. "properties": {
  11860. "accountid": {
  11861. "description": "交易员ID",
  11862. "type": "string"
  11863. },
  11864. "applystatus": {
  11865. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11866. "type": "integer"
  11867. },
  11868. "curdeliveryqty": {
  11869. "description": "未交收量",
  11870. "type": "integer"
  11871. },
  11872. "customername": {
  11873. "description": "采购方ID",
  11874. "type": "string"
  11875. },
  11876. "deliverygoodsid": {
  11877. "description": "品种ID",
  11878. "type": "string"
  11879. },
  11880. "deliveryqty": {
  11881. "description": "交收量",
  11882. "type": "integer"
  11883. },
  11884. "enumdicname": {
  11885. "description": "单位名称",
  11886. "type": "string"
  11887. },
  11888. "matchaccountid": {
  11889. "description": "业务员ID",
  11890. "type": "string"
  11891. },
  11892. "matchcustomername": {
  11893. "description": "销售方ID",
  11894. "type": "string"
  11895. },
  11896. "pricedqty": {
  11897. "description": "定价量",
  11898. "type": "number"
  11899. },
  11900. "signdate": {
  11901. "description": "签订日期",
  11902. "type": "string"
  11903. },
  11904. "spotcontractid": {
  11905. "description": "合同ID",
  11906. "type": "string"
  11907. },
  11908. "totaldqty": {
  11909. "description": "合同量",
  11910. "type": "number"
  11911. },
  11912. "unpricedqty": {
  11913. "description": "未定价量",
  11914. "type": "number"
  11915. },
  11916. "wrstandardname": {
  11917. "description": "商品名称",
  11918. "type": "string"
  11919. }
  11920. }
  11921. },
  11922. "erms3.QryPendingBizRsp": {
  11923. "$ref": "#/definitions/models.PendingAuditBizModel"
  11924. },
  11925. "erms3.QueryBusinessInfoRsp": {
  11926. "type": "object",
  11927. "properties": {
  11928. "businessid": {
  11929. "description": "业务ID.",
  11930. "type": "integer"
  11931. },
  11932. "buyamount": {
  11933. "description": "采购额.",
  11934. "type": "number"
  11935. },
  11936. "buyqty": {
  11937. "description": "采购量.",
  11938. "type": "string"
  11939. },
  11940. "futurepl": {
  11941. "description": "期货盈亏.",
  11942. "type": "number"
  11943. },
  11944. "futureqty": {
  11945. "description": "期货敞口.",
  11946. "type": "string"
  11947. },
  11948. "goodsid": {
  11949. "description": "商品名称/商品代码.",
  11950. "type": "string"
  11951. },
  11952. "hedgingqty": {
  11953. "description": "套保量.",
  11954. "type": "string"
  11955. },
  11956. "sellamount": {
  11957. "description": "销售额.",
  11958. "type": "number"
  11959. },
  11960. "sellqty": {
  11961. "description": "销售量.",
  11962. "type": "string"
  11963. },
  11964. "spotmarketvalue": {
  11965. "description": "现货市值.",
  11966. "type": "number"
  11967. },
  11968. "spotpl": {
  11969. "description": "浮动权益.",
  11970. "type": "number"
  11971. },
  11972. "spotqty": {
  11973. "description": "现货量.",
  11974. "type": "string"
  11975. },
  11976. "statu": {
  11977. "description": "状态,0-未结束 1-已结束.",
  11978. "type": "integer"
  11979. },
  11980. "totalpl": {
  11981. "description": "总盈亏.",
  11982. "type": "number"
  11983. },
  11984. "totalqty": {
  11985. "description": "总敞口.",
  11986. "type": "string"
  11987. },
  11988. "type": {
  11989. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11990. "type": "integer"
  11991. }
  11992. }
  11993. },
  11994. "erms3.QuerySpotContractAppleFormRsp": {
  11995. "type": "object",
  11996. "properties": {
  11997. "goodses": {
  11998. "description": "合约列表",
  11999. "type": "array",
  12000. "items": {
  12001. "$ref": "#/definitions/models.GoodsIDAndName"
  12002. }
  12003. },
  12004. "oppositeusers": {
  12005. "description": "对方账号列表",
  12006. "type": "array",
  12007. "items": {
  12008. "$ref": "#/definitions/erms3.CustomerInfo"
  12009. }
  12010. },
  12011. "ouruser": {
  12012. "description": "我方账号",
  12013. "type": "object",
  12014. "$ref": "#/definitions/erms3.CustomerInfo"
  12015. },
  12016. "warehouseinfos": {
  12017. "description": "仓库信息列表",
  12018. "type": "array",
  12019. "items": {
  12020. "$ref": "#/definitions/models.Warehouseinfo"
  12021. }
  12022. },
  12023. "wrstandards": {
  12024. "description": "仓单标准列表",
  12025. "type": "array",
  12026. "items": {
  12027. "$ref": "#/definitions/models.WRStandardInfo"
  12028. }
  12029. }
  12030. }
  12031. },
  12032. "erms3.QuerySpotContractInfoRsp": {
  12033. "type": "object",
  12034. "properties": {
  12035. "accountid": {
  12036. "description": "表示交易员ID.",
  12037. "type": "integer"
  12038. },
  12039. "curdeliveryqty": {
  12040. "description": "表示未交收量.",
  12041. "type": "number"
  12042. },
  12043. "customername": {
  12044. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12045. "type": "string"
  12046. },
  12047. "deliverygoodsid": {
  12048. "description": "表示品种ID.",
  12049. "type": "string"
  12050. },
  12051. "deliveryqty": {
  12052. "description": "表示交收量.",
  12053. "type": "number"
  12054. },
  12055. "matchaccountid": {
  12056. "description": "表示业务员ID.",
  12057. "type": "integer"
  12058. },
  12059. "matchcustomername": {
  12060. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12061. "type": "string"
  12062. },
  12063. "priceqty": {
  12064. "description": "表示定价量.",
  12065. "type": "number"
  12066. },
  12067. "relatedbizid": {
  12068. "description": "表示业务ID.",
  12069. "type": "string"
  12070. },
  12071. "signdate": {
  12072. "description": "表示签订日期.",
  12073. "type": "string"
  12074. },
  12075. "spotcontractid": {
  12076. "description": "合同ID",
  12077. "type": "string"
  12078. },
  12079. "status": {
  12080. "description": "表示状态,0-履约中 1-已完成.",
  12081. "type": "integer"
  12082. },
  12083. "totalqty": {
  12084. "description": "表示合同量.",
  12085. "type": "number"
  12086. },
  12087. "unpricedqty": {
  12088. "description": "表示未定价量.",
  12089. "type": "number"
  12090. },
  12091. "wrstandardname": {
  12092. "description": "表示商品ID.",
  12093. "type": "string"
  12094. }
  12095. }
  12096. },
  12097. "erms3.QueryUserInfoAppliesRsp": {
  12098. "type": "object",
  12099. "required": [
  12100. "userid"
  12101. ],
  12102. "properties": {
  12103. "biznature": {
  12104. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12105. "type": "integer"
  12106. },
  12107. "contactname": {
  12108. "description": "联系人",
  12109. "type": "string"
  12110. },
  12111. "createtime": {
  12112. "description": "开户申请时间",
  12113. "type": "string"
  12114. },
  12115. "userid": {
  12116. "description": "用户ID(自增ID)",
  12117. "type": "integer"
  12118. },
  12119. "userinfotype": {
  12120. "description": "用户信息类型 - 1:个人 2:企业",
  12121. "type": "integer"
  12122. },
  12123. "username": {
  12124. "description": "用户姓名",
  12125. "type": "string"
  12126. },
  12127. "userstate": {
  12128. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12129. "type": "integer"
  12130. }
  12131. }
  12132. },
  12133. "erms3.QueryUserInfosRsp": {
  12134. "type": "object",
  12135. "required": [
  12136. "userid"
  12137. ],
  12138. "properties": {
  12139. "biznature": {
  12140. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12141. "type": "integer"
  12142. },
  12143. "contactname": {
  12144. "description": "联系人",
  12145. "type": "string"
  12146. },
  12147. "customername": {
  12148. "description": "客户名称(企业名称)",
  12149. "type": "string"
  12150. },
  12151. "userid": {
  12152. "description": "用户ID",
  12153. "type": "integer"
  12154. },
  12155. "userinfotype": {
  12156. "description": "用户信息类型 - 1:个人 2:企业",
  12157. "type": "integer"
  12158. },
  12159. "userstatus": {
  12160. "description": "用户状态 - 1:正常 2:注销",
  12161. "type": "integer"
  12162. }
  12163. }
  12164. },
  12165. "erms3.SoptContractDetail": {
  12166. "type": "object",
  12167. "required": [
  12168. "deliverygoodsid",
  12169. "producttype",
  12170. "unitname",
  12171. "warehouseid",
  12172. "wrstandardid",
  12173. "wrstandardname"
  12174. ],
  12175. "properties": {
  12176. "deliverygoodsdesc": {
  12177. "description": "现货品种说明",
  12178. "type": "string"
  12179. },
  12180. "deliverygoodsid": {
  12181. "description": "现货品种ID",
  12182. "type": "integer"
  12183. },
  12184. "deliverygoodsname": {
  12185. "description": "现货品种名称",
  12186. "type": "string"
  12187. },
  12188. "pointdesc": {
  12189. "description": "点价描述",
  12190. "type": "string"
  12191. },
  12192. "producttype": {
  12193. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12194. "type": "integer"
  12195. },
  12196. "producttypename": {
  12197. "description": "产品类型名称",
  12198. "type": "string"
  12199. },
  12200. "spotPointOrderVoList": {
  12201. "description": "点价列表",
  12202. "type": "array",
  12203. "items": {
  12204. "$ref": "#/definitions/erms3.SpotPointOrder"
  12205. }
  12206. },
  12207. "spotPriceOrderList": {
  12208. "description": "定价列表",
  12209. "type": "array",
  12210. "items": {
  12211. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12212. }
  12213. },
  12214. "unitname": {
  12215. "description": "单位名称",
  12216. "type": "string"
  12217. },
  12218. "warehouseid": {
  12219. "description": "仓库ID",
  12220. "type": "integer"
  12221. },
  12222. "warehousename": {
  12223. "description": "仓库名称",
  12224. "type": "string"
  12225. },
  12226. "wrstandardid": {
  12227. "description": "交易标的ID",
  12228. "type": "integer"
  12229. },
  12230. "wrstandardname": {
  12231. "description": "交易标的名称",
  12232. "type": "string"
  12233. }
  12234. }
  12235. },
  12236. "erms3.SpotPointOrder": {
  12237. "type": "object",
  12238. "required": [
  12239. "basic",
  12240. "goodsid",
  12241. "qty"
  12242. ],
  12243. "properties": {
  12244. "basic": {
  12245. "description": "基差",
  12246. "type": "number"
  12247. },
  12248. "deliveryenddate": {
  12249. "description": "交收结束日期",
  12250. "type": "string"
  12251. },
  12252. "deliverystartdate": {
  12253. "description": "交收开始日期",
  12254. "type": "string"
  12255. },
  12256. "enddate": {
  12257. "description": "点价结束日期",
  12258. "type": "string"
  12259. },
  12260. "goodsid": {
  12261. "description": "商品ID",
  12262. "type": "integer"
  12263. },
  12264. "goodsname": {
  12265. "description": "商品名称",
  12266. "type": "string"
  12267. },
  12268. "qty": {
  12269. "description": "数量",
  12270. "type": "number"
  12271. },
  12272. "startdate": {
  12273. "description": "点价开始日期",
  12274. "type": "string"
  12275. }
  12276. }
  12277. },
  12278. "erms3.SpotPriceOrder": {
  12279. "type": "object",
  12280. "required": [
  12281. "amount",
  12282. "price",
  12283. "qty"
  12284. ],
  12285. "properties": {
  12286. "amount": {
  12287. "description": "金额",
  12288. "type": "number"
  12289. },
  12290. "deliveryenddate": {
  12291. "description": "交收结束日期",
  12292. "type": "string"
  12293. },
  12294. "deliverystartdate": {
  12295. "description": "交收开始日期",
  12296. "type": "string"
  12297. },
  12298. "price": {
  12299. "description": "价格",
  12300. "type": "number"
  12301. },
  12302. "qty": {
  12303. "description": "数量",
  12304. "type": "number"
  12305. }
  12306. }
  12307. },
  12308. "hsby.GetHsbyMyCountRsp": {
  12309. "type": "object",
  12310. "properties": {
  12311. "myCouponCount": {
  12312. "description": "我的优惠卷数量",
  12313. "type": "integer"
  12314. },
  12315. "myOrderDetailListingCount": {
  12316. "description": "我的订单求购中数量",
  12317. "type": "integer"
  12318. },
  12319. "myOrderDetailPreCount": {
  12320. "description": "我的订单抢购中数量",
  12321. "type": "integer"
  12322. },
  12323. "myPackageUnReceiveCount": {
  12324. "description": "我的包裹待收货数量",
  12325. "type": "integer"
  12326. },
  12327. "myPackageUnSendCount": {
  12328. "description": "我的包裹待发货数量",
  12329. "type": "integer"
  12330. },
  12331. "myPayOrderCount": {
  12332. "description": "我的订单待付款数量",
  12333. "type": "integer"
  12334. }
  12335. }
  12336. },
  12337. "hsby.QueryProvincesAndCitiesRsp": {
  12338. "type": "object",
  12339. "properties": {
  12340. "cities": {
  12341. "description": "市",
  12342. "type": "array",
  12343. "items": {
  12344. "$ref": "#/definitions/models.Division"
  12345. }
  12346. },
  12347. "province": {
  12348. "description": "省",
  12349. "type": "object",
  12350. "$ref": "#/definitions/models.Division"
  12351. }
  12352. }
  12353. },
  12354. "models.AreaSpotModel": {
  12355. "type": "object",
  12356. "properties": {
  12357. "areauserid": {
  12358. "description": "所属机构",
  12359. "type": "integer"
  12360. },
  12361. "decreaseqty": {
  12362. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12363. "type": "number"
  12364. },
  12365. "increaseqty": {
  12366. "description": "增加数量=销售计划数量+采购已定价数量",
  12367. "type": "number"
  12368. },
  12369. "oritoalspotqty": {
  12370. "description": "昨日数量",
  12371. "type": "number"
  12372. },
  12373. "totalspotqty": {
  12374. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12375. "type": "number"
  12376. },
  12377. "updatetime": {
  12378. "description": "更新时间",
  12379. "type": "string"
  12380. },
  12381. "wrstandardcode": {
  12382. "description": "现货品种代码",
  12383. "type": "string"
  12384. },
  12385. "wrstandardid": {
  12386. "description": "现货商品ID",
  12387. "type": "integer"
  12388. },
  12389. "wrstandardname": {
  12390. "description": "现货品种",
  12391. "type": "string"
  12392. }
  12393. }
  12394. },
  12395. "models.Arearole": {
  12396. "type": "object",
  12397. "required": [
  12398. "roletype",
  12399. "userid"
  12400. ],
  12401. "properties": {
  12402. "createtime": {
  12403. "description": "创建时间",
  12404. "type": "string"
  12405. },
  12406. "creatorid": {
  12407. "description": "创建人ID",
  12408. "type": "integer"
  12409. },
  12410. "isreturnscore": {
  12411. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12412. "type": "integer"
  12413. },
  12414. "modifierid": {
  12415. "description": "修改人ID",
  12416. "type": "integer"
  12417. },
  12418. "modifytime": {
  12419. "description": "修改时间",
  12420. "type": "string"
  12421. },
  12422. "orgtype": {
  12423. "description": "组织机构类型 1:机构 2:交易员",
  12424. "type": "integer"
  12425. },
  12426. "outuserid": {
  12427. "description": "外部账户[场外期权做市商]",
  12428. "type": "string"
  12429. },
  12430. "parentuserid": {
  12431. "description": "上级组织机构(组织机构)",
  12432. "type": "integer"
  12433. },
  12434. "roletype": {
  12435. "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:交易员",
  12436. "type": "integer"
  12437. },
  12438. "rootuserid": {
  12439. "description": "顶级组织机构用户ID(组织机构)",
  12440. "type": "integer"
  12441. },
  12442. "shoppassword": {
  12443. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12444. "type": "string"
  12445. },
  12446. "sublevelpath": {
  12447. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12448. "type": "string"
  12449. },
  12450. "tradeaccountid": {
  12451. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12452. "type": "integer"
  12453. },
  12454. "transurl": {
  12455. "description": "物流地址(物流机构)",
  12456. "type": "string"
  12457. },
  12458. "userid": {
  12459. "description": "机构用户ID其他做市关系,都设置为 1",
  12460. "type": "integer"
  12461. }
  12462. }
  12463. },
  12464. "models.Clientfixedadconfig": {
  12465. "type": "object",
  12466. "required": [
  12467. "adsort",
  12468. "adtype"
  12469. ],
  12470. "properties": {
  12471. "adsort": {
  12472. "description": "排序",
  12473. "type": "integer"
  12474. },
  12475. "adtype": {
  12476. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12477. "type": "integer"
  12478. },
  12479. "areauserid": {
  12480. "description": "所属机构ID",
  12481. "type": "integer"
  12482. },
  12483. "createdate": {
  12484. "description": "创建时间",
  12485. "type": "string"
  12486. },
  12487. "creatorid": {
  12488. "description": "创建人",
  12489. "type": "integer"
  12490. },
  12491. "imagepath": {
  12492. "description": "图片",
  12493. "type": "string"
  12494. },
  12495. "isshow": {
  12496. "description": "是否展示 - 0:不展示 1:展示",
  12497. "type": "integer"
  12498. },
  12499. "modifierid": {
  12500. "description": "操作人",
  12501. "type": "integer"
  12502. },
  12503. "recsize": {
  12504. "description": "推荐尺寸",
  12505. "type": "string"
  12506. },
  12507. "title": {
  12508. "description": "标题",
  12509. "type": "string"
  12510. },
  12511. "updatedate": {
  12512. "description": "更新时间",
  12513. "type": "string"
  12514. },
  12515. "urlcontent": {
  12516. "description": "链接(地址或商品ID)",
  12517. "type": "string"
  12518. },
  12519. "urltype": {
  12520. "description": "链接类型 - 1:直接地址 2:商品ID",
  12521. "type": "integer"
  12522. }
  12523. }
  12524. },
  12525. "models.Division": {
  12526. "type": "object",
  12527. "required": [
  12528. "autoid",
  12529. "divisioncode"
  12530. ],
  12531. "properties": {
  12532. "autoid": {
  12533. "description": "自增ID",
  12534. "type": "integer"
  12535. },
  12536. "divisioncode": {
  12537. "description": "行政代码",
  12538. "type": "string"
  12539. },
  12540. "divisionlevel": {
  12541. "description": "行政级别",
  12542. "type": "string"
  12543. },
  12544. "divisionname": {
  12545. "description": "行政名称",
  12546. "type": "string"
  12547. },
  12548. "modifierid": {
  12549. "description": "修改人",
  12550. "type": "integer"
  12551. },
  12552. "modifytime": {
  12553. "description": "修改时间",
  12554. "type": "string"
  12555. },
  12556. "parentcode": {
  12557. "description": "上级行政代码",
  12558. "type": "string"
  12559. },
  12560. "pathname": {
  12561. "description": "路径名称",
  12562. "type": "string"
  12563. },
  12564. "postcode": {
  12565. "description": "邮政编码",
  12566. "type": "string"
  12567. },
  12568. "separablename": {
  12569. "description": "可拆分的全称",
  12570. "type": "string"
  12571. },
  12572. "shortcode": {
  12573. "description": "地区简码",
  12574. "type": "string"
  12575. }
  12576. }
  12577. },
  12578. "models.Enumdicitem": {
  12579. "type": "object",
  12580. "required": [
  12581. "autoid",
  12582. "enumdiccode",
  12583. "enumdicid",
  12584. "enumitemname"
  12585. ],
  12586. "properties": {
  12587. "autoid": {
  12588. "description": "自增ID",
  12589. "type": "integer"
  12590. },
  12591. "bankmappedvalue": {
  12592. "description": "银行服务对应值",
  12593. "type": "string"
  12594. },
  12595. "enumdiccode": {
  12596. "description": "所属枚举代码",
  12597. "type": "string"
  12598. },
  12599. "enumdicid": {
  12600. "description": "所属枚举ID",
  12601. "type": "integer"
  12602. },
  12603. "enumdicname": {
  12604. "description": "枚举项名称",
  12605. "type": "string"
  12606. },
  12607. "enumitemname": {
  12608. "description": "枚举项值",
  12609. "type": "integer"
  12610. },
  12611. "enumitemstatus": {
  12612. "description": "枚举项状态 - 1.启用 2.不启用",
  12613. "type": "integer"
  12614. },
  12615. "enumitemvalue": {
  12616. "description": "通用值 - [币种通用简写]",
  12617. "type": "string"
  12618. },
  12619. "param1": {
  12620. "description": "参数1[币种:币种小数位]",
  12621. "type": "string"
  12622. },
  12623. "param2": {
  12624. "description": "参数1[币种:币种显示单位]",
  12625. "type": "string"
  12626. },
  12627. "remark": {
  12628. "description": "备注",
  12629. "type": "string"
  12630. }
  12631. }
  12632. },
  12633. "models.Ermcp3AreaSpot": {
  12634. "type": "object",
  12635. "properties": {
  12636. "areauserid": {
  12637. "description": "所属机构",
  12638. "type": "integer"
  12639. },
  12640. "decreaseqty": {
  12641. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12642. "type": "number"
  12643. },
  12644. "deliverygoodscode": {
  12645. "description": "现货品种代码",
  12646. "type": "string"
  12647. },
  12648. "deliverygoodsid": {
  12649. "description": "现货品种id",
  12650. "type": "integer"
  12651. },
  12652. "deliverygoodsname": {
  12653. "description": "现货品种名称",
  12654. "type": "string"
  12655. },
  12656. "enumdicname": {
  12657. "description": "单位名称",
  12658. "type": "string"
  12659. },
  12660. "goodsunitid": {
  12661. "description": "现货品种单位id",
  12662. "type": "integer"
  12663. },
  12664. "increaseqty": {
  12665. "description": "增加数量=销售计划数量+采购已定价数量",
  12666. "type": "number"
  12667. },
  12668. "oritoalspotqty": {
  12669. "description": "昨日数量",
  12670. "type": "number"
  12671. },
  12672. "totalspotqty": {
  12673. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12674. "type": "number"
  12675. },
  12676. "updatetime": {
  12677. "description": "更新时间",
  12678. "type": "string"
  12679. }
  12680. }
  12681. },
  12682. "models.Ermcp3AreaSpotDetail": {
  12683. "type": "object",
  12684. "properties": {
  12685. "contracttype": {
  12686. "description": "合同类型 1-采购 -1-销售",
  12687. "type": "integer"
  12688. },
  12689. "createtime": {
  12690. "description": "创建时间",
  12691. "type": "string"
  12692. },
  12693. "deliverygoodscode": {
  12694. "description": "现货品种代码",
  12695. "type": "string"
  12696. },
  12697. "deliverygoodsid": {
  12698. "description": "现货品种id",
  12699. "type": "integer"
  12700. },
  12701. "deliverygoodsname": {
  12702. "description": "现货品种名称",
  12703. "type": "string"
  12704. },
  12705. "enumdicname": {
  12706. "description": "现货商品单位名称",
  12707. "type": "string"
  12708. },
  12709. "logtype": {
  12710. "description": "记录类型 1-套保 2-现货合同",
  12711. "type": "integer"
  12712. },
  12713. "qty": {
  12714. "description": "数量",
  12715. "type": "number"
  12716. },
  12717. "recordname": {
  12718. "description": "类型名称",
  12719. "type": "string"
  12720. },
  12721. "relatedid": {
  12722. "description": "套保计划ID/现货合同ID",
  12723. "type": "string"
  12724. },
  12725. "relatedno": {
  12726. "description": "编号",
  12727. "type": "string"
  12728. },
  12729. "strtime": {
  12730. "description": "时间",
  12731. "type": "string"
  12732. }
  12733. }
  12734. },
  12735. "models.Ermcp3AreaSpotPLReport": {
  12736. "type": "object",
  12737. "properties": {
  12738. "accountid": {
  12739. "description": "期货账户ID (作废, 默认为0)",
  12740. "type": "integer"
  12741. },
  12742. "accountname": {
  12743. "description": "机构名称",
  12744. "type": "string"
  12745. },
  12746. "actualpl": {
  12747. "description": "现货损益",
  12748. "type": "number"
  12749. },
  12750. "areauserid": {
  12751. "description": "所属机构\\交易用户ID",
  12752. "type": "integer"
  12753. },
  12754. "begindate": {
  12755. "description": "开始交易日",
  12756. "type": "string"
  12757. },
  12758. "biztype": {
  12759. "description": "业务类型 - 1:套保 2:套利",
  12760. "type": "integer"
  12761. },
  12762. "brandname": {
  12763. "description": "品牌名称",
  12764. "type": "string"
  12765. },
  12766. "curamount": {
  12767. "description": "期末额",
  12768. "type": "number"
  12769. },
  12770. "curaverageprice": {
  12771. "description": "期末均价",
  12772. "type": "number"
  12773. },
  12774. "curbuyamount": {
  12775. "description": "期末采购总额",
  12776. "type": "number"
  12777. },
  12778. "curbuyqty": {
  12779. "description": "期末采购总量",
  12780. "type": "number"
  12781. },
  12782. "curmarketvalue": {
  12783. "description": "参考市值(期末市值)",
  12784. "type": "number"
  12785. },
  12786. "curqty": {
  12787. "description": "期末量",
  12788. "type": "number"
  12789. },
  12790. "currencyid": {
  12791. "description": "结算币种ID【原值】",
  12792. "type": "integer"
  12793. },
  12794. "currencyname": {
  12795. "description": "币种名称",
  12796. "type": "string"
  12797. },
  12798. "cursellamount": {
  12799. "description": "期末销售总额",
  12800. "type": "number"
  12801. },
  12802. "cursellqty": {
  12803. "description": "期末销售总量",
  12804. "type": "number"
  12805. },
  12806. "curspotprice": {
  12807. "description": "参考市价(最新价)",
  12808. "type": "number"
  12809. },
  12810. "cycletime": {
  12811. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12812. "type": "string"
  12813. },
  12814. "cycletype": {
  12815. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12816. "type": "integer"
  12817. },
  12818. "deliverygoodscode": {
  12819. "description": "现货商品代码",
  12820. "type": "string"
  12821. },
  12822. "deliverygoodsid": {
  12823. "description": "现货品种ID",
  12824. "type": "integer"
  12825. },
  12826. "deliverygoodsname": {
  12827. "description": "现货商品名称",
  12828. "type": "string"
  12829. },
  12830. "enddate": {
  12831. "description": "结束交易日",
  12832. "type": "string"
  12833. },
  12834. "enumdicname": {
  12835. "description": "现货商品单位名称",
  12836. "type": "string"
  12837. },
  12838. "floatpl": {
  12839. "description": "浮动损益",
  12840. "type": "number"
  12841. },
  12842. "goodsunitid": {
  12843. "description": "现货商品单位id",
  12844. "type": "integer"
  12845. },
  12846. "oriamount": {
  12847. "description": "期初额",
  12848. "type": "number"
  12849. },
  12850. "oriaverageprice": {
  12851. "description": "期初均价",
  12852. "type": "number"
  12853. },
  12854. "oribuyamount": {
  12855. "description": "期初采购总额",
  12856. "type": "number"
  12857. },
  12858. "oribuyqty": {
  12859. "description": "期初采购总量",
  12860. "type": "number"
  12861. },
  12862. "oriqty": {
  12863. "description": "期初量",
  12864. "type": "number"
  12865. },
  12866. "orisellamount": {
  12867. "description": "期初销售总额",
  12868. "type": "number"
  12869. },
  12870. "orisellqty": {
  12871. "description": "期初销售总量",
  12872. "type": "number"
  12873. },
  12874. "reckondate": {
  12875. "description": "日照时期(yyyyMMdd)",
  12876. "type": "string"
  12877. },
  12878. "spotgoodsbrandid": {
  12879. "description": "现货品牌ID",
  12880. "type": "integer"
  12881. },
  12882. "todaybuyamount": {
  12883. "description": "今日采购额(今采购额)",
  12884. "type": "number"
  12885. },
  12886. "todaybuyaverageprice": {
  12887. "description": "今日采购均价",
  12888. "type": "number"
  12889. },
  12890. "todaybuyqty": {
  12891. "description": "今日采购量(今采购量)",
  12892. "type": "number"
  12893. },
  12894. "todayinqty": {
  12895. "description": "今日入库量(今入库量)",
  12896. "type": "number"
  12897. },
  12898. "todayoutqty": {
  12899. "description": "今日出库量(今出库量)",
  12900. "type": "number"
  12901. },
  12902. "todaysellamount": {
  12903. "description": "今日销售额(今销售额)",
  12904. "type": "number"
  12905. },
  12906. "todaysellaverageprice": {
  12907. "description": "今日销售均价",
  12908. "type": "number"
  12909. },
  12910. "todaysellqty": {
  12911. "description": "今日销售量(今销售量)",
  12912. "type": "number"
  12913. },
  12914. "unitid": {
  12915. "description": "品类单位id",
  12916. "type": "integer"
  12917. },
  12918. "unitidname": {
  12919. "description": "品类单位名称",
  12920. "type": "string"
  12921. },
  12922. "updatetime": {
  12923. "description": "更新时间",
  12924. "type": "string"
  12925. },
  12926. "wrfactortypeid": {
  12927. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12928. "type": "integer"
  12929. },
  12930. "wrstandardcode": {
  12931. "description": "品类代码",
  12932. "type": "string"
  12933. },
  12934. "wrstandardid": {
  12935. "description": "现货品类ID",
  12936. "type": "integer"
  12937. },
  12938. "wrstandardname": {
  12939. "description": "品类名称",
  12940. "type": "string"
  12941. }
  12942. }
  12943. },
  12944. "models.Ermcp3AreaStock": {
  12945. "type": "object",
  12946. "required": [
  12947. "userid"
  12948. ],
  12949. "properties": {
  12950. "brandname": {
  12951. "description": "品牌名称",
  12952. "type": "string"
  12953. },
  12954. "curstock": {
  12955. "description": "期末库存量(今日量)",
  12956. "type": "number"
  12957. },
  12958. "deliverygoodscode": {
  12959. "description": "现货品种代码",
  12960. "type": "string"
  12961. },
  12962. "deliverygoodsid": {
  12963. "description": "现货品种id",
  12964. "type": "integer"
  12965. },
  12966. "deliverygoodsname": {
  12967. "description": "现货品种名称",
  12968. "type": "string"
  12969. },
  12970. "enumdicname": {
  12971. "description": "单位名称",
  12972. "type": "string"
  12973. },
  12974. "goodsunitid": {
  12975. "description": "现货商品单位id",
  12976. "type": "integer"
  12977. },
  12978. "oristock": {
  12979. "description": "期初库存量(昨日量)",
  12980. "type": "number"
  12981. },
  12982. "spotgoodsbrandid": {
  12983. "description": "现货品牌ID",
  12984. "type": "integer"
  12985. },
  12986. "todaybuyinqty": {
  12987. "description": "今日采购入库量",
  12988. "type": "number"
  12989. },
  12990. "todayproduceinqty": {
  12991. "description": "今日生产入库量",
  12992. "type": "number"
  12993. },
  12994. "todayproduceoutqty": {
  12995. "description": "今日生产出库量",
  12996. "type": "number"
  12997. },
  12998. "todayselloutqty": {
  12999. "description": "今日销售出库量",
  13000. "type": "number"
  13001. },
  13002. "unitid": {
  13003. "description": "单位id",
  13004. "type": "integer"
  13005. },
  13006. "updatetime": {
  13007. "description": "更新时间",
  13008. "type": "string"
  13009. },
  13010. "userid": {
  13011. "description": "机构ID",
  13012. "type": "integer"
  13013. },
  13014. "username": {
  13015. "description": "机构名称",
  13016. "type": "string"
  13017. },
  13018. "warehousecode": {
  13019. "description": "仓库代码",
  13020. "type": "string"
  13021. },
  13022. "warehouseinfoid": {
  13023. "description": "仓库ID",
  13024. "type": "string"
  13025. },
  13026. "warehousename": {
  13027. "description": "仓库名称",
  13028. "type": "string"
  13029. },
  13030. "warehousetype": {
  13031. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13032. "type": "integer"
  13033. },
  13034. "wrstandardcode": {
  13035. "description": "品类代码",
  13036. "type": "string"
  13037. },
  13038. "wrstandardid": {
  13039. "description": "品类ID",
  13040. "type": "string"
  13041. },
  13042. "wrstandardname": {
  13043. "description": "品类名称",
  13044. "type": "string"
  13045. }
  13046. }
  13047. },
  13048. "models.Ermcp3AreaStockApply": {
  13049. "type": "object",
  13050. "properties": {
  13051. "applyid": {
  13052. "description": "申请人",
  13053. "type": "integer"
  13054. },
  13055. "applyname": {
  13056. "description": "申请人名称",
  13057. "type": "string"
  13058. },
  13059. "applyremark": {
  13060. "description": "申请备注",
  13061. "type": "string"
  13062. },
  13063. "applysrc": {
  13064. "description": "申请来源 - 1:管理端 2:终端",
  13065. "type": "integer"
  13066. },
  13067. "applystatus": {
  13068. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13069. "type": "integer"
  13070. },
  13071. "applytime": {
  13072. "description": "申请时间",
  13073. "type": "string"
  13074. },
  13075. "auditid": {
  13076. "description": "审核人",
  13077. "type": "integer"
  13078. },
  13079. "auditname": {
  13080. "description": "审核人名称",
  13081. "type": "string"
  13082. },
  13083. "auditremark": {
  13084. "description": "审核备注",
  13085. "type": "string"
  13086. },
  13087. "auditsrc": {
  13088. "description": "审核来源 - 1:管理端 2:终端",
  13089. "type": "integer"
  13090. },
  13091. "audittime": {
  13092. "description": "审核时间",
  13093. "type": "string"
  13094. },
  13095. "audittradedate": {
  13096. "description": "审核交易日(yyyyMMdd)",
  13097. "type": "string"
  13098. },
  13099. "brandname": {
  13100. "description": "品牌名称",
  13101. "type": "string"
  13102. },
  13103. "buynickname": {
  13104. "description": "采购方昵称",
  13105. "type": "string"
  13106. },
  13107. "buyuserid": {
  13108. "description": "采购方userid",
  13109. "type": "integer"
  13110. },
  13111. "buyusername": {
  13112. "description": "采购方名称",
  13113. "type": "string"
  13114. },
  13115. "contractno": {
  13116. "description": "合同编号",
  13117. "type": "string"
  13118. },
  13119. "contractqty": {
  13120. "description": "合同量",
  13121. "type": "number"
  13122. },
  13123. "contracttype": {
  13124. "description": "现货合同类型 - 1:采购 -1:销售",
  13125. "type": "integer"
  13126. },
  13127. "deliverygoodscode": {
  13128. "description": "现货品种代码",
  13129. "type": "string"
  13130. },
  13131. "deliverygoodsid": {
  13132. "description": "现货品种id",
  13133. "type": "integer"
  13134. },
  13135. "deliverygoodsname": {
  13136. "description": "现货品种名称",
  13137. "type": "string"
  13138. },
  13139. "detailjson": {
  13140. "description": "明细数据",
  13141. "type": "string"
  13142. },
  13143. "enumdicname": {
  13144. "description": "现货商品单位名称",
  13145. "type": "string"
  13146. },
  13147. "inoutapplyid": {
  13148. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13149. "type": "string"
  13150. },
  13151. "inouttype": {
  13152. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13153. "type": "integer"
  13154. },
  13155. "pricetype": {
  13156. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13157. "type": "integer"
  13158. },
  13159. "qty": {
  13160. "description": "数量",
  13161. "type": "number"
  13162. },
  13163. "sellnickname": {
  13164. "description": "销售方昵称",
  13165. "type": "string"
  13166. },
  13167. "selluserid": {
  13168. "description": "销售方userid",
  13169. "type": "integer"
  13170. },
  13171. "sellusername": {
  13172. "description": "销售方名称",
  13173. "type": "string"
  13174. },
  13175. "spotcontractid": {
  13176. "description": "关联现货合同ID",
  13177. "type": "string"
  13178. },
  13179. "spotgoodsbrandid": {
  13180. "description": "现货品牌ID",
  13181. "type": "integer"
  13182. },
  13183. "unitid": {
  13184. "description": "单位id",
  13185. "type": "integer"
  13186. },
  13187. "userid": {
  13188. "description": "机构ID",
  13189. "type": "integer"
  13190. },
  13191. "warehousecode": {
  13192. "description": "仓库代码",
  13193. "type": "string"
  13194. },
  13195. "warehouseinfoid": {
  13196. "description": "现货仓库ID",
  13197. "type": "string"
  13198. },
  13199. "warehousename": {
  13200. "description": "仓库名称",
  13201. "type": "string"
  13202. },
  13203. "warehousetype": {
  13204. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13205. "type": "integer"
  13206. },
  13207. "wrstandardcode": {
  13208. "description": "品类代码",
  13209. "type": "string"
  13210. },
  13211. "wrstandardid": {
  13212. "description": "品类ID",
  13213. "type": "integer"
  13214. },
  13215. "wrstandardname": {
  13216. "description": "品类名称",
  13217. "type": "string"
  13218. }
  13219. }
  13220. },
  13221. "models.Ermcp3AreaStockApplySum": {
  13222. "type": "object",
  13223. "properties": {
  13224. "brandname": {
  13225. "description": "品牌名称",
  13226. "type": "string"
  13227. },
  13228. "inouttype": {
  13229. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13230. "type": "integer"
  13231. },
  13232. "spotcontractid": {
  13233. "description": "关联现货合同ID",
  13234. "type": "string"
  13235. },
  13236. "spotgoodsbrandid": {
  13237. "description": "品牌id",
  13238. "type": "integer"
  13239. },
  13240. "totalqty": {
  13241. "description": "总数量",
  13242. "type": "number"
  13243. },
  13244. "wrstandardid": {
  13245. "description": "品类id",
  13246. "type": "integer"
  13247. },
  13248. "wrstandardname": {
  13249. "description": "品类名称",
  13250. "type": "string"
  13251. }
  13252. }
  13253. },
  13254. "models.Ermcp3AreaStockReportEx": {
  13255. "type": "object",
  13256. "properties": {
  13257. "begindate": {
  13258. "description": "开始交易日",
  13259. "type": "string"
  13260. },
  13261. "brandname": {
  13262. "description": "品牌名称",
  13263. "type": "string"
  13264. },
  13265. "curstock": {
  13266. "description": "期末库存量",
  13267. "type": "number"
  13268. },
  13269. "cycletime": {
  13270. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13271. "type": "string"
  13272. },
  13273. "cycletype": {
  13274. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13275. "type": "integer"
  13276. },
  13277. "deliverygoodscode": {
  13278. "description": "现货品种代码",
  13279. "type": "string"
  13280. },
  13281. "deliverygoodsid": {
  13282. "description": "现货品种id",
  13283. "type": "integer"
  13284. },
  13285. "deliverygoodsname": {
  13286. "description": "现货品种名称",
  13287. "type": "string"
  13288. },
  13289. "diffqty": {
  13290. "description": "库存变化量 = 期末 - 期初",
  13291. "type": "number"
  13292. },
  13293. "enddate": {
  13294. "description": "结束交易日",
  13295. "type": "string"
  13296. },
  13297. "enumdicname": {
  13298. "description": "单位名称",
  13299. "type": "string"
  13300. },
  13301. "goodsunitid": {
  13302. "description": "现货单位id",
  13303. "type": "integer"
  13304. },
  13305. "oristock": {
  13306. "description": "期初库存量",
  13307. "type": "number"
  13308. },
  13309. "reckondate": {
  13310. "description": "日照时期(yyyyMMdd)",
  13311. "type": "string"
  13312. },
  13313. "spotgoodsbrandid": {
  13314. "description": "现货品牌ID",
  13315. "type": "integer"
  13316. },
  13317. "todaybuyinqty": {
  13318. "description": "今采购入库量",
  13319. "type": "number"
  13320. },
  13321. "todayproduceinqty": {
  13322. "description": "今内部入库量",
  13323. "type": "number"
  13324. },
  13325. "todayproduceoutqty": {
  13326. "description": "今内部出库量",
  13327. "type": "number"
  13328. },
  13329. "todayselloutqty": {
  13330. "description": "今销售出库量",
  13331. "type": "number"
  13332. },
  13333. "unbuyinqty": {
  13334. "description": "采购未入库量(数据库未找到相关字段?)",
  13335. "type": "number"
  13336. },
  13337. "unitid": {
  13338. "description": "品类单位id",
  13339. "type": "integer"
  13340. },
  13341. "unselloutqty": {
  13342. "description": "销售未出库量(数据库未找到相关字段?)",
  13343. "type": "number"
  13344. },
  13345. "updatetime": {
  13346. "description": "更新时间",
  13347. "type": "string"
  13348. },
  13349. "userid": {
  13350. "description": "机构ID",
  13351. "type": "integer"
  13352. },
  13353. "username": {
  13354. "description": "机构名称",
  13355. "type": "string"
  13356. },
  13357. "warehousecode": {
  13358. "description": "仓库代码",
  13359. "type": "string"
  13360. },
  13361. "warehouseinfoid": {
  13362. "description": "仓库ID",
  13363. "type": "string"
  13364. },
  13365. "warehousename": {
  13366. "description": "仓库名称",
  13367. "type": "string"
  13368. },
  13369. "warehousetype": {
  13370. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13371. "type": "integer"
  13372. },
  13373. "wrstandardcode": {
  13374. "description": "品类代码",
  13375. "type": "string"
  13376. },
  13377. "wrstandardid": {
  13378. "description": "品类ID",
  13379. "type": "integer"
  13380. },
  13381. "wrstandardname": {
  13382. "description": "品类名称",
  13383. "type": "string"
  13384. }
  13385. }
  13386. },
  13387. "models.Ermcp3ArealSumPL": {
  13388. "type": "object",
  13389. "properties": {
  13390. "accountname": {
  13391. "description": "机构名称",
  13392. "type": "string"
  13393. },
  13394. "areauserid": {
  13395. "description": "所属机构\\交易用户ID",
  13396. "type": "integer"
  13397. },
  13398. "begindate": {
  13399. "description": "开始交易日",
  13400. "type": "string"
  13401. },
  13402. "currencyid": {
  13403. "description": "结算币种ID",
  13404. "type": "integer"
  13405. },
  13406. "currencyname": {
  13407. "description": "币种名称",
  13408. "type": "string"
  13409. },
  13410. "cycletime": {
  13411. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13412. "type": "string"
  13413. },
  13414. "cycletype": {
  13415. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13416. "type": "integer"
  13417. },
  13418. "enddate": {
  13419. "description": "结束交易日",
  13420. "type": "string"
  13421. },
  13422. "enumdicname": {
  13423. "description": "单位名称(套保品种)",
  13424. "type": "string"
  13425. },
  13426. "futureactualpl": {
  13427. "description": "期货损益",
  13428. "type": "number"
  13429. },
  13430. "futurefloatpl": {
  13431. "description": "期货浮动损益",
  13432. "type": "number"
  13433. },
  13434. "goodsunitid": {
  13435. "description": "套保品种单位id",
  13436. "type": "integer"
  13437. },
  13438. "middlegoodscode": {
  13439. "description": "套保品种代码",
  13440. "type": "string"
  13441. },
  13442. "middlegoodsid": {
  13443. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13444. "type": "integer"
  13445. },
  13446. "middlegoodsname": {
  13447. "description": "套保品种名称",
  13448. "type": "string"
  13449. },
  13450. "reckondate": {
  13451. "description": "日照时期(yyyyMMdd)",
  13452. "type": "string"
  13453. },
  13454. "spotactualpl": {
  13455. "description": "现货损益",
  13456. "type": "number"
  13457. },
  13458. "spotfloatpl": {
  13459. "description": "现货浮动损益",
  13460. "type": "number"
  13461. },
  13462. "sumactualpl": {
  13463. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13464. "type": "number"
  13465. },
  13466. "sumpl": {
  13467. "description": "汇总损益",
  13468. "type": "number"
  13469. },
  13470. "updatetime": {
  13471. "description": "更新时间",
  13472. "type": "string"
  13473. }
  13474. }
  13475. },
  13476. "models.Ermcp3Brand": {
  13477. "type": "object",
  13478. "properties": {
  13479. "areauserid": {
  13480. "description": "用户id",
  13481. "type": "integer"
  13482. },
  13483. "brandid": {
  13484. "description": "品牌id",
  13485. "type": "integer"
  13486. },
  13487. "brandname": {
  13488. "description": "品牌名称",
  13489. "type": "string"
  13490. },
  13491. "deliverygoodsid": {
  13492. "description": "品种ID",
  13493. "type": "integer"
  13494. }
  13495. }
  13496. },
  13497. "models.Ermcp3Contract": {
  13498. "type": "object",
  13499. "properties": {
  13500. "accountid": {
  13501. "description": "期货账户id",
  13502. "type": "string"
  13503. },
  13504. "amount": {
  13505. "description": "金额 [1:一口价、3:暂定价]",
  13506. "type": "number"
  13507. },
  13508. "attachment": {
  13509. "description": "附件",
  13510. "type": "string"
  13511. },
  13512. "auditremark": {
  13513. "description": "审核意见",
  13514. "type": "string"
  13515. },
  13516. "audittime": {
  13517. "description": "审核时间",
  13518. "type": "string"
  13519. },
  13520. "biztype": {
  13521. "description": "业务类型 1-套保 2-套利",
  13522. "type": "integer"
  13523. },
  13524. "brandname": {
  13525. "description": "品牌名称",
  13526. "type": "string"
  13527. },
  13528. "buynickname": {
  13529. "description": "销售方昵称",
  13530. "type": "string"
  13531. },
  13532. "buyuserid": {
  13533. "description": "采购方ID",
  13534. "type": "integer"
  13535. },
  13536. "buyusername": {
  13537. "description": "采购方名称",
  13538. "type": "string"
  13539. },
  13540. "contracctstatus": {
  13541. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13542. "type": "integer"
  13543. },
  13544. "contractmargin": {
  13545. "description": "合同保证金",
  13546. "type": "number"
  13547. },
  13548. "contractno": {
  13549. "description": "现货合同编号",
  13550. "type": "string"
  13551. },
  13552. "contracttype": {
  13553. "description": "现货合同类型 - 1:采购 -1:销售",
  13554. "type": "integer"
  13555. },
  13556. "convertfactor": {
  13557. "description": "标仓系数(品类)",
  13558. "type": "number"
  13559. },
  13560. "createtime": {
  13561. "description": "创建时间",
  13562. "type": "string"
  13563. },
  13564. "currencyid": {
  13565. "description": "币种id",
  13566. "type": "integer"
  13567. },
  13568. "currencyname": {
  13569. "description": "币种名称",
  13570. "type": "string"
  13571. },
  13572. "deliveryenddate": {
  13573. "description": "交收期(结束)",
  13574. "type": "string"
  13575. },
  13576. "deliverygoodscode": {
  13577. "description": "现货品种代码",
  13578. "type": "string"
  13579. },
  13580. "deliverygoodsid": {
  13581. "description": "现货品种ID",
  13582. "type": "integer"
  13583. },
  13584. "deliverygoodsname": {
  13585. "description": "现货品种名称",
  13586. "type": "string"
  13587. },
  13588. "deliverystartdate": {
  13589. "description": "交收期(开始)",
  13590. "type": "string"
  13591. },
  13592. "enddate": {
  13593. "description": "点价结束日期 [2:点价 3:暂定价]",
  13594. "type": "string"
  13595. },
  13596. "enumdicname": {
  13597. "description": "单位名称",
  13598. "type": "string"
  13599. },
  13600. "goodscode": {
  13601. "description": "点价合约代码",
  13602. "type": "string"
  13603. },
  13604. "goodsid": {
  13605. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13606. "type": "integer"
  13607. },
  13608. "goodsname": {
  13609. "description": "点价商品名称",
  13610. "type": "string"
  13611. },
  13612. "margin": {
  13613. "description": "当前保证金",
  13614. "type": "number"
  13615. },
  13616. "meruserid": {
  13617. "description": "跟单员id",
  13618. "type": "integer"
  13619. },
  13620. "meruserlogincode": {
  13621. "description": "跟单员登录代码",
  13622. "type": "string"
  13623. },
  13624. "price": {
  13625. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13626. "type": "number"
  13627. },
  13628. "pricemove": {
  13629. "description": "升贴水 [2:点价 3:暂定价]",
  13630. "type": "number"
  13631. },
  13632. "pricetype": {
  13633. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13634. "type": "integer"
  13635. },
  13636. "producttype": {
  13637. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13638. "type": "integer"
  13639. },
  13640. "qty": {
  13641. "description": "数量",
  13642. "type": "number"
  13643. },
  13644. "remark": {
  13645. "description": "备注",
  13646. "type": "string"
  13647. },
  13648. "saleuserid": {
  13649. "description": "业务员id",
  13650. "type": "integer"
  13651. },
  13652. "saleuserlogincode": {
  13653. "description": "业务员登录代码",
  13654. "type": "string"
  13655. },
  13656. "sellnickname": {
  13657. "description": "采购方昵称",
  13658. "type": "string"
  13659. },
  13660. "selluserid": {
  13661. "description": "销售方ID",
  13662. "type": "integer"
  13663. },
  13664. "sellusername": {
  13665. "description": "销售方名称",
  13666. "type": "string"
  13667. },
  13668. "spotcontractid": {
  13669. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13670. "type": "string"
  13671. },
  13672. "spotgoodsbrandid": {
  13673. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13674. "type": "integer"
  13675. },
  13676. "spotgoodsdesc": {
  13677. "description": "商品型号",
  13678. "type": "string"
  13679. },
  13680. "startdate": {
  13681. "description": "点价开始日期 [2:点价 3:暂定价]",
  13682. "type": "string"
  13683. },
  13684. "tradeuserid": {
  13685. "description": "交易员id",
  13686. "type": "integer"
  13687. },
  13688. "tradeuserlogincode": {
  13689. "description": "交易员登录代码",
  13690. "type": "string"
  13691. },
  13692. "tradeusername": {
  13693. "description": "交易员名称",
  13694. "type": "string"
  13695. },
  13696. "unitid": {
  13697. "description": "单位id(取品类上的单位id)",
  13698. "type": "integer"
  13699. },
  13700. "updatetime": {
  13701. "description": "更新时间",
  13702. "type": "string"
  13703. },
  13704. "userid": {
  13705. "description": "所属机构ID",
  13706. "type": "integer"
  13707. },
  13708. "wrstandardcode": {
  13709. "description": "品类代码",
  13710. "type": "string"
  13711. },
  13712. "wrstandardid": {
  13713. "description": "品类ID",
  13714. "type": "integer"
  13715. },
  13716. "wrstandardname": {
  13717. "description": "品类名称",
  13718. "type": "string"
  13719. }
  13720. }
  13721. },
  13722. "models.Ermcp3ExposureContractDetail": {
  13723. "type": "object",
  13724. "properties": {
  13725. "biztype": {
  13726. "description": "业务类型 1-套保 2-套利",
  13727. "type": "integer"
  13728. },
  13729. "brandname": {
  13730. "description": "品牌名称",
  13731. "type": "string"
  13732. },
  13733. "buyuserid": {
  13734. "description": "采购方id",
  13735. "type": "integer"
  13736. },
  13737. "buyusername": {
  13738. "description": "采购方名称",
  13739. "type": "string"
  13740. },
  13741. "contractno": {
  13742. "description": "合同编号",
  13743. "type": "string"
  13744. },
  13745. "contracttype": {
  13746. "description": "现货合同类型 - 1:采购 -1:销售",
  13747. "type": "integer"
  13748. },
  13749. "convertratio": {
  13750. "description": "折算系数(套保品种)",
  13751. "type": "number"
  13752. },
  13753. "curqty": {
  13754. "description": "今定价量",
  13755. "type": "number"
  13756. },
  13757. "deliverygoodscode": {
  13758. "description": "现货商品代码",
  13759. "type": "string"
  13760. },
  13761. "deliverygoodsid": {
  13762. "description": "现货商品id",
  13763. "type": "integer"
  13764. },
  13765. "deliverygoodsname": {
  13766. "description": "现货商品名称",
  13767. "type": "string"
  13768. },
  13769. "diffqty": {
  13770. "description": "套保品种今变动量",
  13771. "type": "number"
  13772. },
  13773. "enumdicname": {
  13774. "description": "单位名称",
  13775. "type": "string"
  13776. },
  13777. "middlegoodscode": {
  13778. "description": "套保品种代码",
  13779. "type": "string"
  13780. },
  13781. "middlegoodsid": {
  13782. "description": "套保品种id",
  13783. "type": "integer"
  13784. },
  13785. "middlegoodsname": {
  13786. "description": "套保品种名称",
  13787. "type": "string"
  13788. },
  13789. "needarbitrageratio": {
  13790. "description": "应套利比例",
  13791. "type": "number"
  13792. },
  13793. "needhedgeratio": {
  13794. "description": "应套保比例",
  13795. "type": "number"
  13796. },
  13797. "pricedqty": {
  13798. "description": "已定价量",
  13799. "type": "number"
  13800. },
  13801. "qty": {
  13802. "description": "合同量",
  13803. "type": "number"
  13804. },
  13805. "selluserid": {
  13806. "description": "销售方id",
  13807. "type": "integer"
  13808. },
  13809. "sellusername": {
  13810. "description": "销售方名称",
  13811. "type": "string"
  13812. },
  13813. "spotcontractid": {
  13814. "description": "合同id",
  13815. "type": "string"
  13816. },
  13817. "tradedate": {
  13818. "description": "交易日",
  13819. "type": "string"
  13820. },
  13821. "unitid": {
  13822. "description": "品类单位id",
  13823. "type": "integer"
  13824. },
  13825. "userid": {
  13826. "description": "机构id",
  13827. "type": "integer"
  13828. },
  13829. "wrstandardcode": {
  13830. "description": "品类代码",
  13831. "type": "string"
  13832. },
  13833. "wrstandardid": {
  13834. "description": "品类id",
  13835. "type": "integer"
  13836. },
  13837. "wrstandardname": {
  13838. "description": "品类名称",
  13839. "type": "string"
  13840. }
  13841. }
  13842. },
  13843. "models.Ermcp3ExposureDetail": {
  13844. "type": "object",
  13845. "properties": {
  13846. "areauserid": {
  13847. "description": "机构ID",
  13848. "type": "integer"
  13849. },
  13850. "changeQty": {
  13851. "description": "套保变动量",
  13852. "type": "number"
  13853. },
  13854. "contracttype": {
  13855. "description": "现货合同类型 - 1:采购 -1:销售",
  13856. "type": "integer"
  13857. },
  13858. "convertfactor": {
  13859. "description": "标仓系数",
  13860. "type": "number"
  13861. },
  13862. "convertratio": {
  13863. "description": "套保系数",
  13864. "type": "number"
  13865. },
  13866. "createtime": {
  13867. "description": "时间",
  13868. "type": "string"
  13869. },
  13870. "deliverygoodscode": {
  13871. "description": "现货品种代码",
  13872. "type": "string"
  13873. },
  13874. "deliverygoodsid": {
  13875. "description": "现货品种id",
  13876. "type": "integer"
  13877. },
  13878. "deliverygoodsname": {
  13879. "description": "现货品种名称",
  13880. "type": "string"
  13881. },
  13882. "enumdicname": {
  13883. "description": "现货商品单位名称",
  13884. "type": "string"
  13885. },
  13886. "logtype": {
  13887. "description": "类型 - 1:套保计划 2:现货合同",
  13888. "type": "integer"
  13889. },
  13890. "mgunitid": {
  13891. "description": "套保品种单位id",
  13892. "type": "integer"
  13893. },
  13894. "mgunitidname": {
  13895. "description": "套保品种单位名称",
  13896. "type": "string"
  13897. },
  13898. "middlegoodsId": {
  13899. "description": "套保商品id",
  13900. "type": "integer"
  13901. },
  13902. "middlegoodscode": {
  13903. "description": "套保商品代码",
  13904. "type": "string"
  13905. },
  13906. "middlegoodsname": {
  13907. "description": "套保商品名称",
  13908. "type": "string"
  13909. },
  13910. "qty": {
  13911. "description": "数量",
  13912. "type": "number"
  13913. },
  13914. "relateNo": {
  13915. "description": "现货合同/套保计划编号",
  13916. "type": "string"
  13917. }
  13918. }
  13919. },
  13920. "models.Ermcp3ExposureHedgeplanDetail": {
  13921. "type": "object",
  13922. "properties": {
  13923. "biztype": {
  13924. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13925. "type": "integer"
  13926. },
  13927. "changqty": {
  13928. "description": "应套保总量变化量",
  13929. "type": "number"
  13930. },
  13931. "contracttype": {
  13932. "description": "计划类型 - 1:采购 -1:销售",
  13933. "type": "integer"
  13934. },
  13935. "convertratio": {
  13936. "description": "折算系数(套保品种)",
  13937. "type": "number"
  13938. },
  13939. "deliverygoodscode": {
  13940. "description": "现货商品代码",
  13941. "type": "string"
  13942. },
  13943. "deliverygoodsid": {
  13944. "description": "现货商品id",
  13945. "type": "integer"
  13946. },
  13947. "deliverygoodsname": {
  13948. "description": "现货商吕名称",
  13949. "type": "string"
  13950. },
  13951. "dgunitid": {
  13952. "description": "现货商品单位id",
  13953. "type": "integer"
  13954. },
  13955. "dgunitidname": {
  13956. "description": "单位名称(现货商品)",
  13957. "type": "string"
  13958. },
  13959. "diffqty": {
  13960. "description": "套保品种今变动量",
  13961. "type": "number"
  13962. },
  13963. "enumdicname": {
  13964. "description": "单位名称(品类)",
  13965. "type": "string"
  13966. },
  13967. "hedgeplanid": {
  13968. "description": "套保计划id",
  13969. "type": "string"
  13970. },
  13971. "hedgeplanno": {
  13972. "description": "套保计划编号",
  13973. "type": "string"
  13974. },
  13975. "hedgeplanstatus": {
  13976. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13977. "type": "integer"
  13978. },
  13979. "mgunitidname": {
  13980. "description": "单位名称(套保商品)",
  13981. "type": "string"
  13982. },
  13983. "middlegoodscode": {
  13984. "description": "套保品种代码",
  13985. "type": "string"
  13986. },
  13987. "middlegoodsid": {
  13988. "description": "套保品种id",
  13989. "type": "integer"
  13990. },
  13991. "middlegoodsname": {
  13992. "description": "套保品种名称",
  13993. "type": "string"
  13994. },
  13995. "needarbitrageratio": {
  13996. "description": "应套利比例",
  13997. "type": "number"
  13998. },
  13999. "needhedgeratio": {
  14000. "description": "应套保比例",
  14001. "type": "number"
  14002. },
  14003. "pricedqty": {
  14004. "description": "已定价量",
  14005. "type": "number"
  14006. },
  14007. "qty": {
  14008. "description": "合同量",
  14009. "type": "number"
  14010. },
  14011. "tradedate": {
  14012. "description": "交易日(登记日)",
  14013. "type": "string"
  14014. },
  14015. "unitid": {
  14016. "description": "品类单位id",
  14017. "type": "integer"
  14018. },
  14019. "userid": {
  14020. "description": "机构id",
  14021. "type": "integer"
  14022. },
  14023. "wrstandardcode": {
  14024. "description": "品类代码",
  14025. "type": "string"
  14026. },
  14027. "wrstandardid": {
  14028. "description": "品类id",
  14029. "type": "integer"
  14030. },
  14031. "wrstandardname": {
  14032. "description": "品类名称",
  14033. "type": "string"
  14034. }
  14035. }
  14036. },
  14037. "models.Ermcp3ExpourseReport": {
  14038. "type": "object",
  14039. "properties": {
  14040. "accountid": {
  14041. "description": "期货账户ID (作废, 默认为0)",
  14042. "type": "integer"
  14043. },
  14044. "accountname": {
  14045. "description": "机构名称",
  14046. "type": "string"
  14047. },
  14048. "arbitrageqty": {
  14049. "description": "套利量",
  14050. "type": "number"
  14051. },
  14052. "areauserid": {
  14053. "description": "所属机构\\交易用户ID",
  14054. "type": "integer"
  14055. },
  14056. "begindate": {
  14057. "description": "开始交易日",
  14058. "type": "string"
  14059. },
  14060. "buyfutureqty": {
  14061. "description": "买入期货数量",
  14062. "type": "number"
  14063. },
  14064. "buyplanqty": {
  14065. "description": "采购计划数量",
  14066. "type": "number"
  14067. },
  14068. "buypricedqty": {
  14069. "description": "采购合同已定价数量",
  14070. "type": "number"
  14071. },
  14072. "cycletime": {
  14073. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14074. "type": "string"
  14075. },
  14076. "cycletype": {
  14077. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14078. "type": "integer"
  14079. },
  14080. "diffexposure": {
  14081. "description": "变动量(套保敞口)",
  14082. "type": "number"
  14083. },
  14084. "difffutuqty": {
  14085. "description": "变动量(期货)",
  14086. "type": "number"
  14087. },
  14088. "diffhedgeqty": {
  14089. "description": "变动量(现货应套保总量)",
  14090. "type": "number"
  14091. },
  14092. "diffmgqtya": {
  14093. "description": "套保变动量",
  14094. "type": "number"
  14095. },
  14096. "diffmgqtyb": {
  14097. "description": "套利变动量",
  14098. "type": "number"
  14099. },
  14100. "diffqty": {
  14101. "description": "变动量(总敞口)",
  14102. "type": "number"
  14103. },
  14104. "diffspotqty": {
  14105. "description": "变动量(现货)",
  14106. "type": "number"
  14107. },
  14108. "enddate": {
  14109. "description": "结束交易日",
  14110. "type": "string"
  14111. },
  14112. "enumdicname": {
  14113. "description": "单位名称",
  14114. "type": "string"
  14115. },
  14116. "hedgeqty": {
  14117. "description": "套保量",
  14118. "type": "number"
  14119. },
  14120. "mgneedhedgeratio": {
  14121. "description": "套保比例(套保品的)",
  14122. "type": "number"
  14123. },
  14124. "middlegoodsid": {
  14125. "description": "套保品种ID",
  14126. "type": "integer"
  14127. },
  14128. "middlegoodsname": {
  14129. "description": "套保商品名称",
  14130. "type": "string"
  14131. },
  14132. "middlgoodscode": {
  14133. "description": "套保商品代码",
  14134. "type": "string"
  14135. },
  14136. "needarbitrageqty": {
  14137. "description": "应套利量",
  14138. "type": "number"
  14139. },
  14140. "needarbitrageratio": {
  14141. "description": "套利比例(套保品的)",
  14142. "type": "number"
  14143. },
  14144. "needhedgeexposoure": {
  14145. "description": "应套保敞口(套保敞口)",
  14146. "type": "number"
  14147. },
  14148. "needhedgeqty": {
  14149. "description": "应套保量",
  14150. "type": "number"
  14151. },
  14152. "needhedgeratio": {
  14153. "description": "应套保敞口比例",
  14154. "type": "number"
  14155. },
  14156. "oriarbitrageqty": {
  14157. "description": "期初套利量",
  14158. "type": "number"
  14159. },
  14160. "oribuyfutureqty": {
  14161. "description": "期初买入期货数量",
  14162. "type": "number"
  14163. },
  14164. "oribuyplanqty": {
  14165. "description": "期初采购计划数量",
  14166. "type": "number"
  14167. },
  14168. "oribuypricedqty": {
  14169. "description": "期初采购合同已定价数量",
  14170. "type": "number"
  14171. },
  14172. "orihedgeqty": {
  14173. "description": "期初套保量",
  14174. "type": "number"
  14175. },
  14176. "orineedarbitrageqty": {
  14177. "description": "期初应套利量",
  14178. "type": "number"
  14179. },
  14180. "orineedhedgeexposoure": {
  14181. "description": "期初应套保敞口",
  14182. "type": "number"
  14183. },
  14184. "orineedhedgeqty": {
  14185. "description": "期初应套保量",
  14186. "type": "number"
  14187. },
  14188. "orisellfutureqty": {
  14189. "description": "期初卖出期货数量",
  14190. "type": "number"
  14191. },
  14192. "orisellplanqty": {
  14193. "description": "期初销售计划数量",
  14194. "type": "number"
  14195. },
  14196. "orisellpricedqty": {
  14197. "description": "期初销售合同已定价数量",
  14198. "type": "number"
  14199. },
  14200. "oritotalexposure": {
  14201. "description": "期初实时总敞口",
  14202. "type": "number"
  14203. },
  14204. "oritotalfutureqty": {
  14205. "description": "期初期货头寸总量",
  14206. "type": "number"
  14207. },
  14208. "oritotalneedhedgeqty": {
  14209. "description": "期初应套保总量",
  14210. "type": "number"
  14211. },
  14212. "oritotalspotqty": {
  14213. "description": "期初现货头寸总量",
  14214. "type": "number"
  14215. },
  14216. "reckondate": {
  14217. "description": "日照时期(yyyyMMdd)",
  14218. "type": "string"
  14219. },
  14220. "sellfutureqty": {
  14221. "description": "卖出期货数量",
  14222. "type": "number"
  14223. },
  14224. "sellplanqty": {
  14225. "description": "销售计划数量",
  14226. "type": "number"
  14227. },
  14228. "sellpricedqty": {
  14229. "description": "销售合同已定价数量",
  14230. "type": "number"
  14231. },
  14232. "totalexposure": {
  14233. "description": "实时总敞口(总敞口)",
  14234. "type": "number"
  14235. },
  14236. "totalfutureqty": {
  14237. "description": "期货头寸总量(期货总量)",
  14238. "type": "number"
  14239. },
  14240. "totalhedgeratio": {
  14241. "description": "敞口比例",
  14242. "type": "number"
  14243. },
  14244. "totalneedhedgeqty": {
  14245. "description": "应套保总量(现货应套保总量)",
  14246. "type": "number"
  14247. },
  14248. "totalspotqty": {
  14249. "description": "现货头寸总量",
  14250. "type": "number"
  14251. },
  14252. "unitid": {
  14253. "description": "单位id",
  14254. "type": "integer"
  14255. },
  14256. "updatetime": {
  14257. "description": "更新时间",
  14258. "type": "string"
  14259. }
  14260. }
  14261. },
  14262. "models.Ermcp3FinanceReport": {
  14263. "type": "object",
  14264. "properties": {
  14265. "accountname": {
  14266. "description": "机构名称",
  14267. "type": "string"
  14268. },
  14269. "areauserid": {
  14270. "description": "所属机构\\交易用户ID",
  14271. "type": "integer"
  14272. },
  14273. "begindate": {
  14274. "description": "开始交易日",
  14275. "type": "string"
  14276. },
  14277. "biztype": {
  14278. "description": "业务类型 - 1:套保 2:套利",
  14279. "type": "integer"
  14280. },
  14281. "brandname": {
  14282. "description": "品牌名称",
  14283. "type": "string"
  14284. },
  14285. "buypreinvoicedamount": {
  14286. "description": "采购预收票额(预收票额)",
  14287. "type": "number"
  14288. },
  14289. "buyprepaidamount": {
  14290. "description": "采购预付款额(预付货款额)",
  14291. "type": "number"
  14292. },
  14293. "buytodayinvoiceamount": {
  14294. "description": "采购今收票额(今收票额)",
  14295. "type": "number"
  14296. },
  14297. "buytodayrefundamount": {
  14298. "description": "采购今收退款额(今收退款额)",
  14299. "type": "number"
  14300. },
  14301. "buytodaysettleamount": {
  14302. "description": "采购今付款额(今付货款额)",
  14303. "type": "number"
  14304. },
  14305. "buyuninvoicedamount": {
  14306. "description": "采购应收票额(应收票额)",
  14307. "type": "number"
  14308. },
  14309. "buyunpaidamount": {
  14310. "description": "采购应付款额(应付货款额)",
  14311. "type": "number"
  14312. },
  14313. "currencyid": {
  14314. "description": "结算币种ID",
  14315. "type": "integer"
  14316. },
  14317. "currencyname": {
  14318. "description": "币种名称",
  14319. "type": "string"
  14320. },
  14321. "cycletime": {
  14322. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14323. "type": "string"
  14324. },
  14325. "cycletype": {
  14326. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14327. "type": "integer"
  14328. },
  14329. "deliverygoodscode": {
  14330. "description": "现货品种代码",
  14331. "type": "string"
  14332. },
  14333. "deliverygoodsid": {
  14334. "description": "现货品种ID",
  14335. "type": "integer"
  14336. },
  14337. "deliverygoodsname": {
  14338. "description": "现货品种名称",
  14339. "type": "string"
  14340. },
  14341. "enddate": {
  14342. "description": "结束交易日",
  14343. "type": "string"
  14344. },
  14345. "reckondate": {
  14346. "description": "日照时期(yyyyMMdd)",
  14347. "type": "string"
  14348. },
  14349. "sellpreinvoicedamount": {
  14350. "description": "销售预开票额(预开票额)",
  14351. "type": "number"
  14352. },
  14353. "sellprepaidamount": {
  14354. "description": "销售预收款额(预收货款额)",
  14355. "type": "number"
  14356. },
  14357. "selltodayinvoiceamount": {
  14358. "description": "销售今开票额(今开票额)",
  14359. "type": "number"
  14360. },
  14361. "selltodayrefundamount": {
  14362. "description": "销售今付退款额(今付退款额)",
  14363. "type": "number"
  14364. },
  14365. "selltodaysettleamount": {
  14366. "description": "销售今收款额(今收货款额)",
  14367. "type": "number"
  14368. },
  14369. "selluninvoicedamount": {
  14370. "description": "销售应开票额(应开票额)",
  14371. "type": "number"
  14372. },
  14373. "sellunpaidamount": {
  14374. "description": "销售应收款额(应收货款额)",
  14375. "type": "number"
  14376. },
  14377. "spotgoodsbrandid": {
  14378. "description": "现货品牌ID",
  14379. "type": "integer"
  14380. },
  14381. "todaypaysum": {
  14382. "description": "今付款合计",
  14383. "type": "number"
  14384. },
  14385. "todayreceivesum": {
  14386. "description": "今收款合计",
  14387. "type": "number"
  14388. },
  14389. "updatetime": {
  14390. "description": "更新时间",
  14391. "type": "string"
  14392. },
  14393. "wrfactortypeid": {
  14394. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14395. "type": "integer"
  14396. },
  14397. "wrstandardcode": {
  14398. "description": "品类代码",
  14399. "type": "string"
  14400. },
  14401. "wrstandardid": {
  14402. "description": "现货商品ID",
  14403. "type": "integer"
  14404. },
  14405. "wrstandardname": {
  14406. "description": "品类名称",
  14407. "type": "string"
  14408. }
  14409. }
  14410. },
  14411. "models.Ermcp3Goods": {
  14412. "type": "object",
  14413. "properties": {
  14414. "agreeunit": {
  14415. "description": "合约单位(合约乘数)",
  14416. "type": "number"
  14417. },
  14418. "enumdicname": {
  14419. "description": "单位名称",
  14420. "type": "string"
  14421. },
  14422. "exexchangecode": {
  14423. "description": "交易所代码",
  14424. "type": "string"
  14425. },
  14426. "goodscode": {
  14427. "description": "期货商品代码",
  14428. "type": "string"
  14429. },
  14430. "goodsid": {
  14431. "description": "期货商品id",
  14432. "type": "integer"
  14433. },
  14434. "goodsname": {
  14435. "description": "期货商品名称",
  14436. "type": "string"
  14437. }
  14438. }
  14439. },
  14440. "models.Ermcp3GoodsGroup": {
  14441. "type": "object",
  14442. "required": [
  14443. "areauserid"
  14444. ],
  14445. "properties": {
  14446. "agreeunit": {
  14447. "description": "合约单位",
  14448. "type": "number"
  14449. },
  14450. "areauserid": {
  14451. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14452. "type": "integer"
  14453. },
  14454. "canshort": {
  14455. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14456. "type": "integer"
  14457. },
  14458. "closepricemode": {
  14459. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14460. "type": "integer"
  14461. },
  14462. "createtime": {
  14463. "description": "创建时间",
  14464. "type": "string"
  14465. },
  14466. "creatorid": {
  14467. "description": "创建人",
  14468. "type": "integer"
  14469. },
  14470. "currencyid": {
  14471. "description": "报价货币ID",
  14472. "type": "integer"
  14473. },
  14474. "decimalplace": {
  14475. "description": "报价小数位",
  14476. "type": "integer"
  14477. },
  14478. "enumdicname": {
  14479. "description": "单位名称",
  14480. "type": "string"
  14481. },
  14482. "excludecfg": {
  14483. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14484. "type": "integer"
  14485. },
  14486. "exexchangeid": {
  14487. "description": "外部交易所ID[通道交易]",
  14488. "type": "integer"
  14489. },
  14490. "goodsgroupid": {
  14491. "description": "商品组ID(自增ID)",
  14492. "type": "integer"
  14493. },
  14494. "goodsgroupname": {
  14495. "description": "商品组名称",
  14496. "type": "string"
  14497. },
  14498. "goodsgroupstatus": {
  14499. "description": "商品组状态 - 1:正常 2:注销",
  14500. "type": "integer"
  14501. },
  14502. "goodunitid": {
  14503. "description": "报价单位ID",
  14504. "type": "integer"
  14505. },
  14506. "groupcategroyid": {
  14507. "description": "品种分类ID",
  14508. "type": "integer"
  14509. },
  14510. "innerdealmode": {
  14511. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14512. "type": "integer"
  14513. },
  14514. "marketid": {
  14515. "description": "所属市场ID",
  14516. "type": "integer"
  14517. },
  14518. "modifierid": {
  14519. "description": "修改人",
  14520. "type": "integer"
  14521. },
  14522. "modifytime": {
  14523. "description": "修改时间",
  14524. "type": "string"
  14525. },
  14526. "outerdealmode": {
  14527. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14528. "type": "integer"
  14529. },
  14530. "outergroupcode": {
  14531. "description": "外部商品组代码[通道交易]",
  14532. "type": "string"
  14533. },
  14534. "quoteminunit": {
  14535. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14536. "type": "integer"
  14537. },
  14538. "quotesourcegroupid": {
  14539. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14540. "type": "integer"
  14541. },
  14542. "syncgoodsqty": {
  14543. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14544. "type": "integer"
  14545. }
  14546. }
  14547. },
  14548. "models.Ermcp3GoodsGroupEx": {
  14549. "type": "object",
  14550. "properties": {
  14551. "convertratio": {
  14552. "description": "折算系数(品种系数)",
  14553. "type": "number"
  14554. },
  14555. "enumdicname": {
  14556. "description": "单位名称",
  14557. "type": "string"
  14558. },
  14559. "exexchangecode": {
  14560. "description": "交易所代码",
  14561. "type": "string"
  14562. },
  14563. "glist": {
  14564. "description": "合约列表",
  14565. "type": "array",
  14566. "items": {
  14567. "$ref": "#/definitions/models.Ermcp3Goods"
  14568. }
  14569. },
  14570. "goodsgroupid": {
  14571. "description": "商品组id",
  14572. "type": "integer"
  14573. },
  14574. "goodsgroupname": {
  14575. "description": "商品组名称",
  14576. "type": "string"
  14577. },
  14578. "goodsunitid": {
  14579. "description": "单位id",
  14580. "type": "integer"
  14581. },
  14582. "middlegoodsid": {
  14583. "description": "套保商品id",
  14584. "type": "integer"
  14585. }
  14586. }
  14587. },
  14588. "models.Ermcp3HedgePlan": {
  14589. "type": "object",
  14590. "properties": {
  14591. "accountid": {
  14592. "description": "资金账号",
  14593. "type": "integer"
  14594. },
  14595. "areauserid": {
  14596. "description": "用户ID",
  14597. "type": "integer"
  14598. },
  14599. "audittime": {
  14600. "description": "审核时间",
  14601. "type": "string"
  14602. },
  14603. "contracttype": {
  14604. "description": "计划类型 - 1:采购 -1:销售",
  14605. "type": "integer"
  14606. },
  14607. "convertfactor": {
  14608. "description": "标仓系数",
  14609. "type": "number"
  14610. },
  14611. "createtime": {
  14612. "description": "创建时间",
  14613. "type": "string"
  14614. },
  14615. "currencyid": {
  14616. "description": "币种id",
  14617. "type": "integer"
  14618. },
  14619. "currencyname": {
  14620. "description": "币种名称",
  14621. "type": "string"
  14622. },
  14623. "deliverygoodscode": {
  14624. "description": "现货品种代码",
  14625. "type": "string"
  14626. },
  14627. "deliverygoodsid": {
  14628. "description": "现货品种ID",
  14629. "type": "integer"
  14630. },
  14631. "deliverygoodsname": {
  14632. "description": "现货品种名称",
  14633. "type": "string"
  14634. },
  14635. "enumdicname": {
  14636. "description": "单位名称(现货商品)",
  14637. "type": "string"
  14638. },
  14639. "hedgeplanid": {
  14640. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14641. "type": "string"
  14642. },
  14643. "hedgeplanno": {
  14644. "description": "套保计划编号(名称)",
  14645. "type": "string"
  14646. },
  14647. "hedgeplanstatus": {
  14648. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14649. "type": "integer"
  14650. },
  14651. "planqty": {
  14652. "description": "计划数量",
  14653. "type": "number"
  14654. },
  14655. "plantime": {
  14656. "description": "计划时间",
  14657. "type": "string"
  14658. },
  14659. "producttype": {
  14660. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14661. "type": "integer"
  14662. },
  14663. "remark": {
  14664. "description": "备注",
  14665. "type": "string"
  14666. },
  14667. "spotgoodsdesc": {
  14668. "description": "商品型号",
  14669. "type": "string"
  14670. },
  14671. "taaccountname": {
  14672. "description": "资金账号名称",
  14673. "type": "string"
  14674. },
  14675. "tradeuserid": {
  14676. "description": "交易用户id",
  14677. "type": "integer"
  14678. },
  14679. "tradeusername": {
  14680. "description": "交易用户名称",
  14681. "type": "string"
  14682. },
  14683. "unitid": {
  14684. "description": "单位id(现货商品)",
  14685. "type": "integer"
  14686. },
  14687. "updatetime": {
  14688. "description": "更新时间",
  14689. "type": "string"
  14690. },
  14691. "wrstandardcode": {
  14692. "description": "品类代码",
  14693. "type": "string"
  14694. },
  14695. "wrstandardid": {
  14696. "description": "品类id",
  14697. "type": "integer"
  14698. },
  14699. "wrstandardname": {
  14700. "description": "品类名称",
  14701. "type": "string"
  14702. },
  14703. "wrunitid": {
  14704. "description": "品类单位id",
  14705. "type": "integer"
  14706. },
  14707. "wrunitidame": {
  14708. "description": "品类单位名称",
  14709. "type": "string"
  14710. }
  14711. }
  14712. },
  14713. "models.Ermcp3MiddleGoodsDetail2": {
  14714. "type": "object",
  14715. "properties": {
  14716. "convertratio": {
  14717. "description": "套保系数(折算系数)",
  14718. "type": "number"
  14719. },
  14720. "gplist": {
  14721. "description": "关联商品组列表",
  14722. "type": "array",
  14723. "items": {
  14724. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14725. }
  14726. },
  14727. "mg": {
  14728. "description": "套保商品信息",
  14729. "type": "object",
  14730. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14731. }
  14732. }
  14733. },
  14734. "models.Ermcp3MiddleGoodsDetailEx": {
  14735. "type": "object",
  14736. "properties": {
  14737. "dglist": {
  14738. "description": "关联的现货品种列表",
  14739. "type": "array",
  14740. "items": {
  14741. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14742. }
  14743. },
  14744. "gplist": {
  14745. "description": "关联商品组列表",
  14746. "type": "array",
  14747. "items": {
  14748. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14749. }
  14750. },
  14751. "mg": {
  14752. "description": "套保商品信息",
  14753. "type": "object",
  14754. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14755. }
  14756. }
  14757. },
  14758. "models.Ermcp3SellBuyContract": {
  14759. "type": "object",
  14760. "properties": {
  14761. "accountid": {
  14762. "description": "期货账户id",
  14763. "type": "string"
  14764. },
  14765. "accountname": {
  14766. "description": "账户名称",
  14767. "type": "string"
  14768. },
  14769. "attachment": {
  14770. "description": "附件",
  14771. "type": "string"
  14772. },
  14773. "audittime": {
  14774. "description": "审核时间",
  14775. "type": "string"
  14776. },
  14777. "biztype": {
  14778. "description": "业务类型 1-套保 2-套利",
  14779. "type": "integer"
  14780. },
  14781. "brandname": {
  14782. "description": "品牌名称",
  14783. "type": "string"
  14784. },
  14785. "contracctstatus": {
  14786. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14787. "type": "integer"
  14788. },
  14789. "contractmargin": {
  14790. "description": "合同保证金",
  14791. "type": "number"
  14792. },
  14793. "contractno": {
  14794. "description": "合同编号",
  14795. "type": "string"
  14796. },
  14797. "contracttype": {
  14798. "description": "合同类型 1-采购, -1-销售",
  14799. "type": "integer"
  14800. },
  14801. "convertfactor": {
  14802. "description": "标仓系数(品类)",
  14803. "type": "number"
  14804. },
  14805. "createtime": {
  14806. "description": "创建时间",
  14807. "type": "string"
  14808. },
  14809. "currencyid": {
  14810. "description": "币种id",
  14811. "type": "integer"
  14812. },
  14813. "currencyname": {
  14814. "description": "币种名称",
  14815. "type": "string"
  14816. },
  14817. "daikaiamount": {
  14818. "description": "应收(开)票额",
  14819. "type": "number"
  14820. },
  14821. "deliveryenddate": {
  14822. "description": "交割结束日",
  14823. "type": "string"
  14824. },
  14825. "deliverygoodscode": {
  14826. "description": "现货品种代码",
  14827. "type": "string"
  14828. },
  14829. "deliverygoodsid": {
  14830. "description": "现货商品ID",
  14831. "type": "integer"
  14832. },
  14833. "deliverygoodsname": {
  14834. "description": "现货品种名称",
  14835. "type": "string"
  14836. },
  14837. "deliverystartdate": {
  14838. "description": "交割开始日",
  14839. "type": "string"
  14840. },
  14841. "enddate": {
  14842. "description": "点价结束日",
  14843. "type": "string"
  14844. },
  14845. "enumdicname": {
  14846. "description": "单位名称",
  14847. "type": "string"
  14848. },
  14849. "goodscode": {
  14850. "description": "点价商品代码",
  14851. "type": "string"
  14852. },
  14853. "goodsid": {
  14854. "description": "点价商品ID",
  14855. "type": "integer"
  14856. },
  14857. "goodsname": {
  14858. "description": "点价商品名称",
  14859. "type": "string"
  14860. },
  14861. "invoiceamount": {
  14862. "description": "已开票额",
  14863. "type": "number"
  14864. },
  14865. "loanamount": {
  14866. "description": "贷款总额=已定价额+调整金额",
  14867. "type": "number"
  14868. },
  14869. "margin": {
  14870. "description": "保证金",
  14871. "type": "number"
  14872. },
  14873. "meruserid": {
  14874. "description": "跟单员id",
  14875. "type": "integer"
  14876. },
  14877. "meruserlogincode": {
  14878. "description": "跟单员登录代码",
  14879. "type": "string"
  14880. },
  14881. "nickname": {
  14882. "description": "账户昵称",
  14883. "type": "string"
  14884. },
  14885. "payamount": {
  14886. "description": "已收付额(收款或付款)",
  14887. "type": "number"
  14888. },
  14889. "preinvoiceamount": {
  14890. "description": "预收(开)票额",
  14891. "type": "number"
  14892. },
  14893. "prepayamount": {
  14894. "description": "预收付额",
  14895. "type": "number"
  14896. },
  14897. "price": {
  14898. "description": "价格",
  14899. "type": "number"
  14900. },
  14901. "pricedamount": {
  14902. "description": "已定价额",
  14903. "type": "number"
  14904. },
  14905. "pricedavg": {
  14906. "description": "已点均价",
  14907. "type": "number"
  14908. },
  14909. "pricedqty": {
  14910. "description": "已定价量",
  14911. "type": "number"
  14912. },
  14913. "pricemove": {
  14914. "description": "升贴水",
  14915. "type": "number"
  14916. },
  14917. "pricetype": {
  14918. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14919. "type": "integer"
  14920. },
  14921. "producttype": {
  14922. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14923. "type": "integer"
  14924. },
  14925. "qty": {
  14926. "description": "合同量",
  14927. "type": "number"
  14928. },
  14929. "reckonadjustamount": {
  14930. "description": "调整金额",
  14931. "type": "number"
  14932. },
  14933. "reckonedamount": {
  14934. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14935. "type": "number"
  14936. },
  14937. "reckonotheramount": {
  14938. "description": "其它费用",
  14939. "type": "number"
  14940. },
  14941. "reckonrealqty": {
  14942. "description": "已确定量",
  14943. "type": "number"
  14944. },
  14945. "remark": {
  14946. "description": "备注",
  14947. "type": "string"
  14948. },
  14949. "saleuserid": {
  14950. "description": "业务员id",
  14951. "type": "integer"
  14952. },
  14953. "saleuserlogincode": {
  14954. "description": "业务员登录代码",
  14955. "type": "string"
  14956. },
  14957. "spotcontractid": {
  14958. "description": "合同ID",
  14959. "type": "string"
  14960. },
  14961. "spotgoodsbrandid": {
  14962. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14963. "type": "integer"
  14964. },
  14965. "spotgoodsdesc": {
  14966. "description": "商品型号(商品规格)",
  14967. "type": "string"
  14968. },
  14969. "startdate": {
  14970. "description": "点价开始日",
  14971. "type": "string"
  14972. },
  14973. "totalamount": {
  14974. "description": "合计总额",
  14975. "type": "number"
  14976. },
  14977. "tradeuserid": {
  14978. "description": "交易员id",
  14979. "type": "integer"
  14980. },
  14981. "tradeuserlogincode": {
  14982. "description": "交易员登录代码",
  14983. "type": "string"
  14984. },
  14985. "tradeusername": {
  14986. "description": "交易员名称",
  14987. "type": "string"
  14988. },
  14989. "unpayamount": {
  14990. "description": "应收付款额(应支付或应收款)",
  14991. "type": "number"
  14992. },
  14993. "unpricedqty": {
  14994. "description": "未定价量",
  14995. "type": "number"
  14996. },
  14997. "unsureqty": {
  14998. "description": "未确定量",
  14999. "type": "number"
  15000. },
  15001. "userid": {
  15002. "description": "机构ID",
  15003. "type": "integer"
  15004. },
  15005. "wrstandardcode": {
  15006. "description": "品类代码",
  15007. "type": "string"
  15008. },
  15009. "wrstandardid": {
  15010. "description": "品类ID",
  15011. "type": "integer"
  15012. },
  15013. "wrstandardname": {
  15014. "description": "品类名称",
  15015. "type": "string"
  15016. }
  15017. }
  15018. },
  15019. "models.Ermcp3SpotGoodsPrice": {
  15020. "type": "object",
  15021. "properties": {
  15022. "areauserid": {
  15023. "description": "所属机构id",
  15024. "type": "integer"
  15025. },
  15026. "brandname": {
  15027. "description": "品牌名称",
  15028. "type": "string"
  15029. },
  15030. "currencyid": {
  15031. "description": "报价货币ID",
  15032. "type": "integer"
  15033. },
  15034. "currencyname": {
  15035. "description": "币种名称",
  15036. "type": "string"
  15037. },
  15038. "deliverygoodscode": {
  15039. "description": "现货商品代码",
  15040. "type": "string"
  15041. },
  15042. "deliverygoodsid": {
  15043. "description": "现货商品id",
  15044. "type": "integer"
  15045. },
  15046. "deliverygoodsname": {
  15047. "description": "现货商品名称",
  15048. "type": "string"
  15049. },
  15050. "enumdicname": {
  15051. "description": "现货商品单位名称",
  15052. "type": "string"
  15053. },
  15054. "gbenumdicname": {
  15055. "description": "品类单位名称",
  15056. "type": "string"
  15057. },
  15058. "gmunitid": {
  15059. "description": "品类单位id",
  15060. "type": "integer"
  15061. },
  15062. "isvalid": {
  15063. "description": "是否有效 - 0:无效 1:有效",
  15064. "type": "integer"
  15065. },
  15066. "operateid": {
  15067. "description": "最后操作人",
  15068. "type": "integer"
  15069. },
  15070. "operatesrc": {
  15071. "description": "最后操作来源 - 1:管理端 2:终端",
  15072. "type": "integer"
  15073. },
  15074. "operatetime": {
  15075. "description": "最后操作时间",
  15076. "type": "string"
  15077. },
  15078. "operatorname": {
  15079. "description": "操作人名称",
  15080. "type": "string"
  15081. },
  15082. "spotgoodsbrandid": {
  15083. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15084. "type": "integer"
  15085. },
  15086. "spotgoodsprice": {
  15087. "description": "现货价格",
  15088. "type": "number"
  15089. },
  15090. "tradedate": {
  15091. "description": "交易日(yyyyMMdd)",
  15092. "type": "string"
  15093. },
  15094. "unitid": {
  15095. "description": "现货商品单位id",
  15096. "type": "integer"
  15097. },
  15098. "wrstandardcode": {
  15099. "description": "品类代码",
  15100. "type": "string"
  15101. },
  15102. "wrstandardid": {
  15103. "description": "现货品类ID(通用则为0)",
  15104. "type": "integer"
  15105. },
  15106. "wrstandardname": {
  15107. "description": "品类名称",
  15108. "type": "string"
  15109. }
  15110. }
  15111. },
  15112. "models.Ermcp3SpotGoodsPriceLog": {
  15113. "type": "object",
  15114. "properties": {
  15115. "areauserid": {
  15116. "description": "所属机构id",
  15117. "type": "integer"
  15118. },
  15119. "brandname": {
  15120. "description": "品牌名称",
  15121. "type": "string"
  15122. },
  15123. "currencyid": {
  15124. "description": "报价货币ID",
  15125. "type": "integer"
  15126. },
  15127. "deliverygoodscode": {
  15128. "description": "现货商品代码",
  15129. "type": "string"
  15130. },
  15131. "deliverygoodsid": {
  15132. "description": "现货商品id",
  15133. "type": "integer"
  15134. },
  15135. "deliverygoodsname": {
  15136. "description": "现货商品名称",
  15137. "type": "string"
  15138. },
  15139. "enumdicname": {
  15140. "description": "现货商品单位名称",
  15141. "type": "string"
  15142. },
  15143. "gbenumdicname": {
  15144. "description": "品类单位名称",
  15145. "type": "string"
  15146. },
  15147. "gmunitid": {
  15148. "description": "品类单位id",
  15149. "type": "integer"
  15150. },
  15151. "logid": {
  15152. "description": "日志id",
  15153. "type": "integer"
  15154. },
  15155. "operateid": {
  15156. "description": "最后操作人",
  15157. "type": "integer"
  15158. },
  15159. "operatesrc": {
  15160. "description": "最后操作来源 - 1:管理端 2:终端",
  15161. "type": "integer"
  15162. },
  15163. "operatetime": {
  15164. "description": "最后操作时间",
  15165. "type": "string"
  15166. },
  15167. "operatorname": {
  15168. "description": "操作人名称",
  15169. "type": "string"
  15170. },
  15171. "spotgoodsbrandid": {
  15172. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15173. "type": "integer"
  15174. },
  15175. "spotgoodsprice": {
  15176. "description": "现货价格",
  15177. "type": "number"
  15178. },
  15179. "tradedate": {
  15180. "description": "交易日(yyyyMMdd)",
  15181. "type": "string"
  15182. },
  15183. "unitid": {
  15184. "description": "现货商品单位id",
  15185. "type": "integer"
  15186. },
  15187. "wrstandardcode": {
  15188. "description": "品类代码",
  15189. "type": "string"
  15190. },
  15191. "wrstandardid": {
  15192. "description": "现货品类ID(通用则为0)",
  15193. "type": "integer"
  15194. },
  15195. "wrstandardname": {
  15196. "description": "品类名称",
  15197. "type": "string"
  15198. }
  15199. }
  15200. },
  15201. "models.Ermcp3Wrstandard": {
  15202. "type": "object",
  15203. "properties": {
  15204. "areauserid": {
  15205. "description": "所属机构",
  15206. "type": "integer"
  15207. },
  15208. "convertfactor": {
  15209. "description": "标仓系数",
  15210. "type": "number"
  15211. },
  15212. "createtime": {
  15213. "description": "创建时间",
  15214. "type": "string"
  15215. },
  15216. "creatorid": {
  15217. "description": "创建人",
  15218. "type": "integer"
  15219. },
  15220. "deliverygoodsid": {
  15221. "description": "现货品种ID",
  15222. "type": "integer"
  15223. },
  15224. "enumdicname": {
  15225. "description": "品类单位名称",
  15226. "type": "string"
  15227. },
  15228. "isvalid": {
  15229. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15230. "type": "integer"
  15231. },
  15232. "minivalue": {
  15233. "description": "最小变动值",
  15234. "type": "integer"
  15235. },
  15236. "minivaluedp": {
  15237. "description": "最小变动值小数位",
  15238. "type": "integer"
  15239. },
  15240. "realminivalue": {
  15241. "description": "实际最小变动值",
  15242. "type": "integer"
  15243. },
  15244. "realminivaluedp": {
  15245. "description": "实际最小变动值小数位",
  15246. "type": "integer"
  15247. },
  15248. "remark": {
  15249. "description": "备注",
  15250. "type": "string"
  15251. },
  15252. "unitid": {
  15253. "description": "品类单位ID",
  15254. "type": "integer"
  15255. },
  15256. "updatetime": {
  15257. "description": "更新时间",
  15258. "type": "string"
  15259. },
  15260. "wrstandardcode": {
  15261. "description": "品类代码",
  15262. "type": "string"
  15263. },
  15264. "wrstandardid": {
  15265. "description": "品类ID(SEQ_WRSTANDARD)",
  15266. "type": "integer"
  15267. },
  15268. "wrstandardname": {
  15269. "description": "品类名称",
  15270. "type": "string"
  15271. }
  15272. }
  15273. },
  15274. "models.ErmcpAreaSpotDetailModel": {
  15275. "type": "object",
  15276. "properties": {
  15277. "contracttype": {
  15278. "description": "合同类型 1-采购 -1-销售",
  15279. "type": "integer"
  15280. },
  15281. "createtime": {
  15282. "description": "创建时间",
  15283. "type": "string"
  15284. },
  15285. "enumdicname": {
  15286. "description": "现货商品单位名称",
  15287. "type": "string"
  15288. },
  15289. "logtype": {
  15290. "description": "记录类型 1-套保 2-现货合同",
  15291. "type": "integer"
  15292. },
  15293. "qty": {
  15294. "description": "数量",
  15295. "type": "number"
  15296. },
  15297. "recordname": {
  15298. "description": "类型名称",
  15299. "type": "string"
  15300. },
  15301. "relatedid": {
  15302. "description": "套保计划ID/现货合同ID",
  15303. "type": "string"
  15304. },
  15305. "relatedno": {
  15306. "description": "编号",
  15307. "type": "string"
  15308. },
  15309. "strtime": {
  15310. "description": "时间",
  15311. "type": "string"
  15312. },
  15313. "wrstandardcode": {
  15314. "description": "现货商品代码",
  15315. "type": "string"
  15316. },
  15317. "wrstandardname": {
  15318. "description": "现货商品名称",
  15319. "type": "string"
  15320. }
  15321. }
  15322. },
  15323. "models.ErmcpAvalidGoodsGroupModel": {
  15324. "type": "object",
  15325. "properties": {
  15326. "goodsgroupid": {
  15327. "description": "期货品种id",
  15328. "type": "integer"
  15329. },
  15330. "goodsgroupname": {
  15331. "description": "期货品种名称",
  15332. "type": "string"
  15333. },
  15334. "goodunitid": {
  15335. "description": "品种单位id",
  15336. "type": "integer"
  15337. },
  15338. "goodunitname": {
  15339. "description": "品种单位名称",
  15340. "type": "string"
  15341. },
  15342. "outergroupcode": {
  15343. "description": "期货品种代码",
  15344. "type": "string"
  15345. }
  15346. }
  15347. },
  15348. "models.ErmcpBizGroupEx": {
  15349. "type": "object",
  15350. "properties": {
  15351. "acclist": {
  15352. "description": "账号列表",
  15353. "type": "array",
  15354. "items": {
  15355. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15356. }
  15357. },
  15358. "bizgroupid": {
  15359. "description": "业务分组id",
  15360. "type": "integer"
  15361. },
  15362. "biztype": {
  15363. "description": "业务类型 1-套保 2-套利",
  15364. "type": "integer"
  15365. },
  15366. "wrlist": {
  15367. "description": "现货商品表",
  15368. "type": "array",
  15369. "items": {
  15370. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15371. }
  15372. }
  15373. }
  15374. },
  15375. "models.ErmcpBizGroupSpotGoods": {
  15376. "type": "object",
  15377. "properties": {
  15378. "areauserid": {
  15379. "description": "所属机构id",
  15380. "type": "integer"
  15381. },
  15382. "bizgroupid": {
  15383. "description": "分组id",
  15384. "type": "integer"
  15385. },
  15386. "biztype": {
  15387. "description": "业务类型 1-套保 2-套利",
  15388. "type": "integer"
  15389. },
  15390. "deliverygoodscode": {
  15391. "description": "现货商品代码",
  15392. "type": "string"
  15393. },
  15394. "deliverygoodsid": {
  15395. "description": "现货商品id",
  15396. "type": "integer"
  15397. },
  15398. "deliverygoodsname": {
  15399. "description": "现货商品名称",
  15400. "type": "string"
  15401. },
  15402. "unitid": {
  15403. "description": "现货商品单位id",
  15404. "type": "integer"
  15405. }
  15406. }
  15407. },
  15408. "models.ErmcpBizGroupTaAccount": {
  15409. "type": "object",
  15410. "properties": {
  15411. "accountid": {
  15412. "description": "账号id",
  15413. "type": "integer"
  15414. },
  15415. "accountname": {
  15416. "description": "账号名称",
  15417. "type": "string"
  15418. },
  15419. "areauserid": {
  15420. "description": "所属机构id",
  15421. "type": "integer"
  15422. },
  15423. "bizgroupid": {
  15424. "description": "业务分组id",
  15425. "type": "integer"
  15426. },
  15427. "ismain": {
  15428. "description": "是否主账号 1-是 0-否",
  15429. "type": "integer"
  15430. }
  15431. }
  15432. },
  15433. "models.ErmcpDGFactoryItem": {
  15434. "type": "object",
  15435. "properties": {
  15436. "areauserid": {
  15437. "description": "用户id",
  15438. "type": "integer"
  15439. },
  15440. "deliverygoodsid": {
  15441. "description": "现货品种ID",
  15442. "type": "integer"
  15443. },
  15444. "dgfactoryitemid": {
  15445. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15446. "type": "integer"
  15447. },
  15448. "dgfactoryitemtypeid": {
  15449. "description": "要素项类型",
  15450. "type": "integer"
  15451. },
  15452. "dgfactoryitemvalue": {
  15453. "description": "要素项值(类型为仓库时填写仓库名称)",
  15454. "type": "string"
  15455. },
  15456. "isvalid": {
  15457. "description": "是否有效 - 0:无效 1:有效",
  15458. "type": "integer"
  15459. },
  15460. "orderindex": {
  15461. "description": "顺序",
  15462. "type": "integer"
  15463. },
  15464. "warehouseid": {
  15465. "description": "仓库ID(类型为仓库时填写)",
  15466. "type": "integer"
  15467. }
  15468. }
  15469. },
  15470. "models.ErmcpDeliveryGoods": {
  15471. "type": "object",
  15472. "properties": {
  15473. "agreeunit": {
  15474. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15475. "type": "integer"
  15476. },
  15477. "areauserid": {
  15478. "description": "所属机构",
  15479. "type": "integer"
  15480. },
  15481. "auditflag": {
  15482. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15483. "type": "integer"
  15484. },
  15485. "categoryid": {
  15486. "description": "类别ID(SEQ_WRCATEGORY)",
  15487. "type": "integer"
  15488. },
  15489. "deliverygoodscode": {
  15490. "description": "现货品种代码",
  15491. "type": "string"
  15492. },
  15493. "deliverygoodsid": {
  15494. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15495. "type": "integer"
  15496. },
  15497. "deliverygoodsname": {
  15498. "description": "现货品种名称",
  15499. "type": "string"
  15500. },
  15501. "deliverygoodstype": {
  15502. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15503. "type": "integer"
  15504. },
  15505. "dgstatus": {
  15506. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15507. "type": "integer"
  15508. },
  15509. "enumdicname": {
  15510. "description": "现货品种单位名称",
  15511. "type": "string"
  15512. },
  15513. "goodsunitid": {
  15514. "description": "现货品种单位ID",
  15515. "type": "integer"
  15516. },
  15517. "isvalid": {
  15518. "description": "是否有效 - 0:无效 1:有效",
  15519. "type": "integer"
  15520. },
  15521. "qtydecimalplace": {
  15522. "description": "成交量小数位",
  15523. "type": "integer"
  15524. },
  15525. "remark": {
  15526. "description": "备注",
  15527. "type": "string"
  15528. },
  15529. "standardqty": {
  15530. "description": "标准数量(库位数量) [标准品特有]",
  15531. "type": "integer"
  15532. },
  15533. "standardqtyrange": {
  15534. "description": "标准数量偏差范围 [标准品特有]",
  15535. "type": "integer"
  15536. }
  15537. }
  15538. },
  15539. "models.ErmcpDeliveryGoodsDetail2": {
  15540. "type": "object",
  15541. "properties": {
  15542. "convertratio": {
  15543. "description": "套保系数(折算系数)",
  15544. "type": "number"
  15545. },
  15546. "data": {
  15547. "description": "现货商品基本信息(交割品种)",
  15548. "type": "object",
  15549. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15550. },
  15551. "gblist": {
  15552. "description": "品牌列表",
  15553. "type": "array",
  15554. "items": {
  15555. "$ref": "#/definitions/models.Ermcp3Brand"
  15556. }
  15557. },
  15558. "gmlist": {
  15559. "description": "品类列表(仓单标准)",
  15560. "type": "array",
  15561. "items": {
  15562. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15563. }
  15564. }
  15565. }
  15566. },
  15567. "models.ErmcpDeliveryGoodsDetailEx": {
  15568. "type": "object",
  15569. "properties": {
  15570. "data": {
  15571. "description": "现货商品基本信息(交割品种)",
  15572. "type": "object",
  15573. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15574. },
  15575. "gblist": {
  15576. "description": "品牌列表",
  15577. "type": "array",
  15578. "items": {
  15579. "$ref": "#/definitions/models.Ermcp3Brand"
  15580. }
  15581. },
  15582. "gmlist": {
  15583. "description": "品类列表(仓单标准)",
  15584. "type": "array",
  15585. "items": {
  15586. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15587. }
  15588. },
  15589. "mgList": {
  15590. "description": "套保列表",
  15591. "type": "array",
  15592. "items": {
  15593. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15594. }
  15595. }
  15596. }
  15597. },
  15598. "models.ErmcpExposureDetailModel": {
  15599. "type": "object",
  15600. "properties": {
  15601. "areauserid": {
  15602. "description": "机构ID",
  15603. "type": "integer"
  15604. },
  15605. "changeQty": {
  15606. "description": "套保变动量",
  15607. "type": "number"
  15608. },
  15609. "contracttype": {
  15610. "description": "现货合同类型 - 1:采购 -1:销售",
  15611. "type": "integer"
  15612. },
  15613. "convertfactor": {
  15614. "description": "标仓系数",
  15615. "type": "number"
  15616. },
  15617. "convertratio": {
  15618. "description": "套保系数",
  15619. "type": "number"
  15620. },
  15621. "createtime": {
  15622. "description": "时间",
  15623. "type": "string"
  15624. },
  15625. "enumdicname": {
  15626. "description": "现货商品单位名称",
  15627. "type": "string"
  15628. },
  15629. "logtype": {
  15630. "description": "类型 - 1:套保计划 2:现货合同",
  15631. "type": "integer"
  15632. },
  15633. "middlegoodsId": {
  15634. "description": "套保商品id",
  15635. "type": "integer"
  15636. },
  15637. "middlegoodscode": {
  15638. "description": "套保商品代码",
  15639. "type": "string"
  15640. },
  15641. "middlegoodsname": {
  15642. "description": "套保商品名称",
  15643. "type": "string"
  15644. },
  15645. "qty": {
  15646. "description": "数量",
  15647. "type": "number"
  15648. },
  15649. "relateNo": {
  15650. "description": "现货合同/套保计划编号",
  15651. "type": "string"
  15652. },
  15653. "wrstandardcode": {
  15654. "description": "现货商品代码",
  15655. "type": "string"
  15656. },
  15657. "wrstandardid": {
  15658. "description": "现货商品ID",
  15659. "type": "integer"
  15660. },
  15661. "wrstandardname": {
  15662. "description": "现货商品名称",
  15663. "type": "string"
  15664. }
  15665. }
  15666. },
  15667. "models.ErmcpExposurePostion": {
  15668. "type": "object",
  15669. "properties": {
  15670. "agreeunit": {
  15671. "description": "合约单位",
  15672. "type": "string"
  15673. },
  15674. "areauserid": {
  15675. "description": "所属机构id",
  15676. "type": "integer"
  15677. },
  15678. "convertratio": {
  15679. "description": "期货品种系数(折算系数)",
  15680. "type": "number"
  15681. },
  15682. "curqty": {
  15683. "description": "当前持仓",
  15684. "type": "integer"
  15685. },
  15686. "diffhedgeqty": {
  15687. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15688. "type": "number"
  15689. },
  15690. "diffqty": {
  15691. "description": "持仓变动量=当前持仓-昨日持仓",
  15692. "type": "integer"
  15693. },
  15694. "goodscode": {
  15695. "description": "商品代码",
  15696. "type": "string"
  15697. },
  15698. "goodsid": {
  15699. "description": "商品id",
  15700. "type": "integer"
  15701. },
  15702. "goodsname": {
  15703. "description": "商品名称",
  15704. "type": "string"
  15705. },
  15706. "middlegoodsid": {
  15707. "description": "套保商品id",
  15708. "type": "integer"
  15709. },
  15710. "ydqty": {
  15711. "description": "昨日持仓",
  15712. "type": "integer"
  15713. }
  15714. }
  15715. },
  15716. "models.ErmcpFuturesCompany": {
  15717. "type": "object",
  15718. "properties": {
  15719. "brokerid": {
  15720. "description": "经纪公司代码",
  15721. "type": "string"
  15722. },
  15723. "channeladdress": {
  15724. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15725. "type": "string"
  15726. },
  15727. "channelid": {
  15728. "description": "对冲渠道ID",
  15729. "type": "string"
  15730. },
  15731. "createtime": {
  15732. "description": "创建时间",
  15733. "type": "string"
  15734. },
  15735. "creatorid": {
  15736. "description": "创建人",
  15737. "type": "string"
  15738. },
  15739. "fcid": {
  15740. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15741. "type": "integer"
  15742. },
  15743. "fcname": {
  15744. "description": "期货公司名称",
  15745. "type": "string"
  15746. },
  15747. "isvalid": {
  15748. "description": "是否有效 - 0:无效 1:有效",
  15749. "type": "integer"
  15750. },
  15751. "mhpaddress": {
  15752. "description": "MHP服务地址(IP:Port)",
  15753. "type": "string"
  15754. },
  15755. "riskrulegroupid": {
  15756. "description": "风控规则组ID",
  15757. "type": "string"
  15758. },
  15759. "tradefeetmpid": {
  15760. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15761. "type": "string"
  15762. },
  15763. "trademargintmpid": {
  15764. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15765. "type": "string"
  15766. },
  15767. "traderatetmpid": {
  15768. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15769. "type": "string"
  15770. },
  15771. "updatetime": {
  15772. "description": "更新时间",
  15773. "type": "string"
  15774. },
  15775. "updatorid": {
  15776. "description": "更新人",
  15777. "type": "string"
  15778. }
  15779. }
  15780. },
  15781. "models.ErmcpGGConvertCfg": {
  15782. "type": "object",
  15783. "properties": {
  15784. "convertratio": {
  15785. "description": "折算系数",
  15786. "type": "number"
  15787. },
  15788. "destgoodsgroupid": {
  15789. "description": "目标品种ID",
  15790. "type": "integer"
  15791. },
  15792. "dstcode": {
  15793. "description": "目录品种代码",
  15794. "type": "string"
  15795. },
  15796. "dstexchangecode": {
  15797. "description": "目标期货交易所",
  15798. "type": "string"
  15799. },
  15800. "dstname": {
  15801. "description": "目标品种名称",
  15802. "type": "string"
  15803. },
  15804. "dstunitid": {
  15805. "description": "目标品种单位ID",
  15806. "type": "integer"
  15807. },
  15808. "dstunitidname": {
  15809. "description": "目标品种单位名称",
  15810. "type": "string"
  15811. },
  15812. "modifytime": {
  15813. "description": "修改时间",
  15814. "type": "string"
  15815. },
  15816. "srccode": {
  15817. "description": "源品种代码",
  15818. "type": "string"
  15819. },
  15820. "srcexchangecode": {
  15821. "description": "源期货交易所",
  15822. "type": "string"
  15823. },
  15824. "srcgoodsgroupid": {
  15825. "description": "源品种ID",
  15826. "type": "integer"
  15827. },
  15828. "srcname": {
  15829. "description": "源品种名称",
  15830. "type": "string"
  15831. },
  15832. "srcunitid": {
  15833. "description": "源品种单位ID",
  15834. "type": "integer"
  15835. },
  15836. "srcunitidname": {
  15837. "description": "源品种单位名称",
  15838. "type": "string"
  15839. }
  15840. }
  15841. },
  15842. "models.ErmcpGoodsBrand": {
  15843. "type": "object",
  15844. "properties": {
  15845. "areauserid": {
  15846. "description": "所属机构",
  15847. "type": "integer"
  15848. },
  15849. "brandid": {
  15850. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15851. "type": "integer"
  15852. },
  15853. "brandname": {
  15854. "description": "品牌名称",
  15855. "type": "string"
  15856. },
  15857. "createtime": {
  15858. "description": "创建时间",
  15859. "type": "string"
  15860. },
  15861. "creatorid": {
  15862. "description": "创建人",
  15863. "type": "integer"
  15864. },
  15865. "creatorsrc": {
  15866. "description": "创建人来源 - 1:管理端 2:终端",
  15867. "type": "integer"
  15868. },
  15869. "deliverygoodsid": {
  15870. "description": "现货品种ID",
  15871. "type": "integer"
  15872. },
  15873. "isvalid": {
  15874. "description": "是否有效 - 0:无效 1:有效",
  15875. "type": "integer"
  15876. },
  15877. "updatetime": {
  15878. "description": "更新时间",
  15879. "type": "string"
  15880. },
  15881. "updatorid": {
  15882. "description": "更新人",
  15883. "type": "integer"
  15884. },
  15885. "updatorsrc": {
  15886. "description": "更新人来源 - 1:管理端 2:终端",
  15887. "type": "integer"
  15888. },
  15889. "wrstandardid": {
  15890. "description": "现货商品ID",
  15891. "type": "integer"
  15892. }
  15893. }
  15894. },
  15895. "models.ErmcpGoodsModel": {
  15896. "type": "object",
  15897. "properties": {
  15898. "areauserid": {
  15899. "description": "所属机构",
  15900. "type": "integer"
  15901. },
  15902. "convertfactor": {
  15903. "description": "标仓系数",
  15904. "type": "number"
  15905. },
  15906. "createtime": {
  15907. "description": "创建时间",
  15908. "type": "string"
  15909. },
  15910. "creatorid": {
  15911. "description": "创建人",
  15912. "type": "integer"
  15913. },
  15914. "creatorsrc": {
  15915. "description": "创建人来源 - 1:管理端 2:终端",
  15916. "type": "integer"
  15917. },
  15918. "deliverygoodsid": {
  15919. "description": "现货品种ID",
  15920. "type": "integer"
  15921. },
  15922. "isvalid": {
  15923. "description": "是否有效 - 0:无效 1:有效",
  15924. "type": "integer"
  15925. },
  15926. "modelid": {
  15927. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15928. "type": "integer"
  15929. },
  15930. "modelname": {
  15931. "description": "型号名称",
  15932. "type": "string"
  15933. },
  15934. "updatetime": {
  15935. "description": "更新时间",
  15936. "type": "string"
  15937. },
  15938. "updatorid": {
  15939. "description": "更新人",
  15940. "type": "integer"
  15941. },
  15942. "updatorsrc": {
  15943. "description": "更新人来源 - 1:管理端 2:终端",
  15944. "type": "integer"
  15945. },
  15946. "wrstandardid": {
  15947. "description": "现货商品ID",
  15948. "type": "integer"
  15949. }
  15950. }
  15951. },
  15952. "models.ErmcpHedgePosition": {
  15953. "type": "object",
  15954. "properties": {
  15955. "accountid": {
  15956. "description": "资金账号[外部母账户]",
  15957. "type": "integer"
  15958. },
  15959. "curbuyposition": {
  15960. "description": "期末买头寸",
  15961. "type": "integer"
  15962. },
  15963. "cursellposition": {
  15964. "description": "期末卖头寸",
  15965. "type": "integer"
  15966. },
  15967. "curtdbuyposition": {
  15968. "description": "期末今日买头寸",
  15969. "type": "integer"
  15970. },
  15971. "curtdsellposition": {
  15972. "description": "期末今日卖头寸",
  15973. "type": "integer"
  15974. },
  15975. "curydbuyposition": {
  15976. "description": "期末上日买头寸",
  15977. "type": "integer"
  15978. },
  15979. "curydsellposition": {
  15980. "description": "期末上日卖头寸",
  15981. "type": "integer"
  15982. },
  15983. "decreaseqty": {
  15984. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15985. "type": "integer"
  15986. },
  15987. "fretdbuyposition": {
  15988. "description": "冻结今日买头寸",
  15989. "type": "integer"
  15990. },
  15991. "fretdsellposition": {
  15992. "description": "冻结今日卖头寸",
  15993. "type": "integer"
  15994. },
  15995. "freydbuyposition": {
  15996. "description": "冻结上日买头寸",
  15997. "type": "integer"
  15998. },
  15999. "freydsellposition": {
  16000. "description": "冻结上日卖头寸",
  16001. "type": "integer"
  16002. },
  16003. "goodscode": {
  16004. "description": "商品代码",
  16005. "type": "string"
  16006. },
  16007. "goodsid": {
  16008. "description": "商品id",
  16009. "type": "integer"
  16010. },
  16011. "goodsname": {
  16012. "description": "商品名称",
  16013. "type": "string"
  16014. },
  16015. "hedgeaccountcode": {
  16016. "description": "对冲账号",
  16017. "type": "string"
  16018. },
  16019. "hedgegoodsid": {
  16020. "description": "对冲合约ID",
  16021. "type": "integer"
  16022. },
  16023. "increaseqty": {
  16024. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16025. "type": "integer"
  16026. },
  16027. "marketid": {
  16028. "description": "市场ID",
  16029. "type": "integer"
  16030. },
  16031. "relateduserid": {
  16032. "description": "关联用户id",
  16033. "type": "integer"
  16034. },
  16035. "totalcurqty": {
  16036. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16037. "type": "integer"
  16038. },
  16039. "totalydqty": {
  16040. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16041. "type": "integer"
  16042. },
  16043. "tradedate": {
  16044. "description": "交易日(yyyyMMdd)",
  16045. "type": "string"
  16046. },
  16047. "ydbuyposition": {
  16048. "description": "期初买头寸",
  16049. "type": "integer"
  16050. },
  16051. "ydsellposition": {
  16052. "description": "期初卖头寸",
  16053. "type": "integer"
  16054. }
  16055. }
  16056. },
  16057. "models.ErmcpHedgePositionDetail": {
  16058. "type": "object",
  16059. "properties": {
  16060. "buyorsell": {
  16061. "description": "买卖方向 0-买 1-卖",
  16062. "type": "integer"
  16063. },
  16064. "channelbuildtype": {
  16065. "description": "开平方向 1-建仓 2-平仓",
  16066. "type": "integer"
  16067. },
  16068. "goodscode": {
  16069. "description": "商品代码",
  16070. "type": "string"
  16071. },
  16072. "goodsname": {
  16073. "description": "商品名称",
  16074. "type": "string"
  16075. },
  16076. "hedgegoodsid": {
  16077. "description": "商品id",
  16078. "type": "integer"
  16079. },
  16080. "tradeqty": {
  16081. "description": "数量(成交数量)",
  16082. "type": "integer"
  16083. },
  16084. "tradetime": {
  16085. "description": "时间(成交时间)",
  16086. "type": "string"
  16087. }
  16088. }
  16089. },
  16090. "models.ErmcpHisExposure": {
  16091. "type": "object",
  16092. "properties": {
  16093. "needhedgeexposoure": {
  16094. "description": "应套保敞口",
  16095. "type": "number"
  16096. },
  16097. "reckondate": {
  16098. "description": "日照时期(yyyyMMdd)",
  16099. "type": "string"
  16100. },
  16101. "totalexposure": {
  16102. "description": "总敞口",
  16103. "type": "number"
  16104. }
  16105. }
  16106. },
  16107. "models.ErmcpHisExposureS": {
  16108. "type": "object",
  16109. "properties": {
  16110. "data": {
  16111. "description": "历史敞口",
  16112. "type": "array",
  16113. "items": {
  16114. "$ref": "#/definitions/models.ErmcpHisExposure"
  16115. }
  16116. },
  16117. "enumdicname": {
  16118. "description": "单位名称",
  16119. "type": "string"
  16120. },
  16121. "middlegoodscode": {
  16122. "description": "套保品种代码",
  16123. "type": "string"
  16124. },
  16125. "middlegoodsid": {
  16126. "description": "套保品种ID",
  16127. "type": "integer"
  16128. },
  16129. "middlegoodsname": {
  16130. "description": "套保品种名称",
  16131. "type": "string"
  16132. }
  16133. }
  16134. },
  16135. "models.ErmcpLoginTaAccount": {
  16136. "type": "object",
  16137. "properties": {
  16138. "accountid": {
  16139. "description": "账号id",
  16140. "type": "integer"
  16141. },
  16142. "accountname": {
  16143. "description": "账号名称",
  16144. "type": "string"
  16145. }
  16146. }
  16147. },
  16148. "models.ErmcpLoginUser": {
  16149. "type": "object",
  16150. "properties": {
  16151. "acclist": {
  16152. "description": "关联资金账号",
  16153. "type": "array",
  16154. "items": {
  16155. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16156. }
  16157. },
  16158. "accountname": {
  16159. "description": "用户名称",
  16160. "type": "string"
  16161. },
  16162. "clientroleid": {
  16163. "description": "角色id(usertype=2)",
  16164. "type": "integer"
  16165. },
  16166. "createtime": {
  16167. "description": "创建时间",
  16168. "type": "string"
  16169. },
  16170. "logincode": {
  16171. "description": "登录代码",
  16172. "type": "string"
  16173. },
  16174. "loginid": {
  16175. "description": "登录id(LOGINID)",
  16176. "type": "integer"
  16177. },
  16178. "loginname": {
  16179. "description": "登录名称(loginaccount表中的accountname字段)",
  16180. "type": "string"
  16181. },
  16182. "loginstatus": {
  16183. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16184. "type": "integer"
  16185. },
  16186. "memberuserid": {
  16187. "description": "所属会员id",
  16188. "type": "integer"
  16189. },
  16190. "mobile": {
  16191. "description": "手机号",
  16192. "type": "string"
  16193. },
  16194. "modifytime": {
  16195. "description": "修改时间",
  16196. "type": "string"
  16197. },
  16198. "password": {
  16199. "description": "密码(不可解密)",
  16200. "type": "string"
  16201. },
  16202. "rolename": {
  16203. "description": "角色名称",
  16204. "type": "string"
  16205. },
  16206. "rolestatus": {
  16207. "description": "角色状态 1-启用 2-停用",
  16208. "type": "integer"
  16209. },
  16210. "roletype": {
  16211. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16212. "type": "string"
  16213. },
  16214. "userid": {
  16215. "description": "用户id",
  16216. "type": "integer"
  16217. },
  16218. "usertype": {
  16219. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16220. "type": "integer"
  16221. }
  16222. }
  16223. },
  16224. "models.ErmcpLoginUserEx": {
  16225. "type": "object",
  16226. "properties": {
  16227. "accountstatus": {
  16228. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16229. "type": "integer"
  16230. },
  16231. "mobile": {
  16232. "description": "手机号",
  16233. "type": "string"
  16234. },
  16235. "querytype": {
  16236. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16237. "type": "integer"
  16238. },
  16239. "roleid": {
  16240. "description": "角色id(交易账户-\u003e用户id)",
  16241. "type": "integer"
  16242. },
  16243. "rolename": {
  16244. "description": "角色名称(交易账户-\u003e用户名称)",
  16245. "type": "string"
  16246. },
  16247. "userlist": {
  16248. "description": "用户列表",
  16249. "type": "array",
  16250. "items": {
  16251. "$ref": "#/definitions/models.ErmcpLoginUser"
  16252. }
  16253. },
  16254. "usertype": {
  16255. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16256. "type": "integer"
  16257. }
  16258. }
  16259. },
  16260. "models.ErmcpMiddleGoodsChangeLog": {
  16261. "type": "object",
  16262. "properties": {
  16263. "aftervalue": {
  16264. "description": "变更后",
  16265. "type": "number"
  16266. },
  16267. "applyid": {
  16268. "description": "操作人",
  16269. "type": "integer"
  16270. },
  16271. "applyname": {
  16272. "description": "操作人名称",
  16273. "type": "string"
  16274. },
  16275. "applysrc": {
  16276. "description": "操作来源 - 1:管理端 2:终端",
  16277. "type": "integer"
  16278. },
  16279. "beforevalue": {
  16280. "description": "变更前",
  16281. "type": "number"
  16282. },
  16283. "changelogtype": {
  16284. "description": "变更流水类型 - 1:套保比率变更",
  16285. "type": "integer"
  16286. },
  16287. "handlestatus": {
  16288. "description": "处理状态",
  16289. "type": "integer"
  16290. },
  16291. "logdatetime": {
  16292. "description": "流水日期",
  16293. "type": "string"
  16294. },
  16295. "logid": {
  16296. "description": "流水ID",
  16297. "type": "integer"
  16298. },
  16299. "logremark": {
  16300. "description": "流水备注",
  16301. "type": "string"
  16302. },
  16303. "middlegoodsid": {
  16304. "description": "套保品种ID",
  16305. "type": "integer"
  16306. },
  16307. "tradedate": {
  16308. "description": "交易日(yyyyMMdd)",
  16309. "type": "string"
  16310. },
  16311. "updatetime": {
  16312. "description": "更新时间",
  16313. "type": "string"
  16314. }
  16315. }
  16316. },
  16317. "models.ErmcpMiddleGoodsDetail": {
  16318. "type": "object",
  16319. "properties": {
  16320. "cvList": {
  16321. "description": "期货品种折算列表",
  16322. "type": "array",
  16323. "items": {
  16324. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16325. }
  16326. },
  16327. "mg": {
  16328. "description": "套保品种基本信息",
  16329. "type": "object",
  16330. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16331. },
  16332. "wrcList": {
  16333. "description": "现货品种列表(现货商品折算配置)",
  16334. "type": "array",
  16335. "items": {
  16336. "$ref": "#/definitions/models.WRSConverTDetail"
  16337. }
  16338. }
  16339. }
  16340. },
  16341. "models.ErmcpMiddleGoodsModel": {
  16342. "type": "object",
  16343. "properties": {
  16344. "areauserid": {
  16345. "description": "机构用户ID",
  16346. "type": "integer"
  16347. },
  16348. "createtime": {
  16349. "description": "修改时间",
  16350. "type": "string"
  16351. },
  16352. "enumdicname": {
  16353. "description": "单位名称",
  16354. "type": "string"
  16355. },
  16356. "evaluateratio": {
  16357. "description": "估价系数",
  16358. "type": "number"
  16359. },
  16360. "goodsgroupid": {
  16361. "description": "关联期货品种ID",
  16362. "type": "integer"
  16363. },
  16364. "goodsunitid": {
  16365. "description": "单位ID",
  16366. "type": "integer"
  16367. },
  16368. "isvalid": {
  16369. "description": "状态 0-无效(停用) 1-有效(正常)",
  16370. "type": "integer"
  16371. },
  16372. "middlegoodscode": {
  16373. "description": "套保品种代码",
  16374. "type": "string"
  16375. },
  16376. "middlegoodsid": {
  16377. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16378. "type": "integer"
  16379. },
  16380. "middlegoodsname": {
  16381. "description": "套保品种名称",
  16382. "type": "string"
  16383. },
  16384. "modifytime": {
  16385. "description": "修改时间",
  16386. "type": "string"
  16387. },
  16388. "needarbitrageratio": {
  16389. "description": "套利比例",
  16390. "type": "number"
  16391. },
  16392. "needhedgeratio": {
  16393. "description": "套保比率",
  16394. "type": "number"
  16395. },
  16396. "qtydecimalplace": {
  16397. "description": "数量小数位",
  16398. "type": "integer"
  16399. },
  16400. "relatedgoodsid": {
  16401. "description": "关联交易商品ID",
  16402. "type": "integer"
  16403. },
  16404. "relatedgoodstype": {
  16405. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16406. "type": "integer"
  16407. },
  16408. "remark": {
  16409. "description": "备注",
  16410. "type": "string"
  16411. }
  16412. }
  16413. },
  16414. "models.ErmcpOPLogModel": {
  16415. "type": "object",
  16416. "properties": {
  16417. "aftervalue": {
  16418. "description": "变更后",
  16419. "type": "number"
  16420. },
  16421. "applyid": {
  16422. "description": "操作人ID",
  16423. "type": "string"
  16424. },
  16425. "applyname": {
  16426. "description": "操作人名称",
  16427. "type": "string"
  16428. },
  16429. "beforevalue": {
  16430. "description": "变更前",
  16431. "type": "number"
  16432. },
  16433. "biztype": {
  16434. "description": "业务类型 - 1:套保计划 2:现货合同",
  16435. "type": "integer"
  16436. },
  16437. "contracttype": {
  16438. "description": "现货合同类型 - 1:采购 -1:销售",
  16439. "type": "integer"
  16440. },
  16441. "logvalue": {
  16442. "description": "数值",
  16443. "type": "number"
  16444. },
  16445. "operatelogtype": {
  16446. "description": "操作流水类型",
  16447. "type": "integer"
  16448. },
  16449. "operatelogtypedesc": {
  16450. "description": "操作流水类型名称",
  16451. "type": "string"
  16452. },
  16453. "relatedid": {
  16454. "description": "现货合同ID\\套保计划",
  16455. "type": "string"
  16456. },
  16457. "updatetime": {
  16458. "description": "更新时间",
  16459. "type": "string"
  16460. }
  16461. }
  16462. },
  16463. "models.ErmcpPendingAudit": {
  16464. "type": "object",
  16465. "properties": {
  16466. "areastockqty": {
  16467. "description": "待审核数量: 库存申请",
  16468. "type": "integer"
  16469. },
  16470. "businessdjqty": {
  16471. "description": "待审核数量: 点价",
  16472. "type": "integer"
  16473. },
  16474. "businessfpqty": {
  16475. "description": "待审核数量: 发票",
  16476. "type": "integer"
  16477. },
  16478. "businessjsqty": {
  16479. "description": "待审核数量: 结算",
  16480. "type": "integer"
  16481. },
  16482. "businesskxqty": {
  16483. "description": "待审核数量: 款项",
  16484. "type": "integer"
  16485. },
  16486. "hedgeplanqty": {
  16487. "description": "待审核数量: 套保计划",
  16488. "type": "integer"
  16489. },
  16490. "spotcontractqty": {
  16491. "description": "待审核数量: 现货合同",
  16492. "type": "integer"
  16493. },
  16494. "userqty": {
  16495. "description": "待审核数量: 用户",
  16496. "type": "integer"
  16497. }
  16498. }
  16499. },
  16500. "models.ErmcpRealExposureModel": {
  16501. "type": "object",
  16502. "properties": {
  16503. "AreaUserID": {
  16504. "description": "所属机构",
  16505. "type": "integer"
  16506. },
  16507. "BuyFutureQty": {
  16508. "description": "买入期货数量",
  16509. "type": "number"
  16510. },
  16511. "BuyPlanQty": {
  16512. "description": "采购计划数量",
  16513. "type": "number"
  16514. },
  16515. "BuyPricedQty": {
  16516. "description": "采购合同已定价数量",
  16517. "type": "number"
  16518. },
  16519. "MiddleGoodsCode": {
  16520. "description": "套保品种代码",
  16521. "type": "string"
  16522. },
  16523. "MiddleGoodsHedgeRatio": {
  16524. "description": "套保比例",
  16525. "type": "number"
  16526. },
  16527. "MiddleGoodsID": {
  16528. "description": "套保品种",
  16529. "type": "integer"
  16530. },
  16531. "MiddleGoodsName": {
  16532. "description": "套保品种名称",
  16533. "type": "string"
  16534. },
  16535. "NeedHedgeExposoure": {
  16536. "description": "应套保敞口(套保敞口)",
  16537. "type": "number"
  16538. },
  16539. "NeedHedgeRatio": {
  16540. "description": "应套保敞口比例",
  16541. "type": "number"
  16542. },
  16543. "OriBuyFutureQty": {
  16544. "description": "期初买入期货数量",
  16545. "type": "number"
  16546. },
  16547. "OriBuyPlanQty": {
  16548. "description": "期初采购计划数量",
  16549. "type": "number"
  16550. },
  16551. "OriBuyPricedQty": {
  16552. "description": "期初采购合同已定价数量",
  16553. "type": "number"
  16554. },
  16555. "OriSellFutureQty": {
  16556. "description": "期初卖出期货数量",
  16557. "type": "number"
  16558. },
  16559. "OriSellPlanQty": {
  16560. "description": "期初销售计划数量",
  16561. "type": "number"
  16562. },
  16563. "OriSellPricedQty": {
  16564. "description": "期初销售合同已定价数量",
  16565. "type": "number"
  16566. },
  16567. "SellFutureQty": {
  16568. "description": "卖出期货数量",
  16569. "type": "number"
  16570. },
  16571. "SellPlanQty": {
  16572. "description": "销售计划数量",
  16573. "type": "number"
  16574. },
  16575. "SellPricedQty": {
  16576. "description": "销售合同已定价数量",
  16577. "type": "number"
  16578. },
  16579. "TotalExposure": {
  16580. "description": "总敞口",
  16581. "type": "number"
  16582. },
  16583. "TotalFutureQty": {
  16584. "description": "期货总量",
  16585. "type": "number"
  16586. },
  16587. "TotalHedgeRatio": {
  16588. "description": "敞口比例",
  16589. "type": "number"
  16590. },
  16591. "TotalNeedHedgeQty": {
  16592. "description": "应套保总量(现货应套保总量)",
  16593. "type": "number"
  16594. },
  16595. "TotalSpotQty": {
  16596. "description": "现货总量",
  16597. "type": "number"
  16598. },
  16599. "arbitrageqty": {
  16600. "description": "套利量",
  16601. "type": "number"
  16602. },
  16603. "diffArbitrageQty": {
  16604. "description": "套利变动量",
  16605. "type": "number"
  16606. },
  16607. "diffExposoureQty": {
  16608. "description": "变动量(套保敞口)",
  16609. "type": "number"
  16610. },
  16611. "diffFutuQty": {
  16612. "description": "变动量(期货总量)",
  16613. "type": "number"
  16614. },
  16615. "diffHedgeQty": {
  16616. "description": "套保变动量",
  16617. "type": "number"
  16618. },
  16619. "diffQty": {
  16620. "description": "变动量(总敞口)",
  16621. "type": "number"
  16622. },
  16623. "diffSpotHedgeQty": {
  16624. "description": "变动量(现货应套保总量)",
  16625. "type": "number"
  16626. },
  16627. "diffSpotQty": {
  16628. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16629. "type": "number"
  16630. },
  16631. "enumdicname": {
  16632. "description": "单位名称",
  16633. "type": "string"
  16634. },
  16635. "hedgeqty": {
  16636. "description": "套保量",
  16637. "type": "number"
  16638. },
  16639. "needarbitrageqty": {
  16640. "description": "应套利量",
  16641. "type": "number"
  16642. },
  16643. "needarbitrageratio": {
  16644. "description": "套利比例",
  16645. "type": "number"
  16646. },
  16647. "needhedgeqty": {
  16648. "description": "应套保量",
  16649. "type": "number"
  16650. },
  16651. "oriTotalFutuQty": {
  16652. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16653. "type": "number"
  16654. },
  16655. "oriTotalSpotQty": {
  16656. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16657. "type": "number"
  16658. },
  16659. "oriarbitrageqty": {
  16660. "description": "期初套利量",
  16661. "type": "number"
  16662. },
  16663. "orihedgeqty": {
  16664. "description": "期初套保量",
  16665. "type": "number"
  16666. },
  16667. "orineedhedgeexposoure": {
  16668. "description": "期初套保敞口",
  16669. "type": "number"
  16670. },
  16671. "oritotalexposure": {
  16672. "description": "期初总敞口",
  16673. "type": "number"
  16674. },
  16675. "oritotalfutureqty": {
  16676. "description": "期初期货总量",
  16677. "type": "number"
  16678. },
  16679. "oritotalneedhedgeqty": {
  16680. "description": "期初现货应套保量",
  16681. "type": "number"
  16682. }
  16683. }
  16684. },
  16685. "models.ErmcpRole": {
  16686. "type": "object",
  16687. "properties": {
  16688. "areauserid": {
  16689. "description": "所属机构",
  16690. "type": "integer"
  16691. },
  16692. "autoid": {
  16693. "description": "角色ID(自增ID)",
  16694. "type": "integer"
  16695. },
  16696. "modifierid": {
  16697. "description": "修改人(创建人)",
  16698. "type": "integer"
  16699. },
  16700. "modifiername": {
  16701. "description": "修改人名称",
  16702. "type": "string"
  16703. },
  16704. "modifytime": {
  16705. "description": "修改时间(创建时间)",
  16706. "type": "string"
  16707. },
  16708. "rolename": {
  16709. "description": "角色名称",
  16710. "type": "string"
  16711. },
  16712. "rolestatus": {
  16713. "description": "角色状态 - 1:启用 2:停用",
  16714. "type": "integer"
  16715. },
  16716. "roletype": {
  16717. "description": "角色类型 - 1- 管理端 2- 交易端",
  16718. "type": "integer"
  16719. }
  16720. }
  16721. },
  16722. "models.ErmcpRoleMenu": {
  16723. "type": "object",
  16724. "properties": {
  16725. "iconame": {
  16726. "description": "菜单图标",
  16727. "type": "string"
  16728. },
  16729. "ishadrole": {
  16730. "description": "是否有权限",
  16731. "type": "boolean"
  16732. },
  16733. "menutype": {
  16734. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16735. "type": "integer"
  16736. },
  16737. "parentcode": {
  16738. "description": "上级资源代码",
  16739. "type": "string"
  16740. },
  16741. "remark": {
  16742. "description": "菜单备注",
  16743. "type": "string"
  16744. },
  16745. "resourcecode": {
  16746. "description": "菜单代码",
  16747. "type": "string"
  16748. },
  16749. "resourcelevel": {
  16750. "description": "级别",
  16751. "type": "integer"
  16752. },
  16753. "resourcename": {
  16754. "description": "菜单名称",
  16755. "type": "string"
  16756. },
  16757. "roleid": {
  16758. "description": "角色id",
  16759. "type": "integer"
  16760. },
  16761. "sort": {
  16762. "description": "排序",
  16763. "type": "integer"
  16764. },
  16765. "url": {
  16766. "description": "URL",
  16767. "type": "string"
  16768. },
  16769. "userid": {
  16770. "description": "用户id",
  16771. "type": "integer"
  16772. }
  16773. }
  16774. },
  16775. "models.ErmcpRoleMenuEx": {
  16776. "type": "object",
  16777. "properties": {
  16778. "menu": {
  16779. "description": "父级菜单",
  16780. "type": "object",
  16781. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16782. },
  16783. "subMenu": {
  16784. "description": "子级菜单",
  16785. "type": "array",
  16786. "items": {
  16787. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16788. }
  16789. }
  16790. }
  16791. },
  16792. "models.ErmcpTaAccount": {
  16793. "type": "object",
  16794. "properties": {
  16795. "accountid": {
  16796. "description": "账户id",
  16797. "type": "integer"
  16798. },
  16799. "accountname": {
  16800. "description": "账户名称",
  16801. "type": "string"
  16802. },
  16803. "currencyid": {
  16804. "description": "币种id",
  16805. "type": "integer"
  16806. },
  16807. "hedgeaccountcode": {
  16808. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16809. "type": "string"
  16810. },
  16811. "ismain": {
  16812. "description": "是否主账户 0-否 1-是",
  16813. "type": "integer"
  16814. },
  16815. "parentaccountid": {
  16816. "description": "父账户id",
  16817. "type": "integer"
  16818. },
  16819. "relateduserid": {
  16820. "description": "关联userid",
  16821. "type": "integer"
  16822. },
  16823. "tradestatus": {
  16824. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16825. "type": "integer"
  16826. },
  16827. "userid": {
  16828. "description": "用户id",
  16829. "type": "integer"
  16830. }
  16831. }
  16832. },
  16833. "models.ErmcpTaAccountEx": {
  16834. "type": "object",
  16835. "properties": {
  16836. "mainAcc": {
  16837. "description": "主账号",
  16838. "type": "object",
  16839. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16840. },
  16841. "subacclist": {
  16842. "description": "子账号列表",
  16843. "type": "array",
  16844. "items": {
  16845. "$ref": "#/definitions/models.ErmcpTaAccount"
  16846. }
  16847. }
  16848. }
  16849. },
  16850. "models.ErmcpTaAccountInfo": {
  16851. "type": "object",
  16852. "properties": {
  16853. "accountid": {
  16854. "description": "资金账户ID",
  16855. "type": "integer"
  16856. },
  16857. "accountname": {
  16858. "description": "账户名称",
  16859. "type": "string"
  16860. },
  16861. "balance": {
  16862. "description": "期初余额",
  16863. "type": "number"
  16864. },
  16865. "capitalbalance": {
  16866. "description": "本金余额[外部子账户实际出入金余额]",
  16867. "type": "number"
  16868. },
  16869. "closepl": {
  16870. "description": "今日平仓盈亏",
  16871. "type": "number"
  16872. },
  16873. "creditdecrease": {
  16874. "description": "今日授信减少",
  16875. "type": "number"
  16876. },
  16877. "creditincrease": {
  16878. "description": "今日授信增加",
  16879. "type": "number"
  16880. },
  16881. "curdebt": {
  16882. "description": "期末欠款",
  16883. "type": "number"
  16884. },
  16885. "currencyid": {
  16886. "description": "货币ID",
  16887. "type": "integer"
  16888. },
  16889. "currentbalance": {
  16890. "description": "期末余额",
  16891. "type": "number"
  16892. },
  16893. "freezecharge": {
  16894. "description": "手续费冻结",
  16895. "type": "number"
  16896. },
  16897. "freezemargin": {
  16898. "description": "冻结保证金",
  16899. "type": "number"
  16900. },
  16901. "fromaccountid": {
  16902. "description": "所属上级账户",
  16903. "type": "integer"
  16904. },
  16905. "inamount": {
  16906. "description": "今日入金金额(包括三方入金)",
  16907. "type": "number"
  16908. },
  16909. "ismain": {
  16910. "description": "是否母账号 0:不是母账户 1:是母账户",
  16911. "type": "integer"
  16912. },
  16913. "mortgagecredit": {
  16914. "description": "授信金额",
  16915. "type": "number"
  16916. },
  16917. "oridebt": {
  16918. "description": "期初欠款",
  16919. "type": "number"
  16920. },
  16921. "orifreezecharge": {
  16922. "description": "期初手续费冻结",
  16923. "type": "number"
  16924. },
  16925. "orifreezemargin": {
  16926. "description": "期初冻结保证金",
  16927. "type": "number"
  16928. },
  16929. "orimortgagecredit": {
  16930. "description": "期初授信金额",
  16931. "type": "number"
  16932. },
  16933. "oriothercredit": {
  16934. "description": "期初其它授信金额",
  16935. "type": "number"
  16936. },
  16937. "oriotherfreezemargin": {
  16938. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16939. "type": "number"
  16940. },
  16941. "orioutamountfreeze": {
  16942. "description": "期初出金冻结",
  16943. "type": "number"
  16944. },
  16945. "oriusedmargin": {
  16946. "description": "期初占用保证金",
  16947. "type": "number"
  16948. },
  16949. "othercredit": {
  16950. "description": "其它授信金额",
  16951. "type": "number"
  16952. },
  16953. "othercreditdecrease": {
  16954. "description": "今日其它授信减少",
  16955. "type": "number"
  16956. },
  16957. "othercreditincrease": {
  16958. "description": "今日其它授信增加",
  16959. "type": "number"
  16960. },
  16961. "otherfreezemargin": {
  16962. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16963. "type": "number"
  16964. },
  16965. "outamount": {
  16966. "description": "今日出金金额(包括三方出金)",
  16967. "type": "number"
  16968. },
  16969. "outamountfreeze": {
  16970. "description": "出金冻结",
  16971. "type": "number"
  16972. },
  16973. "outthreshold": {
  16974. "description": "出金阈值",
  16975. "type": "number"
  16976. },
  16977. "parentaccountid": {
  16978. "description": "所属根账号",
  16979. "type": "integer"
  16980. },
  16981. "paycharge": {
  16982. "description": "今日手续费支出",
  16983. "type": "number"
  16984. },
  16985. "relateduserid": {
  16986. "description": "关联用户",
  16987. "type": "integer"
  16988. },
  16989. "signstatus": {
  16990. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16991. "type": "integer"
  16992. },
  16993. "sublevelpath": {
  16994. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16995. "type": "string"
  16996. },
  16997. "taaccounttype": {
  16998. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16999. "type": "integer"
  17000. },
  17001. "thirdinamount": {
  17002. "description": "今日三方入金",
  17003. "type": "number"
  17004. },
  17005. "thirdoutamount": {
  17006. "description": "今日三方出金",
  17007. "type": "number"
  17008. },
  17009. "tradestatus": {
  17010. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17011. "type": "integer"
  17012. },
  17013. "transferamount": {
  17014. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17015. "type": "number"
  17016. },
  17017. "usedmargin": {
  17018. "description": "占用保证金",
  17019. "type": "number"
  17020. },
  17021. "userid": {
  17022. "description": "用户ID",
  17023. "type": "integer"
  17024. }
  17025. }
  17026. },
  17027. "models.ErmcpTaAccountM": {
  17028. "type": "object",
  17029. "properties": {
  17030. "accountid": {
  17031. "description": "账户id",
  17032. "type": "integer"
  17033. },
  17034. "accountname": {
  17035. "description": "账户名称",
  17036. "type": "string"
  17037. },
  17038. "currencyid": {
  17039. "description": "币种id",
  17040. "type": "integer"
  17041. },
  17042. "fcid": {
  17043. "description": "期货公司id",
  17044. "type": "integer"
  17045. },
  17046. "fcname": {
  17047. "description": "期货公司代码",
  17048. "type": "string"
  17049. },
  17050. "hedgeaccountcode": {
  17051. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17052. "type": "string"
  17053. },
  17054. "ismain": {
  17055. "description": "是否主账户 0-否 1-是",
  17056. "type": "integer"
  17057. },
  17058. "parentaccountid": {
  17059. "description": "父账户id",
  17060. "type": "integer"
  17061. },
  17062. "relateduserid": {
  17063. "description": "关联userid",
  17064. "type": "integer"
  17065. },
  17066. "tradestatus": {
  17067. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17068. "type": "integer"
  17069. },
  17070. "userid": {
  17071. "description": "用户id",
  17072. "type": "integer"
  17073. }
  17074. }
  17075. },
  17076. "models.ErmcpTradeConfigTMP": {
  17077. "type": "object",
  17078. "properties": {
  17079. "areauserid": {
  17080. "description": "所属机构",
  17081. "type": "integer"
  17082. },
  17083. "basiccurrencyid": {
  17084. "description": "基本币种ID[汇率] - 目标币种",
  17085. "type": "integer"
  17086. },
  17087. "mainaccountid": {
  17088. "description": "主账户ID",
  17089. "type": "integer"
  17090. },
  17091. "modifierid": {
  17092. "description": "修改人",
  17093. "type": "integer"
  17094. },
  17095. "remark": {
  17096. "description": "备注",
  17097. "type": "string"
  17098. },
  17099. "tradeconfigtmpid": {
  17100. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17101. "type": "integer"
  17102. },
  17103. "tradeconfigtmpname": {
  17104. "description": "交易配置模板名称",
  17105. "type": "string"
  17106. },
  17107. "tradeconfigtmptype": {
  17108. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17109. "type": "integer"
  17110. },
  17111. "updatetime": {
  17112. "description": "更新时间",
  17113. "type": "string"
  17114. }
  17115. }
  17116. },
  17117. "models.ErmcpUserModel": {
  17118. "type": "object",
  17119. "properties": {
  17120. "address": {
  17121. "description": "通讯地址",
  17122. "type": "string"
  17123. },
  17124. "attachment1": {
  17125. "description": "附件1",
  17126. "type": "string"
  17127. },
  17128. "audittime": {
  17129. "description": "审核时间",
  17130. "type": "string"
  17131. },
  17132. "cardbackphotourl": {
  17133. "description": "证件反面图片地址",
  17134. "type": "string"
  17135. },
  17136. "cardfrontphotourl": {
  17137. "description": "证件正面图片地址",
  17138. "type": "string"
  17139. },
  17140. "cardnum": {
  17141. "description": "证件号码",
  17142. "type": "string"
  17143. },
  17144. "cardtype": {
  17145. "description": "证件类型",
  17146. "type": "integer"
  17147. },
  17148. "cardtypename": {
  17149. "description": "证件类型名称",
  17150. "type": "string"
  17151. },
  17152. "cityid": {
  17153. "description": "市",
  17154. "type": "integer"
  17155. },
  17156. "contactname": {
  17157. "description": "联系人",
  17158. "type": "string"
  17159. },
  17160. "countryid": {
  17161. "description": "国家",
  17162. "type": "integer"
  17163. },
  17164. "createtime": {
  17165. "description": "创建时间",
  17166. "type": "string"
  17167. },
  17168. "customername": {
  17169. "description": "企业名称",
  17170. "type": "string"
  17171. },
  17172. "districtid": {
  17173. "description": "区域",
  17174. "type": "integer"
  17175. },
  17176. "email": {
  17177. "description": "邮件",
  17178. "type": "string"
  17179. },
  17180. "legalpersonname": {
  17181. "description": "法人姓名(企业)",
  17182. "type": "string"
  17183. },
  17184. "memberuserid": {
  17185. "description": "所属机构ID",
  17186. "type": "integer"
  17187. },
  17188. "mobile": {
  17189. "description": "手机号码",
  17190. "type": "string"
  17191. },
  17192. "modifytime": {
  17193. "description": "修改时间",
  17194. "type": "string"
  17195. },
  17196. "nickname": {
  17197. "description": "昵称",
  17198. "type": "string"
  17199. },
  17200. "provinceid": {
  17201. "description": "省",
  17202. "type": "integer"
  17203. },
  17204. "remark": {
  17205. "description": "备注",
  17206. "type": "string"
  17207. },
  17208. "status": {
  17209. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17210. "type": "integer"
  17211. },
  17212. "statusdesc": {
  17213. "description": "账户状态中文描述",
  17214. "type": "string"
  17215. },
  17216. "taxpayernum": {
  17217. "description": "纳税人识别号",
  17218. "type": "string"
  17219. },
  17220. "telphone": {
  17221. "description": "联系电话",
  17222. "type": "string"
  17223. },
  17224. "userid": {
  17225. "description": "用户ID",
  17226. "type": "integer"
  17227. },
  17228. "userinfotype": {
  17229. "description": "客户类型",
  17230. "type": "string"
  17231. }
  17232. }
  17233. },
  17234. "models.ErmcpWareHouseInfo": {
  17235. "type": "object",
  17236. "properties": {
  17237. "address": {
  17238. "description": "详细地址",
  17239. "type": "string"
  17240. },
  17241. "areauserid": {
  17242. "description": "所属机构",
  17243. "type": "integer"
  17244. },
  17245. "autoid": {
  17246. "description": "自增ID(仓库ID)",
  17247. "type": "integer"
  17248. },
  17249. "cityid": {
  17250. "description": "市",
  17251. "type": "integer"
  17252. },
  17253. "contactname": {
  17254. "description": "联系人",
  17255. "type": "string"
  17256. },
  17257. "contactnum": {
  17258. "description": "联系电话",
  17259. "type": "string"
  17260. },
  17261. "countryid": {
  17262. "description": "国家",
  17263. "type": "integer"
  17264. },
  17265. "createtime": {
  17266. "description": "创建时间",
  17267. "type": "string"
  17268. },
  17269. "districtid": {
  17270. "description": "区",
  17271. "type": "integer"
  17272. },
  17273. "hasvideo": {
  17274. "description": "是否有视频 - 0:无 1:有",
  17275. "type": "integer"
  17276. },
  17277. "provinceid": {
  17278. "description": "省",
  17279. "type": "integer"
  17280. },
  17281. "remark": {
  17282. "description": "审核备注",
  17283. "type": "string"
  17284. },
  17285. "videourl": {
  17286. "description": "视频地址",
  17287. "type": "string"
  17288. },
  17289. "warehousecode": {
  17290. "description": "仓库代码",
  17291. "type": "string"
  17292. },
  17293. "warehousename": {
  17294. "description": "仓库名称",
  17295. "type": "string"
  17296. },
  17297. "warehousestatus": {
  17298. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17299. "type": "integer"
  17300. },
  17301. "warehousetype": {
  17302. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17303. "type": "integer"
  17304. }
  17305. }
  17306. },
  17307. "models.Externalexchange": {
  17308. "type": "object",
  17309. "required": [
  17310. "autoid"
  17311. ],
  17312. "properties": {
  17313. "autoid": {
  17314. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17315. "type": "integer"
  17316. },
  17317. "exchangefullname": {
  17318. "description": "外部交易所全称",
  17319. "type": "string"
  17320. },
  17321. "exexchangecode": {
  17322. "description": "外部交易所代码",
  17323. "type": "string"
  17324. },
  17325. "exexchangename": {
  17326. "description": "外部交易所名称(简称)",
  17327. "type": "string"
  17328. },
  17329. "ismarketprice": {
  17330. "description": "是否支持市价 - 0:不支持 1:支持",
  17331. "type": "integer"
  17332. },
  17333. "quotegear": {
  17334. "description": "行情档位(1-10)",
  17335. "type": "integer"
  17336. },
  17337. "showbrokerflag": {
  17338. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17339. "type": "integer"
  17340. },
  17341. "updatetime": {
  17342. "description": "更新时间",
  17343. "type": "string"
  17344. }
  17345. }
  17346. },
  17347. "models.Funcmenulist": {
  17348. "type": "object",
  17349. "required": [
  17350. "resourcecode"
  17351. ],
  17352. "properties": {
  17353. "iconame": {
  17354. "description": "菜单图标",
  17355. "type": "string"
  17356. },
  17357. "menutype": {
  17358. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17359. "type": "integer"
  17360. },
  17361. "parentcode": {
  17362. "description": "上级资源代码",
  17363. "type": "string"
  17364. },
  17365. "remark": {
  17366. "description": "备注",
  17367. "type": "string"
  17368. },
  17369. "resourcecode": {
  17370. "description": "资源代码",
  17371. "type": "string"
  17372. },
  17373. "resourcelevel": {
  17374. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17375. "type": "integer"
  17376. },
  17377. "resourcename": {
  17378. "description": "资源名",
  17379. "type": "string"
  17380. },
  17381. "sort": {
  17382. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17383. "type": "integer"
  17384. },
  17385. "url": {
  17386. "description": "URL",
  17387. "type": "string"
  17388. }
  17389. }
  17390. },
  17391. "models.Goods": {
  17392. "type": "object",
  17393. "required": [
  17394. "goodscode",
  17395. "goodsid",
  17396. "goodsname",
  17397. "marketid"
  17398. ],
  17399. "properties": {
  17400. "agreeunit": {
  17401. "description": "合约单位",
  17402. "type": "number"
  17403. },
  17404. "auditaccountid": {
  17405. "description": "审核操作员账号",
  17406. "type": "integer"
  17407. },
  17408. "audittime": {
  17409. "description": "审核时间",
  17410. "type": "string"
  17411. },
  17412. "cancelaccountid": {
  17413. "description": "注销操作员账号",
  17414. "type": "integer"
  17415. },
  17416. "canceltime": {
  17417. "description": "注销时间",
  17418. "type": "string"
  17419. },
  17420. "closepricemode": {
  17421. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17422. "type": "integer"
  17423. },
  17424. "closepriceparam": {
  17425. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17426. "type": "number"
  17427. },
  17428. "createtime": {
  17429. "description": "创建时间",
  17430. "type": "string"
  17431. },
  17432. "creatorid": {
  17433. "description": "创建人",
  17434. "type": "integer"
  17435. },
  17436. "currencyid": {
  17437. "description": "报价货币ID",
  17438. "type": "integer"
  17439. },
  17440. "cutmode": {
  17441. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17442. "type": "integer"
  17443. },
  17444. "decimalplace": {
  17445. "description": "报价小数位",
  17446. "type": "integer"
  17447. },
  17448. "delistingdate": {
  17449. "description": "商品退市时间(状态:退市) -- 已作废",
  17450. "type": "string"
  17451. },
  17452. "delistingmode": {
  17453. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17454. "type": "integer"
  17455. },
  17456. "deliveryflag": {
  17457. "description": "交割标志 - 0:不可交割 1:可交割",
  17458. "type": "integer"
  17459. },
  17460. "forceclosemode": {
  17461. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17462. "type": "integer"
  17463. },
  17464. "forceclosevalue": {
  17465. "description": "定期强平参数 [收益权]",
  17466. "type": "integer"
  17467. },
  17468. "goodscode": {
  17469. "description": "商品代码(内部)",
  17470. "type": "string"
  17471. },
  17472. "goodscurrencyid": {
  17473. "description": "合约货币ID",
  17474. "type": "integer"
  17475. },
  17476. "goodsgroupid": {
  17477. "description": "所属商品组ID",
  17478. "type": "integer"
  17479. },
  17480. "goodsid": {
  17481. "description": "商品ID(自增ID SEQ_GOODS)",
  17482. "type": "integer"
  17483. },
  17484. "goodsname": {
  17485. "description": "商品名称",
  17486. "type": "string"
  17487. },
  17488. "goodsquotetype": {
  17489. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17490. "type": "integer"
  17491. },
  17492. "goodsstatus": {
  17493. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17494. "type": "integer"
  17495. },
  17496. "goodstradetype": {
  17497. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17498. "type": "integer"
  17499. },
  17500. "goodunitid": {
  17501. "description": "报价单位ID",
  17502. "type": "integer"
  17503. },
  17504. "hasquoter": {
  17505. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17506. "type": "integer"
  17507. },
  17508. "hqprotecttime": {
  17509. "description": "行情保护时间(秒)",
  17510. "type": "integer"
  17511. },
  17512. "innerdealmode": {
  17513. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17514. "type": "integer"
  17515. },
  17516. "isbuylimited": {
  17517. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17518. "type": "integer"
  17519. },
  17520. "lasttradedate": {
  17521. "description": "最后交易日期(状态:待退市)",
  17522. "type": "string"
  17523. },
  17524. "listingdate": {
  17525. "description": "交易开始日期",
  17526. "type": "string"
  17527. },
  17528. "marketid": {
  17529. "description": "所属市场ID",
  17530. "type": "integer"
  17531. },
  17532. "modifierid": {
  17533. "description": "修改人",
  17534. "type": "integer"
  17535. },
  17536. "modifystatus": {
  17537. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17538. "type": "integer"
  17539. },
  17540. "modifytime": {
  17541. "description": "修改时间",
  17542. "type": "string"
  17543. },
  17544. "outerdealmode": {
  17545. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17546. "type": "integer"
  17547. },
  17548. "outgoodscode": {
  17549. "description": "商品代码(外部)",
  17550. "type": "string"
  17551. },
  17552. "qtydecimalplace": {
  17553. "description": "成交量小数位",
  17554. "type": "integer"
  17555. },
  17556. "quotegear": {
  17557. "description": "行情档位(1-10)",
  17558. "type": "integer"
  17559. },
  17560. "quoteminunit": {
  17561. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17562. "type": "integer"
  17563. },
  17564. "quoteshowtype": {
  17565. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17566. "type": "integer"
  17567. },
  17568. "quoteshowtypeinterval": {
  17569. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17570. "type": "integer"
  17571. },
  17572. "remark": {
  17573. "description": "备注",
  17574. "type": "string"
  17575. }
  17576. }
  17577. },
  17578. "models.GoodsIDAndName": {
  17579. "type": "object",
  17580. "required": [
  17581. "goodscode",
  17582. "goodsid",
  17583. "goodsname",
  17584. "marketid"
  17585. ],
  17586. "properties": {
  17587. "goodscode": {
  17588. "description": "商品代码(内部)",
  17589. "type": "string"
  17590. },
  17591. "goodsid": {
  17592. "description": "商品ID(自增ID SEQ_GOODS)",
  17593. "type": "integer"
  17594. },
  17595. "goodsname": {
  17596. "description": "商品名称",
  17597. "type": "string"
  17598. },
  17599. "marketid": {
  17600. "description": "所属市场ID",
  17601. "type": "integer"
  17602. }
  17603. }
  17604. },
  17605. "models.Goodsgroup": {
  17606. "type": "object",
  17607. "required": [
  17608. "goodsgroupid",
  17609. "goodsgroupname",
  17610. "goodsgroupstatus",
  17611. "marketid"
  17612. ],
  17613. "properties": {
  17614. "agreeunit": {
  17615. "description": "合约单位",
  17616. "type": "number"
  17617. },
  17618. "canshort": {
  17619. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17620. "type": "integer"
  17621. },
  17622. "closepricemode": {
  17623. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17624. "type": "integer"
  17625. },
  17626. "closepriceparam": {
  17627. "description": "强平最新价浮动比例 - 方式为2时使用",
  17628. "type": "number"
  17629. },
  17630. "createtime": {
  17631. "description": "创建时间",
  17632. "type": "string"
  17633. },
  17634. "creatorid": {
  17635. "description": "创建人",
  17636. "type": "integer"
  17637. },
  17638. "currencyid": {
  17639. "description": "报价货币ID",
  17640. "type": "integer"
  17641. },
  17642. "decimalplace": {
  17643. "description": "报价小数位",
  17644. "type": "integer"
  17645. },
  17646. "exercisetype": {
  17647. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17648. "type": "integer"
  17649. },
  17650. "exexchangeid": {
  17651. "description": "外部交易所ID[通道交易]",
  17652. "type": "integer"
  17653. },
  17654. "goodsgroupid": {
  17655. "description": "商品组ID(自增ID)",
  17656. "type": "integer"
  17657. },
  17658. "goodsgroupname": {
  17659. "description": "商品组名称",
  17660. "type": "string"
  17661. },
  17662. "goodsgroupstatus": {
  17663. "description": "商品组状态 - 1:正常 2:注销",
  17664. "type": "integer"
  17665. },
  17666. "goodunitid": {
  17667. "description": "报价单位ID",
  17668. "type": "integer"
  17669. },
  17670. "innerdealmode": {
  17671. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17672. "type": "integer"
  17673. },
  17674. "isbuylimited": {
  17675. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17676. "type": "integer"
  17677. },
  17678. "marketid": {
  17679. "description": "所属市场ID",
  17680. "type": "integer"
  17681. },
  17682. "modifierid": {
  17683. "description": "修改人",
  17684. "type": "integer"
  17685. },
  17686. "modifytime": {
  17687. "description": "修改时间",
  17688. "type": "string"
  17689. },
  17690. "outerdealmode": {
  17691. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17692. "type": "integer"
  17693. },
  17694. "outergroupcode": {
  17695. "description": "外部商品组代码[通道交易]",
  17696. "type": "string"
  17697. },
  17698. "premiumdecimalplace": {
  17699. "description": "权利金小数位[场外期权]",
  17700. "type": "integer"
  17701. },
  17702. "premiumspreadalgorithm": {
  17703. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17704. "type": "integer"
  17705. },
  17706. "premiumspreadvalue": {
  17707. "description": "权利金点差值[场外期权]",
  17708. "type": "number"
  17709. },
  17710. "qtydecimalplace": {
  17711. "description": "成交量小数位",
  17712. "type": "integer"
  17713. },
  17714. "quotegear": {
  17715. "description": "行情档位(1-10)",
  17716. "type": "integer"
  17717. },
  17718. "quoteminunit": {
  17719. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17720. "type": "integer"
  17721. },
  17722. "quoterid": {
  17723. "description": "报价商ID[场外期权]",
  17724. "type": "integer"
  17725. },
  17726. "quotesourcegroupid": {
  17727. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17728. "type": "integer"
  17729. },
  17730. "syncgoodsqty": {
  17731. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17732. "type": "integer"
  17733. }
  17734. }
  17735. },
  17736. "models.Goodssortbypreposition": {
  17737. "type": "object",
  17738. "required": [
  17739. "goodscode",
  17740. "tradedate"
  17741. ],
  17742. "properties": {
  17743. "goodscode": {
  17744. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17745. "type": "string"
  17746. },
  17747. "goodsgroupcode": {
  17748. "description": "品种代码",
  17749. "type": "string"
  17750. },
  17751. "prepositionqty": {
  17752. "description": "昨持仓量",
  17753. "type": "integer"
  17754. },
  17755. "sortindex": {
  17756. "description": "排序",
  17757. "type": "integer"
  17758. },
  17759. "tradedate": {
  17760. "description": "交易日",
  17761. "type": "string"
  17762. },
  17763. "updatetime": {
  17764. "description": "更新时间",
  17765. "type": "string"
  17766. }
  17767. }
  17768. },
  17769. "models.Hedgeinnerholderdetail": {
  17770. "type": "object",
  17771. "required": [
  17772. "buyorsell",
  17773. "tradeid"
  17774. ],
  17775. "properties": {
  17776. "accountid": {
  17777. "description": "账号ID",
  17778. "type": "integer"
  17779. },
  17780. "buyorsell": {
  17781. "description": "方向 - 0:买 1:卖",
  17782. "type": "integer"
  17783. },
  17784. "freezeqty": {
  17785. "description": "冻结数量 - 按单平使用",
  17786. "type": "integer"
  17787. },
  17788. "goodsid": {
  17789. "description": "商品ID",
  17790. "type": "integer"
  17791. },
  17792. "holderamount": {
  17793. "description": "持仓金额 [商品币种]",
  17794. "type": "number"
  17795. },
  17796. "holderdays": {
  17797. "description": "剩余冻结天数",
  17798. "type": "integer"
  17799. },
  17800. "holderprice": {
  17801. "description": "持仓价格",
  17802. "type": "number"
  17803. },
  17804. "holderqty": {
  17805. "description": "持仓数量",
  17806. "type": "integer"
  17807. },
  17808. "marketid": {
  17809. "description": "市场ID",
  17810. "type": "integer"
  17811. },
  17812. "openprice": {
  17813. "description": "建仓价格",
  17814. "type": "number"
  17815. },
  17816. "openqty": {
  17817. "description": "建仓数量",
  17818. "type": "integer"
  17819. },
  17820. "parentaccountid": {
  17821. "description": "所属母账户",
  17822. "type": "integer"
  17823. },
  17824. "releaseamount": {
  17825. "description": "释放持仓金额[商品币种]",
  17826. "type": "number"
  17827. },
  17828. "tradeamount": {
  17829. "description": "成交金额[账户]",
  17830. "type": "number"
  17831. },
  17832. "tradedate": {
  17833. "description": "交易日(yyyyMMdd)",
  17834. "type": "string"
  17835. },
  17836. "tradeid": {
  17837. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17838. "type": "string"
  17839. },
  17840. "tradetime": {
  17841. "description": "交易时间",
  17842. "type": "string"
  17843. }
  17844. }
  17845. },
  17846. "models.Hedgemarketopenlog": {
  17847. "type": "object",
  17848. "required": [
  17849. "accountid"
  17850. ],
  17851. "properties": {
  17852. "accountid": {
  17853. "description": "资金账号[外部母账户]",
  17854. "type": "integer"
  17855. },
  17856. "fcname": {
  17857. "description": "期货公司名称",
  17858. "type": "string"
  17859. },
  17860. "handlestatus": {
  17861. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17862. "type": "integer"
  17863. },
  17864. "marketid": {
  17865. "description": "市场ID",
  17866. "type": "integer"
  17867. },
  17868. "status": {
  17869. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17870. "type": "integer"
  17871. },
  17872. "tradedate": {
  17873. "description": "交易日(yyyyMMdd)",
  17874. "type": "string"
  17875. },
  17876. "updatetime": {
  17877. "description": "更新时间",
  17878. "type": "string"
  17879. }
  17880. }
  17881. },
  17882. "models.HsbyBuyMyPayOrder": {
  17883. "type": "object",
  17884. "required": [
  17885. "goodscode",
  17886. "goodsname",
  17887. "tradeid",
  17888. "trademode"
  17889. ],
  17890. "properties": {
  17891. "agreeunit": {
  17892. "description": "合约单位",
  17893. "type": "number"
  17894. },
  17895. "buyaccountid": {
  17896. "description": "买方账号ID[报价币种]",
  17897. "type": "integer"
  17898. },
  17899. "buyorderid": {
  17900. "description": "买方委托单号",
  17901. "type": "string"
  17902. },
  17903. "createtime": {
  17904. "description": "创建时间",
  17905. "type": "string"
  17906. },
  17907. "currencysign": {
  17908. "description": "货币符号",
  17909. "type": "string"
  17910. },
  17911. "decimalplace": {
  17912. "description": "报价小数位",
  17913. "type": "integer"
  17914. },
  17915. "goodscode": {
  17916. "description": "商品代码(内部)",
  17917. "type": "string"
  17918. },
  17919. "goodsid": {
  17920. "description": "商品ID",
  17921. "type": "integer"
  17922. },
  17923. "goodsname": {
  17924. "description": "商品名称",
  17925. "type": "string"
  17926. },
  17927. "marketid": {
  17928. "description": "市场ID",
  17929. "type": "integer"
  17930. },
  17931. "offamount": {
  17932. "description": "优惠金额",
  17933. "type": "number"
  17934. },
  17935. "originalamount": {
  17936. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17937. "type": "number"
  17938. },
  17939. "payamount": {
  17940. "description": "支付金额 = TradeAmount + TradeCharge",
  17941. "type": "number"
  17942. },
  17943. "payflag": {
  17944. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17945. "type": "integer"
  17946. },
  17947. "paylimitedtime": {
  17948. "description": "支付期限",
  17949. "type": "string"
  17950. },
  17951. "paytime": {
  17952. "description": "付款时间",
  17953. "type": "string"
  17954. },
  17955. "picurls1": {
  17956. "description": "预售商品介绍图片[多张用逗号分隔]",
  17957. "type": "string"
  17958. },
  17959. "picurls2": {
  17960. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17961. "type": "string"
  17962. },
  17963. "sellaccountid": {
  17964. "description": "卖方账号ID[报价币种]",
  17965. "type": "integer"
  17966. },
  17967. "sellorderid": {
  17968. "description": "卖方委托单号",
  17969. "type": "string"
  17970. },
  17971. "tradeamount": {
  17972. "description": "成交金额",
  17973. "type": "number"
  17974. },
  17975. "tradecharge": {
  17976. "description": "成交手续费(买方)",
  17977. "type": "number"
  17978. },
  17979. "tradedate": {
  17980. "description": "交易日(yyyyMMdd)",
  17981. "type": "string"
  17982. },
  17983. "tradeid": {
  17984. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17985. "type": "string"
  17986. },
  17987. "trademode": {
  17988. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17989. "type": "integer"
  17990. },
  17991. "tradeprice": {
  17992. "description": "成交价格",
  17993. "type": "number"
  17994. },
  17995. "tradeqty": {
  17996. "description": "成交数量",
  17997. "type": "integer"
  17998. },
  17999. "vendorname1": {
  18000. "description": "预售商品供应商名称",
  18001. "type": "string"
  18002. },
  18003. "vendorname2": {
  18004. "description": "挂牌商品供应商名称",
  18005. "type": "string"
  18006. }
  18007. }
  18008. },
  18009. "models.HsbyBuyMyTradeDetail": {
  18010. "type": "object",
  18011. "required": [
  18012. "accountid",
  18013. "buyorsell",
  18014. "goodscode",
  18015. "goodsid",
  18016. "goodsname",
  18017. "marketid",
  18018. "orderid",
  18019. "qty",
  18020. "time",
  18021. "trademode"
  18022. ],
  18023. "properties": {
  18024. "accountid": {
  18025. "description": "账户ID[报价币种]",
  18026. "type": "integer"
  18027. },
  18028. "agreeunit": {
  18029. "description": "合约单位",
  18030. "type": "number"
  18031. },
  18032. "amount": {
  18033. "description": "金额 = 价格 * 数量 * 合约单位",
  18034. "type": "number"
  18035. },
  18036. "buyorsell": {
  18037. "description": "买卖 - 0:买 1:卖",
  18038. "type": "integer"
  18039. },
  18040. "currencysign": {
  18041. "description": "货币符号",
  18042. "type": "string"
  18043. },
  18044. "decimalplace": {
  18045. "description": "报价小数位",
  18046. "type": "integer"
  18047. },
  18048. "goodscode": {
  18049. "description": "商品代码(内部)",
  18050. "type": "string"
  18051. },
  18052. "goodsid": {
  18053. "description": "商品ID",
  18054. "type": "integer"
  18055. },
  18056. "goodsname": {
  18057. "description": "商品名称",
  18058. "type": "string"
  18059. },
  18060. "marketid": {
  18061. "description": "市场ID",
  18062. "type": "integer"
  18063. },
  18064. "orderamount": {
  18065. "description": "委托金额",
  18066. "type": "number"
  18067. },
  18068. "orderid": {
  18069. "description": "单号(成交单号)",
  18070. "type": "string"
  18071. },
  18072. "picurls1": {
  18073. "description": "预售商品介绍图片[多张用逗号分隔]",
  18074. "type": "string"
  18075. },
  18076. "picurls2": {
  18077. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18078. "type": "string"
  18079. },
  18080. "price": {
  18081. "description": "价格",
  18082. "type": "number"
  18083. },
  18084. "qty": {
  18085. "description": "数量",
  18086. "type": "integer"
  18087. },
  18088. "time": {
  18089. "description": "时间",
  18090. "type": "string"
  18091. },
  18092. "trademode": {
  18093. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18094. "type": "integer"
  18095. },
  18096. "vendorname1": {
  18097. "description": "预售商品供应商名称",
  18098. "type": "string"
  18099. },
  18100. "vendorname2": {
  18101. "description": "挂牌商品供应商名称",
  18102. "type": "string"
  18103. }
  18104. }
  18105. },
  18106. "models.HsbyGoodsOrderDetail": {
  18107. "type": "object",
  18108. "required": [
  18109. "buyorsell",
  18110. "orderid",
  18111. "ordertime"
  18112. ],
  18113. "properties": {
  18114. "buyorsell": {
  18115. "description": "买卖 - 0:买 1:卖",
  18116. "type": "integer"
  18117. },
  18118. "currencysign": {
  18119. "description": "货币符号",
  18120. "type": "string"
  18121. },
  18122. "customername": {
  18123. "description": "客户名称(企业名称),已脱敏",
  18124. "type": "string"
  18125. },
  18126. "enableqty": {
  18127. "description": "可用数量",
  18128. "type": "integer"
  18129. },
  18130. "goodunit": {
  18131. "description": "报价单位",
  18132. "type": "string"
  18133. },
  18134. "orderid": {
  18135. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18136. "type": "string"
  18137. },
  18138. "orderprice": {
  18139. "description": "委托价格",
  18140. "type": "number"
  18141. },
  18142. "ordertime": {
  18143. "description": "委托时间",
  18144. "type": "string"
  18145. }
  18146. }
  18147. },
  18148. "models.HsbyListingGoodsDetail": {
  18149. "type": "object",
  18150. "required": [
  18151. "goodscode",
  18152. "goodsid",
  18153. "goodsname",
  18154. "marketid",
  18155. "trademode"
  18156. ],
  18157. "properties": {
  18158. "agreeunit": {
  18159. "description": "合约单位",
  18160. "type": "number"
  18161. },
  18162. "buymaxqty": {
  18163. "description": "购买上限 [71] - 0为不限",
  18164. "type": "integer"
  18165. },
  18166. "currency": {
  18167. "description": "货币",
  18168. "type": "string"
  18169. },
  18170. "currencysign": {
  18171. "description": "货币符号",
  18172. "type": "string"
  18173. },
  18174. "decimalplace": {
  18175. "description": "报价小数位",
  18176. "type": "integer"
  18177. },
  18178. "desccityid": {
  18179. "description": "目的地(市)ID",
  18180. "type": "integer"
  18181. },
  18182. "descprovinceid": {
  18183. "description": "目的地(省)ID",
  18184. "type": "integer"
  18185. },
  18186. "goodscode": {
  18187. "description": "商品代码(内部)",
  18188. "type": "string"
  18189. },
  18190. "goodsdesc": {
  18191. "description": "商品详情",
  18192. "type": "string"
  18193. },
  18194. "goodsid": {
  18195. "description": "商品ID(自增ID SEQ_GOODS)",
  18196. "type": "integer"
  18197. },
  18198. "goodsname": {
  18199. "description": "商品名称",
  18200. "type": "string"
  18201. },
  18202. "goodsprice": {
  18203. "description": "商品价格",
  18204. "type": "number"
  18205. },
  18206. "hotindex": {
  18207. "description": "景点热度",
  18208. "type": "integer"
  18209. },
  18210. "last": {
  18211. "description": "现价",
  18212. "type": "number"
  18213. },
  18214. "limitdown": {
  18215. "description": "跌停价",
  18216. "type": "number"
  18217. },
  18218. "limitup": {
  18219. "description": "涨停价",
  18220. "type": "number"
  18221. },
  18222. "lotsize": {
  18223. "description": "手数最小变动单位",
  18224. "type": "integer"
  18225. },
  18226. "marketid": {
  18227. "description": "所属市场ID",
  18228. "type": "integer"
  18229. },
  18230. "picurls": {
  18231. "description": "介绍图片[多张用逗号分隔]",
  18232. "type": "string"
  18233. },
  18234. "quoteminunit": {
  18235. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18236. "type": "integer"
  18237. },
  18238. "stepvalue": {
  18239. "description": "价格最小变动单位",
  18240. "type": "number"
  18241. },
  18242. "trademode": {
  18243. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18244. "type": "integer"
  18245. },
  18246. "vendorattr": {
  18247. "description": "供应商附件(多张,逗号分隔)",
  18248. "type": "string"
  18249. },
  18250. "vendorname": {
  18251. "description": "供应商名称",
  18252. "type": "string"
  18253. },
  18254. "vendorphone": {
  18255. "description": "供应商客服电话",
  18256. "type": "string"
  18257. },
  18258. "videourls": {
  18259. "description": "介绍视频[多张用逗号分隔]",
  18260. "type": "string"
  18261. }
  18262. }
  18263. },
  18264. "models.HsbyMarketGoods": {
  18265. "type": "object",
  18266. "required": [
  18267. "accountid",
  18268. "buyorsell",
  18269. "goodscode",
  18270. "goodsid",
  18271. "goodsname",
  18272. "marketid",
  18273. "orderid",
  18274. "trademode"
  18275. ],
  18276. "properties": {
  18277. "accountid": {
  18278. "description": "账户ID[报价币种]",
  18279. "type": "integer"
  18280. },
  18281. "agreeunit": {
  18282. "description": "合约单位",
  18283. "type": "number"
  18284. },
  18285. "buyorsell": {
  18286. "description": "买卖 - 0:买 1:卖",
  18287. "type": "integer"
  18288. },
  18289. "categoryid": {
  18290. "description": "类别ID(WRCATEGORY)",
  18291. "type": "integer"
  18292. },
  18293. "currency": {
  18294. "description": "货币",
  18295. "type": "string"
  18296. },
  18297. "currencysign": {
  18298. "description": "货币符号",
  18299. "type": "string"
  18300. },
  18301. "customername": {
  18302. "description": "卖家名称",
  18303. "type": "string"
  18304. },
  18305. "decimalplace": {
  18306. "description": "报价小数位",
  18307. "type": "integer"
  18308. },
  18309. "goodscode": {
  18310. "description": "商品代码(内部)",
  18311. "type": "string"
  18312. },
  18313. "goodsid": {
  18314. "description": "商品ID",
  18315. "type": "integer"
  18316. },
  18317. "goodsname": {
  18318. "description": "商品名称",
  18319. "type": "string"
  18320. },
  18321. "goodsprice": {
  18322. "description": "商品价格",
  18323. "type": "number"
  18324. },
  18325. "hascoupon": {
  18326. "description": "是否可用优惠卷",
  18327. "type": "boolean"
  18328. },
  18329. "hotindex": {
  18330. "description": "景点热度",
  18331. "type": "integer"
  18332. },
  18333. "marketid": {
  18334. "description": "市场ID",
  18335. "type": "integer"
  18336. },
  18337. "orderid": {
  18338. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18339. "type": "string"
  18340. },
  18341. "orderprice": {
  18342. "description": "委托价格",
  18343. "type": "number"
  18344. },
  18345. "orderstatus": {
  18346. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18347. "type": "integer"
  18348. },
  18349. "picurls": {
  18350. "description": "介绍图片[多张用逗号分隔]",
  18351. "type": "string"
  18352. },
  18353. "quoteminunit": {
  18354. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18355. "type": "integer"
  18356. },
  18357. "sellUserID": {
  18358. "description": "卖方UserID",
  18359. "type": "integer"
  18360. },
  18361. "trademode": {
  18362. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18363. "type": "integer"
  18364. },
  18365. "videourls": {
  18366. "description": "介绍视频[多张用逗号分隔]",
  18367. "type": "string"
  18368. }
  18369. }
  18370. },
  18371. "models.HsbyMarketGoodsDetail": {
  18372. "type": "object",
  18373. "required": [
  18374. "accountid",
  18375. "buyorsell",
  18376. "goodscode",
  18377. "goodsid",
  18378. "goodsname",
  18379. "marketid",
  18380. "orderid",
  18381. "orderqty",
  18382. "trademode"
  18383. ],
  18384. "properties": {
  18385. "accountid": {
  18386. "description": "账户ID[报价币种]",
  18387. "type": "integer"
  18388. },
  18389. "agreeunit": {
  18390. "description": "合约单位",
  18391. "type": "number"
  18392. },
  18393. "buymaxqty": {
  18394. "description": "购买上限 [71] - 0为不限",
  18395. "type": "integer"
  18396. },
  18397. "buyorsell": {
  18398. "description": "买卖 - 0:买 1:卖",
  18399. "type": "integer"
  18400. },
  18401. "cancelqty": {
  18402. "description": "撤单数量",
  18403. "type": "integer"
  18404. },
  18405. "categoryid": {
  18406. "description": "类别ID(WRCATEGORY)",
  18407. "type": "integer"
  18408. },
  18409. "currency": {
  18410. "description": "货币",
  18411. "type": "string"
  18412. },
  18413. "currencysign": {
  18414. "description": "货币符号",
  18415. "type": "string"
  18416. },
  18417. "customername": {
  18418. "description": "卖家名称",
  18419. "type": "string"
  18420. },
  18421. "decimalplace": {
  18422. "description": "报价小数位",
  18423. "type": "integer"
  18424. },
  18425. "goodscode": {
  18426. "description": "商品代码(内部)",
  18427. "type": "string"
  18428. },
  18429. "goodsdesc": {
  18430. "description": "商品详情",
  18431. "type": "string"
  18432. },
  18433. "goodsid": {
  18434. "description": "商品ID",
  18435. "type": "integer"
  18436. },
  18437. "goodsname": {
  18438. "description": "商品名称",
  18439. "type": "string"
  18440. },
  18441. "goodsprice": {
  18442. "description": "商品价格",
  18443. "type": "number"
  18444. },
  18445. "hotindex": {
  18446. "description": "景点热度",
  18447. "type": "integer"
  18448. },
  18449. "lotsize": {
  18450. "description": "手数最小变动单位",
  18451. "type": "integer"
  18452. },
  18453. "marketid": {
  18454. "description": "市场ID",
  18455. "type": "integer"
  18456. },
  18457. "orderid": {
  18458. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18459. "type": "string"
  18460. },
  18461. "orderprice": {
  18462. "description": "委托价格",
  18463. "type": "number"
  18464. },
  18465. "orderqty": {
  18466. "description": "委托数量",
  18467. "type": "integer"
  18468. },
  18469. "orderstatus": {
  18470. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18471. "type": "integer"
  18472. },
  18473. "picurls": {
  18474. "description": "介绍图片[多张用逗号分隔]",
  18475. "type": "string"
  18476. },
  18477. "quoteminunit": {
  18478. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18479. "type": "integer"
  18480. },
  18481. "sellUserID": {
  18482. "description": "卖方UserID",
  18483. "type": "integer"
  18484. },
  18485. "trademode": {
  18486. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18487. "type": "integer"
  18488. },
  18489. "tradeqty": {
  18490. "description": "成交数量",
  18491. "type": "integer"
  18492. },
  18493. "vendorattr": {
  18494. "description": "供应商附件(多张,逗号分隔)",
  18495. "type": "string"
  18496. },
  18497. "vendorname": {
  18498. "description": "供应商名称",
  18499. "type": "string"
  18500. },
  18501. "vendorphone": {
  18502. "description": "供应商客服电话",
  18503. "type": "string"
  18504. },
  18505. "videourls": {
  18506. "description": "介绍视频[多张用逗号分隔]",
  18507. "type": "string"
  18508. }
  18509. }
  18510. },
  18511. "models.HsbyMarketInfo": {
  18512. "type": "object",
  18513. "required": [
  18514. "marketid",
  18515. "marketstatus",
  18516. "trademode"
  18517. ],
  18518. "properties": {
  18519. "marketid": {
  18520. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18521. "type": "integer"
  18522. },
  18523. "marketname": {
  18524. "description": "市场名称",
  18525. "type": "string"
  18526. },
  18527. "marketstatus": {
  18528. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18529. "type": "integer"
  18530. },
  18531. "trademode": {
  18532. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18533. "type": "integer"
  18534. }
  18535. }
  18536. },
  18537. "models.HsbyMyGoods": {
  18538. "type": "object",
  18539. "required": [
  18540. "accountid",
  18541. "goodscode",
  18542. "goodsid",
  18543. "goodsname",
  18544. "marketid",
  18545. "trademode"
  18546. ],
  18547. "properties": {
  18548. "accountid": {
  18549. "description": "账号Id",
  18550. "type": "integer"
  18551. },
  18552. "agreeunit": {
  18553. "description": "合约单位",
  18554. "type": "number"
  18555. },
  18556. "buyaverageprice": {
  18557. "description": "持仓均价",
  18558. "type": "number"
  18559. },
  18560. "buycurholderamount": {
  18561. "description": "买当前持仓总金额[商品币种]",
  18562. "type": "number"
  18563. },
  18564. "buycurpositionqty": {
  18565. "description": "买当前持仓总数量",
  18566. "type": "integer"
  18567. },
  18568. "buymaxqty": {
  18569. "description": "购买上限 [71] - 0为不限",
  18570. "type": "integer"
  18571. },
  18572. "currencysign": {
  18573. "description": "货币符号",
  18574. "type": "string"
  18575. },
  18576. "decimalplace": {
  18577. "description": "报价小数位",
  18578. "type": "integer"
  18579. },
  18580. "enableqty": {
  18581. "description": "可用数量",
  18582. "type": "integer"
  18583. },
  18584. "goodscode": {
  18585. "description": "商品代码(内部)",
  18586. "type": "string"
  18587. },
  18588. "goodsid": {
  18589. "description": "商品Id",
  18590. "type": "integer"
  18591. },
  18592. "goodsname": {
  18593. "description": "商品名称",
  18594. "type": "string"
  18595. },
  18596. "goodsprice": {
  18597. "description": "商品价格",
  18598. "type": "number"
  18599. },
  18600. "goodsstatus": {
  18601. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18602. "type": "integer"
  18603. },
  18604. "last": {
  18605. "description": "现价(仅使用于挂牌点选)",
  18606. "type": "number"
  18607. },
  18608. "limitdown": {
  18609. "description": "跌停价(仅使用于挂牌点选)",
  18610. "type": "number"
  18611. },
  18612. "limitup": {
  18613. "description": "涨停价(仅使用于挂牌点选)",
  18614. "type": "number"
  18615. },
  18616. "lotsize": {
  18617. "description": "手数最小变动单位",
  18618. "type": "integer"
  18619. },
  18620. "marketid": {
  18621. "description": "所属市场ID",
  18622. "type": "integer"
  18623. },
  18624. "picurls": {
  18625. "description": "介绍图片[多张用逗号分隔]",
  18626. "type": "string"
  18627. },
  18628. "quoteminunit": {
  18629. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18630. "type": "integer"
  18631. },
  18632. "stepvalue": {
  18633. "description": "价格最小变动单位",
  18634. "type": "number"
  18635. },
  18636. "trademode": {
  18637. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18638. "type": "integer"
  18639. }
  18640. }
  18641. },
  18642. "models.HsbyMyPackage": {
  18643. "type": "object",
  18644. "required": [
  18645. "goodscode",
  18646. "goodsname",
  18647. "takeorderid",
  18648. "trademode"
  18649. ],
  18650. "properties": {
  18651. "accountid": {
  18652. "description": "账户ID",
  18653. "type": "integer"
  18654. },
  18655. "address": {
  18656. "description": "提货人详细地址",
  18657. "type": "string"
  18658. },
  18659. "agreeunit": {
  18660. "description": "合约单位",
  18661. "type": "number"
  18662. },
  18663. "amount": {
  18664. "description": "提货金额",
  18665. "type": "number"
  18666. },
  18667. "auditer": {
  18668. "description": "审核人",
  18669. "type": "integer"
  18670. },
  18671. "audittime": {
  18672. "description": "审核时间",
  18673. "type": "string"
  18674. },
  18675. "averageprice": {
  18676. "description": "均价",
  18677. "type": "number"
  18678. },
  18679. "cardnum": {
  18680. "description": "提货人证件号码",
  18681. "type": "string"
  18682. },
  18683. "cardtypeid": {
  18684. "description": "提货人证件类型",
  18685. "type": "integer"
  18686. },
  18687. "checkremark": {
  18688. "description": "审核备注",
  18689. "type": "string"
  18690. },
  18691. "currencysign": {
  18692. "description": "货币符号",
  18693. "type": "string"
  18694. },
  18695. "decimalplace": {
  18696. "description": "报价小数位",
  18697. "type": "integer"
  18698. },
  18699. "goodscode": {
  18700. "description": "商品代码(内部)",
  18701. "type": "string"
  18702. },
  18703. "goodsid": {
  18704. "description": "商品ID",
  18705. "type": "integer"
  18706. },
  18707. "goodsname": {
  18708. "description": "商品名称",
  18709. "type": "string"
  18710. },
  18711. "handlestatus": {
  18712. "description": "处理状态",
  18713. "type": "integer"
  18714. },
  18715. "marketid": {
  18716. "description": "市场ID",
  18717. "type": "integer"
  18718. },
  18719. "phonenum": {
  18720. "description": "提货人联系方式",
  18721. "type": "string"
  18722. },
  18723. "picurls": {
  18724. "description": "介绍图片[多张用逗号分隔]",
  18725. "type": "string"
  18726. },
  18727. "qty": {
  18728. "description": "提货数量",
  18729. "type": "number"
  18730. },
  18731. "recivername": {
  18732. "description": "提货人姓名",
  18733. "type": "string"
  18734. },
  18735. "reqtime": {
  18736. "description": "更新时间",
  18737. "type": "string"
  18738. },
  18739. "takemode": {
  18740. "description": "提货方式 - 2:自提 3:配送",
  18741. "type": "integer"
  18742. },
  18743. "takeorderid": {
  18744. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18745. "type": "string"
  18746. },
  18747. "takeorderstatus": {
  18748. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18749. "type": "integer"
  18750. },
  18751. "takeremark": {
  18752. "description": "提货备注",
  18753. "type": "string"
  18754. },
  18755. "tradedate": {
  18756. "description": "交易日(yyyyMMdd)",
  18757. "type": "string"
  18758. },
  18759. "trademode": {
  18760. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18761. "type": "integer"
  18762. },
  18763. "userid": {
  18764. "description": "用户ID",
  18765. "type": "integer"
  18766. },
  18767. "vendorname": {
  18768. "description": "供应商名称",
  18769. "type": "string"
  18770. }
  18771. }
  18772. },
  18773. "models.HsbyPreGoods": {
  18774. "type": "object",
  18775. "required": [
  18776. "goodscode",
  18777. "goodsid",
  18778. "goodsname",
  18779. "marketid",
  18780. "trademode"
  18781. ],
  18782. "properties": {
  18783. "agreeunit": {
  18784. "description": "合约单位",
  18785. "type": "number"
  18786. },
  18787. "currency": {
  18788. "description": "货币",
  18789. "type": "string"
  18790. },
  18791. "currencysign": {
  18792. "description": "货币符号",
  18793. "type": "string"
  18794. },
  18795. "decimalplace": {
  18796. "description": "报价小数位",
  18797. "type": "integer"
  18798. },
  18799. "desccityid": {
  18800. "description": "目的地(市)",
  18801. "type": "integer"
  18802. },
  18803. "descprovinceid": {
  18804. "description": "目的地(省)",
  18805. "type": "integer"
  18806. },
  18807. "enableqty": {
  18808. "description": "剩余数量",
  18809. "type": "integer"
  18810. },
  18811. "goodscode": {
  18812. "description": "商品代码(内部)",
  18813. "type": "string"
  18814. },
  18815. "goodsid": {
  18816. "description": "商品ID(自增ID SEQ_GOODS)",
  18817. "type": "integer"
  18818. },
  18819. "goodsname": {
  18820. "description": "商品名称",
  18821. "type": "string"
  18822. },
  18823. "goodsstatus": {
  18824. "description": "商品状态- 2:未上市 3:上市",
  18825. "type": "integer"
  18826. },
  18827. "lasttradedate": {
  18828. "description": "最后交易日期(状态:待退市)",
  18829. "type": "string"
  18830. },
  18831. "listingdate": {
  18832. "description": "交易开始日期",
  18833. "type": "string"
  18834. },
  18835. "marketid": {
  18836. "description": "所属市场ID",
  18837. "type": "integer"
  18838. },
  18839. "picurls": {
  18840. "description": "介绍图片[多张用逗号分隔]",
  18841. "type": "string"
  18842. },
  18843. "presaledqty": {
  18844. "description": "已预售量(预售结束时更新)",
  18845. "type": "integer"
  18846. },
  18847. "presaleqty": {
  18848. "description": "预售数量",
  18849. "type": "integer"
  18850. },
  18851. "quoteminunit": {
  18852. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18853. "type": "integer"
  18854. },
  18855. "refprice": {
  18856. "description": "参考价格[一口价]",
  18857. "type": "number"
  18858. },
  18859. "relatedgoodsid": {
  18860. "description": "关联交易合约ID",
  18861. "type": "integer"
  18862. },
  18863. "trademode": {
  18864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18865. "type": "integer"
  18866. },
  18867. "videourls": {
  18868. "description": "介绍视频[多张用逗号分隔]",
  18869. "type": "string"
  18870. }
  18871. }
  18872. },
  18873. "models.HsbyPreGoodsDetail": {
  18874. "type": "object",
  18875. "required": [
  18876. "goodscode",
  18877. "goodsid",
  18878. "goodsname",
  18879. "marketid",
  18880. "trademode"
  18881. ],
  18882. "properties": {
  18883. "agreeunit": {
  18884. "description": "合约单位",
  18885. "type": "number"
  18886. },
  18887. "buymaxqty": {
  18888. "description": "购买上限 [71] - 0为不限",
  18889. "type": "integer"
  18890. },
  18891. "currency": {
  18892. "description": "货币",
  18893. "type": "string"
  18894. },
  18895. "currencysign": {
  18896. "description": "货币符号",
  18897. "type": "string"
  18898. },
  18899. "customername": {
  18900. "description": "发行单位",
  18901. "type": "string"
  18902. },
  18903. "decimalplace": {
  18904. "description": "报价小数位",
  18905. "type": "integer"
  18906. },
  18907. "desccityid": {
  18908. "description": "目的地(市)ID",
  18909. "type": "integer"
  18910. },
  18911. "descprovinceid": {
  18912. "description": "目的地(省)ID",
  18913. "type": "integer"
  18914. },
  18915. "enableqty": {
  18916. "description": "剩余数量",
  18917. "type": "integer"
  18918. },
  18919. "goodscode": {
  18920. "description": "商品代码(内部)",
  18921. "type": "string"
  18922. },
  18923. "goodsdesc": {
  18924. "description": "商品详情",
  18925. "type": "string"
  18926. },
  18927. "goodsid": {
  18928. "description": "商品ID(自增ID SEQ_GOODS)",
  18929. "type": "integer"
  18930. },
  18931. "goodsname": {
  18932. "description": "商品名称",
  18933. "type": "string"
  18934. },
  18935. "goodsstatus": {
  18936. "description": "商品状态- 2:未上市 3:上市",
  18937. "type": "integer"
  18938. },
  18939. "goodunit": {
  18940. "description": "报价单位",
  18941. "type": "string"
  18942. },
  18943. "lasttradedate": {
  18944. "description": "最后交易日期(状态:待退市)",
  18945. "type": "string"
  18946. },
  18947. "listingdate": {
  18948. "description": "交易开始日期",
  18949. "type": "string"
  18950. },
  18951. "lotsize": {
  18952. "description": "手数最小变动单位",
  18953. "type": "integer"
  18954. },
  18955. "marketid": {
  18956. "description": "所属市场ID",
  18957. "type": "integer"
  18958. },
  18959. "picurls": {
  18960. "description": "介绍图片[多张用逗号分隔]",
  18961. "type": "string"
  18962. },
  18963. "presaledqty": {
  18964. "description": "已预售量(预售结束时更新)",
  18965. "type": "integer"
  18966. },
  18967. "presaleqty": {
  18968. "description": "预售数量",
  18969. "type": "integer"
  18970. },
  18971. "quoteminunit": {
  18972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18973. "type": "integer"
  18974. },
  18975. "refprice": {
  18976. "description": "参考价格[一口价]",
  18977. "type": "number"
  18978. },
  18979. "relatedgoodsid": {
  18980. "description": "关联交易合约ID",
  18981. "type": "integer"
  18982. },
  18983. "stepvalue": {
  18984. "description": "价格最小变动单位",
  18985. "type": "number"
  18986. },
  18987. "trademode": {
  18988. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18989. "type": "integer"
  18990. },
  18991. "vendorattr": {
  18992. "description": "供应商附件(多张,逗号分隔)",
  18993. "type": "string"
  18994. },
  18995. "vendorname": {
  18996. "description": "供应商名称",
  18997. "type": "string"
  18998. },
  18999. "vendorphone": {
  19000. "description": "供应商客服电话",
  19001. "type": "string"
  19002. },
  19003. "videourls": {
  19004. "description": "介绍视频[多张用逗号分隔]",
  19005. "type": "string"
  19006. }
  19007. }
  19008. },
  19009. "models.HsbySellCollectionOrder": {
  19010. "type": "object",
  19011. "required": [
  19012. "goodscode",
  19013. "goodsname",
  19014. "tradeid",
  19015. "trademode"
  19016. ],
  19017. "properties": {
  19018. "agreeunit": {
  19019. "description": "合约单位",
  19020. "type": "number"
  19021. },
  19022. "buyaccountid": {
  19023. "description": "买方账号ID[报价币种]",
  19024. "type": "integer"
  19025. },
  19026. "buyorderid": {
  19027. "description": "买方委托单号",
  19028. "type": "string"
  19029. },
  19030. "createtime": {
  19031. "description": "创建时间",
  19032. "type": "string"
  19033. },
  19034. "currencysign": {
  19035. "description": "货币符号",
  19036. "type": "string"
  19037. },
  19038. "decimalplace": {
  19039. "description": "报价小数位",
  19040. "type": "integer"
  19041. },
  19042. "goodscode": {
  19043. "description": "商品代码(内部)",
  19044. "type": "string"
  19045. },
  19046. "goodsid": {
  19047. "description": "商品ID",
  19048. "type": "integer"
  19049. },
  19050. "goodsname": {
  19051. "description": "商品名称",
  19052. "type": "string"
  19053. },
  19054. "marketid": {
  19055. "description": "市场ID",
  19056. "type": "integer"
  19057. },
  19058. "offamount": {
  19059. "description": "优惠金额",
  19060. "type": "number"
  19061. },
  19062. "payamount": {
  19063. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19064. "type": "number"
  19065. },
  19066. "payflag": {
  19067. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19068. "type": "integer"
  19069. },
  19070. "paylimitedtime": {
  19071. "description": "支付期限",
  19072. "type": "string"
  19073. },
  19074. "paytime": {
  19075. "description": "付款时间",
  19076. "type": "string"
  19077. },
  19078. "picurls": {
  19079. "description": "商品介绍图片[多张用逗号分隔]",
  19080. "type": "string"
  19081. },
  19082. "sellaccountid": {
  19083. "description": "卖方账号ID[报价币种]",
  19084. "type": "integer"
  19085. },
  19086. "sellorderid": {
  19087. "description": "卖方委托单号",
  19088. "type": "string"
  19089. },
  19090. "tradeamount": {
  19091. "description": "成交金额",
  19092. "type": "number"
  19093. },
  19094. "tradecharge": {
  19095. "description": "成交手续费(买方)",
  19096. "type": "number"
  19097. },
  19098. "tradedate": {
  19099. "description": "交易日(yyyyMMdd)",
  19100. "type": "string"
  19101. },
  19102. "tradeid": {
  19103. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19104. "type": "string"
  19105. },
  19106. "trademode": {
  19107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19108. "type": "integer"
  19109. },
  19110. "tradeprice": {
  19111. "description": "成交价格",
  19112. "type": "number"
  19113. },
  19114. "tradeqty": {
  19115. "description": "成交数量",
  19116. "type": "integer"
  19117. }
  19118. }
  19119. },
  19120. "models.HsbySellMyDetail": {
  19121. "type": "object",
  19122. "required": [
  19123. "accountid",
  19124. "buyorsell",
  19125. "goodscode",
  19126. "goodsid",
  19127. "goodsname",
  19128. "marketid",
  19129. "orderid",
  19130. "time",
  19131. "trademode"
  19132. ],
  19133. "properties": {
  19134. "accountid": {
  19135. "description": "账户ID[报价币种]",
  19136. "type": "integer"
  19137. },
  19138. "agreeunit": {
  19139. "description": "合约单位",
  19140. "type": "number"
  19141. },
  19142. "buyorsell": {
  19143. "description": "买卖 - 0:买 1:卖",
  19144. "type": "integer"
  19145. },
  19146. "currencysign": {
  19147. "description": "货币符号",
  19148. "type": "string"
  19149. },
  19150. "decimalplace": {
  19151. "description": "报价小数位",
  19152. "type": "integer"
  19153. },
  19154. "goodscode": {
  19155. "description": "商品代码(内部)",
  19156. "type": "string"
  19157. },
  19158. "goodsid": {
  19159. "description": "商品ID",
  19160. "type": "integer"
  19161. },
  19162. "goodsname": {
  19163. "description": "商品名称",
  19164. "type": "string"
  19165. },
  19166. "marketid": {
  19167. "description": "市场ID",
  19168. "type": "integer"
  19169. },
  19170. "orderid": {
  19171. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19172. "type": "string"
  19173. },
  19174. "ordertype": {
  19175. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19176. "type": "integer"
  19177. },
  19178. "picurls": {
  19179. "description": "介绍图片[多张用逗号分隔]",
  19180. "type": "string"
  19181. },
  19182. "price": {
  19183. "description": "价格",
  19184. "type": "number"
  19185. },
  19186. "qty": {
  19187. "description": "数量",
  19188. "type": "integer"
  19189. },
  19190. "time": {
  19191. "description": "时间",
  19192. "type": "string"
  19193. },
  19194. "trademode": {
  19195. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19196. "type": "integer"
  19197. },
  19198. "vendorname": {
  19199. "description": "供应商名称",
  19200. "type": "string"
  19201. }
  19202. }
  19203. },
  19204. "models.HsbyTopGoods": {
  19205. "type": "object",
  19206. "required": [
  19207. "goodscode",
  19208. "goodsid",
  19209. "goodsname",
  19210. "marketid",
  19211. "trademode"
  19212. ],
  19213. "properties": {
  19214. "agreeunit": {
  19215. "description": "合约单位",
  19216. "type": "number"
  19217. },
  19218. "currency": {
  19219. "description": "货币",
  19220. "type": "string"
  19221. },
  19222. "currencysign": {
  19223. "description": "货币符号",
  19224. "type": "string"
  19225. },
  19226. "decimalplace": {
  19227. "description": "报价小数位",
  19228. "type": "integer"
  19229. },
  19230. "desccityid": {
  19231. "description": "目的地(市)",
  19232. "type": "integer"
  19233. },
  19234. "descprovinceid": {
  19235. "description": "目的地(省)",
  19236. "type": "integer"
  19237. },
  19238. "goodscode": {
  19239. "description": "商品代码(内部)",
  19240. "type": "string"
  19241. },
  19242. "goodsid": {
  19243. "description": "商品ID(自增ID SEQ_GOODS)",
  19244. "type": "integer"
  19245. },
  19246. "goodsname": {
  19247. "description": "商品名称",
  19248. "type": "string"
  19249. },
  19250. "hotindex": {
  19251. "description": "景点热度",
  19252. "type": "integer"
  19253. },
  19254. "last": {
  19255. "description": "现价",
  19256. "type": "number"
  19257. },
  19258. "marketid": {
  19259. "description": "所属市场ID",
  19260. "type": "integer"
  19261. },
  19262. "picurls": {
  19263. "description": "介绍图片[多张用逗号分隔]",
  19264. "type": "string"
  19265. },
  19266. "quoteminunit": {
  19267. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19268. "type": "integer"
  19269. },
  19270. "trademode": {
  19271. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19272. "type": "integer"
  19273. },
  19274. "videourls": {
  19275. "description": "介绍视频[多张用逗号分隔]",
  19276. "type": "string"
  19277. }
  19278. }
  19279. },
  19280. "models.HybsMyBuyOrderDetail": {
  19281. "type": "object",
  19282. "required": [
  19283. "accountid",
  19284. "buyorsell",
  19285. "goodscode",
  19286. "goodsid",
  19287. "goodsname",
  19288. "marketid",
  19289. "orderid",
  19290. "orderqty",
  19291. "ordertime",
  19292. "trademode"
  19293. ],
  19294. "properties": {
  19295. "accountid": {
  19296. "description": "账户ID[报价币种]",
  19297. "type": "integer"
  19298. },
  19299. "agreeunit": {
  19300. "description": "合约单位",
  19301. "type": "number"
  19302. },
  19303. "buyorsell": {
  19304. "description": "买卖 - 0:买 1:卖",
  19305. "type": "integer"
  19306. },
  19307. "cancelqty": {
  19308. "description": "撤单数量",
  19309. "type": "integer"
  19310. },
  19311. "currencysign": {
  19312. "description": "货币符号",
  19313. "type": "string"
  19314. },
  19315. "decimalplace": {
  19316. "description": "报价小数位",
  19317. "type": "integer"
  19318. },
  19319. "goodscode": {
  19320. "description": "商品代码(内部)",
  19321. "type": "string"
  19322. },
  19323. "goodsid": {
  19324. "description": "商品ID",
  19325. "type": "integer"
  19326. },
  19327. "goodsname": {
  19328. "description": "商品名称",
  19329. "type": "string"
  19330. },
  19331. "listingselecttype": {
  19332. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19333. "type": "integer"
  19334. },
  19335. "marketid": {
  19336. "description": "市场ID",
  19337. "type": "integer"
  19338. },
  19339. "mybuystatus": {
  19340. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19341. "type": "integer"
  19342. },
  19343. "orderamount": {
  19344. "description": "委托金额",
  19345. "type": "number"
  19346. },
  19347. "orderid": {
  19348. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19349. "type": "string"
  19350. },
  19351. "orderprice": {
  19352. "description": "委托价格",
  19353. "type": "number"
  19354. },
  19355. "orderqty": {
  19356. "description": "委托数量",
  19357. "type": "integer"
  19358. },
  19359. "orderstatus": {
  19360. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19361. "type": "integer"
  19362. },
  19363. "ordertime": {
  19364. "description": "委托时间",
  19365. "type": "string"
  19366. },
  19367. "picurls1": {
  19368. "description": "预售商品介绍图片[多张用逗号分隔]",
  19369. "type": "string"
  19370. },
  19371. "picurls2": {
  19372. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19373. "type": "string"
  19374. },
  19375. "trademode": {
  19376. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19377. "type": "integer"
  19378. },
  19379. "tradeqty": {
  19380. "description": "成交数量",
  19381. "type": "integer"
  19382. },
  19383. "vendorname1": {
  19384. "description": "预售商品供应商名称",
  19385. "type": "string"
  19386. },
  19387. "vendorname2": {
  19388. "description": "挂牌商品供应商名称",
  19389. "type": "string"
  19390. }
  19391. }
  19392. },
  19393. "models.Loginaccount": {
  19394. "type": "object",
  19395. "required": [
  19396. "loginid"
  19397. ],
  19398. "properties": {
  19399. "canoutin": {
  19400. "description": "是否可出入金 - 0:不可 1:可",
  19401. "type": "integer"
  19402. },
  19403. "clientroleid": {
  19404. "description": "终端角色ID",
  19405. "type": "integer"
  19406. },
  19407. "haslogined": {
  19408. "description": "是否已登录 - 0:未登录 1:已登录",
  19409. "type": "integer"
  19410. },
  19411. "hasupdatedpwd": {
  19412. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19413. "type": "integer"
  19414. },
  19415. "lastloginip": {
  19416. "description": "最新登录地址",
  19417. "type": "string"
  19418. },
  19419. "lastloginmode": {
  19420. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19421. "type": "integer"
  19422. },
  19423. "lastloginremark": {
  19424. "description": "最新登录描述",
  19425. "type": "string"
  19426. },
  19427. "lastlogintime": {
  19428. "description": "最新登录时间",
  19429. "type": "string"
  19430. },
  19431. "logincode": {
  19432. "description": "登录代码",
  19433. "type": "string"
  19434. },
  19435. "loginfailnum": {
  19436. "description": "连续登录失败次数(登录成功时清零)",
  19437. "type": "integer"
  19438. },
  19439. "loginid": {
  19440. "description": "登陆账号",
  19441. "type": "integer"
  19442. },
  19443. "loginport": {
  19444. "description": "最新登录端口",
  19445. "type": "integer"
  19446. },
  19447. "loginstatus": {
  19448. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19449. "type": "integer"
  19450. },
  19451. "loginusertype": {
  19452. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19453. "type": "integer"
  19454. },
  19455. "modifierid": {
  19456. "description": "修改人",
  19457. "type": "integer"
  19458. },
  19459. "modifytime": {
  19460. "description": "修改时间",
  19461. "type": "string"
  19462. },
  19463. "pwdwrongcount": {
  19464. "description": "密码错误次数",
  19465. "type": "integer"
  19466. },
  19467. "taaccountrighttype": {
  19468. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19469. "type": "integer"
  19470. },
  19471. "unfreezetime": {
  19472. "description": "账户解冻时间",
  19473. "type": "string"
  19474. },
  19475. "userid": {
  19476. "description": "用户ID",
  19477. "type": "integer"
  19478. }
  19479. }
  19480. },
  19481. "models.MainAccountInfo": {
  19482. "type": "object",
  19483. "properties": {
  19484. "accountid": {
  19485. "description": "账号id",
  19486. "type": "integer"
  19487. },
  19488. "accountname": {
  19489. "description": "账号名称(taaccount表中的名称)",
  19490. "type": "string"
  19491. },
  19492. "appid": {
  19493. "description": "AppID",
  19494. "type": "string"
  19495. },
  19496. "authcode": {
  19497. "description": "授权码",
  19498. "type": "string"
  19499. },
  19500. "brokerid": {
  19501. "description": "经纪商id",
  19502. "type": "string"
  19503. },
  19504. "fcid": {
  19505. "description": "期货公司id",
  19506. "type": "integer"
  19507. },
  19508. "fcname": {
  19509. "description": "期货公司代码",
  19510. "type": "string"
  19511. },
  19512. "hedgeaccountcode": {
  19513. "description": "外部账号代码(主账号登录代码)",
  19514. "type": "string"
  19515. },
  19516. "hedgeaccountpwd": {
  19517. "description": "密码",
  19518. "type": "string"
  19519. },
  19520. "ismain": {
  19521. "description": "是否主账号",
  19522. "type": "integer"
  19523. },
  19524. "relateduserid": {
  19525. "description": "关联用户id",
  19526. "type": "integer"
  19527. },
  19528. "userid": {
  19529. "description": "关联用户id",
  19530. "type": "integer"
  19531. }
  19532. }
  19533. },
  19534. "models.Market": {
  19535. "type": "object",
  19536. "required": [
  19537. "marketid",
  19538. "marketstatus",
  19539. "openmethod",
  19540. "reckonpricealgorithm",
  19541. "trademode",
  19542. "tradeproperty"
  19543. ],
  19544. "properties": {
  19545. "auctionwrtype": {
  19546. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19547. "type": "integer"
  19548. },
  19549. "canacceptquote": {
  19550. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19551. "type": "integer"
  19552. },
  19553. "cangoodsexercise": {
  19554. "description": "[期权]是否可现货行权- 0:否 1:是",
  19555. "type": "integer"
  19556. },
  19557. "cangoodsexercisetype": {
  19558. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19559. "type": "integer"
  19560. },
  19561. "canmanualquotestrike": {
  19562. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19563. "type": "integer"
  19564. },
  19565. "canmutistage": {
  19566. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19567. "type": "integer"
  19568. },
  19569. "canpreexercise": {
  19570. "description": "[期权]是否可预申报- 0:否 1:是",
  19571. "type": "integer"
  19572. },
  19573. "clearinterval": {
  19574. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19575. "type": "integer"
  19576. },
  19577. "contracttmp": {
  19578. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19579. "type": "string"
  19580. },
  19581. "exchareaid": {
  19582. "description": "所属交易所,可以没有",
  19583. "type": "integer"
  19584. },
  19585. "goodstype": {
  19586. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19587. "type": "integer"
  19588. },
  19589. "hasrebate": {
  19590. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19591. "type": "integer"
  19592. },
  19593. "hastradecredit": {
  19594. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19595. "type": "integer"
  19596. },
  19597. "haswr": {
  19598. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19599. "type": "integer"
  19600. },
  19601. "isdeductmargin": {
  19602. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19603. "type": "integer"
  19604. },
  19605. "isrecordsource": {
  19606. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19607. "type": "integer"
  19608. },
  19609. "isreleasemargin": {
  19610. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19611. "type": "integer"
  19612. },
  19613. "marginformula": {
  19614. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19615. "type": "integer"
  19616. },
  19617. "marginformula2": {
  19618. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19619. "type": "integer"
  19620. },
  19621. "marketid": {
  19622. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19623. "type": "integer"
  19624. },
  19625. "marketname": {
  19626. "description": "市场名称",
  19627. "type": "string"
  19628. },
  19629. "marketserviceid": {
  19630. "description": "市场服务ID",
  19631. "type": "integer"
  19632. },
  19633. "marketstatus": {
  19634. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19635. "type": "integer"
  19636. },
  19637. "markettype": {
  19638. "description": "市场类型- 1:非交易服务 2:交易服务",
  19639. "type": "integer"
  19640. },
  19641. "matchermode": {
  19642. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19643. "type": "integer"
  19644. },
  19645. "openmethod": {
  19646. "description": "开盘模式 - 0 自动 1手动",
  19647. "type": "integer"
  19648. },
  19649. "otcuserid": {
  19650. "description": "场外期权做市商[场外期权]",
  19651. "type": "integer"
  19652. },
  19653. "outersynctime": {
  19654. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19655. "type": "string"
  19656. },
  19657. "pendingflag": {
  19658. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19659. "type": "integer"
  19660. },
  19661. "pendingtime": {
  19662. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19663. "type": "string"
  19664. },
  19665. "performancetempid": {
  19666. "description": "履约计划模板ID - 作废",
  19667. "type": "integer"
  19668. },
  19669. "premiumquotemode": {
  19670. "description": "权利金报价方式 - 1:自动 2:手动",
  19671. "type": "integer"
  19672. },
  19673. "rebateratio": {
  19674. "description": "返利比率[竞价式]",
  19675. "type": "number"
  19676. },
  19677. "reckonorder": {
  19678. "description": "结算顺序",
  19679. "type": "integer"
  19680. },
  19681. "reckonpricealgorithm": {
  19682. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19683. "type": "integer"
  19684. },
  19685. "reckonpriceparam": {
  19686. "description": "结算价参数",
  19687. "type": "integer"
  19688. },
  19689. "reckontime": {
  19690. "description": "结算时间[通道交易-对冲](HH:mm)",
  19691. "type": "string"
  19692. },
  19693. "roleprioritytype": {
  19694. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19695. "type": "integer"
  19696. },
  19697. "selllistingauditflag": {
  19698. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19699. "type": "integer"
  19700. },
  19701. "trademarkettype": {
  19702. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19703. "type": "integer"
  19704. },
  19705. "trademode": {
  19706. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19707. "type": "integer"
  19708. },
  19709. "tradeproperty": {
  19710. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19711. "type": "integer"
  19712. },
  19713. "tradetype": {
  19714. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19715. "type": "integer"
  19716. }
  19717. }
  19718. },
  19719. "models.Marketrun": {
  19720. "type": "object",
  19721. "required": [
  19722. "marketid",
  19723. "nexttradedate",
  19724. "reckonflag",
  19725. "runstatus",
  19726. "tradedate",
  19727. "tradedate2"
  19728. ],
  19729. "properties": {
  19730. "afternexttradedate": {
  19731. "description": "下下交易日",
  19732. "type": "string"
  19733. },
  19734. "clearquoteflag": {
  19735. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19736. "type": "integer"
  19737. },
  19738. "lastreckondate": {
  19739. "description": "最新交易日(结算成功)",
  19740. "type": "string"
  19741. },
  19742. "machinedate": {
  19743. "description": "机器时间",
  19744. "type": "string"
  19745. },
  19746. "manualflag": {
  19747. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19748. "type": "integer"
  19749. },
  19750. "marketid": {
  19751. "description": "市场ID",
  19752. "type": "integer"
  19753. },
  19754. "nexttradedate": {
  19755. "description": "下一交易日",
  19756. "type": "string"
  19757. },
  19758. "pretradedate": {
  19759. "description": "上一交易日",
  19760. "type": "string"
  19761. },
  19762. "reckonflag": {
  19763. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19764. "type": "integer"
  19765. },
  19766. "runstatus": {
  19767. "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.今日免清算",
  19768. "type": "integer"
  19769. },
  19770. "sectionid": {
  19771. "description": "时间段号[多时段时用]",
  19772. "type": "integer"
  19773. },
  19774. "tradedate": {
  19775. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19776. "type": "string"
  19777. },
  19778. "tradedate2": {
  19779. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19780. "type": "string"
  19781. },
  19782. "updatetime": {
  19783. "description": "更新时间",
  19784. "type": "string"
  19785. }
  19786. }
  19787. },
  19788. "models.Messageboard": {
  19789. "type": "object",
  19790. "required": [
  19791. "messageboardid"
  19792. ],
  19793. "properties": {
  19794. "contactnum": {
  19795. "description": "联系电话",
  19796. "type": "string"
  19797. },
  19798. "createtime": {
  19799. "description": "创建时间",
  19800. "type": "string"
  19801. },
  19802. "message": {
  19803. "description": "留言信息",
  19804. "type": "string"
  19805. },
  19806. "messageboardid": {
  19807. "description": "留言簿ID(SEQ_MessageBoard)",
  19808. "type": "integer"
  19809. },
  19810. "userid": {
  19811. "description": "用户ID",
  19812. "type": "integer"
  19813. }
  19814. }
  19815. },
  19816. "models.MyCoupon": {
  19817. "type": "object",
  19818. "required": [
  19819. "accountid",
  19820. "coupontypeid"
  19821. ],
  19822. "properties": {
  19823. "accountid": {
  19824. "description": "资金账户ID",
  19825. "type": "integer"
  19826. },
  19827. "areauserid": {
  19828. "description": "所属机构",
  19829. "type": "integer"
  19830. },
  19831. "conditionvalue": {
  19832. "description": "条件阈值(可为0)",
  19833. "type": "number"
  19834. },
  19835. "couponcategroy": {
  19836. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19837. "type": "integer"
  19838. },
  19839. "couponname": {
  19840. "description": "优惠券名称",
  19841. "type": "string"
  19842. },
  19843. "coupontypeid": {
  19844. "description": "优惠券类型ID",
  19845. "type": "string"
  19846. },
  19847. "couponvalue": {
  19848. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19849. "type": "number"
  19850. },
  19851. "curfreezeqty": {
  19852. "description": "期末冻结数量",
  19853. "type": "integer"
  19854. },
  19855. "curqty": {
  19856. "description": "期末数量",
  19857. "type": "integer"
  19858. },
  19859. "isgeneral": {
  19860. "description": "是否通用券 - 0:否 1:是",
  19861. "type": "integer"
  19862. },
  19863. "isunusable": {
  19864. "description": "是否不可用",
  19865. "type": "boolean"
  19866. },
  19867. "limitedflag": {
  19868. "description": "是否指定商品 - 0:不限 1:限制",
  19869. "type": "integer"
  19870. },
  19871. "limitedgoodsids": {
  19872. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19873. "type": "string"
  19874. },
  19875. "orifreezeqty": {
  19876. "description": "期初冻结数量",
  19877. "type": "integer"
  19878. },
  19879. "oriqty": {
  19880. "description": "期初数量",
  19881. "type": "integer"
  19882. },
  19883. "reasontype": {
  19884. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19885. "type": "integer"
  19886. },
  19887. "todaydecrease": {
  19888. "description": "今日减少",
  19889. "type": "integer"
  19890. },
  19891. "todayincrease": {
  19892. "description": "今日增加",
  19893. "type": "integer"
  19894. },
  19895. "userid": {
  19896. "description": "用户ID",
  19897. "type": "integer"
  19898. },
  19899. "userscope": {
  19900. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19901. "type": "string"
  19902. }
  19903. }
  19904. },
  19905. "models.MyCouponHold": {
  19906. "type": "object",
  19907. "required": [
  19908. "couponholdid"
  19909. ],
  19910. "properties": {
  19911. "accountid": {
  19912. "description": "资金账户ID",
  19913. "type": "integer"
  19914. },
  19915. "conditionvalue": {
  19916. "description": "条件阈值(可为0)",
  19917. "type": "number"
  19918. },
  19919. "couponcategroy": {
  19920. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19921. "type": "integer"
  19922. },
  19923. "couponholdid": {
  19924. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19925. "type": "string"
  19926. },
  19927. "couponname": {
  19928. "description": "优惠券名称",
  19929. "type": "string"
  19930. },
  19931. "coupontypeid": {
  19932. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19933. "type": "string"
  19934. },
  19935. "couponvalue": {
  19936. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19937. "type": "number"
  19938. },
  19939. "createtime": {
  19940. "description": "创建时间",
  19941. "type": "string"
  19942. },
  19943. "enddate": {
  19944. "description": "结束日期",
  19945. "type": "string"
  19946. },
  19947. "giveapplyid": {
  19948. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19949. "type": "integer"
  19950. },
  19951. "holdstatus": {
  19952. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19953. "type": "integer"
  19954. },
  19955. "isgeneral": {
  19956. "description": "是否通用券 - 0:否 1:是",
  19957. "type": "integer"
  19958. },
  19959. "limitedflag": {
  19960. "description": "是否指定商品 - 0:不限 1:限制",
  19961. "type": "integer"
  19962. },
  19963. "limitedgoodsids": {
  19964. "description": "指定商品IDs[逗号分隔]",
  19965. "type": "string"
  19966. },
  19967. "qty": {
  19968. "description": "数量(按1平铺)",
  19969. "type": "integer"
  19970. },
  19971. "startdate": {
  19972. "description": "开始日期",
  19973. "type": "string"
  19974. },
  19975. "userid": {
  19976. "description": "用户ID",
  19977. "type": "integer"
  19978. },
  19979. "userscope": {
  19980. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19981. "type": "string"
  19982. }
  19983. }
  19984. },
  19985. "models.MyUsedCoupon": {
  19986. "type": "object",
  19987. "required": [
  19988. "coupontypeid",
  19989. "orderid"
  19990. ],
  19991. "properties": {
  19992. "accountid": {
  19993. "description": "资金账户ID(买方)",
  19994. "type": "integer"
  19995. },
  19996. "conditionvalue": {
  19997. "description": "条件阈值(可为0)",
  19998. "type": "number"
  19999. },
  20000. "couponcategroy": {
  20001. "description": "种类 - 1:现金券 2:折扣券",
  20002. "type": "integer"
  20003. },
  20004. "couponname": {
  20005. "description": "优惠券名称",
  20006. "type": "string"
  20007. },
  20008. "coupontypeid": {
  20009. "description": "优惠券类型ID(买方)",
  20010. "type": "string"
  20011. },
  20012. "couponvalue": {
  20013. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20014. "type": "number"
  20015. },
  20016. "createtime": {
  20017. "description": "创建时间",
  20018. "type": "string"
  20019. },
  20020. "goodsid": {
  20021. "description": "商品ID",
  20022. "type": "integer"
  20023. },
  20024. "handlestatus": {
  20025. "description": "处理状态",
  20026. "type": "integer"
  20027. },
  20028. "marketid": {
  20029. "description": "市场ID",
  20030. "type": "integer"
  20031. },
  20032. "offamount": {
  20033. "description": "优惠金额",
  20034. "type": "number"
  20035. },
  20036. "orderid": {
  20037. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20038. "type": "string"
  20039. },
  20040. "sellaccountid": {
  20041. "description": "资金账户ID(卖方)",
  20042. "type": "integer"
  20043. },
  20044. "tradeamount": {
  20045. "description": "成交金额",
  20046. "type": "number"
  20047. },
  20048. "tradeid": {
  20049. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20050. "type": "string"
  20051. },
  20052. "usedqty": {
  20053. "description": "使用数量",
  20054. "type": "integer"
  20055. }
  20056. }
  20057. },
  20058. "models.OperationPrimaryMenu": {
  20059. "type": "object",
  20060. "properties": {
  20061. "Children": {
  20062. "description": "二级功能菜单",
  20063. "type": "array",
  20064. "items": {
  20065. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20066. }
  20067. },
  20068. "Key": {
  20069. "description": "菜单KEY",
  20070. "type": "string"
  20071. },
  20072. "Label": {
  20073. "description": "菜单标题",
  20074. "type": "string"
  20075. }
  20076. }
  20077. },
  20078. "models.OperationSecondaryMenu": {
  20079. "type": "object",
  20080. "properties": {
  20081. "Key": {
  20082. "description": "菜单KEY",
  20083. "type": "string"
  20084. },
  20085. "Label": {
  20086. "description": "菜单标题",
  20087. "type": "string"
  20088. },
  20089. "TabList": {
  20090. "description": "三级功能菜单",
  20091. "type": "array",
  20092. "items": {
  20093. "$ref": "#/definitions/models.OperationTabMenu"
  20094. }
  20095. }
  20096. }
  20097. },
  20098. "models.OperationTabMenu": {
  20099. "type": "object",
  20100. "properties": {
  20101. "Key": {
  20102. "description": "菜单KEY",
  20103. "type": "string"
  20104. },
  20105. "Label": {
  20106. "description": "菜单标题",
  20107. "type": "string"
  20108. }
  20109. }
  20110. },
  20111. "models.PendingAuditBizModel": {
  20112. "type": "object",
  20113. "properties": {
  20114. "accountid": {
  20115. "description": "现货账户",
  20116. "type": "string"
  20117. },
  20118. "areaname": {
  20119. "description": "所属部门",
  20120. "type": "string"
  20121. },
  20122. "bizid": {
  20123. "description": "业务ID",
  20124. "type": "string"
  20125. },
  20126. "bizname": {
  20127. "description": "业务名称",
  20128. "type": "string"
  20129. },
  20130. "status": {
  20131. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20132. "type": "integer"
  20133. },
  20134. "type": {
  20135. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20136. "type": "integer"
  20137. }
  20138. }
  20139. },
  20140. "models.QhjContract": {
  20141. "type": "object",
  20142. "properties": {
  20143. "contractconfirmtime": {
  20144. "description": "合同确认时间(时间)",
  20145. "type": "string"
  20146. },
  20147. "enumdicname": {
  20148. "description": "单位名称",
  20149. "type": "string"
  20150. },
  20151. "goodscode": {
  20152. "description": "商品代码",
  20153. "type": "string"
  20154. },
  20155. "goodsid": {
  20156. "description": "商品ID [5:融资单]",
  20157. "type": "integer"
  20158. },
  20159. "goodsname": {
  20160. "description": "商品名称",
  20161. "type": "string"
  20162. },
  20163. "goodunitid": {
  20164. "description": "商品单位id",
  20165. "type": "integer"
  20166. },
  20167. "initmargin": {
  20168. "description": "初始保证金(首付款)",
  20169. "type": "number"
  20170. },
  20171. "lenderamount": {
  20172. "description": "贷款金额(总额|订单总额)",
  20173. "type": "number"
  20174. },
  20175. "marginratio": {
  20176. "description": "保证金比率(首付比例)",
  20177. "type": "number"
  20178. },
  20179. "payamount": {
  20180. "description": "已付(已付货款)",
  20181. "type": "number"
  20182. },
  20183. "recoveredmargin": {
  20184. "description": "已追缴保证金",
  20185. "type": "number"
  20186. },
  20187. "remainamount": {
  20188. "description": "合同剩余金额(融资额)",
  20189. "type": "number"
  20190. },
  20191. "scfcontractid": {
  20192. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20193. "type": "integer"
  20194. },
  20195. "scfcontracttype": {
  20196. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20197. "type": "integer"
  20198. },
  20199. "totalinterest": {
  20200. "description": "已计总利息(利息)",
  20201. "type": "number"
  20202. },
  20203. "tradeprice": {
  20204. "description": "成交价格(成本价格)",
  20205. "type": "number"
  20206. },
  20207. "userid": {
  20208. "description": "用户ID",
  20209. "type": "integer"
  20210. },
  20211. "username": {
  20212. "description": "用户名称",
  20213. "type": "string"
  20214. },
  20215. "wrqty": {
  20216. "description": "仓单数量(数量)",
  20217. "type": "integer"
  20218. }
  20219. }
  20220. },
  20221. "models.QhjContractLog": {
  20222. "type": "object",
  20223. "properties": {
  20224. "amount": {
  20225. "description": "支付金额",
  20226. "type": "number"
  20227. },
  20228. "amounttype": {
  20229. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20230. "type": "integer"
  20231. },
  20232. "logid": {
  20233. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20234. "type": "string"
  20235. },
  20236. "remainamount": {
  20237. "description": "剩余货款",
  20238. "type": "number"
  20239. },
  20240. "scfcontractid": {
  20241. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20242. "type": "integer"
  20243. },
  20244. "updatetime": {
  20245. "description": "更新时间",
  20246. "type": "string"
  20247. }
  20248. }
  20249. },
  20250. "models.QhjPickArea": {
  20251. "type": "object",
  20252. "properties": {
  20253. "cityid": {
  20254. "description": "市",
  20255. "type": "integer"
  20256. },
  20257. "cityname": {
  20258. "description": "城市名称",
  20259. "type": "string"
  20260. },
  20261. "countryid": {
  20262. "description": "国家",
  20263. "type": "integer"
  20264. },
  20265. "countryname": {
  20266. "description": "国家名称",
  20267. "type": "string"
  20268. },
  20269. "districtid": {
  20270. "description": "地区",
  20271. "type": "integer"
  20272. },
  20273. "districtname": {
  20274. "description": "地区名称",
  20275. "type": "string"
  20276. },
  20277. "fromuserid": {
  20278. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20279. "type": "integer"
  20280. },
  20281. "fromusername": {
  20282. "description": "所属机构名称",
  20283. "type": "string"
  20284. },
  20285. "provinceid": {
  20286. "description": "省",
  20287. "type": "integer"
  20288. },
  20289. "provincename": {
  20290. "description": "省名称",
  20291. "type": "string"
  20292. },
  20293. "suborgtype": {
  20294. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20295. "type": "integer"
  20296. },
  20297. "userid": {
  20298. "description": "机构用户ID 其他做市关系,都设置为 1",
  20299. "type": "integer"
  20300. },
  20301. "username": {
  20302. "description": "机构用户名称(门店门称)",
  20303. "type": "string"
  20304. }
  20305. }
  20306. },
  20307. "models.QhjPickGoods": {
  20308. "type": "object",
  20309. "properties": {
  20310. "imageaddress": {
  20311. "description": "图片",
  20312. "type": "string"
  20313. },
  20314. "modifierid": {
  20315. "description": "修改人",
  20316. "type": "integer"
  20317. },
  20318. "modifiername": {
  20319. "description": "修改人名称",
  20320. "type": "string"
  20321. },
  20322. "modifysrc": {
  20323. "description": "修改来源 - 1:管理端 2:终端",
  20324. "type": "integer"
  20325. },
  20326. "pickupgoodsagreeunit": {
  20327. "description": "合约乘数",
  20328. "type": "number"
  20329. },
  20330. "pickupgoodsdesc": {
  20331. "description": "描述",
  20332. "type": "string"
  20333. },
  20334. "pickupgoodsid": {
  20335. "description": "提货商品ID",
  20336. "type": "string"
  20337. },
  20338. "pickupgoodsname": {
  20339. "description": "提货商品名称",
  20340. "type": "string"
  20341. },
  20342. "pickupgoodsstatus": {
  20343. "description": "状态 - 1:正常 2:停用 3:注销",
  20344. "type": "integer"
  20345. },
  20346. "pickupgoodsunitid": {
  20347. "description": "单位ID",
  20348. "type": "integer"
  20349. },
  20350. "preparedays": {
  20351. "description": "备货期(天)",
  20352. "type": "integer"
  20353. },
  20354. "remark": {
  20355. "description": "备注",
  20356. "type": "string"
  20357. },
  20358. "updatetime": {
  20359. "description": "更新时间",
  20360. "type": "string"
  20361. }
  20362. }
  20363. },
  20364. "models.QhjRSTriggerLog": {
  20365. "type": "object",
  20366. "properties": {
  20367. "accountid": {
  20368. "description": "用户资金账户",
  20369. "type": "integer"
  20370. },
  20371. "accountname": {
  20372. "description": "账号名称(ACCOUNTID对应的名称)",
  20373. "type": "string"
  20374. },
  20375. "currencyid": {
  20376. "description": "币种id",
  20377. "type": "integer"
  20378. },
  20379. "currencyname": {
  20380. "description": "币种名称",
  20381. "type": "string"
  20382. },
  20383. "enumdicname": {
  20384. "description": "单位名称",
  20385. "type": "string"
  20386. },
  20387. "goodscode": {
  20388. "description": "定投商品代码",
  20389. "type": "string"
  20390. },
  20391. "goodsid": {
  20392. "description": "定投商品ID",
  20393. "type": "string"
  20394. },
  20395. "goodsname": {
  20396. "description": "定投商品名称",
  20397. "type": "string"
  20398. },
  20399. "goodunitid": {
  20400. "description": "定投商品单位id",
  20401. "type": "integer"
  20402. },
  20403. "logid": {
  20404. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20405. "type": "string"
  20406. },
  20407. "regularlycycle": {
  20408. "description": "定投频率 - 1:每周 2:每月",
  20409. "type": "integer"
  20410. },
  20411. "regularlycyclevalue": {
  20412. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20413. "type": "string"
  20414. },
  20415. "regularlymode": {
  20416. "description": "定投方式 - 1:按数量 2:按金额",
  20417. "type": "integer"
  20418. },
  20419. "regularlymodevalue": {
  20420. "description": "定投方式值 - 数量或金额",
  20421. "type": "number"
  20422. },
  20423. "regularlystrategyid": {
  20424. "description": "定投策略ID",
  20425. "type": "integer"
  20426. },
  20427. "retcode": {
  20428. "description": "错误码",
  20429. "type": "string"
  20430. },
  20431. "tradeid": {
  20432. "description": "成交单ID",
  20433. "type": "string"
  20434. },
  20435. "triggeramount": {
  20436. "description": "触发金额",
  20437. "type": "number"
  20438. },
  20439. "triggerqty": {
  20440. "description": "触发数量",
  20441. "type": "number"
  20442. },
  20443. "triggerstatus": {
  20444. "description": "触发状态 - 1:成功 2:失败",
  20445. "type": "integer"
  20446. },
  20447. "triggertime": {
  20448. "description": "触发时间",
  20449. "type": "string"
  20450. },
  20451. "triggertradedate": {
  20452. "description": "触发交易日",
  20453. "type": "string"
  20454. },
  20455. "userid": {
  20456. "description": "所属用户ID",
  20457. "type": "integer"
  20458. },
  20459. "username": {
  20460. "description": "用户名称(userid对应的名称)",
  20461. "type": "string"
  20462. }
  20463. }
  20464. },
  20465. "models.QhjRStrategy": {
  20466. "type": "object",
  20467. "properties": {
  20468. "accountid": {
  20469. "description": "用户资金账户",
  20470. "type": "integer"
  20471. },
  20472. "accountname": {
  20473. "description": "账号名称(ACCOUNTID对应的名称)",
  20474. "type": "string"
  20475. },
  20476. "currencyid": {
  20477. "description": "币种id",
  20478. "type": "integer"
  20479. },
  20480. "currencyname": {
  20481. "description": "币种名称",
  20482. "type": "string"
  20483. },
  20484. "enumdicname": {
  20485. "description": "单位名称",
  20486. "type": "string"
  20487. },
  20488. "goodscode": {
  20489. "description": "定投商品代码",
  20490. "type": "string"
  20491. },
  20492. "goodsid": {
  20493. "description": "定投商品ID",
  20494. "type": "string"
  20495. },
  20496. "goodsname": {
  20497. "description": "定投商品名称",
  20498. "type": "string"
  20499. },
  20500. "goodunitid": {
  20501. "description": "定投商品单位id",
  20502. "type": "integer"
  20503. },
  20504. "lasteffecttradedate": {
  20505. "description": "最新生效交易日",
  20506. "type": "string"
  20507. },
  20508. "laststoptradedate": {
  20509. "description": "最新暂停交易日",
  20510. "type": "string"
  20511. },
  20512. "lasttriggertradedate": {
  20513. "description": "最新触发交易日",
  20514. "type": "string"
  20515. },
  20516. "nexttriggeramount": {
  20517. "description": "下次触发金额",
  20518. "type": "number"
  20519. },
  20520. "nexttriggerdate": {
  20521. "description": "下次触发日期",
  20522. "type": "string"
  20523. },
  20524. "nexttriggerqty": {
  20525. "description": "下次触发数量 [按小数位放大值]",
  20526. "type": "number"
  20527. },
  20528. "regularlycycle": {
  20529. "description": "定投频率 - 1:每周 2:每月",
  20530. "type": "integer"
  20531. },
  20532. "regularlycyclevalue": {
  20533. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20534. "type": "string"
  20535. },
  20536. "regularlymode": {
  20537. "description": "定投方式 - 1:按数量 2:按金额",
  20538. "type": "integer"
  20539. },
  20540. "regularlymodevalue": {
  20541. "description": "定投方式值 - 数量或金额",
  20542. "type": "number"
  20543. },
  20544. "regularlystrategyid": {
  20545. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20546. "type": "integer"
  20547. },
  20548. "regularlystrategystatus": {
  20549. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20550. "type": "integer"
  20551. },
  20552. "remark": {
  20553. "description": "备注",
  20554. "type": "string"
  20555. },
  20556. "triggersuccesstimes": {
  20557. "description": "累计定投成功次数",
  20558. "type": "string"
  20559. },
  20560. "triggertotalamount": {
  20561. "description": "累计定投金额(成功)",
  20562. "type": "number"
  20563. },
  20564. "triggertotalqty": {
  20565. "description": "累计定投数量(成功) [按小数位放大值]",
  20566. "type": "number"
  20567. },
  20568. "triggertotaltimes": {
  20569. "description": "累计定投总次数",
  20570. "type": "string"
  20571. },
  20572. "updatesrc": {
  20573. "description": "更新来源 - 1:管理端 2:终端",
  20574. "type": "integer"
  20575. },
  20576. "updatetime": {
  20577. "description": "更新时间",
  20578. "type": "string"
  20579. },
  20580. "updatorid": {
  20581. "description": "更新人",
  20582. "type": "string"
  20583. },
  20584. "userid": {
  20585. "description": "所属用户ID",
  20586. "type": "integer"
  20587. },
  20588. "username": {
  20589. "description": "用户名称(userid对应的名称)",
  20590. "type": "string"
  20591. }
  20592. }
  20593. },
  20594. "models.QhjTradeGoodsPickup": {
  20595. "type": "object",
  20596. "properties": {
  20597. "accountid": {
  20598. "description": "账户ID",
  20599. "type": "integer"
  20600. },
  20601. "address": {
  20602. "description": "提货人详细地址",
  20603. "type": "string"
  20604. },
  20605. "amount": {
  20606. "description": "提货金额",
  20607. "type": "number"
  20608. },
  20609. "artradedate": {
  20610. "description": "自动收货交易日(yyyyMMdd)",
  20611. "type": "string"
  20612. },
  20613. "auditer": {
  20614. "description": "审核人",
  20615. "type": "integer"
  20616. },
  20617. "auditsrc": {
  20618. "description": "更新来源 - 1:管理端 2:终端",
  20619. "type": "integer"
  20620. },
  20621. "audittime": {
  20622. "description": "审核时间(发货时间)",
  20623. "type": "string"
  20624. },
  20625. "audittradedate": {
  20626. "description": "审核交易日(yyyyMMdd)",
  20627. "type": "string"
  20628. },
  20629. "cardnum": {
  20630. "description": "提货人证件号码",
  20631. "type": "string"
  20632. },
  20633. "cardtypeid": {
  20634. "description": "提货人证件类型",
  20635. "type": "integer"
  20636. },
  20637. "checkremark": {
  20638. "description": "审核备注",
  20639. "type": "string"
  20640. },
  20641. "cityid": {
  20642. "description": "市",
  20643. "type": "integer"
  20644. },
  20645. "cityname": {
  20646. "description": "城市名称",
  20647. "type": "string"
  20648. },
  20649. "countryid": {
  20650. "description": "国家",
  20651. "type": "integer"
  20652. },
  20653. "countryname": {
  20654. "description": "国家名称",
  20655. "type": "string"
  20656. },
  20657. "districtid": {
  20658. "description": "地区",
  20659. "type": "integer"
  20660. },
  20661. "districtname": {
  20662. "description": "地区名称",
  20663. "type": "string"
  20664. },
  20665. "enumdicname": {
  20666. "description": "单位名称(提货商品)",
  20667. "type": "string"
  20668. },
  20669. "expresscompany": {
  20670. "description": "物流公司",
  20671. "type": "string"
  20672. },
  20673. "expressnum": {
  20674. "description": "物流单号",
  20675. "type": "string"
  20676. },
  20677. "goodsagreeunit": {
  20678. "description": "交易商品乘数",
  20679. "type": "number"
  20680. },
  20681. "goodscode": {
  20682. "description": "商品代码",
  20683. "type": "string"
  20684. },
  20685. "goodsid": {
  20686. "description": "商品ID",
  20687. "type": "integer"
  20688. },
  20689. "goodsname": {
  20690. "description": "商品名称",
  20691. "type": "string"
  20692. },
  20693. "goodsqty": {
  20694. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  20695. "type": "number"
  20696. },
  20697. "handlestatus": {
  20698. "description": "处理状态",
  20699. "type": "integer"
  20700. },
  20701. "marketid": {
  20702. "description": "市场ID",
  20703. "type": "integer"
  20704. },
  20705. "phonenum": {
  20706. "description": "提货人联系方式",
  20707. "type": "string"
  20708. },
  20709. "pickupgoodsagreeunit": {
  20710. "description": "提货商品合约乘数",
  20711. "type": "number"
  20712. },
  20713. "pickupgoodsid": {
  20714. "description": "提货商品ID",
  20715. "type": "string"
  20716. },
  20717. "pickupgoodsname": {
  20718. "description": "提货商品名称",
  20719. "type": "string"
  20720. },
  20721. "pickupgoodsqty": {
  20722. "description": "提货商品手数(数量)",
  20723. "type": "number"
  20724. },
  20725. "pickupgoodsunitid": {
  20726. "description": "单位ID(提货商品)",
  20727. "type": "integer"
  20728. },
  20729. "pickupratio": {
  20730. "description": "提货系数",
  20731. "type": "number"
  20732. },
  20733. "preparedays": {
  20734. "description": "备货期(天)-提货单明细表",
  20735. "type": "integer"
  20736. },
  20737. "provinceid": {
  20738. "description": "省",
  20739. "type": "integer"
  20740. },
  20741. "provincename": {
  20742. "description": "省名称",
  20743. "type": "string"
  20744. },
  20745. "qty": {
  20746. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  20747. "type": "number"
  20748. },
  20749. "recivername": {
  20750. "description": "提货人姓名",
  20751. "type": "string"
  20752. },
  20753. "reqtime": {
  20754. "description": "提货申请时间",
  20755. "type": "string"
  20756. },
  20757. "storeuserid": {
  20758. "description": "门店用户ID (千海金)",
  20759. "type": "integer"
  20760. },
  20761. "storeusername": {
  20762. "description": "门店用户名称",
  20763. "type": "string"
  20764. },
  20765. "takemode": {
  20766. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  20767. "type": "integer"
  20768. },
  20769. "takeorderid": {
  20770. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20771. "type": "integer"
  20772. },
  20773. "takeorderstatus": {
  20774. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  20775. "type": "integer"
  20776. },
  20777. "takeremark": {
  20778. "description": "提货备注",
  20779. "type": "string"
  20780. },
  20781. "tradedate": {
  20782. "description": "交易日(yyyyMMdd)",
  20783. "type": "string"
  20784. },
  20785. "updatetime": {
  20786. "description": "更新时间",
  20787. "type": "string"
  20788. },
  20789. "userid": {
  20790. "description": "用户ID",
  20791. "type": "integer"
  20792. },
  20793. "username": {
  20794. "description": "用户名称",
  20795. "type": "string"
  20796. }
  20797. }
  20798. },
  20799. "models.QueryErrorInfosRsp": {
  20800. "type": "object",
  20801. "required": [
  20802. "errorid"
  20803. ],
  20804. "properties": {
  20805. "description": {
  20806. "description": "异常描述",
  20807. "type": "string"
  20808. },
  20809. "errorcode": {
  20810. "description": "异常代码",
  20811. "type": "string"
  20812. },
  20813. "errorid": {
  20814. "description": "异常ID",
  20815. "type": "integer"
  20816. },
  20817. "modulecode": {
  20818. "description": "所属模块",
  20819. "type": "string"
  20820. },
  20821. "operatecode": {
  20822. "description": "所属操作",
  20823. "type": "string"
  20824. },
  20825. "rownumber": {
  20826. "description": "行号",
  20827. "type": "string"
  20828. }
  20829. }
  20830. },
  20831. "models.QueryHedgeOrderDetailRsp": {
  20832. "type": "object",
  20833. "properties": {
  20834. "accountid": {
  20835. "description": "账户ID",
  20836. "type": "integer"
  20837. },
  20838. "buyorsell": {
  20839. "description": "买卖 - 0:买 1:卖",
  20840. "type": "integer"
  20841. },
  20842. "cancellogincode": {
  20843. "description": "撤单人",
  20844. "type": "string"
  20845. },
  20846. "channelbuildtype": {
  20847. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20848. "type": "integer"
  20849. },
  20850. "channelinnerorderstatus": {
  20851. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20852. "type": "integer"
  20853. },
  20854. "channeloperatetype": {
  20855. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20856. "type": "integer"
  20857. },
  20858. "closetype": {
  20859. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20860. "type": "integer"
  20861. },
  20862. "curexchangerate": {
  20863. "description": "当前汇率",
  20864. "type": "number"
  20865. },
  20866. "exchangefullname": {
  20867. "description": "外部交易所全称",
  20868. "type": "string"
  20869. },
  20870. "goodscode": {
  20871. "description": "商品代码(内部)",
  20872. "type": "string"
  20873. },
  20874. "goodsid": {
  20875. "description": "商品ID",
  20876. "type": "integer"
  20877. },
  20878. "goodsname": {
  20879. "description": "商品名称",
  20880. "type": "string"
  20881. },
  20882. "marketid": {
  20883. "description": "市场ID",
  20884. "type": "integer"
  20885. },
  20886. "openfreezemargin": {
  20887. "description": "冻结保证金(冻结交易金额)",
  20888. "type": "number"
  20889. },
  20890. "orderid": {
  20891. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20892. "type": "string"
  20893. },
  20894. "orderlogincode": {
  20895. "description": "委托人",
  20896. "type": "string"
  20897. },
  20898. "orderprice": {
  20899. "description": "委托价格(账户)",
  20900. "type": "number"
  20901. },
  20902. "orderqty": {
  20903. "description": "委托数量",
  20904. "type": "integer"
  20905. },
  20906. "ordertime": {
  20907. "description": "委托时间",
  20908. "type": "string"
  20909. },
  20910. "pricemode": {
  20911. "description": "取价方式 - 1:市价 2: 限价",
  20912. "type": "integer"
  20913. },
  20914. "tradedate": {
  20915. "description": "交易日(yyyyMMdd)",
  20916. "type": "string"
  20917. },
  20918. "tradeqty": {
  20919. "description": "成交数量",
  20920. "type": "integer"
  20921. }
  20922. }
  20923. },
  20924. "models.QueryHedgeTradeDetailRsp": {
  20925. "type": "object",
  20926. "properties": {
  20927. "accountid": {
  20928. "description": "账号ID",
  20929. "type": "integer"
  20930. },
  20931. "buyorsell": {
  20932. "description": "方向 - 0:买 1:卖",
  20933. "type": "integer"
  20934. },
  20935. "channelbuildtype": {
  20936. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20937. "type": "integer"
  20938. },
  20939. "closecharge": {
  20940. "description": "平仓手续费(账户)",
  20941. "type": "number"
  20942. },
  20943. "closecharge2": {
  20944. "description": "平仓手续费(商品)",
  20945. "type": "number"
  20946. },
  20947. "closepl": {
  20948. "description": "平仓盈亏(账户)",
  20949. "type": "number"
  20950. },
  20951. "closepl2": {
  20952. "description": "平仓盈亏(商品)",
  20953. "type": "number"
  20954. },
  20955. "closepl3": {
  20956. "description": "平仓盈亏(账户)(逐笔)",
  20957. "type": "number"
  20958. },
  20959. "closepl4": {
  20960. "description": "平仓盈亏(商品)(逐笔)",
  20961. "type": "number"
  20962. },
  20963. "closetype": {
  20964. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20965. "type": "integer"
  20966. },
  20967. "curexchangerate": {
  20968. "description": "当前汇率",
  20969. "type": "number"
  20970. },
  20971. "exchangefullname": {
  20972. "description": "外部交易所全称",
  20973. "type": "string"
  20974. },
  20975. "goodscode": {
  20976. "description": "商品代码(内部)",
  20977. "type": "string"
  20978. },
  20979. "goodsid": {
  20980. "description": "商品ID",
  20981. "type": "integer"
  20982. },
  20983. "goodsname": {
  20984. "description": "商品名称",
  20985. "type": "string"
  20986. },
  20987. "marketid": {
  20988. "description": "市场ID",
  20989. "type": "integer"
  20990. },
  20991. "opencharge": {
  20992. "description": "建仓手续费(账户)",
  20993. "type": "number"
  20994. },
  20995. "opencharge2": {
  20996. "description": "建仓手续费(商品)",
  20997. "type": "number"
  20998. },
  20999. "orderid": {
  21000. "description": "委托单号",
  21001. "type": "string"
  21002. },
  21003. "orderlogincode": {
  21004. "description": "委托人",
  21005. "type": "string"
  21006. },
  21007. "tradeamount": {
  21008. "description": "成交金额(账户)",
  21009. "type": "number"
  21010. },
  21011. "tradedate": {
  21012. "description": "交易日(yyyyMMdd)",
  21013. "type": "string"
  21014. },
  21015. "tradeid": {
  21016. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21017. "type": "string"
  21018. },
  21019. "tradeprice": {
  21020. "description": "成交价格",
  21021. "type": "number"
  21022. },
  21023. "tradeqty": {
  21024. "description": "成交数量",
  21025. "type": "integer"
  21026. },
  21027. "tradetime": {
  21028. "description": "成交时间",
  21029. "type": "string"
  21030. },
  21031. "tradetype": {
  21032. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21033. "type": "integer"
  21034. }
  21035. }
  21036. },
  21037. "models.QuotePrimaryMenu": {
  21038. "type": "object",
  21039. "properties": {
  21040. "Index": {
  21041. "description": "序号",
  21042. "type": "integer"
  21043. },
  21044. "Key": {
  21045. "description": "键名",
  21046. "type": "string"
  21047. },
  21048. "Name": {
  21049. "description": "菜单名称",
  21050. "type": "string"
  21051. },
  21052. "SubMenus": {
  21053. "description": "子菜单",
  21054. "type": "array",
  21055. "items": {
  21056. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21057. }
  21058. },
  21059. "SubTitleType": {
  21060. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21061. "type": "integer"
  21062. },
  21063. "TradeModes": {
  21064. "description": "包含市场交易类型",
  21065. "type": "string"
  21066. }
  21067. }
  21068. },
  21069. "models.QuoteSecondaryMenu": {
  21070. "type": "object",
  21071. "properties": {
  21072. "ExExchangeCode": {
  21073. "description": "外部交易所代码",
  21074. "type": "string"
  21075. },
  21076. "ExExchangeID": {
  21077. "description": "外部交易所ID",
  21078. "type": "integer"
  21079. },
  21080. "GoodsGroupIDs": {
  21081. "description": "商品组ID列表",
  21082. "type": "array",
  21083. "items": {
  21084. "type": "integer"
  21085. }
  21086. },
  21087. "Index": {
  21088. "description": "序号",
  21089. "type": "integer"
  21090. },
  21091. "MarketID": {
  21092. "description": "市场ID",
  21093. "type": "integer"
  21094. },
  21095. "MenuTitle": {
  21096. "description": "菜单标题(市场名称或外部交易所名称)",
  21097. "type": "string"
  21098. },
  21099. "TradeMode": {
  21100. "description": "交易模式",
  21101. "type": "integer"
  21102. }
  21103. }
  21104. },
  21105. "models.SearchGoods": {
  21106. "type": "object",
  21107. "required": [
  21108. "goodscode",
  21109. "goodsid",
  21110. "goodsname",
  21111. "marketid",
  21112. "trademode"
  21113. ],
  21114. "properties": {
  21115. "goodscode": {
  21116. "description": "商品代码(内部)",
  21117. "type": "string"
  21118. },
  21119. "goodsid": {
  21120. "description": "商品ID(自增ID SEQ_GOODS)",
  21121. "type": "integer"
  21122. },
  21123. "goodsname": {
  21124. "description": "商品名称",
  21125. "type": "string"
  21126. },
  21127. "marketid": {
  21128. "description": "所属市场ID",
  21129. "type": "integer"
  21130. },
  21131. "marketname": {
  21132. "description": "市场名称",
  21133. "type": "string"
  21134. },
  21135. "trademode": {
  21136. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21137. "type": "integer"
  21138. }
  21139. }
  21140. },
  21141. "models.Systemparam": {
  21142. "type": "object",
  21143. "required": [
  21144. "paramcode"
  21145. ],
  21146. "properties": {
  21147. "loginid": {
  21148. "description": "更新用户账号,登录账号",
  21149. "type": "string"
  21150. },
  21151. "modifyflag": {
  21152. "description": "修改标志0 不允许修改 1 允许修改",
  21153. "type": "integer"
  21154. },
  21155. "paramcode": {
  21156. "description": "参数代码",
  21157. "type": "string"
  21158. },
  21159. "paramname": {
  21160. "description": "参数名",
  21161. "type": "string"
  21162. },
  21163. "paramtype": {
  21164. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21165. "type": "integer"
  21166. },
  21167. "paramvalue": {
  21168. "description": "参数值",
  21169. "type": "string"
  21170. },
  21171. "paramvalue2": {
  21172. "description": "参数值(CLOB)",
  21173. "type": "string"
  21174. },
  21175. "regexpress": {
  21176. "description": "正则表达式",
  21177. "type": "string"
  21178. },
  21179. "remark": {
  21180. "description": "备注",
  21181. "type": "string"
  21182. },
  21183. "serverip": {
  21184. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21185. "type": "string"
  21186. },
  21187. "showflag": {
  21188. "description": "是否显示0 不显示 1 显示",
  21189. "type": "integer"
  21190. },
  21191. "updatetime": {
  21192. "description": "更新时间",
  21193. "type": "string"
  21194. },
  21195. "userid": {
  21196. "description": "更新用户ID",
  21197. "type": "integer"
  21198. }
  21199. }
  21200. },
  21201. "models.Szdz3convertconfig": {
  21202. "type": "object",
  21203. "required": [
  21204. "converttype",
  21205. "innergoodsid",
  21206. "outergoodscode"
  21207. ],
  21208. "properties": {
  21209. "canin": {
  21210. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21211. "type": "integer"
  21212. },
  21213. "canout": {
  21214. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21215. "type": "integer"
  21216. },
  21217. "converttype": {
  21218. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21219. "type": "integer"
  21220. },
  21221. "createtime": {
  21222. "description": "创建时间",
  21223. "type": "string"
  21224. },
  21225. "creatorid": {
  21226. "description": "创建人",
  21227. "type": "integer"
  21228. },
  21229. "daymaxvalue": {
  21230. "description": "当日最大转入限制",
  21231. "type": "number"
  21232. },
  21233. "freezedays": {
  21234. "description": "冻结天数 [5:花生米转交易]",
  21235. "type": "integer"
  21236. },
  21237. "innergoodsid": {
  21238. "description": "内部商品ID[交易]",
  21239. "type": "integer"
  21240. },
  21241. "inratio": {
  21242. "description": "目标值",
  21243. "type": "integer"
  21244. },
  21245. "modifierid": {
  21246. "description": "修改人",
  21247. "type": "integer"
  21248. },
  21249. "modifytime": {
  21250. "description": "修改时间",
  21251. "type": "string"
  21252. },
  21253. "outergoodscode": {
  21254. "description": "外部商品代码[JD\\PD]",
  21255. "type": "string"
  21256. },
  21257. "outratio": {
  21258. "description": "源值",
  21259. "type": "integer"
  21260. },
  21261. "pddecimalplace": {
  21262. "description": "PD小数位",
  21263. "type": "integer"
  21264. },
  21265. "timemaxvalue": {
  21266. "description": "单次最大转入限制",
  21267. "type": "number"
  21268. },
  21269. "timeminvalue": {
  21270. "description": "单次最小转入限制",
  21271. "type": "number"
  21272. }
  21273. }
  21274. },
  21275. "models.Szdz3searchwhitelist": {
  21276. "type": "object",
  21277. "required": [
  21278. "userid"
  21279. ],
  21280. "properties": {
  21281. "createtime": {
  21282. "description": "创建时间",
  21283. "type": "string"
  21284. },
  21285. "creatorid": {
  21286. "description": "创建人",
  21287. "type": "integer"
  21288. },
  21289. "modifierid": {
  21290. "description": "修改人",
  21291. "type": "integer"
  21292. },
  21293. "modifytime": {
  21294. "description": "修改时间",
  21295. "type": "string"
  21296. },
  21297. "userid": {
  21298. "description": "用户ID",
  21299. "type": "integer"
  21300. }
  21301. }
  21302. },
  21303. "models.Taaccount": {
  21304. "type": "object",
  21305. "required": [
  21306. "accountid",
  21307. "userid"
  21308. ],
  21309. "properties": {
  21310. "accountflag": {
  21311. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21312. "type": "integer"
  21313. },
  21314. "accountid": {
  21315. "description": "资金账户ID",
  21316. "type": "integer"
  21317. },
  21318. "accountname": {
  21319. "description": "账户名称",
  21320. "type": "string"
  21321. },
  21322. "balance": {
  21323. "description": "期初余额",
  21324. "type": "number"
  21325. },
  21326. "capitalbalance": {
  21327. "description": "本金余额[外部子账户实际出入金余额]",
  21328. "type": "number"
  21329. },
  21330. "changeflag": {
  21331. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21332. "type": "integer"
  21333. },
  21334. "changetime": {
  21335. "description": "账户状态变更时间",
  21336. "type": "string"
  21337. },
  21338. "closepl": {
  21339. "description": "今日平仓盈亏",
  21340. "type": "number"
  21341. },
  21342. "creditdecrease": {
  21343. "description": "今日授信减少",
  21344. "type": "number"
  21345. },
  21346. "creditincrease": {
  21347. "description": "今日授信增加",
  21348. "type": "number"
  21349. },
  21350. "currencyid": {
  21351. "description": "货币ID",
  21352. "type": "integer"
  21353. },
  21354. "currentbalance": {
  21355. "description": "期末余额",
  21356. "type": "number"
  21357. },
  21358. "freezecharge": {
  21359. "description": "手续费冻结",
  21360. "type": "number"
  21361. },
  21362. "freezemargin": {
  21363. "description": "冻结保证金",
  21364. "type": "number"
  21365. },
  21366. "fromaccountid": {
  21367. "description": "所属上级账户",
  21368. "type": "integer"
  21369. },
  21370. "inamount": {
  21371. "description": "今日入金金额(包括三方入金)",
  21372. "type": "number"
  21373. },
  21374. "ismain": {
  21375. "description": "是否母账号 0:不是母账户 1:是母账户",
  21376. "type": "integer"
  21377. },
  21378. "ismarketaccount": {
  21379. "description": "是否机构接单账号 0:不是 1:是",
  21380. "type": "integer"
  21381. },
  21382. "isreckonaccount": {
  21383. "description": "是否机构分润账号 0:不是 1:是",
  21384. "type": "integer"
  21385. },
  21386. "mortgagecredit": {
  21387. "description": "授信金额",
  21388. "type": "number"
  21389. },
  21390. "orifreezecharge": {
  21391. "description": "期初手续费冻结",
  21392. "type": "number"
  21393. },
  21394. "orifreezemargin": {
  21395. "description": "期初冻结保证金",
  21396. "type": "number"
  21397. },
  21398. "orimortgagecredit": {
  21399. "description": "期初授信金额",
  21400. "type": "number"
  21401. },
  21402. "oriothercredit": {
  21403. "description": "期初其它授信金额",
  21404. "type": "number"
  21405. },
  21406. "oriotherfreezemargin": {
  21407. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21408. "type": "number"
  21409. },
  21410. "orioutamountfreeze": {
  21411. "description": "期初出金冻结",
  21412. "type": "number"
  21413. },
  21414. "oriusedmargin": {
  21415. "description": "期初占用保证金",
  21416. "type": "number"
  21417. },
  21418. "othercredit": {
  21419. "description": "其它授信金额",
  21420. "type": "number"
  21421. },
  21422. "othercreditdecrease": {
  21423. "description": "今日其它授信减少",
  21424. "type": "number"
  21425. },
  21426. "othercreditincrease": {
  21427. "description": "今日其它授信增加",
  21428. "type": "number"
  21429. },
  21430. "otherfreezemargin": {
  21431. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21432. "type": "number"
  21433. },
  21434. "otherincome": {
  21435. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21436. "type": "number"
  21437. },
  21438. "otherpay": {
  21439. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21440. "type": "number"
  21441. },
  21442. "outamount": {
  21443. "description": "今日出金金额(包括三方出金)",
  21444. "type": "number"
  21445. },
  21446. "outamountfreeze": {
  21447. "description": "出金冻结",
  21448. "type": "number"
  21449. },
  21450. "outthreshold": {
  21451. "description": "出金阈值",
  21452. "type": "number"
  21453. },
  21454. "parentaccountid": {
  21455. "description": "所属根账号",
  21456. "type": "integer"
  21457. },
  21458. "paycharge": {
  21459. "description": "今日手续费支出",
  21460. "type": "number"
  21461. },
  21462. "relatedaccountstatus": {
  21463. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21464. "type": "integer"
  21465. },
  21466. "relateduserid": {
  21467. "description": "关联用户",
  21468. "type": "integer"
  21469. },
  21470. "serivcegroup": {
  21471. "description": "服务分组",
  21472. "type": "integer"
  21473. },
  21474. "signstatus": {
  21475. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21476. "type": "integer"
  21477. },
  21478. "sublevelpath": {
  21479. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21480. "type": "string"
  21481. },
  21482. "taaccounttype": {
  21483. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21484. "type": "integer"
  21485. },
  21486. "thirdinamount": {
  21487. "description": "今日三方入金",
  21488. "type": "number"
  21489. },
  21490. "thirdoutamount": {
  21491. "description": "今日三方出金",
  21492. "type": "number"
  21493. },
  21494. "tradestatus": {
  21495. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21496. "type": "integer"
  21497. },
  21498. "tradestatuschangetime": {
  21499. "description": "激活时间",
  21500. "type": "string"
  21501. },
  21502. "transferamount": {
  21503. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21504. "type": "number"
  21505. },
  21506. "usedmargin": {
  21507. "description": "占用保证金",
  21508. "type": "number"
  21509. },
  21510. "userid": {
  21511. "description": "用户ID",
  21512. "type": "integer"
  21513. }
  21514. }
  21515. },
  21516. "models.Tablecolumnconfig": {
  21517. "type": "object",
  21518. "required": [
  21519. "autoid"
  21520. ],
  21521. "properties": {
  21522. "aligntype": {
  21523. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21524. "type": "integer"
  21525. },
  21526. "autoid": {
  21527. "description": "AutoID",
  21528. "type": "integer"
  21529. },
  21530. "columnfield": {
  21531. "description": "列字段",
  21532. "type": "string"
  21533. },
  21534. "columntitle": {
  21535. "description": "列Title",
  21536. "type": "string"
  21537. },
  21538. "columnwidth": {
  21539. "description": "列宽",
  21540. "type": "string"
  21541. },
  21542. "formatterstring": {
  21543. "description": "格式化字符",
  21544. "type": "string"
  21545. },
  21546. "formattertype": {
  21547. "description": "格式化类型",
  21548. "type": "string"
  21549. },
  21550. "groupname": {
  21551. "description": "表头分组名称",
  21552. "type": "string"
  21553. },
  21554. "isshow": {
  21555. "description": "是否显示 - 0:不显示 1:显示",
  21556. "type": "integer"
  21557. },
  21558. "needsummary": {
  21559. "description": "是否需要汇总 - 0:不需要 1:需要",
  21560. "type": "integer"
  21561. },
  21562. "orderindex": {
  21563. "description": "顺序",
  21564. "type": "integer"
  21565. },
  21566. "remark": {
  21567. "description": "备注",
  21568. "type": "string"
  21569. },
  21570. "summarytype": {
  21571. "description": "汇总类型 - 1:加总 2:最后一个",
  21572. "type": "integer"
  21573. },
  21574. "tablekey": {
  21575. "description": "列表Key",
  21576. "type": "string"
  21577. }
  21578. }
  21579. },
  21580. "models.UserCollectConfig": {
  21581. "type": "object",
  21582. "properties": {
  21583. "accountstatus": {
  21584. "description": "账户状态 - 1:正常 2:停用 3:注销",
  21585. "type": "integer"
  21586. },
  21587. "collectaccountname": {
  21588. "description": "收款人账户名称",
  21589. "type": "string"
  21590. },
  21591. "collectaccountno": {
  21592. "description": "收款人账户",
  21593. "type": "string"
  21594. },
  21595. "collectbankname": {
  21596. "description": "收款人开户行",
  21597. "type": "string"
  21598. },
  21599. "collectbranchbankname": {
  21600. "description": "收款人开户支行",
  21601. "type": "string"
  21602. },
  21603. "collectconfigid": {
  21604. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  21605. "type": "string"
  21606. },
  21607. "remark": {
  21608. "description": "备注",
  21609. "type": "string"
  21610. },
  21611. "userid": {
  21612. "description": "收款人用户ID",
  21613. "type": "integer"
  21614. }
  21615. }
  21616. },
  21617. "models.UserReceiveInfo": {
  21618. "type": "object",
  21619. "properties": {
  21620. "address": {
  21621. "description": "提货人详细地址",
  21622. "type": "string"
  21623. },
  21624. "autoid": {
  21625. "description": "AutoID",
  21626. "type": "integer"
  21627. },
  21628. "cardnum": {
  21629. "description": "证件号码(加密存储)",
  21630. "type": "string"
  21631. },
  21632. "cardtypeid": {
  21633. "description": "证件类型",
  21634. "type": "integer"
  21635. },
  21636. "cityid": {
  21637. "description": "市",
  21638. "type": "integer"
  21639. },
  21640. "cityname": {
  21641. "description": "城市名称",
  21642. "type": "string"
  21643. },
  21644. "countryid": {
  21645. "description": "国家",
  21646. "type": "integer"
  21647. },
  21648. "countryname": {
  21649. "description": "国家名称",
  21650. "type": "string"
  21651. },
  21652. "districtid": {
  21653. "description": "地区",
  21654. "type": "integer"
  21655. },
  21656. "districtname": {
  21657. "description": "地区名称",
  21658. "type": "string"
  21659. },
  21660. "hasencrypt": {
  21661. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21662. "type": "integer"
  21663. },
  21664. "isdefault": {
  21665. "description": "是否默认地址 - 0:否 1:是",
  21666. "type": "integer"
  21667. },
  21668. "phonenum": {
  21669. "description": "提货人联系方式(加密存储)",
  21670. "type": "string"
  21671. },
  21672. "provinceid": {
  21673. "description": "省",
  21674. "type": "integer"
  21675. },
  21676. "provincename": {
  21677. "description": "省名称",
  21678. "type": "string"
  21679. },
  21680. "receivername": {
  21681. "description": "提货人姓名",
  21682. "type": "string"
  21683. },
  21684. "takeremark": {
  21685. "description": "提货备注",
  21686. "type": "string"
  21687. },
  21688. "userid": {
  21689. "description": "用户ID",
  21690. "type": "integer"
  21691. }
  21692. }
  21693. },
  21694. "models.Useraccount": {
  21695. "type": "object",
  21696. "required": [
  21697. "userid"
  21698. ],
  21699. "properties": {
  21700. "accountname": {
  21701. "description": "账户名称(机构名称)",
  21702. "type": "string"
  21703. },
  21704. "accountstatus": {
  21705. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21706. "type": "integer"
  21707. },
  21708. "auditremark": {
  21709. "description": "审核备注",
  21710. "type": "string"
  21711. },
  21712. "audittime": {
  21713. "description": "审核时间",
  21714. "type": "string"
  21715. },
  21716. "audituserid": {
  21717. "description": "审核人",
  21718. "type": "integer"
  21719. },
  21720. "broker": {
  21721. "description": "所属经纪人ID",
  21722. "type": "integer"
  21723. },
  21724. "canceltime": {
  21725. "description": "销户时间",
  21726. "type": "string"
  21727. },
  21728. "canceluserid": {
  21729. "description": "销户人",
  21730. "type": "integer"
  21731. },
  21732. "createtime": {
  21733. "description": "创建时间",
  21734. "type": "string"
  21735. },
  21736. "creatorid": {
  21737. "description": "创建人",
  21738. "type": "integer"
  21739. },
  21740. "hasauth": {
  21741. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21742. "type": "integer"
  21743. },
  21744. "isanonymous": {
  21745. "description": "是否匿名下单 - 0:否 1:是",
  21746. "type": "integer"
  21747. },
  21748. "maxinvestornum": {
  21749. "description": "最大用户数(经纪会员下投资者个数)",
  21750. "type": "integer"
  21751. },
  21752. "memberuserid": {
  21753. "description": "所属会员ID",
  21754. "type": "integer"
  21755. },
  21756. "modifierid": {
  21757. "description": "修改人",
  21758. "type": "integer"
  21759. },
  21760. "modifyremark": {
  21761. "description": "变更备注",
  21762. "type": "string"
  21763. },
  21764. "modifystatus": {
  21765. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21766. "type": "integer"
  21767. },
  21768. "modifytime": {
  21769. "description": "修改时间",
  21770. "type": "string"
  21771. },
  21772. "parentuserid": {
  21773. "description": "所属机构ID",
  21774. "type": "integer"
  21775. },
  21776. "reckonaccountid": {
  21777. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21778. "type": "integer"
  21779. },
  21780. "refercount": {
  21781. "description": "推荐总人数",
  21782. "type": "integer"
  21783. },
  21784. "refereeuserid": {
  21785. "description": "推荐人ID",
  21786. "type": "integer"
  21787. },
  21788. "refernum": {
  21789. "description": "推荐码",
  21790. "type": "string"
  21791. },
  21792. "subarealevelpath": {
  21793. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21794. "type": "string"
  21795. },
  21796. "userid": {
  21797. "description": "用户ID",
  21798. "type": "integer"
  21799. },
  21800. "usertype": {
  21801. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21802. "type": "integer"
  21803. }
  21804. }
  21805. },
  21806. "models.Userfavoritegoods": {
  21807. "type": "object",
  21808. "required": [
  21809. "goodsid"
  21810. ],
  21811. "properties": {
  21812. "goodsid": {
  21813. "description": "商品ID",
  21814. "type": "integer"
  21815. }
  21816. }
  21817. },
  21818. "models.Userinfo": {
  21819. "type": "object",
  21820. "required": [
  21821. "userid"
  21822. ],
  21823. "properties": {
  21824. "address": {
  21825. "description": "地址",
  21826. "type": "string"
  21827. },
  21828. "attachment1": {
  21829. "description": "附件1",
  21830. "type": "string"
  21831. },
  21832. "attachment2": {
  21833. "description": "附件2",
  21834. "type": "string"
  21835. },
  21836. "bankaccount": {
  21837. "description": "银行帐号 (加密存储)",
  21838. "type": "string"
  21839. },
  21840. "bankaccountname": {
  21841. "description": "收款人名称",
  21842. "type": "string"
  21843. },
  21844. "bankcardfrontphotourl": {
  21845. "description": "银行卡正面照地址",
  21846. "type": "string"
  21847. },
  21848. "bankid": {
  21849. "description": "银行编码",
  21850. "type": "string"
  21851. },
  21852. "bankname": {
  21853. "description": "银行名称",
  21854. "type": "string"
  21855. },
  21856. "biznature": {
  21857. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21858. "type": "integer"
  21859. },
  21860. "bizscope": {
  21861. "description": "企业经营范围(企业)",
  21862. "type": "string"
  21863. },
  21864. "cardbackphotourl": {
  21865. "description": "证件背面图片地址",
  21866. "type": "string"
  21867. },
  21868. "cardfrontphotourl": {
  21869. "description": "证件正面图片地址",
  21870. "type": "string"
  21871. },
  21872. "cardnum": {
  21873. "description": "证件号码(加密存储)",
  21874. "type": "string"
  21875. },
  21876. "cardtypeid": {
  21877. "description": "证件类型ID",
  21878. "type": "integer"
  21879. },
  21880. "cityid": {
  21881. "description": "市",
  21882. "type": "integer"
  21883. },
  21884. "company": {
  21885. "description": "公司(个人)",
  21886. "type": "string"
  21887. },
  21888. "contactname": {
  21889. "description": "联系人",
  21890. "type": "string"
  21891. },
  21892. "countryid": {
  21893. "description": "国家",
  21894. "type": "integer"
  21895. },
  21896. "createtime": {
  21897. "description": "创建时间",
  21898. "type": "string"
  21899. },
  21900. "creatorid": {
  21901. "description": "创建人",
  21902. "type": "integer"
  21903. },
  21904. "customername": {
  21905. "description": "客户名称(企业名称)",
  21906. "type": "string"
  21907. },
  21908. "districtid": {
  21909. "description": "地区",
  21910. "type": "integer"
  21911. },
  21912. "email": {
  21913. "description": "邮件(加密存储)",
  21914. "type": "string"
  21915. },
  21916. "fax": {
  21917. "description": "传真(加密存储)",
  21918. "type": "string"
  21919. },
  21920. "halfbodyphotourl": {
  21921. "description": "半身照地址",
  21922. "type": "string"
  21923. },
  21924. "hasencrypt": {
  21925. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21926. "type": "integer"
  21927. },
  21928. "headurl": {
  21929. "description": "头像地址",
  21930. "type": "string"
  21931. },
  21932. "legalcardbackphotourl": {
  21933. "description": "法人身份证背面照地址",
  21934. "type": "string"
  21935. },
  21936. "legalcardfrontphotourl": {
  21937. "description": "法人身份证正面照地址",
  21938. "type": "string"
  21939. },
  21940. "legalpersonname": {
  21941. "description": "法人姓名(企业)",
  21942. "type": "string"
  21943. },
  21944. "mobile": {
  21945. "description": "手机号码(加密存储)",
  21946. "type": "string"
  21947. },
  21948. "mobile2": {
  21949. "description": "手机号码[明文-尚志]",
  21950. "type": "string"
  21951. },
  21952. "modifierid": {
  21953. "description": "修改人",
  21954. "type": "integer"
  21955. },
  21956. "modifiertime": {
  21957. "description": "修改时间",
  21958. "type": "string"
  21959. },
  21960. "needinvoice": {
  21961. "description": "是否需要发票 - 0:不需要 1:需要",
  21962. "type": "integer"
  21963. },
  21964. "nickname": {
  21965. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21966. "type": "string"
  21967. },
  21968. "openmode": {
  21969. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21970. "type": "integer"
  21971. },
  21972. "otherurl": {
  21973. "description": "其它图片地址[使用分号分隔]",
  21974. "type": "string"
  21975. },
  21976. "postalcode": {
  21977. "description": "邮政编码",
  21978. "type": "string"
  21979. },
  21980. "provinceid": {
  21981. "description": "省",
  21982. "type": "integer"
  21983. },
  21984. "qq": {
  21985. "description": "QQ(加密存储",
  21986. "type": "string"
  21987. },
  21988. "remark": {
  21989. "description": "备注",
  21990. "type": "string"
  21991. },
  21992. "sex": {
  21993. "description": "用户性别 0: 女 1: 男",
  21994. "type": "integer"
  21995. },
  21996. "signpdfurl": {
  21997. "description": "签约pdf文件",
  21998. "type": "string"
  21999. },
  22000. "telphone": {
  22001. "description": "联系电话(加密存储)",
  22002. "type": "string"
  22003. },
  22004. "userid": {
  22005. "description": "用户ID",
  22006. "type": "integer"
  22007. },
  22008. "userinfotype": {
  22009. "description": "用户信息类型 - 1:个人 2:企业",
  22010. "type": "integer"
  22011. },
  22012. "userstatus": {
  22013. "description": "用户状态 - 1:正常 2:注销",
  22014. "type": "integer"
  22015. },
  22016. "usertype": {
  22017. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22018. "type": "integer"
  22019. },
  22020. "wechat": {
  22021. "description": "微信(加密存储)",
  22022. "type": "string"
  22023. },
  22024. "wskhinfo": {
  22025. "description": "开户申请信息(JSON)",
  22026. "type": "string"
  22027. }
  22028. }
  22029. },
  22030. "models.WRSConverTDetail": {
  22031. "type": "object",
  22032. "properties": {
  22033. "convertratio": {
  22034. "description": "套保系数",
  22035. "type": "number"
  22036. },
  22037. "deliverygoodscode": {
  22038. "description": "现货商品代码",
  22039. "type": "string"
  22040. },
  22041. "deliverygoodsid": {
  22042. "description": "现货品种ID",
  22043. "type": "integer"
  22044. },
  22045. "deliverygoodsname": {
  22046. "description": "现货商品名称",
  22047. "type": "string"
  22048. },
  22049. "enumdicname": {
  22050. "description": "单位名称",
  22051. "type": "string"
  22052. },
  22053. "goodsunitid": {
  22054. "description": "套保品种单位id",
  22055. "type": "integer"
  22056. },
  22057. "middlegoodscode": {
  22058. "description": "套保品种代码",
  22059. "type": "string"
  22060. },
  22061. "middlegoodsid": {
  22062. "description": "套保品种ID",
  22063. "type": "integer"
  22064. },
  22065. "middlegoodsname": {
  22066. "description": "套保品种名称",
  22067. "type": "string"
  22068. },
  22069. "modifytime": {
  22070. "description": "修改时间",
  22071. "type": "string"
  22072. },
  22073. "wrstandardid": {
  22074. "description": "品类ID",
  22075. "type": "integer"
  22076. }
  22077. }
  22078. },
  22079. "models.WRStandardInfo": {
  22080. "type": "object",
  22081. "required": [
  22082. "wrstandardid"
  22083. ],
  22084. "properties": {
  22085. "areauserid": {
  22086. "description": "所属机构",
  22087. "type": "integer"
  22088. },
  22089. "convertfactor": {
  22090. "description": "标仓系数",
  22091. "type": "number"
  22092. },
  22093. "createtime": {
  22094. "description": "创建时间",
  22095. "type": "string"
  22096. },
  22097. "creatorid": {
  22098. "description": "创建人",
  22099. "type": "integer"
  22100. },
  22101. "deliverygoodsid": {
  22102. "description": "品种ID",
  22103. "type": "integer"
  22104. },
  22105. "deliverygoodsname": {
  22106. "description": "交割商品名称",
  22107. "type": "string"
  22108. },
  22109. "factoryitemjson": {
  22110. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22111. "type": "string"
  22112. },
  22113. "isvalid": {
  22114. "description": "是否有效 - 0:无效 1:有效",
  22115. "type": "integer"
  22116. },
  22117. "minivalue": {
  22118. "description": "最小变动值",
  22119. "type": "integer"
  22120. },
  22121. "minivaluedp": {
  22122. "description": "最小变动值小数位",
  22123. "type": "integer"
  22124. },
  22125. "realminivalue": {
  22126. "description": "实际最小变动值",
  22127. "type": "integer"
  22128. },
  22129. "realminivaluedp": {
  22130. "description": "实际最小变动值小数位",
  22131. "type": "integer"
  22132. },
  22133. "remark": {
  22134. "description": "备注",
  22135. "type": "string"
  22136. },
  22137. "unitid": {
  22138. "description": "单位ID",
  22139. "type": "integer"
  22140. },
  22141. "unitname": {
  22142. "description": "单位",
  22143. "type": "string"
  22144. },
  22145. "updatetime": {
  22146. "description": "更新时间",
  22147. "type": "string"
  22148. },
  22149. "updatorid": {
  22150. "description": "更新人",
  22151. "type": "integer"
  22152. },
  22153. "wrsstatus": {
  22154. "description": "状态 - 作废 - 0:未激活 1:正常",
  22155. "type": "integer"
  22156. },
  22157. "wrstandardcode": {
  22158. "description": "现货品类代码",
  22159. "type": "string"
  22160. },
  22161. "wrstandardid": {
  22162. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22163. "type": "integer"
  22164. },
  22165. "wrstandardname": {
  22166. "description": "现货品类名称",
  22167. "type": "string"
  22168. }
  22169. }
  22170. },
  22171. "models.Warehouseinfo": {
  22172. "type": "object",
  22173. "required": [
  22174. "autoid",
  22175. "warehousecode"
  22176. ],
  22177. "properties": {
  22178. "address": {
  22179. "description": "详细地址",
  22180. "type": "string"
  22181. },
  22182. "areauserid": {
  22183. "description": "所属机构",
  22184. "type": "integer"
  22185. },
  22186. "autoid": {
  22187. "description": "自增ID",
  22188. "type": "integer"
  22189. },
  22190. "cityid": {
  22191. "description": "市",
  22192. "type": "integer"
  22193. },
  22194. "contactname": {
  22195. "description": "联系人",
  22196. "type": "string"
  22197. },
  22198. "contactnum": {
  22199. "description": "联系电话",
  22200. "type": "string"
  22201. },
  22202. "countryid": {
  22203. "description": "国家",
  22204. "type": "integer"
  22205. },
  22206. "createtime": {
  22207. "description": "创建时间",
  22208. "type": "string"
  22209. },
  22210. "districtid": {
  22211. "description": "区",
  22212. "type": "integer"
  22213. },
  22214. "hasvideo": {
  22215. "description": "是否有视频 - 0:无 1:有",
  22216. "type": "integer"
  22217. },
  22218. "provinceid": {
  22219. "description": "省",
  22220. "type": "integer"
  22221. },
  22222. "remark": {
  22223. "description": "审核备注",
  22224. "type": "string"
  22225. },
  22226. "videourl": {
  22227. "description": "视频地址",
  22228. "type": "string"
  22229. },
  22230. "warehousecode": {
  22231. "description": "仓库代码",
  22232. "type": "string"
  22233. },
  22234. "warehousename": {
  22235. "description": "仓库名称",
  22236. "type": "string"
  22237. },
  22238. "warehousestatus": {
  22239. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22240. "type": "integer"
  22241. },
  22242. "warehousetype": {
  22243. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22244. "type": "integer"
  22245. }
  22246. }
  22247. },
  22248. "order.QueryHisTradeDetailRsp": {
  22249. "type": "object",
  22250. "required": [
  22251. "accountid",
  22252. "buyorsell",
  22253. "goodsid",
  22254. "histradedate",
  22255. "marketid",
  22256. "memberuserid",
  22257. "orderid",
  22258. "tradeamount",
  22259. "tradedate",
  22260. "tradeid",
  22261. "tradeprice",
  22262. "tradeqty",
  22263. "tradetime"
  22264. ],
  22265. "properties": {
  22266. "accountid": {
  22267. "description": "账户ID[报价币种]",
  22268. "type": "integer"
  22269. },
  22270. "buildtype": {
  22271. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22272. "type": "integer"
  22273. },
  22274. "buyorsell": {
  22275. "description": "方向 - 0:买 1:卖",
  22276. "type": "integer"
  22277. },
  22278. "charge": {
  22279. "description": "手续费",
  22280. "type": "number"
  22281. },
  22282. "closecharge": {
  22283. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22284. "type": "number"
  22285. },
  22286. "closeexchagechargevalue": {
  22287. "description": "平仓交易所手续费设置值",
  22288. "type": "number"
  22289. },
  22290. "closefeealgorithm": {
  22291. "description": "平仓手续费收取方式 1:比率 2:固定",
  22292. "type": "integer"
  22293. },
  22294. "closememberchargevalue": {
  22295. "description": "平仓会员手续费设置值",
  22296. "type": "number"
  22297. },
  22298. "closepl": {
  22299. "description": "平仓盈亏",
  22300. "type": "number"
  22301. },
  22302. "closepl2": {
  22303. "description": "平仓盈亏[逐笔]",
  22304. "type": "number"
  22305. },
  22306. "closeqty": {
  22307. "description": "平仓数量(先建后平操作 需要记录)",
  22308. "type": "integer"
  22309. },
  22310. "creditamount": {
  22311. "description": "授信金额",
  22312. "type": "number"
  22313. },
  22314. "gcaccountid": {
  22315. "description": "账户ID[合约币种]",
  22316. "type": "integer"
  22317. },
  22318. "goodscode": {
  22319. "description": "商品代码",
  22320. "type": "string"
  22321. },
  22322. "goodsid": {
  22323. "description": "商品ID",
  22324. "type": "integer"
  22325. },
  22326. "goodsname": {
  22327. "description": "商品名称",
  22328. "type": "string"
  22329. },
  22330. "histradedate": {
  22331. "description": "历史交易日",
  22332. "type": "string"
  22333. },
  22334. "intclosepl": {
  22335. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22336. "type": "integer"
  22337. },
  22338. "isconfirmexercise": {
  22339. "description": "是否确认行权- 0:否 1:是",
  22340. "type": "integer"
  22341. },
  22342. "ismain": {
  22343. "description": "是否主单 - 0:不是 1:是",
  22344. "type": "integer"
  22345. },
  22346. "ispreexercise": {
  22347. "description": "是否预申报- 0:否 1:是",
  22348. "type": "integer"
  22349. },
  22350. "isreckoned": {
  22351. "description": "是否结算 - 0:未结算 1:已结算",
  22352. "type": "integer"
  22353. },
  22354. "isvaliddata": {
  22355. "description": "是否有效 - 0:无效 1:有效",
  22356. "type": "integer"
  22357. },
  22358. "listingselecttype": {
  22359. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22360. "type": "integer"
  22361. },
  22362. "marketid": {
  22363. "description": "市场ID",
  22364. "type": "integer"
  22365. },
  22366. "marketname": {
  22367. "description": "市场名称",
  22368. "type": "string"
  22369. },
  22370. "matchaccountid": {
  22371. "description": "对手账号id",
  22372. "type": "integer"
  22373. },
  22374. "memberuserid": {
  22375. "description": "会员id 个人投资者 需要填写",
  22376. "type": "integer"
  22377. },
  22378. "opencharge": {
  22379. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22380. "type": "number"
  22381. },
  22382. "openexchagechargevalue": {
  22383. "description": "建仓交易所手续费设置值",
  22384. "type": "number"
  22385. },
  22386. "openfeealgorithm": {
  22387. "description": "建仓手续费收取方式 1:比率 2:固定",
  22388. "type": "integer"
  22389. },
  22390. "openmemberchargevalue": {
  22391. "description": "建仓会员手续费设置值",
  22392. "type": "number"
  22393. },
  22394. "openqty": {
  22395. "description": "开仓数量(先建后平操作 需要记录)",
  22396. "type": "integer"
  22397. },
  22398. "optiontype": {
  22399. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22400. "type": "integer"
  22401. },
  22402. "orderid": {
  22403. "description": "委托单号",
  22404. "type": "string"
  22405. },
  22406. "performanceplanid": {
  22407. "description": "履约计划ID[期权]",
  22408. "type": "integer"
  22409. },
  22410. "performancestatus": {
  22411. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22412. "type": "integer"
  22413. },
  22414. "preexerciseprice": {
  22415. "description": "预申报价格",
  22416. "type": "number"
  22417. },
  22418. "premium": {
  22419. "description": "权利金 - [持仓单的权利金]",
  22420. "type": "number"
  22421. },
  22422. "relatedouttradeid": {
  22423. "description": "关联外部成交单ID",
  22424. "type": "integer"
  22425. },
  22426. "status": {
  22427. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22428. "type": "integer"
  22429. },
  22430. "tradeamount": {
  22431. "description": "成交金额[账户币种,用于所有权]",
  22432. "type": "number"
  22433. },
  22434. "tradedate": {
  22435. "description": "交易日(yyyyMMdd)",
  22436. "type": "string"
  22437. },
  22438. "tradeid": {
  22439. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22440. "type": "string"
  22441. },
  22442. "trademode": {
  22443. "description": "交易模式",
  22444. "type": "integer"
  22445. },
  22446. "tradeprice": {
  22447. "description": "成交价格",
  22448. "type": "number"
  22449. },
  22450. "tradeproperty": {
  22451. "description": "交易属性",
  22452. "type": "integer"
  22453. },
  22454. "tradeqty": {
  22455. "description": "成交数量",
  22456. "type": "integer"
  22457. },
  22458. "tradetime": {
  22459. "description": "成交时间",
  22460. "type": "string"
  22461. },
  22462. "tradetype": {
  22463. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22464. "type": "integer"
  22465. }
  22466. }
  22467. },
  22468. "order.QueryHisTradeOrderDetailRsp": {
  22469. "type": "object",
  22470. "required": [
  22471. "accountid",
  22472. "buildtype",
  22473. "buyorsell",
  22474. "goodsid",
  22475. "histradedate",
  22476. "marketid",
  22477. "memberuserid",
  22478. "operatetype",
  22479. "orderid",
  22480. "orderqty",
  22481. "ordertime",
  22482. "pricemode",
  22483. "tradedate",
  22484. "validtype"
  22485. ],
  22486. "properties": {
  22487. "accountid": {
  22488. "description": "账户ID[报价币种]",
  22489. "type": "integer"
  22490. },
  22491. "buildtype": {
  22492. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22493. "type": "integer"
  22494. },
  22495. "buyorsell": {
  22496. "description": "买卖 - 0:买 1:卖",
  22497. "type": "integer"
  22498. },
  22499. "cancelorderid": {
  22500. "description": "撤单单号(撤单时填写)",
  22501. "type": "string"
  22502. },
  22503. "cancelqty": {
  22504. "description": "撤单数量",
  22505. "type": "integer"
  22506. },
  22507. "clientordertime": {
  22508. "description": "客户端委托时间",
  22509. "type": "string"
  22510. },
  22511. "clientticket": {
  22512. "description": "客户端流水号",
  22513. "type": "string"
  22514. },
  22515. "clienttype": {
  22516. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22517. "type": "integer"
  22518. },
  22519. "closeexchagechargevalue": {
  22520. "description": "平仓交易所手续费设置值",
  22521. "type": "number"
  22522. },
  22523. "closefeealgorithm": {
  22524. "description": "平仓手续费收取方式 1:比率 2:固定",
  22525. "type": "integer"
  22526. },
  22527. "closefreezecharge": {
  22528. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22529. "type": "number"
  22530. },
  22531. "closememberchargevalue": {
  22532. "description": "平仓会员手续费设置值",
  22533. "type": "number"
  22534. },
  22535. "closeqty": {
  22536. "description": "平仓数量(先建后平操作 需要记录)",
  22537. "type": "integer"
  22538. },
  22539. "closetradeqty": {
  22540. "description": "平仓成交数量(先建后平操作,需要记录)",
  22541. "type": "integer"
  22542. },
  22543. "closeunfreezecharge": {
  22544. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22545. "type": "number"
  22546. },
  22547. "delistingtype": {
  22548. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22549. "type": "integer"
  22550. },
  22551. "freezecharge": {
  22552. "description": "冻结手续费",
  22553. "type": "number"
  22554. },
  22555. "freezemargin": {
  22556. "description": "冻结保证金(冻结交易金额)",
  22557. "type": "number"
  22558. },
  22559. "gcaccountid": {
  22560. "description": "账户ID[合约币种]",
  22561. "type": "integer"
  22562. },
  22563. "goodscode": {
  22564. "description": "商品代码",
  22565. "type": "string"
  22566. },
  22567. "goodsid": {
  22568. "description": "商品ID",
  22569. "type": "integer"
  22570. },
  22571. "goodsname": {
  22572. "description": "商品名称",
  22573. "type": "string"
  22574. },
  22575. "histradedate": {
  22576. "description": "历史交易日",
  22577. "type": "string"
  22578. },
  22579. "isconfirmexercise": {
  22580. "description": "是否确认行权- 0:否 1:是",
  22581. "type": "integer"
  22582. },
  22583. "ispreexercise": {
  22584. "description": "是否预申报- 0:否 1:是",
  22585. "type": "integer"
  22586. },
  22587. "isvaliddata": {
  22588. "description": "是否有效 - 0:无效 1:有效",
  22589. "type": "integer"
  22590. },
  22591. "listingselecttype": {
  22592. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22593. "type": "integer"
  22594. },
  22595. "marginalgorithm": {
  22596. "description": "保证金收取方式 1:比率 2:固定",
  22597. "type": "integer"
  22598. },
  22599. "marginvalue": {
  22600. "description": "即市保证金设置值",
  22601. "type": "number"
  22602. },
  22603. "marketid": {
  22604. "description": "市场ID",
  22605. "type": "integer"
  22606. },
  22607. "marketmaxsub": {
  22608. "description": "市价最大偏移范围",
  22609. "type": "number"
  22610. },
  22611. "marketname": {
  22612. "description": "市场名称",
  22613. "type": "string"
  22614. },
  22615. "memberuserid": {
  22616. "description": "所属会员UserID",
  22617. "type": "integer"
  22618. },
  22619. "openexchagechargevalue": {
  22620. "description": "建仓交易所手续费设置值",
  22621. "type": "number"
  22622. },
  22623. "openfeealgorithm": {
  22624. "description": "建仓手续费收取方式 1:比率 2:固定",
  22625. "type": "integer"
  22626. },
  22627. "openfreezecharge": {
  22628. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22629. "type": "number"
  22630. },
  22631. "openmemberchargevalue": {
  22632. "description": "建仓会员手续费设置值",
  22633. "type": "number"
  22634. },
  22635. "openqty": {
  22636. "description": "开仓数量(先建后平操作,需要记录)",
  22637. "type": "integer"
  22638. },
  22639. "opentradeqty": {
  22640. "description": "开仓成交数量(先建后平操作,需要记录)",
  22641. "type": "integer"
  22642. },
  22643. "openunfreezecharge": {
  22644. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22645. "type": "number"
  22646. },
  22647. "operatetype": {
  22648. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22649. "type": "integer"
  22650. },
  22651. "operatorid": {
  22652. "description": "登录账号(LoginID)",
  22653. "type": "integer"
  22654. },
  22655. "optiontype": {
  22656. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22657. "type": "integer"
  22658. },
  22659. "orderid": {
  22660. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22661. "type": "string"
  22662. },
  22663. "orderprice": {
  22664. "description": "委托价格",
  22665. "type": "number"
  22666. },
  22667. "orderqty": {
  22668. "description": "委托数量",
  22669. "type": "integer"
  22670. },
  22671. "ordersrc": {
  22672. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22673. "type": "integer"
  22674. },
  22675. "orderstatus": {
  22676. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22677. "type": "integer"
  22678. },
  22679. "ordertime": {
  22680. "description": "委托时间",
  22681. "type": "string"
  22682. },
  22683. "preexerciseprice": {
  22684. "description": "预申报价格",
  22685. "type": "number"
  22686. },
  22687. "premium": {
  22688. "description": "权利金",
  22689. "type": "number"
  22690. },
  22691. "preorderid": {
  22692. "description": "关联预埋单号(止盈止损单时填写)",
  22693. "type": "string"
  22694. },
  22695. "pricemode": {
  22696. "description": "取价方式 - 1:市价 2: 限价",
  22697. "type": "integer"
  22698. },
  22699. "quoteid": {
  22700. "description": "报价单ID",
  22701. "type": "integer"
  22702. },
  22703. "relatedid": {
  22704. "description": "关联单号(交割单)",
  22705. "type": "string"
  22706. },
  22707. "retcode": {
  22708. "description": "错误代码",
  22709. "type": "integer"
  22710. },
  22711. "sessionid": {
  22712. "description": "会话ID",
  22713. "type": "integer"
  22714. },
  22715. "tradedate": {
  22716. "description": "交易日(yyyyMMdd)",
  22717. "type": "string"
  22718. },
  22719. "trademode": {
  22720. "description": "交易模式",
  22721. "type": "integer"
  22722. },
  22723. "tradeproperty": {
  22724. "description": "交易属性",
  22725. "type": "integer"
  22726. },
  22727. "tradeqty": {
  22728. "description": "成交数量",
  22729. "type": "integer"
  22730. },
  22731. "unfreezecharge": {
  22732. "description": "解冻手续费",
  22733. "type": "number"
  22734. },
  22735. "unfreezemargin": {
  22736. "description": "解冻保证金",
  22737. "type": "number"
  22738. },
  22739. "updatetime": {
  22740. "description": "更新时间",
  22741. "type": "string"
  22742. },
  22743. "uuid": {
  22744. "description": "发起端唯一id",
  22745. "type": "string"
  22746. },
  22747. "validtime": {
  22748. "description": "有效期限",
  22749. "type": "string"
  22750. },
  22751. "validtype": {
  22752. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22753. "type": "integer"
  22754. },
  22755. "volumetype": {
  22756. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22757. "type": "integer"
  22758. }
  22759. }
  22760. },
  22761. "order.QueryTradeDetailRsp": {
  22762. "type": "object",
  22763. "required": [
  22764. "accountid",
  22765. "buyorsell",
  22766. "goodsid",
  22767. "marketid",
  22768. "memberuserid",
  22769. "orderid",
  22770. "tradeamount",
  22771. "tradedate",
  22772. "tradeid",
  22773. "tradeprice",
  22774. "tradeqty",
  22775. "tradetime"
  22776. ],
  22777. "properties": {
  22778. "accountid": {
  22779. "description": "账户ID[报价币种]",
  22780. "type": "integer"
  22781. },
  22782. "buildtype": {
  22783. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22784. "type": "integer"
  22785. },
  22786. "buyorsell": {
  22787. "description": "方向 - 0:买 1:卖",
  22788. "type": "integer"
  22789. },
  22790. "charge": {
  22791. "description": "手续费",
  22792. "type": "number"
  22793. },
  22794. "closecharge": {
  22795. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22796. "type": "number"
  22797. },
  22798. "closeexchagechargevalue": {
  22799. "description": "平仓交易所手续费设置值",
  22800. "type": "number"
  22801. },
  22802. "closefeealgorithm": {
  22803. "description": "平仓手续费收取方式 1:比率 2:固定",
  22804. "type": "integer"
  22805. },
  22806. "closememberchargevalue": {
  22807. "description": "平仓会员手续费设置值",
  22808. "type": "number"
  22809. },
  22810. "closepl": {
  22811. "description": "平仓盈亏",
  22812. "type": "number"
  22813. },
  22814. "closepl2": {
  22815. "description": "平仓盈亏[逐笔]",
  22816. "type": "number"
  22817. },
  22818. "closeqty": {
  22819. "description": "平仓数量(先建后平操作 需要记录)",
  22820. "type": "integer"
  22821. },
  22822. "creditamount": {
  22823. "description": "授信金额",
  22824. "type": "number"
  22825. },
  22826. "gcaccountid": {
  22827. "description": "账户ID[合约币种]",
  22828. "type": "integer"
  22829. },
  22830. "goodscode": {
  22831. "description": "商品代码",
  22832. "type": "string"
  22833. },
  22834. "goodsid": {
  22835. "description": "商品ID",
  22836. "type": "integer"
  22837. },
  22838. "goodsname": {
  22839. "description": "商品名称",
  22840. "type": "string"
  22841. },
  22842. "intclosepl": {
  22843. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22844. "type": "integer"
  22845. },
  22846. "isconfirmexercise": {
  22847. "description": "是否确认行权- 0:否 1:是",
  22848. "type": "integer"
  22849. },
  22850. "ismain": {
  22851. "description": "是否主单 - 0:不是 1:是",
  22852. "type": "integer"
  22853. },
  22854. "ispreexercise": {
  22855. "description": "是否预申报- 0:否 1:是",
  22856. "type": "integer"
  22857. },
  22858. "isreckoned": {
  22859. "description": "是否结算 - 0:未结算 1:已结算",
  22860. "type": "integer"
  22861. },
  22862. "listingselecttype": {
  22863. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22864. "type": "integer"
  22865. },
  22866. "marketid": {
  22867. "description": "市场ID",
  22868. "type": "integer"
  22869. },
  22870. "marketname": {
  22871. "description": "市场名称",
  22872. "type": "string"
  22873. },
  22874. "matchaccountid": {
  22875. "description": "对手账号id",
  22876. "type": "integer"
  22877. },
  22878. "memberuserid": {
  22879. "description": "会员id 个人投资者 需要填写",
  22880. "type": "integer"
  22881. },
  22882. "opencharge": {
  22883. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22884. "type": "number"
  22885. },
  22886. "openexchagechargevalue": {
  22887. "description": "建仓交易所手续费设置值",
  22888. "type": "number"
  22889. },
  22890. "openfeealgorithm": {
  22891. "description": "建仓手续费收取方式 1:比率 2:固定",
  22892. "type": "integer"
  22893. },
  22894. "openmemberchargevalue": {
  22895. "description": "建仓会员手续费设置值",
  22896. "type": "number"
  22897. },
  22898. "openqty": {
  22899. "description": "开仓数量(先建后平操作 需要记录)",
  22900. "type": "integer"
  22901. },
  22902. "optiontype": {
  22903. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22904. "type": "integer"
  22905. },
  22906. "orderid": {
  22907. "description": "委托单号",
  22908. "type": "string"
  22909. },
  22910. "performanceplanid": {
  22911. "description": "履约计划ID[期权]",
  22912. "type": "integer"
  22913. },
  22914. "performancestatus": {
  22915. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22916. "type": "integer"
  22917. },
  22918. "preexerciseprice": {
  22919. "description": "预申报价格",
  22920. "type": "number"
  22921. },
  22922. "premium": {
  22923. "description": "权利金 - [持仓单的权利金]",
  22924. "type": "number"
  22925. },
  22926. "relatedouttradeid": {
  22927. "description": "关联外部成交单ID",
  22928. "type": "integer"
  22929. },
  22930. "status": {
  22931. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22932. "type": "integer"
  22933. },
  22934. "tradeamount": {
  22935. "description": "成交金额[账户币种,用于所有权]",
  22936. "type": "number"
  22937. },
  22938. "tradedate": {
  22939. "description": "交易日(yyyyMMdd)",
  22940. "type": "string"
  22941. },
  22942. "tradeid": {
  22943. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22944. "type": "string"
  22945. },
  22946. "trademode": {
  22947. "description": "交易模式",
  22948. "type": "integer"
  22949. },
  22950. "tradeprice": {
  22951. "description": "成交价格",
  22952. "type": "number"
  22953. },
  22954. "tradeproperty": {
  22955. "description": "交易属性",
  22956. "type": "integer"
  22957. },
  22958. "tradeqty": {
  22959. "description": "成交数量",
  22960. "type": "integer"
  22961. },
  22962. "tradetime": {
  22963. "description": "成交时间",
  22964. "type": "string"
  22965. },
  22966. "tradetype": {
  22967. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22968. "type": "integer"
  22969. }
  22970. }
  22971. },
  22972. "order.QueryTradeOrderDetailRsp": {
  22973. "type": "object",
  22974. "required": [
  22975. "accountid",
  22976. "buildtype",
  22977. "buyorsell",
  22978. "goodsid",
  22979. "marketid",
  22980. "operatetype",
  22981. "orderqty",
  22982. "ordertime",
  22983. "pricemode",
  22984. "tradedate",
  22985. "validtype"
  22986. ],
  22987. "properties": {
  22988. "accountid": {
  22989. "description": "账户ID[报价币种]",
  22990. "type": "integer"
  22991. },
  22992. "buildtype": {
  22993. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22994. "type": "integer"
  22995. },
  22996. "buyorsell": {
  22997. "description": "买卖 - 0:买 1:卖",
  22998. "type": "integer"
  22999. },
  23000. "cancelorderid": {
  23001. "description": "撤单单号(撤单时填写)",
  23002. "type": "string"
  23003. },
  23004. "cancelqty": {
  23005. "description": "撤单数量",
  23006. "type": "integer"
  23007. },
  23008. "clienttype": {
  23009. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23010. "type": "integer"
  23011. },
  23012. "closefreezecharge": {
  23013. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23014. "type": "number"
  23015. },
  23016. "closeqty": {
  23017. "description": "平仓数量(先建后平操作 需要记录)",
  23018. "type": "integer"
  23019. },
  23020. "closetradeqty": {
  23021. "description": "平仓成交数量(先建后平操作,需要记录)",
  23022. "type": "integer"
  23023. },
  23024. "closeunfreezecharge": {
  23025. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23026. "type": "number"
  23027. },
  23028. "delistingtype": {
  23029. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23030. "type": "integer"
  23031. },
  23032. "enableqty": {
  23033. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23034. "type": "integer"
  23035. },
  23036. "freezecharge": {
  23037. "description": "冻结手续费",
  23038. "type": "number"
  23039. },
  23040. "freezemargin": {
  23041. "description": "冻结保证金(冻结交易金额)",
  23042. "type": "number"
  23043. },
  23044. "goodscode": {
  23045. "description": "商品代码",
  23046. "type": "string"
  23047. },
  23048. "goodsid": {
  23049. "description": "商品ID",
  23050. "type": "integer"
  23051. },
  23052. "goodsname": {
  23053. "description": "商品名称",
  23054. "type": "string"
  23055. },
  23056. "listingselecttype": {
  23057. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23058. "type": "integer"
  23059. },
  23060. "marketid": {
  23061. "description": "市场ID",
  23062. "type": "integer"
  23063. },
  23064. "marketname": {
  23065. "description": "市场名称",
  23066. "type": "string"
  23067. },
  23068. "openfreezecharge": {
  23069. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23070. "type": "number"
  23071. },
  23072. "openqty": {
  23073. "description": "开仓数量(先建后平操作,需要记录)",
  23074. "type": "integer"
  23075. },
  23076. "opentradeqty": {
  23077. "description": "开仓成交数量(先建后平操作,需要记录)",
  23078. "type": "integer"
  23079. },
  23080. "openunfreezecharge": {
  23081. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23082. "type": "number"
  23083. },
  23084. "operatetype": {
  23085. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23086. "type": "integer"
  23087. },
  23088. "operatorid": {
  23089. "description": "登录账号(LoginID)",
  23090. "type": "integer"
  23091. },
  23092. "orderid": {
  23093. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23094. "type": "string"
  23095. },
  23096. "orderprice": {
  23097. "description": "委托价格",
  23098. "type": "number"
  23099. },
  23100. "orderqty": {
  23101. "description": "委托数量",
  23102. "type": "integer"
  23103. },
  23104. "ordersrc": {
  23105. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23106. "type": "integer"
  23107. },
  23108. "orderstatus": {
  23109. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23110. "type": "integer"
  23111. },
  23112. "ordertime": {
  23113. "description": "委托时间",
  23114. "type": "string"
  23115. },
  23116. "preorderid": {
  23117. "description": "关联预埋单号(止盈止损单时填写)",
  23118. "type": "string"
  23119. },
  23120. "pricemode": {
  23121. "description": "取价方式 - 1:市价 2: 限价",
  23122. "type": "integer"
  23123. },
  23124. "relatedid": {
  23125. "description": "关联单号(交割单)",
  23126. "type": "string"
  23127. },
  23128. "tradedate": {
  23129. "description": "交易日(yyyyMMdd)",
  23130. "type": "string"
  23131. },
  23132. "trademode": {
  23133. "description": "交易模式",
  23134. "type": "integer"
  23135. },
  23136. "tradeqty": {
  23137. "description": "成交数量",
  23138. "type": "integer"
  23139. },
  23140. "unfreezecharge": {
  23141. "description": "解冻手续费",
  23142. "type": "number"
  23143. },
  23144. "unfreezemargin": {
  23145. "description": "解冻保证金",
  23146. "type": "number"
  23147. },
  23148. "validtime": {
  23149. "description": "有效期限",
  23150. "type": "string"
  23151. },
  23152. "validtype": {
  23153. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23154. "type": "integer"
  23155. },
  23156. "volumetype": {
  23157. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23158. "type": "integer"
  23159. }
  23160. }
  23161. },
  23162. "order.QueryTradePositionRsp": {
  23163. "type": "object",
  23164. "required": [
  23165. "goodsid"
  23166. ],
  23167. "properties": {
  23168. "accountid": {
  23169. "description": "资金账户",
  23170. "type": "integer"
  23171. },
  23172. "agreeunit": {
  23173. "description": "合约单位",
  23174. "type": "number"
  23175. },
  23176. "averageprice": {
  23177. "description": "持仓均价",
  23178. "type": "number"
  23179. },
  23180. "buyorsell": {
  23181. "description": "方向 - 0:买 1:卖",
  23182. "type": "integer"
  23183. },
  23184. "closetotalqty": {
  23185. "description": "平仓总数量",
  23186. "type": "integer"
  23187. },
  23188. "curholderamount": {
  23189. "description": "当前持仓总金额[商品币种]",
  23190. "type": "number"
  23191. },
  23192. "curpositionqty": {
  23193. "description": "当前持仓总数量",
  23194. "type": "integer"
  23195. },
  23196. "currencyid": {
  23197. "description": "报价货币ID",
  23198. "type": "integer"
  23199. },
  23200. "curtdposition": {
  23201. "description": "期末今日头寸",
  23202. "type": "integer"
  23203. },
  23204. "decimalplace": {
  23205. "description": "报价小数位",
  23206. "type": "integer"
  23207. },
  23208. "enableqty": {
  23209. "description": "可用量",
  23210. "type": "integer"
  23211. },
  23212. "fretdposition": {
  23213. "description": "冻结今日头寸",
  23214. "type": "integer"
  23215. },
  23216. "frozenqty": {
  23217. "description": "持仓冻结数量",
  23218. "type": "integer"
  23219. },
  23220. "goodscode": {
  23221. "description": "商品代码",
  23222. "type": "string"
  23223. },
  23224. "goodsid": {
  23225. "description": "商品Id",
  23226. "type": "integer"
  23227. },
  23228. "goodsname": {
  23229. "description": "商品名称",
  23230. "type": "string"
  23231. },
  23232. "goodunit": {
  23233. "description": "报价单位",
  23234. "type": "string"
  23235. },
  23236. "goodunitid": {
  23237. "description": "报价单位ID",
  23238. "type": "integer"
  23239. },
  23240. "holderamount": {
  23241. "description": "期初持仓总金额[商品币种]",
  23242. "type": "number"
  23243. },
  23244. "marketid": {
  23245. "description": "所属市场ID",
  23246. "type": "integer"
  23247. },
  23248. "openreqqty": {
  23249. "description": "开仓申请数量(用于比较最大持仓数量)",
  23250. "type": "integer"
  23251. },
  23252. "opentotalqty": {
  23253. "description": "开仓总数量",
  23254. "type": "integer"
  23255. },
  23256. "otherfrozenqty": {
  23257. "description": "持仓其他冻结数量(交割冻结)",
  23258. "type": "integer"
  23259. },
  23260. "positionqty": {
  23261. "description": "期初持仓数量",
  23262. "type": "integer"
  23263. },
  23264. "tnqty": {
  23265. "description": "T+N冻结总量",
  23266. "type": "integer"
  23267. },
  23268. "tnusedqty": {
  23269. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23270. "type": "integer"
  23271. },
  23272. "trademode": {
  23273. "description": "交易模式",
  23274. "type": "integer"
  23275. },
  23276. "usedmargin": {
  23277. "description": "占用保证金[商品币种]",
  23278. "type": "number"
  23279. }
  23280. }
  23281. },
  23282. "quote.HistoryData": {
  23283. "type": "object",
  23284. "properties": {
  23285. "c": {
  23286. "description": "收盘价",
  23287. "type": "number"
  23288. },
  23289. "f": {
  23290. "description": "是否补充数据",
  23291. "type": "boolean"
  23292. },
  23293. "h": {
  23294. "description": "最高价",
  23295. "type": "number"
  23296. },
  23297. "hv": {
  23298. "description": "持仓量",
  23299. "type": "integer"
  23300. },
  23301. "l": {
  23302. "description": "最低价",
  23303. "type": "number"
  23304. },
  23305. "o": {
  23306. "description": "开盘价",
  23307. "type": "number"
  23308. },
  23309. "s": {
  23310. "description": "结算价,日线周期(包括)以上才有",
  23311. "type": "number"
  23312. },
  23313. "ts": {
  23314. "description": "时间",
  23315. "type": "string"
  23316. },
  23317. "tt": {
  23318. "description": "总金额",
  23319. "type": "number"
  23320. },
  23321. "tv": {
  23322. "description": "总量",
  23323. "type": "integer"
  23324. }
  23325. }
  23326. },
  23327. "quote.HistoryTikData": {
  23328. "type": "object",
  23329. "properties": {
  23330. "AV": {
  23331. "description": "卖量",
  23332. "type": "integer"
  23333. },
  23334. "Ask": {
  23335. "description": "卖价",
  23336. "type": "number"
  23337. },
  23338. "BV": {
  23339. "description": "买量",
  23340. "type": "integer"
  23341. },
  23342. "Bid": {
  23343. "description": "买价",
  23344. "type": "number"
  23345. },
  23346. "HI": {
  23347. "description": "单笔持仓",
  23348. "type": "integer"
  23349. },
  23350. "HV": {
  23351. "description": "持仓量",
  23352. "type": "integer"
  23353. },
  23354. "PE": {
  23355. "description": "现价",
  23356. "type": "number"
  23357. },
  23358. "TDR": {
  23359. "description": "交易方向,0:买 1:卖",
  23360. "type": "integer"
  23361. },
  23362. "TK": {
  23363. "description": "交易类型",
  23364. "type": "integer"
  23365. },
  23366. "TS": {
  23367. "description": "行情时间文本",
  23368. "type": "string"
  23369. },
  23370. "TT": {
  23371. "description": "现金额",
  23372. "type": "number"
  23373. },
  23374. "Vol": {
  23375. "description": "现量",
  23376. "type": "integer"
  23377. }
  23378. }
  23379. },
  23380. "quote.QueryQuoteDayRsp": {
  23381. "type": "object",
  23382. "properties": {
  23383. "ask": {
  23384. "description": "卖1",
  23385. "type": "number"
  23386. },
  23387. "ask10": {
  23388. "description": "卖10",
  23389. "type": "number"
  23390. },
  23391. "ask2": {
  23392. "description": "卖2",
  23393. "type": "number"
  23394. },
  23395. "ask3": {
  23396. "description": "卖3",
  23397. "type": "number"
  23398. },
  23399. "ask4": {
  23400. "description": "卖4",
  23401. "type": "number"
  23402. },
  23403. "ask5": {
  23404. "description": "卖5",
  23405. "type": "number"
  23406. },
  23407. "ask6": {
  23408. "description": "卖6",
  23409. "type": "number"
  23410. },
  23411. "ask7": {
  23412. "description": "卖7",
  23413. "type": "number"
  23414. },
  23415. "ask8": {
  23416. "description": "卖8",
  23417. "type": "number"
  23418. },
  23419. "ask9": {
  23420. "description": "卖9",
  23421. "type": "number"
  23422. },
  23423. "askorderid": {
  23424. "description": "卖单号1",
  23425. "type": "integer"
  23426. },
  23427. "askorderid2": {
  23428. "description": "卖单号2",
  23429. "type": "integer"
  23430. },
  23431. "askorderid3": {
  23432. "description": "卖单号3",
  23433. "type": "integer"
  23434. },
  23435. "askorderid4": {
  23436. "description": "卖单号4",
  23437. "type": "integer"
  23438. },
  23439. "askorderid5": {
  23440. "description": "卖单号5",
  23441. "type": "integer"
  23442. },
  23443. "askordervolume": {
  23444. "description": "卖单量1",
  23445. "type": "integer"
  23446. },
  23447. "askordervolume10": {
  23448. "description": "卖单量10",
  23449. "type": "integer"
  23450. },
  23451. "askordervolume2": {
  23452. "description": "卖单量2",
  23453. "type": "integer"
  23454. },
  23455. "askordervolume3": {
  23456. "description": "卖单量3",
  23457. "type": "integer"
  23458. },
  23459. "askordervolume4": {
  23460. "description": "卖单量4",
  23461. "type": "integer"
  23462. },
  23463. "askordervolume5": {
  23464. "description": "卖单量5",
  23465. "type": "integer"
  23466. },
  23467. "askordervolume6": {
  23468. "description": "卖单量6",
  23469. "type": "integer"
  23470. },
  23471. "askordervolume7": {
  23472. "description": "卖单量7",
  23473. "type": "integer"
  23474. },
  23475. "askordervolume8": {
  23476. "description": "卖单量8",
  23477. "type": "integer"
  23478. },
  23479. "askordervolume9": {
  23480. "description": "卖单量9",
  23481. "type": "integer"
  23482. },
  23483. "askqueueinfo": {
  23484. "description": "大利市卖港股用",
  23485. "type": "string"
  23486. },
  23487. "askvolume": {
  23488. "description": "卖量1",
  23489. "type": "integer"
  23490. },
  23491. "askvolume10": {
  23492. "description": "卖量10",
  23493. "type": "integer"
  23494. },
  23495. "askvolume2": {
  23496. "description": "卖量2",
  23497. "type": "integer"
  23498. },
  23499. "askvolume3": {
  23500. "description": "卖量3",
  23501. "type": "integer"
  23502. },
  23503. "askvolume4": {
  23504. "description": "卖量4",
  23505. "type": "integer"
  23506. },
  23507. "askvolume5": {
  23508. "description": "卖量5",
  23509. "type": "integer"
  23510. },
  23511. "askvolume6": {
  23512. "description": "卖量6",
  23513. "type": "integer"
  23514. },
  23515. "askvolume7": {
  23516. "description": "卖量7",
  23517. "type": "integer"
  23518. },
  23519. "askvolume8": {
  23520. "description": "卖量8",
  23521. "type": "integer"
  23522. },
  23523. "askvolume9": {
  23524. "description": "卖量9",
  23525. "type": "integer"
  23526. },
  23527. "averageprice": {
  23528. "description": "均价",
  23529. "type": "number"
  23530. },
  23531. "bid": {
  23532. "description": "买1",
  23533. "type": "number"
  23534. },
  23535. "bid10": {
  23536. "description": "买10",
  23537. "type": "number"
  23538. },
  23539. "bid2": {
  23540. "description": "买2",
  23541. "type": "number"
  23542. },
  23543. "bid3": {
  23544. "description": "买3",
  23545. "type": "number"
  23546. },
  23547. "bid4": {
  23548. "description": "买4",
  23549. "type": "number"
  23550. },
  23551. "bid5": {
  23552. "description": "买5",
  23553. "type": "number"
  23554. },
  23555. "bid6": {
  23556. "description": "买6",
  23557. "type": "number"
  23558. },
  23559. "bid7": {
  23560. "description": "买7",
  23561. "type": "number"
  23562. },
  23563. "bid8": {
  23564. "description": "买8",
  23565. "type": "number"
  23566. },
  23567. "bid9": {
  23568. "description": "买9",
  23569. "type": "number"
  23570. },
  23571. "bidorderid": {
  23572. "description": "买单号1",
  23573. "type": "integer"
  23574. },
  23575. "bidorderid2": {
  23576. "description": "买单号2",
  23577. "type": "integer"
  23578. },
  23579. "bidorderid3": {
  23580. "description": "买单号3",
  23581. "type": "integer"
  23582. },
  23583. "bidorderid4": {
  23584. "description": "买单号4",
  23585. "type": "integer"
  23586. },
  23587. "bidorderid5": {
  23588. "description": "买单号5",
  23589. "type": "integer"
  23590. },
  23591. "bidordervolume": {
  23592. "description": "买单量1",
  23593. "type": "integer"
  23594. },
  23595. "bidordervolume10": {
  23596. "description": "买单量10",
  23597. "type": "integer"
  23598. },
  23599. "bidordervolume2": {
  23600. "description": "买单量2",
  23601. "type": "integer"
  23602. },
  23603. "bidordervolume3": {
  23604. "description": "买单量3",
  23605. "type": "integer"
  23606. },
  23607. "bidordervolume4": {
  23608. "description": "买单量4",
  23609. "type": "integer"
  23610. },
  23611. "bidordervolume5": {
  23612. "description": "买单量5",
  23613. "type": "integer"
  23614. },
  23615. "bidordervolume6": {
  23616. "description": "买单量6",
  23617. "type": "integer"
  23618. },
  23619. "bidordervolume7": {
  23620. "description": "买单量7",
  23621. "type": "integer"
  23622. },
  23623. "bidordervolume8": {
  23624. "description": "买单量8",
  23625. "type": "integer"
  23626. },
  23627. "bidordervolume9": {
  23628. "description": "买单量9",
  23629. "type": "integer"
  23630. },
  23631. "bidqueueinfo": {
  23632. "description": "大利市买港股用",
  23633. "type": "string"
  23634. },
  23635. "bidvolume": {
  23636. "description": "买量1",
  23637. "type": "integer"
  23638. },
  23639. "bidvolume10": {
  23640. "description": "买量10",
  23641. "type": "integer"
  23642. },
  23643. "bidvolume2": {
  23644. "description": "买量2",
  23645. "type": "integer"
  23646. },
  23647. "bidvolume3": {
  23648. "description": "买量3",
  23649. "type": "integer"
  23650. },
  23651. "bidvolume4": {
  23652. "description": "买量4",
  23653. "type": "integer"
  23654. },
  23655. "bidvolume5": {
  23656. "description": "买量5",
  23657. "type": "integer"
  23658. },
  23659. "bidvolume6": {
  23660. "description": "买量6",
  23661. "type": "integer"
  23662. },
  23663. "bidvolume7": {
  23664. "description": "买量7",
  23665. "type": "integer"
  23666. },
  23667. "bidvolume8": {
  23668. "description": "买量8",
  23669. "type": "integer"
  23670. },
  23671. "bidvolume9": {
  23672. "description": "买量9",
  23673. "type": "integer"
  23674. },
  23675. "calloptionpremiums": {
  23676. "description": "认购期权1",
  23677. "type": "integer"
  23678. },
  23679. "calloptionpremiums2": {
  23680. "description": "认购期权2",
  23681. "type": "integer"
  23682. },
  23683. "calloptionpremiums3": {
  23684. "description": "认购期权3",
  23685. "type": "integer"
  23686. },
  23687. "calloptionpremiums4": {
  23688. "description": "认购期权4",
  23689. "type": "integer"
  23690. },
  23691. "calloptionpremiums5": {
  23692. "description": "认购期权5",
  23693. "type": "integer"
  23694. },
  23695. "cleartime": {
  23696. "description": "清盘时间",
  23697. "type": "integer"
  23698. },
  23699. "exchangecode": {
  23700. "description": "交易所代码",
  23701. "type": "integer"
  23702. },
  23703. "exchangedate": {
  23704. "description": "交易日",
  23705. "type": "integer"
  23706. },
  23707. "goodscode": {
  23708. "description": "商品代码",
  23709. "type": "string"
  23710. },
  23711. "grepmarketprice": {
  23712. "description": "暗盘价 港股专用",
  23713. "type": "number"
  23714. },
  23715. "highest": {
  23716. "description": "最高价",
  23717. "type": "number"
  23718. },
  23719. "holdincrement": {
  23720. "description": "单笔持仓",
  23721. "type": "integer"
  23722. },
  23723. "holdvolume": {
  23724. "description": "持仓",
  23725. "type": "integer"
  23726. },
  23727. "iep": {
  23728. "description": "平衡价 港股专用",
  23729. "type": "number"
  23730. },
  23731. "iev": {
  23732. "description": "平衡量 港股专用",
  23733. "type": "number"
  23734. },
  23735. "inventory": {
  23736. "description": "库存",
  23737. "type": "integer"
  23738. },
  23739. "iscleared": {
  23740. "description": "是否清盘标志",
  23741. "type": "integer"
  23742. },
  23743. "issettled": {
  23744. "description": "是否结算标志",
  23745. "type": "integer"
  23746. },
  23747. "last": {
  23748. "description": "最新价",
  23749. "type": "number"
  23750. },
  23751. "lastlot": {
  23752. "description": "最新成交手数",
  23753. "type": "integer"
  23754. },
  23755. "lasttime": {
  23756. "description": "行情时间(只有现价变化行情时间才变化)",
  23757. "type": "string"
  23758. },
  23759. "lastturnover": {
  23760. "description": "最新成交金额",
  23761. "type": "number"
  23762. },
  23763. "lastvolume": {
  23764. "description": "最新成交量",
  23765. "type": "integer"
  23766. },
  23767. "limitdown": {
  23768. "description": "跌停价",
  23769. "type": "number"
  23770. },
  23771. "limitup": {
  23772. "description": "涨停价",
  23773. "type": "number"
  23774. },
  23775. "lowest": {
  23776. "description": "最低价",
  23777. "type": "number"
  23778. },
  23779. "nontotalholdervolume": {
  23780. "description": "非交易持仓量",
  23781. "type": "integer"
  23782. },
  23783. "nontotallot": {
  23784. "description": "非交易总手数",
  23785. "type": "integer"
  23786. },
  23787. "nontotalturnover": {
  23788. "description": "非交易总金额",
  23789. "type": "integer"
  23790. },
  23791. "nontotalvolume": {
  23792. "description": "非交易总量",
  23793. "type": "integer"
  23794. },
  23795. "opened": {
  23796. "description": "开盘价",
  23797. "type": "number"
  23798. },
  23799. "opentime": {
  23800. "description": "开盘时间",
  23801. "type": "string"
  23802. },
  23803. "orderid": {
  23804. "description": "序号",
  23805. "type": "integer"
  23806. },
  23807. "preclose": {
  23808. "description": "昨收",
  23809. "type": "number"
  23810. },
  23811. "preholdvolume": {
  23812. "description": "昨持仓",
  23813. "type": "integer"
  23814. },
  23815. "presettle": {
  23816. "description": "昨结价",
  23817. "type": "number"
  23818. },
  23819. "publictradetype": {
  23820. "description": "公共交易标志类型 港股专用",
  23821. "type": "string"
  23822. },
  23823. "putoptionpremiums": {
  23824. "description": "认沽期权1",
  23825. "type": "integer"
  23826. },
  23827. "putoptionpremiums2": {
  23828. "description": "认沽期权2",
  23829. "type": "integer"
  23830. },
  23831. "putoptionpremiums3": {
  23832. "description": "认沽期权3",
  23833. "type": "integer"
  23834. },
  23835. "putoptionpremiums4": {
  23836. "description": "认沽期权4",
  23837. "type": "integer"
  23838. },
  23839. "putoptionpremiums5": {
  23840. "description": "认沽期权5",
  23841. "type": "integer"
  23842. },
  23843. "settle": {
  23844. "description": "结算价",
  23845. "type": "number"
  23846. },
  23847. "strikeprice": {
  23848. "description": "发行价",
  23849. "type": "number"
  23850. },
  23851. "totalaskvolume": {
  23852. "description": "内盘",
  23853. "type": "integer"
  23854. },
  23855. "totalbidvolume": {
  23856. "description": "外盘",
  23857. "type": "integer"
  23858. },
  23859. "totallot": {
  23860. "description": "总手数",
  23861. "type": "integer"
  23862. },
  23863. "totalturnover": {
  23864. "description": "总金额",
  23865. "type": "number"
  23866. },
  23867. "totalvolume": {
  23868. "description": "总量",
  23869. "type": "integer"
  23870. },
  23871. "utclasttime": {
  23872. "description": "utc的行情时间",
  23873. "type": "string"
  23874. }
  23875. }
  23876. },
  23877. "quote.QueryTSDataRsp": {
  23878. "type": "object",
  23879. "properties": {
  23880. "Count": {
  23881. "description": "交易日应有数据个数",
  23882. "type": "integer"
  23883. },
  23884. "decimalPlace": {
  23885. "description": "小数位",
  23886. "type": "integer"
  23887. },
  23888. "endTime": {
  23889. "description": "结束时间",
  23890. "type": "string"
  23891. },
  23892. "goodsCode": {
  23893. "description": "商品代码",
  23894. "type": "string"
  23895. },
  23896. "historyDatas": {
  23897. "description": "历史数据",
  23898. "type": "array",
  23899. "items": {
  23900. "$ref": "#/definitions/quote.HistoryData"
  23901. }
  23902. },
  23903. "outGoodsCode": {
  23904. "description": "外部商品代码",
  23905. "type": "string"
  23906. },
  23907. "preSettle": {
  23908. "description": "昨结价",
  23909. "type": "number"
  23910. },
  23911. "runSteps": {
  23912. "description": "交易日开休市计划",
  23913. "type": "array",
  23914. "items": {
  23915. "$ref": "#/definitions/quote.TSDataRunStep"
  23916. }
  23917. },
  23918. "startTime": {
  23919. "description": "开始时间",
  23920. "type": "string"
  23921. },
  23922. "tradeDate": {
  23923. "description": "交易日",
  23924. "type": "string"
  23925. }
  23926. }
  23927. },
  23928. "quote.TSDataRunStep": {
  23929. "type": "object",
  23930. "properties": {
  23931. "end": {
  23932. "description": "真实结束时间",
  23933. "type": "string"
  23934. },
  23935. "endflag": {
  23936. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23937. "type": "integer"
  23938. },
  23939. "endtime": {
  23940. "description": "结束时间(HH:mm)",
  23941. "type": "string"
  23942. },
  23943. "endweekday": {
  23944. "description": "结束周几",
  23945. "type": "integer"
  23946. },
  23947. "groupid": {
  23948. "description": "分组ID",
  23949. "type": "integer"
  23950. },
  23951. "runstep": {
  23952. "description": "运行阶段 - 2:连续交易",
  23953. "type": "integer"
  23954. },
  23955. "sectionid": {
  23956. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23957. "type": "integer"
  23958. },
  23959. "start": {
  23960. "description": "真实开始时间",
  23961. "type": "string"
  23962. },
  23963. "startflag": {
  23964. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23965. "type": "integer"
  23966. },
  23967. "starttime": {
  23968. "description": "起始时间(HH:mm)",
  23969. "type": "string"
  23970. },
  23971. "startweekday": {
  23972. "description": "起始周几",
  23973. "type": "integer"
  23974. },
  23975. "tradeweekday": {
  23976. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23977. "type": "integer"
  23978. }
  23979. }
  23980. },
  23981. "szdz.QueryConvertLogRsp": {
  23982. "type": "object",
  23983. "required": [
  23984. "logid"
  23985. ],
  23986. "properties": {
  23987. "accountid": {
  23988. "description": "资金账户ID",
  23989. "type": "integer"
  23990. },
  23991. "clientticket": {
  23992. "description": "客户端流水号",
  23993. "type": "string"
  23994. },
  23995. "converttype": {
  23996. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23997. "type": "integer"
  23998. },
  23999. "createtime": {
  24000. "description": "记账时间",
  24001. "type": "string"
  24002. },
  24003. "daymaxvalue": {
  24004. "description": "配置当日最大转入限制",
  24005. "type": "number"
  24006. },
  24007. "daymaxvalue2": {
  24008. "description": "配置当日最大转入限制(转入)",
  24009. "type": "number"
  24010. },
  24011. "goodscode": {
  24012. "description": "商品代码",
  24013. "type": "string"
  24014. },
  24015. "goodsname": {
  24016. "description": "商品名称",
  24017. "type": "string"
  24018. },
  24019. "handlestatus": {
  24020. "description": "处理状态",
  24021. "type": "integer"
  24022. },
  24023. "innergoodsid": {
  24024. "description": "内部商品ID",
  24025. "type": "integer"
  24026. },
  24027. "inratio": {
  24028. "description": "配置转入比值",
  24029. "type": "integer"
  24030. },
  24031. "invalue": {
  24032. "description": "目标值",
  24033. "type": "number"
  24034. },
  24035. "logid": {
  24036. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24037. "type": "integer"
  24038. },
  24039. "mobile": {
  24040. "description": "手机号码(加密存储)",
  24041. "type": "string"
  24042. },
  24043. "outergoodscode": {
  24044. "description": "外部商品代码[JD\\PD]",
  24045. "type": "string"
  24046. },
  24047. "outratio": {
  24048. "description": "配置转出比值",
  24049. "type": "integer"
  24050. },
  24051. "outvalue": {
  24052. "description": "源值",
  24053. "type": "number"
  24054. },
  24055. "pddecimalplace": {
  24056. "description": "PD小数位",
  24057. "type": "integer"
  24058. },
  24059. "qty": {
  24060. "description": "数量",
  24061. "type": "string"
  24062. },
  24063. "remark": {
  24064. "description": "备注",
  24065. "type": "string"
  24066. },
  24067. "sessionid": {
  24068. "description": "会话ID",
  24069. "type": "integer"
  24070. },
  24071. "timemaxvalue": {
  24072. "description": "配置单次最大转入限制",
  24073. "type": "number"
  24074. },
  24075. "timemaxvalue2": {
  24076. "description": "配置单次最大转入限制(转入)",
  24077. "type": "number"
  24078. },
  24079. "timeminvalue": {
  24080. "description": "配置单次最小数量限制",
  24081. "type": "number"
  24082. },
  24083. "timeminvalue2": {
  24084. "description": "配置单次最小数量限制(转入)",
  24085. "type": "number"
  24086. },
  24087. "tradedate": {
  24088. "description": "交易日(yyyyMMdd)",
  24089. "type": "string"
  24090. },
  24091. "userid": {
  24092. "description": "用户ID",
  24093. "type": "integer"
  24094. }
  24095. }
  24096. },
  24097. "szdz.QueryGoodsPickupRsp": {
  24098. "type": "object",
  24099. "required": [
  24100. "takeorderid"
  24101. ],
  24102. "properties": {
  24103. "accountid": {
  24104. "description": "账户ID",
  24105. "type": "integer"
  24106. },
  24107. "address": {
  24108. "description": "提货人详细地址",
  24109. "type": "string"
  24110. },
  24111. "auditer": {
  24112. "description": "审核人",
  24113. "type": "integer"
  24114. },
  24115. "audittime": {
  24116. "description": "审核时间",
  24117. "type": "string"
  24118. },
  24119. "cardnum": {
  24120. "description": "提货人证件号码",
  24121. "type": "string"
  24122. },
  24123. "cardtypeid": {
  24124. "description": "提货人证件类型",
  24125. "type": "integer"
  24126. },
  24127. "checkremark": {
  24128. "description": "审核备注",
  24129. "type": "string"
  24130. },
  24131. "goodscode": {
  24132. "description": "商品代码",
  24133. "type": "string"
  24134. },
  24135. "goodsid": {
  24136. "description": "商品ID",
  24137. "type": "integer"
  24138. },
  24139. "goodsname": {
  24140. "description": "商品名称",
  24141. "type": "string"
  24142. },
  24143. "handlestatus": {
  24144. "description": "处理状态",
  24145. "type": "integer"
  24146. },
  24147. "marketid": {
  24148. "description": "市场ID",
  24149. "type": "integer"
  24150. },
  24151. "phonenum": {
  24152. "description": "提货人联系方式",
  24153. "type": "string"
  24154. },
  24155. "qty": {
  24156. "description": "提货数量",
  24157. "type": "number"
  24158. },
  24159. "recivername": {
  24160. "description": "提货人姓名",
  24161. "type": "string"
  24162. },
  24163. "reqtime": {
  24164. "description": "更新时间",
  24165. "type": "string"
  24166. },
  24167. "takemode": {
  24168. "description": "提货方式 - 2:自提 3:配送",
  24169. "type": "integer"
  24170. },
  24171. "takeorderid": {
  24172. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24173. "type": "string"
  24174. },
  24175. "takeorderstatus": {
  24176. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24177. "type": "integer"
  24178. },
  24179. "takeremark": {
  24180. "description": "提货备注",
  24181. "type": "string"
  24182. },
  24183. "tradedate": {
  24184. "description": "交易日(yyyyMMdd)",
  24185. "type": "string"
  24186. },
  24187. "userid": {
  24188. "description": "用户ID",
  24189. "type": "integer"
  24190. }
  24191. }
  24192. },
  24193. "szdz.QueryRecieptOrderRsp": {
  24194. "type": "object",
  24195. "required": [
  24196. "ordertime"
  24197. ],
  24198. "properties": {
  24199. "accountName": {
  24200. "description": "所属账号名称(已脱敏)",
  24201. "type": "string"
  24202. },
  24203. "accountid": {
  24204. "description": "资金账号",
  24205. "type": "integer"
  24206. },
  24207. "buyorsell": {
  24208. "description": "方向 - 0:买 1:卖",
  24209. "type": "integer"
  24210. },
  24211. "enableqty": {
  24212. "description": "可摘数量",
  24213. "type": "integer"
  24214. },
  24215. "goodscode": {
  24216. "description": "商品代码",
  24217. "type": "string"
  24218. },
  24219. "goodsid": {
  24220. "description": "商品ID",
  24221. "type": "integer"
  24222. },
  24223. "goodsname": {
  24224. "description": "商品名称",
  24225. "type": "string"
  24226. },
  24227. "orderid": {
  24228. "description": "委托单号",
  24229. "type": "string"
  24230. },
  24231. "orderprice": {
  24232. "description": "委托价格",
  24233. "type": "number"
  24234. },
  24235. "ordertime": {
  24236. "description": "委托时间",
  24237. "type": "string"
  24238. },
  24239. "tradedate": {
  24240. "description": "交易日(yyyyMMdd)",
  24241. "type": "string"
  24242. }
  24243. }
  24244. },
  24245. "szdz.QuerySZDZTradePositionRsp": {
  24246. "type": "object",
  24247. "properties": {
  24248. "accountid": {
  24249. "description": "账号Id",
  24250. "type": "integer"
  24251. },
  24252. "agreeunit": {
  24253. "description": "合约单位",
  24254. "type": "number"
  24255. },
  24256. "averageprice": {
  24257. "description": "持仓均价",
  24258. "type": "number"
  24259. },
  24260. "buyorsell": {
  24261. "description": "方向 - 0:买 1:卖",
  24262. "type": "integer"
  24263. },
  24264. "closetotalqty": {
  24265. "description": "平仓总数量",
  24266. "type": "integer"
  24267. },
  24268. "curholderamount": {
  24269. "description": "当前持仓总金额",
  24270. "type": "number"
  24271. },
  24272. "curpositionqty": {
  24273. "description": "当前持仓总数量",
  24274. "type": "integer"
  24275. },
  24276. "currencyid": {
  24277. "description": "报价货币ID",
  24278. "type": "integer"
  24279. },
  24280. "curtdposition": {
  24281. "description": "期末今日头寸",
  24282. "type": "integer"
  24283. },
  24284. "decimalplace": {
  24285. "description": "报价小数位",
  24286. "type": "integer"
  24287. },
  24288. "enableqty": {
  24289. "description": "可用量",
  24290. "type": "integer"
  24291. },
  24292. "fretdposition": {
  24293. "description": "冻结今日头寸",
  24294. "type": "integer"
  24295. },
  24296. "frozenqty": {
  24297. "description": "持仓冻结数量",
  24298. "type": "integer"
  24299. },
  24300. "goodscode": {
  24301. "description": "商品代码(内部)",
  24302. "type": "string"
  24303. },
  24304. "goodsid": {
  24305. "description": "商品Id",
  24306. "type": "integer"
  24307. },
  24308. "goodsname": {
  24309. "description": "商品名称",
  24310. "type": "string"
  24311. },
  24312. "goodunit": {
  24313. "description": "报价单位",
  24314. "type": "string"
  24315. },
  24316. "goodunitid": {
  24317. "description": "报价单位ID",
  24318. "type": "integer"
  24319. },
  24320. "holderamount": {
  24321. "description": "期初持仓总金额",
  24322. "type": "number"
  24323. },
  24324. "marketid": {
  24325. "description": "市场ID",
  24326. "type": "integer"
  24327. },
  24328. "openreqqty": {
  24329. "description": "开仓申请数量",
  24330. "type": "integer"
  24331. },
  24332. "opentotalqty": {
  24333. "description": "开仓总数量",
  24334. "type": "integer"
  24335. },
  24336. "otherfrozenqty": {
  24337. "description": "持仓其他冻结数量(交割冻结)",
  24338. "type": "integer"
  24339. },
  24340. "positionqty": {
  24341. "description": "期初持仓数量",
  24342. "type": "integer"
  24343. },
  24344. "szdz3freezqty": {
  24345. "description": "尚志大宗转换冻结总数量",
  24346. "type": "integer"
  24347. },
  24348. "tnqty": {
  24349. "description": "T+N冻结总量",
  24350. "type": "integer"
  24351. },
  24352. "tnusedqty": {
  24353. "description": "T+N使用量",
  24354. "type": "integer"
  24355. },
  24356. "trademode": {
  24357. "description": "交易模式",
  24358. "type": "integer"
  24359. },
  24360. "usedmargin": {
  24361. "description": "占用保证金",
  24362. "type": "number"
  24363. }
  24364. }
  24365. },
  24366. "taaccount.QueryAmountLogRsp": {
  24367. "type": "object",
  24368. "required": [
  24369. "accountid",
  24370. "amount",
  24371. "amountadjusttype",
  24372. "autoid",
  24373. "balance",
  24374. "createtime",
  24375. "currentbalance",
  24376. "operatetype"
  24377. ],
  24378. "properties": {
  24379. "OPERATETYPENAME": {
  24380. "description": "资金操作类型名称",
  24381. "type": "string"
  24382. },
  24383. "accountid": {
  24384. "description": "资金账户ID",
  24385. "type": "integer"
  24386. },
  24387. "agoodscode": {
  24388. "description": "竞拍商品代码",
  24389. "type": "string"
  24390. },
  24391. "agoodsname": {
  24392. "description": "竞拍商品名称",
  24393. "type": "string"
  24394. },
  24395. "amount": {
  24396. "description": "资金金额",
  24397. "type": "number"
  24398. },
  24399. "amountadjusttype": {
  24400. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24401. "type": "integer"
  24402. },
  24403. "autoid": {
  24404. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24405. "type": "integer"
  24406. },
  24407. "balance": {
  24408. "description": "期初余额",
  24409. "type": "number"
  24410. },
  24411. "businesscode": {
  24412. "description": "业务编号",
  24413. "type": "integer"
  24414. },
  24415. "createtime": {
  24416. "description": "发生时间",
  24417. "type": "string"
  24418. },
  24419. "currencyid": {
  24420. "description": "币种ID",
  24421. "type": "integer"
  24422. },
  24423. "currentbalance": {
  24424. "description": "期末余额(变动后金额)",
  24425. "type": "number"
  24426. },
  24427. "dgoodscode": {
  24428. "description": "交割商品代码",
  24429. "type": "string"
  24430. },
  24431. "dgoodsname": {
  24432. "description": "交割商品名称",
  24433. "type": "string"
  24434. },
  24435. "goodscode": {
  24436. "description": "商品代码",
  24437. "type": "string"
  24438. },
  24439. "goodsid": {
  24440. "description": "商品ID",
  24441. "type": "integer"
  24442. },
  24443. "goodsname": {
  24444. "description": "商品名称",
  24445. "type": "string"
  24446. },
  24447. "marketid": {
  24448. "description": "市场ID",
  24449. "type": "integer"
  24450. },
  24451. "marketname": {
  24452. "description": "市场名称",
  24453. "type": "string"
  24454. },
  24455. "moneyticket": {
  24456. "description": "资金流水号:银行端流水号",
  24457. "type": "integer"
  24458. },
  24459. "operatetype": {
  24460. "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:营销收款",
  24461. "type": "integer"
  24462. },
  24463. "relationorderid": {
  24464. "description": "关联单号",
  24465. "type": "string"
  24466. },
  24467. "remark": {
  24468. "description": "备注",
  24469. "type": "string"
  24470. },
  24471. "trademode": {
  24472. "description": "交易模式",
  24473. "type": "integer"
  24474. }
  24475. }
  24476. },
  24477. "taaccount.QueryHisAmountLogRsp": {
  24478. "type": "object",
  24479. "required": [
  24480. "accountid",
  24481. "amount",
  24482. "amountadjusttype",
  24483. "autoid",
  24484. "balance",
  24485. "createtime",
  24486. "currentbalance",
  24487. "histradedate",
  24488. "operatetype"
  24489. ],
  24490. "properties": {
  24491. "OPERATETYPENAME": {
  24492. "description": "资金操作类型名称",
  24493. "type": "string"
  24494. },
  24495. "accountid": {
  24496. "description": "资金账户ID",
  24497. "type": "integer"
  24498. },
  24499. "agoodscode": {
  24500. "description": "竞拍商品代码",
  24501. "type": "string"
  24502. },
  24503. "agoodsname": {
  24504. "description": "竞拍商品名称",
  24505. "type": "string"
  24506. },
  24507. "amount": {
  24508. "description": "资金金额",
  24509. "type": "number"
  24510. },
  24511. "amountadjusttype": {
  24512. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24513. "type": "integer"
  24514. },
  24515. "autoid": {
  24516. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24517. "type": "integer"
  24518. },
  24519. "balance": {
  24520. "description": "期初余额",
  24521. "type": "number"
  24522. },
  24523. "businesscode": {
  24524. "description": "业务编号",
  24525. "type": "integer"
  24526. },
  24527. "createtime": {
  24528. "description": "发生时间",
  24529. "type": "string"
  24530. },
  24531. "currencyid": {
  24532. "description": "币种ID",
  24533. "type": "integer"
  24534. },
  24535. "currentbalance": {
  24536. "description": "期末余额(变动后金额)",
  24537. "type": "number"
  24538. },
  24539. "dgoodscode": {
  24540. "description": "交割商品代码",
  24541. "type": "string"
  24542. },
  24543. "dgoodsname": {
  24544. "description": "交割商品名称",
  24545. "type": "string"
  24546. },
  24547. "goodscode": {
  24548. "description": "商品代码",
  24549. "type": "string"
  24550. },
  24551. "goodsid": {
  24552. "description": "商品ID",
  24553. "type": "integer"
  24554. },
  24555. "goodsname": {
  24556. "description": "商品名称",
  24557. "type": "string"
  24558. },
  24559. "histradedate": {
  24560. "description": "历史交易日",
  24561. "type": "string"
  24562. },
  24563. "isvaliddata": {
  24564. "description": "是否有效 - 0:无效 1:有效",
  24565. "type": "integer"
  24566. },
  24567. "marketid": {
  24568. "description": "市场ID",
  24569. "type": "integer"
  24570. },
  24571. "marketname": {
  24572. "description": "市场名称",
  24573. "type": "string"
  24574. },
  24575. "moneyticket": {
  24576. "description": "资金流水号:银行端流水号",
  24577. "type": "integer"
  24578. },
  24579. "operatetype": {
  24580. "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:营销收款",
  24581. "type": "integer"
  24582. },
  24583. "relationorderid": {
  24584. "description": "关联单号",
  24585. "type": "string"
  24586. },
  24587. "remark": {
  24588. "description": "备注",
  24589. "type": "string"
  24590. },
  24591. "trademode": {
  24592. "description": "交易模式",
  24593. "type": "integer"
  24594. }
  24595. }
  24596. },
  24597. "trade.QueryRecieptOrderRsp": {
  24598. "type": "object",
  24599. "required": [
  24600. "ordertime"
  24601. ],
  24602. "properties": {
  24603. "accountName": {
  24604. "description": "所属账号名称(已脱敏)",
  24605. "type": "string"
  24606. },
  24607. "accountid": {
  24608. "description": "资金账号",
  24609. "type": "integer"
  24610. },
  24611. "buyorsell": {
  24612. "description": "方向 - 0:买 1:卖",
  24613. "type": "integer"
  24614. },
  24615. "enableqty": {
  24616. "description": "可摘数量",
  24617. "type": "integer"
  24618. },
  24619. "goodscode": {
  24620. "description": "商品代码",
  24621. "type": "string"
  24622. },
  24623. "goodsid": {
  24624. "description": "商品ID",
  24625. "type": "integer"
  24626. },
  24627. "goodsname": {
  24628. "description": "商品名称",
  24629. "type": "string"
  24630. },
  24631. "orderid": {
  24632. "description": "委托单号",
  24633. "type": "string"
  24634. },
  24635. "orderprice": {
  24636. "description": "委托价格",
  24637. "type": "number"
  24638. },
  24639. "ordertime": {
  24640. "description": "委托时间",
  24641. "type": "string"
  24642. },
  24643. "tradedate": {
  24644. "description": "交易日(yyyyMMdd)",
  24645. "type": "string"
  24646. }
  24647. }
  24648. },
  24649. "user.LoginQueryRsp": {
  24650. "type": "object",
  24651. "properties": {
  24652. "areaRoles": {
  24653. "description": "所属角色信息",
  24654. "type": "array",
  24655. "items": {
  24656. "$ref": "#/definitions/models.Arearole"
  24657. }
  24658. },
  24659. "externalExchanges": {
  24660. "description": "外部交易所",
  24661. "type": "array",
  24662. "items": {
  24663. "$ref": "#/definitions/models.Externalexchange"
  24664. }
  24665. },
  24666. "goodsgroups": {
  24667. "description": "商品组",
  24668. "type": "array",
  24669. "items": {
  24670. "$ref": "#/definitions/models.Goodsgroup"
  24671. }
  24672. },
  24673. "loginAccount": {
  24674. "description": "登录账号",
  24675. "type": "object",
  24676. "$ref": "#/definitions/models.Loginaccount"
  24677. },
  24678. "markets": {
  24679. "description": "市场",
  24680. "type": "array",
  24681. "items": {
  24682. "$ref": "#/definitions/models.Market"
  24683. }
  24684. },
  24685. "systemParams": {
  24686. "description": "系统参数",
  24687. "type": "array",
  24688. "items": {
  24689. "$ref": "#/definitions/models.Systemparam"
  24690. }
  24691. },
  24692. "userAccount": {
  24693. "description": "用户账号",
  24694. "type": "object",
  24695. "$ref": "#/definitions/models.Useraccount"
  24696. },
  24697. "userInfo": {
  24698. "description": "用户信息",
  24699. "type": "object",
  24700. "$ref": "#/definitions/models.Userinfo"
  24701. },
  24702. "username": {
  24703. "description": "用户姓名",
  24704. "type": "string"
  24705. }
  24706. }
  24707. }
  24708. },
  24709. "securityDefinitions": {
  24710. "ApiKeyAuth": {
  24711. "type": "apiKey",
  24712. "name": "Authorization",
  24713. "in": "header"
  24714. }
  24715. }
  24716. }