swagger.json 934 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/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/QryReportAreaSpotPL": {
  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": "查询类型 1-日报表 2-月报表",
  1005. "name": "querytype",
  1006. "in": "query",
  1007. "required": true
  1008. },
  1009. {
  1010. "type": "string",
  1011. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1012. "name": "querydate",
  1013. "in": "query",
  1014. "required": true
  1015. },
  1016. {
  1017. "type": "integer",
  1018. "description": "现货商品ID",
  1019. "name": "wrstandardid",
  1020. "in": "query"
  1021. },
  1022. {
  1023. "type": "integer",
  1024. "description": "品牌ID",
  1025. "name": "spotgoodsbrandid",
  1026. "in": "query"
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "型号ID",
  1031. "name": "spotgoodsmodelid",
  1032. "in": "query"
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QryReportDayExposure": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "用户ID",
  1072. "name": "userid",
  1073. "in": "query",
  1074. "required": true
  1075. },
  1076. {
  1077. "type": "string",
  1078. "description": "交易日(格式:yyyyMMdd)",
  1079. "name": "tradedate",
  1080. "in": "query",
  1081. "required": true
  1082. }
  1083. ],
  1084. "responses": {
  1085. "200": {
  1086. "description": "OK",
  1087. "schema": {
  1088. "type": "array",
  1089. "items": {
  1090. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1091. }
  1092. }
  1093. },
  1094. "500": {
  1095. "description": "Internal Server Error",
  1096. "schema": {
  1097. "$ref": "#/definitions/app.Response"
  1098. }
  1099. }
  1100. }
  1101. }
  1102. },
  1103. "/Ermcp/QryReportDayFinance": {
  1104. "get": {
  1105. "security": [
  1106. {
  1107. "ApiKeyAuth": []
  1108. }
  1109. ],
  1110. "produces": [
  1111. "application/json"
  1112. ],
  1113. "tags": [
  1114. "企业风险管理(app)"
  1115. ],
  1116. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1117. "parameters": [
  1118. {
  1119. "type": "integer",
  1120. "description": "用户ID",
  1121. "name": "userid",
  1122. "in": "query",
  1123. "required": true
  1124. },
  1125. {
  1126. "type": "string",
  1127. "description": "交易日(格式:yyyyMMdd)",
  1128. "name": "tradedate",
  1129. "in": "query",
  1130. "required": true
  1131. }
  1132. ],
  1133. "responses": {
  1134. "200": {
  1135. "description": "OK",
  1136. "schema": {
  1137. "type": "array",
  1138. "items": {
  1139. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1140. }
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Ermcp/QryReportDayFinanceFp": {
  1153. "get": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "企业风险管理(app)"
  1164. ],
  1165. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1166. "parameters": [
  1167. {
  1168. "type": "integer",
  1169. "description": "用户ID",
  1170. "name": "userid",
  1171. "in": "query",
  1172. "required": true
  1173. },
  1174. {
  1175. "type": "string",
  1176. "description": "交易日(格式:yyyyMMdd)",
  1177. "name": "tradedate",
  1178. "in": "query",
  1179. "required": true
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QryReportDayFinanceKx": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. },
  1223. {
  1224. "type": "string",
  1225. "description": "交易日(格式:yyyyMMdd)",
  1226. "name": "tradedate",
  1227. "in": "query",
  1228. "required": true
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QryReportDaySpot": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "string",
  1274. "description": "交易日(格式:yyyyMMdd)",
  1275. "name": "tradedate",
  1276. "in": "query",
  1277. "required": true
  1278. }
  1279. ],
  1280. "responses": {
  1281. "200": {
  1282. "description": "OK",
  1283. "schema": {
  1284. "type": "array",
  1285. "items": {
  1286. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1287. }
  1288. }
  1289. },
  1290. "500": {
  1291. "description": "Internal Server Error",
  1292. "schema": {
  1293. "$ref": "#/definitions/app.Response"
  1294. }
  1295. }
  1296. }
  1297. }
  1298. },
  1299. "/Ermcp/QryReportDaySpotDetail": {
  1300. "get": {
  1301. "security": [
  1302. {
  1303. "ApiKeyAuth": []
  1304. }
  1305. ],
  1306. "produces": [
  1307. "application/json"
  1308. ],
  1309. "tags": [
  1310. "企业风险管理(app)"
  1311. ],
  1312. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1313. "parameters": [
  1314. {
  1315. "type": "integer",
  1316. "description": "用户ID",
  1317. "name": "userid",
  1318. "in": "query",
  1319. "required": true
  1320. },
  1321. {
  1322. "type": "integer",
  1323. "description": "现货商品id",
  1324. "name": "wrstandardid",
  1325. "in": "query",
  1326. "required": true
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "交易日(格式:yyyyMMdd)",
  1331. "name": "tradedate",
  1332. "in": "query",
  1333. "required": true
  1334. }
  1335. ],
  1336. "responses": {
  1337. "200": {
  1338. "description": "OK",
  1339. "schema": {
  1340. "type": "array",
  1341. "items": {
  1342. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1343. }
  1344. }
  1345. },
  1346. "500": {
  1347. "description": "Internal Server Error",
  1348. "schema": {
  1349. "$ref": "#/definitions/app.Response"
  1350. }
  1351. }
  1352. }
  1353. }
  1354. },
  1355. "/Ermcp/QryReportMonthFinance": {
  1356. "get": {
  1357. "security": [
  1358. {
  1359. "ApiKeyAuth": []
  1360. }
  1361. ],
  1362. "produces": [
  1363. "application/json"
  1364. ],
  1365. "tags": [
  1366. "企业风险管理(app)"
  1367. ],
  1368. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1369. "parameters": [
  1370. {
  1371. "type": "integer",
  1372. "description": "用户ID",
  1373. "name": "userid",
  1374. "in": "query",
  1375. "required": true
  1376. },
  1377. {
  1378. "type": "string",
  1379. "description": "周期时间:月(格式:yyyyMM)",
  1380. "name": "cycletime",
  1381. "in": "query",
  1382. "required": true
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QryReportMonthSpot": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "string",
  1428. "description": "周期时间:月(格式:yyyyMM)",
  1429. "name": "cycletime",
  1430. "in": "query",
  1431. "required": true
  1432. }
  1433. ],
  1434. "responses": {
  1435. "200": {
  1436. "description": "OK",
  1437. "schema": {
  1438. "type": "array",
  1439. "items": {
  1440. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1441. }
  1442. }
  1443. },
  1444. "500": {
  1445. "description": "Internal Server Error",
  1446. "schema": {
  1447. "$ref": "#/definitions/app.Response"
  1448. }
  1449. }
  1450. }
  1451. }
  1452. },
  1453. "/Ermcp/QryReportMonthSpotDetail": {
  1454. "get": {
  1455. "security": [
  1456. {
  1457. "ApiKeyAuth": []
  1458. }
  1459. ],
  1460. "produces": [
  1461. "application/json"
  1462. ],
  1463. "tags": [
  1464. "企业风险管理(app)"
  1465. ],
  1466. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1467. "parameters": [
  1468. {
  1469. "type": "integer",
  1470. "description": "用户ID",
  1471. "name": "userid",
  1472. "in": "query",
  1473. "required": true
  1474. },
  1475. {
  1476. "type": "integer",
  1477. "description": "现货商品id",
  1478. "name": "wrstandardid",
  1479. "in": "query",
  1480. "required": true
  1481. },
  1482. {
  1483. "type": "string",
  1484. "description": "周期时间:月(格式:yyyyMM)",
  1485. "name": "cycletime",
  1486. "in": "query",
  1487. "required": true
  1488. }
  1489. ],
  1490. "responses": {
  1491. "200": {
  1492. "description": "OK",
  1493. "schema": {
  1494. "type": "array",
  1495. "items": {
  1496. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1497. }
  1498. }
  1499. },
  1500. "500": {
  1501. "description": "Internal Server Error",
  1502. "schema": {
  1503. "$ref": "#/definitions/app.Response"
  1504. }
  1505. }
  1506. }
  1507. }
  1508. },
  1509. "/Ermcp/QueryAccMgrBizGroupSet": {
  1510. "get": {
  1511. "security": [
  1512. {
  1513. "ApiKeyAuth": []
  1514. }
  1515. ],
  1516. "produces": [
  1517. "application/json"
  1518. ],
  1519. "tags": [
  1520. "企业风险管理(app)"
  1521. ],
  1522. "summary": "查询业务类型分组(账户管理/账户设置)",
  1523. "parameters": [
  1524. {
  1525. "type": "integer",
  1526. "description": "用户ID",
  1527. "name": "userid",
  1528. "in": "query",
  1529. "required": true
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "现货商品id",
  1534. "name": "deliverygoodsid",
  1535. "in": "query"
  1536. }
  1537. ],
  1538. "responses": {
  1539. "200": {
  1540. "description": "OK",
  1541. "schema": {
  1542. "type": "array",
  1543. "items": {
  1544. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1545. }
  1546. }
  1547. },
  1548. "500": {
  1549. "description": "Internal Server Error",
  1550. "schema": {
  1551. "$ref": "#/definitions/app.Response"
  1552. }
  1553. }
  1554. }
  1555. }
  1556. },
  1557. "/Ermcp/QueryAccMgrLoginUser": {
  1558. "get": {
  1559. "security": [
  1560. {
  1561. "ApiKeyAuth": []
  1562. }
  1563. ],
  1564. "produces": [
  1565. "application/json"
  1566. ],
  1567. "tags": [
  1568. "企业风险管理(app)"
  1569. ],
  1570. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1571. "parameters": [
  1572. {
  1573. "type": "integer",
  1574. "description": "用户ID",
  1575. "name": "userid",
  1576. "in": "query",
  1577. "required": true
  1578. },
  1579. {
  1580. "type": "integer",
  1581. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1582. "name": "querytype",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userid",
  1625. "in": "query"
  1626. },
  1627. {
  1628. "type": "integer",
  1629. "description": "主账号id",
  1630. "name": "accountid",
  1631. "in": "query"
  1632. }
  1633. ],
  1634. "responses": {
  1635. "200": {
  1636. "description": "OK",
  1637. "schema": {
  1638. "type": "array",
  1639. "items": {
  1640. "$ref": "#/definitions/models.MainAccountInfo"
  1641. }
  1642. }
  1643. },
  1644. "500": {
  1645. "description": "Internal Server Error",
  1646. "schema": {
  1647. "$ref": "#/definitions/app.Response"
  1648. }
  1649. }
  1650. }
  1651. }
  1652. },
  1653. "/Ermcp/QueryAccMgrRole": {
  1654. "get": {
  1655. "security": [
  1656. {
  1657. "ApiKeyAuth": []
  1658. }
  1659. ],
  1660. "produces": [
  1661. "application/json"
  1662. ],
  1663. "tags": [
  1664. "企业风险管理(app)"
  1665. ],
  1666. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1667. "parameters": [
  1668. {
  1669. "type": "integer",
  1670. "description": "用户ID",
  1671. "name": "userid",
  1672. "in": "query",
  1673. "required": true
  1674. }
  1675. ],
  1676. "responses": {
  1677. "200": {
  1678. "description": "OK",
  1679. "schema": {
  1680. "type": "array",
  1681. "items": {
  1682. "$ref": "#/definitions/models.ErmcpRole"
  1683. }
  1684. }
  1685. },
  1686. "500": {
  1687. "description": "Internal Server Error",
  1688. "schema": {
  1689. "$ref": "#/definitions/app.Response"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "/Ermcp/QueryAccMgrRoleMenu": {
  1696. "get": {
  1697. "security": [
  1698. {
  1699. "ApiKeyAuth": []
  1700. }
  1701. ],
  1702. "produces": [
  1703. "application/json"
  1704. ],
  1705. "tags": [
  1706. "企业风险管理(app)"
  1707. ],
  1708. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1709. "parameters": [
  1710. {
  1711. "type": "integer",
  1712. "description": "用户ID",
  1713. "name": "userid",
  1714. "in": "query",
  1715. "required": true
  1716. },
  1717. {
  1718. "type": "string",
  1719. "description": "角色id(可多个,逗号隔开)",
  1720. "name": "roleid",
  1721. "in": "query"
  1722. }
  1723. ],
  1724. "responses": {
  1725. "200": {
  1726. "description": "OK",
  1727. "schema": {
  1728. "type": "array",
  1729. "items": {
  1730. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1731. }
  1732. }
  1733. },
  1734. "500": {
  1735. "description": "Internal Server Error",
  1736. "schema": {
  1737. "$ref": "#/definitions/app.Response"
  1738. }
  1739. }
  1740. }
  1741. }
  1742. },
  1743. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1744. "get": {
  1745. "security": [
  1746. {
  1747. "ApiKeyAuth": []
  1748. }
  1749. ],
  1750. "produces": [
  1751. "application/json"
  1752. ],
  1753. "tags": [
  1754. "企业风险管理(app)"
  1755. ],
  1756. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1757. "parameters": [
  1758. {
  1759. "type": "integer",
  1760. "description": "用户ID",
  1761. "name": "userid",
  1762. "in": "query",
  1763. "required": true
  1764. },
  1765. {
  1766. "type": "integer",
  1767. "description": "账号id",
  1768. "name": "accountid",
  1769. "in": "query"
  1770. }
  1771. ],
  1772. "responses": {
  1773. "200": {
  1774. "description": "OK",
  1775. "schema": {
  1776. "type": "array",
  1777. "items": {
  1778. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1779. }
  1780. }
  1781. },
  1782. "500": {
  1783. "description": "Internal Server Error",
  1784. "schema": {
  1785. "$ref": "#/definitions/app.Response"
  1786. }
  1787. }
  1788. }
  1789. }
  1790. },
  1791. "/Ermcp/QueryAccMgrTaaccount": {
  1792. "get": {
  1793. "security": [
  1794. {
  1795. "ApiKeyAuth": []
  1796. }
  1797. ],
  1798. "produces": [
  1799. "application/json"
  1800. ],
  1801. "tags": [
  1802. "企业风险管理(app)"
  1803. ],
  1804. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1805. "parameters": [
  1806. {
  1807. "type": "integer",
  1808. "description": "用户ID",
  1809. "name": "userid",
  1810. "in": "query",
  1811. "required": true
  1812. }
  1813. ],
  1814. "responses": {
  1815. "200": {
  1816. "description": "OK",
  1817. "schema": {
  1818. "type": "array",
  1819. "items": {
  1820. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1821. }
  1822. }
  1823. },
  1824. "500": {
  1825. "description": "Internal Server Error",
  1826. "schema": {
  1827. "$ref": "#/definitions/app.Response"
  1828. }
  1829. }
  1830. }
  1831. }
  1832. },
  1833. "/Ermcp/QueryAreaStock": {
  1834. "get": {
  1835. "security": [
  1836. {
  1837. "ApiKeyAuth": []
  1838. }
  1839. ],
  1840. "produces": [
  1841. "application/json"
  1842. ],
  1843. "tags": [
  1844. "企业风险管理(app)"
  1845. ],
  1846. "summary": "查询机构库存(库存管理/当前库存)",
  1847. "parameters": [
  1848. {
  1849. "type": "integer",
  1850. "description": "用户ID",
  1851. "name": "userid",
  1852. "in": "query",
  1853. "required": true
  1854. }
  1855. ],
  1856. "responses": {
  1857. "200": {
  1858. "description": "OK",
  1859. "schema": {
  1860. "type": "array",
  1861. "items": {
  1862. "$ref": "#/definitions/models.ErmcpAreaStock"
  1863. }
  1864. }
  1865. },
  1866. "500": {
  1867. "description": "Internal Server Error",
  1868. "schema": {
  1869. "$ref": "#/definitions/app.Response"
  1870. }
  1871. }
  1872. }
  1873. }
  1874. },
  1875. "/Ermcp/QueryAreaStockApply": {
  1876. "get": {
  1877. "security": [
  1878. {
  1879. "ApiKeyAuth": []
  1880. }
  1881. ],
  1882. "produces": [
  1883. "application/json"
  1884. ],
  1885. "tags": [
  1886. "企业风险管理(app)"
  1887. ],
  1888. "summary": "查询库存申请(出入库记录|库存审核)",
  1889. "parameters": [
  1890. {
  1891. "type": "integer",
  1892. "description": "用户ID",
  1893. "name": "userid",
  1894. "in": "query",
  1895. "required": true
  1896. },
  1897. {
  1898. "type": "string",
  1899. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1900. "name": "inouttype",
  1901. "in": "query"
  1902. },
  1903. {
  1904. "type": "integer",
  1905. "description": "合同ID",
  1906. "name": "spotcontractid",
  1907. "in": "query"
  1908. },
  1909. {
  1910. "type": "integer",
  1911. "description": "现货商品ID",
  1912. "name": "wrstandardid",
  1913. "in": "query"
  1914. },
  1915. {
  1916. "type": "integer",
  1917. "description": "品牌ID",
  1918. "name": "spotgoodsbrandid",
  1919. "in": "query"
  1920. },
  1921. {
  1922. "type": "integer",
  1923. "description": "型号ID",
  1924. "name": "spotgoodsmodelid",
  1925. "in": "query"
  1926. },
  1927. {
  1928. "type": "integer",
  1929. "description": "仓库ID",
  1930. "name": "warehouseinfoid",
  1931. "in": "query"
  1932. },
  1933. {
  1934. "type": "string",
  1935. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1936. "name": "applystatus",
  1937. "in": "query"
  1938. }
  1939. ],
  1940. "responses": {
  1941. "200": {
  1942. "description": "OK",
  1943. "schema": {
  1944. "type": "array",
  1945. "items": {
  1946. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1947. }
  1948. }
  1949. },
  1950. "500": {
  1951. "description": "Internal Server Error",
  1952. "schema": {
  1953. "$ref": "#/definitions/app.Response"
  1954. }
  1955. }
  1956. }
  1957. }
  1958. },
  1959. "/Ermcp/QueryAreaStockApplySum": {
  1960. "get": {
  1961. "security": [
  1962. {
  1963. "ApiKeyAuth": []
  1964. }
  1965. ],
  1966. "produces": [
  1967. "application/json"
  1968. ],
  1969. "tags": [
  1970. "企业风险管理(app)"
  1971. ],
  1972. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1973. "parameters": [
  1974. {
  1975. "type": "integer",
  1976. "description": "合同ID",
  1977. "name": "spotcontractid",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "type": "array",
  1986. "items": {
  1987. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1988. }
  1989. }
  1990. },
  1991. "500": {
  1992. "description": "Internal Server Error",
  1993. "schema": {
  1994. "$ref": "#/definitions/app.Response"
  1995. }
  1996. }
  1997. }
  1998. }
  1999. },
  2000. "/Ermcp/QueryAreaStockReport": {
  2001. "get": {
  2002. "security": [
  2003. {
  2004. "ApiKeyAuth": []
  2005. }
  2006. ],
  2007. "produces": [
  2008. "application/json"
  2009. ],
  2010. "tags": [
  2011. "企业风险管理(app)"
  2012. ],
  2013. "summary": "查询库存报表",
  2014. "parameters": [
  2015. {
  2016. "type": "integer",
  2017. "description": "用户ID",
  2018. "name": "userid",
  2019. "in": "query",
  2020. "required": true
  2021. },
  2022. {
  2023. "type": "integer",
  2024. "description": "查询类型 1-日报表 2-月报表",
  2025. "name": "querytype",
  2026. "in": "query",
  2027. "required": true
  2028. },
  2029. {
  2030. "type": "string",
  2031. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2032. "name": "querydate",
  2033. "in": "query",
  2034. "required": true
  2035. },
  2036. {
  2037. "type": "integer",
  2038. "description": "现货商品ID",
  2039. "name": "wrstandardid",
  2040. "in": "query"
  2041. },
  2042. {
  2043. "type": "integer",
  2044. "description": "品牌ID",
  2045. "name": "spotgoodsbrandid",
  2046. "in": "query"
  2047. },
  2048. {
  2049. "type": "integer",
  2050. "description": "型号ID",
  2051. "name": "spotgoodsmodelid",
  2052. "in": "query"
  2053. },
  2054. {
  2055. "type": "integer",
  2056. "description": "仓库ID",
  2057. "name": "warehouseinfoid",
  2058. "in": "query"
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryAreaStockReportDetail": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询库存报表明细",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "用户ID",
  2098. "name": "userid",
  2099. "in": "query",
  2100. "required": true
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "查询类型 1-日报表明细 2-月报表明细",
  2105. "name": "querytype",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2112. "name": "detailtype",
  2113. "in": "query",
  2114. "required": true
  2115. },
  2116. {
  2117. "type": "string",
  2118. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2119. "name": "querydate",
  2120. "in": "query",
  2121. "required": true
  2122. },
  2123. {
  2124. "type": "integer",
  2125. "description": "现货商品ID",
  2126. "name": "wrstandardid",
  2127. "in": "query"
  2128. },
  2129. {
  2130. "type": "integer",
  2131. "description": "品牌ID",
  2132. "name": "spotgoodsbrandid",
  2133. "in": "query"
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": "型号ID",
  2138. "name": "spotgoodsmodelid",
  2139. "in": "query"
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "仓库ID",
  2144. "name": "warehouseinfoid",
  2145. "in": "query"
  2146. }
  2147. ],
  2148. "responses": {
  2149. "200": {
  2150. "description": "OK",
  2151. "schema": {
  2152. "type": "array",
  2153. "items": {
  2154. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2155. }
  2156. }
  2157. },
  2158. "500": {
  2159. "description": "Internal Server Error",
  2160. "schema": {
  2161. "$ref": "#/definitions/app.Response"
  2162. }
  2163. }
  2164. }
  2165. }
  2166. },
  2167. "/Ermcp/QueryAvaildGoodsGroup": {
  2168. "get": {
  2169. "security": [
  2170. {
  2171. "ApiKeyAuth": []
  2172. }
  2173. ],
  2174. "produces": [
  2175. "application/json"
  2176. ],
  2177. "tags": [
  2178. "企业风险管理(app)"
  2179. ],
  2180. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2181. "parameters": [
  2182. {
  2183. "type": "integer",
  2184. "description": "所属机构ID",
  2185. "name": "userid",
  2186. "in": "query",
  2187. "required": true
  2188. }
  2189. ],
  2190. "responses": {
  2191. "200": {
  2192. "description": "OK",
  2193. "schema": {
  2194. "type": "array",
  2195. "items": {
  2196. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2197. }
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/app.Response"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/Ermcp/QueryBusinessDj": {
  2210. "get": {
  2211. "security": [
  2212. {
  2213. "ApiKeyAuth": []
  2214. }
  2215. ],
  2216. "produces": [
  2217. "application/json"
  2218. ],
  2219. "tags": [
  2220. "企业风险管理(app)"
  2221. ],
  2222. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2223. "parameters": [
  2224. {
  2225. "type": "integer",
  2226. "description": "用户ID",
  2227. "name": "UserId",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "string",
  2233. "description": "现货合同ID, 不填则查所有",
  2234. "name": "relatedid",
  2235. "in": "query"
  2236. },
  2237. {
  2238. "type": "string",
  2239. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2240. "name": "applystatus",
  2241. "in": "query"
  2242. }
  2243. ],
  2244. "responses": {
  2245. "200": {
  2246. "description": "OK",
  2247. "schema": {
  2248. "type": "array",
  2249. "items": {
  2250. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2251. }
  2252. }
  2253. },
  2254. "500": {
  2255. "description": "Internal Server Error",
  2256. "schema": {
  2257. "$ref": "#/definitions/app.Response"
  2258. }
  2259. }
  2260. }
  2261. }
  2262. },
  2263. "/Ermcp/QueryBusinessFp": {
  2264. "get": {
  2265. "security": [
  2266. {
  2267. "ApiKeyAuth": []
  2268. }
  2269. ],
  2270. "produces": [
  2271. "application/json"
  2272. ],
  2273. "tags": [
  2274. "企业风险管理(app)"
  2275. ],
  2276. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2277. "parameters": [
  2278. {
  2279. "type": "integer",
  2280. "description": "用户ID",
  2281. "name": "UserId",
  2282. "in": "query",
  2283. "required": true
  2284. },
  2285. {
  2286. "type": "string",
  2287. "description": "现货合同ID, 不填则查所有",
  2288. "name": "relatedid",
  2289. "in": "query"
  2290. },
  2291. {
  2292. "type": "string",
  2293. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2294. "name": "applystatus",
  2295. "in": "query"
  2296. }
  2297. ],
  2298. "responses": {
  2299. "200": {
  2300. "description": "OK",
  2301. "schema": {
  2302. "type": "array",
  2303. "items": {
  2304. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2305. }
  2306. }
  2307. },
  2308. "500": {
  2309. "description": "Internal Server Error",
  2310. "schema": {
  2311. "$ref": "#/definitions/app.Response"
  2312. }
  2313. }
  2314. }
  2315. }
  2316. },
  2317. "/Ermcp/QueryBusinessJs": {
  2318. "get": {
  2319. "security": [
  2320. {
  2321. "ApiKeyAuth": []
  2322. }
  2323. ],
  2324. "produces": [
  2325. "application/json"
  2326. ],
  2327. "tags": [
  2328. "企业风险管理(app)"
  2329. ],
  2330. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2331. "parameters": [
  2332. {
  2333. "type": "integer",
  2334. "description": "用户ID",
  2335. "name": "UserId",
  2336. "in": "query",
  2337. "required": true
  2338. },
  2339. {
  2340. "type": "string",
  2341. "description": "现货合同ID, 不填则查所有",
  2342. "name": "relatedid",
  2343. "in": "query"
  2344. },
  2345. {
  2346. "type": "string",
  2347. "description": "操作申请id",
  2348. "name": "operateapplyid",
  2349. "in": "query"
  2350. },
  2351. {
  2352. "type": "string",
  2353. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2354. "name": "applystatus",
  2355. "in": "query"
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryBusinessJsEx": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "用户ID",
  2395. "name": "UserId",
  2396. "in": "query",
  2397. "required": true
  2398. },
  2399. {
  2400. "type": "string",
  2401. "description": "现货合同ID, 不填则查所有",
  2402. "name": "relatedid",
  2403. "in": "query"
  2404. },
  2405. {
  2406. "type": "string",
  2407. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2408. "name": "applystatus",
  2409. "in": "query"
  2410. }
  2411. ],
  2412. "responses": {
  2413. "200": {
  2414. "description": "OK",
  2415. "schema": {
  2416. "type": "array",
  2417. "items": {
  2418. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2419. }
  2420. }
  2421. },
  2422. "500": {
  2423. "description": "Internal Server Error",
  2424. "schema": {
  2425. "$ref": "#/definitions/app.Response"
  2426. }
  2427. }
  2428. }
  2429. }
  2430. },
  2431. "/Ermcp/QueryBusinessKx": {
  2432. "get": {
  2433. "security": [
  2434. {
  2435. "ApiKeyAuth": []
  2436. }
  2437. ],
  2438. "produces": [
  2439. "application/json"
  2440. ],
  2441. "tags": [
  2442. "企业风险管理(app)"
  2443. ],
  2444. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2445. "parameters": [
  2446. {
  2447. "type": "integer",
  2448. "description": "用户ID",
  2449. "name": "UserId",
  2450. "in": "query",
  2451. "required": true
  2452. },
  2453. {
  2454. "type": "string",
  2455. "description": "现货合同ID, 不填则查所有",
  2456. "name": "relatedid",
  2457. "in": "query"
  2458. },
  2459. {
  2460. "type": "string",
  2461. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2462. "name": "applystatus",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryChangeLog": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询变更记录",
  2499. "parameters": [
  2500. {
  2501. "type": "string",
  2502. "description": "合同ID",
  2503. "name": "RelatedId",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryContract": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询合同(采购和销售)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户ID",
  2545. "name": "userId",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "合同类型 1-采购, -1-销售",
  2552. "name": "contracttype",
  2553. "in": "query",
  2554. "required": true
  2555. },
  2556. {
  2557. "type": "integer",
  2558. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2559. "name": "querytype",
  2560. "in": "query",
  2561. "required": true
  2562. },
  2563. {
  2564. "type": "string",
  2565. "description": "合同ID(SpotContractId)",
  2566. "name": "contractid",
  2567. "in": "query"
  2568. }
  2569. ],
  2570. "responses": {
  2571. "200": {
  2572. "description": "OK",
  2573. "schema": {
  2574. "type": "array",
  2575. "items": {
  2576. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2577. }
  2578. }
  2579. },
  2580. "500": {
  2581. "description": "Internal Server Error",
  2582. "schema": {
  2583. "$ref": "#/definitions/app.Response"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "/Ermcp/QueryErmcpHisOrderDetails": {
  2590. "get": {
  2591. "security": [
  2592. {
  2593. "ApiKeyAuth": []
  2594. }
  2595. ],
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "企业风险管理(app)"
  2601. ],
  2602. "summary": "获取企业风管期货历史委托单信息",
  2603. "parameters": [
  2604. {
  2605. "type": "integer",
  2606. "description": "资金账户ID",
  2607. "name": "accountID",
  2608. "in": "query",
  2609. "required": true
  2610. },
  2611. {
  2612. "type": "string",
  2613. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2614. "name": "startDate",
  2615. "in": "query"
  2616. },
  2617. {
  2618. "type": "string",
  2619. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2620. "name": "endDate",
  2621. "in": "query"
  2622. }
  2623. ],
  2624. "responses": {
  2625. "200": {
  2626. "description": "OK",
  2627. "schema": {
  2628. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2629. }
  2630. },
  2631. "500": {
  2632. "description": "Internal Server Error",
  2633. "schema": {
  2634. "$ref": "#/definitions/app.Response"
  2635. }
  2636. }
  2637. }
  2638. }
  2639. },
  2640. "/Ermcp/QueryErmcpHisTradeDetails": {
  2641. "get": {
  2642. "security": [
  2643. {
  2644. "ApiKeyAuth": []
  2645. }
  2646. ],
  2647. "produces": [
  2648. "application/json"
  2649. ],
  2650. "tags": [
  2651. "企业风险管理(app)"
  2652. ],
  2653. "summary": "获取企业风管期货历史成交单信息",
  2654. "parameters": [
  2655. {
  2656. "type": "integer",
  2657. "description": "资金账户ID",
  2658. "name": "accountID",
  2659. "in": "query",
  2660. "required": true
  2661. },
  2662. {
  2663. "type": "integer",
  2664. "description": "商品ID",
  2665. "name": "goodsID",
  2666. "in": "query"
  2667. },
  2668. {
  2669. "type": "integer",
  2670. "description": "买卖方向,0:买 1:卖",
  2671. "name": "buyOrSell",
  2672. "in": "query"
  2673. },
  2674. {
  2675. "type": "integer",
  2676. "description": "关联委托单号",
  2677. "name": "orderID",
  2678. "in": "query"
  2679. },
  2680. {
  2681. "type": "string",
  2682. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2683. "name": "startDate",
  2684. "in": "query"
  2685. },
  2686. {
  2687. "type": "string",
  2688. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2689. "name": "endDate",
  2690. "in": "query"
  2691. }
  2692. ],
  2693. "responses": {
  2694. "200": {
  2695. "description": "OK",
  2696. "schema": {
  2697. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2698. }
  2699. },
  2700. "500": {
  2701. "description": "Internal Server Error",
  2702. "schema": {
  2703. "$ref": "#/definitions/app.Response"
  2704. }
  2705. }
  2706. }
  2707. }
  2708. },
  2709. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2710. "get": {
  2711. "security": [
  2712. {
  2713. "ApiKeyAuth": []
  2714. }
  2715. ],
  2716. "produces": [
  2717. "application/json"
  2718. ],
  2719. "tags": [
  2720. "企业风险管理(app)"
  2721. ],
  2722. "summary": "获取企业风管期货内部持仓单信息",
  2723. "parameters": [
  2724. {
  2725. "type": "integer",
  2726. "description": "资金账户ID",
  2727. "name": "accountID",
  2728. "in": "query",
  2729. "required": true
  2730. },
  2731. {
  2732. "type": "integer",
  2733. "description": "商品ID",
  2734. "name": "goodsID",
  2735. "in": "query"
  2736. },
  2737. {
  2738. "type": "integer",
  2739. "description": "买卖方向,0:买 1:卖",
  2740. "name": "buyOrSell",
  2741. "in": "query"
  2742. }
  2743. ],
  2744. "responses": {
  2745. "200": {
  2746. "description": "OK",
  2747. "schema": {
  2748. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2749. }
  2750. },
  2751. "500": {
  2752. "description": "Internal Server Error",
  2753. "schema": {
  2754. "$ref": "#/definitions/app.Response"
  2755. }
  2756. }
  2757. }
  2758. }
  2759. },
  2760. "/Ermcp/QueryErmcpOrderDetails": {
  2761. "get": {
  2762. "security": [
  2763. {
  2764. "ApiKeyAuth": []
  2765. }
  2766. ],
  2767. "produces": [
  2768. "application/json"
  2769. ],
  2770. "tags": [
  2771. "企业风险管理(app)"
  2772. ],
  2773. "summary": "获取企业风管期货委托单信息",
  2774. "parameters": [
  2775. {
  2776. "type": "integer",
  2777. "description": "资金账户ID",
  2778. "name": "accountID",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2788. }
  2789. },
  2790. "500": {
  2791. "description": "Internal Server Error",
  2792. "schema": {
  2793. "$ref": "#/definitions/app.Response"
  2794. }
  2795. }
  2796. }
  2797. }
  2798. },
  2799. "/Ermcp/QueryErmcpTradeDetails": {
  2800. "get": {
  2801. "security": [
  2802. {
  2803. "ApiKeyAuth": []
  2804. }
  2805. ],
  2806. "produces": [
  2807. "application/json"
  2808. ],
  2809. "tags": [
  2810. "企业风险管理(app)"
  2811. ],
  2812. "summary": "获取企业风管期货成交单信息",
  2813. "parameters": [
  2814. {
  2815. "type": "integer",
  2816. "description": "资金账户ID",
  2817. "name": "accountID",
  2818. "in": "query",
  2819. "required": true
  2820. },
  2821. {
  2822. "type": "integer",
  2823. "description": "商品ID",
  2824. "name": "goodsID",
  2825. "in": "query"
  2826. },
  2827. {
  2828. "type": "integer",
  2829. "description": "买卖方向,0:买 1:卖",
  2830. "name": "buyOrSell",
  2831. "in": "query"
  2832. },
  2833. {
  2834. "type": "integer",
  2835. "description": "关联委托单号",
  2836. "name": "orderID",
  2837. "in": "query"
  2838. }
  2839. ],
  2840. "responses": {
  2841. "200": {
  2842. "description": "OK",
  2843. "schema": {
  2844. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryErmcpTradePosition": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2864. "produces": [
  2865. "application/json"
  2866. ],
  2867. "tags": [
  2868. "企业风险管理(app)"
  2869. ],
  2870. "summary": "获取企业风管期货持仓头寸信息",
  2871. "parameters": [
  2872. {
  2873. "type": "integer",
  2874. "description": "资金账户ID",
  2875. "name": "accountID",
  2876. "in": "query",
  2877. "required": true
  2878. },
  2879. {
  2880. "type": "integer",
  2881. "description": "所属市场ID",
  2882. "name": "marketID",
  2883. "in": "query"
  2884. }
  2885. ],
  2886. "responses": {
  2887. "200": {
  2888. "description": "OK",
  2889. "schema": {
  2890. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2891. }
  2892. },
  2893. "500": {
  2894. "description": "Internal Server Error",
  2895. "schema": {
  2896. "$ref": "#/definitions/app.Response"
  2897. }
  2898. }
  2899. }
  2900. }
  2901. },
  2902. "/Ermcp/QueryExposureDetail": {
  2903. "get": {
  2904. "security": [
  2905. {
  2906. "ApiKeyAuth": []
  2907. }
  2908. ],
  2909. "produces": [
  2910. "application/json"
  2911. ],
  2912. "tags": [
  2913. "企业风险管理(app)"
  2914. ],
  2915. "summary": "查询敞口现货明细",
  2916. "parameters": [
  2917. {
  2918. "type": "integer",
  2919. "description": "所属机构ID",
  2920. "name": "areaUserId",
  2921. "in": "query",
  2922. "required": true
  2923. },
  2924. {
  2925. "type": "integer",
  2926. "description": "套保商品",
  2927. "name": "middleGoodsId",
  2928. "in": "query",
  2929. "required": true
  2930. }
  2931. ],
  2932. "responses": {
  2933. "200": {
  2934. "description": "OK",
  2935. "schema": {
  2936. "type": "array",
  2937. "items": {
  2938. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2939. }
  2940. }
  2941. },
  2942. "500": {
  2943. "description": "Internal Server Error",
  2944. "schema": {
  2945. "$ref": "#/definitions/app.Response"
  2946. }
  2947. }
  2948. }
  2949. }
  2950. },
  2951. "/Ermcp/QueryExposureHedgePosition": {
  2952. "get": {
  2953. "security": [
  2954. {
  2955. "ApiKeyAuth": []
  2956. }
  2957. ],
  2958. "produces": [
  2959. "application/json"
  2960. ],
  2961. "tags": [
  2962. "企业风险管理(app)"
  2963. ],
  2964. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2965. "parameters": [
  2966. {
  2967. "type": "integer",
  2968. "description": "所属机构ID",
  2969. "name": "areaUserId",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryExposureHedgePositionDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "所属机构ID",
  3011. "name": "areaUserId",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "商品id",
  3018. "name": "goodsId",
  3019. "in": "query",
  3020. "required": true
  3021. }
  3022. ],
  3023. "responses": {
  3024. "200": {
  3025. "description": "OK",
  3026. "schema": {
  3027. "type": "array",
  3028. "items": {
  3029. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3030. }
  3031. }
  3032. },
  3033. "500": {
  3034. "description": "Internal Server Error",
  3035. "schema": {
  3036. "$ref": "#/definitions/app.Response"
  3037. }
  3038. }
  3039. }
  3040. }
  3041. },
  3042. "/Ermcp/QueryExposureSpot": {
  3043. "get": {
  3044. "security": [
  3045. {
  3046. "ApiKeyAuth": []
  3047. }
  3048. ],
  3049. "produces": [
  3050. "application/json"
  3051. ],
  3052. "tags": [
  3053. "企业风险管理(app)"
  3054. ],
  3055. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3056. "parameters": [
  3057. {
  3058. "type": "integer",
  3059. "description": "所属机构ID",
  3060. "name": "areaUserId",
  3061. "in": "query",
  3062. "required": true
  3063. }
  3064. ],
  3065. "responses": {
  3066. "200": {
  3067. "description": "OK",
  3068. "schema": {
  3069. "type": "array",
  3070. "items": {
  3071. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3072. }
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "Internal Server Error",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "/Ermcp/QueryExposureSpotDetail": {
  3085. "get": {
  3086. "security": [
  3087. {
  3088. "ApiKeyAuth": []
  3089. }
  3090. ],
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "企业风险管理(app)"
  3096. ],
  3097. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3098. "parameters": [
  3099. {
  3100. "type": "integer",
  3101. "description": "所属机构ID",
  3102. "name": "areaUserId",
  3103. "in": "query",
  3104. "required": true
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "现货品种ID",
  3109. "name": "wrstandardId",
  3110. "in": "query",
  3111. "required": true
  3112. }
  3113. ],
  3114. "responses": {
  3115. "200": {
  3116. "description": "OK",
  3117. "schema": {
  3118. "type": "array",
  3119. "items": {
  3120. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3121. }
  3122. }
  3123. },
  3124. "500": {
  3125. "description": "Internal Server Error",
  3126. "schema": {
  3127. "$ref": "#/definitions/app.Response"
  3128. }
  3129. }
  3130. }
  3131. }
  3132. },
  3133. "/Ermcp/QueryFuturesCompany": {
  3134. "get": {
  3135. "security": [
  3136. {
  3137. "ApiKeyAuth": []
  3138. }
  3139. ],
  3140. "produces": [
  3141. "application/json"
  3142. ],
  3143. "tags": [
  3144. "企业风险管理(app)"
  3145. ],
  3146. "summary": "查询期货公司",
  3147. "responses": {
  3148. "200": {
  3149. "description": "OK",
  3150. "schema": {
  3151. "type": "array",
  3152. "items": {
  3153. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3154. }
  3155. }
  3156. },
  3157. "500": {
  3158. "description": "Internal Server Error",
  3159. "schema": {
  3160. "$ref": "#/definitions/app.Response"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. },
  3166. "/Ermcp/QueryGGConvertConfig": {
  3167. "get": {
  3168. "security": [
  3169. {
  3170. "ApiKeyAuth": []
  3171. }
  3172. ],
  3173. "produces": [
  3174. "application/json"
  3175. ],
  3176. "tags": [
  3177. "企业风险管理(app)"
  3178. ],
  3179. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3180. "parameters": [
  3181. {
  3182. "type": "integer",
  3183. "description": "品种id(不填则查所有)",
  3184. "name": "goodsgroupid",
  3185. "in": "query"
  3186. }
  3187. ],
  3188. "responses": {
  3189. "200": {
  3190. "description": "OK",
  3191. "schema": {
  3192. "type": "array",
  3193. "items": {
  3194. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3195. }
  3196. }
  3197. },
  3198. "500": {
  3199. "description": "Internal Server Error",
  3200. "schema": {
  3201. "$ref": "#/definitions/app.Response"
  3202. }
  3203. }
  3204. }
  3205. }
  3206. },
  3207. "/Ermcp/QueryGoodsBrand": {
  3208. "get": {
  3209. "security": [
  3210. {
  3211. "ApiKeyAuth": []
  3212. }
  3213. ],
  3214. "produces": [
  3215. "application/json"
  3216. ],
  3217. "tags": [
  3218. "企业风险管理(app)"
  3219. ],
  3220. "summary": "查询商品品牌",
  3221. "parameters": [
  3222. {
  3223. "type": "integer",
  3224. "description": "用户ID",
  3225. "name": "userid",
  3226. "in": "query",
  3227. "required": true
  3228. },
  3229. {
  3230. "type": "integer",
  3231. "description": "现货商品ID",
  3232. "name": "wrstandardid",
  3233. "in": "query"
  3234. }
  3235. ],
  3236. "responses": {
  3237. "200": {
  3238. "description": "OK",
  3239. "schema": {
  3240. "type": "array",
  3241. "items": {
  3242. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3243. }
  3244. }
  3245. },
  3246. "500": {
  3247. "description": "Internal Server Error",
  3248. "schema": {
  3249. "$ref": "#/definitions/app.Response"
  3250. }
  3251. }
  3252. }
  3253. }
  3254. },
  3255. "/Ermcp/QueryGoodsModel": {
  3256. "get": {
  3257. "security": [
  3258. {
  3259. "ApiKeyAuth": []
  3260. }
  3261. ],
  3262. "produces": [
  3263. "application/json"
  3264. ],
  3265. "tags": [
  3266. "企业风险管理(app)"
  3267. ],
  3268. "summary": "查询商品型号",
  3269. "parameters": [
  3270. {
  3271. "type": "integer",
  3272. "description": "用户ID",
  3273. "name": "userid",
  3274. "in": "query",
  3275. "required": true
  3276. }
  3277. ],
  3278. "responses": {
  3279. "200": {
  3280. "description": "OK",
  3281. "schema": {
  3282. "type": "array",
  3283. "items": {
  3284. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3285. }
  3286. }
  3287. },
  3288. "500": {
  3289. "description": "Internal Server Error",
  3290. "schema": {
  3291. "$ref": "#/definitions/app.Response"
  3292. }
  3293. }
  3294. }
  3295. }
  3296. },
  3297. "/Ermcp/QueryHedgePlan": {
  3298. "get": {
  3299. "security": [
  3300. {
  3301. "ApiKeyAuth": []
  3302. }
  3303. ],
  3304. "produces": [
  3305. "application/json"
  3306. ],
  3307. "tags": [
  3308. "企业风险管理(app)"
  3309. ],
  3310. "summary": "查询套保计划",
  3311. "parameters": [
  3312. {
  3313. "type": "integer",
  3314. "description": "用户ID",
  3315. "name": "userId",
  3316. "in": "query",
  3317. "required": true
  3318. },
  3319. {
  3320. "type": "string",
  3321. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3322. "name": "HedgePlanStatus",
  3323. "in": "query",
  3324. "required": true
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp/QueryHisExposure": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理(app)"
  3358. ],
  3359. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "所属机构ID",
  3364. "name": "areaUserId",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "每个品种记录数",
  3371. "name": "lastNum",
  3372. "in": "query",
  3373. "required": true
  3374. }
  3375. ],
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "type": "array",
  3381. "items": {
  3382. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3383. }
  3384. }
  3385. },
  3386. "500": {
  3387. "description": "Internal Server Error",
  3388. "schema": {
  3389. "$ref": "#/definitions/app.Response"
  3390. }
  3391. }
  3392. }
  3393. }
  3394. },
  3395. "/Ermcp/QueryMiddleGoods": {
  3396. "get": {
  3397. "security": [
  3398. {
  3399. "ApiKeyAuth": []
  3400. }
  3401. ],
  3402. "produces": [
  3403. "application/json"
  3404. ],
  3405. "tags": [
  3406. "企业风险管理(app)"
  3407. ],
  3408. "summary": "查询套保品种(菜单:套保品种)",
  3409. "parameters": [
  3410. {
  3411. "type": "integer",
  3412. "description": "所属机构ID",
  3413. "name": "userid",
  3414. "in": "query",
  3415. "required": true
  3416. },
  3417. {
  3418. "type": "integer",
  3419. "description": "状态 0-停用 1-正常",
  3420. "name": "status",
  3421. "in": "query",
  3422. "required": true
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理(app)"
  3456. ],
  3457. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "所属机构ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "套保品种id",
  3469. "name": "middlegoodsid",
  3470. "in": "query",
  3471. "required": true
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "OK",
  3477. "schema": {
  3478. "type": "array",
  3479. "items": {
  3480. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3481. }
  3482. }
  3483. },
  3484. "500": {
  3485. "description": "Internal Server Error",
  3486. "schema": {
  3487. "$ref": "#/definitions/app.Response"
  3488. }
  3489. }
  3490. }
  3491. }
  3492. },
  3493. "/Ermcp/QueryMiddleGoodsDetail": {
  3494. "get": {
  3495. "security": [
  3496. {
  3497. "ApiKeyAuth": []
  3498. }
  3499. ],
  3500. "produces": [
  3501. "application/json"
  3502. ],
  3503. "tags": [
  3504. "企业风险管理(app)"
  3505. ],
  3506. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3507. "parameters": [
  3508. {
  3509. "type": "integer",
  3510. "description": "所属机构ID",
  3511. "name": "userid",
  3512. "in": "query",
  3513. "required": true
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "套保品种id",
  3518. "name": "middlegoodsid",
  3519. "in": "query"
  3520. }
  3521. ],
  3522. "responses": {
  3523. "200": {
  3524. "description": "OK",
  3525. "schema": {
  3526. "type": "array",
  3527. "items": {
  3528. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3529. }
  3530. }
  3531. },
  3532. "500": {
  3533. "description": "Internal Server Error",
  3534. "schema": {
  3535. "$ref": "#/definitions/app.Response"
  3536. }
  3537. }
  3538. }
  3539. }
  3540. },
  3541. "/Ermcp/QueryPendingAuditInfo": {
  3542. "get": {
  3543. "security": [
  3544. {
  3545. "ApiKeyAuth": []
  3546. }
  3547. ],
  3548. "produces": [
  3549. "application/json"
  3550. ],
  3551. "tags": [
  3552. "企业风险管理(app)"
  3553. ],
  3554. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3555. "parameters": [
  3556. {
  3557. "type": "integer",
  3558. "description": "用户ID",
  3559. "name": "UserId",
  3560. "in": "query",
  3561. "required": true
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "type": "array",
  3569. "items": {
  3570. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3571. }
  3572. }
  3573. },
  3574. "500": {
  3575. "description": "Internal Server Error",
  3576. "schema": {
  3577. "$ref": "#/definitions/app.Response"
  3578. }
  3579. }
  3580. }
  3581. }
  3582. },
  3583. "/Ermcp/QueryRealtimeExposure": {
  3584. "get": {
  3585. "security": [
  3586. {
  3587. "ApiKeyAuth": []
  3588. }
  3589. ],
  3590. "produces": [
  3591. "application/json"
  3592. ],
  3593. "tags": [
  3594. "企业风险管理(app)"
  3595. ],
  3596. "summary": "查询实时敞口",
  3597. "parameters": [
  3598. {
  3599. "type": "integer",
  3600. "description": "所属机构ID",
  3601. "name": "AreaUserID",
  3602. "in": "query",
  3603. "required": true
  3604. }
  3605. ],
  3606. "responses": {
  3607. "200": {
  3608. "description": "OK",
  3609. "schema": {
  3610. "type": "array",
  3611. "items": {
  3612. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3613. }
  3614. }
  3615. },
  3616. "500": {
  3617. "description": "Internal Server Error",
  3618. "schema": {
  3619. "$ref": "#/definitions/app.Response"
  3620. }
  3621. }
  3622. }
  3623. }
  3624. },
  3625. "/Ermcp/QueryRealtimeExposurePosition": {
  3626. "get": {
  3627. "security": [
  3628. {
  3629. "ApiKeyAuth": []
  3630. }
  3631. ],
  3632. "produces": [
  3633. "application/json"
  3634. ],
  3635. "tags": [
  3636. "企业风险管理(app)"
  3637. ],
  3638. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3639. "parameters": [
  3640. {
  3641. "type": "integer",
  3642. "description": "所属机构ID",
  3643. "name": "areaUserId",
  3644. "in": "query",
  3645. "required": true
  3646. },
  3647. {
  3648. "type": "integer",
  3649. "description": "套保商品ID",
  3650. "name": "middleGoodsId",
  3651. "in": "query",
  3652. "required": true
  3653. }
  3654. ],
  3655. "responses": {
  3656. "200": {
  3657. "description": "OK",
  3658. "schema": {
  3659. "type": "array",
  3660. "items": {
  3661. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3662. }
  3663. }
  3664. },
  3665. "500": {
  3666. "description": "Internal Server Error",
  3667. "schema": {
  3668. "$ref": "#/definitions/app.Response"
  3669. }
  3670. }
  3671. }
  3672. }
  3673. },
  3674. "/Ermcp/QuerySpotContract": {
  3675. "get": {
  3676. "security": [
  3677. {
  3678. "ApiKeyAuth": []
  3679. }
  3680. ],
  3681. "produces": [
  3682. "application/json"
  3683. ],
  3684. "tags": [
  3685. "企业风险管理(app)"
  3686. ],
  3687. "summary": "查询现货合同(对应现货合同菜单)",
  3688. "parameters": [
  3689. {
  3690. "type": "integer",
  3691. "description": "用户ID",
  3692. "name": "userId",
  3693. "in": "query",
  3694. "required": true
  3695. },
  3696. {
  3697. "type": "integer",
  3698. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3699. "name": "QueryType",
  3700. "in": "query",
  3701. "required": true
  3702. }
  3703. ],
  3704. "responses": {
  3705. "200": {
  3706. "description": "OK",
  3707. "schema": {
  3708. "type": "array",
  3709. "items": {
  3710. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3711. }
  3712. }
  3713. },
  3714. "500": {
  3715. "description": "Internal Server Error",
  3716. "schema": {
  3717. "$ref": "#/definitions/app.Response"
  3718. }
  3719. }
  3720. }
  3721. }
  3722. },
  3723. "/Ermcp/QuerySpotGoodsPrice": {
  3724. "get": {
  3725. "security": [
  3726. {
  3727. "ApiKeyAuth": []
  3728. }
  3729. ],
  3730. "produces": [
  3731. "application/json"
  3732. ],
  3733. "tags": [
  3734. "企业风险管理(app)"
  3735. ],
  3736. "summary": "查询现货市价(现货市价)",
  3737. "parameters": [
  3738. {
  3739. "type": "integer",
  3740. "description": "用户ID",
  3741. "name": "userid",
  3742. "in": "query",
  3743. "required": true
  3744. }
  3745. ],
  3746. "responses": {
  3747. "200": {
  3748. "description": "OK",
  3749. "schema": {
  3750. "type": "array",
  3751. "items": {
  3752. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3753. }
  3754. }
  3755. },
  3756. "500": {
  3757. "description": "Internal Server Error",
  3758. "schema": {
  3759. "$ref": "#/definitions/app.Response"
  3760. }
  3761. }
  3762. }
  3763. }
  3764. },
  3765. "/Ermcp/QuerySpotGoodsPriceLog": {
  3766. "get": {
  3767. "security": [
  3768. {
  3769. "ApiKeyAuth": []
  3770. }
  3771. ],
  3772. "produces": [
  3773. "application/json"
  3774. ],
  3775. "tags": [
  3776. "企业风险管理(app)"
  3777. ],
  3778. "summary": "查询现货市价详情(现货市价/详情)",
  3779. "parameters": [
  3780. {
  3781. "type": "integer",
  3782. "description": "用户ID",
  3783. "name": "userid",
  3784. "in": "query",
  3785. "required": true
  3786. },
  3787. {
  3788. "type": "integer",
  3789. "description": "现货商品ID",
  3790. "name": "wrstandardid",
  3791. "in": "query",
  3792. "required": true
  3793. }
  3794. ],
  3795. "responses": {
  3796. "200": {
  3797. "description": "OK",
  3798. "schema": {
  3799. "type": "array",
  3800. "items": {
  3801. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3802. }
  3803. }
  3804. },
  3805. "500": {
  3806. "description": "Internal Server Error",
  3807. "schema": {
  3808. "$ref": "#/definitions/app.Response"
  3809. }
  3810. }
  3811. }
  3812. }
  3813. },
  3814. "/Ermcp/QueryTradeConfigTMP": {
  3815. "get": {
  3816. "security": [
  3817. {
  3818. "ApiKeyAuth": []
  3819. }
  3820. ],
  3821. "produces": [
  3822. "application/json"
  3823. ],
  3824. "tags": [
  3825. "企业风险管理(app)"
  3826. ],
  3827. "summary": "查询交易模板配置",
  3828. "parameters": [
  3829. {
  3830. "type": "integer",
  3831. "description": "所属机构id",
  3832. "name": "areauserid",
  3833. "in": "query"
  3834. }
  3835. ],
  3836. "responses": {
  3837. "200": {
  3838. "description": "OK",
  3839. "schema": {
  3840. "type": "array",
  3841. "items": {
  3842. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3843. }
  3844. }
  3845. },
  3846. "500": {
  3847. "description": "Internal Server Error",
  3848. "schema": {
  3849. "$ref": "#/definitions/app.Response"
  3850. }
  3851. }
  3852. }
  3853. }
  3854. },
  3855. "/Ermcp/QueryUserInfo": {
  3856. "get": {
  3857. "security": [
  3858. {
  3859. "ApiKeyAuth": []
  3860. }
  3861. ],
  3862. "produces": [
  3863. "application/json"
  3864. ],
  3865. "tags": [
  3866. "企业风险管理(app)"
  3867. ],
  3868. "summary": "查询客户资料",
  3869. "parameters": [
  3870. {
  3871. "type": "integer",
  3872. "description": "所属机构用户ID",
  3873. "name": "MemberUserID",
  3874. "in": "query",
  3875. "required": true
  3876. },
  3877. {
  3878. "type": "integer",
  3879. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3880. "name": "queryType",
  3881. "in": "query",
  3882. "required": true
  3883. }
  3884. ],
  3885. "responses": {
  3886. "200": {
  3887. "description": "OK",
  3888. "schema": {
  3889. "type": "array",
  3890. "items": {
  3891. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3892. }
  3893. }
  3894. },
  3895. "500": {
  3896. "description": "Internal Server Error",
  3897. "schema": {
  3898. "$ref": "#/definitions/app.Response"
  3899. }
  3900. }
  3901. }
  3902. }
  3903. },
  3904. "/Ermcp/QueryWarehouseInfo": {
  3905. "get": {
  3906. "security": [
  3907. {
  3908. "ApiKeyAuth": []
  3909. }
  3910. ],
  3911. "produces": [
  3912. "application/json"
  3913. ],
  3914. "tags": [
  3915. "企业风险管理(app)"
  3916. ],
  3917. "summary": "查询仓库信息",
  3918. "parameters": [
  3919. {
  3920. "type": "integer",
  3921. "description": "用户ID",
  3922. "name": "userid",
  3923. "in": "query",
  3924. "required": true
  3925. },
  3926. {
  3927. "type": "string",
  3928. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3929. "name": "status",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "type": "array",
  3938. "items": {
  3939. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3940. }
  3941. }
  3942. },
  3943. "500": {
  3944. "description": "Internal Server Error",
  3945. "schema": {
  3946. "$ref": "#/definitions/app.Response"
  3947. }
  3948. }
  3949. }
  3950. }
  3951. },
  3952. "/Ermcp/QueryWrStandard": {
  3953. "get": {
  3954. "security": [
  3955. {
  3956. "ApiKeyAuth": []
  3957. }
  3958. ],
  3959. "produces": [
  3960. "application/json"
  3961. ],
  3962. "tags": [
  3963. "企业风险管理(app)"
  3964. ],
  3965. "summary": "查询现货商品",
  3966. "parameters": [
  3967. {
  3968. "type": "integer",
  3969. "description": "所属机构ID",
  3970. "name": "userid",
  3971. "in": "query",
  3972. "required": true
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "状态 0-停用 1-正常",
  3977. "name": "status",
  3978. "in": "query",
  3979. "required": true
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp/QueryWrStandardDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理(app)"
  4013. ],
  4014. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "所属机构ID",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "现货商品ID",
  4026. "name": "wrstandardid",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "可不填, 1-查询关联交易商品",
  4032. "name": "goods",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QryReportAreaSpotPL": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询现货损益报表(现货损益报表)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户ID",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "查询类型 1-日报表 2-月报表",
  4080. "name": "querytype",
  4081. "in": "query",
  4082. "required": true
  4083. },
  4084. {
  4085. "type": "string",
  4086. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4087. "name": "querydate",
  4088. "in": "query",
  4089. "required": true
  4090. },
  4091. {
  4092. "type": "integer",
  4093. "description": "现货商品ID",
  4094. "name": "deliverygoodsid",
  4095. "in": "query"
  4096. },
  4097. {
  4098. "type": "integer",
  4099. "description": "品牌ID",
  4100. "name": "spotgoodsbrandid",
  4101. "in": "query"
  4102. },
  4103. {
  4104. "type": "integer",
  4105. "description": "品类ID",
  4106. "name": "wrstandardid",
  4107. "in": "query"
  4108. }
  4109. ],
  4110. "responses": {
  4111. "200": {
  4112. "description": "OK",
  4113. "schema": {
  4114. "type": "array",
  4115. "items": {
  4116. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4117. }
  4118. }
  4119. },
  4120. "500": {
  4121. "description": "Internal Server Error",
  4122. "schema": {
  4123. "$ref": "#/definitions/app.Response"
  4124. }
  4125. }
  4126. }
  4127. }
  4128. },
  4129. "/Ermcp3/QryReportDayFinanceFp": {
  4130. "get": {
  4131. "security": [
  4132. {
  4133. "ApiKeyAuth": []
  4134. }
  4135. ],
  4136. "produces": [
  4137. "application/json"
  4138. ],
  4139. "tags": [
  4140. "企业风险管理v3(app)"
  4141. ],
  4142. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4143. "parameters": [
  4144. {
  4145. "type": "integer",
  4146. "description": "用户ID",
  4147. "name": "userid",
  4148. "in": "query",
  4149. "required": true
  4150. },
  4151. {
  4152. "type": "string",
  4153. "description": "交易日(格式:yyyyMMdd)",
  4154. "name": "tradedate",
  4155. "in": "query",
  4156. "required": true
  4157. }
  4158. ],
  4159. "responses": {
  4160. "200": {
  4161. "description": "OK",
  4162. "schema": {
  4163. "type": "array",
  4164. "items": {
  4165. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4166. }
  4167. }
  4168. },
  4169. "500": {
  4170. "description": "Internal Server Error",
  4171. "schema": {
  4172. "$ref": "#/definitions/app.Response"
  4173. }
  4174. }
  4175. }
  4176. }
  4177. },
  4178. "/Ermcp3/QryReportDayFinanceKx": {
  4179. "get": {
  4180. "security": [
  4181. {
  4182. "ApiKeyAuth": []
  4183. }
  4184. ],
  4185. "produces": [
  4186. "application/json"
  4187. ],
  4188. "tags": [
  4189. "企业风险管理v3(app)"
  4190. ],
  4191. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4192. "parameters": [
  4193. {
  4194. "type": "integer",
  4195. "description": "用户ID",
  4196. "name": "userid",
  4197. "in": "query",
  4198. "required": true
  4199. },
  4200. {
  4201. "type": "string",
  4202. "description": "交易日(格式:yyyyMMdd)",
  4203. "name": "tradedate",
  4204. "in": "query",
  4205. "required": true
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "type": "array",
  4213. "items": {
  4214. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4215. }
  4216. }
  4217. },
  4218. "500": {
  4219. "description": "Internal Server Error",
  4220. "schema": {
  4221. "$ref": "#/definitions/app.Response"
  4222. }
  4223. }
  4224. }
  4225. }
  4226. },
  4227. "/Ermcp3/QryReportDaySpot": {
  4228. "get": {
  4229. "security": [
  4230. {
  4231. "ApiKeyAuth": []
  4232. }
  4233. ],
  4234. "produces": [
  4235. "application/json"
  4236. ],
  4237. "tags": [
  4238. "企业风险管理v3(app)"
  4239. ],
  4240. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4241. "parameters": [
  4242. {
  4243. "type": "integer",
  4244. "description": "所属机构id",
  4245. "name": "areauserid",
  4246. "in": "query",
  4247. "required": true
  4248. },
  4249. {
  4250. "type": "string",
  4251. "description": "交易日(格式:yyyyMMdd)",
  4252. "name": "reckondate",
  4253. "in": "query",
  4254. "required": true
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": "期货账户ID",
  4259. "name": "accountid",
  4260. "in": "query"
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": "现货品种ID",
  4265. "name": "deliverygoodsid",
  4266. "in": "query"
  4267. },
  4268. {
  4269. "type": "integer",
  4270. "description": "品类ID",
  4271. "name": "wrstandardid",
  4272. "in": "query"
  4273. },
  4274. {
  4275. "type": "integer",
  4276. "description": "现货品牌ID",
  4277. "name": "spotgoodsbrandid",
  4278. "in": "query"
  4279. }
  4280. ],
  4281. "responses": {
  4282. "200": {
  4283. "description": "OK",
  4284. "schema": {
  4285. "type": "array",
  4286. "items": {
  4287. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  4288. }
  4289. }
  4290. },
  4291. "500": {
  4292. "description": "Internal Server Error",
  4293. "schema": {
  4294. "$ref": "#/definitions/app.Response"
  4295. }
  4296. }
  4297. }
  4298. }
  4299. },
  4300. "/Ermcp3/QryReportDaySpotDetail": {
  4301. "get": {
  4302. "security": [
  4303. {
  4304. "ApiKeyAuth": []
  4305. }
  4306. ],
  4307. "produces": [
  4308. "application/json"
  4309. ],
  4310. "tags": [
  4311. "企业风险管理v3(app)"
  4312. ],
  4313. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4314. "parameters": [
  4315. {
  4316. "type": "integer",
  4317. "description": "用户ID",
  4318. "name": "userid",
  4319. "in": "query",
  4320. "required": true
  4321. },
  4322. {
  4323. "type": "integer",
  4324. "description": "现货商品id",
  4325. "name": "deliverygoodsid",
  4326. "in": "query",
  4327. "required": true
  4328. },
  4329. {
  4330. "type": "string",
  4331. "description": "交易日(格式:yyyyMMdd)",
  4332. "name": "tradedate",
  4333. "in": "query",
  4334. "required": true
  4335. },
  4336. {
  4337. "type": "integer",
  4338. "description": "品类ID",
  4339. "name": "wrstandardid",
  4340. "in": "query"
  4341. },
  4342. {
  4343. "type": "integer",
  4344. "description": "现货品牌ID",
  4345. "name": "spotgoodsbrandid",
  4346. "in": "query"
  4347. }
  4348. ],
  4349. "responses": {
  4350. "200": {
  4351. "description": "OK",
  4352. "schema": {
  4353. "type": "array",
  4354. "items": {
  4355. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4356. }
  4357. }
  4358. },
  4359. "500": {
  4360. "description": "Internal Server Error",
  4361. "schema": {
  4362. "$ref": "#/definitions/app.Response"
  4363. }
  4364. }
  4365. }
  4366. }
  4367. },
  4368. "/Ermcp3/QryReportMonthSpot": {
  4369. "get": {
  4370. "security": [
  4371. {
  4372. "ApiKeyAuth": []
  4373. }
  4374. ],
  4375. "produces": [
  4376. "application/json"
  4377. ],
  4378. "tags": [
  4379. "企业风险管理v3(app)"
  4380. ],
  4381. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4382. "parameters": [
  4383. {
  4384. "type": "integer",
  4385. "description": "所属机构id",
  4386. "name": "areauserid",
  4387. "in": "query",
  4388. "required": true
  4389. },
  4390. {
  4391. "type": "integer",
  4392. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4393. "name": "cycletype",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "string",
  4399. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4400. "name": "cycletime",
  4401. "in": "query",
  4402. "required": true
  4403. },
  4404. {
  4405. "type": "integer",
  4406. "description": "期货账户ID",
  4407. "name": "accountid",
  4408. "in": "query"
  4409. },
  4410. {
  4411. "type": "integer",
  4412. "description": "现货品种ID",
  4413. "name": "deliverygoodsid",
  4414. "in": "query"
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "品类ID",
  4419. "name": "wrstandardid",
  4420. "in": "query"
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "现货品牌ID",
  4425. "name": "spotgoodsbrandid",
  4426. "in": "query"
  4427. }
  4428. ],
  4429. "responses": {
  4430. "200": {
  4431. "description": "OK",
  4432. "schema": {
  4433. "type": "array",
  4434. "items": {
  4435. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4436. }
  4437. }
  4438. },
  4439. "500": {
  4440. "description": "Internal Server Error",
  4441. "schema": {
  4442. "$ref": "#/definitions/app.Response"
  4443. }
  4444. }
  4445. }
  4446. }
  4447. },
  4448. "/Ermcp3/QryReportMonthSpotDetail": {
  4449. "get": {
  4450. "security": [
  4451. {
  4452. "ApiKeyAuth": []
  4453. }
  4454. ],
  4455. "produces": [
  4456. "application/json"
  4457. ],
  4458. "tags": [
  4459. "企业风险管理v3(app)"
  4460. ],
  4461. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4462. "parameters": [
  4463. {
  4464. "type": "integer",
  4465. "description": "所属机构id",
  4466. "name": "areauserid",
  4467. "in": "query",
  4468. "required": true
  4469. },
  4470. {
  4471. "type": "integer",
  4472. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4473. "name": "cycletype",
  4474. "in": "query",
  4475. "required": true
  4476. },
  4477. {
  4478. "type": "string",
  4479. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4480. "name": "cycletime",
  4481. "in": "query",
  4482. "required": true
  4483. },
  4484. {
  4485. "type": "integer",
  4486. "description": "期货账户ID",
  4487. "name": "accountid",
  4488. "in": "query"
  4489. },
  4490. {
  4491. "type": "integer",
  4492. "description": "现货品种ID",
  4493. "name": "deliverygoodsid",
  4494. "in": "query"
  4495. },
  4496. {
  4497. "type": "integer",
  4498. "description": "品类ID",
  4499. "name": "wrstandardid",
  4500. "in": "query"
  4501. },
  4502. {
  4503. "type": "integer",
  4504. "description": "现货品牌ID",
  4505. "name": "spotgoodsbrandid",
  4506. "in": "query"
  4507. }
  4508. ],
  4509. "responses": {
  4510. "200": {
  4511. "description": "OK",
  4512. "schema": {
  4513. "type": "array",
  4514. "items": {
  4515. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4516. }
  4517. }
  4518. },
  4519. "500": {
  4520. "description": "Internal Server Error",
  4521. "schema": {
  4522. "$ref": "#/definitions/app.Response"
  4523. }
  4524. }
  4525. }
  4526. }
  4527. },
  4528. "/Ermcp3/QueryAreaStock": {
  4529. "get": {
  4530. "security": [
  4531. {
  4532. "ApiKeyAuth": []
  4533. }
  4534. ],
  4535. "produces": [
  4536. "application/json"
  4537. ],
  4538. "tags": [
  4539. "企业风险管理v3(app)"
  4540. ],
  4541. "summary": "查询机构库存(库存管理/当前库存)",
  4542. "parameters": [
  4543. {
  4544. "type": "integer",
  4545. "description": "用户ID",
  4546. "name": "userid",
  4547. "in": "query",
  4548. "required": true
  4549. }
  4550. ],
  4551. "responses": {
  4552. "200": {
  4553. "description": "OK",
  4554. "schema": {
  4555. "type": "array",
  4556. "items": {
  4557. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4558. }
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Ermcp3/QueryAreaStockApply": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "企业风险管理v3(app)"
  4582. ],
  4583. "summary": "查询库存申请(出入库记录|库存审核)",
  4584. "parameters": [
  4585. {
  4586. "type": "integer",
  4587. "description": "用户ID",
  4588. "name": "userid",
  4589. "in": "query",
  4590. "required": true
  4591. },
  4592. {
  4593. "type": "integer",
  4594. "description": "现货商品ID",
  4595. "name": "deliverygoodsid",
  4596. "in": "query"
  4597. },
  4598. {
  4599. "type": "string",
  4600. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4601. "name": "inouttype",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "integer",
  4606. "description": "合同ID",
  4607. "name": "spotcontractid",
  4608. "in": "query"
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "品类ID",
  4613. "name": "wrstandardid",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "品牌ID",
  4619. "name": "spotgoodsbrandid",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "仓库ID",
  4625. "name": "warehouseinfoid",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "string",
  4630. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4631. "name": "applystatus",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "type": "array",
  4640. "items": {
  4641. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4642. }
  4643. }
  4644. },
  4645. "500": {
  4646. "description": "Internal Server Error",
  4647. "schema": {
  4648. "$ref": "#/definitions/app.Response"
  4649. }
  4650. }
  4651. }
  4652. }
  4653. },
  4654. "/Ermcp3/QueryAreaStockApplySum": {
  4655. "get": {
  4656. "security": [
  4657. {
  4658. "ApiKeyAuth": []
  4659. }
  4660. ],
  4661. "produces": [
  4662. "application/json"
  4663. ],
  4664. "tags": [
  4665. "企业风险管理v3(app)"
  4666. ],
  4667. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4668. "parameters": [
  4669. {
  4670. "type": "integer",
  4671. "description": "合同ID",
  4672. "name": "spotcontractid",
  4673. "in": "query"
  4674. }
  4675. ],
  4676. "responses": {
  4677. "200": {
  4678. "description": "OK",
  4679. "schema": {
  4680. "type": "array",
  4681. "items": {
  4682. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4683. }
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/Ermcp3/QueryAreaStockReport": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "企业风险管理v3(app)"
  4707. ],
  4708. "summary": "查询库存报表",
  4709. "parameters": [
  4710. {
  4711. "type": "integer",
  4712. "description": "用户ID",
  4713. "name": "userid",
  4714. "in": "query",
  4715. "required": true
  4716. },
  4717. {
  4718. "type": "integer",
  4719. "description": "查询类型 1-日报表 2-月报表",
  4720. "name": "querytype",
  4721. "in": "query",
  4722. "required": true
  4723. },
  4724. {
  4725. "type": "string",
  4726. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4727. "name": "querydate",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "integer",
  4733. "description": "现货商品ID",
  4734. "name": "deliverygoodsid",
  4735. "in": "query"
  4736. },
  4737. {
  4738. "type": "integer",
  4739. "description": "品类ID",
  4740. "name": "wrstandardid",
  4741. "in": "query"
  4742. },
  4743. {
  4744. "type": "integer",
  4745. "description": "品牌ID",
  4746. "name": "spotgoodsbrandid",
  4747. "in": "query"
  4748. },
  4749. {
  4750. "type": "integer",
  4751. "description": "仓库ID",
  4752. "name": "warehouseinfoid",
  4753. "in": "query"
  4754. }
  4755. ],
  4756. "responses": {
  4757. "200": {
  4758. "description": "OK",
  4759. "schema": {
  4760. "type": "array",
  4761. "items": {
  4762. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4763. }
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/Ermcp3/QueryAreaStockReportDetail": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "企业风险管理v3(app)"
  4787. ],
  4788. "summary": "查询库存报表明细",
  4789. "parameters": [
  4790. {
  4791. "type": "integer",
  4792. "description": "用户ID",
  4793. "name": "userid",
  4794. "in": "query",
  4795. "required": true
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "查询类型 1-日报表明细 2-月报表明细",
  4800. "name": "querytype",
  4801. "in": "query",
  4802. "required": true
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4807. "name": "detailtype",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4814. "name": "querydate",
  4815. "in": "query",
  4816. "required": true
  4817. },
  4818. {
  4819. "type": "integer",
  4820. "description": "现货商品ID",
  4821. "name": "deliverygoodsid",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "品类ID",
  4827. "name": "wrstandardid",
  4828. "in": "query"
  4829. },
  4830. {
  4831. "type": "integer",
  4832. "description": "品牌ID",
  4833. "name": "spotgoodsbrandid",
  4834. "in": "query"
  4835. },
  4836. {
  4837. "type": "integer",
  4838. "description": "仓库ID",
  4839. "name": "warehouseinfoid",
  4840. "in": "query"
  4841. }
  4842. ],
  4843. "responses": {
  4844. "200": {
  4845. "description": "OK",
  4846. "schema": {
  4847. "type": "array",
  4848. "items": {
  4849. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4850. }
  4851. }
  4852. },
  4853. "500": {
  4854. "description": "Internal Server Error",
  4855. "schema": {
  4856. "$ref": "#/definitions/app.Response"
  4857. }
  4858. }
  4859. }
  4860. }
  4861. },
  4862. "/Ermcp3/QueryDGFactoryItem": {
  4863. "get": {
  4864. "security": [
  4865. {
  4866. "ApiKeyAuth": []
  4867. }
  4868. ],
  4869. "produces": [
  4870. "application/json"
  4871. ],
  4872. "tags": [
  4873. "企业风险管理v3(app)"
  4874. ],
  4875. "summary": "查询品种要素定义项",
  4876. "parameters": [
  4877. {
  4878. "type": "integer",
  4879. "description": "所属机构ID",
  4880. "name": "areauserid",
  4881. "in": "query"
  4882. },
  4883. {
  4884. "type": "integer",
  4885. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4886. "name": "dgfactoryitemid",
  4887. "in": "query"
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "现货品种ID",
  4892. "name": "deliverygoodsid",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "integer",
  4897. "description": "要素项类型",
  4898. "name": "dgfactoryitemtypeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "integer",
  4903. "description": "顺序",
  4904. "name": "orderindex",
  4905. "in": "query"
  4906. }
  4907. ],
  4908. "responses": {
  4909. "200": {
  4910. "description": "OK",
  4911. "schema": {
  4912. "type": "array",
  4913. "items": {
  4914. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4915. }
  4916. }
  4917. },
  4918. "500": {
  4919. "description": "Internal Server Error",
  4920. "schema": {
  4921. "$ref": "#/definitions/app.Response"
  4922. }
  4923. }
  4924. }
  4925. }
  4926. },
  4927. "/Ermcp3/QueryDeliveryGoods": {
  4928. "get": {
  4929. "security": [
  4930. {
  4931. "ApiKeyAuth": []
  4932. }
  4933. ],
  4934. "produces": [
  4935. "application/json"
  4936. ],
  4937. "tags": [
  4938. "企业风险管理v3(app)"
  4939. ],
  4940. "summary": "查询现货商品",
  4941. "parameters": [
  4942. {
  4943. "type": "integer",
  4944. "description": "所属机构id",
  4945. "name": "areauserid",
  4946. "in": "query",
  4947. "required": true
  4948. },
  4949. {
  4950. "type": "integer",
  4951. "description": "排除已配置的现货商品 1-排除",
  4952. "name": "excludecfg",
  4953. "in": "query"
  4954. }
  4955. ],
  4956. "responses": {
  4957. "200": {
  4958. "description": "OK",
  4959. "schema": {
  4960. "type": "array",
  4961. "items": {
  4962. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4963. }
  4964. }
  4965. },
  4966. "500": {
  4967. "description": "Internal Server Error",
  4968. "schema": {
  4969. "$ref": "#/definitions/app.Response"
  4970. }
  4971. }
  4972. }
  4973. }
  4974. },
  4975. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4976. "get": {
  4977. "security": [
  4978. {
  4979. "ApiKeyAuth": []
  4980. }
  4981. ],
  4982. "produces": [
  4983. "application/json"
  4984. ],
  4985. "tags": [
  4986. "企业风险管理v3(app)"
  4987. ],
  4988. "summary": "查询现货商品详情",
  4989. "parameters": [
  4990. {
  4991. "type": "integer",
  4992. "description": "所属机构id",
  4993. "name": "areauserid",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "现货商品id",
  5000. "name": "deliverygoodsid",
  5001. "in": "query"
  5002. }
  5003. ],
  5004. "responses": {
  5005. "200": {
  5006. "description": "OK",
  5007. "schema": {
  5008. "type": "array",
  5009. "items": {
  5010. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  5011. }
  5012. }
  5013. },
  5014. "500": {
  5015. "description": "Internal Server Error",
  5016. "schema": {
  5017. "$ref": "#/definitions/app.Response"
  5018. }
  5019. }
  5020. }
  5021. }
  5022. },
  5023. "/Ermcp3/QueryExposureDetail": {
  5024. "get": {
  5025. "security": [
  5026. {
  5027. "ApiKeyAuth": []
  5028. }
  5029. ],
  5030. "produces": [
  5031. "application/json"
  5032. ],
  5033. "tags": [
  5034. "企业风险管理v3(app)"
  5035. ],
  5036. "summary": "查询敞口现货明细",
  5037. "parameters": [
  5038. {
  5039. "type": "integer",
  5040. "description": "所属机构ID",
  5041. "name": "areauserid",
  5042. "in": "query",
  5043. "required": true
  5044. },
  5045. {
  5046. "type": "integer",
  5047. "description": "套保商品",
  5048. "name": "middlegoodsid",
  5049. "in": "query",
  5050. "required": true
  5051. }
  5052. ],
  5053. "responses": {
  5054. "200": {
  5055. "description": "OK",
  5056. "schema": {
  5057. "type": "array",
  5058. "items": {
  5059. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  5060. }
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "Internal Server Error",
  5065. "schema": {
  5066. "$ref": "#/definitions/app.Response"
  5067. }
  5068. }
  5069. }
  5070. }
  5071. },
  5072. "/Ermcp3/QueryExposureSpot": {
  5073. "get": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "企业风险管理v3(app)"
  5084. ],
  5085. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  5086. "parameters": [
  5087. {
  5088. "type": "integer",
  5089. "description": "所属机构ID",
  5090. "name": "areauserid",
  5091. "in": "query",
  5092. "required": true
  5093. }
  5094. ],
  5095. "responses": {
  5096. "200": {
  5097. "description": "OK",
  5098. "schema": {
  5099. "type": "array",
  5100. "items": {
  5101. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  5102. }
  5103. }
  5104. },
  5105. "500": {
  5106. "description": "Internal Server Error",
  5107. "schema": {
  5108. "$ref": "#/definitions/app.Response"
  5109. }
  5110. }
  5111. }
  5112. }
  5113. },
  5114. "/Ermcp3/QueryExposureSpotDetail": {
  5115. "get": {
  5116. "security": [
  5117. {
  5118. "ApiKeyAuth": []
  5119. }
  5120. ],
  5121. "produces": [
  5122. "application/json"
  5123. ],
  5124. "tags": [
  5125. "企业风险管理v3(app)"
  5126. ],
  5127. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5128. "parameters": [
  5129. {
  5130. "type": "integer",
  5131. "description": "所属机构ID",
  5132. "name": "areauserid",
  5133. "in": "query",
  5134. "required": true
  5135. },
  5136. {
  5137. "type": "integer",
  5138. "description": "现货品种ID",
  5139. "name": "deliverygoodsid",
  5140. "in": "query",
  5141. "required": true
  5142. }
  5143. ],
  5144. "responses": {
  5145. "200": {
  5146. "description": "OK",
  5147. "schema": {
  5148. "type": "array",
  5149. "items": {
  5150. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5151. }
  5152. }
  5153. },
  5154. "500": {
  5155. "description": "Internal Server Error",
  5156. "schema": {
  5157. "$ref": "#/definitions/app.Response"
  5158. }
  5159. }
  5160. }
  5161. }
  5162. },
  5163. "/Ermcp3/QueryGoodsGroup": {
  5164. "get": {
  5165. "security": [
  5166. {
  5167. "ApiKeyAuth": []
  5168. }
  5169. ],
  5170. "produces": [
  5171. "application/json"
  5172. ],
  5173. "tags": [
  5174. "企业风险管理v3(app)"
  5175. ],
  5176. "summary": "查询期货商品组",
  5177. "parameters": [
  5178. {
  5179. "type": "integer",
  5180. "description": "所属机构id",
  5181. "name": "areauserid",
  5182. "in": "query",
  5183. "required": true
  5184. },
  5185. {
  5186. "type": "integer",
  5187. "description": "排除套保品中已关联的商品组 1-排除",
  5188. "name": "excludecfg",
  5189. "in": "query"
  5190. }
  5191. ],
  5192. "responses": {
  5193. "200": {
  5194. "description": "OK",
  5195. "schema": {
  5196. "type": "array",
  5197. "items": {
  5198. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  5199. }
  5200. }
  5201. },
  5202. "500": {
  5203. "description": "Internal Server Error",
  5204. "schema": {
  5205. "$ref": "#/definitions/app.Response"
  5206. }
  5207. }
  5208. }
  5209. }
  5210. },
  5211. "/Ermcp3/QueryGoodsWrstandard": {
  5212. "get": {
  5213. "security": [
  5214. {
  5215. "ApiKeyAuth": []
  5216. }
  5217. ],
  5218. "produces": [
  5219. "application/json"
  5220. ],
  5221. "tags": [
  5222. "企业风险管理v3(app)"
  5223. ],
  5224. "summary": "查询商品品类",
  5225. "parameters": [
  5226. {
  5227. "type": "integer",
  5228. "description": "所属机构ID",
  5229. "name": "areauserid",
  5230. "in": "query",
  5231. "required": true
  5232. },
  5233. {
  5234. "type": "integer",
  5235. "description": "现货商品id",
  5236. "name": "deliverygoodsid",
  5237. "in": "query"
  5238. }
  5239. ],
  5240. "responses": {
  5241. "200": {
  5242. "description": "OK",
  5243. "schema": {
  5244. "type": "array",
  5245. "items": {
  5246. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5247. }
  5248. }
  5249. },
  5250. "500": {
  5251. "description": "Internal Server Error",
  5252. "schema": {
  5253. "$ref": "#/definitions/app.Response"
  5254. }
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "/Ermcp3/QueryGoodsbrand": {
  5260. "get": {
  5261. "security": [
  5262. {
  5263. "ApiKeyAuth": []
  5264. }
  5265. ],
  5266. "produces": [
  5267. "application/json"
  5268. ],
  5269. "tags": [
  5270. "企业风险管理v3(app)"
  5271. ],
  5272. "summary": "查询商品品牌",
  5273. "parameters": [
  5274. {
  5275. "type": "integer",
  5276. "description": "所属机构ID",
  5277. "name": "areauserid",
  5278. "in": "query",
  5279. "required": true
  5280. }
  5281. ],
  5282. "responses": {
  5283. "200": {
  5284. "description": "OK",
  5285. "schema": {
  5286. "type": "array",
  5287. "items": {
  5288. "$ref": "#/definitions/models.Ermcp3Brand"
  5289. }
  5290. }
  5291. },
  5292. "500": {
  5293. "description": "Internal Server Error",
  5294. "schema": {
  5295. "$ref": "#/definitions/app.Response"
  5296. }
  5297. }
  5298. }
  5299. }
  5300. },
  5301. "/Ermcp3/QueryHedgePlan": {
  5302. "get": {
  5303. "security": [
  5304. {
  5305. "ApiKeyAuth": []
  5306. }
  5307. ],
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询套保计划",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "string",
  5325. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5326. "name": "hedgeplanstatus",
  5327. "in": "query",
  5328. "required": true
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "OK",
  5334. "schema": {
  5335. "type": "array",
  5336. "items": {
  5337. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5338. }
  5339. }
  5340. },
  5341. "500": {
  5342. "description": "Internal Server Error",
  5343. "schema": {
  5344. "$ref": "#/definitions/app.Response"
  5345. }
  5346. }
  5347. }
  5348. }
  5349. },
  5350. "/Ermcp3/QueryMiddleGoodsDetail": {
  5351. "get": {
  5352. "security": [
  5353. {
  5354. "ApiKeyAuth": []
  5355. }
  5356. ],
  5357. "produces": [
  5358. "application/json"
  5359. ],
  5360. "tags": [
  5361. "企业风险管理v3(app)"
  5362. ],
  5363. "summary": "查询套保品种详情(套保品种/商品详情)",
  5364. "parameters": [
  5365. {
  5366. "type": "integer",
  5367. "description": "所属机构ID",
  5368. "name": "areauserid",
  5369. "in": "query",
  5370. "required": true
  5371. },
  5372. {
  5373. "type": "integer",
  5374. "description": "套保品种id",
  5375. "name": "middlegoodsid",
  5376. "in": "query"
  5377. }
  5378. ],
  5379. "responses": {
  5380. "200": {
  5381. "description": "OK",
  5382. "schema": {
  5383. "type": "array",
  5384. "items": {
  5385. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  5386. }
  5387. }
  5388. },
  5389. "500": {
  5390. "description": "Internal Server Error",
  5391. "schema": {
  5392. "$ref": "#/definitions/app.Response"
  5393. }
  5394. }
  5395. }
  5396. }
  5397. },
  5398. "/Ermcp3/QuerySpotContract": {
  5399. "get": {
  5400. "security": [
  5401. {
  5402. "ApiKeyAuth": []
  5403. }
  5404. ],
  5405. "produces": [
  5406. "application/json"
  5407. ],
  5408. "tags": [
  5409. "企业风险管理v3(app)"
  5410. ],
  5411. "summary": "查询现货合同",
  5412. "parameters": [
  5413. {
  5414. "type": "integer",
  5415. "description": "所属机构ID",
  5416. "name": "areauserid",
  5417. "in": "query",
  5418. "required": true
  5419. },
  5420. {
  5421. "type": "integer",
  5422. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5423. "name": "querytype",
  5424. "in": "query",
  5425. "required": true
  5426. },
  5427. {
  5428. "type": "integer",
  5429. "description": "用户ID",
  5430. "name": "userid",
  5431. "in": "query"
  5432. },
  5433. {
  5434. "type": "integer",
  5435. "description": "用户类型 2-机构 7-企业成员",
  5436. "name": "usertype",
  5437. "in": "query"
  5438. },
  5439. {
  5440. "type": "string",
  5441. "description": "合同ID(SpotContractId)",
  5442. "name": "contractid",
  5443. "in": "query"
  5444. }
  5445. ],
  5446. "responses": {
  5447. "200": {
  5448. "description": "OK",
  5449. "schema": {
  5450. "type": "array",
  5451. "items": {
  5452. "$ref": "#/definitions/models.Ermcp3Contract"
  5453. }
  5454. }
  5455. },
  5456. "500": {
  5457. "description": "Internal Server Error",
  5458. "schema": {
  5459. "$ref": "#/definitions/app.Response"
  5460. }
  5461. }
  5462. }
  5463. }
  5464. },
  5465. "/Ermcp3/QuerySpotContractBS": {
  5466. "get": {
  5467. "security": [
  5468. {
  5469. "ApiKeyAuth": []
  5470. }
  5471. ],
  5472. "produces": [
  5473. "application/json"
  5474. ],
  5475. "tags": [
  5476. "企业风险管理v3(app)"
  5477. ],
  5478. "summary": "查询合同(采购/销售)",
  5479. "parameters": [
  5480. {
  5481. "type": "integer",
  5482. "description": "所属机构ID",
  5483. "name": "areauserid",
  5484. "in": "query",
  5485. "required": true
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "合同类型 1-采购, -1-销售",
  5490. "name": "contracttype",
  5491. "in": "query",
  5492. "required": true
  5493. },
  5494. {
  5495. "type": "integer",
  5496. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5497. "name": "querytype",
  5498. "in": "query",
  5499. "required": true
  5500. },
  5501. {
  5502. "type": "integer",
  5503. "description": "用户ID",
  5504. "name": "userid",
  5505. "in": "query"
  5506. },
  5507. {
  5508. "type": "integer",
  5509. "description": "用户类型 2-机构 7-企业成员",
  5510. "name": "usertype",
  5511. "in": "query"
  5512. },
  5513. {
  5514. "type": "string",
  5515. "description": "合同ID(SpotContractId)",
  5516. "name": "contractid",
  5517. "in": "query"
  5518. }
  5519. ],
  5520. "responses": {
  5521. "200": {
  5522. "description": "OK",
  5523. "schema": {
  5524. "type": "array",
  5525. "items": {
  5526. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5527. }
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Ermcp3/QuerySpotGoodsPrice": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "企业风险管理v3(app)"
  5551. ],
  5552. "summary": "查询现货市价(现货市价)",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "用户ID",
  5557. "name": "userid",
  5558. "in": "query",
  5559. "required": true
  5560. }
  5561. ],
  5562. "responses": {
  5563. "200": {
  5564. "description": "OK",
  5565. "schema": {
  5566. "type": "array",
  5567. "items": {
  5568. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5569. }
  5570. }
  5571. },
  5572. "500": {
  5573. "description": "Internal Server Error",
  5574. "schema": {
  5575. "$ref": "#/definitions/app.Response"
  5576. }
  5577. }
  5578. }
  5579. }
  5580. },
  5581. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5582. "get": {
  5583. "security": [
  5584. {
  5585. "ApiKeyAuth": []
  5586. }
  5587. ],
  5588. "produces": [
  5589. "application/json"
  5590. ],
  5591. "tags": [
  5592. "企业风险管理v3(app)"
  5593. ],
  5594. "summary": "查询现货市价详情(现货市价/详情)",
  5595. "parameters": [
  5596. {
  5597. "type": "integer",
  5598. "description": "用户ID",
  5599. "name": "userid",
  5600. "in": "query",
  5601. "required": true
  5602. },
  5603. {
  5604. "type": "integer",
  5605. "description": "现货商品ID",
  5606. "name": "deliverygoodsid",
  5607. "in": "query",
  5608. "required": true
  5609. },
  5610. {
  5611. "type": "integer",
  5612. "description": "品牌ID",
  5613. "name": "brandid",
  5614. "in": "query"
  5615. },
  5616. {
  5617. "type": "integer",
  5618. "description": "品类ID",
  5619. "name": "wrstandardid",
  5620. "in": "query"
  5621. }
  5622. ],
  5623. "responses": {
  5624. "200": {
  5625. "description": "OK",
  5626. "schema": {
  5627. "type": "array",
  5628. "items": {
  5629. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5630. }
  5631. }
  5632. },
  5633. "500": {
  5634. "description": "Internal Server Error",
  5635. "schema": {
  5636. "$ref": "#/definitions/app.Response"
  5637. }
  5638. }
  5639. }
  5640. }
  5641. },
  5642. "/Erms2/QueryArbitrageStrategy": {
  5643. "get": {
  5644. "security": [
  5645. {
  5646. "ApiKeyAuth": []
  5647. }
  5648. ],
  5649. "produces": [
  5650. "application/json"
  5651. ],
  5652. "tags": [
  5653. "风险管理"
  5654. ],
  5655. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5656. "parameters": [
  5657. {
  5658. "type": "integer",
  5659. "description": "账户ID",
  5660. "name": "userid",
  5661. "in": "query",
  5662. "required": true
  5663. },
  5664. {
  5665. "type": "string",
  5666. "description": "商品组ID(品种ID)",
  5667. "name": "goodsgroupid",
  5668. "in": "query"
  5669. }
  5670. ],
  5671. "responses": {
  5672. "200": {
  5673. "description": "OK",
  5674. "schema": {
  5675. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5676. }
  5677. },
  5678. "500": {
  5679. "description": "Internal Server Error",
  5680. "schema": {
  5681. "$ref": "#/definitions/app.Response"
  5682. }
  5683. }
  5684. }
  5685. }
  5686. },
  5687. "/Erms2/QueryInnerTradeDetail": {
  5688. "get": {
  5689. "security": [
  5690. {
  5691. "ApiKeyAuth": []
  5692. }
  5693. ],
  5694. "produces": [
  5695. "application/json"
  5696. ],
  5697. "tags": [
  5698. "风险管理"
  5699. ],
  5700. "summary": "查询内部成交单信息",
  5701. "parameters": [
  5702. {
  5703. "type": "integer",
  5704. "description": "资金账户",
  5705. "name": "accountid",
  5706. "in": "query",
  5707. "required": true
  5708. }
  5709. ],
  5710. "responses": {
  5711. "200": {
  5712. "description": "OK",
  5713. "schema": {
  5714. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5715. }
  5716. },
  5717. "500": {
  5718. "description": "Internal Server Error",
  5719. "schema": {
  5720. "$ref": "#/definitions/app.Response"
  5721. }
  5722. }
  5723. }
  5724. }
  5725. },
  5726. "/Erms2/QuerySpotContract": {
  5727. "get": {
  5728. "security": [
  5729. {
  5730. "ApiKeyAuth": []
  5731. }
  5732. ],
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理"
  5738. ],
  5739. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5740. "parameters": [
  5741. {
  5742. "type": "integer",
  5743. "description": "策略申请ID",
  5744. "name": "asapplyid",
  5745. "in": "query",
  5746. "required": true
  5747. },
  5748. {
  5749. "type": "integer",
  5750. "description": "现货合同ID",
  5751. "name": "spotcontractid",
  5752. "in": "query"
  5753. }
  5754. ],
  5755. "responses": {
  5756. "200": {
  5757. "description": "OK",
  5758. "schema": {
  5759. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5760. }
  5761. },
  5762. "500": {
  5763. "description": "Internal Server Error",
  5764. "schema": {
  5765. "$ref": "#/definitions/app.Response"
  5766. }
  5767. }
  5768. }
  5769. }
  5770. },
  5771. "/Erms3/AddErms2ASApply": {
  5772. "post": {
  5773. "security": [
  5774. {
  5775. "ApiKeyAuth": []
  5776. }
  5777. ],
  5778. "produces": [
  5779. "application/json"
  5780. ],
  5781. "tags": [
  5782. "风险管理v3"
  5783. ],
  5784. "summary": "新增期现套利业务申请",
  5785. "parameters": [
  5786. {
  5787. "description": "申请参数",
  5788. "name": "jsonBody",
  5789. "in": "body",
  5790. "required": true,
  5791. "schema": {
  5792. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5793. }
  5794. }
  5795. ],
  5796. "responses": {
  5797. "200": {
  5798. "description": "OK",
  5799. "schema": {
  5800. "$ref": "#/definitions/app.Response"
  5801. }
  5802. },
  5803. "500": {
  5804. "description": "Internal Server Error",
  5805. "schema": {
  5806. "$ref": "#/definitions/app.Response"
  5807. }
  5808. }
  5809. }
  5810. }
  5811. },
  5812. "/Erms3/AddErms2SpotTradeApply": {
  5813. "post": {
  5814. "security": [
  5815. {
  5816. "ApiKeyAuth": []
  5817. }
  5818. ],
  5819. "produces": [
  5820. "application/json"
  5821. ],
  5822. "tags": [
  5823. "风险管理v3"
  5824. ],
  5825. "summary": "新增现货贸易业务申请",
  5826. "parameters": [
  5827. {
  5828. "description": "申请参数",
  5829. "name": "jsonBody",
  5830. "in": "body",
  5831. "required": true,
  5832. "schema": {
  5833. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5834. }
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. },
  5844. "500": {
  5845. "description": "Internal Server Error",
  5846. "schema": {
  5847. "$ref": "#/definitions/app.Response"
  5848. }
  5849. }
  5850. }
  5851. }
  5852. },
  5853. "/Erms3/AddSpotContractApply": {
  5854. "post": {
  5855. "security": [
  5856. {
  5857. "ApiKeyAuth": []
  5858. }
  5859. ],
  5860. "produces": [
  5861. "application/json"
  5862. ],
  5863. "tags": [
  5864. "风险管理v3"
  5865. ],
  5866. "summary": "新增现货合同申请",
  5867. "parameters": [
  5868. {
  5869. "description": "申请参数",
  5870. "name": "jsonBody",
  5871. "in": "body",
  5872. "required": true,
  5873. "schema": {
  5874. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5875. }
  5876. }
  5877. ],
  5878. "responses": {
  5879. "200": {
  5880. "description": "OK",
  5881. "schema": {
  5882. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5883. }
  5884. },
  5885. "500": {
  5886. "description": "Internal Server Error",
  5887. "schema": {
  5888. "$ref": "#/definitions/app.Response"
  5889. }
  5890. }
  5891. }
  5892. }
  5893. },
  5894. "/Erms3/AddUserInfoApply": {
  5895. "post": {
  5896. "security": [
  5897. {
  5898. "ApiKeyAuth": []
  5899. }
  5900. ],
  5901. "produces": [
  5902. "application/json"
  5903. ],
  5904. "tags": [
  5905. "风险管理v3"
  5906. ],
  5907. "summary": "新增客户申请",
  5908. "parameters": [
  5909. {
  5910. "description": "用户信息",
  5911. "name": "jsonBody",
  5912. "in": "body",
  5913. "required": true,
  5914. "schema": {
  5915. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5916. }
  5917. }
  5918. ],
  5919. "responses": {
  5920. "200": {
  5921. "description": "OK",
  5922. "schema": {
  5923. "$ref": "#/definitions/app.Response"
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/Erms3/DeleteUserInfoApply": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "风险管理v3"
  5948. ],
  5949. "summary": "删除客户申请",
  5950. "parameters": [
  5951. {
  5952. "type": "integer",
  5953. "description": "用户ID",
  5954. "name": "userID",
  5955. "in": "query",
  5956. "required": true
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "$ref": "#/definitions/app.Response"
  5964. }
  5965. },
  5966. "500": {
  5967. "description": "Internal Server Error",
  5968. "schema": {
  5969. "$ref": "#/definitions/app.Response"
  5970. }
  5971. }
  5972. }
  5973. }
  5974. },
  5975. "/Erms3/ModifyUserInfoApply": {
  5976. "post": {
  5977. "security": [
  5978. {
  5979. "ApiKeyAuth": []
  5980. }
  5981. ],
  5982. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5983. "produces": [
  5984. "application/json"
  5985. ],
  5986. "tags": [
  5987. "风险管理v3"
  5988. ],
  5989. "summary": "修改客户申请",
  5990. "parameters": [
  5991. {
  5992. "description": "用户信息",
  5993. "name": "jsonBody",
  5994. "in": "body",
  5995. "required": true,
  5996. "schema": {
  5997. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5998. }
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/Erms3/QueryBusinessInfo": {
  6018. "get": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "produces": [
  6025. "application/json"
  6026. ],
  6027. "tags": [
  6028. "风险管理v3"
  6029. ],
  6030. "summary": "查询业务表单数据",
  6031. "parameters": [
  6032. {
  6033. "type": "string",
  6034. "description": "资金账号ID列表,用逗号分隔",
  6035. "name": "accountids",
  6036. "in": "query",
  6037. "required": true
  6038. },
  6039. {
  6040. "type": "integer",
  6041. "description": "状态,0为未结束 1为已结束",
  6042. "name": "status",
  6043. "in": "query",
  6044. "required": true
  6045. }
  6046. ],
  6047. "responses": {
  6048. "200": {
  6049. "description": "OK",
  6050. "schema": {
  6051. "type": "array",
  6052. "items": {
  6053. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6054. }
  6055. }
  6056. },
  6057. "500": {
  6058. "description": "Internal Server Error",
  6059. "schema": {
  6060. "$ref": "#/definitions/app.Response"
  6061. }
  6062. }
  6063. }
  6064. }
  6065. },
  6066. "/Erms3/QueryPendingAuditContract": {
  6067. "get": {
  6068. "security": [
  6069. {
  6070. "ApiKeyAuth": []
  6071. }
  6072. ],
  6073. "produces": [
  6074. "application/json"
  6075. ],
  6076. "tags": [
  6077. "风险管理v3"
  6078. ],
  6079. "summary": "查询待审核合同",
  6080. "parameters": [
  6081. {
  6082. "type": "string",
  6083. "description": "资金账号ID列表,逗号隔开",
  6084. "name": "accountids",
  6085. "in": "query",
  6086. "required": true
  6087. },
  6088. {
  6089. "type": "integer",
  6090. "description": "合同类型 1-采购 -1-销售",
  6091. "name": "contracttype",
  6092. "in": "query",
  6093. "required": true
  6094. },
  6095. {
  6096. "type": "integer",
  6097. "description": "合同模式 1-普通 2-回购",
  6098. "name": "contractmode",
  6099. "in": "query",
  6100. "required": true
  6101. }
  6102. ],
  6103. "responses": {
  6104. "200": {
  6105. "description": "OK",
  6106. "schema": {
  6107. "type": "array",
  6108. "items": {
  6109. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6110. }
  6111. }
  6112. },
  6113. "500": {
  6114. "description": "Internal Server Error",
  6115. "schema": {
  6116. "$ref": "#/definitions/app.Response"
  6117. }
  6118. }
  6119. }
  6120. }
  6121. },
  6122. "/Erms3/QueryPendingBusiness": {
  6123. "get": {
  6124. "security": [
  6125. {
  6126. "ApiKeyAuth": []
  6127. }
  6128. ],
  6129. "produces": [
  6130. "application/json"
  6131. ],
  6132. "tags": [
  6133. "风险管理v3"
  6134. ],
  6135. "summary": "查询待审核基差贸易业务",
  6136. "parameters": [
  6137. {
  6138. "type": "string",
  6139. "description": "资金账号ID列表,逗号隔开",
  6140. "name": "accountids",
  6141. "in": "query",
  6142. "required": true
  6143. }
  6144. ],
  6145. "responses": {
  6146. "200": {
  6147. "description": "OK",
  6148. "schema": {
  6149. "type": "array",
  6150. "items": {
  6151. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6152. }
  6153. }
  6154. },
  6155. "500": {
  6156. "description": "Internal Server Error",
  6157. "schema": {
  6158. "$ref": "#/definitions/app.Response"
  6159. }
  6160. }
  6161. }
  6162. }
  6163. },
  6164. "/Erms3/QuerySpotContractAppleForm": {
  6165. "get": {
  6166. "security": [
  6167. {
  6168. "ApiKeyAuth": []
  6169. }
  6170. ],
  6171. "produces": [
  6172. "application/json"
  6173. ],
  6174. "tags": [
  6175. "风险管理v3"
  6176. ],
  6177. "summary": "查询合同申请表单数据",
  6178. "parameters": [
  6179. {
  6180. "type": "integer",
  6181. "description": "登录账号",
  6182. "name": "loginID",
  6183. "in": "query",
  6184. "required": true
  6185. }
  6186. ],
  6187. "responses": {
  6188. "200": {
  6189. "description": "OK",
  6190. "schema": {
  6191. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6192. }
  6193. },
  6194. "500": {
  6195. "description": "Internal Server Error",
  6196. "schema": {
  6197. "$ref": "#/definitions/app.Response"
  6198. }
  6199. }
  6200. }
  6201. }
  6202. },
  6203. "/Erms3/QuerySpotContractDetail": {
  6204. "get": {
  6205. "security": [
  6206. {
  6207. "ApiKeyAuth": []
  6208. }
  6209. ],
  6210. "produces": [
  6211. "application/json"
  6212. ],
  6213. "tags": [
  6214. "风险管理v3"
  6215. ],
  6216. "summary": "查询合同详细信息",
  6217. "parameters": [
  6218. {
  6219. "type": "string",
  6220. "description": "资金账号ID列表,用逗号分隔",
  6221. "name": "accountids",
  6222. "in": "query",
  6223. "required": true
  6224. },
  6225. {
  6226. "type": "integer",
  6227. "description": "合同类型,1为采购合同 -1为销售合同",
  6228. "name": "contracttype",
  6229. "in": "query",
  6230. "required": true
  6231. },
  6232. {
  6233. "type": "integer",
  6234. "description": "合同模式,1为普通合同 2为回购销售合同",
  6235. "name": "contractmode",
  6236. "in": "query",
  6237. "required": true
  6238. },
  6239. {
  6240. "type": "integer",
  6241. "description": "状态,0为履约中 1为已完成",
  6242. "name": "status",
  6243. "in": "query",
  6244. "required": true
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "type": "array",
  6252. "items": {
  6253. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6254. }
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/app.Response"
  6261. }
  6262. }
  6263. }
  6264. }
  6265. },
  6266. "/Erms3/QueryUserInfoApplies": {
  6267. "get": {
  6268. "security": [
  6269. {
  6270. "ApiKeyAuth": []
  6271. }
  6272. ],
  6273. "produces": [
  6274. "application/json"
  6275. ],
  6276. "tags": [
  6277. "风险管理v3"
  6278. ],
  6279. "summary": "客户申请信息查询",
  6280. "parameters": [
  6281. {
  6282. "type": "integer",
  6283. "description": "页码",
  6284. "name": "page",
  6285. "in": "query"
  6286. },
  6287. {
  6288. "type": "integer",
  6289. "description": "每页条数",
  6290. "name": "pagesize",
  6291. "in": "query"
  6292. },
  6293. {
  6294. "type": "string",
  6295. "description": "客户名称,支持模糊查询",
  6296. "name": "userName",
  6297. "in": "query"
  6298. }
  6299. ],
  6300. "responses": {
  6301. "200": {
  6302. "description": "OK",
  6303. "schema": {
  6304. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6305. }
  6306. },
  6307. "500": {
  6308. "description": "Internal Server Error",
  6309. "schema": {
  6310. "$ref": "#/definitions/app.Response"
  6311. }
  6312. }
  6313. }
  6314. }
  6315. },
  6316. "/Erms3/QueryUserInfos": {
  6317. "get": {
  6318. "security": [
  6319. {
  6320. "ApiKeyAuth": []
  6321. }
  6322. ],
  6323. "produces": [
  6324. "application/json"
  6325. ],
  6326. "tags": [
  6327. "风险管理v3"
  6328. ],
  6329. "summary": "客户信息查询",
  6330. "parameters": [
  6331. {
  6332. "type": "integer",
  6333. "description": "页码",
  6334. "name": "page",
  6335. "in": "query"
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "每页条数",
  6340. "name": "pagesize",
  6341. "in": "query"
  6342. },
  6343. {
  6344. "type": "string",
  6345. "description": "客户名称,支持模糊查询",
  6346. "name": "userName",
  6347. "in": "query"
  6348. }
  6349. ],
  6350. "responses": {
  6351. "200": {
  6352. "description": "OK",
  6353. "schema": {
  6354. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6355. }
  6356. },
  6357. "500": {
  6358. "description": "Internal Server Error",
  6359. "schema": {
  6360. "$ref": "#/definitions/app.Response"
  6361. }
  6362. }
  6363. }
  6364. }
  6365. },
  6366. "/HSBY/GetHsbyMyCount": {
  6367. "get": {
  6368. "security": [
  6369. {
  6370. "ApiKeyAuth": []
  6371. }
  6372. ],
  6373. "description": "说明: 不包括已完成的数量。",
  6374. "produces": [
  6375. "application/json"
  6376. ],
  6377. "tags": [
  6378. "定制【海商报业】"
  6379. ],
  6380. "summary": "获取我的订单与包裹数量",
  6381. "parameters": [
  6382. {
  6383. "type": "string",
  6384. "description": "资金账户列表,格式:1,2,3",
  6385. "name": "accountIDs",
  6386. "in": "query",
  6387. "required": true
  6388. }
  6389. ],
  6390. "responses": {
  6391. "200": {
  6392. "description": "OK",
  6393. "schema": {
  6394. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6395. }
  6396. },
  6397. "500": {
  6398. "description": "Internal Server Error",
  6399. "schema": {
  6400. "$ref": "#/definitions/app.Response"
  6401. }
  6402. }
  6403. }
  6404. }
  6405. },
  6406. "/HSBY/QueryClientFixedADConfigs": {
  6407. "get": {
  6408. "security": [
  6409. {
  6410. "ApiKeyAuth": []
  6411. }
  6412. ],
  6413. "produces": [
  6414. "application/json"
  6415. ],
  6416. "tags": [
  6417. "定制【海商报业】"
  6418. ],
  6419. "summary": "获取终端固定广告配置",
  6420. "responses": {
  6421. "200": {
  6422. "description": "OK",
  6423. "schema": {
  6424. "$ref": "#/definitions/models.Clientfixedadconfig"
  6425. }
  6426. },
  6427. "500": {
  6428. "description": "Internal Server Error",
  6429. "schema": {
  6430. "$ref": "#/definitions/app.Response"
  6431. }
  6432. }
  6433. }
  6434. }
  6435. },
  6436. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6437. "get": {
  6438. "security": [
  6439. {
  6440. "ApiKeyAuth": []
  6441. }
  6442. ],
  6443. "produces": [
  6444. "application/json"
  6445. ],
  6446. "tags": [
  6447. "定制【海商报业】"
  6448. ],
  6449. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6450. "parameters": [
  6451. {
  6452. "type": "integer",
  6453. "description": "页码",
  6454. "name": "page",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "每页条数",
  6460. "name": "pagesize",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "资金账户列表,格式:1,2,3",
  6466. "name": "accountIDs",
  6467. "in": "query",
  6468. "required": true
  6469. }
  6470. ],
  6471. "responses": {
  6472. "200": {
  6473. "description": "OK",
  6474. "schema": {
  6475. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6476. }
  6477. },
  6478. "500": {
  6479. "description": "Internal Server Error",
  6480. "schema": {
  6481. "$ref": "#/definitions/app.Response"
  6482. }
  6483. }
  6484. }
  6485. }
  6486. },
  6487. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6488. "get": {
  6489. "security": [
  6490. {
  6491. "ApiKeyAuth": []
  6492. }
  6493. ],
  6494. "description": "说明:查询结果已按委托价格和委托时间排序",
  6495. "produces": [
  6496. "application/json"
  6497. ],
  6498. "tags": [
  6499. "定制【海商报业】"
  6500. ],
  6501. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6502. "parameters": [
  6503. {
  6504. "type": "integer",
  6505. "description": "商品ID",
  6506. "name": "goodsID",
  6507. "in": "query",
  6508. "required": true
  6509. },
  6510. {
  6511. "type": "string",
  6512. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6513. "name": "accountIDs",
  6514. "in": "query"
  6515. },
  6516. {
  6517. "type": "integer",
  6518. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6519. "name": "buyOrSell",
  6520. "in": "query"
  6521. },
  6522. {
  6523. "type": "number",
  6524. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6525. "name": "price",
  6526. "in": "query"
  6527. },
  6528. {
  6529. "type": "integer",
  6530. "description": "档位,不传则默认为3档",
  6531. "name": "speed",
  6532. "in": "query"
  6533. }
  6534. ],
  6535. "responses": {
  6536. "200": {
  6537. "description": "OK",
  6538. "schema": {
  6539. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6540. }
  6541. },
  6542. "500": {
  6543. "description": "Internal Server Error",
  6544. "schema": {
  6545. "$ref": "#/definitions/app.Response"
  6546. }
  6547. }
  6548. }
  6549. }
  6550. },
  6551. "/HSBY/QueryHsbyListingGoodsDetail": {
  6552. "get": {
  6553. "security": [
  6554. {
  6555. "ApiKeyAuth": []
  6556. }
  6557. ],
  6558. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6566. "parameters": [
  6567. {
  6568. "type": "integer",
  6569. "description": "商品ID",
  6570. "name": "goodsID",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6577. "name": "accountID",
  6578. "in": "query"
  6579. }
  6580. ],
  6581. "responses": {
  6582. "200": {
  6583. "description": "OK",
  6584. "schema": {
  6585. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6586. }
  6587. },
  6588. "500": {
  6589. "description": "Internal Server Error",
  6590. "schema": {
  6591. "$ref": "#/definitions/app.Response"
  6592. }
  6593. }
  6594. }
  6595. }
  6596. },
  6597. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6598. "get": {
  6599. "security": [
  6600. {
  6601. "ApiKeyAuth": []
  6602. }
  6603. ],
  6604. "produces": [
  6605. "application/json"
  6606. ],
  6607. "tags": [
  6608. "定制【海商报业】"
  6609. ],
  6610. "summary": "查询三级市场(商城)商品信息详情",
  6611. "parameters": [
  6612. {
  6613. "type": "integer",
  6614. "description": "委托单号",
  6615. "name": "orderID",
  6616. "in": "query",
  6617. "required": true
  6618. },
  6619. {
  6620. "type": "integer",
  6621. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6622. "name": "accountID",
  6623. "in": "query"
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/HSBY/QueryHsbyMarketGoodses": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "定制【海商报业】"
  6654. ],
  6655. "summary": "查询特卖商品列表(三级商城)",
  6656. "parameters": [
  6657. {
  6658. "type": "integer",
  6659. "description": "页码",
  6660. "name": "page",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "每页条数",
  6666. "name": "pagesize",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "string",
  6671. "description": "市场ID列表,格式:1,2,3",
  6672. "name": "marketIDs",
  6673. "in": "query",
  6674. "required": true
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6679. "name": "accountID",
  6680. "in": "query",
  6681. "required": true
  6682. },
  6683. {
  6684. "type": "integer",
  6685. "description": "类别ID",
  6686. "name": "categoryID",
  6687. "in": "query"
  6688. },
  6689. {
  6690. "type": "string",
  6691. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6692. "name": "goodsIDs",
  6693. "in": "query"
  6694. },
  6695. {
  6696. "type": "integer",
  6697. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6698. "name": "couponTypeID",
  6699. "in": "query"
  6700. }
  6701. ],
  6702. "responses": {
  6703. "200": {
  6704. "description": "OK",
  6705. "schema": {
  6706. "$ref": "#/definitions/models.HsbyMarketGoods"
  6707. }
  6708. },
  6709. "500": {
  6710. "description": "Internal Server Error",
  6711. "schema": {
  6712. "$ref": "#/definitions/app.Response"
  6713. }
  6714. }
  6715. }
  6716. }
  6717. },
  6718. "/HSBY/QueryHsbyMarkets": {
  6719. "get": {
  6720. "security": [
  6721. {
  6722. "ApiKeyAuth": []
  6723. }
  6724. ],
  6725. "produces": [
  6726. "application/json"
  6727. ],
  6728. "tags": [
  6729. "定制【海商报业】"
  6730. ],
  6731. "summary": "查询海商报业相关市场信息",
  6732. "responses": {
  6733. "200": {
  6734. "description": "OK",
  6735. "schema": {
  6736. "$ref": "#/definitions/models.HsbyMarketInfo"
  6737. }
  6738. },
  6739. "500": {
  6740. "description": "Internal Server Error",
  6741. "schema": {
  6742. "$ref": "#/definitions/app.Response"
  6743. }
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6749. "get": {
  6750. "security": [
  6751. {
  6752. "ApiKeyAuth": []
  6753. }
  6754. ],
  6755. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6756. "produces": [
  6757. "application/json"
  6758. ],
  6759. "tags": [
  6760. "定制【海商报业】"
  6761. ],
  6762. "summary": "查询“我的订单”信息",
  6763. "parameters": [
  6764. {
  6765. "type": "string",
  6766. "description": "资金账户列表,格式:1,2,3",
  6767. "name": "accountIDs",
  6768. "in": "query",
  6769. "required": true
  6770. }
  6771. ],
  6772. "responses": {
  6773. "200": {
  6774. "description": "OK",
  6775. "schema": {
  6776. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6777. }
  6778. },
  6779. "500": {
  6780. "description": "Internal Server Error",
  6781. "schema": {
  6782. "$ref": "#/definitions/app.Response"
  6783. }
  6784. }
  6785. }
  6786. }
  6787. },
  6788. "/HSBY/QueryHsbyMyGoods": {
  6789. "get": {
  6790. "security": [
  6791. {
  6792. "ApiKeyAuth": []
  6793. }
  6794. ],
  6795. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6796. "produces": [
  6797. "application/json"
  6798. ],
  6799. "tags": [
  6800. "定制【海商报业】"
  6801. ],
  6802. "summary": "查询“我的商品”信息",
  6803. "parameters": [
  6804. {
  6805. "type": "string",
  6806. "description": "资金账户列表,格式:1,2,3",
  6807. "name": "accountIDs",
  6808. "in": "query",
  6809. "required": true
  6810. }
  6811. ],
  6812. "responses": {
  6813. "200": {
  6814. "description": "OK",
  6815. "schema": {
  6816. "$ref": "#/definitions/models.HsbyMyGoods"
  6817. }
  6818. },
  6819. "500": {
  6820. "description": "Internal Server Error",
  6821. "schema": {
  6822. "$ref": "#/definitions/app.Response"
  6823. }
  6824. }
  6825. }
  6826. }
  6827. },
  6828. "/HSBY/QueryHsbyMyPackages": {
  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": "string",
  6845. "description": "资金账户列表,格式:1,2,3",
  6846. "name": "accountIDs",
  6847. "in": "query",
  6848. "required": true
  6849. },
  6850. {
  6851. "type": "integer",
  6852. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6853. "name": "takeOrderStatus",
  6854. "in": "query"
  6855. }
  6856. ],
  6857. "responses": {
  6858. "200": {
  6859. "description": "OK",
  6860. "schema": {
  6861. "$ref": "#/definitions/models.HsbyMyPackage"
  6862. }
  6863. },
  6864. "500": {
  6865. "description": "Internal Server Error",
  6866. "schema": {
  6867. "$ref": "#/definitions/app.Response"
  6868. }
  6869. }
  6870. }
  6871. }
  6872. },
  6873. "/HSBY/QueryHsbyPreGoodsDetail": {
  6874. "get": {
  6875. "security": [
  6876. {
  6877. "ApiKeyAuth": []
  6878. }
  6879. ],
  6880. "produces": [
  6881. "application/json"
  6882. ],
  6883. "tags": [
  6884. "定制【海商报业】"
  6885. ],
  6886. "summary": "查询一级市场(预售)商品信息详情",
  6887. "parameters": [
  6888. {
  6889. "type": "integer",
  6890. "description": "商品ID",
  6891. "name": "goodsID",
  6892. "in": "query",
  6893. "required": true
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "资金账户,主要用于获取预售商品购买上限",
  6898. "name": "accountID",
  6899. "in": "query"
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/HSBY/QueryHsbyPreGoodses": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6926. "produces": [
  6927. "application/json"
  6928. ],
  6929. "tags": [
  6930. "定制【海商报业】"
  6931. ],
  6932. "summary": "查询新品上市商品列表(一级市场预售)",
  6933. "parameters": [
  6934. {
  6935. "type": "integer",
  6936. "description": "页码",
  6937. "name": "page",
  6938. "in": "query"
  6939. },
  6940. {
  6941. "type": "integer",
  6942. "description": "每页条数",
  6943. "name": "pagesize",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "string",
  6948. "description": "市场ID列表,格式:1,2,3",
  6949. "name": "marketIDs",
  6950. "in": "query",
  6951. "required": true
  6952. },
  6953. {
  6954. "type": "integer",
  6955. "description": "目的地(省)ID",
  6956. "name": "descProvinceID",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "integer",
  6961. "description": "目的地(市)ID",
  6962. "name": "descCityID",
  6963. "in": "query"
  6964. }
  6965. ],
  6966. "responses": {
  6967. "200": {
  6968. "description": "OK",
  6969. "schema": {
  6970. "$ref": "#/definitions/models.HsbyPreGoods"
  6971. }
  6972. },
  6973. "500": {
  6974. "description": "Internal Server Error",
  6975. "schema": {
  6976. "$ref": "#/definitions/app.Response"
  6977. }
  6978. }
  6979. }
  6980. }
  6981. },
  6982. "/HSBY/QueryHsbySellMyDetails": {
  6983. "get": {
  6984. "security": [
  6985. {
  6986. "ApiKeyAuth": []
  6987. }
  6988. ],
  6989. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6990. "produces": [
  6991. "application/json"
  6992. ],
  6993. "tags": [
  6994. "定制【海商报业】"
  6995. ],
  6996. "summary": "查询\"我的闲置\"单据信息",
  6997. "parameters": [
  6998. {
  6999. "type": "integer",
  7000. "description": "页码",
  7001. "name": "page",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "每页条数",
  7007. "name": "pagesize",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "资金账户列表,格式:1,2,3",
  7013. "name": "accountIDs",
  7014. "in": "query",
  7015. "required": true
  7016. },
  7017. {
  7018. "type": "integer",
  7019. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7020. "name": "orderType",
  7021. "in": "query"
  7022. }
  7023. ],
  7024. "responses": {
  7025. "200": {
  7026. "description": "OK",
  7027. "schema": {
  7028. "$ref": "#/definitions/models.HsbySellMyDetail"
  7029. }
  7030. },
  7031. "500": {
  7032. "description": "Internal Server Error",
  7033. "schema": {
  7034. "$ref": "#/definitions/app.Response"
  7035. }
  7036. }
  7037. }
  7038. }
  7039. },
  7040. "/HSBY/QueryHsbyTopGoodses": {
  7041. "get": {
  7042. "security": [
  7043. {
  7044. "ApiKeyAuth": []
  7045. }
  7046. ],
  7047. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7048. "produces": [
  7049. "application/json"
  7050. ],
  7051. "tags": [
  7052. "定制【海商报业】"
  7053. ],
  7054. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7055. "parameters": [
  7056. {
  7057. "type": "integer",
  7058. "description": "页码",
  7059. "name": "page",
  7060. "in": "query"
  7061. },
  7062. {
  7063. "type": "integer",
  7064. "description": "每页条数",
  7065. "name": "pagesize",
  7066. "in": "query"
  7067. },
  7068. {
  7069. "type": "string",
  7070. "description": "市场ID列表,格式:1,2,3",
  7071. "name": "marketIDs",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "integer",
  7077. "description": "目的地(省)ID",
  7078. "name": "descProvinceID",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "integer",
  7083. "description": "目的地(市)ID",
  7084. "name": "descCityID",
  7085. "in": "query"
  7086. }
  7087. ],
  7088. "responses": {
  7089. "200": {
  7090. "description": "OK",
  7091. "schema": {
  7092. "$ref": "#/definitions/models.HsbyTopGoods"
  7093. }
  7094. },
  7095. "500": {
  7096. "description": "Internal Server Error",
  7097. "schema": {
  7098. "$ref": "#/definitions/app.Response"
  7099. }
  7100. }
  7101. }
  7102. }
  7103. },
  7104. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7105. "get": {
  7106. "security": [
  7107. {
  7108. "ApiKeyAuth": []
  7109. }
  7110. ],
  7111. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7112. "produces": [
  7113. "application/json"
  7114. ],
  7115. "tags": [
  7116. "定制【海商报业】"
  7117. ],
  7118. "summary": "查询游客三级市场(商城)商品信息详情",
  7119. "parameters": [
  7120. {
  7121. "type": "integer",
  7122. "description": "商品ID",
  7123. "name": "goodsID",
  7124. "in": "query",
  7125. "required": true
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7152. "produces": [
  7153. "application/json"
  7154. ],
  7155. "tags": [
  7156. "定制【海商报业】"
  7157. ],
  7158. "summary": "查询游客特卖商品列表(三级商城)",
  7159. "parameters": [
  7160. {
  7161. "type": "integer",
  7162. "description": "页码",
  7163. "name": "page",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "integer",
  7168. "description": "每页条数",
  7169. "name": "pagesize",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "市场ID列表,格式:1,2,3",
  7175. "name": "marketIDs",
  7176. "in": "query",
  7177. "required": true
  7178. },
  7179. {
  7180. "type": "integer",
  7181. "description": "类别ID",
  7182. "name": "categoryID",
  7183. "in": "query"
  7184. },
  7185. {
  7186. "type": "string",
  7187. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7188. "name": "goodsIDs",
  7189. "in": "query"
  7190. }
  7191. ],
  7192. "responses": {
  7193. "200": {
  7194. "description": "OK",
  7195. "schema": {
  7196. "$ref": "#/definitions/models.HsbyMarketGoods"
  7197. }
  7198. },
  7199. "500": {
  7200. "description": "Internal Server Error",
  7201. "schema": {
  7202. "$ref": "#/definitions/app.Response"
  7203. }
  7204. }
  7205. }
  7206. }
  7207. },
  7208. "/HSBY/QueryMyCollectionOrders": {
  7209. "get": {
  7210. "security": [
  7211. {
  7212. "ApiKeyAuth": []
  7213. }
  7214. ],
  7215. "produces": [
  7216. "application/json"
  7217. ],
  7218. "tags": [
  7219. "定制【海商报业】"
  7220. ],
  7221. "summary": "我的闲置中收款信息查询",
  7222. "parameters": [
  7223. {
  7224. "type": "integer",
  7225. "description": "页码",
  7226. "name": "page",
  7227. "in": "query"
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": "每页条数",
  7232. "name": "pagesize",
  7233. "in": "query"
  7234. },
  7235. {
  7236. "type": "string",
  7237. "description": "资金账户,格式:1,2,3",
  7238. "name": "accountIDs",
  7239. "in": "query",
  7240. "required": true
  7241. }
  7242. ],
  7243. "responses": {
  7244. "200": {
  7245. "description": "OK",
  7246. "schema": {
  7247. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7248. }
  7249. },
  7250. "500": {
  7251. "description": "Internal Server Error",
  7252. "schema": {
  7253. "$ref": "#/definitions/app.Response"
  7254. }
  7255. }
  7256. }
  7257. }
  7258. },
  7259. "/HSBY/QueryMyCouponHolds": {
  7260. "get": {
  7261. "security": [
  7262. {
  7263. "ApiKeyAuth": []
  7264. }
  7265. ],
  7266. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7267. "produces": [
  7268. "application/json"
  7269. ],
  7270. "tags": [
  7271. "定制【海商报业】"
  7272. ],
  7273. "summary": "我的优惠卷持仓查询",
  7274. "parameters": [
  7275. {
  7276. "type": "string",
  7277. "description": "资金账户列表,格式:1,2,3",
  7278. "name": "accountIDs",
  7279. "in": "query",
  7280. "required": true
  7281. },
  7282. {
  7283. "type": "string",
  7284. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7285. "name": "holdStatus",
  7286. "in": "query"
  7287. }
  7288. ],
  7289. "responses": {
  7290. "200": {
  7291. "description": "OK",
  7292. "schema": {
  7293. "$ref": "#/definitions/models.MyCouponHold"
  7294. }
  7295. },
  7296. "500": {
  7297. "description": "Internal Server Error",
  7298. "schema": {
  7299. "$ref": "#/definitions/app.Response"
  7300. }
  7301. }
  7302. }
  7303. }
  7304. },
  7305. "/HSBY/QueryMyCoupons": {
  7306. "get": {
  7307. "security": [
  7308. {
  7309. "ApiKeyAuth": []
  7310. }
  7311. ],
  7312. "produces": [
  7313. "application/json"
  7314. ],
  7315. "tags": [
  7316. "定制【海商报业】"
  7317. ],
  7318. "summary": "我的优惠卷查询",
  7319. "parameters": [
  7320. {
  7321. "type": "string",
  7322. "description": "资金账户列表,格式:1,2,3",
  7323. "name": "accountIDs",
  7324. "in": "query",
  7325. "required": true
  7326. },
  7327. {
  7328. "type": "integer",
  7329. "description": "商品ID, 一般与sellUserID配套传入",
  7330. "name": "goodsID",
  7331. "in": "query"
  7332. },
  7333. {
  7334. "type": "integer",
  7335. "description": "卖方UserID",
  7336. "name": "sellUserID",
  7337. "in": "query"
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/models.MyCoupon"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/HSBY/QueryMyPayOrders": {
  7357. "get": {
  7358. "security": [
  7359. {
  7360. "ApiKeyAuth": []
  7361. }
  7362. ],
  7363. "produces": [
  7364. "application/json"
  7365. ],
  7366. "tags": [
  7367. "定制【海商报业】"
  7368. ],
  7369. "summary": "获取我的订单中待付款信息",
  7370. "parameters": [
  7371. {
  7372. "type": "integer",
  7373. "description": "页码",
  7374. "name": "page",
  7375. "in": "query"
  7376. },
  7377. {
  7378. "type": "integer",
  7379. "description": "每页条数",
  7380. "name": "pagesize",
  7381. "in": "query"
  7382. },
  7383. {
  7384. "type": "string",
  7385. "description": "资金账户列表,格式:1,2,3",
  7386. "name": "accountIDs",
  7387. "in": "query",
  7388. "required": true
  7389. },
  7390. {
  7391. "type": "integer",
  7392. "description": "买方委托单号",
  7393. "name": "buyOrderID",
  7394. "in": "query"
  7395. },
  7396. {
  7397. "type": "integer",
  7398. "description": "卖方委托单号",
  7399. "name": "sellOrderID",
  7400. "in": "query"
  7401. }
  7402. ],
  7403. "responses": {
  7404. "200": {
  7405. "description": "OK",
  7406. "schema": {
  7407. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7408. }
  7409. },
  7410. "500": {
  7411. "description": "Internal Server Error",
  7412. "schema": {
  7413. "$ref": "#/definitions/app.Response"
  7414. }
  7415. }
  7416. }
  7417. }
  7418. },
  7419. "/HSBY/QueryMyUsedCoupon": {
  7420. "get": {
  7421. "security": [
  7422. {
  7423. "ApiKeyAuth": []
  7424. }
  7425. ],
  7426. "produces": [
  7427. "application/json"
  7428. ],
  7429. "tags": [
  7430. "定制【海商报业】"
  7431. ],
  7432. "summary": "已使用优惠卷查询",
  7433. "parameters": [
  7434. {
  7435. "type": "string",
  7436. "description": "资金账户列表,格式:1,2,3",
  7437. "name": "accountIDs",
  7438. "in": "query",
  7439. "required": true
  7440. }
  7441. ],
  7442. "responses": {
  7443. "200": {
  7444. "description": "OK",
  7445. "schema": {
  7446. "$ref": "#/definitions/models.MyUsedCoupon"
  7447. }
  7448. },
  7449. "500": {
  7450. "description": "Internal Server Error",
  7451. "schema": {
  7452. "$ref": "#/definitions/app.Response"
  7453. }
  7454. }
  7455. }
  7456. }
  7457. },
  7458. "/HSBY/QueryProvincesAndCities": {
  7459. "get": {
  7460. "security": [
  7461. {
  7462. "ApiKeyAuth": []
  7463. }
  7464. ],
  7465. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7466. "produces": [
  7467. "application/json"
  7468. ],
  7469. "tags": [
  7470. "定制【海商报业】"
  7471. ],
  7472. "summary": "查询省市信息(不包括区)",
  7473. "parameters": [
  7474. {
  7475. "type": "integer",
  7476. "description": "省ID",
  7477. "name": "provinceID",
  7478. "in": "query"
  7479. }
  7480. ],
  7481. "responses": {
  7482. "200": {
  7483. "description": "OK",
  7484. "schema": {
  7485. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7486. }
  7487. },
  7488. "500": {
  7489. "description": "Internal Server Error",
  7490. "schema": {
  7491. "$ref": "#/definitions/app.Response"
  7492. }
  7493. }
  7494. }
  7495. }
  7496. },
  7497. "/HSBY/SetHsbyMyPackagesStatus": {
  7498. "post": {
  7499. "security": [
  7500. {
  7501. "ApiKeyAuth": []
  7502. }
  7503. ],
  7504. "produces": [
  7505. "application/json"
  7506. ],
  7507. "tags": [
  7508. "定制【海商报业】"
  7509. ],
  7510. "summary": "设置我的包裹已收货状态",
  7511. "parameters": [
  7512. {
  7513. "type": "string",
  7514. "description": "提货单号",
  7515. "name": "takeOrderID",
  7516. "in": "query",
  7517. "required": true
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "资金账号",
  7522. "name": "accountID",
  7523. "in": "query",
  7524. "required": true
  7525. }
  7526. ],
  7527. "responses": {
  7528. "200": {
  7529. "description": "OK",
  7530. "schema": {
  7531. "$ref": "#/definitions/app.Response"
  7532. }
  7533. },
  7534. "500": {
  7535. "description": "Internal Server Error",
  7536. "schema": {
  7537. "$ref": "#/definitions/app.Response"
  7538. }
  7539. }
  7540. }
  7541. }
  7542. },
  7543. "/Market/QueryGoodsesByLoginID": {
  7544. "get": {
  7545. "security": [
  7546. {
  7547. "ApiKeyAuth": []
  7548. }
  7549. ],
  7550. "produces": [
  7551. "application/json"
  7552. ],
  7553. "tags": [
  7554. "通用市场"
  7555. ],
  7556. "summary": "获取登录账号有权限的商品信息",
  7557. "parameters": [
  7558. {
  7559. "type": "integer",
  7560. "description": "登录账号",
  7561. "name": "loginID",
  7562. "in": "query",
  7563. "required": true
  7564. },
  7565. {
  7566. "type": "string",
  7567. "description": "市场ID列表,格式:1,2,3",
  7568. "name": "marketIDs",
  7569. "in": "query"
  7570. }
  7571. ],
  7572. "responses": {
  7573. "200": {
  7574. "description": "OK",
  7575. "schema": {
  7576. "$ref": "#/definitions/models.Goods"
  7577. }
  7578. },
  7579. "500": {
  7580. "description": "Internal Server Error",
  7581. "schema": {
  7582. "$ref": "#/definitions/app.Response"
  7583. }
  7584. }
  7585. }
  7586. }
  7587. },
  7588. "/Market/QueryMarketRun": {
  7589. "get": {
  7590. "security": [
  7591. {
  7592. "ApiKeyAuth": []
  7593. }
  7594. ],
  7595. "produces": [
  7596. "application/json"
  7597. ],
  7598. "tags": [
  7599. "通用市场"
  7600. ],
  7601. "summary": "查询市场运行信息",
  7602. "parameters": [
  7603. {
  7604. "type": "integer",
  7605. "description": "市场ID,不传返回所有",
  7606. "name": "marketID",
  7607. "in": "query"
  7608. }
  7609. ],
  7610. "responses": {
  7611. "200": {
  7612. "description": "OK",
  7613. "schema": {
  7614. "$ref": "#/definitions/models.Marketrun"
  7615. }
  7616. },
  7617. "500": {
  7618. "description": "Internal Server Error",
  7619. "schema": {
  7620. "$ref": "#/definitions/app.Response"
  7621. }
  7622. }
  7623. }
  7624. }
  7625. },
  7626. "/Market/QueryMarketsByLoginID": {
  7627. "get": {
  7628. "security": [
  7629. {
  7630. "ApiKeyAuth": []
  7631. }
  7632. ],
  7633. "produces": [
  7634. "application/json"
  7635. ],
  7636. "tags": [
  7637. "通用市场"
  7638. ],
  7639. "summary": "获取登录账号有权限的市场信息",
  7640. "parameters": [
  7641. {
  7642. "type": "integer",
  7643. "description": "登录账号",
  7644. "name": "loginID",
  7645. "in": "query",
  7646. "required": true
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/models.Market"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/Order/QueryHisTradeDetail": {
  7666. "get": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "通用单据"
  7677. ],
  7678. "summary": "历史成交单查询(合约市场)",
  7679. "parameters": [
  7680. {
  7681. "type": "string",
  7682. "description": "资金账户 - 格式:1,2,3",
  7683. "name": "accountID",
  7684. "in": "query",
  7685. "required": true
  7686. },
  7687. {
  7688. "type": "integer",
  7689. "description": "成交单号",
  7690. "name": "tradeID",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "委托单号",
  7696. "name": "orderID",
  7697. "in": "query"
  7698. },
  7699. {
  7700. "type": "string",
  7701. "description": "交易模式 - 格式:1,2,3",
  7702. "name": "tradeMode",
  7703. "in": "query"
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "委托单据类型",
  7708. "name": "buildType",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "string",
  7713. "description": "成交类别 - 格式:1,2,3",
  7714. "name": "tradeType",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "string",
  7719. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7720. "name": "startDate",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "string",
  7725. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7726. "name": "endDate",
  7727. "in": "query"
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Order/QueryHisTradeOrderDetail": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "通用单据"
  7758. ],
  7759. "summary": "历史委托单查询请求(合约市场)",
  7760. "parameters": [
  7761. {
  7762. "type": "string",
  7763. "description": "资金账户 - 格式:1,2,3",
  7764. "name": "accountID",
  7765. "in": "query",
  7766. "required": true
  7767. },
  7768. {
  7769. "type": "string",
  7770. "description": "交易模式 - 格式:1,2,3",
  7771. "name": "tradeMode",
  7772. "in": "query"
  7773. },
  7774. {
  7775. "type": "string",
  7776. "description": "委托状态 - 格式:1,2,3",
  7777. "name": "orderStatus",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "委托单号",
  7783. "name": "orderID",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7789. "name": "startDate",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7795. "name": "endDate",
  7796. "in": "query"
  7797. }
  7798. ],
  7799. "responses": {
  7800. "200": {
  7801. "description": "OK",
  7802. "schema": {
  7803. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7804. }
  7805. },
  7806. "500": {
  7807. "description": "Internal Server Error",
  7808. "schema": {
  7809. "$ref": "#/definitions/app.Response"
  7810. }
  7811. }
  7812. }
  7813. }
  7814. },
  7815. "/Order/QueryTradeDetail": {
  7816. "get": {
  7817. "security": [
  7818. {
  7819. "ApiKeyAuth": []
  7820. }
  7821. ],
  7822. "produces": [
  7823. "application/json"
  7824. ],
  7825. "tags": [
  7826. "通用单据"
  7827. ],
  7828. "summary": "成交单查询(合约市场)",
  7829. "parameters": [
  7830. {
  7831. "type": "string",
  7832. "description": "资金账户 - 格式:1,2,3",
  7833. "name": "accountID",
  7834. "in": "query",
  7835. "required": true
  7836. },
  7837. {
  7838. "type": "integer",
  7839. "description": "成交单号",
  7840. "name": "tradeID",
  7841. "in": "query"
  7842. },
  7843. {
  7844. "type": "integer",
  7845. "description": "委托单号",
  7846. "name": "orderID",
  7847. "in": "query"
  7848. },
  7849. {
  7850. "type": "string",
  7851. "description": "交易模式 - 格式:1,2,3",
  7852. "name": "tradeMode",
  7853. "in": "query"
  7854. },
  7855. {
  7856. "type": "integer",
  7857. "description": "委托单据类型",
  7858. "name": "buildType",
  7859. "in": "query"
  7860. },
  7861. {
  7862. "type": "string",
  7863. "description": "成交类别 - 格式:1,2,3",
  7864. "name": "tradeType",
  7865. "in": "query"
  7866. }
  7867. ],
  7868. "responses": {
  7869. "200": {
  7870. "description": "OK",
  7871. "schema": {
  7872. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7873. }
  7874. },
  7875. "500": {
  7876. "description": "Internal Server Error",
  7877. "schema": {
  7878. "$ref": "#/definitions/app.Response"
  7879. }
  7880. }
  7881. }
  7882. }
  7883. },
  7884. "/Order/QueryTradeOrderDetail": {
  7885. "get": {
  7886. "security": [
  7887. {
  7888. "ApiKeyAuth": []
  7889. }
  7890. ],
  7891. "produces": [
  7892. "application/json"
  7893. ],
  7894. "tags": [
  7895. "通用单据"
  7896. ],
  7897. "summary": "委托单查询请求(合约市场)",
  7898. "parameters": [
  7899. {
  7900. "type": "string",
  7901. "description": "资金账户 - 格式:1,2,3",
  7902. "name": "accountID",
  7903. "in": "query",
  7904. "required": true
  7905. },
  7906. {
  7907. "type": "string",
  7908. "description": "交易模式 - 格式:1,2,3",
  7909. "name": "tradeMode",
  7910. "in": "query"
  7911. },
  7912. {
  7913. "type": "string",
  7914. "description": "委托状态 - 格式:1,2,3",
  7915. "name": "orderStatus",
  7916. "in": "query"
  7917. },
  7918. {
  7919. "type": "integer",
  7920. "description": "委托单号",
  7921. "name": "orderID",
  7922. "in": "query"
  7923. }
  7924. ],
  7925. "responses": {
  7926. "200": {
  7927. "description": "OK",
  7928. "schema": {
  7929. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7930. }
  7931. },
  7932. "500": {
  7933. "description": "Internal Server Error",
  7934. "schema": {
  7935. "$ref": "#/definitions/app.Response"
  7936. }
  7937. }
  7938. }
  7939. }
  7940. },
  7941. "/Order/QueryTradePosition": {
  7942. "get": {
  7943. "security": [
  7944. {
  7945. "ApiKeyAuth": []
  7946. }
  7947. ],
  7948. "produces": [
  7949. "application/json"
  7950. ],
  7951. "tags": [
  7952. "通用单据"
  7953. ],
  7954. "summary": "持仓汇总查询(合约市场)",
  7955. "parameters": [
  7956. {
  7957. "type": "string",
  7958. "description": "资金账户 - 格式:1,2,3",
  7959. "name": "accountID",
  7960. "in": "query",
  7961. "required": true
  7962. },
  7963. {
  7964. "type": "string",
  7965. "description": "交易模式 - 格式:1,2,3",
  7966. "name": "tradeMode",
  7967. "in": "query"
  7968. }
  7969. ],
  7970. "responses": {
  7971. "200": {
  7972. "description": "OK",
  7973. "schema": {
  7974. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7975. }
  7976. },
  7977. "500": {
  7978. "description": "Internal Server Error",
  7979. "schema": {
  7980. "$ref": "#/definitions/app.Response"
  7981. }
  7982. }
  7983. }
  7984. }
  7985. },
  7986. "/Quote/QueryHistoryDatas": {
  7987. "get": {
  7988. "security": [
  7989. {
  7990. "ApiKeyAuth": []
  7991. }
  7992. ],
  7993. "produces": [
  7994. "application/json"
  7995. ],
  7996. "tags": [
  7997. "行情服务"
  7998. ],
  7999. "summary": "查询行情历史数据",
  8000. "parameters": [
  8001. {
  8002. "type": "integer",
  8003. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8004. "name": "cycleType",
  8005. "in": "query",
  8006. "required": true
  8007. },
  8008. {
  8009. "type": "string",
  8010. "description": "商品代码",
  8011. "name": "goodsCode",
  8012. "in": "query",
  8013. "required": true
  8014. },
  8015. {
  8016. "type": "string",
  8017. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8018. "name": "startTime",
  8019. "in": "query"
  8020. },
  8021. {
  8022. "type": "string",
  8023. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8024. "name": "endTime",
  8025. "in": "query"
  8026. },
  8027. {
  8028. "type": "integer",
  8029. "description": "条数",
  8030. "name": "count",
  8031. "in": "query"
  8032. },
  8033. {
  8034. "type": "boolean",
  8035. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8036. "name": "isAsc",
  8037. "in": "query"
  8038. }
  8039. ],
  8040. "responses": {
  8041. "200": {
  8042. "description": "OK",
  8043. "schema": {
  8044. "$ref": "#/definitions/quote.HistoryData"
  8045. }
  8046. },
  8047. "500": {
  8048. "description": "Internal Server Error",
  8049. "schema": {
  8050. "$ref": "#/definitions/app.Response"
  8051. }
  8052. }
  8053. }
  8054. }
  8055. },
  8056. "/Quote/QueryHistoryTikDatas": {
  8057. "get": {
  8058. "security": [
  8059. {
  8060. "ApiKeyAuth": []
  8061. }
  8062. ],
  8063. "produces": [
  8064. "application/json"
  8065. ],
  8066. "tags": [
  8067. "行情服务"
  8068. ],
  8069. "summary": "查询行情Tik数据",
  8070. "parameters": [
  8071. {
  8072. "type": "string",
  8073. "description": "商品代码",
  8074. "name": "goodsCode",
  8075. "in": "query",
  8076. "required": true
  8077. },
  8078. {
  8079. "type": "string",
  8080. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8081. "name": "startTime",
  8082. "in": "query"
  8083. },
  8084. {
  8085. "type": "string",
  8086. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8087. "name": "endTime",
  8088. "in": "query"
  8089. },
  8090. {
  8091. "type": "integer",
  8092. "description": "条数",
  8093. "name": "count",
  8094. "in": "query"
  8095. },
  8096. {
  8097. "type": "boolean",
  8098. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8099. "name": "isAsc",
  8100. "in": "query"
  8101. }
  8102. ],
  8103. "responses": {
  8104. "200": {
  8105. "description": "OK",
  8106. "schema": {
  8107. "$ref": "#/definitions/quote.HistoryTikData"
  8108. }
  8109. },
  8110. "500": {
  8111. "description": "Internal Server Error",
  8112. "schema": {
  8113. "$ref": "#/definitions/app.Response"
  8114. }
  8115. }
  8116. }
  8117. }
  8118. },
  8119. "/Quote/QueryQuoteDay": {
  8120. "get": {
  8121. "security": [
  8122. {
  8123. "ApiKeyAuth": []
  8124. }
  8125. ],
  8126. "produces": [
  8127. "application/json"
  8128. ],
  8129. "tags": [
  8130. "行情服务"
  8131. ],
  8132. "summary": "获取商品盘面信息",
  8133. "parameters": [
  8134. {
  8135. "type": "string",
  8136. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8137. "name": "goodsCodes",
  8138. "in": "query",
  8139. "required": true
  8140. }
  8141. ],
  8142. "responses": {
  8143. "200": {
  8144. "description": "OK",
  8145. "schema": {
  8146. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8147. }
  8148. },
  8149. "500": {
  8150. "description": "Internal Server Error",
  8151. "schema": {
  8152. "$ref": "#/definitions/app.Response"
  8153. }
  8154. }
  8155. }
  8156. }
  8157. },
  8158. "/Quote/QueryTSData": {
  8159. "get": {
  8160. "security": [
  8161. {
  8162. "ApiKeyAuth": []
  8163. }
  8164. ],
  8165. "produces": [
  8166. "application/json"
  8167. ],
  8168. "tags": [
  8169. "行情服务"
  8170. ],
  8171. "summary": "分时图数据查询",
  8172. "parameters": [
  8173. {
  8174. "type": "string",
  8175. "description": "商品代码",
  8176. "name": "goodsCode",
  8177. "in": "query",
  8178. "required": true
  8179. }
  8180. ],
  8181. "responses": {
  8182. "200": {
  8183. "description": "OK",
  8184. "schema": {
  8185. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8186. }
  8187. },
  8188. "500": {
  8189. "description": "Internal Server Error",
  8190. "schema": {
  8191. "$ref": "#/definitions/app.Response"
  8192. }
  8193. }
  8194. }
  8195. }
  8196. },
  8197. "/SZDZ/QueryConvertConfig": {
  8198. "get": {
  8199. "security": [
  8200. {
  8201. "ApiKeyAuth": []
  8202. }
  8203. ],
  8204. "produces": [
  8205. "application/json"
  8206. ],
  8207. "tags": [
  8208. "定制【尚志大宗】"
  8209. ],
  8210. "summary": "查询交易系统转换设置",
  8211. "parameters": [
  8212. {
  8213. "type": "integer",
  8214. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8215. "name": "convertType",
  8216. "in": "query"
  8217. },
  8218. {
  8219. "type": "string",
  8220. "description": "外部商品代码[JD\\PD]",
  8221. "name": "outerGoodsCode",
  8222. "in": "query"
  8223. },
  8224. {
  8225. "type": "string",
  8226. "description": "内部商品ID列表[交易],格式:1,2,3",
  8227. "name": "innerGoodsIDs",
  8228. "in": "query"
  8229. }
  8230. ],
  8231. "responses": {
  8232. "200": {
  8233. "description": "OK",
  8234. "schema": {
  8235. "$ref": "#/definitions/models.Szdz3convertconfig"
  8236. }
  8237. },
  8238. "500": {
  8239. "description": "Internal Server Error",
  8240. "schema": {
  8241. "$ref": "#/definitions/app.Response"
  8242. }
  8243. }
  8244. }
  8245. }
  8246. },
  8247. "/SZDZ/QueryConvertLog": {
  8248. "get": {
  8249. "security": [
  8250. {
  8251. "ApiKeyAuth": []
  8252. }
  8253. ],
  8254. "produces": [
  8255. "application/json"
  8256. ],
  8257. "tags": [
  8258. "定制【尚志大宗】"
  8259. ],
  8260. "summary": "交易系统转换流水查询",
  8261. "parameters": [
  8262. {
  8263. "type": "string",
  8264. "description": "资金账户 - 格式:1,2,3",
  8265. "name": "accountID",
  8266. "in": "query",
  8267. "required": true
  8268. },
  8269. {
  8270. "type": "string",
  8271. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8272. "name": "startDate",
  8273. "in": "query"
  8274. },
  8275. {
  8276. "type": "string",
  8277. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8278. "name": "endDate",
  8279. "in": "query"
  8280. }
  8281. ],
  8282. "responses": {
  8283. "200": {
  8284. "description": "OK",
  8285. "schema": {
  8286. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8287. }
  8288. },
  8289. "500": {
  8290. "description": "Internal Server Error",
  8291. "schema": {
  8292. "$ref": "#/definitions/app.Response"
  8293. }
  8294. }
  8295. }
  8296. }
  8297. },
  8298. "/SZDZ/QueryGoodsPickup": {
  8299. "get": {
  8300. "security": [
  8301. {
  8302. "ApiKeyAuth": []
  8303. }
  8304. ],
  8305. "produces": [
  8306. "application/json"
  8307. ],
  8308. "tags": [
  8309. "定制【尚志大宗】"
  8310. ],
  8311. "summary": "商品提货单查询",
  8312. "parameters": [
  8313. {
  8314. "type": "string",
  8315. "description": "资金账户 - 格式:1,2,3",
  8316. "name": "accountID",
  8317. "in": "query",
  8318. "required": true
  8319. },
  8320. {
  8321. "type": "integer",
  8322. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8323. "name": "takeOrderStatus",
  8324. "in": "query"
  8325. }
  8326. ],
  8327. "responses": {
  8328. "200": {
  8329. "description": "OK",
  8330. "schema": {
  8331. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8332. }
  8333. },
  8334. "500": {
  8335. "description": "Internal Server Error",
  8336. "schema": {
  8337. "$ref": "#/definitions/app.Response"
  8338. }
  8339. }
  8340. }
  8341. }
  8342. },
  8343. "/SZDZ/QueryRecieptOrder": {
  8344. "get": {
  8345. "security": [
  8346. {
  8347. "ApiKeyAuth": []
  8348. }
  8349. ],
  8350. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8351. "produces": [
  8352. "application/json"
  8353. ],
  8354. "tags": [
  8355. "定制【尚志大宗】"
  8356. ],
  8357. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8358. "parameters": [
  8359. {
  8360. "type": "integer",
  8361. "description": "页码",
  8362. "name": "page",
  8363. "in": "query"
  8364. },
  8365. {
  8366. "type": "integer",
  8367. "description": "每页条数",
  8368. "name": "pagesize",
  8369. "in": "query"
  8370. },
  8371. {
  8372. "type": "integer",
  8373. "description": "商品ID",
  8374. "name": "goodsID",
  8375. "in": "query",
  8376. "required": true
  8377. },
  8378. {
  8379. "type": "string",
  8380. "description": "所属账户名称",
  8381. "name": "accountName",
  8382. "in": "query"
  8383. },
  8384. {
  8385. "type": "integer",
  8386. "description": "市场ID",
  8387. "name": "marketID",
  8388. "in": "query"
  8389. },
  8390. {
  8391. "type": "integer",
  8392. "description": "方向 - 0:买 1:卖",
  8393. "name": "buyorsell",
  8394. "in": "query",
  8395. "required": true
  8396. }
  8397. ],
  8398. "responses": {
  8399. "200": {
  8400. "description": "OK",
  8401. "schema": {
  8402. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8403. }
  8404. },
  8405. "500": {
  8406. "description": "Internal Server Error",
  8407. "schema": {
  8408. "$ref": "#/definitions/app.Response"
  8409. }
  8410. }
  8411. }
  8412. }
  8413. },
  8414. "/SZDZ/QuerySZDZTradePosition": {
  8415. "get": {
  8416. "security": [
  8417. {
  8418. "ApiKeyAuth": []
  8419. }
  8420. ],
  8421. "produces": [
  8422. "application/json"
  8423. ],
  8424. "tags": [
  8425. "定制【尚志大宗】"
  8426. ],
  8427. "summary": "持仓汇总查询(尚志大宗)",
  8428. "parameters": [
  8429. {
  8430. "type": "integer",
  8431. "description": "资金账户",
  8432. "name": "accountID",
  8433. "in": "query",
  8434. "required": true
  8435. }
  8436. ],
  8437. "responses": {
  8438. "200": {
  8439. "description": "OK",
  8440. "schema": {
  8441. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8442. }
  8443. },
  8444. "500": {
  8445. "description": "Internal Server Error",
  8446. "schema": {
  8447. "$ref": "#/definitions/app.Response"
  8448. }
  8449. }
  8450. }
  8451. }
  8452. },
  8453. "/SZDZ/SearchWhite": {
  8454. "get": {
  8455. "security": [
  8456. {
  8457. "ApiKeyAuth": []
  8458. }
  8459. ],
  8460. "produces": [
  8461. "application/json"
  8462. ],
  8463. "tags": [
  8464. "定制【尚志大宗】"
  8465. ],
  8466. "summary": "搜索白名单",
  8467. "parameters": [
  8468. {
  8469. "type": "integer",
  8470. "description": "用户ID",
  8471. "name": "userID",
  8472. "in": "query",
  8473. "required": true
  8474. }
  8475. ],
  8476. "responses": {
  8477. "200": {
  8478. "description": "OK",
  8479. "schema": {
  8480. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8481. }
  8482. },
  8483. "500": {
  8484. "description": "Internal Server Error",
  8485. "schema": {
  8486. "$ref": "#/definitions/app.Response"
  8487. }
  8488. }
  8489. }
  8490. }
  8491. },
  8492. "/Search/SearchGoodses": {
  8493. "get": {
  8494. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8495. "produces": [
  8496. "application/json"
  8497. ],
  8498. "tags": [
  8499. "检索服务"
  8500. ],
  8501. "summary": "检索商品信息",
  8502. "parameters": [
  8503. {
  8504. "type": "string",
  8505. "description": "检索内容",
  8506. "name": "content",
  8507. "in": "query",
  8508. "required": true
  8509. },
  8510. {
  8511. "type": "string",
  8512. "description": "交易模式,格式:1,2,3",
  8513. "name": "tradeModes",
  8514. "in": "query"
  8515. }
  8516. ],
  8517. "responses": {
  8518. "200": {
  8519. "description": "OK",
  8520. "schema": {
  8521. "$ref": "#/definitions/models.SearchGoods"
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/TaAccount/GetTaAccounts": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "资金账户"
  8545. ],
  8546. "summary": "获取资金账户信息",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "登录账户",
  8551. "name": "loginID",
  8552. "in": "query",
  8553. "required": true
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8558. "name": "taAccountType",
  8559. "in": "query"
  8560. }
  8561. ],
  8562. "responses": {
  8563. "200": {
  8564. "description": "OK",
  8565. "schema": {
  8566. "$ref": "#/definitions/models.Taaccount"
  8567. }
  8568. },
  8569. "500": {
  8570. "description": "Internal Server Error",
  8571. "schema": {
  8572. "$ref": "#/definitions/app.Response"
  8573. }
  8574. }
  8575. }
  8576. }
  8577. },
  8578. "/TaAccount/QueryAmountLog": {
  8579. "get": {
  8580. "security": [
  8581. {
  8582. "ApiKeyAuth": []
  8583. }
  8584. ],
  8585. "produces": [
  8586. "application/json"
  8587. ],
  8588. "tags": [
  8589. "资金账户"
  8590. ],
  8591. "summary": "资金流水查询(当前)",
  8592. "parameters": [
  8593. {
  8594. "type": "integer",
  8595. "description": "页码",
  8596. "name": "page",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "每页条数",
  8602. "name": "pagesize",
  8603. "in": "query"
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "资金账户 - 格式:1,2,3",
  8608. "name": "accountID",
  8609. "in": "query",
  8610. "required": true
  8611. },
  8612. {
  8613. "type": "string",
  8614. "description": "资金操作类型 - 格式:1,2,3",
  8615. "name": "OperateType",
  8616. "in": "query"
  8617. }
  8618. ],
  8619. "responses": {
  8620. "200": {
  8621. "description": "OK",
  8622. "schema": {
  8623. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8624. }
  8625. },
  8626. "500": {
  8627. "description": "Internal Server Error",
  8628. "schema": {
  8629. "$ref": "#/definitions/app.Response"
  8630. }
  8631. }
  8632. }
  8633. }
  8634. },
  8635. "/TaAccount/QueryHisAmountLog": {
  8636. "get": {
  8637. "security": [
  8638. {
  8639. "ApiKeyAuth": []
  8640. }
  8641. ],
  8642. "produces": [
  8643. "application/json"
  8644. ],
  8645. "tags": [
  8646. "资金账户"
  8647. ],
  8648. "summary": "资金流水查询(历史)",
  8649. "parameters": [
  8650. {
  8651. "type": "integer",
  8652. "description": "页码",
  8653. "name": "page",
  8654. "in": "query"
  8655. },
  8656. {
  8657. "type": "integer",
  8658. "description": "每页条数",
  8659. "name": "pagesize",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "string",
  8664. "description": "资金账户 - 格式:1,2,3",
  8665. "name": "accountID",
  8666. "in": "query",
  8667. "required": true
  8668. },
  8669. {
  8670. "type": "string",
  8671. "description": "资金操作类型 - 格式:1,2,3",
  8672. "name": "OperateType",
  8673. "in": "query"
  8674. },
  8675. {
  8676. "type": "string",
  8677. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8678. "name": "startDate",
  8679. "in": "query"
  8680. },
  8681. {
  8682. "type": "string",
  8683. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8684. "name": "endDate",
  8685. "in": "query"
  8686. }
  8687. ],
  8688. "responses": {
  8689. "200": {
  8690. "description": "OK",
  8691. "schema": {
  8692. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8693. }
  8694. },
  8695. "500": {
  8696. "description": "Internal Server Error",
  8697. "schema": {
  8698. "$ref": "#/definitions/app.Response"
  8699. }
  8700. }
  8701. }
  8702. }
  8703. },
  8704. "/Trade/QueryRecieptOrder": {
  8705. "get": {
  8706. "security": [
  8707. {
  8708. "ApiKeyAuth": []
  8709. }
  8710. ],
  8711. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8712. "produces": [
  8713. "application/json"
  8714. ],
  8715. "tags": [
  8716. "通用交易"
  8717. ],
  8718. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8719. "parameters": [
  8720. {
  8721. "type": "integer",
  8722. "description": "页码",
  8723. "name": "page",
  8724. "in": "query"
  8725. },
  8726. {
  8727. "type": "integer",
  8728. "description": "每页条数",
  8729. "name": "pagesize",
  8730. "in": "query"
  8731. },
  8732. {
  8733. "type": "integer",
  8734. "description": "商品ID",
  8735. "name": "goodsID",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "string",
  8741. "description": "所属账户名称",
  8742. "name": "accountName",
  8743. "in": "query"
  8744. },
  8745. {
  8746. "type": "integer",
  8747. "description": "市场ID",
  8748. "name": "marketID",
  8749. "in": "query"
  8750. },
  8751. {
  8752. "type": "integer",
  8753. "description": "方向 - 0:买 1:卖",
  8754. "name": "buyorsell",
  8755. "in": "query",
  8756. "required": true
  8757. }
  8758. ],
  8759. "responses": {
  8760. "200": {
  8761. "description": "OK",
  8762. "schema": {
  8763. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8764. }
  8765. },
  8766. "500": {
  8767. "description": "Internal Server Error",
  8768. "schema": {
  8769. "$ref": "#/definitions/app.Response"
  8770. }
  8771. }
  8772. }
  8773. }
  8774. },
  8775. "/User/AddMessageBoard": {
  8776. "post": {
  8777. "security": [
  8778. {
  8779. "ApiKeyAuth": []
  8780. }
  8781. ],
  8782. "produces": [
  8783. "application/json"
  8784. ],
  8785. "tags": [
  8786. "用户信息"
  8787. ],
  8788. "summary": "添加用户留言板信息",
  8789. "parameters": [
  8790. {
  8791. "type": "integer",
  8792. "description": "用户ID",
  8793. "name": "userID",
  8794. "in": "query",
  8795. "required": true
  8796. },
  8797. {
  8798. "type": "string",
  8799. "description": "留言信息",
  8800. "name": "message",
  8801. "in": "query",
  8802. "required": true
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "联系电话",
  8807. "name": "contactNum",
  8808. "in": "query",
  8809. "required": true
  8810. }
  8811. ],
  8812. "responses": {
  8813. "200": {
  8814. "description": "OK",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. },
  8819. "500": {
  8820. "description": "Internal Server Error",
  8821. "schema": {
  8822. "$ref": "#/definitions/app.Response"
  8823. }
  8824. }
  8825. }
  8826. }
  8827. },
  8828. "/User/AddUserFavoriteGoods": {
  8829. "post": {
  8830. "security": [
  8831. {
  8832. "ApiKeyAuth": []
  8833. }
  8834. ],
  8835. "produces": [
  8836. "application/json"
  8837. ],
  8838. "tags": [
  8839. "用户信息"
  8840. ],
  8841. "summary": "添加用户商品收藏信息",
  8842. "parameters": [
  8843. {
  8844. "type": "integer",
  8845. "description": "用户ID",
  8846. "name": "userID",
  8847. "in": "query",
  8848. "required": true
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "商品ID",
  8853. "name": "goodsID",
  8854. "in": "query",
  8855. "required": true
  8856. }
  8857. ],
  8858. "responses": {
  8859. "200": {
  8860. "description": "OK",
  8861. "schema": {
  8862. "$ref": "#/definitions/app.Response"
  8863. }
  8864. },
  8865. "500": {
  8866. "description": "Internal Server Error",
  8867. "schema": {
  8868. "$ref": "#/definitions/app.Response"
  8869. }
  8870. }
  8871. }
  8872. }
  8873. },
  8874. "/User/GetLoginID": {
  8875. "get": {
  8876. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8877. "produces": [
  8878. "application/json"
  8879. ],
  8880. "tags": [
  8881. "用户信息"
  8882. ],
  8883. "summary": "获取登录ID",
  8884. "parameters": [
  8885. {
  8886. "type": "string",
  8887. "description": "登录代码",
  8888. "name": "username",
  8889. "in": "query",
  8890. "required": true
  8891. }
  8892. ],
  8893. "responses": {
  8894. "200": {
  8895. "description": "OK",
  8896. "schema": {
  8897. "$ref": "#/definitions/app.Response"
  8898. }
  8899. },
  8900. "500": {
  8901. "description": "Internal Server Error",
  8902. "schema": {
  8903. "$ref": "#/definitions/app.Response"
  8904. }
  8905. }
  8906. }
  8907. }
  8908. },
  8909. "/User/GetUserAccount": {
  8910. "get": {
  8911. "security": [
  8912. {
  8913. "ApiKeyAuth": []
  8914. }
  8915. ],
  8916. "produces": [
  8917. "application/json"
  8918. ],
  8919. "tags": [
  8920. "用户信息"
  8921. ],
  8922. "summary": "获取用户账号信息",
  8923. "parameters": [
  8924. {
  8925. "type": "integer",
  8926. "description": "用户ID",
  8927. "name": "userID",
  8928. "in": "query",
  8929. "required": true
  8930. }
  8931. ],
  8932. "responses": {
  8933. "200": {
  8934. "description": "OK",
  8935. "schema": {
  8936. "$ref": "#/definitions/models.Useraccount"
  8937. }
  8938. },
  8939. "500": {
  8940. "description": "Internal Server Error",
  8941. "schema": {
  8942. "$ref": "#/definitions/app.Response"
  8943. }
  8944. }
  8945. }
  8946. }
  8947. },
  8948. "/User/GetUserAuthStatus": {
  8949. "get": {
  8950. "security": [
  8951. {
  8952. "ApiKeyAuth": []
  8953. }
  8954. ],
  8955. "produces": [
  8956. "application/json"
  8957. ],
  8958. "tags": [
  8959. "用户信息"
  8960. ],
  8961. "summary": "获取用户实名认证状态",
  8962. "parameters": [
  8963. {
  8964. "type": "integer",
  8965. "description": "用户ID",
  8966. "name": "userID",
  8967. "in": "query",
  8968. "required": true
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "$ref": "#/definitions/app.Response"
  8976. }
  8977. },
  8978. "500": {
  8979. "description": "Internal Server Error",
  8980. "schema": {
  8981. "$ref": "#/definitions/app.Response"
  8982. }
  8983. }
  8984. }
  8985. }
  8986. },
  8987. "/User/LoginQuery": {
  8988. "get": {
  8989. "security": [
  8990. {
  8991. "ApiKeyAuth": []
  8992. }
  8993. ],
  8994. "produces": [
  8995. "application/json"
  8996. ],
  8997. "tags": [
  8998. "用户信息"
  8999. ],
  9000. "summary": "账户登录后信息查询",
  9001. "parameters": [
  9002. {
  9003. "type": "integer",
  9004. "description": "登录账号",
  9005. "name": "loginID",
  9006. "in": "query",
  9007. "required": true
  9008. }
  9009. ],
  9010. "responses": {
  9011. "200": {
  9012. "description": "OK",
  9013. "schema": {
  9014. "$ref": "#/definitions/user.LoginQueryRsp"
  9015. }
  9016. },
  9017. "500": {
  9018. "description": "Internal Server Error",
  9019. "schema": {
  9020. "$ref": "#/definitions/app.Response"
  9021. }
  9022. }
  9023. }
  9024. }
  9025. },
  9026. "/User/QueryMessageBoard": {
  9027. "get": {
  9028. "security": [
  9029. {
  9030. "ApiKeyAuth": []
  9031. }
  9032. ],
  9033. "produces": [
  9034. "application/json"
  9035. ],
  9036. "tags": [
  9037. "用户信息"
  9038. ],
  9039. "summary": "获取用户留言板信息",
  9040. "parameters": [
  9041. {
  9042. "type": "integer",
  9043. "description": "用户ID",
  9044. "name": "userID",
  9045. "in": "query",
  9046. "required": true
  9047. }
  9048. ],
  9049. "responses": {
  9050. "200": {
  9051. "description": "OK",
  9052. "schema": {
  9053. "$ref": "#/definitions/models.Messageboard"
  9054. }
  9055. },
  9056. "500": {
  9057. "description": "Internal Server Error",
  9058. "schema": {
  9059. "$ref": "#/definitions/app.Response"
  9060. }
  9061. }
  9062. }
  9063. }
  9064. },
  9065. "/User/QueryUserFavoriteGoodses": {
  9066. "get": {
  9067. "security": [
  9068. {
  9069. "ApiKeyAuth": []
  9070. }
  9071. ],
  9072. "produces": [
  9073. "application/json"
  9074. ],
  9075. "tags": [
  9076. "用户信息"
  9077. ],
  9078. "summary": "获取用户商品收藏信息",
  9079. "parameters": [
  9080. {
  9081. "type": "integer",
  9082. "description": "用户ID",
  9083. "name": "userID",
  9084. "in": "query",
  9085. "required": true
  9086. }
  9087. ],
  9088. "responses": {
  9089. "200": {
  9090. "description": "OK",
  9091. "schema": {
  9092. "$ref": "#/definitions/models.Userfavoritegoods"
  9093. }
  9094. },
  9095. "500": {
  9096. "description": "Internal Server Error",
  9097. "schema": {
  9098. "$ref": "#/definitions/app.Response"
  9099. }
  9100. }
  9101. }
  9102. }
  9103. },
  9104. "/User/QueryUserInfo": {
  9105. "get": {
  9106. "security": [
  9107. {
  9108. "ApiKeyAuth": []
  9109. }
  9110. ],
  9111. "produces": [
  9112. "application/json"
  9113. ],
  9114. "tags": [
  9115. "用户信息"
  9116. ],
  9117. "summary": "获取用户信息",
  9118. "parameters": [
  9119. {
  9120. "type": "integer",
  9121. "description": "用户ID",
  9122. "name": "userID",
  9123. "in": "query",
  9124. "required": true
  9125. },
  9126. {
  9127. "type": "boolean",
  9128. "description": "是否解密",
  9129. "name": "isDecrypt",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "$ref": "#/definitions/models.Userinfo"
  9138. }
  9139. },
  9140. "500": {
  9141. "description": "Internal Server Error",
  9142. "schema": {
  9143. "$ref": "#/definitions/app.Response"
  9144. }
  9145. }
  9146. }
  9147. }
  9148. },
  9149. "/User/QueryUserReferNum": {
  9150. "get": {
  9151. "produces": [
  9152. "application/json"
  9153. ],
  9154. "tags": [
  9155. "用户信息"
  9156. ],
  9157. "summary": "获取用户邀请码",
  9158. "parameters": [
  9159. {
  9160. "type": "integer",
  9161. "description": "用户ID",
  9162. "name": "userID",
  9163. "in": "query",
  9164. "required": true
  9165. }
  9166. ],
  9167. "responses": {
  9168. "200": {
  9169. "description": "OK",
  9170. "schema": {
  9171. "$ref": "#/definitions/app.Response"
  9172. }
  9173. },
  9174. "500": {
  9175. "description": "Internal Server Error",
  9176. "schema": {
  9177. "$ref": "#/definitions/app.Response"
  9178. }
  9179. }
  9180. }
  9181. }
  9182. },
  9183. "/User/RemoveUserFavoriteGoods": {
  9184. "post": {
  9185. "security": [
  9186. {
  9187. "ApiKeyAuth": []
  9188. }
  9189. ],
  9190. "produces": [
  9191. "application/json"
  9192. ],
  9193. "tags": [
  9194. "用户信息"
  9195. ],
  9196. "summary": "移除用户商品收藏信息",
  9197. "parameters": [
  9198. {
  9199. "type": "integer",
  9200. "description": "用户ID",
  9201. "name": "userID",
  9202. "in": "query",
  9203. "required": true
  9204. },
  9205. {
  9206. "type": "integer",
  9207. "description": "商品ID",
  9208. "name": "goodsID",
  9209. "in": "query",
  9210. "required": true
  9211. }
  9212. ],
  9213. "responses": {
  9214. "200": {
  9215. "description": "OK",
  9216. "schema": {
  9217. "$ref": "#/definitions/app.Response"
  9218. }
  9219. },
  9220. "500": {
  9221. "description": "Internal Server Error",
  9222. "schema": {
  9223. "$ref": "#/definitions/app.Response"
  9224. }
  9225. }
  9226. }
  9227. }
  9228. },
  9229. "/User/UpdateUserAccountStatus": {
  9230. "post": {
  9231. "security": [
  9232. {
  9233. "ApiKeyAuth": []
  9234. }
  9235. ],
  9236. "produces": [
  9237. "application/json"
  9238. ],
  9239. "tags": [
  9240. "用户信息"
  9241. ],
  9242. "summary": "更新用户状态",
  9243. "parameters": [
  9244. {
  9245. "type": "integer",
  9246. "description": "用户ID",
  9247. "name": "userID",
  9248. "in": "query",
  9249. "required": true
  9250. },
  9251. {
  9252. "type": "integer",
  9253. "description": "账户状态 - 4:正常 6:注销(停用)",
  9254. "name": "accountStatus",
  9255. "in": "query",
  9256. "required": true
  9257. }
  9258. ],
  9259. "responses": {
  9260. "200": {
  9261. "description": "OK",
  9262. "schema": {
  9263. "$ref": "#/definitions/app.Response"
  9264. }
  9265. },
  9266. "500": {
  9267. "description": "Internal Server Error",
  9268. "schema": {
  9269. "$ref": "#/definitions/app.Response"
  9270. }
  9271. }
  9272. }
  9273. }
  9274. },
  9275. "/WRTrade/GetAllDeliveryGoods": {
  9276. "get": {
  9277. "security": [
  9278. {
  9279. "ApiKeyAuth": []
  9280. },
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json",
  9287. "application/json"
  9288. ],
  9289. "tags": [
  9290. "仓单贸易",
  9291. "仓单贸易"
  9292. ],
  9293. "summary": "获取带仓单分类的种类信息",
  9294. "responses": {
  9295. "200": {
  9296. "description": "OK",
  9297. "schema": {
  9298. "$ref": "#/definitions/app.Response"
  9299. }
  9300. },
  9301. "500": {
  9302. "description": "Internal Server Error",
  9303. "schema": {
  9304. "$ref": "#/definitions/app.Response"
  9305. }
  9306. }
  9307. }
  9308. }
  9309. }
  9310. },
  9311. "definitions": {
  9312. "app.Response": {
  9313. "type": "object",
  9314. "properties": {
  9315. "code": {
  9316. "type": "integer"
  9317. },
  9318. "data": {
  9319. "type": "object"
  9320. },
  9321. "msg": {
  9322. "type": "string"
  9323. },
  9324. "page": {
  9325. "description": "页码",
  9326. "type": "integer"
  9327. },
  9328. "pagesize": {
  9329. "description": "每页条数",
  9330. "type": "integer"
  9331. },
  9332. "total": {
  9333. "description": "总条数",
  9334. "type": "integer"
  9335. }
  9336. }
  9337. },
  9338. "common.ClientMenu": {
  9339. "type": "object",
  9340. "properties": {
  9341. "children": {
  9342. "description": "子菜单列表",
  9343. "type": "array",
  9344. "items": {
  9345. "$ref": "#/definitions/common.ClientMenu"
  9346. }
  9347. },
  9348. "code": {
  9349. "description": "ID",
  9350. "type": "string"
  9351. },
  9352. "isshow": {
  9353. "description": "是否显示",
  9354. "type": "boolean"
  9355. },
  9356. "rulekey": {
  9357. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9358. "type": "string"
  9359. },
  9360. "sort": {
  9361. "description": "排序",
  9362. "type": "integer"
  9363. },
  9364. "title": {
  9365. "description": "标题",
  9366. "type": "string"
  9367. },
  9368. "type": {
  9369. "description": "类型,1:菜单 2:按钮",
  9370. "type": "integer"
  9371. }
  9372. }
  9373. },
  9374. "common.QueryImageConfigsRsp": {
  9375. "type": "object",
  9376. "required": [
  9377. "configid"
  9378. ],
  9379. "properties": {
  9380. "areauserid": {
  9381. "description": "所属机构ID",
  9382. "type": "integer"
  9383. },
  9384. "configid": {
  9385. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9386. "type": "integer"
  9387. },
  9388. "createdate": {
  9389. "description": "创建时间",
  9390. "type": "string"
  9391. },
  9392. "creatorid": {
  9393. "description": "创建人",
  9394. "type": "integer"
  9395. },
  9396. "imagepath": {
  9397. "description": "图片",
  9398. "type": "string"
  9399. },
  9400. "imagetype": {
  9401. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9402. "type": "integer"
  9403. },
  9404. "isshow": {
  9405. "description": "是否展示 - 0:不展示 1:展示",
  9406. "type": "integer"
  9407. },
  9408. "marketid": {
  9409. "description": "市场ID",
  9410. "type": "integer"
  9411. },
  9412. "modifierid": {
  9413. "description": "操作人",
  9414. "type": "integer"
  9415. },
  9416. "sort": {
  9417. "description": "排序",
  9418. "type": "integer"
  9419. },
  9420. "title": {
  9421. "description": "标题",
  9422. "type": "string"
  9423. },
  9424. "trademode": {
  9425. "description": "交易模式",
  9426. "type": "integer"
  9427. },
  9428. "updatedate": {
  9429. "description": "修改时间",
  9430. "type": "string"
  9431. },
  9432. "url": {
  9433. "description": "链接(地址或商品ID)",
  9434. "type": "string"
  9435. },
  9436. "urltype": {
  9437. "description": "链接类型 - 1:直接地址 2:商品ID",
  9438. "type": "integer"
  9439. }
  9440. }
  9441. },
  9442. "common.QueryNoticeRsp": {
  9443. "type": "object",
  9444. "required": [
  9445. "autoid"
  9446. ],
  9447. "properties": {
  9448. "auditoruserid": {
  9449. "description": "审核人",
  9450. "type": "integer"
  9451. },
  9452. "auditremark": {
  9453. "description": "审核备注",
  9454. "type": "string"
  9455. },
  9456. "audittime": {
  9457. "description": "审核日期",
  9458. "type": "string"
  9459. },
  9460. "autoid": {
  9461. "description": "自增ID",
  9462. "type": "integer"
  9463. },
  9464. "content": {
  9465. "description": "内容",
  9466. "type": "string"
  9467. },
  9468. "createtime": {
  9469. "description": "创建时间",
  9470. "type": "string"
  9471. },
  9472. "creatorid": {
  9473. "description": "建仓人",
  9474. "type": "integer"
  9475. },
  9476. "endtime": {
  9477. "description": "结束时间",
  9478. "type": "string"
  9479. },
  9480. "istop": {
  9481. "description": "是否置顶 - 0:不置顶 1:置顶",
  9482. "type": "integer"
  9483. },
  9484. "msgiconurl": {
  9485. "description": "消息图标Url",
  9486. "type": "string"
  9487. },
  9488. "msgtype": {
  9489. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9490. "type": "integer"
  9491. },
  9492. "publisher": {
  9493. "description": "消息发布者",
  9494. "type": "string"
  9495. },
  9496. "readed": {
  9497. "description": "是否已读",
  9498. "type": "boolean"
  9499. },
  9500. "scheduletime": {
  9501. "description": "计划发送时间",
  9502. "type": "string"
  9503. },
  9504. "sendtype": {
  9505. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9506. "type": "integer"
  9507. },
  9508. "sentstatus": {
  9509. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9510. "type": "integer"
  9511. },
  9512. "title": {
  9513. "description": "标题",
  9514. "type": "string"
  9515. },
  9516. "userid": {
  9517. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9518. "type": "integer"
  9519. }
  9520. }
  9521. },
  9522. "common.QueryProvincesAndCitiesRsp": {
  9523. "type": "object",
  9524. "properties": {
  9525. "cities": {
  9526. "description": "市",
  9527. "type": "array",
  9528. "items": {
  9529. "$ref": "#/definitions/models.Division"
  9530. }
  9531. },
  9532. "province": {
  9533. "description": "省",
  9534. "type": "object",
  9535. "$ref": "#/definitions/models.Division"
  9536. }
  9537. }
  9538. },
  9539. "common.QueryTableDefineRsp": {
  9540. "type": "object",
  9541. "required": [
  9542. "tablekey"
  9543. ],
  9544. "properties": {
  9545. "columns": {
  9546. "description": "列头信息数组",
  9547. "type": "array",
  9548. "items": {
  9549. "$ref": "#/definitions/models.Tablecolumnconfig"
  9550. }
  9551. },
  9552. "remark": {
  9553. "description": "Remark",
  9554. "type": "string"
  9555. },
  9556. "tabelmenu": {
  9557. "description": "列表菜单",
  9558. "type": "string"
  9559. },
  9560. "tablekey": {
  9561. "description": "列表Key",
  9562. "type": "string"
  9563. },
  9564. "tablename": {
  9565. "description": "列表名称",
  9566. "type": "string"
  9567. },
  9568. "tabletype": {
  9569. "description": "列表类型 - 1:管理端 2:终端",
  9570. "type": "integer"
  9571. }
  9572. }
  9573. },
  9574. "common.QueryTraderMenuRsp": {
  9575. "type": "object",
  9576. "properties": {
  9577. "OperationMenu": {
  9578. "description": "功能菜单",
  9579. "type": "array",
  9580. "items": {
  9581. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9582. }
  9583. },
  9584. "QuoteMenu": {
  9585. "description": "报价牌分类菜单",
  9586. "type": "array",
  9587. "items": {
  9588. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9589. }
  9590. }
  9591. }
  9592. },
  9593. "cptrade.Cptradepositioncancel": {
  9594. "type": "object",
  9595. "required": [
  9596. "cancelid"
  9597. ],
  9598. "properties": {
  9599. "accountid": {
  9600. "description": "申请人账户ID",
  9601. "type": "integer"
  9602. },
  9603. "applystatus": {
  9604. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9605. "type": "integer"
  9606. },
  9607. "applytime": {
  9608. "description": "申请时间",
  9609. "type": "string"
  9610. },
  9611. "cancelid": {
  9612. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9613. "type": "integer"
  9614. },
  9615. "cancelqty": {
  9616. "description": "注销数量",
  9617. "type": "integer"
  9618. },
  9619. "createtime": {
  9620. "description": "创建时间",
  9621. "type": "string"
  9622. },
  9623. "creatorid": {
  9624. "description": "创建人ID",
  9625. "type": "integer"
  9626. },
  9627. "creatorname": {
  9628. "description": "创建人",
  9629. "type": "string"
  9630. },
  9631. "goodscode": {
  9632. "description": "订单商品代码",
  9633. "type": "string"
  9634. },
  9635. "goodsid": {
  9636. "description": "商品ID",
  9637. "type": "integer"
  9638. },
  9639. "goodsname": {
  9640. "description": "订单商品名称",
  9641. "type": "string"
  9642. },
  9643. "goodunit": {
  9644. "description": "报价单位",
  9645. "type": "string"
  9646. },
  9647. "handlestatus": {
  9648. "description": "处理状态",
  9649. "type": "integer"
  9650. },
  9651. "marketid": {
  9652. "description": "市场ID",
  9653. "type": "integer"
  9654. },
  9655. "marketname": {
  9656. "description": "市场名称",
  9657. "type": "string"
  9658. },
  9659. "tradedate": {
  9660. "description": "交易日(yyyyMMdd)",
  9661. "type": "string"
  9662. },
  9663. "userid": {
  9664. "description": "申请人ID",
  9665. "type": "integer"
  9666. }
  9667. }
  9668. },
  9669. "cptrade.Cptradepresaleapply": {
  9670. "type": "object",
  9671. "required": [
  9672. "applyid"
  9673. ],
  9674. "properties": {
  9675. "accountid": {
  9676. "description": "申请人账户ID",
  9677. "type": "integer"
  9678. },
  9679. "applyid": {
  9680. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9681. "type": "integer"
  9682. },
  9683. "applyremark": {
  9684. "description": "申请备注",
  9685. "type": "string"
  9686. },
  9687. "applystatus": {
  9688. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9689. "type": "integer"
  9690. },
  9691. "applytime": {
  9692. "description": "申请时间",
  9693. "type": "string"
  9694. },
  9695. "attachmenturl": {
  9696. "description": "附件地址",
  9697. "type": "string"
  9698. },
  9699. "endtime": {
  9700. "description": "预售结束时间",
  9701. "type": "string"
  9702. },
  9703. "goodscode": {
  9704. "description": "商品代码",
  9705. "type": "string"
  9706. },
  9707. "goodsid": {
  9708. "description": "商品ID",
  9709. "type": "integer"
  9710. },
  9711. "goodsname": {
  9712. "description": "商品名称",
  9713. "type": "string"
  9714. },
  9715. "goodunit": {
  9716. "description": "报价单位",
  9717. "type": "string"
  9718. },
  9719. "handlestatus": {
  9720. "description": "处理状态",
  9721. "type": "integer"
  9722. },
  9723. "marketid": {
  9724. "description": "预售市场ID",
  9725. "type": "integer"
  9726. },
  9727. "marketname": {
  9728. "description": "预售市场名称",
  9729. "type": "string"
  9730. },
  9731. "presaleqty": {
  9732. "description": "预售数量",
  9733. "type": "integer"
  9734. },
  9735. "relatedgoodscode": {
  9736. "description": "关联交易合约代码",
  9737. "type": "string"
  9738. },
  9739. "relatedgoodsid": {
  9740. "description": "关联交易合约ID",
  9741. "type": "integer"
  9742. },
  9743. "relatedgoodsname": {
  9744. "description": "关联交易合约名称",
  9745. "type": "string"
  9746. },
  9747. "starttime": {
  9748. "description": "预售开始时间",
  9749. "type": "string"
  9750. },
  9751. "tradedate": {
  9752. "description": "交易日(yyyyMMdd)",
  9753. "type": "string"
  9754. },
  9755. "trademode": {
  9756. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9757. "type": "integer"
  9758. },
  9759. "userid": {
  9760. "description": "申请人ID",
  9761. "type": "integer"
  9762. }
  9763. }
  9764. },
  9765. "cptrade.Cptradeusergoodsdata": {
  9766. "type": "object",
  9767. "required": [
  9768. "accountid",
  9769. "goodsid"
  9770. ],
  9771. "properties": {
  9772. "EnabledQty": {
  9773. "description": "可用量",
  9774. "type": "integer"
  9775. },
  9776. "GoodsCode": {
  9777. "description": "订单商品代码",
  9778. "type": "string"
  9779. },
  9780. "GoodsName": {
  9781. "description": "订单商品名称",
  9782. "type": "string"
  9783. },
  9784. "WRStandardCode": {
  9785. "description": "仓单标准代码",
  9786. "type": "string"
  9787. },
  9788. "WRStandardName": {
  9789. "description": "仓单标准名称",
  9790. "type": "string"
  9791. },
  9792. "accountid": {
  9793. "description": "账户ID",
  9794. "type": "integer"
  9795. },
  9796. "cancelqty": {
  9797. "description": "注销量",
  9798. "type": "integer"
  9799. },
  9800. "curpresaleqty": {
  9801. "description": "当前预售量",
  9802. "type": "integer"
  9803. },
  9804. "deliveryqty": {
  9805. "description": "交割量",
  9806. "type": "integer"
  9807. },
  9808. "freezeamount": {
  9809. "description": "冻结金额",
  9810. "type": "number"
  9811. },
  9812. "goodsid": {
  9813. "description": "商品ID",
  9814. "type": "integer"
  9815. },
  9816. "goodunit": {
  9817. "description": "报价单位",
  9818. "type": "string"
  9819. },
  9820. "hasspotfreeze": {
  9821. "description": "是否有现货冻结 - 0:否 1:有",
  9822. "type": "integer"
  9823. },
  9824. "inqty": {
  9825. "description": "转入量(总数量)",
  9826. "type": "integer"
  9827. },
  9828. "marketid": {
  9829. "description": "市场ID",
  9830. "type": "integer"
  9831. },
  9832. "presaledamount": {
  9833. "description": "已预售总金额",
  9834. "type": "integer"
  9835. },
  9836. "presaledqty": {
  9837. "description": "已预售量",
  9838. "type": "integer"
  9839. },
  9840. "userid": {
  9841. "description": "用户ID",
  9842. "type": "integer"
  9843. },
  9844. "wrstandardid": {
  9845. "description": "仓单标准ID",
  9846. "type": "integer"
  9847. }
  9848. }
  9849. },
  9850. "cptrade.QueryCPTradeMyBidRsp": {
  9851. "type": "object",
  9852. "required": [
  9853. "accountid",
  9854. "goodsid",
  9855. "marketid",
  9856. "orderid",
  9857. "orderqty",
  9858. "ordertime",
  9859. "tradeprice",
  9860. "tradeqty"
  9861. ],
  9862. "properties": {
  9863. "accountid": {
  9864. "description": "账户ID[报价币种]",
  9865. "type": "integer"
  9866. },
  9867. "goodsid": {
  9868. "description": "商品ID",
  9869. "type": "integer"
  9870. },
  9871. "goodunit": {
  9872. "description": "报价单位",
  9873. "type": "string"
  9874. },
  9875. "marketid": {
  9876. "description": "市场ID",
  9877. "type": "integer"
  9878. },
  9879. "orderid": {
  9880. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9881. "type": "integer"
  9882. },
  9883. "orderprice": {
  9884. "description": "委托价格",
  9885. "type": "number"
  9886. },
  9887. "orderqty": {
  9888. "description": "委托数量",
  9889. "type": "integer"
  9890. },
  9891. "ordertime": {
  9892. "description": "委托时间",
  9893. "type": "string"
  9894. },
  9895. "ordertotalprice": {
  9896. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9897. "type": "number"
  9898. },
  9899. "ordertotalweight": {
  9900. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9901. "type": "integer"
  9902. },
  9903. "totaltotalprice": {
  9904. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9905. "type": "number"
  9906. },
  9907. "tradeprice": {
  9908. "description": "成交价格",
  9909. "type": "number"
  9910. },
  9911. "tradeqty": {
  9912. "description": "成交数量",
  9913. "type": "integer"
  9914. }
  9915. }
  9916. },
  9917. "cptrade.QueryCPTradeOrderDetailRsq": {
  9918. "type": "object",
  9919. "required": [
  9920. "accountid",
  9921. "buildtype",
  9922. "buyorsell",
  9923. "goodsid",
  9924. "marketid",
  9925. "memberuserid",
  9926. "operatetype",
  9927. "orderqty",
  9928. "ordertime",
  9929. "pricemode",
  9930. "strorderid",
  9931. "tradedate",
  9932. "validtype"
  9933. ],
  9934. "properties": {
  9935. "accountid": {
  9936. "description": "账户ID[报价币种]",
  9937. "type": "integer"
  9938. },
  9939. "buildtype": {
  9940. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9941. "type": "integer"
  9942. },
  9943. "buyorsell": {
  9944. "description": "买卖 - 0:买 1:卖",
  9945. "type": "integer"
  9946. },
  9947. "cancelorderid": {
  9948. "description": "撤单单号(撤单时填写)",
  9949. "type": "integer"
  9950. },
  9951. "cancelqty": {
  9952. "description": "撤单数量",
  9953. "type": "integer"
  9954. },
  9955. "clientordertime": {
  9956. "description": "客户端委托时间",
  9957. "type": "string"
  9958. },
  9959. "clientticket": {
  9960. "description": "客户端流水号",
  9961. "type": "string"
  9962. },
  9963. "clienttype": {
  9964. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9965. "type": "integer"
  9966. },
  9967. "closeexchagechargevalue": {
  9968. "description": "平仓交易所手续费设置值",
  9969. "type": "number"
  9970. },
  9971. "closefeealgorithm": {
  9972. "description": "平仓手续费收取方式 1:比率 2:固定",
  9973. "type": "integer"
  9974. },
  9975. "closefreezecharge": {
  9976. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9977. "type": "number"
  9978. },
  9979. "closememberchargevalue": {
  9980. "description": "平仓会员手续费设置值",
  9981. "type": "number"
  9982. },
  9983. "closeqty": {
  9984. "description": "平仓数量(先建后平操作 需要记录)",
  9985. "type": "integer"
  9986. },
  9987. "closetradeqty": {
  9988. "description": "平仓成交数量(先建后平操作,需要记录)",
  9989. "type": "integer"
  9990. },
  9991. "closeunfreezecharge": {
  9992. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9993. "type": "number"
  9994. },
  9995. "delistingtype": {
  9996. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9997. "type": "integer"
  9998. },
  9999. "freezecharge": {
  10000. "description": "冻结手续费",
  10001. "type": "number"
  10002. },
  10003. "freezemargin": {
  10004. "description": "冻结保证金(冻结交易金额)",
  10005. "type": "number"
  10006. },
  10007. "gcaccountid": {
  10008. "description": "账户ID[合约币种]",
  10009. "type": "integer"
  10010. },
  10011. "goodsid": {
  10012. "description": "商品ID",
  10013. "type": "integer"
  10014. },
  10015. "isconfirmexercise": {
  10016. "description": "是否确认行权- 0:否 1:是",
  10017. "type": "integer"
  10018. },
  10019. "ispreexercise": {
  10020. "description": "是否预申报- 0:否 1:是",
  10021. "type": "integer"
  10022. },
  10023. "listingselecttype": {
  10024. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10025. "type": "integer"
  10026. },
  10027. "marginalgorithm": {
  10028. "description": "保证金收取方式 1:比率 2:固定",
  10029. "type": "integer"
  10030. },
  10031. "marginvalue": {
  10032. "description": "即市保证金设置值",
  10033. "type": "number"
  10034. },
  10035. "marketid": {
  10036. "description": "市场ID",
  10037. "type": "integer"
  10038. },
  10039. "marketmaxsub": {
  10040. "description": "市价最大偏移范围",
  10041. "type": "number"
  10042. },
  10043. "memberuserid": {
  10044. "description": "所属会员UserID",
  10045. "type": "integer"
  10046. },
  10047. "openexchagechargevalue": {
  10048. "description": "建仓交易所手续费设置值",
  10049. "type": "number"
  10050. },
  10051. "openfeealgorithm": {
  10052. "description": "建仓手续费收取方式 1:比率 2:固定",
  10053. "type": "integer"
  10054. },
  10055. "openfreezecharge": {
  10056. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10057. "type": "number"
  10058. },
  10059. "openmemberchargevalue": {
  10060. "description": "建仓会员手续费设置值",
  10061. "type": "number"
  10062. },
  10063. "openqty": {
  10064. "description": "开仓数量(先建后平操作,需要记录)",
  10065. "type": "integer"
  10066. },
  10067. "opentradeqty": {
  10068. "description": "开仓成交数量(先建后平操作,需要记录)",
  10069. "type": "integer"
  10070. },
  10071. "openunfreezecharge": {
  10072. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10073. "type": "number"
  10074. },
  10075. "operatetype": {
  10076. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10077. "type": "integer"
  10078. },
  10079. "operatorid": {
  10080. "description": "登录账号(LoginID)",
  10081. "type": "integer"
  10082. },
  10083. "optiontype": {
  10084. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10085. "type": "integer"
  10086. },
  10087. "orderprice": {
  10088. "description": "委托价格",
  10089. "type": "number"
  10090. },
  10091. "orderqty": {
  10092. "description": "委托数量",
  10093. "type": "integer"
  10094. },
  10095. "ordersrc": {
  10096. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10097. "type": "integer"
  10098. },
  10099. "orderstatus": {
  10100. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10101. "type": "integer"
  10102. },
  10103. "ordertime": {
  10104. "description": "委托时间",
  10105. "type": "string"
  10106. },
  10107. "preexerciseprice": {
  10108. "description": "预申报价格",
  10109. "type": "number"
  10110. },
  10111. "premium": {
  10112. "description": "权利金",
  10113. "type": "number"
  10114. },
  10115. "preorderid": {
  10116. "description": "关联预埋单号(止盈止损单时填写)",
  10117. "type": "integer"
  10118. },
  10119. "pricemode": {
  10120. "description": "取价方式 - 1:市价 2: 限价",
  10121. "type": "integer"
  10122. },
  10123. "quoteid": {
  10124. "description": "报价单ID",
  10125. "type": "integer"
  10126. },
  10127. "relatedid": {
  10128. "description": "关联单号(交割单)",
  10129. "type": "integer"
  10130. },
  10131. "retcode": {
  10132. "description": "错误代码",
  10133. "type": "integer"
  10134. },
  10135. "sessionid": {
  10136. "description": "会话ID",
  10137. "type": "integer"
  10138. },
  10139. "strorderid": {
  10140. "description": "委托单号",
  10141. "type": "string"
  10142. },
  10143. "tradedate": {
  10144. "description": "交易日(yyyyMMdd)",
  10145. "type": "string"
  10146. },
  10147. "tradeproperty": {
  10148. "description": "交易属性",
  10149. "type": "integer"
  10150. },
  10151. "tradeqty": {
  10152. "description": "成交数量",
  10153. "type": "integer"
  10154. },
  10155. "unfreezecharge": {
  10156. "description": "解冻手续费",
  10157. "type": "number"
  10158. },
  10159. "unfreezemargin": {
  10160. "description": "解冻保证金",
  10161. "type": "number"
  10162. },
  10163. "updatetime": {
  10164. "description": "更新时间",
  10165. "type": "string"
  10166. },
  10167. "uuid": {
  10168. "description": "发起端唯一id",
  10169. "type": "string"
  10170. },
  10171. "validtime": {
  10172. "description": "有效期限",
  10173. "type": "string"
  10174. },
  10175. "validtype": {
  10176. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10177. "type": "integer"
  10178. },
  10179. "volumetype": {
  10180. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10181. "type": "integer"
  10182. }
  10183. }
  10184. },
  10185. "cptrade.QueryMyCPTradeGoodsRsp": {
  10186. "type": "object",
  10187. "required": [
  10188. "goodscode",
  10189. "goodsid",
  10190. "goodsname",
  10191. "marketid",
  10192. "relatedgoodscode",
  10193. "relatedgoodsname"
  10194. ],
  10195. "properties": {
  10196. "accountid": {
  10197. "description": "卖方账户ID",
  10198. "type": "integer"
  10199. },
  10200. "agreeunit": {
  10201. "description": "合约单位",
  10202. "type": "number"
  10203. },
  10204. "applyid": {
  10205. "description": "关联申请ID",
  10206. "type": "integer"
  10207. },
  10208. "attachmenturl": {
  10209. "description": "附件地址",
  10210. "type": "string"
  10211. },
  10212. "createtime": {
  10213. "description": "创建时间",
  10214. "type": "string"
  10215. },
  10216. "currencyid": {
  10217. "description": "报价货币ID",
  10218. "type": "integer"
  10219. },
  10220. "decimalplace": {
  10221. "description": "报价小数位",
  10222. "type": "integer"
  10223. },
  10224. "endtime": {
  10225. "description": "预售结束时间",
  10226. "type": "string"
  10227. },
  10228. "floorprice": {
  10229. "description": "底价[大宗式竞拍]",
  10230. "type": "number"
  10231. },
  10232. "goodscode": {
  10233. "description": "商品代码(预售)",
  10234. "type": "string"
  10235. },
  10236. "goodsdetail": {
  10237. "description": "详情[大宗]",
  10238. "type": "string"
  10239. },
  10240. "goodsid": {
  10241. "description": "商品ID(自增ID SEQ_GOODS)",
  10242. "type": "integer"
  10243. },
  10244. "goodsname": {
  10245. "description": "商品名称(预售)",
  10246. "type": "string"
  10247. },
  10248. "goodunit": {
  10249. "description": "报价单位",
  10250. "type": "string"
  10251. },
  10252. "goodunitid": {
  10253. "description": "报价单位ID",
  10254. "type": "integer"
  10255. },
  10256. "marketid": {
  10257. "description": "所属市场ID",
  10258. "type": "integer"
  10259. },
  10260. "marketname": {
  10261. "description": "预售市场名称",
  10262. "type": "string"
  10263. },
  10264. "presaledamount": {
  10265. "description": "已预售总金额(预售结束时更新)",
  10266. "type": "number"
  10267. },
  10268. "presaledqty": {
  10269. "description": "已预售量(预售结束时更新)",
  10270. "type": "integer"
  10271. },
  10272. "presalemode": {
  10273. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10274. "type": "integer"
  10275. },
  10276. "presaleqty": {
  10277. "description": "预售数量",
  10278. "type": "integer"
  10279. },
  10280. "refprice": {
  10281. "description": "参考价格[一口价]",
  10282. "type": "number"
  10283. },
  10284. "relatedgoodscode": {
  10285. "description": "商品代码(订单)",
  10286. "type": "string"
  10287. },
  10288. "relatedgoodsid": {
  10289. "description": "关联交易合约ID",
  10290. "type": "integer"
  10291. },
  10292. "relatedgoodsname": {
  10293. "description": "商品名称(订单)",
  10294. "type": "string"
  10295. },
  10296. "relatedmarketid": {
  10297. "description": "关联交易合约市场ID",
  10298. "type": "integer"
  10299. },
  10300. "sellstatus": {
  10301. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10302. "type": "integer"
  10303. },
  10304. "startprice": {
  10305. "description": "起拍价[大宗式竞拍]",
  10306. "type": "number"
  10307. },
  10308. "starttime": {
  10309. "description": "预售开始时间",
  10310. "type": "string"
  10311. },
  10312. "tradedate": {
  10313. "description": "交易日(yyyyMMdd)",
  10314. "type": "string"
  10315. },
  10316. "tradeprice": {
  10317. "description": "成交价[大宗]",
  10318. "type": "number"
  10319. },
  10320. "userid": {
  10321. "description": "卖方用户ID",
  10322. "type": "integer"
  10323. }
  10324. }
  10325. },
  10326. "cptrade.QueryPresaleGoodsExRsp": {
  10327. "type": "object",
  10328. "required": [
  10329. "goodsid"
  10330. ],
  10331. "properties": {
  10332. "attachmenturl": {
  10333. "description": "附件地址",
  10334. "type": "string"
  10335. },
  10336. "createtime": {
  10337. "description": "创建时间",
  10338. "type": "string"
  10339. },
  10340. "endtime": {
  10341. "description": "预售结束时间",
  10342. "type": "string"
  10343. },
  10344. "floorprice": {
  10345. "description": "底价[大宗式竞拍]",
  10346. "type": "number"
  10347. },
  10348. "goodsdetail": {
  10349. "description": "详情[大宗]",
  10350. "type": "string"
  10351. },
  10352. "goodsid": {
  10353. "description": "商品ID(预售)",
  10354. "type": "integer"
  10355. },
  10356. "goodunit": {
  10357. "description": "报价单位",
  10358. "type": "string"
  10359. },
  10360. "marketid": {
  10361. "description": "预售市场ID - 根据预售模式选择市场",
  10362. "type": "integer"
  10363. },
  10364. "presaledamount": {
  10365. "description": "已预售总金额(预售结束时更新)",
  10366. "type": "number"
  10367. },
  10368. "presaledqty": {
  10369. "description": "已预售量(预售结束时更新)",
  10370. "type": "integer"
  10371. },
  10372. "presalemode": {
  10373. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10374. "type": "integer"
  10375. },
  10376. "presaleqty": {
  10377. "description": "预售数量",
  10378. "type": "integer"
  10379. },
  10380. "refprice": {
  10381. "description": "参考价格[一口价]",
  10382. "type": "number"
  10383. },
  10384. "relatedgoodsid": {
  10385. "description": "关联交易合约ID",
  10386. "type": "integer"
  10387. },
  10388. "relatedmarketid": {
  10389. "description": "关联交易合约市场ID",
  10390. "type": "integer"
  10391. },
  10392. "sellstatus": {
  10393. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10394. "type": "integer"
  10395. },
  10396. "startprice": {
  10397. "description": "起拍价[大宗式竞拍]",
  10398. "type": "number"
  10399. },
  10400. "starttime": {
  10401. "description": "预售开始时间",
  10402. "type": "string"
  10403. },
  10404. "tradedate": {
  10405. "description": "交易日(yyyyMMdd)",
  10406. "type": "string"
  10407. },
  10408. "tradeprice": {
  10409. "description": "成交价[大宗]",
  10410. "type": "number"
  10411. }
  10412. }
  10413. },
  10414. "delivery.QueryDeliveryRelationRsp": {
  10415. "type": "object",
  10416. "required": [
  10417. "begindate",
  10418. "enddate",
  10419. "goodsid",
  10420. "mindeliveryqty",
  10421. "xdeliveryratio"
  10422. ],
  10423. "properties": {
  10424. "begindate": {
  10425. "description": "起始日期(yyyyMMdd)",
  10426. "type": "string"
  10427. },
  10428. "buytemplateid": {
  10429. "description": "买履约计划模板ID",
  10430. "type": "integer"
  10431. },
  10432. "deliverygoodscode": {
  10433. "description": "品种代码",
  10434. "type": "string"
  10435. },
  10436. "deliverygoodsid": {
  10437. "description": "交割商品",
  10438. "type": "integer"
  10439. },
  10440. "deliverygoodsname": {
  10441. "description": "品种名称",
  10442. "type": "string"
  10443. },
  10444. "deliverymode": {
  10445. "description": "交割方式 - 1:点选式 2:申报式",
  10446. "type": "integer"
  10447. },
  10448. "deliverypricerule": {
  10449. "description": "交割价规则- 1:行情价 2:建仓价",
  10450. "type": "integer"
  10451. },
  10452. "deliverytype": {
  10453. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10454. "type": "integer"
  10455. },
  10456. "enddate": {
  10457. "description": "结束日期(yyyyMMdd)",
  10458. "type": "string"
  10459. },
  10460. "goodscode": {
  10461. "description": "商品代码",
  10462. "type": "string"
  10463. },
  10464. "goodsid": {
  10465. "description": "交易合约ID",
  10466. "type": "integer"
  10467. },
  10468. "goodsname": {
  10469. "description": "商品名称",
  10470. "type": "string"
  10471. },
  10472. "marketid": {
  10473. "description": "市场ID",
  10474. "type": "integer"
  10475. },
  10476. "mindeliveryqty": {
  10477. "description": "最小交割系数(K)",
  10478. "type": "integer"
  10479. },
  10480. "p2deliveryprice": {
  10481. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10482. "type": "number"
  10483. },
  10484. "p2deliveryratio": {
  10485. "description": "P2合约系数(p)",
  10486. "type": "integer"
  10487. },
  10488. "p2goodsid": {
  10489. "description": "P2合约ID",
  10490. "type": "integer"
  10491. },
  10492. "p2pricemode": {
  10493. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10494. "type": "integer"
  10495. },
  10496. "pdeliveryprice": {
  10497. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10498. "type": "number"
  10499. },
  10500. "pdeliveryratio": {
  10501. "description": "P合约系数(n)",
  10502. "type": "integer"
  10503. },
  10504. "pgoodsid": {
  10505. "description": "P合约ID",
  10506. "type": "integer"
  10507. },
  10508. "ppricemode": {
  10509. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10510. "type": "integer"
  10511. },
  10512. "rratio": {
  10513. "description": "兑换系数(R)",
  10514. "type": "integer"
  10515. },
  10516. "rratio1": {
  10517. "description": "兑换系数(交易合约)(R1)",
  10518. "type": "integer"
  10519. },
  10520. "rratio2": {
  10521. "description": "兑换系数(仓单标准)(R2)",
  10522. "type": "integer"
  10523. },
  10524. "selltemplateid": {
  10525. "description": "卖履约计划模板ID",
  10526. "type": "integer"
  10527. },
  10528. "wrstandardid": {
  10529. "description": "仓单标准ID",
  10530. "type": "integer"
  10531. },
  10532. "xdeliveryratio": {
  10533. "description": "交易合约系数(m)",
  10534. "type": "integer"
  10535. }
  10536. }
  10537. },
  10538. "ermcp.ExposureDetailRsp": {
  10539. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10540. },
  10541. "ermcp.ExposureHedgePosDetailRsp": {
  10542. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10543. },
  10544. "ermcp.ExposureHedgePositionRsp": {
  10545. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10546. },
  10547. "ermcp.ExposureSpotDetailRsp": {
  10548. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10549. },
  10550. "ermcp.ExposureSpotRsp": {
  10551. "$ref": "#/definitions/models.AreaSpotModel"
  10552. },
  10553. "ermcp.HisExposureRsp": {
  10554. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10555. },
  10556. "ermcp.PendingAuditCntRsp": {
  10557. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10558. },
  10559. "ermcp.QryAreaStockApplyRsp": {
  10560. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10561. },
  10562. "ermcp.QryAvalidGPRsp": {
  10563. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10564. },
  10565. "ermcp.QryBusinessDjRsp": {
  10566. "type": "object",
  10567. "properties": {
  10568. "amount": {
  10569. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10570. "type": "number"
  10571. },
  10572. "applyid": {
  10573. "description": "申请人",
  10574. "type": "string"
  10575. },
  10576. "applyname": {
  10577. "description": "申请人名称",
  10578. "type": "string"
  10579. },
  10580. "applystatus": {
  10581. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10582. "type": "integer"
  10583. },
  10584. "applytime": {
  10585. "description": "申请时间",
  10586. "type": "string"
  10587. },
  10588. "attachurl": {
  10589. "description": "附件",
  10590. "type": "string"
  10591. },
  10592. "auditid": {
  10593. "description": "审核人ID",
  10594. "type": "string"
  10595. },
  10596. "auditname": {
  10597. "description": "审核人名称",
  10598. "type": "string"
  10599. },
  10600. "audittime": {
  10601. "description": "审核时间",
  10602. "type": "string"
  10603. },
  10604. "buyusername": {
  10605. "description": "采购方名称",
  10606. "type": "string"
  10607. },
  10608. "contractno": {
  10609. "description": "合同编号",
  10610. "type": "string"
  10611. },
  10612. "contractstatus": {
  10613. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10614. "type": "integer"
  10615. },
  10616. "contracttype": {
  10617. "description": "现货合同类型 - 1:采购 -1:销售",
  10618. "type": "integer"
  10619. },
  10620. "deliverygoodscode": {
  10621. "description": "现货品种代码",
  10622. "type": "string"
  10623. },
  10624. "deliverygoodsid": {
  10625. "description": "现货商品ID",
  10626. "type": "integer"
  10627. },
  10628. "deliverygoodsname": {
  10629. "description": "现货品种名称",
  10630. "type": "string"
  10631. },
  10632. "enumdicname": {
  10633. "description": "单位名称",
  10634. "type": "string"
  10635. },
  10636. "goodscode": {
  10637. "description": "点价合约",
  10638. "type": "string"
  10639. },
  10640. "goodsname": {
  10641. "description": "商品名称",
  10642. "type": "string"
  10643. },
  10644. "operateapplyid": {
  10645. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10646. "type": "string"
  10647. },
  10648. "operateapplytype": {
  10649. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10650. "type": "integer"
  10651. },
  10652. "pricedPrice": {
  10653. "description": "点价价格(非必填)",
  10654. "type": "number"
  10655. },
  10656. "pricedQty": {
  10657. "description": "点价数量(非必填)",
  10658. "type": "number"
  10659. },
  10660. "pricemove": {
  10661. "description": "升贴水",
  10662. "type": "number"
  10663. },
  10664. "pricetype": {
  10665. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10666. "type": "integer"
  10667. },
  10668. "relatedid": {
  10669. "description": "现货合同ID",
  10670. "type": "string"
  10671. },
  10672. "sellusername": {
  10673. "description": "销售方名字",
  10674. "type": "string"
  10675. },
  10676. "userid": {
  10677. "description": "用户ID",
  10678. "type": "integer"
  10679. },
  10680. "wrstandardcode": {
  10681. "description": "品类代码",
  10682. "type": "string"
  10683. },
  10684. "wrstandardid": {
  10685. "description": "品类id",
  10686. "type": "integer"
  10687. },
  10688. "wrstandardname": {
  10689. "description": "品类名称",
  10690. "type": "string"
  10691. }
  10692. }
  10693. },
  10694. "ermcp.QryBussinessFpRsp": {
  10695. "type": "object",
  10696. "properties": {
  10697. "applyid": {
  10698. "description": "申请人",
  10699. "type": "string"
  10700. },
  10701. "applyname": {
  10702. "description": "申请人名称",
  10703. "type": "string"
  10704. },
  10705. "applystatus": {
  10706. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10707. "type": "integer"
  10708. },
  10709. "applytime": {
  10710. "description": "申请时间",
  10711. "type": "string"
  10712. },
  10713. "attachurl": {
  10714. "description": "附件",
  10715. "type": "string"
  10716. },
  10717. "auditid": {
  10718. "description": "审核人ID",
  10719. "type": "string"
  10720. },
  10721. "auditname": {
  10722. "description": "审核人名称",
  10723. "type": "string"
  10724. },
  10725. "audittime": {
  10726. "description": "审核时间",
  10727. "type": "string"
  10728. },
  10729. "buyusername": {
  10730. "description": "采购方名称",
  10731. "type": "string"
  10732. },
  10733. "contractno": {
  10734. "description": "合同编号",
  10735. "type": "string"
  10736. },
  10737. "contractstatus": {
  10738. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10739. "type": "integer"
  10740. },
  10741. "contracttype": {
  10742. "description": "现货合同类型 - 1:采购 -1:销售",
  10743. "type": "integer"
  10744. },
  10745. "deliverygoodscode": {
  10746. "description": "现货品种代码",
  10747. "type": "string"
  10748. },
  10749. "deliverygoodsid": {
  10750. "description": "现货商品ID",
  10751. "type": "integer"
  10752. },
  10753. "deliverygoodsname": {
  10754. "description": "现货品种名称",
  10755. "type": "string"
  10756. },
  10757. "enumdicname": {
  10758. "description": "单位名称",
  10759. "type": "string"
  10760. },
  10761. "goodscode": {
  10762. "description": "点价合约",
  10763. "type": "string"
  10764. },
  10765. "goodsname": {
  10766. "description": "商品名称",
  10767. "type": "string"
  10768. },
  10769. "invoiceAmount": {
  10770. "description": "已开收票金额(销售为开票,采购为收票)",
  10771. "type": "number"
  10772. },
  10773. "operateapplyid": {
  10774. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10775. "type": "string"
  10776. },
  10777. "operateapplytype": {
  10778. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10779. "type": "integer"
  10780. },
  10781. "pricemove": {
  10782. "description": "升贴水",
  10783. "type": "number"
  10784. },
  10785. "pricetype": {
  10786. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10787. "type": "integer"
  10788. },
  10789. "relatedid": {
  10790. "description": "现货合同ID",
  10791. "type": "string"
  10792. },
  10793. "sellusername": {
  10794. "description": "销售方名字",
  10795. "type": "string"
  10796. },
  10797. "userid": {
  10798. "description": "用户ID",
  10799. "type": "integer"
  10800. },
  10801. "wrstandardcode": {
  10802. "description": "品类代码",
  10803. "type": "string"
  10804. },
  10805. "wrstandardid": {
  10806. "description": "品类id",
  10807. "type": "integer"
  10808. },
  10809. "wrstandardname": {
  10810. "description": "品类名称",
  10811. "type": "string"
  10812. }
  10813. }
  10814. },
  10815. "ermcp.QryBussinessJsExRsp": {
  10816. "type": "object",
  10817. "properties": {
  10818. "applyid": {
  10819. "description": "申请人",
  10820. "type": "string"
  10821. },
  10822. "applyname": {
  10823. "description": "申请人名称",
  10824. "type": "string"
  10825. },
  10826. "applystatus": {
  10827. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10828. "type": "integer"
  10829. },
  10830. "applytime": {
  10831. "description": "申请时间",
  10832. "type": "string"
  10833. },
  10834. "attachurl": {
  10835. "description": "附件",
  10836. "type": "string"
  10837. },
  10838. "auditid": {
  10839. "description": "审核人ID",
  10840. "type": "string"
  10841. },
  10842. "auditname": {
  10843. "description": "审核人名称",
  10844. "type": "string"
  10845. },
  10846. "audittime": {
  10847. "description": "审核时间",
  10848. "type": "string"
  10849. },
  10850. "buyusername": {
  10851. "description": "采购方名称",
  10852. "type": "string"
  10853. },
  10854. "contractno": {
  10855. "description": "合同编号",
  10856. "type": "string"
  10857. },
  10858. "contractstatus": {
  10859. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10860. "type": "integer"
  10861. },
  10862. "contracttype": {
  10863. "description": "现货合同类型 - 1:采购 -1:销售",
  10864. "type": "integer"
  10865. },
  10866. "deliverygoodscode": {
  10867. "description": "现货品种代码",
  10868. "type": "string"
  10869. },
  10870. "deliverygoodsid": {
  10871. "description": "现货商品ID",
  10872. "type": "integer"
  10873. },
  10874. "deliverygoodsname": {
  10875. "description": "现货品种名称",
  10876. "type": "string"
  10877. },
  10878. "enumdicname": {
  10879. "description": "单位名称",
  10880. "type": "string"
  10881. },
  10882. "goodscode": {
  10883. "description": "点价合约",
  10884. "type": "string"
  10885. },
  10886. "goodsname": {
  10887. "description": "商品名称",
  10888. "type": "string"
  10889. },
  10890. "operateapplyid": {
  10891. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10892. "type": "string"
  10893. },
  10894. "operateapplytype": {
  10895. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10896. "type": "integer"
  10897. },
  10898. "pricemove": {
  10899. "description": "升贴水",
  10900. "type": "number"
  10901. },
  10902. "pricetype": {
  10903. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10904. "type": "integer"
  10905. },
  10906. "reckontype": {
  10907. "description": "结算类型",
  10908. "type": "string"
  10909. },
  10910. "reckonvalue": {
  10911. "description": "值",
  10912. "type": "number"
  10913. },
  10914. "relatedid": {
  10915. "description": "现货合同ID",
  10916. "type": "string"
  10917. },
  10918. "sellusername": {
  10919. "description": "销售方名字",
  10920. "type": "string"
  10921. },
  10922. "userid": {
  10923. "description": "用户ID",
  10924. "type": "integer"
  10925. },
  10926. "wrstandardcode": {
  10927. "description": "品类代码",
  10928. "type": "string"
  10929. },
  10930. "wrstandardid": {
  10931. "description": "品类id",
  10932. "type": "integer"
  10933. },
  10934. "wrstandardname": {
  10935. "description": "品类名称",
  10936. "type": "string"
  10937. }
  10938. }
  10939. },
  10940. "ermcp.QryBussinessJsRsp": {
  10941. "type": "object",
  10942. "properties": {
  10943. "addmargin": {
  10944. "description": "追加保证金(非必填)",
  10945. "type": "number"
  10946. },
  10947. "applyid": {
  10948. "description": "申请人",
  10949. "type": "string"
  10950. },
  10951. "applyname": {
  10952. "description": "申请人名称",
  10953. "type": "string"
  10954. },
  10955. "applystatus": {
  10956. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10957. "type": "integer"
  10958. },
  10959. "applytime": {
  10960. "description": "申请时间",
  10961. "type": "string"
  10962. },
  10963. "attachurl": {
  10964. "description": "附件",
  10965. "type": "string"
  10966. },
  10967. "auditid": {
  10968. "description": "审核人ID",
  10969. "type": "string"
  10970. },
  10971. "auditname": {
  10972. "description": "审核人名称",
  10973. "type": "string"
  10974. },
  10975. "audittime": {
  10976. "description": "审核时间",
  10977. "type": "string"
  10978. },
  10979. "buyusername": {
  10980. "description": "采购方名称",
  10981. "type": "string"
  10982. },
  10983. "contractno": {
  10984. "description": "合同编号",
  10985. "type": "string"
  10986. },
  10987. "contractstatus": {
  10988. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10989. "type": "integer"
  10990. },
  10991. "contracttype": {
  10992. "description": "现货合同类型 - 1:采购 -1:销售",
  10993. "type": "integer"
  10994. },
  10995. "decmargin": {
  10996. "description": "减少保证金(非必填)",
  10997. "type": "number"
  10998. },
  10999. "deliverygoodscode": {
  11000. "description": "现货品种代码",
  11001. "type": "string"
  11002. },
  11003. "deliverygoodsid": {
  11004. "description": "现货商品ID",
  11005. "type": "integer"
  11006. },
  11007. "deliverygoodsname": {
  11008. "description": "现货品种名称",
  11009. "type": "string"
  11010. },
  11011. "enumdicname": {
  11012. "description": "单位名称",
  11013. "type": "string"
  11014. },
  11015. "goodscode": {
  11016. "description": "点价合约",
  11017. "type": "string"
  11018. },
  11019. "goodsname": {
  11020. "description": "商品名称",
  11021. "type": "string"
  11022. },
  11023. "operateapplyid": {
  11024. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11025. "type": "string"
  11026. },
  11027. "operateapplytype": {
  11028. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11029. "type": "integer"
  11030. },
  11031. "pricemove": {
  11032. "description": "升贴水",
  11033. "type": "number"
  11034. },
  11035. "pricetype": {
  11036. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11037. "type": "integer"
  11038. },
  11039. "reckonadjustamount": {
  11040. "description": "结算调整金额(非必填)",
  11041. "type": "number"
  11042. },
  11043. "reckonosamount": {
  11044. "description": "结算溢短金额(非必填)",
  11045. "type": "number"
  11046. },
  11047. "reckonotheramount": {
  11048. "description": "结算其他费用(非必填)",
  11049. "type": "number"
  11050. },
  11051. "reckonrealqty": {
  11052. "description": "结算实际数量(非必填)",
  11053. "type": "number"
  11054. },
  11055. "relatedid": {
  11056. "description": "现货合同ID",
  11057. "type": "string"
  11058. },
  11059. "sellusername": {
  11060. "description": "销售方名字",
  11061. "type": "string"
  11062. },
  11063. "userid": {
  11064. "description": "用户ID",
  11065. "type": "integer"
  11066. },
  11067. "wrstandardcode": {
  11068. "description": "品类代码",
  11069. "type": "string"
  11070. },
  11071. "wrstandardid": {
  11072. "description": "品类id",
  11073. "type": "integer"
  11074. },
  11075. "wrstandardname": {
  11076. "description": "品类名称",
  11077. "type": "string"
  11078. }
  11079. }
  11080. },
  11081. "ermcp.QryBussinessKxRsp": {
  11082. "type": "object",
  11083. "properties": {
  11084. "applyid": {
  11085. "description": "申请人",
  11086. "type": "string"
  11087. },
  11088. "applyname": {
  11089. "description": "申请人名称",
  11090. "type": "string"
  11091. },
  11092. "applystatus": {
  11093. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11094. "type": "integer"
  11095. },
  11096. "applytime": {
  11097. "description": "申请时间",
  11098. "type": "string"
  11099. },
  11100. "attachurl": {
  11101. "description": "附件",
  11102. "type": "string"
  11103. },
  11104. "auditid": {
  11105. "description": "审核人ID",
  11106. "type": "string"
  11107. },
  11108. "auditname": {
  11109. "description": "审核人名称",
  11110. "type": "string"
  11111. },
  11112. "audittime": {
  11113. "description": "审核时间",
  11114. "type": "string"
  11115. },
  11116. "buyusername": {
  11117. "description": "采购方名称",
  11118. "type": "string"
  11119. },
  11120. "contractno": {
  11121. "description": "合同编号",
  11122. "type": "string"
  11123. },
  11124. "contractstatus": {
  11125. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11126. "type": "integer"
  11127. },
  11128. "contracttype": {
  11129. "description": "现货合同类型 - 1:采购 -1:销售",
  11130. "type": "integer"
  11131. },
  11132. "deductamount": {
  11133. "description": "退款(非必填)",
  11134. "type": "number"
  11135. },
  11136. "deliverygoodscode": {
  11137. "description": "现货品种代码",
  11138. "type": "string"
  11139. },
  11140. "deliverygoodsid": {
  11141. "description": "现货商品ID",
  11142. "type": "integer"
  11143. },
  11144. "deliverygoodsname": {
  11145. "description": "现货品种名称",
  11146. "type": "string"
  11147. },
  11148. "enumdicname": {
  11149. "description": "单位名称",
  11150. "type": "string"
  11151. },
  11152. "goodscode": {
  11153. "description": "点价合约",
  11154. "type": "string"
  11155. },
  11156. "goodsname": {
  11157. "description": "商品名称",
  11158. "type": "string"
  11159. },
  11160. "kxtype": {
  11161. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11162. "type": "integer"
  11163. },
  11164. "operateapplyid": {
  11165. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11166. "type": "string"
  11167. },
  11168. "operateapplytype": {
  11169. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11170. "type": "integer"
  11171. },
  11172. "payamount": {
  11173. "description": "收付款(非必填)",
  11174. "type": "number"
  11175. },
  11176. "pricemove": {
  11177. "description": "升贴水",
  11178. "type": "number"
  11179. },
  11180. "pricetype": {
  11181. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11182. "type": "integer"
  11183. },
  11184. "relatedid": {
  11185. "description": "现货合同ID",
  11186. "type": "string"
  11187. },
  11188. "sellusername": {
  11189. "description": "销售方名字",
  11190. "type": "string"
  11191. },
  11192. "userid": {
  11193. "description": "用户ID",
  11194. "type": "integer"
  11195. },
  11196. "wrstandardcode": {
  11197. "description": "品类代码",
  11198. "type": "string"
  11199. },
  11200. "wrstandardid": {
  11201. "description": "品类id",
  11202. "type": "integer"
  11203. },
  11204. "wrstandardname": {
  11205. "description": "品类名称",
  11206. "type": "string"
  11207. }
  11208. }
  11209. },
  11210. "ermcp.QryErmcpRsp": {
  11211. "$ref": "#/definitions/models.ErmcpModel"
  11212. },
  11213. "ermcp.QryGGCovertCfgRsp": {
  11214. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11215. },
  11216. "ermcp.QryHedgePlanRsp": {
  11217. "$ref": "#/definitions/models.ErmcpHedgePlan"
  11218. },
  11219. "ermcp.QryMGChangeLogRsp": {
  11220. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11221. },
  11222. "ermcp.QryMiddleGoodsDetailRsp": {
  11223. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11224. },
  11225. "ermcp.QryMiddleGoodsRsp": {
  11226. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11227. },
  11228. "ermcp.QryOPLogRsp": {
  11229. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11230. },
  11231. "ermcp.QryReportDaySpotDetailRsp": {
  11232. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11233. },
  11234. "ermcp.QryReportExposureDayRsp": {
  11235. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  11236. },
  11237. "ermcp.QryReportFinanceDayRsp": {
  11238. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11239. },
  11240. "ermcp.QryReportFinanceKxRsp": {
  11241. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11242. },
  11243. "ermcp.QryReportFinanceMonRsp": {
  11244. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  11245. },
  11246. "ermcp.QryReportSpotDayRsp": {
  11247. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11248. },
  11249. "ermcp.QryReportSpotMonRsp": {
  11250. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  11251. },
  11252. "ermcp.QryReportSpotMonthDetailRsp": {
  11253. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11254. },
  11255. "ermcp.QrySpotContractRsp": {
  11256. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  11257. },
  11258. "ermcp.QryUserInfoRsp": {
  11259. "$ref": "#/definitions/models.ErmcpUserModel"
  11260. },
  11261. "ermcp.QryWarehouseRsp": {
  11262. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11263. },
  11264. "ermcp.QryWrStandardDetailRsp": {
  11265. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  11266. },
  11267. "ermcp.QryWrStandardRsp": {
  11268. "$ref": "#/definitions/models.ErmcpWrstandard"
  11269. },
  11270. "ermcp.QueryAreaStockApplySumRsp": {
  11271. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  11272. },
  11273. "ermcp.QueryErmcpTradePositionRsp": {
  11274. "type": "object",
  11275. "properties": {
  11276. "agreeunit": {
  11277. "description": "合约单位",
  11278. "type": "number"
  11279. },
  11280. "buyorsell": {
  11281. "description": "方向 - 0:买 1:卖",
  11282. "type": "integer"
  11283. },
  11284. "curpositionqty": {
  11285. "description": "持仓(总仓数量, 期末头寸)",
  11286. "type": "integer"
  11287. },
  11288. "curtdposition": {
  11289. "description": "今仓数量(期末今日头寸)",
  11290. "type": "integer"
  11291. },
  11292. "curtdpositionenabled": {
  11293. "description": "今仓可用",
  11294. "type": "integer"
  11295. },
  11296. "decimalplace": {
  11297. "description": "报价小数位",
  11298. "type": "integer"
  11299. },
  11300. "enableqty": {
  11301. "description": "可用(总仓可用)",
  11302. "type": "integer"
  11303. },
  11304. "exexchangename": {
  11305. "description": "外部交易所名称",
  11306. "type": "string"
  11307. },
  11308. "goodscode": {
  11309. "description": "商品代码(内部)",
  11310. "type": "string"
  11311. },
  11312. "goodsid": {
  11313. "description": "商品ID(自增ID SEQ_GOODS)",
  11314. "type": "integer"
  11315. },
  11316. "goodsname": {
  11317. "description": "商品名称",
  11318. "type": "string"
  11319. },
  11320. "last": {
  11321. "description": "现价",
  11322. "type": "number"
  11323. },
  11324. "marketid": {
  11325. "description": "所属市场ID",
  11326. "type": "integer"
  11327. },
  11328. "openaverageprice": {
  11329. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11330. "type": "number"
  11331. },
  11332. "opencost": {
  11333. "description": "开仓成本",
  11334. "type": "number"
  11335. },
  11336. "openpl": {
  11337. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11338. "type": "number"
  11339. },
  11340. "outgoodscode": {
  11341. "description": "商品代码(外部)",
  11342. "type": "string"
  11343. },
  11344. "positionaverageprice": {
  11345. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11346. "type": "number"
  11347. },
  11348. "positioncost": {
  11349. "description": "持仓成本",
  11350. "type": "number"
  11351. },
  11352. "positionpl": {
  11353. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11354. "type": "number"
  11355. },
  11356. "positionplrate": {
  11357. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11358. "type": "number"
  11359. },
  11360. "usedmargin": {
  11361. "description": "占用保证金",
  11362. "type": "number"
  11363. }
  11364. }
  11365. },
  11366. "ermcp.RealtimeExposurePositionRsp": {
  11367. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11368. },
  11369. "ermcp.RealtimeExposureRsp": {
  11370. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11371. },
  11372. "erms2.QueryArbitrageStrategyRsp": {
  11373. "type": "object",
  11374. "required": [
  11375. "asapplyid"
  11376. ],
  11377. "properties": {
  11378. "applybasis": {
  11379. "description": "申请基差",
  11380. "type": "number"
  11381. },
  11382. "asapplyid": {
  11383. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11384. "type": "string"
  11385. },
  11386. "asname": {
  11387. "description": "策略名称",
  11388. "type": "string"
  11389. },
  11390. "asno": {
  11391. "description": "策略编号",
  11392. "type": "string"
  11393. },
  11394. "basischangepl": {
  11395. "description": "基差变动损益[结算更新]",
  11396. "type": "number"
  11397. },
  11398. "biztype": {
  11399. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11400. "type": "integer"
  11401. },
  11402. "closetradedate": {
  11403. "description": "完结交易日(yyyyMMdd)",
  11404. "type": "string"
  11405. },
  11406. "curbasis": {
  11407. "description": "当前基差[结算更新]",
  11408. "type": "number"
  11409. },
  11410. "deliverygoodsid": {
  11411. "description": "现货品种ID",
  11412. "type": "integer"
  11413. },
  11414. "futureavgprice": {
  11415. "description": "期货建仓均价",
  11416. "type": "number"
  11417. },
  11418. "futurecloseamount": {
  11419. "description": "期货平仓金额",
  11420. "type": "number"
  11421. },
  11422. "futurecloseqty": {
  11423. "description": "期货平仓数量",
  11424. "type": "number"
  11425. },
  11426. "futureopenamount": {
  11427. "description": "期货开仓金额",
  11428. "type": "number"
  11429. },
  11430. "futureopenqty": {
  11431. "description": "期货开仓数量",
  11432. "type": "number"
  11433. },
  11434. "futurepl": {
  11435. "description": "期货总盈亏[结算更新]",
  11436. "type": "number"
  11437. },
  11438. "futureqty": {
  11439. "description": "期货持仓数量",
  11440. "type": "number"
  11441. },
  11442. "futurequote": {
  11443. "description": "期货额度",
  11444. "type": "number"
  11445. },
  11446. "goodsgroupid": {
  11447. "description": "期货品种ID",
  11448. "type": "integer"
  11449. },
  11450. "marketid": {
  11451. "description": "市场ID",
  11452. "type": "integer"
  11453. },
  11454. "netexposure": {
  11455. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11456. "type": "number"
  11457. },
  11458. "netexposurepl": {
  11459. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11460. "type": "number"
  11461. },
  11462. "netexposurerate": {
  11463. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11464. "type": "number"
  11465. },
  11466. "openbasis": {
  11467. "description": "建仓基差",
  11468. "type": "number"
  11469. },
  11470. "pricedspotqty": {
  11471. "description": "已定价现货数量",
  11472. "type": "number"
  11473. },
  11474. "pricedspotqtynotax": {
  11475. "description": "已定价现货不含税数量",
  11476. "type": "number"
  11477. },
  11478. "remark": {
  11479. "description": "备注",
  11480. "type": "string"
  11481. },
  11482. "spotavgprice": {
  11483. "description": "现货均价",
  11484. "type": "number"
  11485. },
  11486. "spotbuyamount": {
  11487. "description": "现货采购金额",
  11488. "type": "number"
  11489. },
  11490. "spotbuyqty": {
  11491. "description": "现货采购数量",
  11492. "type": "number"
  11493. },
  11494. "spotpl": {
  11495. "description": "现货总盈亏[结算更新]",
  11496. "type": "number"
  11497. },
  11498. "spotquota": {
  11499. "description": "现货额度",
  11500. "type": "number"
  11501. },
  11502. "spotsellamount": {
  11503. "description": "现货销售金额",
  11504. "type": "number"
  11505. },
  11506. "spotsellqty": {
  11507. "description": "现货销售数量",
  11508. "type": "number"
  11509. },
  11510. "spotusedquota": {
  11511. "description": "现货占用资金",
  11512. "type": "number"
  11513. },
  11514. "strategystatus": {
  11515. "description": "策略状态 - 0:未结束 1:已结束",
  11516. "type": "integer"
  11517. },
  11518. "totalpl": {
  11519. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11520. "type": "number"
  11521. },
  11522. "tradedate": {
  11523. "description": "交易日(yyyyMMdd)",
  11524. "type": "string"
  11525. },
  11526. "updatetime": {
  11527. "description": "更新时间",
  11528. "type": "string"
  11529. },
  11530. "usedquota": {
  11531. "description": "已占用资金",
  11532. "type": "number"
  11533. },
  11534. "userid": {
  11535. "description": "所属机构",
  11536. "type": "integer"
  11537. }
  11538. }
  11539. },
  11540. "erms2.QueryInnerTradeDetailRsp": {
  11541. "type": "object",
  11542. "required": [
  11543. "asapplyid",
  11544. "buyorsell",
  11545. "goodscode",
  11546. "goodsgroupid",
  11547. "goodsgroupname",
  11548. "goodsname",
  11549. "tradeid"
  11550. ],
  11551. "properties": {
  11552. "accountid": {
  11553. "description": "账号ID",
  11554. "type": "integer"
  11555. },
  11556. "agreeunit": {
  11557. "description": "合约单位",
  11558. "type": "number"
  11559. },
  11560. "asapplyid": {
  11561. "description": "策略申请ID",
  11562. "type": "integer"
  11563. },
  11564. "asname": {
  11565. "description": "策略名称",
  11566. "type": "string"
  11567. },
  11568. "asno": {
  11569. "description": "策略编号",
  11570. "type": "string"
  11571. },
  11572. "buyorsell": {
  11573. "description": "方向 - 0:买 1:卖",
  11574. "type": "integer"
  11575. },
  11576. "channelbuildtype": {
  11577. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11578. "type": "integer"
  11579. },
  11580. "closetype": {
  11581. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11582. "type": "integer"
  11583. },
  11584. "decimalplace": {
  11585. "description": "报价小数位",
  11586. "type": "integer"
  11587. },
  11588. "detailtype": {
  11589. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11590. "type": "integer"
  11591. },
  11592. "exexchangecode": {
  11593. "description": "外部交易所代码",
  11594. "type": "string"
  11595. },
  11596. "exexchangename": {
  11597. "description": "外部交易所名称",
  11598. "type": "string"
  11599. },
  11600. "goodscode": {
  11601. "description": "商品代码(合约)",
  11602. "type": "string"
  11603. },
  11604. "goodsgroupid": {
  11605. "description": "商品组ID(品种ID)",
  11606. "type": "integer"
  11607. },
  11608. "goodsgroupname": {
  11609. "description": "商品组名称(品种)",
  11610. "type": "string"
  11611. },
  11612. "goodsid": {
  11613. "description": "商品ID",
  11614. "type": "integer"
  11615. },
  11616. "goodsname": {
  11617. "description": "商品名称(合约)",
  11618. "type": "string"
  11619. },
  11620. "goodunit": {
  11621. "description": "报价单位",
  11622. "type": "string"
  11623. },
  11624. "marketid": {
  11625. "description": "市场ID",
  11626. "type": "integer"
  11627. },
  11628. "orderid": {
  11629. "description": "委托单号",
  11630. "type": "string"
  11631. },
  11632. "outgoodscode": {
  11633. "description": "商品代码(外部)",
  11634. "type": "string"
  11635. },
  11636. "relatedouttradeid": {
  11637. "description": "关联外部成交单ID",
  11638. "type": "string"
  11639. },
  11640. "remark": {
  11641. "description": "备注",
  11642. "type": "string"
  11643. },
  11644. "spotcontractid": {
  11645. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11646. "type": "integer"
  11647. },
  11648. "spotcontractno": {
  11649. "description": "现货合同编号",
  11650. "type": "string"
  11651. },
  11652. "tradeid": {
  11653. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11654. "type": "string"
  11655. },
  11656. "tradeprice": {
  11657. "description": "成交价格",
  11658. "type": "number"
  11659. },
  11660. "tradeqty": {
  11661. "description": "成交数量",
  11662. "type": "integer"
  11663. },
  11664. "tradetime": {
  11665. "description": "成交时间",
  11666. "type": "string"
  11667. },
  11668. "updatetime": {
  11669. "description": "更新时间",
  11670. "type": "string"
  11671. }
  11672. }
  11673. },
  11674. "erms2.QuerySpotContractRsp": {
  11675. "type": "object",
  11676. "required": [
  11677. "spotcontractid"
  11678. ],
  11679. "properties": {
  11680. "accountid": {
  11681. "description": "资金账户ID",
  11682. "type": "integer"
  11683. },
  11684. "areauserid": {
  11685. "description": "所属机构",
  11686. "type": "integer"
  11687. },
  11688. "closedate": {
  11689. "description": "终止日期",
  11690. "type": "string"
  11691. },
  11692. "closeremark": {
  11693. "description": "结束备注",
  11694. "type": "string"
  11695. },
  11696. "closetradedate": {
  11697. "description": "完结交易日(yyyyMMdd)",
  11698. "type": "string"
  11699. },
  11700. "closetype": {
  11701. "description": "终止类型 - 1:违约 2:提前终止",
  11702. "type": "integer"
  11703. },
  11704. "contractamount": {
  11705. "description": "合同金额",
  11706. "type": "number"
  11707. },
  11708. "contractattachment": {
  11709. "description": "合同附件",
  11710. "type": "string"
  11711. },
  11712. "contractno": {
  11713. "description": "现货合同编号",
  11714. "type": "string"
  11715. },
  11716. "contractqty": {
  11717. "description": "合同数量(数值) (用于计算)",
  11718. "type": "number"
  11719. },
  11720. "contractqtychar": {
  11721. "description": "合同数量\\已订价数量 (用于显示)",
  11722. "type": "string"
  11723. },
  11724. "contractstatus": {
  11725. "description": "合同状态 - 0:未结束 1:已结束",
  11726. "type": "integer"
  11727. },
  11728. "contracttype": {
  11729. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11730. "type": "integer"
  11731. },
  11732. "customeraccountid": {
  11733. "description": "客户资金账户ID",
  11734. "type": "integer"
  11735. },
  11736. "customeruserid": {
  11737. "description": "客户ID",
  11738. "type": "integer"
  11739. },
  11740. "deliverygoodsdesc": {
  11741. "description": "品种说明",
  11742. "type": "string"
  11743. },
  11744. "deliverygoodsid": {
  11745. "description": "现货品种ID",
  11746. "type": "integer"
  11747. },
  11748. "handlestatus": {
  11749. "description": "处理状态",
  11750. "type": "integer"
  11751. },
  11752. "invoiceatt": {
  11753. "description": "发票附件",
  11754. "type": "string"
  11755. },
  11756. "invoicedatetime": {
  11757. "description": "开收票更新时间",
  11758. "type": "string"
  11759. },
  11760. "invoiceopentime": {
  11761. "description": "开票时间",
  11762. "type": "string"
  11763. },
  11764. "invoiceremark": {
  11765. "description": "发票备注",
  11766. "type": "string"
  11767. },
  11768. "invoicestatus": {
  11769. "description": "开收票状态 - 0:未开票 1:已开票",
  11770. "type": "integer"
  11771. },
  11772. "lastdate": {
  11773. "description": "交货时间",
  11774. "type": "string"
  11775. },
  11776. "marketid": {
  11777. "description": "市场ID",
  11778. "type": "integer"
  11779. },
  11780. "paydatetime": {
  11781. "description": "收付款更新时间",
  11782. "type": "string"
  11783. },
  11784. "payremark": {
  11785. "description": "收付款备注",
  11786. "type": "string"
  11787. },
  11788. "paystatus": {
  11789. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11790. "type": "integer"
  11791. },
  11792. "positionqty": {
  11793. "description": "头寸数量 - 合同数量去小数部分",
  11794. "type": "integer"
  11795. },
  11796. "producttype": {
  11797. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11798. "type": "integer"
  11799. },
  11800. "relatedqty": {
  11801. "description": "已关联数量",
  11802. "type": "number"
  11803. },
  11804. "relatedstatus": {
  11805. "description": "关联完结状态 - 0:未结束 1:已结束",
  11806. "type": "integer"
  11807. },
  11808. "remark": {
  11809. "description": "备注",
  11810. "type": "string"
  11811. },
  11812. "signdate": {
  11813. "description": "签订日期",
  11814. "type": "string"
  11815. },
  11816. "spotcontractid": {
  11817. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11818. "type": "string"
  11819. },
  11820. "spotdatetime": {
  11821. "description": "收发货更新时间",
  11822. "type": "string"
  11823. },
  11824. "spotprice": {
  11825. "description": "价格",
  11826. "type": "number"
  11827. },
  11828. "spotremark": {
  11829. "description": "收发货备注",
  11830. "type": "string"
  11831. },
  11832. "spotstatus": {
  11833. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11834. "type": "integer"
  11835. },
  11836. "tradedate": {
  11837. "description": "交易日(yyyyMMdd)",
  11838. "type": "string"
  11839. },
  11840. "userid": {
  11841. "description": "业务员用户ID",
  11842. "type": "integer"
  11843. },
  11844. "warehouseid": {
  11845. "description": "仓库ID",
  11846. "type": "integer"
  11847. },
  11848. "wrfactortypeid": {
  11849. "description": "仓单要素类型ID",
  11850. "type": "integer"
  11851. },
  11852. "wrstandardid": {
  11853. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11854. "type": "integer"
  11855. }
  11856. }
  11857. },
  11858. "erms3.AddErms2ASApplyReq": {
  11859. "type": "object",
  11860. "required": [
  11861. "asapplyid"
  11862. ],
  11863. "properties": {
  11864. "applybasis": {
  11865. "description": "申请基差",
  11866. "type": "number"
  11867. },
  11868. "applystatus": {
  11869. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11870. "type": "integer"
  11871. },
  11872. "asapplyid": {
  11873. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11874. "type": "integer"
  11875. },
  11876. "asname": {
  11877. "description": "策略名称",
  11878. "type": "string"
  11879. },
  11880. "asno": {
  11881. "description": "策略编号",
  11882. "type": "string"
  11883. },
  11884. "auditid": {
  11885. "description": "审核人",
  11886. "type": "integer"
  11887. },
  11888. "auditremark": {
  11889. "description": "审核备注",
  11890. "type": "string"
  11891. },
  11892. "audittime": {
  11893. "description": "审核时间",
  11894. "type": "string"
  11895. },
  11896. "biztype": {
  11897. "description": "业务类型 - 1:正向套利 2:反向套利",
  11898. "type": "integer"
  11899. },
  11900. "createtime": {
  11901. "description": "创建时间",
  11902. "type": "string"
  11903. },
  11904. "creatorid": {
  11905. "description": "创建人",
  11906. "type": "integer"
  11907. },
  11908. "deliverygoodsid": {
  11909. "description": "现货品种ID",
  11910. "type": "integer"
  11911. },
  11912. "futurequote": {
  11913. "description": "期货额度",
  11914. "type": "number"
  11915. },
  11916. "goodsgroupid": {
  11917. "description": "期货品种ID",
  11918. "type": "integer"
  11919. },
  11920. "marketid": {
  11921. "description": "市场ID",
  11922. "type": "integer"
  11923. },
  11924. "remark": {
  11925. "description": "备注",
  11926. "type": "string"
  11927. },
  11928. "spotquota": {
  11929. "description": "现货额度",
  11930. "type": "number"
  11931. },
  11932. "tradedate": {
  11933. "description": "交易日(yyyyMMdd)",
  11934. "type": "string"
  11935. },
  11936. "userid": {
  11937. "description": "所属机构",
  11938. "type": "integer"
  11939. }
  11940. }
  11941. },
  11942. "erms3.AddErms2SpotTradeApplyReq": {
  11943. "type": "object",
  11944. "required": [
  11945. "spottradeid"
  11946. ],
  11947. "properties": {
  11948. "applyjsondetail": {
  11949. "description": "申请明细(JSON)",
  11950. "type": "string"
  11951. },
  11952. "applystatus": {
  11953. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11954. "type": "integer"
  11955. },
  11956. "areauserid": {
  11957. "description": "所属机构",
  11958. "type": "integer"
  11959. },
  11960. "auditid": {
  11961. "description": "审核人",
  11962. "type": "integer"
  11963. },
  11964. "auditremark": {
  11965. "description": "审核备注",
  11966. "type": "string"
  11967. },
  11968. "audittime": {
  11969. "description": "审核时间",
  11970. "type": "string"
  11971. },
  11972. "createtime": {
  11973. "description": "创建时间",
  11974. "type": "string"
  11975. },
  11976. "creatorid": {
  11977. "description": "创建人",
  11978. "type": "integer"
  11979. },
  11980. "deliverygoodsid": {
  11981. "description": "现货品种ID",
  11982. "type": "integer"
  11983. },
  11984. "futureaccountid": {
  11985. "description": "期货资金账户",
  11986. "type": "integer"
  11987. },
  11988. "goodsgroupid": {
  11989. "description": "期货品种",
  11990. "type": "integer"
  11991. },
  11992. "marketid": {
  11993. "description": "市场ID",
  11994. "type": "integer"
  11995. },
  11996. "remark": {
  11997. "description": "备注",
  11998. "type": "string"
  11999. },
  12000. "spotaccountid": {
  12001. "description": "现货资金账户",
  12002. "type": "integer"
  12003. },
  12004. "spottradeid": {
  12005. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12006. "type": "integer"
  12007. },
  12008. "spottradename": {
  12009. "description": "业务名称",
  12010. "type": "string"
  12011. },
  12012. "spottradeno": {
  12013. "description": "业务编号",
  12014. "type": "string"
  12015. },
  12016. "tradedate": {
  12017. "description": "交易日(yyyyMMdd)",
  12018. "type": "string"
  12019. },
  12020. "wrstandardid": {
  12021. "description": "仓单标准ID",
  12022. "type": "integer"
  12023. }
  12024. }
  12025. },
  12026. "erms3.AddSpotContractApplyReq": {
  12027. "type": "object",
  12028. "required": [
  12029. "accountid",
  12030. "areauserid",
  12031. "contractno",
  12032. "contracttype",
  12033. "customeraccountid",
  12034. "customeruserid",
  12035. "details",
  12036. "orimargin",
  12037. "signdate"
  12038. ],
  12039. "properties": {
  12040. "accountid": {
  12041. "description": "资金账户ID",
  12042. "type": "integer"
  12043. },
  12044. "areauserid": {
  12045. "description": "所属机构",
  12046. "type": "integer"
  12047. },
  12048. "contractattachment": {
  12049. "description": "合同附件",
  12050. "type": "string"
  12051. },
  12052. "contractno": {
  12053. "description": "现货合同编号",
  12054. "type": "string"
  12055. },
  12056. "contracttype": {
  12057. "description": "现货合同类型 - 1:采购 -1:销售",
  12058. "type": "integer"
  12059. },
  12060. "creatorid": {
  12061. "description": "申请人",
  12062. "type": "integer"
  12063. },
  12064. "customeraccountid": {
  12065. "description": "客户资金账户ID",
  12066. "type": "integer"
  12067. },
  12068. "customeruserid": {
  12069. "description": "客户ID",
  12070. "type": "integer"
  12071. },
  12072. "details": {
  12073. "description": "明细",
  12074. "type": "array",
  12075. "items": {
  12076. "$ref": "#/definitions/erms3.SoptContractDetail"
  12077. }
  12078. },
  12079. "orimargin": {
  12080. "description": "初始保证金",
  12081. "type": "number"
  12082. },
  12083. "remark": {
  12084. "description": "备注",
  12085. "type": "string"
  12086. },
  12087. "signdate": {
  12088. "description": "签订日期",
  12089. "type": "string"
  12090. }
  12091. }
  12092. },
  12093. "erms3.AddSpotContractApplyRsp": {
  12094. "type": "object",
  12095. "required": [
  12096. "contractno"
  12097. ],
  12098. "properties": {
  12099. "contractno": {
  12100. "description": "现货合同编号",
  12101. "type": "string"
  12102. },
  12103. "spotcontractid": {
  12104. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12105. "type": "integer"
  12106. }
  12107. }
  12108. },
  12109. "erms3.AddUserInfoApplyReq": {
  12110. "type": "object",
  12111. "required": [
  12112. "userid"
  12113. ],
  12114. "properties": {
  12115. "accountid": {
  12116. "description": "交易系统帐号Id (加密存储)",
  12117. "type": "integer"
  12118. },
  12119. "areacode": {
  12120. "description": "机构代码",
  12121. "type": "string"
  12122. },
  12123. "areaid": {
  12124. "description": "机构Id",
  12125. "type": "integer"
  12126. },
  12127. "attachment1": {
  12128. "description": "附件1",
  12129. "type": "string"
  12130. },
  12131. "attachment2": {
  12132. "description": "附件2",
  12133. "type": "string"
  12134. },
  12135. "attachment3": {
  12136. "description": "附件3",
  12137. "type": "string"
  12138. },
  12139. "attachment4": {
  12140. "description": "附件4",
  12141. "type": "string"
  12142. },
  12143. "attachment5": {
  12144. "description": "附件5",
  12145. "type": "string"
  12146. },
  12147. "auditedby": {
  12148. "description": "审核人",
  12149. "type": "string"
  12150. },
  12151. "auditime": {
  12152. "description": "审核时间",
  12153. "type": "string"
  12154. },
  12155. "auditsrc": {
  12156. "description": "审核来源 - 1:管理端 2:终端",
  12157. "type": "integer"
  12158. },
  12159. "bankaccount": {
  12160. "description": "银行帐号 (加密存储)",
  12161. "type": "string"
  12162. },
  12163. "bankaccountname": {
  12164. "description": "收款人名称",
  12165. "type": "string"
  12166. },
  12167. "bankcardbackphotourl": {
  12168. "description": "银行卡背面照地址",
  12169. "type": "string"
  12170. },
  12171. "bankcardfrontphotourl": {
  12172. "description": "银行卡正面照地址",
  12173. "type": "string"
  12174. },
  12175. "bankid": {
  12176. "description": "银行编码",
  12177. "type": "string"
  12178. },
  12179. "bankname": {
  12180. "description": "银行名称",
  12181. "type": "string"
  12182. },
  12183. "bankpictureurl": {
  12184. "description": "银行卡正面地址",
  12185. "type": "string"
  12186. },
  12187. "biznature": {
  12188. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12189. "type": "integer"
  12190. },
  12191. "bizscope": {
  12192. "description": "企业经营范围(企业)",
  12193. "type": "string"
  12194. },
  12195. "biztype": {
  12196. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12197. "type": "integer"
  12198. },
  12199. "brokerid": {
  12200. "description": "经纪人ID(加密存储)",
  12201. "type": "string"
  12202. },
  12203. "cardaddress": {
  12204. "description": "证件地址 (加密存储)",
  12205. "type": "string"
  12206. },
  12207. "cardbackphotourl": {
  12208. "description": "背面证件照地址",
  12209. "type": "string"
  12210. },
  12211. "cardfrontphotourl": {
  12212. "description": "正面证件照地址",
  12213. "type": "string"
  12214. },
  12215. "cardnum": {
  12216. "description": "证件号码 (加密存储)",
  12217. "type": "string"
  12218. },
  12219. "cardtype": {
  12220. "description": "证件类型",
  12221. "type": "integer"
  12222. },
  12223. "cityid": {
  12224. "description": "市",
  12225. "type": "integer"
  12226. },
  12227. "company": {
  12228. "description": "公司(个人)",
  12229. "type": "string"
  12230. },
  12231. "contactcardbackphotourl": {
  12232. "description": "联系人证件背面图片地址",
  12233. "type": "string"
  12234. },
  12235. "contactcardfrontphotourl": {
  12236. "description": "联系人证件正面图片地址",
  12237. "type": "string"
  12238. },
  12239. "contactname": {
  12240. "description": "联系人",
  12241. "type": "string"
  12242. },
  12243. "countryid": {
  12244. "description": "国家",
  12245. "type": "integer"
  12246. },
  12247. "createtime": {
  12248. "description": "开户申请时间",
  12249. "type": "string"
  12250. },
  12251. "cusbankid": {
  12252. "description": "签约类型",
  12253. "type": "string"
  12254. },
  12255. "cusbankname": {
  12256. "description": "签约类型名称",
  12257. "type": "string"
  12258. },
  12259. "customername": {
  12260. "description": "客户名称(企业名称)",
  12261. "type": "string"
  12262. },
  12263. "districtid": {
  12264. "description": "地区",
  12265. "type": "integer"
  12266. },
  12267. "email": {
  12268. "description": "Email地址(加密存储)",
  12269. "type": "string"
  12270. },
  12271. "halfbodyphotourl": {
  12272. "description": "半身照地址",
  12273. "type": "string"
  12274. },
  12275. "headurl": {
  12276. "description": "头像地址",
  12277. "type": "string"
  12278. },
  12279. "ipaddress": {
  12280. "description": "IP地址",
  12281. "type": "string"
  12282. },
  12283. "isvalidate": {
  12284. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12285. "type": "string"
  12286. },
  12287. "legalcardbackphotourl": {
  12288. "description": "法人身份证背面照地址",
  12289. "type": "string"
  12290. },
  12291. "legalcardfrontphotourl": {
  12292. "description": "法人身份证正面照地址",
  12293. "type": "string"
  12294. },
  12295. "legalpersonname": {
  12296. "description": "法人姓名(企业)",
  12297. "type": "string"
  12298. },
  12299. "logincode": {
  12300. "description": "登录帐号 (加密存储)",
  12301. "type": "string"
  12302. },
  12303. "memberareaid": {
  12304. "description": "所属会员ID",
  12305. "type": "integer"
  12306. },
  12307. "mobile2": {
  12308. "description": "手机号码[明文-尚志]",
  12309. "type": "string"
  12310. },
  12311. "mobilephone": {
  12312. "description": "手机号码 (加密存储)",
  12313. "type": "string"
  12314. },
  12315. "modifiedby": {
  12316. "description": "修改人帐号",
  12317. "type": "integer"
  12318. },
  12319. "modifiedtime": {
  12320. "description": "修改时间",
  12321. "type": "string"
  12322. },
  12323. "nickname": {
  12324. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12325. "type": "string"
  12326. },
  12327. "openmode": {
  12328. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12329. "type": "integer"
  12330. },
  12331. "otherurl": {
  12332. "description": "其它图片地址[使用分号分隔]",
  12333. "type": "string"
  12334. },
  12335. "postalcode": {
  12336. "description": "邮政编码",
  12337. "type": "string"
  12338. },
  12339. "provinceid": {
  12340. "description": "省",
  12341. "type": "integer"
  12342. },
  12343. "proxystatementurl": {
  12344. "description": "授权委托书",
  12345. "type": "string"
  12346. },
  12347. "qq": {
  12348. "description": "QQ(加密存储",
  12349. "type": "string"
  12350. },
  12351. "referral": {
  12352. "description": "推荐人编码",
  12353. "type": "string"
  12354. },
  12355. "remark": {
  12356. "description": "备注",
  12357. "type": "string"
  12358. },
  12359. "removebeforestatus": {
  12360. "description": "REMOVEBEFORESTATUS",
  12361. "type": "integer"
  12362. },
  12363. "sex": {
  12364. "description": "性别 - 0:女 1:男",
  12365. "type": "integer"
  12366. },
  12367. "signedstatus": {
  12368. "description": "账户一号签签约状态",
  12369. "type": "integer"
  12370. },
  12371. "signpdfurl": {
  12372. "description": "签约pdf文件",
  12373. "type": "string"
  12374. },
  12375. "subbranch": {
  12376. "description": "开户支行",
  12377. "type": "string"
  12378. },
  12379. "taxpayernum": {
  12380. "description": "纳税人识别号",
  12381. "type": "string"
  12382. },
  12383. "telphone": {
  12384. "description": "联系电话(加密存储)",
  12385. "type": "string"
  12386. },
  12387. "userid": {
  12388. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12389. "type": "integer"
  12390. },
  12391. "userinfotype": {
  12392. "description": "用户信息类型 - 1:个人 2:企业",
  12393. "type": "integer"
  12394. },
  12395. "username": {
  12396. "description": "用户姓名",
  12397. "type": "string"
  12398. },
  12399. "userstate": {
  12400. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12401. "type": "integer"
  12402. },
  12403. "usertype": {
  12404. "description": "用户类型 - 1:投资者 2:机构",
  12405. "type": "integer"
  12406. },
  12407. "videourl": {
  12408. "description": "视频地址",
  12409. "type": "string"
  12410. },
  12411. "wechat": {
  12412. "description": "微信号 (加密存储)",
  12413. "type": "string"
  12414. }
  12415. }
  12416. },
  12417. "erms3.CustomerInfo": {
  12418. "type": "object",
  12419. "required": [
  12420. "userid"
  12421. ],
  12422. "properties": {
  12423. "accountids": {
  12424. "description": "资金账户ID列表",
  12425. "type": "array",
  12426. "items": {
  12427. "type": "integer"
  12428. }
  12429. },
  12430. "customername": {
  12431. "description": "名称(企业名称)",
  12432. "type": "string"
  12433. },
  12434. "mobile": {
  12435. "description": "手机号码",
  12436. "type": "string"
  12437. },
  12438. "userid": {
  12439. "description": "用户ID",
  12440. "type": "integer"
  12441. }
  12442. }
  12443. },
  12444. "erms3.ModifyUserInfoApplyReq": {
  12445. "type": "object",
  12446. "required": [
  12447. "userid"
  12448. ],
  12449. "properties": {
  12450. "accountid": {
  12451. "description": "交易系统帐号Id (加密存储)",
  12452. "type": "integer"
  12453. },
  12454. "areacode": {
  12455. "description": "机构代码",
  12456. "type": "string"
  12457. },
  12458. "areaid": {
  12459. "description": "机构Id",
  12460. "type": "integer"
  12461. },
  12462. "attachment1": {
  12463. "description": "附件1",
  12464. "type": "string"
  12465. },
  12466. "attachment2": {
  12467. "description": "附件2",
  12468. "type": "string"
  12469. },
  12470. "attachment3": {
  12471. "description": "附件3",
  12472. "type": "string"
  12473. },
  12474. "attachment4": {
  12475. "description": "附件4",
  12476. "type": "string"
  12477. },
  12478. "attachment5": {
  12479. "description": "附件5",
  12480. "type": "string"
  12481. },
  12482. "auditedby": {
  12483. "description": "审核人",
  12484. "type": "string"
  12485. },
  12486. "auditime": {
  12487. "description": "审核时间",
  12488. "type": "string"
  12489. },
  12490. "auditsrc": {
  12491. "description": "审核来源 - 1:管理端 2:终端",
  12492. "type": "integer"
  12493. },
  12494. "bankaccount": {
  12495. "description": "银行帐号 (加密存储)",
  12496. "type": "string"
  12497. },
  12498. "bankaccountname": {
  12499. "description": "收款人名称",
  12500. "type": "string"
  12501. },
  12502. "bankcardbackphotourl": {
  12503. "description": "银行卡背面照地址",
  12504. "type": "string"
  12505. },
  12506. "bankcardfrontphotourl": {
  12507. "description": "银行卡正面照地址",
  12508. "type": "string"
  12509. },
  12510. "bankid": {
  12511. "description": "银行编码",
  12512. "type": "string"
  12513. },
  12514. "bankname": {
  12515. "description": "银行名称",
  12516. "type": "string"
  12517. },
  12518. "bankpictureurl": {
  12519. "description": "银行卡正面地址",
  12520. "type": "string"
  12521. },
  12522. "biznature": {
  12523. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12524. "type": "integer"
  12525. },
  12526. "bizscope": {
  12527. "description": "企业经营范围(企业)",
  12528. "type": "string"
  12529. },
  12530. "biztype": {
  12531. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12532. "type": "integer"
  12533. },
  12534. "brokerid": {
  12535. "description": "经纪人ID(加密存储)",
  12536. "type": "string"
  12537. },
  12538. "cardaddress": {
  12539. "description": "证件地址 (加密存储)",
  12540. "type": "string"
  12541. },
  12542. "cardbackphotourl": {
  12543. "description": "背面证件照地址",
  12544. "type": "string"
  12545. },
  12546. "cardfrontphotourl": {
  12547. "description": "正面证件照地址",
  12548. "type": "string"
  12549. },
  12550. "cardnum": {
  12551. "description": "证件号码 (加密存储)",
  12552. "type": "string"
  12553. },
  12554. "cardtype": {
  12555. "description": "证件类型",
  12556. "type": "integer"
  12557. },
  12558. "cityid": {
  12559. "description": "市",
  12560. "type": "integer"
  12561. },
  12562. "company": {
  12563. "description": "公司(个人)",
  12564. "type": "string"
  12565. },
  12566. "contactcardbackphotourl": {
  12567. "description": "联系人证件背面图片地址",
  12568. "type": "string"
  12569. },
  12570. "contactcardfrontphotourl": {
  12571. "description": "联系人证件正面图片地址",
  12572. "type": "string"
  12573. },
  12574. "contactname": {
  12575. "description": "联系人",
  12576. "type": "string"
  12577. },
  12578. "countryid": {
  12579. "description": "国家",
  12580. "type": "integer"
  12581. },
  12582. "createtime": {
  12583. "description": "开户申请时间",
  12584. "type": "string"
  12585. },
  12586. "cusbankid": {
  12587. "description": "签约类型",
  12588. "type": "string"
  12589. },
  12590. "cusbankname": {
  12591. "description": "签约类型名称",
  12592. "type": "string"
  12593. },
  12594. "customername": {
  12595. "description": "客户名称(企业名称)",
  12596. "type": "string"
  12597. },
  12598. "districtid": {
  12599. "description": "地区",
  12600. "type": "integer"
  12601. },
  12602. "email": {
  12603. "description": "Email地址(加密存储)",
  12604. "type": "string"
  12605. },
  12606. "halfbodyphotourl": {
  12607. "description": "半身照地址",
  12608. "type": "string"
  12609. },
  12610. "headurl": {
  12611. "description": "头像地址",
  12612. "type": "string"
  12613. },
  12614. "ipaddress": {
  12615. "description": "IP地址",
  12616. "type": "string"
  12617. },
  12618. "isvalidate": {
  12619. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12620. "type": "string"
  12621. },
  12622. "legalcardbackphotourl": {
  12623. "description": "法人身份证背面照地址",
  12624. "type": "string"
  12625. },
  12626. "legalcardfrontphotourl": {
  12627. "description": "法人身份证正面照地址",
  12628. "type": "string"
  12629. },
  12630. "legalpersonname": {
  12631. "description": "法人姓名(企业)",
  12632. "type": "string"
  12633. },
  12634. "logincode": {
  12635. "description": "登录帐号 (加密存储)",
  12636. "type": "string"
  12637. },
  12638. "memberareaid": {
  12639. "description": "所属会员ID",
  12640. "type": "integer"
  12641. },
  12642. "mobile2": {
  12643. "description": "手机号码[明文-尚志]",
  12644. "type": "string"
  12645. },
  12646. "mobilephone": {
  12647. "description": "手机号码 (加密存储)",
  12648. "type": "string"
  12649. },
  12650. "modifiedby": {
  12651. "description": "修改人帐号",
  12652. "type": "integer"
  12653. },
  12654. "modifiedtime": {
  12655. "description": "修改时间",
  12656. "type": "string"
  12657. },
  12658. "nickname": {
  12659. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12660. "type": "string"
  12661. },
  12662. "openmode": {
  12663. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12664. "type": "integer"
  12665. },
  12666. "otherurl": {
  12667. "description": "其它图片地址[使用分号分隔]",
  12668. "type": "string"
  12669. },
  12670. "postalcode": {
  12671. "description": "邮政编码",
  12672. "type": "string"
  12673. },
  12674. "provinceid": {
  12675. "description": "省",
  12676. "type": "integer"
  12677. },
  12678. "proxystatementurl": {
  12679. "description": "授权委托书",
  12680. "type": "string"
  12681. },
  12682. "qq": {
  12683. "description": "QQ(加密存储",
  12684. "type": "string"
  12685. },
  12686. "referral": {
  12687. "description": "推荐人编码",
  12688. "type": "string"
  12689. },
  12690. "remark": {
  12691. "description": "备注",
  12692. "type": "string"
  12693. },
  12694. "removebeforestatus": {
  12695. "description": "REMOVEBEFORESTATUS",
  12696. "type": "integer"
  12697. },
  12698. "sex": {
  12699. "description": "性别 - 0:女 1:男",
  12700. "type": "integer"
  12701. },
  12702. "signedstatus": {
  12703. "description": "账户一号签签约状态",
  12704. "type": "integer"
  12705. },
  12706. "signpdfurl": {
  12707. "description": "签约pdf文件",
  12708. "type": "string"
  12709. },
  12710. "subbranch": {
  12711. "description": "开户支行",
  12712. "type": "string"
  12713. },
  12714. "taxpayernum": {
  12715. "description": "纳税人识别号",
  12716. "type": "string"
  12717. },
  12718. "telphone": {
  12719. "description": "联系电话(加密存储)",
  12720. "type": "string"
  12721. },
  12722. "userid": {
  12723. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12724. "type": "integer"
  12725. },
  12726. "userinfotype": {
  12727. "description": "用户信息类型 - 1:个人 2:企业",
  12728. "type": "integer"
  12729. },
  12730. "username": {
  12731. "description": "用户姓名",
  12732. "type": "string"
  12733. },
  12734. "userstate": {
  12735. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12736. "type": "integer"
  12737. },
  12738. "usertype": {
  12739. "description": "用户类型 - 1:投资者 2:机构",
  12740. "type": "integer"
  12741. },
  12742. "videourl": {
  12743. "description": "视频地址",
  12744. "type": "string"
  12745. },
  12746. "wechat": {
  12747. "description": "微信号 (加密存储)",
  12748. "type": "string"
  12749. }
  12750. }
  12751. },
  12752. "erms3.QryAuditContractRsp": {
  12753. "type": "object",
  12754. "required": [
  12755. "matchcustomername",
  12756. "spotcontractid"
  12757. ],
  12758. "properties": {
  12759. "accountid": {
  12760. "description": "交易员ID",
  12761. "type": "string"
  12762. },
  12763. "applystatus": {
  12764. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12765. "type": "integer"
  12766. },
  12767. "curdeliveryqty": {
  12768. "description": "未交收量",
  12769. "type": "integer"
  12770. },
  12771. "customername": {
  12772. "description": "采购方ID",
  12773. "type": "string"
  12774. },
  12775. "deliverygoodsid": {
  12776. "description": "品种ID",
  12777. "type": "string"
  12778. },
  12779. "deliveryqty": {
  12780. "description": "交收量",
  12781. "type": "integer"
  12782. },
  12783. "enumdicname": {
  12784. "description": "单位名称",
  12785. "type": "string"
  12786. },
  12787. "matchaccountid": {
  12788. "description": "业务员ID",
  12789. "type": "string"
  12790. },
  12791. "matchcustomername": {
  12792. "description": "销售方ID",
  12793. "type": "string"
  12794. },
  12795. "pricedqty": {
  12796. "description": "定价量",
  12797. "type": "number"
  12798. },
  12799. "signdate": {
  12800. "description": "签订日期",
  12801. "type": "string"
  12802. },
  12803. "spotcontractid": {
  12804. "description": "合同ID",
  12805. "type": "string"
  12806. },
  12807. "totaldqty": {
  12808. "description": "合同量",
  12809. "type": "number"
  12810. },
  12811. "unpricedqty": {
  12812. "description": "未定价量",
  12813. "type": "number"
  12814. },
  12815. "wrstandardname": {
  12816. "description": "商品名称",
  12817. "type": "string"
  12818. }
  12819. }
  12820. },
  12821. "erms3.QryPendingBizRsp": {
  12822. "$ref": "#/definitions/models.PendingAuditBizModel"
  12823. },
  12824. "erms3.QueryBusinessInfoRsp": {
  12825. "type": "object",
  12826. "properties": {
  12827. "businessid": {
  12828. "description": "业务ID.",
  12829. "type": "integer"
  12830. },
  12831. "buyamount": {
  12832. "description": "采购额.",
  12833. "type": "number"
  12834. },
  12835. "buyqty": {
  12836. "description": "采购量.",
  12837. "type": "string"
  12838. },
  12839. "futurepl": {
  12840. "description": "期货盈亏.",
  12841. "type": "number"
  12842. },
  12843. "futureqty": {
  12844. "description": "期货敞口.",
  12845. "type": "string"
  12846. },
  12847. "goodsid": {
  12848. "description": "商品名称/商品代码.",
  12849. "type": "string"
  12850. },
  12851. "hedgingqty": {
  12852. "description": "套保量.",
  12853. "type": "string"
  12854. },
  12855. "sellamount": {
  12856. "description": "销售额.",
  12857. "type": "number"
  12858. },
  12859. "sellqty": {
  12860. "description": "销售量.",
  12861. "type": "string"
  12862. },
  12863. "spotmarketvalue": {
  12864. "description": "现货市值.",
  12865. "type": "number"
  12866. },
  12867. "spotpl": {
  12868. "description": "浮动权益.",
  12869. "type": "number"
  12870. },
  12871. "spotqty": {
  12872. "description": "现货量.",
  12873. "type": "string"
  12874. },
  12875. "statu": {
  12876. "description": "状态,0-未结束 1-已结束.",
  12877. "type": "integer"
  12878. },
  12879. "totalpl": {
  12880. "description": "总盈亏.",
  12881. "type": "number"
  12882. },
  12883. "totalqty": {
  12884. "description": "总敞口.",
  12885. "type": "string"
  12886. },
  12887. "type": {
  12888. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12889. "type": "integer"
  12890. }
  12891. }
  12892. },
  12893. "erms3.QuerySpotContractAppleFormRsp": {
  12894. "type": "object",
  12895. "properties": {
  12896. "goodses": {
  12897. "description": "合约列表",
  12898. "type": "array",
  12899. "items": {
  12900. "$ref": "#/definitions/models.GoodsIDAndName"
  12901. }
  12902. },
  12903. "oppositeusers": {
  12904. "description": "对方账号列表",
  12905. "type": "array",
  12906. "items": {
  12907. "$ref": "#/definitions/erms3.CustomerInfo"
  12908. }
  12909. },
  12910. "ouruser": {
  12911. "description": "我方账号",
  12912. "type": "object",
  12913. "$ref": "#/definitions/erms3.CustomerInfo"
  12914. },
  12915. "warehouseinfos": {
  12916. "description": "仓库信息列表",
  12917. "type": "array",
  12918. "items": {
  12919. "$ref": "#/definitions/models.Warehouseinfo"
  12920. }
  12921. },
  12922. "wrstandards": {
  12923. "description": "仓单标准列表",
  12924. "type": "array",
  12925. "items": {
  12926. "$ref": "#/definitions/models.WRStandardInfo"
  12927. }
  12928. }
  12929. }
  12930. },
  12931. "erms3.QuerySpotContractInfoRsp": {
  12932. "type": "object",
  12933. "properties": {
  12934. "accountid": {
  12935. "description": "表示交易员ID.",
  12936. "type": "integer"
  12937. },
  12938. "curdeliveryqty": {
  12939. "description": "表示未交收量.",
  12940. "type": "number"
  12941. },
  12942. "customername": {
  12943. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12944. "type": "string"
  12945. },
  12946. "deliverygoodsid": {
  12947. "description": "表示品种ID.",
  12948. "type": "string"
  12949. },
  12950. "deliveryqty": {
  12951. "description": "表示交收量.",
  12952. "type": "number"
  12953. },
  12954. "matchaccountid": {
  12955. "description": "表示业务员ID.",
  12956. "type": "integer"
  12957. },
  12958. "matchcustomername": {
  12959. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12960. "type": "string"
  12961. },
  12962. "priceqty": {
  12963. "description": "表示定价量.",
  12964. "type": "number"
  12965. },
  12966. "relatedbizid": {
  12967. "description": "表示业务ID.",
  12968. "type": "string"
  12969. },
  12970. "signdate": {
  12971. "description": "表示签订日期.",
  12972. "type": "string"
  12973. },
  12974. "spotcontractid": {
  12975. "description": "合同ID",
  12976. "type": "string"
  12977. },
  12978. "status": {
  12979. "description": "表示状态,0-履约中 1-已完成.",
  12980. "type": "integer"
  12981. },
  12982. "totalqty": {
  12983. "description": "表示合同量.",
  12984. "type": "number"
  12985. },
  12986. "unpricedqty": {
  12987. "description": "表示未定价量.",
  12988. "type": "number"
  12989. },
  12990. "wrstandardname": {
  12991. "description": "表示商品ID.",
  12992. "type": "string"
  12993. }
  12994. }
  12995. },
  12996. "erms3.QueryUserInfoAppliesRsp": {
  12997. "type": "object",
  12998. "required": [
  12999. "userid"
  13000. ],
  13001. "properties": {
  13002. "biznature": {
  13003. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13004. "type": "integer"
  13005. },
  13006. "contactname": {
  13007. "description": "联系人",
  13008. "type": "string"
  13009. },
  13010. "createtime": {
  13011. "description": "开户申请时间",
  13012. "type": "string"
  13013. },
  13014. "userid": {
  13015. "description": "用户ID(自增ID)",
  13016. "type": "integer"
  13017. },
  13018. "userinfotype": {
  13019. "description": "用户信息类型 - 1:个人 2:企业",
  13020. "type": "integer"
  13021. },
  13022. "username": {
  13023. "description": "用户姓名",
  13024. "type": "string"
  13025. },
  13026. "userstate": {
  13027. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13028. "type": "integer"
  13029. }
  13030. }
  13031. },
  13032. "erms3.QueryUserInfosRsp": {
  13033. "type": "object",
  13034. "required": [
  13035. "userid"
  13036. ],
  13037. "properties": {
  13038. "biznature": {
  13039. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13040. "type": "integer"
  13041. },
  13042. "contactname": {
  13043. "description": "联系人",
  13044. "type": "string"
  13045. },
  13046. "customername": {
  13047. "description": "客户名称(企业名称)",
  13048. "type": "string"
  13049. },
  13050. "userid": {
  13051. "description": "用户ID",
  13052. "type": "integer"
  13053. },
  13054. "userinfotype": {
  13055. "description": "用户信息类型 - 1:个人 2:企业",
  13056. "type": "integer"
  13057. },
  13058. "userstatus": {
  13059. "description": "用户状态 - 1:正常 2:注销",
  13060. "type": "integer"
  13061. }
  13062. }
  13063. },
  13064. "erms3.SoptContractDetail": {
  13065. "type": "object",
  13066. "required": [
  13067. "deliverygoodsid",
  13068. "producttype",
  13069. "unitname",
  13070. "warehouseid",
  13071. "wrstandardid",
  13072. "wrstandardname"
  13073. ],
  13074. "properties": {
  13075. "deliverygoodsdesc": {
  13076. "description": "现货品种说明",
  13077. "type": "string"
  13078. },
  13079. "deliverygoodsid": {
  13080. "description": "现货品种ID",
  13081. "type": "integer"
  13082. },
  13083. "deliverygoodsname": {
  13084. "description": "现货品种名称",
  13085. "type": "string"
  13086. },
  13087. "pointdesc": {
  13088. "description": "点价描述",
  13089. "type": "string"
  13090. },
  13091. "producttype": {
  13092. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13093. "type": "integer"
  13094. },
  13095. "producttypename": {
  13096. "description": "产品类型名称",
  13097. "type": "string"
  13098. },
  13099. "spotPointOrderVoList": {
  13100. "description": "点价列表",
  13101. "type": "array",
  13102. "items": {
  13103. "$ref": "#/definitions/erms3.SpotPointOrder"
  13104. }
  13105. },
  13106. "spotPriceOrderList": {
  13107. "description": "定价列表",
  13108. "type": "array",
  13109. "items": {
  13110. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13111. }
  13112. },
  13113. "unitname": {
  13114. "description": "单位名称",
  13115. "type": "string"
  13116. },
  13117. "warehouseid": {
  13118. "description": "仓库ID",
  13119. "type": "integer"
  13120. },
  13121. "warehousename": {
  13122. "description": "仓库名称",
  13123. "type": "string"
  13124. },
  13125. "wrstandardid": {
  13126. "description": "交易标的ID",
  13127. "type": "integer"
  13128. },
  13129. "wrstandardname": {
  13130. "description": "交易标的名称",
  13131. "type": "string"
  13132. }
  13133. }
  13134. },
  13135. "erms3.SpotPointOrder": {
  13136. "type": "object",
  13137. "required": [
  13138. "basic",
  13139. "goodsid",
  13140. "qty"
  13141. ],
  13142. "properties": {
  13143. "basic": {
  13144. "description": "基差",
  13145. "type": "number"
  13146. },
  13147. "deliveryenddate": {
  13148. "description": "交收结束日期",
  13149. "type": "string"
  13150. },
  13151. "deliverystartdate": {
  13152. "description": "交收开始日期",
  13153. "type": "string"
  13154. },
  13155. "enddate": {
  13156. "description": "点价结束日期",
  13157. "type": "string"
  13158. },
  13159. "goodsid": {
  13160. "description": "商品ID",
  13161. "type": "integer"
  13162. },
  13163. "goodsname": {
  13164. "description": "商品名称",
  13165. "type": "string"
  13166. },
  13167. "qty": {
  13168. "description": "数量",
  13169. "type": "number"
  13170. },
  13171. "startdate": {
  13172. "description": "点价开始日期",
  13173. "type": "string"
  13174. }
  13175. }
  13176. },
  13177. "erms3.SpotPriceOrder": {
  13178. "type": "object",
  13179. "required": [
  13180. "amount",
  13181. "price",
  13182. "qty"
  13183. ],
  13184. "properties": {
  13185. "amount": {
  13186. "description": "金额",
  13187. "type": "number"
  13188. },
  13189. "deliveryenddate": {
  13190. "description": "交收结束日期",
  13191. "type": "string"
  13192. },
  13193. "deliverystartdate": {
  13194. "description": "交收开始日期",
  13195. "type": "string"
  13196. },
  13197. "price": {
  13198. "description": "价格",
  13199. "type": "number"
  13200. },
  13201. "qty": {
  13202. "description": "数量",
  13203. "type": "number"
  13204. }
  13205. }
  13206. },
  13207. "hsby.GetHsbyMyCountRsp": {
  13208. "type": "object",
  13209. "properties": {
  13210. "myCouponCount": {
  13211. "description": "我的优惠卷数量",
  13212. "type": "integer"
  13213. },
  13214. "myOrderDetailListingCount": {
  13215. "description": "我的订单求购中数量",
  13216. "type": "integer"
  13217. },
  13218. "myOrderDetailPreCount": {
  13219. "description": "我的订单抢购中数量",
  13220. "type": "integer"
  13221. },
  13222. "myPackageUnReceiveCount": {
  13223. "description": "我的包裹待收货数量",
  13224. "type": "integer"
  13225. },
  13226. "myPackageUnSendCount": {
  13227. "description": "我的包裹待发货数量",
  13228. "type": "integer"
  13229. },
  13230. "myPayOrderCount": {
  13231. "description": "我的订单待付款数量",
  13232. "type": "integer"
  13233. }
  13234. }
  13235. },
  13236. "hsby.QueryProvincesAndCitiesRsp": {
  13237. "type": "object",
  13238. "properties": {
  13239. "cities": {
  13240. "description": "市",
  13241. "type": "array",
  13242. "items": {
  13243. "$ref": "#/definitions/models.Division"
  13244. }
  13245. },
  13246. "province": {
  13247. "description": "省",
  13248. "type": "object",
  13249. "$ref": "#/definitions/models.Division"
  13250. }
  13251. }
  13252. },
  13253. "models.AreaSpotModel": {
  13254. "type": "object",
  13255. "properties": {
  13256. "areauserid": {
  13257. "description": "所属机构",
  13258. "type": "integer"
  13259. },
  13260. "decreaseqty": {
  13261. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13262. "type": "number"
  13263. },
  13264. "increaseqty": {
  13265. "description": "增加数量=销售计划数量+采购已定价数量",
  13266. "type": "number"
  13267. },
  13268. "oritoalspotqty": {
  13269. "description": "昨日数量",
  13270. "type": "number"
  13271. },
  13272. "totalspotqty": {
  13273. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13274. "type": "number"
  13275. },
  13276. "updatetime": {
  13277. "description": "更新时间",
  13278. "type": "string"
  13279. },
  13280. "wrstandardcode": {
  13281. "description": "现货品种代码",
  13282. "type": "string"
  13283. },
  13284. "wrstandardid": {
  13285. "description": "现货商品ID",
  13286. "type": "integer"
  13287. },
  13288. "wrstandardname": {
  13289. "description": "现货品种",
  13290. "type": "string"
  13291. }
  13292. }
  13293. },
  13294. "models.Clientfixedadconfig": {
  13295. "type": "object",
  13296. "required": [
  13297. "adsort",
  13298. "adtype"
  13299. ],
  13300. "properties": {
  13301. "adsort": {
  13302. "description": "排序",
  13303. "type": "integer"
  13304. },
  13305. "adtype": {
  13306. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13307. "type": "integer"
  13308. },
  13309. "areauserid": {
  13310. "description": "所属机构ID",
  13311. "type": "integer"
  13312. },
  13313. "createdate": {
  13314. "description": "创建时间",
  13315. "type": "string"
  13316. },
  13317. "creatorid": {
  13318. "description": "创建人",
  13319. "type": "integer"
  13320. },
  13321. "imagepath": {
  13322. "description": "图片",
  13323. "type": "string"
  13324. },
  13325. "isshow": {
  13326. "description": "是否展示 - 0:不展示 1:展示",
  13327. "type": "integer"
  13328. },
  13329. "modifierid": {
  13330. "description": "操作人",
  13331. "type": "integer"
  13332. },
  13333. "recsize": {
  13334. "description": "推荐尺寸",
  13335. "type": "string"
  13336. },
  13337. "title": {
  13338. "description": "标题",
  13339. "type": "string"
  13340. },
  13341. "updatedate": {
  13342. "description": "更新时间",
  13343. "type": "string"
  13344. },
  13345. "urlcontent": {
  13346. "description": "链接(地址或商品ID)",
  13347. "type": "string"
  13348. },
  13349. "urltype": {
  13350. "description": "链接类型 - 1:直接地址 2:商品ID",
  13351. "type": "integer"
  13352. }
  13353. }
  13354. },
  13355. "models.Division": {
  13356. "type": "object",
  13357. "required": [
  13358. "autoid",
  13359. "divisioncode"
  13360. ],
  13361. "properties": {
  13362. "autoid": {
  13363. "description": "自增ID",
  13364. "type": "integer"
  13365. },
  13366. "divisioncode": {
  13367. "description": "行政代码",
  13368. "type": "string"
  13369. },
  13370. "divisionlevel": {
  13371. "description": "行政级别",
  13372. "type": "string"
  13373. },
  13374. "divisionname": {
  13375. "description": "行政名称",
  13376. "type": "string"
  13377. },
  13378. "modifierid": {
  13379. "description": "修改人",
  13380. "type": "integer"
  13381. },
  13382. "modifytime": {
  13383. "description": "修改时间",
  13384. "type": "string"
  13385. },
  13386. "parentcode": {
  13387. "description": "上级行政代码",
  13388. "type": "string"
  13389. },
  13390. "pathname": {
  13391. "description": "路径名称",
  13392. "type": "string"
  13393. },
  13394. "postcode": {
  13395. "description": "邮政编码",
  13396. "type": "string"
  13397. },
  13398. "separablename": {
  13399. "description": "可拆分的全称",
  13400. "type": "string"
  13401. },
  13402. "shortcode": {
  13403. "description": "地区简码",
  13404. "type": "string"
  13405. }
  13406. }
  13407. },
  13408. "models.Enumdicitem": {
  13409. "type": "object",
  13410. "required": [
  13411. "autoid",
  13412. "enumdiccode",
  13413. "enumdicid",
  13414. "enumitemname"
  13415. ],
  13416. "properties": {
  13417. "autoid": {
  13418. "description": "自增ID",
  13419. "type": "integer"
  13420. },
  13421. "bankmappedvalue": {
  13422. "description": "银行服务对应值",
  13423. "type": "string"
  13424. },
  13425. "enumdiccode": {
  13426. "description": "所属枚举代码",
  13427. "type": "string"
  13428. },
  13429. "enumdicid": {
  13430. "description": "所属枚举ID",
  13431. "type": "integer"
  13432. },
  13433. "enumdicname": {
  13434. "description": "枚举项名称",
  13435. "type": "string"
  13436. },
  13437. "enumitemname": {
  13438. "description": "枚举项值",
  13439. "type": "integer"
  13440. },
  13441. "enumitemstatus": {
  13442. "description": "枚举项状态 - 1.启用 2.不启用",
  13443. "type": "integer"
  13444. },
  13445. "enumitemvalue": {
  13446. "description": "通用值 - [币种通用简写]",
  13447. "type": "string"
  13448. },
  13449. "param1": {
  13450. "description": "参数1[币种:币种小数位]",
  13451. "type": "string"
  13452. },
  13453. "param2": {
  13454. "description": "参数1[币种:币种显示单位]",
  13455. "type": "string"
  13456. },
  13457. "remark": {
  13458. "description": "备注",
  13459. "type": "string"
  13460. }
  13461. }
  13462. },
  13463. "models.Ermcp3AreaSpot": {
  13464. "type": "object",
  13465. "properties": {
  13466. "areauserid": {
  13467. "description": "所属机构",
  13468. "type": "integer"
  13469. },
  13470. "decreaseqty": {
  13471. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13472. "type": "number"
  13473. },
  13474. "deliverygoodscode": {
  13475. "description": "现货品种代码",
  13476. "type": "string"
  13477. },
  13478. "deliverygoodsid": {
  13479. "description": "现货品种id",
  13480. "type": "integer"
  13481. },
  13482. "deliverygoodsname": {
  13483. "description": "现货品种名称",
  13484. "type": "string"
  13485. },
  13486. "enumdicname": {
  13487. "description": "单位名称",
  13488. "type": "string"
  13489. },
  13490. "goodsunitid": {
  13491. "description": "现货品种单位id",
  13492. "type": "integer"
  13493. },
  13494. "increaseqty": {
  13495. "description": "增加数量=销售计划数量+采购已定价数量",
  13496. "type": "number"
  13497. },
  13498. "oritoalspotqty": {
  13499. "description": "昨日数量",
  13500. "type": "number"
  13501. },
  13502. "totalspotqty": {
  13503. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13504. "type": "number"
  13505. },
  13506. "updatetime": {
  13507. "description": "更新时间",
  13508. "type": "string"
  13509. }
  13510. }
  13511. },
  13512. "models.Ermcp3AreaSpotDetail": {
  13513. "type": "object",
  13514. "properties": {
  13515. "contracttype": {
  13516. "description": "合同类型 1-采购 -1-销售",
  13517. "type": "integer"
  13518. },
  13519. "createtime": {
  13520. "description": "创建时间",
  13521. "type": "string"
  13522. },
  13523. "deliverygoodscode": {
  13524. "description": "现货品种代码",
  13525. "type": "string"
  13526. },
  13527. "deliverygoodsid": {
  13528. "description": "现货品种id",
  13529. "type": "integer"
  13530. },
  13531. "deliverygoodsname": {
  13532. "description": "现货品种名称",
  13533. "type": "string"
  13534. },
  13535. "enumdicname": {
  13536. "description": "现货商品单位名称",
  13537. "type": "string"
  13538. },
  13539. "logtype": {
  13540. "description": "记录类型 1-套保 2-现货合同",
  13541. "type": "integer"
  13542. },
  13543. "qty": {
  13544. "description": "数量",
  13545. "type": "number"
  13546. },
  13547. "recordname": {
  13548. "description": "类型名称",
  13549. "type": "string"
  13550. },
  13551. "relatedid": {
  13552. "description": "套保计划ID/现货合同ID",
  13553. "type": "string"
  13554. },
  13555. "relatedno": {
  13556. "description": "编号",
  13557. "type": "string"
  13558. },
  13559. "strtime": {
  13560. "description": "时间",
  13561. "type": "string"
  13562. }
  13563. }
  13564. },
  13565. "models.Ermcp3AreaStock": {
  13566. "type": "object",
  13567. "required": [
  13568. "userid"
  13569. ],
  13570. "properties": {
  13571. "brandname": {
  13572. "description": "品牌名称",
  13573. "type": "string"
  13574. },
  13575. "curstock": {
  13576. "description": "期末库存量(今日量)",
  13577. "type": "number"
  13578. },
  13579. "deliverygoodscode": {
  13580. "description": "现货品种代码",
  13581. "type": "string"
  13582. },
  13583. "deliverygoodsid": {
  13584. "description": "现货品种id",
  13585. "type": "integer"
  13586. },
  13587. "deliverygoodsname": {
  13588. "description": "现货品种名称",
  13589. "type": "string"
  13590. },
  13591. "enumdicname": {
  13592. "description": "单位名称",
  13593. "type": "string"
  13594. },
  13595. "goodsunitid": {
  13596. "description": "现货商品单位id",
  13597. "type": "integer"
  13598. },
  13599. "oristock": {
  13600. "description": "期初库存量(昨日量)",
  13601. "type": "number"
  13602. },
  13603. "spotgoodsbrandid": {
  13604. "description": "现货品牌ID",
  13605. "type": "integer"
  13606. },
  13607. "todaybuyinqty": {
  13608. "description": "今日采购入库量",
  13609. "type": "number"
  13610. },
  13611. "todayproduceinqty": {
  13612. "description": "今日生产入库量",
  13613. "type": "number"
  13614. },
  13615. "todayproduceoutqty": {
  13616. "description": "今日生产出库量",
  13617. "type": "number"
  13618. },
  13619. "todayselloutqty": {
  13620. "description": "今日销售出库量",
  13621. "type": "number"
  13622. },
  13623. "unitid": {
  13624. "description": "单位id",
  13625. "type": "integer"
  13626. },
  13627. "updatetime": {
  13628. "description": "更新时间",
  13629. "type": "string"
  13630. },
  13631. "userid": {
  13632. "description": "机构ID",
  13633. "type": "integer"
  13634. },
  13635. "username": {
  13636. "description": "机构名称",
  13637. "type": "string"
  13638. },
  13639. "warehousecode": {
  13640. "description": "仓库代码",
  13641. "type": "string"
  13642. },
  13643. "warehouseinfoid": {
  13644. "description": "仓库ID",
  13645. "type": "string"
  13646. },
  13647. "warehousename": {
  13648. "description": "仓库名称",
  13649. "type": "string"
  13650. },
  13651. "warehousetype": {
  13652. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13653. "type": "integer"
  13654. },
  13655. "wrstandardcode": {
  13656. "description": "品类代码",
  13657. "type": "string"
  13658. },
  13659. "wrstandardid": {
  13660. "description": "品类ID",
  13661. "type": "string"
  13662. },
  13663. "wrstandardname": {
  13664. "description": "品类名称",
  13665. "type": "string"
  13666. }
  13667. }
  13668. },
  13669. "models.Ermcp3AreaStockApply": {
  13670. "type": "object",
  13671. "properties": {
  13672. "applyid": {
  13673. "description": "申请人",
  13674. "type": "integer"
  13675. },
  13676. "applyname": {
  13677. "description": "申请人名称",
  13678. "type": "string"
  13679. },
  13680. "applyremark": {
  13681. "description": "申请备注",
  13682. "type": "string"
  13683. },
  13684. "applysrc": {
  13685. "description": "申请来源 - 1:管理端 2:终端",
  13686. "type": "integer"
  13687. },
  13688. "applystatus": {
  13689. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13690. "type": "integer"
  13691. },
  13692. "applytime": {
  13693. "description": "申请时间",
  13694. "type": "string"
  13695. },
  13696. "auditid": {
  13697. "description": "审核人",
  13698. "type": "integer"
  13699. },
  13700. "auditname": {
  13701. "description": "审核人名称",
  13702. "type": "string"
  13703. },
  13704. "auditremark": {
  13705. "description": "审核备注",
  13706. "type": "string"
  13707. },
  13708. "auditsrc": {
  13709. "description": "审核来源 - 1:管理端 2:终端",
  13710. "type": "integer"
  13711. },
  13712. "audittime": {
  13713. "description": "审核时间",
  13714. "type": "string"
  13715. },
  13716. "audittradedate": {
  13717. "description": "审核交易日(yyyyMMdd)",
  13718. "type": "string"
  13719. },
  13720. "brandname": {
  13721. "description": "品牌名称",
  13722. "type": "string"
  13723. },
  13724. "buynickname": {
  13725. "description": "采购方昵称",
  13726. "type": "string"
  13727. },
  13728. "buyuserid": {
  13729. "description": "采购方userid",
  13730. "type": "integer"
  13731. },
  13732. "buyusername": {
  13733. "description": "采购方名称",
  13734. "type": "string"
  13735. },
  13736. "contractno": {
  13737. "description": "合同编号",
  13738. "type": "string"
  13739. },
  13740. "contractqty": {
  13741. "description": "合同量",
  13742. "type": "number"
  13743. },
  13744. "contracttype": {
  13745. "description": "现货合同类型 - 1:采购 -1:销售",
  13746. "type": "integer"
  13747. },
  13748. "deliverygoodscode": {
  13749. "description": "现货品种代码",
  13750. "type": "string"
  13751. },
  13752. "deliverygoodsid": {
  13753. "description": "现货品种id",
  13754. "type": "integer"
  13755. },
  13756. "deliverygoodsname": {
  13757. "description": "现货品种名称",
  13758. "type": "string"
  13759. },
  13760. "enumdicname": {
  13761. "description": "现货商品单位名称",
  13762. "type": "string"
  13763. },
  13764. "inoutapplyid": {
  13765. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13766. "type": "string"
  13767. },
  13768. "inouttype": {
  13769. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13770. "type": "integer"
  13771. },
  13772. "pricetype": {
  13773. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13774. "type": "integer"
  13775. },
  13776. "qty": {
  13777. "description": "数量",
  13778. "type": "number"
  13779. },
  13780. "sellnickname": {
  13781. "description": "销售方昵称",
  13782. "type": "string"
  13783. },
  13784. "selluserid": {
  13785. "description": "销售方userid",
  13786. "type": "integer"
  13787. },
  13788. "sellusername": {
  13789. "description": "销售方名称",
  13790. "type": "string"
  13791. },
  13792. "spotcontractid": {
  13793. "description": "关联现货合同ID",
  13794. "type": "string"
  13795. },
  13796. "spotgoodsbrandid": {
  13797. "description": "现货品牌ID",
  13798. "type": "integer"
  13799. },
  13800. "unitid": {
  13801. "description": "单位id",
  13802. "type": "integer"
  13803. },
  13804. "userid": {
  13805. "description": "机构ID",
  13806. "type": "integer"
  13807. },
  13808. "warehousecode": {
  13809. "description": "仓库代码",
  13810. "type": "string"
  13811. },
  13812. "warehouseinfoid": {
  13813. "description": "现货仓库ID",
  13814. "type": "string"
  13815. },
  13816. "warehousename": {
  13817. "description": "仓库名称",
  13818. "type": "string"
  13819. },
  13820. "warehousetype": {
  13821. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13822. "type": "integer"
  13823. },
  13824. "wrstandardcode": {
  13825. "description": "品类代码",
  13826. "type": "string"
  13827. },
  13828. "wrstandardid": {
  13829. "description": "品类ID",
  13830. "type": "integer"
  13831. },
  13832. "wrstandardname": {
  13833. "description": "品类名称",
  13834. "type": "string"
  13835. }
  13836. }
  13837. },
  13838. "models.Ermcp3AreaStockApplySum": {
  13839. "type": "object",
  13840. "properties": {
  13841. "brandname": {
  13842. "description": "品牌名称",
  13843. "type": "string"
  13844. },
  13845. "inouttype": {
  13846. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13847. "type": "integer"
  13848. },
  13849. "spotcontractid": {
  13850. "description": "关联现货合同ID",
  13851. "type": "string"
  13852. },
  13853. "spotgoodsbrandid": {
  13854. "description": "品牌id",
  13855. "type": "integer"
  13856. },
  13857. "totalqty": {
  13858. "description": "总数量",
  13859. "type": "number"
  13860. },
  13861. "wrstandardid": {
  13862. "description": "品类id",
  13863. "type": "integer"
  13864. },
  13865. "wrstandardname": {
  13866. "description": "品类名称",
  13867. "type": "string"
  13868. }
  13869. }
  13870. },
  13871. "models.Ermcp3AreaStockReport": {
  13872. "type": "object",
  13873. "properties": {
  13874. "brandname": {
  13875. "description": "品牌名称",
  13876. "type": "string"
  13877. },
  13878. "curstock": {
  13879. "description": "期末库存量",
  13880. "type": "number"
  13881. },
  13882. "deliverygoodscode": {
  13883. "description": "现货品种代码",
  13884. "type": "string"
  13885. },
  13886. "deliverygoodsid": {
  13887. "description": "现货品种id",
  13888. "type": "integer"
  13889. },
  13890. "deliverygoodsname": {
  13891. "description": "现货品种名称",
  13892. "type": "string"
  13893. },
  13894. "enumdicname": {
  13895. "description": "单位名称",
  13896. "type": "string"
  13897. },
  13898. "goodsunitid": {
  13899. "description": "现货单位id",
  13900. "type": "integer"
  13901. },
  13902. "oristock": {
  13903. "description": "期初库存量",
  13904. "type": "number"
  13905. },
  13906. "spotgoodsbrandid": {
  13907. "description": "现货品牌ID",
  13908. "type": "integer"
  13909. },
  13910. "todaybuyinqty": {
  13911. "description": "今日采购入库量",
  13912. "type": "number"
  13913. },
  13914. "todayproduceinqty": {
  13915. "description": "今日生产入库量",
  13916. "type": "number"
  13917. },
  13918. "todayproduceoutqty": {
  13919. "description": "今日生产出库量",
  13920. "type": "number"
  13921. },
  13922. "todayselloutqty": {
  13923. "description": "今日销售出库量",
  13924. "type": "number"
  13925. },
  13926. "unitid": {
  13927. "description": "品类单位id",
  13928. "type": "integer"
  13929. },
  13930. "updatetime": {
  13931. "description": "更新时间",
  13932. "type": "string"
  13933. },
  13934. "userid": {
  13935. "description": "机构ID",
  13936. "type": "integer"
  13937. },
  13938. "username": {
  13939. "description": "机构名称",
  13940. "type": "string"
  13941. },
  13942. "warehousecode": {
  13943. "description": "仓库代码",
  13944. "type": "string"
  13945. },
  13946. "warehouseinfoid": {
  13947. "description": "仓库ID",
  13948. "type": "string"
  13949. },
  13950. "warehousename": {
  13951. "description": "仓库名称",
  13952. "type": "string"
  13953. },
  13954. "warehousetype": {
  13955. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13956. "type": "integer"
  13957. },
  13958. "wrstandardcode": {
  13959. "description": "品类代码",
  13960. "type": "string"
  13961. },
  13962. "wrstandardid": {
  13963. "description": "品类ID",
  13964. "type": "integer"
  13965. },
  13966. "wrstandardname": {
  13967. "description": "品类名称",
  13968. "type": "string"
  13969. }
  13970. }
  13971. },
  13972. "models.Ermcp3Brand": {
  13973. "type": "object",
  13974. "properties": {
  13975. "areauserid": {
  13976. "description": "用户id",
  13977. "type": "integer"
  13978. },
  13979. "brandid": {
  13980. "description": "品牌id",
  13981. "type": "integer"
  13982. },
  13983. "brandname": {
  13984. "description": "品牌名称",
  13985. "type": "string"
  13986. },
  13987. "deliverygoodsid": {
  13988. "description": "品种ID",
  13989. "type": "integer"
  13990. }
  13991. }
  13992. },
  13993. "models.Ermcp3Contract": {
  13994. "type": "object",
  13995. "properties": {
  13996. "accountid": {
  13997. "description": "期货账户id",
  13998. "type": "string"
  13999. },
  14000. "amount": {
  14001. "description": "金额 [1:一口价、3:暂定价]",
  14002. "type": "number"
  14003. },
  14004. "attachment": {
  14005. "description": "附件",
  14006. "type": "string"
  14007. },
  14008. "auditremark": {
  14009. "description": "审核意见",
  14010. "type": "string"
  14011. },
  14012. "audittime": {
  14013. "description": "审核时间",
  14014. "type": "string"
  14015. },
  14016. "biztype": {
  14017. "description": "业务类型 1-套保 2-套利",
  14018. "type": "integer"
  14019. },
  14020. "brandname": {
  14021. "description": "品牌名称",
  14022. "type": "string"
  14023. },
  14024. "buynickname": {
  14025. "description": "销售方昵称",
  14026. "type": "string"
  14027. },
  14028. "buyuserid": {
  14029. "description": "采购方ID",
  14030. "type": "integer"
  14031. },
  14032. "buyusername": {
  14033. "description": "采购方名称",
  14034. "type": "string"
  14035. },
  14036. "contracctstatus": {
  14037. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14038. "type": "integer"
  14039. },
  14040. "contractmargin": {
  14041. "description": "合同保证金",
  14042. "type": "number"
  14043. },
  14044. "contractno": {
  14045. "description": "现货合同编号",
  14046. "type": "string"
  14047. },
  14048. "contracttype": {
  14049. "description": "现货合同类型 - 1:采购 -1:销售",
  14050. "type": "integer"
  14051. },
  14052. "convertfactor": {
  14053. "description": "标仓系数(品类)",
  14054. "type": "number"
  14055. },
  14056. "createtime": {
  14057. "description": "创建时间",
  14058. "type": "string"
  14059. },
  14060. "currencyid": {
  14061. "description": "币种id",
  14062. "type": "integer"
  14063. },
  14064. "currencyname": {
  14065. "description": "币种名称",
  14066. "type": "string"
  14067. },
  14068. "deliveryenddate": {
  14069. "description": "交收期(结束)",
  14070. "type": "string"
  14071. },
  14072. "deliverygoodscode": {
  14073. "description": "现货品种代码",
  14074. "type": "string"
  14075. },
  14076. "deliverygoodsid": {
  14077. "description": "现货品种ID",
  14078. "type": "integer"
  14079. },
  14080. "deliverygoodsname": {
  14081. "description": "现货品种名称",
  14082. "type": "string"
  14083. },
  14084. "deliverystartdate": {
  14085. "description": "交收期(开始)",
  14086. "type": "string"
  14087. },
  14088. "enddate": {
  14089. "description": "点价结束日期 [2:点价 3:暂定价]",
  14090. "type": "string"
  14091. },
  14092. "enumdicname": {
  14093. "description": "单位名称",
  14094. "type": "string"
  14095. },
  14096. "goodscode": {
  14097. "description": "点价合约代码",
  14098. "type": "string"
  14099. },
  14100. "goodsid": {
  14101. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14102. "type": "integer"
  14103. },
  14104. "goodsname": {
  14105. "description": "点价商品名称",
  14106. "type": "string"
  14107. },
  14108. "margin": {
  14109. "description": "当前保证金",
  14110. "type": "number"
  14111. },
  14112. "meruserid": {
  14113. "description": "跟单员id",
  14114. "type": "integer"
  14115. },
  14116. "meruserlogincode": {
  14117. "description": "跟单员登录代码",
  14118. "type": "string"
  14119. },
  14120. "price": {
  14121. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14122. "type": "number"
  14123. },
  14124. "pricemove": {
  14125. "description": "升贴水 [2:点价 3:暂定价]",
  14126. "type": "number"
  14127. },
  14128. "pricetype": {
  14129. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14130. "type": "integer"
  14131. },
  14132. "producttype": {
  14133. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14134. "type": "integer"
  14135. },
  14136. "qty": {
  14137. "description": "数量",
  14138. "type": "number"
  14139. },
  14140. "remark": {
  14141. "description": "备注",
  14142. "type": "string"
  14143. },
  14144. "saleuserid": {
  14145. "description": "业务员id",
  14146. "type": "integer"
  14147. },
  14148. "saleuserlogincode": {
  14149. "description": "业务员登录代码",
  14150. "type": "string"
  14151. },
  14152. "sellnickname": {
  14153. "description": "采购方昵称",
  14154. "type": "string"
  14155. },
  14156. "selluserid": {
  14157. "description": "销售方ID",
  14158. "type": "integer"
  14159. },
  14160. "sellusername": {
  14161. "description": "销售方名称",
  14162. "type": "string"
  14163. },
  14164. "spotcontractid": {
  14165. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14166. "type": "string"
  14167. },
  14168. "spotgoodsbrandid": {
  14169. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14170. "type": "integer"
  14171. },
  14172. "spotgoodsdesc": {
  14173. "description": "商品型号",
  14174. "type": "string"
  14175. },
  14176. "startdate": {
  14177. "description": "点价开始日期 [2:点价 3:暂定价]",
  14178. "type": "string"
  14179. },
  14180. "tradeuserid": {
  14181. "description": "交易员id",
  14182. "type": "integer"
  14183. },
  14184. "tradeuserlogincode": {
  14185. "description": "交易员登录代码",
  14186. "type": "string"
  14187. },
  14188. "tradeusername": {
  14189. "description": "交易员名称",
  14190. "type": "string"
  14191. },
  14192. "unitid": {
  14193. "description": "单位id(取品类上的单位id)",
  14194. "type": "integer"
  14195. },
  14196. "updatetime": {
  14197. "description": "更新时间",
  14198. "type": "string"
  14199. },
  14200. "userid": {
  14201. "description": "所属机构ID",
  14202. "type": "integer"
  14203. },
  14204. "wrstandardcode": {
  14205. "description": "品类代码",
  14206. "type": "string"
  14207. },
  14208. "wrstandardid": {
  14209. "description": "品类ID",
  14210. "type": "integer"
  14211. },
  14212. "wrstandardname": {
  14213. "description": "品类名称",
  14214. "type": "string"
  14215. }
  14216. }
  14217. },
  14218. "models.Ermcp3ExposureDetail": {
  14219. "type": "object",
  14220. "properties": {
  14221. "areauserid": {
  14222. "description": "机构ID",
  14223. "type": "integer"
  14224. },
  14225. "changeQty": {
  14226. "description": "套保变动量",
  14227. "type": "number"
  14228. },
  14229. "contracttype": {
  14230. "description": "现货合同类型 - 1:采购 -1:销售",
  14231. "type": "integer"
  14232. },
  14233. "convertfactor": {
  14234. "description": "标仓系数",
  14235. "type": "number"
  14236. },
  14237. "convertratio": {
  14238. "description": "套保系数",
  14239. "type": "number"
  14240. },
  14241. "createtime": {
  14242. "description": "时间",
  14243. "type": "string"
  14244. },
  14245. "deliverygoodscode": {
  14246. "description": "现货品种代码",
  14247. "type": "string"
  14248. },
  14249. "deliverygoodsid": {
  14250. "description": "现货品种id",
  14251. "type": "integer"
  14252. },
  14253. "deliverygoodsname": {
  14254. "description": "现货品种名称",
  14255. "type": "string"
  14256. },
  14257. "enumdicname": {
  14258. "description": "现货商品单位名称",
  14259. "type": "string"
  14260. },
  14261. "logtype": {
  14262. "description": "类型 - 1:套保计划 2:现货合同",
  14263. "type": "integer"
  14264. },
  14265. "middlegoodsId": {
  14266. "description": "套保商品id",
  14267. "type": "integer"
  14268. },
  14269. "middlegoodscode": {
  14270. "description": "套保商品代码",
  14271. "type": "string"
  14272. },
  14273. "middlegoodsname": {
  14274. "description": "套保商品名称",
  14275. "type": "string"
  14276. },
  14277. "qty": {
  14278. "description": "数量",
  14279. "type": "number"
  14280. },
  14281. "relateNo": {
  14282. "description": "现货合同/套保计划编号",
  14283. "type": "string"
  14284. }
  14285. }
  14286. },
  14287. "models.Ermcp3Goods": {
  14288. "type": "object",
  14289. "properties": {
  14290. "agreeunit": {
  14291. "description": "合约单位(合约乘数)",
  14292. "type": "number"
  14293. },
  14294. "enumdicname": {
  14295. "description": "单位名称",
  14296. "type": "string"
  14297. },
  14298. "exexchangecode": {
  14299. "description": "交易所代码",
  14300. "type": "string"
  14301. },
  14302. "goodscode": {
  14303. "description": "期货商品代码",
  14304. "type": "string"
  14305. },
  14306. "goodsid": {
  14307. "description": "期货商品id",
  14308. "type": "integer"
  14309. },
  14310. "goodsname": {
  14311. "description": "期货商品名称",
  14312. "type": "string"
  14313. }
  14314. }
  14315. },
  14316. "models.Ermcp3GoodsGroup": {
  14317. "type": "object",
  14318. "required": [
  14319. "areauserid"
  14320. ],
  14321. "properties": {
  14322. "agreeunit": {
  14323. "description": "合约单位",
  14324. "type": "number"
  14325. },
  14326. "areauserid": {
  14327. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14328. "type": "integer"
  14329. },
  14330. "canshort": {
  14331. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14332. "type": "integer"
  14333. },
  14334. "closepricemode": {
  14335. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14336. "type": "integer"
  14337. },
  14338. "createtime": {
  14339. "description": "创建时间",
  14340. "type": "string"
  14341. },
  14342. "creatorid": {
  14343. "description": "创建人",
  14344. "type": "integer"
  14345. },
  14346. "currencyid": {
  14347. "description": "报价货币ID",
  14348. "type": "integer"
  14349. },
  14350. "decimalplace": {
  14351. "description": "报价小数位",
  14352. "type": "integer"
  14353. },
  14354. "enumdicname": {
  14355. "description": "单位名称",
  14356. "type": "string"
  14357. },
  14358. "excludecfg": {
  14359. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14360. "type": "integer"
  14361. },
  14362. "exexchangeid": {
  14363. "description": "外部交易所ID[通道交易]",
  14364. "type": "integer"
  14365. },
  14366. "goodsgroupid": {
  14367. "description": "商品组ID(自增ID)",
  14368. "type": "integer"
  14369. },
  14370. "goodsgroupname": {
  14371. "description": "商品组名称",
  14372. "type": "string"
  14373. },
  14374. "goodsgroupstatus": {
  14375. "description": "商品组状态 - 1:正常 2:注销",
  14376. "type": "integer"
  14377. },
  14378. "goodunitid": {
  14379. "description": "报价单位ID",
  14380. "type": "integer"
  14381. },
  14382. "groupcategroyid": {
  14383. "description": "品种分类ID",
  14384. "type": "integer"
  14385. },
  14386. "innerdealmode": {
  14387. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14388. "type": "integer"
  14389. },
  14390. "marketid": {
  14391. "description": "所属市场ID",
  14392. "type": "integer"
  14393. },
  14394. "modifierid": {
  14395. "description": "修改人",
  14396. "type": "integer"
  14397. },
  14398. "modifytime": {
  14399. "description": "修改时间",
  14400. "type": "string"
  14401. },
  14402. "outerdealmode": {
  14403. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14404. "type": "integer"
  14405. },
  14406. "outergroupcode": {
  14407. "description": "外部商品组代码[通道交易]",
  14408. "type": "string"
  14409. },
  14410. "quoteminunit": {
  14411. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14412. "type": "integer"
  14413. },
  14414. "quotesourcegroupid": {
  14415. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14416. "type": "integer"
  14417. },
  14418. "syncgoodsqty": {
  14419. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14420. "type": "integer"
  14421. }
  14422. }
  14423. },
  14424. "models.Ermcp3GoodsGroupEx": {
  14425. "type": "object",
  14426. "properties": {
  14427. "convertratio": {
  14428. "description": "折算系数(品种系数)",
  14429. "type": "number"
  14430. },
  14431. "enumdicname": {
  14432. "description": "单位名称",
  14433. "type": "string"
  14434. },
  14435. "exexchangecode": {
  14436. "description": "交易所代码",
  14437. "type": "string"
  14438. },
  14439. "glist": {
  14440. "description": "合约列表",
  14441. "type": "array",
  14442. "items": {
  14443. "$ref": "#/definitions/models.Ermcp3Goods"
  14444. }
  14445. },
  14446. "goodsgroupid": {
  14447. "description": "商品组id",
  14448. "type": "integer"
  14449. },
  14450. "goodsgroupname": {
  14451. "description": "商品组名称",
  14452. "type": "string"
  14453. },
  14454. "goodsunitid": {
  14455. "description": "单位id",
  14456. "type": "integer"
  14457. },
  14458. "middlegoodsid": {
  14459. "description": "套保商品id",
  14460. "type": "integer"
  14461. }
  14462. }
  14463. },
  14464. "models.Ermcp3HedgePlan": {
  14465. "type": "object",
  14466. "properties": {
  14467. "accountid": {
  14468. "description": "资金账号",
  14469. "type": "integer"
  14470. },
  14471. "areauserid": {
  14472. "description": "用户ID",
  14473. "type": "integer"
  14474. },
  14475. "audittime": {
  14476. "description": "审核时间",
  14477. "type": "string"
  14478. },
  14479. "contracttype": {
  14480. "description": "计划类型 - 1:采购 -1:销售",
  14481. "type": "integer"
  14482. },
  14483. "convertfactor": {
  14484. "description": "标仓系数",
  14485. "type": "number"
  14486. },
  14487. "createtime": {
  14488. "description": "创建时间",
  14489. "type": "string"
  14490. },
  14491. "currencyid": {
  14492. "description": "币种id",
  14493. "type": "integer"
  14494. },
  14495. "currencyname": {
  14496. "description": "币种名称",
  14497. "type": "string"
  14498. },
  14499. "deliverygoodscode": {
  14500. "description": "现货品种代码",
  14501. "type": "string"
  14502. },
  14503. "deliverygoodsid": {
  14504. "description": "现货品种ID",
  14505. "type": "integer"
  14506. },
  14507. "deliverygoodsname": {
  14508. "description": "现货品种名称",
  14509. "type": "string"
  14510. },
  14511. "enumdicname": {
  14512. "description": "单位名称",
  14513. "type": "string"
  14514. },
  14515. "hedgeplanid": {
  14516. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14517. "type": "string"
  14518. },
  14519. "hedgeplanno": {
  14520. "description": "套保计划编号(名称)",
  14521. "type": "string"
  14522. },
  14523. "hedgeplanstatus": {
  14524. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14525. "type": "integer"
  14526. },
  14527. "planqty": {
  14528. "description": "计划数量",
  14529. "type": "number"
  14530. },
  14531. "plantime": {
  14532. "description": "计划时间",
  14533. "type": "string"
  14534. },
  14535. "producttype": {
  14536. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14537. "type": "integer"
  14538. },
  14539. "remark": {
  14540. "description": "备注",
  14541. "type": "string"
  14542. },
  14543. "spotgoodsdesc": {
  14544. "description": "商品型号",
  14545. "type": "string"
  14546. },
  14547. "taaccountname": {
  14548. "description": "资金账号名称",
  14549. "type": "string"
  14550. },
  14551. "tradeuserid": {
  14552. "description": "交易用户id",
  14553. "type": "integer"
  14554. },
  14555. "tradeusername": {
  14556. "description": "交易用户名称",
  14557. "type": "string"
  14558. },
  14559. "unitid": {
  14560. "description": "单位id",
  14561. "type": "integer"
  14562. },
  14563. "updatetime": {
  14564. "description": "更新时间",
  14565. "type": "string"
  14566. },
  14567. "wrstandardcode": {
  14568. "description": "品类代码",
  14569. "type": "string"
  14570. },
  14571. "wrstandardid": {
  14572. "description": "品类id",
  14573. "type": "integer"
  14574. },
  14575. "wrstandardname": {
  14576. "description": "品类名称",
  14577. "type": "string"
  14578. }
  14579. }
  14580. },
  14581. "models.Ermcp3MiddleGoodsDetail2": {
  14582. "type": "object",
  14583. "properties": {
  14584. "convertratio": {
  14585. "description": "套保系数(折算系数)",
  14586. "type": "number"
  14587. },
  14588. "gplist": {
  14589. "description": "关联商品组列表",
  14590. "type": "array",
  14591. "items": {
  14592. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14593. }
  14594. },
  14595. "mg": {
  14596. "description": "套保商品信息",
  14597. "type": "object",
  14598. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14599. }
  14600. }
  14601. },
  14602. "models.Ermcp3MiddleGoodsDetailEx": {
  14603. "type": "object",
  14604. "properties": {
  14605. "dglist": {
  14606. "description": "关联的现货品种列表",
  14607. "type": "array",
  14608. "items": {
  14609. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14610. }
  14611. },
  14612. "gplist": {
  14613. "description": "关联商品组列表",
  14614. "type": "array",
  14615. "items": {
  14616. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14617. }
  14618. },
  14619. "mg": {
  14620. "description": "套保商品信息",
  14621. "type": "object",
  14622. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14623. }
  14624. }
  14625. },
  14626. "models.Ermcp3ReckonAreaSpotSub": {
  14627. "type": "object",
  14628. "required": [
  14629. "areauserid",
  14630. "reckondate"
  14631. ],
  14632. "properties": {
  14633. "accountid": {
  14634. "description": "期货账户ID",
  14635. "type": "integer"
  14636. },
  14637. "accountname": {
  14638. "description": "所属机构名称",
  14639. "type": "string"
  14640. },
  14641. "areauserid": {
  14642. "description": "账户所属机构",
  14643. "type": "integer"
  14644. },
  14645. "brandname": {
  14646. "description": "品牌名称",
  14647. "type": "string"
  14648. },
  14649. "buycontractinqty": {
  14650. "description": "采购合同入库量",
  14651. "type": "number"
  14652. },
  14653. "buypricedamount": {
  14654. "description": "采购合同已定价金额",
  14655. "type": "number"
  14656. },
  14657. "buypricedqty": {
  14658. "description": "采购合同已定价数量",
  14659. "type": "number"
  14660. },
  14661. "buyreckonqty": {
  14662. "description": "采购合同交收量",
  14663. "type": "number"
  14664. },
  14665. "deliverygoodscode": {
  14666. "description": "现货商品代码",
  14667. "type": "string"
  14668. },
  14669. "deliverygoodsid": {
  14670. "description": "现货品种ID",
  14671. "type": "integer"
  14672. },
  14673. "deliverygoodsname": {
  14674. "description": "现货商品名称",
  14675. "type": "string"
  14676. },
  14677. "enumdicname": {
  14678. "description": "现货商品单位名称",
  14679. "type": "string"
  14680. },
  14681. "goodsunitid": {
  14682. "description": "现货商品单位id",
  14683. "type": "integer"
  14684. },
  14685. "oribuycontractinqty": {
  14686. "description": "期初采购合同入库量",
  14687. "type": "number"
  14688. },
  14689. "oribuypricedamount": {
  14690. "description": "期初采购合同已定价金额",
  14691. "type": "number"
  14692. },
  14693. "oribuypricedqty": {
  14694. "description": "期初采购合同已定价数量",
  14695. "type": "number"
  14696. },
  14697. "oribuyreckonqty": {
  14698. "description": "期初采购合同交收量",
  14699. "type": "number"
  14700. },
  14701. "oriproduceinqty": {
  14702. "description": "期初生产入库量",
  14703. "type": "number"
  14704. },
  14705. "oriproduceoutqty": {
  14706. "description": "期初生产出库量",
  14707. "type": "number"
  14708. },
  14709. "orisellcontractoutqty": {
  14710. "description": "期初销售合同出库量",
  14711. "type": "number"
  14712. },
  14713. "orisellpricedamount": {
  14714. "description": "期初销售合同已定价金额",
  14715. "type": "number"
  14716. },
  14717. "orisellpricedqty": {
  14718. "description": "期初销售合同已定价数量",
  14719. "type": "number"
  14720. },
  14721. "orisellreckonqty": {
  14722. "description": "期初销售合同交收量",
  14723. "type": "number"
  14724. },
  14725. "produceinqty": {
  14726. "description": "生产入库量",
  14727. "type": "number"
  14728. },
  14729. "produceoutqty": {
  14730. "description": "生产出库量",
  14731. "type": "number"
  14732. },
  14733. "reckondate": {
  14734. "description": "日照时期(yyyyMMdd)",
  14735. "type": "string"
  14736. },
  14737. "sellcontractoutqty": {
  14738. "description": "销售合同出库量",
  14739. "type": "number"
  14740. },
  14741. "sellpricedamount": {
  14742. "description": "销售合同已定价金额",
  14743. "type": "number"
  14744. },
  14745. "sellpricedqty": {
  14746. "description": "销售合同已定价数量",
  14747. "type": "number"
  14748. },
  14749. "sellreckonqty": {
  14750. "description": "销售合同交收量",
  14751. "type": "number"
  14752. },
  14753. "spotgoodsbrandid": {
  14754. "description": "现货品牌ID",
  14755. "type": "integer"
  14756. },
  14757. "todaybuyreckonqty": {
  14758. "description": "今日采购合同已确定数量",
  14759. "type": "number"
  14760. },
  14761. "todaysellreckonqty": {
  14762. "description": "今日销售合同已确定数量",
  14763. "type": "number"
  14764. },
  14765. "totalbuypricedqty": {
  14766. "description": "采购定价量 = 期末 - 期初",
  14767. "type": "number"
  14768. },
  14769. "totalsellpricedqty": {
  14770. "description": "销售定价量 = 期末 - 期初",
  14771. "type": "number"
  14772. },
  14773. "totalspotqty": {
  14774. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  14775. "type": "number"
  14776. },
  14777. "updatetime": {
  14778. "description": "更新时间",
  14779. "type": "string"
  14780. },
  14781. "wrfactortypeid": {
  14782. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14783. "type": "integer"
  14784. },
  14785. "wrstandardcode": {
  14786. "description": "品类代码",
  14787. "type": "string"
  14788. },
  14789. "wrstandardid": {
  14790. "description": "现货品类ID",
  14791. "type": "integer"
  14792. },
  14793. "wrstandardname": {
  14794. "description": "品类名称",
  14795. "type": "string"
  14796. }
  14797. }
  14798. },
  14799. "models.Ermcp3ReportAreaSpotPL": {
  14800. "type": "object",
  14801. "properties": {
  14802. "actualpl": {
  14803. "description": "实际损益",
  14804. "type": "number"
  14805. },
  14806. "areauserid": {
  14807. "description": "所属机构",
  14808. "type": "integer"
  14809. },
  14810. "brandname": {
  14811. "description": "品牌名称",
  14812. "type": "string"
  14813. },
  14814. "curamount": {
  14815. "description": "期末额",
  14816. "type": "number"
  14817. },
  14818. "curaverageprice": {
  14819. "description": "期末均价",
  14820. "type": "number"
  14821. },
  14822. "curbuyamount": {
  14823. "description": "期末采购总额(采购额)",
  14824. "type": "number"
  14825. },
  14826. "curbuyqty": {
  14827. "description": "期末采购总量",
  14828. "type": "number"
  14829. },
  14830. "curmarketvalue": {
  14831. "description": "参考市值",
  14832. "type": "number"
  14833. },
  14834. "curqty": {
  14835. "description": "期末量",
  14836. "type": "number"
  14837. },
  14838. "cursellamount": {
  14839. "description": "期末销售总额(销售额)",
  14840. "type": "number"
  14841. },
  14842. "cursellqty": {
  14843. "description": "期末销售总量",
  14844. "type": "number"
  14845. },
  14846. "curspotprice": {
  14847. "description": "参考市价",
  14848. "type": "number"
  14849. },
  14850. "deliverygoodscode": {
  14851. "description": "现货品种代码",
  14852. "type": "string"
  14853. },
  14854. "deliverygoodsid": {
  14855. "description": "现货品种id",
  14856. "type": "integer"
  14857. },
  14858. "deliverygoodsname": {
  14859. "description": "现货品种名称",
  14860. "type": "string"
  14861. },
  14862. "enumdicname": {
  14863. "description": "现货商品单位名称",
  14864. "type": "string"
  14865. },
  14866. "floatpl": {
  14867. "description": "浮动损益",
  14868. "type": "number"
  14869. },
  14870. "gbenumdicname": {
  14871. "description": "品类单位名称",
  14872. "type": "string"
  14873. },
  14874. "gbunitid": {
  14875. "description": "现货单位id",
  14876. "type": "integer"
  14877. },
  14878. "modelname": {
  14879. "description": "品类名称",
  14880. "type": "string"
  14881. },
  14882. "oriamount": {
  14883. "description": "期初额",
  14884. "type": "number"
  14885. },
  14886. "oriaverageprice": {
  14887. "description": "期初均价",
  14888. "type": "number"
  14889. },
  14890. "oribuyamount": {
  14891. "description": "期初采购总额",
  14892. "type": "number"
  14893. },
  14894. "oribuyqty": {
  14895. "description": "期初采购总量",
  14896. "type": "number"
  14897. },
  14898. "oriqty": {
  14899. "description": "期初量",
  14900. "type": "number"
  14901. },
  14902. "orisellamount": {
  14903. "description": "期初销售总额",
  14904. "type": "number"
  14905. },
  14906. "orisellqty": {
  14907. "description": "期初销售总量",
  14908. "type": "number"
  14909. },
  14910. "spotgoodsbrandid": {
  14911. "description": "现货品牌ID",
  14912. "type": "integer"
  14913. },
  14914. "todaybuyamount": {
  14915. "description": "今日采购额",
  14916. "type": "number"
  14917. },
  14918. "todaybuyaverageprice": {
  14919. "description": "今日采购均价(采购均价)",
  14920. "type": "number"
  14921. },
  14922. "todaybuyqty": {
  14923. "description": "今日采购量(采购增量)",
  14924. "type": "number"
  14925. },
  14926. "todaysellamount": {
  14927. "description": "今日销售额",
  14928. "type": "number"
  14929. },
  14930. "todaysellaverageprice": {
  14931. "description": "今日销售均价(销售均价)",
  14932. "type": "number"
  14933. },
  14934. "todaysellqty": {
  14935. "description": "今日销售量(销售增量)",
  14936. "type": "number"
  14937. },
  14938. "unitid": {
  14939. "description": "品类单位id",
  14940. "type": "integer"
  14941. },
  14942. "updatetime": {
  14943. "description": "更新时间",
  14944. "type": "string"
  14945. },
  14946. "wrstandardcode": {
  14947. "description": "品类代码",
  14948. "type": "string"
  14949. },
  14950. "wrstandardid": {
  14951. "description": "品类ID",
  14952. "type": "integer"
  14953. },
  14954. "wrstandardname": {
  14955. "description": "品类名称",
  14956. "type": "string"
  14957. }
  14958. }
  14959. },
  14960. "models.Ermcp3ReportAreaSpotSub": {
  14961. "type": "object",
  14962. "required": [
  14963. "areauserid"
  14964. ],
  14965. "properties": {
  14966. "accountid": {
  14967. "description": "期货账户ID",
  14968. "type": "integer"
  14969. },
  14970. "accountname": {
  14971. "description": "所属机构名称",
  14972. "type": "string"
  14973. },
  14974. "areauserid": {
  14975. "description": "账户所属机构",
  14976. "type": "integer"
  14977. },
  14978. "brandname": {
  14979. "description": "品牌名称",
  14980. "type": "string"
  14981. },
  14982. "buycontractinqty": {
  14983. "description": "采购合同入库量【期末】",
  14984. "type": "number"
  14985. },
  14986. "buypricedamount": {
  14987. "description": "采购合同已定价金额【期末】",
  14988. "type": "number"
  14989. },
  14990. "buypricedqty": {
  14991. "description": "采购合同已定价数量【期末】",
  14992. "type": "number"
  14993. },
  14994. "buyreckonqty": {
  14995. "description": "采购合同交收量【期末】",
  14996. "type": "number"
  14997. },
  14998. "cycletime": {
  14999. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15000. "type": "string"
  15001. },
  15002. "cycletype": {
  15003. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15004. "type": "integer"
  15005. },
  15006. "deliverygoodscode": {
  15007. "description": "现货商品代码",
  15008. "type": "string"
  15009. },
  15010. "deliverygoodsid": {
  15011. "description": "现货品种ID",
  15012. "type": "integer"
  15013. },
  15014. "deliverygoodsname": {
  15015. "description": "现货商品名称",
  15016. "type": "string"
  15017. },
  15018. "enumdicname": {
  15019. "description": "现货商品单位名称",
  15020. "type": "string"
  15021. },
  15022. "goodsunitid": {
  15023. "description": "现货商品单位id",
  15024. "type": "integer"
  15025. },
  15026. "oribuycontractinqty": {
  15027. "description": "期初采购合同入库量【期初】",
  15028. "type": "number"
  15029. },
  15030. "oribuypricedamount": {
  15031. "description": "期初采购合同已定价金额【期初】",
  15032. "type": "number"
  15033. },
  15034. "oribuypricedqty": {
  15035. "description": "期初采购合同已定价数量【期初】",
  15036. "type": "number"
  15037. },
  15038. "oribuyreckonqty": {
  15039. "description": "期初采购合同交收量【期初】",
  15040. "type": "number"
  15041. },
  15042. "oriproduceinqty": {
  15043. "description": "期初生产入库量【期初】",
  15044. "type": "number"
  15045. },
  15046. "oriproduceoutqty": {
  15047. "description": "期初生产出库量【期初】",
  15048. "type": "number"
  15049. },
  15050. "orisellcontractoutqty": {
  15051. "description": "期初销售合同出库量【期初】",
  15052. "type": "number"
  15053. },
  15054. "orisellpricedamount": {
  15055. "description": "期初销售合同已定价金额【期初】",
  15056. "type": "number"
  15057. },
  15058. "orisellpricedqty": {
  15059. "description": "期初销售合同已定价数量【期初】",
  15060. "type": "number"
  15061. },
  15062. "orisellreckonqty": {
  15063. "description": "期初销售合同交收量【期初】",
  15064. "type": "number"
  15065. },
  15066. "produceinqty": {
  15067. "description": "生产入库量【期末】",
  15068. "type": "number"
  15069. },
  15070. "produceoutqty": {
  15071. "description": "生产出库量【期末】",
  15072. "type": "number"
  15073. },
  15074. "sellcontractoutqty": {
  15075. "description": "销售合同出库量【期末】",
  15076. "type": "number"
  15077. },
  15078. "sellpricedamount": {
  15079. "description": "销售合同已定价金额【期末】",
  15080. "type": "number"
  15081. },
  15082. "sellpricedqty": {
  15083. "description": "销售合同已定价数量【期末】",
  15084. "type": "number"
  15085. },
  15086. "sellreckonqty": {
  15087. "description": "销售合同交收量【期末】",
  15088. "type": "number"
  15089. },
  15090. "spotgoodsbrandid": {
  15091. "description": "现货品牌ID",
  15092. "type": "integer"
  15093. },
  15094. "todaybuyreckonqty": {
  15095. "description": "今日采购合同已确定数量【汇总】",
  15096. "type": "number"
  15097. },
  15098. "todaysellreckonqty": {
  15099. "description": "今日销售合同已确定数量【汇总】",
  15100. "type": "number"
  15101. },
  15102. "totalbuypricedqty": {
  15103. "description": "采购定价量 = 期末 - 期初",
  15104. "type": "number"
  15105. },
  15106. "totalsellpricedqty": {
  15107. "description": "销售定价量 = 期末 - 期初",
  15108. "type": "number"
  15109. },
  15110. "totalspotqty": {
  15111. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  15112. "type": "number"
  15113. },
  15114. "updatetime": {
  15115. "description": "更新时间",
  15116. "type": "string"
  15117. },
  15118. "wrfactortypeid": {
  15119. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15120. "type": "integer"
  15121. },
  15122. "wrstandardcode": {
  15123. "description": "品类代码",
  15124. "type": "string"
  15125. },
  15126. "wrstandardid": {
  15127. "description": "品类ID",
  15128. "type": "integer"
  15129. },
  15130. "wrstandardname": {
  15131. "description": "品类名称",
  15132. "type": "string"
  15133. }
  15134. }
  15135. },
  15136. "models.Ermcp3ReportOPLog": {
  15137. "type": "object",
  15138. "properties": {
  15139. "applyid": {
  15140. "description": "操作人",
  15141. "type": "integer"
  15142. },
  15143. "applyname": {
  15144. "description": "操作人名称",
  15145. "type": "string"
  15146. },
  15147. "biztype": {
  15148. "description": "业务类型 - 1:套保计划 2:现货合同",
  15149. "type": "integer"
  15150. },
  15151. "brandname": {
  15152. "description": "品牌名称",
  15153. "type": "string"
  15154. },
  15155. "contracttype": {
  15156. "description": "现货合同类型 - 1:采购 -1:销售",
  15157. "type": "integer"
  15158. },
  15159. "deliverygoodscode": {
  15160. "description": "现货品种代码",
  15161. "type": "string"
  15162. },
  15163. "deliverygoodsid": {
  15164. "description": "现货品种id",
  15165. "type": "integer"
  15166. },
  15167. "deliverygoodsname": {
  15168. "description": "现货品种名称",
  15169. "type": "string"
  15170. },
  15171. "enumdicName": {
  15172. "description": "单位名称",
  15173. "type": "string"
  15174. },
  15175. "logdatetime": {
  15176. "description": "流水日期(时间)",
  15177. "type": "string"
  15178. },
  15179. "logid": {
  15180. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  15181. "type": "string"
  15182. },
  15183. "logtypename": {
  15184. "description": "合同类型(名称)",
  15185. "type": "string"
  15186. },
  15187. "logvalue": {
  15188. "description": "数值",
  15189. "type": "string"
  15190. },
  15191. "operatelogtype": {
  15192. "description": "操作流水类型 -",
  15193. "type": "integer"
  15194. },
  15195. "optypename": {
  15196. "description": "流水类型名称",
  15197. "type": "string"
  15198. },
  15199. "relatedid": {
  15200. "description": "现货合同ID\\套保计划",
  15201. "type": "string"
  15202. },
  15203. "relatedno": {
  15204. "description": "合同编号",
  15205. "type": "string"
  15206. },
  15207. "spotgoodsbrandid": {
  15208. "description": "品牌id",
  15209. "type": "integer"
  15210. },
  15211. "tradedate": {
  15212. "description": "交易日(yyyyMMdd)",
  15213. "type": "string"
  15214. },
  15215. "userid": {
  15216. "description": "机构ID",
  15217. "type": "integer"
  15218. },
  15219. "wrstandardcode": {
  15220. "description": "品类代码",
  15221. "type": "string"
  15222. },
  15223. "wrstandardid": {
  15224. "description": "品类id",
  15225. "type": "integer"
  15226. },
  15227. "wrstandardname": {
  15228. "description": "品类名称",
  15229. "type": "string"
  15230. }
  15231. }
  15232. },
  15233. "models.Ermcp3SellBuyContract": {
  15234. "type": "object",
  15235. "properties": {
  15236. "accountname": {
  15237. "description": "账户名称",
  15238. "type": "string"
  15239. },
  15240. "attachment": {
  15241. "description": "附件",
  15242. "type": "string"
  15243. },
  15244. "audittime": {
  15245. "description": "审核时间",
  15246. "type": "string"
  15247. },
  15248. "brandname": {
  15249. "description": "品牌名称",
  15250. "type": "string"
  15251. },
  15252. "contracctstatus": {
  15253. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15254. "type": "integer"
  15255. },
  15256. "contractmargin": {
  15257. "description": "合同保证金",
  15258. "type": "number"
  15259. },
  15260. "contractno": {
  15261. "description": "合同编号",
  15262. "type": "string"
  15263. },
  15264. "contracttype": {
  15265. "description": "合同类型 1-采购, -1-销售",
  15266. "type": "integer"
  15267. },
  15268. "convertfactor": {
  15269. "description": "标仓系数(品类)",
  15270. "type": "number"
  15271. },
  15272. "createtime": {
  15273. "description": "创建时间",
  15274. "type": "string"
  15275. },
  15276. "daikaiamount": {
  15277. "description": "应收(开)票额",
  15278. "type": "number"
  15279. },
  15280. "deliveryenddate": {
  15281. "description": "交割结束日",
  15282. "type": "string"
  15283. },
  15284. "deliverygoodscode": {
  15285. "description": "现货品种代码",
  15286. "type": "string"
  15287. },
  15288. "deliverygoodsid": {
  15289. "description": "现货商品ID",
  15290. "type": "integer"
  15291. },
  15292. "deliverygoodsname": {
  15293. "description": "现货品种名称",
  15294. "type": "string"
  15295. },
  15296. "deliverystartdate": {
  15297. "description": "交割开始日",
  15298. "type": "string"
  15299. },
  15300. "enddate": {
  15301. "description": "点价结束日",
  15302. "type": "string"
  15303. },
  15304. "enumdicname": {
  15305. "description": "单位名称",
  15306. "type": "string"
  15307. },
  15308. "goodscode": {
  15309. "description": "点价商品代码",
  15310. "type": "string"
  15311. },
  15312. "goodsid": {
  15313. "description": "点价商品ID",
  15314. "type": "integer"
  15315. },
  15316. "goodsname": {
  15317. "description": "点价商品名称",
  15318. "type": "string"
  15319. },
  15320. "invoiceamount": {
  15321. "description": "已开票额",
  15322. "type": "number"
  15323. },
  15324. "loanamount": {
  15325. "description": "贷款总额=已定价额+调整金额",
  15326. "type": "number"
  15327. },
  15328. "margin": {
  15329. "description": "保证金",
  15330. "type": "number"
  15331. },
  15332. "nickname": {
  15333. "description": "账户昵称",
  15334. "type": "string"
  15335. },
  15336. "payamount": {
  15337. "description": "已收付额(收款或付款)",
  15338. "type": "number"
  15339. },
  15340. "preinvoiceamount": {
  15341. "description": "预收(开)票额",
  15342. "type": "number"
  15343. },
  15344. "prepayamount": {
  15345. "description": "预收付额",
  15346. "type": "number"
  15347. },
  15348. "price": {
  15349. "description": "价格",
  15350. "type": "number"
  15351. },
  15352. "pricedamount": {
  15353. "description": "已定价额",
  15354. "type": "number"
  15355. },
  15356. "pricedavg": {
  15357. "description": "已点均价",
  15358. "type": "number"
  15359. },
  15360. "pricedqty": {
  15361. "description": "已定价量",
  15362. "type": "number"
  15363. },
  15364. "pricemove": {
  15365. "description": "升贴水",
  15366. "type": "number"
  15367. },
  15368. "pricetype": {
  15369. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15370. "type": "integer"
  15371. },
  15372. "producttype": {
  15373. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15374. "type": "integer"
  15375. },
  15376. "qty": {
  15377. "description": "合同量",
  15378. "type": "number"
  15379. },
  15380. "reckonadjustamount": {
  15381. "description": "调整金额",
  15382. "type": "number"
  15383. },
  15384. "reckonedamount": {
  15385. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15386. "type": "number"
  15387. },
  15388. "reckonotheramount": {
  15389. "description": "其它费用",
  15390. "type": "number"
  15391. },
  15392. "reckonrealqty": {
  15393. "description": "已确定量",
  15394. "type": "number"
  15395. },
  15396. "remark": {
  15397. "description": "备注",
  15398. "type": "string"
  15399. },
  15400. "spotcontractid": {
  15401. "description": "合同ID",
  15402. "type": "string"
  15403. },
  15404. "spotgoodsbrandid": {
  15405. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15406. "type": "integer"
  15407. },
  15408. "spotgoodsdesc": {
  15409. "description": "商品型号(商品规格)",
  15410. "type": "string"
  15411. },
  15412. "startdate": {
  15413. "description": "点价开始日",
  15414. "type": "string"
  15415. },
  15416. "totalamount": {
  15417. "description": "合计总额",
  15418. "type": "number"
  15419. },
  15420. "unpayamount": {
  15421. "description": "应收付款额(应支付或应收款)",
  15422. "type": "number"
  15423. },
  15424. "unpricedqty": {
  15425. "description": "未定价量",
  15426. "type": "number"
  15427. },
  15428. "unsureqty": {
  15429. "description": "未确定量",
  15430. "type": "number"
  15431. },
  15432. "userid": {
  15433. "description": "机构ID",
  15434. "type": "integer"
  15435. },
  15436. "wrstandardcode": {
  15437. "description": "品类代码",
  15438. "type": "string"
  15439. },
  15440. "wrstandardid": {
  15441. "description": "品类ID",
  15442. "type": "integer"
  15443. },
  15444. "wrstandardname": {
  15445. "description": "品类名称",
  15446. "type": "string"
  15447. }
  15448. }
  15449. },
  15450. "models.Ermcp3SpotGoodsPrice": {
  15451. "type": "object",
  15452. "properties": {
  15453. "areauserid": {
  15454. "description": "所属机构id",
  15455. "type": "integer"
  15456. },
  15457. "brandname": {
  15458. "description": "品牌名称",
  15459. "type": "string"
  15460. },
  15461. "currencyid": {
  15462. "description": "报价货币ID",
  15463. "type": "integer"
  15464. },
  15465. "deliverygoodscode": {
  15466. "description": "现货商品代码",
  15467. "type": "string"
  15468. },
  15469. "deliverygoodsid": {
  15470. "description": "现货商品id",
  15471. "type": "integer"
  15472. },
  15473. "deliverygoodsname": {
  15474. "description": "现货商品名称",
  15475. "type": "string"
  15476. },
  15477. "enumdicname": {
  15478. "description": "现货商品单位名称",
  15479. "type": "string"
  15480. },
  15481. "gbenumdicname": {
  15482. "description": "品类单位名称",
  15483. "type": "string"
  15484. },
  15485. "gmunitid": {
  15486. "description": "品类单位id",
  15487. "type": "integer"
  15488. },
  15489. "isvalid": {
  15490. "description": "是否有效 - 0:无效 1:有效",
  15491. "type": "integer"
  15492. },
  15493. "operateid": {
  15494. "description": "最后操作人",
  15495. "type": "integer"
  15496. },
  15497. "operatesrc": {
  15498. "description": "最后操作来源 - 1:管理端 2:终端",
  15499. "type": "integer"
  15500. },
  15501. "operatetime": {
  15502. "description": "最后操作时间",
  15503. "type": "string"
  15504. },
  15505. "operatorname": {
  15506. "description": "操作人名称",
  15507. "type": "string"
  15508. },
  15509. "spotgoodsbrandid": {
  15510. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15511. "type": "integer"
  15512. },
  15513. "spotgoodsprice": {
  15514. "description": "现货价格",
  15515. "type": "number"
  15516. },
  15517. "tradedate": {
  15518. "description": "交易日(yyyyMMdd)",
  15519. "type": "string"
  15520. },
  15521. "unitid": {
  15522. "description": "现货商品单位id",
  15523. "type": "integer"
  15524. },
  15525. "wrstandardcode": {
  15526. "description": "品类代码",
  15527. "type": "string"
  15528. },
  15529. "wrstandardid": {
  15530. "description": "现货品类ID(通用则为0)",
  15531. "type": "integer"
  15532. },
  15533. "wrstandardname": {
  15534. "description": "品类名称",
  15535. "type": "string"
  15536. }
  15537. }
  15538. },
  15539. "models.Ermcp3SpotGoodsPriceLog": {
  15540. "type": "object",
  15541. "properties": {
  15542. "areauserid": {
  15543. "description": "所属机构id",
  15544. "type": "integer"
  15545. },
  15546. "brandname": {
  15547. "description": "品牌名称",
  15548. "type": "string"
  15549. },
  15550. "currencyid": {
  15551. "description": "报价货币ID",
  15552. "type": "integer"
  15553. },
  15554. "deliverygoodscode": {
  15555. "description": "现货商品代码",
  15556. "type": "string"
  15557. },
  15558. "deliverygoodsid": {
  15559. "description": "现货商品id",
  15560. "type": "integer"
  15561. },
  15562. "deliverygoodsname": {
  15563. "description": "现货商品名称",
  15564. "type": "string"
  15565. },
  15566. "enumdicname": {
  15567. "description": "现货商品单位名称",
  15568. "type": "string"
  15569. },
  15570. "gbenumdicname": {
  15571. "description": "品类单位名称",
  15572. "type": "string"
  15573. },
  15574. "gmunitid": {
  15575. "description": "品类单位id",
  15576. "type": "integer"
  15577. },
  15578. "logid": {
  15579. "description": "日志id",
  15580. "type": "integer"
  15581. },
  15582. "operateid": {
  15583. "description": "最后操作人",
  15584. "type": "integer"
  15585. },
  15586. "operatesrc": {
  15587. "description": "最后操作来源 - 1:管理端 2:终端",
  15588. "type": "integer"
  15589. },
  15590. "operatetime": {
  15591. "description": "最后操作时间",
  15592. "type": "string"
  15593. },
  15594. "operatorname": {
  15595. "description": "操作人名称",
  15596. "type": "string"
  15597. },
  15598. "spotgoodsbrandid": {
  15599. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15600. "type": "integer"
  15601. },
  15602. "spotgoodsprice": {
  15603. "description": "现货价格",
  15604. "type": "number"
  15605. },
  15606. "tradedate": {
  15607. "description": "交易日(yyyyMMdd)",
  15608. "type": "string"
  15609. },
  15610. "unitid": {
  15611. "description": "现货商品单位id",
  15612. "type": "integer"
  15613. },
  15614. "wrstandardcode": {
  15615. "description": "品类代码",
  15616. "type": "string"
  15617. },
  15618. "wrstandardid": {
  15619. "description": "现货品类ID(通用则为0)",
  15620. "type": "integer"
  15621. },
  15622. "wrstandardname": {
  15623. "description": "品类名称",
  15624. "type": "string"
  15625. }
  15626. }
  15627. },
  15628. "models.Ermcp3Wrstandard": {
  15629. "type": "object",
  15630. "properties": {
  15631. "areauserid": {
  15632. "description": "所属机构",
  15633. "type": "integer"
  15634. },
  15635. "convertfactor": {
  15636. "description": "标仓系数",
  15637. "type": "number"
  15638. },
  15639. "createtime": {
  15640. "description": "创建时间",
  15641. "type": "string"
  15642. },
  15643. "creatorid": {
  15644. "description": "创建人",
  15645. "type": "integer"
  15646. },
  15647. "deliverygoodsid": {
  15648. "description": "现货品种ID",
  15649. "type": "integer"
  15650. },
  15651. "enumdicname": {
  15652. "description": "品类单位名称",
  15653. "type": "string"
  15654. },
  15655. "isvalid": {
  15656. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15657. "type": "integer"
  15658. },
  15659. "minivalue": {
  15660. "description": "最小变动值",
  15661. "type": "integer"
  15662. },
  15663. "minivaluedp": {
  15664. "description": "最小变动值小数位",
  15665. "type": "integer"
  15666. },
  15667. "realminivalue": {
  15668. "description": "实际最小变动值",
  15669. "type": "integer"
  15670. },
  15671. "realminivaluedp": {
  15672. "description": "实际最小变动值小数位",
  15673. "type": "integer"
  15674. },
  15675. "remark": {
  15676. "description": "备注",
  15677. "type": "string"
  15678. },
  15679. "unitid": {
  15680. "description": "品类单位ID",
  15681. "type": "integer"
  15682. },
  15683. "updatetime": {
  15684. "description": "更新时间",
  15685. "type": "string"
  15686. },
  15687. "wrstandardcode": {
  15688. "description": "品类代码",
  15689. "type": "string"
  15690. },
  15691. "wrstandardid": {
  15692. "description": "品类ID(SEQ_WRSTANDARD)",
  15693. "type": "integer"
  15694. },
  15695. "wrstandardname": {
  15696. "description": "品类名称",
  15697. "type": "string"
  15698. }
  15699. }
  15700. },
  15701. "models.ErmcpAreaSpotDetailModel": {
  15702. "type": "object",
  15703. "properties": {
  15704. "contracttype": {
  15705. "description": "合同类型 1-采购 -1-销售",
  15706. "type": "integer"
  15707. },
  15708. "createtime": {
  15709. "description": "创建时间",
  15710. "type": "string"
  15711. },
  15712. "enumdicname": {
  15713. "description": "现货商品单位名称",
  15714. "type": "string"
  15715. },
  15716. "logtype": {
  15717. "description": "记录类型 1-套保 2-现货合同",
  15718. "type": "integer"
  15719. },
  15720. "qty": {
  15721. "description": "数量",
  15722. "type": "number"
  15723. },
  15724. "recordname": {
  15725. "description": "类型名称",
  15726. "type": "string"
  15727. },
  15728. "relatedid": {
  15729. "description": "套保计划ID/现货合同ID",
  15730. "type": "string"
  15731. },
  15732. "relatedno": {
  15733. "description": "编号",
  15734. "type": "string"
  15735. },
  15736. "strtime": {
  15737. "description": "时间",
  15738. "type": "string"
  15739. },
  15740. "wrstandardcode": {
  15741. "description": "现货商品代码",
  15742. "type": "string"
  15743. },
  15744. "wrstandardname": {
  15745. "description": "现货商品名称",
  15746. "type": "string"
  15747. }
  15748. }
  15749. },
  15750. "models.ErmcpAreaStock": {
  15751. "type": "object",
  15752. "properties": {
  15753. "brandname": {
  15754. "description": "品牌名称",
  15755. "type": "string"
  15756. },
  15757. "curstock": {
  15758. "description": "期末库存量(今日量)",
  15759. "type": "number"
  15760. },
  15761. "deliverygoodsid": {
  15762. "description": "现货品种ID",
  15763. "type": "integer"
  15764. },
  15765. "enumdicname": {
  15766. "description": "单位名称",
  15767. "type": "string"
  15768. },
  15769. "modelname": {
  15770. "description": "型号名称",
  15771. "type": "string"
  15772. },
  15773. "oristock": {
  15774. "description": "期初库存量(昨日量)",
  15775. "type": "number"
  15776. },
  15777. "spotgoodsbrandid": {
  15778. "description": "现货品牌ID",
  15779. "type": "integer"
  15780. },
  15781. "spotgoodsmodelid": {
  15782. "description": "现货型号ID",
  15783. "type": "integer"
  15784. },
  15785. "todaybuyinqty": {
  15786. "description": "今日采购入库量",
  15787. "type": "number"
  15788. },
  15789. "todayproduceinqty": {
  15790. "description": "今日生产入库量",
  15791. "type": "number"
  15792. },
  15793. "todayproduceoutqty": {
  15794. "description": "今日生产出库量",
  15795. "type": "number"
  15796. },
  15797. "todayselloutqty": {
  15798. "description": "今日销售出库量",
  15799. "type": "number"
  15800. },
  15801. "unitid": {
  15802. "description": "单位id",
  15803. "type": "integer"
  15804. },
  15805. "updatetime": {
  15806. "description": "更新时间",
  15807. "type": "string"
  15808. },
  15809. "userid": {
  15810. "description": "机构ID",
  15811. "type": "integer"
  15812. },
  15813. "username": {
  15814. "description": "机构名称",
  15815. "type": "string"
  15816. },
  15817. "warehousecode": {
  15818. "description": "仓库代码",
  15819. "type": "string"
  15820. },
  15821. "warehouseinfoid": {
  15822. "description": "仓库ID",
  15823. "type": "string"
  15824. },
  15825. "warehousename": {
  15826. "description": "仓库名称",
  15827. "type": "string"
  15828. },
  15829. "warehousetype": {
  15830. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15831. "type": "integer"
  15832. },
  15833. "wrstandardcode": {
  15834. "description": "现货商品代码",
  15835. "type": "string"
  15836. },
  15837. "wrstandardid": {
  15838. "description": "现货商品ID",
  15839. "type": "string"
  15840. },
  15841. "wrstandardname": {
  15842. "description": "现货商品名称",
  15843. "type": "string"
  15844. }
  15845. }
  15846. },
  15847. "models.ErmcpAreaStockApply": {
  15848. "type": "object",
  15849. "properties": {
  15850. "applyid": {
  15851. "description": "申请人",
  15852. "type": "integer"
  15853. },
  15854. "applyname": {
  15855. "description": "申请人名称",
  15856. "type": "string"
  15857. },
  15858. "applyremark": {
  15859. "description": "申请备注",
  15860. "type": "string"
  15861. },
  15862. "applysrc": {
  15863. "description": "申请来源 - 1:管理端 2:终端",
  15864. "type": "integer"
  15865. },
  15866. "applystatus": {
  15867. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15868. "type": "integer"
  15869. },
  15870. "applytime": {
  15871. "description": "申请时间",
  15872. "type": "string"
  15873. },
  15874. "auditid": {
  15875. "description": "审核人",
  15876. "type": "integer"
  15877. },
  15878. "auditname": {
  15879. "description": "审核人名称",
  15880. "type": "string"
  15881. },
  15882. "auditremark": {
  15883. "description": "审核备注",
  15884. "type": "string"
  15885. },
  15886. "auditsrc": {
  15887. "description": "审核来源 - 1:管理端 2:终端",
  15888. "type": "integer"
  15889. },
  15890. "audittime": {
  15891. "description": "审核时间",
  15892. "type": "string"
  15893. },
  15894. "audittradedate": {
  15895. "description": "审核交易日(yyyyMMdd)",
  15896. "type": "string"
  15897. },
  15898. "brandname": {
  15899. "description": "品牌名称",
  15900. "type": "string"
  15901. },
  15902. "buyuserid": {
  15903. "description": "采购方userid",
  15904. "type": "integer"
  15905. },
  15906. "buyusername": {
  15907. "description": "采购方名称",
  15908. "type": "string"
  15909. },
  15910. "contractno": {
  15911. "description": "合同编号",
  15912. "type": "string"
  15913. },
  15914. "contractqty": {
  15915. "description": "合同量",
  15916. "type": "number"
  15917. },
  15918. "contracttype": {
  15919. "description": "现货合同类型 - 1:采购 -1:销售",
  15920. "type": "integer"
  15921. },
  15922. "deliverygoodsid": {
  15923. "description": "现货品种ID",
  15924. "type": "integer"
  15925. },
  15926. "enumdicname": {
  15927. "description": "现货商品单位名称",
  15928. "type": "string"
  15929. },
  15930. "inoutapplyid": {
  15931. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15932. "type": "string"
  15933. },
  15934. "inouttype": {
  15935. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15936. "type": "integer"
  15937. },
  15938. "modelname": {
  15939. "description": "型号名称",
  15940. "type": "string"
  15941. },
  15942. "pricetype": {
  15943. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15944. "type": "integer"
  15945. },
  15946. "qty": {
  15947. "description": "数量",
  15948. "type": "number"
  15949. },
  15950. "selluserid": {
  15951. "description": "销售方userid",
  15952. "type": "integer"
  15953. },
  15954. "sellusername": {
  15955. "description": "销售方名称",
  15956. "type": "string"
  15957. },
  15958. "spotcontractid": {
  15959. "description": "关联现货合同ID",
  15960. "type": "string"
  15961. },
  15962. "spotgoodsbrandid": {
  15963. "description": "现货品牌ID",
  15964. "type": "integer"
  15965. },
  15966. "spotgoodsmodelid": {
  15967. "description": "现货型号ID",
  15968. "type": "integer"
  15969. },
  15970. "unitid": {
  15971. "description": "单位id",
  15972. "type": "integer"
  15973. },
  15974. "userid": {
  15975. "description": "机构ID",
  15976. "type": "integer"
  15977. },
  15978. "warehousecode": {
  15979. "description": "仓库代码",
  15980. "type": "string"
  15981. },
  15982. "warehouseinfoid": {
  15983. "description": "现货仓库ID",
  15984. "type": "string"
  15985. },
  15986. "warehousename": {
  15987. "description": "仓库名称",
  15988. "type": "string"
  15989. },
  15990. "warehousetype": {
  15991. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15992. "type": "integer"
  15993. },
  15994. "wrstandardcode": {
  15995. "description": "现货商品代码",
  15996. "type": "string"
  15997. },
  15998. "wrstandardid": {
  15999. "description": "现货商品ID",
  16000. "type": "string"
  16001. },
  16002. "wrstandardname": {
  16003. "description": "现货商品名称",
  16004. "type": "string"
  16005. }
  16006. }
  16007. },
  16008. "models.ErmcpAreaStockApplySum": {
  16009. "type": "object",
  16010. "properties": {
  16011. "brandname": {
  16012. "description": "品牌名称",
  16013. "type": "string"
  16014. },
  16015. "inouttype": {
  16016. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  16017. "type": "integer"
  16018. },
  16019. "modelname": {
  16020. "description": "型号名称",
  16021. "type": "string"
  16022. },
  16023. "spotcontractid": {
  16024. "description": "关联现货合同ID",
  16025. "type": "string"
  16026. },
  16027. "spotgoodsbrandid": {
  16028. "description": "品牌id",
  16029. "type": "integer"
  16030. },
  16031. "spotgoodsmodelid": {
  16032. "description": "型号id",
  16033. "type": "integer"
  16034. },
  16035. "totalqty": {
  16036. "description": "总数量",
  16037. "type": "number"
  16038. }
  16039. }
  16040. },
  16041. "models.ErmcpAreaStockReport": {
  16042. "type": "object",
  16043. "properties": {
  16044. "brandname": {
  16045. "description": "品牌名称",
  16046. "type": "string"
  16047. },
  16048. "curstock": {
  16049. "description": "期末库存量",
  16050. "type": "number"
  16051. },
  16052. "deliverygoodsid": {
  16053. "description": "现货品种ID",
  16054. "type": "integer"
  16055. },
  16056. "enumdicname": {
  16057. "description": "单位名称",
  16058. "type": "string"
  16059. },
  16060. "modelname": {
  16061. "description": "型号名称",
  16062. "type": "string"
  16063. },
  16064. "oristock": {
  16065. "description": "期初库存量",
  16066. "type": "number"
  16067. },
  16068. "spotgoodsbrandid": {
  16069. "description": "现货品牌ID",
  16070. "type": "integer"
  16071. },
  16072. "spotgoodsmodelid": {
  16073. "description": "现货型号ID",
  16074. "type": "integer"
  16075. },
  16076. "todaybuyinqty": {
  16077. "description": "今日采购入库量",
  16078. "type": "number"
  16079. },
  16080. "todayproduceinqty": {
  16081. "description": "今日生产入库量",
  16082. "type": "number"
  16083. },
  16084. "todayproduceoutqty": {
  16085. "description": "今日生产出库量",
  16086. "type": "number"
  16087. },
  16088. "todayselloutqty": {
  16089. "description": "今日销售出库量",
  16090. "type": "number"
  16091. },
  16092. "unitid": {
  16093. "description": "单位id",
  16094. "type": "integer"
  16095. },
  16096. "updatetime": {
  16097. "description": "更新时间",
  16098. "type": "string"
  16099. },
  16100. "userid": {
  16101. "description": "机构ID",
  16102. "type": "integer"
  16103. },
  16104. "username": {
  16105. "description": "机构名称",
  16106. "type": "string"
  16107. },
  16108. "warehousecode": {
  16109. "description": "仓库代码",
  16110. "type": "string"
  16111. },
  16112. "warehouseinfoid": {
  16113. "description": "仓库ID",
  16114. "type": "string"
  16115. },
  16116. "warehousename": {
  16117. "description": "仓库名称",
  16118. "type": "string"
  16119. },
  16120. "warehousetype": {
  16121. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16122. "type": "integer"
  16123. },
  16124. "wrstandardcode": {
  16125. "description": "现货商品代码",
  16126. "type": "string"
  16127. },
  16128. "wrstandardid": {
  16129. "description": "现货商品ID",
  16130. "type": "string"
  16131. },
  16132. "wrstandardname": {
  16133. "description": "现货商品名称",
  16134. "type": "string"
  16135. }
  16136. }
  16137. },
  16138. "models.ErmcpAvalidGoodsGroupModel": {
  16139. "type": "object",
  16140. "properties": {
  16141. "goodsgroupid": {
  16142. "description": "期货品种id",
  16143. "type": "integer"
  16144. },
  16145. "goodsgroupname": {
  16146. "description": "期货品种名称",
  16147. "type": "string"
  16148. },
  16149. "goodunitid": {
  16150. "description": "品种单位id",
  16151. "type": "integer"
  16152. },
  16153. "goodunitname": {
  16154. "description": "品种单位名称",
  16155. "type": "string"
  16156. },
  16157. "outergroupcode": {
  16158. "description": "期货品种代码",
  16159. "type": "string"
  16160. }
  16161. }
  16162. },
  16163. "models.ErmcpBizGroupEx": {
  16164. "type": "object",
  16165. "properties": {
  16166. "acclist": {
  16167. "description": "账号列表",
  16168. "type": "array",
  16169. "items": {
  16170. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16171. }
  16172. },
  16173. "bizgroupid": {
  16174. "description": "业务分组id",
  16175. "type": "integer"
  16176. },
  16177. "biztype": {
  16178. "description": "业务类型 1-套保 2-套利",
  16179. "type": "integer"
  16180. },
  16181. "wrlist": {
  16182. "description": "现货商品表",
  16183. "type": "array",
  16184. "items": {
  16185. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16186. }
  16187. }
  16188. }
  16189. },
  16190. "models.ErmcpBizGroupSpotGoods": {
  16191. "type": "object",
  16192. "properties": {
  16193. "areauserid": {
  16194. "description": "所属机构id",
  16195. "type": "integer"
  16196. },
  16197. "bizgroupid": {
  16198. "description": "分组id",
  16199. "type": "integer"
  16200. },
  16201. "biztype": {
  16202. "description": "业务类型 1-套保 2-套利",
  16203. "type": "integer"
  16204. },
  16205. "deliverygoodscode": {
  16206. "description": "现货商品代码",
  16207. "type": "string"
  16208. },
  16209. "deliverygoodsid": {
  16210. "description": "现货商品id",
  16211. "type": "integer"
  16212. },
  16213. "deliverygoodsname": {
  16214. "description": "现货商品名称",
  16215. "type": "string"
  16216. },
  16217. "unitid": {
  16218. "description": "现货商品单位id",
  16219. "type": "integer"
  16220. }
  16221. }
  16222. },
  16223. "models.ErmcpBizGroupTaAccount": {
  16224. "type": "object",
  16225. "properties": {
  16226. "accountid": {
  16227. "description": "账号id",
  16228. "type": "integer"
  16229. },
  16230. "accountname": {
  16231. "description": "账号名称",
  16232. "type": "string"
  16233. },
  16234. "areauserid": {
  16235. "description": "所属机构id",
  16236. "type": "integer"
  16237. },
  16238. "bizgroupid": {
  16239. "description": "业务分组id",
  16240. "type": "integer"
  16241. },
  16242. "ismain": {
  16243. "description": "是否主账号 1-是 0-否",
  16244. "type": "integer"
  16245. }
  16246. }
  16247. },
  16248. "models.ErmcpDGFactoryItem": {
  16249. "type": "object",
  16250. "properties": {
  16251. "areauserid": {
  16252. "description": "用户id",
  16253. "type": "integer"
  16254. },
  16255. "deliverygoodsid": {
  16256. "description": "现货品种ID",
  16257. "type": "integer"
  16258. },
  16259. "dgfactoryitemid": {
  16260. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16261. "type": "integer"
  16262. },
  16263. "dgfactoryitemtypeid": {
  16264. "description": "要素项类型",
  16265. "type": "integer"
  16266. },
  16267. "dgfactoryitemvalue": {
  16268. "description": "要素项值(类型为仓库时填写仓库名称)",
  16269. "type": "string"
  16270. },
  16271. "isvalid": {
  16272. "description": "是否有效 - 0:无效 1:有效",
  16273. "type": "integer"
  16274. },
  16275. "orderindex": {
  16276. "description": "顺序",
  16277. "type": "integer"
  16278. },
  16279. "warehouseid": {
  16280. "description": "仓库ID(类型为仓库时填写)",
  16281. "type": "integer"
  16282. }
  16283. }
  16284. },
  16285. "models.ErmcpDeliveryGoods": {
  16286. "type": "object",
  16287. "properties": {
  16288. "agreeunit": {
  16289. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16290. "type": "integer"
  16291. },
  16292. "areauserid": {
  16293. "description": "所属机构",
  16294. "type": "integer"
  16295. },
  16296. "auditflag": {
  16297. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16298. "type": "integer"
  16299. },
  16300. "categoryid": {
  16301. "description": "类别ID(SEQ_WRCATEGORY)",
  16302. "type": "integer"
  16303. },
  16304. "deliverygoodscode": {
  16305. "description": "现货品种代码",
  16306. "type": "string"
  16307. },
  16308. "deliverygoodsid": {
  16309. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16310. "type": "integer"
  16311. },
  16312. "deliverygoodsname": {
  16313. "description": "现货品种名称",
  16314. "type": "string"
  16315. },
  16316. "deliverygoodstype": {
  16317. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16318. "type": "integer"
  16319. },
  16320. "dgstatus": {
  16321. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16322. "type": "integer"
  16323. },
  16324. "enumdicname": {
  16325. "description": "现货品种单位名称",
  16326. "type": "string"
  16327. },
  16328. "goodsunitid": {
  16329. "description": "现货品种单位ID",
  16330. "type": "integer"
  16331. },
  16332. "isvalid": {
  16333. "description": "是否有效 - 0:无效 1:有效",
  16334. "type": "integer"
  16335. },
  16336. "qtydecimalplace": {
  16337. "description": "成交量小数位",
  16338. "type": "integer"
  16339. },
  16340. "remark": {
  16341. "description": "备注",
  16342. "type": "string"
  16343. },
  16344. "standardqty": {
  16345. "description": "标准数量(库位数量) [标准品特有]",
  16346. "type": "integer"
  16347. },
  16348. "standardqtyrange": {
  16349. "description": "标准数量偏差范围 [标准品特有]",
  16350. "type": "integer"
  16351. }
  16352. }
  16353. },
  16354. "models.ErmcpDeliveryGoodsDetail2": {
  16355. "type": "object",
  16356. "properties": {
  16357. "convertratio": {
  16358. "description": "套保系数(折算系数)",
  16359. "type": "number"
  16360. },
  16361. "data": {
  16362. "description": "现货商品基本信息(交割品种)",
  16363. "type": "object",
  16364. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16365. },
  16366. "gblist": {
  16367. "description": "品牌列表",
  16368. "type": "array",
  16369. "items": {
  16370. "$ref": "#/definitions/models.Ermcp3Brand"
  16371. }
  16372. },
  16373. "gmlist": {
  16374. "description": "品类列表(仓单标准)",
  16375. "type": "array",
  16376. "items": {
  16377. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16378. }
  16379. }
  16380. }
  16381. },
  16382. "models.ErmcpDeliveryGoodsDetailEx": {
  16383. "type": "object",
  16384. "properties": {
  16385. "data": {
  16386. "description": "现货商品基本信息(交割品种)",
  16387. "type": "object",
  16388. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16389. },
  16390. "gblist": {
  16391. "description": "品牌列表",
  16392. "type": "array",
  16393. "items": {
  16394. "$ref": "#/definitions/models.Ermcp3Brand"
  16395. }
  16396. },
  16397. "gmlist": {
  16398. "description": "品类列表(仓单标准)",
  16399. "type": "array",
  16400. "items": {
  16401. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16402. }
  16403. },
  16404. "mgList": {
  16405. "description": "套保列表",
  16406. "type": "array",
  16407. "items": {
  16408. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16409. }
  16410. }
  16411. }
  16412. },
  16413. "models.ErmcpExposureDetailModel": {
  16414. "type": "object",
  16415. "properties": {
  16416. "areauserid": {
  16417. "description": "机构ID",
  16418. "type": "integer"
  16419. },
  16420. "changeQty": {
  16421. "description": "套保变动量",
  16422. "type": "number"
  16423. },
  16424. "contracttype": {
  16425. "description": "现货合同类型 - 1:采购 -1:销售",
  16426. "type": "integer"
  16427. },
  16428. "convertfactor": {
  16429. "description": "标仓系数",
  16430. "type": "number"
  16431. },
  16432. "convertratio": {
  16433. "description": "套保系数",
  16434. "type": "number"
  16435. },
  16436. "createtime": {
  16437. "description": "时间",
  16438. "type": "string"
  16439. },
  16440. "enumdicname": {
  16441. "description": "现货商品单位名称",
  16442. "type": "string"
  16443. },
  16444. "logtype": {
  16445. "description": "类型 - 1:套保计划 2:现货合同",
  16446. "type": "integer"
  16447. },
  16448. "middlegoodsId": {
  16449. "description": "套保商品id",
  16450. "type": "integer"
  16451. },
  16452. "middlegoodscode": {
  16453. "description": "套保商品代码",
  16454. "type": "string"
  16455. },
  16456. "middlegoodsname": {
  16457. "description": "套保商品名称",
  16458. "type": "string"
  16459. },
  16460. "qty": {
  16461. "description": "数量",
  16462. "type": "number"
  16463. },
  16464. "relateNo": {
  16465. "description": "现货合同/套保计划编号",
  16466. "type": "string"
  16467. },
  16468. "wrstandardcode": {
  16469. "description": "现货商品代码",
  16470. "type": "string"
  16471. },
  16472. "wrstandardid": {
  16473. "description": "现货商品ID",
  16474. "type": "integer"
  16475. },
  16476. "wrstandardname": {
  16477. "description": "现货商品名称",
  16478. "type": "string"
  16479. }
  16480. }
  16481. },
  16482. "models.ErmcpExposurePostion": {
  16483. "type": "object",
  16484. "properties": {
  16485. "agreeunit": {
  16486. "description": "合约单位",
  16487. "type": "string"
  16488. },
  16489. "areauserid": {
  16490. "description": "所属机构id",
  16491. "type": "integer"
  16492. },
  16493. "convertratio": {
  16494. "description": "期货品种系数(折算系数)",
  16495. "type": "number"
  16496. },
  16497. "curqty": {
  16498. "description": "当前持仓",
  16499. "type": "integer"
  16500. },
  16501. "diffhedgeqty": {
  16502. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16503. "type": "number"
  16504. },
  16505. "diffqty": {
  16506. "description": "持仓变动量=当前持仓-昨日持仓",
  16507. "type": "integer"
  16508. },
  16509. "goodscode": {
  16510. "description": "商品代码",
  16511. "type": "string"
  16512. },
  16513. "goodsid": {
  16514. "description": "商品id",
  16515. "type": "integer"
  16516. },
  16517. "goodsname": {
  16518. "description": "商品名称",
  16519. "type": "string"
  16520. },
  16521. "middlegoodsid": {
  16522. "description": "套保商品id",
  16523. "type": "integer"
  16524. },
  16525. "ydqty": {
  16526. "description": "昨日持仓",
  16527. "type": "integer"
  16528. }
  16529. }
  16530. },
  16531. "models.ErmcpFuturesCompany": {
  16532. "type": "object",
  16533. "properties": {
  16534. "brokerid": {
  16535. "description": "经纪公司代码",
  16536. "type": "string"
  16537. },
  16538. "channeladdress": {
  16539. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16540. "type": "string"
  16541. },
  16542. "channelid": {
  16543. "description": "对冲渠道ID",
  16544. "type": "string"
  16545. },
  16546. "createtime": {
  16547. "description": "创建时间",
  16548. "type": "string"
  16549. },
  16550. "creatorid": {
  16551. "description": "创建人",
  16552. "type": "string"
  16553. },
  16554. "fcid": {
  16555. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16556. "type": "integer"
  16557. },
  16558. "fcname": {
  16559. "description": "期货公司名称",
  16560. "type": "string"
  16561. },
  16562. "isvalid": {
  16563. "description": "是否有效 - 0:无效 1:有效",
  16564. "type": "integer"
  16565. },
  16566. "mhpaddress": {
  16567. "description": "MHP服务地址(IP:Port)",
  16568. "type": "string"
  16569. },
  16570. "riskrulegroupid": {
  16571. "description": "风控规则组ID",
  16572. "type": "string"
  16573. },
  16574. "tradefeetmpid": {
  16575. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16576. "type": "string"
  16577. },
  16578. "trademargintmpid": {
  16579. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16580. "type": "string"
  16581. },
  16582. "traderatetmpid": {
  16583. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16584. "type": "string"
  16585. },
  16586. "updatetime": {
  16587. "description": "更新时间",
  16588. "type": "string"
  16589. },
  16590. "updatorid": {
  16591. "description": "更新人",
  16592. "type": "string"
  16593. }
  16594. }
  16595. },
  16596. "models.ErmcpGGConvertCfg": {
  16597. "type": "object",
  16598. "properties": {
  16599. "convertratio": {
  16600. "description": "折算系数",
  16601. "type": "number"
  16602. },
  16603. "destgoodsgroupid": {
  16604. "description": "目标品种ID",
  16605. "type": "integer"
  16606. },
  16607. "dstcode": {
  16608. "description": "目录品种代码",
  16609. "type": "string"
  16610. },
  16611. "dstexchangecode": {
  16612. "description": "目标期货交易所",
  16613. "type": "string"
  16614. },
  16615. "dstname": {
  16616. "description": "目标品种名称",
  16617. "type": "string"
  16618. },
  16619. "dstunitid": {
  16620. "description": "目标品种单位ID",
  16621. "type": "integer"
  16622. },
  16623. "dstunitidname": {
  16624. "description": "目标品种单位名称",
  16625. "type": "string"
  16626. },
  16627. "modifytime": {
  16628. "description": "修改时间",
  16629. "type": "string"
  16630. },
  16631. "srccode": {
  16632. "description": "源品种代码",
  16633. "type": "string"
  16634. },
  16635. "srcexchangecode": {
  16636. "description": "源期货交易所",
  16637. "type": "string"
  16638. },
  16639. "srcgoodsgroupid": {
  16640. "description": "源品种ID",
  16641. "type": "integer"
  16642. },
  16643. "srcname": {
  16644. "description": "源品种名称",
  16645. "type": "string"
  16646. },
  16647. "srcunitid": {
  16648. "description": "源品种单位ID",
  16649. "type": "integer"
  16650. },
  16651. "srcunitidname": {
  16652. "description": "源品种单位名称",
  16653. "type": "string"
  16654. }
  16655. }
  16656. },
  16657. "models.ErmcpGoodsBrand": {
  16658. "type": "object",
  16659. "properties": {
  16660. "areauserid": {
  16661. "description": "所属机构",
  16662. "type": "integer"
  16663. },
  16664. "brandid": {
  16665. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16666. "type": "integer"
  16667. },
  16668. "brandname": {
  16669. "description": "品牌名称",
  16670. "type": "string"
  16671. },
  16672. "createtime": {
  16673. "description": "创建时间",
  16674. "type": "string"
  16675. },
  16676. "creatorid": {
  16677. "description": "创建人",
  16678. "type": "integer"
  16679. },
  16680. "creatorsrc": {
  16681. "description": "创建人来源 - 1:管理端 2:终端",
  16682. "type": "integer"
  16683. },
  16684. "deliverygoodsid": {
  16685. "description": "现货品种ID",
  16686. "type": "integer"
  16687. },
  16688. "isvalid": {
  16689. "description": "是否有效 - 0:无效 1:有效",
  16690. "type": "integer"
  16691. },
  16692. "updatetime": {
  16693. "description": "更新时间",
  16694. "type": "string"
  16695. },
  16696. "updatorid": {
  16697. "description": "更新人",
  16698. "type": "integer"
  16699. },
  16700. "updatorsrc": {
  16701. "description": "更新人来源 - 1:管理端 2:终端",
  16702. "type": "integer"
  16703. },
  16704. "wrstandardid": {
  16705. "description": "现货商品ID",
  16706. "type": "integer"
  16707. }
  16708. }
  16709. },
  16710. "models.ErmcpGoodsModel": {
  16711. "type": "object",
  16712. "properties": {
  16713. "areauserid": {
  16714. "description": "所属机构",
  16715. "type": "integer"
  16716. },
  16717. "convertfactor": {
  16718. "description": "标仓系数",
  16719. "type": "number"
  16720. },
  16721. "createtime": {
  16722. "description": "创建时间",
  16723. "type": "string"
  16724. },
  16725. "creatorid": {
  16726. "description": "创建人",
  16727. "type": "integer"
  16728. },
  16729. "creatorsrc": {
  16730. "description": "创建人来源 - 1:管理端 2:终端",
  16731. "type": "integer"
  16732. },
  16733. "deliverygoodsid": {
  16734. "description": "现货品种ID",
  16735. "type": "integer"
  16736. },
  16737. "isvalid": {
  16738. "description": "是否有效 - 0:无效 1:有效",
  16739. "type": "integer"
  16740. },
  16741. "modelid": {
  16742. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16743. "type": "integer"
  16744. },
  16745. "modelname": {
  16746. "description": "型号名称",
  16747. "type": "string"
  16748. },
  16749. "updatetime": {
  16750. "description": "更新时间",
  16751. "type": "string"
  16752. },
  16753. "updatorid": {
  16754. "description": "更新人",
  16755. "type": "integer"
  16756. },
  16757. "updatorsrc": {
  16758. "description": "更新人来源 - 1:管理端 2:终端",
  16759. "type": "integer"
  16760. },
  16761. "wrstandardid": {
  16762. "description": "现货商品ID",
  16763. "type": "integer"
  16764. }
  16765. }
  16766. },
  16767. "models.ErmcpHedgePlan": {
  16768. "type": "object",
  16769. "properties": {
  16770. "areauserid": {
  16771. "description": "用户ID",
  16772. "type": "integer"
  16773. },
  16774. "audittime": {
  16775. "description": "审核时间",
  16776. "type": "string"
  16777. },
  16778. "contracttype": {
  16779. "description": "计划类型 - 1:采购 -1:销售",
  16780. "type": "integer"
  16781. },
  16782. "convertfactor": {
  16783. "description": "标仓系数",
  16784. "type": "number"
  16785. },
  16786. "createtime": {
  16787. "description": "创建时间",
  16788. "type": "string"
  16789. },
  16790. "deliverygoodsid": {
  16791. "description": "现货品种ID",
  16792. "type": "integer"
  16793. },
  16794. "deliverygoodsname": {
  16795. "description": "现货品种名称",
  16796. "type": "string"
  16797. },
  16798. "enumdicname": {
  16799. "description": "单位名称",
  16800. "type": "string"
  16801. },
  16802. "hedgeplanid": {
  16803. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16804. "type": "string"
  16805. },
  16806. "hedgeplanno": {
  16807. "description": "套保计划编号(名称)",
  16808. "type": "string"
  16809. },
  16810. "hedgeplanstatus": {
  16811. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16812. "type": "integer"
  16813. },
  16814. "planqty": {
  16815. "description": "计划数量",
  16816. "type": "number"
  16817. },
  16818. "plantime": {
  16819. "description": "计划时间",
  16820. "type": "string"
  16821. },
  16822. "producttype": {
  16823. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16824. "type": "integer"
  16825. },
  16826. "remark": {
  16827. "description": "备注",
  16828. "type": "string"
  16829. },
  16830. "spotgoodsdesc": {
  16831. "description": "商品型号",
  16832. "type": "string"
  16833. },
  16834. "unitid": {
  16835. "description": "单位id",
  16836. "type": "integer"
  16837. },
  16838. "updatetime": {
  16839. "description": "更新时间",
  16840. "type": "string"
  16841. },
  16842. "wrstandardid": {
  16843. "description": "现货商品ID",
  16844. "type": "integer"
  16845. },
  16846. "wrstandardname": {
  16847. "description": "现货商品名称",
  16848. "type": "string"
  16849. }
  16850. }
  16851. },
  16852. "models.ErmcpHedgePosition": {
  16853. "type": "object",
  16854. "properties": {
  16855. "accountid": {
  16856. "description": "资金账号[外部母账户]",
  16857. "type": "integer"
  16858. },
  16859. "curbuyposition": {
  16860. "description": "期末买头寸",
  16861. "type": "integer"
  16862. },
  16863. "cursellposition": {
  16864. "description": "期末卖头寸",
  16865. "type": "integer"
  16866. },
  16867. "curtdbuyposition": {
  16868. "description": "期末今日买头寸",
  16869. "type": "integer"
  16870. },
  16871. "curtdsellposition": {
  16872. "description": "期末今日卖头寸",
  16873. "type": "integer"
  16874. },
  16875. "curydbuyposition": {
  16876. "description": "期末上日买头寸",
  16877. "type": "integer"
  16878. },
  16879. "curydsellposition": {
  16880. "description": "期末上日卖头寸",
  16881. "type": "integer"
  16882. },
  16883. "decreaseqty": {
  16884. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16885. "type": "integer"
  16886. },
  16887. "fretdbuyposition": {
  16888. "description": "冻结今日买头寸",
  16889. "type": "integer"
  16890. },
  16891. "fretdsellposition": {
  16892. "description": "冻结今日卖头寸",
  16893. "type": "integer"
  16894. },
  16895. "freydbuyposition": {
  16896. "description": "冻结上日买头寸",
  16897. "type": "integer"
  16898. },
  16899. "freydsellposition": {
  16900. "description": "冻结上日卖头寸",
  16901. "type": "integer"
  16902. },
  16903. "goodscode": {
  16904. "description": "商品代码",
  16905. "type": "string"
  16906. },
  16907. "goodsid": {
  16908. "description": "商品id",
  16909. "type": "integer"
  16910. },
  16911. "goodsname": {
  16912. "description": "商品名称",
  16913. "type": "string"
  16914. },
  16915. "hedgeaccountcode": {
  16916. "description": "对冲账号",
  16917. "type": "string"
  16918. },
  16919. "hedgegoodsid": {
  16920. "description": "对冲合约ID",
  16921. "type": "integer"
  16922. },
  16923. "increaseqty": {
  16924. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16925. "type": "integer"
  16926. },
  16927. "marketid": {
  16928. "description": "市场ID",
  16929. "type": "integer"
  16930. },
  16931. "relateduserid": {
  16932. "description": "关联用户id",
  16933. "type": "integer"
  16934. },
  16935. "totalcurqty": {
  16936. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16937. "type": "integer"
  16938. },
  16939. "totalydqty": {
  16940. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16941. "type": "integer"
  16942. },
  16943. "tradedate": {
  16944. "description": "交易日(yyyyMMdd)",
  16945. "type": "string"
  16946. },
  16947. "ydbuyposition": {
  16948. "description": "期初买头寸",
  16949. "type": "integer"
  16950. },
  16951. "ydsellposition": {
  16952. "description": "期初卖头寸",
  16953. "type": "integer"
  16954. }
  16955. }
  16956. },
  16957. "models.ErmcpHedgePositionDetail": {
  16958. "type": "object",
  16959. "properties": {
  16960. "buyorsell": {
  16961. "description": "买卖方向 0-买 1-卖",
  16962. "type": "integer"
  16963. },
  16964. "channelbuildtype": {
  16965. "description": "开平方向 1-建仓 2-平仓",
  16966. "type": "integer"
  16967. },
  16968. "goodscode": {
  16969. "description": "商品代码",
  16970. "type": "string"
  16971. },
  16972. "goodsname": {
  16973. "description": "商品名称",
  16974. "type": "string"
  16975. },
  16976. "hedgegoodsid": {
  16977. "description": "商品id",
  16978. "type": "integer"
  16979. },
  16980. "tradeqty": {
  16981. "description": "数量(成交数量)",
  16982. "type": "integer"
  16983. },
  16984. "tradetime": {
  16985. "description": "时间(成交时间)",
  16986. "type": "string"
  16987. }
  16988. }
  16989. },
  16990. "models.ErmcpHisExposure": {
  16991. "type": "object",
  16992. "properties": {
  16993. "needhedgeexposoure": {
  16994. "description": "应套保敞口",
  16995. "type": "number"
  16996. },
  16997. "reckondate": {
  16998. "description": "日照时期(yyyyMMdd)",
  16999. "type": "string"
  17000. },
  17001. "totalexposure": {
  17002. "description": "总敞口",
  17003. "type": "number"
  17004. }
  17005. }
  17006. },
  17007. "models.ErmcpHisExposureS": {
  17008. "type": "object",
  17009. "properties": {
  17010. "data": {
  17011. "description": "历史敞口",
  17012. "type": "array",
  17013. "items": {
  17014. "$ref": "#/definitions/models.ErmcpHisExposure"
  17015. }
  17016. },
  17017. "enumdicname": {
  17018. "description": "单位名称",
  17019. "type": "string"
  17020. },
  17021. "middlegoodscode": {
  17022. "description": "套保品种代码",
  17023. "type": "string"
  17024. },
  17025. "middlegoodsid": {
  17026. "description": "套保品种ID",
  17027. "type": "integer"
  17028. },
  17029. "middlegoodsname": {
  17030. "description": "套保品种名称",
  17031. "type": "string"
  17032. }
  17033. }
  17034. },
  17035. "models.ErmcpLoginTaAccount": {
  17036. "type": "object",
  17037. "properties": {
  17038. "accountid": {
  17039. "description": "账号id",
  17040. "type": "integer"
  17041. },
  17042. "accountname": {
  17043. "description": "账号名称",
  17044. "type": "string"
  17045. }
  17046. }
  17047. },
  17048. "models.ErmcpLoginUser": {
  17049. "type": "object",
  17050. "properties": {
  17051. "acclist": {
  17052. "description": "关联资金账号",
  17053. "type": "array",
  17054. "items": {
  17055. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17056. }
  17057. },
  17058. "accountname": {
  17059. "description": "用户名称",
  17060. "type": "string"
  17061. },
  17062. "clientroleid": {
  17063. "description": "角色id(usertype=2)",
  17064. "type": "integer"
  17065. },
  17066. "createtime": {
  17067. "description": "创建时间",
  17068. "type": "string"
  17069. },
  17070. "logincode": {
  17071. "description": "登录代码",
  17072. "type": "string"
  17073. },
  17074. "loginid": {
  17075. "description": "登录id(LOGINID)",
  17076. "type": "integer"
  17077. },
  17078. "loginstatus": {
  17079. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17080. "type": "integer"
  17081. },
  17082. "memberuserid": {
  17083. "description": "所属会员id",
  17084. "type": "integer"
  17085. },
  17086. "mobile": {
  17087. "description": "手机号",
  17088. "type": "string"
  17089. },
  17090. "modifytime": {
  17091. "description": "修改时间",
  17092. "type": "string"
  17093. },
  17094. "password": {
  17095. "description": "密码(不可解密)",
  17096. "type": "string"
  17097. },
  17098. "rolename": {
  17099. "description": "角色名称",
  17100. "type": "string"
  17101. },
  17102. "rolestatus": {
  17103. "description": "角色状态 1-启用 2-停用",
  17104. "type": "integer"
  17105. },
  17106. "roletype": {
  17107. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17108. "type": "string"
  17109. },
  17110. "userid": {
  17111. "description": "用户id",
  17112. "type": "integer"
  17113. },
  17114. "usertype": {
  17115. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17116. "type": "integer"
  17117. }
  17118. }
  17119. },
  17120. "models.ErmcpLoginUserEx": {
  17121. "type": "object",
  17122. "properties": {
  17123. "roleid": {
  17124. "description": "角色id(交易账户-\u003e用户id)",
  17125. "type": "integer"
  17126. },
  17127. "rolename": {
  17128. "description": "角色名称(交易账户-\u003e用户名称)",
  17129. "type": "string"
  17130. },
  17131. "userlist": {
  17132. "description": "用户列表",
  17133. "type": "array",
  17134. "items": {
  17135. "$ref": "#/definitions/models.ErmcpLoginUser"
  17136. }
  17137. },
  17138. "usertype": {
  17139. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17140. "type": "integer"
  17141. }
  17142. }
  17143. },
  17144. "models.ErmcpMiddleGoodsChangeLog": {
  17145. "type": "object",
  17146. "properties": {
  17147. "aftervalue": {
  17148. "description": "变更后",
  17149. "type": "number"
  17150. },
  17151. "applyid": {
  17152. "description": "操作人",
  17153. "type": "integer"
  17154. },
  17155. "applyname": {
  17156. "description": "操作人名称",
  17157. "type": "string"
  17158. },
  17159. "applysrc": {
  17160. "description": "操作来源 - 1:管理端 2:终端",
  17161. "type": "integer"
  17162. },
  17163. "beforevalue": {
  17164. "description": "变更前",
  17165. "type": "number"
  17166. },
  17167. "changelogtype": {
  17168. "description": "变更流水类型 - 1:套保比率变更",
  17169. "type": "integer"
  17170. },
  17171. "handlestatus": {
  17172. "description": "处理状态",
  17173. "type": "integer"
  17174. },
  17175. "logdatetime": {
  17176. "description": "流水日期",
  17177. "type": "string"
  17178. },
  17179. "logid": {
  17180. "description": "流水ID",
  17181. "type": "integer"
  17182. },
  17183. "logremark": {
  17184. "description": "流水备注",
  17185. "type": "string"
  17186. },
  17187. "middlegoodsid": {
  17188. "description": "套保品种ID",
  17189. "type": "integer"
  17190. },
  17191. "tradedate": {
  17192. "description": "交易日(yyyyMMdd)",
  17193. "type": "string"
  17194. },
  17195. "updatetime": {
  17196. "description": "更新时间",
  17197. "type": "string"
  17198. }
  17199. }
  17200. },
  17201. "models.ErmcpMiddleGoodsDetail": {
  17202. "type": "object",
  17203. "properties": {
  17204. "cvList": {
  17205. "description": "期货品种折算列表",
  17206. "type": "array",
  17207. "items": {
  17208. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17209. }
  17210. },
  17211. "mg": {
  17212. "description": "套保品种基本信息",
  17213. "type": "object",
  17214. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17215. },
  17216. "wrcList": {
  17217. "description": "现货品种列表(现货商品折算配置)",
  17218. "type": "array",
  17219. "items": {
  17220. "$ref": "#/definitions/models.WRSConverTDetail"
  17221. }
  17222. }
  17223. }
  17224. },
  17225. "models.ErmcpMiddleGoodsModel": {
  17226. "type": "object",
  17227. "properties": {
  17228. "areauserid": {
  17229. "description": "机构用户ID",
  17230. "type": "integer"
  17231. },
  17232. "createtime": {
  17233. "description": "修改时间",
  17234. "type": "string"
  17235. },
  17236. "enumdicname": {
  17237. "description": "单位名称",
  17238. "type": "string"
  17239. },
  17240. "evaluateratio": {
  17241. "description": "估价系数",
  17242. "type": "number"
  17243. },
  17244. "goodsgroupid": {
  17245. "description": "关联期货品种ID",
  17246. "type": "integer"
  17247. },
  17248. "goodsunitid": {
  17249. "description": "单位ID",
  17250. "type": "integer"
  17251. },
  17252. "isvalid": {
  17253. "description": "状态 0-无效(停用) 1-有效(正常)",
  17254. "type": "integer"
  17255. },
  17256. "middlegoodscode": {
  17257. "description": "套保品种代码",
  17258. "type": "string"
  17259. },
  17260. "middlegoodsid": {
  17261. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17262. "type": "integer"
  17263. },
  17264. "middlegoodsname": {
  17265. "description": "套保品种名称",
  17266. "type": "string"
  17267. },
  17268. "modifytime": {
  17269. "description": "修改时间",
  17270. "type": "string"
  17271. },
  17272. "needhedgeratio": {
  17273. "description": "套保比率",
  17274. "type": "number"
  17275. },
  17276. "qtydecimalplace": {
  17277. "description": "数量小数位",
  17278. "type": "integer"
  17279. },
  17280. "relatedgoodsid": {
  17281. "description": "关联交易商品ID",
  17282. "type": "integer"
  17283. },
  17284. "relatedgoodstype": {
  17285. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17286. "type": "integer"
  17287. },
  17288. "remark": {
  17289. "description": "备注",
  17290. "type": "string"
  17291. }
  17292. }
  17293. },
  17294. "models.ErmcpModel": {
  17295. "type": "object",
  17296. "properties": {
  17297. "accountname": {
  17298. "description": "账户名称",
  17299. "type": "string"
  17300. },
  17301. "attachment": {
  17302. "description": "附件",
  17303. "type": "string"
  17304. },
  17305. "audittime": {
  17306. "description": "审核时间",
  17307. "type": "string"
  17308. },
  17309. "brandname": {
  17310. "description": "品牌名称",
  17311. "type": "string"
  17312. },
  17313. "contracctstatus": {
  17314. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17315. "type": "integer"
  17316. },
  17317. "contractmargin": {
  17318. "description": "合同保证金",
  17319. "type": "number"
  17320. },
  17321. "contractno": {
  17322. "description": "合同编号",
  17323. "type": "string"
  17324. },
  17325. "contracttype": {
  17326. "description": "合同类型 1-采购, -1-销售",
  17327. "type": "integer"
  17328. },
  17329. "convertfactor": {
  17330. "description": "标仓系数",
  17331. "type": "number"
  17332. },
  17333. "createtime": {
  17334. "description": "创建时间",
  17335. "type": "string"
  17336. },
  17337. "daikaiamount": {
  17338. "description": "应收(开)票额",
  17339. "type": "number"
  17340. },
  17341. "deliveryenddate": {
  17342. "description": "交割结束日",
  17343. "type": "string"
  17344. },
  17345. "deliverygoodscode": {
  17346. "description": "现货品种代码",
  17347. "type": "string"
  17348. },
  17349. "deliverygoodsid": {
  17350. "description": "现货商品ID",
  17351. "type": "integer"
  17352. },
  17353. "deliverygoodsname": {
  17354. "description": "现货品种名称",
  17355. "type": "string"
  17356. },
  17357. "deliverystartdate": {
  17358. "description": "交割开始日",
  17359. "type": "string"
  17360. },
  17361. "enddate": {
  17362. "description": "点价结束日",
  17363. "type": "string"
  17364. },
  17365. "enumdicname": {
  17366. "description": "单位名称",
  17367. "type": "string"
  17368. },
  17369. "goodscode": {
  17370. "description": "点价商品代码",
  17371. "type": "string"
  17372. },
  17373. "goodsid": {
  17374. "description": "点价商品ID",
  17375. "type": "integer"
  17376. },
  17377. "goodsname": {
  17378. "description": "点价商品名称",
  17379. "type": "string"
  17380. },
  17381. "invoiceamount": {
  17382. "description": "已开票额",
  17383. "type": "number"
  17384. },
  17385. "loanamount": {
  17386. "description": "贷款总额=已定价额+调整金额",
  17387. "type": "number"
  17388. },
  17389. "margin": {
  17390. "description": "保证金",
  17391. "type": "number"
  17392. },
  17393. "modelname": {
  17394. "description": "型号名称",
  17395. "type": "string"
  17396. },
  17397. "payamount": {
  17398. "description": "已收付额(收款或付款)",
  17399. "type": "number"
  17400. },
  17401. "preinvoiceamount": {
  17402. "description": "预收(开)票额",
  17403. "type": "number"
  17404. },
  17405. "prepayamount": {
  17406. "description": "预收付额",
  17407. "type": "number"
  17408. },
  17409. "price": {
  17410. "description": "价格",
  17411. "type": "number"
  17412. },
  17413. "pricedamount": {
  17414. "description": "已定价额",
  17415. "type": "number"
  17416. },
  17417. "pricedavg": {
  17418. "description": "已点均价",
  17419. "type": "number"
  17420. },
  17421. "pricedqty": {
  17422. "description": "已定价量",
  17423. "type": "number"
  17424. },
  17425. "pricemove": {
  17426. "description": "升贴水",
  17427. "type": "number"
  17428. },
  17429. "pricetype": {
  17430. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17431. "type": "integer"
  17432. },
  17433. "producttype": {
  17434. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17435. "type": "integer"
  17436. },
  17437. "qty": {
  17438. "description": "合同量",
  17439. "type": "number"
  17440. },
  17441. "reckonadjustamount": {
  17442. "description": "调整金额",
  17443. "type": "number"
  17444. },
  17445. "reckonedamount": {
  17446. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17447. "type": "number"
  17448. },
  17449. "reckonotheramount": {
  17450. "description": "其它费用",
  17451. "type": "number"
  17452. },
  17453. "reckonrealqty": {
  17454. "description": "已确定量",
  17455. "type": "number"
  17456. },
  17457. "remark": {
  17458. "description": "备注",
  17459. "type": "string"
  17460. },
  17461. "spotcontractid": {
  17462. "description": "合同ID",
  17463. "type": "string"
  17464. },
  17465. "spotgoodsbrandid": {
  17466. "description": "现货品牌ID",
  17467. "type": "integer"
  17468. },
  17469. "spotgoodsdesc": {
  17470. "description": "商品型号(商品规格)",
  17471. "type": "string"
  17472. },
  17473. "spotgoodsmodelid": {
  17474. "description": "现货型号ID",
  17475. "type": "integer"
  17476. },
  17477. "startdate": {
  17478. "description": "点价开始日",
  17479. "type": "string"
  17480. },
  17481. "totalamount": {
  17482. "description": "合计总额",
  17483. "type": "number"
  17484. },
  17485. "unpayamount": {
  17486. "description": "应收付款额(应支付或应收款)",
  17487. "type": "number"
  17488. },
  17489. "unpricedqty": {
  17490. "description": "未定价量",
  17491. "type": "number"
  17492. },
  17493. "unsureqty": {
  17494. "description": "未确定量",
  17495. "type": "number"
  17496. },
  17497. "userid": {
  17498. "description": "用户ID",
  17499. "type": "integer"
  17500. },
  17501. "wrstandardcode": {
  17502. "description": "现货商品代码",
  17503. "type": "string"
  17504. },
  17505. "wrstandardid": {
  17506. "description": "现货商品ID",
  17507. "type": "integer"
  17508. },
  17509. "wrstandardname": {
  17510. "description": "现货商品名称",
  17511. "type": "string"
  17512. }
  17513. }
  17514. },
  17515. "models.ErmcpOPLogModel": {
  17516. "type": "object",
  17517. "properties": {
  17518. "aftervalue": {
  17519. "description": "变更后",
  17520. "type": "number"
  17521. },
  17522. "applyid": {
  17523. "description": "操作人ID",
  17524. "type": "string"
  17525. },
  17526. "applyname": {
  17527. "description": "操作人名称",
  17528. "type": "string"
  17529. },
  17530. "beforevalue": {
  17531. "description": "变更前",
  17532. "type": "number"
  17533. },
  17534. "biztype": {
  17535. "description": "业务类型 - 1:套保计划 2:现货合同",
  17536. "type": "integer"
  17537. },
  17538. "contracttype": {
  17539. "description": "现货合同类型 - 1:采购 -1:销售",
  17540. "type": "integer"
  17541. },
  17542. "logvalue": {
  17543. "description": "数值",
  17544. "type": "number"
  17545. },
  17546. "operatelogtype": {
  17547. "description": "操作流水类型",
  17548. "type": "integer"
  17549. },
  17550. "operatelogtypedesc": {
  17551. "description": "操作流水类型名称",
  17552. "type": "string"
  17553. },
  17554. "relatedid": {
  17555. "description": "现货合同ID\\套保计划",
  17556. "type": "string"
  17557. },
  17558. "updatetime": {
  17559. "description": "更新时间",
  17560. "type": "string"
  17561. }
  17562. }
  17563. },
  17564. "models.ErmcpPendingAudit": {
  17565. "type": "object",
  17566. "properties": {
  17567. "areastockqty": {
  17568. "description": "待审核数量: 库存申请",
  17569. "type": "integer"
  17570. },
  17571. "businessdjqty": {
  17572. "description": "待审核数量: 点价",
  17573. "type": "integer"
  17574. },
  17575. "businessfpqty": {
  17576. "description": "待审核数量: 发票",
  17577. "type": "integer"
  17578. },
  17579. "businessjsqty": {
  17580. "description": "待审核数量: 结算",
  17581. "type": "integer"
  17582. },
  17583. "businesskxqty": {
  17584. "description": "待审核数量: 款项",
  17585. "type": "integer"
  17586. },
  17587. "hedgeplanqty": {
  17588. "description": "待审核数量: 套保计划",
  17589. "type": "integer"
  17590. },
  17591. "spotcontractqty": {
  17592. "description": "待审核数量: 现货合同",
  17593. "type": "integer"
  17594. },
  17595. "userqty": {
  17596. "description": "待审核数量: 用户",
  17597. "type": "integer"
  17598. }
  17599. }
  17600. },
  17601. "models.ErmcpRealExposureModel": {
  17602. "type": "object",
  17603. "properties": {
  17604. "AreaUserID": {
  17605. "description": "所属机构",
  17606. "type": "integer"
  17607. },
  17608. "BuyFutureQty": {
  17609. "description": "买入期货数量",
  17610. "type": "number"
  17611. },
  17612. "BuyPlanQty": {
  17613. "description": "采购计划数量",
  17614. "type": "number"
  17615. },
  17616. "BuyPricedQty": {
  17617. "description": "采购合同已定价数量",
  17618. "type": "number"
  17619. },
  17620. "MiddleGoodsCode": {
  17621. "description": "套保品种代码",
  17622. "type": "string"
  17623. },
  17624. "MiddleGoodsHedgeRatio": {
  17625. "description": "应套保比例",
  17626. "type": "number"
  17627. },
  17628. "MiddleGoodsID": {
  17629. "description": "套保品种",
  17630. "type": "integer"
  17631. },
  17632. "MiddleGoodsName": {
  17633. "description": "套保品种名称",
  17634. "type": "string"
  17635. },
  17636. "NeedHedgeExposoure": {
  17637. "description": "应套保敞口",
  17638. "type": "number"
  17639. },
  17640. "NeedHedgeRatio": {
  17641. "description": "应套保敞口比例",
  17642. "type": "number"
  17643. },
  17644. "OriBuyFutureQty": {
  17645. "description": "期初买入期货数量",
  17646. "type": "number"
  17647. },
  17648. "OriBuyPlanQty": {
  17649. "description": "期初采购计划数量",
  17650. "type": "number"
  17651. },
  17652. "OriBuyPricedQty": {
  17653. "description": "期初采购合同已定价数量",
  17654. "type": "number"
  17655. },
  17656. "OriSellFutureQty": {
  17657. "description": "期初卖出期货数量",
  17658. "type": "number"
  17659. },
  17660. "OriSellPlanQty": {
  17661. "description": "期初销售计划数量",
  17662. "type": "number"
  17663. },
  17664. "OriSellPricedQty": {
  17665. "description": "期初销售合同已定价数量",
  17666. "type": "number"
  17667. },
  17668. "SellFutureQty": {
  17669. "description": "卖出期货数量",
  17670. "type": "number"
  17671. },
  17672. "SellPlanQty": {
  17673. "description": "销售计划数量",
  17674. "type": "number"
  17675. },
  17676. "SellPricedQty": {
  17677. "description": "销售合同已定价数量",
  17678. "type": "number"
  17679. },
  17680. "TotalExposure": {
  17681. "description": "总敞口",
  17682. "type": "number"
  17683. },
  17684. "TotalFutureQty": {
  17685. "description": "期货数量",
  17686. "type": "number"
  17687. },
  17688. "TotalHedgeRatio": {
  17689. "description": "敞口比例",
  17690. "type": "number"
  17691. },
  17692. "TotalNeedHedgeQty": {
  17693. "description": "期货应套保量",
  17694. "type": "number"
  17695. },
  17696. "TotalSpotQty": {
  17697. "description": "现货数量",
  17698. "type": "number"
  17699. },
  17700. "diffFutuQty": {
  17701. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17702. "type": "number"
  17703. },
  17704. "diffSpotQty": {
  17705. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17706. "type": "number"
  17707. },
  17708. "enumdicname": {
  17709. "description": "单位名称",
  17710. "type": "string"
  17711. },
  17712. "oriTotalFutuQty": {
  17713. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17714. "type": "number"
  17715. },
  17716. "oriTotalSpotQty": {
  17717. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17718. "type": "number"
  17719. }
  17720. }
  17721. },
  17722. "models.ErmcpReportAreaSpotPL": {
  17723. "type": "object",
  17724. "properties": {
  17725. "actualpl": {
  17726. "description": "实际损益",
  17727. "type": "number"
  17728. },
  17729. "areauserid": {
  17730. "description": "所属机构",
  17731. "type": "integer"
  17732. },
  17733. "brandname": {
  17734. "description": "品牌名称",
  17735. "type": "string"
  17736. },
  17737. "curamount": {
  17738. "description": "期末额",
  17739. "type": "number"
  17740. },
  17741. "curaverageprice": {
  17742. "description": "期末均价",
  17743. "type": "number"
  17744. },
  17745. "curbuyamount": {
  17746. "description": "期末采购总额(采购额)",
  17747. "type": "number"
  17748. },
  17749. "curbuyqty": {
  17750. "description": "期末采购总量",
  17751. "type": "number"
  17752. },
  17753. "curmarketvalue": {
  17754. "description": "参考市值",
  17755. "type": "number"
  17756. },
  17757. "curqty": {
  17758. "description": "期末量",
  17759. "type": "number"
  17760. },
  17761. "cursellamount": {
  17762. "description": "期末销售总额(销售额)",
  17763. "type": "number"
  17764. },
  17765. "cursellqty": {
  17766. "description": "期末销售总量",
  17767. "type": "number"
  17768. },
  17769. "curspotprice": {
  17770. "description": "参考市价",
  17771. "type": "number"
  17772. },
  17773. "enumdicname": {
  17774. "description": "现货商品单位名称",
  17775. "type": "string"
  17776. },
  17777. "floatpl": {
  17778. "description": "浮动损益",
  17779. "type": "number"
  17780. },
  17781. "gbenumdicname": {
  17782. "description": "品类单位名称",
  17783. "type": "string"
  17784. },
  17785. "gbunitid": {
  17786. "description": "品类单位id",
  17787. "type": "integer"
  17788. },
  17789. "modelname": {
  17790. "description": "品类名称",
  17791. "type": "string"
  17792. },
  17793. "oriamount": {
  17794. "description": "期初额",
  17795. "type": "number"
  17796. },
  17797. "oriaverageprice": {
  17798. "description": "期初均价",
  17799. "type": "number"
  17800. },
  17801. "oribuyamount": {
  17802. "description": "期初采购总额",
  17803. "type": "number"
  17804. },
  17805. "oribuyqty": {
  17806. "description": "期初采购总量",
  17807. "type": "number"
  17808. },
  17809. "oriqty": {
  17810. "description": "期初量",
  17811. "type": "number"
  17812. },
  17813. "orisellamount": {
  17814. "description": "期初销售总额",
  17815. "type": "number"
  17816. },
  17817. "orisellqty": {
  17818. "description": "期初销售总量",
  17819. "type": "number"
  17820. },
  17821. "spotgoodsbrandid": {
  17822. "description": "现货品牌ID",
  17823. "type": "integer"
  17824. },
  17825. "spotgoodsmodelid": {
  17826. "description": "现货品类ID",
  17827. "type": "integer"
  17828. },
  17829. "todaybuyamount": {
  17830. "description": "今日采购额",
  17831. "type": "number"
  17832. },
  17833. "todaybuyaverageprice": {
  17834. "description": "今日采购均价(采购均价)",
  17835. "type": "number"
  17836. },
  17837. "todaybuyqty": {
  17838. "description": "今日采购量(采购增量)",
  17839. "type": "number"
  17840. },
  17841. "todaysellamount": {
  17842. "description": "今日销售额",
  17843. "type": "number"
  17844. },
  17845. "todaysellaverageprice": {
  17846. "description": "今日销售均价(销售均价)",
  17847. "type": "number"
  17848. },
  17849. "todaysellqty": {
  17850. "description": "今日销售量(销售增量)",
  17851. "type": "number"
  17852. },
  17853. "unitid": {
  17854. "description": "现货商品单位id",
  17855. "type": "integer"
  17856. },
  17857. "updatetime": {
  17858. "description": "更新时间",
  17859. "type": "string"
  17860. },
  17861. "wrstandardcode": {
  17862. "description": "现货商品代码",
  17863. "type": "string"
  17864. },
  17865. "wrstandardid": {
  17866. "description": "现货商品ID",
  17867. "type": "integer"
  17868. },
  17869. "wrstandardname": {
  17870. "description": "现货商品名称",
  17871. "type": "string"
  17872. }
  17873. }
  17874. },
  17875. "models.ErmcpReportDayExposure": {
  17876. "type": "object",
  17877. "properties": {
  17878. "areauserid": {
  17879. "description": "所属机构",
  17880. "type": "integer"
  17881. },
  17882. "buyfutureqty": {
  17883. "description": "买入期货数量",
  17884. "type": "number"
  17885. },
  17886. "buyplanqty": {
  17887. "description": "采购计划数量",
  17888. "type": "number"
  17889. },
  17890. "buypricedqty": {
  17891. "description": "采购合同已定价数量",
  17892. "type": "number"
  17893. },
  17894. "diffFutuQty": {
  17895. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17896. "type": "number"
  17897. },
  17898. "diffSpotQty": {
  17899. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17900. "type": "number"
  17901. },
  17902. "enumdicname": {
  17903. "description": "单位名称",
  17904. "type": "string"
  17905. },
  17906. "middlegoodscode": {
  17907. "description": "套保品种代码",
  17908. "type": "string"
  17909. },
  17910. "middlegoodshedgeratio": {
  17911. "description": "应套保比例",
  17912. "type": "number"
  17913. },
  17914. "middlegoodsid": {
  17915. "description": "套保品种ID",
  17916. "type": "integer"
  17917. },
  17918. "middlegoodsname": {
  17919. "description": "套保品种名称",
  17920. "type": "string"
  17921. },
  17922. "needhedgeexposoure": {
  17923. "description": "应套保敞口",
  17924. "type": "number"
  17925. },
  17926. "needhedgeratio": {
  17927. "description": "应套保敞口比例",
  17928. "type": "number"
  17929. },
  17930. "oriTotalFutuQty": {
  17931. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17932. "type": "number"
  17933. },
  17934. "oriTotalSpotQty": {
  17935. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17936. "type": "number"
  17937. },
  17938. "oribuyfutureqty": {
  17939. "description": "期初买入期货数量",
  17940. "type": "number"
  17941. },
  17942. "oribuyplanqty": {
  17943. "description": "期初采购计划数量",
  17944. "type": "number"
  17945. },
  17946. "oribuypricedqty": {
  17947. "description": "期初采购合同已定价数量",
  17948. "type": "number"
  17949. },
  17950. "orisellfutureqty": {
  17951. "description": "期初卖出期货数量",
  17952. "type": "number"
  17953. },
  17954. "orisellplanqty": {
  17955. "description": "期初销售计划数量",
  17956. "type": "number"
  17957. },
  17958. "orisellpricedqty": {
  17959. "description": "期初销售合同已定价数量",
  17960. "type": "number"
  17961. },
  17962. "reckondate": {
  17963. "description": "日照时期(yyyyMMdd)",
  17964. "type": "string"
  17965. },
  17966. "sellfutureqty": {
  17967. "description": "卖出期货数量",
  17968. "type": "number"
  17969. },
  17970. "sellplanqty": {
  17971. "description": "销售计划数量",
  17972. "type": "number"
  17973. },
  17974. "sellpricedqty": {
  17975. "description": "销售合同已定价数量",
  17976. "type": "number"
  17977. },
  17978. "totalexposure": {
  17979. "description": "总敞口",
  17980. "type": "number"
  17981. },
  17982. "totalfutureqty": {
  17983. "description": "期货数量",
  17984. "type": "number"
  17985. },
  17986. "totalhedgeratio": {
  17987. "description": "敞口比例",
  17988. "type": "number"
  17989. },
  17990. "totalneedhedgeqty": {
  17991. "description": "期货应套保量",
  17992. "type": "number"
  17993. },
  17994. "totalspotqty": {
  17995. "description": "现货数量",
  17996. "type": "number"
  17997. }
  17998. }
  17999. },
  18000. "models.ErmcpReportDayFR": {
  18001. "type": "object",
  18002. "properties": {
  18003. "areauserid": {
  18004. "description": "所属机构",
  18005. "type": "integer"
  18006. },
  18007. "collectinvoiceamount": {
  18008. "description": "今日开票金额",
  18009. "type": "number"
  18010. },
  18011. "collectinvoicecount": {
  18012. "description": "今日开票笔数",
  18013. "type": "integer"
  18014. },
  18015. "collectmoneyamount": {
  18016. "description": "今日收款金额",
  18017. "type": "number"
  18018. },
  18019. "collectmoneycount": {
  18020. "description": "今日收款笔数",
  18021. "type": "integer"
  18022. },
  18023. "payinvoiceamount": {
  18024. "description": "今日收票金额",
  18025. "type": "number"
  18026. },
  18027. "payinvoicecount": {
  18028. "description": "今日收票笔数",
  18029. "type": "integer"
  18030. },
  18031. "paymoneyamount": {
  18032. "description": "今日付款金额",
  18033. "type": "number"
  18034. },
  18035. "paymoneycount": {
  18036. "description": "今日付款笔数",
  18037. "type": "integer"
  18038. },
  18039. "reckondate": {
  18040. "description": "日照时期(yyyyMMdd)",
  18041. "type": "string"
  18042. },
  18043. "updatetime": {
  18044. "description": "更新时间",
  18045. "type": "string"
  18046. }
  18047. }
  18048. },
  18049. "models.ErmcpReportDaySpot": {
  18050. "type": "object",
  18051. "properties": {
  18052. "areauserid": {
  18053. "description": "所属机构T",
  18054. "type": "integer"
  18055. },
  18056. "buyinqty": {
  18057. "description": "采购入库量",
  18058. "type": "number"
  18059. },
  18060. "enumdicname": {
  18061. "description": "现货商品单位名称",
  18062. "type": "string"
  18063. },
  18064. "reckondate": {
  18065. "description": "日照时期(yyyyMMdd)",
  18066. "type": "string"
  18067. },
  18068. "selloutqty": {
  18069. "description": "销售出库量",
  18070. "type": "number"
  18071. },
  18072. "todaybuyreckonqty": {
  18073. "description": "采购确定量",
  18074. "type": "number"
  18075. },
  18076. "todaysellreckonqty": {
  18077. "description": "销售确定量",
  18078. "type": "number"
  18079. },
  18080. "totalbuypricedqty": {
  18081. "description": "采购定价量 = 期末 - 期初",
  18082. "type": "number"
  18083. },
  18084. "totalsellpricedqty": {
  18085. "description": "销售定价量 = 期末 - 期初",
  18086. "type": "number"
  18087. },
  18088. "wrstandardcode": {
  18089. "description": "现货商品代码",
  18090. "type": "string"
  18091. },
  18092. "wrstandardid": {
  18093. "description": "现货商品ID",
  18094. "type": "integer"
  18095. },
  18096. "wrstandardname": {
  18097. "description": "现货商品名称",
  18098. "type": "string"
  18099. }
  18100. }
  18101. },
  18102. "models.ErmcpReportMonSpot": {
  18103. "type": "object",
  18104. "properties": {
  18105. "areauserid": {
  18106. "description": "所属机构T",
  18107. "type": "integer"
  18108. },
  18109. "buyinqty": {
  18110. "description": "采购入库量",
  18111. "type": "number"
  18112. },
  18113. "cycletime": {
  18114. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18115. "type": "string"
  18116. },
  18117. "cycletype": {
  18118. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18119. "type": "integer"
  18120. },
  18121. "enumdicname": {
  18122. "description": "现货商品单位名称",
  18123. "type": "string"
  18124. },
  18125. "selloutqty": {
  18126. "description": "销售出库量",
  18127. "type": "number"
  18128. },
  18129. "todaybuyreckonqty": {
  18130. "description": "采购确定量",
  18131. "type": "number"
  18132. },
  18133. "todaysellreckonqty": {
  18134. "description": "销售确定量",
  18135. "type": "number"
  18136. },
  18137. "totalbuypricedqty": {
  18138. "description": "采购定价量 = 期末 - 期初",
  18139. "type": "number"
  18140. },
  18141. "totalsellpricedqty": {
  18142. "description": "销售定价量 = 期末 - 期初",
  18143. "type": "number"
  18144. },
  18145. "wrstandardcode": {
  18146. "description": "现货商品代码",
  18147. "type": "string"
  18148. },
  18149. "wrstandardid": {
  18150. "description": "现货商品ID",
  18151. "type": "integer"
  18152. },
  18153. "wrstandardname": {
  18154. "description": "现货商品名称",
  18155. "type": "string"
  18156. }
  18157. }
  18158. },
  18159. "models.ErmcpReportMonthFR": {
  18160. "type": "object",
  18161. "properties": {
  18162. "areauserid": {
  18163. "description": "所属机构【原值】",
  18164. "type": "integer"
  18165. },
  18166. "collectinvoiceamount": {
  18167. "description": "今日开票金额【汇总】",
  18168. "type": "number"
  18169. },
  18170. "collectinvoicecount": {
  18171. "description": "今日开票笔数【汇总】",
  18172. "type": "integer"
  18173. },
  18174. "collectmoneyamount": {
  18175. "description": "今日收款金额【汇总】",
  18176. "type": "number"
  18177. },
  18178. "collectmoneycount": {
  18179. "description": "今日收款笔数 【汇总】",
  18180. "type": "integer"
  18181. },
  18182. "cycletime": {
  18183. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18184. "type": "string"
  18185. },
  18186. "cycletype": {
  18187. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18188. "type": "integer"
  18189. },
  18190. "dayFr": {
  18191. "description": "日报表明细",
  18192. "type": "array",
  18193. "items": {
  18194. "$ref": "#/definitions/models.ErmcpReportDayFR"
  18195. }
  18196. },
  18197. "payinvoiceamount": {
  18198. "description": "今日收票金额【汇总】",
  18199. "type": "number"
  18200. },
  18201. "payinvoicecount": {
  18202. "description": "今日收票笔数【汇总】",
  18203. "type": "integer"
  18204. },
  18205. "paymoneyamount": {
  18206. "description": "今日付款金额【汇总】",
  18207. "type": "number"
  18208. },
  18209. "paymoneycount": {
  18210. "description": "今日付款笔数【汇总】",
  18211. "type": "integer"
  18212. },
  18213. "updatetime": {
  18214. "description": "更新时间",
  18215. "type": "string"
  18216. }
  18217. }
  18218. },
  18219. "models.ErmcpReportOPLog": {
  18220. "type": "object",
  18221. "properties": {
  18222. "applyid": {
  18223. "description": "操作人",
  18224. "type": "integer"
  18225. },
  18226. "applyname": {
  18227. "description": "操作人名称",
  18228. "type": "string"
  18229. },
  18230. "biztype": {
  18231. "description": "业务类型 - 1:套保计划 2:现货合同",
  18232. "type": "integer"
  18233. },
  18234. "brandname": {
  18235. "description": "品牌名称",
  18236. "type": "string"
  18237. },
  18238. "contracttype": {
  18239. "description": "现货合同类型 - 1:采购 -1:销售",
  18240. "type": "integer"
  18241. },
  18242. "enumdicName": {
  18243. "description": "单位名称",
  18244. "type": "string"
  18245. },
  18246. "logdatetime": {
  18247. "description": "流水日期(时间)",
  18248. "type": "string"
  18249. },
  18250. "logid": {
  18251. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  18252. "type": "string"
  18253. },
  18254. "logtypename": {
  18255. "description": "合同类型(名称)",
  18256. "type": "string"
  18257. },
  18258. "logvalue": {
  18259. "description": "数值",
  18260. "type": "string"
  18261. },
  18262. "modelname": {
  18263. "description": "型号名称",
  18264. "type": "string"
  18265. },
  18266. "operatelogtype": {
  18267. "description": "操作流水类型 -",
  18268. "type": "integer"
  18269. },
  18270. "optypename": {
  18271. "description": "流水类型名称",
  18272. "type": "string"
  18273. },
  18274. "relatedid": {
  18275. "description": "现货合同ID\\套保计划",
  18276. "type": "string"
  18277. },
  18278. "relatedno": {
  18279. "description": "合同编号",
  18280. "type": "string"
  18281. },
  18282. "tradedate": {
  18283. "description": "交易日(yyyyMMdd)",
  18284. "type": "string"
  18285. },
  18286. "userid": {
  18287. "description": "机构ID",
  18288. "type": "integer"
  18289. },
  18290. "wrstandardcode": {
  18291. "description": "现货商品代码",
  18292. "type": "string"
  18293. },
  18294. "wrstandardid": {
  18295. "description": "现货商品ID",
  18296. "type": "integer"
  18297. },
  18298. "wrstandardname": {
  18299. "description": "现货商品名称",
  18300. "type": "string"
  18301. }
  18302. }
  18303. },
  18304. "models.ErmcpRole": {
  18305. "type": "object",
  18306. "properties": {
  18307. "areauserid": {
  18308. "description": "所属机构",
  18309. "type": "integer"
  18310. },
  18311. "autoid": {
  18312. "description": "角色ID(自增ID)",
  18313. "type": "integer"
  18314. },
  18315. "modifierid": {
  18316. "description": "修改人(创建人)",
  18317. "type": "integer"
  18318. },
  18319. "modifiername": {
  18320. "description": "修改人名称",
  18321. "type": "string"
  18322. },
  18323. "modifytime": {
  18324. "description": "修改时间(创建时间)",
  18325. "type": "string"
  18326. },
  18327. "rolename": {
  18328. "description": "角色名称",
  18329. "type": "string"
  18330. },
  18331. "rolestatus": {
  18332. "description": "角色状态 - 1:启用 2:停用",
  18333. "type": "integer"
  18334. },
  18335. "roletype": {
  18336. "description": "角色类型 - 1- 管理端 2- 交易端",
  18337. "type": "integer"
  18338. }
  18339. }
  18340. },
  18341. "models.ErmcpRoleMenu": {
  18342. "type": "object",
  18343. "properties": {
  18344. "iconame": {
  18345. "description": "菜单图标",
  18346. "type": "string"
  18347. },
  18348. "menutype": {
  18349. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18350. "type": "integer"
  18351. },
  18352. "parentcode": {
  18353. "description": "上级资源代码",
  18354. "type": "string"
  18355. },
  18356. "remark": {
  18357. "description": "菜单备注",
  18358. "type": "string"
  18359. },
  18360. "resourcecode": {
  18361. "description": "菜单代码",
  18362. "type": "string"
  18363. },
  18364. "resourcelevel": {
  18365. "description": "级别",
  18366. "type": "integer"
  18367. },
  18368. "resourcename": {
  18369. "description": "菜单名称",
  18370. "type": "string"
  18371. },
  18372. "roleid": {
  18373. "description": "角色id",
  18374. "type": "integer"
  18375. },
  18376. "sort": {
  18377. "description": "排序",
  18378. "type": "integer"
  18379. },
  18380. "url": {
  18381. "description": "URL",
  18382. "type": "string"
  18383. },
  18384. "userid": {
  18385. "description": "用户id",
  18386. "type": "integer"
  18387. }
  18388. }
  18389. },
  18390. "models.ErmcpRoleMenuEx": {
  18391. "type": "object",
  18392. "properties": {
  18393. "menu": {
  18394. "description": "父级菜单",
  18395. "type": "object",
  18396. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18397. },
  18398. "subMenu": {
  18399. "description": "子级菜单",
  18400. "type": "array",
  18401. "items": {
  18402. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18403. }
  18404. }
  18405. }
  18406. },
  18407. "models.ErmcpSpotContractModel": {
  18408. "type": "object",
  18409. "properties": {
  18410. "amount": {
  18411. "description": "金额 [1:一口价、3:暂定价]",
  18412. "type": "number"
  18413. },
  18414. "attachment": {
  18415. "description": "附件",
  18416. "type": "string"
  18417. },
  18418. "auditremark": {
  18419. "description": "审核意见",
  18420. "type": "string"
  18421. },
  18422. "audittime": {
  18423. "description": "审核时间",
  18424. "type": "string"
  18425. },
  18426. "brandname": {
  18427. "description": "品牌名称",
  18428. "type": "string"
  18429. },
  18430. "buyuserid": {
  18431. "description": "采购方ID",
  18432. "type": "integer"
  18433. },
  18434. "buyusername": {
  18435. "description": "采购方名称",
  18436. "type": "string"
  18437. },
  18438. "contracctstatus": {
  18439. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18440. "type": "integer"
  18441. },
  18442. "contractmargin": {
  18443. "description": "合同保证金",
  18444. "type": "number"
  18445. },
  18446. "contractno": {
  18447. "description": "现货合同编号",
  18448. "type": "string"
  18449. },
  18450. "contracttype": {
  18451. "description": "现货合同类型 - 1:采购 -1:销售",
  18452. "type": "integer"
  18453. },
  18454. "convertfactor": {
  18455. "description": "标仓系数",
  18456. "type": "number"
  18457. },
  18458. "createtime": {
  18459. "description": "创建时间",
  18460. "type": "string"
  18461. },
  18462. "deliveryenddate": {
  18463. "description": "交收期(结束)",
  18464. "type": "string"
  18465. },
  18466. "deliverygoodscode": {
  18467. "description": "现货品种代码",
  18468. "type": "string"
  18469. },
  18470. "deliverygoodsid": {
  18471. "description": "现货品种ID",
  18472. "type": "integer"
  18473. },
  18474. "deliverygoodsname": {
  18475. "description": "现货品种名称",
  18476. "type": "string"
  18477. },
  18478. "deliverystartdate": {
  18479. "description": "交收期(开始)",
  18480. "type": "string"
  18481. },
  18482. "enddate": {
  18483. "description": "点价结束日期 [2:点价 3:暂定价]",
  18484. "type": "string"
  18485. },
  18486. "enumdicname": {
  18487. "description": "单位名称",
  18488. "type": "string"
  18489. },
  18490. "goodscode": {
  18491. "description": "点价合约代码",
  18492. "type": "string"
  18493. },
  18494. "goodsid": {
  18495. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18496. "type": "integer"
  18497. },
  18498. "goodsname": {
  18499. "description": "点价商品名称",
  18500. "type": "string"
  18501. },
  18502. "margin": {
  18503. "description": "当前保证金",
  18504. "type": "number"
  18505. },
  18506. "modelname": {
  18507. "description": "型号名称",
  18508. "type": "string"
  18509. },
  18510. "price": {
  18511. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18512. "type": "number"
  18513. },
  18514. "pricemove": {
  18515. "description": "升贴水 [2:点价 3:暂定价]",
  18516. "type": "number"
  18517. },
  18518. "pricetype": {
  18519. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18520. "type": "integer"
  18521. },
  18522. "producttype": {
  18523. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18524. "type": "integer"
  18525. },
  18526. "qty": {
  18527. "description": "数量",
  18528. "type": "number"
  18529. },
  18530. "remark": {
  18531. "description": "备注",
  18532. "type": "string"
  18533. },
  18534. "selluserid": {
  18535. "description": "销售方ID",
  18536. "type": "integer"
  18537. },
  18538. "sellusername": {
  18539. "description": "销售方名称",
  18540. "type": "string"
  18541. },
  18542. "spotcontractid": {
  18543. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18544. "type": "string"
  18545. },
  18546. "spotgoodsbrandid": {
  18547. "description": "现货品牌ID",
  18548. "type": "integer"
  18549. },
  18550. "spotgoodsdesc": {
  18551. "description": "商品型号",
  18552. "type": "string"
  18553. },
  18554. "spotgoodsmodelid": {
  18555. "description": "现货型号ID",
  18556. "type": "integer"
  18557. },
  18558. "startdate": {
  18559. "description": "点价开始日期 [2:点价 3:暂定价]",
  18560. "type": "string"
  18561. },
  18562. "updatetime": {
  18563. "description": "更新时间",
  18564. "type": "string"
  18565. },
  18566. "userid": {
  18567. "description": "机构ID",
  18568. "type": "integer"
  18569. },
  18570. "wrstandardcode": {
  18571. "description": "现货商品代码",
  18572. "type": "string"
  18573. },
  18574. "wrstandardid": {
  18575. "description": "现货商品ID",
  18576. "type": "integer"
  18577. },
  18578. "wrstandardname": {
  18579. "description": "现货商品名称",
  18580. "type": "string"
  18581. }
  18582. }
  18583. },
  18584. "models.ErmcpSpotGoodsPrice": {
  18585. "type": "object",
  18586. "properties": {
  18587. "areauserid": {
  18588. "description": "所属机构id",
  18589. "type": "integer"
  18590. },
  18591. "brandname": {
  18592. "description": "品牌名称",
  18593. "type": "string"
  18594. },
  18595. "currencyid": {
  18596. "description": "报价货币ID",
  18597. "type": "integer"
  18598. },
  18599. "enumdicname": {
  18600. "description": "现货商品单位名称",
  18601. "type": "string"
  18602. },
  18603. "gbenumdicname": {
  18604. "description": "品类单位名称",
  18605. "type": "string"
  18606. },
  18607. "gmunitid": {
  18608. "description": "品类单位id",
  18609. "type": "integer"
  18610. },
  18611. "isvalid": {
  18612. "description": "是否有效 - 0:无效 1:有效",
  18613. "type": "integer"
  18614. },
  18615. "modelname": {
  18616. "description": "品类名称",
  18617. "type": "string"
  18618. },
  18619. "operateid": {
  18620. "description": "最后操作人",
  18621. "type": "integer"
  18622. },
  18623. "operatesrc": {
  18624. "description": "最后操作来源 - 1:管理端 2:终端",
  18625. "type": "integer"
  18626. },
  18627. "operatetime": {
  18628. "description": "最后操作时间",
  18629. "type": "string"
  18630. },
  18631. "operatorname": {
  18632. "description": "操作人名称",
  18633. "type": "string"
  18634. },
  18635. "spotgoodsbrandid": {
  18636. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18637. "type": "integer"
  18638. },
  18639. "spotgoodsmodelid": {
  18640. "description": "现货品类ID(通用则为0)",
  18641. "type": "integer"
  18642. },
  18643. "spotgoodsprice": {
  18644. "description": "现货价格",
  18645. "type": "number"
  18646. },
  18647. "tradedate": {
  18648. "description": "交易日(yyyyMMdd)",
  18649. "type": "string"
  18650. },
  18651. "unitid": {
  18652. "description": "现货商品单位id",
  18653. "type": "integer"
  18654. },
  18655. "wrstandardcode": {
  18656. "description": "现货商品代码",
  18657. "type": "string"
  18658. },
  18659. "wrstandardid": {
  18660. "description": "现货商品ID",
  18661. "type": "integer"
  18662. },
  18663. "wrstandardname": {
  18664. "description": "现货商品名称",
  18665. "type": "string"
  18666. }
  18667. }
  18668. },
  18669. "models.ErmcpSpotGoodsPriceLog": {
  18670. "type": "object",
  18671. "properties": {
  18672. "areauserid": {
  18673. "description": "所属机构id",
  18674. "type": "integer"
  18675. },
  18676. "brandname": {
  18677. "description": "品牌名称",
  18678. "type": "string"
  18679. },
  18680. "currencyid": {
  18681. "description": "报价货币ID",
  18682. "type": "integer"
  18683. },
  18684. "enumdicname": {
  18685. "description": "现货商品单位名称",
  18686. "type": "string"
  18687. },
  18688. "gbenumdicname": {
  18689. "description": "品类单位名称",
  18690. "type": "string"
  18691. },
  18692. "gmunitid": {
  18693. "description": "品类单位id",
  18694. "type": "integer"
  18695. },
  18696. "logid": {
  18697. "description": "日志id",
  18698. "type": "integer"
  18699. },
  18700. "modelname": {
  18701. "description": "品类名称",
  18702. "type": "string"
  18703. },
  18704. "operateid": {
  18705. "description": "最后操作人",
  18706. "type": "integer"
  18707. },
  18708. "operatesrc": {
  18709. "description": "最后操作来源 - 1:管理端 2:终端",
  18710. "type": "integer"
  18711. },
  18712. "operatetime": {
  18713. "description": "最后操作时间",
  18714. "type": "string"
  18715. },
  18716. "operatorname": {
  18717. "description": "操作人名称",
  18718. "type": "string"
  18719. },
  18720. "spotgoodsbrandid": {
  18721. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18722. "type": "integer"
  18723. },
  18724. "spotgoodsmodelid": {
  18725. "description": "现货品类ID(通用则为0)",
  18726. "type": "integer"
  18727. },
  18728. "spotgoodsprice": {
  18729. "description": "现货价格",
  18730. "type": "number"
  18731. },
  18732. "tradedate": {
  18733. "description": "交易日(yyyyMMdd)",
  18734. "type": "string"
  18735. },
  18736. "unitid": {
  18737. "description": "现货商品单位id",
  18738. "type": "integer"
  18739. },
  18740. "wrstandardcode": {
  18741. "description": "现货商品代码",
  18742. "type": "string"
  18743. },
  18744. "wrstandardid": {
  18745. "description": "现货商品ID",
  18746. "type": "integer"
  18747. },
  18748. "wrstandardname": {
  18749. "description": "现货商品名称",
  18750. "type": "string"
  18751. }
  18752. }
  18753. },
  18754. "models.ErmcpTaAccount": {
  18755. "type": "object",
  18756. "properties": {
  18757. "accountid": {
  18758. "description": "账户id",
  18759. "type": "integer"
  18760. },
  18761. "accountname": {
  18762. "description": "账户名称",
  18763. "type": "string"
  18764. },
  18765. "currencyid": {
  18766. "description": "币种id",
  18767. "type": "integer"
  18768. },
  18769. "hedgeaccountcode": {
  18770. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18771. "type": "string"
  18772. },
  18773. "ismain": {
  18774. "description": "是否主账户 0-否 1-是",
  18775. "type": "integer"
  18776. },
  18777. "parentaccountid": {
  18778. "description": "父账户id",
  18779. "type": "integer"
  18780. },
  18781. "relateduserid": {
  18782. "description": "关联userid",
  18783. "type": "integer"
  18784. },
  18785. "tradestatus": {
  18786. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18787. "type": "integer"
  18788. },
  18789. "userid": {
  18790. "description": "用户id",
  18791. "type": "integer"
  18792. }
  18793. }
  18794. },
  18795. "models.ErmcpTaAccountEx": {
  18796. "type": "object",
  18797. "properties": {
  18798. "mainAcc": {
  18799. "description": "主账号",
  18800. "type": "object",
  18801. "$ref": "#/definitions/models.ErmcpTaAccount"
  18802. },
  18803. "subacclist": {
  18804. "description": "子账号列表",
  18805. "type": "array",
  18806. "items": {
  18807. "$ref": "#/definitions/models.ErmcpTaAccount"
  18808. }
  18809. }
  18810. }
  18811. },
  18812. "models.ErmcpTaAccountInfo": {
  18813. "type": "object",
  18814. "properties": {
  18815. "accountid": {
  18816. "description": "资金账户ID",
  18817. "type": "integer"
  18818. },
  18819. "accountname": {
  18820. "description": "账户名称",
  18821. "type": "string"
  18822. },
  18823. "balance": {
  18824. "description": "期初余额",
  18825. "type": "number"
  18826. },
  18827. "capitalbalance": {
  18828. "description": "本金余额[外部子账户实际出入金余额]",
  18829. "type": "number"
  18830. },
  18831. "closepl": {
  18832. "description": "今日平仓盈亏",
  18833. "type": "number"
  18834. },
  18835. "creditdecrease": {
  18836. "description": "今日授信减少",
  18837. "type": "number"
  18838. },
  18839. "creditincrease": {
  18840. "description": "今日授信增加",
  18841. "type": "number"
  18842. },
  18843. "curdebt": {
  18844. "description": "期末欠款",
  18845. "type": "number"
  18846. },
  18847. "currencyid": {
  18848. "description": "货币ID",
  18849. "type": "integer"
  18850. },
  18851. "currentbalance": {
  18852. "description": "期末余额",
  18853. "type": "number"
  18854. },
  18855. "freezecharge": {
  18856. "description": "手续费冻结",
  18857. "type": "number"
  18858. },
  18859. "freezemargin": {
  18860. "description": "冻结保证金",
  18861. "type": "number"
  18862. },
  18863. "fromaccountid": {
  18864. "description": "所属上级账户",
  18865. "type": "integer"
  18866. },
  18867. "inamount": {
  18868. "description": "今日入金金额(包括三方入金)",
  18869. "type": "number"
  18870. },
  18871. "ismain": {
  18872. "description": "是否母账号 0:不是母账户 1:是母账户",
  18873. "type": "integer"
  18874. },
  18875. "mortgagecredit": {
  18876. "description": "授信金额",
  18877. "type": "number"
  18878. },
  18879. "oridebt": {
  18880. "description": "期初欠款",
  18881. "type": "number"
  18882. },
  18883. "orifreezecharge": {
  18884. "description": "期初手续费冻结",
  18885. "type": "number"
  18886. },
  18887. "orifreezemargin": {
  18888. "description": "期初冻结保证金",
  18889. "type": "number"
  18890. },
  18891. "orimortgagecredit": {
  18892. "description": "期初授信金额",
  18893. "type": "number"
  18894. },
  18895. "oriothercredit": {
  18896. "description": "期初其它授信金额",
  18897. "type": "number"
  18898. },
  18899. "oriotherfreezemargin": {
  18900. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18901. "type": "number"
  18902. },
  18903. "orioutamountfreeze": {
  18904. "description": "期初出金冻结",
  18905. "type": "number"
  18906. },
  18907. "oriusedmargin": {
  18908. "description": "期初占用保证金",
  18909. "type": "number"
  18910. },
  18911. "othercredit": {
  18912. "description": "其它授信金额",
  18913. "type": "number"
  18914. },
  18915. "othercreditdecrease": {
  18916. "description": "今日其它授信减少",
  18917. "type": "number"
  18918. },
  18919. "othercreditincrease": {
  18920. "description": "今日其它授信增加",
  18921. "type": "number"
  18922. },
  18923. "otherfreezemargin": {
  18924. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18925. "type": "number"
  18926. },
  18927. "outamount": {
  18928. "description": "今日出金金额(包括三方出金)",
  18929. "type": "number"
  18930. },
  18931. "outamountfreeze": {
  18932. "description": "出金冻结",
  18933. "type": "number"
  18934. },
  18935. "outthreshold": {
  18936. "description": "出金阈值",
  18937. "type": "number"
  18938. },
  18939. "parentaccountid": {
  18940. "description": "所属根账号",
  18941. "type": "integer"
  18942. },
  18943. "paycharge": {
  18944. "description": "今日手续费支出",
  18945. "type": "number"
  18946. },
  18947. "relateduserid": {
  18948. "description": "关联用户",
  18949. "type": "integer"
  18950. },
  18951. "signstatus": {
  18952. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18953. "type": "integer"
  18954. },
  18955. "sublevelpath": {
  18956. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18957. "type": "string"
  18958. },
  18959. "taaccounttype": {
  18960. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18961. "type": "integer"
  18962. },
  18963. "thirdinamount": {
  18964. "description": "今日三方入金",
  18965. "type": "number"
  18966. },
  18967. "thirdoutamount": {
  18968. "description": "今日三方出金",
  18969. "type": "number"
  18970. },
  18971. "tradestatus": {
  18972. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18973. "type": "integer"
  18974. },
  18975. "transferamount": {
  18976. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18977. "type": "number"
  18978. },
  18979. "usedmargin": {
  18980. "description": "占用保证金",
  18981. "type": "number"
  18982. },
  18983. "userid": {
  18984. "description": "用户ID",
  18985. "type": "integer"
  18986. }
  18987. }
  18988. },
  18989. "models.ErmcpTradeConfigTMP": {
  18990. "type": "object",
  18991. "properties": {
  18992. "areauserid": {
  18993. "description": "所属机构",
  18994. "type": "integer"
  18995. },
  18996. "basiccurrencyid": {
  18997. "description": "基本币种ID[汇率] - 目标币种",
  18998. "type": "integer"
  18999. },
  19000. "mainaccountid": {
  19001. "description": "主账户ID",
  19002. "type": "integer"
  19003. },
  19004. "modifierid": {
  19005. "description": "修改人",
  19006. "type": "integer"
  19007. },
  19008. "remark": {
  19009. "description": "备注",
  19010. "type": "string"
  19011. },
  19012. "tradeconfigtmpid": {
  19013. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19014. "type": "integer"
  19015. },
  19016. "tradeconfigtmpname": {
  19017. "description": "交易配置模板名称",
  19018. "type": "string"
  19019. },
  19020. "tradeconfigtmptype": {
  19021. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19022. "type": "integer"
  19023. },
  19024. "updatetime": {
  19025. "description": "更新时间",
  19026. "type": "string"
  19027. }
  19028. }
  19029. },
  19030. "models.ErmcpUserModel": {
  19031. "type": "object",
  19032. "properties": {
  19033. "address": {
  19034. "description": "通讯地址",
  19035. "type": "string"
  19036. },
  19037. "attachment1": {
  19038. "description": "附件1",
  19039. "type": "string"
  19040. },
  19041. "audittime": {
  19042. "description": "审核时间",
  19043. "type": "string"
  19044. },
  19045. "cardbackphotourl": {
  19046. "description": "证件反面图片地址",
  19047. "type": "string"
  19048. },
  19049. "cardfrontphotourl": {
  19050. "description": "证件正面图片地址",
  19051. "type": "string"
  19052. },
  19053. "cardnum": {
  19054. "description": "证件号码",
  19055. "type": "string"
  19056. },
  19057. "cardtype": {
  19058. "description": "证件类型",
  19059. "type": "integer"
  19060. },
  19061. "cardtypename": {
  19062. "description": "证件类型名称",
  19063. "type": "string"
  19064. },
  19065. "cityid": {
  19066. "description": "市",
  19067. "type": "integer"
  19068. },
  19069. "contactname": {
  19070. "description": "联系人",
  19071. "type": "string"
  19072. },
  19073. "countryid": {
  19074. "description": "国家",
  19075. "type": "integer"
  19076. },
  19077. "createtime": {
  19078. "description": "创建时间",
  19079. "type": "string"
  19080. },
  19081. "customername": {
  19082. "description": "企业名称",
  19083. "type": "string"
  19084. },
  19085. "districtid": {
  19086. "description": "区域",
  19087. "type": "integer"
  19088. },
  19089. "email": {
  19090. "description": "邮件",
  19091. "type": "string"
  19092. },
  19093. "legalpersonname": {
  19094. "description": "法人姓名(企业)",
  19095. "type": "string"
  19096. },
  19097. "memberuserid": {
  19098. "description": "所属机构ID",
  19099. "type": "integer"
  19100. },
  19101. "mobile": {
  19102. "description": "手机号码",
  19103. "type": "string"
  19104. },
  19105. "modifytime": {
  19106. "description": "修改时间",
  19107. "type": "string"
  19108. },
  19109. "nickname": {
  19110. "description": "昵称",
  19111. "type": "string"
  19112. },
  19113. "provinceid": {
  19114. "description": "省",
  19115. "type": "integer"
  19116. },
  19117. "remark": {
  19118. "description": "备注",
  19119. "type": "string"
  19120. },
  19121. "status": {
  19122. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19123. "type": "integer"
  19124. },
  19125. "statusdesc": {
  19126. "description": "账户状态中文描述",
  19127. "type": "string"
  19128. },
  19129. "taxpayernum": {
  19130. "description": "纳税人识别号",
  19131. "type": "string"
  19132. },
  19133. "telphone": {
  19134. "description": "联系电话",
  19135. "type": "string"
  19136. },
  19137. "userid": {
  19138. "description": "用户ID",
  19139. "type": "integer"
  19140. },
  19141. "userinfotype": {
  19142. "description": "客户类型",
  19143. "type": "string"
  19144. }
  19145. }
  19146. },
  19147. "models.ErmcpWareHouseInfo": {
  19148. "type": "object",
  19149. "properties": {
  19150. "address": {
  19151. "description": "详细地址",
  19152. "type": "string"
  19153. },
  19154. "areauserid": {
  19155. "description": "所属机构",
  19156. "type": "integer"
  19157. },
  19158. "autoid": {
  19159. "description": "自增ID(仓库ID)",
  19160. "type": "integer"
  19161. },
  19162. "cityid": {
  19163. "description": "市",
  19164. "type": "integer"
  19165. },
  19166. "contactname": {
  19167. "description": "联系人",
  19168. "type": "string"
  19169. },
  19170. "contactnum": {
  19171. "description": "联系电话",
  19172. "type": "string"
  19173. },
  19174. "countryid": {
  19175. "description": "国家",
  19176. "type": "integer"
  19177. },
  19178. "createtime": {
  19179. "description": "创建时间",
  19180. "type": "string"
  19181. },
  19182. "districtid": {
  19183. "description": "区",
  19184. "type": "integer"
  19185. },
  19186. "hasvideo": {
  19187. "description": "是否有视频 - 0:无 1:有",
  19188. "type": "integer"
  19189. },
  19190. "provinceid": {
  19191. "description": "省",
  19192. "type": "integer"
  19193. },
  19194. "remark": {
  19195. "description": "审核备注",
  19196. "type": "string"
  19197. },
  19198. "videourl": {
  19199. "description": "视频地址",
  19200. "type": "string"
  19201. },
  19202. "warehousecode": {
  19203. "description": "仓库代码",
  19204. "type": "string"
  19205. },
  19206. "warehousename": {
  19207. "description": "仓库名称",
  19208. "type": "string"
  19209. },
  19210. "warehousestatus": {
  19211. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19212. "type": "integer"
  19213. },
  19214. "warehousetype": {
  19215. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19216. "type": "integer"
  19217. }
  19218. }
  19219. },
  19220. "models.ErmcpWrstandDetail": {
  19221. "type": "object",
  19222. "properties": {
  19223. "gbList": {
  19224. "description": "品牌列表",
  19225. "type": "array",
  19226. "items": {
  19227. "$ref": "#/definitions/models.GoodsBrand"
  19228. }
  19229. },
  19230. "goodsList": {
  19231. "description": "关联交易商品列表",
  19232. "type": "array",
  19233. "items": {
  19234. "$ref": "#/definitions/models.RelatedGoodsEx"
  19235. }
  19236. },
  19237. "gtList": {
  19238. "description": "型号列表",
  19239. "type": "array",
  19240. "items": {
  19241. "$ref": "#/definitions/models.GoodsTypeModel"
  19242. }
  19243. },
  19244. "wrd": {
  19245. "description": "基本信息",
  19246. "type": "object",
  19247. "$ref": "#/definitions/models.ErmcpWrstandard"
  19248. },
  19249. "wrsList": {
  19250. "description": "套保信息列表",
  19251. "type": "array",
  19252. "items": {
  19253. "$ref": "#/definitions/models.WRSConverTDetail"
  19254. }
  19255. }
  19256. }
  19257. },
  19258. "models.ErmcpWrstandard": {
  19259. "type": "object",
  19260. "properties": {
  19261. "areauserid": {
  19262. "description": "所属机构",
  19263. "type": "integer"
  19264. },
  19265. "createtime": {
  19266. "description": "创建时间",
  19267. "type": "string"
  19268. },
  19269. "creatorid": {
  19270. "description": "创建人",
  19271. "type": "integer"
  19272. },
  19273. "deliverygoodsid": {
  19274. "description": "品种ID",
  19275. "type": "integer"
  19276. },
  19277. "enumdicname": {
  19278. "description": "单位名称",
  19279. "type": "string"
  19280. },
  19281. "isvalid": {
  19282. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19283. "type": "integer"
  19284. },
  19285. "minivalue": {
  19286. "description": "最小变动值",
  19287. "type": "integer"
  19288. },
  19289. "minivaluedp": {
  19290. "description": "最小变动值小数位",
  19291. "type": "integer"
  19292. },
  19293. "realminivalue": {
  19294. "description": "实际最小变动值",
  19295. "type": "integer"
  19296. },
  19297. "realminivaluedp": {
  19298. "description": "实际最小变动值小数位",
  19299. "type": "integer"
  19300. },
  19301. "remark": {
  19302. "description": "备注",
  19303. "type": "string"
  19304. },
  19305. "unitid": {
  19306. "description": "单位ID",
  19307. "type": "integer"
  19308. },
  19309. "updatetime": {
  19310. "description": "更新时间",
  19311. "type": "string"
  19312. },
  19313. "wrstandardcode": {
  19314. "description": "现货商品代码",
  19315. "type": "string"
  19316. },
  19317. "wrstandardid": {
  19318. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19319. "type": "integer"
  19320. },
  19321. "wrstandardname": {
  19322. "description": "现货商品名称",
  19323. "type": "string"
  19324. }
  19325. }
  19326. },
  19327. "models.Externalexchange": {
  19328. "type": "object",
  19329. "required": [
  19330. "autoid"
  19331. ],
  19332. "properties": {
  19333. "autoid": {
  19334. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19335. "type": "integer"
  19336. },
  19337. "exchangefullname": {
  19338. "description": "外部交易所全称",
  19339. "type": "string"
  19340. },
  19341. "exexchangecode": {
  19342. "description": "外部交易所代码",
  19343. "type": "string"
  19344. },
  19345. "exexchangename": {
  19346. "description": "外部交易所名称(简称)",
  19347. "type": "string"
  19348. },
  19349. "ismarketprice": {
  19350. "description": "是否支持市价 - 0:不支持 1:支持",
  19351. "type": "integer"
  19352. },
  19353. "quotegear": {
  19354. "description": "行情档位(1-10)",
  19355. "type": "integer"
  19356. },
  19357. "showbrokerflag": {
  19358. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19359. "type": "integer"
  19360. },
  19361. "updatetime": {
  19362. "description": "更新时间",
  19363. "type": "string"
  19364. }
  19365. }
  19366. },
  19367. "models.Funcmenulist": {
  19368. "type": "object",
  19369. "required": [
  19370. "resourcecode"
  19371. ],
  19372. "properties": {
  19373. "iconame": {
  19374. "description": "菜单图标",
  19375. "type": "string"
  19376. },
  19377. "menutype": {
  19378. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19379. "type": "integer"
  19380. },
  19381. "parentcode": {
  19382. "description": "上级资源代码",
  19383. "type": "string"
  19384. },
  19385. "remark": {
  19386. "description": "备注",
  19387. "type": "string"
  19388. },
  19389. "resourcecode": {
  19390. "description": "资源代码",
  19391. "type": "string"
  19392. },
  19393. "resourcelevel": {
  19394. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19395. "type": "integer"
  19396. },
  19397. "resourcename": {
  19398. "description": "资源名",
  19399. "type": "string"
  19400. },
  19401. "sort": {
  19402. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19403. "type": "integer"
  19404. },
  19405. "url": {
  19406. "description": "URL",
  19407. "type": "string"
  19408. }
  19409. }
  19410. },
  19411. "models.Goods": {
  19412. "type": "object",
  19413. "required": [
  19414. "goodscode",
  19415. "goodsid",
  19416. "goodsname",
  19417. "marketid"
  19418. ],
  19419. "properties": {
  19420. "agreeunit": {
  19421. "description": "合约单位",
  19422. "type": "number"
  19423. },
  19424. "auditaccountid": {
  19425. "description": "审核操作员账号",
  19426. "type": "integer"
  19427. },
  19428. "audittime": {
  19429. "description": "审核时间",
  19430. "type": "string"
  19431. },
  19432. "cancelaccountid": {
  19433. "description": "注销操作员账号",
  19434. "type": "integer"
  19435. },
  19436. "canceltime": {
  19437. "description": "注销时间",
  19438. "type": "string"
  19439. },
  19440. "closepricemode": {
  19441. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19442. "type": "integer"
  19443. },
  19444. "closepriceparam": {
  19445. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19446. "type": "number"
  19447. },
  19448. "createtime": {
  19449. "description": "创建时间",
  19450. "type": "string"
  19451. },
  19452. "creatorid": {
  19453. "description": "创建人",
  19454. "type": "integer"
  19455. },
  19456. "currencyid": {
  19457. "description": "报价货币ID",
  19458. "type": "integer"
  19459. },
  19460. "cutmode": {
  19461. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19462. "type": "integer"
  19463. },
  19464. "decimalplace": {
  19465. "description": "报价小数位",
  19466. "type": "integer"
  19467. },
  19468. "delistingdate": {
  19469. "description": "商品退市时间(状态:退市) -- 已作废",
  19470. "type": "string"
  19471. },
  19472. "delistingmode": {
  19473. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19474. "type": "integer"
  19475. },
  19476. "deliveryflag": {
  19477. "description": "交割标志 - 0:不可交割 1:可交割",
  19478. "type": "integer"
  19479. },
  19480. "forceclosemode": {
  19481. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19482. "type": "integer"
  19483. },
  19484. "forceclosevalue": {
  19485. "description": "定期强平参数 [收益权]",
  19486. "type": "integer"
  19487. },
  19488. "goodscode": {
  19489. "description": "商品代码(内部)",
  19490. "type": "string"
  19491. },
  19492. "goodscurrencyid": {
  19493. "description": "合约货币ID",
  19494. "type": "integer"
  19495. },
  19496. "goodsgroupid": {
  19497. "description": "所属商品组ID",
  19498. "type": "integer"
  19499. },
  19500. "goodsid": {
  19501. "description": "商品ID(自增ID SEQ_GOODS)",
  19502. "type": "integer"
  19503. },
  19504. "goodsname": {
  19505. "description": "商品名称",
  19506. "type": "string"
  19507. },
  19508. "goodsquotetype": {
  19509. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19510. "type": "integer"
  19511. },
  19512. "goodsstatus": {
  19513. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19514. "type": "integer"
  19515. },
  19516. "goodstradetype": {
  19517. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19518. "type": "integer"
  19519. },
  19520. "goodunitid": {
  19521. "description": "报价单位ID",
  19522. "type": "integer"
  19523. },
  19524. "hasquoter": {
  19525. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19526. "type": "integer"
  19527. },
  19528. "hqprotecttime": {
  19529. "description": "行情保护时间(秒)",
  19530. "type": "integer"
  19531. },
  19532. "innerdealmode": {
  19533. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19534. "type": "integer"
  19535. },
  19536. "isbuylimited": {
  19537. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19538. "type": "integer"
  19539. },
  19540. "lasttradedate": {
  19541. "description": "最后交易日期(状态:待退市)",
  19542. "type": "string"
  19543. },
  19544. "listingdate": {
  19545. "description": "交易开始日期",
  19546. "type": "string"
  19547. },
  19548. "marketid": {
  19549. "description": "所属市场ID",
  19550. "type": "integer"
  19551. },
  19552. "modifierid": {
  19553. "description": "修改人",
  19554. "type": "integer"
  19555. },
  19556. "modifystatus": {
  19557. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19558. "type": "integer"
  19559. },
  19560. "modifytime": {
  19561. "description": "修改时间",
  19562. "type": "string"
  19563. },
  19564. "outerdealmode": {
  19565. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19566. "type": "integer"
  19567. },
  19568. "outgoodscode": {
  19569. "description": "商品代码(外部)",
  19570. "type": "string"
  19571. },
  19572. "qtydecimalplace": {
  19573. "description": "成交量小数位",
  19574. "type": "integer"
  19575. },
  19576. "quotegear": {
  19577. "description": "行情档位(1-10)",
  19578. "type": "integer"
  19579. },
  19580. "quoteminunit": {
  19581. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19582. "type": "integer"
  19583. },
  19584. "quoteshowtype": {
  19585. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19586. "type": "integer"
  19587. },
  19588. "quoteshowtypeinterval": {
  19589. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19590. "type": "integer"
  19591. },
  19592. "remark": {
  19593. "description": "备注",
  19594. "type": "string"
  19595. }
  19596. }
  19597. },
  19598. "models.GoodsBrand": {
  19599. "type": "object",
  19600. "properties": {
  19601. "brandid": {
  19602. "description": "品牌ID",
  19603. "type": "integer"
  19604. },
  19605. "brandname": {
  19606. "description": "品牌名称",
  19607. "type": "string"
  19608. },
  19609. "isvalid": {
  19610. "description": "是否有效 - 0:无效 1:有效",
  19611. "type": "integer"
  19612. }
  19613. }
  19614. },
  19615. "models.GoodsIDAndName": {
  19616. "type": "object",
  19617. "required": [
  19618. "goodscode",
  19619. "goodsid",
  19620. "goodsname",
  19621. "marketid"
  19622. ],
  19623. "properties": {
  19624. "goodscode": {
  19625. "description": "商品代码(内部)",
  19626. "type": "string"
  19627. },
  19628. "goodsid": {
  19629. "description": "商品ID(自增ID SEQ_GOODS)",
  19630. "type": "integer"
  19631. },
  19632. "goodsname": {
  19633. "description": "商品名称",
  19634. "type": "string"
  19635. },
  19636. "marketid": {
  19637. "description": "所属市场ID",
  19638. "type": "integer"
  19639. }
  19640. }
  19641. },
  19642. "models.GoodsTypeModel": {
  19643. "type": "object",
  19644. "properties": {
  19645. "convertfactor": {
  19646. "description": "标仓系数",
  19647. "type": "number"
  19648. },
  19649. "modelid": {
  19650. "description": "型号ID",
  19651. "type": "integer"
  19652. },
  19653. "modelname": {
  19654. "description": "型号名称",
  19655. "type": "string"
  19656. },
  19657. "updatetime": {
  19658. "description": "更新时间",
  19659. "type": "string"
  19660. }
  19661. }
  19662. },
  19663. "models.Goodsgroup": {
  19664. "type": "object",
  19665. "required": [
  19666. "goodsgroupid",
  19667. "goodsgroupname",
  19668. "goodsgroupstatus",
  19669. "marketid"
  19670. ],
  19671. "properties": {
  19672. "agreeunit": {
  19673. "description": "合约单位",
  19674. "type": "number"
  19675. },
  19676. "canshort": {
  19677. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19678. "type": "integer"
  19679. },
  19680. "closepricemode": {
  19681. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19682. "type": "integer"
  19683. },
  19684. "closepriceparam": {
  19685. "description": "强平最新价浮动比例 - 方式为2时使用",
  19686. "type": "number"
  19687. },
  19688. "createtime": {
  19689. "description": "创建时间",
  19690. "type": "string"
  19691. },
  19692. "creatorid": {
  19693. "description": "创建人",
  19694. "type": "integer"
  19695. },
  19696. "currencyid": {
  19697. "description": "报价货币ID",
  19698. "type": "integer"
  19699. },
  19700. "decimalplace": {
  19701. "description": "报价小数位",
  19702. "type": "integer"
  19703. },
  19704. "exercisetype": {
  19705. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19706. "type": "integer"
  19707. },
  19708. "exexchangeid": {
  19709. "description": "外部交易所ID[通道交易]",
  19710. "type": "integer"
  19711. },
  19712. "goodsgroupid": {
  19713. "description": "商品组ID(自增ID)",
  19714. "type": "integer"
  19715. },
  19716. "goodsgroupname": {
  19717. "description": "商品组名称",
  19718. "type": "string"
  19719. },
  19720. "goodsgroupstatus": {
  19721. "description": "商品组状态 - 1:正常 2:注销",
  19722. "type": "integer"
  19723. },
  19724. "goodunitid": {
  19725. "description": "报价单位ID",
  19726. "type": "integer"
  19727. },
  19728. "innerdealmode": {
  19729. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19730. "type": "integer"
  19731. },
  19732. "isbuylimited": {
  19733. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19734. "type": "integer"
  19735. },
  19736. "marketid": {
  19737. "description": "所属市场ID",
  19738. "type": "integer"
  19739. },
  19740. "modifierid": {
  19741. "description": "修改人",
  19742. "type": "integer"
  19743. },
  19744. "modifytime": {
  19745. "description": "修改时间",
  19746. "type": "string"
  19747. },
  19748. "outerdealmode": {
  19749. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19750. "type": "integer"
  19751. },
  19752. "outergroupcode": {
  19753. "description": "外部商品组代码[通道交易]",
  19754. "type": "string"
  19755. },
  19756. "premiumdecimalplace": {
  19757. "description": "权利金小数位[场外期权]",
  19758. "type": "integer"
  19759. },
  19760. "premiumspreadalgorithm": {
  19761. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19762. "type": "integer"
  19763. },
  19764. "premiumspreadvalue": {
  19765. "description": "权利金点差值[场外期权]",
  19766. "type": "number"
  19767. },
  19768. "qtydecimalplace": {
  19769. "description": "成交量小数位",
  19770. "type": "integer"
  19771. },
  19772. "quotegear": {
  19773. "description": "行情档位(1-10)",
  19774. "type": "integer"
  19775. },
  19776. "quoteminunit": {
  19777. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19778. "type": "integer"
  19779. },
  19780. "quoterid": {
  19781. "description": "报价商ID[场外期权]",
  19782. "type": "integer"
  19783. },
  19784. "quotesourcegroupid": {
  19785. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19786. "type": "integer"
  19787. },
  19788. "syncgoodsqty": {
  19789. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19790. "type": "integer"
  19791. }
  19792. }
  19793. },
  19794. "models.Goodssortbypreposition": {
  19795. "type": "object",
  19796. "required": [
  19797. "goodscode",
  19798. "tradedate"
  19799. ],
  19800. "properties": {
  19801. "goodscode": {
  19802. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19803. "type": "string"
  19804. },
  19805. "goodsgroupcode": {
  19806. "description": "品种代码",
  19807. "type": "string"
  19808. },
  19809. "prepositionqty": {
  19810. "description": "昨持仓量",
  19811. "type": "integer"
  19812. },
  19813. "sortindex": {
  19814. "description": "排序",
  19815. "type": "integer"
  19816. },
  19817. "tradedate": {
  19818. "description": "交易日",
  19819. "type": "string"
  19820. },
  19821. "updatetime": {
  19822. "description": "更新时间",
  19823. "type": "string"
  19824. }
  19825. }
  19826. },
  19827. "models.Hedgeinnerholderdetail": {
  19828. "type": "object",
  19829. "required": [
  19830. "buyorsell",
  19831. "tradeid"
  19832. ],
  19833. "properties": {
  19834. "accountid": {
  19835. "description": "账号ID",
  19836. "type": "integer"
  19837. },
  19838. "buyorsell": {
  19839. "description": "方向 - 0:买 1:卖",
  19840. "type": "integer"
  19841. },
  19842. "freezeqty": {
  19843. "description": "冻结数量 - 按单平使用",
  19844. "type": "integer"
  19845. },
  19846. "goodsid": {
  19847. "description": "商品ID",
  19848. "type": "integer"
  19849. },
  19850. "holderamount": {
  19851. "description": "持仓金额 [商品币种]",
  19852. "type": "number"
  19853. },
  19854. "holderdays": {
  19855. "description": "剩余冻结天数",
  19856. "type": "integer"
  19857. },
  19858. "holderprice": {
  19859. "description": "持仓价格",
  19860. "type": "number"
  19861. },
  19862. "holderqty": {
  19863. "description": "持仓数量",
  19864. "type": "integer"
  19865. },
  19866. "marketid": {
  19867. "description": "市场ID",
  19868. "type": "integer"
  19869. },
  19870. "openprice": {
  19871. "description": "建仓价格",
  19872. "type": "number"
  19873. },
  19874. "openqty": {
  19875. "description": "建仓数量",
  19876. "type": "integer"
  19877. },
  19878. "parentaccountid": {
  19879. "description": "所属母账户",
  19880. "type": "integer"
  19881. },
  19882. "releaseamount": {
  19883. "description": "释放持仓金额[商品币种]",
  19884. "type": "number"
  19885. },
  19886. "tradeamount": {
  19887. "description": "成交金额[账户]",
  19888. "type": "number"
  19889. },
  19890. "tradedate": {
  19891. "description": "交易日(yyyyMMdd)",
  19892. "type": "string"
  19893. },
  19894. "tradeid": {
  19895. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19896. "type": "string"
  19897. },
  19898. "tradetime": {
  19899. "description": "交易时间",
  19900. "type": "string"
  19901. }
  19902. }
  19903. },
  19904. "models.Hedgemarketopenlog": {
  19905. "type": "object",
  19906. "required": [
  19907. "accountid"
  19908. ],
  19909. "properties": {
  19910. "accountid": {
  19911. "description": "资金账号[外部母账户]",
  19912. "type": "integer"
  19913. },
  19914. "fcname": {
  19915. "description": "期货公司名称",
  19916. "type": "string"
  19917. },
  19918. "handlestatus": {
  19919. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19920. "type": "integer"
  19921. },
  19922. "marketid": {
  19923. "description": "市场ID",
  19924. "type": "integer"
  19925. },
  19926. "status": {
  19927. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19928. "type": "integer"
  19929. },
  19930. "tradedate": {
  19931. "description": "交易日(yyyyMMdd)",
  19932. "type": "string"
  19933. },
  19934. "updatetime": {
  19935. "description": "更新时间",
  19936. "type": "string"
  19937. }
  19938. }
  19939. },
  19940. "models.HsbyBuyMyPayOrder": {
  19941. "type": "object",
  19942. "required": [
  19943. "goodscode",
  19944. "goodsname",
  19945. "tradeid",
  19946. "trademode"
  19947. ],
  19948. "properties": {
  19949. "agreeunit": {
  19950. "description": "合约单位",
  19951. "type": "number"
  19952. },
  19953. "buyaccountid": {
  19954. "description": "买方账号ID[报价币种]",
  19955. "type": "integer"
  19956. },
  19957. "buyorderid": {
  19958. "description": "买方委托单号",
  19959. "type": "string"
  19960. },
  19961. "createtime": {
  19962. "description": "创建时间",
  19963. "type": "string"
  19964. },
  19965. "currencysign": {
  19966. "description": "货币符号",
  19967. "type": "string"
  19968. },
  19969. "decimalplace": {
  19970. "description": "报价小数位",
  19971. "type": "integer"
  19972. },
  19973. "goodscode": {
  19974. "description": "商品代码(内部)",
  19975. "type": "string"
  19976. },
  19977. "goodsid": {
  19978. "description": "商品ID",
  19979. "type": "integer"
  19980. },
  19981. "goodsname": {
  19982. "description": "商品名称",
  19983. "type": "string"
  19984. },
  19985. "marketid": {
  19986. "description": "市场ID",
  19987. "type": "integer"
  19988. },
  19989. "offamount": {
  19990. "description": "优惠金额",
  19991. "type": "number"
  19992. },
  19993. "originalamount": {
  19994. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19995. "type": "number"
  19996. },
  19997. "payamount": {
  19998. "description": "支付金额 = TradeAmount + TradeCharge",
  19999. "type": "number"
  20000. },
  20001. "payflag": {
  20002. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20003. "type": "integer"
  20004. },
  20005. "paylimitedtime": {
  20006. "description": "支付期限",
  20007. "type": "string"
  20008. },
  20009. "paytime": {
  20010. "description": "付款时间",
  20011. "type": "string"
  20012. },
  20013. "picurls1": {
  20014. "description": "预售商品介绍图片[多张用逗号分隔]",
  20015. "type": "string"
  20016. },
  20017. "picurls2": {
  20018. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20019. "type": "string"
  20020. },
  20021. "sellaccountid": {
  20022. "description": "卖方账号ID[报价币种]",
  20023. "type": "integer"
  20024. },
  20025. "sellorderid": {
  20026. "description": "卖方委托单号",
  20027. "type": "string"
  20028. },
  20029. "tradeamount": {
  20030. "description": "成交金额",
  20031. "type": "number"
  20032. },
  20033. "tradecharge": {
  20034. "description": "成交手续费(买方)",
  20035. "type": "number"
  20036. },
  20037. "tradedate": {
  20038. "description": "交易日(yyyyMMdd)",
  20039. "type": "string"
  20040. },
  20041. "tradeid": {
  20042. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20043. "type": "string"
  20044. },
  20045. "trademode": {
  20046. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20047. "type": "integer"
  20048. },
  20049. "tradeprice": {
  20050. "description": "成交价格",
  20051. "type": "number"
  20052. },
  20053. "tradeqty": {
  20054. "description": "成交数量",
  20055. "type": "integer"
  20056. },
  20057. "vendorname1": {
  20058. "description": "预售商品供应商名称",
  20059. "type": "string"
  20060. },
  20061. "vendorname2": {
  20062. "description": "挂牌商品供应商名称",
  20063. "type": "string"
  20064. }
  20065. }
  20066. },
  20067. "models.HsbyBuyMyTradeDetail": {
  20068. "type": "object",
  20069. "required": [
  20070. "accountid",
  20071. "buyorsell",
  20072. "goodscode",
  20073. "goodsid",
  20074. "goodsname",
  20075. "marketid",
  20076. "orderid",
  20077. "qty",
  20078. "time",
  20079. "trademode"
  20080. ],
  20081. "properties": {
  20082. "accountid": {
  20083. "description": "账户ID[报价币种]",
  20084. "type": "integer"
  20085. },
  20086. "agreeunit": {
  20087. "description": "合约单位",
  20088. "type": "number"
  20089. },
  20090. "amount": {
  20091. "description": "金额 = 价格 * 数量 * 合约单位",
  20092. "type": "number"
  20093. },
  20094. "buyorsell": {
  20095. "description": "买卖 - 0:买 1:卖",
  20096. "type": "integer"
  20097. },
  20098. "currencysign": {
  20099. "description": "货币符号",
  20100. "type": "string"
  20101. },
  20102. "decimalplace": {
  20103. "description": "报价小数位",
  20104. "type": "integer"
  20105. },
  20106. "goodscode": {
  20107. "description": "商品代码(内部)",
  20108. "type": "string"
  20109. },
  20110. "goodsid": {
  20111. "description": "商品ID",
  20112. "type": "integer"
  20113. },
  20114. "goodsname": {
  20115. "description": "商品名称",
  20116. "type": "string"
  20117. },
  20118. "marketid": {
  20119. "description": "市场ID",
  20120. "type": "integer"
  20121. },
  20122. "orderamount": {
  20123. "description": "委托金额",
  20124. "type": "number"
  20125. },
  20126. "orderid": {
  20127. "description": "单号(成交单号)",
  20128. "type": "string"
  20129. },
  20130. "picurls1": {
  20131. "description": "预售商品介绍图片[多张用逗号分隔]",
  20132. "type": "string"
  20133. },
  20134. "picurls2": {
  20135. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20136. "type": "string"
  20137. },
  20138. "price": {
  20139. "description": "价格",
  20140. "type": "number"
  20141. },
  20142. "qty": {
  20143. "description": "数量",
  20144. "type": "integer"
  20145. },
  20146. "time": {
  20147. "description": "时间",
  20148. "type": "string"
  20149. },
  20150. "trademode": {
  20151. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20152. "type": "integer"
  20153. },
  20154. "vendorname1": {
  20155. "description": "预售商品供应商名称",
  20156. "type": "string"
  20157. },
  20158. "vendorname2": {
  20159. "description": "挂牌商品供应商名称",
  20160. "type": "string"
  20161. }
  20162. }
  20163. },
  20164. "models.HsbyGoodsOrderDetail": {
  20165. "type": "object",
  20166. "required": [
  20167. "buyorsell",
  20168. "orderid",
  20169. "ordertime"
  20170. ],
  20171. "properties": {
  20172. "buyorsell": {
  20173. "description": "买卖 - 0:买 1:卖",
  20174. "type": "integer"
  20175. },
  20176. "currencysign": {
  20177. "description": "货币符号",
  20178. "type": "string"
  20179. },
  20180. "customername": {
  20181. "description": "客户名称(企业名称),已脱敏",
  20182. "type": "string"
  20183. },
  20184. "enableqty": {
  20185. "description": "可用数量",
  20186. "type": "integer"
  20187. },
  20188. "goodunit": {
  20189. "description": "报价单位",
  20190. "type": "string"
  20191. },
  20192. "orderid": {
  20193. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20194. "type": "string"
  20195. },
  20196. "orderprice": {
  20197. "description": "委托价格",
  20198. "type": "number"
  20199. },
  20200. "ordertime": {
  20201. "description": "委托时间",
  20202. "type": "string"
  20203. }
  20204. }
  20205. },
  20206. "models.HsbyListingGoodsDetail": {
  20207. "type": "object",
  20208. "required": [
  20209. "goodscode",
  20210. "goodsid",
  20211. "goodsname",
  20212. "marketid",
  20213. "trademode"
  20214. ],
  20215. "properties": {
  20216. "agreeunit": {
  20217. "description": "合约单位",
  20218. "type": "number"
  20219. },
  20220. "buymaxqty": {
  20221. "description": "购买上限 [71] - 0为不限",
  20222. "type": "integer"
  20223. },
  20224. "currency": {
  20225. "description": "货币",
  20226. "type": "string"
  20227. },
  20228. "currencysign": {
  20229. "description": "货币符号",
  20230. "type": "string"
  20231. },
  20232. "decimalplace": {
  20233. "description": "报价小数位",
  20234. "type": "integer"
  20235. },
  20236. "desccityid": {
  20237. "description": "目的地(市)ID",
  20238. "type": "integer"
  20239. },
  20240. "descprovinceid": {
  20241. "description": "目的地(省)ID",
  20242. "type": "integer"
  20243. },
  20244. "goodscode": {
  20245. "description": "商品代码(内部)",
  20246. "type": "string"
  20247. },
  20248. "goodsdesc": {
  20249. "description": "商品详情",
  20250. "type": "string"
  20251. },
  20252. "goodsid": {
  20253. "description": "商品ID(自增ID SEQ_GOODS)",
  20254. "type": "integer"
  20255. },
  20256. "goodsname": {
  20257. "description": "商品名称",
  20258. "type": "string"
  20259. },
  20260. "goodsprice": {
  20261. "description": "商品价格",
  20262. "type": "number"
  20263. },
  20264. "hotindex": {
  20265. "description": "景点热度",
  20266. "type": "integer"
  20267. },
  20268. "last": {
  20269. "description": "现价",
  20270. "type": "number"
  20271. },
  20272. "limitdown": {
  20273. "description": "跌停价",
  20274. "type": "number"
  20275. },
  20276. "limitup": {
  20277. "description": "涨停价",
  20278. "type": "number"
  20279. },
  20280. "lotsize": {
  20281. "description": "手数最小变动单位",
  20282. "type": "integer"
  20283. },
  20284. "marketid": {
  20285. "description": "所属市场ID",
  20286. "type": "integer"
  20287. },
  20288. "picurls": {
  20289. "description": "介绍图片[多张用逗号分隔]",
  20290. "type": "string"
  20291. },
  20292. "quoteminunit": {
  20293. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20294. "type": "integer"
  20295. },
  20296. "stepvalue": {
  20297. "description": "价格最小变动单位",
  20298. "type": "number"
  20299. },
  20300. "trademode": {
  20301. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20302. "type": "integer"
  20303. },
  20304. "vendorattr": {
  20305. "description": "供应商附件(多张,逗号分隔)",
  20306. "type": "string"
  20307. },
  20308. "vendorname": {
  20309. "description": "供应商名称",
  20310. "type": "string"
  20311. },
  20312. "vendorphone": {
  20313. "description": "供应商客服电话",
  20314. "type": "string"
  20315. },
  20316. "videourls": {
  20317. "description": "介绍视频[多张用逗号分隔]",
  20318. "type": "string"
  20319. }
  20320. }
  20321. },
  20322. "models.HsbyMarketGoods": {
  20323. "type": "object",
  20324. "required": [
  20325. "accountid",
  20326. "buyorsell",
  20327. "goodscode",
  20328. "goodsid",
  20329. "goodsname",
  20330. "marketid",
  20331. "orderid",
  20332. "trademode"
  20333. ],
  20334. "properties": {
  20335. "accountid": {
  20336. "description": "账户ID[报价币种]",
  20337. "type": "integer"
  20338. },
  20339. "agreeunit": {
  20340. "description": "合约单位",
  20341. "type": "number"
  20342. },
  20343. "buyorsell": {
  20344. "description": "买卖 - 0:买 1:卖",
  20345. "type": "integer"
  20346. },
  20347. "categoryid": {
  20348. "description": "类别ID(WRCATEGORY)",
  20349. "type": "integer"
  20350. },
  20351. "currency": {
  20352. "description": "货币",
  20353. "type": "string"
  20354. },
  20355. "currencysign": {
  20356. "description": "货币符号",
  20357. "type": "string"
  20358. },
  20359. "customername": {
  20360. "description": "卖家名称",
  20361. "type": "string"
  20362. },
  20363. "decimalplace": {
  20364. "description": "报价小数位",
  20365. "type": "integer"
  20366. },
  20367. "goodscode": {
  20368. "description": "商品代码(内部)",
  20369. "type": "string"
  20370. },
  20371. "goodsid": {
  20372. "description": "商品ID",
  20373. "type": "integer"
  20374. },
  20375. "goodsname": {
  20376. "description": "商品名称",
  20377. "type": "string"
  20378. },
  20379. "goodsprice": {
  20380. "description": "商品价格",
  20381. "type": "number"
  20382. },
  20383. "hascoupon": {
  20384. "description": "是否可用优惠卷",
  20385. "type": "boolean"
  20386. },
  20387. "hotindex": {
  20388. "description": "景点热度",
  20389. "type": "integer"
  20390. },
  20391. "marketid": {
  20392. "description": "市场ID",
  20393. "type": "integer"
  20394. },
  20395. "orderid": {
  20396. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20397. "type": "string"
  20398. },
  20399. "orderprice": {
  20400. "description": "委托价格",
  20401. "type": "number"
  20402. },
  20403. "orderstatus": {
  20404. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20405. "type": "integer"
  20406. },
  20407. "picurls": {
  20408. "description": "介绍图片[多张用逗号分隔]",
  20409. "type": "string"
  20410. },
  20411. "quoteminunit": {
  20412. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20413. "type": "integer"
  20414. },
  20415. "sellUserID": {
  20416. "description": "卖方UserID",
  20417. "type": "integer"
  20418. },
  20419. "trademode": {
  20420. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20421. "type": "integer"
  20422. },
  20423. "videourls": {
  20424. "description": "介绍视频[多张用逗号分隔]",
  20425. "type": "string"
  20426. }
  20427. }
  20428. },
  20429. "models.HsbyMarketGoodsDetail": {
  20430. "type": "object",
  20431. "required": [
  20432. "accountid",
  20433. "buyorsell",
  20434. "goodscode",
  20435. "goodsid",
  20436. "goodsname",
  20437. "marketid",
  20438. "orderid",
  20439. "orderqty",
  20440. "trademode"
  20441. ],
  20442. "properties": {
  20443. "accountid": {
  20444. "description": "账户ID[报价币种]",
  20445. "type": "integer"
  20446. },
  20447. "agreeunit": {
  20448. "description": "合约单位",
  20449. "type": "number"
  20450. },
  20451. "buymaxqty": {
  20452. "description": "购买上限 [71] - 0为不限",
  20453. "type": "integer"
  20454. },
  20455. "buyorsell": {
  20456. "description": "买卖 - 0:买 1:卖",
  20457. "type": "integer"
  20458. },
  20459. "cancelqty": {
  20460. "description": "撤单数量",
  20461. "type": "integer"
  20462. },
  20463. "categoryid": {
  20464. "description": "类别ID(WRCATEGORY)",
  20465. "type": "integer"
  20466. },
  20467. "currency": {
  20468. "description": "货币",
  20469. "type": "string"
  20470. },
  20471. "currencysign": {
  20472. "description": "货币符号",
  20473. "type": "string"
  20474. },
  20475. "customername": {
  20476. "description": "卖家名称",
  20477. "type": "string"
  20478. },
  20479. "decimalplace": {
  20480. "description": "报价小数位",
  20481. "type": "integer"
  20482. },
  20483. "goodscode": {
  20484. "description": "商品代码(内部)",
  20485. "type": "string"
  20486. },
  20487. "goodsdesc": {
  20488. "description": "商品详情",
  20489. "type": "string"
  20490. },
  20491. "goodsid": {
  20492. "description": "商品ID",
  20493. "type": "integer"
  20494. },
  20495. "goodsname": {
  20496. "description": "商品名称",
  20497. "type": "string"
  20498. },
  20499. "goodsprice": {
  20500. "description": "商品价格",
  20501. "type": "number"
  20502. },
  20503. "hotindex": {
  20504. "description": "景点热度",
  20505. "type": "integer"
  20506. },
  20507. "lotsize": {
  20508. "description": "手数最小变动单位",
  20509. "type": "integer"
  20510. },
  20511. "marketid": {
  20512. "description": "市场ID",
  20513. "type": "integer"
  20514. },
  20515. "orderid": {
  20516. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20517. "type": "string"
  20518. },
  20519. "orderprice": {
  20520. "description": "委托价格",
  20521. "type": "number"
  20522. },
  20523. "orderqty": {
  20524. "description": "委托数量",
  20525. "type": "integer"
  20526. },
  20527. "orderstatus": {
  20528. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20529. "type": "integer"
  20530. },
  20531. "picurls": {
  20532. "description": "介绍图片[多张用逗号分隔]",
  20533. "type": "string"
  20534. },
  20535. "quoteminunit": {
  20536. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20537. "type": "integer"
  20538. },
  20539. "sellUserID": {
  20540. "description": "卖方UserID",
  20541. "type": "integer"
  20542. },
  20543. "trademode": {
  20544. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20545. "type": "integer"
  20546. },
  20547. "tradeqty": {
  20548. "description": "成交数量",
  20549. "type": "integer"
  20550. },
  20551. "vendorattr": {
  20552. "description": "供应商附件(多张,逗号分隔)",
  20553. "type": "string"
  20554. },
  20555. "vendorname": {
  20556. "description": "供应商名称",
  20557. "type": "string"
  20558. },
  20559. "vendorphone": {
  20560. "description": "供应商客服电话",
  20561. "type": "string"
  20562. },
  20563. "videourls": {
  20564. "description": "介绍视频[多张用逗号分隔]",
  20565. "type": "string"
  20566. }
  20567. }
  20568. },
  20569. "models.HsbyMarketInfo": {
  20570. "type": "object",
  20571. "required": [
  20572. "marketid",
  20573. "marketstatus",
  20574. "trademode"
  20575. ],
  20576. "properties": {
  20577. "marketid": {
  20578. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20579. "type": "integer"
  20580. },
  20581. "marketname": {
  20582. "description": "市场名称",
  20583. "type": "string"
  20584. },
  20585. "marketstatus": {
  20586. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20587. "type": "integer"
  20588. },
  20589. "trademode": {
  20590. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20591. "type": "integer"
  20592. }
  20593. }
  20594. },
  20595. "models.HsbyMyGoods": {
  20596. "type": "object",
  20597. "required": [
  20598. "accountid",
  20599. "goodscode",
  20600. "goodsid",
  20601. "goodsname",
  20602. "marketid",
  20603. "trademode"
  20604. ],
  20605. "properties": {
  20606. "accountid": {
  20607. "description": "账号Id",
  20608. "type": "integer"
  20609. },
  20610. "agreeunit": {
  20611. "description": "合约单位",
  20612. "type": "number"
  20613. },
  20614. "buyaverageprice": {
  20615. "description": "持仓均价",
  20616. "type": "number"
  20617. },
  20618. "buycurholderamount": {
  20619. "description": "买当前持仓总金额[商品币种]",
  20620. "type": "number"
  20621. },
  20622. "buycurpositionqty": {
  20623. "description": "买当前持仓总数量",
  20624. "type": "integer"
  20625. },
  20626. "buymaxqty": {
  20627. "description": "购买上限 [71] - 0为不限",
  20628. "type": "integer"
  20629. },
  20630. "currencysign": {
  20631. "description": "货币符号",
  20632. "type": "string"
  20633. },
  20634. "decimalplace": {
  20635. "description": "报价小数位",
  20636. "type": "integer"
  20637. },
  20638. "enableqty": {
  20639. "description": "可用数量",
  20640. "type": "integer"
  20641. },
  20642. "goodscode": {
  20643. "description": "商品代码(内部)",
  20644. "type": "string"
  20645. },
  20646. "goodsid": {
  20647. "description": "商品Id",
  20648. "type": "integer"
  20649. },
  20650. "goodsname": {
  20651. "description": "商品名称",
  20652. "type": "string"
  20653. },
  20654. "goodsprice": {
  20655. "description": "商品价格",
  20656. "type": "number"
  20657. },
  20658. "goodsstatus": {
  20659. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20660. "type": "integer"
  20661. },
  20662. "last": {
  20663. "description": "现价(仅使用于挂牌点选)",
  20664. "type": "number"
  20665. },
  20666. "limitdown": {
  20667. "description": "跌停价(仅使用于挂牌点选)",
  20668. "type": "number"
  20669. },
  20670. "limitup": {
  20671. "description": "涨停价(仅使用于挂牌点选)",
  20672. "type": "number"
  20673. },
  20674. "lotsize": {
  20675. "description": "手数最小变动单位",
  20676. "type": "integer"
  20677. },
  20678. "marketid": {
  20679. "description": "所属市场ID",
  20680. "type": "integer"
  20681. },
  20682. "picurls": {
  20683. "description": "介绍图片[多张用逗号分隔]",
  20684. "type": "string"
  20685. },
  20686. "quoteminunit": {
  20687. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20688. "type": "integer"
  20689. },
  20690. "stepvalue": {
  20691. "description": "价格最小变动单位",
  20692. "type": "number"
  20693. },
  20694. "trademode": {
  20695. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20696. "type": "integer"
  20697. }
  20698. }
  20699. },
  20700. "models.HsbyMyPackage": {
  20701. "type": "object",
  20702. "required": [
  20703. "goodscode",
  20704. "goodsname",
  20705. "takeorderid",
  20706. "trademode"
  20707. ],
  20708. "properties": {
  20709. "accountid": {
  20710. "description": "账户ID",
  20711. "type": "integer"
  20712. },
  20713. "address": {
  20714. "description": "提货人详细地址",
  20715. "type": "string"
  20716. },
  20717. "agreeunit": {
  20718. "description": "合约单位",
  20719. "type": "number"
  20720. },
  20721. "amount": {
  20722. "description": "提货金额",
  20723. "type": "number"
  20724. },
  20725. "auditer": {
  20726. "description": "审核人",
  20727. "type": "integer"
  20728. },
  20729. "audittime": {
  20730. "description": "审核时间",
  20731. "type": "string"
  20732. },
  20733. "averageprice": {
  20734. "description": "均价",
  20735. "type": "number"
  20736. },
  20737. "cardnum": {
  20738. "description": "提货人证件号码",
  20739. "type": "string"
  20740. },
  20741. "cardtypeid": {
  20742. "description": "提货人证件类型",
  20743. "type": "integer"
  20744. },
  20745. "checkremark": {
  20746. "description": "审核备注",
  20747. "type": "string"
  20748. },
  20749. "currencysign": {
  20750. "description": "货币符号",
  20751. "type": "string"
  20752. },
  20753. "decimalplace": {
  20754. "description": "报价小数位",
  20755. "type": "integer"
  20756. },
  20757. "goodscode": {
  20758. "description": "商品代码(内部)",
  20759. "type": "string"
  20760. },
  20761. "goodsid": {
  20762. "description": "商品ID",
  20763. "type": "integer"
  20764. },
  20765. "goodsname": {
  20766. "description": "商品名称",
  20767. "type": "string"
  20768. },
  20769. "handlestatus": {
  20770. "description": "处理状态",
  20771. "type": "integer"
  20772. },
  20773. "marketid": {
  20774. "description": "市场ID",
  20775. "type": "integer"
  20776. },
  20777. "phonenum": {
  20778. "description": "提货人联系方式",
  20779. "type": "string"
  20780. },
  20781. "picurls": {
  20782. "description": "介绍图片[多张用逗号分隔]",
  20783. "type": "string"
  20784. },
  20785. "qty": {
  20786. "description": "提货数量",
  20787. "type": "number"
  20788. },
  20789. "recivername": {
  20790. "description": "提货人姓名",
  20791. "type": "string"
  20792. },
  20793. "reqtime": {
  20794. "description": "更新时间",
  20795. "type": "string"
  20796. },
  20797. "takemode": {
  20798. "description": "提货方式 - 2:自提 3:配送",
  20799. "type": "integer"
  20800. },
  20801. "takeorderid": {
  20802. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20803. "type": "string"
  20804. },
  20805. "takeorderstatus": {
  20806. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20807. "type": "integer"
  20808. },
  20809. "takeremark": {
  20810. "description": "提货备注",
  20811. "type": "string"
  20812. },
  20813. "tradedate": {
  20814. "description": "交易日(yyyyMMdd)",
  20815. "type": "string"
  20816. },
  20817. "trademode": {
  20818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20819. "type": "integer"
  20820. },
  20821. "userid": {
  20822. "description": "用户ID",
  20823. "type": "integer"
  20824. },
  20825. "vendorname": {
  20826. "description": "供应商名称",
  20827. "type": "string"
  20828. }
  20829. }
  20830. },
  20831. "models.HsbyPreGoods": {
  20832. "type": "object",
  20833. "required": [
  20834. "goodscode",
  20835. "goodsid",
  20836. "goodsname",
  20837. "marketid",
  20838. "trademode"
  20839. ],
  20840. "properties": {
  20841. "agreeunit": {
  20842. "description": "合约单位",
  20843. "type": "number"
  20844. },
  20845. "currency": {
  20846. "description": "货币",
  20847. "type": "string"
  20848. },
  20849. "currencysign": {
  20850. "description": "货币符号",
  20851. "type": "string"
  20852. },
  20853. "decimalplace": {
  20854. "description": "报价小数位",
  20855. "type": "integer"
  20856. },
  20857. "desccityid": {
  20858. "description": "目的地(市)",
  20859. "type": "integer"
  20860. },
  20861. "descprovinceid": {
  20862. "description": "目的地(省)",
  20863. "type": "integer"
  20864. },
  20865. "enableqty": {
  20866. "description": "剩余数量",
  20867. "type": "integer"
  20868. },
  20869. "goodscode": {
  20870. "description": "商品代码(内部)",
  20871. "type": "string"
  20872. },
  20873. "goodsid": {
  20874. "description": "商品ID(自增ID SEQ_GOODS)",
  20875. "type": "integer"
  20876. },
  20877. "goodsname": {
  20878. "description": "商品名称",
  20879. "type": "string"
  20880. },
  20881. "goodsstatus": {
  20882. "description": "商品状态- 2:未上市 3:上市",
  20883. "type": "integer"
  20884. },
  20885. "lasttradedate": {
  20886. "description": "最后交易日期(状态:待退市)",
  20887. "type": "string"
  20888. },
  20889. "listingdate": {
  20890. "description": "交易开始日期",
  20891. "type": "string"
  20892. },
  20893. "marketid": {
  20894. "description": "所属市场ID",
  20895. "type": "integer"
  20896. },
  20897. "picurls": {
  20898. "description": "介绍图片[多张用逗号分隔]",
  20899. "type": "string"
  20900. },
  20901. "presaledqty": {
  20902. "description": "已预售量(预售结束时更新)",
  20903. "type": "integer"
  20904. },
  20905. "presaleqty": {
  20906. "description": "预售数量",
  20907. "type": "integer"
  20908. },
  20909. "quoteminunit": {
  20910. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20911. "type": "integer"
  20912. },
  20913. "refprice": {
  20914. "description": "参考价格[一口价]",
  20915. "type": "number"
  20916. },
  20917. "relatedgoodsid": {
  20918. "description": "关联交易合约ID",
  20919. "type": "integer"
  20920. },
  20921. "trademode": {
  20922. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20923. "type": "integer"
  20924. },
  20925. "videourls": {
  20926. "description": "介绍视频[多张用逗号分隔]",
  20927. "type": "string"
  20928. }
  20929. }
  20930. },
  20931. "models.HsbyPreGoodsDetail": {
  20932. "type": "object",
  20933. "required": [
  20934. "goodscode",
  20935. "goodsid",
  20936. "goodsname",
  20937. "marketid",
  20938. "trademode"
  20939. ],
  20940. "properties": {
  20941. "agreeunit": {
  20942. "description": "合约单位",
  20943. "type": "number"
  20944. },
  20945. "buymaxqty": {
  20946. "description": "购买上限 [71] - 0为不限",
  20947. "type": "integer"
  20948. },
  20949. "currency": {
  20950. "description": "货币",
  20951. "type": "string"
  20952. },
  20953. "currencysign": {
  20954. "description": "货币符号",
  20955. "type": "string"
  20956. },
  20957. "customername": {
  20958. "description": "发行单位",
  20959. "type": "string"
  20960. },
  20961. "decimalplace": {
  20962. "description": "报价小数位",
  20963. "type": "integer"
  20964. },
  20965. "desccityid": {
  20966. "description": "目的地(市)ID",
  20967. "type": "integer"
  20968. },
  20969. "descprovinceid": {
  20970. "description": "目的地(省)ID",
  20971. "type": "integer"
  20972. },
  20973. "enableqty": {
  20974. "description": "剩余数量",
  20975. "type": "integer"
  20976. },
  20977. "goodscode": {
  20978. "description": "商品代码(内部)",
  20979. "type": "string"
  20980. },
  20981. "goodsdesc": {
  20982. "description": "商品详情",
  20983. "type": "string"
  20984. },
  20985. "goodsid": {
  20986. "description": "商品ID(自增ID SEQ_GOODS)",
  20987. "type": "integer"
  20988. },
  20989. "goodsname": {
  20990. "description": "商品名称",
  20991. "type": "string"
  20992. },
  20993. "goodsstatus": {
  20994. "description": "商品状态- 2:未上市 3:上市",
  20995. "type": "integer"
  20996. },
  20997. "goodunit": {
  20998. "description": "报价单位",
  20999. "type": "string"
  21000. },
  21001. "lasttradedate": {
  21002. "description": "最后交易日期(状态:待退市)",
  21003. "type": "string"
  21004. },
  21005. "listingdate": {
  21006. "description": "交易开始日期",
  21007. "type": "string"
  21008. },
  21009. "lotsize": {
  21010. "description": "手数最小变动单位",
  21011. "type": "integer"
  21012. },
  21013. "marketid": {
  21014. "description": "所属市场ID",
  21015. "type": "integer"
  21016. },
  21017. "picurls": {
  21018. "description": "介绍图片[多张用逗号分隔]",
  21019. "type": "string"
  21020. },
  21021. "presaledqty": {
  21022. "description": "已预售量(预售结束时更新)",
  21023. "type": "integer"
  21024. },
  21025. "presaleqty": {
  21026. "description": "预售数量",
  21027. "type": "integer"
  21028. },
  21029. "quoteminunit": {
  21030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21031. "type": "integer"
  21032. },
  21033. "refprice": {
  21034. "description": "参考价格[一口价]",
  21035. "type": "number"
  21036. },
  21037. "relatedgoodsid": {
  21038. "description": "关联交易合约ID",
  21039. "type": "integer"
  21040. },
  21041. "stepvalue": {
  21042. "description": "价格最小变动单位",
  21043. "type": "number"
  21044. },
  21045. "trademode": {
  21046. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21047. "type": "integer"
  21048. },
  21049. "vendorattr": {
  21050. "description": "供应商附件(多张,逗号分隔)",
  21051. "type": "string"
  21052. },
  21053. "vendorname": {
  21054. "description": "供应商名称",
  21055. "type": "string"
  21056. },
  21057. "vendorphone": {
  21058. "description": "供应商客服电话",
  21059. "type": "string"
  21060. },
  21061. "videourls": {
  21062. "description": "介绍视频[多张用逗号分隔]",
  21063. "type": "string"
  21064. }
  21065. }
  21066. },
  21067. "models.HsbySellCollectionOrder": {
  21068. "type": "object",
  21069. "required": [
  21070. "goodscode",
  21071. "goodsname",
  21072. "tradeid",
  21073. "trademode"
  21074. ],
  21075. "properties": {
  21076. "agreeunit": {
  21077. "description": "合约单位",
  21078. "type": "number"
  21079. },
  21080. "buyaccountid": {
  21081. "description": "买方账号ID[报价币种]",
  21082. "type": "integer"
  21083. },
  21084. "buyorderid": {
  21085. "description": "买方委托单号",
  21086. "type": "string"
  21087. },
  21088. "createtime": {
  21089. "description": "创建时间",
  21090. "type": "string"
  21091. },
  21092. "currencysign": {
  21093. "description": "货币符号",
  21094. "type": "string"
  21095. },
  21096. "decimalplace": {
  21097. "description": "报价小数位",
  21098. "type": "integer"
  21099. },
  21100. "goodscode": {
  21101. "description": "商品代码(内部)",
  21102. "type": "string"
  21103. },
  21104. "goodsid": {
  21105. "description": "商品ID",
  21106. "type": "integer"
  21107. },
  21108. "goodsname": {
  21109. "description": "商品名称",
  21110. "type": "string"
  21111. },
  21112. "marketid": {
  21113. "description": "市场ID",
  21114. "type": "integer"
  21115. },
  21116. "offamount": {
  21117. "description": "优惠金额",
  21118. "type": "number"
  21119. },
  21120. "payamount": {
  21121. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21122. "type": "number"
  21123. },
  21124. "payflag": {
  21125. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21126. "type": "integer"
  21127. },
  21128. "paylimitedtime": {
  21129. "description": "支付期限",
  21130. "type": "string"
  21131. },
  21132. "paytime": {
  21133. "description": "付款时间",
  21134. "type": "string"
  21135. },
  21136. "picurls": {
  21137. "description": "商品介绍图片[多张用逗号分隔]",
  21138. "type": "string"
  21139. },
  21140. "sellaccountid": {
  21141. "description": "卖方账号ID[报价币种]",
  21142. "type": "integer"
  21143. },
  21144. "sellorderid": {
  21145. "description": "卖方委托单号",
  21146. "type": "string"
  21147. },
  21148. "tradeamount": {
  21149. "description": "成交金额",
  21150. "type": "number"
  21151. },
  21152. "tradecharge": {
  21153. "description": "成交手续费(买方)",
  21154. "type": "number"
  21155. },
  21156. "tradedate": {
  21157. "description": "交易日(yyyyMMdd)",
  21158. "type": "string"
  21159. },
  21160. "tradeid": {
  21161. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21162. "type": "string"
  21163. },
  21164. "trademode": {
  21165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21166. "type": "integer"
  21167. },
  21168. "tradeprice": {
  21169. "description": "成交价格",
  21170. "type": "number"
  21171. },
  21172. "tradeqty": {
  21173. "description": "成交数量",
  21174. "type": "integer"
  21175. }
  21176. }
  21177. },
  21178. "models.HsbySellMyDetail": {
  21179. "type": "object",
  21180. "required": [
  21181. "accountid",
  21182. "buyorsell",
  21183. "goodscode",
  21184. "goodsid",
  21185. "goodsname",
  21186. "marketid",
  21187. "orderid",
  21188. "time",
  21189. "trademode"
  21190. ],
  21191. "properties": {
  21192. "accountid": {
  21193. "description": "账户ID[报价币种]",
  21194. "type": "integer"
  21195. },
  21196. "agreeunit": {
  21197. "description": "合约单位",
  21198. "type": "number"
  21199. },
  21200. "buyorsell": {
  21201. "description": "买卖 - 0:买 1:卖",
  21202. "type": "integer"
  21203. },
  21204. "currencysign": {
  21205. "description": "货币符号",
  21206. "type": "string"
  21207. },
  21208. "decimalplace": {
  21209. "description": "报价小数位",
  21210. "type": "integer"
  21211. },
  21212. "goodscode": {
  21213. "description": "商品代码(内部)",
  21214. "type": "string"
  21215. },
  21216. "goodsid": {
  21217. "description": "商品ID",
  21218. "type": "integer"
  21219. },
  21220. "goodsname": {
  21221. "description": "商品名称",
  21222. "type": "string"
  21223. },
  21224. "marketid": {
  21225. "description": "市场ID",
  21226. "type": "integer"
  21227. },
  21228. "orderid": {
  21229. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21230. "type": "string"
  21231. },
  21232. "ordertype": {
  21233. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21234. "type": "integer"
  21235. },
  21236. "picurls": {
  21237. "description": "介绍图片[多张用逗号分隔]",
  21238. "type": "string"
  21239. },
  21240. "price": {
  21241. "description": "价格",
  21242. "type": "number"
  21243. },
  21244. "qty": {
  21245. "description": "数量",
  21246. "type": "integer"
  21247. },
  21248. "time": {
  21249. "description": "时间",
  21250. "type": "string"
  21251. },
  21252. "trademode": {
  21253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21254. "type": "integer"
  21255. },
  21256. "vendorname": {
  21257. "description": "供应商名称",
  21258. "type": "string"
  21259. }
  21260. }
  21261. },
  21262. "models.HsbyTopGoods": {
  21263. "type": "object",
  21264. "required": [
  21265. "goodscode",
  21266. "goodsid",
  21267. "goodsname",
  21268. "marketid",
  21269. "trademode"
  21270. ],
  21271. "properties": {
  21272. "agreeunit": {
  21273. "description": "合约单位",
  21274. "type": "number"
  21275. },
  21276. "currency": {
  21277. "description": "货币",
  21278. "type": "string"
  21279. },
  21280. "currencysign": {
  21281. "description": "货币符号",
  21282. "type": "string"
  21283. },
  21284. "decimalplace": {
  21285. "description": "报价小数位",
  21286. "type": "integer"
  21287. },
  21288. "desccityid": {
  21289. "description": "目的地(市)",
  21290. "type": "integer"
  21291. },
  21292. "descprovinceid": {
  21293. "description": "目的地(省)",
  21294. "type": "integer"
  21295. },
  21296. "goodscode": {
  21297. "description": "商品代码(内部)",
  21298. "type": "string"
  21299. },
  21300. "goodsid": {
  21301. "description": "商品ID(自增ID SEQ_GOODS)",
  21302. "type": "integer"
  21303. },
  21304. "goodsname": {
  21305. "description": "商品名称",
  21306. "type": "string"
  21307. },
  21308. "hotindex": {
  21309. "description": "景点热度",
  21310. "type": "integer"
  21311. },
  21312. "last": {
  21313. "description": "现价",
  21314. "type": "number"
  21315. },
  21316. "marketid": {
  21317. "description": "所属市场ID",
  21318. "type": "integer"
  21319. },
  21320. "picurls": {
  21321. "description": "介绍图片[多张用逗号分隔]",
  21322. "type": "string"
  21323. },
  21324. "quoteminunit": {
  21325. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21326. "type": "integer"
  21327. },
  21328. "trademode": {
  21329. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21330. "type": "integer"
  21331. },
  21332. "videourls": {
  21333. "description": "介绍视频[多张用逗号分隔]",
  21334. "type": "string"
  21335. }
  21336. }
  21337. },
  21338. "models.HybsMyBuyOrderDetail": {
  21339. "type": "object",
  21340. "required": [
  21341. "accountid",
  21342. "buyorsell",
  21343. "goodscode",
  21344. "goodsid",
  21345. "goodsname",
  21346. "marketid",
  21347. "orderid",
  21348. "orderqty",
  21349. "ordertime",
  21350. "trademode"
  21351. ],
  21352. "properties": {
  21353. "accountid": {
  21354. "description": "账户ID[报价币种]",
  21355. "type": "integer"
  21356. },
  21357. "agreeunit": {
  21358. "description": "合约单位",
  21359. "type": "number"
  21360. },
  21361. "buyorsell": {
  21362. "description": "买卖 - 0:买 1:卖",
  21363. "type": "integer"
  21364. },
  21365. "cancelqty": {
  21366. "description": "撤单数量",
  21367. "type": "integer"
  21368. },
  21369. "currencysign": {
  21370. "description": "货币符号",
  21371. "type": "string"
  21372. },
  21373. "decimalplace": {
  21374. "description": "报价小数位",
  21375. "type": "integer"
  21376. },
  21377. "goodscode": {
  21378. "description": "商品代码(内部)",
  21379. "type": "string"
  21380. },
  21381. "goodsid": {
  21382. "description": "商品ID",
  21383. "type": "integer"
  21384. },
  21385. "goodsname": {
  21386. "description": "商品名称",
  21387. "type": "string"
  21388. },
  21389. "listingselecttype": {
  21390. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21391. "type": "integer"
  21392. },
  21393. "marketid": {
  21394. "description": "市场ID",
  21395. "type": "integer"
  21396. },
  21397. "mybuystatus": {
  21398. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21399. "type": "integer"
  21400. },
  21401. "orderamount": {
  21402. "description": "委托金额",
  21403. "type": "number"
  21404. },
  21405. "orderid": {
  21406. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21407. "type": "string"
  21408. },
  21409. "orderprice": {
  21410. "description": "委托价格",
  21411. "type": "number"
  21412. },
  21413. "orderqty": {
  21414. "description": "委托数量",
  21415. "type": "integer"
  21416. },
  21417. "orderstatus": {
  21418. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21419. "type": "integer"
  21420. },
  21421. "ordertime": {
  21422. "description": "委托时间",
  21423. "type": "string"
  21424. },
  21425. "picurls1": {
  21426. "description": "预售商品介绍图片[多张用逗号分隔]",
  21427. "type": "string"
  21428. },
  21429. "picurls2": {
  21430. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21431. "type": "string"
  21432. },
  21433. "trademode": {
  21434. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21435. "type": "integer"
  21436. },
  21437. "tradeqty": {
  21438. "description": "成交数量",
  21439. "type": "integer"
  21440. },
  21441. "vendorname1": {
  21442. "description": "预售商品供应商名称",
  21443. "type": "string"
  21444. },
  21445. "vendorname2": {
  21446. "description": "挂牌商品供应商名称",
  21447. "type": "string"
  21448. }
  21449. }
  21450. },
  21451. "models.Loginaccount": {
  21452. "type": "object",
  21453. "required": [
  21454. "loginid"
  21455. ],
  21456. "properties": {
  21457. "canoutin": {
  21458. "description": "是否可出入金 - 0:不可 1:可",
  21459. "type": "integer"
  21460. },
  21461. "clientroleid": {
  21462. "description": "终端角色ID",
  21463. "type": "integer"
  21464. },
  21465. "haslogined": {
  21466. "description": "是否已登录 - 0:未登录 1:已登录",
  21467. "type": "integer"
  21468. },
  21469. "hasupdatedpwd": {
  21470. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21471. "type": "integer"
  21472. },
  21473. "lastloginip": {
  21474. "description": "最新登录地址",
  21475. "type": "string"
  21476. },
  21477. "lastloginmode": {
  21478. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21479. "type": "integer"
  21480. },
  21481. "lastloginremark": {
  21482. "description": "最新登录描述",
  21483. "type": "string"
  21484. },
  21485. "lastlogintime": {
  21486. "description": "最新登录时间",
  21487. "type": "string"
  21488. },
  21489. "logincode": {
  21490. "description": "登录代码",
  21491. "type": "string"
  21492. },
  21493. "loginfailnum": {
  21494. "description": "连续登录失败次数(登录成功时清零)",
  21495. "type": "integer"
  21496. },
  21497. "loginid": {
  21498. "description": "登陆账号",
  21499. "type": "integer"
  21500. },
  21501. "loginport": {
  21502. "description": "最新登录端口",
  21503. "type": "integer"
  21504. },
  21505. "loginstatus": {
  21506. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21507. "type": "integer"
  21508. },
  21509. "loginusertype": {
  21510. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21511. "type": "integer"
  21512. },
  21513. "modifierid": {
  21514. "description": "修改人",
  21515. "type": "integer"
  21516. },
  21517. "modifytime": {
  21518. "description": "修改时间",
  21519. "type": "string"
  21520. },
  21521. "pwdwrongcount": {
  21522. "description": "密码错误次数",
  21523. "type": "integer"
  21524. },
  21525. "taaccountrighttype": {
  21526. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21527. "type": "integer"
  21528. },
  21529. "unfreezetime": {
  21530. "description": "账户解冻时间",
  21531. "type": "string"
  21532. },
  21533. "userid": {
  21534. "description": "用户ID",
  21535. "type": "integer"
  21536. }
  21537. }
  21538. },
  21539. "models.MainAccountInfo": {
  21540. "type": "object",
  21541. "properties": {
  21542. "accountid": {
  21543. "description": "账号id",
  21544. "type": "string"
  21545. },
  21546. "accountname": {
  21547. "description": "账号名称(taaccount表中的名称)",
  21548. "type": "string"
  21549. },
  21550. "appid": {
  21551. "description": "AppID",
  21552. "type": "string"
  21553. },
  21554. "authcode": {
  21555. "description": "授权码",
  21556. "type": "string"
  21557. },
  21558. "brokerid": {
  21559. "description": "经纪商id",
  21560. "type": "string"
  21561. },
  21562. "fcid": {
  21563. "description": "期货公司id",
  21564. "type": "integer"
  21565. },
  21566. "fcname": {
  21567. "description": "期货公司代码",
  21568. "type": "string"
  21569. },
  21570. "hedgeaccountcode": {
  21571. "description": "外部账号代码(主账号登录代码)",
  21572. "type": "string"
  21573. },
  21574. "hedgeaccountpwd": {
  21575. "description": "密码",
  21576. "type": "string"
  21577. },
  21578. "ismain": {
  21579. "description": "是否主账号",
  21580. "type": "integer"
  21581. },
  21582. "relateduserid": {
  21583. "description": "关联用户id",
  21584. "type": "integer"
  21585. }
  21586. }
  21587. },
  21588. "models.Market": {
  21589. "type": "object",
  21590. "required": [
  21591. "marketid",
  21592. "marketstatus",
  21593. "openmethod",
  21594. "reckonpricealgorithm",
  21595. "trademode",
  21596. "tradeproperty"
  21597. ],
  21598. "properties": {
  21599. "auctionwrtype": {
  21600. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21601. "type": "integer"
  21602. },
  21603. "canacceptquote": {
  21604. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21605. "type": "integer"
  21606. },
  21607. "cangoodsexercise": {
  21608. "description": "[期权]是否可现货行权- 0:否 1:是",
  21609. "type": "integer"
  21610. },
  21611. "cangoodsexercisetype": {
  21612. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21613. "type": "integer"
  21614. },
  21615. "canmanualquotestrike": {
  21616. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21617. "type": "integer"
  21618. },
  21619. "canmutistage": {
  21620. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21621. "type": "integer"
  21622. },
  21623. "canpreexercise": {
  21624. "description": "[期权]是否可预申报- 0:否 1:是",
  21625. "type": "integer"
  21626. },
  21627. "clearinterval": {
  21628. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21629. "type": "integer"
  21630. },
  21631. "contracttmp": {
  21632. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21633. "type": "string"
  21634. },
  21635. "exchareaid": {
  21636. "description": "所属交易所,可以没有",
  21637. "type": "integer"
  21638. },
  21639. "goodstype": {
  21640. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21641. "type": "integer"
  21642. },
  21643. "hasrebate": {
  21644. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21645. "type": "integer"
  21646. },
  21647. "hastradecredit": {
  21648. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21649. "type": "integer"
  21650. },
  21651. "haswr": {
  21652. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21653. "type": "integer"
  21654. },
  21655. "isdeductmargin": {
  21656. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21657. "type": "integer"
  21658. },
  21659. "isrecordsource": {
  21660. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21661. "type": "integer"
  21662. },
  21663. "isreleasemargin": {
  21664. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21665. "type": "integer"
  21666. },
  21667. "marginformula": {
  21668. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21669. "type": "integer"
  21670. },
  21671. "marginformula2": {
  21672. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21673. "type": "integer"
  21674. },
  21675. "marketid": {
  21676. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21677. "type": "integer"
  21678. },
  21679. "marketname": {
  21680. "description": "市场名称",
  21681. "type": "string"
  21682. },
  21683. "marketserviceid": {
  21684. "description": "市场服务ID",
  21685. "type": "integer"
  21686. },
  21687. "marketstatus": {
  21688. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21689. "type": "integer"
  21690. },
  21691. "markettype": {
  21692. "description": "市场类型- 1:非交易服务 2:交易服务",
  21693. "type": "integer"
  21694. },
  21695. "matchermode": {
  21696. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21697. "type": "integer"
  21698. },
  21699. "openmethod": {
  21700. "description": "开盘模式 - 0 自动 1手动",
  21701. "type": "integer"
  21702. },
  21703. "otcuserid": {
  21704. "description": "场外期权做市商[场外期权]",
  21705. "type": "integer"
  21706. },
  21707. "outersynctime": {
  21708. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21709. "type": "string"
  21710. },
  21711. "pendingflag": {
  21712. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21713. "type": "integer"
  21714. },
  21715. "pendingtime": {
  21716. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21717. "type": "string"
  21718. },
  21719. "performancetempid": {
  21720. "description": "履约计划模板ID - 作废",
  21721. "type": "integer"
  21722. },
  21723. "premiumquotemode": {
  21724. "description": "权利金报价方式 - 1:自动 2:手动",
  21725. "type": "integer"
  21726. },
  21727. "rebateratio": {
  21728. "description": "返利比率[竞价式]",
  21729. "type": "number"
  21730. },
  21731. "reckonorder": {
  21732. "description": "结算顺序",
  21733. "type": "integer"
  21734. },
  21735. "reckonpricealgorithm": {
  21736. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21737. "type": "integer"
  21738. },
  21739. "reckonpriceparam": {
  21740. "description": "结算价参数",
  21741. "type": "integer"
  21742. },
  21743. "reckontime": {
  21744. "description": "结算时间[通道交易-对冲](HH:mm)",
  21745. "type": "string"
  21746. },
  21747. "roleprioritytype": {
  21748. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21749. "type": "integer"
  21750. },
  21751. "selllistingauditflag": {
  21752. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21753. "type": "integer"
  21754. },
  21755. "trademarkettype": {
  21756. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21757. "type": "integer"
  21758. },
  21759. "trademode": {
  21760. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21761. "type": "integer"
  21762. },
  21763. "tradeproperty": {
  21764. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21765. "type": "integer"
  21766. },
  21767. "tradetype": {
  21768. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21769. "type": "integer"
  21770. }
  21771. }
  21772. },
  21773. "models.Marketrun": {
  21774. "type": "object",
  21775. "required": [
  21776. "marketid",
  21777. "nexttradedate",
  21778. "reckonflag",
  21779. "runstatus",
  21780. "tradedate",
  21781. "tradedate2"
  21782. ],
  21783. "properties": {
  21784. "afternexttradedate": {
  21785. "description": "下下交易日",
  21786. "type": "string"
  21787. },
  21788. "clearquoteflag": {
  21789. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21790. "type": "integer"
  21791. },
  21792. "lastreckondate": {
  21793. "description": "最新交易日(结算成功)",
  21794. "type": "string"
  21795. },
  21796. "machinedate": {
  21797. "description": "机器时间",
  21798. "type": "string"
  21799. },
  21800. "manualflag": {
  21801. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21802. "type": "integer"
  21803. },
  21804. "marketid": {
  21805. "description": "市场ID",
  21806. "type": "integer"
  21807. },
  21808. "nexttradedate": {
  21809. "description": "下一交易日",
  21810. "type": "string"
  21811. },
  21812. "pretradedate": {
  21813. "description": "上一交易日",
  21814. "type": "string"
  21815. },
  21816. "reckonflag": {
  21817. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21818. "type": "integer"
  21819. },
  21820. "runstatus": {
  21821. "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.今日免清算",
  21822. "type": "integer"
  21823. },
  21824. "sectionid": {
  21825. "description": "时间段号[多时段时用]",
  21826. "type": "integer"
  21827. },
  21828. "tradedate": {
  21829. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21830. "type": "string"
  21831. },
  21832. "tradedate2": {
  21833. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21834. "type": "string"
  21835. },
  21836. "updatetime": {
  21837. "description": "更新时间",
  21838. "type": "string"
  21839. }
  21840. }
  21841. },
  21842. "models.Messageboard": {
  21843. "type": "object",
  21844. "required": [
  21845. "messageboardid"
  21846. ],
  21847. "properties": {
  21848. "contactnum": {
  21849. "description": "联系电话",
  21850. "type": "string"
  21851. },
  21852. "createtime": {
  21853. "description": "创建时间",
  21854. "type": "string"
  21855. },
  21856. "message": {
  21857. "description": "留言信息",
  21858. "type": "string"
  21859. },
  21860. "messageboardid": {
  21861. "description": "留言簿ID(SEQ_MessageBoard)",
  21862. "type": "integer"
  21863. },
  21864. "userid": {
  21865. "description": "用户ID",
  21866. "type": "integer"
  21867. }
  21868. }
  21869. },
  21870. "models.MyCoupon": {
  21871. "type": "object",
  21872. "required": [
  21873. "accountid",
  21874. "coupontypeid"
  21875. ],
  21876. "properties": {
  21877. "accountid": {
  21878. "description": "资金账户ID",
  21879. "type": "integer"
  21880. },
  21881. "areauserid": {
  21882. "description": "所属机构",
  21883. "type": "integer"
  21884. },
  21885. "conditionvalue": {
  21886. "description": "条件阈值(可为0)",
  21887. "type": "number"
  21888. },
  21889. "couponcategroy": {
  21890. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21891. "type": "integer"
  21892. },
  21893. "couponname": {
  21894. "description": "优惠券名称",
  21895. "type": "string"
  21896. },
  21897. "coupontypeid": {
  21898. "description": "优惠券类型ID",
  21899. "type": "string"
  21900. },
  21901. "couponvalue": {
  21902. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21903. "type": "number"
  21904. },
  21905. "curfreezeqty": {
  21906. "description": "期末冻结数量",
  21907. "type": "integer"
  21908. },
  21909. "curqty": {
  21910. "description": "期末数量",
  21911. "type": "integer"
  21912. },
  21913. "isgeneral": {
  21914. "description": "是否通用券 - 0:否 1:是",
  21915. "type": "integer"
  21916. },
  21917. "isunusable": {
  21918. "description": "是否不可用",
  21919. "type": "boolean"
  21920. },
  21921. "limitedflag": {
  21922. "description": "是否指定商品 - 0:不限 1:限制",
  21923. "type": "integer"
  21924. },
  21925. "limitedgoodsids": {
  21926. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21927. "type": "string"
  21928. },
  21929. "orifreezeqty": {
  21930. "description": "期初冻结数量",
  21931. "type": "integer"
  21932. },
  21933. "oriqty": {
  21934. "description": "期初数量",
  21935. "type": "integer"
  21936. },
  21937. "reasontype": {
  21938. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21939. "type": "integer"
  21940. },
  21941. "todaydecrease": {
  21942. "description": "今日减少",
  21943. "type": "integer"
  21944. },
  21945. "todayincrease": {
  21946. "description": "今日增加",
  21947. "type": "integer"
  21948. },
  21949. "userid": {
  21950. "description": "用户ID",
  21951. "type": "integer"
  21952. },
  21953. "userscope": {
  21954. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21955. "type": "string"
  21956. }
  21957. }
  21958. },
  21959. "models.MyCouponHold": {
  21960. "type": "object",
  21961. "required": [
  21962. "couponholdid"
  21963. ],
  21964. "properties": {
  21965. "accountid": {
  21966. "description": "资金账户ID",
  21967. "type": "integer"
  21968. },
  21969. "conditionvalue": {
  21970. "description": "条件阈值(可为0)",
  21971. "type": "number"
  21972. },
  21973. "couponcategroy": {
  21974. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21975. "type": "integer"
  21976. },
  21977. "couponholdid": {
  21978. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21979. "type": "string"
  21980. },
  21981. "couponname": {
  21982. "description": "优惠券名称",
  21983. "type": "string"
  21984. },
  21985. "coupontypeid": {
  21986. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21987. "type": "string"
  21988. },
  21989. "couponvalue": {
  21990. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21991. "type": "number"
  21992. },
  21993. "createtime": {
  21994. "description": "创建时间",
  21995. "type": "string"
  21996. },
  21997. "enddate": {
  21998. "description": "结束日期",
  21999. "type": "string"
  22000. },
  22001. "giveapplyid": {
  22002. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22003. "type": "integer"
  22004. },
  22005. "holdstatus": {
  22006. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22007. "type": "integer"
  22008. },
  22009. "isgeneral": {
  22010. "description": "是否通用券 - 0:否 1:是",
  22011. "type": "integer"
  22012. },
  22013. "limitedflag": {
  22014. "description": "是否指定商品 - 0:不限 1:限制",
  22015. "type": "integer"
  22016. },
  22017. "limitedgoodsids": {
  22018. "description": "指定商品IDs[逗号分隔]",
  22019. "type": "string"
  22020. },
  22021. "qty": {
  22022. "description": "数量(按1平铺)",
  22023. "type": "integer"
  22024. },
  22025. "startdate": {
  22026. "description": "开始日期",
  22027. "type": "string"
  22028. },
  22029. "userid": {
  22030. "description": "用户ID",
  22031. "type": "integer"
  22032. },
  22033. "userscope": {
  22034. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22035. "type": "string"
  22036. }
  22037. }
  22038. },
  22039. "models.MyUsedCoupon": {
  22040. "type": "object",
  22041. "required": [
  22042. "coupontypeid",
  22043. "orderid"
  22044. ],
  22045. "properties": {
  22046. "accountid": {
  22047. "description": "资金账户ID(买方)",
  22048. "type": "integer"
  22049. },
  22050. "conditionvalue": {
  22051. "description": "条件阈值(可为0)",
  22052. "type": "number"
  22053. },
  22054. "couponcategroy": {
  22055. "description": "种类 - 1:现金券 2:折扣券",
  22056. "type": "integer"
  22057. },
  22058. "couponname": {
  22059. "description": "优惠券名称",
  22060. "type": "string"
  22061. },
  22062. "coupontypeid": {
  22063. "description": "优惠券类型ID(买方)",
  22064. "type": "string"
  22065. },
  22066. "couponvalue": {
  22067. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22068. "type": "number"
  22069. },
  22070. "createtime": {
  22071. "description": "创建时间",
  22072. "type": "string"
  22073. },
  22074. "goodsid": {
  22075. "description": "商品ID",
  22076. "type": "integer"
  22077. },
  22078. "handlestatus": {
  22079. "description": "处理状态",
  22080. "type": "integer"
  22081. },
  22082. "marketid": {
  22083. "description": "市场ID",
  22084. "type": "integer"
  22085. },
  22086. "offamount": {
  22087. "description": "优惠金额",
  22088. "type": "number"
  22089. },
  22090. "orderid": {
  22091. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22092. "type": "string"
  22093. },
  22094. "sellaccountid": {
  22095. "description": "资金账户ID(卖方)",
  22096. "type": "integer"
  22097. },
  22098. "tradeamount": {
  22099. "description": "成交金额",
  22100. "type": "number"
  22101. },
  22102. "tradeid": {
  22103. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22104. "type": "string"
  22105. },
  22106. "usedqty": {
  22107. "description": "使用数量",
  22108. "type": "integer"
  22109. }
  22110. }
  22111. },
  22112. "models.OperationPrimaryMenu": {
  22113. "type": "object",
  22114. "properties": {
  22115. "Children": {
  22116. "description": "二级功能菜单",
  22117. "type": "array",
  22118. "items": {
  22119. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22120. }
  22121. },
  22122. "Key": {
  22123. "description": "菜单KEY",
  22124. "type": "string"
  22125. },
  22126. "Label": {
  22127. "description": "菜单标题",
  22128. "type": "string"
  22129. }
  22130. }
  22131. },
  22132. "models.OperationSecondaryMenu": {
  22133. "type": "object",
  22134. "properties": {
  22135. "Key": {
  22136. "description": "菜单KEY",
  22137. "type": "string"
  22138. },
  22139. "Label": {
  22140. "description": "菜单标题",
  22141. "type": "string"
  22142. },
  22143. "TabList": {
  22144. "description": "三级功能菜单",
  22145. "type": "array",
  22146. "items": {
  22147. "$ref": "#/definitions/models.OperationTabMenu"
  22148. }
  22149. }
  22150. }
  22151. },
  22152. "models.OperationTabMenu": {
  22153. "type": "object",
  22154. "properties": {
  22155. "Key": {
  22156. "description": "菜单KEY",
  22157. "type": "string"
  22158. },
  22159. "Label": {
  22160. "description": "菜单标题",
  22161. "type": "string"
  22162. }
  22163. }
  22164. },
  22165. "models.PendingAuditBizModel": {
  22166. "type": "object",
  22167. "properties": {
  22168. "accountid": {
  22169. "description": "现货账户",
  22170. "type": "string"
  22171. },
  22172. "areaname": {
  22173. "description": "所属部门",
  22174. "type": "string"
  22175. },
  22176. "bizid": {
  22177. "description": "业务ID",
  22178. "type": "string"
  22179. },
  22180. "bizname": {
  22181. "description": "业务名称",
  22182. "type": "string"
  22183. },
  22184. "status": {
  22185. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22186. "type": "integer"
  22187. },
  22188. "type": {
  22189. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22190. "type": "integer"
  22191. }
  22192. }
  22193. },
  22194. "models.QueryErrorInfosRsp": {
  22195. "type": "object",
  22196. "required": [
  22197. "errorid"
  22198. ],
  22199. "properties": {
  22200. "description": {
  22201. "description": "异常描述",
  22202. "type": "string"
  22203. },
  22204. "errorcode": {
  22205. "description": "异常代码",
  22206. "type": "string"
  22207. },
  22208. "errorid": {
  22209. "description": "异常ID",
  22210. "type": "integer"
  22211. },
  22212. "modulecode": {
  22213. "description": "所属模块",
  22214. "type": "string"
  22215. },
  22216. "operatecode": {
  22217. "description": "所属操作",
  22218. "type": "string"
  22219. },
  22220. "rownumber": {
  22221. "description": "行号",
  22222. "type": "string"
  22223. }
  22224. }
  22225. },
  22226. "models.QueryHedgeOrderDetailRsp": {
  22227. "type": "object",
  22228. "properties": {
  22229. "accountid": {
  22230. "description": "账户ID",
  22231. "type": "integer"
  22232. },
  22233. "buyorsell": {
  22234. "description": "买卖 - 0:买 1:卖",
  22235. "type": "integer"
  22236. },
  22237. "cancellogincode": {
  22238. "description": "撤单人",
  22239. "type": "string"
  22240. },
  22241. "channelbuildtype": {
  22242. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22243. "type": "integer"
  22244. },
  22245. "channelinnerorderstatus": {
  22246. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22247. "type": "integer"
  22248. },
  22249. "channeloperatetype": {
  22250. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22251. "type": "integer"
  22252. },
  22253. "closetype": {
  22254. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22255. "type": "integer"
  22256. },
  22257. "curexchangerate": {
  22258. "description": "当前汇率",
  22259. "type": "number"
  22260. },
  22261. "exchangefullname": {
  22262. "description": "外部交易所全称",
  22263. "type": "string"
  22264. },
  22265. "goodscode": {
  22266. "description": "商品代码(内部)",
  22267. "type": "string"
  22268. },
  22269. "goodsid": {
  22270. "description": "商品ID",
  22271. "type": "integer"
  22272. },
  22273. "goodsname": {
  22274. "description": "商品名称",
  22275. "type": "string"
  22276. },
  22277. "marketid": {
  22278. "description": "市场ID",
  22279. "type": "integer"
  22280. },
  22281. "openfreezemargin": {
  22282. "description": "冻结保证金(冻结交易金额)",
  22283. "type": "number"
  22284. },
  22285. "orderid": {
  22286. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22287. "type": "string"
  22288. },
  22289. "orderlogincode": {
  22290. "description": "委托人",
  22291. "type": "string"
  22292. },
  22293. "orderprice": {
  22294. "description": "委托价格(账户)",
  22295. "type": "number"
  22296. },
  22297. "orderqty": {
  22298. "description": "委托数量",
  22299. "type": "integer"
  22300. },
  22301. "ordertime": {
  22302. "description": "委托时间",
  22303. "type": "string"
  22304. },
  22305. "pricemode": {
  22306. "description": "取价方式 - 1:市价 2: 限价",
  22307. "type": "integer"
  22308. },
  22309. "tradedate": {
  22310. "description": "交易日(yyyyMMdd)",
  22311. "type": "string"
  22312. },
  22313. "tradeqty": {
  22314. "description": "成交数量",
  22315. "type": "integer"
  22316. }
  22317. }
  22318. },
  22319. "models.QueryHedgeTradeDetailRsp": {
  22320. "type": "object",
  22321. "properties": {
  22322. "accountid": {
  22323. "description": "账号ID",
  22324. "type": "integer"
  22325. },
  22326. "buyorsell": {
  22327. "description": "方向 - 0:买 1:卖",
  22328. "type": "integer"
  22329. },
  22330. "channelbuildtype": {
  22331. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22332. "type": "integer"
  22333. },
  22334. "closecharge": {
  22335. "description": "平仓手续费(账户)",
  22336. "type": "number"
  22337. },
  22338. "closecharge2": {
  22339. "description": "平仓手续费(商品)",
  22340. "type": "number"
  22341. },
  22342. "closepl": {
  22343. "description": "平仓盈亏(账户)",
  22344. "type": "number"
  22345. },
  22346. "closepl2": {
  22347. "description": "平仓盈亏(商品)",
  22348. "type": "number"
  22349. },
  22350. "closepl3": {
  22351. "description": "平仓盈亏(账户)(逐笔)",
  22352. "type": "number"
  22353. },
  22354. "closepl4": {
  22355. "description": "平仓盈亏(商品)(逐笔)",
  22356. "type": "number"
  22357. },
  22358. "closetype": {
  22359. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22360. "type": "integer"
  22361. },
  22362. "curexchangerate": {
  22363. "description": "当前汇率",
  22364. "type": "number"
  22365. },
  22366. "exchangefullname": {
  22367. "description": "外部交易所全称",
  22368. "type": "string"
  22369. },
  22370. "goodscode": {
  22371. "description": "商品代码(内部)",
  22372. "type": "string"
  22373. },
  22374. "goodsid": {
  22375. "description": "商品ID",
  22376. "type": "integer"
  22377. },
  22378. "goodsname": {
  22379. "description": "商品名称",
  22380. "type": "string"
  22381. },
  22382. "marketid": {
  22383. "description": "市场ID",
  22384. "type": "integer"
  22385. },
  22386. "opencharge": {
  22387. "description": "建仓手续费(账户)",
  22388. "type": "number"
  22389. },
  22390. "opencharge2": {
  22391. "description": "建仓手续费(商品)",
  22392. "type": "number"
  22393. },
  22394. "orderid": {
  22395. "description": "委托单号",
  22396. "type": "string"
  22397. },
  22398. "orderlogincode": {
  22399. "description": "委托人",
  22400. "type": "string"
  22401. },
  22402. "tradeamount": {
  22403. "description": "成交金额(账户)",
  22404. "type": "number"
  22405. },
  22406. "tradedate": {
  22407. "description": "交易日(yyyyMMdd)",
  22408. "type": "string"
  22409. },
  22410. "tradeid": {
  22411. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22412. "type": "string"
  22413. },
  22414. "tradeprice": {
  22415. "description": "成交价格",
  22416. "type": "number"
  22417. },
  22418. "tradeqty": {
  22419. "description": "成交数量",
  22420. "type": "integer"
  22421. },
  22422. "tradetime": {
  22423. "description": "成交时间",
  22424. "type": "string"
  22425. },
  22426. "tradetype": {
  22427. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22428. "type": "integer"
  22429. }
  22430. }
  22431. },
  22432. "models.QuotePrimaryMenu": {
  22433. "type": "object",
  22434. "properties": {
  22435. "Index": {
  22436. "description": "序号",
  22437. "type": "integer"
  22438. },
  22439. "Key": {
  22440. "description": "键名",
  22441. "type": "string"
  22442. },
  22443. "Name": {
  22444. "description": "菜单名称",
  22445. "type": "string"
  22446. },
  22447. "SubMenus": {
  22448. "description": "子菜单",
  22449. "type": "array",
  22450. "items": {
  22451. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22452. }
  22453. },
  22454. "SubTitleType": {
  22455. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22456. "type": "integer"
  22457. },
  22458. "TradeModes": {
  22459. "description": "包含市场交易类型",
  22460. "type": "string"
  22461. }
  22462. }
  22463. },
  22464. "models.QuoteSecondaryMenu": {
  22465. "type": "object",
  22466. "properties": {
  22467. "ExExchangeCode": {
  22468. "description": "外部交易所代码",
  22469. "type": "string"
  22470. },
  22471. "ExExchangeID": {
  22472. "description": "外部交易所ID",
  22473. "type": "integer"
  22474. },
  22475. "GoodsGroupIDs": {
  22476. "description": "商品组ID列表",
  22477. "type": "array",
  22478. "items": {
  22479. "type": "integer"
  22480. }
  22481. },
  22482. "Index": {
  22483. "description": "序号",
  22484. "type": "integer"
  22485. },
  22486. "MarketID": {
  22487. "description": "市场ID",
  22488. "type": "integer"
  22489. },
  22490. "MenuTitle": {
  22491. "description": "菜单标题(市场名称或外部交易所名称)",
  22492. "type": "string"
  22493. },
  22494. "TradeMode": {
  22495. "description": "交易模式",
  22496. "type": "integer"
  22497. }
  22498. }
  22499. },
  22500. "models.RelatedGoodsEx": {
  22501. "type": "object",
  22502. "properties": {
  22503. "goodscode": {
  22504. "description": "商品代码",
  22505. "type": "string"
  22506. },
  22507. "goodsid": {
  22508. "description": "商品id",
  22509. "type": "integer"
  22510. },
  22511. "goodsname": {
  22512. "description": "商品名称",
  22513. "type": "string"
  22514. }
  22515. }
  22516. },
  22517. "models.SearchGoods": {
  22518. "type": "object",
  22519. "required": [
  22520. "goodscode",
  22521. "goodsid",
  22522. "goodsname",
  22523. "marketid",
  22524. "trademode"
  22525. ],
  22526. "properties": {
  22527. "goodscode": {
  22528. "description": "商品代码(内部)",
  22529. "type": "string"
  22530. },
  22531. "goodsid": {
  22532. "description": "商品ID(自增ID SEQ_GOODS)",
  22533. "type": "integer"
  22534. },
  22535. "goodsname": {
  22536. "description": "商品名称",
  22537. "type": "string"
  22538. },
  22539. "marketid": {
  22540. "description": "所属市场ID",
  22541. "type": "integer"
  22542. },
  22543. "marketname": {
  22544. "description": "市场名称",
  22545. "type": "string"
  22546. },
  22547. "trademode": {
  22548. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22549. "type": "integer"
  22550. }
  22551. }
  22552. },
  22553. "models.Systemparam": {
  22554. "type": "object",
  22555. "required": [
  22556. "paramcode"
  22557. ],
  22558. "properties": {
  22559. "loginid": {
  22560. "description": "更新用户账号,登录账号",
  22561. "type": "string"
  22562. },
  22563. "modifyflag": {
  22564. "description": "修改标志0 不允许修改 1 允许修改",
  22565. "type": "integer"
  22566. },
  22567. "paramcode": {
  22568. "description": "参数代码",
  22569. "type": "string"
  22570. },
  22571. "paramname": {
  22572. "description": "参数名",
  22573. "type": "string"
  22574. },
  22575. "paramtype": {
  22576. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22577. "type": "integer"
  22578. },
  22579. "paramvalue": {
  22580. "description": "参数值",
  22581. "type": "string"
  22582. },
  22583. "paramvalue2": {
  22584. "description": "参数值(CLOB)",
  22585. "type": "string"
  22586. },
  22587. "regexpress": {
  22588. "description": "正则表达式",
  22589. "type": "string"
  22590. },
  22591. "remark": {
  22592. "description": "备注",
  22593. "type": "string"
  22594. },
  22595. "serverip": {
  22596. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22597. "type": "string"
  22598. },
  22599. "showflag": {
  22600. "description": "是否显示0 不显示 1 显示",
  22601. "type": "integer"
  22602. },
  22603. "updatetime": {
  22604. "description": "更新时间",
  22605. "type": "string"
  22606. },
  22607. "userid": {
  22608. "description": "更新用户ID",
  22609. "type": "integer"
  22610. }
  22611. }
  22612. },
  22613. "models.Szdz3convertconfig": {
  22614. "type": "object",
  22615. "required": [
  22616. "converttype",
  22617. "innergoodsid",
  22618. "outergoodscode"
  22619. ],
  22620. "properties": {
  22621. "canin": {
  22622. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22623. "type": "integer"
  22624. },
  22625. "canout": {
  22626. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22627. "type": "integer"
  22628. },
  22629. "converttype": {
  22630. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22631. "type": "integer"
  22632. },
  22633. "createtime": {
  22634. "description": "创建时间",
  22635. "type": "string"
  22636. },
  22637. "creatorid": {
  22638. "description": "创建人",
  22639. "type": "integer"
  22640. },
  22641. "daymaxvalue": {
  22642. "description": "当日最大转入限制",
  22643. "type": "number"
  22644. },
  22645. "freezedays": {
  22646. "description": "冻结天数 [5:花生米转交易]",
  22647. "type": "integer"
  22648. },
  22649. "innergoodsid": {
  22650. "description": "内部商品ID[交易]",
  22651. "type": "integer"
  22652. },
  22653. "inratio": {
  22654. "description": "目标值",
  22655. "type": "integer"
  22656. },
  22657. "modifierid": {
  22658. "description": "修改人",
  22659. "type": "integer"
  22660. },
  22661. "modifytime": {
  22662. "description": "修改时间",
  22663. "type": "string"
  22664. },
  22665. "outergoodscode": {
  22666. "description": "外部商品代码[JD\\PD]",
  22667. "type": "string"
  22668. },
  22669. "outratio": {
  22670. "description": "源值",
  22671. "type": "integer"
  22672. },
  22673. "pddecimalplace": {
  22674. "description": "PD小数位",
  22675. "type": "integer"
  22676. },
  22677. "timemaxvalue": {
  22678. "description": "单次最大转入限制",
  22679. "type": "number"
  22680. },
  22681. "timeminvalue": {
  22682. "description": "单次最小转入限制",
  22683. "type": "number"
  22684. }
  22685. }
  22686. },
  22687. "models.Szdz3searchwhitelist": {
  22688. "type": "object",
  22689. "required": [
  22690. "userid"
  22691. ],
  22692. "properties": {
  22693. "createtime": {
  22694. "description": "创建时间",
  22695. "type": "string"
  22696. },
  22697. "creatorid": {
  22698. "description": "创建人",
  22699. "type": "integer"
  22700. },
  22701. "modifierid": {
  22702. "description": "修改人",
  22703. "type": "integer"
  22704. },
  22705. "modifytime": {
  22706. "description": "修改时间",
  22707. "type": "string"
  22708. },
  22709. "userid": {
  22710. "description": "用户ID",
  22711. "type": "integer"
  22712. }
  22713. }
  22714. },
  22715. "models.Taaccount": {
  22716. "type": "object",
  22717. "required": [
  22718. "accountid",
  22719. "userid"
  22720. ],
  22721. "properties": {
  22722. "accountflag": {
  22723. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22724. "type": "integer"
  22725. },
  22726. "accountid": {
  22727. "description": "资金账户ID",
  22728. "type": "integer"
  22729. },
  22730. "accountname": {
  22731. "description": "账户名称",
  22732. "type": "string"
  22733. },
  22734. "balance": {
  22735. "description": "期初余额",
  22736. "type": "number"
  22737. },
  22738. "capitalbalance": {
  22739. "description": "本金余额[外部子账户实际出入金余额]",
  22740. "type": "number"
  22741. },
  22742. "changeflag": {
  22743. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22744. "type": "integer"
  22745. },
  22746. "changetime": {
  22747. "description": "账户状态变更时间",
  22748. "type": "string"
  22749. },
  22750. "closepl": {
  22751. "description": "今日平仓盈亏",
  22752. "type": "number"
  22753. },
  22754. "creditdecrease": {
  22755. "description": "今日授信减少",
  22756. "type": "number"
  22757. },
  22758. "creditincrease": {
  22759. "description": "今日授信增加",
  22760. "type": "number"
  22761. },
  22762. "currencyid": {
  22763. "description": "货币ID",
  22764. "type": "integer"
  22765. },
  22766. "currentbalance": {
  22767. "description": "期末余额",
  22768. "type": "number"
  22769. },
  22770. "freezecharge": {
  22771. "description": "手续费冻结",
  22772. "type": "number"
  22773. },
  22774. "freezemargin": {
  22775. "description": "冻结保证金",
  22776. "type": "number"
  22777. },
  22778. "fromaccountid": {
  22779. "description": "所属上级账户",
  22780. "type": "integer"
  22781. },
  22782. "inamount": {
  22783. "description": "今日入金金额(包括三方入金)",
  22784. "type": "number"
  22785. },
  22786. "ismain": {
  22787. "description": "是否母账号 0:不是母账户 1:是母账户",
  22788. "type": "integer"
  22789. },
  22790. "ismarketaccount": {
  22791. "description": "是否机构接单账号 0:不是 1:是",
  22792. "type": "integer"
  22793. },
  22794. "isreckonaccount": {
  22795. "description": "是否机构分润账号 0:不是 1:是",
  22796. "type": "integer"
  22797. },
  22798. "mortgagecredit": {
  22799. "description": "授信金额",
  22800. "type": "number"
  22801. },
  22802. "orifreezecharge": {
  22803. "description": "期初手续费冻结",
  22804. "type": "number"
  22805. },
  22806. "orifreezemargin": {
  22807. "description": "期初冻结保证金",
  22808. "type": "number"
  22809. },
  22810. "orimortgagecredit": {
  22811. "description": "期初授信金额",
  22812. "type": "number"
  22813. },
  22814. "oriothercredit": {
  22815. "description": "期初其它授信金额",
  22816. "type": "number"
  22817. },
  22818. "oriotherfreezemargin": {
  22819. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22820. "type": "number"
  22821. },
  22822. "orioutamountfreeze": {
  22823. "description": "期初出金冻结",
  22824. "type": "number"
  22825. },
  22826. "oriusedmargin": {
  22827. "description": "期初占用保证金",
  22828. "type": "number"
  22829. },
  22830. "othercredit": {
  22831. "description": "其它授信金额",
  22832. "type": "number"
  22833. },
  22834. "othercreditdecrease": {
  22835. "description": "今日其它授信减少",
  22836. "type": "number"
  22837. },
  22838. "othercreditincrease": {
  22839. "description": "今日其它授信增加",
  22840. "type": "number"
  22841. },
  22842. "otherfreezemargin": {
  22843. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22844. "type": "number"
  22845. },
  22846. "otherincome": {
  22847. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22848. "type": "number"
  22849. },
  22850. "otherpay": {
  22851. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22852. "type": "number"
  22853. },
  22854. "outamount": {
  22855. "description": "今日出金金额(包括三方出金)",
  22856. "type": "number"
  22857. },
  22858. "outamountfreeze": {
  22859. "description": "出金冻结",
  22860. "type": "number"
  22861. },
  22862. "outthreshold": {
  22863. "description": "出金阈值",
  22864. "type": "number"
  22865. },
  22866. "parentaccountid": {
  22867. "description": "所属根账号",
  22868. "type": "integer"
  22869. },
  22870. "paycharge": {
  22871. "description": "今日手续费支出",
  22872. "type": "number"
  22873. },
  22874. "relatedaccountstatus": {
  22875. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22876. "type": "integer"
  22877. },
  22878. "relateduserid": {
  22879. "description": "关联用户",
  22880. "type": "integer"
  22881. },
  22882. "serivcegroup": {
  22883. "description": "服务分组",
  22884. "type": "integer"
  22885. },
  22886. "signstatus": {
  22887. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22888. "type": "integer"
  22889. },
  22890. "sublevelpath": {
  22891. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22892. "type": "string"
  22893. },
  22894. "taaccounttype": {
  22895. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22896. "type": "integer"
  22897. },
  22898. "thirdinamount": {
  22899. "description": "今日三方入金",
  22900. "type": "number"
  22901. },
  22902. "thirdoutamount": {
  22903. "description": "今日三方出金",
  22904. "type": "number"
  22905. },
  22906. "tradestatus": {
  22907. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22908. "type": "integer"
  22909. },
  22910. "tradestatuschangetime": {
  22911. "description": "激活时间",
  22912. "type": "string"
  22913. },
  22914. "transferamount": {
  22915. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22916. "type": "number"
  22917. },
  22918. "usedmargin": {
  22919. "description": "占用保证金",
  22920. "type": "number"
  22921. },
  22922. "userid": {
  22923. "description": "用户ID",
  22924. "type": "integer"
  22925. }
  22926. }
  22927. },
  22928. "models.Tablecolumnconfig": {
  22929. "type": "object",
  22930. "required": [
  22931. "autoid"
  22932. ],
  22933. "properties": {
  22934. "aligntype": {
  22935. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22936. "type": "integer"
  22937. },
  22938. "autoid": {
  22939. "description": "AutoID",
  22940. "type": "integer"
  22941. },
  22942. "columnfield": {
  22943. "description": "列字段",
  22944. "type": "string"
  22945. },
  22946. "columntitle": {
  22947. "description": "列Title",
  22948. "type": "string"
  22949. },
  22950. "columnwidth": {
  22951. "description": "列宽",
  22952. "type": "string"
  22953. },
  22954. "formatterstring": {
  22955. "description": "格式化字符",
  22956. "type": "string"
  22957. },
  22958. "formattertype": {
  22959. "description": "格式化类型",
  22960. "type": "string"
  22961. },
  22962. "groupname": {
  22963. "description": "表头分组名称",
  22964. "type": "string"
  22965. },
  22966. "isshow": {
  22967. "description": "是否显示 - 0:不显示 1:显示",
  22968. "type": "integer"
  22969. },
  22970. "needsummary": {
  22971. "description": "是否需要汇总 - 0:不需要 1:需要",
  22972. "type": "integer"
  22973. },
  22974. "orderindex": {
  22975. "description": "顺序",
  22976. "type": "integer"
  22977. },
  22978. "remark": {
  22979. "description": "备注",
  22980. "type": "string"
  22981. },
  22982. "summarytype": {
  22983. "description": "汇总类型 - 1:加总 2:最后一个",
  22984. "type": "integer"
  22985. },
  22986. "tablekey": {
  22987. "description": "列表Key",
  22988. "type": "string"
  22989. }
  22990. }
  22991. },
  22992. "models.Useraccount": {
  22993. "type": "object",
  22994. "required": [
  22995. "userid"
  22996. ],
  22997. "properties": {
  22998. "accountname": {
  22999. "description": "账户名称(机构名称)",
  23000. "type": "string"
  23001. },
  23002. "accountstatus": {
  23003. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23004. "type": "integer"
  23005. },
  23006. "auditremark": {
  23007. "description": "审核备注",
  23008. "type": "string"
  23009. },
  23010. "audittime": {
  23011. "description": "审核时间",
  23012. "type": "string"
  23013. },
  23014. "audituserid": {
  23015. "description": "审核人",
  23016. "type": "integer"
  23017. },
  23018. "broker": {
  23019. "description": "所属经纪人ID",
  23020. "type": "integer"
  23021. },
  23022. "canceltime": {
  23023. "description": "销户时间",
  23024. "type": "string"
  23025. },
  23026. "canceluserid": {
  23027. "description": "销户人",
  23028. "type": "integer"
  23029. },
  23030. "createtime": {
  23031. "description": "创建时间",
  23032. "type": "string"
  23033. },
  23034. "creatorid": {
  23035. "description": "创建人",
  23036. "type": "integer"
  23037. },
  23038. "hasauth": {
  23039. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23040. "type": "integer"
  23041. },
  23042. "isanonymous": {
  23043. "description": "是否匿名下单 - 0:否 1:是",
  23044. "type": "integer"
  23045. },
  23046. "maxinvestornum": {
  23047. "description": "最大用户数(经纪会员下投资者个数)",
  23048. "type": "integer"
  23049. },
  23050. "memberuserid": {
  23051. "description": "所属会员ID",
  23052. "type": "integer"
  23053. },
  23054. "modifierid": {
  23055. "description": "修改人",
  23056. "type": "integer"
  23057. },
  23058. "modifyremark": {
  23059. "description": "变更备注",
  23060. "type": "string"
  23061. },
  23062. "modifystatus": {
  23063. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23064. "type": "integer"
  23065. },
  23066. "modifytime": {
  23067. "description": "修改时间",
  23068. "type": "string"
  23069. },
  23070. "parentuserid": {
  23071. "description": "所属机构ID",
  23072. "type": "integer"
  23073. },
  23074. "reckonaccountid": {
  23075. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23076. "type": "integer"
  23077. },
  23078. "refercount": {
  23079. "description": "推荐总人数",
  23080. "type": "integer"
  23081. },
  23082. "refereeuserid": {
  23083. "description": "推荐人ID",
  23084. "type": "integer"
  23085. },
  23086. "refernum": {
  23087. "description": "推荐码",
  23088. "type": "string"
  23089. },
  23090. "subarealevelpath": {
  23091. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23092. "type": "string"
  23093. },
  23094. "userid": {
  23095. "description": "用户ID",
  23096. "type": "integer"
  23097. },
  23098. "usertype": {
  23099. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23100. "type": "integer"
  23101. }
  23102. }
  23103. },
  23104. "models.Userfavoritegoods": {
  23105. "type": "object",
  23106. "required": [
  23107. "goodsid"
  23108. ],
  23109. "properties": {
  23110. "goodsid": {
  23111. "description": "商品ID",
  23112. "type": "integer"
  23113. }
  23114. }
  23115. },
  23116. "models.Userinfo": {
  23117. "type": "object",
  23118. "required": [
  23119. "userid"
  23120. ],
  23121. "properties": {
  23122. "address": {
  23123. "description": "地址",
  23124. "type": "string"
  23125. },
  23126. "attachment1": {
  23127. "description": "附件1",
  23128. "type": "string"
  23129. },
  23130. "attachment2": {
  23131. "description": "附件2",
  23132. "type": "string"
  23133. },
  23134. "bankaccount": {
  23135. "description": "银行帐号 (加密存储)",
  23136. "type": "string"
  23137. },
  23138. "bankaccountname": {
  23139. "description": "收款人名称",
  23140. "type": "string"
  23141. },
  23142. "bankcardfrontphotourl": {
  23143. "description": "银行卡正面照地址",
  23144. "type": "string"
  23145. },
  23146. "bankid": {
  23147. "description": "银行编码",
  23148. "type": "string"
  23149. },
  23150. "bankname": {
  23151. "description": "银行名称",
  23152. "type": "string"
  23153. },
  23154. "biznature": {
  23155. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23156. "type": "integer"
  23157. },
  23158. "bizscope": {
  23159. "description": "企业经营范围(企业)",
  23160. "type": "string"
  23161. },
  23162. "cardbackphotourl": {
  23163. "description": "证件背面图片地址",
  23164. "type": "string"
  23165. },
  23166. "cardfrontphotourl": {
  23167. "description": "证件正面图片地址",
  23168. "type": "string"
  23169. },
  23170. "cardnum": {
  23171. "description": "证件号码(加密存储)",
  23172. "type": "string"
  23173. },
  23174. "cardtypeid": {
  23175. "description": "证件类型ID",
  23176. "type": "integer"
  23177. },
  23178. "cityid": {
  23179. "description": "市",
  23180. "type": "integer"
  23181. },
  23182. "company": {
  23183. "description": "公司(个人)",
  23184. "type": "string"
  23185. },
  23186. "contactname": {
  23187. "description": "联系人",
  23188. "type": "string"
  23189. },
  23190. "countryid": {
  23191. "description": "国家",
  23192. "type": "integer"
  23193. },
  23194. "createtime": {
  23195. "description": "创建时间",
  23196. "type": "string"
  23197. },
  23198. "creatorid": {
  23199. "description": "创建人",
  23200. "type": "integer"
  23201. },
  23202. "customername": {
  23203. "description": "客户名称(企业名称)",
  23204. "type": "string"
  23205. },
  23206. "districtid": {
  23207. "description": "地区",
  23208. "type": "integer"
  23209. },
  23210. "email": {
  23211. "description": "邮件(加密存储)",
  23212. "type": "string"
  23213. },
  23214. "fax": {
  23215. "description": "传真(加密存储)",
  23216. "type": "string"
  23217. },
  23218. "halfbodyphotourl": {
  23219. "description": "半身照地址",
  23220. "type": "string"
  23221. },
  23222. "hasencrypt": {
  23223. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23224. "type": "integer"
  23225. },
  23226. "headurl": {
  23227. "description": "头像地址",
  23228. "type": "string"
  23229. },
  23230. "legalcardbackphotourl": {
  23231. "description": "法人身份证背面照地址",
  23232. "type": "string"
  23233. },
  23234. "legalcardfrontphotourl": {
  23235. "description": "法人身份证正面照地址",
  23236. "type": "string"
  23237. },
  23238. "legalpersonname": {
  23239. "description": "法人姓名(企业)",
  23240. "type": "string"
  23241. },
  23242. "mobile": {
  23243. "description": "手机号码(加密存储)",
  23244. "type": "string"
  23245. },
  23246. "mobile2": {
  23247. "description": "手机号码[明文-尚志]",
  23248. "type": "string"
  23249. },
  23250. "modifierid": {
  23251. "description": "修改人",
  23252. "type": "integer"
  23253. },
  23254. "modifiertime": {
  23255. "description": "修改时间",
  23256. "type": "string"
  23257. },
  23258. "needinvoice": {
  23259. "description": "是否需要发票 - 0:不需要 1:需要",
  23260. "type": "integer"
  23261. },
  23262. "nickname": {
  23263. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  23264. "type": "string"
  23265. },
  23266. "openmode": {
  23267. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  23268. "type": "integer"
  23269. },
  23270. "otherurl": {
  23271. "description": "其它图片地址[使用分号分隔]",
  23272. "type": "string"
  23273. },
  23274. "postalcode": {
  23275. "description": "邮政编码",
  23276. "type": "string"
  23277. },
  23278. "provinceid": {
  23279. "description": "省",
  23280. "type": "integer"
  23281. },
  23282. "qq": {
  23283. "description": "QQ(加密存储",
  23284. "type": "string"
  23285. },
  23286. "remark": {
  23287. "description": "备注",
  23288. "type": "string"
  23289. },
  23290. "sex": {
  23291. "description": "用户性别 0: 女 1: 男",
  23292. "type": "integer"
  23293. },
  23294. "signpdfurl": {
  23295. "description": "签约pdf文件",
  23296. "type": "string"
  23297. },
  23298. "telphone": {
  23299. "description": "联系电话(加密存储)",
  23300. "type": "string"
  23301. },
  23302. "userid": {
  23303. "description": "用户ID",
  23304. "type": "integer"
  23305. },
  23306. "userinfotype": {
  23307. "description": "用户信息类型 - 1:个人 2:企业",
  23308. "type": "integer"
  23309. },
  23310. "userstatus": {
  23311. "description": "用户状态 - 1:正常 2:注销",
  23312. "type": "integer"
  23313. },
  23314. "usertype": {
  23315. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23316. "type": "integer"
  23317. },
  23318. "wechat": {
  23319. "description": "微信(加密存储)",
  23320. "type": "string"
  23321. },
  23322. "wskhinfo": {
  23323. "description": "开户申请信息(JSON)",
  23324. "type": "string"
  23325. }
  23326. }
  23327. },
  23328. "models.WRSConverTDetail": {
  23329. "type": "object",
  23330. "properties": {
  23331. "convertratio": {
  23332. "description": "套保系数",
  23333. "type": "number"
  23334. },
  23335. "deliverygoodscode": {
  23336. "description": "现货商品代码",
  23337. "type": "string"
  23338. },
  23339. "deliverygoodsid": {
  23340. "description": "现货品种ID",
  23341. "type": "integer"
  23342. },
  23343. "deliverygoodsname": {
  23344. "description": "现货商品名称",
  23345. "type": "string"
  23346. },
  23347. "enumdicname": {
  23348. "description": "单位名称",
  23349. "type": "string"
  23350. },
  23351. "goodsunitid": {
  23352. "description": "套保品种单位id",
  23353. "type": "integer"
  23354. },
  23355. "middlegoodscode": {
  23356. "description": "套保品种代码",
  23357. "type": "string"
  23358. },
  23359. "middlegoodsid": {
  23360. "description": "套保品种ID",
  23361. "type": "integer"
  23362. },
  23363. "middlegoodsname": {
  23364. "description": "套保品种名称",
  23365. "type": "string"
  23366. },
  23367. "modifytime": {
  23368. "description": "修改时间",
  23369. "type": "string"
  23370. },
  23371. "wrstandardid": {
  23372. "description": "品类ID",
  23373. "type": "integer"
  23374. }
  23375. }
  23376. },
  23377. "models.WRStandardInfo": {
  23378. "type": "object",
  23379. "required": [
  23380. "wrstandardid"
  23381. ],
  23382. "properties": {
  23383. "areauserid": {
  23384. "description": "所属机构",
  23385. "type": "integer"
  23386. },
  23387. "convertfactor": {
  23388. "description": "标仓系数",
  23389. "type": "number"
  23390. },
  23391. "createtime": {
  23392. "description": "创建时间",
  23393. "type": "string"
  23394. },
  23395. "creatorid": {
  23396. "description": "创建人",
  23397. "type": "integer"
  23398. },
  23399. "deliverygoodsid": {
  23400. "description": "品种ID",
  23401. "type": "integer"
  23402. },
  23403. "deliverygoodsname": {
  23404. "description": "交割商品名称",
  23405. "type": "string"
  23406. },
  23407. "factoryitemjson": {
  23408. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  23409. "type": "string"
  23410. },
  23411. "isvalid": {
  23412. "description": "是否有效 - 0:无效 1:有效",
  23413. "type": "integer"
  23414. },
  23415. "minivalue": {
  23416. "description": "最小变动值",
  23417. "type": "integer"
  23418. },
  23419. "minivaluedp": {
  23420. "description": "最小变动值小数位",
  23421. "type": "integer"
  23422. },
  23423. "realminivalue": {
  23424. "description": "实际最小变动值",
  23425. "type": "integer"
  23426. },
  23427. "realminivaluedp": {
  23428. "description": "实际最小变动值小数位",
  23429. "type": "integer"
  23430. },
  23431. "remark": {
  23432. "description": "备注",
  23433. "type": "string"
  23434. },
  23435. "unitid": {
  23436. "description": "单位ID",
  23437. "type": "integer"
  23438. },
  23439. "unitname": {
  23440. "description": "单位",
  23441. "type": "string"
  23442. },
  23443. "updatetime": {
  23444. "description": "更新时间",
  23445. "type": "string"
  23446. },
  23447. "updatorid": {
  23448. "description": "更新人",
  23449. "type": "integer"
  23450. },
  23451. "wrsstatus": {
  23452. "description": "状态 - 作废 - 0:未激活 1:正常",
  23453. "type": "integer"
  23454. },
  23455. "wrstandardcode": {
  23456. "description": "现货品类代码",
  23457. "type": "string"
  23458. },
  23459. "wrstandardid": {
  23460. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23461. "type": "integer"
  23462. },
  23463. "wrstandardname": {
  23464. "description": "现货品类名称",
  23465. "type": "string"
  23466. }
  23467. }
  23468. },
  23469. "models.Warehouseinfo": {
  23470. "type": "object",
  23471. "required": [
  23472. "autoid",
  23473. "warehousecode"
  23474. ],
  23475. "properties": {
  23476. "address": {
  23477. "description": "详细地址",
  23478. "type": "string"
  23479. },
  23480. "areauserid": {
  23481. "description": "所属机构",
  23482. "type": "integer"
  23483. },
  23484. "autoid": {
  23485. "description": "自增ID",
  23486. "type": "integer"
  23487. },
  23488. "cityid": {
  23489. "description": "市",
  23490. "type": "integer"
  23491. },
  23492. "contactname": {
  23493. "description": "联系人",
  23494. "type": "string"
  23495. },
  23496. "contactnum": {
  23497. "description": "联系电话",
  23498. "type": "string"
  23499. },
  23500. "countryid": {
  23501. "description": "国家",
  23502. "type": "integer"
  23503. },
  23504. "createtime": {
  23505. "description": "创建时间",
  23506. "type": "string"
  23507. },
  23508. "districtid": {
  23509. "description": "区",
  23510. "type": "integer"
  23511. },
  23512. "hasvideo": {
  23513. "description": "是否有视频 - 0:无 1:有",
  23514. "type": "integer"
  23515. },
  23516. "provinceid": {
  23517. "description": "省",
  23518. "type": "integer"
  23519. },
  23520. "remark": {
  23521. "description": "审核备注",
  23522. "type": "string"
  23523. },
  23524. "videourl": {
  23525. "description": "视频地址",
  23526. "type": "string"
  23527. },
  23528. "warehousecode": {
  23529. "description": "仓库代码",
  23530. "type": "string"
  23531. },
  23532. "warehousename": {
  23533. "description": "仓库名称",
  23534. "type": "string"
  23535. },
  23536. "warehousestatus": {
  23537. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23538. "type": "integer"
  23539. },
  23540. "warehousetype": {
  23541. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23542. "type": "integer"
  23543. }
  23544. }
  23545. },
  23546. "order.QueryHisTradeDetailRsp": {
  23547. "type": "object",
  23548. "required": [
  23549. "accountid",
  23550. "buyorsell",
  23551. "goodsid",
  23552. "histradedate",
  23553. "marketid",
  23554. "memberuserid",
  23555. "orderid",
  23556. "tradeamount",
  23557. "tradedate",
  23558. "tradeid",
  23559. "tradeprice",
  23560. "tradeqty",
  23561. "tradetime"
  23562. ],
  23563. "properties": {
  23564. "accountid": {
  23565. "description": "账户ID[报价币种]",
  23566. "type": "integer"
  23567. },
  23568. "buildtype": {
  23569. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23570. "type": "integer"
  23571. },
  23572. "buyorsell": {
  23573. "description": "方向 - 0:买 1:卖",
  23574. "type": "integer"
  23575. },
  23576. "charge": {
  23577. "description": "手续费",
  23578. "type": "number"
  23579. },
  23580. "closecharge": {
  23581. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23582. "type": "number"
  23583. },
  23584. "closeexchagechargevalue": {
  23585. "description": "平仓交易所手续费设置值",
  23586. "type": "number"
  23587. },
  23588. "closefeealgorithm": {
  23589. "description": "平仓手续费收取方式 1:比率 2:固定",
  23590. "type": "integer"
  23591. },
  23592. "closememberchargevalue": {
  23593. "description": "平仓会员手续费设置值",
  23594. "type": "number"
  23595. },
  23596. "closepl": {
  23597. "description": "平仓盈亏",
  23598. "type": "number"
  23599. },
  23600. "closepl2": {
  23601. "description": "平仓盈亏[逐笔]",
  23602. "type": "number"
  23603. },
  23604. "closeqty": {
  23605. "description": "平仓数量(先建后平操作 需要记录)",
  23606. "type": "integer"
  23607. },
  23608. "creditamount": {
  23609. "description": "授信金额",
  23610. "type": "number"
  23611. },
  23612. "gcaccountid": {
  23613. "description": "账户ID[合约币种]",
  23614. "type": "integer"
  23615. },
  23616. "goodscode": {
  23617. "description": "商品代码",
  23618. "type": "string"
  23619. },
  23620. "goodsid": {
  23621. "description": "商品ID",
  23622. "type": "integer"
  23623. },
  23624. "goodsname": {
  23625. "description": "商品名称",
  23626. "type": "string"
  23627. },
  23628. "histradedate": {
  23629. "description": "历史交易日",
  23630. "type": "string"
  23631. },
  23632. "intclosepl": {
  23633. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23634. "type": "integer"
  23635. },
  23636. "isconfirmexercise": {
  23637. "description": "是否确认行权- 0:否 1:是",
  23638. "type": "integer"
  23639. },
  23640. "ismain": {
  23641. "description": "是否主单 - 0:不是 1:是",
  23642. "type": "integer"
  23643. },
  23644. "ispreexercise": {
  23645. "description": "是否预申报- 0:否 1:是",
  23646. "type": "integer"
  23647. },
  23648. "isreckoned": {
  23649. "description": "是否结算 - 0:未结算 1:已结算",
  23650. "type": "integer"
  23651. },
  23652. "isvaliddata": {
  23653. "description": "是否有效 - 0:无效 1:有效",
  23654. "type": "integer"
  23655. },
  23656. "listingselecttype": {
  23657. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23658. "type": "integer"
  23659. },
  23660. "marketid": {
  23661. "description": "市场ID",
  23662. "type": "integer"
  23663. },
  23664. "marketname": {
  23665. "description": "市场名称",
  23666. "type": "string"
  23667. },
  23668. "matchaccountid": {
  23669. "description": "对手账号id",
  23670. "type": "integer"
  23671. },
  23672. "memberuserid": {
  23673. "description": "会员id 个人投资者 需要填写",
  23674. "type": "integer"
  23675. },
  23676. "opencharge": {
  23677. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23678. "type": "number"
  23679. },
  23680. "openexchagechargevalue": {
  23681. "description": "建仓交易所手续费设置值",
  23682. "type": "number"
  23683. },
  23684. "openfeealgorithm": {
  23685. "description": "建仓手续费收取方式 1:比率 2:固定",
  23686. "type": "integer"
  23687. },
  23688. "openmemberchargevalue": {
  23689. "description": "建仓会员手续费设置值",
  23690. "type": "number"
  23691. },
  23692. "openqty": {
  23693. "description": "开仓数量(先建后平操作 需要记录)",
  23694. "type": "integer"
  23695. },
  23696. "optiontype": {
  23697. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23698. "type": "integer"
  23699. },
  23700. "orderid": {
  23701. "description": "委托单号",
  23702. "type": "string"
  23703. },
  23704. "performanceplanid": {
  23705. "description": "履约计划ID[期权]",
  23706. "type": "integer"
  23707. },
  23708. "performancestatus": {
  23709. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23710. "type": "integer"
  23711. },
  23712. "preexerciseprice": {
  23713. "description": "预申报价格",
  23714. "type": "number"
  23715. },
  23716. "premium": {
  23717. "description": "权利金 - [持仓单的权利金]",
  23718. "type": "number"
  23719. },
  23720. "relatedouttradeid": {
  23721. "description": "关联外部成交单ID",
  23722. "type": "integer"
  23723. },
  23724. "status": {
  23725. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23726. "type": "integer"
  23727. },
  23728. "tradeamount": {
  23729. "description": "成交金额[账户币种,用于所有权]",
  23730. "type": "number"
  23731. },
  23732. "tradedate": {
  23733. "description": "交易日(yyyyMMdd)",
  23734. "type": "string"
  23735. },
  23736. "tradeid": {
  23737. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23738. "type": "string"
  23739. },
  23740. "trademode": {
  23741. "description": "交易模式",
  23742. "type": "integer"
  23743. },
  23744. "tradeprice": {
  23745. "description": "成交价格",
  23746. "type": "number"
  23747. },
  23748. "tradeproperty": {
  23749. "description": "交易属性",
  23750. "type": "integer"
  23751. },
  23752. "tradeqty": {
  23753. "description": "成交数量",
  23754. "type": "integer"
  23755. },
  23756. "tradetime": {
  23757. "description": "成交时间",
  23758. "type": "string"
  23759. },
  23760. "tradetype": {
  23761. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23762. "type": "integer"
  23763. }
  23764. }
  23765. },
  23766. "order.QueryHisTradeOrderDetailRsp": {
  23767. "type": "object",
  23768. "required": [
  23769. "accountid",
  23770. "buildtype",
  23771. "buyorsell",
  23772. "goodsid",
  23773. "histradedate",
  23774. "marketid",
  23775. "memberuserid",
  23776. "operatetype",
  23777. "orderid",
  23778. "orderqty",
  23779. "ordertime",
  23780. "pricemode",
  23781. "tradedate",
  23782. "validtype"
  23783. ],
  23784. "properties": {
  23785. "accountid": {
  23786. "description": "账户ID[报价币种]",
  23787. "type": "integer"
  23788. },
  23789. "buildtype": {
  23790. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23791. "type": "integer"
  23792. },
  23793. "buyorsell": {
  23794. "description": "买卖 - 0:买 1:卖",
  23795. "type": "integer"
  23796. },
  23797. "cancelorderid": {
  23798. "description": "撤单单号(撤单时填写)",
  23799. "type": "string"
  23800. },
  23801. "cancelqty": {
  23802. "description": "撤单数量",
  23803. "type": "integer"
  23804. },
  23805. "clientordertime": {
  23806. "description": "客户端委托时间",
  23807. "type": "string"
  23808. },
  23809. "clientticket": {
  23810. "description": "客户端流水号",
  23811. "type": "string"
  23812. },
  23813. "clienttype": {
  23814. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23815. "type": "integer"
  23816. },
  23817. "closeexchagechargevalue": {
  23818. "description": "平仓交易所手续费设置值",
  23819. "type": "number"
  23820. },
  23821. "closefeealgorithm": {
  23822. "description": "平仓手续费收取方式 1:比率 2:固定",
  23823. "type": "integer"
  23824. },
  23825. "closefreezecharge": {
  23826. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23827. "type": "number"
  23828. },
  23829. "closememberchargevalue": {
  23830. "description": "平仓会员手续费设置值",
  23831. "type": "number"
  23832. },
  23833. "closeqty": {
  23834. "description": "平仓数量(先建后平操作 需要记录)",
  23835. "type": "integer"
  23836. },
  23837. "closetradeqty": {
  23838. "description": "平仓成交数量(先建后平操作,需要记录)",
  23839. "type": "integer"
  23840. },
  23841. "closeunfreezecharge": {
  23842. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23843. "type": "number"
  23844. },
  23845. "delistingtype": {
  23846. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23847. "type": "integer"
  23848. },
  23849. "freezecharge": {
  23850. "description": "冻结手续费",
  23851. "type": "number"
  23852. },
  23853. "freezemargin": {
  23854. "description": "冻结保证金(冻结交易金额)",
  23855. "type": "number"
  23856. },
  23857. "gcaccountid": {
  23858. "description": "账户ID[合约币种]",
  23859. "type": "integer"
  23860. },
  23861. "goodscode": {
  23862. "description": "商品代码",
  23863. "type": "string"
  23864. },
  23865. "goodsid": {
  23866. "description": "商品ID",
  23867. "type": "integer"
  23868. },
  23869. "goodsname": {
  23870. "description": "商品名称",
  23871. "type": "string"
  23872. },
  23873. "histradedate": {
  23874. "description": "历史交易日",
  23875. "type": "string"
  23876. },
  23877. "isconfirmexercise": {
  23878. "description": "是否确认行权- 0:否 1:是",
  23879. "type": "integer"
  23880. },
  23881. "ispreexercise": {
  23882. "description": "是否预申报- 0:否 1:是",
  23883. "type": "integer"
  23884. },
  23885. "isvaliddata": {
  23886. "description": "是否有效 - 0:无效 1:有效",
  23887. "type": "integer"
  23888. },
  23889. "listingselecttype": {
  23890. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23891. "type": "integer"
  23892. },
  23893. "marginalgorithm": {
  23894. "description": "保证金收取方式 1:比率 2:固定",
  23895. "type": "integer"
  23896. },
  23897. "marginvalue": {
  23898. "description": "即市保证金设置值",
  23899. "type": "number"
  23900. },
  23901. "marketid": {
  23902. "description": "市场ID",
  23903. "type": "integer"
  23904. },
  23905. "marketmaxsub": {
  23906. "description": "市价最大偏移范围",
  23907. "type": "number"
  23908. },
  23909. "marketname": {
  23910. "description": "市场名称",
  23911. "type": "string"
  23912. },
  23913. "memberuserid": {
  23914. "description": "所属会员UserID",
  23915. "type": "integer"
  23916. },
  23917. "openexchagechargevalue": {
  23918. "description": "建仓交易所手续费设置值",
  23919. "type": "number"
  23920. },
  23921. "openfeealgorithm": {
  23922. "description": "建仓手续费收取方式 1:比率 2:固定",
  23923. "type": "integer"
  23924. },
  23925. "openfreezecharge": {
  23926. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23927. "type": "number"
  23928. },
  23929. "openmemberchargevalue": {
  23930. "description": "建仓会员手续费设置值",
  23931. "type": "number"
  23932. },
  23933. "openqty": {
  23934. "description": "开仓数量(先建后平操作,需要记录)",
  23935. "type": "integer"
  23936. },
  23937. "opentradeqty": {
  23938. "description": "开仓成交数量(先建后平操作,需要记录)",
  23939. "type": "integer"
  23940. },
  23941. "openunfreezecharge": {
  23942. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23943. "type": "number"
  23944. },
  23945. "operatetype": {
  23946. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23947. "type": "integer"
  23948. },
  23949. "operatorid": {
  23950. "description": "登录账号(LoginID)",
  23951. "type": "integer"
  23952. },
  23953. "optiontype": {
  23954. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23955. "type": "integer"
  23956. },
  23957. "orderid": {
  23958. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23959. "type": "string"
  23960. },
  23961. "orderprice": {
  23962. "description": "委托价格",
  23963. "type": "number"
  23964. },
  23965. "orderqty": {
  23966. "description": "委托数量",
  23967. "type": "integer"
  23968. },
  23969. "ordersrc": {
  23970. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23971. "type": "integer"
  23972. },
  23973. "orderstatus": {
  23974. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23975. "type": "integer"
  23976. },
  23977. "ordertime": {
  23978. "description": "委托时间",
  23979. "type": "string"
  23980. },
  23981. "preexerciseprice": {
  23982. "description": "预申报价格",
  23983. "type": "number"
  23984. },
  23985. "premium": {
  23986. "description": "权利金",
  23987. "type": "number"
  23988. },
  23989. "preorderid": {
  23990. "description": "关联预埋单号(止盈止损单时填写)",
  23991. "type": "string"
  23992. },
  23993. "pricemode": {
  23994. "description": "取价方式 - 1:市价 2: 限价",
  23995. "type": "integer"
  23996. },
  23997. "quoteid": {
  23998. "description": "报价单ID",
  23999. "type": "integer"
  24000. },
  24001. "relatedid": {
  24002. "description": "关联单号(交割单)",
  24003. "type": "string"
  24004. },
  24005. "retcode": {
  24006. "description": "错误代码",
  24007. "type": "integer"
  24008. },
  24009. "sessionid": {
  24010. "description": "会话ID",
  24011. "type": "integer"
  24012. },
  24013. "tradedate": {
  24014. "description": "交易日(yyyyMMdd)",
  24015. "type": "string"
  24016. },
  24017. "trademode": {
  24018. "description": "交易模式",
  24019. "type": "integer"
  24020. },
  24021. "tradeproperty": {
  24022. "description": "交易属性",
  24023. "type": "integer"
  24024. },
  24025. "tradeqty": {
  24026. "description": "成交数量",
  24027. "type": "integer"
  24028. },
  24029. "unfreezecharge": {
  24030. "description": "解冻手续费",
  24031. "type": "number"
  24032. },
  24033. "unfreezemargin": {
  24034. "description": "解冻保证金",
  24035. "type": "number"
  24036. },
  24037. "updatetime": {
  24038. "description": "更新时间",
  24039. "type": "string"
  24040. },
  24041. "uuid": {
  24042. "description": "发起端唯一id",
  24043. "type": "string"
  24044. },
  24045. "validtime": {
  24046. "description": "有效期限",
  24047. "type": "string"
  24048. },
  24049. "validtype": {
  24050. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24051. "type": "integer"
  24052. },
  24053. "volumetype": {
  24054. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24055. "type": "integer"
  24056. }
  24057. }
  24058. },
  24059. "order.QueryTradeDetailRsp": {
  24060. "type": "object",
  24061. "required": [
  24062. "accountid",
  24063. "buyorsell",
  24064. "goodsid",
  24065. "marketid",
  24066. "memberuserid",
  24067. "orderid",
  24068. "tradeamount",
  24069. "tradedate",
  24070. "tradeid",
  24071. "tradeprice",
  24072. "tradeqty",
  24073. "tradetime"
  24074. ],
  24075. "properties": {
  24076. "accountid": {
  24077. "description": "账户ID[报价币种]",
  24078. "type": "integer"
  24079. },
  24080. "buildtype": {
  24081. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24082. "type": "integer"
  24083. },
  24084. "buyorsell": {
  24085. "description": "方向 - 0:买 1:卖",
  24086. "type": "integer"
  24087. },
  24088. "charge": {
  24089. "description": "手续费",
  24090. "type": "number"
  24091. },
  24092. "closecharge": {
  24093. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24094. "type": "number"
  24095. },
  24096. "closeexchagechargevalue": {
  24097. "description": "平仓交易所手续费设置值",
  24098. "type": "number"
  24099. },
  24100. "closefeealgorithm": {
  24101. "description": "平仓手续费收取方式 1:比率 2:固定",
  24102. "type": "integer"
  24103. },
  24104. "closememberchargevalue": {
  24105. "description": "平仓会员手续费设置值",
  24106. "type": "number"
  24107. },
  24108. "closepl": {
  24109. "description": "平仓盈亏",
  24110. "type": "number"
  24111. },
  24112. "closepl2": {
  24113. "description": "平仓盈亏[逐笔]",
  24114. "type": "number"
  24115. },
  24116. "closeqty": {
  24117. "description": "平仓数量(先建后平操作 需要记录)",
  24118. "type": "integer"
  24119. },
  24120. "creditamount": {
  24121. "description": "授信金额",
  24122. "type": "number"
  24123. },
  24124. "gcaccountid": {
  24125. "description": "账户ID[合约币种]",
  24126. "type": "integer"
  24127. },
  24128. "goodscode": {
  24129. "description": "商品代码",
  24130. "type": "string"
  24131. },
  24132. "goodsid": {
  24133. "description": "商品ID",
  24134. "type": "integer"
  24135. },
  24136. "goodsname": {
  24137. "description": "商品名称",
  24138. "type": "string"
  24139. },
  24140. "intclosepl": {
  24141. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24142. "type": "integer"
  24143. },
  24144. "isconfirmexercise": {
  24145. "description": "是否确认行权- 0:否 1:是",
  24146. "type": "integer"
  24147. },
  24148. "ismain": {
  24149. "description": "是否主单 - 0:不是 1:是",
  24150. "type": "integer"
  24151. },
  24152. "ispreexercise": {
  24153. "description": "是否预申报- 0:否 1:是",
  24154. "type": "integer"
  24155. },
  24156. "isreckoned": {
  24157. "description": "是否结算 - 0:未结算 1:已结算",
  24158. "type": "integer"
  24159. },
  24160. "listingselecttype": {
  24161. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24162. "type": "integer"
  24163. },
  24164. "marketid": {
  24165. "description": "市场ID",
  24166. "type": "integer"
  24167. },
  24168. "marketname": {
  24169. "description": "市场名称",
  24170. "type": "string"
  24171. },
  24172. "matchaccountid": {
  24173. "description": "对手账号id",
  24174. "type": "integer"
  24175. },
  24176. "memberuserid": {
  24177. "description": "会员id 个人投资者 需要填写",
  24178. "type": "integer"
  24179. },
  24180. "opencharge": {
  24181. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24182. "type": "number"
  24183. },
  24184. "openexchagechargevalue": {
  24185. "description": "建仓交易所手续费设置值",
  24186. "type": "number"
  24187. },
  24188. "openfeealgorithm": {
  24189. "description": "建仓手续费收取方式 1:比率 2:固定",
  24190. "type": "integer"
  24191. },
  24192. "openmemberchargevalue": {
  24193. "description": "建仓会员手续费设置值",
  24194. "type": "number"
  24195. },
  24196. "openqty": {
  24197. "description": "开仓数量(先建后平操作 需要记录)",
  24198. "type": "integer"
  24199. },
  24200. "optiontype": {
  24201. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24202. "type": "integer"
  24203. },
  24204. "orderid": {
  24205. "description": "委托单号",
  24206. "type": "string"
  24207. },
  24208. "performanceplanid": {
  24209. "description": "履约计划ID[期权]",
  24210. "type": "integer"
  24211. },
  24212. "performancestatus": {
  24213. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24214. "type": "integer"
  24215. },
  24216. "preexerciseprice": {
  24217. "description": "预申报价格",
  24218. "type": "number"
  24219. },
  24220. "premium": {
  24221. "description": "权利金 - [持仓单的权利金]",
  24222. "type": "number"
  24223. },
  24224. "relatedouttradeid": {
  24225. "description": "关联外部成交单ID",
  24226. "type": "integer"
  24227. },
  24228. "status": {
  24229. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24230. "type": "integer"
  24231. },
  24232. "tradeamount": {
  24233. "description": "成交金额[账户币种,用于所有权]",
  24234. "type": "number"
  24235. },
  24236. "tradedate": {
  24237. "description": "交易日(yyyyMMdd)",
  24238. "type": "string"
  24239. },
  24240. "tradeid": {
  24241. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24242. "type": "string"
  24243. },
  24244. "trademode": {
  24245. "description": "交易模式",
  24246. "type": "integer"
  24247. },
  24248. "tradeprice": {
  24249. "description": "成交价格",
  24250. "type": "number"
  24251. },
  24252. "tradeproperty": {
  24253. "description": "交易属性",
  24254. "type": "integer"
  24255. },
  24256. "tradeqty": {
  24257. "description": "成交数量",
  24258. "type": "integer"
  24259. },
  24260. "tradetime": {
  24261. "description": "成交时间",
  24262. "type": "string"
  24263. },
  24264. "tradetype": {
  24265. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24266. "type": "integer"
  24267. }
  24268. }
  24269. },
  24270. "order.QueryTradeOrderDetailRsp": {
  24271. "type": "object",
  24272. "required": [
  24273. "accountid",
  24274. "buildtype",
  24275. "buyorsell",
  24276. "goodsid",
  24277. "marketid",
  24278. "operatetype",
  24279. "orderqty",
  24280. "ordertime",
  24281. "pricemode",
  24282. "tradedate",
  24283. "validtype"
  24284. ],
  24285. "properties": {
  24286. "accountid": {
  24287. "description": "账户ID[报价币种]",
  24288. "type": "integer"
  24289. },
  24290. "buildtype": {
  24291. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24292. "type": "integer"
  24293. },
  24294. "buyorsell": {
  24295. "description": "买卖 - 0:买 1:卖",
  24296. "type": "integer"
  24297. },
  24298. "cancelorderid": {
  24299. "description": "撤单单号(撤单时填写)",
  24300. "type": "string"
  24301. },
  24302. "cancelqty": {
  24303. "description": "撤单数量",
  24304. "type": "integer"
  24305. },
  24306. "clienttype": {
  24307. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24308. "type": "integer"
  24309. },
  24310. "closefreezecharge": {
  24311. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24312. "type": "number"
  24313. },
  24314. "closeqty": {
  24315. "description": "平仓数量(先建后平操作 需要记录)",
  24316. "type": "integer"
  24317. },
  24318. "closetradeqty": {
  24319. "description": "平仓成交数量(先建后平操作,需要记录)",
  24320. "type": "integer"
  24321. },
  24322. "closeunfreezecharge": {
  24323. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24324. "type": "number"
  24325. },
  24326. "delistingtype": {
  24327. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24328. "type": "integer"
  24329. },
  24330. "enableqty": {
  24331. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  24332. "type": "integer"
  24333. },
  24334. "freezecharge": {
  24335. "description": "冻结手续费",
  24336. "type": "number"
  24337. },
  24338. "freezemargin": {
  24339. "description": "冻结保证金(冻结交易金额)",
  24340. "type": "number"
  24341. },
  24342. "goodscode": {
  24343. "description": "商品代码",
  24344. "type": "string"
  24345. },
  24346. "goodsid": {
  24347. "description": "商品ID",
  24348. "type": "integer"
  24349. },
  24350. "goodsname": {
  24351. "description": "商品名称",
  24352. "type": "string"
  24353. },
  24354. "listingselecttype": {
  24355. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24356. "type": "integer"
  24357. },
  24358. "marketid": {
  24359. "description": "市场ID",
  24360. "type": "integer"
  24361. },
  24362. "marketname": {
  24363. "description": "市场名称",
  24364. "type": "string"
  24365. },
  24366. "openfreezecharge": {
  24367. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24368. "type": "number"
  24369. },
  24370. "openqty": {
  24371. "description": "开仓数量(先建后平操作,需要记录)",
  24372. "type": "integer"
  24373. },
  24374. "opentradeqty": {
  24375. "description": "开仓成交数量(先建后平操作,需要记录)",
  24376. "type": "integer"
  24377. },
  24378. "openunfreezecharge": {
  24379. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24380. "type": "number"
  24381. },
  24382. "operatetype": {
  24383. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24384. "type": "integer"
  24385. },
  24386. "operatorid": {
  24387. "description": "登录账号(LoginID)",
  24388. "type": "integer"
  24389. },
  24390. "orderid": {
  24391. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24392. "type": "string"
  24393. },
  24394. "orderprice": {
  24395. "description": "委托价格",
  24396. "type": "number"
  24397. },
  24398. "orderqty": {
  24399. "description": "委托数量",
  24400. "type": "integer"
  24401. },
  24402. "ordersrc": {
  24403. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24404. "type": "integer"
  24405. },
  24406. "orderstatus": {
  24407. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24408. "type": "integer"
  24409. },
  24410. "ordertime": {
  24411. "description": "委托时间",
  24412. "type": "string"
  24413. },
  24414. "preorderid": {
  24415. "description": "关联预埋单号(止盈止损单时填写)",
  24416. "type": "string"
  24417. },
  24418. "pricemode": {
  24419. "description": "取价方式 - 1:市价 2: 限价",
  24420. "type": "integer"
  24421. },
  24422. "relatedid": {
  24423. "description": "关联单号(交割单)",
  24424. "type": "string"
  24425. },
  24426. "tradedate": {
  24427. "description": "交易日(yyyyMMdd)",
  24428. "type": "string"
  24429. },
  24430. "trademode": {
  24431. "description": "交易模式",
  24432. "type": "integer"
  24433. },
  24434. "tradeqty": {
  24435. "description": "成交数量",
  24436. "type": "integer"
  24437. },
  24438. "unfreezecharge": {
  24439. "description": "解冻手续费",
  24440. "type": "number"
  24441. },
  24442. "unfreezemargin": {
  24443. "description": "解冻保证金",
  24444. "type": "number"
  24445. },
  24446. "validtime": {
  24447. "description": "有效期限",
  24448. "type": "string"
  24449. },
  24450. "validtype": {
  24451. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24452. "type": "integer"
  24453. },
  24454. "volumetype": {
  24455. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24456. "type": "integer"
  24457. }
  24458. }
  24459. },
  24460. "order.QueryTradePositionRsp": {
  24461. "type": "object",
  24462. "required": [
  24463. "goodsid"
  24464. ],
  24465. "properties": {
  24466. "accountid": {
  24467. "description": "资金账户",
  24468. "type": "integer"
  24469. },
  24470. "agreeunit": {
  24471. "description": "合约单位",
  24472. "type": "number"
  24473. },
  24474. "averageprice": {
  24475. "description": "持仓均价",
  24476. "type": "number"
  24477. },
  24478. "buyorsell": {
  24479. "description": "方向 - 0:买 1:卖",
  24480. "type": "integer"
  24481. },
  24482. "closetotalqty": {
  24483. "description": "平仓总数量",
  24484. "type": "integer"
  24485. },
  24486. "curholderamount": {
  24487. "description": "当前持仓总金额[商品币种]",
  24488. "type": "number"
  24489. },
  24490. "curpositionqty": {
  24491. "description": "当前持仓总数量",
  24492. "type": "integer"
  24493. },
  24494. "currencyid": {
  24495. "description": "报价货币ID",
  24496. "type": "integer"
  24497. },
  24498. "curtdposition": {
  24499. "description": "期末今日头寸",
  24500. "type": "integer"
  24501. },
  24502. "decimalplace": {
  24503. "description": "报价小数位",
  24504. "type": "integer"
  24505. },
  24506. "enableqty": {
  24507. "description": "可用量",
  24508. "type": "integer"
  24509. },
  24510. "fretdposition": {
  24511. "description": "冻结今日头寸",
  24512. "type": "integer"
  24513. },
  24514. "frozenqty": {
  24515. "description": "持仓冻结数量",
  24516. "type": "integer"
  24517. },
  24518. "goodscode": {
  24519. "description": "商品代码",
  24520. "type": "string"
  24521. },
  24522. "goodsid": {
  24523. "description": "商品Id",
  24524. "type": "integer"
  24525. },
  24526. "goodsname": {
  24527. "description": "商品名称",
  24528. "type": "string"
  24529. },
  24530. "goodunit": {
  24531. "description": "报价单位",
  24532. "type": "string"
  24533. },
  24534. "goodunitid": {
  24535. "description": "报价单位ID",
  24536. "type": "integer"
  24537. },
  24538. "holderamount": {
  24539. "description": "期初持仓总金额[商品币种]",
  24540. "type": "number"
  24541. },
  24542. "marketid": {
  24543. "description": "所属市场ID",
  24544. "type": "integer"
  24545. },
  24546. "openreqqty": {
  24547. "description": "开仓申请数量(用于比较最大持仓数量)",
  24548. "type": "integer"
  24549. },
  24550. "opentotalqty": {
  24551. "description": "开仓总数量",
  24552. "type": "integer"
  24553. },
  24554. "otherfrozenqty": {
  24555. "description": "持仓其他冻结数量(交割冻结)",
  24556. "type": "integer"
  24557. },
  24558. "positionqty": {
  24559. "description": "期初持仓数量",
  24560. "type": "integer"
  24561. },
  24562. "tnqty": {
  24563. "description": "T+N冻结总量",
  24564. "type": "integer"
  24565. },
  24566. "tnusedqty": {
  24567. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24568. "type": "integer"
  24569. },
  24570. "trademode": {
  24571. "description": "交易模式",
  24572. "type": "integer"
  24573. },
  24574. "usedmargin": {
  24575. "description": "占用保证金[商品币种]",
  24576. "type": "number"
  24577. }
  24578. }
  24579. },
  24580. "quote.HistoryData": {
  24581. "type": "object",
  24582. "properties": {
  24583. "c": {
  24584. "description": "收盘价",
  24585. "type": "number"
  24586. },
  24587. "f": {
  24588. "description": "是否补充数据",
  24589. "type": "boolean"
  24590. },
  24591. "h": {
  24592. "description": "最高价",
  24593. "type": "number"
  24594. },
  24595. "hv": {
  24596. "description": "持仓量",
  24597. "type": "integer"
  24598. },
  24599. "l": {
  24600. "description": "最低价",
  24601. "type": "number"
  24602. },
  24603. "o": {
  24604. "description": "开盘价",
  24605. "type": "number"
  24606. },
  24607. "s": {
  24608. "description": "结算价,日线周期(包括)以上才有",
  24609. "type": "number"
  24610. },
  24611. "ts": {
  24612. "description": "时间",
  24613. "type": "string"
  24614. },
  24615. "tt": {
  24616. "description": "总金额",
  24617. "type": "number"
  24618. },
  24619. "tv": {
  24620. "description": "总量",
  24621. "type": "integer"
  24622. }
  24623. }
  24624. },
  24625. "quote.HistoryTikData": {
  24626. "type": "object",
  24627. "properties": {
  24628. "AV": {
  24629. "description": "卖量",
  24630. "type": "integer"
  24631. },
  24632. "Ask": {
  24633. "description": "卖价",
  24634. "type": "number"
  24635. },
  24636. "BV": {
  24637. "description": "买量",
  24638. "type": "integer"
  24639. },
  24640. "Bid": {
  24641. "description": "买价",
  24642. "type": "number"
  24643. },
  24644. "HI": {
  24645. "description": "单笔持仓",
  24646. "type": "integer"
  24647. },
  24648. "HV": {
  24649. "description": "持仓量",
  24650. "type": "integer"
  24651. },
  24652. "PE": {
  24653. "description": "现价",
  24654. "type": "number"
  24655. },
  24656. "TDR": {
  24657. "description": "交易方向,0:买 1:卖",
  24658. "type": "integer"
  24659. },
  24660. "TK": {
  24661. "description": "交易类型",
  24662. "type": "integer"
  24663. },
  24664. "TS": {
  24665. "description": "行情时间文本",
  24666. "type": "string"
  24667. },
  24668. "TT": {
  24669. "description": "现金额",
  24670. "type": "number"
  24671. },
  24672. "Vol": {
  24673. "description": "现量",
  24674. "type": "integer"
  24675. }
  24676. }
  24677. },
  24678. "quote.QueryQuoteDayRsp": {
  24679. "type": "object",
  24680. "properties": {
  24681. "ask": {
  24682. "description": "卖1",
  24683. "type": "number"
  24684. },
  24685. "ask10": {
  24686. "description": "卖10",
  24687. "type": "number"
  24688. },
  24689. "ask2": {
  24690. "description": "卖2",
  24691. "type": "number"
  24692. },
  24693. "ask3": {
  24694. "description": "卖3",
  24695. "type": "number"
  24696. },
  24697. "ask4": {
  24698. "description": "卖4",
  24699. "type": "number"
  24700. },
  24701. "ask5": {
  24702. "description": "卖5",
  24703. "type": "number"
  24704. },
  24705. "ask6": {
  24706. "description": "卖6",
  24707. "type": "number"
  24708. },
  24709. "ask7": {
  24710. "description": "卖7",
  24711. "type": "number"
  24712. },
  24713. "ask8": {
  24714. "description": "卖8",
  24715. "type": "number"
  24716. },
  24717. "ask9": {
  24718. "description": "卖9",
  24719. "type": "number"
  24720. },
  24721. "askorderid": {
  24722. "description": "卖单号1",
  24723. "type": "integer"
  24724. },
  24725. "askorderid2": {
  24726. "description": "卖单号2",
  24727. "type": "integer"
  24728. },
  24729. "askorderid3": {
  24730. "description": "卖单号3",
  24731. "type": "integer"
  24732. },
  24733. "askorderid4": {
  24734. "description": "卖单号4",
  24735. "type": "integer"
  24736. },
  24737. "askorderid5": {
  24738. "description": "卖单号5",
  24739. "type": "integer"
  24740. },
  24741. "askordervolume": {
  24742. "description": "卖单量1",
  24743. "type": "integer"
  24744. },
  24745. "askordervolume10": {
  24746. "description": "卖单量10",
  24747. "type": "integer"
  24748. },
  24749. "askordervolume2": {
  24750. "description": "卖单量2",
  24751. "type": "integer"
  24752. },
  24753. "askordervolume3": {
  24754. "description": "卖单量3",
  24755. "type": "integer"
  24756. },
  24757. "askordervolume4": {
  24758. "description": "卖单量4",
  24759. "type": "integer"
  24760. },
  24761. "askordervolume5": {
  24762. "description": "卖单量5",
  24763. "type": "integer"
  24764. },
  24765. "askordervolume6": {
  24766. "description": "卖单量6",
  24767. "type": "integer"
  24768. },
  24769. "askordervolume7": {
  24770. "description": "卖单量7",
  24771. "type": "integer"
  24772. },
  24773. "askordervolume8": {
  24774. "description": "卖单量8",
  24775. "type": "integer"
  24776. },
  24777. "askordervolume9": {
  24778. "description": "卖单量9",
  24779. "type": "integer"
  24780. },
  24781. "askqueueinfo": {
  24782. "description": "大利市卖港股用",
  24783. "type": "string"
  24784. },
  24785. "askvolume": {
  24786. "description": "卖量1",
  24787. "type": "integer"
  24788. },
  24789. "askvolume10": {
  24790. "description": "卖量10",
  24791. "type": "integer"
  24792. },
  24793. "askvolume2": {
  24794. "description": "卖量2",
  24795. "type": "integer"
  24796. },
  24797. "askvolume3": {
  24798. "description": "卖量3",
  24799. "type": "integer"
  24800. },
  24801. "askvolume4": {
  24802. "description": "卖量4",
  24803. "type": "integer"
  24804. },
  24805. "askvolume5": {
  24806. "description": "卖量5",
  24807. "type": "integer"
  24808. },
  24809. "askvolume6": {
  24810. "description": "卖量6",
  24811. "type": "integer"
  24812. },
  24813. "askvolume7": {
  24814. "description": "卖量7",
  24815. "type": "integer"
  24816. },
  24817. "askvolume8": {
  24818. "description": "卖量8",
  24819. "type": "integer"
  24820. },
  24821. "askvolume9": {
  24822. "description": "卖量9",
  24823. "type": "integer"
  24824. },
  24825. "averageprice": {
  24826. "description": "均价",
  24827. "type": "number"
  24828. },
  24829. "bid": {
  24830. "description": "买1",
  24831. "type": "number"
  24832. },
  24833. "bid10": {
  24834. "description": "买10",
  24835. "type": "number"
  24836. },
  24837. "bid2": {
  24838. "description": "买2",
  24839. "type": "number"
  24840. },
  24841. "bid3": {
  24842. "description": "买3",
  24843. "type": "number"
  24844. },
  24845. "bid4": {
  24846. "description": "买4",
  24847. "type": "number"
  24848. },
  24849. "bid5": {
  24850. "description": "买5",
  24851. "type": "number"
  24852. },
  24853. "bid6": {
  24854. "description": "买6",
  24855. "type": "number"
  24856. },
  24857. "bid7": {
  24858. "description": "买7",
  24859. "type": "number"
  24860. },
  24861. "bid8": {
  24862. "description": "买8",
  24863. "type": "number"
  24864. },
  24865. "bid9": {
  24866. "description": "买9",
  24867. "type": "number"
  24868. },
  24869. "bidorderid": {
  24870. "description": "买单号1",
  24871. "type": "integer"
  24872. },
  24873. "bidorderid2": {
  24874. "description": "买单号2",
  24875. "type": "integer"
  24876. },
  24877. "bidorderid3": {
  24878. "description": "买单号3",
  24879. "type": "integer"
  24880. },
  24881. "bidorderid4": {
  24882. "description": "买单号4",
  24883. "type": "integer"
  24884. },
  24885. "bidorderid5": {
  24886. "description": "买单号5",
  24887. "type": "integer"
  24888. },
  24889. "bidordervolume": {
  24890. "description": "买单量1",
  24891. "type": "integer"
  24892. },
  24893. "bidordervolume10": {
  24894. "description": "买单量10",
  24895. "type": "integer"
  24896. },
  24897. "bidordervolume2": {
  24898. "description": "买单量2",
  24899. "type": "integer"
  24900. },
  24901. "bidordervolume3": {
  24902. "description": "买单量3",
  24903. "type": "integer"
  24904. },
  24905. "bidordervolume4": {
  24906. "description": "买单量4",
  24907. "type": "integer"
  24908. },
  24909. "bidordervolume5": {
  24910. "description": "买单量5",
  24911. "type": "integer"
  24912. },
  24913. "bidordervolume6": {
  24914. "description": "买单量6",
  24915. "type": "integer"
  24916. },
  24917. "bidordervolume7": {
  24918. "description": "买单量7",
  24919. "type": "integer"
  24920. },
  24921. "bidordervolume8": {
  24922. "description": "买单量8",
  24923. "type": "integer"
  24924. },
  24925. "bidordervolume9": {
  24926. "description": "买单量9",
  24927. "type": "integer"
  24928. },
  24929. "bidqueueinfo": {
  24930. "description": "大利市买港股用",
  24931. "type": "string"
  24932. },
  24933. "bidvolume": {
  24934. "description": "买量1",
  24935. "type": "integer"
  24936. },
  24937. "bidvolume10": {
  24938. "description": "买量10",
  24939. "type": "integer"
  24940. },
  24941. "bidvolume2": {
  24942. "description": "买量2",
  24943. "type": "integer"
  24944. },
  24945. "bidvolume3": {
  24946. "description": "买量3",
  24947. "type": "integer"
  24948. },
  24949. "bidvolume4": {
  24950. "description": "买量4",
  24951. "type": "integer"
  24952. },
  24953. "bidvolume5": {
  24954. "description": "买量5",
  24955. "type": "integer"
  24956. },
  24957. "bidvolume6": {
  24958. "description": "买量6",
  24959. "type": "integer"
  24960. },
  24961. "bidvolume7": {
  24962. "description": "买量7",
  24963. "type": "integer"
  24964. },
  24965. "bidvolume8": {
  24966. "description": "买量8",
  24967. "type": "integer"
  24968. },
  24969. "bidvolume9": {
  24970. "description": "买量9",
  24971. "type": "integer"
  24972. },
  24973. "calloptionpremiums": {
  24974. "description": "认购期权1",
  24975. "type": "integer"
  24976. },
  24977. "calloptionpremiums2": {
  24978. "description": "认购期权2",
  24979. "type": "integer"
  24980. },
  24981. "calloptionpremiums3": {
  24982. "description": "认购期权3",
  24983. "type": "integer"
  24984. },
  24985. "calloptionpremiums4": {
  24986. "description": "认购期权4",
  24987. "type": "integer"
  24988. },
  24989. "calloptionpremiums5": {
  24990. "description": "认购期权5",
  24991. "type": "integer"
  24992. },
  24993. "cleartime": {
  24994. "description": "清盘时间",
  24995. "type": "integer"
  24996. },
  24997. "exchangecode": {
  24998. "description": "交易所代码",
  24999. "type": "integer"
  25000. },
  25001. "exchangedate": {
  25002. "description": "交易日",
  25003. "type": "integer"
  25004. },
  25005. "goodscode": {
  25006. "description": "商品代码",
  25007. "type": "string"
  25008. },
  25009. "grepmarketprice": {
  25010. "description": "暗盘价 港股专用",
  25011. "type": "number"
  25012. },
  25013. "highest": {
  25014. "description": "最高价",
  25015. "type": "number"
  25016. },
  25017. "holdincrement": {
  25018. "description": "单笔持仓",
  25019. "type": "integer"
  25020. },
  25021. "holdvolume": {
  25022. "description": "持仓",
  25023. "type": "integer"
  25024. },
  25025. "iep": {
  25026. "description": "平衡价 港股专用",
  25027. "type": "number"
  25028. },
  25029. "iev": {
  25030. "description": "平衡量 港股专用",
  25031. "type": "number"
  25032. },
  25033. "inventory": {
  25034. "description": "库存",
  25035. "type": "integer"
  25036. },
  25037. "iscleared": {
  25038. "description": "是否清盘标志",
  25039. "type": "integer"
  25040. },
  25041. "issettled": {
  25042. "description": "是否结算标志",
  25043. "type": "integer"
  25044. },
  25045. "last": {
  25046. "description": "最新价",
  25047. "type": "number"
  25048. },
  25049. "lastlot": {
  25050. "description": "最新成交手数",
  25051. "type": "integer"
  25052. },
  25053. "lasttime": {
  25054. "description": "行情时间(只有现价变化行情时间才变化)",
  25055. "type": "string"
  25056. },
  25057. "lastturnover": {
  25058. "description": "最新成交金额",
  25059. "type": "number"
  25060. },
  25061. "lastvolume": {
  25062. "description": "最新成交量",
  25063. "type": "integer"
  25064. },
  25065. "limitdown": {
  25066. "description": "跌停价",
  25067. "type": "number"
  25068. },
  25069. "limitup": {
  25070. "description": "涨停价",
  25071. "type": "number"
  25072. },
  25073. "lowest": {
  25074. "description": "最低价",
  25075. "type": "number"
  25076. },
  25077. "nontotalholdervolume": {
  25078. "description": "非交易持仓量",
  25079. "type": "integer"
  25080. },
  25081. "nontotallot": {
  25082. "description": "非交易总手数",
  25083. "type": "integer"
  25084. },
  25085. "nontotalturnover": {
  25086. "description": "非交易总金额",
  25087. "type": "integer"
  25088. },
  25089. "nontotalvolume": {
  25090. "description": "非交易总量",
  25091. "type": "integer"
  25092. },
  25093. "opened": {
  25094. "description": "开盘价",
  25095. "type": "number"
  25096. },
  25097. "opentime": {
  25098. "description": "开盘时间",
  25099. "type": "string"
  25100. },
  25101. "orderid": {
  25102. "description": "序号",
  25103. "type": "integer"
  25104. },
  25105. "preclose": {
  25106. "description": "昨收",
  25107. "type": "number"
  25108. },
  25109. "preholdvolume": {
  25110. "description": "昨持仓",
  25111. "type": "integer"
  25112. },
  25113. "presettle": {
  25114. "description": "昨结价",
  25115. "type": "number"
  25116. },
  25117. "publictradetype": {
  25118. "description": "公共交易标志类型 港股专用",
  25119. "type": "string"
  25120. },
  25121. "putoptionpremiums": {
  25122. "description": "认沽期权1",
  25123. "type": "integer"
  25124. },
  25125. "putoptionpremiums2": {
  25126. "description": "认沽期权2",
  25127. "type": "integer"
  25128. },
  25129. "putoptionpremiums3": {
  25130. "description": "认沽期权3",
  25131. "type": "integer"
  25132. },
  25133. "putoptionpremiums4": {
  25134. "description": "认沽期权4",
  25135. "type": "integer"
  25136. },
  25137. "putoptionpremiums5": {
  25138. "description": "认沽期权5",
  25139. "type": "integer"
  25140. },
  25141. "settle": {
  25142. "description": "结算价",
  25143. "type": "number"
  25144. },
  25145. "strikeprice": {
  25146. "description": "发行价",
  25147. "type": "number"
  25148. },
  25149. "totalaskvolume": {
  25150. "description": "内盘",
  25151. "type": "integer"
  25152. },
  25153. "totalbidvolume": {
  25154. "description": "外盘",
  25155. "type": "integer"
  25156. },
  25157. "totallot": {
  25158. "description": "总手数",
  25159. "type": "integer"
  25160. },
  25161. "totalturnover": {
  25162. "description": "总金额",
  25163. "type": "number"
  25164. },
  25165. "totalvolume": {
  25166. "description": "总量",
  25167. "type": "integer"
  25168. },
  25169. "utclasttime": {
  25170. "description": "utc的行情时间",
  25171. "type": "string"
  25172. }
  25173. }
  25174. },
  25175. "quote.QueryTSDataRsp": {
  25176. "type": "object",
  25177. "properties": {
  25178. "Count": {
  25179. "description": "交易日应有数据个数",
  25180. "type": "integer"
  25181. },
  25182. "decimalPlace": {
  25183. "description": "小数位",
  25184. "type": "integer"
  25185. },
  25186. "endTime": {
  25187. "description": "结束时间",
  25188. "type": "string"
  25189. },
  25190. "goodsCode": {
  25191. "description": "商品代码",
  25192. "type": "string"
  25193. },
  25194. "historyDatas": {
  25195. "description": "历史数据",
  25196. "type": "array",
  25197. "items": {
  25198. "$ref": "#/definitions/quote.HistoryData"
  25199. }
  25200. },
  25201. "outGoodsCode": {
  25202. "description": "外部商品代码",
  25203. "type": "string"
  25204. },
  25205. "preSettle": {
  25206. "description": "昨结价",
  25207. "type": "number"
  25208. },
  25209. "runSteps": {
  25210. "description": "交易日开休市计划",
  25211. "type": "array",
  25212. "items": {
  25213. "$ref": "#/definitions/quote.TSDataRunStep"
  25214. }
  25215. },
  25216. "startTime": {
  25217. "description": "开始时间",
  25218. "type": "string"
  25219. },
  25220. "tradeDate": {
  25221. "description": "交易日",
  25222. "type": "string"
  25223. }
  25224. }
  25225. },
  25226. "quote.TSDataRunStep": {
  25227. "type": "object",
  25228. "properties": {
  25229. "end": {
  25230. "description": "真实结束时间",
  25231. "type": "string"
  25232. },
  25233. "endflag": {
  25234. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  25235. "type": "integer"
  25236. },
  25237. "endtime": {
  25238. "description": "结束时间(HH:mm)",
  25239. "type": "string"
  25240. },
  25241. "endweekday": {
  25242. "description": "结束周几",
  25243. "type": "integer"
  25244. },
  25245. "groupid": {
  25246. "description": "分组ID",
  25247. "type": "integer"
  25248. },
  25249. "runstep": {
  25250. "description": "运行阶段 - 2:连续交易",
  25251. "type": "integer"
  25252. },
  25253. "sectionid": {
  25254. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  25255. "type": "integer"
  25256. },
  25257. "start": {
  25258. "description": "真实开始时间",
  25259. "type": "string"
  25260. },
  25261. "startflag": {
  25262. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  25263. "type": "integer"
  25264. },
  25265. "starttime": {
  25266. "description": "起始时间(HH:mm)",
  25267. "type": "string"
  25268. },
  25269. "startweekday": {
  25270. "description": "起始周几",
  25271. "type": "integer"
  25272. },
  25273. "tradeweekday": {
  25274. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  25275. "type": "integer"
  25276. }
  25277. }
  25278. },
  25279. "szdz.QueryConvertLogRsp": {
  25280. "type": "object",
  25281. "required": [
  25282. "logid"
  25283. ],
  25284. "properties": {
  25285. "accountid": {
  25286. "description": "资金账户ID",
  25287. "type": "integer"
  25288. },
  25289. "clientticket": {
  25290. "description": "客户端流水号",
  25291. "type": "string"
  25292. },
  25293. "converttype": {
  25294. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  25295. "type": "integer"
  25296. },
  25297. "createtime": {
  25298. "description": "记账时间",
  25299. "type": "string"
  25300. },
  25301. "daymaxvalue": {
  25302. "description": "配置当日最大转入限制",
  25303. "type": "number"
  25304. },
  25305. "daymaxvalue2": {
  25306. "description": "配置当日最大转入限制(转入)",
  25307. "type": "number"
  25308. },
  25309. "goodscode": {
  25310. "description": "商品代码",
  25311. "type": "string"
  25312. },
  25313. "goodsname": {
  25314. "description": "商品名称",
  25315. "type": "string"
  25316. },
  25317. "handlestatus": {
  25318. "description": "处理状态",
  25319. "type": "integer"
  25320. },
  25321. "innergoodsid": {
  25322. "description": "内部商品ID",
  25323. "type": "integer"
  25324. },
  25325. "inratio": {
  25326. "description": "配置转入比值",
  25327. "type": "integer"
  25328. },
  25329. "invalue": {
  25330. "description": "目标值",
  25331. "type": "number"
  25332. },
  25333. "logid": {
  25334. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25335. "type": "integer"
  25336. },
  25337. "mobile": {
  25338. "description": "手机号码(加密存储)",
  25339. "type": "string"
  25340. },
  25341. "outergoodscode": {
  25342. "description": "外部商品代码[JD\\PD]",
  25343. "type": "string"
  25344. },
  25345. "outratio": {
  25346. "description": "配置转出比值",
  25347. "type": "integer"
  25348. },
  25349. "outvalue": {
  25350. "description": "源值",
  25351. "type": "number"
  25352. },
  25353. "pddecimalplace": {
  25354. "description": "PD小数位",
  25355. "type": "integer"
  25356. },
  25357. "qty": {
  25358. "description": "数量",
  25359. "type": "string"
  25360. },
  25361. "remark": {
  25362. "description": "备注",
  25363. "type": "string"
  25364. },
  25365. "sessionid": {
  25366. "description": "会话ID",
  25367. "type": "integer"
  25368. },
  25369. "timemaxvalue": {
  25370. "description": "配置单次最大转入限制",
  25371. "type": "number"
  25372. },
  25373. "timemaxvalue2": {
  25374. "description": "配置单次最大转入限制(转入)",
  25375. "type": "number"
  25376. },
  25377. "timeminvalue": {
  25378. "description": "配置单次最小数量限制",
  25379. "type": "number"
  25380. },
  25381. "timeminvalue2": {
  25382. "description": "配置单次最小数量限制(转入)",
  25383. "type": "number"
  25384. },
  25385. "tradedate": {
  25386. "description": "交易日(yyyyMMdd)",
  25387. "type": "string"
  25388. },
  25389. "userid": {
  25390. "description": "用户ID",
  25391. "type": "integer"
  25392. }
  25393. }
  25394. },
  25395. "szdz.QueryGoodsPickupRsp": {
  25396. "type": "object",
  25397. "required": [
  25398. "takeorderid"
  25399. ],
  25400. "properties": {
  25401. "accountid": {
  25402. "description": "账户ID",
  25403. "type": "integer"
  25404. },
  25405. "address": {
  25406. "description": "提货人详细地址",
  25407. "type": "string"
  25408. },
  25409. "auditer": {
  25410. "description": "审核人",
  25411. "type": "integer"
  25412. },
  25413. "audittime": {
  25414. "description": "审核时间",
  25415. "type": "string"
  25416. },
  25417. "cardnum": {
  25418. "description": "提货人证件号码",
  25419. "type": "string"
  25420. },
  25421. "cardtypeid": {
  25422. "description": "提货人证件类型",
  25423. "type": "integer"
  25424. },
  25425. "checkremark": {
  25426. "description": "审核备注",
  25427. "type": "string"
  25428. },
  25429. "goodscode": {
  25430. "description": "商品代码",
  25431. "type": "string"
  25432. },
  25433. "goodsid": {
  25434. "description": "商品ID",
  25435. "type": "integer"
  25436. },
  25437. "goodsname": {
  25438. "description": "商品名称",
  25439. "type": "string"
  25440. },
  25441. "handlestatus": {
  25442. "description": "处理状态",
  25443. "type": "integer"
  25444. },
  25445. "marketid": {
  25446. "description": "市场ID",
  25447. "type": "integer"
  25448. },
  25449. "phonenum": {
  25450. "description": "提货人联系方式",
  25451. "type": "string"
  25452. },
  25453. "qty": {
  25454. "description": "提货数量",
  25455. "type": "number"
  25456. },
  25457. "recivername": {
  25458. "description": "提货人姓名",
  25459. "type": "string"
  25460. },
  25461. "reqtime": {
  25462. "description": "更新时间",
  25463. "type": "string"
  25464. },
  25465. "takemode": {
  25466. "description": "提货方式 - 2:自提 3:配送",
  25467. "type": "integer"
  25468. },
  25469. "takeorderid": {
  25470. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25471. "type": "string"
  25472. },
  25473. "takeorderstatus": {
  25474. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25475. "type": "integer"
  25476. },
  25477. "takeremark": {
  25478. "description": "提货备注",
  25479. "type": "string"
  25480. },
  25481. "tradedate": {
  25482. "description": "交易日(yyyyMMdd)",
  25483. "type": "string"
  25484. },
  25485. "userid": {
  25486. "description": "用户ID",
  25487. "type": "integer"
  25488. }
  25489. }
  25490. },
  25491. "szdz.QueryRecieptOrderRsp": {
  25492. "type": "object",
  25493. "required": [
  25494. "ordertime"
  25495. ],
  25496. "properties": {
  25497. "accountName": {
  25498. "description": "所属账号名称(已脱敏)",
  25499. "type": "string"
  25500. },
  25501. "accountid": {
  25502. "description": "资金账号",
  25503. "type": "integer"
  25504. },
  25505. "buyorsell": {
  25506. "description": "方向 - 0:买 1:卖",
  25507. "type": "integer"
  25508. },
  25509. "enableqty": {
  25510. "description": "可摘数量",
  25511. "type": "integer"
  25512. },
  25513. "goodscode": {
  25514. "description": "商品代码",
  25515. "type": "string"
  25516. },
  25517. "goodsid": {
  25518. "description": "商品ID",
  25519. "type": "integer"
  25520. },
  25521. "goodsname": {
  25522. "description": "商品名称",
  25523. "type": "string"
  25524. },
  25525. "orderid": {
  25526. "description": "委托单号",
  25527. "type": "string"
  25528. },
  25529. "orderprice": {
  25530. "description": "委托价格",
  25531. "type": "number"
  25532. },
  25533. "ordertime": {
  25534. "description": "委托时间",
  25535. "type": "string"
  25536. },
  25537. "tradedate": {
  25538. "description": "交易日(yyyyMMdd)",
  25539. "type": "string"
  25540. }
  25541. }
  25542. },
  25543. "szdz.QuerySZDZTradePositionRsp": {
  25544. "type": "object",
  25545. "properties": {
  25546. "accountid": {
  25547. "description": "账号Id",
  25548. "type": "integer"
  25549. },
  25550. "agreeunit": {
  25551. "description": "合约单位",
  25552. "type": "number"
  25553. },
  25554. "averageprice": {
  25555. "description": "持仓均价",
  25556. "type": "number"
  25557. },
  25558. "buyorsell": {
  25559. "description": "方向 - 0:买 1:卖",
  25560. "type": "integer"
  25561. },
  25562. "closetotalqty": {
  25563. "description": "平仓总数量",
  25564. "type": "integer"
  25565. },
  25566. "curholderamount": {
  25567. "description": "当前持仓总金额",
  25568. "type": "number"
  25569. },
  25570. "curpositionqty": {
  25571. "description": "当前持仓总数量",
  25572. "type": "integer"
  25573. },
  25574. "currencyid": {
  25575. "description": "报价货币ID",
  25576. "type": "integer"
  25577. },
  25578. "curtdposition": {
  25579. "description": "期末今日头寸",
  25580. "type": "integer"
  25581. },
  25582. "decimalplace": {
  25583. "description": "报价小数位",
  25584. "type": "integer"
  25585. },
  25586. "enableqty": {
  25587. "description": "可用量",
  25588. "type": "integer"
  25589. },
  25590. "fretdposition": {
  25591. "description": "冻结今日头寸",
  25592. "type": "integer"
  25593. },
  25594. "frozenqty": {
  25595. "description": "持仓冻结数量",
  25596. "type": "integer"
  25597. },
  25598. "goodscode": {
  25599. "description": "商品代码(内部)",
  25600. "type": "string"
  25601. },
  25602. "goodsid": {
  25603. "description": "商品Id",
  25604. "type": "integer"
  25605. },
  25606. "goodsname": {
  25607. "description": "商品名称",
  25608. "type": "string"
  25609. },
  25610. "goodunit": {
  25611. "description": "报价单位",
  25612. "type": "string"
  25613. },
  25614. "goodunitid": {
  25615. "description": "报价单位ID",
  25616. "type": "integer"
  25617. },
  25618. "holderamount": {
  25619. "description": "期初持仓总金额",
  25620. "type": "number"
  25621. },
  25622. "marketid": {
  25623. "description": "市场ID",
  25624. "type": "integer"
  25625. },
  25626. "openreqqty": {
  25627. "description": "开仓申请数量",
  25628. "type": "integer"
  25629. },
  25630. "opentotalqty": {
  25631. "description": "开仓总数量",
  25632. "type": "integer"
  25633. },
  25634. "otherfrozenqty": {
  25635. "description": "持仓其他冻结数量(交割冻结)",
  25636. "type": "integer"
  25637. },
  25638. "positionqty": {
  25639. "description": "期初持仓数量",
  25640. "type": "integer"
  25641. },
  25642. "szdz3freezqty": {
  25643. "description": "尚志大宗转换冻结总数量",
  25644. "type": "integer"
  25645. },
  25646. "tnqty": {
  25647. "description": "T+N冻结总量",
  25648. "type": "integer"
  25649. },
  25650. "tnusedqty": {
  25651. "description": "T+N使用量",
  25652. "type": "integer"
  25653. },
  25654. "trademode": {
  25655. "description": "交易模式",
  25656. "type": "integer"
  25657. },
  25658. "usedmargin": {
  25659. "description": "占用保证金",
  25660. "type": "number"
  25661. }
  25662. }
  25663. },
  25664. "taaccount.QueryAmountLogRsp": {
  25665. "type": "object",
  25666. "required": [
  25667. "accountid",
  25668. "amount",
  25669. "amountadjusttype",
  25670. "autoid",
  25671. "balance",
  25672. "createtime",
  25673. "currentbalance",
  25674. "operatetype"
  25675. ],
  25676. "properties": {
  25677. "OPERATETYPENAME": {
  25678. "description": "资金操作类型名称",
  25679. "type": "string"
  25680. },
  25681. "accountid": {
  25682. "description": "资金账户ID",
  25683. "type": "integer"
  25684. },
  25685. "agoodscode": {
  25686. "description": "竞拍商品代码",
  25687. "type": "string"
  25688. },
  25689. "agoodsname": {
  25690. "description": "竞拍商品名称",
  25691. "type": "string"
  25692. },
  25693. "amount": {
  25694. "description": "资金金额",
  25695. "type": "number"
  25696. },
  25697. "amountadjusttype": {
  25698. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25699. "type": "integer"
  25700. },
  25701. "autoid": {
  25702. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25703. "type": "integer"
  25704. },
  25705. "balance": {
  25706. "description": "期初余额",
  25707. "type": "number"
  25708. },
  25709. "businesscode": {
  25710. "description": "业务编号",
  25711. "type": "integer"
  25712. },
  25713. "createtime": {
  25714. "description": "发生时间",
  25715. "type": "string"
  25716. },
  25717. "currencyid": {
  25718. "description": "币种ID",
  25719. "type": "integer"
  25720. },
  25721. "currentbalance": {
  25722. "description": "期末余额(变动后金额)",
  25723. "type": "number"
  25724. },
  25725. "dgoodscode": {
  25726. "description": "交割商品代码",
  25727. "type": "string"
  25728. },
  25729. "dgoodsname": {
  25730. "description": "交割商品名称",
  25731. "type": "string"
  25732. },
  25733. "goodscode": {
  25734. "description": "商品代码",
  25735. "type": "string"
  25736. },
  25737. "goodsid": {
  25738. "description": "商品ID",
  25739. "type": "integer"
  25740. },
  25741. "goodsname": {
  25742. "description": "商品名称",
  25743. "type": "string"
  25744. },
  25745. "marketid": {
  25746. "description": "市场ID",
  25747. "type": "integer"
  25748. },
  25749. "marketname": {
  25750. "description": "市场名称",
  25751. "type": "string"
  25752. },
  25753. "moneyticket": {
  25754. "description": "资金流水号:银行端流水号",
  25755. "type": "integer"
  25756. },
  25757. "operatetype": {
  25758. "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:营销收款",
  25759. "type": "integer"
  25760. },
  25761. "relationorderid": {
  25762. "description": "关联单号",
  25763. "type": "string"
  25764. },
  25765. "remark": {
  25766. "description": "备注",
  25767. "type": "string"
  25768. },
  25769. "trademode": {
  25770. "description": "交易模式",
  25771. "type": "integer"
  25772. }
  25773. }
  25774. },
  25775. "taaccount.QueryHisAmountLogRsp": {
  25776. "type": "object",
  25777. "required": [
  25778. "accountid",
  25779. "amount",
  25780. "amountadjusttype",
  25781. "autoid",
  25782. "balance",
  25783. "createtime",
  25784. "currentbalance",
  25785. "histradedate",
  25786. "operatetype"
  25787. ],
  25788. "properties": {
  25789. "OPERATETYPENAME": {
  25790. "description": "资金操作类型名称",
  25791. "type": "string"
  25792. },
  25793. "accountid": {
  25794. "description": "资金账户ID",
  25795. "type": "integer"
  25796. },
  25797. "agoodscode": {
  25798. "description": "竞拍商品代码",
  25799. "type": "string"
  25800. },
  25801. "agoodsname": {
  25802. "description": "竞拍商品名称",
  25803. "type": "string"
  25804. },
  25805. "amount": {
  25806. "description": "资金金额",
  25807. "type": "number"
  25808. },
  25809. "amountadjusttype": {
  25810. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25811. "type": "integer"
  25812. },
  25813. "autoid": {
  25814. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25815. "type": "integer"
  25816. },
  25817. "balance": {
  25818. "description": "期初余额",
  25819. "type": "number"
  25820. },
  25821. "businesscode": {
  25822. "description": "业务编号",
  25823. "type": "integer"
  25824. },
  25825. "createtime": {
  25826. "description": "发生时间",
  25827. "type": "string"
  25828. },
  25829. "currencyid": {
  25830. "description": "币种ID",
  25831. "type": "integer"
  25832. },
  25833. "currentbalance": {
  25834. "description": "期末余额(变动后金额)",
  25835. "type": "number"
  25836. },
  25837. "dgoodscode": {
  25838. "description": "交割商品代码",
  25839. "type": "string"
  25840. },
  25841. "dgoodsname": {
  25842. "description": "交割商品名称",
  25843. "type": "string"
  25844. },
  25845. "goodscode": {
  25846. "description": "商品代码",
  25847. "type": "string"
  25848. },
  25849. "goodsid": {
  25850. "description": "商品ID",
  25851. "type": "integer"
  25852. },
  25853. "goodsname": {
  25854. "description": "商品名称",
  25855. "type": "string"
  25856. },
  25857. "histradedate": {
  25858. "description": "历史交易日",
  25859. "type": "string"
  25860. },
  25861. "isvaliddata": {
  25862. "description": "是否有效 - 0:无效 1:有效",
  25863. "type": "integer"
  25864. },
  25865. "marketid": {
  25866. "description": "市场ID",
  25867. "type": "integer"
  25868. },
  25869. "marketname": {
  25870. "description": "市场名称",
  25871. "type": "string"
  25872. },
  25873. "moneyticket": {
  25874. "description": "资金流水号:银行端流水号",
  25875. "type": "integer"
  25876. },
  25877. "operatetype": {
  25878. "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:营销收款",
  25879. "type": "integer"
  25880. },
  25881. "relationorderid": {
  25882. "description": "关联单号",
  25883. "type": "string"
  25884. },
  25885. "remark": {
  25886. "description": "备注",
  25887. "type": "string"
  25888. },
  25889. "trademode": {
  25890. "description": "交易模式",
  25891. "type": "integer"
  25892. }
  25893. }
  25894. },
  25895. "trade.QueryRecieptOrderRsp": {
  25896. "type": "object",
  25897. "required": [
  25898. "ordertime"
  25899. ],
  25900. "properties": {
  25901. "accountName": {
  25902. "description": "所属账号名称(已脱敏)",
  25903. "type": "string"
  25904. },
  25905. "accountid": {
  25906. "description": "资金账号",
  25907. "type": "integer"
  25908. },
  25909. "buyorsell": {
  25910. "description": "方向 - 0:买 1:卖",
  25911. "type": "integer"
  25912. },
  25913. "enableqty": {
  25914. "description": "可摘数量",
  25915. "type": "integer"
  25916. },
  25917. "goodscode": {
  25918. "description": "商品代码",
  25919. "type": "string"
  25920. },
  25921. "goodsid": {
  25922. "description": "商品ID",
  25923. "type": "integer"
  25924. },
  25925. "goodsname": {
  25926. "description": "商品名称",
  25927. "type": "string"
  25928. },
  25929. "orderid": {
  25930. "description": "委托单号",
  25931. "type": "string"
  25932. },
  25933. "orderprice": {
  25934. "description": "委托价格",
  25935. "type": "number"
  25936. },
  25937. "ordertime": {
  25938. "description": "委托时间",
  25939. "type": "string"
  25940. },
  25941. "tradedate": {
  25942. "description": "交易日(yyyyMMdd)",
  25943. "type": "string"
  25944. }
  25945. }
  25946. },
  25947. "user.LoginQueryRsp": {
  25948. "type": "object",
  25949. "properties": {
  25950. "externalExchanges": {
  25951. "description": "外部交易所",
  25952. "type": "array",
  25953. "items": {
  25954. "$ref": "#/definitions/models.Externalexchange"
  25955. }
  25956. },
  25957. "goodsgroups": {
  25958. "description": "商品组",
  25959. "type": "array",
  25960. "items": {
  25961. "$ref": "#/definitions/models.Goodsgroup"
  25962. }
  25963. },
  25964. "loginAccount": {
  25965. "description": "登录账号",
  25966. "type": "object",
  25967. "$ref": "#/definitions/models.Loginaccount"
  25968. },
  25969. "markets": {
  25970. "description": "市场",
  25971. "type": "array",
  25972. "items": {
  25973. "$ref": "#/definitions/models.Market"
  25974. }
  25975. },
  25976. "systemParams": {
  25977. "description": "系统参数",
  25978. "type": "array",
  25979. "items": {
  25980. "$ref": "#/definitions/models.Systemparam"
  25981. }
  25982. },
  25983. "userAccount": {
  25984. "description": "用户账号",
  25985. "type": "object",
  25986. "$ref": "#/definitions/models.Useraccount"
  25987. },
  25988. "userInfo": {
  25989. "description": "用户信息",
  25990. "type": "object",
  25991. "$ref": "#/definitions/models.Userinfo"
  25992. },
  25993. "username": {
  25994. "description": "用户姓名",
  25995. "type": "string"
  25996. }
  25997. }
  25998. }
  25999. },
  26000. "securityDefinitions": {
  26001. "ApiKeyAuth": {
  26002. "type": "apiKey",
  26003. "name": "Authorization",
  26004. "in": "header"
  26005. }
  26006. }
  26007. }