swagger.json 1.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://www.muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PC 1:Mobile",
  415. "name": "clientType",
  416. "in": "query"
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "type": "array",
  424. "items": {
  425. "$ref": "#/definitions/common.ClientMenu"
  426. }
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/GetDivisions": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询区域信息",
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/models.Division"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/GetServerTime": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "获取服务器时间",
  472. "responses": {
  473. "200": {
  474. "description": "OK",
  475. "schema": {
  476. "$ref": "#/definitions/app.Response"
  477. }
  478. },
  479. "500": {
  480. "description": "Internal Server Error",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/Common/NoticeReaded": {
  489. "post": {
  490. "security": [
  491. {
  492. "ApiKeyAuth": []
  493. }
  494. ],
  495. "produces": [
  496. "application/json"
  497. ],
  498. "tags": [
  499. "通用服务"
  500. ],
  501. "summary": "通知公告设置已读请求",
  502. "parameters": [
  503. {
  504. "type": "integer",
  505. "description": "登录账号",
  506. "name": "loginID",
  507. "in": "query",
  508. "required": true
  509. },
  510. {
  511. "type": "integer",
  512. "description": "通知公告ID",
  513. "name": "noticeID",
  514. "in": "query",
  515. "required": true
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryErrorInfos": {
  535. "get": {
  536. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "通用服务"
  542. ],
  543. "summary": "获取数据库错误信息",
  544. "parameters": [
  545. {
  546. "type": "string",
  547. "description": "起始行号前索引",
  548. "name": "rowNumber",
  549. "in": "query"
  550. }
  551. ],
  552. "responses": {
  553. "200": {
  554. "description": "OK",
  555. "schema": {
  556. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  557. }
  558. },
  559. "500": {
  560. "description": "Internal Server Error",
  561. "schema": {
  562. "$ref": "#/definitions/app.Response"
  563. }
  564. }
  565. }
  566. }
  567. },
  568. "/Common/QueryImageConfigs": {
  569. "get": {
  570. "produces": [
  571. "application/json"
  572. ],
  573. "tags": [
  574. "通用服务"
  575. ],
  576. "summary": "查询轮播图配置信息",
  577. "parameters": [
  578. {
  579. "type": "integer",
  580. "description": "用户id",
  581. "name": "userId",
  582. "in": "query"
  583. },
  584. {
  585. "type": "integer",
  586. "description": "类型 - 1:App首页轮播 2:我的",
  587. "name": "imageType",
  588. "in": "query"
  589. }
  590. ],
  591. "responses": {
  592. "200": {
  593. "description": "OK",
  594. "schema": {
  595. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  596. }
  597. },
  598. "500": {
  599. "description": "Internal Server Error",
  600. "schema": {
  601. "$ref": "#/definitions/app.Response"
  602. }
  603. }
  604. }
  605. }
  606. },
  607. "/Common/QueryNotice": {
  608. "get": {
  609. "security": [
  610. {
  611. "ApiKeyAuth": []
  612. }
  613. ],
  614. "produces": [
  615. "application/json"
  616. ],
  617. "tags": [
  618. "通用服务"
  619. ],
  620. "summary": "通知公告系统消息查询",
  621. "parameters": [
  622. {
  623. "type": "integer",
  624. "description": "页码",
  625. "name": "page",
  626. "in": "query"
  627. },
  628. {
  629. "type": "integer",
  630. "description": "每页条数",
  631. "name": "pagesize",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "登录账号",
  637. "name": "loginID",
  638. "in": "query",
  639. "required": true
  640. },
  641. {
  642. "type": "integer",
  643. "description": "消息类型 - 1:公告通知 2:系统消息",
  644. "name": "msgType",
  645. "in": "query"
  646. },
  647. {
  648. "type": "boolean",
  649. "description": "是否只获取未读信息",
  650. "name": "onlyUnRead",
  651. "in": "query"
  652. },
  653. {
  654. "type": "integer",
  655. "description": "自增ID,传入后会返回这个ID后面的记录",
  656. "name": "lastID",
  657. "in": "query"
  658. }
  659. ],
  660. "responses": {
  661. "200": {
  662. "description": "OK",
  663. "schema": {
  664. "$ref": "#/definitions/common.QueryNoticeRsp"
  665. }
  666. },
  667. "500": {
  668. "description": "Internal Server Error",
  669. "schema": {
  670. "$ref": "#/definitions/app.Response"
  671. }
  672. }
  673. }
  674. }
  675. },
  676. "/Common/QueryProvincesAndCities": {
  677. "get": {
  678. "produces": [
  679. "application/json"
  680. ],
  681. "tags": [
  682. "通用服务"
  683. ],
  684. "summary": "查询省市信息(不包括区)",
  685. "parameters": [
  686. {
  687. "type": "integer",
  688. "description": "省ID",
  689. "name": "provinceID",
  690. "in": "query"
  691. }
  692. ],
  693. "responses": {
  694. "200": {
  695. "description": "OK",
  696. "schema": {
  697. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  698. }
  699. },
  700. "500": {
  701. "description": "Internal Server Error",
  702. "schema": {
  703. "$ref": "#/definitions/app.Response"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/Common/QueryTableDefine": {
  710. "get": {
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "通用服务"
  716. ],
  717. "summary": "查询交易端列表头信息",
  718. "parameters": [
  719. {
  720. "type": "string",
  721. "description": "表key",
  722. "name": "tableKey",
  723. "in": "query"
  724. },
  725. {
  726. "type": "integer",
  727. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  728. "name": "tableType",
  729. "in": "query"
  730. }
  731. ],
  732. "responses": {
  733. "200": {
  734. "description": "OK",
  735. "schema": {
  736. "$ref": "#/definitions/common.QueryTableDefineRsp"
  737. }
  738. },
  739. "500": {
  740. "description": "Internal Server Error",
  741. "schema": {
  742. "$ref": "#/definitions/app.Response"
  743. }
  744. }
  745. }
  746. }
  747. },
  748. "/Common/QueryTraderMenu": {
  749. "get": {
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "查询交易端菜单",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginid",
  762. "in": "query",
  763. "required": true
  764. }
  765. ],
  766. "responses": {
  767. "200": {
  768. "description": "OK",
  769. "schema": {
  770. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  771. }
  772. },
  773. "500": {
  774. "description": "Internal Server Error",
  775. "schema": {
  776. "$ref": "#/definitions/app.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/Delivery/QueryDeliveryRelation": {
  783. "get": {
  784. "security": [
  785. {
  786. "ApiKeyAuth": []
  787. }
  788. ],
  789. "produces": [
  790. "application/json"
  791. ],
  792. "tags": [
  793. "交割服务"
  794. ],
  795. "summary": "查询商品交割关系表",
  796. "parameters": [
  797. {
  798. "type": "integer",
  799. "description": "商品ID",
  800. "name": "goodsid",
  801. "in": "query"
  802. },
  803. {
  804. "type": "integer",
  805. "description": "品种ID",
  806. "name": "deliverygoodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "市场ID",
  812. "name": "marketid",
  813. "in": "query"
  814. }
  815. ],
  816. "responses": {
  817. "200": {
  818. "description": "OK",
  819. "schema": {
  820. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  821. }
  822. },
  823. "500": {
  824. "description": "Internal Server Error",
  825. "schema": {
  826. "$ref": "#/definitions/app.Response"
  827. }
  828. }
  829. }
  830. }
  831. },
  832. "/Ermcp/GetErmcpGoods": {
  833. "get": {
  834. "security": [
  835. {
  836. "ApiKeyAuth": []
  837. }
  838. ],
  839. "produces": [
  840. "application/json"
  841. ],
  842. "tags": [
  843. "企业风险管理(app)"
  844. ],
  845. "summary": "查询企业风管期货商品信息",
  846. "parameters": [
  847. {
  848. "type": "string",
  849. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  850. "name": "lastUpdateTime",
  851. "in": "query"
  852. }
  853. ],
  854. "responses": {
  855. "200": {
  856. "description": "OK",
  857. "schema": {
  858. "$ref": "#/definitions/models.ErmcpGoods"
  859. }
  860. },
  861. "500": {
  862. "description": "Internal Server Error",
  863. "schema": {
  864. "$ref": "#/definitions/app.Response"
  865. }
  866. }
  867. }
  868. }
  869. },
  870. "/Ermcp/GetErmcpGoodsSortByPosition": {
  871. "get": {
  872. "security": [
  873. {
  874. "ApiKeyAuth": []
  875. }
  876. ],
  877. "produces": [
  878. "application/json"
  879. ],
  880. "tags": [
  881. "企业风险管理(app)"
  882. ],
  883. "summary": "查询企业风管期货主力、次主力商品信息",
  884. "parameters": [
  885. {
  886. "type": "string",
  887. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  888. "name": "sortIndex",
  889. "in": "query"
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "OK",
  895. "schema": {
  896. "$ref": "#/definitions/models.Goodssortbypreposition"
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Ermcp/GetErmcpOutAccountStatus": {
  909. "get": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "企业风险管理(app)"
  920. ],
  921. "summary": "获取目标登录账号当前对冲账号在线状态",
  922. "parameters": [
  923. {
  924. "type": "integer",
  925. "description": "登录账号",
  926. "name": "loginID",
  927. "in": "query",
  928. "required": true
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "$ref": "#/definitions/models.Hedgemarketopenlog"
  936. }
  937. },
  938. "500": {
  939. "description": "Internal Server Error",
  940. "schema": {
  941. "$ref": "#/definitions/app.Response"
  942. }
  943. }
  944. }
  945. }
  946. },
  947. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  948. "get": {
  949. "security": [
  950. {
  951. "ApiKeyAuth": []
  952. }
  953. ],
  954. "produces": [
  955. "application/json"
  956. ],
  957. "tags": [
  958. "企业风险管理(app)"
  959. ],
  960. "summary": "获取企业风管终端权限",
  961. "parameters": [
  962. {
  963. "type": "integer",
  964. "description": "登录账号",
  965. "name": "loginID",
  966. "in": "query",
  967. "required": true
  968. }
  969. ],
  970. "responses": {
  971. "200": {
  972. "description": "OK",
  973. "schema": {
  974. "$ref": "#/definitions/models.Funcmenulist"
  975. }
  976. },
  977. "500": {
  978. "description": "Internal Server Error",
  979. "schema": {
  980. "$ref": "#/definitions/app.Response"
  981. }
  982. }
  983. }
  984. }
  985. },
  986. "/Ermcp/QueryAccMgrBizGroupSet": {
  987. "get": {
  988. "security": [
  989. {
  990. "ApiKeyAuth": []
  991. }
  992. ],
  993. "produces": [
  994. "application/json"
  995. ],
  996. "tags": [
  997. "企业风险管理(app)"
  998. ],
  999. "summary": "查询业务类型分组(账户管理/账户设置)",
  1000. "parameters": [
  1001. {
  1002. "type": "integer",
  1003. "description": "用户ID",
  1004. "name": "userid",
  1005. "in": "query",
  1006. "required": true
  1007. },
  1008. {
  1009. "type": "integer",
  1010. "description": "现货商品id",
  1011. "name": "deliverygoodsid",
  1012. "in": "query"
  1013. }
  1014. ],
  1015. "responses": {
  1016. "200": {
  1017. "description": "OK",
  1018. "schema": {
  1019. "type": "array",
  1020. "items": {
  1021. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1022. }
  1023. }
  1024. },
  1025. "500": {
  1026. "description": "Internal Server Error",
  1027. "schema": {
  1028. "$ref": "#/definitions/app.Response"
  1029. }
  1030. }
  1031. }
  1032. }
  1033. },
  1034. "/Ermcp/QueryAccMgrLoginUser": {
  1035. "get": {
  1036. "security": [
  1037. {
  1038. "ApiKeyAuth": []
  1039. }
  1040. ],
  1041. "produces": [
  1042. "application/json"
  1043. ],
  1044. "tags": [
  1045. "企业风险管理(app)"
  1046. ],
  1047. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1048. "parameters": [
  1049. {
  1050. "type": "integer",
  1051. "description": "用户ID",
  1052. "name": "userid",
  1053. "in": "query",
  1054. "required": true
  1055. },
  1056. {
  1057. "type": "integer",
  1058. "description": "用户类型 2-机构 7-企业成员",
  1059. "name": "usertype",
  1060. "in": "query"
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1065. "name": "querytype",
  1066. "in": "query",
  1067. "required": true
  1068. }
  1069. ],
  1070. "responses": {
  1071. "200": {
  1072. "description": "OK",
  1073. "schema": {
  1074. "type": "array",
  1075. "items": {
  1076. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1077. }
  1078. }
  1079. },
  1080. "500": {
  1081. "description": "Internal Server Error",
  1082. "schema": {
  1083. "$ref": "#/definitions/app.Response"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1090. "get": {
  1091. "security": [
  1092. {
  1093. "ApiKeyAuth": []
  1094. }
  1095. ],
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "tags": [
  1100. "企业风险管理(app)"
  1101. ],
  1102. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1103. "parameters": [
  1104. {
  1105. "type": "integer",
  1106. "description": "用户ID",
  1107. "name": "userid",
  1108. "in": "query"
  1109. },
  1110. {
  1111. "type": "integer",
  1112. "description": "主账号id",
  1113. "name": "accountid",
  1114. "in": "query"
  1115. }
  1116. ],
  1117. "responses": {
  1118. "200": {
  1119. "description": "OK",
  1120. "schema": {
  1121. "type": "array",
  1122. "items": {
  1123. "$ref": "#/definitions/models.MainAccountInfo"
  1124. }
  1125. }
  1126. },
  1127. "500": {
  1128. "description": "Internal Server Error",
  1129. "schema": {
  1130. "$ref": "#/definitions/app.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/Ermcp/QueryAccMgrRole": {
  1137. "get": {
  1138. "security": [
  1139. {
  1140. "ApiKeyAuth": []
  1141. }
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "企业风险管理(app)"
  1148. ],
  1149. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1150. "parameters": [
  1151. {
  1152. "type": "integer",
  1153. "description": "用户ID",
  1154. "name": "userid",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "type": "array",
  1164. "items": {
  1165. "$ref": "#/definitions/models.ErmcpRole"
  1166. }
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/Ermcp/QueryAccMgrRoleMenu": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "企业风险管理(app)"
  1190. ],
  1191. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1192. "parameters": [
  1193. {
  1194. "type": "integer",
  1195. "description": "用户ID",
  1196. "name": "userid",
  1197. "in": "query",
  1198. "required": true
  1199. },
  1200. {
  1201. "type": "string",
  1202. "description": "角色id(可多个,逗号隔开)",
  1203. "name": "roleid",
  1204. "in": "query"
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "账号id",
  1251. "name": "accountid",
  1252. "in": "query"
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "type": "array",
  1260. "items": {
  1261. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1262. }
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/Ermcp/QueryAccMgrTaaccount": {
  1275. "get": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "企业风险管理(app)"
  1286. ],
  1287. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1288. "parameters": [
  1289. {
  1290. "type": "integer",
  1291. "description": "用户ID",
  1292. "name": "userid",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "type": "array",
  1302. "items": {
  1303. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1304. }
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Ermcp/QueryAvaildGoodsGroup": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "企业风险管理(app)"
  1328. ],
  1329. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1330. "parameters": [
  1331. {
  1332. "type": "integer",
  1333. "description": "所属机构ID",
  1334. "name": "userid",
  1335. "in": "query",
  1336. "required": true
  1337. }
  1338. ],
  1339. "responses": {
  1340. "200": {
  1341. "description": "OK",
  1342. "schema": {
  1343. "type": "array",
  1344. "items": {
  1345. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1346. }
  1347. }
  1348. },
  1349. "500": {
  1350. "description": "Internal Server Error",
  1351. "schema": {
  1352. "$ref": "#/definitions/app.Response"
  1353. }
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "/Ermcp/QueryBusinessDj": {
  1359. "get": {
  1360. "security": [
  1361. {
  1362. "ApiKeyAuth": []
  1363. }
  1364. ],
  1365. "produces": [
  1366. "application/json"
  1367. ],
  1368. "tags": [
  1369. "企业风险管理(app)"
  1370. ],
  1371. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1372. "parameters": [
  1373. {
  1374. "type": "integer",
  1375. "description": "用户ID",
  1376. "name": "UserId",
  1377. "in": "query",
  1378. "required": true
  1379. },
  1380. {
  1381. "type": "integer",
  1382. "description": "用户类型 2-机构 7-企业成员",
  1383. "name": "usertype",
  1384. "in": "query"
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "现货合同ID, 不填则查所有",
  1389. "name": "relatedid",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1395. "name": "applystatus",
  1396. "in": "query"
  1397. }
  1398. ],
  1399. "responses": {
  1400. "200": {
  1401. "description": "OK",
  1402. "schema": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1406. }
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "Internal Server Error",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "/Ermcp/QueryBusinessFp": {
  1419. "get": {
  1420. "security": [
  1421. {
  1422. "ApiKeyAuth": []
  1423. }
  1424. ],
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "企业风险管理(app)"
  1430. ],
  1431. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "用户ID",
  1436. "name": "UserId",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "integer",
  1442. "description": "用户类型 2-机构 7-企业成员",
  1443. "name": "usertype",
  1444. "in": "query"
  1445. },
  1446. {
  1447. "type": "string",
  1448. "description": "现货合同ID, 不填则查所有",
  1449. "name": "relatedid",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1455. "name": "applystatus",
  1456. "in": "query"
  1457. }
  1458. ],
  1459. "responses": {
  1460. "200": {
  1461. "description": "OK",
  1462. "schema": {
  1463. "type": "array",
  1464. "items": {
  1465. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1466. }
  1467. }
  1468. },
  1469. "500": {
  1470. "description": "Internal Server Error",
  1471. "schema": {
  1472. "$ref": "#/definitions/app.Response"
  1473. }
  1474. }
  1475. }
  1476. }
  1477. },
  1478. "/Ermcp/QueryBusinessJs": {
  1479. "get": {
  1480. "security": [
  1481. {
  1482. "ApiKeyAuth": []
  1483. }
  1484. ],
  1485. "produces": [
  1486. "application/json"
  1487. ],
  1488. "tags": [
  1489. "企业风险管理(app)"
  1490. ],
  1491. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1492. "parameters": [
  1493. {
  1494. "type": "integer",
  1495. "description": "用户ID",
  1496. "name": "UserId",
  1497. "in": "query",
  1498. "required": true
  1499. },
  1500. {
  1501. "type": "integer",
  1502. "description": "用户类型 2-机构 7-企业成员",
  1503. "name": "usertype",
  1504. "in": "query"
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "现货合同ID, 不填则查所有",
  1509. "name": "relatedid",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "操作申请id",
  1515. "name": "operateapplyid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1521. "name": "applystatus",
  1522. "in": "query"
  1523. }
  1524. ],
  1525. "responses": {
  1526. "200": {
  1527. "description": "OK",
  1528. "schema": {
  1529. "type": "array",
  1530. "items": {
  1531. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1532. }
  1533. }
  1534. },
  1535. "500": {
  1536. "description": "Internal Server Error",
  1537. "schema": {
  1538. "$ref": "#/definitions/app.Response"
  1539. }
  1540. }
  1541. }
  1542. }
  1543. },
  1544. "/Ermcp/QueryBusinessJsEx": {
  1545. "get": {
  1546. "security": [
  1547. {
  1548. "ApiKeyAuth": []
  1549. }
  1550. ],
  1551. "produces": [
  1552. "application/json"
  1553. ],
  1554. "tags": [
  1555. "企业风险管理(app)"
  1556. ],
  1557. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1558. "parameters": [
  1559. {
  1560. "type": "integer",
  1561. "description": "用户ID",
  1562. "name": "UserId",
  1563. "in": "query",
  1564. "required": true
  1565. },
  1566. {
  1567. "type": "integer",
  1568. "description": "用户类型 2-机构 7-企业成员",
  1569. "name": "usertype",
  1570. "in": "query"
  1571. },
  1572. {
  1573. "type": "string",
  1574. "description": "现货合同ID, 不填则查所有",
  1575. "name": "relatedid",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1581. "name": "applystatus",
  1582. "in": "query"
  1583. }
  1584. ],
  1585. "responses": {
  1586. "200": {
  1587. "description": "OK",
  1588. "schema": {
  1589. "type": "array",
  1590. "items": {
  1591. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1592. }
  1593. }
  1594. },
  1595. "500": {
  1596. "description": "Internal Server Error",
  1597. "schema": {
  1598. "$ref": "#/definitions/app.Response"
  1599. }
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "/Ermcp/QueryBusinessKx": {
  1605. "get": {
  1606. "security": [
  1607. {
  1608. "ApiKeyAuth": []
  1609. }
  1610. ],
  1611. "produces": [
  1612. "application/json"
  1613. ],
  1614. "tags": [
  1615. "企业风险管理(app)"
  1616. ],
  1617. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1618. "parameters": [
  1619. {
  1620. "type": "integer",
  1621. "description": "用户ID",
  1622. "name": "UserId",
  1623. "in": "query",
  1624. "required": true
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "用户类型 2-机构 7-企业成员",
  1629. "name": "usertype",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "string",
  1634. "description": "现货合同ID, 不填则查所有",
  1635. "name": "relatedid",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1641. "name": "applystatus",
  1642. "in": "query"
  1643. }
  1644. ],
  1645. "responses": {
  1646. "200": {
  1647. "description": "OK",
  1648. "schema": {
  1649. "type": "array",
  1650. "items": {
  1651. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1652. }
  1653. }
  1654. },
  1655. "500": {
  1656. "description": "Internal Server Error",
  1657. "schema": {
  1658. "$ref": "#/definitions/app.Response"
  1659. }
  1660. }
  1661. }
  1662. }
  1663. },
  1664. "/Ermcp/QueryChangeLog": {
  1665. "get": {
  1666. "security": [
  1667. {
  1668. "ApiKeyAuth": []
  1669. }
  1670. ],
  1671. "produces": [
  1672. "application/json"
  1673. ],
  1674. "tags": [
  1675. "企业风险管理(app)"
  1676. ],
  1677. "summary": "查询变更记录",
  1678. "parameters": [
  1679. {
  1680. "type": "string",
  1681. "description": "合同ID",
  1682. "name": "RelatedId",
  1683. "in": "query",
  1684. "required": true
  1685. }
  1686. ],
  1687. "responses": {
  1688. "200": {
  1689. "description": "OK",
  1690. "schema": {
  1691. "type": "array",
  1692. "items": {
  1693. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1694. }
  1695. }
  1696. },
  1697. "500": {
  1698. "description": "Internal Server Error",
  1699. "schema": {
  1700. "$ref": "#/definitions/app.Response"
  1701. }
  1702. }
  1703. }
  1704. }
  1705. },
  1706. "/Ermcp/QueryErmcpHisOrderDetails": {
  1707. "get": {
  1708. "security": [
  1709. {
  1710. "ApiKeyAuth": []
  1711. }
  1712. ],
  1713. "produces": [
  1714. "application/json"
  1715. ],
  1716. "tags": [
  1717. "企业风险管理(app)"
  1718. ],
  1719. "summary": "获取企业风管期货历史委托单信息",
  1720. "parameters": [
  1721. {
  1722. "type": "integer",
  1723. "description": "资金账户ID",
  1724. "name": "accountID",
  1725. "in": "query",
  1726. "required": true
  1727. },
  1728. {
  1729. "type": "string",
  1730. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1731. "name": "startDate",
  1732. "in": "query"
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "endDate",
  1738. "in": "query"
  1739. }
  1740. ],
  1741. "responses": {
  1742. "200": {
  1743. "description": "OK",
  1744. "schema": {
  1745. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1746. }
  1747. },
  1748. "500": {
  1749. "description": "Internal Server Error",
  1750. "schema": {
  1751. "$ref": "#/definitions/app.Response"
  1752. }
  1753. }
  1754. }
  1755. }
  1756. },
  1757. "/Ermcp/QueryErmcpHisTradeDetails": {
  1758. "get": {
  1759. "security": [
  1760. {
  1761. "ApiKeyAuth": []
  1762. }
  1763. ],
  1764. "produces": [
  1765. "application/json"
  1766. ],
  1767. "tags": [
  1768. "企业风险管理(app)"
  1769. ],
  1770. "summary": "获取企业风管期货历史成交单信息",
  1771. "parameters": [
  1772. {
  1773. "type": "integer",
  1774. "description": "资金账户ID",
  1775. "name": "accountID",
  1776. "in": "query",
  1777. "required": true
  1778. },
  1779. {
  1780. "type": "integer",
  1781. "description": "商品ID",
  1782. "name": "goodsID",
  1783. "in": "query"
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "买卖方向,0:买 1:卖",
  1788. "name": "buyOrSell",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "关联委托单号",
  1794. "name": "orderID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "string",
  1799. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1800. "name": "startDate",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "endDate",
  1807. "in": "query"
  1808. }
  1809. ],
  1810. "responses": {
  1811. "200": {
  1812. "description": "OK",
  1813. "schema": {
  1814. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1815. }
  1816. },
  1817. "500": {
  1818. "description": "Internal Server Error",
  1819. "schema": {
  1820. "$ref": "#/definitions/app.Response"
  1821. }
  1822. }
  1823. }
  1824. }
  1825. },
  1826. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1827. "get": {
  1828. "security": [
  1829. {
  1830. "ApiKeyAuth": []
  1831. }
  1832. ],
  1833. "produces": [
  1834. "application/json"
  1835. ],
  1836. "tags": [
  1837. "企业风险管理(app)"
  1838. ],
  1839. "summary": "获取企业风管期货内部持仓单信息",
  1840. "parameters": [
  1841. {
  1842. "type": "integer",
  1843. "description": "资金账户ID",
  1844. "name": "accountID",
  1845. "in": "query",
  1846. "required": true
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "商品ID",
  1851. "name": "goodsID",
  1852. "in": "query"
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "买卖方向,0:买 1:卖",
  1857. "name": "buyOrSell",
  1858. "in": "query"
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "OK",
  1864. "schema": {
  1865. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1866. }
  1867. },
  1868. "500": {
  1869. "description": "Internal Server Error",
  1870. "schema": {
  1871. "$ref": "#/definitions/app.Response"
  1872. }
  1873. }
  1874. }
  1875. }
  1876. },
  1877. "/Ermcp/QueryErmcpOrderDetails": {
  1878. "get": {
  1879. "security": [
  1880. {
  1881. "ApiKeyAuth": []
  1882. }
  1883. ],
  1884. "produces": [
  1885. "application/json"
  1886. ],
  1887. "tags": [
  1888. "企业风险管理(app)"
  1889. ],
  1890. "summary": "获取企业风管期货委托单信息",
  1891. "parameters": [
  1892. {
  1893. "type": "integer",
  1894. "description": "资金账户ID",
  1895. "name": "accountID",
  1896. "in": "query",
  1897. "required": true
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1905. }
  1906. },
  1907. "500": {
  1908. "description": "Internal Server Error",
  1909. "schema": {
  1910. "$ref": "#/definitions/app.Response"
  1911. }
  1912. }
  1913. }
  1914. }
  1915. },
  1916. "/Ermcp/QueryErmcpTradeDetails": {
  1917. "get": {
  1918. "security": [
  1919. {
  1920. "ApiKeyAuth": []
  1921. }
  1922. ],
  1923. "produces": [
  1924. "application/json"
  1925. ],
  1926. "tags": [
  1927. "企业风险管理(app)"
  1928. ],
  1929. "summary": "获取企业风管期货成交单信息",
  1930. "parameters": [
  1931. {
  1932. "type": "integer",
  1933. "description": "资金账户ID",
  1934. "name": "accountID",
  1935. "in": "query",
  1936. "required": true
  1937. },
  1938. {
  1939. "type": "integer",
  1940. "description": "商品ID",
  1941. "name": "goodsID",
  1942. "in": "query"
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "买卖方向,0:买 1:卖",
  1947. "name": "buyOrSell",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "关联委托单号",
  1953. "name": "orderID",
  1954. "in": "query"
  1955. }
  1956. ],
  1957. "responses": {
  1958. "200": {
  1959. "description": "OK",
  1960. "schema": {
  1961. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1962. }
  1963. },
  1964. "500": {
  1965. "description": "Internal Server Error",
  1966. "schema": {
  1967. "$ref": "#/definitions/app.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/Ermcp/QueryErmcpTradePosition": {
  1974. "get": {
  1975. "security": [
  1976. {
  1977. "ApiKeyAuth": []
  1978. }
  1979. ],
  1980. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1981. "produces": [
  1982. "application/json"
  1983. ],
  1984. "tags": [
  1985. "企业风险管理(app)"
  1986. ],
  1987. "summary": "获取企业风管期货持仓头寸信息",
  1988. "parameters": [
  1989. {
  1990. "type": "integer",
  1991. "description": "资金账户ID",
  1992. "name": "accountID",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "所属市场ID",
  1999. "name": "marketID",
  2000. "in": "query"
  2001. }
  2002. ],
  2003. "responses": {
  2004. "200": {
  2005. "description": "OK",
  2006. "schema": {
  2007. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2008. }
  2009. },
  2010. "500": {
  2011. "description": "Internal Server Error",
  2012. "schema": {
  2013. "$ref": "#/definitions/app.Response"
  2014. }
  2015. }
  2016. }
  2017. }
  2018. },
  2019. "/Ermcp/QueryExposureDetail": {
  2020. "get": {
  2021. "security": [
  2022. {
  2023. "ApiKeyAuth": []
  2024. }
  2025. ],
  2026. "produces": [
  2027. "application/json"
  2028. ],
  2029. "tags": [
  2030. "企业风险管理(app)"
  2031. ],
  2032. "summary": "查询敞口现货明细",
  2033. "parameters": [
  2034. {
  2035. "type": "integer",
  2036. "description": "所属机构ID",
  2037. "name": "areaUserId",
  2038. "in": "query",
  2039. "required": true
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "套保商品",
  2044. "name": "middleGoodsId",
  2045. "in": "query",
  2046. "required": true
  2047. }
  2048. ],
  2049. "responses": {
  2050. "200": {
  2051. "description": "OK",
  2052. "schema": {
  2053. "type": "array",
  2054. "items": {
  2055. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2056. }
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/Ermcp/QueryExposureGoods": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "企业风险管理(app)"
  2080. ],
  2081. "summary": "查询敞口主力合约",
  2082. "parameters": [
  2083. {
  2084. "type": "integer",
  2085. "description": "套保商品id",
  2086. "name": "middlegoodsid",
  2087. "in": "query",
  2088. "required": true
  2089. }
  2090. ],
  2091. "responses": {
  2092. "200": {
  2093. "description": "OK",
  2094. "schema": {
  2095. "type": "array",
  2096. "items": {
  2097. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2098. }
  2099. }
  2100. },
  2101. "500": {
  2102. "description": "Internal Server Error",
  2103. "schema": {
  2104. "$ref": "#/definitions/app.Response"
  2105. }
  2106. }
  2107. }
  2108. }
  2109. },
  2110. "/Ermcp/QueryExposureHedgePosition": {
  2111. "get": {
  2112. "security": [
  2113. {
  2114. "ApiKeyAuth": []
  2115. }
  2116. ],
  2117. "produces": [
  2118. "application/json"
  2119. ],
  2120. "tags": [
  2121. "企业风险管理(app)"
  2122. ],
  2123. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2124. "parameters": [
  2125. {
  2126. "type": "integer",
  2127. "description": "用户id",
  2128. "name": "userid",
  2129. "in": "query",
  2130. "required": true
  2131. }
  2132. ],
  2133. "responses": {
  2134. "200": {
  2135. "description": "OK",
  2136. "schema": {
  2137. "type": "array",
  2138. "items": {
  2139. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2140. }
  2141. }
  2142. },
  2143. "500": {
  2144. "description": "Internal Server Error",
  2145. "schema": {
  2146. "$ref": "#/definitions/app.Response"
  2147. }
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "/Ermcp/QueryExposureHedgePositionDetail": {
  2153. "get": {
  2154. "security": [
  2155. {
  2156. "ApiKeyAuth": []
  2157. }
  2158. ],
  2159. "produces": [
  2160. "application/json"
  2161. ],
  2162. "tags": [
  2163. "企业风险管理(app)"
  2164. ],
  2165. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2166. "parameters": [
  2167. {
  2168. "type": "integer",
  2169. "description": "所属机构ID",
  2170. "name": "userid",
  2171. "in": "query",
  2172. "required": true
  2173. },
  2174. {
  2175. "type": "integer",
  2176. "description": "商品id",
  2177. "name": "goodsId",
  2178. "in": "query",
  2179. "required": true
  2180. }
  2181. ],
  2182. "responses": {
  2183. "200": {
  2184. "description": "OK",
  2185. "schema": {
  2186. "type": "array",
  2187. "items": {
  2188. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2189. }
  2190. }
  2191. },
  2192. "500": {
  2193. "description": "Internal Server Error",
  2194. "schema": {
  2195. "$ref": "#/definitions/app.Response"
  2196. }
  2197. }
  2198. }
  2199. }
  2200. },
  2201. "/Ermcp/QueryExposureSpot": {
  2202. "get": {
  2203. "security": [
  2204. {
  2205. "ApiKeyAuth": []
  2206. }
  2207. ],
  2208. "produces": [
  2209. "application/json"
  2210. ],
  2211. "tags": [
  2212. "企业风险管理(app)"
  2213. ],
  2214. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2215. "parameters": [
  2216. {
  2217. "type": "integer",
  2218. "description": "所属机构ID",
  2219. "name": "areaUserId",
  2220. "in": "query",
  2221. "required": true
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "type": "array",
  2229. "items": {
  2230. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2231. }
  2232. }
  2233. },
  2234. "500": {
  2235. "description": "Internal Server Error",
  2236. "schema": {
  2237. "$ref": "#/definitions/app.Response"
  2238. }
  2239. }
  2240. }
  2241. }
  2242. },
  2243. "/Ermcp/QueryExposureSpotDetail": {
  2244. "get": {
  2245. "security": [
  2246. {
  2247. "ApiKeyAuth": []
  2248. }
  2249. ],
  2250. "produces": [
  2251. "application/json"
  2252. ],
  2253. "tags": [
  2254. "企业风险管理(app)"
  2255. ],
  2256. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2257. "parameters": [
  2258. {
  2259. "type": "integer",
  2260. "description": "所属机构ID",
  2261. "name": "areaUserId",
  2262. "in": "query",
  2263. "required": true
  2264. },
  2265. {
  2266. "type": "integer",
  2267. "description": "现货品种ID",
  2268. "name": "wrstandardId",
  2269. "in": "query",
  2270. "required": true
  2271. }
  2272. ],
  2273. "responses": {
  2274. "200": {
  2275. "description": "OK",
  2276. "schema": {
  2277. "type": "array",
  2278. "items": {
  2279. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2280. }
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryFuturesCompany": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "查询期货公司",
  2306. "responses": {
  2307. "200": {
  2308. "description": "OK",
  2309. "schema": {
  2310. "type": "array",
  2311. "items": {
  2312. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2313. }
  2314. }
  2315. },
  2316. "500": {
  2317. "description": "Internal Server Error",
  2318. "schema": {
  2319. "$ref": "#/definitions/app.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/Ermcp/QueryGGConvertConfig": {
  2326. "get": {
  2327. "security": [
  2328. {
  2329. "ApiKeyAuth": []
  2330. }
  2331. ],
  2332. "produces": [
  2333. "application/json"
  2334. ],
  2335. "tags": [
  2336. "企业风险管理(app)"
  2337. ],
  2338. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2339. "parameters": [
  2340. {
  2341. "type": "integer",
  2342. "description": "品种id(不填则查所有)",
  2343. "name": "goodsgroupid",
  2344. "in": "query"
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "OK",
  2350. "schema": {
  2351. "type": "array",
  2352. "items": {
  2353. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2354. }
  2355. }
  2356. },
  2357. "500": {
  2358. "description": "Internal Server Error",
  2359. "schema": {
  2360. "$ref": "#/definitions/app.Response"
  2361. }
  2362. }
  2363. }
  2364. }
  2365. },
  2366. "/Ermcp/QueryGoodsBrand": {
  2367. "get": {
  2368. "security": [
  2369. {
  2370. "ApiKeyAuth": []
  2371. }
  2372. ],
  2373. "produces": [
  2374. "application/json"
  2375. ],
  2376. "tags": [
  2377. "企业风险管理(app)"
  2378. ],
  2379. "summary": "查询商品品牌",
  2380. "parameters": [
  2381. {
  2382. "type": "integer",
  2383. "description": "用户ID",
  2384. "name": "userid",
  2385. "in": "query",
  2386. "required": true
  2387. },
  2388. {
  2389. "type": "integer",
  2390. "description": "现货商品ID",
  2391. "name": "wrstandardid",
  2392. "in": "query"
  2393. }
  2394. ],
  2395. "responses": {
  2396. "200": {
  2397. "description": "OK",
  2398. "schema": {
  2399. "type": "array",
  2400. "items": {
  2401. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2402. }
  2403. }
  2404. },
  2405. "500": {
  2406. "description": "Internal Server Error",
  2407. "schema": {
  2408. "$ref": "#/definitions/app.Response"
  2409. }
  2410. }
  2411. }
  2412. }
  2413. },
  2414. "/Ermcp/QueryGoodsModel": {
  2415. "get": {
  2416. "security": [
  2417. {
  2418. "ApiKeyAuth": []
  2419. }
  2420. ],
  2421. "produces": [
  2422. "application/json"
  2423. ],
  2424. "tags": [
  2425. "企业风险管理(app)"
  2426. ],
  2427. "summary": "查询商品型号",
  2428. "parameters": [
  2429. {
  2430. "type": "integer",
  2431. "description": "用户ID",
  2432. "name": "userid",
  2433. "in": "query",
  2434. "required": true
  2435. }
  2436. ],
  2437. "responses": {
  2438. "200": {
  2439. "description": "OK",
  2440. "schema": {
  2441. "type": "array",
  2442. "items": {
  2443. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2444. }
  2445. }
  2446. },
  2447. "500": {
  2448. "description": "Internal Server Error",
  2449. "schema": {
  2450. "$ref": "#/definitions/app.Response"
  2451. }
  2452. }
  2453. }
  2454. }
  2455. },
  2456. "/Ermcp/QueryHisExposure": {
  2457. "get": {
  2458. "security": [
  2459. {
  2460. "ApiKeyAuth": []
  2461. }
  2462. ],
  2463. "produces": [
  2464. "application/json"
  2465. ],
  2466. "tags": [
  2467. "企业风险管理(app)"
  2468. ],
  2469. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2470. "parameters": [
  2471. {
  2472. "type": "integer",
  2473. "description": "用户id",
  2474. "name": "userid",
  2475. "in": "query",
  2476. "required": true
  2477. },
  2478. {
  2479. "type": "integer",
  2480. "description": "每个品种记录数",
  2481. "name": "lastNum",
  2482. "in": "query",
  2483. "required": true
  2484. }
  2485. ],
  2486. "responses": {
  2487. "200": {
  2488. "description": "OK",
  2489. "schema": {
  2490. "type": "array",
  2491. "items": {
  2492. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2493. }
  2494. }
  2495. },
  2496. "500": {
  2497. "description": "Internal Server Error",
  2498. "schema": {
  2499. "$ref": "#/definitions/app.Response"
  2500. }
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "/Ermcp/QueryMiddleGoods": {
  2506. "get": {
  2507. "security": [
  2508. {
  2509. "ApiKeyAuth": []
  2510. }
  2511. ],
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "企业风险管理(app)"
  2517. ],
  2518. "summary": "查询套保品种(菜单:套保品种)",
  2519. "parameters": [
  2520. {
  2521. "type": "integer",
  2522. "description": "所属机构ID",
  2523. "name": "userid",
  2524. "in": "query",
  2525. "required": true
  2526. },
  2527. {
  2528. "type": "integer",
  2529. "description": "状态 0-停用 1-正常",
  2530. "name": "status",
  2531. "in": "query",
  2532. "required": true
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "type": "array",
  2540. "items": {
  2541. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2542. }
  2543. }
  2544. },
  2545. "500": {
  2546. "description": "Internal Server Error",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. }
  2551. }
  2552. }
  2553. },
  2554. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2555. "get": {
  2556. "security": [
  2557. {
  2558. "ApiKeyAuth": []
  2559. }
  2560. ],
  2561. "produces": [
  2562. "application/json"
  2563. ],
  2564. "tags": [
  2565. "企业风险管理(app)"
  2566. ],
  2567. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2568. "parameters": [
  2569. {
  2570. "type": "integer",
  2571. "description": "所属机构ID",
  2572. "name": "userid",
  2573. "in": "query",
  2574. "required": true
  2575. },
  2576. {
  2577. "type": "integer",
  2578. "description": "套保品种id",
  2579. "name": "middlegoodsid",
  2580. "in": "query",
  2581. "required": true
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryMiddleGoodsDetail": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2617. "parameters": [
  2618. {
  2619. "type": "integer",
  2620. "description": "所属机构ID",
  2621. "name": "userid",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "套保品种id",
  2628. "name": "middlegoodsid",
  2629. "in": "query"
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "type": "array",
  2637. "items": {
  2638. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2639. }
  2640. }
  2641. },
  2642. "500": {
  2643. "description": "Internal Server Error",
  2644. "schema": {
  2645. "$ref": "#/definitions/app.Response"
  2646. }
  2647. }
  2648. }
  2649. }
  2650. },
  2651. "/Ermcp/QueryPendingAuditInfo": {
  2652. "get": {
  2653. "security": [
  2654. {
  2655. "ApiKeyAuth": []
  2656. }
  2657. ],
  2658. "produces": [
  2659. "application/json"
  2660. ],
  2661. "tags": [
  2662. "企业风险管理(app)"
  2663. ],
  2664. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2665. "parameters": [
  2666. {
  2667. "type": "integer",
  2668. "description": "用户ID",
  2669. "name": "UserId",
  2670. "in": "query",
  2671. "required": true
  2672. }
  2673. ],
  2674. "responses": {
  2675. "200": {
  2676. "description": "OK",
  2677. "schema": {
  2678. "type": "array",
  2679. "items": {
  2680. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2681. }
  2682. }
  2683. },
  2684. "500": {
  2685. "description": "Internal Server Error",
  2686. "schema": {
  2687. "$ref": "#/definitions/app.Response"
  2688. }
  2689. }
  2690. }
  2691. }
  2692. },
  2693. "/Ermcp/QueryRealtimeExposure": {
  2694. "get": {
  2695. "security": [
  2696. {
  2697. "ApiKeyAuth": []
  2698. }
  2699. ],
  2700. "produces": [
  2701. "application/json"
  2702. ],
  2703. "tags": [
  2704. "企业风险管理(app)"
  2705. ],
  2706. "summary": "查询实时敞口",
  2707. "parameters": [
  2708. {
  2709. "type": "integer",
  2710. "description": "所属机构ID",
  2711. "name": "userid",
  2712. "in": "query",
  2713. "required": true
  2714. }
  2715. ],
  2716. "responses": {
  2717. "200": {
  2718. "description": "OK",
  2719. "schema": {
  2720. "type": "array",
  2721. "items": {
  2722. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2723. }
  2724. }
  2725. },
  2726. "500": {
  2727. "description": "Internal Server Error",
  2728. "schema": {
  2729. "$ref": "#/definitions/app.Response"
  2730. }
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "/Ermcp/QueryRealtimeExposurePosition": {
  2736. "get": {
  2737. "security": [
  2738. {
  2739. "ApiKeyAuth": []
  2740. }
  2741. ],
  2742. "produces": [
  2743. "application/json"
  2744. ],
  2745. "tags": [
  2746. "企业风险管理(app)"
  2747. ],
  2748. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2749. "parameters": [
  2750. {
  2751. "type": "integer",
  2752. "description": "用户id",
  2753. "name": "userid",
  2754. "in": "query",
  2755. "required": true
  2756. },
  2757. {
  2758. "type": "integer",
  2759. "description": "套保商品ID",
  2760. "name": "middleGoodsId",
  2761. "in": "query",
  2762. "required": true
  2763. }
  2764. ],
  2765. "responses": {
  2766. "200": {
  2767. "description": "OK",
  2768. "schema": {
  2769. "type": "array",
  2770. "items": {
  2771. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2772. }
  2773. }
  2774. },
  2775. "500": {
  2776. "description": "Internal Server Error",
  2777. "schema": {
  2778. "$ref": "#/definitions/app.Response"
  2779. }
  2780. }
  2781. }
  2782. }
  2783. },
  2784. "/Ermcp/QueryTradeConfigTMP": {
  2785. "get": {
  2786. "security": [
  2787. {
  2788. "ApiKeyAuth": []
  2789. }
  2790. ],
  2791. "produces": [
  2792. "application/json"
  2793. ],
  2794. "tags": [
  2795. "企业风险管理(app)"
  2796. ],
  2797. "summary": "查询交易模板配置",
  2798. "parameters": [
  2799. {
  2800. "type": "integer",
  2801. "description": "所属机构id",
  2802. "name": "areauserid",
  2803. "in": "query"
  2804. }
  2805. ],
  2806. "responses": {
  2807. "200": {
  2808. "description": "OK",
  2809. "schema": {
  2810. "type": "array",
  2811. "items": {
  2812. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2813. }
  2814. }
  2815. },
  2816. "500": {
  2817. "description": "Internal Server Error",
  2818. "schema": {
  2819. "$ref": "#/definitions/app.Response"
  2820. }
  2821. }
  2822. }
  2823. }
  2824. },
  2825. "/Ermcp/QueryUserInfo": {
  2826. "get": {
  2827. "security": [
  2828. {
  2829. "ApiKeyAuth": []
  2830. }
  2831. ],
  2832. "produces": [
  2833. "application/json"
  2834. ],
  2835. "tags": [
  2836. "企业风险管理(app)"
  2837. ],
  2838. "summary": "查询客户资料",
  2839. "parameters": [
  2840. {
  2841. "type": "integer",
  2842. "description": "所属机构用户ID",
  2843. "name": "MemberUserID",
  2844. "in": "query",
  2845. "required": true
  2846. },
  2847. {
  2848. "type": "integer",
  2849. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2850. "name": "queryType",
  2851. "in": "query",
  2852. "required": true
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "type": "array",
  2860. "items": {
  2861. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2862. }
  2863. }
  2864. },
  2865. "500": {
  2866. "description": "Internal Server Error",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. }
  2871. }
  2872. }
  2873. },
  2874. "/Ermcp/QueryWarehouseInfo": {
  2875. "get": {
  2876. "security": [
  2877. {
  2878. "ApiKeyAuth": []
  2879. }
  2880. ],
  2881. "produces": [
  2882. "application/json"
  2883. ],
  2884. "tags": [
  2885. "企业风险管理(app)"
  2886. ],
  2887. "summary": "查询仓库信息",
  2888. "parameters": [
  2889. {
  2890. "type": "integer",
  2891. "description": "用户ID",
  2892. "name": "userid",
  2893. "in": "query",
  2894. "required": true
  2895. },
  2896. {
  2897. "type": "string",
  2898. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2899. "name": "status",
  2900. "in": "query"
  2901. }
  2902. ],
  2903. "responses": {
  2904. "200": {
  2905. "description": "OK",
  2906. "schema": {
  2907. "type": "array",
  2908. "items": {
  2909. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2910. }
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/Ermcp3/QryAreaExpourseContractDetail": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "produces": [
  2930. "application/json"
  2931. ],
  2932. "tags": [
  2933. "企业风险管理v3(app)"
  2934. ],
  2935. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2936. "parameters": [
  2937. {
  2938. "type": "integer",
  2939. "description": "用户ID",
  2940. "name": "userid",
  2941. "in": "query",
  2942. "required": true
  2943. },
  2944. {
  2945. "type": "integer",
  2946. "description": "套保商品id",
  2947. "name": "middlegoodsid",
  2948. "in": "query",
  2949. "required": true
  2950. },
  2951. {
  2952. "type": "integer",
  2953. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2954. "name": "cycletype",
  2955. "in": "query",
  2956. "required": true
  2957. },
  2958. {
  2959. "type": "string",
  2960. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2961. "name": "cycletime",
  2962. "in": "query",
  2963. "required": true
  2964. }
  2965. ],
  2966. "responses": {
  2967. "200": {
  2968. "description": "OK",
  2969. "schema": {
  2970. "type": "array",
  2971. "items": {
  2972. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2973. }
  2974. }
  2975. },
  2976. "500": {
  2977. "description": "Internal Server Error",
  2978. "schema": {
  2979. "$ref": "#/definitions/app.Response"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2986. "get": {
  2987. "security": [
  2988. {
  2989. "ApiKeyAuth": []
  2990. }
  2991. ],
  2992. "produces": [
  2993. "application/json"
  2994. ],
  2995. "tags": [
  2996. "企业风险管理v3(app)"
  2997. ],
  2998. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  2999. "parameters": [
  3000. {
  3001. "type": "integer",
  3002. "description": "用户ID",
  3003. "name": "userid",
  3004. "in": "query",
  3005. "required": true
  3006. },
  3007. {
  3008. "type": "integer",
  3009. "description": "套保商品id",
  3010. "name": "middlegoodsid",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3017. "name": "cycletype",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3024. "name": "cycletime",
  3025. "in": "query",
  3026. "required": true
  3027. }
  3028. ],
  3029. "responses": {
  3030. "200": {
  3031. "description": "OK",
  3032. "schema": {
  3033. "type": "array",
  3034. "items": {
  3035. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3036. }
  3037. }
  3038. },
  3039. "500": {
  3040. "description": "Internal Server Error",
  3041. "schema": {
  3042. "$ref": "#/definitions/app.Response"
  3043. }
  3044. }
  3045. }
  3046. }
  3047. },
  3048. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3049. "get": {
  3050. "security": [
  3051. {
  3052. "ApiKeyAuth": []
  3053. }
  3054. ],
  3055. "produces": [
  3056. "application/json"
  3057. ],
  3058. "tags": [
  3059. "企业风险管理v3(app)"
  3060. ],
  3061. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3062. "parameters": [
  3063. {
  3064. "type": "integer",
  3065. "description": "用户ID",
  3066. "name": "userid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "套保商品id",
  3073. "name": "middlegoodsid",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "integer",
  3079. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3080. "name": "cycletype",
  3081. "in": "query",
  3082. "required": true
  3083. },
  3084. {
  3085. "type": "string",
  3086. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3087. "name": "cycletime",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理v3(app)"
  3123. ],
  3124. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户ID",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品id",
  3136. "name": "middlegoodsid",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "integer",
  3142. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3143. "name": "cycletype",
  3144. "in": "query",
  3145. "required": true
  3146. },
  3147. {
  3148. "type": "string",
  3149. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3150. "name": "cycletime",
  3151. "in": "query",
  3152. "required": true
  3153. }
  3154. ],
  3155. "responses": {
  3156. "200": {
  3157. "description": "OK",
  3158. "schema": {
  3159. "type": "array",
  3160. "items": {
  3161. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3162. }
  3163. }
  3164. },
  3165. "500": {
  3166. "description": "Internal Server Error",
  3167. "schema": {
  3168. "$ref": "#/definitions/app.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/Ermcp3/QryAreaExpourseReport": {
  3175. "get": {
  3176. "security": [
  3177. {
  3178. "ApiKeyAuth": []
  3179. }
  3180. ],
  3181. "produces": [
  3182. "application/json"
  3183. ],
  3184. "tags": [
  3185. "企业风险管理v3(app)"
  3186. ],
  3187. "summary": "查询敞口报表",
  3188. "parameters": [
  3189. {
  3190. "type": "integer",
  3191. "description": "用户ID",
  3192. "name": "userid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3199. "name": "querytype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "integer",
  3205. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3206. "name": "cycletype",
  3207. "in": "query",
  3208. "required": true
  3209. },
  3210. {
  3211. "type": "string",
  3212. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3213. "name": "cycletime",
  3214. "in": "query",
  3215. "required": true
  3216. }
  3217. ],
  3218. "responses": {
  3219. "200": {
  3220. "description": "OK",
  3221. "schema": {
  3222. "type": "array",
  3223. "items": {
  3224. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3225. }
  3226. }
  3227. },
  3228. "500": {
  3229. "description": "Internal Server Error",
  3230. "schema": {
  3231. "$ref": "#/definitions/app.Response"
  3232. }
  3233. }
  3234. }
  3235. }
  3236. },
  3237. "/Ermcp3/QryAreaSpotplReport": {
  3238. "get": {
  3239. "security": [
  3240. {
  3241. "ApiKeyAuth": []
  3242. }
  3243. ],
  3244. "produces": [
  3245. "application/json"
  3246. ],
  3247. "tags": [
  3248. "企业风险管理v3(app)"
  3249. ],
  3250. "summary": "查询现货报表",
  3251. "parameters": [
  3252. {
  3253. "type": "integer",
  3254. "description": "用户ID",
  3255. "name": "userid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "查询类型 1-报表 2-报表明细",
  3262. "name": "querytype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "integer",
  3268. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3269. "name": "cycletype",
  3270. "in": "query",
  3271. "required": true
  3272. },
  3273. {
  3274. "type": "string",
  3275. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3276. "name": "cycletime",
  3277. "in": "query",
  3278. "required": true
  3279. },
  3280. {
  3281. "type": "integer",
  3282. "description": "现货品种id(明细必填)",
  3283. "name": "deliverygoodsid",
  3284. "in": "query"
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "币种id(明细必填)",
  3289. "name": "currencyid",
  3290. "in": "query"
  3291. }
  3292. ],
  3293. "responses": {
  3294. "200": {
  3295. "description": "OK",
  3296. "schema": {
  3297. "type": "array",
  3298. "items": {
  3299. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3300. }
  3301. }
  3302. },
  3303. "500": {
  3304. "description": "Internal Server Error",
  3305. "schema": {
  3306. "$ref": "#/definitions/app.Response"
  3307. }
  3308. }
  3309. }
  3310. }
  3311. },
  3312. "/Ermcp3/QryAreaStockReport": {
  3313. "get": {
  3314. "security": [
  3315. {
  3316. "ApiKeyAuth": []
  3317. }
  3318. ],
  3319. "produces": [
  3320. "application/json"
  3321. ],
  3322. "tags": [
  3323. "企业风险管理v3(app)"
  3324. ],
  3325. "summary": "查询库存报表",
  3326. "parameters": [
  3327. {
  3328. "type": "integer",
  3329. "description": "用户ID",
  3330. "name": "userid",
  3331. "in": "query",
  3332. "required": true
  3333. },
  3334. {
  3335. "type": "integer",
  3336. "description": "查询类型 1-报表 2-报表明细",
  3337. "name": "querytype",
  3338. "in": "query",
  3339. "required": true
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3344. "name": "cycletype",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "string",
  3350. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3351. "name": "cycletime",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "string",
  3357. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3358. "name": "sumfields",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "品种ID",
  3364. "name": "deliverygoodsid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "品类ID",
  3370. "name": "wrstandardid",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品牌ID",
  3376. "name": "spotgoodsbrandid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "仓库ID",
  3382. "name": "warehouseinfoid",
  3383. "in": "query"
  3384. }
  3385. ],
  3386. "responses": {
  3387. "200": {
  3388. "description": "OK",
  3389. "schema": {
  3390. "type": "array",
  3391. "items": {
  3392. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3393. }
  3394. }
  3395. },
  3396. "500": {
  3397. "description": "Internal Server Error",
  3398. "schema": {
  3399. "$ref": "#/definitions/app.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/Ermcp3/QryAreaSumPL": {
  3406. "get": {
  3407. "security": [
  3408. {
  3409. "ApiKeyAuth": []
  3410. }
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "企业风险管理v3(app)"
  3417. ],
  3418. "summary": "查询汇总损益表",
  3419. "parameters": [
  3420. {
  3421. "type": "integer",
  3422. "description": "用户ID",
  3423. "name": "userid",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "查询类型 1-报表 2-报表明细",
  3430. "name": "querytype",
  3431. "in": "query",
  3432. "required": true
  3433. },
  3434. {
  3435. "type": "integer",
  3436. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3437. "name": "cycletype",
  3438. "in": "query",
  3439. "required": true
  3440. },
  3441. {
  3442. "type": "string",
  3443. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3444. "name": "cycletime",
  3445. "in": "query",
  3446. "required": true
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": "币种id(明细必填)",
  3451. "name": "currencyid",
  3452. "in": "query"
  3453. }
  3454. ],
  3455. "responses": {
  3456. "200": {
  3457. "description": "OK",
  3458. "schema": {
  3459. "type": "array",
  3460. "items": {
  3461. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3462. }
  3463. }
  3464. },
  3465. "500": {
  3466. "description": "Internal Server Error",
  3467. "schema": {
  3468. "$ref": "#/definitions/app.Response"
  3469. }
  3470. }
  3471. }
  3472. }
  3473. },
  3474. "/Ermcp3/QryFinanceReport": {
  3475. "get": {
  3476. "security": [
  3477. {
  3478. "ApiKeyAuth": []
  3479. }
  3480. ],
  3481. "produces": [
  3482. "application/json"
  3483. ],
  3484. "tags": [
  3485. "企业风险管理v3(app)"
  3486. ],
  3487. "summary": "查询财务报表",
  3488. "parameters": [
  3489. {
  3490. "type": "integer",
  3491. "description": "用户ID",
  3492. "name": "userid",
  3493. "in": "query",
  3494. "required": true
  3495. },
  3496. {
  3497. "type": "integer",
  3498. "description": "查询类型 1-报表 2-报表明细",
  3499. "name": "querytype",
  3500. "in": "query",
  3501. "required": true
  3502. },
  3503. {
  3504. "type": "integer",
  3505. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3506. "name": "cycletype",
  3507. "in": "query",
  3508. "required": true
  3509. },
  3510. {
  3511. "type": "string",
  3512. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3513. "name": "cycletime",
  3514. "in": "query",
  3515. "required": true
  3516. },
  3517. {
  3518. "type": "integer",
  3519. "description": "币种id(报表明细必填)",
  3520. "name": "currencyid",
  3521. "in": "query"
  3522. },
  3523. {
  3524. "type": "string",
  3525. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3526. "name": "sumfields",
  3527. "in": "query"
  3528. }
  3529. ],
  3530. "responses": {
  3531. "200": {
  3532. "description": "OK",
  3533. "schema": {
  3534. "type": "array",
  3535. "items": {
  3536. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3537. }
  3538. }
  3539. },
  3540. "500": {
  3541. "description": "Internal Server Error",
  3542. "schema": {
  3543. "$ref": "#/definitions/app.Response"
  3544. }
  3545. }
  3546. }
  3547. }
  3548. },
  3549. "/Ermcp3/QryTaFutureDataReport": {
  3550. "get": {
  3551. "security": [
  3552. {
  3553. "ApiKeyAuth": []
  3554. }
  3555. ],
  3556. "produces": [
  3557. "application/json"
  3558. ],
  3559. "tags": [
  3560. "企业风险管理v3(app)"
  3561. ],
  3562. "summary": "查询期货报表",
  3563. "parameters": [
  3564. {
  3565. "type": "integer",
  3566. "description": "用户ID",
  3567. "name": "userid",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "integer",
  3573. "description": "查询类型 1-报表 2-报表明细",
  3574. "name": "querytype",
  3575. "in": "query",
  3576. "required": true
  3577. },
  3578. {
  3579. "type": "integer",
  3580. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3581. "name": "cycletype",
  3582. "in": "query",
  3583. "required": true
  3584. },
  3585. {
  3586. "type": "string",
  3587. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3588. "name": "cycletime",
  3589. "in": "query",
  3590. "required": true
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "币种id(查明细必填)",
  3595. "name": "currencyid",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "品种id(查明细必填)",
  3601. "name": "goodsgroupid",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "商品id(查明细必填)",
  3607. "name": "goodsid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "买卖方向(查明细必填)",
  3613. "name": "buyorsell",
  3614. "in": "query"
  3615. }
  3616. ],
  3617. "responses": {
  3618. "200": {
  3619. "description": "OK",
  3620. "schema": {
  3621. "type": "array",
  3622. "items": {
  3623. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3624. }
  3625. }
  3626. },
  3627. "500": {
  3628. "description": "Internal Server Error",
  3629. "schema": {
  3630. "$ref": "#/definitions/app.Response"
  3631. }
  3632. }
  3633. }
  3634. }
  3635. },
  3636. "/Ermcp3/QueryAreaStock": {
  3637. "get": {
  3638. "security": [
  3639. {
  3640. "ApiKeyAuth": []
  3641. }
  3642. ],
  3643. "produces": [
  3644. "application/json"
  3645. ],
  3646. "tags": [
  3647. "企业风险管理v3(app)"
  3648. ],
  3649. "summary": "查询机构库存(库存管理/当前库存)",
  3650. "parameters": [
  3651. {
  3652. "type": "integer",
  3653. "description": "用户ID",
  3654. "name": "userid",
  3655. "in": "query",
  3656. "required": true
  3657. }
  3658. ],
  3659. "responses": {
  3660. "200": {
  3661. "description": "OK",
  3662. "schema": {
  3663. "type": "array",
  3664. "items": {
  3665. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3666. }
  3667. }
  3668. },
  3669. "500": {
  3670. "description": "Internal Server Error",
  3671. "schema": {
  3672. "$ref": "#/definitions/app.Response"
  3673. }
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/Ermcp3/QueryAreaStockApply": {
  3679. "get": {
  3680. "security": [
  3681. {
  3682. "ApiKeyAuth": []
  3683. }
  3684. ],
  3685. "produces": [
  3686. "application/json"
  3687. ],
  3688. "tags": [
  3689. "企业风险管理v3(app)"
  3690. ],
  3691. "summary": "查询库存申请(出入库记录|库存审核)",
  3692. "parameters": [
  3693. {
  3694. "type": "integer",
  3695. "description": "用户ID",
  3696. "name": "userid",
  3697. "in": "query",
  3698. "required": true
  3699. },
  3700. {
  3701. "type": "integer",
  3702. "description": "用户类型 2-机构 7-企业成员",
  3703. "name": "usertype",
  3704. "in": "query"
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "现货商品ID",
  3709. "name": "deliverygoodsid",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "string",
  3714. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3715. "name": "inouttype",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "合同ID",
  3721. "name": "spotcontractid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "integer",
  3726. "description": "品类ID",
  3727. "name": "wrstandardid",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "品牌ID",
  3733. "name": "spotgoodsbrandid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "仓库ID",
  3739. "name": "warehouseinfoid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "string",
  3744. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3745. "name": "applystatus",
  3746. "in": "query"
  3747. }
  3748. ],
  3749. "responses": {
  3750. "200": {
  3751. "description": "OK",
  3752. "schema": {
  3753. "type": "array",
  3754. "items": {
  3755. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3756. }
  3757. }
  3758. },
  3759. "500": {
  3760. "description": "Internal Server Error",
  3761. "schema": {
  3762. "$ref": "#/definitions/app.Response"
  3763. }
  3764. }
  3765. }
  3766. }
  3767. },
  3768. "/Ermcp3/QueryAreaStockApplySum": {
  3769. "get": {
  3770. "security": [
  3771. {
  3772. "ApiKeyAuth": []
  3773. }
  3774. ],
  3775. "produces": [
  3776. "application/json"
  3777. ],
  3778. "tags": [
  3779. "企业风险管理v3(app)"
  3780. ],
  3781. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3782. "parameters": [
  3783. {
  3784. "type": "integer",
  3785. "description": "合同ID",
  3786. "name": "spotcontractid",
  3787. "in": "query"
  3788. }
  3789. ],
  3790. "responses": {
  3791. "200": {
  3792. "description": "OK",
  3793. "schema": {
  3794. "type": "array",
  3795. "items": {
  3796. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3797. }
  3798. }
  3799. },
  3800. "500": {
  3801. "description": "Internal Server Error",
  3802. "schema": {
  3803. "$ref": "#/definitions/app.Response"
  3804. }
  3805. }
  3806. }
  3807. }
  3808. },
  3809. "/Ermcp3/QueryDGFactoryItem": {
  3810. "get": {
  3811. "security": [
  3812. {
  3813. "ApiKeyAuth": []
  3814. }
  3815. ],
  3816. "produces": [
  3817. "application/json"
  3818. ],
  3819. "tags": [
  3820. "企业风险管理v3(app)"
  3821. ],
  3822. "summary": "查询品种要素定义项",
  3823. "parameters": [
  3824. {
  3825. "type": "integer",
  3826. "description": "用户id",
  3827. "name": "userid",
  3828. "in": "query"
  3829. },
  3830. {
  3831. "type": "integer",
  3832. "description": "用户类型 2-机构 7-企业成员",
  3833. "name": "usertype",
  3834. "in": "query"
  3835. },
  3836. {
  3837. "type": "integer",
  3838. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3839. "name": "dgfactoryitemid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "现货品种ID",
  3845. "name": "deliverygoodsid",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "要素项类型",
  3851. "name": "dgfactoryitemtypeid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "顺序",
  3857. "name": "orderindex",
  3858. "in": "query"
  3859. }
  3860. ],
  3861. "responses": {
  3862. "200": {
  3863. "description": "OK",
  3864. "schema": {
  3865. "type": "array",
  3866. "items": {
  3867. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3868. }
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/Ermcp3/QueryDeliveryGoods": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "produces": [
  3888. "application/json"
  3889. ],
  3890. "tags": [
  3891. "企业风险管理v3(app)"
  3892. ],
  3893. "summary": "查询现货商品",
  3894. "parameters": [
  3895. {
  3896. "type": "integer",
  3897. "description": "用户id",
  3898. "name": "userid",
  3899. "in": "query",
  3900. "required": true
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "用户类型 2-机构 7-企业成员",
  3905. "name": "usertype",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3911. "name": "excludecfg",
  3912. "in": "query"
  3913. }
  3914. ],
  3915. "responses": {
  3916. "200": {
  3917. "description": "OK",
  3918. "schema": {
  3919. "type": "array",
  3920. "items": {
  3921. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3922. }
  3923. }
  3924. },
  3925. "500": {
  3926. "description": "Internal Server Error",
  3927. "schema": {
  3928. "$ref": "#/definitions/app.Response"
  3929. }
  3930. }
  3931. }
  3932. }
  3933. },
  3934. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3935. "get": {
  3936. "security": [
  3937. {
  3938. "ApiKeyAuth": []
  3939. }
  3940. ],
  3941. "produces": [
  3942. "application/json"
  3943. ],
  3944. "tags": [
  3945. "企业风险管理v3(app)"
  3946. ],
  3947. "summary": "查询现货商品详情",
  3948. "parameters": [
  3949. {
  3950. "type": "integer",
  3951. "description": "用户id",
  3952. "name": "userid",
  3953. "in": "query",
  3954. "required": true
  3955. },
  3956. {
  3957. "type": "integer",
  3958. "description": "用户类型 2-机构 7-企业成员",
  3959. "name": "usertype",
  3960. "in": "query"
  3961. },
  3962. {
  3963. "type": "integer",
  3964. "description": "现货商品id",
  3965. "name": "deliverygoodsid",
  3966. "in": "query"
  3967. }
  3968. ],
  3969. "responses": {
  3970. "200": {
  3971. "description": "OK",
  3972. "schema": {
  3973. "type": "array",
  3974. "items": {
  3975. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3976. }
  3977. }
  3978. },
  3979. "500": {
  3980. "description": "Internal Server Error",
  3981. "schema": {
  3982. "$ref": "#/definitions/app.Response"
  3983. }
  3984. }
  3985. }
  3986. }
  3987. },
  3988. "/Ermcp3/QueryExposureDetail": {
  3989. "get": {
  3990. "security": [
  3991. {
  3992. "ApiKeyAuth": []
  3993. }
  3994. ],
  3995. "produces": [
  3996. "application/json"
  3997. ],
  3998. "tags": [
  3999. "企业风险管理v3(app)"
  4000. ],
  4001. "summary": "查询敞口现货明细",
  4002. "parameters": [
  4003. {
  4004. "type": "integer",
  4005. "description": "用户id",
  4006. "name": "userid",
  4007. "in": "query",
  4008. "required": true
  4009. },
  4010. {
  4011. "type": "integer",
  4012. "description": "用户类型 2-机构 7-企业成员",
  4013. "name": "usertype",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "integer",
  4018. "description": "套保商品",
  4019. "name": "middlegoodsid",
  4020. "in": "query",
  4021. "required": true
  4022. }
  4023. ],
  4024. "responses": {
  4025. "200": {
  4026. "description": "OK",
  4027. "schema": {
  4028. "type": "array",
  4029. "items": {
  4030. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4031. }
  4032. }
  4033. },
  4034. "500": {
  4035. "description": "Internal Server Error",
  4036. "schema": {
  4037. "$ref": "#/definitions/app.Response"
  4038. }
  4039. }
  4040. }
  4041. }
  4042. },
  4043. "/Ermcp3/QueryExposureSpot": {
  4044. "get": {
  4045. "security": [
  4046. {
  4047. "ApiKeyAuth": []
  4048. }
  4049. ],
  4050. "produces": [
  4051. "application/json"
  4052. ],
  4053. "tags": [
  4054. "企业风险管理v3(app)"
  4055. ],
  4056. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4057. "parameters": [
  4058. {
  4059. "type": "integer",
  4060. "description": "用户id",
  4061. "name": "userid",
  4062. "in": "query",
  4063. "required": true
  4064. },
  4065. {
  4066. "type": "integer",
  4067. "description": "用户类型 2-机构 7-企业成员",
  4068. "name": "usertype",
  4069. "in": "query"
  4070. }
  4071. ],
  4072. "responses": {
  4073. "200": {
  4074. "description": "OK",
  4075. "schema": {
  4076. "type": "array",
  4077. "items": {
  4078. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4079. }
  4080. }
  4081. },
  4082. "500": {
  4083. "description": "Internal Server Error",
  4084. "schema": {
  4085. "$ref": "#/definitions/app.Response"
  4086. }
  4087. }
  4088. }
  4089. }
  4090. },
  4091. "/Ermcp3/QueryExposureSpotDetail": {
  4092. "get": {
  4093. "security": [
  4094. {
  4095. "ApiKeyAuth": []
  4096. }
  4097. ],
  4098. "produces": [
  4099. "application/json"
  4100. ],
  4101. "tags": [
  4102. "企业风险管理v3(app)"
  4103. ],
  4104. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4105. "parameters": [
  4106. {
  4107. "type": "integer",
  4108. "description": "用户id",
  4109. "name": "userid",
  4110. "in": "query",
  4111. "required": true
  4112. },
  4113. {
  4114. "type": "integer",
  4115. "description": "用户类型 2-机构 7-企业成员",
  4116. "name": "usertype",
  4117. "in": "query"
  4118. },
  4119. {
  4120. "type": "integer",
  4121. "description": "现货品种ID",
  4122. "name": "deliverygoodsid",
  4123. "in": "query",
  4124. "required": true
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "OK",
  4130. "schema": {
  4131. "type": "array",
  4132. "items": {
  4133. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4134. }
  4135. }
  4136. },
  4137. "500": {
  4138. "description": "Internal Server Error",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. }
  4143. }
  4144. }
  4145. },
  4146. "/Ermcp3/QueryGoodsGroup": {
  4147. "get": {
  4148. "security": [
  4149. {
  4150. "ApiKeyAuth": []
  4151. }
  4152. ],
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "企业风险管理v3(app)"
  4158. ],
  4159. "summary": "查询期货商品组",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "用户id",
  4164. "name": "userid",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "用户类型 2-机构 7-企业成员",
  4171. "name": "usertype",
  4172. "in": "query"
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "排除套保品中已关联的商品组 1-排除",
  4177. "name": "excludecfg",
  4178. "in": "query"
  4179. }
  4180. ],
  4181. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "type": "array",
  4186. "items": {
  4187. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4188. }
  4189. }
  4190. },
  4191. "500": {
  4192. "description": "Internal Server Error",
  4193. "schema": {
  4194. "$ref": "#/definitions/app.Response"
  4195. }
  4196. }
  4197. }
  4198. }
  4199. },
  4200. "/Ermcp3/QueryGoodsWrstandard": {
  4201. "get": {
  4202. "security": [
  4203. {
  4204. "ApiKeyAuth": []
  4205. }
  4206. ],
  4207. "produces": [
  4208. "application/json"
  4209. ],
  4210. "tags": [
  4211. "企业风险管理v3(app)"
  4212. ],
  4213. "summary": "查询商品品类",
  4214. "parameters": [
  4215. {
  4216. "type": "integer",
  4217. "description": "用户id",
  4218. "name": "userid",
  4219. "in": "query",
  4220. "required": true
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "用户类型 2-机构 7-企业成员",
  4225. "name": "usertype",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "现货商品id",
  4231. "name": "deliverygoodsid",
  4232. "in": "query"
  4233. }
  4234. ],
  4235. "responses": {
  4236. "200": {
  4237. "description": "OK",
  4238. "schema": {
  4239. "type": "array",
  4240. "items": {
  4241. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4242. }
  4243. }
  4244. },
  4245. "500": {
  4246. "description": "Internal Server Error",
  4247. "schema": {
  4248. "$ref": "#/definitions/app.Response"
  4249. }
  4250. }
  4251. }
  4252. }
  4253. },
  4254. "/Ermcp3/QueryGoodsbrand": {
  4255. "get": {
  4256. "security": [
  4257. {
  4258. "ApiKeyAuth": []
  4259. }
  4260. ],
  4261. "produces": [
  4262. "application/json"
  4263. ],
  4264. "tags": [
  4265. "企业风险管理v3(app)"
  4266. ],
  4267. "summary": "查询商品品牌",
  4268. "parameters": [
  4269. {
  4270. "type": "integer",
  4271. "description": "用户id",
  4272. "name": "userid",
  4273. "in": "query",
  4274. "required": true
  4275. },
  4276. {
  4277. "type": "integer",
  4278. "description": "用户类型 2-机构 7-企业成员",
  4279. "name": "usertype",
  4280. "in": "query"
  4281. }
  4282. ],
  4283. "responses": {
  4284. "200": {
  4285. "description": "OK",
  4286. "schema": {
  4287. "type": "array",
  4288. "items": {
  4289. "$ref": "#/definitions/models.Ermcp3Brand"
  4290. }
  4291. }
  4292. },
  4293. "500": {
  4294. "description": "Internal Server Error",
  4295. "schema": {
  4296. "$ref": "#/definitions/app.Response"
  4297. }
  4298. }
  4299. }
  4300. }
  4301. },
  4302. "/Ermcp3/QueryHedgePlan": {
  4303. "get": {
  4304. "security": [
  4305. {
  4306. "ApiKeyAuth": []
  4307. }
  4308. ],
  4309. "produces": [
  4310. "application/json"
  4311. ],
  4312. "tags": [
  4313. "企业风险管理v3(app)"
  4314. ],
  4315. "summary": "查询套保计划",
  4316. "parameters": [
  4317. {
  4318. "type": "integer",
  4319. "description": "用户ID",
  4320. "name": "userid",
  4321. "in": "query",
  4322. "required": true
  4323. },
  4324. {
  4325. "type": "integer",
  4326. "description": "用户类型 2-机构 7-企业成员",
  4327. "name": "usertype",
  4328. "in": "query"
  4329. },
  4330. {
  4331. "type": "string",
  4332. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4333. "name": "hedgeplanstatus",
  4334. "in": "query",
  4335. "required": true
  4336. }
  4337. ],
  4338. "responses": {
  4339. "200": {
  4340. "description": "OK",
  4341. "schema": {
  4342. "type": "array",
  4343. "items": {
  4344. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4345. }
  4346. }
  4347. },
  4348. "500": {
  4349. "description": "Internal Server Error",
  4350. "schema": {
  4351. "$ref": "#/definitions/app.Response"
  4352. }
  4353. }
  4354. }
  4355. }
  4356. },
  4357. "/Ermcp3/QueryMiddleGoodsDetail": {
  4358. "get": {
  4359. "security": [
  4360. {
  4361. "ApiKeyAuth": []
  4362. }
  4363. ],
  4364. "produces": [
  4365. "application/json"
  4366. ],
  4367. "tags": [
  4368. "企业风险管理v3(app)"
  4369. ],
  4370. "summary": "查询套保品种详情(套保品种/商品详情)",
  4371. "parameters": [
  4372. {
  4373. "type": "integer",
  4374. "description": "用户id",
  4375. "name": "userid",
  4376. "in": "query",
  4377. "required": true
  4378. },
  4379. {
  4380. "type": "integer",
  4381. "description": "用户类型 2-机构 7-企业成员",
  4382. "name": "usertype",
  4383. "in": "query"
  4384. },
  4385. {
  4386. "type": "integer",
  4387. "description": "套保品种id",
  4388. "name": "middlegoodsid",
  4389. "in": "query"
  4390. }
  4391. ],
  4392. "responses": {
  4393. "200": {
  4394. "description": "OK",
  4395. "schema": {
  4396. "type": "array",
  4397. "items": {
  4398. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4399. }
  4400. }
  4401. },
  4402. "500": {
  4403. "description": "Internal Server Error",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/Ermcp3/QueryRootUserAccount": {
  4412. "get": {
  4413. "security": [
  4414. {
  4415. "ApiKeyAuth": []
  4416. }
  4417. ],
  4418. "produces": [
  4419. "application/json"
  4420. ],
  4421. "tags": [
  4422. "企业风险管理v3(app)"
  4423. ],
  4424. "summary": "查询顶级用户信息",
  4425. "parameters": [
  4426. {
  4427. "type": "integer",
  4428. "description": "用户ID",
  4429. "name": "userid",
  4430. "in": "query",
  4431. "required": true
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "type": "array",
  4439. "items": {
  4440. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4441. }
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Ermcp3/QuerySpotContract": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "企业风险管理v3(app)"
  4465. ],
  4466. "summary": "查询现货合同",
  4467. "parameters": [
  4468. {
  4469. "type": "integer",
  4470. "description": "用户id",
  4471. "name": "userid",
  4472. "in": "query",
  4473. "required": true
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "用户类型 2-机构 7-企业成员",
  4478. "name": "usertype",
  4479. "in": "query"
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4484. "name": "querytype",
  4485. "in": "query",
  4486. "required": true
  4487. },
  4488. {
  4489. "type": "string",
  4490. "description": "合同ID(SpotContractId)",
  4491. "name": "contractid",
  4492. "in": "query"
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "type": "array",
  4500. "items": {
  4501. "$ref": "#/definitions/models.Ermcp3Contract"
  4502. }
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/Ermcp3/QuerySpotContractBS": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "企业风险管理v3(app)"
  4526. ],
  4527. "summary": "查询合同(采购/销售)",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户id",
  4532. "name": "userid",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "用户类型 2-机构 7-企业成员",
  4539. "name": "usertype",
  4540. "in": "query"
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "合同类型 1-采购, -1-销售",
  4545. "name": "contracttype",
  4546. "in": "query",
  4547. "required": true
  4548. },
  4549. {
  4550. "type": "integer",
  4551. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4552. "name": "querytype",
  4553. "in": "query",
  4554. "required": true
  4555. },
  4556. {
  4557. "type": "string",
  4558. "description": "合同ID(SpotContractId)",
  4559. "name": "contractid",
  4560. "in": "query"
  4561. }
  4562. ],
  4563. "responses": {
  4564. "200": {
  4565. "description": "OK",
  4566. "schema": {
  4567. "type": "array",
  4568. "items": {
  4569. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4570. }
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Ermcp3/QuerySpotGoodsPrice": {
  4583. "get": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "produces": [
  4590. "application/json"
  4591. ],
  4592. "tags": [
  4593. "企业风险管理v3(app)"
  4594. ],
  4595. "summary": "查询现货市价(现货市价)",
  4596. "parameters": [
  4597. {
  4598. "type": "integer",
  4599. "description": "用户ID",
  4600. "name": "userid",
  4601. "in": "query",
  4602. "required": true
  4603. }
  4604. ],
  4605. "responses": {
  4606. "200": {
  4607. "description": "OK",
  4608. "schema": {
  4609. "type": "array",
  4610. "items": {
  4611. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4612. }
  4613. }
  4614. },
  4615. "500": {
  4616. "description": "Internal Server Error",
  4617. "schema": {
  4618. "$ref": "#/definitions/app.Response"
  4619. }
  4620. }
  4621. }
  4622. }
  4623. },
  4624. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4625. "get": {
  4626. "security": [
  4627. {
  4628. "ApiKeyAuth": []
  4629. }
  4630. ],
  4631. "produces": [
  4632. "application/json"
  4633. ],
  4634. "tags": [
  4635. "企业风险管理v3(app)"
  4636. ],
  4637. "summary": "查询现货市价详情(现货市价/详情)",
  4638. "parameters": [
  4639. {
  4640. "type": "integer",
  4641. "description": "用户ID",
  4642. "name": "userid",
  4643. "in": "query",
  4644. "required": true
  4645. },
  4646. {
  4647. "type": "integer",
  4648. "description": "现货商品ID",
  4649. "name": "deliverygoodsid",
  4650. "in": "query",
  4651. "required": true
  4652. },
  4653. {
  4654. "type": "integer",
  4655. "description": "品牌ID",
  4656. "name": "brandid",
  4657. "in": "query"
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "品类ID",
  4662. "name": "wrstandardid",
  4663. "in": "query"
  4664. }
  4665. ],
  4666. "responses": {
  4667. "200": {
  4668. "description": "OK",
  4669. "schema": {
  4670. "type": "array",
  4671. "items": {
  4672. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4673. }
  4674. }
  4675. },
  4676. "500": {
  4677. "description": "Internal Server Error",
  4678. "schema": {
  4679. "$ref": "#/definitions/app.Response"
  4680. }
  4681. }
  4682. }
  4683. }
  4684. },
  4685. "/Erms2/QueryArbitrageStrategy": {
  4686. "get": {
  4687. "security": [
  4688. {
  4689. "ApiKeyAuth": []
  4690. }
  4691. ],
  4692. "produces": [
  4693. "application/json"
  4694. ],
  4695. "tags": [
  4696. "风险管理"
  4697. ],
  4698. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4699. "parameters": [
  4700. {
  4701. "type": "integer",
  4702. "description": "账户ID",
  4703. "name": "userid",
  4704. "in": "query",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "string",
  4709. "description": "商品组ID(品种ID)",
  4710. "name": "goodsgroupid",
  4711. "in": "query"
  4712. }
  4713. ],
  4714. "responses": {
  4715. "200": {
  4716. "description": "OK",
  4717. "schema": {
  4718. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4719. }
  4720. },
  4721. "500": {
  4722. "description": "Internal Server Error",
  4723. "schema": {
  4724. "$ref": "#/definitions/app.Response"
  4725. }
  4726. }
  4727. }
  4728. }
  4729. },
  4730. "/Erms2/QueryInnerTradeDetail": {
  4731. "get": {
  4732. "security": [
  4733. {
  4734. "ApiKeyAuth": []
  4735. }
  4736. ],
  4737. "produces": [
  4738. "application/json"
  4739. ],
  4740. "tags": [
  4741. "风险管理"
  4742. ],
  4743. "summary": "查询内部成交单信息",
  4744. "parameters": [
  4745. {
  4746. "type": "integer",
  4747. "description": "资金账户",
  4748. "name": "accountid",
  4749. "in": "query",
  4750. "required": true
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Erms2/QuerySpotContract": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "风险管理"
  4781. ],
  4782. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4783. "parameters": [
  4784. {
  4785. "type": "integer",
  4786. "description": "策略申请ID",
  4787. "name": "asapplyid",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "现货合同ID",
  4794. "name": "spotcontractid",
  4795. "in": "query"
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4803. }
  4804. },
  4805. "500": {
  4806. "description": "Internal Server Error",
  4807. "schema": {
  4808. "$ref": "#/definitions/app.Response"
  4809. }
  4810. }
  4811. }
  4812. }
  4813. },
  4814. "/Erms3/AddErms2ASApply": {
  4815. "post": {
  4816. "security": [
  4817. {
  4818. "ApiKeyAuth": []
  4819. }
  4820. ],
  4821. "produces": [
  4822. "application/json"
  4823. ],
  4824. "tags": [
  4825. "风险管理v3"
  4826. ],
  4827. "summary": "新增期现套利业务申请",
  4828. "parameters": [
  4829. {
  4830. "description": "申请参数",
  4831. "name": "jsonBody",
  4832. "in": "body",
  4833. "required": true,
  4834. "schema": {
  4835. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4836. }
  4837. }
  4838. ],
  4839. "responses": {
  4840. "200": {
  4841. "description": "OK",
  4842. "schema": {
  4843. "$ref": "#/definitions/app.Response"
  4844. }
  4845. },
  4846. "500": {
  4847. "description": "Internal Server Error",
  4848. "schema": {
  4849. "$ref": "#/definitions/app.Response"
  4850. }
  4851. }
  4852. }
  4853. }
  4854. },
  4855. "/Erms3/AddErms2SpotTradeApply": {
  4856. "post": {
  4857. "security": [
  4858. {
  4859. "ApiKeyAuth": []
  4860. }
  4861. ],
  4862. "produces": [
  4863. "application/json"
  4864. ],
  4865. "tags": [
  4866. "风险管理v3"
  4867. ],
  4868. "summary": "新增现货贸易业务申请",
  4869. "parameters": [
  4870. {
  4871. "description": "申请参数",
  4872. "name": "jsonBody",
  4873. "in": "body",
  4874. "required": true,
  4875. "schema": {
  4876. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4877. }
  4878. }
  4879. ],
  4880. "responses": {
  4881. "200": {
  4882. "description": "OK",
  4883. "schema": {
  4884. "$ref": "#/definitions/app.Response"
  4885. }
  4886. },
  4887. "500": {
  4888. "description": "Internal Server Error",
  4889. "schema": {
  4890. "$ref": "#/definitions/app.Response"
  4891. }
  4892. }
  4893. }
  4894. }
  4895. },
  4896. "/Erms3/AddSpotContractApply": {
  4897. "post": {
  4898. "security": [
  4899. {
  4900. "ApiKeyAuth": []
  4901. }
  4902. ],
  4903. "produces": [
  4904. "application/json"
  4905. ],
  4906. "tags": [
  4907. "风险管理v3"
  4908. ],
  4909. "summary": "新增现货合同申请",
  4910. "parameters": [
  4911. {
  4912. "description": "申请参数",
  4913. "name": "jsonBody",
  4914. "in": "body",
  4915. "required": true,
  4916. "schema": {
  4917. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4918. }
  4919. }
  4920. ],
  4921. "responses": {
  4922. "200": {
  4923. "description": "OK",
  4924. "schema": {
  4925. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/Erms3/AddUserInfoApply": {
  4938. "post": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "风险管理v3"
  4949. ],
  4950. "summary": "新增客户申请",
  4951. "parameters": [
  4952. {
  4953. "description": "用户信息",
  4954. "name": "jsonBody",
  4955. "in": "body",
  4956. "required": true,
  4957. "schema": {
  4958. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4959. }
  4960. }
  4961. ],
  4962. "responses": {
  4963. "200": {
  4964. "description": "OK",
  4965. "schema": {
  4966. "$ref": "#/definitions/app.Response"
  4967. }
  4968. },
  4969. "500": {
  4970. "description": "Internal Server Error",
  4971. "schema": {
  4972. "$ref": "#/definitions/app.Response"
  4973. }
  4974. }
  4975. }
  4976. }
  4977. },
  4978. "/Erms3/DeleteUserInfoApply": {
  4979. "get": {
  4980. "security": [
  4981. {
  4982. "ApiKeyAuth": []
  4983. }
  4984. ],
  4985. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4986. "produces": [
  4987. "application/json"
  4988. ],
  4989. "tags": [
  4990. "风险管理v3"
  4991. ],
  4992. "summary": "删除客户申请",
  4993. "parameters": [
  4994. {
  4995. "type": "integer",
  4996. "description": "用户ID",
  4997. "name": "userID",
  4998. "in": "query",
  4999. "required": true
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/ModifyUserInfoApply": {
  5019. "post": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5026. "produces": [
  5027. "application/json"
  5028. ],
  5029. "tags": [
  5030. "风险管理v3"
  5031. ],
  5032. "summary": "修改客户申请",
  5033. "parameters": [
  5034. {
  5035. "description": "用户信息",
  5036. "name": "jsonBody",
  5037. "in": "body",
  5038. "required": true,
  5039. "schema": {
  5040. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5041. }
  5042. }
  5043. ],
  5044. "responses": {
  5045. "200": {
  5046. "description": "OK",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. },
  5051. "500": {
  5052. "description": "Internal Server Error",
  5053. "schema": {
  5054. "$ref": "#/definitions/app.Response"
  5055. }
  5056. }
  5057. }
  5058. }
  5059. },
  5060. "/Erms3/QueryBusinessInfo": {
  5061. "get": {
  5062. "security": [
  5063. {
  5064. "ApiKeyAuth": []
  5065. }
  5066. ],
  5067. "produces": [
  5068. "application/json"
  5069. ],
  5070. "tags": [
  5071. "风险管理v3"
  5072. ],
  5073. "summary": "查询业务表单数据",
  5074. "parameters": [
  5075. {
  5076. "type": "string",
  5077. "description": "资金账号ID列表,用逗号分隔",
  5078. "name": "accountids",
  5079. "in": "query",
  5080. "required": true
  5081. },
  5082. {
  5083. "type": "integer",
  5084. "description": "状态,0为未结束 1为已结束",
  5085. "name": "status",
  5086. "in": "query",
  5087. "required": true
  5088. }
  5089. ],
  5090. "responses": {
  5091. "200": {
  5092. "description": "OK",
  5093. "schema": {
  5094. "type": "array",
  5095. "items": {
  5096. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5097. }
  5098. }
  5099. },
  5100. "500": {
  5101. "description": "Internal Server Error",
  5102. "schema": {
  5103. "$ref": "#/definitions/app.Response"
  5104. }
  5105. }
  5106. }
  5107. }
  5108. },
  5109. "/Erms3/QueryPendingAuditContract": {
  5110. "get": {
  5111. "security": [
  5112. {
  5113. "ApiKeyAuth": []
  5114. }
  5115. ],
  5116. "produces": [
  5117. "application/json"
  5118. ],
  5119. "tags": [
  5120. "风险管理v3"
  5121. ],
  5122. "summary": "查询待审核合同",
  5123. "parameters": [
  5124. {
  5125. "type": "string",
  5126. "description": "资金账号ID列表,逗号隔开",
  5127. "name": "accountids",
  5128. "in": "query",
  5129. "required": true
  5130. },
  5131. {
  5132. "type": "integer",
  5133. "description": "合同类型 1-采购 -1-销售",
  5134. "name": "contracttype",
  5135. "in": "query",
  5136. "required": true
  5137. },
  5138. {
  5139. "type": "integer",
  5140. "description": "合同模式 1-普通 2-回购",
  5141. "name": "contractmode",
  5142. "in": "query",
  5143. "required": true
  5144. }
  5145. ],
  5146. "responses": {
  5147. "200": {
  5148. "description": "OK",
  5149. "schema": {
  5150. "type": "array",
  5151. "items": {
  5152. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5153. }
  5154. }
  5155. },
  5156. "500": {
  5157. "description": "Internal Server Error",
  5158. "schema": {
  5159. "$ref": "#/definitions/app.Response"
  5160. }
  5161. }
  5162. }
  5163. }
  5164. },
  5165. "/Erms3/QueryPendingBusiness": {
  5166. "get": {
  5167. "security": [
  5168. {
  5169. "ApiKeyAuth": []
  5170. }
  5171. ],
  5172. "produces": [
  5173. "application/json"
  5174. ],
  5175. "tags": [
  5176. "风险管理v3"
  5177. ],
  5178. "summary": "查询待审核基差贸易业务",
  5179. "parameters": [
  5180. {
  5181. "type": "string",
  5182. "description": "资金账号ID列表,逗号隔开",
  5183. "name": "accountids",
  5184. "in": "query",
  5185. "required": true
  5186. }
  5187. ],
  5188. "responses": {
  5189. "200": {
  5190. "description": "OK",
  5191. "schema": {
  5192. "type": "array",
  5193. "items": {
  5194. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5195. }
  5196. }
  5197. },
  5198. "500": {
  5199. "description": "Internal Server Error",
  5200. "schema": {
  5201. "$ref": "#/definitions/app.Response"
  5202. }
  5203. }
  5204. }
  5205. }
  5206. },
  5207. "/Erms3/QuerySpotContractAppleForm": {
  5208. "get": {
  5209. "security": [
  5210. {
  5211. "ApiKeyAuth": []
  5212. }
  5213. ],
  5214. "produces": [
  5215. "application/json"
  5216. ],
  5217. "tags": [
  5218. "风险管理v3"
  5219. ],
  5220. "summary": "查询合同申请表单数据",
  5221. "parameters": [
  5222. {
  5223. "type": "integer",
  5224. "description": "登录账号",
  5225. "name": "loginID",
  5226. "in": "query",
  5227. "required": true
  5228. }
  5229. ],
  5230. "responses": {
  5231. "200": {
  5232. "description": "OK",
  5233. "schema": {
  5234. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5235. }
  5236. },
  5237. "500": {
  5238. "description": "Internal Server Error",
  5239. "schema": {
  5240. "$ref": "#/definitions/app.Response"
  5241. }
  5242. }
  5243. }
  5244. }
  5245. },
  5246. "/Erms3/QuerySpotContractDetail": {
  5247. "get": {
  5248. "security": [
  5249. {
  5250. "ApiKeyAuth": []
  5251. }
  5252. ],
  5253. "produces": [
  5254. "application/json"
  5255. ],
  5256. "tags": [
  5257. "风险管理v3"
  5258. ],
  5259. "summary": "查询合同详细信息",
  5260. "parameters": [
  5261. {
  5262. "type": "string",
  5263. "description": "资金账号ID列表,用逗号分隔",
  5264. "name": "accountids",
  5265. "in": "query",
  5266. "required": true
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "合同类型,1为采购合同 -1为销售合同",
  5271. "name": "contracttype",
  5272. "in": "query",
  5273. "required": true
  5274. },
  5275. {
  5276. "type": "integer",
  5277. "description": "合同模式,1为普通合同 2为回购销售合同",
  5278. "name": "contractmode",
  5279. "in": "query",
  5280. "required": true
  5281. },
  5282. {
  5283. "type": "integer",
  5284. "description": "状态,0为履约中 1为已完成",
  5285. "name": "status",
  5286. "in": "query",
  5287. "required": true
  5288. }
  5289. ],
  5290. "responses": {
  5291. "200": {
  5292. "description": "OK",
  5293. "schema": {
  5294. "type": "array",
  5295. "items": {
  5296. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5297. }
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/Erms3/QueryUserInfoApplies": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "风险管理v3"
  5321. ],
  5322. "summary": "客户申请信息查询",
  5323. "parameters": [
  5324. {
  5325. "type": "integer",
  5326. "description": "页码",
  5327. "name": "page",
  5328. "in": "query"
  5329. },
  5330. {
  5331. "type": "integer",
  5332. "description": "每页条数",
  5333. "name": "pagesize",
  5334. "in": "query"
  5335. },
  5336. {
  5337. "type": "string",
  5338. "description": "客户名称,支持模糊查询",
  5339. "name": "userName",
  5340. "in": "query"
  5341. }
  5342. ],
  5343. "responses": {
  5344. "200": {
  5345. "description": "OK",
  5346. "schema": {
  5347. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5348. }
  5349. },
  5350. "500": {
  5351. "description": "Internal Server Error",
  5352. "schema": {
  5353. "$ref": "#/definitions/app.Response"
  5354. }
  5355. }
  5356. }
  5357. }
  5358. },
  5359. "/Erms3/QueryUserInfos": {
  5360. "get": {
  5361. "security": [
  5362. {
  5363. "ApiKeyAuth": []
  5364. }
  5365. ],
  5366. "produces": [
  5367. "application/json"
  5368. ],
  5369. "tags": [
  5370. "风险管理v3"
  5371. ],
  5372. "summary": "客户信息查询",
  5373. "parameters": [
  5374. {
  5375. "type": "integer",
  5376. "description": "页码",
  5377. "name": "page",
  5378. "in": "query"
  5379. },
  5380. {
  5381. "type": "integer",
  5382. "description": "每页条数",
  5383. "name": "pagesize",
  5384. "in": "query"
  5385. },
  5386. {
  5387. "type": "string",
  5388. "description": "客户名称,支持模糊查询",
  5389. "name": "userName",
  5390. "in": "query"
  5391. }
  5392. ],
  5393. "responses": {
  5394. "200": {
  5395. "description": "OK",
  5396. "schema": {
  5397. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5398. }
  5399. },
  5400. "500": {
  5401. "description": "Internal Server Error",
  5402. "schema": {
  5403. "$ref": "#/definitions/app.Response"
  5404. }
  5405. }
  5406. }
  5407. }
  5408. },
  5409. "/HSBY/GetHsbyMyCount": {
  5410. "get": {
  5411. "security": [
  5412. {
  5413. "ApiKeyAuth": []
  5414. }
  5415. ],
  5416. "description": "说明: 不包括已完成的数量。",
  5417. "produces": [
  5418. "application/json"
  5419. ],
  5420. "tags": [
  5421. "定制【海商报业】"
  5422. ],
  5423. "summary": "获取我的订单与包裹数量",
  5424. "parameters": [
  5425. {
  5426. "type": "string",
  5427. "description": "资金账户列表,格式:1,2,3",
  5428. "name": "accountIDs",
  5429. "in": "query",
  5430. "required": true
  5431. }
  5432. ],
  5433. "responses": {
  5434. "200": {
  5435. "description": "OK",
  5436. "schema": {
  5437. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5438. }
  5439. },
  5440. "500": {
  5441. "description": "Internal Server Error",
  5442. "schema": {
  5443. "$ref": "#/definitions/app.Response"
  5444. }
  5445. }
  5446. }
  5447. }
  5448. },
  5449. "/HSBY/QueryClientFixedADConfigs": {
  5450. "get": {
  5451. "security": [
  5452. {
  5453. "ApiKeyAuth": []
  5454. }
  5455. ],
  5456. "produces": [
  5457. "application/json"
  5458. ],
  5459. "tags": [
  5460. "定制【海商报业】"
  5461. ],
  5462. "summary": "获取终端固定广告配置",
  5463. "responses": {
  5464. "200": {
  5465. "description": "OK",
  5466. "schema": {
  5467. "$ref": "#/definitions/models.Clientfixedadconfig"
  5468. }
  5469. },
  5470. "500": {
  5471. "description": "Internal Server Error",
  5472. "schema": {
  5473. "$ref": "#/definitions/app.Response"
  5474. }
  5475. }
  5476. }
  5477. }
  5478. },
  5479. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5480. "get": {
  5481. "security": [
  5482. {
  5483. "ApiKeyAuth": []
  5484. }
  5485. ],
  5486. "produces": [
  5487. "application/json"
  5488. ],
  5489. "tags": [
  5490. "定制【海商报业】"
  5491. ],
  5492. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5493. "parameters": [
  5494. {
  5495. "type": "integer",
  5496. "description": "页码",
  5497. "name": "page",
  5498. "in": "query"
  5499. },
  5500. {
  5501. "type": "integer",
  5502. "description": "每页条数",
  5503. "name": "pagesize",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "资金账户列表,格式:1,2,3",
  5509. "name": "accountIDs",
  5510. "in": "query",
  5511. "required": true
  5512. }
  5513. ],
  5514. "responses": {
  5515. "200": {
  5516. "description": "OK",
  5517. "schema": {
  5518. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5519. }
  5520. },
  5521. "500": {
  5522. "description": "Internal Server Error",
  5523. "schema": {
  5524. "$ref": "#/definitions/app.Response"
  5525. }
  5526. }
  5527. }
  5528. }
  5529. },
  5530. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5531. "get": {
  5532. "security": [
  5533. {
  5534. "ApiKeyAuth": []
  5535. }
  5536. ],
  5537. "description": "说明:查询结果已按委托价格和委托时间排序",
  5538. "produces": [
  5539. "application/json"
  5540. ],
  5541. "tags": [
  5542. "定制【海商报业】"
  5543. ],
  5544. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5545. "parameters": [
  5546. {
  5547. "type": "integer",
  5548. "description": "商品ID",
  5549. "name": "goodsID",
  5550. "in": "query",
  5551. "required": true
  5552. },
  5553. {
  5554. "type": "string",
  5555. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5556. "name": "accountIDs",
  5557. "in": "query"
  5558. },
  5559. {
  5560. "type": "integer",
  5561. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5562. "name": "buyOrSell",
  5563. "in": "query"
  5564. },
  5565. {
  5566. "type": "number",
  5567. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5568. "name": "price",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": "档位,不传则默认为3档",
  5574. "name": "speed",
  5575. "in": "query"
  5576. }
  5577. ],
  5578. "responses": {
  5579. "200": {
  5580. "description": "OK",
  5581. "schema": {
  5582. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5583. }
  5584. },
  5585. "500": {
  5586. "description": "Internal Server Error",
  5587. "schema": {
  5588. "$ref": "#/definitions/app.Response"
  5589. }
  5590. }
  5591. }
  5592. }
  5593. },
  5594. "/HSBY/QueryHsbyListingGoodsDetail": {
  5595. "get": {
  5596. "security": [
  5597. {
  5598. "ApiKeyAuth": []
  5599. }
  5600. ],
  5601. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5602. "produces": [
  5603. "application/json"
  5604. ],
  5605. "tags": [
  5606. "定制【海商报业】"
  5607. ],
  5608. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5609. "parameters": [
  5610. {
  5611. "type": "integer",
  5612. "description": "商品ID",
  5613. "name": "goodsID",
  5614. "in": "query",
  5615. "required": true
  5616. },
  5617. {
  5618. "type": "integer",
  5619. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5620. "name": "accountID",
  5621. "in": "query"
  5622. }
  5623. ],
  5624. "responses": {
  5625. "200": {
  5626. "description": "OK",
  5627. "schema": {
  5628. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5629. }
  5630. },
  5631. "500": {
  5632. "description": "Internal Server Error",
  5633. "schema": {
  5634. "$ref": "#/definitions/app.Response"
  5635. }
  5636. }
  5637. }
  5638. }
  5639. },
  5640. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5641. "get": {
  5642. "security": [
  5643. {
  5644. "ApiKeyAuth": []
  5645. }
  5646. ],
  5647. "produces": [
  5648. "application/json"
  5649. ],
  5650. "tags": [
  5651. "定制【海商报业】"
  5652. ],
  5653. "summary": "查询三级市场(商城)商品信息详情",
  5654. "parameters": [
  5655. {
  5656. "type": "integer",
  5657. "description": "委托单号",
  5658. "name": "orderID",
  5659. "in": "query",
  5660. "required": true
  5661. },
  5662. {
  5663. "type": "integer",
  5664. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5665. "name": "accountID",
  5666. "in": "query"
  5667. }
  5668. ],
  5669. "responses": {
  5670. "200": {
  5671. "description": "OK",
  5672. "schema": {
  5673. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5674. }
  5675. },
  5676. "500": {
  5677. "description": "Internal Server Error",
  5678. "schema": {
  5679. "$ref": "#/definitions/app.Response"
  5680. }
  5681. }
  5682. }
  5683. }
  5684. },
  5685. "/HSBY/QueryHsbyMarketGoodses": {
  5686. "get": {
  5687. "security": [
  5688. {
  5689. "ApiKeyAuth": []
  5690. }
  5691. ],
  5692. "produces": [
  5693. "application/json"
  5694. ],
  5695. "tags": [
  5696. "定制【海商报业】"
  5697. ],
  5698. "summary": "查询特卖商品列表(三级商城)",
  5699. "parameters": [
  5700. {
  5701. "type": "integer",
  5702. "description": "页码",
  5703. "name": "page",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "integer",
  5708. "description": "每页条数",
  5709. "name": "pagesize",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "string",
  5714. "description": "市场ID列表,格式:1,2,3",
  5715. "name": "marketIDs",
  5716. "in": "query",
  5717. "required": true
  5718. },
  5719. {
  5720. "type": "integer",
  5721. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5722. "name": "accountID",
  5723. "in": "query",
  5724. "required": true
  5725. },
  5726. {
  5727. "type": "integer",
  5728. "description": "类别ID",
  5729. "name": "categoryID",
  5730. "in": "query"
  5731. },
  5732. {
  5733. "type": "string",
  5734. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5735. "name": "goodsIDs",
  5736. "in": "query"
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5741. "name": "couponTypeID",
  5742. "in": "query"
  5743. }
  5744. ],
  5745. "responses": {
  5746. "200": {
  5747. "description": "OK",
  5748. "schema": {
  5749. "$ref": "#/definitions/models.HsbyMarketGoods"
  5750. }
  5751. },
  5752. "500": {
  5753. "description": "Internal Server Error",
  5754. "schema": {
  5755. "$ref": "#/definitions/app.Response"
  5756. }
  5757. }
  5758. }
  5759. }
  5760. },
  5761. "/HSBY/QueryHsbyMarkets": {
  5762. "get": {
  5763. "security": [
  5764. {
  5765. "ApiKeyAuth": []
  5766. }
  5767. ],
  5768. "produces": [
  5769. "application/json"
  5770. ],
  5771. "tags": [
  5772. "定制【海商报业】"
  5773. ],
  5774. "summary": "查询海商报业相关市场信息",
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/models.HsbyMarketInfo"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5799. "produces": [
  5800. "application/json"
  5801. ],
  5802. "tags": [
  5803. "定制【海商报业】"
  5804. ],
  5805. "summary": "查询“我的订单”信息",
  5806. "parameters": [
  5807. {
  5808. "type": "string",
  5809. "description": "资金账户列表,格式:1,2,3",
  5810. "name": "accountIDs",
  5811. "in": "query",
  5812. "required": true
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/HSBY/QueryHsbyMyGoods": {
  5832. "get": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5839. "produces": [
  5840. "application/json"
  5841. ],
  5842. "tags": [
  5843. "定制【海商报业】"
  5844. ],
  5845. "summary": "查询“我的商品”信息",
  5846. "parameters": [
  5847. {
  5848. "type": "string",
  5849. "description": "资金账户列表,格式:1,2,3",
  5850. "name": "accountIDs",
  5851. "in": "query",
  5852. "required": true
  5853. }
  5854. ],
  5855. "responses": {
  5856. "200": {
  5857. "description": "OK",
  5858. "schema": {
  5859. "$ref": "#/definitions/models.HsbyMyGoods"
  5860. }
  5861. },
  5862. "500": {
  5863. "description": "Internal Server Error",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. }
  5868. }
  5869. }
  5870. },
  5871. "/HSBY/QueryHsbyMyPackages": {
  5872. "get": {
  5873. "security": [
  5874. {
  5875. "ApiKeyAuth": []
  5876. }
  5877. ],
  5878. "produces": [
  5879. "application/json"
  5880. ],
  5881. "tags": [
  5882. "定制【海商报业】"
  5883. ],
  5884. "summary": "查询我的包裹信息",
  5885. "parameters": [
  5886. {
  5887. "type": "string",
  5888. "description": "资金账户列表,格式:1,2,3",
  5889. "name": "accountIDs",
  5890. "in": "query",
  5891. "required": true
  5892. },
  5893. {
  5894. "type": "integer",
  5895. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5896. "name": "takeOrderStatus",
  5897. "in": "query"
  5898. }
  5899. ],
  5900. "responses": {
  5901. "200": {
  5902. "description": "OK",
  5903. "schema": {
  5904. "$ref": "#/definitions/models.HsbyMyPackage"
  5905. }
  5906. },
  5907. "500": {
  5908. "description": "Internal Server Error",
  5909. "schema": {
  5910. "$ref": "#/definitions/app.Response"
  5911. }
  5912. }
  5913. }
  5914. }
  5915. },
  5916. "/HSBY/QueryHsbyPreGoodsDetail": {
  5917. "get": {
  5918. "security": [
  5919. {
  5920. "ApiKeyAuth": []
  5921. }
  5922. ],
  5923. "produces": [
  5924. "application/json"
  5925. ],
  5926. "tags": [
  5927. "定制【海商报业】"
  5928. ],
  5929. "summary": "查询一级市场(预售)商品信息详情",
  5930. "parameters": [
  5931. {
  5932. "type": "integer",
  5933. "description": "商品ID",
  5934. "name": "goodsID",
  5935. "in": "query",
  5936. "required": true
  5937. },
  5938. {
  5939. "type": "integer",
  5940. "description": "资金账户,主要用于获取预售商品购买上限",
  5941. "name": "accountID",
  5942. "in": "query"
  5943. }
  5944. ],
  5945. "responses": {
  5946. "200": {
  5947. "description": "OK",
  5948. "schema": {
  5949. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5950. }
  5951. },
  5952. "500": {
  5953. "description": "Internal Server Error",
  5954. "schema": {
  5955. "$ref": "#/definitions/app.Response"
  5956. }
  5957. }
  5958. }
  5959. }
  5960. },
  5961. "/HSBY/QueryHsbyPreGoodses": {
  5962. "get": {
  5963. "security": [
  5964. {
  5965. "ApiKeyAuth": []
  5966. }
  5967. ],
  5968. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5969. "produces": [
  5970. "application/json"
  5971. ],
  5972. "tags": [
  5973. "定制【海商报业】"
  5974. ],
  5975. "summary": "查询新品上市商品列表(一级市场预售)",
  5976. "parameters": [
  5977. {
  5978. "type": "integer",
  5979. "description": "页码",
  5980. "name": "page",
  5981. "in": "query"
  5982. },
  5983. {
  5984. "type": "integer",
  5985. "description": "每页条数",
  5986. "name": "pagesize",
  5987. "in": "query"
  5988. },
  5989. {
  5990. "type": "string",
  5991. "description": "市场ID列表,格式:1,2,3",
  5992. "name": "marketIDs",
  5993. "in": "query",
  5994. "required": true
  5995. },
  5996. {
  5997. "type": "integer",
  5998. "description": "目的地(省)ID",
  5999. "name": "descProvinceID",
  6000. "in": "query"
  6001. },
  6002. {
  6003. "type": "integer",
  6004. "description": "目的地(市)ID",
  6005. "name": "descCityID",
  6006. "in": "query"
  6007. }
  6008. ],
  6009. "responses": {
  6010. "200": {
  6011. "description": "OK",
  6012. "schema": {
  6013. "$ref": "#/definitions/models.HsbyPreGoods"
  6014. }
  6015. },
  6016. "500": {
  6017. "description": "Internal Server Error",
  6018. "schema": {
  6019. "$ref": "#/definitions/app.Response"
  6020. }
  6021. }
  6022. }
  6023. }
  6024. },
  6025. "/HSBY/QueryHsbySellMyDetails": {
  6026. "get": {
  6027. "security": [
  6028. {
  6029. "ApiKeyAuth": []
  6030. }
  6031. ],
  6032. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6033. "produces": [
  6034. "application/json"
  6035. ],
  6036. "tags": [
  6037. "定制【海商报业】"
  6038. ],
  6039. "summary": "查询\"我的闲置\"单据信息",
  6040. "parameters": [
  6041. {
  6042. "type": "integer",
  6043. "description": "页码",
  6044. "name": "page",
  6045. "in": "query"
  6046. },
  6047. {
  6048. "type": "integer",
  6049. "description": "每页条数",
  6050. "name": "pagesize",
  6051. "in": "query"
  6052. },
  6053. {
  6054. "type": "string",
  6055. "description": "资金账户列表,格式:1,2,3",
  6056. "name": "accountIDs",
  6057. "in": "query",
  6058. "required": true
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6063. "name": "orderType",
  6064. "in": "query"
  6065. }
  6066. ],
  6067. "responses": {
  6068. "200": {
  6069. "description": "OK",
  6070. "schema": {
  6071. "$ref": "#/definitions/models.HsbySellMyDetail"
  6072. }
  6073. },
  6074. "500": {
  6075. "description": "Internal Server Error",
  6076. "schema": {
  6077. "$ref": "#/definitions/app.Response"
  6078. }
  6079. }
  6080. }
  6081. }
  6082. },
  6083. "/HSBY/QueryHsbyTopGoodses": {
  6084. "get": {
  6085. "security": [
  6086. {
  6087. "ApiKeyAuth": []
  6088. }
  6089. ],
  6090. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6091. "produces": [
  6092. "application/json"
  6093. ],
  6094. "tags": [
  6095. "定制【海商报业】"
  6096. ],
  6097. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6098. "parameters": [
  6099. {
  6100. "type": "integer",
  6101. "description": "页码",
  6102. "name": "page",
  6103. "in": "query"
  6104. },
  6105. {
  6106. "type": "integer",
  6107. "description": "每页条数",
  6108. "name": "pagesize",
  6109. "in": "query"
  6110. },
  6111. {
  6112. "type": "string",
  6113. "description": "市场ID列表,格式:1,2,3",
  6114. "name": "marketIDs",
  6115. "in": "query",
  6116. "required": true
  6117. },
  6118. {
  6119. "type": "integer",
  6120. "description": "目的地(省)ID",
  6121. "name": "descProvinceID",
  6122. "in": "query"
  6123. },
  6124. {
  6125. "type": "integer",
  6126. "description": "目的地(市)ID",
  6127. "name": "descCityID",
  6128. "in": "query"
  6129. }
  6130. ],
  6131. "responses": {
  6132. "200": {
  6133. "description": "OK",
  6134. "schema": {
  6135. "$ref": "#/definitions/models.HsbyTopGoods"
  6136. }
  6137. },
  6138. "500": {
  6139. "description": "Internal Server Error",
  6140. "schema": {
  6141. "$ref": "#/definitions/app.Response"
  6142. }
  6143. }
  6144. }
  6145. }
  6146. },
  6147. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6148. "get": {
  6149. "security": [
  6150. {
  6151. "ApiKeyAuth": []
  6152. }
  6153. ],
  6154. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "定制【海商报业】"
  6160. ],
  6161. "summary": "查询游客三级市场(商城)商品信息详情",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "商品ID",
  6166. "name": "goodsID",
  6167. "in": "query",
  6168. "required": true
  6169. }
  6170. ],
  6171. "responses": {
  6172. "200": {
  6173. "description": "OK",
  6174. "schema": {
  6175. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6176. }
  6177. },
  6178. "500": {
  6179. "description": "Internal Server Error",
  6180. "schema": {
  6181. "$ref": "#/definitions/app.Response"
  6182. }
  6183. }
  6184. }
  6185. }
  6186. },
  6187. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6188. "get": {
  6189. "security": [
  6190. {
  6191. "ApiKeyAuth": []
  6192. }
  6193. ],
  6194. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6195. "produces": [
  6196. "application/json"
  6197. ],
  6198. "tags": [
  6199. "定制【海商报业】"
  6200. ],
  6201. "summary": "查询游客特卖商品列表(三级商城)",
  6202. "parameters": [
  6203. {
  6204. "type": "integer",
  6205. "description": "页码",
  6206. "name": "page",
  6207. "in": "query"
  6208. },
  6209. {
  6210. "type": "integer",
  6211. "description": "每页条数",
  6212. "name": "pagesize",
  6213. "in": "query"
  6214. },
  6215. {
  6216. "type": "string",
  6217. "description": "市场ID列表,格式:1,2,3",
  6218. "name": "marketIDs",
  6219. "in": "query",
  6220. "required": true
  6221. },
  6222. {
  6223. "type": "integer",
  6224. "description": "类别ID",
  6225. "name": "categoryID",
  6226. "in": "query"
  6227. },
  6228. {
  6229. "type": "string",
  6230. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6231. "name": "goodsIDs",
  6232. "in": "query"
  6233. }
  6234. ],
  6235. "responses": {
  6236. "200": {
  6237. "description": "OK",
  6238. "schema": {
  6239. "$ref": "#/definitions/models.HsbyMarketGoods"
  6240. }
  6241. },
  6242. "500": {
  6243. "description": "Internal Server Error",
  6244. "schema": {
  6245. "$ref": "#/definitions/app.Response"
  6246. }
  6247. }
  6248. }
  6249. }
  6250. },
  6251. "/HSBY/QueryMyCollectionOrders": {
  6252. "get": {
  6253. "security": [
  6254. {
  6255. "ApiKeyAuth": []
  6256. }
  6257. ],
  6258. "produces": [
  6259. "application/json"
  6260. ],
  6261. "tags": [
  6262. "定制【海商报业】"
  6263. ],
  6264. "summary": "我的闲置中收款信息查询",
  6265. "parameters": [
  6266. {
  6267. "type": "integer",
  6268. "description": "页码",
  6269. "name": "page",
  6270. "in": "query"
  6271. },
  6272. {
  6273. "type": "integer",
  6274. "description": "每页条数",
  6275. "name": "pagesize",
  6276. "in": "query"
  6277. },
  6278. {
  6279. "type": "string",
  6280. "description": "资金账户,格式:1,2,3",
  6281. "name": "accountIDs",
  6282. "in": "query",
  6283. "required": true
  6284. }
  6285. ],
  6286. "responses": {
  6287. "200": {
  6288. "description": "OK",
  6289. "schema": {
  6290. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6291. }
  6292. },
  6293. "500": {
  6294. "description": "Internal Server Error",
  6295. "schema": {
  6296. "$ref": "#/definitions/app.Response"
  6297. }
  6298. }
  6299. }
  6300. }
  6301. },
  6302. "/HSBY/QueryMyCouponHolds": {
  6303. "get": {
  6304. "security": [
  6305. {
  6306. "ApiKeyAuth": []
  6307. }
  6308. ],
  6309. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6310. "produces": [
  6311. "application/json"
  6312. ],
  6313. "tags": [
  6314. "定制【海商报业】"
  6315. ],
  6316. "summary": "我的优惠卷持仓查询",
  6317. "parameters": [
  6318. {
  6319. "type": "string",
  6320. "description": "资金账户列表,格式:1,2,3",
  6321. "name": "accountIDs",
  6322. "in": "query",
  6323. "required": true
  6324. },
  6325. {
  6326. "type": "string",
  6327. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6328. "name": "holdStatus",
  6329. "in": "query"
  6330. }
  6331. ],
  6332. "responses": {
  6333. "200": {
  6334. "description": "OK",
  6335. "schema": {
  6336. "$ref": "#/definitions/models.MyCouponHold"
  6337. }
  6338. },
  6339. "500": {
  6340. "description": "Internal Server Error",
  6341. "schema": {
  6342. "$ref": "#/definitions/app.Response"
  6343. }
  6344. }
  6345. }
  6346. }
  6347. },
  6348. "/HSBY/QueryMyCoupons": {
  6349. "get": {
  6350. "security": [
  6351. {
  6352. "ApiKeyAuth": []
  6353. }
  6354. ],
  6355. "produces": [
  6356. "application/json"
  6357. ],
  6358. "tags": [
  6359. "定制【海商报业】"
  6360. ],
  6361. "summary": "我的优惠卷查询",
  6362. "parameters": [
  6363. {
  6364. "type": "string",
  6365. "description": "资金账户列表,格式:1,2,3",
  6366. "name": "accountIDs",
  6367. "in": "query",
  6368. "required": true
  6369. },
  6370. {
  6371. "type": "integer",
  6372. "description": "商品ID, 一般与sellUserID配套传入",
  6373. "name": "goodsID",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "integer",
  6378. "description": "卖方UserID",
  6379. "name": "sellUserID",
  6380. "in": "query"
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/models.MyCoupon"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/HSBY/QueryMyPayOrders": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "produces": [
  6407. "application/json"
  6408. ],
  6409. "tags": [
  6410. "定制【海商报业】"
  6411. ],
  6412. "summary": "获取我的订单中待付款信息",
  6413. "parameters": [
  6414. {
  6415. "type": "integer",
  6416. "description": "页码",
  6417. "name": "page",
  6418. "in": "query"
  6419. },
  6420. {
  6421. "type": "integer",
  6422. "description": "每页条数",
  6423. "name": "pagesize",
  6424. "in": "query"
  6425. },
  6426. {
  6427. "type": "string",
  6428. "description": "资金账户列表,格式:1,2,3",
  6429. "name": "accountIDs",
  6430. "in": "query",
  6431. "required": true
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "买方委托单号",
  6436. "name": "buyOrderID",
  6437. "in": "query"
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "卖方委托单号",
  6442. "name": "sellOrderID",
  6443. "in": "query"
  6444. }
  6445. ],
  6446. "responses": {
  6447. "200": {
  6448. "description": "OK",
  6449. "schema": {
  6450. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6451. }
  6452. },
  6453. "500": {
  6454. "description": "Internal Server Error",
  6455. "schema": {
  6456. "$ref": "#/definitions/app.Response"
  6457. }
  6458. }
  6459. }
  6460. }
  6461. },
  6462. "/HSBY/QueryMyUsedCoupon": {
  6463. "get": {
  6464. "security": [
  6465. {
  6466. "ApiKeyAuth": []
  6467. }
  6468. ],
  6469. "produces": [
  6470. "application/json"
  6471. ],
  6472. "tags": [
  6473. "定制【海商报业】"
  6474. ],
  6475. "summary": "已使用优惠卷查询",
  6476. "parameters": [
  6477. {
  6478. "type": "string",
  6479. "description": "资金账户列表,格式:1,2,3",
  6480. "name": "accountIDs",
  6481. "in": "query",
  6482. "required": true
  6483. }
  6484. ],
  6485. "responses": {
  6486. "200": {
  6487. "description": "OK",
  6488. "schema": {
  6489. "$ref": "#/definitions/models.MyUsedCoupon"
  6490. }
  6491. },
  6492. "500": {
  6493. "description": "Internal Server Error",
  6494. "schema": {
  6495. "$ref": "#/definitions/app.Response"
  6496. }
  6497. }
  6498. }
  6499. }
  6500. },
  6501. "/HSBY/QueryProvincesAndCities": {
  6502. "get": {
  6503. "security": [
  6504. {
  6505. "ApiKeyAuth": []
  6506. }
  6507. ],
  6508. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6509. "produces": [
  6510. "application/json"
  6511. ],
  6512. "tags": [
  6513. "定制【海商报业】"
  6514. ],
  6515. "summary": "查询省市信息(不包括区)",
  6516. "parameters": [
  6517. {
  6518. "type": "integer",
  6519. "description": "省ID",
  6520. "name": "provinceID",
  6521. "in": "query"
  6522. }
  6523. ],
  6524. "responses": {
  6525. "200": {
  6526. "description": "OK",
  6527. "schema": {
  6528. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6529. }
  6530. },
  6531. "500": {
  6532. "description": "Internal Server Error",
  6533. "schema": {
  6534. "$ref": "#/definitions/app.Response"
  6535. }
  6536. }
  6537. }
  6538. }
  6539. },
  6540. "/HSBY/SetHsbyMyPackagesStatus": {
  6541. "post": {
  6542. "security": [
  6543. {
  6544. "ApiKeyAuth": []
  6545. }
  6546. ],
  6547. "produces": [
  6548. "application/json"
  6549. ],
  6550. "tags": [
  6551. "定制【海商报业】"
  6552. ],
  6553. "summary": "设置我的包裹已收货状态",
  6554. "parameters": [
  6555. {
  6556. "type": "string",
  6557. "description": "提货单号",
  6558. "name": "takeOrderID",
  6559. "in": "query",
  6560. "required": true
  6561. },
  6562. {
  6563. "type": "integer",
  6564. "description": "资金账号",
  6565. "name": "accountID",
  6566. "in": "query",
  6567. "required": true
  6568. }
  6569. ],
  6570. "responses": {
  6571. "200": {
  6572. "description": "OK",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/Market/QueryGoodsesByLoginID": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "通用市场"
  6598. ],
  6599. "summary": "获取登录账号有权限的商品信息",
  6600. "parameters": [
  6601. {
  6602. "type": "integer",
  6603. "description": "登录账号",
  6604. "name": "loginID",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "string",
  6610. "description": "市场ID列表,格式:1,2,3",
  6611. "name": "marketIDs",
  6612. "in": "query"
  6613. }
  6614. ],
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/models.Goods"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/Market/QueryMarketRun": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. }
  6637. ],
  6638. "produces": [
  6639. "application/json"
  6640. ],
  6641. "tags": [
  6642. "通用市场"
  6643. ],
  6644. "summary": "查询市场运行信息",
  6645. "parameters": [
  6646. {
  6647. "type": "integer",
  6648. "description": "市场ID,不传返回所有",
  6649. "name": "marketID",
  6650. "in": "query"
  6651. }
  6652. ],
  6653. "responses": {
  6654. "200": {
  6655. "description": "OK",
  6656. "schema": {
  6657. "$ref": "#/definitions/models.Marketrun"
  6658. }
  6659. },
  6660. "500": {
  6661. "description": "Internal Server Error",
  6662. "schema": {
  6663. "$ref": "#/definitions/app.Response"
  6664. }
  6665. }
  6666. }
  6667. }
  6668. },
  6669. "/Market/QueryMarketsByLoginID": {
  6670. "get": {
  6671. "security": [
  6672. {
  6673. "ApiKeyAuth": []
  6674. }
  6675. ],
  6676. "produces": [
  6677. "application/json"
  6678. ],
  6679. "tags": [
  6680. "通用市场"
  6681. ],
  6682. "summary": "获取登录账号有权限的市场信息",
  6683. "parameters": [
  6684. {
  6685. "type": "integer",
  6686. "description": "登录账号",
  6687. "name": "loginID",
  6688. "in": "query",
  6689. "required": true
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.Market"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/Order/QueryHisTradeDetail": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "produces": [
  6716. "application/json"
  6717. ],
  6718. "tags": [
  6719. "通用单据"
  6720. ],
  6721. "summary": "历史成交单查询(合约市场)",
  6722. "parameters": [
  6723. {
  6724. "type": "string",
  6725. "description": "资金账户 - 格式:1,2,3",
  6726. "name": "accountID",
  6727. "in": "query",
  6728. "required": true
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "成交单号",
  6733. "name": "tradeID",
  6734. "in": "query"
  6735. },
  6736. {
  6737. "type": "integer",
  6738. "description": "委托单号",
  6739. "name": "orderID",
  6740. "in": "query"
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "商品ID",
  6745. "name": "goodsID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "string",
  6750. "description": "交易模式 - 格式:1,2,3",
  6751. "name": "tradeMode",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "委托单据类型",
  6757. "name": "buildType",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "成交类别 - 格式:1,2,3",
  6763. "name": "tradeType",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "string",
  6768. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6769. "name": "startDate",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6775. "name": "endDate",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/Order/QueryHisTradeOrderDetail": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "produces": [
  6803. "application/json"
  6804. ],
  6805. "tags": [
  6806. "通用单据"
  6807. ],
  6808. "summary": "历史委托单查询请求(合约市场)",
  6809. "parameters": [
  6810. {
  6811. "type": "string",
  6812. "description": "资金账户 - 格式:1,2,3",
  6813. "name": "accountID",
  6814. "in": "query",
  6815. "required": true
  6816. },
  6817. {
  6818. "type": "string",
  6819. "description": "交易模式 - 格式:1,2,3",
  6820. "name": "tradeMode",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "委托状态 - 格式:1,2,3",
  6826. "name": "orderStatus",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "integer",
  6831. "description": "委托单号",
  6832. "name": "orderID",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6838. "name": "startDate",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "string",
  6843. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6844. "name": "endDate",
  6845. "in": "query"
  6846. }
  6847. ],
  6848. "responses": {
  6849. "200": {
  6850. "description": "OK",
  6851. "schema": {
  6852. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6853. }
  6854. },
  6855. "500": {
  6856. "description": "Internal Server Error",
  6857. "schema": {
  6858. "$ref": "#/definitions/app.Response"
  6859. }
  6860. }
  6861. }
  6862. }
  6863. },
  6864. "/Order/QueryTradeDetail": {
  6865. "get": {
  6866. "security": [
  6867. {
  6868. "ApiKeyAuth": []
  6869. }
  6870. ],
  6871. "produces": [
  6872. "application/json"
  6873. ],
  6874. "tags": [
  6875. "通用单据"
  6876. ],
  6877. "summary": "成交单查询(合约市场)",
  6878. "parameters": [
  6879. {
  6880. "type": "string",
  6881. "description": "资金账户 - 格式:1,2,3",
  6882. "name": "accountID",
  6883. "in": "query",
  6884. "required": true
  6885. },
  6886. {
  6887. "type": "integer",
  6888. "description": "成交单号",
  6889. "name": "tradeID",
  6890. "in": "query"
  6891. },
  6892. {
  6893. "type": "integer",
  6894. "description": "委托单号",
  6895. "name": "orderID",
  6896. "in": "query"
  6897. },
  6898. {
  6899. "type": "string",
  6900. "description": "交易模式 - 格式:1,2,3",
  6901. "name": "tradeMode",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单据类型",
  6907. "name": "buildType",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "成交类别 - 格式:1,2,3",
  6913. "name": "tradeType",
  6914. "in": "query"
  6915. },
  6916. {
  6917. "type": "integer",
  6918. "description": "商品ID",
  6919. "name": "goodsID",
  6920. "in": "query"
  6921. }
  6922. ],
  6923. "responses": {
  6924. "200": {
  6925. "description": "OK",
  6926. "schema": {
  6927. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6928. }
  6929. },
  6930. "500": {
  6931. "description": "Internal Server Error",
  6932. "schema": {
  6933. "$ref": "#/definitions/app.Response"
  6934. }
  6935. }
  6936. }
  6937. }
  6938. },
  6939. "/Order/QueryTradeOrderDetail": {
  6940. "get": {
  6941. "security": [
  6942. {
  6943. "ApiKeyAuth": []
  6944. }
  6945. ],
  6946. "produces": [
  6947. "application/json"
  6948. ],
  6949. "tags": [
  6950. "通用单据"
  6951. ],
  6952. "summary": "委托单查询请求(合约市场)",
  6953. "parameters": [
  6954. {
  6955. "type": "string",
  6956. "description": "资金账户 - 格式:1,2,3",
  6957. "name": "accountID",
  6958. "in": "query",
  6959. "required": true
  6960. },
  6961. {
  6962. "type": "string",
  6963. "description": "交易模式 - 格式:1,2,3",
  6964. "name": "tradeMode",
  6965. "in": "query"
  6966. },
  6967. {
  6968. "type": "string",
  6969. "description": "委托状态 - 格式:1,2,3",
  6970. "name": "orderStatus",
  6971. "in": "query"
  6972. },
  6973. {
  6974. "type": "integer",
  6975. "description": "委托单号",
  6976. "name": "orderID",
  6977. "in": "query"
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Order/QueryTradePosition": {
  6997. "get": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "通用单据"
  7008. ],
  7009. "summary": "持仓汇总查询(合约市场)",
  7010. "parameters": [
  7011. {
  7012. "type": "string",
  7013. "description": "资金账户 - 格式:1,2,3",
  7014. "name": "accountID",
  7015. "in": "query",
  7016. "required": true
  7017. },
  7018. {
  7019. "type": "string",
  7020. "description": "交易模式 - 格式:1,2,3",
  7021. "name": "tradeMode",
  7022. "in": "query"
  7023. }
  7024. ],
  7025. "responses": {
  7026. "200": {
  7027. "description": "OK",
  7028. "schema": {
  7029. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7030. }
  7031. },
  7032. "500": {
  7033. "description": "Internal Server Error",
  7034. "schema": {
  7035. "$ref": "#/definitions/app.Response"
  7036. }
  7037. }
  7038. }
  7039. }
  7040. },
  7041. "/Qhj/QueryAccountInOutApply": {
  7042. "get": {
  7043. "security": [
  7044. {
  7045. "ApiKeyAuth": []
  7046. }
  7047. ],
  7048. "produces": [
  7049. "application/json"
  7050. ],
  7051. "tags": [
  7052. "大连千海金"
  7053. ],
  7054. "summary": "查询充值提现",
  7055. "parameters": [
  7056. {
  7057. "type": "integer",
  7058. "description": "用户ID",
  7059. "name": "userid",
  7060. "in": "query",
  7061. "required": true
  7062. },
  7063. {
  7064. "type": "string",
  7065. "description": "申请起始日期(格式yyyymmdd)",
  7066. "name": "begindate",
  7067. "in": "query"
  7068. },
  7069. {
  7070. "type": "string",
  7071. "description": "申请截止日期(格式yyyymmdd)",
  7072. "name": "enddate",
  7073. "in": "query"
  7074. },
  7075. {
  7076. "type": "string",
  7077. "description": "模糊搜索名称",
  7078. "name": "likename",
  7079. "in": "query"
  7080. }
  7081. ],
  7082. "responses": {
  7083. "200": {
  7084. "description": "OK",
  7085. "schema": {
  7086. "type": "array",
  7087. "items": {
  7088. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7089. }
  7090. }
  7091. },
  7092. "500": {
  7093. "description": "Internal Server Error",
  7094. "schema": {
  7095. "$ref": "#/definitions/app.Response"
  7096. }
  7097. }
  7098. }
  7099. }
  7100. },
  7101. "/Qhj/QueryBankAccountSign": {
  7102. "get": {
  7103. "security": [
  7104. {
  7105. "ApiKeyAuth": []
  7106. }
  7107. ],
  7108. "produces": [
  7109. "application/json"
  7110. ],
  7111. "tags": [
  7112. "大连千海金"
  7113. ],
  7114. "summary": "查询签约银行信息(提现账户管理)",
  7115. "parameters": [
  7116. {
  7117. "type": "integer",
  7118. "description": "用户ID",
  7119. "name": "userid",
  7120. "in": "query",
  7121. "required": true
  7122. }
  7123. ],
  7124. "responses": {
  7125. "200": {
  7126. "description": "OK",
  7127. "schema": {
  7128. "type": "array",
  7129. "items": {
  7130. "$ref": "#/definitions/models.QhjBankAccountSign"
  7131. }
  7132. }
  7133. },
  7134. "500": {
  7135. "description": "Internal Server Error",
  7136. "schema": {
  7137. "$ref": "#/definitions/app.Response"
  7138. }
  7139. }
  7140. }
  7141. }
  7142. },
  7143. "/Qhj/QueryBankInfo": {
  7144. "get": {
  7145. "security": [
  7146. {
  7147. "ApiKeyAuth": []
  7148. }
  7149. ],
  7150. "produces": [
  7151. "application/json"
  7152. ],
  7153. "tags": [
  7154. "大连千海金"
  7155. ],
  7156. "summary": "查询开户行",
  7157. "responses": {
  7158. "200": {
  7159. "description": "OK",
  7160. "schema": {
  7161. "type": "array",
  7162. "items": {
  7163. "$ref": "#/definitions/models.QhjBankInfo"
  7164. }
  7165. }
  7166. },
  7167. "500": {
  7168. "description": "Internal Server Error",
  7169. "schema": {
  7170. "$ref": "#/definitions/app.Response"
  7171. }
  7172. }
  7173. }
  7174. }
  7175. },
  7176. "/Qhj/QueryContract": {
  7177. "get": {
  7178. "security": [
  7179. {
  7180. "ApiKeyAuth": []
  7181. }
  7182. ],
  7183. "produces": [
  7184. "application/json"
  7185. ],
  7186. "tags": [
  7187. "大连千海金"
  7188. ],
  7189. "summary": "查询融资明细(合同)",
  7190. "parameters": [
  7191. {
  7192. "type": "integer",
  7193. "description": "用户ID",
  7194. "name": "userid",
  7195. "in": "query"
  7196. },
  7197. {
  7198. "type": "integer",
  7199. "description": "scf合同id",
  7200. "name": "scfcontractid",
  7201. "in": "query"
  7202. }
  7203. ],
  7204. "responses": {
  7205. "200": {
  7206. "description": "OK",
  7207. "schema": {
  7208. "type": "array",
  7209. "items": {
  7210. "$ref": "#/definitions/models.QhjContract"
  7211. }
  7212. }
  7213. },
  7214. "500": {
  7215. "description": "Internal Server Error",
  7216. "schema": {
  7217. "$ref": "#/definitions/app.Response"
  7218. }
  7219. }
  7220. }
  7221. }
  7222. },
  7223. "/Qhj/QueryContractLog": {
  7224. "get": {
  7225. "security": [
  7226. {
  7227. "ApiKeyAuth": []
  7228. }
  7229. ],
  7230. "produces": [
  7231. "application/json"
  7232. ],
  7233. "tags": [
  7234. "大连千海金"
  7235. ],
  7236. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7237. "parameters": [
  7238. {
  7239. "type": "integer",
  7240. "description": "scf合同id",
  7241. "name": "scfcontractid",
  7242. "in": "query",
  7243. "required": true
  7244. },
  7245. {
  7246. "type": "string",
  7247. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7248. "name": "amounttype",
  7249. "in": "query"
  7250. }
  7251. ],
  7252. "responses": {
  7253. "200": {
  7254. "description": "OK",
  7255. "schema": {
  7256. "type": "array",
  7257. "items": {
  7258. "$ref": "#/definitions/models.QhjContractLog"
  7259. }
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/Qhj/QueryCusBankSignBank": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "produces": [
  7279. "application/json"
  7280. ],
  7281. "tags": [
  7282. "大连千海金"
  7283. ],
  7284. "summary": "查询托管银行",
  7285. "responses": {
  7286. "200": {
  7287. "description": "OK",
  7288. "schema": {
  7289. "type": "array",
  7290. "items": {
  7291. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7292. }
  7293. }
  7294. },
  7295. "500": {
  7296. "description": "Internal Server Error",
  7297. "schema": {
  7298. "$ref": "#/definitions/app.Response"
  7299. }
  7300. }
  7301. }
  7302. }
  7303. },
  7304. "/Qhj/QueryCustomerInfo": {
  7305. "get": {
  7306. "security": [
  7307. {
  7308. "ApiKeyAuth": []
  7309. }
  7310. ],
  7311. "produces": [
  7312. "application/json"
  7313. ],
  7314. "tags": [
  7315. "大连千海金"
  7316. ],
  7317. "summary": "查询客户资料",
  7318. "parameters": [
  7319. {
  7320. "type": "integer",
  7321. "description": "用户ID",
  7322. "name": "userid",
  7323. "in": "query",
  7324. "required": true
  7325. },
  7326. {
  7327. "type": "integer",
  7328. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7329. "name": "querytype",
  7330. "in": "query",
  7331. "required": true
  7332. },
  7333. {
  7334. "type": "integer",
  7335. "description": "客户类型 1-个人 2-企业",
  7336. "name": "userinfotype",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "string",
  7341. "description": "客户名称(模糊匹配)",
  7342. "name": "customername",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "昵称(模糊匹配)",
  7348. "name": "nickname",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "是否包含子级 1-包含",
  7354. "name": "includesub",
  7355. "in": "query"
  7356. }
  7357. ],
  7358. "responses": {
  7359. "200": {
  7360. "description": "OK",
  7361. "schema": {
  7362. "type": "array",
  7363. "items": {
  7364. "$ref": "#/definitions/models.QhjCustomer"
  7365. }
  7366. }
  7367. },
  7368. "500": {
  7369. "description": "Internal Server Error",
  7370. "schema": {
  7371. "$ref": "#/definitions/app.Response"
  7372. }
  7373. }
  7374. }
  7375. }
  7376. },
  7377. "/Qhj/QueryGoodsEx": {
  7378. "get": {
  7379. "security": [
  7380. {
  7381. "ApiKeyAuth": []
  7382. }
  7383. ],
  7384. "produces": [
  7385. "application/json"
  7386. ],
  7387. "tags": [
  7388. "大连千海金"
  7389. ],
  7390. "summary": "交易商品扩展表",
  7391. "parameters": [
  7392. {
  7393. "type": "integer",
  7394. "description": "商品id",
  7395. "name": "goodsid",
  7396. "in": "query"
  7397. }
  7398. ],
  7399. "responses": {
  7400. "200": {
  7401. "description": "OK",
  7402. "schema": {
  7403. "type": "array",
  7404. "items": {
  7405. "$ref": "#/definitions/models.Qhjgoodsex"
  7406. }
  7407. }
  7408. },
  7409. "500": {
  7410. "description": "Internal Server Error",
  7411. "schema": {
  7412. "$ref": "#/definitions/app.Response"
  7413. }
  7414. }
  7415. }
  7416. }
  7417. },
  7418. "/Qhj/QueryParentAreaList": {
  7419. "get": {
  7420. "security": [
  7421. {
  7422. "ApiKeyAuth": []
  7423. }
  7424. ],
  7425. "produces": [
  7426. "application/json"
  7427. ],
  7428. "tags": [
  7429. "大连千海金"
  7430. ],
  7431. "summary": "查询所属机构列表",
  7432. "parameters": [
  7433. {
  7434. "type": "integer",
  7435. "description": "用户ID",
  7436. "name": "userid",
  7437. "in": "query",
  7438. "required": true
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "type": "array",
  7446. "items": {
  7447. "$ref": "#/definitions/models.QhjParentAreaList"
  7448. }
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/Qhj/QueryPayOrder": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "produces": [
  7468. "application/json"
  7469. ],
  7470. "tags": [
  7471. "大连千海金"
  7472. ],
  7473. "summary": "查询待付款单据",
  7474. "parameters": [
  7475. {
  7476. "type": "integer",
  7477. "description": "资金账号id",
  7478. "name": "accountid",
  7479. "in": "query",
  7480. "required": true
  7481. },
  7482. {
  7483. "type": "integer",
  7484. "description": "成交单号",
  7485. "name": "tradeid",
  7486. "in": "query"
  7487. },
  7488. {
  7489. "type": "integer",
  7490. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7491. "name": "payflag",
  7492. "in": "query"
  7493. }
  7494. ],
  7495. "responses": {
  7496. "200": {
  7497. "description": "OK",
  7498. "schema": {
  7499. "type": "array",
  7500. "items": {
  7501. "$ref": "#/definitions/models.QhjPayOrder"
  7502. }
  7503. }
  7504. },
  7505. "500": {
  7506. "description": "Internal Server Error",
  7507. "schema": {
  7508. "$ref": "#/definitions/app.Response"
  7509. }
  7510. }
  7511. }
  7512. }
  7513. },
  7514. "/Qhj/QueryPickArea": {
  7515. "get": {
  7516. "security": [
  7517. {
  7518. "ApiKeyAuth": []
  7519. }
  7520. ],
  7521. "produces": [
  7522. "application/json"
  7523. ],
  7524. "tags": [
  7525. "大连千海金"
  7526. ],
  7527. "summary": "查询提货门店",
  7528. "parameters": [
  7529. {
  7530. "type": "integer",
  7531. "description": "用户ID",
  7532. "name": "userid",
  7533. "in": "query"
  7534. }
  7535. ],
  7536. "responses": {
  7537. "200": {
  7538. "description": "OK",
  7539. "schema": {
  7540. "type": "array",
  7541. "items": {
  7542. "$ref": "#/definitions/models.QhjPickArea"
  7543. }
  7544. }
  7545. },
  7546. "500": {
  7547. "description": "Internal Server Error",
  7548. "schema": {
  7549. "$ref": "#/definitions/app.Response"
  7550. }
  7551. }
  7552. }
  7553. }
  7554. },
  7555. "/Qhj/QueryPickGoods": {
  7556. "get": {
  7557. "security": [
  7558. {
  7559. "ApiKeyAuth": []
  7560. }
  7561. ],
  7562. "produces": [
  7563. "application/json"
  7564. ],
  7565. "tags": [
  7566. "大连千海金"
  7567. ],
  7568. "summary": "查询提货商品",
  7569. "parameters": [
  7570. {
  7571. "type": "integer",
  7572. "description": "交易商品id",
  7573. "name": "goodsid",
  7574. "in": "query",
  7575. "required": true
  7576. },
  7577. {
  7578. "type": "string",
  7579. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7580. "name": "status",
  7581. "in": "query"
  7582. }
  7583. ],
  7584. "responses": {
  7585. "200": {
  7586. "description": "OK",
  7587. "schema": {
  7588. "type": "array",
  7589. "items": {
  7590. "$ref": "#/definitions/models.QhjPickGoods"
  7591. }
  7592. }
  7593. },
  7594. "500": {
  7595. "description": "Internal Server Error",
  7596. "schema": {
  7597. "$ref": "#/definitions/app.Response"
  7598. }
  7599. }
  7600. }
  7601. }
  7602. },
  7603. "/Qhj/QueryRSTriggerLog": {
  7604. "get": {
  7605. "security": [
  7606. {
  7607. "ApiKeyAuth": []
  7608. }
  7609. ],
  7610. "produces": [
  7611. "application/json"
  7612. ],
  7613. "tags": [
  7614. "大连千海金"
  7615. ],
  7616. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7617. "parameters": [
  7618. {
  7619. "type": "integer",
  7620. "description": "用户ID",
  7621. "name": "userid",
  7622. "in": "query"
  7623. },
  7624. {
  7625. "type": "integer",
  7626. "description": "定投策略id",
  7627. "name": "regularlystrategyid",
  7628. "in": "query"
  7629. },
  7630. {
  7631. "type": "integer",
  7632. "description": "商品id",
  7633. "name": "goodsid",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "string",
  7638. "description": "开始交易日(yyyymmdd)",
  7639. "name": "begindate",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "结束交易日(yyyymmdd)",
  7645. "name": "enddate",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "string",
  7650. "description": "名称(模糊搜索账户)",
  7651. "name": "filtername",
  7652. "in": "query"
  7653. }
  7654. ],
  7655. "responses": {
  7656. "200": {
  7657. "description": "OK",
  7658. "schema": {
  7659. "type": "array",
  7660. "items": {
  7661. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7662. }
  7663. }
  7664. },
  7665. "500": {
  7666. "description": "Internal Server Error",
  7667. "schema": {
  7668. "$ref": "#/definitions/app.Response"
  7669. }
  7670. }
  7671. }
  7672. }
  7673. },
  7674. "/Qhj/QueryRStrategy": {
  7675. "get": {
  7676. "security": [
  7677. {
  7678. "ApiKeyAuth": []
  7679. }
  7680. ],
  7681. "produces": [
  7682. "application/json"
  7683. ],
  7684. "tags": [
  7685. "大连千海金"
  7686. ],
  7687. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7688. "parameters": [
  7689. {
  7690. "type": "integer",
  7691. "description": "用户ID",
  7692. "name": "userid",
  7693. "in": "query"
  7694. },
  7695. {
  7696. "type": "integer",
  7697. "description": "商品id",
  7698. "name": "goodsid",
  7699. "in": "query"
  7700. },
  7701. {
  7702. "type": "string",
  7703. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7704. "name": "status",
  7705. "in": "query"
  7706. },
  7707. {
  7708. "type": "string",
  7709. "description": "名称(模糊搜索账户)",
  7710. "name": "filtername",
  7711. "in": "query"
  7712. }
  7713. ],
  7714. "responses": {
  7715. "200": {
  7716. "description": "OK",
  7717. "schema": {
  7718. "type": "array",
  7719. "items": {
  7720. "$ref": "#/definitions/models.QhjRStrategy"
  7721. }
  7722. }
  7723. },
  7724. "500": {
  7725. "description": "Internal Server Error",
  7726. "schema": {
  7727. "$ref": "#/definitions/app.Response"
  7728. }
  7729. }
  7730. }
  7731. }
  7732. },
  7733. "/Qhj/QueryReckonPriceLog": {
  7734. "get": {
  7735. "security": [
  7736. {
  7737. "ApiKeyAuth": []
  7738. }
  7739. ],
  7740. "produces": [
  7741. "application/json"
  7742. ],
  7743. "tags": [
  7744. "大连千海金"
  7745. ],
  7746. "summary": "查询定投价(结算价)",
  7747. "parameters": [
  7748. {
  7749. "type": "integer",
  7750. "description": "商品ID",
  7751. "name": "goodsid",
  7752. "in": "query"
  7753. },
  7754. {
  7755. "type": "string",
  7756. "description": "交易日 格式(yyyymmdd)",
  7757. "name": "tradedate",
  7758. "in": "query"
  7759. }
  7760. ],
  7761. "responses": {
  7762. "200": {
  7763. "description": "OK",
  7764. "schema": {
  7765. "type": "array",
  7766. "items": {
  7767. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7768. }
  7769. }
  7770. },
  7771. "500": {
  7772. "description": "Internal Server Error",
  7773. "schema": {
  7774. "$ref": "#/definitions/app.Response"
  7775. }
  7776. }
  7777. }
  7778. }
  7779. },
  7780. "/Qhj/QuerySiteColumnDetail": {
  7781. "get": {
  7782. "security": [
  7783. {
  7784. "ApiKeyAuth": []
  7785. }
  7786. ],
  7787. "produces": [
  7788. "application/json"
  7789. ],
  7790. "tags": [
  7791. "大连千海金"
  7792. ],
  7793. "summary": "查询资讯",
  7794. "parameters": [
  7795. {
  7796. "type": "integer",
  7797. "description": "用户ID",
  7798. "name": "userid",
  7799. "in": "query",
  7800. "required": true
  7801. }
  7802. ],
  7803. "responses": {
  7804. "200": {
  7805. "description": "OK",
  7806. "schema": {
  7807. "type": "array",
  7808. "items": {
  7809. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7810. }
  7811. }
  7812. },
  7813. "500": {
  7814. "description": "Internal Server Error",
  7815. "schema": {
  7816. "$ref": "#/definitions/app.Response"
  7817. }
  7818. }
  7819. }
  7820. }
  7821. },
  7822. "/Qhj/QueryTradeGoodsPickup": {
  7823. "get": {
  7824. "security": [
  7825. {
  7826. "ApiKeyAuth": []
  7827. }
  7828. ],
  7829. "produces": [
  7830. "application/json"
  7831. ],
  7832. "tags": [
  7833. "大连千海金"
  7834. ],
  7835. "summary": "查询提货",
  7836. "parameters": [
  7837. {
  7838. "type": "integer",
  7839. "description": "用户ID",
  7840. "name": "userid",
  7841. "in": "query",
  7842. "required": true
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7847. "name": "takeorderstatus",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "type": "array",
  7856. "items": {
  7857. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7858. }
  7859. }
  7860. },
  7861. "500": {
  7862. "description": "Internal Server Error",
  7863. "schema": {
  7864. "$ref": "#/definitions/app.Response"
  7865. }
  7866. }
  7867. }
  7868. }
  7869. },
  7870. "/Qhj/QueryUserCollectConfig": {
  7871. "get": {
  7872. "security": [
  7873. {
  7874. "ApiKeyAuth": []
  7875. }
  7876. ],
  7877. "produces": [
  7878. "application/json"
  7879. ],
  7880. "tags": [
  7881. "大连千海金"
  7882. ],
  7883. "summary": "查询提现账户设置",
  7884. "parameters": [
  7885. {
  7886. "type": "integer",
  7887. "description": "用户ID",
  7888. "name": "userid",
  7889. "in": "query",
  7890. "required": true
  7891. }
  7892. ],
  7893. "responses": {
  7894. "200": {
  7895. "description": "OK",
  7896. "schema": {
  7897. "type": "array",
  7898. "items": {
  7899. "$ref": "#/definitions/models.UserCollectConfig"
  7900. }
  7901. }
  7902. },
  7903. "500": {
  7904. "description": "Internal Server Error",
  7905. "schema": {
  7906. "$ref": "#/definitions/app.Response"
  7907. }
  7908. }
  7909. }
  7910. }
  7911. },
  7912. "/Qhj/QueryUserReceiveInfo": {
  7913. "get": {
  7914. "security": [
  7915. {
  7916. "ApiKeyAuth": []
  7917. }
  7918. ],
  7919. "produces": [
  7920. "application/json"
  7921. ],
  7922. "tags": [
  7923. "大连千海金"
  7924. ],
  7925. "summary": "查询收货地址信息",
  7926. "parameters": [
  7927. {
  7928. "type": "integer",
  7929. "description": "用户ID",
  7930. "name": "userid",
  7931. "in": "query",
  7932. "required": true
  7933. }
  7934. ],
  7935. "responses": {
  7936. "200": {
  7937. "description": "OK",
  7938. "schema": {
  7939. "type": "array",
  7940. "items": {
  7941. "$ref": "#/definitions/models.UserReceiveInfo"
  7942. }
  7943. }
  7944. },
  7945. "500": {
  7946. "description": "Internal Server Error",
  7947. "schema": {
  7948. "$ref": "#/definitions/app.Response"
  7949. }
  7950. }
  7951. }
  7952. }
  7953. },
  7954. "/QhjMgr/QueryAccountInOutApply": {
  7955. "get": {
  7956. "security": [
  7957. {
  7958. "ApiKeyAuth": []
  7959. }
  7960. ],
  7961. "produces": [
  7962. "application/json"
  7963. ],
  7964. "tags": [
  7965. "大连千海金(PCWeb)"
  7966. ],
  7967. "summary": "查询充值提现",
  7968. "parameters": [
  7969. {
  7970. "type": "integer",
  7971. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7972. "name": "querytype",
  7973. "in": "query",
  7974. "required": true
  7975. },
  7976. {
  7977. "type": "integer",
  7978. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7979. "name": "applystatus",
  7980. "in": "query"
  7981. },
  7982. {
  7983. "type": "string",
  7984. "description": "申请起始日期(格式yyyymmdd)",
  7985. "name": "begindate",
  7986. "in": "query"
  7987. },
  7988. {
  7989. "type": "string",
  7990. "description": "申请截止日期(格式yyyymmdd)",
  7991. "name": "enddate",
  7992. "in": "query"
  7993. },
  7994. {
  7995. "type": "string",
  7996. "description": "模糊搜索名称",
  7997. "name": "likename",
  7998. "in": "query"
  7999. }
  8000. ],
  8001. "responses": {
  8002. "200": {
  8003. "description": "OK",
  8004. "schema": {
  8005. "type": "array",
  8006. "items": {
  8007. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8008. }
  8009. }
  8010. },
  8011. "500": {
  8012. "description": "Internal Server Error",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. }
  8017. }
  8018. }
  8019. },
  8020. "/QhjMgr/QueryContract": {
  8021. "get": {
  8022. "security": [
  8023. {
  8024. "ApiKeyAuth": []
  8025. }
  8026. ],
  8027. "produces": [
  8028. "application/json"
  8029. ],
  8030. "tags": [
  8031. "大连千海金(PCWeb)"
  8032. ],
  8033. "summary": "查询融资信息(合同)",
  8034. "parameters": [
  8035. {
  8036. "type": "integer",
  8037. "description": "用户ID",
  8038. "name": "userid",
  8039. "in": "query"
  8040. },
  8041. {
  8042. "type": "integer",
  8043. "description": "商品id",
  8044. "name": "goodsid",
  8045. "in": "query"
  8046. },
  8047. {
  8048. "type": "string",
  8049. "description": "名称(模糊搜索账户)",
  8050. "name": "filtername",
  8051. "in": "query"
  8052. },
  8053. {
  8054. "type": "string",
  8055. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8056. "name": "risklevel",
  8057. "in": "query"
  8058. },
  8059. {
  8060. "type": "string",
  8061. "description": "开始交易日(yyyymmdd)",
  8062. "name": "begindate",
  8063. "in": "query"
  8064. },
  8065. {
  8066. "type": "string",
  8067. "description": "结束交易日(yyyymmdd)",
  8068. "name": "enddate",
  8069. "in": "query"
  8070. }
  8071. ],
  8072. "responses": {
  8073. "200": {
  8074. "description": "OK",
  8075. "schema": {
  8076. "type": "array",
  8077. "items": {
  8078. "$ref": "#/definitions/models.QhjMgrContract"
  8079. }
  8080. }
  8081. },
  8082. "500": {
  8083. "description": "Internal Server Error",
  8084. "schema": {
  8085. "$ref": "#/definitions/app.Response"
  8086. }
  8087. }
  8088. }
  8089. }
  8090. },
  8091. "/QhjMgr/QueryCustomerInfo": {
  8092. "get": {
  8093. "security": [
  8094. {
  8095. "ApiKeyAuth": []
  8096. }
  8097. ],
  8098. "produces": [
  8099. "application/json"
  8100. ],
  8101. "tags": [
  8102. "大连千海金(PCWeb)"
  8103. ],
  8104. "summary": "查询客户资料",
  8105. "parameters": [
  8106. {
  8107. "type": "integer",
  8108. "description": "用户ID",
  8109. "name": "userid",
  8110. "in": "query",
  8111. "required": true
  8112. },
  8113. {
  8114. "type": "integer",
  8115. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8116. "name": "querytype",
  8117. "in": "query",
  8118. "required": true
  8119. },
  8120. {
  8121. "type": "integer",
  8122. "description": "客户类型 1-个人 2-企业",
  8123. "name": "userinfotype",
  8124. "in": "query"
  8125. },
  8126. {
  8127. "type": "string",
  8128. "description": "客户名称(模糊匹配)",
  8129. "name": "customername",
  8130. "in": "query"
  8131. },
  8132. {
  8133. "type": "string",
  8134. "description": "昵称(模糊匹配)",
  8135. "name": "nickname",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "integer",
  8140. "description": "是否包含子级 1-包含",
  8141. "name": "includesub",
  8142. "in": "query"
  8143. }
  8144. ],
  8145. "responses": {
  8146. "200": {
  8147. "description": "OK",
  8148. "schema": {
  8149. "type": "array",
  8150. "items": {
  8151. "$ref": "#/definitions/models.QhjCustomer"
  8152. }
  8153. }
  8154. },
  8155. "500": {
  8156. "description": "Internal Server Error",
  8157. "schema": {
  8158. "$ref": "#/definitions/app.Response"
  8159. }
  8160. }
  8161. }
  8162. }
  8163. },
  8164. "/QhjMgr/QueryPickGoods": {
  8165. "get": {
  8166. "security": [
  8167. {
  8168. "ApiKeyAuth": []
  8169. }
  8170. ],
  8171. "produces": [
  8172. "application/json"
  8173. ],
  8174. "tags": [
  8175. "大连千海金(PCWeb)"
  8176. ],
  8177. "summary": "查询提货商品",
  8178. "parameters": [
  8179. {
  8180. "type": "string",
  8181. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8182. "name": "status",
  8183. "in": "query"
  8184. }
  8185. ],
  8186. "responses": {
  8187. "200": {
  8188. "description": "OK",
  8189. "schema": {
  8190. "type": "array",
  8191. "items": {
  8192. "$ref": "#/definitions/models.QhjPickGoods"
  8193. }
  8194. }
  8195. },
  8196. "500": {
  8197. "description": "Internal Server Error",
  8198. "schema": {
  8199. "$ref": "#/definitions/app.Response"
  8200. }
  8201. }
  8202. }
  8203. }
  8204. },
  8205. "/QhjMgr/QuerySubArea": {
  8206. "get": {
  8207. "security": [
  8208. {
  8209. "ApiKeyAuth": []
  8210. }
  8211. ],
  8212. "produces": [
  8213. "application/json"
  8214. ],
  8215. "tags": [
  8216. "大连千海金(PCWeb)"
  8217. ],
  8218. "summary": "查询子机构列表",
  8219. "parameters": [
  8220. {
  8221. "type": "integer",
  8222. "description": "用户ID",
  8223. "name": "userid",
  8224. "in": "query",
  8225. "required": true
  8226. }
  8227. ],
  8228. "responses": {
  8229. "200": {
  8230. "description": "OK",
  8231. "schema": {
  8232. "type": "array",
  8233. "items": {
  8234. "$ref": "#/definitions/models.QhjMgrSubArea"
  8235. }
  8236. }
  8237. },
  8238. "500": {
  8239. "description": "Internal Server Error",
  8240. "schema": {
  8241. "$ref": "#/definitions/app.Response"
  8242. }
  8243. }
  8244. }
  8245. }
  8246. },
  8247. "/QhjMgr/QueryTradeDetail": {
  8248. "get": {
  8249. "security": [
  8250. {
  8251. "ApiKeyAuth": []
  8252. }
  8253. ],
  8254. "produces": [
  8255. "application/json"
  8256. ],
  8257. "tags": [
  8258. "大连千海金(PCWeb)"
  8259. ],
  8260. "summary": "查询成交明细",
  8261. "parameters": [
  8262. {
  8263. "type": "integer",
  8264. "description": "用户ID",
  8265. "name": "userid",
  8266. "in": "query",
  8267. "required": true
  8268. },
  8269. {
  8270. "type": "integer",
  8271. "description": "用户类型 1-个人 2-企业",
  8272. "name": "userinfotype",
  8273. "in": "query"
  8274. },
  8275. {
  8276. "type": "integer",
  8277. "description": "交易模式",
  8278. "name": "trademode",
  8279. "in": "query"
  8280. },
  8281. {
  8282. "type": "integer",
  8283. "description": "商品id",
  8284. "name": "goodsid",
  8285. "in": "query"
  8286. },
  8287. {
  8288. "type": "string",
  8289. "description": "名称(模糊搜索账户)",
  8290. "name": "filtername",
  8291. "in": "query"
  8292. },
  8293. {
  8294. "type": "string",
  8295. "description": "开始交易日(yyyymmdd)",
  8296. "name": "begindate",
  8297. "in": "query"
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "结束交易日(yyyymmdd)",
  8302. "name": "enddate",
  8303. "in": "query"
  8304. },
  8305. {
  8306. "type": "integer",
  8307. "description": "是否包含子级 1-包含",
  8308. "name": "includesub",
  8309. "in": "query"
  8310. }
  8311. ],
  8312. "responses": {
  8313. "200": {
  8314. "description": "OK",
  8315. "schema": {
  8316. "type": "array",
  8317. "items": {
  8318. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8319. }
  8320. }
  8321. },
  8322. "500": {
  8323. "description": "Internal Server Error",
  8324. "schema": {
  8325. "$ref": "#/definitions/app.Response"
  8326. }
  8327. }
  8328. }
  8329. }
  8330. },
  8331. "/QhjMgr/QueryTradeOrderDetail": {
  8332. "get": {
  8333. "security": [
  8334. {
  8335. "ApiKeyAuth": []
  8336. }
  8337. ],
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "大连千海金(PCWeb)"
  8343. ],
  8344. "summary": "查询委托明细",
  8345. "parameters": [
  8346. {
  8347. "type": "integer",
  8348. "description": "用户ID",
  8349. "name": "userid",
  8350. "in": "query",
  8351. "required": true
  8352. },
  8353. {
  8354. "type": "integer",
  8355. "description": "用户类型 1-个人 2-企业",
  8356. "name": "userinfotype",
  8357. "in": "query"
  8358. },
  8359. {
  8360. "type": "integer",
  8361. "description": "交易模式",
  8362. "name": "trademode",
  8363. "in": "query"
  8364. },
  8365. {
  8366. "type": "integer",
  8367. "description": "商品id",
  8368. "name": "goodsid",
  8369. "in": "query"
  8370. },
  8371. {
  8372. "type": "string",
  8373. "description": "名称(模糊搜索账户)",
  8374. "name": "filtername",
  8375. "in": "query"
  8376. },
  8377. {
  8378. "type": "string",
  8379. "description": "开始交易日(yyyymmdd)",
  8380. "name": "begindate",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "string",
  8385. "description": "结束交易日(yyyymmdd)",
  8386. "name": "enddate",
  8387. "in": "query"
  8388. },
  8389. {
  8390. "type": "integer",
  8391. "description": "是否包含子级 1-包含",
  8392. "name": "includesub",
  8393. "in": "query"
  8394. }
  8395. ],
  8396. "responses": {
  8397. "200": {
  8398. "description": "OK",
  8399. "schema": {
  8400. "type": "array",
  8401. "items": {
  8402. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8403. }
  8404. }
  8405. },
  8406. "500": {
  8407. "description": "Internal Server Error",
  8408. "schema": {
  8409. "$ref": "#/definitions/app.Response"
  8410. }
  8411. }
  8412. }
  8413. }
  8414. },
  8415. "/QhjMgr/QueryTradePayOrder": {
  8416. "get": {
  8417. "security": [
  8418. {
  8419. "ApiKeyAuth": []
  8420. }
  8421. ],
  8422. "produces": [
  8423. "application/json"
  8424. ],
  8425. "tags": [
  8426. "大连千海金(PCWeb)"
  8427. ],
  8428. "summary": "查询待付款单",
  8429. "parameters": [
  8430. {
  8431. "type": "integer",
  8432. "description": "用户ID",
  8433. "name": "userid",
  8434. "in": "query",
  8435. "required": true
  8436. },
  8437. {
  8438. "type": "string",
  8439. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8440. "name": "payflag",
  8441. "in": "query"
  8442. },
  8443. {
  8444. "type": "integer",
  8445. "description": "用户类型 1-个人 2-企业",
  8446. "name": "userinfotype",
  8447. "in": "query"
  8448. },
  8449. {
  8450. "type": "integer",
  8451. "description": "交易模式",
  8452. "name": "trademode",
  8453. "in": "query"
  8454. },
  8455. {
  8456. "type": "integer",
  8457. "description": "商品id",
  8458. "name": "goodsid",
  8459. "in": "query"
  8460. },
  8461. {
  8462. "type": "string",
  8463. "description": "名称(模糊搜索账户)",
  8464. "name": "filtername",
  8465. "in": "query"
  8466. },
  8467. {
  8468. "type": "string",
  8469. "description": "开始交易日(yyyymmdd)",
  8470. "name": "begindate",
  8471. "in": "query"
  8472. },
  8473. {
  8474. "type": "string",
  8475. "description": "结束交易日(yyyymmdd)",
  8476. "name": "enddate",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "integer",
  8481. "description": "是否包含子级 1-包含",
  8482. "name": "includesub",
  8483. "in": "query"
  8484. }
  8485. ],
  8486. "responses": {
  8487. "200": {
  8488. "description": "OK",
  8489. "schema": {
  8490. "type": "array",
  8491. "items": {
  8492. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8493. }
  8494. }
  8495. },
  8496. "500": {
  8497. "description": "Internal Server Error",
  8498. "schema": {
  8499. "$ref": "#/definitions/app.Response"
  8500. }
  8501. }
  8502. }
  8503. }
  8504. },
  8505. "/QhjMgr/QueryTradePosition": {
  8506. "get": {
  8507. "security": [
  8508. {
  8509. "ApiKeyAuth": []
  8510. }
  8511. ],
  8512. "produces": [
  8513. "application/json"
  8514. ],
  8515. "tags": [
  8516. "大连千海金(PCWeb)"
  8517. ],
  8518. "summary": "查询持仓汇总",
  8519. "parameters": [
  8520. {
  8521. "type": "integer",
  8522. "description": "用户ID",
  8523. "name": "userid",
  8524. "in": "query",
  8525. "required": true
  8526. },
  8527. {
  8528. "type": "integer",
  8529. "description": "用户类型 1-个人 2-企业",
  8530. "name": "userinfotype",
  8531. "in": "query"
  8532. },
  8533. {
  8534. "type": "integer",
  8535. "description": "交易模式",
  8536. "name": "trademode",
  8537. "in": "query"
  8538. },
  8539. {
  8540. "type": "integer",
  8541. "description": "商品id",
  8542. "name": "goodsid",
  8543. "in": "query"
  8544. },
  8545. {
  8546. "type": "string",
  8547. "description": "名称(模糊搜索账户)",
  8548. "name": "filtername",
  8549. "in": "query"
  8550. },
  8551. {
  8552. "type": "integer",
  8553. "description": "是否包含子级 1-包含",
  8554. "name": "includesub",
  8555. "in": "query"
  8556. }
  8557. ],
  8558. "responses": {
  8559. "200": {
  8560. "description": "OK",
  8561. "schema": {
  8562. "type": "array",
  8563. "items": {
  8564. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8565. }
  8566. }
  8567. },
  8568. "500": {
  8569. "description": "Internal Server Error",
  8570. "schema": {
  8571. "$ref": "#/definitions/app.Response"
  8572. }
  8573. }
  8574. }
  8575. }
  8576. },
  8577. "/QhjSys/QueryAgreementChangeLog": {
  8578. "get": {
  8579. "security": [
  8580. {
  8581. "ApiKeyAuth": []
  8582. }
  8583. ],
  8584. "produces": [
  8585. "application/json"
  8586. ],
  8587. "tags": [
  8588. "大连千海金(协议和签约信息)"
  8589. ],
  8590. "summary": "查询协议配置变更流水",
  8591. "parameters": [
  8592. {
  8593. "type": "integer",
  8594. "description": "协议ID",
  8595. "name": "agreementid",
  8596. "in": "query"
  8597. },
  8598. {
  8599. "type": "integer",
  8600. "description": "协议版本号",
  8601. "name": "agreementversion",
  8602. "in": "query"
  8603. },
  8604. {
  8605. "type": "integer",
  8606. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8607. "name": "agreementtype",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "string",
  8612. "description": "协议编号(模糊匹配)",
  8613. "name": "agreementno",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "string",
  8618. "description": "协议名称(模糊匹配)",
  8619. "name": "agreementname",
  8620. "in": "query"
  8621. }
  8622. ],
  8623. "responses": {
  8624. "200": {
  8625. "description": "OK",
  8626. "schema": {
  8627. "type": "array",
  8628. "items": {
  8629. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  8630. }
  8631. }
  8632. },
  8633. "500": {
  8634. "description": "Internal Server Error",
  8635. "schema": {
  8636. "$ref": "#/definitions/app.Response"
  8637. }
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "/QhjSys/QueryAgreementConfig": {
  8643. "get": {
  8644. "security": [
  8645. {
  8646. "ApiKeyAuth": []
  8647. }
  8648. ],
  8649. "produces": [
  8650. "application/json"
  8651. ],
  8652. "tags": [
  8653. "大连千海金(协议和签约信息)"
  8654. ],
  8655. "summary": "查询协议配置",
  8656. "parameters": [
  8657. {
  8658. "type": "integer",
  8659. "description": "协议ID",
  8660. "name": "agreementid",
  8661. "in": "query"
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "协议版本号",
  8666. "name": "agreementversion",
  8667. "in": "query"
  8668. },
  8669. {
  8670. "type": "integer",
  8671. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8672. "name": "agreementtype",
  8673. "in": "query"
  8674. },
  8675. {
  8676. "type": "integer",
  8677. "description": "是否有效 - 0:无效 1:有效",
  8678. "name": "isvalid",
  8679. "in": "query"
  8680. },
  8681. {
  8682. "type": "string",
  8683. "description": "协议编号(模糊匹配)",
  8684. "name": "agreementno",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "string",
  8689. "description": "协议名称(模糊匹配)",
  8690. "name": "agreementname",
  8691. "in": "query"
  8692. }
  8693. ],
  8694. "responses": {
  8695. "200": {
  8696. "description": "OK",
  8697. "schema": {
  8698. "type": "array",
  8699. "items": {
  8700. "$ref": "#/definitions/models.QhjAgreementConfig"
  8701. }
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/QhjSys/QueryCustomerSignStatus": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "大连千海金(协议和签约信息)"
  8725. ],
  8726. "summary": "查询客户协议签约状态",
  8727. "parameters": [
  8728. {
  8729. "type": "integer",
  8730. "description": "客户ID",
  8731. "name": "userid",
  8732. "in": "query"
  8733. },
  8734. {
  8735. "type": "integer",
  8736. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  8737. "name": "nodetype",
  8738. "in": "query"
  8739. },
  8740. {
  8741. "type": "integer",
  8742. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8743. "name": "goodsid",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "string",
  8748. "description": "创建交易日(yyyyMMdd)",
  8749. "name": "tradedate",
  8750. "in": "query"
  8751. },
  8752. {
  8753. "type": "string",
  8754. "description": "用户名称(模糊匹配)",
  8755. "name": "username",
  8756. "in": "query"
  8757. }
  8758. ],
  8759. "responses": {
  8760. "200": {
  8761. "description": "OK",
  8762. "schema": {
  8763. "type": "array",
  8764. "items": {
  8765. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  8766. }
  8767. }
  8768. },
  8769. "500": {
  8770. "description": "Internal Server Error",
  8771. "schema": {
  8772. "$ref": "#/definitions/app.Response"
  8773. }
  8774. }
  8775. }
  8776. }
  8777. },
  8778. "/QhjSys/QueryNodeAgreementConfig": {
  8779. "get": {
  8780. "security": [
  8781. {
  8782. "ApiKeyAuth": []
  8783. }
  8784. ],
  8785. "produces": [
  8786. "application/json"
  8787. ],
  8788. "tags": [
  8789. "大连千海金(协议和签约信息)"
  8790. ],
  8791. "summary": "查询协议节点配置",
  8792. "parameters": [
  8793. {
  8794. "type": "integer",
  8795. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  8796. "name": "configid",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "integer",
  8801. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8802. "name": "nodetype",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "integer",
  8807. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8808. "name": "goodsid",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "integer",
  8813. "description": "协议ID",
  8814. "name": "agreementid",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "integer",
  8819. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8820. "name": "agreementtype",
  8821. "in": "query"
  8822. },
  8823. {
  8824. "type": "integer",
  8825. "description": "协议版本号",
  8826. "name": "agreementversion",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "string",
  8831. "description": "协议编号(模糊匹配)",
  8832. "name": "agreementno",
  8833. "in": "query"
  8834. },
  8835. {
  8836. "type": "string",
  8837. "description": "协议名称(模糊匹配)",
  8838. "name": "agreementname",
  8839. "in": "query"
  8840. }
  8841. ],
  8842. "responses": {
  8843. "200": {
  8844. "description": "OK",
  8845. "schema": {
  8846. "type": "array",
  8847. "items": {
  8848. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  8849. }
  8850. }
  8851. },
  8852. "500": {
  8853. "description": "Internal Server Error",
  8854. "schema": {
  8855. "$ref": "#/definitions/app.Response"
  8856. }
  8857. }
  8858. }
  8859. }
  8860. },
  8861. "/QhjSys/QueryQhjCustomerSignLog": {
  8862. "get": {
  8863. "security": [
  8864. {
  8865. "ApiKeyAuth": []
  8866. }
  8867. ],
  8868. "produces": [
  8869. "application/json"
  8870. ],
  8871. "tags": [
  8872. "大连千海金(协议和签约信息)"
  8873. ],
  8874. "summary": "查询客户协议签约流水",
  8875. "parameters": [
  8876. {
  8877. "type": "integer",
  8878. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  8879. "name": "logid",
  8880. "in": "query"
  8881. },
  8882. {
  8883. "type": "integer",
  8884. "description": "客户ID",
  8885. "name": "userid",
  8886. "in": "query"
  8887. },
  8888. {
  8889. "type": "integer",
  8890. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8891. "name": "nodetype",
  8892. "in": "query"
  8893. },
  8894. {
  8895. "type": "integer",
  8896. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8897. "name": "goodsid",
  8898. "in": "query"
  8899. },
  8900. {
  8901. "type": "integer",
  8902. "description": "协议ID",
  8903. "name": "agreementid",
  8904. "in": "query"
  8905. },
  8906. {
  8907. "type": "string",
  8908. "description": "用户名称(模糊匹配)",
  8909. "name": "username",
  8910. "in": "query"
  8911. },
  8912. {
  8913. "type": "string",
  8914. "description": "协议编号(模糊匹配)",
  8915. "name": "agreementno",
  8916. "in": "query"
  8917. },
  8918. {
  8919. "type": "string",
  8920. "description": "协议名称(模糊匹配)",
  8921. "name": "agreementname",
  8922. "in": "query"
  8923. }
  8924. ],
  8925. "responses": {
  8926. "200": {
  8927. "description": "OK",
  8928. "schema": {
  8929. "type": "array",
  8930. "items": {
  8931. "$ref": "#/definitions/models.QhjCustomerSignLog"
  8932. }
  8933. }
  8934. },
  8935. "500": {
  8936. "description": "Internal Server Error",
  8937. "schema": {
  8938. "$ref": "#/definitions/app.Response"
  8939. }
  8940. }
  8941. }
  8942. }
  8943. },
  8944. "/QhjSys/QueryUserNodeCfgAndStatus": {
  8945. "get": {
  8946. "security": [
  8947. {
  8948. "ApiKeyAuth": []
  8949. }
  8950. ],
  8951. "produces": [
  8952. "application/json"
  8953. ],
  8954. "tags": [
  8955. "大连千海金(协议和签约信息)"
  8956. ],
  8957. "summary": "查询用户协议节点配置和状态",
  8958. "parameters": [
  8959. {
  8960. "type": "integer",
  8961. "description": "客户ID",
  8962. "name": "userid",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "integer",
  8967. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  8968. "name": "configid",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "integer",
  8973. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8974. "name": "nodetype",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8980. "name": "goodsid",
  8981. "in": "query"
  8982. },
  8983. {
  8984. "type": "integer",
  8985. "description": "协议ID",
  8986. "name": "agreementid",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "integer",
  8991. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8992. "name": "agreementtype",
  8993. "in": "query"
  8994. },
  8995. {
  8996. "type": "integer",
  8997. "description": "协议版本号",
  8998. "name": "agreementversion",
  8999. "in": "query"
  9000. },
  9001. {
  9002. "type": "string",
  9003. "description": "协议编号(模糊匹配)",
  9004. "name": "agreementno",
  9005. "in": "query"
  9006. },
  9007. {
  9008. "type": "string",
  9009. "description": "协议名称(模糊匹配)",
  9010. "name": "agreementname",
  9011. "in": "query"
  9012. }
  9013. ],
  9014. "responses": {
  9015. "200": {
  9016. "description": "OK",
  9017. "schema": {
  9018. "type": "array",
  9019. "items": {
  9020. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9021. }
  9022. }
  9023. },
  9024. "500": {
  9025. "description": "Internal Server Error",
  9026. "schema": {
  9027. "$ref": "#/definitions/app.Response"
  9028. }
  9029. }
  9030. }
  9031. }
  9032. },
  9033. "/Quote/QueryHistoryDatas": {
  9034. "get": {
  9035. "security": [
  9036. {
  9037. "ApiKeyAuth": []
  9038. }
  9039. ],
  9040. "produces": [
  9041. "application/json"
  9042. ],
  9043. "tags": [
  9044. "行情服务"
  9045. ],
  9046. "summary": "查询行情历史数据",
  9047. "parameters": [
  9048. {
  9049. "type": "integer",
  9050. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9051. "name": "cycleType",
  9052. "in": "query",
  9053. "required": true
  9054. },
  9055. {
  9056. "type": "string",
  9057. "description": "商品代码",
  9058. "name": "goodsCode",
  9059. "in": "query",
  9060. "required": true
  9061. },
  9062. {
  9063. "type": "string",
  9064. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9065. "name": "startTime",
  9066. "in": "query"
  9067. },
  9068. {
  9069. "type": "string",
  9070. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9071. "name": "endTime",
  9072. "in": "query"
  9073. },
  9074. {
  9075. "type": "integer",
  9076. "description": "条数",
  9077. "name": "count",
  9078. "in": "query"
  9079. },
  9080. {
  9081. "type": "boolean",
  9082. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9083. "name": "isAsc",
  9084. "in": "query"
  9085. }
  9086. ],
  9087. "responses": {
  9088. "200": {
  9089. "description": "OK",
  9090. "schema": {
  9091. "$ref": "#/definitions/quote.HistoryData"
  9092. }
  9093. },
  9094. "500": {
  9095. "description": "Internal Server Error",
  9096. "schema": {
  9097. "$ref": "#/definitions/app.Response"
  9098. }
  9099. }
  9100. }
  9101. }
  9102. },
  9103. "/Quote/QueryHistoryTikDatas": {
  9104. "get": {
  9105. "security": [
  9106. {
  9107. "ApiKeyAuth": []
  9108. }
  9109. ],
  9110. "produces": [
  9111. "application/json"
  9112. ],
  9113. "tags": [
  9114. "行情服务"
  9115. ],
  9116. "summary": "查询行情Tik数据",
  9117. "parameters": [
  9118. {
  9119. "type": "string",
  9120. "description": "商品代码",
  9121. "name": "goodsCode",
  9122. "in": "query",
  9123. "required": true
  9124. },
  9125. {
  9126. "type": "string",
  9127. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9128. "name": "startTime",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9134. "name": "endTime",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "integer",
  9139. "description": "条数",
  9140. "name": "count",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "boolean",
  9145. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9146. "name": "isAsc",
  9147. "in": "query"
  9148. }
  9149. ],
  9150. "responses": {
  9151. "200": {
  9152. "description": "OK",
  9153. "schema": {
  9154. "$ref": "#/definitions/quote.HistoryTikData"
  9155. }
  9156. },
  9157. "500": {
  9158. "description": "Internal Server Error",
  9159. "schema": {
  9160. "$ref": "#/definitions/app.Response"
  9161. }
  9162. }
  9163. }
  9164. }
  9165. },
  9166. "/Quote/QueryQuoteDay": {
  9167. "get": {
  9168. "security": [
  9169. {
  9170. "ApiKeyAuth": []
  9171. }
  9172. ],
  9173. "produces": [
  9174. "application/json"
  9175. ],
  9176. "tags": [
  9177. "行情服务"
  9178. ],
  9179. "summary": "获取商品盘面信息",
  9180. "parameters": [
  9181. {
  9182. "type": "string",
  9183. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9184. "name": "goodsCodes",
  9185. "in": "query",
  9186. "required": true
  9187. }
  9188. ],
  9189. "responses": {
  9190. "200": {
  9191. "description": "OK",
  9192. "schema": {
  9193. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9194. }
  9195. },
  9196. "500": {
  9197. "description": "Internal Server Error",
  9198. "schema": {
  9199. "$ref": "#/definitions/app.Response"
  9200. }
  9201. }
  9202. }
  9203. }
  9204. },
  9205. "/Quote/QueryTSData": {
  9206. "get": {
  9207. "security": [
  9208. {
  9209. "ApiKeyAuth": []
  9210. }
  9211. ],
  9212. "produces": [
  9213. "application/json"
  9214. ],
  9215. "tags": [
  9216. "行情服务"
  9217. ],
  9218. "summary": "分时图数据查询",
  9219. "parameters": [
  9220. {
  9221. "type": "string",
  9222. "description": "商品代码",
  9223. "name": "goodsCode",
  9224. "in": "query",
  9225. "required": true
  9226. }
  9227. ],
  9228. "responses": {
  9229. "200": {
  9230. "description": "OK",
  9231. "schema": {
  9232. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9233. }
  9234. },
  9235. "500": {
  9236. "description": "Internal Server Error",
  9237. "schema": {
  9238. "$ref": "#/definitions/app.Response"
  9239. }
  9240. }
  9241. }
  9242. }
  9243. },
  9244. "/SZDZ/QueryConvertConfig": {
  9245. "get": {
  9246. "security": [
  9247. {
  9248. "ApiKeyAuth": []
  9249. }
  9250. ],
  9251. "produces": [
  9252. "application/json"
  9253. ],
  9254. "tags": [
  9255. "定制【尚志大宗】"
  9256. ],
  9257. "summary": "查询交易系统转换设置",
  9258. "parameters": [
  9259. {
  9260. "type": "integer",
  9261. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9262. "name": "convertType",
  9263. "in": "query"
  9264. },
  9265. {
  9266. "type": "string",
  9267. "description": "外部商品代码[JD\\PD]",
  9268. "name": "outerGoodsCode",
  9269. "in": "query"
  9270. },
  9271. {
  9272. "type": "string",
  9273. "description": "内部商品ID列表[交易],格式:1,2,3",
  9274. "name": "innerGoodsIDs",
  9275. "in": "query"
  9276. }
  9277. ],
  9278. "responses": {
  9279. "200": {
  9280. "description": "OK",
  9281. "schema": {
  9282. "$ref": "#/definitions/models.Szdz3convertconfig"
  9283. }
  9284. },
  9285. "500": {
  9286. "description": "Internal Server Error",
  9287. "schema": {
  9288. "$ref": "#/definitions/app.Response"
  9289. }
  9290. }
  9291. }
  9292. }
  9293. },
  9294. "/SZDZ/QueryConvertLog": {
  9295. "get": {
  9296. "security": [
  9297. {
  9298. "ApiKeyAuth": []
  9299. }
  9300. ],
  9301. "produces": [
  9302. "application/json"
  9303. ],
  9304. "tags": [
  9305. "定制【尚志大宗】"
  9306. ],
  9307. "summary": "交易系统转换流水查询",
  9308. "parameters": [
  9309. {
  9310. "type": "string",
  9311. "description": "资金账户 - 格式:1,2,3",
  9312. "name": "accountID",
  9313. "in": "query",
  9314. "required": true
  9315. },
  9316. {
  9317. "type": "string",
  9318. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9319. "name": "startDate",
  9320. "in": "query"
  9321. },
  9322. {
  9323. "type": "string",
  9324. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9325. "name": "endDate",
  9326. "in": "query"
  9327. }
  9328. ],
  9329. "responses": {
  9330. "200": {
  9331. "description": "OK",
  9332. "schema": {
  9333. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9334. }
  9335. },
  9336. "500": {
  9337. "description": "Internal Server Error",
  9338. "schema": {
  9339. "$ref": "#/definitions/app.Response"
  9340. }
  9341. }
  9342. }
  9343. }
  9344. },
  9345. "/SZDZ/QueryGoodsPickup": {
  9346. "get": {
  9347. "security": [
  9348. {
  9349. "ApiKeyAuth": []
  9350. }
  9351. ],
  9352. "produces": [
  9353. "application/json"
  9354. ],
  9355. "tags": [
  9356. "定制【尚志大宗】"
  9357. ],
  9358. "summary": "商品提货单查询",
  9359. "parameters": [
  9360. {
  9361. "type": "string",
  9362. "description": "资金账户 - 格式:1,2,3",
  9363. "name": "accountID",
  9364. "in": "query",
  9365. "required": true
  9366. },
  9367. {
  9368. "type": "integer",
  9369. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9370. "name": "takeOrderStatus",
  9371. "in": "query"
  9372. }
  9373. ],
  9374. "responses": {
  9375. "200": {
  9376. "description": "OK",
  9377. "schema": {
  9378. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9379. }
  9380. },
  9381. "500": {
  9382. "description": "Internal Server Error",
  9383. "schema": {
  9384. "$ref": "#/definitions/app.Response"
  9385. }
  9386. }
  9387. }
  9388. }
  9389. },
  9390. "/SZDZ/QueryRecieptOrder": {
  9391. "get": {
  9392. "security": [
  9393. {
  9394. "ApiKeyAuth": []
  9395. }
  9396. ],
  9397. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9398. "produces": [
  9399. "application/json"
  9400. ],
  9401. "tags": [
  9402. "定制【尚志大宗】"
  9403. ],
  9404. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9405. "parameters": [
  9406. {
  9407. "type": "integer",
  9408. "description": "页码",
  9409. "name": "page",
  9410. "in": "query"
  9411. },
  9412. {
  9413. "type": "integer",
  9414. "description": "每页条数",
  9415. "name": "pagesize",
  9416. "in": "query"
  9417. },
  9418. {
  9419. "type": "integer",
  9420. "description": "商品ID",
  9421. "name": "goodsID",
  9422. "in": "query",
  9423. "required": true
  9424. },
  9425. {
  9426. "type": "string",
  9427. "description": "所属账户名称",
  9428. "name": "accountName",
  9429. "in": "query"
  9430. },
  9431. {
  9432. "type": "integer",
  9433. "description": "市场ID",
  9434. "name": "marketID",
  9435. "in": "query"
  9436. },
  9437. {
  9438. "type": "integer",
  9439. "description": "方向 - 0:买 1:卖",
  9440. "name": "buyorsell",
  9441. "in": "query",
  9442. "required": true
  9443. }
  9444. ],
  9445. "responses": {
  9446. "200": {
  9447. "description": "OK",
  9448. "schema": {
  9449. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9450. }
  9451. },
  9452. "500": {
  9453. "description": "Internal Server Error",
  9454. "schema": {
  9455. "$ref": "#/definitions/app.Response"
  9456. }
  9457. }
  9458. }
  9459. }
  9460. },
  9461. "/SZDZ/QuerySZDZTradePosition": {
  9462. "get": {
  9463. "security": [
  9464. {
  9465. "ApiKeyAuth": []
  9466. }
  9467. ],
  9468. "produces": [
  9469. "application/json"
  9470. ],
  9471. "tags": [
  9472. "定制【尚志大宗】"
  9473. ],
  9474. "summary": "持仓汇总查询(尚志大宗)",
  9475. "parameters": [
  9476. {
  9477. "type": "integer",
  9478. "description": "资金账户",
  9479. "name": "accountID",
  9480. "in": "query",
  9481. "required": true
  9482. }
  9483. ],
  9484. "responses": {
  9485. "200": {
  9486. "description": "OK",
  9487. "schema": {
  9488. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9489. }
  9490. },
  9491. "500": {
  9492. "description": "Internal Server Error",
  9493. "schema": {
  9494. "$ref": "#/definitions/app.Response"
  9495. }
  9496. }
  9497. }
  9498. }
  9499. },
  9500. "/SZDZ/SearchWhite": {
  9501. "get": {
  9502. "security": [
  9503. {
  9504. "ApiKeyAuth": []
  9505. }
  9506. ],
  9507. "produces": [
  9508. "application/json"
  9509. ],
  9510. "tags": [
  9511. "定制【尚志大宗】"
  9512. ],
  9513. "summary": "搜索白名单",
  9514. "parameters": [
  9515. {
  9516. "type": "integer",
  9517. "description": "用户ID",
  9518. "name": "userID",
  9519. "in": "query",
  9520. "required": true
  9521. }
  9522. ],
  9523. "responses": {
  9524. "200": {
  9525. "description": "OK",
  9526. "schema": {
  9527. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9528. }
  9529. },
  9530. "500": {
  9531. "description": "Internal Server Error",
  9532. "schema": {
  9533. "$ref": "#/definitions/app.Response"
  9534. }
  9535. }
  9536. }
  9537. }
  9538. },
  9539. "/Search/SearchGoodses": {
  9540. "get": {
  9541. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9542. "produces": [
  9543. "application/json"
  9544. ],
  9545. "tags": [
  9546. "检索服务"
  9547. ],
  9548. "summary": "检索商品信息",
  9549. "parameters": [
  9550. {
  9551. "type": "string",
  9552. "description": "检索内容",
  9553. "name": "content",
  9554. "in": "query",
  9555. "required": true
  9556. },
  9557. {
  9558. "type": "string",
  9559. "description": "交易模式,格式:1,2,3",
  9560. "name": "tradeModes",
  9561. "in": "query"
  9562. }
  9563. ],
  9564. "responses": {
  9565. "200": {
  9566. "description": "OK",
  9567. "schema": {
  9568. "$ref": "#/definitions/models.SearchGoods"
  9569. }
  9570. },
  9571. "500": {
  9572. "description": "Internal Server Error",
  9573. "schema": {
  9574. "$ref": "#/definitions/app.Response"
  9575. }
  9576. }
  9577. }
  9578. }
  9579. },
  9580. "/TaAccount/GetTaAccounts": {
  9581. "get": {
  9582. "security": [
  9583. {
  9584. "ApiKeyAuth": []
  9585. }
  9586. ],
  9587. "produces": [
  9588. "application/json"
  9589. ],
  9590. "tags": [
  9591. "资金账户"
  9592. ],
  9593. "summary": "获取资金账户信息",
  9594. "parameters": [
  9595. {
  9596. "type": "integer",
  9597. "description": "登录账户",
  9598. "name": "loginID",
  9599. "in": "query",
  9600. "required": true
  9601. },
  9602. {
  9603. "type": "integer",
  9604. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9605. "name": "taAccountType",
  9606. "in": "query"
  9607. }
  9608. ],
  9609. "responses": {
  9610. "200": {
  9611. "description": "OK",
  9612. "schema": {
  9613. "$ref": "#/definitions/models.Taaccount"
  9614. }
  9615. },
  9616. "500": {
  9617. "description": "Internal Server Error",
  9618. "schema": {
  9619. "$ref": "#/definitions/app.Response"
  9620. }
  9621. }
  9622. }
  9623. }
  9624. },
  9625. "/TaAccount/QueryAmountLog": {
  9626. "get": {
  9627. "security": [
  9628. {
  9629. "ApiKeyAuth": []
  9630. }
  9631. ],
  9632. "produces": [
  9633. "application/json"
  9634. ],
  9635. "tags": [
  9636. "资金账户"
  9637. ],
  9638. "summary": "资金流水查询(当前)",
  9639. "parameters": [
  9640. {
  9641. "type": "integer",
  9642. "description": "页码",
  9643. "name": "page",
  9644. "in": "query"
  9645. },
  9646. {
  9647. "type": "integer",
  9648. "description": "每页条数",
  9649. "name": "pagesize",
  9650. "in": "query"
  9651. },
  9652. {
  9653. "type": "string",
  9654. "description": "资金账户 - 格式:1,2,3",
  9655. "name": "accountID",
  9656. "in": "query",
  9657. "required": true
  9658. },
  9659. {
  9660. "type": "string",
  9661. "description": "资金操作类型 - 格式:1,2,3",
  9662. "name": "OperateType",
  9663. "in": "query"
  9664. }
  9665. ],
  9666. "responses": {
  9667. "200": {
  9668. "description": "OK",
  9669. "schema": {
  9670. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9671. }
  9672. },
  9673. "500": {
  9674. "description": "Internal Server Error",
  9675. "schema": {
  9676. "$ref": "#/definitions/app.Response"
  9677. }
  9678. }
  9679. }
  9680. }
  9681. },
  9682. "/TaAccount/QueryHisAmountLog": {
  9683. "get": {
  9684. "security": [
  9685. {
  9686. "ApiKeyAuth": []
  9687. }
  9688. ],
  9689. "produces": [
  9690. "application/json"
  9691. ],
  9692. "tags": [
  9693. "资金账户"
  9694. ],
  9695. "summary": "资金流水查询(历史)",
  9696. "parameters": [
  9697. {
  9698. "type": "integer",
  9699. "description": "页码",
  9700. "name": "page",
  9701. "in": "query"
  9702. },
  9703. {
  9704. "type": "integer",
  9705. "description": "每页条数",
  9706. "name": "pagesize",
  9707. "in": "query"
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "资金账户 - 格式:1,2,3",
  9712. "name": "accountID",
  9713. "in": "query",
  9714. "required": true
  9715. },
  9716. {
  9717. "type": "string",
  9718. "description": "资金操作类型 - 格式:1,2,3",
  9719. "name": "OperateType",
  9720. "in": "query"
  9721. },
  9722. {
  9723. "type": "string",
  9724. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9725. "name": "startDate",
  9726. "in": "query"
  9727. },
  9728. {
  9729. "type": "string",
  9730. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9731. "name": "endDate",
  9732. "in": "query"
  9733. }
  9734. ],
  9735. "responses": {
  9736. "200": {
  9737. "description": "OK",
  9738. "schema": {
  9739. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9740. }
  9741. },
  9742. "500": {
  9743. "description": "Internal Server Error",
  9744. "schema": {
  9745. "$ref": "#/definitions/app.Response"
  9746. }
  9747. }
  9748. }
  9749. }
  9750. },
  9751. "/Trade/QueryRecieptOrder": {
  9752. "get": {
  9753. "security": [
  9754. {
  9755. "ApiKeyAuth": []
  9756. }
  9757. ],
  9758. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9759. "produces": [
  9760. "application/json"
  9761. ],
  9762. "tags": [
  9763. "通用交易"
  9764. ],
  9765. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9766. "parameters": [
  9767. {
  9768. "type": "integer",
  9769. "description": "页码",
  9770. "name": "page",
  9771. "in": "query"
  9772. },
  9773. {
  9774. "type": "integer",
  9775. "description": "每页条数",
  9776. "name": "pagesize",
  9777. "in": "query"
  9778. },
  9779. {
  9780. "type": "integer",
  9781. "description": "商品ID",
  9782. "name": "goodsID",
  9783. "in": "query",
  9784. "required": true
  9785. },
  9786. {
  9787. "type": "string",
  9788. "description": "所属账户名称",
  9789. "name": "accountName",
  9790. "in": "query"
  9791. },
  9792. {
  9793. "type": "integer",
  9794. "description": "市场ID",
  9795. "name": "marketID",
  9796. "in": "query"
  9797. },
  9798. {
  9799. "type": "integer",
  9800. "description": "方向 - 0:买 1:卖",
  9801. "name": "buyorsell",
  9802. "in": "query",
  9803. "required": true
  9804. }
  9805. ],
  9806. "responses": {
  9807. "200": {
  9808. "description": "OK",
  9809. "schema": {
  9810. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9811. }
  9812. },
  9813. "500": {
  9814. "description": "Internal Server Error",
  9815. "schema": {
  9816. "$ref": "#/definitions/app.Response"
  9817. }
  9818. }
  9819. }
  9820. }
  9821. },
  9822. "/User/AddMessageBoard": {
  9823. "post": {
  9824. "security": [
  9825. {
  9826. "ApiKeyAuth": []
  9827. }
  9828. ],
  9829. "produces": [
  9830. "application/json"
  9831. ],
  9832. "tags": [
  9833. "用户信息"
  9834. ],
  9835. "summary": "添加用户留言板信息",
  9836. "parameters": [
  9837. {
  9838. "type": "integer",
  9839. "description": "用户ID",
  9840. "name": "userID",
  9841. "in": "query",
  9842. "required": true
  9843. },
  9844. {
  9845. "type": "string",
  9846. "description": "留言信息",
  9847. "name": "message",
  9848. "in": "query",
  9849. "required": true
  9850. },
  9851. {
  9852. "type": "string",
  9853. "description": "联系电话",
  9854. "name": "contactNum",
  9855. "in": "query",
  9856. "required": true
  9857. }
  9858. ],
  9859. "responses": {
  9860. "200": {
  9861. "description": "OK",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. },
  9866. "500": {
  9867. "description": "Internal Server Error",
  9868. "schema": {
  9869. "$ref": "#/definitions/app.Response"
  9870. }
  9871. }
  9872. }
  9873. }
  9874. },
  9875. "/User/AddUserFavoriteGoods": {
  9876. "post": {
  9877. "security": [
  9878. {
  9879. "ApiKeyAuth": []
  9880. }
  9881. ],
  9882. "produces": [
  9883. "application/json"
  9884. ],
  9885. "tags": [
  9886. "用户信息"
  9887. ],
  9888. "summary": "添加用户商品收藏信息",
  9889. "parameters": [
  9890. {
  9891. "type": "integer",
  9892. "description": "用户ID",
  9893. "name": "userID",
  9894. "in": "query",
  9895. "required": true
  9896. },
  9897. {
  9898. "type": "integer",
  9899. "description": "商品ID",
  9900. "name": "goodsID",
  9901. "in": "query",
  9902. "required": true
  9903. }
  9904. ],
  9905. "responses": {
  9906. "200": {
  9907. "description": "OK",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. },
  9912. "500": {
  9913. "description": "Internal Server Error",
  9914. "schema": {
  9915. "$ref": "#/definitions/app.Response"
  9916. }
  9917. }
  9918. }
  9919. }
  9920. },
  9921. "/User/GetLoginID": {
  9922. "get": {
  9923. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9924. "produces": [
  9925. "application/json"
  9926. ],
  9927. "tags": [
  9928. "用户信息"
  9929. ],
  9930. "summary": "获取登录ID",
  9931. "parameters": [
  9932. {
  9933. "type": "string",
  9934. "description": "登录代码",
  9935. "name": "username",
  9936. "in": "query",
  9937. "required": true
  9938. }
  9939. ],
  9940. "responses": {
  9941. "200": {
  9942. "description": "OK",
  9943. "schema": {
  9944. "$ref": "#/definitions/app.Response"
  9945. }
  9946. },
  9947. "500": {
  9948. "description": "Internal Server Error",
  9949. "schema": {
  9950. "$ref": "#/definitions/app.Response"
  9951. }
  9952. }
  9953. }
  9954. }
  9955. },
  9956. "/User/GetUserAccount": {
  9957. "get": {
  9958. "security": [
  9959. {
  9960. "ApiKeyAuth": []
  9961. }
  9962. ],
  9963. "produces": [
  9964. "application/json"
  9965. ],
  9966. "tags": [
  9967. "用户信息"
  9968. ],
  9969. "summary": "获取用户账号信息",
  9970. "parameters": [
  9971. {
  9972. "type": "integer",
  9973. "description": "用户ID",
  9974. "name": "userID",
  9975. "in": "query",
  9976. "required": true
  9977. }
  9978. ],
  9979. "responses": {
  9980. "200": {
  9981. "description": "OK",
  9982. "schema": {
  9983. "$ref": "#/definitions/models.Useraccount"
  9984. }
  9985. },
  9986. "500": {
  9987. "description": "Internal Server Error",
  9988. "schema": {
  9989. "$ref": "#/definitions/app.Response"
  9990. }
  9991. }
  9992. }
  9993. }
  9994. },
  9995. "/User/GetUserAuthStatus": {
  9996. "get": {
  9997. "security": [
  9998. {
  9999. "ApiKeyAuth": []
  10000. }
  10001. ],
  10002. "produces": [
  10003. "application/json"
  10004. ],
  10005. "tags": [
  10006. "用户信息"
  10007. ],
  10008. "summary": "获取用户实名认证状态",
  10009. "parameters": [
  10010. {
  10011. "type": "integer",
  10012. "description": "用户ID",
  10013. "name": "userID",
  10014. "in": "query",
  10015. "required": true
  10016. }
  10017. ],
  10018. "responses": {
  10019. "200": {
  10020. "description": "OK",
  10021. "schema": {
  10022. "$ref": "#/definitions/app.Response"
  10023. }
  10024. },
  10025. "500": {
  10026. "description": "Internal Server Error",
  10027. "schema": {
  10028. "$ref": "#/definitions/app.Response"
  10029. }
  10030. }
  10031. }
  10032. }
  10033. },
  10034. "/User/LoginQuery": {
  10035. "get": {
  10036. "security": [
  10037. {
  10038. "ApiKeyAuth": []
  10039. }
  10040. ],
  10041. "produces": [
  10042. "application/json"
  10043. ],
  10044. "tags": [
  10045. "用户信息"
  10046. ],
  10047. "summary": "账户登录后信息查询",
  10048. "parameters": [
  10049. {
  10050. "type": "integer",
  10051. "description": "登录账号",
  10052. "name": "loginID",
  10053. "in": "query",
  10054. "required": true
  10055. }
  10056. ],
  10057. "responses": {
  10058. "200": {
  10059. "description": "OK",
  10060. "schema": {
  10061. "$ref": "#/definitions/user.LoginQueryRsp"
  10062. }
  10063. },
  10064. "500": {
  10065. "description": "Internal Server Error",
  10066. "schema": {
  10067. "$ref": "#/definitions/app.Response"
  10068. }
  10069. }
  10070. }
  10071. }
  10072. },
  10073. "/User/QueryMessageBoard": {
  10074. "get": {
  10075. "security": [
  10076. {
  10077. "ApiKeyAuth": []
  10078. }
  10079. ],
  10080. "produces": [
  10081. "application/json"
  10082. ],
  10083. "tags": [
  10084. "用户信息"
  10085. ],
  10086. "summary": "获取用户留言板信息",
  10087. "parameters": [
  10088. {
  10089. "type": "integer",
  10090. "description": "用户ID",
  10091. "name": "userID",
  10092. "in": "query",
  10093. "required": true
  10094. }
  10095. ],
  10096. "responses": {
  10097. "200": {
  10098. "description": "OK",
  10099. "schema": {
  10100. "$ref": "#/definitions/models.Messageboard"
  10101. }
  10102. },
  10103. "500": {
  10104. "description": "Internal Server Error",
  10105. "schema": {
  10106. "$ref": "#/definitions/app.Response"
  10107. }
  10108. }
  10109. }
  10110. }
  10111. },
  10112. "/User/QueryUserFavoriteGoodses": {
  10113. "get": {
  10114. "security": [
  10115. {
  10116. "ApiKeyAuth": []
  10117. }
  10118. ],
  10119. "produces": [
  10120. "application/json"
  10121. ],
  10122. "tags": [
  10123. "用户信息"
  10124. ],
  10125. "summary": "获取用户商品收藏信息",
  10126. "parameters": [
  10127. {
  10128. "type": "integer",
  10129. "description": "用户ID",
  10130. "name": "userID",
  10131. "in": "query",
  10132. "required": true
  10133. }
  10134. ],
  10135. "responses": {
  10136. "200": {
  10137. "description": "OK",
  10138. "schema": {
  10139. "$ref": "#/definitions/models.Userfavoritegoods"
  10140. }
  10141. },
  10142. "500": {
  10143. "description": "Internal Server Error",
  10144. "schema": {
  10145. "$ref": "#/definitions/app.Response"
  10146. }
  10147. }
  10148. }
  10149. }
  10150. },
  10151. "/User/QueryUserInfo": {
  10152. "get": {
  10153. "security": [
  10154. {
  10155. "ApiKeyAuth": []
  10156. }
  10157. ],
  10158. "produces": [
  10159. "application/json"
  10160. ],
  10161. "tags": [
  10162. "用户信息"
  10163. ],
  10164. "summary": "获取用户信息",
  10165. "parameters": [
  10166. {
  10167. "type": "integer",
  10168. "description": "用户ID",
  10169. "name": "userID",
  10170. "in": "query",
  10171. "required": true
  10172. },
  10173. {
  10174. "type": "boolean",
  10175. "description": "是否解密",
  10176. "name": "isDecrypt",
  10177. "in": "query"
  10178. }
  10179. ],
  10180. "responses": {
  10181. "200": {
  10182. "description": "OK",
  10183. "schema": {
  10184. "$ref": "#/definitions/models.Userinfo"
  10185. }
  10186. },
  10187. "500": {
  10188. "description": "Internal Server Error",
  10189. "schema": {
  10190. "$ref": "#/definitions/app.Response"
  10191. }
  10192. }
  10193. }
  10194. }
  10195. },
  10196. "/User/QueryUserReferNum": {
  10197. "get": {
  10198. "produces": [
  10199. "application/json"
  10200. ],
  10201. "tags": [
  10202. "用户信息"
  10203. ],
  10204. "summary": "获取用户邀请码",
  10205. "parameters": [
  10206. {
  10207. "type": "integer",
  10208. "description": "用户ID",
  10209. "name": "userID",
  10210. "in": "query",
  10211. "required": true
  10212. }
  10213. ],
  10214. "responses": {
  10215. "200": {
  10216. "description": "OK",
  10217. "schema": {
  10218. "$ref": "#/definitions/app.Response"
  10219. }
  10220. },
  10221. "500": {
  10222. "description": "Internal Server Error",
  10223. "schema": {
  10224. "$ref": "#/definitions/app.Response"
  10225. }
  10226. }
  10227. }
  10228. }
  10229. },
  10230. "/User/RemoveUserFavoriteGoods": {
  10231. "post": {
  10232. "security": [
  10233. {
  10234. "ApiKeyAuth": []
  10235. }
  10236. ],
  10237. "produces": [
  10238. "application/json"
  10239. ],
  10240. "tags": [
  10241. "用户信息"
  10242. ],
  10243. "summary": "移除用户商品收藏信息",
  10244. "parameters": [
  10245. {
  10246. "type": "integer",
  10247. "description": "用户ID",
  10248. "name": "userID",
  10249. "in": "query",
  10250. "required": true
  10251. },
  10252. {
  10253. "type": "integer",
  10254. "description": "商品ID",
  10255. "name": "goodsID",
  10256. "in": "query",
  10257. "required": true
  10258. }
  10259. ],
  10260. "responses": {
  10261. "200": {
  10262. "description": "OK",
  10263. "schema": {
  10264. "$ref": "#/definitions/app.Response"
  10265. }
  10266. },
  10267. "500": {
  10268. "description": "Internal Server Error",
  10269. "schema": {
  10270. "$ref": "#/definitions/app.Response"
  10271. }
  10272. }
  10273. }
  10274. }
  10275. },
  10276. "/User/UpdateUserAccountStatus": {
  10277. "post": {
  10278. "security": [
  10279. {
  10280. "ApiKeyAuth": []
  10281. }
  10282. ],
  10283. "produces": [
  10284. "application/json"
  10285. ],
  10286. "tags": [
  10287. "用户信息"
  10288. ],
  10289. "summary": "更新用户状态",
  10290. "parameters": [
  10291. {
  10292. "type": "integer",
  10293. "description": "用户ID",
  10294. "name": "userID",
  10295. "in": "query",
  10296. "required": true
  10297. },
  10298. {
  10299. "type": "integer",
  10300. "description": "账户状态 - 4:正常 6:注销(停用)",
  10301. "name": "accountStatus",
  10302. "in": "query",
  10303. "required": true
  10304. }
  10305. ],
  10306. "responses": {
  10307. "200": {
  10308. "description": "OK",
  10309. "schema": {
  10310. "$ref": "#/definitions/app.Response"
  10311. }
  10312. },
  10313. "500": {
  10314. "description": "Internal Server Error",
  10315. "schema": {
  10316. "$ref": "#/definitions/app.Response"
  10317. }
  10318. }
  10319. }
  10320. }
  10321. },
  10322. "/WRTrade/GetAllDeliveryGoods": {
  10323. "get": {
  10324. "security": [
  10325. {
  10326. "ApiKeyAuth": []
  10327. },
  10328. {
  10329. "ApiKeyAuth": []
  10330. }
  10331. ],
  10332. "produces": [
  10333. "application/json",
  10334. "application/json"
  10335. ],
  10336. "tags": [
  10337. "仓单贸易",
  10338. "仓单贸易"
  10339. ],
  10340. "summary": "获取带仓单分类的种类信息",
  10341. "responses": {
  10342. "200": {
  10343. "description": "OK",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. },
  10348. "500": {
  10349. "description": "Internal Server Error",
  10350. "schema": {
  10351. "$ref": "#/definitions/app.Response"
  10352. }
  10353. }
  10354. }
  10355. }
  10356. }
  10357. },
  10358. "definitions": {
  10359. "app.Response": {
  10360. "type": "object",
  10361. "properties": {
  10362. "code": {
  10363. "type": "integer"
  10364. },
  10365. "data": {
  10366. "type": "object"
  10367. },
  10368. "msg": {
  10369. "type": "string"
  10370. },
  10371. "page": {
  10372. "description": "页码",
  10373. "type": "integer"
  10374. },
  10375. "pagesize": {
  10376. "description": "每页条数",
  10377. "type": "integer"
  10378. },
  10379. "total": {
  10380. "description": "总条数",
  10381. "type": "integer"
  10382. }
  10383. }
  10384. },
  10385. "common.ClientMenu": {
  10386. "type": "object",
  10387. "properties": {
  10388. "children": {
  10389. "description": "子菜单列表",
  10390. "type": "array",
  10391. "items": {
  10392. "$ref": "#/definitions/common.ClientMenu"
  10393. }
  10394. },
  10395. "code": {
  10396. "description": "ID",
  10397. "type": "string"
  10398. },
  10399. "isshow": {
  10400. "description": "是否显示",
  10401. "type": "boolean"
  10402. },
  10403. "rulekey": {
  10404. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10405. "type": "string"
  10406. },
  10407. "sort": {
  10408. "description": "排序",
  10409. "type": "integer"
  10410. },
  10411. "title": {
  10412. "description": "标题",
  10413. "type": "string"
  10414. },
  10415. "type": {
  10416. "description": "类型,1:菜单 2:按钮",
  10417. "type": "integer"
  10418. }
  10419. }
  10420. },
  10421. "common.QueryImageConfigsRsp": {
  10422. "type": "object",
  10423. "required": [
  10424. "configid"
  10425. ],
  10426. "properties": {
  10427. "areauserid": {
  10428. "description": "所属机构ID",
  10429. "type": "integer"
  10430. },
  10431. "configid": {
  10432. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10433. "type": "integer"
  10434. },
  10435. "createdate": {
  10436. "description": "创建时间",
  10437. "type": "string"
  10438. },
  10439. "creatorid": {
  10440. "description": "创建人",
  10441. "type": "integer"
  10442. },
  10443. "imagepath": {
  10444. "description": "图片",
  10445. "type": "string"
  10446. },
  10447. "imagetype": {
  10448. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10449. "type": "integer"
  10450. },
  10451. "isshow": {
  10452. "description": "是否展示 - 0:不展示 1:展示",
  10453. "type": "integer"
  10454. },
  10455. "marketid": {
  10456. "description": "市场ID",
  10457. "type": "integer"
  10458. },
  10459. "modifierid": {
  10460. "description": "操作人",
  10461. "type": "integer"
  10462. },
  10463. "sort": {
  10464. "description": "排序",
  10465. "type": "integer"
  10466. },
  10467. "title": {
  10468. "description": "标题",
  10469. "type": "string"
  10470. },
  10471. "trademode": {
  10472. "description": "交易模式",
  10473. "type": "integer"
  10474. },
  10475. "updatedate": {
  10476. "description": "修改时间",
  10477. "type": "string"
  10478. },
  10479. "url": {
  10480. "description": "链接(地址或商品ID)",
  10481. "type": "string"
  10482. },
  10483. "urltype": {
  10484. "description": "链接类型 - 1:直接地址 2:商品ID",
  10485. "type": "integer"
  10486. }
  10487. }
  10488. },
  10489. "common.QueryNoticeRsp": {
  10490. "type": "object",
  10491. "required": [
  10492. "autoid"
  10493. ],
  10494. "properties": {
  10495. "auditoruserid": {
  10496. "description": "审核人",
  10497. "type": "integer"
  10498. },
  10499. "auditremark": {
  10500. "description": "审核备注",
  10501. "type": "string"
  10502. },
  10503. "audittime": {
  10504. "description": "审核日期",
  10505. "type": "string"
  10506. },
  10507. "autoid": {
  10508. "description": "自增ID",
  10509. "type": "integer"
  10510. },
  10511. "content": {
  10512. "description": "内容",
  10513. "type": "string"
  10514. },
  10515. "createtime": {
  10516. "description": "创建时间",
  10517. "type": "string"
  10518. },
  10519. "creatorid": {
  10520. "description": "建仓人",
  10521. "type": "integer"
  10522. },
  10523. "endtime": {
  10524. "description": "结束时间",
  10525. "type": "string"
  10526. },
  10527. "istop": {
  10528. "description": "是否置顶 - 0:不置顶 1:置顶",
  10529. "type": "integer"
  10530. },
  10531. "msgiconurl": {
  10532. "description": "消息图标Url",
  10533. "type": "string"
  10534. },
  10535. "msgtype": {
  10536. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10537. "type": "integer"
  10538. },
  10539. "publisher": {
  10540. "description": "消息发布者",
  10541. "type": "string"
  10542. },
  10543. "readed": {
  10544. "description": "是否已读",
  10545. "type": "boolean"
  10546. },
  10547. "scheduletime": {
  10548. "description": "计划发送时间",
  10549. "type": "string"
  10550. },
  10551. "sendtype": {
  10552. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10553. "type": "integer"
  10554. },
  10555. "sentstatus": {
  10556. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10557. "type": "integer"
  10558. },
  10559. "title": {
  10560. "description": "标题",
  10561. "type": "string"
  10562. },
  10563. "userid": {
  10564. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10565. "type": "integer"
  10566. }
  10567. }
  10568. },
  10569. "common.QueryProvincesAndCitiesRsp": {
  10570. "type": "object",
  10571. "properties": {
  10572. "cities": {
  10573. "description": "市",
  10574. "type": "array",
  10575. "items": {
  10576. "$ref": "#/definitions/models.Division"
  10577. }
  10578. },
  10579. "province": {
  10580. "description": "省",
  10581. "type": "object",
  10582. "$ref": "#/definitions/models.Division"
  10583. }
  10584. }
  10585. },
  10586. "common.QueryTableDefineRsp": {
  10587. "type": "object",
  10588. "required": [
  10589. "tablekey"
  10590. ],
  10591. "properties": {
  10592. "columns": {
  10593. "description": "列头信息数组",
  10594. "type": "array",
  10595. "items": {
  10596. "$ref": "#/definitions/models.Tablecolumnconfig"
  10597. }
  10598. },
  10599. "remark": {
  10600. "description": "Remark",
  10601. "type": "string"
  10602. },
  10603. "tabelmenu": {
  10604. "description": "列表菜单",
  10605. "type": "string"
  10606. },
  10607. "tablekey": {
  10608. "description": "列表Key",
  10609. "type": "string"
  10610. },
  10611. "tablename": {
  10612. "description": "列表名称",
  10613. "type": "string"
  10614. },
  10615. "tabletype": {
  10616. "description": "列表类型 - 1:管理端 2:终端",
  10617. "type": "integer"
  10618. }
  10619. }
  10620. },
  10621. "common.QueryTraderMenuRsp": {
  10622. "type": "object",
  10623. "properties": {
  10624. "OperationMenu": {
  10625. "description": "功能菜单",
  10626. "type": "array",
  10627. "items": {
  10628. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10629. }
  10630. },
  10631. "QuoteMenu": {
  10632. "description": "报价牌分类菜单",
  10633. "type": "array",
  10634. "items": {
  10635. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10636. }
  10637. }
  10638. }
  10639. },
  10640. "cptrade.Cptradepositioncancel": {
  10641. "type": "object",
  10642. "required": [
  10643. "cancelid"
  10644. ],
  10645. "properties": {
  10646. "accountid": {
  10647. "description": "申请人账户ID",
  10648. "type": "integer"
  10649. },
  10650. "applystatus": {
  10651. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10652. "type": "integer"
  10653. },
  10654. "applytime": {
  10655. "description": "申请时间",
  10656. "type": "string"
  10657. },
  10658. "cancelid": {
  10659. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10660. "type": "integer"
  10661. },
  10662. "cancelqty": {
  10663. "description": "注销数量",
  10664. "type": "integer"
  10665. },
  10666. "createtime": {
  10667. "description": "创建时间",
  10668. "type": "string"
  10669. },
  10670. "creatorid": {
  10671. "description": "创建人ID",
  10672. "type": "integer"
  10673. },
  10674. "creatorname": {
  10675. "description": "创建人",
  10676. "type": "string"
  10677. },
  10678. "goodscode": {
  10679. "description": "订单商品代码",
  10680. "type": "string"
  10681. },
  10682. "goodsid": {
  10683. "description": "商品ID",
  10684. "type": "integer"
  10685. },
  10686. "goodsname": {
  10687. "description": "订单商品名称",
  10688. "type": "string"
  10689. },
  10690. "goodunit": {
  10691. "description": "报价单位",
  10692. "type": "string"
  10693. },
  10694. "handlestatus": {
  10695. "description": "处理状态",
  10696. "type": "integer"
  10697. },
  10698. "marketid": {
  10699. "description": "市场ID",
  10700. "type": "integer"
  10701. },
  10702. "marketname": {
  10703. "description": "市场名称",
  10704. "type": "string"
  10705. },
  10706. "tradedate": {
  10707. "description": "交易日(yyyyMMdd)",
  10708. "type": "string"
  10709. },
  10710. "userid": {
  10711. "description": "申请人ID",
  10712. "type": "integer"
  10713. }
  10714. }
  10715. },
  10716. "cptrade.Cptradepresaleapply": {
  10717. "type": "object",
  10718. "required": [
  10719. "applyid"
  10720. ],
  10721. "properties": {
  10722. "accountid": {
  10723. "description": "申请人账户ID",
  10724. "type": "integer"
  10725. },
  10726. "applyid": {
  10727. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10728. "type": "integer"
  10729. },
  10730. "applyremark": {
  10731. "description": "申请备注",
  10732. "type": "string"
  10733. },
  10734. "applystatus": {
  10735. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10736. "type": "integer"
  10737. },
  10738. "applytime": {
  10739. "description": "申请时间",
  10740. "type": "string"
  10741. },
  10742. "attachmenturl": {
  10743. "description": "附件地址",
  10744. "type": "string"
  10745. },
  10746. "endtime": {
  10747. "description": "预售结束时间",
  10748. "type": "string"
  10749. },
  10750. "goodscode": {
  10751. "description": "商品代码",
  10752. "type": "string"
  10753. },
  10754. "goodsid": {
  10755. "description": "商品ID",
  10756. "type": "integer"
  10757. },
  10758. "goodsname": {
  10759. "description": "商品名称",
  10760. "type": "string"
  10761. },
  10762. "goodunit": {
  10763. "description": "报价单位",
  10764. "type": "string"
  10765. },
  10766. "handlestatus": {
  10767. "description": "处理状态",
  10768. "type": "integer"
  10769. },
  10770. "marketid": {
  10771. "description": "预售市场ID",
  10772. "type": "integer"
  10773. },
  10774. "marketname": {
  10775. "description": "预售市场名称",
  10776. "type": "string"
  10777. },
  10778. "presaleqty": {
  10779. "description": "预售数量",
  10780. "type": "integer"
  10781. },
  10782. "relatedgoodscode": {
  10783. "description": "关联交易合约代码",
  10784. "type": "string"
  10785. },
  10786. "relatedgoodsid": {
  10787. "description": "关联交易合约ID",
  10788. "type": "integer"
  10789. },
  10790. "relatedgoodsname": {
  10791. "description": "关联交易合约名称",
  10792. "type": "string"
  10793. },
  10794. "starttime": {
  10795. "description": "预售开始时间",
  10796. "type": "string"
  10797. },
  10798. "tradedate": {
  10799. "description": "交易日(yyyyMMdd)",
  10800. "type": "string"
  10801. },
  10802. "trademode": {
  10803. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10804. "type": "integer"
  10805. },
  10806. "userid": {
  10807. "description": "申请人ID",
  10808. "type": "integer"
  10809. }
  10810. }
  10811. },
  10812. "cptrade.Cptradeusergoodsdata": {
  10813. "type": "object",
  10814. "required": [
  10815. "accountid",
  10816. "goodsid"
  10817. ],
  10818. "properties": {
  10819. "EnabledQty": {
  10820. "description": "可用量",
  10821. "type": "integer"
  10822. },
  10823. "GoodsCode": {
  10824. "description": "订单商品代码",
  10825. "type": "string"
  10826. },
  10827. "GoodsName": {
  10828. "description": "订单商品名称",
  10829. "type": "string"
  10830. },
  10831. "WRStandardCode": {
  10832. "description": "仓单标准代码",
  10833. "type": "string"
  10834. },
  10835. "WRStandardName": {
  10836. "description": "仓单标准名称",
  10837. "type": "string"
  10838. },
  10839. "accountid": {
  10840. "description": "账户ID",
  10841. "type": "integer"
  10842. },
  10843. "cancelqty": {
  10844. "description": "注销量",
  10845. "type": "integer"
  10846. },
  10847. "curpresaleqty": {
  10848. "description": "当前预售量",
  10849. "type": "integer"
  10850. },
  10851. "deliveryqty": {
  10852. "description": "交割量",
  10853. "type": "integer"
  10854. },
  10855. "freezeamount": {
  10856. "description": "冻结金额",
  10857. "type": "number"
  10858. },
  10859. "goodsid": {
  10860. "description": "商品ID",
  10861. "type": "integer"
  10862. },
  10863. "goodunit": {
  10864. "description": "报价单位",
  10865. "type": "string"
  10866. },
  10867. "hasspotfreeze": {
  10868. "description": "是否有现货冻结 - 0:否 1:有",
  10869. "type": "integer"
  10870. },
  10871. "inqty": {
  10872. "description": "转入量(总数量)",
  10873. "type": "integer"
  10874. },
  10875. "marketid": {
  10876. "description": "市场ID",
  10877. "type": "integer"
  10878. },
  10879. "presaledamount": {
  10880. "description": "已预售总金额",
  10881. "type": "integer"
  10882. },
  10883. "presaledqty": {
  10884. "description": "已预售量",
  10885. "type": "integer"
  10886. },
  10887. "userid": {
  10888. "description": "用户ID",
  10889. "type": "integer"
  10890. },
  10891. "wrstandardid": {
  10892. "description": "仓单标准ID",
  10893. "type": "integer"
  10894. }
  10895. }
  10896. },
  10897. "cptrade.QueryCPTradeMyBidRsp": {
  10898. "type": "object",
  10899. "required": [
  10900. "accountid",
  10901. "goodsid",
  10902. "marketid",
  10903. "orderid",
  10904. "orderqty",
  10905. "ordertime",
  10906. "tradeprice",
  10907. "tradeqty"
  10908. ],
  10909. "properties": {
  10910. "accountid": {
  10911. "description": "账户ID[报价币种]",
  10912. "type": "integer"
  10913. },
  10914. "goodsid": {
  10915. "description": "商品ID",
  10916. "type": "integer"
  10917. },
  10918. "goodunit": {
  10919. "description": "报价单位",
  10920. "type": "string"
  10921. },
  10922. "marketid": {
  10923. "description": "市场ID",
  10924. "type": "integer"
  10925. },
  10926. "orderid": {
  10927. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10928. "type": "integer"
  10929. },
  10930. "orderprice": {
  10931. "description": "委托价格",
  10932. "type": "number"
  10933. },
  10934. "orderqty": {
  10935. "description": "委托数量",
  10936. "type": "integer"
  10937. },
  10938. "ordertime": {
  10939. "description": "委托时间",
  10940. "type": "string"
  10941. },
  10942. "ordertotalprice": {
  10943. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10944. "type": "number"
  10945. },
  10946. "ordertotalweight": {
  10947. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10948. "type": "integer"
  10949. },
  10950. "totaltotalprice": {
  10951. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10952. "type": "number"
  10953. },
  10954. "tradeprice": {
  10955. "description": "成交价格",
  10956. "type": "number"
  10957. },
  10958. "tradeqty": {
  10959. "description": "成交数量",
  10960. "type": "integer"
  10961. }
  10962. }
  10963. },
  10964. "cptrade.QueryCPTradeOrderDetailRsq": {
  10965. "type": "object",
  10966. "required": [
  10967. "accountid",
  10968. "buildtype",
  10969. "buyorsell",
  10970. "goodsid",
  10971. "marketid",
  10972. "memberuserid",
  10973. "operatetype",
  10974. "orderqty",
  10975. "ordertime",
  10976. "pricemode",
  10977. "strorderid",
  10978. "tradedate",
  10979. "validtype"
  10980. ],
  10981. "properties": {
  10982. "accountid": {
  10983. "description": "账户ID[报价币种]",
  10984. "type": "integer"
  10985. },
  10986. "buildtype": {
  10987. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10988. "type": "integer"
  10989. },
  10990. "buyorsell": {
  10991. "description": "买卖 - 0:买 1:卖",
  10992. "type": "integer"
  10993. },
  10994. "cancelorderid": {
  10995. "description": "撤单单号(撤单时填写)",
  10996. "type": "integer"
  10997. },
  10998. "cancelqty": {
  10999. "description": "撤单数量",
  11000. "type": "integer"
  11001. },
  11002. "clientordertime": {
  11003. "description": "客户端委托时间",
  11004. "type": "string"
  11005. },
  11006. "clientticket": {
  11007. "description": "客户端流水号",
  11008. "type": "string"
  11009. },
  11010. "clienttype": {
  11011. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11012. "type": "integer"
  11013. },
  11014. "closeexchagechargevalue": {
  11015. "description": "平仓交易所手续费设置值",
  11016. "type": "number"
  11017. },
  11018. "closefeealgorithm": {
  11019. "description": "平仓手续费收取方式 1:比率 2:固定",
  11020. "type": "integer"
  11021. },
  11022. "closefreezecharge": {
  11023. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11024. "type": "number"
  11025. },
  11026. "closememberchargevalue": {
  11027. "description": "平仓会员手续费设置值",
  11028. "type": "number"
  11029. },
  11030. "closeqty": {
  11031. "description": "平仓数量(先建后平操作 需要记录)",
  11032. "type": "integer"
  11033. },
  11034. "closetradeqty": {
  11035. "description": "平仓成交数量(先建后平操作,需要记录)",
  11036. "type": "integer"
  11037. },
  11038. "closeunfreezecharge": {
  11039. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11040. "type": "number"
  11041. },
  11042. "delistingtype": {
  11043. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11044. "type": "integer"
  11045. },
  11046. "freezecharge": {
  11047. "description": "冻结手续费",
  11048. "type": "number"
  11049. },
  11050. "freezemargin": {
  11051. "description": "冻结保证金(冻结交易金额)",
  11052. "type": "number"
  11053. },
  11054. "gcaccountid": {
  11055. "description": "账户ID[合约币种]",
  11056. "type": "integer"
  11057. },
  11058. "goodsid": {
  11059. "description": "商品ID",
  11060. "type": "integer"
  11061. },
  11062. "isconfirmexercise": {
  11063. "description": "是否确认行权- 0:否 1:是",
  11064. "type": "integer"
  11065. },
  11066. "ispreexercise": {
  11067. "description": "是否预申报- 0:否 1:是",
  11068. "type": "integer"
  11069. },
  11070. "listingselecttype": {
  11071. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11072. "type": "integer"
  11073. },
  11074. "marginalgorithm": {
  11075. "description": "保证金收取方式 1:比率 2:固定",
  11076. "type": "integer"
  11077. },
  11078. "marginvalue": {
  11079. "description": "即市保证金设置值",
  11080. "type": "number"
  11081. },
  11082. "marketid": {
  11083. "description": "市场ID",
  11084. "type": "integer"
  11085. },
  11086. "marketmaxsub": {
  11087. "description": "市价最大偏移范围",
  11088. "type": "number"
  11089. },
  11090. "memberuserid": {
  11091. "description": "所属会员UserID",
  11092. "type": "integer"
  11093. },
  11094. "openexchagechargevalue": {
  11095. "description": "建仓交易所手续费设置值",
  11096. "type": "number"
  11097. },
  11098. "openfeealgorithm": {
  11099. "description": "建仓手续费收取方式 1:比率 2:固定",
  11100. "type": "integer"
  11101. },
  11102. "openfreezecharge": {
  11103. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11104. "type": "number"
  11105. },
  11106. "openmemberchargevalue": {
  11107. "description": "建仓会员手续费设置值",
  11108. "type": "number"
  11109. },
  11110. "openqty": {
  11111. "description": "开仓数量(先建后平操作,需要记录)",
  11112. "type": "integer"
  11113. },
  11114. "opentradeqty": {
  11115. "description": "开仓成交数量(先建后平操作,需要记录)",
  11116. "type": "integer"
  11117. },
  11118. "openunfreezecharge": {
  11119. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11120. "type": "number"
  11121. },
  11122. "operatetype": {
  11123. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11124. "type": "integer"
  11125. },
  11126. "operatorid": {
  11127. "description": "登录账号(LoginID)",
  11128. "type": "integer"
  11129. },
  11130. "optiontype": {
  11131. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11132. "type": "integer"
  11133. },
  11134. "orderprice": {
  11135. "description": "委托价格",
  11136. "type": "number"
  11137. },
  11138. "orderqty": {
  11139. "description": "委托数量",
  11140. "type": "integer"
  11141. },
  11142. "ordersrc": {
  11143. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11144. "type": "integer"
  11145. },
  11146. "orderstatus": {
  11147. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11148. "type": "integer"
  11149. },
  11150. "ordertime": {
  11151. "description": "委托时间",
  11152. "type": "string"
  11153. },
  11154. "preexerciseprice": {
  11155. "description": "预申报价格",
  11156. "type": "number"
  11157. },
  11158. "premium": {
  11159. "description": "权利金",
  11160. "type": "number"
  11161. },
  11162. "preorderid": {
  11163. "description": "关联预埋单号(止盈止损单时填写)",
  11164. "type": "integer"
  11165. },
  11166. "pricemode": {
  11167. "description": "取价方式 - 1:市价 2: 限价",
  11168. "type": "integer"
  11169. },
  11170. "quoteid": {
  11171. "description": "报价单ID",
  11172. "type": "integer"
  11173. },
  11174. "relatedid": {
  11175. "description": "关联单号(交割单)",
  11176. "type": "integer"
  11177. },
  11178. "retcode": {
  11179. "description": "错误代码",
  11180. "type": "integer"
  11181. },
  11182. "sessionid": {
  11183. "description": "会话ID",
  11184. "type": "integer"
  11185. },
  11186. "strorderid": {
  11187. "description": "委托单号",
  11188. "type": "string"
  11189. },
  11190. "tradedate": {
  11191. "description": "交易日(yyyyMMdd)",
  11192. "type": "string"
  11193. },
  11194. "tradeproperty": {
  11195. "description": "交易属性",
  11196. "type": "integer"
  11197. },
  11198. "tradeqty": {
  11199. "description": "成交数量",
  11200. "type": "integer"
  11201. },
  11202. "unfreezecharge": {
  11203. "description": "解冻手续费",
  11204. "type": "number"
  11205. },
  11206. "unfreezemargin": {
  11207. "description": "解冻保证金",
  11208. "type": "number"
  11209. },
  11210. "updatetime": {
  11211. "description": "更新时间",
  11212. "type": "string"
  11213. },
  11214. "uuid": {
  11215. "description": "发起端唯一id",
  11216. "type": "string"
  11217. },
  11218. "validtime": {
  11219. "description": "有效期限",
  11220. "type": "string"
  11221. },
  11222. "validtype": {
  11223. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11224. "type": "integer"
  11225. },
  11226. "volumetype": {
  11227. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11228. "type": "integer"
  11229. }
  11230. }
  11231. },
  11232. "cptrade.QueryMyCPTradeGoodsRsp": {
  11233. "type": "object",
  11234. "required": [
  11235. "goodscode",
  11236. "goodsid",
  11237. "goodsname",
  11238. "marketid",
  11239. "relatedgoodscode",
  11240. "relatedgoodsname"
  11241. ],
  11242. "properties": {
  11243. "accountid": {
  11244. "description": "卖方账户ID",
  11245. "type": "integer"
  11246. },
  11247. "agreeunit": {
  11248. "description": "合约单位",
  11249. "type": "number"
  11250. },
  11251. "applyid": {
  11252. "description": "关联申请ID",
  11253. "type": "integer"
  11254. },
  11255. "attachmenturl": {
  11256. "description": "附件地址",
  11257. "type": "string"
  11258. },
  11259. "createtime": {
  11260. "description": "创建时间",
  11261. "type": "string"
  11262. },
  11263. "currencyid": {
  11264. "description": "报价货币ID",
  11265. "type": "integer"
  11266. },
  11267. "decimalplace": {
  11268. "description": "报价小数位",
  11269. "type": "integer"
  11270. },
  11271. "endtime": {
  11272. "description": "预售结束时间",
  11273. "type": "string"
  11274. },
  11275. "floorprice": {
  11276. "description": "底价[大宗式竞拍]",
  11277. "type": "number"
  11278. },
  11279. "goodscode": {
  11280. "description": "商品代码(预售)",
  11281. "type": "string"
  11282. },
  11283. "goodsdetail": {
  11284. "description": "详情[大宗]",
  11285. "type": "string"
  11286. },
  11287. "goodsid": {
  11288. "description": "商品ID(自增ID SEQ_GOODS)",
  11289. "type": "integer"
  11290. },
  11291. "goodsname": {
  11292. "description": "商品名称(预售)",
  11293. "type": "string"
  11294. },
  11295. "goodunit": {
  11296. "description": "报价单位",
  11297. "type": "string"
  11298. },
  11299. "goodunitid": {
  11300. "description": "报价单位ID",
  11301. "type": "integer"
  11302. },
  11303. "marketid": {
  11304. "description": "所属市场ID",
  11305. "type": "integer"
  11306. },
  11307. "marketname": {
  11308. "description": "预售市场名称",
  11309. "type": "string"
  11310. },
  11311. "presaledamount": {
  11312. "description": "已预售总金额(预售结束时更新)",
  11313. "type": "number"
  11314. },
  11315. "presaledqty": {
  11316. "description": "已预售量(预售结束时更新)",
  11317. "type": "integer"
  11318. },
  11319. "presalemode": {
  11320. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11321. "type": "integer"
  11322. },
  11323. "presaleqty": {
  11324. "description": "预售数量",
  11325. "type": "integer"
  11326. },
  11327. "refprice": {
  11328. "description": "参考价格[一口价]",
  11329. "type": "number"
  11330. },
  11331. "relatedgoodscode": {
  11332. "description": "商品代码(订单)",
  11333. "type": "string"
  11334. },
  11335. "relatedgoodsid": {
  11336. "description": "关联交易合约ID",
  11337. "type": "integer"
  11338. },
  11339. "relatedgoodsname": {
  11340. "description": "商品名称(订单)",
  11341. "type": "string"
  11342. },
  11343. "relatedmarketid": {
  11344. "description": "关联交易合约市场ID",
  11345. "type": "integer"
  11346. },
  11347. "sellstatus": {
  11348. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11349. "type": "integer"
  11350. },
  11351. "startprice": {
  11352. "description": "起拍价[大宗式竞拍]",
  11353. "type": "number"
  11354. },
  11355. "starttime": {
  11356. "description": "预售开始时间",
  11357. "type": "string"
  11358. },
  11359. "tradedate": {
  11360. "description": "交易日(yyyyMMdd)",
  11361. "type": "string"
  11362. },
  11363. "tradeprice": {
  11364. "description": "成交价[大宗]",
  11365. "type": "number"
  11366. },
  11367. "userid": {
  11368. "description": "卖方用户ID",
  11369. "type": "integer"
  11370. }
  11371. }
  11372. },
  11373. "cptrade.QueryPresaleGoodsExRsp": {
  11374. "type": "object",
  11375. "required": [
  11376. "goodsid"
  11377. ],
  11378. "properties": {
  11379. "attachmenturl": {
  11380. "description": "附件地址",
  11381. "type": "string"
  11382. },
  11383. "createtime": {
  11384. "description": "创建时间",
  11385. "type": "string"
  11386. },
  11387. "endtime": {
  11388. "description": "预售结束时间",
  11389. "type": "string"
  11390. },
  11391. "floorprice": {
  11392. "description": "底价[大宗式竞拍]",
  11393. "type": "number"
  11394. },
  11395. "goodsdetail": {
  11396. "description": "详情[大宗]",
  11397. "type": "string"
  11398. },
  11399. "goodsid": {
  11400. "description": "商品ID(预售)",
  11401. "type": "integer"
  11402. },
  11403. "goodunit": {
  11404. "description": "报价单位",
  11405. "type": "string"
  11406. },
  11407. "marketid": {
  11408. "description": "预售市场ID - 根据预售模式选择市场",
  11409. "type": "integer"
  11410. },
  11411. "presaledamount": {
  11412. "description": "已预售总金额(预售结束时更新)",
  11413. "type": "number"
  11414. },
  11415. "presaledqty": {
  11416. "description": "已预售量(预售结束时更新)",
  11417. "type": "integer"
  11418. },
  11419. "presalemode": {
  11420. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11421. "type": "integer"
  11422. },
  11423. "presaleqty": {
  11424. "description": "预售数量",
  11425. "type": "integer"
  11426. },
  11427. "refprice": {
  11428. "description": "参考价格[一口价]",
  11429. "type": "number"
  11430. },
  11431. "relatedgoodsid": {
  11432. "description": "关联交易合约ID",
  11433. "type": "integer"
  11434. },
  11435. "relatedmarketid": {
  11436. "description": "关联交易合约市场ID",
  11437. "type": "integer"
  11438. },
  11439. "sellstatus": {
  11440. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11441. "type": "integer"
  11442. },
  11443. "startprice": {
  11444. "description": "起拍价[大宗式竞拍]",
  11445. "type": "number"
  11446. },
  11447. "starttime": {
  11448. "description": "预售开始时间",
  11449. "type": "string"
  11450. },
  11451. "tradedate": {
  11452. "description": "交易日(yyyyMMdd)",
  11453. "type": "string"
  11454. },
  11455. "tradeprice": {
  11456. "description": "成交价[大宗]",
  11457. "type": "number"
  11458. }
  11459. }
  11460. },
  11461. "delivery.QueryDeliveryRelationRsp": {
  11462. "type": "object",
  11463. "required": [
  11464. "begindate",
  11465. "enddate",
  11466. "goodsid",
  11467. "mindeliveryqty",
  11468. "xdeliveryratio"
  11469. ],
  11470. "properties": {
  11471. "begindate": {
  11472. "description": "起始日期(yyyyMMdd)",
  11473. "type": "string"
  11474. },
  11475. "buytemplateid": {
  11476. "description": "买履约计划模板ID",
  11477. "type": "integer"
  11478. },
  11479. "deliverygoodscode": {
  11480. "description": "品种代码",
  11481. "type": "string"
  11482. },
  11483. "deliverygoodsid": {
  11484. "description": "交割商品",
  11485. "type": "integer"
  11486. },
  11487. "deliverygoodsname": {
  11488. "description": "品种名称",
  11489. "type": "string"
  11490. },
  11491. "deliverymode": {
  11492. "description": "交割方式 - 1:点选式 2:申报式",
  11493. "type": "integer"
  11494. },
  11495. "deliverypricerule": {
  11496. "description": "交割价规则- 1:行情价 2:建仓价",
  11497. "type": "integer"
  11498. },
  11499. "deliverytype": {
  11500. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11501. "type": "integer"
  11502. },
  11503. "enddate": {
  11504. "description": "结束日期(yyyyMMdd)",
  11505. "type": "string"
  11506. },
  11507. "goodscode": {
  11508. "description": "商品代码",
  11509. "type": "string"
  11510. },
  11511. "goodsid": {
  11512. "description": "交易合约ID",
  11513. "type": "integer"
  11514. },
  11515. "goodsname": {
  11516. "description": "商品名称",
  11517. "type": "string"
  11518. },
  11519. "marketid": {
  11520. "description": "市场ID",
  11521. "type": "integer"
  11522. },
  11523. "mindeliveryqty": {
  11524. "description": "最小交割系数(K)",
  11525. "type": "integer"
  11526. },
  11527. "p2deliveryprice": {
  11528. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11529. "type": "number"
  11530. },
  11531. "p2deliveryratio": {
  11532. "description": "P2合约系数(p)",
  11533. "type": "integer"
  11534. },
  11535. "p2goodsid": {
  11536. "description": "P2合约ID",
  11537. "type": "integer"
  11538. },
  11539. "p2pricemode": {
  11540. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11541. "type": "integer"
  11542. },
  11543. "pdeliveryprice": {
  11544. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11545. "type": "number"
  11546. },
  11547. "pdeliveryratio": {
  11548. "description": "P合约系数(n)",
  11549. "type": "integer"
  11550. },
  11551. "pgoodsid": {
  11552. "description": "P合约ID",
  11553. "type": "integer"
  11554. },
  11555. "ppricemode": {
  11556. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11557. "type": "integer"
  11558. },
  11559. "rratio": {
  11560. "description": "兑换系数(R)",
  11561. "type": "integer"
  11562. },
  11563. "rratio1": {
  11564. "description": "兑换系数(交易合约)(R1)",
  11565. "type": "integer"
  11566. },
  11567. "rratio2": {
  11568. "description": "兑换系数(仓单标准)(R2)",
  11569. "type": "integer"
  11570. },
  11571. "selltemplateid": {
  11572. "description": "卖履约计划模板ID",
  11573. "type": "integer"
  11574. },
  11575. "wrstandardid": {
  11576. "description": "仓单标准ID",
  11577. "type": "integer"
  11578. },
  11579. "xdeliveryratio": {
  11580. "description": "交易合约系数(m)",
  11581. "type": "integer"
  11582. }
  11583. }
  11584. },
  11585. "ermcp.ExposureDetailRsp": {
  11586. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11587. },
  11588. "ermcp.ExposureHedgePosDetailRsp": {
  11589. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11590. },
  11591. "ermcp.ExposureHedgePositionRsp": {
  11592. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11593. },
  11594. "ermcp.ExposureSpotDetailRsp": {
  11595. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11596. },
  11597. "ermcp.ExposureSpotRsp": {
  11598. "$ref": "#/definitions/models.AreaSpotModel"
  11599. },
  11600. "ermcp.HisExposureRsp": {
  11601. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11602. },
  11603. "ermcp.PendingAuditCntRsp": {
  11604. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11605. },
  11606. "ermcp.QryAvalidGPRsp": {
  11607. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11608. },
  11609. "ermcp.QryBusinessDjRsp": {
  11610. "type": "object",
  11611. "properties": {
  11612. "amount": {
  11613. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11614. "type": "number"
  11615. },
  11616. "applyid": {
  11617. "description": "申请人",
  11618. "type": "string"
  11619. },
  11620. "applyname": {
  11621. "description": "申请人名称",
  11622. "type": "string"
  11623. },
  11624. "applystatus": {
  11625. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11626. "type": "integer"
  11627. },
  11628. "applytime": {
  11629. "description": "申请时间",
  11630. "type": "string"
  11631. },
  11632. "attachurl": {
  11633. "description": "附件",
  11634. "type": "string"
  11635. },
  11636. "auditid": {
  11637. "description": "审核人ID",
  11638. "type": "string"
  11639. },
  11640. "auditname": {
  11641. "description": "审核人名称",
  11642. "type": "string"
  11643. },
  11644. "audittime": {
  11645. "description": "审核时间",
  11646. "type": "string"
  11647. },
  11648. "buyusername": {
  11649. "description": "采购方名称",
  11650. "type": "string"
  11651. },
  11652. "contractno": {
  11653. "description": "合同编号",
  11654. "type": "string"
  11655. },
  11656. "contractstatus": {
  11657. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11658. "type": "integer"
  11659. },
  11660. "contracttype": {
  11661. "description": "现货合同类型 - 1:采购 -1:销售",
  11662. "type": "integer"
  11663. },
  11664. "deliverygoodscode": {
  11665. "description": "现货品种代码",
  11666. "type": "string"
  11667. },
  11668. "deliverygoodsid": {
  11669. "description": "现货商品ID",
  11670. "type": "integer"
  11671. },
  11672. "deliverygoodsname": {
  11673. "description": "现货品种名称",
  11674. "type": "string"
  11675. },
  11676. "enumdicname": {
  11677. "description": "单位名称",
  11678. "type": "string"
  11679. },
  11680. "goodscode": {
  11681. "description": "点价合约",
  11682. "type": "string"
  11683. },
  11684. "goodsname": {
  11685. "description": "商品名称",
  11686. "type": "string"
  11687. },
  11688. "operateapplyid": {
  11689. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11690. "type": "string"
  11691. },
  11692. "operateapplytype": {
  11693. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11694. "type": "integer"
  11695. },
  11696. "pricedPrice": {
  11697. "description": "点价价格(非必填)",
  11698. "type": "number"
  11699. },
  11700. "pricedQty": {
  11701. "description": "点价数量(非必填)",
  11702. "type": "number"
  11703. },
  11704. "pricemove": {
  11705. "description": "升贴水",
  11706. "type": "number"
  11707. },
  11708. "pricetype": {
  11709. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11710. "type": "integer"
  11711. },
  11712. "relatedid": {
  11713. "description": "现货合同ID",
  11714. "type": "string"
  11715. },
  11716. "sellusername": {
  11717. "description": "销售方名字",
  11718. "type": "string"
  11719. },
  11720. "userid": {
  11721. "description": "用户ID",
  11722. "type": "integer"
  11723. },
  11724. "wrstandardcode": {
  11725. "description": "品类代码",
  11726. "type": "string"
  11727. },
  11728. "wrstandardid": {
  11729. "description": "品类id",
  11730. "type": "integer"
  11731. },
  11732. "wrstandardname": {
  11733. "description": "品类名称",
  11734. "type": "string"
  11735. }
  11736. }
  11737. },
  11738. "ermcp.QryBussinessFpRsp": {
  11739. "type": "object",
  11740. "properties": {
  11741. "applyid": {
  11742. "description": "申请人",
  11743. "type": "string"
  11744. },
  11745. "applyname": {
  11746. "description": "申请人名称",
  11747. "type": "string"
  11748. },
  11749. "applystatus": {
  11750. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11751. "type": "integer"
  11752. },
  11753. "applytime": {
  11754. "description": "申请时间",
  11755. "type": "string"
  11756. },
  11757. "attachurl": {
  11758. "description": "附件",
  11759. "type": "string"
  11760. },
  11761. "auditid": {
  11762. "description": "审核人ID",
  11763. "type": "string"
  11764. },
  11765. "auditname": {
  11766. "description": "审核人名称",
  11767. "type": "string"
  11768. },
  11769. "audittime": {
  11770. "description": "审核时间",
  11771. "type": "string"
  11772. },
  11773. "buyusername": {
  11774. "description": "采购方名称",
  11775. "type": "string"
  11776. },
  11777. "contractno": {
  11778. "description": "合同编号",
  11779. "type": "string"
  11780. },
  11781. "contractstatus": {
  11782. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11783. "type": "integer"
  11784. },
  11785. "contracttype": {
  11786. "description": "现货合同类型 - 1:采购 -1:销售",
  11787. "type": "integer"
  11788. },
  11789. "deliverygoodscode": {
  11790. "description": "现货品种代码",
  11791. "type": "string"
  11792. },
  11793. "deliverygoodsid": {
  11794. "description": "现货商品ID",
  11795. "type": "integer"
  11796. },
  11797. "deliverygoodsname": {
  11798. "description": "现货品种名称",
  11799. "type": "string"
  11800. },
  11801. "enumdicname": {
  11802. "description": "单位名称",
  11803. "type": "string"
  11804. },
  11805. "goodscode": {
  11806. "description": "点价合约",
  11807. "type": "string"
  11808. },
  11809. "goodsname": {
  11810. "description": "商品名称",
  11811. "type": "string"
  11812. },
  11813. "invoiceAmount": {
  11814. "description": "已开收票金额(销售为开票,采购为收票)",
  11815. "type": "number"
  11816. },
  11817. "operateapplyid": {
  11818. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11819. "type": "string"
  11820. },
  11821. "operateapplytype": {
  11822. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11823. "type": "integer"
  11824. },
  11825. "pricemove": {
  11826. "description": "升贴水",
  11827. "type": "number"
  11828. },
  11829. "pricetype": {
  11830. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11831. "type": "integer"
  11832. },
  11833. "relatedid": {
  11834. "description": "现货合同ID",
  11835. "type": "string"
  11836. },
  11837. "sellusername": {
  11838. "description": "销售方名字",
  11839. "type": "string"
  11840. },
  11841. "userid": {
  11842. "description": "用户ID",
  11843. "type": "integer"
  11844. },
  11845. "wrstandardcode": {
  11846. "description": "品类代码",
  11847. "type": "string"
  11848. },
  11849. "wrstandardid": {
  11850. "description": "品类id",
  11851. "type": "integer"
  11852. },
  11853. "wrstandardname": {
  11854. "description": "品类名称",
  11855. "type": "string"
  11856. }
  11857. }
  11858. },
  11859. "ermcp.QryBussinessJsExRsp": {
  11860. "type": "object",
  11861. "properties": {
  11862. "applyid": {
  11863. "description": "申请人",
  11864. "type": "string"
  11865. },
  11866. "applyname": {
  11867. "description": "申请人名称",
  11868. "type": "string"
  11869. },
  11870. "applystatus": {
  11871. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11872. "type": "integer"
  11873. },
  11874. "applytime": {
  11875. "description": "申请时间",
  11876. "type": "string"
  11877. },
  11878. "attachurl": {
  11879. "description": "附件",
  11880. "type": "string"
  11881. },
  11882. "auditid": {
  11883. "description": "审核人ID",
  11884. "type": "string"
  11885. },
  11886. "auditname": {
  11887. "description": "审核人名称",
  11888. "type": "string"
  11889. },
  11890. "audittime": {
  11891. "description": "审核时间",
  11892. "type": "string"
  11893. },
  11894. "buyusername": {
  11895. "description": "采购方名称",
  11896. "type": "string"
  11897. },
  11898. "contractno": {
  11899. "description": "合同编号",
  11900. "type": "string"
  11901. },
  11902. "contractstatus": {
  11903. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11904. "type": "integer"
  11905. },
  11906. "contracttype": {
  11907. "description": "现货合同类型 - 1:采购 -1:销售",
  11908. "type": "integer"
  11909. },
  11910. "deliverygoodscode": {
  11911. "description": "现货品种代码",
  11912. "type": "string"
  11913. },
  11914. "deliverygoodsid": {
  11915. "description": "现货商品ID",
  11916. "type": "integer"
  11917. },
  11918. "deliverygoodsname": {
  11919. "description": "现货品种名称",
  11920. "type": "string"
  11921. },
  11922. "enumdicname": {
  11923. "description": "单位名称",
  11924. "type": "string"
  11925. },
  11926. "goodscode": {
  11927. "description": "点价合约",
  11928. "type": "string"
  11929. },
  11930. "goodsname": {
  11931. "description": "商品名称",
  11932. "type": "string"
  11933. },
  11934. "operateapplyid": {
  11935. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11936. "type": "string"
  11937. },
  11938. "operateapplytype": {
  11939. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11940. "type": "integer"
  11941. },
  11942. "pricemove": {
  11943. "description": "升贴水",
  11944. "type": "number"
  11945. },
  11946. "pricetype": {
  11947. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11948. "type": "integer"
  11949. },
  11950. "reckontype": {
  11951. "description": "结算类型",
  11952. "type": "string"
  11953. },
  11954. "reckonvalue": {
  11955. "description": "值",
  11956. "type": "number"
  11957. },
  11958. "relatedid": {
  11959. "description": "现货合同ID",
  11960. "type": "string"
  11961. },
  11962. "sellusername": {
  11963. "description": "销售方名字",
  11964. "type": "string"
  11965. },
  11966. "userid": {
  11967. "description": "用户ID",
  11968. "type": "integer"
  11969. },
  11970. "wrstandardcode": {
  11971. "description": "品类代码",
  11972. "type": "string"
  11973. },
  11974. "wrstandardid": {
  11975. "description": "品类id",
  11976. "type": "integer"
  11977. },
  11978. "wrstandardname": {
  11979. "description": "品类名称",
  11980. "type": "string"
  11981. }
  11982. }
  11983. },
  11984. "ermcp.QryBussinessJsRsp": {
  11985. "type": "object",
  11986. "properties": {
  11987. "addmargin": {
  11988. "description": "追加保证金(非必填)",
  11989. "type": "number"
  11990. },
  11991. "applyid": {
  11992. "description": "申请人",
  11993. "type": "string"
  11994. },
  11995. "applyname": {
  11996. "description": "申请人名称",
  11997. "type": "string"
  11998. },
  11999. "applystatus": {
  12000. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12001. "type": "integer"
  12002. },
  12003. "applytime": {
  12004. "description": "申请时间",
  12005. "type": "string"
  12006. },
  12007. "attachurl": {
  12008. "description": "附件",
  12009. "type": "string"
  12010. },
  12011. "auditid": {
  12012. "description": "审核人ID",
  12013. "type": "string"
  12014. },
  12015. "auditname": {
  12016. "description": "审核人名称",
  12017. "type": "string"
  12018. },
  12019. "audittime": {
  12020. "description": "审核时间",
  12021. "type": "string"
  12022. },
  12023. "buyusername": {
  12024. "description": "采购方名称",
  12025. "type": "string"
  12026. },
  12027. "contractno": {
  12028. "description": "合同编号",
  12029. "type": "string"
  12030. },
  12031. "contractstatus": {
  12032. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12033. "type": "integer"
  12034. },
  12035. "contracttype": {
  12036. "description": "现货合同类型 - 1:采购 -1:销售",
  12037. "type": "integer"
  12038. },
  12039. "decmargin": {
  12040. "description": "减少保证金(非必填)",
  12041. "type": "number"
  12042. },
  12043. "deliverygoodscode": {
  12044. "description": "现货品种代码",
  12045. "type": "string"
  12046. },
  12047. "deliverygoodsid": {
  12048. "description": "现货商品ID",
  12049. "type": "integer"
  12050. },
  12051. "deliverygoodsname": {
  12052. "description": "现货品种名称",
  12053. "type": "string"
  12054. },
  12055. "enumdicname": {
  12056. "description": "单位名称",
  12057. "type": "string"
  12058. },
  12059. "goodscode": {
  12060. "description": "点价合约",
  12061. "type": "string"
  12062. },
  12063. "goodsname": {
  12064. "description": "商品名称",
  12065. "type": "string"
  12066. },
  12067. "operateapplyid": {
  12068. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12069. "type": "string"
  12070. },
  12071. "operateapplytype": {
  12072. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12073. "type": "integer"
  12074. },
  12075. "pricemove": {
  12076. "description": "升贴水",
  12077. "type": "number"
  12078. },
  12079. "pricetype": {
  12080. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12081. "type": "integer"
  12082. },
  12083. "reckonadjustamount": {
  12084. "description": "结算调整金额(非必填)",
  12085. "type": "number"
  12086. },
  12087. "reckonosamount": {
  12088. "description": "结算溢短金额(非必填)",
  12089. "type": "number"
  12090. },
  12091. "reckonotheramount": {
  12092. "description": "结算其他费用(非必填)",
  12093. "type": "number"
  12094. },
  12095. "reckonrealqty": {
  12096. "description": "结算实际数量(非必填)",
  12097. "type": "number"
  12098. },
  12099. "relatedid": {
  12100. "description": "现货合同ID",
  12101. "type": "string"
  12102. },
  12103. "sellusername": {
  12104. "description": "销售方名字",
  12105. "type": "string"
  12106. },
  12107. "userid": {
  12108. "description": "用户ID",
  12109. "type": "integer"
  12110. },
  12111. "wrstandardcode": {
  12112. "description": "品类代码",
  12113. "type": "string"
  12114. },
  12115. "wrstandardid": {
  12116. "description": "品类id",
  12117. "type": "integer"
  12118. },
  12119. "wrstandardname": {
  12120. "description": "品类名称",
  12121. "type": "string"
  12122. }
  12123. }
  12124. },
  12125. "ermcp.QryBussinessKxRsp": {
  12126. "type": "object",
  12127. "properties": {
  12128. "applyid": {
  12129. "description": "申请人",
  12130. "type": "string"
  12131. },
  12132. "applyname": {
  12133. "description": "申请人名称",
  12134. "type": "string"
  12135. },
  12136. "applystatus": {
  12137. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12138. "type": "integer"
  12139. },
  12140. "applytime": {
  12141. "description": "申请时间",
  12142. "type": "string"
  12143. },
  12144. "attachurl": {
  12145. "description": "附件",
  12146. "type": "string"
  12147. },
  12148. "auditid": {
  12149. "description": "审核人ID",
  12150. "type": "string"
  12151. },
  12152. "auditname": {
  12153. "description": "审核人名称",
  12154. "type": "string"
  12155. },
  12156. "audittime": {
  12157. "description": "审核时间",
  12158. "type": "string"
  12159. },
  12160. "buyusername": {
  12161. "description": "采购方名称",
  12162. "type": "string"
  12163. },
  12164. "contractno": {
  12165. "description": "合同编号",
  12166. "type": "string"
  12167. },
  12168. "contractstatus": {
  12169. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12170. "type": "integer"
  12171. },
  12172. "contracttype": {
  12173. "description": "现货合同类型 - 1:采购 -1:销售",
  12174. "type": "integer"
  12175. },
  12176. "deductamount": {
  12177. "description": "退款(非必填)",
  12178. "type": "number"
  12179. },
  12180. "deliverygoodscode": {
  12181. "description": "现货品种代码",
  12182. "type": "string"
  12183. },
  12184. "deliverygoodsid": {
  12185. "description": "现货商品ID",
  12186. "type": "integer"
  12187. },
  12188. "deliverygoodsname": {
  12189. "description": "现货品种名称",
  12190. "type": "string"
  12191. },
  12192. "enumdicname": {
  12193. "description": "单位名称",
  12194. "type": "string"
  12195. },
  12196. "goodscode": {
  12197. "description": "点价合约",
  12198. "type": "string"
  12199. },
  12200. "goodsname": {
  12201. "description": "商品名称",
  12202. "type": "string"
  12203. },
  12204. "kxtype": {
  12205. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12206. "type": "integer"
  12207. },
  12208. "operateapplyid": {
  12209. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12210. "type": "string"
  12211. },
  12212. "operateapplytype": {
  12213. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12214. "type": "integer"
  12215. },
  12216. "payamount": {
  12217. "description": "收付款(非必填)",
  12218. "type": "number"
  12219. },
  12220. "pricemove": {
  12221. "description": "升贴水",
  12222. "type": "number"
  12223. },
  12224. "pricetype": {
  12225. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12226. "type": "integer"
  12227. },
  12228. "relatedid": {
  12229. "description": "现货合同ID",
  12230. "type": "string"
  12231. },
  12232. "sellusername": {
  12233. "description": "销售方名字",
  12234. "type": "string"
  12235. },
  12236. "userid": {
  12237. "description": "用户ID",
  12238. "type": "integer"
  12239. },
  12240. "wrstandardcode": {
  12241. "description": "品类代码",
  12242. "type": "string"
  12243. },
  12244. "wrstandardid": {
  12245. "description": "品类id",
  12246. "type": "integer"
  12247. },
  12248. "wrstandardname": {
  12249. "description": "品类名称",
  12250. "type": "string"
  12251. }
  12252. }
  12253. },
  12254. "ermcp.QryGGCovertCfgRsp": {
  12255. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12256. },
  12257. "ermcp.QryMGChangeLogRsp": {
  12258. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12259. },
  12260. "ermcp.QryMiddleGoodsDetailRsp": {
  12261. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12262. },
  12263. "ermcp.QryMiddleGoodsRsp": {
  12264. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12265. },
  12266. "ermcp.QryOPLogRsp": {
  12267. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12268. },
  12269. "ermcp.QryUserInfoRsp": {
  12270. "$ref": "#/definitions/models.ErmcpUserModel"
  12271. },
  12272. "ermcp.QryWarehouseRsp": {
  12273. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12274. },
  12275. "ermcp.QueryErmcpTradePositionRsp": {
  12276. "type": "object",
  12277. "properties": {
  12278. "agreeunit": {
  12279. "description": "合约单位",
  12280. "type": "number"
  12281. },
  12282. "buyorsell": {
  12283. "description": "方向 - 0:买 1:卖",
  12284. "type": "integer"
  12285. },
  12286. "curpositionqty": {
  12287. "description": "持仓(总仓数量, 期末头寸)",
  12288. "type": "integer"
  12289. },
  12290. "curtdposition": {
  12291. "description": "今仓数量(期末今日头寸)",
  12292. "type": "integer"
  12293. },
  12294. "curtdpositionenabled": {
  12295. "description": "今仓可用",
  12296. "type": "integer"
  12297. },
  12298. "decimalplace": {
  12299. "description": "报价小数位",
  12300. "type": "integer"
  12301. },
  12302. "enableqty": {
  12303. "description": "可用(总仓可用)",
  12304. "type": "integer"
  12305. },
  12306. "exexchangename": {
  12307. "description": "外部交易所名称",
  12308. "type": "string"
  12309. },
  12310. "goodscode": {
  12311. "description": "商品代码(内部)",
  12312. "type": "string"
  12313. },
  12314. "goodsid": {
  12315. "description": "商品ID(自增ID SEQ_GOODS)",
  12316. "type": "integer"
  12317. },
  12318. "goodsname": {
  12319. "description": "商品名称",
  12320. "type": "string"
  12321. },
  12322. "last": {
  12323. "description": "现价",
  12324. "type": "number"
  12325. },
  12326. "marketid": {
  12327. "description": "所属市场ID",
  12328. "type": "integer"
  12329. },
  12330. "openaverageprice": {
  12331. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12332. "type": "number"
  12333. },
  12334. "opencost": {
  12335. "description": "开仓成本",
  12336. "type": "number"
  12337. },
  12338. "openpl": {
  12339. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12340. "type": "number"
  12341. },
  12342. "outgoodscode": {
  12343. "description": "商品代码(外部)",
  12344. "type": "string"
  12345. },
  12346. "positionaverageprice": {
  12347. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12348. "type": "number"
  12349. },
  12350. "positioncost": {
  12351. "description": "持仓成本",
  12352. "type": "number"
  12353. },
  12354. "positionpl": {
  12355. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12356. "type": "number"
  12357. },
  12358. "positionplrate": {
  12359. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12360. "type": "number"
  12361. },
  12362. "usedmargin": {
  12363. "description": "占用保证金",
  12364. "type": "number"
  12365. }
  12366. }
  12367. },
  12368. "ermcp.RealtimeExposurePositionRsp": {
  12369. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12370. },
  12371. "ermcp.RealtimeExposureRsp": {
  12372. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12373. },
  12374. "erms2.QueryArbitrageStrategyRsp": {
  12375. "type": "object",
  12376. "required": [
  12377. "asapplyid"
  12378. ],
  12379. "properties": {
  12380. "applybasis": {
  12381. "description": "申请基差",
  12382. "type": "number"
  12383. },
  12384. "asapplyid": {
  12385. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12386. "type": "string"
  12387. },
  12388. "asname": {
  12389. "description": "策略名称",
  12390. "type": "string"
  12391. },
  12392. "asno": {
  12393. "description": "策略编号",
  12394. "type": "string"
  12395. },
  12396. "basischangepl": {
  12397. "description": "基差变动损益[结算更新]",
  12398. "type": "number"
  12399. },
  12400. "biztype": {
  12401. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12402. "type": "integer"
  12403. },
  12404. "closetradedate": {
  12405. "description": "完结交易日(yyyyMMdd)",
  12406. "type": "string"
  12407. },
  12408. "curbasis": {
  12409. "description": "当前基差[结算更新]",
  12410. "type": "number"
  12411. },
  12412. "deliverygoodsid": {
  12413. "description": "现货品种ID",
  12414. "type": "integer"
  12415. },
  12416. "futureavgprice": {
  12417. "description": "期货建仓均价",
  12418. "type": "number"
  12419. },
  12420. "futurecloseamount": {
  12421. "description": "期货平仓金额",
  12422. "type": "number"
  12423. },
  12424. "futurecloseqty": {
  12425. "description": "期货平仓数量",
  12426. "type": "number"
  12427. },
  12428. "futureopenamount": {
  12429. "description": "期货开仓金额",
  12430. "type": "number"
  12431. },
  12432. "futureopenqty": {
  12433. "description": "期货开仓数量",
  12434. "type": "number"
  12435. },
  12436. "futurepl": {
  12437. "description": "期货总盈亏[结算更新]",
  12438. "type": "number"
  12439. },
  12440. "futureqty": {
  12441. "description": "期货持仓数量",
  12442. "type": "number"
  12443. },
  12444. "futurequote": {
  12445. "description": "期货额度",
  12446. "type": "number"
  12447. },
  12448. "goodsgroupid": {
  12449. "description": "期货品种ID",
  12450. "type": "integer"
  12451. },
  12452. "marketid": {
  12453. "description": "市场ID",
  12454. "type": "integer"
  12455. },
  12456. "netexposure": {
  12457. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12458. "type": "number"
  12459. },
  12460. "netexposurepl": {
  12461. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12462. "type": "number"
  12463. },
  12464. "netexposurerate": {
  12465. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12466. "type": "number"
  12467. },
  12468. "openbasis": {
  12469. "description": "建仓基差",
  12470. "type": "number"
  12471. },
  12472. "pricedspotqty": {
  12473. "description": "已定价现货数量",
  12474. "type": "number"
  12475. },
  12476. "pricedspotqtynotax": {
  12477. "description": "已定价现货不含税数量",
  12478. "type": "number"
  12479. },
  12480. "remark": {
  12481. "description": "备注",
  12482. "type": "string"
  12483. },
  12484. "spotavgprice": {
  12485. "description": "现货均价",
  12486. "type": "number"
  12487. },
  12488. "spotbuyamount": {
  12489. "description": "现货采购金额",
  12490. "type": "number"
  12491. },
  12492. "spotbuyqty": {
  12493. "description": "现货采购数量",
  12494. "type": "number"
  12495. },
  12496. "spotpl": {
  12497. "description": "现货总盈亏[结算更新]",
  12498. "type": "number"
  12499. },
  12500. "spotquota": {
  12501. "description": "现货额度",
  12502. "type": "number"
  12503. },
  12504. "spotsellamount": {
  12505. "description": "现货销售金额",
  12506. "type": "number"
  12507. },
  12508. "spotsellqty": {
  12509. "description": "现货销售数量",
  12510. "type": "number"
  12511. },
  12512. "spotusedquota": {
  12513. "description": "现货占用资金",
  12514. "type": "number"
  12515. },
  12516. "strategystatus": {
  12517. "description": "策略状态 - 0:未结束 1:已结束",
  12518. "type": "integer"
  12519. },
  12520. "totalpl": {
  12521. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12522. "type": "number"
  12523. },
  12524. "tradedate": {
  12525. "description": "交易日(yyyyMMdd)",
  12526. "type": "string"
  12527. },
  12528. "updatetime": {
  12529. "description": "更新时间",
  12530. "type": "string"
  12531. },
  12532. "usedquota": {
  12533. "description": "已占用资金",
  12534. "type": "number"
  12535. },
  12536. "userid": {
  12537. "description": "所属机构",
  12538. "type": "integer"
  12539. }
  12540. }
  12541. },
  12542. "erms2.QueryInnerTradeDetailRsp": {
  12543. "type": "object",
  12544. "required": [
  12545. "asapplyid",
  12546. "buyorsell",
  12547. "goodscode",
  12548. "goodsgroupid",
  12549. "goodsgroupname",
  12550. "goodsname",
  12551. "tradeid"
  12552. ],
  12553. "properties": {
  12554. "accountid": {
  12555. "description": "账号ID",
  12556. "type": "integer"
  12557. },
  12558. "agreeunit": {
  12559. "description": "合约单位",
  12560. "type": "number"
  12561. },
  12562. "asapplyid": {
  12563. "description": "策略申请ID",
  12564. "type": "integer"
  12565. },
  12566. "asname": {
  12567. "description": "策略名称",
  12568. "type": "string"
  12569. },
  12570. "asno": {
  12571. "description": "策略编号",
  12572. "type": "string"
  12573. },
  12574. "buyorsell": {
  12575. "description": "方向 - 0:买 1:卖",
  12576. "type": "integer"
  12577. },
  12578. "channelbuildtype": {
  12579. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12580. "type": "integer"
  12581. },
  12582. "closetype": {
  12583. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12584. "type": "integer"
  12585. },
  12586. "decimalplace": {
  12587. "description": "报价小数位",
  12588. "type": "integer"
  12589. },
  12590. "detailtype": {
  12591. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12592. "type": "integer"
  12593. },
  12594. "exexchangecode": {
  12595. "description": "外部交易所代码",
  12596. "type": "string"
  12597. },
  12598. "exexchangename": {
  12599. "description": "外部交易所名称",
  12600. "type": "string"
  12601. },
  12602. "goodscode": {
  12603. "description": "商品代码(合约)",
  12604. "type": "string"
  12605. },
  12606. "goodsgroupid": {
  12607. "description": "商品组ID(品种ID)",
  12608. "type": "integer"
  12609. },
  12610. "goodsgroupname": {
  12611. "description": "商品组名称(品种)",
  12612. "type": "string"
  12613. },
  12614. "goodsid": {
  12615. "description": "商品ID",
  12616. "type": "integer"
  12617. },
  12618. "goodsname": {
  12619. "description": "商品名称(合约)",
  12620. "type": "string"
  12621. },
  12622. "goodunit": {
  12623. "description": "报价单位",
  12624. "type": "string"
  12625. },
  12626. "marketid": {
  12627. "description": "市场ID",
  12628. "type": "integer"
  12629. },
  12630. "orderid": {
  12631. "description": "委托单号",
  12632. "type": "string"
  12633. },
  12634. "outgoodscode": {
  12635. "description": "商品代码(外部)",
  12636. "type": "string"
  12637. },
  12638. "relatedouttradeid": {
  12639. "description": "关联外部成交单ID",
  12640. "type": "string"
  12641. },
  12642. "remark": {
  12643. "description": "备注",
  12644. "type": "string"
  12645. },
  12646. "spotcontractid": {
  12647. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12648. "type": "integer"
  12649. },
  12650. "spotcontractno": {
  12651. "description": "现货合同编号",
  12652. "type": "string"
  12653. },
  12654. "tradeid": {
  12655. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12656. "type": "string"
  12657. },
  12658. "tradeprice": {
  12659. "description": "成交价格",
  12660. "type": "number"
  12661. },
  12662. "tradeqty": {
  12663. "description": "成交数量",
  12664. "type": "integer"
  12665. },
  12666. "tradetime": {
  12667. "description": "成交时间",
  12668. "type": "string"
  12669. },
  12670. "updatetime": {
  12671. "description": "更新时间",
  12672. "type": "string"
  12673. }
  12674. }
  12675. },
  12676. "erms2.QuerySpotContractRsp": {
  12677. "type": "object",
  12678. "required": [
  12679. "spotcontractid"
  12680. ],
  12681. "properties": {
  12682. "accountid": {
  12683. "description": "资金账户ID",
  12684. "type": "integer"
  12685. },
  12686. "areauserid": {
  12687. "description": "所属机构",
  12688. "type": "integer"
  12689. },
  12690. "closedate": {
  12691. "description": "终止日期",
  12692. "type": "string"
  12693. },
  12694. "closeremark": {
  12695. "description": "结束备注",
  12696. "type": "string"
  12697. },
  12698. "closetradedate": {
  12699. "description": "完结交易日(yyyyMMdd)",
  12700. "type": "string"
  12701. },
  12702. "closetype": {
  12703. "description": "终止类型 - 1:违约 2:提前终止",
  12704. "type": "integer"
  12705. },
  12706. "contractamount": {
  12707. "description": "合同金额",
  12708. "type": "number"
  12709. },
  12710. "contractattachment": {
  12711. "description": "合同附件",
  12712. "type": "string"
  12713. },
  12714. "contractno": {
  12715. "description": "现货合同编号",
  12716. "type": "string"
  12717. },
  12718. "contractqty": {
  12719. "description": "合同数量(数值) (用于计算)",
  12720. "type": "number"
  12721. },
  12722. "contractqtychar": {
  12723. "description": "合同数量\\已订价数量 (用于显示)",
  12724. "type": "string"
  12725. },
  12726. "contractstatus": {
  12727. "description": "合同状态 - 0:未结束 1:已结束",
  12728. "type": "integer"
  12729. },
  12730. "contracttype": {
  12731. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12732. "type": "integer"
  12733. },
  12734. "customeraccountid": {
  12735. "description": "客户资金账户ID",
  12736. "type": "integer"
  12737. },
  12738. "customeruserid": {
  12739. "description": "客户ID",
  12740. "type": "integer"
  12741. },
  12742. "deliverygoodsdesc": {
  12743. "description": "品种说明",
  12744. "type": "string"
  12745. },
  12746. "deliverygoodsid": {
  12747. "description": "现货品种ID",
  12748. "type": "integer"
  12749. },
  12750. "handlestatus": {
  12751. "description": "处理状态",
  12752. "type": "integer"
  12753. },
  12754. "invoiceatt": {
  12755. "description": "发票附件",
  12756. "type": "string"
  12757. },
  12758. "invoicedatetime": {
  12759. "description": "开收票更新时间",
  12760. "type": "string"
  12761. },
  12762. "invoiceopentime": {
  12763. "description": "开票时间",
  12764. "type": "string"
  12765. },
  12766. "invoiceremark": {
  12767. "description": "发票备注",
  12768. "type": "string"
  12769. },
  12770. "invoicestatus": {
  12771. "description": "开收票状态 - 0:未开票 1:已开票",
  12772. "type": "integer"
  12773. },
  12774. "lastdate": {
  12775. "description": "交货时间",
  12776. "type": "string"
  12777. },
  12778. "marketid": {
  12779. "description": "市场ID",
  12780. "type": "integer"
  12781. },
  12782. "paydatetime": {
  12783. "description": "收付款更新时间",
  12784. "type": "string"
  12785. },
  12786. "payremark": {
  12787. "description": "收付款备注",
  12788. "type": "string"
  12789. },
  12790. "paystatus": {
  12791. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12792. "type": "integer"
  12793. },
  12794. "positionqty": {
  12795. "description": "头寸数量 - 合同数量去小数部分",
  12796. "type": "integer"
  12797. },
  12798. "producttype": {
  12799. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12800. "type": "integer"
  12801. },
  12802. "relatedqty": {
  12803. "description": "已关联数量",
  12804. "type": "number"
  12805. },
  12806. "relatedstatus": {
  12807. "description": "关联完结状态 - 0:未结束 1:已结束",
  12808. "type": "integer"
  12809. },
  12810. "remark": {
  12811. "description": "备注",
  12812. "type": "string"
  12813. },
  12814. "signdate": {
  12815. "description": "签订日期",
  12816. "type": "string"
  12817. },
  12818. "spotcontractid": {
  12819. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12820. "type": "string"
  12821. },
  12822. "spotdatetime": {
  12823. "description": "收发货更新时间",
  12824. "type": "string"
  12825. },
  12826. "spotprice": {
  12827. "description": "价格",
  12828. "type": "number"
  12829. },
  12830. "spotremark": {
  12831. "description": "收发货备注",
  12832. "type": "string"
  12833. },
  12834. "spotstatus": {
  12835. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12836. "type": "integer"
  12837. },
  12838. "tradedate": {
  12839. "description": "交易日(yyyyMMdd)",
  12840. "type": "string"
  12841. },
  12842. "userid": {
  12843. "description": "业务员用户ID",
  12844. "type": "integer"
  12845. },
  12846. "warehouseid": {
  12847. "description": "仓库ID",
  12848. "type": "integer"
  12849. },
  12850. "wrfactortypeid": {
  12851. "description": "仓单要素类型ID",
  12852. "type": "integer"
  12853. },
  12854. "wrstandardid": {
  12855. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12856. "type": "integer"
  12857. }
  12858. }
  12859. },
  12860. "erms3.AddErms2ASApplyReq": {
  12861. "type": "object",
  12862. "required": [
  12863. "asapplyid"
  12864. ],
  12865. "properties": {
  12866. "applybasis": {
  12867. "description": "申请基差",
  12868. "type": "number"
  12869. },
  12870. "applystatus": {
  12871. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12872. "type": "integer"
  12873. },
  12874. "asapplyid": {
  12875. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12876. "type": "integer"
  12877. },
  12878. "asname": {
  12879. "description": "策略名称",
  12880. "type": "string"
  12881. },
  12882. "asno": {
  12883. "description": "策略编号",
  12884. "type": "string"
  12885. },
  12886. "auditid": {
  12887. "description": "审核人",
  12888. "type": "integer"
  12889. },
  12890. "auditremark": {
  12891. "description": "审核备注",
  12892. "type": "string"
  12893. },
  12894. "audittime": {
  12895. "description": "审核时间",
  12896. "type": "string"
  12897. },
  12898. "biztype": {
  12899. "description": "业务类型 - 1:正向套利 2:反向套利",
  12900. "type": "integer"
  12901. },
  12902. "createtime": {
  12903. "description": "创建时间",
  12904. "type": "string"
  12905. },
  12906. "creatorid": {
  12907. "description": "创建人",
  12908. "type": "integer"
  12909. },
  12910. "deliverygoodsid": {
  12911. "description": "现货品种ID",
  12912. "type": "integer"
  12913. },
  12914. "futurequote": {
  12915. "description": "期货额度",
  12916. "type": "number"
  12917. },
  12918. "goodsgroupid": {
  12919. "description": "期货品种ID",
  12920. "type": "integer"
  12921. },
  12922. "marketid": {
  12923. "description": "市场ID",
  12924. "type": "integer"
  12925. },
  12926. "remark": {
  12927. "description": "备注",
  12928. "type": "string"
  12929. },
  12930. "spotquota": {
  12931. "description": "现货额度",
  12932. "type": "number"
  12933. },
  12934. "tradedate": {
  12935. "description": "交易日(yyyyMMdd)",
  12936. "type": "string"
  12937. },
  12938. "userid": {
  12939. "description": "所属机构",
  12940. "type": "integer"
  12941. }
  12942. }
  12943. },
  12944. "erms3.AddErms2SpotTradeApplyReq": {
  12945. "type": "object",
  12946. "required": [
  12947. "spottradeid"
  12948. ],
  12949. "properties": {
  12950. "applyjsondetail": {
  12951. "description": "申请明细(JSON)",
  12952. "type": "string"
  12953. },
  12954. "applystatus": {
  12955. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12956. "type": "integer"
  12957. },
  12958. "areauserid": {
  12959. "description": "所属机构",
  12960. "type": "integer"
  12961. },
  12962. "auditid": {
  12963. "description": "审核人",
  12964. "type": "integer"
  12965. },
  12966. "auditremark": {
  12967. "description": "审核备注",
  12968. "type": "string"
  12969. },
  12970. "audittime": {
  12971. "description": "审核时间",
  12972. "type": "string"
  12973. },
  12974. "createtime": {
  12975. "description": "创建时间",
  12976. "type": "string"
  12977. },
  12978. "creatorid": {
  12979. "description": "创建人",
  12980. "type": "integer"
  12981. },
  12982. "deliverygoodsid": {
  12983. "description": "现货品种ID",
  12984. "type": "integer"
  12985. },
  12986. "futureaccountid": {
  12987. "description": "期货资金账户",
  12988. "type": "integer"
  12989. },
  12990. "goodsgroupid": {
  12991. "description": "期货品种",
  12992. "type": "integer"
  12993. },
  12994. "marketid": {
  12995. "description": "市场ID",
  12996. "type": "integer"
  12997. },
  12998. "remark": {
  12999. "description": "备注",
  13000. "type": "string"
  13001. },
  13002. "spotaccountid": {
  13003. "description": "现货资金账户",
  13004. "type": "integer"
  13005. },
  13006. "spottradeid": {
  13007. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13008. "type": "integer"
  13009. },
  13010. "spottradename": {
  13011. "description": "业务名称",
  13012. "type": "string"
  13013. },
  13014. "spottradeno": {
  13015. "description": "业务编号",
  13016. "type": "string"
  13017. },
  13018. "tradedate": {
  13019. "description": "交易日(yyyyMMdd)",
  13020. "type": "string"
  13021. },
  13022. "wrstandardid": {
  13023. "description": "仓单标准ID",
  13024. "type": "integer"
  13025. }
  13026. }
  13027. },
  13028. "erms3.AddSpotContractApplyReq": {
  13029. "type": "object",
  13030. "required": [
  13031. "accountid",
  13032. "areauserid",
  13033. "contractno",
  13034. "contracttype",
  13035. "customeraccountid",
  13036. "customeruserid",
  13037. "details",
  13038. "orimargin",
  13039. "signdate"
  13040. ],
  13041. "properties": {
  13042. "accountid": {
  13043. "description": "资金账户ID",
  13044. "type": "integer"
  13045. },
  13046. "areauserid": {
  13047. "description": "所属机构",
  13048. "type": "integer"
  13049. },
  13050. "contractattachment": {
  13051. "description": "合同附件",
  13052. "type": "string"
  13053. },
  13054. "contractno": {
  13055. "description": "现货合同编号",
  13056. "type": "string"
  13057. },
  13058. "contracttype": {
  13059. "description": "现货合同类型 - 1:采购 -1:销售",
  13060. "type": "integer"
  13061. },
  13062. "creatorid": {
  13063. "description": "申请人",
  13064. "type": "integer"
  13065. },
  13066. "customeraccountid": {
  13067. "description": "客户资金账户ID",
  13068. "type": "integer"
  13069. },
  13070. "customeruserid": {
  13071. "description": "客户ID",
  13072. "type": "integer"
  13073. },
  13074. "details": {
  13075. "description": "明细",
  13076. "type": "array",
  13077. "items": {
  13078. "$ref": "#/definitions/erms3.SoptContractDetail"
  13079. }
  13080. },
  13081. "orimargin": {
  13082. "description": "初始保证金",
  13083. "type": "number"
  13084. },
  13085. "remark": {
  13086. "description": "备注",
  13087. "type": "string"
  13088. },
  13089. "signdate": {
  13090. "description": "签订日期",
  13091. "type": "string"
  13092. }
  13093. }
  13094. },
  13095. "erms3.AddSpotContractApplyRsp": {
  13096. "type": "object",
  13097. "required": [
  13098. "contractno"
  13099. ],
  13100. "properties": {
  13101. "contractno": {
  13102. "description": "现货合同编号",
  13103. "type": "string"
  13104. },
  13105. "spotcontractid": {
  13106. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13107. "type": "integer"
  13108. }
  13109. }
  13110. },
  13111. "erms3.AddUserInfoApplyReq": {
  13112. "type": "object",
  13113. "required": [
  13114. "userid"
  13115. ],
  13116. "properties": {
  13117. "accountid": {
  13118. "description": "交易系统帐号Id (加密存储)",
  13119. "type": "integer"
  13120. },
  13121. "areacode": {
  13122. "description": "机构代码",
  13123. "type": "string"
  13124. },
  13125. "areaid": {
  13126. "description": "机构Id",
  13127. "type": "integer"
  13128. },
  13129. "attachment1": {
  13130. "description": "附件1",
  13131. "type": "string"
  13132. },
  13133. "attachment2": {
  13134. "description": "附件2",
  13135. "type": "string"
  13136. },
  13137. "attachment3": {
  13138. "description": "附件3",
  13139. "type": "string"
  13140. },
  13141. "attachment4": {
  13142. "description": "附件4",
  13143. "type": "string"
  13144. },
  13145. "attachment5": {
  13146. "description": "附件5",
  13147. "type": "string"
  13148. },
  13149. "auditedby": {
  13150. "description": "审核人",
  13151. "type": "string"
  13152. },
  13153. "auditime": {
  13154. "description": "审核时间",
  13155. "type": "string"
  13156. },
  13157. "auditsrc": {
  13158. "description": "审核来源 - 1:管理端 2:终端",
  13159. "type": "integer"
  13160. },
  13161. "bankaccount": {
  13162. "description": "银行帐号 (加密存储)",
  13163. "type": "string"
  13164. },
  13165. "bankaccountname": {
  13166. "description": "收款人名称",
  13167. "type": "string"
  13168. },
  13169. "bankcardbackphotourl": {
  13170. "description": "银行卡背面照地址",
  13171. "type": "string"
  13172. },
  13173. "bankcardfrontphotourl": {
  13174. "description": "银行卡正面照地址",
  13175. "type": "string"
  13176. },
  13177. "bankid": {
  13178. "description": "银行编码",
  13179. "type": "string"
  13180. },
  13181. "bankname": {
  13182. "description": "银行名称",
  13183. "type": "string"
  13184. },
  13185. "bankpictureurl": {
  13186. "description": "银行卡正面地址",
  13187. "type": "string"
  13188. },
  13189. "biznature": {
  13190. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13191. "type": "integer"
  13192. },
  13193. "bizscope": {
  13194. "description": "企业经营范围(企业)",
  13195. "type": "string"
  13196. },
  13197. "biztype": {
  13198. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13199. "type": "integer"
  13200. },
  13201. "brokerid": {
  13202. "description": "经纪人ID(加密存储)",
  13203. "type": "string"
  13204. },
  13205. "cardaddress": {
  13206. "description": "证件地址 (加密存储)",
  13207. "type": "string"
  13208. },
  13209. "cardbackphotourl": {
  13210. "description": "背面证件照地址",
  13211. "type": "string"
  13212. },
  13213. "cardfrontphotourl": {
  13214. "description": "正面证件照地址",
  13215. "type": "string"
  13216. },
  13217. "cardnum": {
  13218. "description": "证件号码 (加密存储)",
  13219. "type": "string"
  13220. },
  13221. "cardtype": {
  13222. "description": "证件类型",
  13223. "type": "integer"
  13224. },
  13225. "cityid": {
  13226. "description": "市",
  13227. "type": "integer"
  13228. },
  13229. "company": {
  13230. "description": "公司(个人)",
  13231. "type": "string"
  13232. },
  13233. "contactcardbackphotourl": {
  13234. "description": "联系人证件背面图片地址",
  13235. "type": "string"
  13236. },
  13237. "contactcardfrontphotourl": {
  13238. "description": "联系人证件正面图片地址",
  13239. "type": "string"
  13240. },
  13241. "contactname": {
  13242. "description": "联系人",
  13243. "type": "string"
  13244. },
  13245. "countryid": {
  13246. "description": "国家",
  13247. "type": "integer"
  13248. },
  13249. "createtime": {
  13250. "description": "开户申请时间",
  13251. "type": "string"
  13252. },
  13253. "cusbankid": {
  13254. "description": "签约类型",
  13255. "type": "string"
  13256. },
  13257. "cusbankname": {
  13258. "description": "签约类型名称",
  13259. "type": "string"
  13260. },
  13261. "customername": {
  13262. "description": "客户名称(企业名称)",
  13263. "type": "string"
  13264. },
  13265. "districtid": {
  13266. "description": "地区",
  13267. "type": "integer"
  13268. },
  13269. "email": {
  13270. "description": "Email地址(加密存储)",
  13271. "type": "string"
  13272. },
  13273. "halfbodyphotourl": {
  13274. "description": "半身照地址",
  13275. "type": "string"
  13276. },
  13277. "headurl": {
  13278. "description": "头像地址",
  13279. "type": "string"
  13280. },
  13281. "ipaddress": {
  13282. "description": "IP地址",
  13283. "type": "string"
  13284. },
  13285. "isvalidate": {
  13286. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13287. "type": "string"
  13288. },
  13289. "legalcardbackphotourl": {
  13290. "description": "法人身份证背面照地址",
  13291. "type": "string"
  13292. },
  13293. "legalcardfrontphotourl": {
  13294. "description": "法人身份证正面照地址",
  13295. "type": "string"
  13296. },
  13297. "legalpersonname": {
  13298. "description": "法人姓名(企业)",
  13299. "type": "string"
  13300. },
  13301. "logincode": {
  13302. "description": "登录帐号 (加密存储)",
  13303. "type": "string"
  13304. },
  13305. "memberareaid": {
  13306. "description": "所属会员ID",
  13307. "type": "integer"
  13308. },
  13309. "mobile2": {
  13310. "description": "手机号码[明文-尚志]",
  13311. "type": "string"
  13312. },
  13313. "mobilephone": {
  13314. "description": "手机号码 (加密存储)",
  13315. "type": "string"
  13316. },
  13317. "modifiedby": {
  13318. "description": "修改人帐号",
  13319. "type": "integer"
  13320. },
  13321. "modifiedtime": {
  13322. "description": "修改时间",
  13323. "type": "string"
  13324. },
  13325. "nickname": {
  13326. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13327. "type": "string"
  13328. },
  13329. "openmode": {
  13330. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13331. "type": "integer"
  13332. },
  13333. "otherurl": {
  13334. "description": "其它图片地址[使用分号分隔]",
  13335. "type": "string"
  13336. },
  13337. "postalcode": {
  13338. "description": "邮政编码",
  13339. "type": "string"
  13340. },
  13341. "provinceid": {
  13342. "description": "省",
  13343. "type": "integer"
  13344. },
  13345. "proxystatementurl": {
  13346. "description": "授权委托书",
  13347. "type": "string"
  13348. },
  13349. "qq": {
  13350. "description": "QQ(加密存储",
  13351. "type": "string"
  13352. },
  13353. "referral": {
  13354. "description": "推荐人编码",
  13355. "type": "string"
  13356. },
  13357. "remark": {
  13358. "description": "备注",
  13359. "type": "string"
  13360. },
  13361. "removebeforestatus": {
  13362. "description": "REMOVEBEFORESTATUS",
  13363. "type": "integer"
  13364. },
  13365. "sex": {
  13366. "description": "性别 - 0:女 1:男",
  13367. "type": "integer"
  13368. },
  13369. "signedstatus": {
  13370. "description": "账户一号签签约状态",
  13371. "type": "integer"
  13372. },
  13373. "signpdfurl": {
  13374. "description": "签约pdf文件",
  13375. "type": "string"
  13376. },
  13377. "subbranch": {
  13378. "description": "开户支行",
  13379. "type": "string"
  13380. },
  13381. "taxpayernum": {
  13382. "description": "纳税人识别号",
  13383. "type": "string"
  13384. },
  13385. "telphone": {
  13386. "description": "联系电话(加密存储)",
  13387. "type": "string"
  13388. },
  13389. "userid": {
  13390. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13391. "type": "integer"
  13392. },
  13393. "userinfotype": {
  13394. "description": "用户信息类型 - 1:个人 2:企业",
  13395. "type": "integer"
  13396. },
  13397. "username": {
  13398. "description": "用户姓名",
  13399. "type": "string"
  13400. },
  13401. "userstate": {
  13402. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13403. "type": "integer"
  13404. },
  13405. "usertype": {
  13406. "description": "用户类型 - 1:投资者 2:机构",
  13407. "type": "integer"
  13408. },
  13409. "videourl": {
  13410. "description": "视频地址",
  13411. "type": "string"
  13412. },
  13413. "wechat": {
  13414. "description": "微信号 (加密存储)",
  13415. "type": "string"
  13416. }
  13417. }
  13418. },
  13419. "erms3.CustomerInfo": {
  13420. "type": "object",
  13421. "required": [
  13422. "userid"
  13423. ],
  13424. "properties": {
  13425. "accountids": {
  13426. "description": "资金账户ID列表",
  13427. "type": "array",
  13428. "items": {
  13429. "type": "integer"
  13430. }
  13431. },
  13432. "customername": {
  13433. "description": "名称(企业名称)",
  13434. "type": "string"
  13435. },
  13436. "mobile": {
  13437. "description": "手机号码",
  13438. "type": "string"
  13439. },
  13440. "userid": {
  13441. "description": "用户ID",
  13442. "type": "integer"
  13443. }
  13444. }
  13445. },
  13446. "erms3.ModifyUserInfoApplyReq": {
  13447. "type": "object",
  13448. "required": [
  13449. "userid"
  13450. ],
  13451. "properties": {
  13452. "accountid": {
  13453. "description": "交易系统帐号Id (加密存储)",
  13454. "type": "integer"
  13455. },
  13456. "areacode": {
  13457. "description": "机构代码",
  13458. "type": "string"
  13459. },
  13460. "areaid": {
  13461. "description": "机构Id",
  13462. "type": "integer"
  13463. },
  13464. "attachment1": {
  13465. "description": "附件1",
  13466. "type": "string"
  13467. },
  13468. "attachment2": {
  13469. "description": "附件2",
  13470. "type": "string"
  13471. },
  13472. "attachment3": {
  13473. "description": "附件3",
  13474. "type": "string"
  13475. },
  13476. "attachment4": {
  13477. "description": "附件4",
  13478. "type": "string"
  13479. },
  13480. "attachment5": {
  13481. "description": "附件5",
  13482. "type": "string"
  13483. },
  13484. "auditedby": {
  13485. "description": "审核人",
  13486. "type": "string"
  13487. },
  13488. "auditime": {
  13489. "description": "审核时间",
  13490. "type": "string"
  13491. },
  13492. "auditsrc": {
  13493. "description": "审核来源 - 1:管理端 2:终端",
  13494. "type": "integer"
  13495. },
  13496. "bankaccount": {
  13497. "description": "银行帐号 (加密存储)",
  13498. "type": "string"
  13499. },
  13500. "bankaccountname": {
  13501. "description": "收款人名称",
  13502. "type": "string"
  13503. },
  13504. "bankcardbackphotourl": {
  13505. "description": "银行卡背面照地址",
  13506. "type": "string"
  13507. },
  13508. "bankcardfrontphotourl": {
  13509. "description": "银行卡正面照地址",
  13510. "type": "string"
  13511. },
  13512. "bankid": {
  13513. "description": "银行编码",
  13514. "type": "string"
  13515. },
  13516. "bankname": {
  13517. "description": "银行名称",
  13518. "type": "string"
  13519. },
  13520. "bankpictureurl": {
  13521. "description": "银行卡正面地址",
  13522. "type": "string"
  13523. },
  13524. "biznature": {
  13525. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13526. "type": "integer"
  13527. },
  13528. "bizscope": {
  13529. "description": "企业经营范围(企业)",
  13530. "type": "string"
  13531. },
  13532. "biztype": {
  13533. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13534. "type": "integer"
  13535. },
  13536. "brokerid": {
  13537. "description": "经纪人ID(加密存储)",
  13538. "type": "string"
  13539. },
  13540. "cardaddress": {
  13541. "description": "证件地址 (加密存储)",
  13542. "type": "string"
  13543. },
  13544. "cardbackphotourl": {
  13545. "description": "背面证件照地址",
  13546. "type": "string"
  13547. },
  13548. "cardfrontphotourl": {
  13549. "description": "正面证件照地址",
  13550. "type": "string"
  13551. },
  13552. "cardnum": {
  13553. "description": "证件号码 (加密存储)",
  13554. "type": "string"
  13555. },
  13556. "cardtype": {
  13557. "description": "证件类型",
  13558. "type": "integer"
  13559. },
  13560. "cityid": {
  13561. "description": "市",
  13562. "type": "integer"
  13563. },
  13564. "company": {
  13565. "description": "公司(个人)",
  13566. "type": "string"
  13567. },
  13568. "contactcardbackphotourl": {
  13569. "description": "联系人证件背面图片地址",
  13570. "type": "string"
  13571. },
  13572. "contactcardfrontphotourl": {
  13573. "description": "联系人证件正面图片地址",
  13574. "type": "string"
  13575. },
  13576. "contactname": {
  13577. "description": "联系人",
  13578. "type": "string"
  13579. },
  13580. "countryid": {
  13581. "description": "国家",
  13582. "type": "integer"
  13583. },
  13584. "createtime": {
  13585. "description": "开户申请时间",
  13586. "type": "string"
  13587. },
  13588. "cusbankid": {
  13589. "description": "签约类型",
  13590. "type": "string"
  13591. },
  13592. "cusbankname": {
  13593. "description": "签约类型名称",
  13594. "type": "string"
  13595. },
  13596. "customername": {
  13597. "description": "客户名称(企业名称)",
  13598. "type": "string"
  13599. },
  13600. "districtid": {
  13601. "description": "地区",
  13602. "type": "integer"
  13603. },
  13604. "email": {
  13605. "description": "Email地址(加密存储)",
  13606. "type": "string"
  13607. },
  13608. "halfbodyphotourl": {
  13609. "description": "半身照地址",
  13610. "type": "string"
  13611. },
  13612. "headurl": {
  13613. "description": "头像地址",
  13614. "type": "string"
  13615. },
  13616. "ipaddress": {
  13617. "description": "IP地址",
  13618. "type": "string"
  13619. },
  13620. "isvalidate": {
  13621. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13622. "type": "string"
  13623. },
  13624. "legalcardbackphotourl": {
  13625. "description": "法人身份证背面照地址",
  13626. "type": "string"
  13627. },
  13628. "legalcardfrontphotourl": {
  13629. "description": "法人身份证正面照地址",
  13630. "type": "string"
  13631. },
  13632. "legalpersonname": {
  13633. "description": "法人姓名(企业)",
  13634. "type": "string"
  13635. },
  13636. "logincode": {
  13637. "description": "登录帐号 (加密存储)",
  13638. "type": "string"
  13639. },
  13640. "memberareaid": {
  13641. "description": "所属会员ID",
  13642. "type": "integer"
  13643. },
  13644. "mobile2": {
  13645. "description": "手机号码[明文-尚志]",
  13646. "type": "string"
  13647. },
  13648. "mobilephone": {
  13649. "description": "手机号码 (加密存储)",
  13650. "type": "string"
  13651. },
  13652. "modifiedby": {
  13653. "description": "修改人帐号",
  13654. "type": "integer"
  13655. },
  13656. "modifiedtime": {
  13657. "description": "修改时间",
  13658. "type": "string"
  13659. },
  13660. "nickname": {
  13661. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13662. "type": "string"
  13663. },
  13664. "openmode": {
  13665. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13666. "type": "integer"
  13667. },
  13668. "otherurl": {
  13669. "description": "其它图片地址[使用分号分隔]",
  13670. "type": "string"
  13671. },
  13672. "postalcode": {
  13673. "description": "邮政编码",
  13674. "type": "string"
  13675. },
  13676. "provinceid": {
  13677. "description": "省",
  13678. "type": "integer"
  13679. },
  13680. "proxystatementurl": {
  13681. "description": "授权委托书",
  13682. "type": "string"
  13683. },
  13684. "qq": {
  13685. "description": "QQ(加密存储",
  13686. "type": "string"
  13687. },
  13688. "referral": {
  13689. "description": "推荐人编码",
  13690. "type": "string"
  13691. },
  13692. "remark": {
  13693. "description": "备注",
  13694. "type": "string"
  13695. },
  13696. "removebeforestatus": {
  13697. "description": "REMOVEBEFORESTATUS",
  13698. "type": "integer"
  13699. },
  13700. "sex": {
  13701. "description": "性别 - 0:女 1:男",
  13702. "type": "integer"
  13703. },
  13704. "signedstatus": {
  13705. "description": "账户一号签签约状态",
  13706. "type": "integer"
  13707. },
  13708. "signpdfurl": {
  13709. "description": "签约pdf文件",
  13710. "type": "string"
  13711. },
  13712. "subbranch": {
  13713. "description": "开户支行",
  13714. "type": "string"
  13715. },
  13716. "taxpayernum": {
  13717. "description": "纳税人识别号",
  13718. "type": "string"
  13719. },
  13720. "telphone": {
  13721. "description": "联系电话(加密存储)",
  13722. "type": "string"
  13723. },
  13724. "userid": {
  13725. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13726. "type": "integer"
  13727. },
  13728. "userinfotype": {
  13729. "description": "用户信息类型 - 1:个人 2:企业",
  13730. "type": "integer"
  13731. },
  13732. "username": {
  13733. "description": "用户姓名",
  13734. "type": "string"
  13735. },
  13736. "userstate": {
  13737. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13738. "type": "integer"
  13739. },
  13740. "usertype": {
  13741. "description": "用户类型 - 1:投资者 2:机构",
  13742. "type": "integer"
  13743. },
  13744. "videourl": {
  13745. "description": "视频地址",
  13746. "type": "string"
  13747. },
  13748. "wechat": {
  13749. "description": "微信号 (加密存储)",
  13750. "type": "string"
  13751. }
  13752. }
  13753. },
  13754. "erms3.QryAuditContractRsp": {
  13755. "type": "object",
  13756. "required": [
  13757. "matchcustomername",
  13758. "spotcontractid"
  13759. ],
  13760. "properties": {
  13761. "accountid": {
  13762. "description": "交易员ID",
  13763. "type": "string"
  13764. },
  13765. "applystatus": {
  13766. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13767. "type": "integer"
  13768. },
  13769. "curdeliveryqty": {
  13770. "description": "未交收量",
  13771. "type": "integer"
  13772. },
  13773. "customername": {
  13774. "description": "采购方ID",
  13775. "type": "string"
  13776. },
  13777. "deliverygoodsid": {
  13778. "description": "品种ID",
  13779. "type": "string"
  13780. },
  13781. "deliveryqty": {
  13782. "description": "交收量",
  13783. "type": "integer"
  13784. },
  13785. "enumdicname": {
  13786. "description": "单位名称",
  13787. "type": "string"
  13788. },
  13789. "matchaccountid": {
  13790. "description": "业务员ID",
  13791. "type": "string"
  13792. },
  13793. "matchcustomername": {
  13794. "description": "销售方ID",
  13795. "type": "string"
  13796. },
  13797. "pricedqty": {
  13798. "description": "定价量",
  13799. "type": "number"
  13800. },
  13801. "signdate": {
  13802. "description": "签订日期",
  13803. "type": "string"
  13804. },
  13805. "spotcontractid": {
  13806. "description": "合同ID",
  13807. "type": "string"
  13808. },
  13809. "totaldqty": {
  13810. "description": "合同量",
  13811. "type": "number"
  13812. },
  13813. "unpricedqty": {
  13814. "description": "未定价量",
  13815. "type": "number"
  13816. },
  13817. "wrstandardname": {
  13818. "description": "商品名称",
  13819. "type": "string"
  13820. }
  13821. }
  13822. },
  13823. "erms3.QryPendingBizRsp": {
  13824. "$ref": "#/definitions/models.PendingAuditBizModel"
  13825. },
  13826. "erms3.QueryBusinessInfoRsp": {
  13827. "type": "object",
  13828. "properties": {
  13829. "businessid": {
  13830. "description": "业务ID.",
  13831. "type": "integer"
  13832. },
  13833. "buyamount": {
  13834. "description": "采购额.",
  13835. "type": "number"
  13836. },
  13837. "buyqty": {
  13838. "description": "采购量.",
  13839. "type": "string"
  13840. },
  13841. "futurepl": {
  13842. "description": "期货盈亏.",
  13843. "type": "number"
  13844. },
  13845. "futureqty": {
  13846. "description": "期货敞口.",
  13847. "type": "string"
  13848. },
  13849. "goodsid": {
  13850. "description": "商品名称/商品代码.",
  13851. "type": "string"
  13852. },
  13853. "hedgingqty": {
  13854. "description": "套保量.",
  13855. "type": "string"
  13856. },
  13857. "sellamount": {
  13858. "description": "销售额.",
  13859. "type": "number"
  13860. },
  13861. "sellqty": {
  13862. "description": "销售量.",
  13863. "type": "string"
  13864. },
  13865. "spotmarketvalue": {
  13866. "description": "现货市值.",
  13867. "type": "number"
  13868. },
  13869. "spotpl": {
  13870. "description": "浮动权益.",
  13871. "type": "number"
  13872. },
  13873. "spotqty": {
  13874. "description": "现货量.",
  13875. "type": "string"
  13876. },
  13877. "statu": {
  13878. "description": "状态,0-未结束 1-已结束.",
  13879. "type": "integer"
  13880. },
  13881. "totalpl": {
  13882. "description": "总盈亏.",
  13883. "type": "number"
  13884. },
  13885. "totalqty": {
  13886. "description": "总敞口.",
  13887. "type": "string"
  13888. },
  13889. "type": {
  13890. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13891. "type": "integer"
  13892. }
  13893. }
  13894. },
  13895. "erms3.QuerySpotContractAppleFormRsp": {
  13896. "type": "object",
  13897. "properties": {
  13898. "goodses": {
  13899. "description": "合约列表",
  13900. "type": "array",
  13901. "items": {
  13902. "$ref": "#/definitions/models.GoodsIDAndName"
  13903. }
  13904. },
  13905. "oppositeusers": {
  13906. "description": "对方账号列表",
  13907. "type": "array",
  13908. "items": {
  13909. "$ref": "#/definitions/erms3.CustomerInfo"
  13910. }
  13911. },
  13912. "ouruser": {
  13913. "description": "我方账号",
  13914. "type": "object",
  13915. "$ref": "#/definitions/erms3.CustomerInfo"
  13916. },
  13917. "warehouseinfos": {
  13918. "description": "仓库信息列表",
  13919. "type": "array",
  13920. "items": {
  13921. "$ref": "#/definitions/models.Warehouseinfo"
  13922. }
  13923. },
  13924. "wrstandards": {
  13925. "description": "仓单标准列表",
  13926. "type": "array",
  13927. "items": {
  13928. "$ref": "#/definitions/models.WRStandardInfo"
  13929. }
  13930. }
  13931. }
  13932. },
  13933. "erms3.QuerySpotContractInfoRsp": {
  13934. "type": "object",
  13935. "properties": {
  13936. "accountid": {
  13937. "description": "表示交易员ID.",
  13938. "type": "integer"
  13939. },
  13940. "curdeliveryqty": {
  13941. "description": "表示未交收量.",
  13942. "type": "number"
  13943. },
  13944. "customername": {
  13945. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13946. "type": "string"
  13947. },
  13948. "deliverygoodsid": {
  13949. "description": "表示品种ID.",
  13950. "type": "string"
  13951. },
  13952. "deliveryqty": {
  13953. "description": "表示交收量.",
  13954. "type": "number"
  13955. },
  13956. "matchaccountid": {
  13957. "description": "表示业务员ID.",
  13958. "type": "integer"
  13959. },
  13960. "matchcustomername": {
  13961. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13962. "type": "string"
  13963. },
  13964. "priceqty": {
  13965. "description": "表示定价量.",
  13966. "type": "number"
  13967. },
  13968. "relatedbizid": {
  13969. "description": "表示业务ID.",
  13970. "type": "string"
  13971. },
  13972. "signdate": {
  13973. "description": "表示签订日期.",
  13974. "type": "string"
  13975. },
  13976. "spotcontractid": {
  13977. "description": "合同ID",
  13978. "type": "string"
  13979. },
  13980. "status": {
  13981. "description": "表示状态,0-履约中 1-已完成.",
  13982. "type": "integer"
  13983. },
  13984. "totalqty": {
  13985. "description": "表示合同量.",
  13986. "type": "number"
  13987. },
  13988. "unpricedqty": {
  13989. "description": "表示未定价量.",
  13990. "type": "number"
  13991. },
  13992. "wrstandardname": {
  13993. "description": "表示商品ID.",
  13994. "type": "string"
  13995. }
  13996. }
  13997. },
  13998. "erms3.QueryUserInfoAppliesRsp": {
  13999. "type": "object",
  14000. "required": [
  14001. "userid"
  14002. ],
  14003. "properties": {
  14004. "biznature": {
  14005. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14006. "type": "integer"
  14007. },
  14008. "contactname": {
  14009. "description": "联系人",
  14010. "type": "string"
  14011. },
  14012. "createtime": {
  14013. "description": "开户申请时间",
  14014. "type": "string"
  14015. },
  14016. "userid": {
  14017. "description": "用户ID(自增ID)",
  14018. "type": "integer"
  14019. },
  14020. "userinfotype": {
  14021. "description": "用户信息类型 - 1:个人 2:企业",
  14022. "type": "integer"
  14023. },
  14024. "username": {
  14025. "description": "用户姓名",
  14026. "type": "string"
  14027. },
  14028. "userstate": {
  14029. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14030. "type": "integer"
  14031. }
  14032. }
  14033. },
  14034. "erms3.QueryUserInfosRsp": {
  14035. "type": "object",
  14036. "required": [
  14037. "userid"
  14038. ],
  14039. "properties": {
  14040. "biznature": {
  14041. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14042. "type": "integer"
  14043. },
  14044. "contactname": {
  14045. "description": "联系人",
  14046. "type": "string"
  14047. },
  14048. "customername": {
  14049. "description": "客户名称(企业名称)",
  14050. "type": "string"
  14051. },
  14052. "userid": {
  14053. "description": "用户ID",
  14054. "type": "integer"
  14055. },
  14056. "userinfotype": {
  14057. "description": "用户信息类型 - 1:个人 2:企业",
  14058. "type": "integer"
  14059. },
  14060. "userstatus": {
  14061. "description": "用户状态 - 1:正常 2:注销",
  14062. "type": "integer"
  14063. }
  14064. }
  14065. },
  14066. "erms3.SoptContractDetail": {
  14067. "type": "object",
  14068. "required": [
  14069. "deliverygoodsid",
  14070. "producttype",
  14071. "unitname",
  14072. "warehouseid",
  14073. "wrstandardid",
  14074. "wrstandardname"
  14075. ],
  14076. "properties": {
  14077. "deliverygoodsdesc": {
  14078. "description": "现货品种说明",
  14079. "type": "string"
  14080. },
  14081. "deliverygoodsid": {
  14082. "description": "现货品种ID",
  14083. "type": "integer"
  14084. },
  14085. "deliverygoodsname": {
  14086. "description": "现货品种名称",
  14087. "type": "string"
  14088. },
  14089. "pointdesc": {
  14090. "description": "点价描述",
  14091. "type": "string"
  14092. },
  14093. "producttype": {
  14094. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14095. "type": "integer"
  14096. },
  14097. "producttypename": {
  14098. "description": "产品类型名称",
  14099. "type": "string"
  14100. },
  14101. "spotPointOrderVoList": {
  14102. "description": "点价列表",
  14103. "type": "array",
  14104. "items": {
  14105. "$ref": "#/definitions/erms3.SpotPointOrder"
  14106. }
  14107. },
  14108. "spotPriceOrderList": {
  14109. "description": "定价列表",
  14110. "type": "array",
  14111. "items": {
  14112. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14113. }
  14114. },
  14115. "unitname": {
  14116. "description": "单位名称",
  14117. "type": "string"
  14118. },
  14119. "warehouseid": {
  14120. "description": "仓库ID",
  14121. "type": "integer"
  14122. },
  14123. "warehousename": {
  14124. "description": "仓库名称",
  14125. "type": "string"
  14126. },
  14127. "wrstandardid": {
  14128. "description": "交易标的ID",
  14129. "type": "integer"
  14130. },
  14131. "wrstandardname": {
  14132. "description": "交易标的名称",
  14133. "type": "string"
  14134. }
  14135. }
  14136. },
  14137. "erms3.SpotPointOrder": {
  14138. "type": "object",
  14139. "required": [
  14140. "basic",
  14141. "goodsid",
  14142. "qty"
  14143. ],
  14144. "properties": {
  14145. "basic": {
  14146. "description": "基差",
  14147. "type": "number"
  14148. },
  14149. "deliveryenddate": {
  14150. "description": "交收结束日期",
  14151. "type": "string"
  14152. },
  14153. "deliverystartdate": {
  14154. "description": "交收开始日期",
  14155. "type": "string"
  14156. },
  14157. "enddate": {
  14158. "description": "点价结束日期",
  14159. "type": "string"
  14160. },
  14161. "goodsid": {
  14162. "description": "商品ID",
  14163. "type": "integer"
  14164. },
  14165. "goodsname": {
  14166. "description": "商品名称",
  14167. "type": "string"
  14168. },
  14169. "qty": {
  14170. "description": "数量",
  14171. "type": "number"
  14172. },
  14173. "startdate": {
  14174. "description": "点价开始日期",
  14175. "type": "string"
  14176. }
  14177. }
  14178. },
  14179. "erms3.SpotPriceOrder": {
  14180. "type": "object",
  14181. "required": [
  14182. "amount",
  14183. "price",
  14184. "qty"
  14185. ],
  14186. "properties": {
  14187. "amount": {
  14188. "description": "金额",
  14189. "type": "number"
  14190. },
  14191. "deliveryenddate": {
  14192. "description": "交收结束日期",
  14193. "type": "string"
  14194. },
  14195. "deliverystartdate": {
  14196. "description": "交收开始日期",
  14197. "type": "string"
  14198. },
  14199. "price": {
  14200. "description": "价格",
  14201. "type": "number"
  14202. },
  14203. "qty": {
  14204. "description": "数量",
  14205. "type": "number"
  14206. }
  14207. }
  14208. },
  14209. "hsby.GetHsbyMyCountRsp": {
  14210. "type": "object",
  14211. "properties": {
  14212. "myCouponCount": {
  14213. "description": "我的优惠卷数量",
  14214. "type": "integer"
  14215. },
  14216. "myOrderDetailListingCount": {
  14217. "description": "我的订单求购中数量",
  14218. "type": "integer"
  14219. },
  14220. "myOrderDetailPreCount": {
  14221. "description": "我的订单抢购中数量",
  14222. "type": "integer"
  14223. },
  14224. "myPackageUnReceiveCount": {
  14225. "description": "我的包裹待收货数量",
  14226. "type": "integer"
  14227. },
  14228. "myPackageUnSendCount": {
  14229. "description": "我的包裹待发货数量",
  14230. "type": "integer"
  14231. },
  14232. "myPayOrderCount": {
  14233. "description": "我的订单待付款数量",
  14234. "type": "integer"
  14235. }
  14236. }
  14237. },
  14238. "hsby.QueryProvincesAndCitiesRsp": {
  14239. "type": "object",
  14240. "properties": {
  14241. "cities": {
  14242. "description": "市",
  14243. "type": "array",
  14244. "items": {
  14245. "$ref": "#/definitions/models.Division"
  14246. }
  14247. },
  14248. "province": {
  14249. "description": "省",
  14250. "type": "object",
  14251. "$ref": "#/definitions/models.Division"
  14252. }
  14253. }
  14254. },
  14255. "models.AreaSpotModel": {
  14256. "type": "object",
  14257. "properties": {
  14258. "areauserid": {
  14259. "description": "所属机构",
  14260. "type": "integer"
  14261. },
  14262. "decreaseqty": {
  14263. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14264. "type": "number"
  14265. },
  14266. "increaseqty": {
  14267. "description": "增加数量=销售计划数量+采购已定价数量",
  14268. "type": "number"
  14269. },
  14270. "oritoalspotqty": {
  14271. "description": "昨日数量",
  14272. "type": "number"
  14273. },
  14274. "totalspotqty": {
  14275. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14276. "type": "number"
  14277. },
  14278. "updatetime": {
  14279. "description": "更新时间",
  14280. "type": "string"
  14281. },
  14282. "wrstandardcode": {
  14283. "description": "现货品种代码",
  14284. "type": "string"
  14285. },
  14286. "wrstandardid": {
  14287. "description": "现货商品ID",
  14288. "type": "integer"
  14289. },
  14290. "wrstandardname": {
  14291. "description": "现货品种",
  14292. "type": "string"
  14293. }
  14294. }
  14295. },
  14296. "models.Arearole": {
  14297. "type": "object",
  14298. "required": [
  14299. "roletype",
  14300. "userid"
  14301. ],
  14302. "properties": {
  14303. "createtime": {
  14304. "description": "创建时间",
  14305. "type": "string"
  14306. },
  14307. "creatorid": {
  14308. "description": "创建人ID",
  14309. "type": "integer"
  14310. },
  14311. "fromuserid": {
  14312. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14313. "type": "integer"
  14314. },
  14315. "isreturnscore": {
  14316. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14317. "type": "integer"
  14318. },
  14319. "modifierid": {
  14320. "description": "修改人ID",
  14321. "type": "integer"
  14322. },
  14323. "modifytime": {
  14324. "description": "修改时间",
  14325. "type": "string"
  14326. },
  14327. "orgtype": {
  14328. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14329. "type": "integer"
  14330. },
  14331. "outuserid": {
  14332. "description": "外部账户[场外期权做市商]",
  14333. "type": "string"
  14334. },
  14335. "parentuserid": {
  14336. "description": "上级组织机构(组织机构)",
  14337. "type": "integer"
  14338. },
  14339. "roletype": {
  14340. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  14341. "type": "integer"
  14342. },
  14343. "rootuserid": {
  14344. "description": "顶级组织机构用户ID(组织机构)",
  14345. "type": "integer"
  14346. },
  14347. "shoppassword": {
  14348. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14349. "type": "string"
  14350. },
  14351. "sublevelpath": {
  14352. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14353. "type": "string"
  14354. },
  14355. "suborgtype": {
  14356. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14357. "type": "integer"
  14358. },
  14359. "tradeaccountid": {
  14360. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14361. "type": "integer"
  14362. },
  14363. "transurl": {
  14364. "description": "物流地址(物流机构)",
  14365. "type": "string"
  14366. },
  14367. "userid": {
  14368. "description": "机构用户ID其他做市关系,都设置为 1",
  14369. "type": "integer"
  14370. }
  14371. }
  14372. },
  14373. "models.Clientfixedadconfig": {
  14374. "type": "object",
  14375. "required": [
  14376. "adsort",
  14377. "adtype"
  14378. ],
  14379. "properties": {
  14380. "adsort": {
  14381. "description": "排序",
  14382. "type": "integer"
  14383. },
  14384. "adtype": {
  14385. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14386. "type": "integer"
  14387. },
  14388. "areauserid": {
  14389. "description": "所属机构ID",
  14390. "type": "integer"
  14391. },
  14392. "createdate": {
  14393. "description": "创建时间",
  14394. "type": "string"
  14395. },
  14396. "creatorid": {
  14397. "description": "创建人",
  14398. "type": "integer"
  14399. },
  14400. "imagepath": {
  14401. "description": "图片",
  14402. "type": "string"
  14403. },
  14404. "isshow": {
  14405. "description": "是否展示 - 0:不展示 1:展示",
  14406. "type": "integer"
  14407. },
  14408. "modifierid": {
  14409. "description": "操作人",
  14410. "type": "integer"
  14411. },
  14412. "recsize": {
  14413. "description": "推荐尺寸",
  14414. "type": "string"
  14415. },
  14416. "title": {
  14417. "description": "标题",
  14418. "type": "string"
  14419. },
  14420. "updatedate": {
  14421. "description": "更新时间",
  14422. "type": "string"
  14423. },
  14424. "urlcontent": {
  14425. "description": "链接(地址或商品ID)",
  14426. "type": "string"
  14427. },
  14428. "urltype": {
  14429. "description": "链接类型 - 1:直接地址 2:商品ID",
  14430. "type": "integer"
  14431. }
  14432. }
  14433. },
  14434. "models.Division": {
  14435. "type": "object",
  14436. "required": [
  14437. "autoid",
  14438. "divisioncode"
  14439. ],
  14440. "properties": {
  14441. "autoid": {
  14442. "description": "自增ID",
  14443. "type": "integer"
  14444. },
  14445. "divisioncode": {
  14446. "description": "行政代码",
  14447. "type": "string"
  14448. },
  14449. "divisionlevel": {
  14450. "description": "行政级别",
  14451. "type": "string"
  14452. },
  14453. "divisionname": {
  14454. "description": "行政名称",
  14455. "type": "string"
  14456. },
  14457. "modifierid": {
  14458. "description": "修改人",
  14459. "type": "integer"
  14460. },
  14461. "modifytime": {
  14462. "description": "修改时间",
  14463. "type": "string"
  14464. },
  14465. "parentcode": {
  14466. "description": "上级行政代码",
  14467. "type": "string"
  14468. },
  14469. "pathname": {
  14470. "description": "路径名称",
  14471. "type": "string"
  14472. },
  14473. "postcode": {
  14474. "description": "邮政编码",
  14475. "type": "string"
  14476. },
  14477. "separablename": {
  14478. "description": "可拆分的全称",
  14479. "type": "string"
  14480. },
  14481. "shortcode": {
  14482. "description": "地区简码",
  14483. "type": "string"
  14484. }
  14485. }
  14486. },
  14487. "models.Enumdicitem": {
  14488. "type": "object",
  14489. "required": [
  14490. "autoid",
  14491. "enumdiccode",
  14492. "enumdicid",
  14493. "enumitemname"
  14494. ],
  14495. "properties": {
  14496. "autoid": {
  14497. "description": "自增ID",
  14498. "type": "integer"
  14499. },
  14500. "bankmappedvalue": {
  14501. "description": "银行服务对应值",
  14502. "type": "string"
  14503. },
  14504. "enumdiccode": {
  14505. "description": "所属枚举代码",
  14506. "type": "string"
  14507. },
  14508. "enumdicid": {
  14509. "description": "所属枚举ID",
  14510. "type": "integer"
  14511. },
  14512. "enumdicname": {
  14513. "description": "枚举项名称",
  14514. "type": "string"
  14515. },
  14516. "enumitemname": {
  14517. "description": "枚举项值",
  14518. "type": "integer"
  14519. },
  14520. "enumitemstatus": {
  14521. "description": "枚举项状态 - 1.启用 2.不启用",
  14522. "type": "integer"
  14523. },
  14524. "enumitemvalue": {
  14525. "description": "通用值 - [币种通用简写]",
  14526. "type": "string"
  14527. },
  14528. "param1": {
  14529. "description": "参数1[币种:币种小数位]",
  14530. "type": "string"
  14531. },
  14532. "param2": {
  14533. "description": "参数1[币种:币种显示单位]",
  14534. "type": "string"
  14535. },
  14536. "remark": {
  14537. "description": "备注",
  14538. "type": "string"
  14539. }
  14540. }
  14541. },
  14542. "models.Ermcp3AreaSpot": {
  14543. "type": "object",
  14544. "properties": {
  14545. "areauserid": {
  14546. "description": "所属机构",
  14547. "type": "integer"
  14548. },
  14549. "decreaseqty": {
  14550. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14551. "type": "number"
  14552. },
  14553. "deliverygoodscode": {
  14554. "description": "现货品种代码",
  14555. "type": "string"
  14556. },
  14557. "deliverygoodsid": {
  14558. "description": "现货品种id",
  14559. "type": "integer"
  14560. },
  14561. "deliverygoodsname": {
  14562. "description": "现货品种名称",
  14563. "type": "string"
  14564. },
  14565. "enumdicname": {
  14566. "description": "单位名称",
  14567. "type": "string"
  14568. },
  14569. "goodsunitid": {
  14570. "description": "现货品种单位id",
  14571. "type": "integer"
  14572. },
  14573. "increaseqty": {
  14574. "description": "增加数量=销售计划数量+采购已定价数量",
  14575. "type": "number"
  14576. },
  14577. "oritoalspotqty": {
  14578. "description": "昨日数量",
  14579. "type": "number"
  14580. },
  14581. "totalspotqty": {
  14582. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14583. "type": "number"
  14584. },
  14585. "updatetime": {
  14586. "description": "更新时间",
  14587. "type": "string"
  14588. }
  14589. }
  14590. },
  14591. "models.Ermcp3AreaSpotDetail": {
  14592. "type": "object",
  14593. "properties": {
  14594. "contracttype": {
  14595. "description": "合同类型 1-采购 -1-销售",
  14596. "type": "integer"
  14597. },
  14598. "createtime": {
  14599. "description": "创建时间",
  14600. "type": "string"
  14601. },
  14602. "deliverygoodscode": {
  14603. "description": "现货品种代码",
  14604. "type": "string"
  14605. },
  14606. "deliverygoodsid": {
  14607. "description": "现货品种id",
  14608. "type": "integer"
  14609. },
  14610. "deliverygoodsname": {
  14611. "description": "现货品种名称",
  14612. "type": "string"
  14613. },
  14614. "enumdicname": {
  14615. "description": "现货商品单位名称",
  14616. "type": "string"
  14617. },
  14618. "logtype": {
  14619. "description": "记录类型 1-套保 2-现货合同",
  14620. "type": "integer"
  14621. },
  14622. "qty": {
  14623. "description": "数量",
  14624. "type": "number"
  14625. },
  14626. "recordname": {
  14627. "description": "类型名称",
  14628. "type": "string"
  14629. },
  14630. "relatedid": {
  14631. "description": "套保计划ID/现货合同ID",
  14632. "type": "string"
  14633. },
  14634. "relatedno": {
  14635. "description": "编号",
  14636. "type": "string"
  14637. },
  14638. "strtime": {
  14639. "description": "时间",
  14640. "type": "string"
  14641. }
  14642. }
  14643. },
  14644. "models.Ermcp3AreaSpotPLReport": {
  14645. "type": "object",
  14646. "properties": {
  14647. "accountid": {
  14648. "description": "期货账户ID (作废, 默认为0)",
  14649. "type": "integer"
  14650. },
  14651. "accountname": {
  14652. "description": "机构名称",
  14653. "type": "string"
  14654. },
  14655. "actualpl": {
  14656. "description": "现货损益",
  14657. "type": "number"
  14658. },
  14659. "areauserid": {
  14660. "description": "所属机构\\交易用户ID",
  14661. "type": "integer"
  14662. },
  14663. "begindate": {
  14664. "description": "开始交易日",
  14665. "type": "string"
  14666. },
  14667. "biztype": {
  14668. "description": "业务类型 - 1:套保 2:套利",
  14669. "type": "integer"
  14670. },
  14671. "brandname": {
  14672. "description": "品牌名称",
  14673. "type": "string"
  14674. },
  14675. "curamount": {
  14676. "description": "期末额",
  14677. "type": "number"
  14678. },
  14679. "curaverageprice": {
  14680. "description": "期末均价",
  14681. "type": "number"
  14682. },
  14683. "curbuyamount": {
  14684. "description": "期末采购总额",
  14685. "type": "number"
  14686. },
  14687. "curbuyqty": {
  14688. "description": "期末采购总量",
  14689. "type": "number"
  14690. },
  14691. "curmarketvalue": {
  14692. "description": "参考市值(期末市值)",
  14693. "type": "number"
  14694. },
  14695. "curqty": {
  14696. "description": "期末量",
  14697. "type": "number"
  14698. },
  14699. "currencyid": {
  14700. "description": "结算币种ID【原值】",
  14701. "type": "integer"
  14702. },
  14703. "currencyname": {
  14704. "description": "币种名称",
  14705. "type": "string"
  14706. },
  14707. "cursellamount": {
  14708. "description": "期末销售总额",
  14709. "type": "number"
  14710. },
  14711. "cursellqty": {
  14712. "description": "期末销售总量",
  14713. "type": "number"
  14714. },
  14715. "curspotprice": {
  14716. "description": "参考市价(最新价)",
  14717. "type": "number"
  14718. },
  14719. "cycletime": {
  14720. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14721. "type": "string"
  14722. },
  14723. "cycletype": {
  14724. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14725. "type": "integer"
  14726. },
  14727. "deliverygoodscode": {
  14728. "description": "现货商品代码",
  14729. "type": "string"
  14730. },
  14731. "deliverygoodsid": {
  14732. "description": "现货品种ID",
  14733. "type": "integer"
  14734. },
  14735. "deliverygoodsname": {
  14736. "description": "现货商品名称",
  14737. "type": "string"
  14738. },
  14739. "enddate": {
  14740. "description": "结束交易日",
  14741. "type": "string"
  14742. },
  14743. "enumdicname": {
  14744. "description": "现货商品单位名称",
  14745. "type": "string"
  14746. },
  14747. "floatpl": {
  14748. "description": "浮动损益",
  14749. "type": "number"
  14750. },
  14751. "goodsunitid": {
  14752. "description": "现货商品单位id",
  14753. "type": "integer"
  14754. },
  14755. "oriamount": {
  14756. "description": "期初额",
  14757. "type": "number"
  14758. },
  14759. "oriaverageprice": {
  14760. "description": "期初均价",
  14761. "type": "number"
  14762. },
  14763. "oribuyamount": {
  14764. "description": "期初采购总额",
  14765. "type": "number"
  14766. },
  14767. "oribuyqty": {
  14768. "description": "期初采购总量",
  14769. "type": "number"
  14770. },
  14771. "oriqty": {
  14772. "description": "期初量",
  14773. "type": "number"
  14774. },
  14775. "orisellamount": {
  14776. "description": "期初销售总额",
  14777. "type": "number"
  14778. },
  14779. "orisellqty": {
  14780. "description": "期初销售总量",
  14781. "type": "number"
  14782. },
  14783. "reckondate": {
  14784. "description": "日照时期(yyyyMMdd)",
  14785. "type": "string"
  14786. },
  14787. "spotgoodsbrandid": {
  14788. "description": "现货品牌ID",
  14789. "type": "integer"
  14790. },
  14791. "todaybuyamount": {
  14792. "description": "今日采购额(今采购额)",
  14793. "type": "number"
  14794. },
  14795. "todaybuyaverageprice": {
  14796. "description": "今日采购均价",
  14797. "type": "number"
  14798. },
  14799. "todaybuyqty": {
  14800. "description": "今日采购量(今采购量)",
  14801. "type": "number"
  14802. },
  14803. "todayinqty": {
  14804. "description": "今日入库量(今入库量)",
  14805. "type": "number"
  14806. },
  14807. "todayoutqty": {
  14808. "description": "今日出库量(今出库量)",
  14809. "type": "number"
  14810. },
  14811. "todaysellamount": {
  14812. "description": "今日销售额(今销售额)",
  14813. "type": "number"
  14814. },
  14815. "todaysellaverageprice": {
  14816. "description": "今日销售均价",
  14817. "type": "number"
  14818. },
  14819. "todaysellqty": {
  14820. "description": "今日销售量(今销售量)",
  14821. "type": "number"
  14822. },
  14823. "unitid": {
  14824. "description": "品类单位id",
  14825. "type": "integer"
  14826. },
  14827. "unitidname": {
  14828. "description": "品类单位名称",
  14829. "type": "string"
  14830. },
  14831. "updatetime": {
  14832. "description": "更新时间",
  14833. "type": "string"
  14834. },
  14835. "wrfactortypeid": {
  14836. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14837. "type": "integer"
  14838. },
  14839. "wrstandardcode": {
  14840. "description": "品类代码",
  14841. "type": "string"
  14842. },
  14843. "wrstandardid": {
  14844. "description": "现货品类ID",
  14845. "type": "integer"
  14846. },
  14847. "wrstandardname": {
  14848. "description": "品类名称",
  14849. "type": "string"
  14850. }
  14851. }
  14852. },
  14853. "models.Ermcp3AreaStock": {
  14854. "type": "object",
  14855. "required": [
  14856. "userid"
  14857. ],
  14858. "properties": {
  14859. "brandname": {
  14860. "description": "品牌名称",
  14861. "type": "string"
  14862. },
  14863. "curstock": {
  14864. "description": "期末库存量(今日量)",
  14865. "type": "number"
  14866. },
  14867. "deliverygoodscode": {
  14868. "description": "现货品种代码",
  14869. "type": "string"
  14870. },
  14871. "deliverygoodsid": {
  14872. "description": "现货品种id",
  14873. "type": "integer"
  14874. },
  14875. "deliverygoodsname": {
  14876. "description": "现货品种名称",
  14877. "type": "string"
  14878. },
  14879. "enumdicname": {
  14880. "description": "单位名称",
  14881. "type": "string"
  14882. },
  14883. "goodsunitid": {
  14884. "description": "现货商品单位id",
  14885. "type": "integer"
  14886. },
  14887. "oristock": {
  14888. "description": "期初库存量(昨日量)",
  14889. "type": "number"
  14890. },
  14891. "spotgoodsbrandid": {
  14892. "description": "现货品牌ID",
  14893. "type": "integer"
  14894. },
  14895. "todaybuyinqty": {
  14896. "description": "今日采购入库量",
  14897. "type": "number"
  14898. },
  14899. "todayproduceinqty": {
  14900. "description": "今日生产入库量",
  14901. "type": "number"
  14902. },
  14903. "todayproduceoutqty": {
  14904. "description": "今日生产出库量",
  14905. "type": "number"
  14906. },
  14907. "todayselloutqty": {
  14908. "description": "今日销售出库量",
  14909. "type": "number"
  14910. },
  14911. "unitid": {
  14912. "description": "单位id",
  14913. "type": "integer"
  14914. },
  14915. "updatetime": {
  14916. "description": "更新时间",
  14917. "type": "string"
  14918. },
  14919. "userid": {
  14920. "description": "机构ID",
  14921. "type": "integer"
  14922. },
  14923. "username": {
  14924. "description": "机构名称",
  14925. "type": "string"
  14926. },
  14927. "warehousecode": {
  14928. "description": "仓库代码",
  14929. "type": "string"
  14930. },
  14931. "warehouseinfoid": {
  14932. "description": "仓库ID",
  14933. "type": "string"
  14934. },
  14935. "warehousename": {
  14936. "description": "仓库名称",
  14937. "type": "string"
  14938. },
  14939. "warehousetype": {
  14940. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14941. "type": "integer"
  14942. },
  14943. "wrstandardcode": {
  14944. "description": "品类代码",
  14945. "type": "string"
  14946. },
  14947. "wrstandardid": {
  14948. "description": "品类ID",
  14949. "type": "string"
  14950. },
  14951. "wrstandardname": {
  14952. "description": "品类名称",
  14953. "type": "string"
  14954. }
  14955. }
  14956. },
  14957. "models.Ermcp3AreaStockApply": {
  14958. "type": "object",
  14959. "properties": {
  14960. "applyid": {
  14961. "description": "申请人",
  14962. "type": "integer"
  14963. },
  14964. "applyname": {
  14965. "description": "申请人名称",
  14966. "type": "string"
  14967. },
  14968. "applyremark": {
  14969. "description": "申请备注",
  14970. "type": "string"
  14971. },
  14972. "applysrc": {
  14973. "description": "申请来源 - 1:管理端 2:终端",
  14974. "type": "integer"
  14975. },
  14976. "applystatus": {
  14977. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14978. "type": "integer"
  14979. },
  14980. "applytime": {
  14981. "description": "申请时间",
  14982. "type": "string"
  14983. },
  14984. "auditid": {
  14985. "description": "审核人",
  14986. "type": "integer"
  14987. },
  14988. "auditname": {
  14989. "description": "审核人名称",
  14990. "type": "string"
  14991. },
  14992. "auditremark": {
  14993. "description": "审核备注",
  14994. "type": "string"
  14995. },
  14996. "auditsrc": {
  14997. "description": "审核来源 - 1:管理端 2:终端",
  14998. "type": "integer"
  14999. },
  15000. "audittime": {
  15001. "description": "审核时间",
  15002. "type": "string"
  15003. },
  15004. "audittradedate": {
  15005. "description": "审核交易日(yyyyMMdd)",
  15006. "type": "string"
  15007. },
  15008. "brandname": {
  15009. "description": "品牌名称",
  15010. "type": "string"
  15011. },
  15012. "buynickname": {
  15013. "description": "采购方昵称",
  15014. "type": "string"
  15015. },
  15016. "buyuserid": {
  15017. "description": "采购方userid",
  15018. "type": "integer"
  15019. },
  15020. "buyusername": {
  15021. "description": "采购方名称",
  15022. "type": "string"
  15023. },
  15024. "contractno": {
  15025. "description": "合同编号",
  15026. "type": "string"
  15027. },
  15028. "contractqty": {
  15029. "description": "合同量",
  15030. "type": "number"
  15031. },
  15032. "contracttype": {
  15033. "description": "现货合同类型 - 1:采购 -1:销售",
  15034. "type": "integer"
  15035. },
  15036. "deliverygoodscode": {
  15037. "description": "现货品种代码",
  15038. "type": "string"
  15039. },
  15040. "deliverygoodsid": {
  15041. "description": "现货品种id",
  15042. "type": "integer"
  15043. },
  15044. "deliverygoodsname": {
  15045. "description": "现货品种名称",
  15046. "type": "string"
  15047. },
  15048. "detailjson": {
  15049. "description": "明细数据",
  15050. "type": "string"
  15051. },
  15052. "enumdicname": {
  15053. "description": "现货商品单位名称",
  15054. "type": "string"
  15055. },
  15056. "inoutapplyid": {
  15057. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15058. "type": "string"
  15059. },
  15060. "inouttype": {
  15061. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15062. "type": "integer"
  15063. },
  15064. "pricetype": {
  15065. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15066. "type": "integer"
  15067. },
  15068. "qty": {
  15069. "description": "数量",
  15070. "type": "number"
  15071. },
  15072. "sellnickname": {
  15073. "description": "销售方昵称",
  15074. "type": "string"
  15075. },
  15076. "selluserid": {
  15077. "description": "销售方userid",
  15078. "type": "integer"
  15079. },
  15080. "sellusername": {
  15081. "description": "销售方名称",
  15082. "type": "string"
  15083. },
  15084. "spotcontractid": {
  15085. "description": "关联现货合同ID",
  15086. "type": "string"
  15087. },
  15088. "spotgoodsbrandid": {
  15089. "description": "现货品牌ID",
  15090. "type": "integer"
  15091. },
  15092. "unitid": {
  15093. "description": "单位id",
  15094. "type": "integer"
  15095. },
  15096. "userid": {
  15097. "description": "机构ID",
  15098. "type": "integer"
  15099. },
  15100. "warehousecode": {
  15101. "description": "仓库代码",
  15102. "type": "string"
  15103. },
  15104. "warehouseinfoid": {
  15105. "description": "现货仓库ID",
  15106. "type": "string"
  15107. },
  15108. "warehousename": {
  15109. "description": "仓库名称",
  15110. "type": "string"
  15111. },
  15112. "warehousetype": {
  15113. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15114. "type": "integer"
  15115. },
  15116. "wrstandardcode": {
  15117. "description": "品类代码",
  15118. "type": "string"
  15119. },
  15120. "wrstandardid": {
  15121. "description": "品类ID",
  15122. "type": "integer"
  15123. },
  15124. "wrstandardname": {
  15125. "description": "品类名称",
  15126. "type": "string"
  15127. }
  15128. }
  15129. },
  15130. "models.Ermcp3AreaStockApplySum": {
  15131. "type": "object",
  15132. "properties": {
  15133. "brandname": {
  15134. "description": "品牌名称",
  15135. "type": "string"
  15136. },
  15137. "inouttype": {
  15138. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15139. "type": "integer"
  15140. },
  15141. "spotcontractid": {
  15142. "description": "关联现货合同ID",
  15143. "type": "string"
  15144. },
  15145. "spotgoodsbrandid": {
  15146. "description": "品牌id",
  15147. "type": "integer"
  15148. },
  15149. "totalqty": {
  15150. "description": "总数量",
  15151. "type": "number"
  15152. },
  15153. "wrstandardid": {
  15154. "description": "品类id",
  15155. "type": "integer"
  15156. },
  15157. "wrstandardname": {
  15158. "description": "品类名称",
  15159. "type": "string"
  15160. }
  15161. }
  15162. },
  15163. "models.Ermcp3AreaStockReportEx": {
  15164. "type": "object",
  15165. "properties": {
  15166. "begindate": {
  15167. "description": "开始交易日",
  15168. "type": "string"
  15169. },
  15170. "brandname": {
  15171. "description": "品牌名称",
  15172. "type": "string"
  15173. },
  15174. "curstock": {
  15175. "description": "期末库存量",
  15176. "type": "number"
  15177. },
  15178. "cycletime": {
  15179. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15180. "type": "string"
  15181. },
  15182. "cycletype": {
  15183. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15184. "type": "integer"
  15185. },
  15186. "deliverygoodscode": {
  15187. "description": "现货品种代码",
  15188. "type": "string"
  15189. },
  15190. "deliverygoodsid": {
  15191. "description": "现货品种id",
  15192. "type": "integer"
  15193. },
  15194. "deliverygoodsname": {
  15195. "description": "现货品种名称",
  15196. "type": "string"
  15197. },
  15198. "diffqty": {
  15199. "description": "库存变化量 = 期末 - 期初",
  15200. "type": "number"
  15201. },
  15202. "enddate": {
  15203. "description": "结束交易日",
  15204. "type": "string"
  15205. },
  15206. "enumdicname": {
  15207. "description": "单位名称",
  15208. "type": "string"
  15209. },
  15210. "goodsunitid": {
  15211. "description": "现货单位id",
  15212. "type": "integer"
  15213. },
  15214. "oristock": {
  15215. "description": "期初库存量",
  15216. "type": "number"
  15217. },
  15218. "reckondate": {
  15219. "description": "日照时期(yyyyMMdd)",
  15220. "type": "string"
  15221. },
  15222. "spotgoodsbrandid": {
  15223. "description": "现货品牌ID",
  15224. "type": "integer"
  15225. },
  15226. "todaybuyinqty": {
  15227. "description": "今采购入库量",
  15228. "type": "number"
  15229. },
  15230. "todayproduceinqty": {
  15231. "description": "今内部入库量",
  15232. "type": "number"
  15233. },
  15234. "todayproduceoutqty": {
  15235. "description": "今内部出库量",
  15236. "type": "number"
  15237. },
  15238. "todayselloutqty": {
  15239. "description": "今销售出库量",
  15240. "type": "number"
  15241. },
  15242. "unbuyinqty": {
  15243. "description": "采购未入库量(数据库未找到相关字段?)",
  15244. "type": "number"
  15245. },
  15246. "unitid": {
  15247. "description": "品类单位id",
  15248. "type": "integer"
  15249. },
  15250. "unselloutqty": {
  15251. "description": "销售未出库量(数据库未找到相关字段?)",
  15252. "type": "number"
  15253. },
  15254. "updatetime": {
  15255. "description": "更新时间",
  15256. "type": "string"
  15257. },
  15258. "userid": {
  15259. "description": "机构ID",
  15260. "type": "integer"
  15261. },
  15262. "username": {
  15263. "description": "机构名称",
  15264. "type": "string"
  15265. },
  15266. "warehousecode": {
  15267. "description": "仓库代码",
  15268. "type": "string"
  15269. },
  15270. "warehouseinfoid": {
  15271. "description": "仓库ID",
  15272. "type": "string"
  15273. },
  15274. "warehousename": {
  15275. "description": "仓库名称",
  15276. "type": "string"
  15277. },
  15278. "warehousetype": {
  15279. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15280. "type": "integer"
  15281. },
  15282. "wrstandardcode": {
  15283. "description": "品类代码",
  15284. "type": "string"
  15285. },
  15286. "wrstandardid": {
  15287. "description": "品类ID",
  15288. "type": "integer"
  15289. },
  15290. "wrstandardname": {
  15291. "description": "品类名称",
  15292. "type": "string"
  15293. }
  15294. }
  15295. },
  15296. "models.Ermcp3ArealSumPL": {
  15297. "type": "object",
  15298. "properties": {
  15299. "accountname": {
  15300. "description": "机构名称",
  15301. "type": "string"
  15302. },
  15303. "areauserid": {
  15304. "description": "所属机构\\交易用户ID",
  15305. "type": "integer"
  15306. },
  15307. "begindate": {
  15308. "description": "开始交易日",
  15309. "type": "string"
  15310. },
  15311. "currencyid": {
  15312. "description": "结算币种ID",
  15313. "type": "integer"
  15314. },
  15315. "currencyname": {
  15316. "description": "币种名称",
  15317. "type": "string"
  15318. },
  15319. "cycletime": {
  15320. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15321. "type": "string"
  15322. },
  15323. "cycletype": {
  15324. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15325. "type": "integer"
  15326. },
  15327. "enddate": {
  15328. "description": "结束交易日",
  15329. "type": "string"
  15330. },
  15331. "enumdicname": {
  15332. "description": "单位名称(套保品种)",
  15333. "type": "string"
  15334. },
  15335. "futureactualpl": {
  15336. "description": "期货损益",
  15337. "type": "number"
  15338. },
  15339. "futurefloatpl": {
  15340. "description": "期货浮动损益",
  15341. "type": "number"
  15342. },
  15343. "goodsunitid": {
  15344. "description": "套保品种单位id",
  15345. "type": "integer"
  15346. },
  15347. "middlegoodscode": {
  15348. "description": "套保品种代码",
  15349. "type": "string"
  15350. },
  15351. "middlegoodsid": {
  15352. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15353. "type": "integer"
  15354. },
  15355. "middlegoodsname": {
  15356. "description": "套保品种名称",
  15357. "type": "string"
  15358. },
  15359. "reckondate": {
  15360. "description": "日照时期(yyyyMMdd)",
  15361. "type": "string"
  15362. },
  15363. "spotactualpl": {
  15364. "description": "现货损益",
  15365. "type": "number"
  15366. },
  15367. "spotfloatpl": {
  15368. "description": "现货浮动损益",
  15369. "type": "number"
  15370. },
  15371. "sumactualpl": {
  15372. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15373. "type": "number"
  15374. },
  15375. "sumpl": {
  15376. "description": "汇总损益",
  15377. "type": "number"
  15378. },
  15379. "updatetime": {
  15380. "description": "更新时间",
  15381. "type": "string"
  15382. }
  15383. }
  15384. },
  15385. "models.Ermcp3Brand": {
  15386. "type": "object",
  15387. "properties": {
  15388. "areauserid": {
  15389. "description": "用户id",
  15390. "type": "integer"
  15391. },
  15392. "brandid": {
  15393. "description": "品牌id",
  15394. "type": "integer"
  15395. },
  15396. "brandname": {
  15397. "description": "品牌名称",
  15398. "type": "string"
  15399. },
  15400. "deliverygoodsid": {
  15401. "description": "品种ID",
  15402. "type": "integer"
  15403. }
  15404. }
  15405. },
  15406. "models.Ermcp3Contract": {
  15407. "type": "object",
  15408. "properties": {
  15409. "accountid": {
  15410. "description": "期货账户id",
  15411. "type": "string"
  15412. },
  15413. "amount": {
  15414. "description": "金额 [1:一口价、3:暂定价]",
  15415. "type": "number"
  15416. },
  15417. "attachment": {
  15418. "description": "附件",
  15419. "type": "string"
  15420. },
  15421. "auditremark": {
  15422. "description": "审核意见",
  15423. "type": "string"
  15424. },
  15425. "audittime": {
  15426. "description": "审核时间",
  15427. "type": "string"
  15428. },
  15429. "biztype": {
  15430. "description": "业务类型 1-套保 2-套利",
  15431. "type": "integer"
  15432. },
  15433. "brandname": {
  15434. "description": "品牌名称",
  15435. "type": "string"
  15436. },
  15437. "buynickname": {
  15438. "description": "销售方昵称",
  15439. "type": "string"
  15440. },
  15441. "buyuserid": {
  15442. "description": "采购方ID",
  15443. "type": "integer"
  15444. },
  15445. "buyusername": {
  15446. "description": "采购方名称",
  15447. "type": "string"
  15448. },
  15449. "contracctstatus": {
  15450. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15451. "type": "integer"
  15452. },
  15453. "contractmargin": {
  15454. "description": "合同保证金",
  15455. "type": "number"
  15456. },
  15457. "contractno": {
  15458. "description": "现货合同编号",
  15459. "type": "string"
  15460. },
  15461. "contracttype": {
  15462. "description": "现货合同类型 - 1:采购 -1:销售",
  15463. "type": "integer"
  15464. },
  15465. "convertfactor": {
  15466. "description": "标仓系数(品类)",
  15467. "type": "number"
  15468. },
  15469. "createtime": {
  15470. "description": "创建时间",
  15471. "type": "string"
  15472. },
  15473. "currencyid": {
  15474. "description": "币种id",
  15475. "type": "integer"
  15476. },
  15477. "currencyname": {
  15478. "description": "币种名称",
  15479. "type": "string"
  15480. },
  15481. "deliveryenddate": {
  15482. "description": "交收期(结束)",
  15483. "type": "string"
  15484. },
  15485. "deliverygoodscode": {
  15486. "description": "现货品种代码",
  15487. "type": "string"
  15488. },
  15489. "deliverygoodsid": {
  15490. "description": "现货品种ID",
  15491. "type": "integer"
  15492. },
  15493. "deliverygoodsname": {
  15494. "description": "现货品种名称",
  15495. "type": "string"
  15496. },
  15497. "deliverystartdate": {
  15498. "description": "交收期(开始)",
  15499. "type": "string"
  15500. },
  15501. "enddate": {
  15502. "description": "点价结束日期 [2:点价 3:暂定价]",
  15503. "type": "string"
  15504. },
  15505. "enumdicname": {
  15506. "description": "单位名称",
  15507. "type": "string"
  15508. },
  15509. "goodscode": {
  15510. "description": "点价合约代码",
  15511. "type": "string"
  15512. },
  15513. "goodsid": {
  15514. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15515. "type": "integer"
  15516. },
  15517. "goodsname": {
  15518. "description": "点价商品名称",
  15519. "type": "string"
  15520. },
  15521. "margin": {
  15522. "description": "当前保证金",
  15523. "type": "number"
  15524. },
  15525. "meruserid": {
  15526. "description": "跟单员id",
  15527. "type": "integer"
  15528. },
  15529. "meruserlogincode": {
  15530. "description": "跟单员登录代码",
  15531. "type": "string"
  15532. },
  15533. "price": {
  15534. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15535. "type": "number"
  15536. },
  15537. "pricemove": {
  15538. "description": "升贴水 [2:点价 3:暂定价]",
  15539. "type": "number"
  15540. },
  15541. "pricetype": {
  15542. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15543. "type": "integer"
  15544. },
  15545. "producttype": {
  15546. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15547. "type": "integer"
  15548. },
  15549. "qty": {
  15550. "description": "数量",
  15551. "type": "number"
  15552. },
  15553. "remark": {
  15554. "description": "备注",
  15555. "type": "string"
  15556. },
  15557. "saleuserid": {
  15558. "description": "业务员id",
  15559. "type": "integer"
  15560. },
  15561. "saleuserlogincode": {
  15562. "description": "业务员登录代码",
  15563. "type": "string"
  15564. },
  15565. "sellnickname": {
  15566. "description": "采购方昵称",
  15567. "type": "string"
  15568. },
  15569. "selluserid": {
  15570. "description": "销售方ID",
  15571. "type": "integer"
  15572. },
  15573. "sellusername": {
  15574. "description": "销售方名称",
  15575. "type": "string"
  15576. },
  15577. "spotcontractid": {
  15578. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15579. "type": "string"
  15580. },
  15581. "spotgoodsbrandid": {
  15582. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15583. "type": "integer"
  15584. },
  15585. "spotgoodsdesc": {
  15586. "description": "商品型号",
  15587. "type": "string"
  15588. },
  15589. "startdate": {
  15590. "description": "点价开始日期 [2:点价 3:暂定价]",
  15591. "type": "string"
  15592. },
  15593. "tradeuserid": {
  15594. "description": "交易员id",
  15595. "type": "integer"
  15596. },
  15597. "tradeuserlogincode": {
  15598. "description": "交易员登录代码",
  15599. "type": "string"
  15600. },
  15601. "tradeusername": {
  15602. "description": "交易员名称",
  15603. "type": "string"
  15604. },
  15605. "unitid": {
  15606. "description": "单位id(取品类上的单位id)",
  15607. "type": "integer"
  15608. },
  15609. "updatetime": {
  15610. "description": "更新时间",
  15611. "type": "string"
  15612. },
  15613. "userid": {
  15614. "description": "所属机构ID",
  15615. "type": "integer"
  15616. },
  15617. "wrstandardcode": {
  15618. "description": "品类代码",
  15619. "type": "string"
  15620. },
  15621. "wrstandardid": {
  15622. "description": "品类ID",
  15623. "type": "integer"
  15624. },
  15625. "wrstandardname": {
  15626. "description": "品类名称",
  15627. "type": "string"
  15628. }
  15629. }
  15630. },
  15631. "models.Ermcp3ExposureContractDetail": {
  15632. "type": "object",
  15633. "properties": {
  15634. "biztype": {
  15635. "description": "业务类型 1-套保 2-套利",
  15636. "type": "integer"
  15637. },
  15638. "brandname": {
  15639. "description": "品牌名称",
  15640. "type": "string"
  15641. },
  15642. "buyuserid": {
  15643. "description": "采购方id",
  15644. "type": "integer"
  15645. },
  15646. "buyusername": {
  15647. "description": "采购方名称",
  15648. "type": "string"
  15649. },
  15650. "contractno": {
  15651. "description": "合同编号",
  15652. "type": "string"
  15653. },
  15654. "contracttype": {
  15655. "description": "现货合同类型 - 1:采购 -1:销售",
  15656. "type": "integer"
  15657. },
  15658. "convertfactor": {
  15659. "description": "标仓系数",
  15660. "type": "number"
  15661. },
  15662. "convertratio": {
  15663. "description": "折算系数(套保品种)",
  15664. "type": "number"
  15665. },
  15666. "curqty": {
  15667. "description": "今定价量",
  15668. "type": "number"
  15669. },
  15670. "deliverygoodscode": {
  15671. "description": "现货商品代码",
  15672. "type": "string"
  15673. },
  15674. "deliverygoodsid": {
  15675. "description": "现货商品id",
  15676. "type": "integer"
  15677. },
  15678. "deliverygoodsname": {
  15679. "description": "现货商品名称",
  15680. "type": "string"
  15681. },
  15682. "diffhedgeqty": {
  15683. "description": "套保变动量",
  15684. "type": "number"
  15685. },
  15686. "diffneedhedgeqty": {
  15687. "description": "应套保变动量",
  15688. "type": "number"
  15689. },
  15690. "diffqty": {
  15691. "description": "套保品种今变动量",
  15692. "type": "number"
  15693. },
  15694. "enumdicname": {
  15695. "description": "单位名称",
  15696. "type": "string"
  15697. },
  15698. "middlegoodscode": {
  15699. "description": "套保品种代码",
  15700. "type": "string"
  15701. },
  15702. "middlegoodsid": {
  15703. "description": "套保品种id",
  15704. "type": "integer"
  15705. },
  15706. "middlegoodsname": {
  15707. "description": "套保品种名称",
  15708. "type": "string"
  15709. },
  15710. "needarbitrageratio": {
  15711. "description": "应套利比例",
  15712. "type": "number"
  15713. },
  15714. "needhedgeratio": {
  15715. "description": "应套保比例",
  15716. "type": "number"
  15717. },
  15718. "pricedqty": {
  15719. "description": "已定价量",
  15720. "type": "number"
  15721. },
  15722. "qty": {
  15723. "description": "合同量",
  15724. "type": "number"
  15725. },
  15726. "selluserid": {
  15727. "description": "销售方id",
  15728. "type": "integer"
  15729. },
  15730. "sellusername": {
  15731. "description": "销售方名称",
  15732. "type": "string"
  15733. },
  15734. "spotcontractid": {
  15735. "description": "合同id",
  15736. "type": "string"
  15737. },
  15738. "todaypricedqty": {
  15739. "description": "今定价量",
  15740. "type": "number"
  15741. },
  15742. "tradedate": {
  15743. "description": "交易日",
  15744. "type": "string"
  15745. },
  15746. "unitid": {
  15747. "description": "品类单位id",
  15748. "type": "integer"
  15749. },
  15750. "userid": {
  15751. "description": "机构id",
  15752. "type": "integer"
  15753. },
  15754. "wrstandardcode": {
  15755. "description": "品类代码",
  15756. "type": "string"
  15757. },
  15758. "wrstandardid": {
  15759. "description": "品类id",
  15760. "type": "integer"
  15761. },
  15762. "wrstandardname": {
  15763. "description": "品类名称",
  15764. "type": "string"
  15765. }
  15766. }
  15767. },
  15768. "models.Ermcp3ExposureDetail": {
  15769. "type": "object",
  15770. "properties": {
  15771. "areauserid": {
  15772. "description": "机构ID",
  15773. "type": "integer"
  15774. },
  15775. "changeQty": {
  15776. "description": "套保变动量",
  15777. "type": "number"
  15778. },
  15779. "contracttype": {
  15780. "description": "现货合同类型 - 1:采购 -1:销售",
  15781. "type": "integer"
  15782. },
  15783. "convertfactor": {
  15784. "description": "标仓系数",
  15785. "type": "number"
  15786. },
  15787. "convertratio": {
  15788. "description": "套保系数",
  15789. "type": "number"
  15790. },
  15791. "createtime": {
  15792. "description": "时间",
  15793. "type": "string"
  15794. },
  15795. "deliverygoodscode": {
  15796. "description": "现货品种代码",
  15797. "type": "string"
  15798. },
  15799. "deliverygoodsid": {
  15800. "description": "现货品种id",
  15801. "type": "integer"
  15802. },
  15803. "deliverygoodsname": {
  15804. "description": "现货品种名称",
  15805. "type": "string"
  15806. },
  15807. "enumdicname": {
  15808. "description": "现货商品单位名称",
  15809. "type": "string"
  15810. },
  15811. "logtype": {
  15812. "description": "类型 - 1:套保计划 2:现货合同",
  15813. "type": "integer"
  15814. },
  15815. "mgunitid": {
  15816. "description": "套保品种单位id",
  15817. "type": "integer"
  15818. },
  15819. "mgunitidname": {
  15820. "description": "套保品种单位名称",
  15821. "type": "string"
  15822. },
  15823. "middlegoodsId": {
  15824. "description": "套保商品id",
  15825. "type": "integer"
  15826. },
  15827. "middlegoodscode": {
  15828. "description": "套保商品代码",
  15829. "type": "string"
  15830. },
  15831. "middlegoodsname": {
  15832. "description": "套保商品名称",
  15833. "type": "string"
  15834. },
  15835. "qty": {
  15836. "description": "数量",
  15837. "type": "number"
  15838. },
  15839. "relateNo": {
  15840. "description": "现货合同/套保计划编号",
  15841. "type": "string"
  15842. }
  15843. }
  15844. },
  15845. "models.Ermcp3ExposureFutuDetail": {
  15846. "type": "object",
  15847. "properties": {
  15848. "accountid": {
  15849. "description": "交易账户id",
  15850. "type": "integer"
  15851. },
  15852. "accountname": {
  15853. "description": "交易账户",
  15854. "type": "string"
  15855. },
  15856. "begindate": {
  15857. "description": "开始交易日",
  15858. "type": "string"
  15859. },
  15860. "buyorsell": {
  15861. "description": "方向 0-买 1-卖",
  15862. "type": "integer"
  15863. },
  15864. "diffmgqty": {
  15865. "description": "套保品种今变化量",
  15866. "type": "number"
  15867. },
  15868. "diffneedqty": {
  15869. "description": "应套保总量变化量",
  15870. "type": "number"
  15871. },
  15872. "difftradeqty": {
  15873. "description": "交易品种今变化量",
  15874. "type": "number"
  15875. },
  15876. "enddate": {
  15877. "description": "结束交易日",
  15878. "type": "string"
  15879. },
  15880. "enumdicname": {
  15881. "description": "单位名称",
  15882. "type": "string"
  15883. },
  15884. "goodscode": {
  15885. "description": "商品代码",
  15886. "type": "string"
  15887. },
  15888. "goodsid": {
  15889. "description": "商品id",
  15890. "type": "integer"
  15891. },
  15892. "goodsname": {
  15893. "description": "商品名称",
  15894. "type": "string"
  15895. },
  15896. "holdqty": {
  15897. "description": "期末持仓量",
  15898. "type": "number"
  15899. },
  15900. "middlegoodscode": {
  15901. "description": "套保商品代码",
  15902. "type": "string"
  15903. },
  15904. "middlegoodsid": {
  15905. "description": "套保商品id",
  15906. "type": "integer"
  15907. },
  15908. "middlegoodsname": {
  15909. "description": "套保商品名称",
  15910. "type": "string"
  15911. },
  15912. "oriholdqty": {
  15913. "description": "期初持仓量",
  15914. "type": "number"
  15915. },
  15916. "todaycloseqty": {
  15917. "description": "今平仓量",
  15918. "type": "number"
  15919. },
  15920. "todayopenqty": {
  15921. "description": "今开仓量",
  15922. "type": "number"
  15923. },
  15924. "tradedate": {
  15925. "description": "交易日",
  15926. "type": "string"
  15927. }
  15928. }
  15929. },
  15930. "models.Ermcp3ExposureHedgeplanDetail": {
  15931. "type": "object",
  15932. "properties": {
  15933. "biztype": {
  15934. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15935. "type": "integer"
  15936. },
  15937. "changqty": {
  15938. "description": "应套保总量变化量",
  15939. "type": "number"
  15940. },
  15941. "contracttype": {
  15942. "description": "计划类型 - 1:采购 -1:销售",
  15943. "type": "integer"
  15944. },
  15945. "convertratio": {
  15946. "description": "折算系数(套保品种)",
  15947. "type": "number"
  15948. },
  15949. "deliverygoodscode": {
  15950. "description": "现货商品代码",
  15951. "type": "string"
  15952. },
  15953. "deliverygoodsid": {
  15954. "description": "现货商品id",
  15955. "type": "integer"
  15956. },
  15957. "deliverygoodsname": {
  15958. "description": "现货商吕名称",
  15959. "type": "string"
  15960. },
  15961. "dgunitid": {
  15962. "description": "现货商品单位id",
  15963. "type": "integer"
  15964. },
  15965. "dgunitidname": {
  15966. "description": "单位名称(现货商品)",
  15967. "type": "string"
  15968. },
  15969. "diffqty": {
  15970. "description": "套保品种今变动量",
  15971. "type": "number"
  15972. },
  15973. "enumdicname": {
  15974. "description": "单位名称(品类)",
  15975. "type": "string"
  15976. },
  15977. "hedgeplanid": {
  15978. "description": "套保计划id",
  15979. "type": "string"
  15980. },
  15981. "hedgeplanno": {
  15982. "description": "套保计划名称",
  15983. "type": "string"
  15984. },
  15985. "hedgeplanstatus": {
  15986. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15987. "type": "integer"
  15988. },
  15989. "mgunitidname": {
  15990. "description": "单位名称(套保商品)",
  15991. "type": "string"
  15992. },
  15993. "middlegoodscode": {
  15994. "description": "套保品种代码",
  15995. "type": "string"
  15996. },
  15997. "middlegoodsid": {
  15998. "description": "套保品种id",
  15999. "type": "integer"
  16000. },
  16001. "middlegoodsname": {
  16002. "description": "套保品种名称",
  16003. "type": "string"
  16004. },
  16005. "needarbitrageratio": {
  16006. "description": "应套利比例",
  16007. "type": "number"
  16008. },
  16009. "needhedgeratio": {
  16010. "description": "应套保比例",
  16011. "type": "number"
  16012. },
  16013. "pricedqty": {
  16014. "description": "已定价量",
  16015. "type": "number"
  16016. },
  16017. "qty": {
  16018. "description": "合同量",
  16019. "type": "number"
  16020. },
  16021. "tradedate": {
  16022. "description": "交易日(登记日)",
  16023. "type": "string"
  16024. },
  16025. "unitid": {
  16026. "description": "品类单位id",
  16027. "type": "integer"
  16028. },
  16029. "userid": {
  16030. "description": "机构id",
  16031. "type": "integer"
  16032. },
  16033. "wrstandardcode": {
  16034. "description": "品类代码",
  16035. "type": "string"
  16036. },
  16037. "wrstandardid": {
  16038. "description": "品类id",
  16039. "type": "integer"
  16040. },
  16041. "wrstandardname": {
  16042. "description": "品类名称",
  16043. "type": "string"
  16044. }
  16045. }
  16046. },
  16047. "models.Ermcp3ExpourseReport": {
  16048. "type": "object",
  16049. "properties": {
  16050. "accountid": {
  16051. "description": "期货账户ID (作废, 默认为0)",
  16052. "type": "integer"
  16053. },
  16054. "accountname": {
  16055. "description": "机构名称",
  16056. "type": "string"
  16057. },
  16058. "arbitrageqty": {
  16059. "description": "套利量",
  16060. "type": "number"
  16061. },
  16062. "areauserid": {
  16063. "description": "所属机构\\交易用户ID",
  16064. "type": "integer"
  16065. },
  16066. "begindate": {
  16067. "description": "开始交易日",
  16068. "type": "string"
  16069. },
  16070. "buyfutureqty": {
  16071. "description": "买入期货数量",
  16072. "type": "number"
  16073. },
  16074. "buyplanqty": {
  16075. "description": "采购计划数量",
  16076. "type": "number"
  16077. },
  16078. "buypricedqty": {
  16079. "description": "采购合同已定价数量",
  16080. "type": "number"
  16081. },
  16082. "cycletime": {
  16083. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16084. "type": "string"
  16085. },
  16086. "cycletype": {
  16087. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16088. "type": "integer"
  16089. },
  16090. "diffexposure": {
  16091. "description": "变动量(套保敞口)",
  16092. "type": "number"
  16093. },
  16094. "difffutuqty": {
  16095. "description": "变动量(期货)",
  16096. "type": "number"
  16097. },
  16098. "diffhedgeqty": {
  16099. "description": "变动量(现货应套保总量)",
  16100. "type": "number"
  16101. },
  16102. "diffmgqtya": {
  16103. "description": "套保变动量",
  16104. "type": "number"
  16105. },
  16106. "diffmgqtyb": {
  16107. "description": "套利变动量",
  16108. "type": "number"
  16109. },
  16110. "diffqty": {
  16111. "description": "变动量(总敞口)",
  16112. "type": "number"
  16113. },
  16114. "diffspotqty": {
  16115. "description": "变动量(现货)",
  16116. "type": "number"
  16117. },
  16118. "enddate": {
  16119. "description": "结束交易日",
  16120. "type": "string"
  16121. },
  16122. "enumdicname": {
  16123. "description": "单位名称",
  16124. "type": "string"
  16125. },
  16126. "hedgeqty": {
  16127. "description": "套保量",
  16128. "type": "number"
  16129. },
  16130. "mgneedhedgeratio": {
  16131. "description": "套保比例(套保品的)",
  16132. "type": "number"
  16133. },
  16134. "middlegoodsid": {
  16135. "description": "套保品种ID",
  16136. "type": "integer"
  16137. },
  16138. "middlegoodsname": {
  16139. "description": "套保商品名称",
  16140. "type": "string"
  16141. },
  16142. "middlgoodscode": {
  16143. "description": "套保商品代码",
  16144. "type": "string"
  16145. },
  16146. "needarbitrageqty": {
  16147. "description": "应套利量",
  16148. "type": "number"
  16149. },
  16150. "needarbitrageratio": {
  16151. "description": "套利比例(套保品的)",
  16152. "type": "number"
  16153. },
  16154. "needhedgeexposoure": {
  16155. "description": "应套保敞口(套保敞口)",
  16156. "type": "number"
  16157. },
  16158. "needhedgeqty": {
  16159. "description": "应套保量",
  16160. "type": "number"
  16161. },
  16162. "needhedgeratio": {
  16163. "description": "应套保敞口比例",
  16164. "type": "number"
  16165. },
  16166. "oriarbitrageqty": {
  16167. "description": "期初套利量",
  16168. "type": "number"
  16169. },
  16170. "oribuyfutureqty": {
  16171. "description": "期初买入期货数量",
  16172. "type": "number"
  16173. },
  16174. "oribuyplanqty": {
  16175. "description": "期初采购计划数量",
  16176. "type": "number"
  16177. },
  16178. "oribuypricedqty": {
  16179. "description": "期初采购合同已定价数量",
  16180. "type": "number"
  16181. },
  16182. "orihedgeqty": {
  16183. "description": "期初套保量",
  16184. "type": "number"
  16185. },
  16186. "orineedarbitrageqty": {
  16187. "description": "期初应套利量",
  16188. "type": "number"
  16189. },
  16190. "orineedhedgeexposoure": {
  16191. "description": "期初应套保敞口",
  16192. "type": "number"
  16193. },
  16194. "orineedhedgeqty": {
  16195. "description": "期初应套保量",
  16196. "type": "number"
  16197. },
  16198. "orisellfutureqty": {
  16199. "description": "期初卖出期货数量",
  16200. "type": "number"
  16201. },
  16202. "orisellplanqty": {
  16203. "description": "期初销售计划数量",
  16204. "type": "number"
  16205. },
  16206. "orisellpricedqty": {
  16207. "description": "期初销售合同已定价数量",
  16208. "type": "number"
  16209. },
  16210. "oritotalexposure": {
  16211. "description": "期初实时总敞口",
  16212. "type": "number"
  16213. },
  16214. "oritotalfutureqty": {
  16215. "description": "期初期货头寸总量",
  16216. "type": "number"
  16217. },
  16218. "oritotalneedhedgeqty": {
  16219. "description": "期初应套保总量",
  16220. "type": "number"
  16221. },
  16222. "oritotalspotqty": {
  16223. "description": "期初现货头寸总量",
  16224. "type": "number"
  16225. },
  16226. "reckondate": {
  16227. "description": "日照时期(yyyyMMdd)",
  16228. "type": "string"
  16229. },
  16230. "sellfutureqty": {
  16231. "description": "卖出期货数量",
  16232. "type": "number"
  16233. },
  16234. "sellplanqty": {
  16235. "description": "销售计划数量",
  16236. "type": "number"
  16237. },
  16238. "sellpricedqty": {
  16239. "description": "销售合同已定价数量",
  16240. "type": "number"
  16241. },
  16242. "totalexposure": {
  16243. "description": "实时总敞口(总敞口)",
  16244. "type": "number"
  16245. },
  16246. "totalfutureqty": {
  16247. "description": "期货头寸总量(期货总量)",
  16248. "type": "number"
  16249. },
  16250. "totalhedgeratio": {
  16251. "description": "敞口比例",
  16252. "type": "number"
  16253. },
  16254. "totalneedhedgeqty": {
  16255. "description": "应套保总量(现货应套保总量)",
  16256. "type": "number"
  16257. },
  16258. "totalspotqty": {
  16259. "description": "现货头寸总量",
  16260. "type": "number"
  16261. },
  16262. "unitid": {
  16263. "description": "单位id",
  16264. "type": "integer"
  16265. },
  16266. "updatetime": {
  16267. "description": "更新时间",
  16268. "type": "string"
  16269. }
  16270. }
  16271. },
  16272. "models.Ermcp3FinanceReport": {
  16273. "type": "object",
  16274. "properties": {
  16275. "accountname": {
  16276. "description": "机构名称",
  16277. "type": "string"
  16278. },
  16279. "areauserid": {
  16280. "description": "所属机构\\交易用户ID",
  16281. "type": "integer"
  16282. },
  16283. "begindate": {
  16284. "description": "开始交易日",
  16285. "type": "string"
  16286. },
  16287. "biztype": {
  16288. "description": "业务类型 - 1:套保 2:套利",
  16289. "type": "integer"
  16290. },
  16291. "brandname": {
  16292. "description": "品牌名称",
  16293. "type": "string"
  16294. },
  16295. "buypreinvoicedamount": {
  16296. "description": "采购预收票额(预收票额)",
  16297. "type": "number"
  16298. },
  16299. "buyprepaidamount": {
  16300. "description": "采购预付款额(预付货款额)",
  16301. "type": "number"
  16302. },
  16303. "buytodayinvoiceamount": {
  16304. "description": "采购今收票额(今收票额)",
  16305. "type": "number"
  16306. },
  16307. "buytodayrefundamount": {
  16308. "description": "采购今收退款额(今收退款额)",
  16309. "type": "number"
  16310. },
  16311. "buytodaysettleamount": {
  16312. "description": "采购今付款额(今付货款额)",
  16313. "type": "number"
  16314. },
  16315. "buyuninvoicedamount": {
  16316. "description": "采购应收票额(应收票额)",
  16317. "type": "number"
  16318. },
  16319. "buyunpaidamount": {
  16320. "description": "采购应付款额(应付货款额)",
  16321. "type": "number"
  16322. },
  16323. "currencyid": {
  16324. "description": "结算币种ID",
  16325. "type": "integer"
  16326. },
  16327. "currencyname": {
  16328. "description": "币种名称",
  16329. "type": "string"
  16330. },
  16331. "cycletime": {
  16332. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16333. "type": "string"
  16334. },
  16335. "cycletype": {
  16336. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16337. "type": "integer"
  16338. },
  16339. "deliverygoodscode": {
  16340. "description": "现货品种代码",
  16341. "type": "string"
  16342. },
  16343. "deliverygoodsid": {
  16344. "description": "现货品种ID",
  16345. "type": "integer"
  16346. },
  16347. "deliverygoodsname": {
  16348. "description": "现货品种名称",
  16349. "type": "string"
  16350. },
  16351. "enddate": {
  16352. "description": "结束交易日",
  16353. "type": "string"
  16354. },
  16355. "reckondate": {
  16356. "description": "日照时期(yyyyMMdd)",
  16357. "type": "string"
  16358. },
  16359. "sellpreinvoicedamount": {
  16360. "description": "销售预开票额(预开票额)",
  16361. "type": "number"
  16362. },
  16363. "sellprepaidamount": {
  16364. "description": "销售预收款额(预收货款额)",
  16365. "type": "number"
  16366. },
  16367. "selltodayinvoiceamount": {
  16368. "description": "销售今开票额(今开票额)",
  16369. "type": "number"
  16370. },
  16371. "selltodayrefundamount": {
  16372. "description": "销售今付退款额(今付退款额)",
  16373. "type": "number"
  16374. },
  16375. "selltodaysettleamount": {
  16376. "description": "销售今收款额(今收货款额)",
  16377. "type": "number"
  16378. },
  16379. "selluninvoicedamount": {
  16380. "description": "销售应开票额(应开票额)",
  16381. "type": "number"
  16382. },
  16383. "sellunpaidamount": {
  16384. "description": "销售应收款额(应收货款额)",
  16385. "type": "number"
  16386. },
  16387. "spotgoodsbrandid": {
  16388. "description": "现货品牌ID",
  16389. "type": "integer"
  16390. },
  16391. "todaypaysum": {
  16392. "description": "今付款合计",
  16393. "type": "number"
  16394. },
  16395. "todayreceivesum": {
  16396. "description": "今收款合计",
  16397. "type": "number"
  16398. },
  16399. "updatetime": {
  16400. "description": "更新时间",
  16401. "type": "string"
  16402. },
  16403. "wrfactortypeid": {
  16404. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16405. "type": "integer"
  16406. },
  16407. "wrstandardcode": {
  16408. "description": "品类代码",
  16409. "type": "string"
  16410. },
  16411. "wrstandardid": {
  16412. "description": "现货商品ID",
  16413. "type": "integer"
  16414. },
  16415. "wrstandardname": {
  16416. "description": "品类名称",
  16417. "type": "string"
  16418. }
  16419. }
  16420. },
  16421. "models.Ermcp3Goods": {
  16422. "type": "object",
  16423. "properties": {
  16424. "agreeunit": {
  16425. "description": "合约单位(合约乘数)",
  16426. "type": "number"
  16427. },
  16428. "enumdicname": {
  16429. "description": "单位名称",
  16430. "type": "string"
  16431. },
  16432. "exexchangecode": {
  16433. "description": "交易所代码",
  16434. "type": "string"
  16435. },
  16436. "goodscode": {
  16437. "description": "期货商品代码",
  16438. "type": "string"
  16439. },
  16440. "goodsid": {
  16441. "description": "期货商品id",
  16442. "type": "integer"
  16443. },
  16444. "goodsname": {
  16445. "description": "期货商品名称",
  16446. "type": "string"
  16447. }
  16448. }
  16449. },
  16450. "models.Ermcp3GoodsGroup": {
  16451. "type": "object",
  16452. "required": [
  16453. "areauserid"
  16454. ],
  16455. "properties": {
  16456. "agreeunit": {
  16457. "description": "合约单位",
  16458. "type": "number"
  16459. },
  16460. "areauserid": {
  16461. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16462. "type": "integer"
  16463. },
  16464. "canshort": {
  16465. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16466. "type": "integer"
  16467. },
  16468. "closepricemode": {
  16469. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16470. "type": "integer"
  16471. },
  16472. "createtime": {
  16473. "description": "创建时间",
  16474. "type": "string"
  16475. },
  16476. "creatorid": {
  16477. "description": "创建人",
  16478. "type": "integer"
  16479. },
  16480. "currencyid": {
  16481. "description": "报价货币ID",
  16482. "type": "integer"
  16483. },
  16484. "decimalplace": {
  16485. "description": "报价小数位",
  16486. "type": "integer"
  16487. },
  16488. "enumdicname": {
  16489. "description": "单位名称",
  16490. "type": "string"
  16491. },
  16492. "exchangefullname": {
  16493. "description": "交易所全称",
  16494. "type": "string"
  16495. },
  16496. "excludecfg": {
  16497. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16498. "type": "integer"
  16499. },
  16500. "exexchangecode": {
  16501. "description": "交易所代码",
  16502. "type": "string"
  16503. },
  16504. "exexchangeid": {
  16505. "description": "外部交易所ID[通道交易]",
  16506. "type": "integer"
  16507. },
  16508. "exexchangename": {
  16509. "description": "交易所名称",
  16510. "type": "string"
  16511. },
  16512. "goodsgroupid": {
  16513. "description": "商品组ID(自增ID)",
  16514. "type": "integer"
  16515. },
  16516. "goodsgroupname": {
  16517. "description": "商品组名称",
  16518. "type": "string"
  16519. },
  16520. "goodsgroupstatus": {
  16521. "description": "商品组状态 - 1:正常 2:注销",
  16522. "type": "integer"
  16523. },
  16524. "goodunitid": {
  16525. "description": "报价单位ID",
  16526. "type": "integer"
  16527. },
  16528. "groupcategroyid": {
  16529. "description": "品种分类ID",
  16530. "type": "integer"
  16531. },
  16532. "innerdealmode": {
  16533. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16534. "type": "integer"
  16535. },
  16536. "marketid": {
  16537. "description": "所属市场ID",
  16538. "type": "integer"
  16539. },
  16540. "modifierid": {
  16541. "description": "修改人",
  16542. "type": "integer"
  16543. },
  16544. "modifytime": {
  16545. "description": "修改时间",
  16546. "type": "string"
  16547. },
  16548. "outerdealmode": {
  16549. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16550. "type": "integer"
  16551. },
  16552. "outergroupcode": {
  16553. "description": "外部商品组代码[通道交易]",
  16554. "type": "string"
  16555. },
  16556. "quoteminunit": {
  16557. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16558. "type": "integer"
  16559. },
  16560. "quotesourcegroupid": {
  16561. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16562. "type": "integer"
  16563. },
  16564. "syncgoodsqty": {
  16565. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16566. "type": "integer"
  16567. }
  16568. }
  16569. },
  16570. "models.Ermcp3GoodsGroupEx": {
  16571. "type": "object",
  16572. "properties": {
  16573. "convertratio": {
  16574. "description": "折算系数(品种系数)",
  16575. "type": "number"
  16576. },
  16577. "enumdicname": {
  16578. "description": "单位名称",
  16579. "type": "string"
  16580. },
  16581. "exexchangecode": {
  16582. "description": "交易所代码",
  16583. "type": "string"
  16584. },
  16585. "glist": {
  16586. "description": "合约列表",
  16587. "type": "array",
  16588. "items": {
  16589. "$ref": "#/definitions/models.Ermcp3Goods"
  16590. }
  16591. },
  16592. "goodsgroupid": {
  16593. "description": "商品组id",
  16594. "type": "integer"
  16595. },
  16596. "goodsgroupname": {
  16597. "description": "商品组名称",
  16598. "type": "string"
  16599. },
  16600. "goodsunitid": {
  16601. "description": "单位id",
  16602. "type": "integer"
  16603. },
  16604. "middlegoodsid": {
  16605. "description": "套保商品id",
  16606. "type": "integer"
  16607. }
  16608. }
  16609. },
  16610. "models.Ermcp3HedgePlan": {
  16611. "type": "object",
  16612. "properties": {
  16613. "accountid": {
  16614. "description": "资金账号",
  16615. "type": "integer"
  16616. },
  16617. "areauserid": {
  16618. "description": "用户ID",
  16619. "type": "integer"
  16620. },
  16621. "audittime": {
  16622. "description": "审核时间",
  16623. "type": "string"
  16624. },
  16625. "contracttype": {
  16626. "description": "计划类型 - 1:采购 -1:销售",
  16627. "type": "integer"
  16628. },
  16629. "convertfactor": {
  16630. "description": "标仓系数",
  16631. "type": "number"
  16632. },
  16633. "createtime": {
  16634. "description": "创建时间",
  16635. "type": "string"
  16636. },
  16637. "currencyid": {
  16638. "description": "币种id",
  16639. "type": "integer"
  16640. },
  16641. "currencyname": {
  16642. "description": "币种名称",
  16643. "type": "string"
  16644. },
  16645. "deliverygoodscode": {
  16646. "description": "现货品种代码",
  16647. "type": "string"
  16648. },
  16649. "deliverygoodsid": {
  16650. "description": "现货品种ID",
  16651. "type": "integer"
  16652. },
  16653. "deliverygoodsname": {
  16654. "description": "现货品种名称",
  16655. "type": "string"
  16656. },
  16657. "enumdicname": {
  16658. "description": "单位名称(现货商品)",
  16659. "type": "string"
  16660. },
  16661. "hedgeplanid": {
  16662. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16663. "type": "string"
  16664. },
  16665. "hedgeplanno": {
  16666. "description": "套保计划编号(名称)",
  16667. "type": "string"
  16668. },
  16669. "hedgeplanstatus": {
  16670. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16671. "type": "integer"
  16672. },
  16673. "planqty": {
  16674. "description": "计划数量",
  16675. "type": "number"
  16676. },
  16677. "plantime": {
  16678. "description": "计划时间",
  16679. "type": "string"
  16680. },
  16681. "producttype": {
  16682. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16683. "type": "integer"
  16684. },
  16685. "remark": {
  16686. "description": "备注",
  16687. "type": "string"
  16688. },
  16689. "spotgoodsdesc": {
  16690. "description": "商品型号",
  16691. "type": "string"
  16692. },
  16693. "taaccountname": {
  16694. "description": "资金账号名称",
  16695. "type": "string"
  16696. },
  16697. "tradeuserid": {
  16698. "description": "交易用户id",
  16699. "type": "integer"
  16700. },
  16701. "tradeusername": {
  16702. "description": "交易用户名称",
  16703. "type": "string"
  16704. },
  16705. "unitid": {
  16706. "description": "单位id(现货商品)",
  16707. "type": "integer"
  16708. },
  16709. "updatetime": {
  16710. "description": "更新时间",
  16711. "type": "string"
  16712. },
  16713. "wrstandardcode": {
  16714. "description": "品类代码",
  16715. "type": "string"
  16716. },
  16717. "wrstandardid": {
  16718. "description": "品类id",
  16719. "type": "integer"
  16720. },
  16721. "wrstandardname": {
  16722. "description": "品类名称",
  16723. "type": "string"
  16724. },
  16725. "wrunitid": {
  16726. "description": "品类单位id",
  16727. "type": "integer"
  16728. },
  16729. "wrunitidame": {
  16730. "description": "品类单位名称",
  16731. "type": "string"
  16732. }
  16733. }
  16734. },
  16735. "models.Ermcp3MiddleGoodsDetail2": {
  16736. "type": "object",
  16737. "properties": {
  16738. "convertratio": {
  16739. "description": "套保系数(折算系数)",
  16740. "type": "number"
  16741. },
  16742. "gplist": {
  16743. "description": "关联商品组列表",
  16744. "type": "array",
  16745. "items": {
  16746. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16747. }
  16748. },
  16749. "mg": {
  16750. "description": "套保商品信息",
  16751. "type": "object",
  16752. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16753. }
  16754. }
  16755. },
  16756. "models.Ermcp3MiddleGoodsDetailEx": {
  16757. "type": "object",
  16758. "properties": {
  16759. "dglist": {
  16760. "description": "关联的现货品种列表",
  16761. "type": "array",
  16762. "items": {
  16763. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16764. }
  16765. },
  16766. "gplist": {
  16767. "description": "关联商品组列表",
  16768. "type": "array",
  16769. "items": {
  16770. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16771. }
  16772. },
  16773. "mg": {
  16774. "description": "套保商品信息",
  16775. "type": "object",
  16776. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16777. }
  16778. }
  16779. },
  16780. "models.Ermcp3RootUserAccount": {
  16781. "type": "object",
  16782. "properties": {
  16783. "accountname": {
  16784. "description": "账户名称(机构名称)",
  16785. "type": "string"
  16786. },
  16787. "accountstatus": {
  16788. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16789. "type": "integer"
  16790. },
  16791. "applysrc": {
  16792. "description": "申请来源 - 1:管理端 2:终端",
  16793. "type": "integer"
  16794. },
  16795. "auditremark": {
  16796. "description": "审核备注",
  16797. "type": "string"
  16798. },
  16799. "auditsrc": {
  16800. "description": "审核来源 - 1:管理端 2:终端",
  16801. "type": "integer"
  16802. },
  16803. "audittime": {
  16804. "description": "审核时间",
  16805. "type": "string"
  16806. },
  16807. "audituserid": {
  16808. "description": "审核人",
  16809. "type": "integer"
  16810. },
  16811. "broker": {
  16812. "description": "所属经纪人ID",
  16813. "type": "integer"
  16814. },
  16815. "canceltime": {
  16816. "description": "销户时间",
  16817. "type": "string"
  16818. },
  16819. "canceluserid": {
  16820. "description": "销户人",
  16821. "type": "integer"
  16822. },
  16823. "canrecommend": {
  16824. "description": "是否可推荐 - 0:不可 1;可",
  16825. "type": "integer"
  16826. },
  16827. "createtime": {
  16828. "description": "创建时间",
  16829. "type": "string"
  16830. },
  16831. "creatorid": {
  16832. "description": "创建人",
  16833. "type": "integer"
  16834. },
  16835. "hasauth": {
  16836. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16837. "type": "integer"
  16838. },
  16839. "isanonymous": {
  16840. "description": "是否匿名下单 - 0:否 1:是",
  16841. "type": "integer"
  16842. },
  16843. "maxinvestornum": {
  16844. "description": "最大用户数(经纪会员下投资者个数)",
  16845. "type": "integer"
  16846. },
  16847. "memberuserid": {
  16848. "description": "所属会员ID",
  16849. "type": "integer"
  16850. },
  16851. "modifierid": {
  16852. "description": "修改人",
  16853. "type": "integer"
  16854. },
  16855. "modifyremark": {
  16856. "description": "变更备注",
  16857. "type": "string"
  16858. },
  16859. "modifystatus": {
  16860. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16861. "type": "integer"
  16862. },
  16863. "modifytime": {
  16864. "description": "修改时间",
  16865. "type": "string"
  16866. },
  16867. "parenttopuser": {
  16868. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16869. "type": "string"
  16870. },
  16871. "parentuserid": {
  16872. "description": "所属机构ID",
  16873. "type": "integer"
  16874. },
  16875. "reckonaccountid": {
  16876. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16877. "type": "integer"
  16878. },
  16879. "refercount": {
  16880. "description": "推荐总人数",
  16881. "type": "integer"
  16882. },
  16883. "refereeuserid": {
  16884. "description": "推荐人ID",
  16885. "type": "integer"
  16886. },
  16887. "refernum": {
  16888. "description": "推荐码",
  16889. "type": "string"
  16890. },
  16891. "rootuserid": {
  16892. "description": "根用户ID",
  16893. "type": "integer"
  16894. },
  16895. "subaccountlevel": {
  16896. "description": "子账户层数",
  16897. "type": "integer"
  16898. },
  16899. "subarealevelpath": {
  16900. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16901. "type": "string"
  16902. },
  16903. "userid": {
  16904. "description": "用户ID",
  16905. "type": "integer"
  16906. },
  16907. "usertype": {
  16908. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16909. "type": "integer"
  16910. }
  16911. }
  16912. },
  16913. "models.Ermcp3SellBuyContract": {
  16914. "type": "object",
  16915. "properties": {
  16916. "accountid": {
  16917. "description": "期货账户id",
  16918. "type": "string"
  16919. },
  16920. "accountname": {
  16921. "description": "账户名称",
  16922. "type": "string"
  16923. },
  16924. "attachment": {
  16925. "description": "附件",
  16926. "type": "string"
  16927. },
  16928. "audittime": {
  16929. "description": "审核时间",
  16930. "type": "string"
  16931. },
  16932. "biztype": {
  16933. "description": "业务类型 1-套保 2-套利",
  16934. "type": "integer"
  16935. },
  16936. "brandname": {
  16937. "description": "品牌名称",
  16938. "type": "string"
  16939. },
  16940. "contracctstatus": {
  16941. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16942. "type": "integer"
  16943. },
  16944. "contractmargin": {
  16945. "description": "合同保证金",
  16946. "type": "number"
  16947. },
  16948. "contractno": {
  16949. "description": "合同编号",
  16950. "type": "string"
  16951. },
  16952. "contracttype": {
  16953. "description": "合同类型 1-采购, -1-销售",
  16954. "type": "integer"
  16955. },
  16956. "convertfactor": {
  16957. "description": "标仓系数(品类)",
  16958. "type": "number"
  16959. },
  16960. "createtime": {
  16961. "description": "创建时间",
  16962. "type": "string"
  16963. },
  16964. "currencyid": {
  16965. "description": "币种id",
  16966. "type": "integer"
  16967. },
  16968. "currencyname": {
  16969. "description": "币种名称",
  16970. "type": "string"
  16971. },
  16972. "daikaiamount": {
  16973. "description": "应收(开)票额",
  16974. "type": "number"
  16975. },
  16976. "deliveryenddate": {
  16977. "description": "交割结束日",
  16978. "type": "string"
  16979. },
  16980. "deliverygoodscode": {
  16981. "description": "现货品种代码",
  16982. "type": "string"
  16983. },
  16984. "deliverygoodsid": {
  16985. "description": "现货商品ID",
  16986. "type": "integer"
  16987. },
  16988. "deliverygoodsname": {
  16989. "description": "现货品种名称",
  16990. "type": "string"
  16991. },
  16992. "deliverystartdate": {
  16993. "description": "交割开始日",
  16994. "type": "string"
  16995. },
  16996. "enddate": {
  16997. "description": "点价结束日",
  16998. "type": "string"
  16999. },
  17000. "enumdicname": {
  17001. "description": "单位名称",
  17002. "type": "string"
  17003. },
  17004. "goodscode": {
  17005. "description": "点价商品代码",
  17006. "type": "string"
  17007. },
  17008. "goodsid": {
  17009. "description": "点价商品ID",
  17010. "type": "integer"
  17011. },
  17012. "goodsname": {
  17013. "description": "点价商品名称",
  17014. "type": "string"
  17015. },
  17016. "invoiceamount": {
  17017. "description": "已开票额",
  17018. "type": "number"
  17019. },
  17020. "loanamount": {
  17021. "description": "贷款总额=已定价额+调整金额",
  17022. "type": "number"
  17023. },
  17024. "margin": {
  17025. "description": "保证金",
  17026. "type": "number"
  17027. },
  17028. "meruserid": {
  17029. "description": "跟单员id",
  17030. "type": "integer"
  17031. },
  17032. "meruserlogincode": {
  17033. "description": "跟单员登录代码",
  17034. "type": "string"
  17035. },
  17036. "nickname": {
  17037. "description": "账户昵称",
  17038. "type": "string"
  17039. },
  17040. "payamount": {
  17041. "description": "已收付额(收款或付款)",
  17042. "type": "number"
  17043. },
  17044. "preinvoiceamount": {
  17045. "description": "预收(开)票额",
  17046. "type": "number"
  17047. },
  17048. "prepayamount": {
  17049. "description": "预收付额",
  17050. "type": "number"
  17051. },
  17052. "price": {
  17053. "description": "价格",
  17054. "type": "number"
  17055. },
  17056. "pricedamount": {
  17057. "description": "已定价额",
  17058. "type": "number"
  17059. },
  17060. "pricedavg": {
  17061. "description": "已点均价",
  17062. "type": "number"
  17063. },
  17064. "pricedqty": {
  17065. "description": "已定价量",
  17066. "type": "number"
  17067. },
  17068. "pricemove": {
  17069. "description": "升贴水",
  17070. "type": "number"
  17071. },
  17072. "pricetype": {
  17073. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17074. "type": "integer"
  17075. },
  17076. "producttype": {
  17077. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17078. "type": "integer"
  17079. },
  17080. "qty": {
  17081. "description": "合同量",
  17082. "type": "number"
  17083. },
  17084. "reckonadjustamount": {
  17085. "description": "调整金额",
  17086. "type": "number"
  17087. },
  17088. "reckonedamount": {
  17089. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17090. "type": "number"
  17091. },
  17092. "reckonotheramount": {
  17093. "description": "其它费用",
  17094. "type": "number"
  17095. },
  17096. "reckonrealqty": {
  17097. "description": "已确定量",
  17098. "type": "number"
  17099. },
  17100. "remark": {
  17101. "description": "备注",
  17102. "type": "string"
  17103. },
  17104. "saleuserid": {
  17105. "description": "业务员id",
  17106. "type": "integer"
  17107. },
  17108. "saleuserlogincode": {
  17109. "description": "业务员登录代码",
  17110. "type": "string"
  17111. },
  17112. "spotcontractid": {
  17113. "description": "合同ID",
  17114. "type": "string"
  17115. },
  17116. "spotgoodsbrandid": {
  17117. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17118. "type": "integer"
  17119. },
  17120. "spotgoodsdesc": {
  17121. "description": "商品型号(商品规格)",
  17122. "type": "string"
  17123. },
  17124. "startdate": {
  17125. "description": "点价开始日",
  17126. "type": "string"
  17127. },
  17128. "totalamount": {
  17129. "description": "合计总额",
  17130. "type": "number"
  17131. },
  17132. "tradeuserid": {
  17133. "description": "交易员id",
  17134. "type": "integer"
  17135. },
  17136. "tradeuserlogincode": {
  17137. "description": "交易员登录代码",
  17138. "type": "string"
  17139. },
  17140. "tradeusername": {
  17141. "description": "交易员名称",
  17142. "type": "string"
  17143. },
  17144. "unpayamount": {
  17145. "description": "应收付款额(应支付或应收款)",
  17146. "type": "number"
  17147. },
  17148. "unpricedqty": {
  17149. "description": "未定价量",
  17150. "type": "number"
  17151. },
  17152. "unsureqty": {
  17153. "description": "未确定量",
  17154. "type": "number"
  17155. },
  17156. "userid": {
  17157. "description": "机构ID",
  17158. "type": "integer"
  17159. },
  17160. "wrstandardcode": {
  17161. "description": "品类代码",
  17162. "type": "string"
  17163. },
  17164. "wrstandardid": {
  17165. "description": "品类ID",
  17166. "type": "integer"
  17167. },
  17168. "wrstandardname": {
  17169. "description": "品类名称",
  17170. "type": "string"
  17171. }
  17172. }
  17173. },
  17174. "models.Ermcp3SpotGoodsPrice": {
  17175. "type": "object",
  17176. "properties": {
  17177. "areauserid": {
  17178. "description": "所属机构id",
  17179. "type": "integer"
  17180. },
  17181. "brandname": {
  17182. "description": "品牌名称",
  17183. "type": "string"
  17184. },
  17185. "currencyid": {
  17186. "description": "报价货币ID",
  17187. "type": "integer"
  17188. },
  17189. "currencyname": {
  17190. "description": "币种名称",
  17191. "type": "string"
  17192. },
  17193. "deliverygoodscode": {
  17194. "description": "现货商品代码",
  17195. "type": "string"
  17196. },
  17197. "deliverygoodsid": {
  17198. "description": "现货商品id",
  17199. "type": "integer"
  17200. },
  17201. "deliverygoodsname": {
  17202. "description": "现货商品名称",
  17203. "type": "string"
  17204. },
  17205. "enumdicname": {
  17206. "description": "现货商品单位名称",
  17207. "type": "string"
  17208. },
  17209. "gbenumdicname": {
  17210. "description": "品类单位名称",
  17211. "type": "string"
  17212. },
  17213. "gmunitid": {
  17214. "description": "品类单位id",
  17215. "type": "integer"
  17216. },
  17217. "isvalid": {
  17218. "description": "是否有效 - 0:无效 1:有效",
  17219. "type": "integer"
  17220. },
  17221. "operateid": {
  17222. "description": "最后操作人",
  17223. "type": "integer"
  17224. },
  17225. "operatesrc": {
  17226. "description": "最后操作来源 - 1:管理端 2:终端",
  17227. "type": "integer"
  17228. },
  17229. "operatetime": {
  17230. "description": "最后操作时间",
  17231. "type": "string"
  17232. },
  17233. "operatorname": {
  17234. "description": "操作人名称",
  17235. "type": "string"
  17236. },
  17237. "spotgoodsbrandid": {
  17238. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17239. "type": "integer"
  17240. },
  17241. "spotgoodsprice": {
  17242. "description": "现货价格",
  17243. "type": "number"
  17244. },
  17245. "tradedate": {
  17246. "description": "交易日(yyyyMMdd)",
  17247. "type": "string"
  17248. },
  17249. "unitid": {
  17250. "description": "现货商品单位id",
  17251. "type": "integer"
  17252. },
  17253. "wrstandardcode": {
  17254. "description": "品类代码",
  17255. "type": "string"
  17256. },
  17257. "wrstandardid": {
  17258. "description": "现货品类ID(通用则为0)",
  17259. "type": "integer"
  17260. },
  17261. "wrstandardname": {
  17262. "description": "品类名称",
  17263. "type": "string"
  17264. }
  17265. }
  17266. },
  17267. "models.Ermcp3SpotGoodsPriceLog": {
  17268. "type": "object",
  17269. "properties": {
  17270. "areauserid": {
  17271. "description": "所属机构id",
  17272. "type": "integer"
  17273. },
  17274. "brandname": {
  17275. "description": "品牌名称",
  17276. "type": "string"
  17277. },
  17278. "currencyid": {
  17279. "description": "报价货币ID",
  17280. "type": "integer"
  17281. },
  17282. "deliverygoodscode": {
  17283. "description": "现货商品代码",
  17284. "type": "string"
  17285. },
  17286. "deliverygoodsid": {
  17287. "description": "现货商品id",
  17288. "type": "integer"
  17289. },
  17290. "deliverygoodsname": {
  17291. "description": "现货商品名称",
  17292. "type": "string"
  17293. },
  17294. "enumdicname": {
  17295. "description": "现货商品单位名称",
  17296. "type": "string"
  17297. },
  17298. "gbenumdicname": {
  17299. "description": "品类单位名称",
  17300. "type": "string"
  17301. },
  17302. "gmunitid": {
  17303. "description": "品类单位id",
  17304. "type": "integer"
  17305. },
  17306. "logid": {
  17307. "description": "日志id",
  17308. "type": "integer"
  17309. },
  17310. "operateid": {
  17311. "description": "最后操作人",
  17312. "type": "integer"
  17313. },
  17314. "operatesrc": {
  17315. "description": "最后操作来源 - 1:管理端 2:终端",
  17316. "type": "integer"
  17317. },
  17318. "operatetime": {
  17319. "description": "最后操作时间",
  17320. "type": "string"
  17321. },
  17322. "operatorname": {
  17323. "description": "操作人名称",
  17324. "type": "string"
  17325. },
  17326. "spotgoodsbrandid": {
  17327. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17328. "type": "integer"
  17329. },
  17330. "spotgoodsprice": {
  17331. "description": "现货价格",
  17332. "type": "number"
  17333. },
  17334. "tradedate": {
  17335. "description": "交易日(yyyyMMdd)",
  17336. "type": "string"
  17337. },
  17338. "unitid": {
  17339. "description": "现货商品单位id",
  17340. "type": "integer"
  17341. },
  17342. "wrstandardcode": {
  17343. "description": "品类代码",
  17344. "type": "string"
  17345. },
  17346. "wrstandardid": {
  17347. "description": "现货品类ID(通用则为0)",
  17348. "type": "integer"
  17349. },
  17350. "wrstandardname": {
  17351. "description": "品类名称",
  17352. "type": "string"
  17353. }
  17354. }
  17355. },
  17356. "models.Ermcp3TaFutuReDataReport": {
  17357. "type": "object",
  17358. "properties": {
  17359. "accountid": {
  17360. "description": "交易账户",
  17361. "type": "integer"
  17362. },
  17363. "accountname": {
  17364. "description": "交易账号名称",
  17365. "type": "string"
  17366. },
  17367. "begindate": {
  17368. "description": "开始交易日",
  17369. "type": "string"
  17370. },
  17371. "buyorsell": {
  17372. "description": "持仓方向",
  17373. "type": "integer"
  17374. },
  17375. "charge": {
  17376. "description": "手续费",
  17377. "type": "number"
  17378. },
  17379. "closeavgprice": {
  17380. "description": "平仓均价",
  17381. "type": "number"
  17382. },
  17383. "closepl": {
  17384. "description": "平仓损益",
  17385. "type": "number"
  17386. },
  17387. "currencyid": {
  17388. "description": "结算币种ID",
  17389. "type": "integer"
  17390. },
  17391. "cycletime": {
  17392. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17393. "type": "string"
  17394. },
  17395. "cycletype": {
  17396. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17397. "type": "integer"
  17398. },
  17399. "enddate": {
  17400. "description": "结束交易日",
  17401. "type": "string"
  17402. },
  17403. "enumdicname": {
  17404. "description": "单位名称(现货商品)",
  17405. "type": "string"
  17406. },
  17407. "floatpl": {
  17408. "description": "浮动损益",
  17409. "type": "number"
  17410. },
  17411. "goodscode": {
  17412. "description": "交易合约代码",
  17413. "type": "string"
  17414. },
  17415. "goodsgroupid": {
  17416. "description": "交易品种",
  17417. "type": "integer"
  17418. },
  17419. "goodsgroupname": {
  17420. "description": "交易品种名称",
  17421. "type": "string"
  17422. },
  17423. "goodsgroupspotqty": {
  17424. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17425. "type": "number"
  17426. },
  17427. "goodsid": {
  17428. "description": "交易合约",
  17429. "type": "integer"
  17430. },
  17431. "goodsname": {
  17432. "description": "交易合约名称",
  17433. "type": "string"
  17434. },
  17435. "goodunitid": {
  17436. "description": "交易合约单位id",
  17437. "type": "integer"
  17438. },
  17439. "holdamount": {
  17440. "description": "期末持仓额",
  17441. "type": "number"
  17442. },
  17443. "holdqty": {
  17444. "description": "期末持仓量",
  17445. "type": "number"
  17446. },
  17447. "lastholdamount": {
  17448. "description": "当前持仓额",
  17449. "type": "number"
  17450. },
  17451. "lastprice": {
  17452. "description": "最新价",
  17453. "type": "number"
  17454. },
  17455. "middlegoodsqty": {
  17456. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17457. "type": "number"
  17458. },
  17459. "openamount": {
  17460. "description": "期末开仓额",
  17461. "type": "number"
  17462. },
  17463. "openavgprice": {
  17464. "description": "开仓均价",
  17465. "type": "number"
  17466. },
  17467. "oriholdamount": {
  17468. "description": "期初持仓额",
  17469. "type": "number"
  17470. },
  17471. "oriholdqty": {
  17472. "description": "期初持仓量",
  17473. "type": "number"
  17474. },
  17475. "oriopenamount": {
  17476. "description": "期初开仓额",
  17477. "type": "number"
  17478. },
  17479. "outergroupcode": {
  17480. "description": "交易品种代码",
  17481. "type": "string"
  17482. },
  17483. "reckondate": {
  17484. "description": "日照时期(yyyyMMdd)",
  17485. "type": "string"
  17486. },
  17487. "reckonholdamount": {
  17488. "description": "结算持仓额",
  17489. "type": "number"
  17490. },
  17491. "reckonpl": {
  17492. "description": "结算损益",
  17493. "type": "number"
  17494. },
  17495. "reckonpl2": {
  17496. "description": "结算逐笔盈亏",
  17497. "type": "number"
  17498. },
  17499. "reckonprice": {
  17500. "description": "结算价",
  17501. "type": "number"
  17502. },
  17503. "relateduserid": {
  17504. "description": "账户关联用户ID",
  17505. "type": "integer"
  17506. },
  17507. "todaycloseamount": {
  17508. "description": "今平仓额",
  17509. "type": "number"
  17510. },
  17511. "todaycloseqty": {
  17512. "description": "今平仓量",
  17513. "type": "number"
  17514. },
  17515. "todaygoodsgroupspotqty": {
  17516. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17517. "type": "number"
  17518. },
  17519. "todaymiddlegoodsqty": {
  17520. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17521. "type": "number"
  17522. },
  17523. "todayopenamount": {
  17524. "description": "今开仓额",
  17525. "type": "number"
  17526. },
  17527. "todayopenqty": {
  17528. "description": "今开仓量",
  17529. "type": "number"
  17530. },
  17531. "userid": {
  17532. "description": "账户所属用户ID",
  17533. "type": "integer"
  17534. }
  17535. }
  17536. },
  17537. "models.Ermcp3Wrstandard": {
  17538. "type": "object",
  17539. "properties": {
  17540. "areauserid": {
  17541. "description": "所属机构",
  17542. "type": "integer"
  17543. },
  17544. "convertfactor": {
  17545. "description": "标仓系数",
  17546. "type": "number"
  17547. },
  17548. "createtime": {
  17549. "description": "创建时间",
  17550. "type": "string"
  17551. },
  17552. "creatorid": {
  17553. "description": "创建人",
  17554. "type": "integer"
  17555. },
  17556. "deliverygoodsid": {
  17557. "description": "现货品种ID",
  17558. "type": "integer"
  17559. },
  17560. "enumdicname": {
  17561. "description": "品类单位名称",
  17562. "type": "string"
  17563. },
  17564. "isvalid": {
  17565. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17566. "type": "integer"
  17567. },
  17568. "minivalue": {
  17569. "description": "最小变动值",
  17570. "type": "integer"
  17571. },
  17572. "minivaluedp": {
  17573. "description": "最小变动值小数位",
  17574. "type": "integer"
  17575. },
  17576. "realminivalue": {
  17577. "description": "实际最小变动值",
  17578. "type": "integer"
  17579. },
  17580. "realminivaluedp": {
  17581. "description": "实际最小变动值小数位",
  17582. "type": "integer"
  17583. },
  17584. "remark": {
  17585. "description": "备注",
  17586. "type": "string"
  17587. },
  17588. "unitid": {
  17589. "description": "品类单位ID",
  17590. "type": "integer"
  17591. },
  17592. "updatetime": {
  17593. "description": "更新时间",
  17594. "type": "string"
  17595. },
  17596. "wrstandardcode": {
  17597. "description": "品类代码",
  17598. "type": "string"
  17599. },
  17600. "wrstandardid": {
  17601. "description": "品类ID(SEQ_WRSTANDARD)",
  17602. "type": "integer"
  17603. },
  17604. "wrstandardname": {
  17605. "description": "品类名称",
  17606. "type": "string"
  17607. }
  17608. }
  17609. },
  17610. "models.ErmcpAreaSpotDetailModel": {
  17611. "type": "object",
  17612. "properties": {
  17613. "contracttype": {
  17614. "description": "合同类型 1-采购 -1-销售",
  17615. "type": "integer"
  17616. },
  17617. "createtime": {
  17618. "description": "创建时间",
  17619. "type": "string"
  17620. },
  17621. "enumdicname": {
  17622. "description": "现货商品单位名称",
  17623. "type": "string"
  17624. },
  17625. "logtype": {
  17626. "description": "记录类型 1-套保 2-现货合同",
  17627. "type": "integer"
  17628. },
  17629. "qty": {
  17630. "description": "数量",
  17631. "type": "number"
  17632. },
  17633. "recordname": {
  17634. "description": "类型名称",
  17635. "type": "string"
  17636. },
  17637. "relatedid": {
  17638. "description": "套保计划ID/现货合同ID",
  17639. "type": "string"
  17640. },
  17641. "relatedno": {
  17642. "description": "编号",
  17643. "type": "string"
  17644. },
  17645. "strtime": {
  17646. "description": "时间",
  17647. "type": "string"
  17648. },
  17649. "wrstandardcode": {
  17650. "description": "现货商品代码",
  17651. "type": "string"
  17652. },
  17653. "wrstandardname": {
  17654. "description": "现货商品名称",
  17655. "type": "string"
  17656. }
  17657. }
  17658. },
  17659. "models.ErmcpAvalidGoodsGroupModel": {
  17660. "type": "object",
  17661. "properties": {
  17662. "goodsgroupid": {
  17663. "description": "期货品种id",
  17664. "type": "integer"
  17665. },
  17666. "goodsgroupname": {
  17667. "description": "期货品种名称",
  17668. "type": "string"
  17669. },
  17670. "goodunitid": {
  17671. "description": "品种单位id",
  17672. "type": "integer"
  17673. },
  17674. "goodunitname": {
  17675. "description": "品种单位名称",
  17676. "type": "string"
  17677. },
  17678. "outergroupcode": {
  17679. "description": "期货品种代码",
  17680. "type": "string"
  17681. }
  17682. }
  17683. },
  17684. "models.ErmcpBizGroupEx": {
  17685. "type": "object",
  17686. "properties": {
  17687. "acclist": {
  17688. "description": "账号列表",
  17689. "type": "array",
  17690. "items": {
  17691. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17692. }
  17693. },
  17694. "bizgroupid": {
  17695. "description": "业务分组id",
  17696. "type": "integer"
  17697. },
  17698. "biztype": {
  17699. "description": "业务类型 1-套保 2-套利",
  17700. "type": "integer"
  17701. },
  17702. "wrlist": {
  17703. "description": "现货商品表",
  17704. "type": "array",
  17705. "items": {
  17706. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17707. }
  17708. }
  17709. }
  17710. },
  17711. "models.ErmcpBizGroupSpotGoods": {
  17712. "type": "object",
  17713. "properties": {
  17714. "areauserid": {
  17715. "description": "所属机构id",
  17716. "type": "integer"
  17717. },
  17718. "bizgroupid": {
  17719. "description": "分组id",
  17720. "type": "integer"
  17721. },
  17722. "biztype": {
  17723. "description": "业务类型 1-套保 2-套利",
  17724. "type": "integer"
  17725. },
  17726. "deliverygoodscode": {
  17727. "description": "现货商品代码",
  17728. "type": "string"
  17729. },
  17730. "deliverygoodsid": {
  17731. "description": "现货商品id",
  17732. "type": "integer"
  17733. },
  17734. "deliverygoodsname": {
  17735. "description": "现货商品名称",
  17736. "type": "string"
  17737. },
  17738. "unitid": {
  17739. "description": "现货商品单位id",
  17740. "type": "integer"
  17741. }
  17742. }
  17743. },
  17744. "models.ErmcpBizGroupTaAccount": {
  17745. "type": "object",
  17746. "properties": {
  17747. "accountid": {
  17748. "description": "账号id",
  17749. "type": "integer"
  17750. },
  17751. "accountname": {
  17752. "description": "账号名称",
  17753. "type": "string"
  17754. },
  17755. "areauserid": {
  17756. "description": "所属机构id",
  17757. "type": "integer"
  17758. },
  17759. "bizgroupid": {
  17760. "description": "业务分组id",
  17761. "type": "integer"
  17762. },
  17763. "ismain": {
  17764. "description": "是否主账号 1-是 0-否",
  17765. "type": "integer"
  17766. }
  17767. }
  17768. },
  17769. "models.ErmcpDGFactoryItem": {
  17770. "type": "object",
  17771. "properties": {
  17772. "areauserid": {
  17773. "description": "用户id",
  17774. "type": "integer"
  17775. },
  17776. "deliverygoodsid": {
  17777. "description": "现货品种ID",
  17778. "type": "integer"
  17779. },
  17780. "dgfactoryitemid": {
  17781. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17782. "type": "integer"
  17783. },
  17784. "dgfactoryitemtypeid": {
  17785. "description": "要素项类型",
  17786. "type": "integer"
  17787. },
  17788. "dgfactoryitemvalue": {
  17789. "description": "要素项值(类型为仓库时填写仓库名称)",
  17790. "type": "string"
  17791. },
  17792. "isvalid": {
  17793. "description": "是否有效 - 0:无效 1:有效",
  17794. "type": "integer"
  17795. },
  17796. "orderindex": {
  17797. "description": "顺序",
  17798. "type": "integer"
  17799. },
  17800. "warehouseid": {
  17801. "description": "仓库ID(类型为仓库时填写)",
  17802. "type": "integer"
  17803. }
  17804. }
  17805. },
  17806. "models.ErmcpDeliveryGoods": {
  17807. "type": "object",
  17808. "properties": {
  17809. "agreeunit": {
  17810. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17811. "type": "integer"
  17812. },
  17813. "areauserid": {
  17814. "description": "所属机构",
  17815. "type": "integer"
  17816. },
  17817. "auditflag": {
  17818. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17819. "type": "integer"
  17820. },
  17821. "categoryid": {
  17822. "description": "类别ID(SEQ_WRCATEGORY)",
  17823. "type": "integer"
  17824. },
  17825. "deliverygoodscode": {
  17826. "description": "现货品种代码",
  17827. "type": "string"
  17828. },
  17829. "deliverygoodsid": {
  17830. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17831. "type": "integer"
  17832. },
  17833. "deliverygoodsname": {
  17834. "description": "现货品种名称",
  17835. "type": "string"
  17836. },
  17837. "deliverygoodstype": {
  17838. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17839. "type": "integer"
  17840. },
  17841. "dgstatus": {
  17842. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17843. "type": "integer"
  17844. },
  17845. "enumdicname": {
  17846. "description": "现货品种单位名称",
  17847. "type": "string"
  17848. },
  17849. "goodsunitid": {
  17850. "description": "现货品种单位ID",
  17851. "type": "integer"
  17852. },
  17853. "isvalid": {
  17854. "description": "是否有效 - 0:无效 1:有效",
  17855. "type": "integer"
  17856. },
  17857. "qtydecimalplace": {
  17858. "description": "成交量小数位",
  17859. "type": "integer"
  17860. },
  17861. "remark": {
  17862. "description": "备注",
  17863. "type": "string"
  17864. },
  17865. "standardqty": {
  17866. "description": "标准数量(库位数量) [标准品特有]",
  17867. "type": "integer"
  17868. },
  17869. "standardqtyrange": {
  17870. "description": "标准数量偏差范围 [标准品特有]",
  17871. "type": "integer"
  17872. }
  17873. }
  17874. },
  17875. "models.ErmcpDeliveryGoodsDetail2": {
  17876. "type": "object",
  17877. "properties": {
  17878. "convertratio": {
  17879. "description": "套保系数(折算系数)",
  17880. "type": "number"
  17881. },
  17882. "data": {
  17883. "description": "现货商品基本信息(交割品种)",
  17884. "type": "object",
  17885. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17886. },
  17887. "gblist": {
  17888. "description": "品牌列表",
  17889. "type": "array",
  17890. "items": {
  17891. "$ref": "#/definitions/models.Ermcp3Brand"
  17892. }
  17893. },
  17894. "gmlist": {
  17895. "description": "品类列表(仓单标准)",
  17896. "type": "array",
  17897. "items": {
  17898. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17899. }
  17900. }
  17901. }
  17902. },
  17903. "models.ErmcpDeliveryGoodsDetailEx": {
  17904. "type": "object",
  17905. "properties": {
  17906. "data": {
  17907. "description": "现货商品基本信息(交割品种)",
  17908. "type": "object",
  17909. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17910. },
  17911. "gblist": {
  17912. "description": "品牌列表",
  17913. "type": "array",
  17914. "items": {
  17915. "$ref": "#/definitions/models.Ermcp3Brand"
  17916. }
  17917. },
  17918. "gmlist": {
  17919. "description": "品类列表(仓单标准)",
  17920. "type": "array",
  17921. "items": {
  17922. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17923. }
  17924. },
  17925. "mgList": {
  17926. "description": "套保列表",
  17927. "type": "array",
  17928. "items": {
  17929. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17930. }
  17931. }
  17932. }
  17933. },
  17934. "models.ErmcpExposureDetailModel": {
  17935. "type": "object",
  17936. "properties": {
  17937. "areauserid": {
  17938. "description": "机构ID",
  17939. "type": "integer"
  17940. },
  17941. "changeQty": {
  17942. "description": "套保变动量",
  17943. "type": "number"
  17944. },
  17945. "contracttype": {
  17946. "description": "现货合同类型 - 1:采购 -1:销售",
  17947. "type": "integer"
  17948. },
  17949. "convertfactor": {
  17950. "description": "标仓系数",
  17951. "type": "number"
  17952. },
  17953. "convertratio": {
  17954. "description": "套保系数",
  17955. "type": "number"
  17956. },
  17957. "createtime": {
  17958. "description": "时间",
  17959. "type": "string"
  17960. },
  17961. "enumdicname": {
  17962. "description": "现货商品单位名称",
  17963. "type": "string"
  17964. },
  17965. "logtype": {
  17966. "description": "类型 - 1:套保计划 2:现货合同",
  17967. "type": "integer"
  17968. },
  17969. "middlegoodsId": {
  17970. "description": "套保商品id",
  17971. "type": "integer"
  17972. },
  17973. "middlegoodscode": {
  17974. "description": "套保商品代码",
  17975. "type": "string"
  17976. },
  17977. "middlegoodsname": {
  17978. "description": "套保商品名称",
  17979. "type": "string"
  17980. },
  17981. "qty": {
  17982. "description": "数量",
  17983. "type": "number"
  17984. },
  17985. "relateNo": {
  17986. "description": "现货合同/套保计划编号",
  17987. "type": "string"
  17988. },
  17989. "wrstandardcode": {
  17990. "description": "现货商品代码",
  17991. "type": "string"
  17992. },
  17993. "wrstandardid": {
  17994. "description": "现货商品ID",
  17995. "type": "integer"
  17996. },
  17997. "wrstandardname": {
  17998. "description": "现货商品名称",
  17999. "type": "string"
  18000. }
  18001. }
  18002. },
  18003. "models.ErmcpExposurePostion": {
  18004. "type": "object",
  18005. "properties": {
  18006. "agreeunit": {
  18007. "description": "合约单位",
  18008. "type": "string"
  18009. },
  18010. "areauserid": {
  18011. "description": "所属机构id",
  18012. "type": "integer"
  18013. },
  18014. "convertratio": {
  18015. "description": "期货品种系数(折算系数)",
  18016. "type": "number"
  18017. },
  18018. "curqty": {
  18019. "description": "当前持仓",
  18020. "type": "integer"
  18021. },
  18022. "diffhedgeqty": {
  18023. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18024. "type": "number"
  18025. },
  18026. "diffqty": {
  18027. "description": "持仓变动量=当前持仓-昨日持仓",
  18028. "type": "integer"
  18029. },
  18030. "goodscode": {
  18031. "description": "商品代码",
  18032. "type": "string"
  18033. },
  18034. "goodsid": {
  18035. "description": "商品id",
  18036. "type": "integer"
  18037. },
  18038. "goodsname": {
  18039. "description": "商品名称",
  18040. "type": "string"
  18041. },
  18042. "middlegoodsid": {
  18043. "description": "套保商品id",
  18044. "type": "integer"
  18045. },
  18046. "ydqty": {
  18047. "description": "昨日持仓",
  18048. "type": "integer"
  18049. }
  18050. }
  18051. },
  18052. "models.ErmcpFuturesCompany": {
  18053. "type": "object",
  18054. "properties": {
  18055. "brokerid": {
  18056. "description": "经纪公司代码",
  18057. "type": "string"
  18058. },
  18059. "channeladdress": {
  18060. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18061. "type": "string"
  18062. },
  18063. "channelid": {
  18064. "description": "对冲渠道ID",
  18065. "type": "string"
  18066. },
  18067. "createtime": {
  18068. "description": "创建时间",
  18069. "type": "string"
  18070. },
  18071. "creatorid": {
  18072. "description": "创建人",
  18073. "type": "string"
  18074. },
  18075. "fcid": {
  18076. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18077. "type": "integer"
  18078. },
  18079. "fcname": {
  18080. "description": "期货公司名称",
  18081. "type": "string"
  18082. },
  18083. "isvalid": {
  18084. "description": "是否有效 - 0:无效 1:有效",
  18085. "type": "integer"
  18086. },
  18087. "mhpaddress": {
  18088. "description": "MHP服务地址(IP:Port)",
  18089. "type": "string"
  18090. },
  18091. "riskrulegroupid": {
  18092. "description": "风控规则组ID",
  18093. "type": "string"
  18094. },
  18095. "tradefeetmpid": {
  18096. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18097. "type": "string"
  18098. },
  18099. "trademargintmpid": {
  18100. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18101. "type": "string"
  18102. },
  18103. "traderatetmpid": {
  18104. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18105. "type": "string"
  18106. },
  18107. "updatetime": {
  18108. "description": "更新时间",
  18109. "type": "string"
  18110. },
  18111. "updatorid": {
  18112. "description": "更新人",
  18113. "type": "string"
  18114. }
  18115. }
  18116. },
  18117. "models.ErmcpGGConvertCfg": {
  18118. "type": "object",
  18119. "properties": {
  18120. "convertratio": {
  18121. "description": "折算系数",
  18122. "type": "number"
  18123. },
  18124. "destgoodsgroupid": {
  18125. "description": "目标品种ID",
  18126. "type": "integer"
  18127. },
  18128. "dstcode": {
  18129. "description": "目录品种代码",
  18130. "type": "string"
  18131. },
  18132. "dstexchangecode": {
  18133. "description": "目标期货交易所",
  18134. "type": "string"
  18135. },
  18136. "dstname": {
  18137. "description": "目标品种名称",
  18138. "type": "string"
  18139. },
  18140. "dstunitid": {
  18141. "description": "目标品种单位ID",
  18142. "type": "integer"
  18143. },
  18144. "dstunitidname": {
  18145. "description": "目标品种单位名称",
  18146. "type": "string"
  18147. },
  18148. "modifytime": {
  18149. "description": "修改时间",
  18150. "type": "string"
  18151. },
  18152. "srccode": {
  18153. "description": "源品种代码",
  18154. "type": "string"
  18155. },
  18156. "srcexchangecode": {
  18157. "description": "源期货交易所",
  18158. "type": "string"
  18159. },
  18160. "srcgoodsgroupid": {
  18161. "description": "源品种ID",
  18162. "type": "integer"
  18163. },
  18164. "srcname": {
  18165. "description": "源品种名称",
  18166. "type": "string"
  18167. },
  18168. "srcunitid": {
  18169. "description": "源品种单位ID",
  18170. "type": "integer"
  18171. },
  18172. "srcunitidname": {
  18173. "description": "源品种单位名称",
  18174. "type": "string"
  18175. }
  18176. }
  18177. },
  18178. "models.ErmcpGoods": {
  18179. "type": "object",
  18180. "required": [
  18181. "goodscode",
  18182. "goodsid",
  18183. "goodsname",
  18184. "marketid"
  18185. ],
  18186. "properties": {
  18187. "agreeunit": {
  18188. "description": "合约单位",
  18189. "type": "number"
  18190. },
  18191. "areauserid": {
  18192. "description": "所属机构",
  18193. "type": "integer"
  18194. },
  18195. "auditaccountid": {
  18196. "description": "审核操作员账号",
  18197. "type": "integer"
  18198. },
  18199. "audittime": {
  18200. "description": "审核时间",
  18201. "type": "string"
  18202. },
  18203. "cancelaccountid": {
  18204. "description": "注销操作员账号",
  18205. "type": "integer"
  18206. },
  18207. "canceltime": {
  18208. "description": "注销时间",
  18209. "type": "string"
  18210. },
  18211. "closepricemode": {
  18212. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18213. "type": "integer"
  18214. },
  18215. "closepriceparam": {
  18216. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18217. "type": "number"
  18218. },
  18219. "createtime": {
  18220. "description": "创建时间",
  18221. "type": "string"
  18222. },
  18223. "creatorid": {
  18224. "description": "创建人",
  18225. "type": "integer"
  18226. },
  18227. "currencyid": {
  18228. "description": "报价货币ID",
  18229. "type": "integer"
  18230. },
  18231. "cutmode": {
  18232. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18233. "type": "integer"
  18234. },
  18235. "decimalplace": {
  18236. "description": "报价小数位",
  18237. "type": "integer"
  18238. },
  18239. "delistingdate": {
  18240. "description": "商品退市时间(状态:退市) -- 已作废",
  18241. "type": "string"
  18242. },
  18243. "delistingmode": {
  18244. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18245. "type": "integer"
  18246. },
  18247. "deliveryflag": {
  18248. "description": "交割标志 - 0:不可交割 1:可交割",
  18249. "type": "integer"
  18250. },
  18251. "enumdicname": {
  18252. "description": "单位名称",
  18253. "type": "string"
  18254. },
  18255. "forceclosemode": {
  18256. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18257. "type": "integer"
  18258. },
  18259. "forceclosevalue": {
  18260. "description": "定期强平参数 [收益权]",
  18261. "type": "integer"
  18262. },
  18263. "goodscode": {
  18264. "description": "商品代码(内部)",
  18265. "type": "string"
  18266. },
  18267. "goodscurrencyid": {
  18268. "description": "合约货币ID",
  18269. "type": "integer"
  18270. },
  18271. "goodsgroupid": {
  18272. "description": "所属商品组ID",
  18273. "type": "integer"
  18274. },
  18275. "goodsid": {
  18276. "description": "商品ID(自增ID SEQ_GOODS)",
  18277. "type": "integer"
  18278. },
  18279. "goodsname": {
  18280. "description": "商品名称",
  18281. "type": "string"
  18282. },
  18283. "goodsquotetype": {
  18284. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18285. "type": "integer"
  18286. },
  18287. "goodsstatus": {
  18288. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18289. "type": "integer"
  18290. },
  18291. "goodstradetype": {
  18292. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18293. "type": "integer"
  18294. },
  18295. "goodunitid": {
  18296. "description": "报价单位ID",
  18297. "type": "integer"
  18298. },
  18299. "hasquoter": {
  18300. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18301. "type": "integer"
  18302. },
  18303. "hqprotecttime": {
  18304. "description": "行情保护时间(秒)",
  18305. "type": "integer"
  18306. },
  18307. "innerdealmode": {
  18308. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18309. "type": "integer"
  18310. },
  18311. "isbuylimited": {
  18312. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18313. "type": "integer"
  18314. },
  18315. "isvisible": {
  18316. "description": "游客是否可见 - 0:不可见 1:可见",
  18317. "type": "integer"
  18318. },
  18319. "lasttradedate": {
  18320. "description": "最后交易日期(状态:待退市)",
  18321. "type": "string"
  18322. },
  18323. "listingdate": {
  18324. "description": "交易开始日期",
  18325. "type": "string"
  18326. },
  18327. "marketid": {
  18328. "description": "所属市场ID",
  18329. "type": "integer"
  18330. },
  18331. "modifierid": {
  18332. "description": "修改人",
  18333. "type": "integer"
  18334. },
  18335. "modifystatus": {
  18336. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18337. "type": "integer"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "outerdealmode": {
  18344. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18345. "type": "integer"
  18346. },
  18347. "outgoodscode": {
  18348. "description": "商品代码(外部)",
  18349. "type": "string"
  18350. },
  18351. "pictureurl": {
  18352. "description": "商品图片",
  18353. "type": "string"
  18354. },
  18355. "qtydecimalplace": {
  18356. "description": "成交量小数位",
  18357. "type": "integer"
  18358. },
  18359. "quotegear": {
  18360. "description": "行情档位(1-10)",
  18361. "type": "integer"
  18362. },
  18363. "quoteminunit": {
  18364. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18365. "type": "integer"
  18366. },
  18367. "quoteshowtype": {
  18368. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18369. "type": "integer"
  18370. },
  18371. "quoteshowtypeinterval": {
  18372. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18373. "type": "integer"
  18374. },
  18375. "relatedgoodsid": {
  18376. "description": "关联参考商品ID",
  18377. "type": "integer"
  18378. },
  18379. "remark": {
  18380. "description": "备注",
  18381. "type": "string"
  18382. },
  18383. "trademode": {
  18384. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18385. "type": "integer"
  18386. }
  18387. }
  18388. },
  18389. "models.ErmcpGoodsBrand": {
  18390. "type": "object",
  18391. "properties": {
  18392. "areauserid": {
  18393. "description": "所属机构",
  18394. "type": "integer"
  18395. },
  18396. "brandid": {
  18397. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18398. "type": "integer"
  18399. },
  18400. "brandname": {
  18401. "description": "品牌名称",
  18402. "type": "string"
  18403. },
  18404. "createtime": {
  18405. "description": "创建时间",
  18406. "type": "string"
  18407. },
  18408. "creatorid": {
  18409. "description": "创建人",
  18410. "type": "integer"
  18411. },
  18412. "creatorsrc": {
  18413. "description": "创建人来源 - 1:管理端 2:终端",
  18414. "type": "integer"
  18415. },
  18416. "deliverygoodsid": {
  18417. "description": "现货品种ID",
  18418. "type": "integer"
  18419. },
  18420. "isvalid": {
  18421. "description": "是否有效 - 0:无效 1:有效",
  18422. "type": "integer"
  18423. },
  18424. "updatetime": {
  18425. "description": "更新时间",
  18426. "type": "string"
  18427. },
  18428. "updatorid": {
  18429. "description": "更新人",
  18430. "type": "integer"
  18431. },
  18432. "updatorsrc": {
  18433. "description": "更新人来源 - 1:管理端 2:终端",
  18434. "type": "integer"
  18435. },
  18436. "wrstandardid": {
  18437. "description": "现货商品ID",
  18438. "type": "integer"
  18439. }
  18440. }
  18441. },
  18442. "models.ErmcpGoodsModel": {
  18443. "type": "object",
  18444. "properties": {
  18445. "areauserid": {
  18446. "description": "所属机构",
  18447. "type": "integer"
  18448. },
  18449. "convertfactor": {
  18450. "description": "标仓系数",
  18451. "type": "number"
  18452. },
  18453. "createtime": {
  18454. "description": "创建时间",
  18455. "type": "string"
  18456. },
  18457. "creatorid": {
  18458. "description": "创建人",
  18459. "type": "integer"
  18460. },
  18461. "creatorsrc": {
  18462. "description": "创建人来源 - 1:管理端 2:终端",
  18463. "type": "integer"
  18464. },
  18465. "deliverygoodsid": {
  18466. "description": "现货品种ID",
  18467. "type": "integer"
  18468. },
  18469. "isvalid": {
  18470. "description": "是否有效 - 0:无效 1:有效",
  18471. "type": "integer"
  18472. },
  18473. "modelid": {
  18474. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18475. "type": "integer"
  18476. },
  18477. "modelname": {
  18478. "description": "型号名称",
  18479. "type": "string"
  18480. },
  18481. "updatetime": {
  18482. "description": "更新时间",
  18483. "type": "string"
  18484. },
  18485. "updatorid": {
  18486. "description": "更新人",
  18487. "type": "integer"
  18488. },
  18489. "updatorsrc": {
  18490. "description": "更新人来源 - 1:管理端 2:终端",
  18491. "type": "integer"
  18492. },
  18493. "wrstandardid": {
  18494. "description": "现货商品ID",
  18495. "type": "integer"
  18496. }
  18497. }
  18498. },
  18499. "models.ErmcpHedgePosition": {
  18500. "type": "object",
  18501. "properties": {
  18502. "accountid": {
  18503. "description": "资金账号[外部母账户]",
  18504. "type": "integer"
  18505. },
  18506. "curbuyposition": {
  18507. "description": "期末买头寸",
  18508. "type": "integer"
  18509. },
  18510. "cursellposition": {
  18511. "description": "期末卖头寸",
  18512. "type": "integer"
  18513. },
  18514. "curtdbuyposition": {
  18515. "description": "期末今日买头寸",
  18516. "type": "integer"
  18517. },
  18518. "curtdsellposition": {
  18519. "description": "期末今日卖头寸",
  18520. "type": "integer"
  18521. },
  18522. "curydbuyposition": {
  18523. "description": "期末上日买头寸",
  18524. "type": "integer"
  18525. },
  18526. "curydsellposition": {
  18527. "description": "期末上日卖头寸",
  18528. "type": "integer"
  18529. },
  18530. "decreaseqty": {
  18531. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18532. "type": "integer"
  18533. },
  18534. "fretdbuyposition": {
  18535. "description": "冻结今日买头寸",
  18536. "type": "integer"
  18537. },
  18538. "fretdsellposition": {
  18539. "description": "冻结今日卖头寸",
  18540. "type": "integer"
  18541. },
  18542. "freydbuyposition": {
  18543. "description": "冻结上日买头寸",
  18544. "type": "integer"
  18545. },
  18546. "freydsellposition": {
  18547. "description": "冻结上日卖头寸",
  18548. "type": "integer"
  18549. },
  18550. "goodscode": {
  18551. "description": "商品代码",
  18552. "type": "string"
  18553. },
  18554. "goodsid": {
  18555. "description": "商品id",
  18556. "type": "integer"
  18557. },
  18558. "goodsname": {
  18559. "description": "商品名称",
  18560. "type": "string"
  18561. },
  18562. "hedgeaccountcode": {
  18563. "description": "对冲账号",
  18564. "type": "string"
  18565. },
  18566. "hedgegoodsid": {
  18567. "description": "对冲合约ID",
  18568. "type": "integer"
  18569. },
  18570. "increaseqty": {
  18571. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18572. "type": "integer"
  18573. },
  18574. "marketid": {
  18575. "description": "市场ID",
  18576. "type": "integer"
  18577. },
  18578. "relateduserid": {
  18579. "description": "关联用户id",
  18580. "type": "integer"
  18581. },
  18582. "totalcurqty": {
  18583. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18584. "type": "integer"
  18585. },
  18586. "totalydqty": {
  18587. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18588. "type": "integer"
  18589. },
  18590. "tradedate": {
  18591. "description": "交易日(yyyyMMdd)",
  18592. "type": "string"
  18593. },
  18594. "ydbuyposition": {
  18595. "description": "期初买头寸",
  18596. "type": "integer"
  18597. },
  18598. "ydsellposition": {
  18599. "description": "期初卖头寸",
  18600. "type": "integer"
  18601. }
  18602. }
  18603. },
  18604. "models.ErmcpHedgePositionDetail": {
  18605. "type": "object",
  18606. "properties": {
  18607. "buyorsell": {
  18608. "description": "买卖方向 0-买 1-卖",
  18609. "type": "integer"
  18610. },
  18611. "channelbuildtype": {
  18612. "description": "开平方向 1-建仓 2-平仓",
  18613. "type": "integer"
  18614. },
  18615. "goodscode": {
  18616. "description": "商品代码",
  18617. "type": "string"
  18618. },
  18619. "goodsname": {
  18620. "description": "商品名称",
  18621. "type": "string"
  18622. },
  18623. "hedgegoodsid": {
  18624. "description": "商品id",
  18625. "type": "integer"
  18626. },
  18627. "tradeqty": {
  18628. "description": "数量(成交数量)",
  18629. "type": "integer"
  18630. },
  18631. "tradetime": {
  18632. "description": "时间(成交时间)",
  18633. "type": "string"
  18634. }
  18635. }
  18636. },
  18637. "models.ErmcpHisExposure": {
  18638. "type": "object",
  18639. "properties": {
  18640. "needhedgeexposoure": {
  18641. "description": "应套保敞口",
  18642. "type": "number"
  18643. },
  18644. "reckondate": {
  18645. "description": "日照时期(yyyyMMdd)",
  18646. "type": "string"
  18647. },
  18648. "totalexposure": {
  18649. "description": "总敞口",
  18650. "type": "number"
  18651. }
  18652. }
  18653. },
  18654. "models.ErmcpHisExposureS": {
  18655. "type": "object",
  18656. "properties": {
  18657. "data": {
  18658. "description": "历史敞口",
  18659. "type": "array",
  18660. "items": {
  18661. "$ref": "#/definitions/models.ErmcpHisExposure"
  18662. }
  18663. },
  18664. "enumdicname": {
  18665. "description": "单位名称",
  18666. "type": "string"
  18667. },
  18668. "middlegoodscode": {
  18669. "description": "套保品种代码",
  18670. "type": "string"
  18671. },
  18672. "middlegoodsid": {
  18673. "description": "套保品种ID",
  18674. "type": "integer"
  18675. },
  18676. "middlegoodsname": {
  18677. "description": "套保品种名称",
  18678. "type": "string"
  18679. }
  18680. }
  18681. },
  18682. "models.ErmcpLoginTaAccount": {
  18683. "type": "object",
  18684. "properties": {
  18685. "accountid": {
  18686. "description": "账号id",
  18687. "type": "integer"
  18688. },
  18689. "accountname": {
  18690. "description": "账号名称",
  18691. "type": "string"
  18692. }
  18693. }
  18694. },
  18695. "models.ErmcpLoginUser": {
  18696. "type": "object",
  18697. "properties": {
  18698. "acclist": {
  18699. "description": "关联资金账号",
  18700. "type": "array",
  18701. "items": {
  18702. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18703. }
  18704. },
  18705. "accountname": {
  18706. "description": "用户名称",
  18707. "type": "string"
  18708. },
  18709. "clientroleid": {
  18710. "description": "角色id(usertype=2)",
  18711. "type": "integer"
  18712. },
  18713. "createtime": {
  18714. "description": "创建时间",
  18715. "type": "string"
  18716. },
  18717. "logincode": {
  18718. "description": "登录代码",
  18719. "type": "string"
  18720. },
  18721. "loginid": {
  18722. "description": "登录id(LOGINID)",
  18723. "type": "integer"
  18724. },
  18725. "loginname": {
  18726. "description": "登录名称(loginaccount表中的accountname字段)",
  18727. "type": "string"
  18728. },
  18729. "loginstatus": {
  18730. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18731. "type": "integer"
  18732. },
  18733. "memberuserid": {
  18734. "description": "所属会员id",
  18735. "type": "integer"
  18736. },
  18737. "mobile": {
  18738. "description": "手机号",
  18739. "type": "string"
  18740. },
  18741. "modifytime": {
  18742. "description": "修改时间",
  18743. "type": "string"
  18744. },
  18745. "password": {
  18746. "description": "密码(不可解密)",
  18747. "type": "string"
  18748. },
  18749. "rolename": {
  18750. "description": "角色名称",
  18751. "type": "string"
  18752. },
  18753. "rolestatus": {
  18754. "description": "角色状态 1-启用 2-停用",
  18755. "type": "integer"
  18756. },
  18757. "roletype": {
  18758. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18759. "type": "string"
  18760. },
  18761. "userid": {
  18762. "description": "用户id",
  18763. "type": "integer"
  18764. },
  18765. "usertype": {
  18766. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18767. "type": "integer"
  18768. }
  18769. }
  18770. },
  18771. "models.ErmcpLoginUserEx": {
  18772. "type": "object",
  18773. "properties": {
  18774. "accountstatus": {
  18775. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18776. "type": "integer"
  18777. },
  18778. "mobile": {
  18779. "description": "手机号",
  18780. "type": "string"
  18781. },
  18782. "querytype": {
  18783. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18784. "type": "integer"
  18785. },
  18786. "roleid": {
  18787. "description": "角色id(交易账户-\u003e用户id)",
  18788. "type": "integer"
  18789. },
  18790. "rolename": {
  18791. "description": "角色名称(交易账户-\u003e用户名称)",
  18792. "type": "string"
  18793. },
  18794. "userlist": {
  18795. "description": "用户列表",
  18796. "type": "array",
  18797. "items": {
  18798. "$ref": "#/definitions/models.ErmcpLoginUser"
  18799. }
  18800. },
  18801. "usertype": {
  18802. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18803. "type": "integer"
  18804. }
  18805. }
  18806. },
  18807. "models.ErmcpMiddleGoodsChangeLog": {
  18808. "type": "object",
  18809. "properties": {
  18810. "aftervalue": {
  18811. "description": "变更后",
  18812. "type": "number"
  18813. },
  18814. "applyid": {
  18815. "description": "操作人",
  18816. "type": "integer"
  18817. },
  18818. "applyname": {
  18819. "description": "操作人名称",
  18820. "type": "string"
  18821. },
  18822. "applysrc": {
  18823. "description": "操作来源 - 1:管理端 2:终端",
  18824. "type": "integer"
  18825. },
  18826. "beforevalue": {
  18827. "description": "变更前",
  18828. "type": "number"
  18829. },
  18830. "changelogtype": {
  18831. "description": "变更流水类型 - 1:套保比率变更",
  18832. "type": "integer"
  18833. },
  18834. "handlestatus": {
  18835. "description": "处理状态",
  18836. "type": "integer"
  18837. },
  18838. "logdatetime": {
  18839. "description": "流水日期",
  18840. "type": "string"
  18841. },
  18842. "logid": {
  18843. "description": "流水ID",
  18844. "type": "integer"
  18845. },
  18846. "logremark": {
  18847. "description": "流水备注",
  18848. "type": "string"
  18849. },
  18850. "middlegoodsid": {
  18851. "description": "套保品种ID",
  18852. "type": "integer"
  18853. },
  18854. "tradedate": {
  18855. "description": "交易日(yyyyMMdd)",
  18856. "type": "string"
  18857. },
  18858. "updatetime": {
  18859. "description": "更新时间",
  18860. "type": "string"
  18861. }
  18862. }
  18863. },
  18864. "models.ErmcpMiddleGoodsDetail": {
  18865. "type": "object",
  18866. "properties": {
  18867. "cvList": {
  18868. "description": "期货品种折算列表",
  18869. "type": "array",
  18870. "items": {
  18871. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18872. }
  18873. },
  18874. "mg": {
  18875. "description": "套保品种基本信息",
  18876. "type": "object",
  18877. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18878. },
  18879. "wrcList": {
  18880. "description": "现货品种列表(现货商品折算配置)",
  18881. "type": "array",
  18882. "items": {
  18883. "$ref": "#/definitions/models.WRSConverTDetail"
  18884. }
  18885. }
  18886. }
  18887. },
  18888. "models.ErmcpMiddleGoodsModel": {
  18889. "type": "object",
  18890. "properties": {
  18891. "areauserid": {
  18892. "description": "机构用户ID",
  18893. "type": "integer"
  18894. },
  18895. "createtime": {
  18896. "description": "修改时间",
  18897. "type": "string"
  18898. },
  18899. "enumdicname": {
  18900. "description": "单位名称",
  18901. "type": "string"
  18902. },
  18903. "evaluateratio": {
  18904. "description": "估价系数",
  18905. "type": "number"
  18906. },
  18907. "goodsgroupid": {
  18908. "description": "关联期货品种ID",
  18909. "type": "integer"
  18910. },
  18911. "goodsunitid": {
  18912. "description": "单位ID",
  18913. "type": "integer"
  18914. },
  18915. "isvalid": {
  18916. "description": "状态 0-无效(停用) 1-有效(正常)",
  18917. "type": "integer"
  18918. },
  18919. "middlegoodscode": {
  18920. "description": "套保品种代码",
  18921. "type": "string"
  18922. },
  18923. "middlegoodsid": {
  18924. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18925. "type": "integer"
  18926. },
  18927. "middlegoodsname": {
  18928. "description": "套保品种名称",
  18929. "type": "string"
  18930. },
  18931. "modifytime": {
  18932. "description": "修改时间",
  18933. "type": "string"
  18934. },
  18935. "needarbitrageratio": {
  18936. "description": "套利比例",
  18937. "type": "number"
  18938. },
  18939. "needhedgeratio": {
  18940. "description": "套保比率",
  18941. "type": "number"
  18942. },
  18943. "qtydecimalplace": {
  18944. "description": "数量小数位",
  18945. "type": "integer"
  18946. },
  18947. "relatedgoodsid": {
  18948. "description": "关联交易商品ID",
  18949. "type": "integer"
  18950. },
  18951. "relatedgoodstype": {
  18952. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18953. "type": "integer"
  18954. },
  18955. "remark": {
  18956. "description": "备注",
  18957. "type": "string"
  18958. }
  18959. }
  18960. },
  18961. "models.ErmcpMiddlegoodsRelateGoods": {
  18962. "type": "object",
  18963. "properties": {
  18964. "agreeunit": {
  18965. "description": "合约乘数",
  18966. "type": "number"
  18967. },
  18968. "convertratio": {
  18969. "description": "折算系数",
  18970. "type": "number"
  18971. },
  18972. "enumdicname": {
  18973. "description": "单位名称(交易商品)",
  18974. "type": "string"
  18975. },
  18976. "goodscode": {
  18977. "description": "交易商品代码",
  18978. "type": "string"
  18979. },
  18980. "goodsgroupid": {
  18981. "description": "交易品种id",
  18982. "type": "integer"
  18983. },
  18984. "goodsid": {
  18985. "description": "商品Id",
  18986. "type": "integer"
  18987. },
  18988. "goodsname": {
  18989. "description": "交易商品名称",
  18990. "type": "string"
  18991. },
  18992. "goodunitid": {
  18993. "description": "交易商品单位id",
  18994. "type": "integer"
  18995. },
  18996. "middlegoodsid": {
  18997. "description": "套保商品id",
  18998. "type": "integer"
  18999. },
  19000. "middlegoodsname": {
  19001. "description": "套保商品名称",
  19002. "type": "string"
  19003. },
  19004. "middlegoodsswcode": {
  19005. "description": "套保商品代码",
  19006. "type": "string"
  19007. },
  19008. "needarbitrageratio": {
  19009. "description": "应套利比例",
  19010. "type": "number"
  19011. },
  19012. "needhedgeratio": {
  19013. "description": "应套保比例",
  19014. "type": "number"
  19015. }
  19016. }
  19017. },
  19018. "models.ErmcpOPLogModel": {
  19019. "type": "object",
  19020. "properties": {
  19021. "aftervalue": {
  19022. "description": "变更后",
  19023. "type": "number"
  19024. },
  19025. "applyid": {
  19026. "description": "操作人ID",
  19027. "type": "string"
  19028. },
  19029. "applyname": {
  19030. "description": "操作人名称",
  19031. "type": "string"
  19032. },
  19033. "beforevalue": {
  19034. "description": "变更前",
  19035. "type": "number"
  19036. },
  19037. "biztype": {
  19038. "description": "业务类型 - 1:套保计划 2:现货合同",
  19039. "type": "integer"
  19040. },
  19041. "contracttype": {
  19042. "description": "现货合同类型 - 1:采购 -1:销售",
  19043. "type": "integer"
  19044. },
  19045. "logvalue": {
  19046. "description": "数值",
  19047. "type": "number"
  19048. },
  19049. "operatelogtype": {
  19050. "description": "操作流水类型",
  19051. "type": "integer"
  19052. },
  19053. "operatelogtypedesc": {
  19054. "description": "操作流水类型名称",
  19055. "type": "string"
  19056. },
  19057. "relatedid": {
  19058. "description": "现货合同ID\\套保计划",
  19059. "type": "string"
  19060. },
  19061. "updatetime": {
  19062. "description": "更新时间",
  19063. "type": "string"
  19064. }
  19065. }
  19066. },
  19067. "models.ErmcpPendingAudit": {
  19068. "type": "object",
  19069. "properties": {
  19070. "areastockqty": {
  19071. "description": "待审核数量: 库存申请",
  19072. "type": "integer"
  19073. },
  19074. "businessdjqty": {
  19075. "description": "待审核数量: 点价",
  19076. "type": "integer"
  19077. },
  19078. "businessfpqty": {
  19079. "description": "待审核数量: 发票",
  19080. "type": "integer"
  19081. },
  19082. "businessjsqty": {
  19083. "description": "待审核数量: 结算",
  19084. "type": "integer"
  19085. },
  19086. "businesskxqty": {
  19087. "description": "待审核数量: 款项",
  19088. "type": "integer"
  19089. },
  19090. "hedgeplanqty": {
  19091. "description": "待审核数量: 套保计划",
  19092. "type": "integer"
  19093. },
  19094. "spotcontractqty": {
  19095. "description": "待审核数量: 现货合同",
  19096. "type": "integer"
  19097. },
  19098. "userqty": {
  19099. "description": "待审核数量: 用户",
  19100. "type": "integer"
  19101. }
  19102. }
  19103. },
  19104. "models.ErmcpRealExposureModel": {
  19105. "type": "object",
  19106. "properties": {
  19107. "AreaUserID": {
  19108. "description": "所属机构",
  19109. "type": "integer"
  19110. },
  19111. "BuyFutureQty": {
  19112. "description": "买入期货数量",
  19113. "type": "number"
  19114. },
  19115. "BuyPlanQty": {
  19116. "description": "采购计划数量",
  19117. "type": "number"
  19118. },
  19119. "BuyPricedQty": {
  19120. "description": "采购合同已定价数量",
  19121. "type": "number"
  19122. },
  19123. "MiddleGoodsCode": {
  19124. "description": "套保品种代码",
  19125. "type": "string"
  19126. },
  19127. "MiddleGoodsHedgeRatio": {
  19128. "description": "套保比例",
  19129. "type": "number"
  19130. },
  19131. "MiddleGoodsID": {
  19132. "description": "套保品种",
  19133. "type": "integer"
  19134. },
  19135. "MiddleGoodsName": {
  19136. "description": "套保品种名称",
  19137. "type": "string"
  19138. },
  19139. "NeedHedgeExposoure": {
  19140. "description": "应套保敞口(套保敞口)",
  19141. "type": "number"
  19142. },
  19143. "NeedHedgeRatio": {
  19144. "description": "应套保敞口比例",
  19145. "type": "number"
  19146. },
  19147. "OriBuyFutureQty": {
  19148. "description": "期初买入期货数量",
  19149. "type": "number"
  19150. },
  19151. "OriBuyPlanQty": {
  19152. "description": "期初采购计划数量",
  19153. "type": "number"
  19154. },
  19155. "OriBuyPricedQty": {
  19156. "description": "期初采购合同已定价数量",
  19157. "type": "number"
  19158. },
  19159. "OriSellFutureQty": {
  19160. "description": "期初卖出期货数量",
  19161. "type": "number"
  19162. },
  19163. "OriSellPlanQty": {
  19164. "description": "期初销售计划数量",
  19165. "type": "number"
  19166. },
  19167. "OriSellPricedQty": {
  19168. "description": "期初销售合同已定价数量",
  19169. "type": "number"
  19170. },
  19171. "SellFutureQty": {
  19172. "description": "卖出期货数量",
  19173. "type": "number"
  19174. },
  19175. "SellPlanQty": {
  19176. "description": "销售计划数量",
  19177. "type": "number"
  19178. },
  19179. "SellPricedQty": {
  19180. "description": "销售合同已定价数量",
  19181. "type": "number"
  19182. },
  19183. "TotalExposure": {
  19184. "description": "总敞口",
  19185. "type": "number"
  19186. },
  19187. "TotalFutureQty": {
  19188. "description": "期货总量",
  19189. "type": "number"
  19190. },
  19191. "TotalHedgeRatio": {
  19192. "description": "敞口比例",
  19193. "type": "number"
  19194. },
  19195. "TotalNeedHedgeQty": {
  19196. "description": "应套保总量(现货应套保总量)",
  19197. "type": "number"
  19198. },
  19199. "TotalSpotQty": {
  19200. "description": "现货总量",
  19201. "type": "number"
  19202. },
  19203. "arbitrageqty": {
  19204. "description": "套利量",
  19205. "type": "number"
  19206. },
  19207. "diffArbitrageQty": {
  19208. "description": "套利变动量",
  19209. "type": "number"
  19210. },
  19211. "diffExposoureQty": {
  19212. "description": "变动量(套保敞口)",
  19213. "type": "number"
  19214. },
  19215. "diffFutuQty": {
  19216. "description": "变动量(期货总量)",
  19217. "type": "number"
  19218. },
  19219. "diffHedgeQty": {
  19220. "description": "套保变动量",
  19221. "type": "number"
  19222. },
  19223. "diffQty": {
  19224. "description": "变动量(总敞口)",
  19225. "type": "number"
  19226. },
  19227. "diffSpotHedgeQty": {
  19228. "description": "变动量(现货应套保总量)",
  19229. "type": "number"
  19230. },
  19231. "diffSpotQty": {
  19232. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19233. "type": "number"
  19234. },
  19235. "enumdicname": {
  19236. "description": "单位名称",
  19237. "type": "string"
  19238. },
  19239. "hedgeqty": {
  19240. "description": "套保量",
  19241. "type": "number"
  19242. },
  19243. "needarbitrageqty": {
  19244. "description": "应套利量",
  19245. "type": "number"
  19246. },
  19247. "needarbitrageratio": {
  19248. "description": "套利比例",
  19249. "type": "number"
  19250. },
  19251. "needhedgeqty": {
  19252. "description": "应套保量",
  19253. "type": "number"
  19254. },
  19255. "oriTotalFutuQty": {
  19256. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19257. "type": "number"
  19258. },
  19259. "oriTotalSpotQty": {
  19260. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19261. "type": "number"
  19262. },
  19263. "oriarbitrageqty": {
  19264. "description": "期初套利量",
  19265. "type": "number"
  19266. },
  19267. "orihedgeqty": {
  19268. "description": "期初套保量",
  19269. "type": "number"
  19270. },
  19271. "orineedhedgeexposoure": {
  19272. "description": "期初套保敞口",
  19273. "type": "number"
  19274. },
  19275. "oritotalexposure": {
  19276. "description": "期初总敞口",
  19277. "type": "number"
  19278. },
  19279. "oritotalfutureqty": {
  19280. "description": "期初期货总量",
  19281. "type": "number"
  19282. },
  19283. "oritotalneedhedgeqty": {
  19284. "description": "期初现货应套保量",
  19285. "type": "number"
  19286. }
  19287. }
  19288. },
  19289. "models.ErmcpRole": {
  19290. "type": "object",
  19291. "properties": {
  19292. "areauserid": {
  19293. "description": "所属机构",
  19294. "type": "integer"
  19295. },
  19296. "autoid": {
  19297. "description": "角色ID(自增ID)",
  19298. "type": "integer"
  19299. },
  19300. "modifierid": {
  19301. "description": "修改人(创建人)",
  19302. "type": "integer"
  19303. },
  19304. "modifiername": {
  19305. "description": "修改人名称",
  19306. "type": "string"
  19307. },
  19308. "modifytime": {
  19309. "description": "修改时间(创建时间)",
  19310. "type": "string"
  19311. },
  19312. "rolename": {
  19313. "description": "角色名称",
  19314. "type": "string"
  19315. },
  19316. "rolestatus": {
  19317. "description": "角色状态 - 1:启用 2:停用",
  19318. "type": "integer"
  19319. },
  19320. "roletype": {
  19321. "description": "角色类型 - 1- 管理端 2- 交易端",
  19322. "type": "integer"
  19323. }
  19324. }
  19325. },
  19326. "models.ErmcpRoleMenu": {
  19327. "type": "object",
  19328. "properties": {
  19329. "iconame": {
  19330. "description": "菜单图标",
  19331. "type": "string"
  19332. },
  19333. "ishadrole": {
  19334. "description": "是否有权限",
  19335. "type": "boolean"
  19336. },
  19337. "menutype": {
  19338. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19339. "type": "integer"
  19340. },
  19341. "parentcode": {
  19342. "description": "上级资源代码",
  19343. "type": "string"
  19344. },
  19345. "remark": {
  19346. "description": "菜单备注",
  19347. "type": "string"
  19348. },
  19349. "resourcecode": {
  19350. "description": "菜单代码",
  19351. "type": "string"
  19352. },
  19353. "resourcelevel": {
  19354. "description": "级别",
  19355. "type": "integer"
  19356. },
  19357. "resourcename": {
  19358. "description": "菜单名称",
  19359. "type": "string"
  19360. },
  19361. "roleid": {
  19362. "description": "角色id",
  19363. "type": "integer"
  19364. },
  19365. "sort": {
  19366. "description": "排序",
  19367. "type": "integer"
  19368. },
  19369. "url": {
  19370. "description": "URL",
  19371. "type": "string"
  19372. },
  19373. "userid": {
  19374. "description": "用户id",
  19375. "type": "integer"
  19376. }
  19377. }
  19378. },
  19379. "models.ErmcpRoleMenuEx": {
  19380. "type": "object",
  19381. "properties": {
  19382. "menu": {
  19383. "description": "父级菜单",
  19384. "type": "object",
  19385. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19386. },
  19387. "subMenu": {
  19388. "description": "子级菜单",
  19389. "type": "array",
  19390. "items": {
  19391. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19392. }
  19393. }
  19394. }
  19395. },
  19396. "models.ErmcpTaAccount": {
  19397. "type": "object",
  19398. "properties": {
  19399. "accountid": {
  19400. "description": "账户id",
  19401. "type": "integer"
  19402. },
  19403. "accountname": {
  19404. "description": "账户名称",
  19405. "type": "string"
  19406. },
  19407. "currencyid": {
  19408. "description": "币种id",
  19409. "type": "integer"
  19410. },
  19411. "hedgeaccountcode": {
  19412. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19413. "type": "string"
  19414. },
  19415. "ismain": {
  19416. "description": "是否主账户 0-否 1-是",
  19417. "type": "integer"
  19418. },
  19419. "parentaccountid": {
  19420. "description": "父账户id",
  19421. "type": "integer"
  19422. },
  19423. "relateduserid": {
  19424. "description": "关联userid",
  19425. "type": "integer"
  19426. },
  19427. "tradefeetmpid": {
  19428. "description": "手续费模板id",
  19429. "type": "integer"
  19430. },
  19431. "tradefeetmpname": {
  19432. "description": "手续费模板名称",
  19433. "type": "string"
  19434. },
  19435. "trademargintmpid": {
  19436. "description": "保证金模板id",
  19437. "type": "integer"
  19438. },
  19439. "trademargintmpname": {
  19440. "description": "保证金模板名称",
  19441. "type": "string"
  19442. },
  19443. "traderatetmpid": {
  19444. "description": "汇率模板id",
  19445. "type": "integer"
  19446. },
  19447. "traderatetmpname": {
  19448. "description": "汇率模板名称",
  19449. "type": "string"
  19450. },
  19451. "tradestatus": {
  19452. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19453. "type": "integer"
  19454. },
  19455. "userid": {
  19456. "description": "用户id",
  19457. "type": "integer"
  19458. }
  19459. }
  19460. },
  19461. "models.ErmcpTaAccountEx": {
  19462. "type": "object",
  19463. "properties": {
  19464. "mainAcc": {
  19465. "description": "主账号",
  19466. "type": "object",
  19467. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19468. },
  19469. "subacclist": {
  19470. "description": "子账号列表",
  19471. "type": "array",
  19472. "items": {
  19473. "$ref": "#/definitions/models.ErmcpTaAccount"
  19474. }
  19475. }
  19476. }
  19477. },
  19478. "models.ErmcpTaAccountInfo": {
  19479. "type": "object",
  19480. "properties": {
  19481. "accountid": {
  19482. "description": "资金账户ID",
  19483. "type": "integer"
  19484. },
  19485. "accountname": {
  19486. "description": "账户名称",
  19487. "type": "string"
  19488. },
  19489. "balance": {
  19490. "description": "期初余额",
  19491. "type": "number"
  19492. },
  19493. "capitalbalance": {
  19494. "description": "本金余额[外部子账户实际出入金余额]",
  19495. "type": "number"
  19496. },
  19497. "closepl": {
  19498. "description": "今日平仓盈亏",
  19499. "type": "number"
  19500. },
  19501. "creditdecrease": {
  19502. "description": "今日授信减少",
  19503. "type": "number"
  19504. },
  19505. "creditincrease": {
  19506. "description": "今日授信增加",
  19507. "type": "number"
  19508. },
  19509. "curdebt": {
  19510. "description": "期末欠款",
  19511. "type": "number"
  19512. },
  19513. "currencyid": {
  19514. "description": "货币ID",
  19515. "type": "integer"
  19516. },
  19517. "currentbalance": {
  19518. "description": "期末余额",
  19519. "type": "number"
  19520. },
  19521. "freezecharge": {
  19522. "description": "手续费冻结",
  19523. "type": "number"
  19524. },
  19525. "freezemargin": {
  19526. "description": "冻结保证金",
  19527. "type": "number"
  19528. },
  19529. "fromaccountid": {
  19530. "description": "所属上级账户",
  19531. "type": "integer"
  19532. },
  19533. "inamount": {
  19534. "description": "今日入金金额(包括三方入金)",
  19535. "type": "number"
  19536. },
  19537. "ismain": {
  19538. "description": "是否母账号 0:不是母账户 1:是母账户",
  19539. "type": "integer"
  19540. },
  19541. "mortgagecredit": {
  19542. "description": "授信金额",
  19543. "type": "number"
  19544. },
  19545. "oridebt": {
  19546. "description": "期初欠款",
  19547. "type": "number"
  19548. },
  19549. "orifreezecharge": {
  19550. "description": "期初手续费冻结",
  19551. "type": "number"
  19552. },
  19553. "orifreezemargin": {
  19554. "description": "期初冻结保证金",
  19555. "type": "number"
  19556. },
  19557. "orimortgagecredit": {
  19558. "description": "期初授信金额",
  19559. "type": "number"
  19560. },
  19561. "oriothercredit": {
  19562. "description": "期初其它授信金额",
  19563. "type": "number"
  19564. },
  19565. "oriotherfreezemargin": {
  19566. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19567. "type": "number"
  19568. },
  19569. "orioutamountfreeze": {
  19570. "description": "期初出金冻结",
  19571. "type": "number"
  19572. },
  19573. "oriusedmargin": {
  19574. "description": "期初占用保证金",
  19575. "type": "number"
  19576. },
  19577. "othercredit": {
  19578. "description": "其它授信金额",
  19579. "type": "number"
  19580. },
  19581. "othercreditdecrease": {
  19582. "description": "今日其它授信减少",
  19583. "type": "number"
  19584. },
  19585. "othercreditincrease": {
  19586. "description": "今日其它授信增加",
  19587. "type": "number"
  19588. },
  19589. "otherfreezemargin": {
  19590. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19591. "type": "number"
  19592. },
  19593. "outamount": {
  19594. "description": "今日出金金额(包括三方出金)",
  19595. "type": "number"
  19596. },
  19597. "outamountfreeze": {
  19598. "description": "出金冻结",
  19599. "type": "number"
  19600. },
  19601. "outthreshold": {
  19602. "description": "出金阈值",
  19603. "type": "number"
  19604. },
  19605. "parentaccountid": {
  19606. "description": "所属根账号",
  19607. "type": "integer"
  19608. },
  19609. "paycharge": {
  19610. "description": "今日手续费支出",
  19611. "type": "number"
  19612. },
  19613. "relateduserid": {
  19614. "description": "关联用户",
  19615. "type": "integer"
  19616. },
  19617. "signstatus": {
  19618. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19619. "type": "integer"
  19620. },
  19621. "sublevelpath": {
  19622. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19623. "type": "string"
  19624. },
  19625. "taaccounttype": {
  19626. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19627. "type": "integer"
  19628. },
  19629. "thirdinamount": {
  19630. "description": "今日三方入金",
  19631. "type": "number"
  19632. },
  19633. "thirdoutamount": {
  19634. "description": "今日三方出金",
  19635. "type": "number"
  19636. },
  19637. "tradestatus": {
  19638. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19639. "type": "integer"
  19640. },
  19641. "transferamount": {
  19642. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19643. "type": "number"
  19644. },
  19645. "usedmargin": {
  19646. "description": "占用保证金",
  19647. "type": "number"
  19648. },
  19649. "userid": {
  19650. "description": "用户ID",
  19651. "type": "integer"
  19652. }
  19653. }
  19654. },
  19655. "models.ErmcpTaAccountM": {
  19656. "type": "object",
  19657. "properties": {
  19658. "accountid": {
  19659. "description": "账户id",
  19660. "type": "integer"
  19661. },
  19662. "accountname": {
  19663. "description": "账户名称",
  19664. "type": "string"
  19665. },
  19666. "currencyid": {
  19667. "description": "币种id",
  19668. "type": "integer"
  19669. },
  19670. "fcid": {
  19671. "description": "期货公司id",
  19672. "type": "integer"
  19673. },
  19674. "fcname": {
  19675. "description": "期货公司代码",
  19676. "type": "string"
  19677. },
  19678. "hedgeaccountcode": {
  19679. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19680. "type": "string"
  19681. },
  19682. "ismain": {
  19683. "description": "是否主账户 0-否 1-是",
  19684. "type": "integer"
  19685. },
  19686. "parentaccountid": {
  19687. "description": "父账户id",
  19688. "type": "integer"
  19689. },
  19690. "relateduserid": {
  19691. "description": "关联userid",
  19692. "type": "integer"
  19693. },
  19694. "tradefeetmpid": {
  19695. "description": "手续费模板id",
  19696. "type": "integer"
  19697. },
  19698. "tradefeetmpname": {
  19699. "description": "手续费模板名称",
  19700. "type": "string"
  19701. },
  19702. "trademargintmpid": {
  19703. "description": "保证金模板id",
  19704. "type": "integer"
  19705. },
  19706. "trademargintmpname": {
  19707. "description": "保证金模板名称",
  19708. "type": "string"
  19709. },
  19710. "traderatetmpid": {
  19711. "description": "汇率模板id",
  19712. "type": "integer"
  19713. },
  19714. "traderatetmpname": {
  19715. "description": "汇率模板名称",
  19716. "type": "string"
  19717. },
  19718. "tradestatus": {
  19719. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19720. "type": "integer"
  19721. },
  19722. "userid": {
  19723. "description": "用户id",
  19724. "type": "integer"
  19725. }
  19726. }
  19727. },
  19728. "models.ErmcpTradeConfigTMP": {
  19729. "type": "object",
  19730. "properties": {
  19731. "areauserid": {
  19732. "description": "所属机构",
  19733. "type": "integer"
  19734. },
  19735. "basiccurrencyid": {
  19736. "description": "基本币种ID[汇率] - 目标币种",
  19737. "type": "integer"
  19738. },
  19739. "mainaccountid": {
  19740. "description": "主账户ID",
  19741. "type": "integer"
  19742. },
  19743. "modifierid": {
  19744. "description": "修改人",
  19745. "type": "integer"
  19746. },
  19747. "remark": {
  19748. "description": "备注",
  19749. "type": "string"
  19750. },
  19751. "tradeconfigtmpid": {
  19752. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19753. "type": "integer"
  19754. },
  19755. "tradeconfigtmpname": {
  19756. "description": "交易配置模板名称",
  19757. "type": "string"
  19758. },
  19759. "tradeconfigtmptype": {
  19760. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19761. "type": "integer"
  19762. },
  19763. "updatetime": {
  19764. "description": "更新时间",
  19765. "type": "string"
  19766. }
  19767. }
  19768. },
  19769. "models.ErmcpUserModel": {
  19770. "type": "object",
  19771. "properties": {
  19772. "address": {
  19773. "description": "通讯地址",
  19774. "type": "string"
  19775. },
  19776. "attachment1": {
  19777. "description": "附件1",
  19778. "type": "string"
  19779. },
  19780. "audittime": {
  19781. "description": "审核时间",
  19782. "type": "string"
  19783. },
  19784. "cardbackphotourl": {
  19785. "description": "证件反面图片地址",
  19786. "type": "string"
  19787. },
  19788. "cardfrontphotourl": {
  19789. "description": "证件正面图片地址",
  19790. "type": "string"
  19791. },
  19792. "cardnum": {
  19793. "description": "证件号码",
  19794. "type": "string"
  19795. },
  19796. "cardtype": {
  19797. "description": "证件类型",
  19798. "type": "integer"
  19799. },
  19800. "cardtypename": {
  19801. "description": "证件类型名称",
  19802. "type": "string"
  19803. },
  19804. "cityid": {
  19805. "description": "市",
  19806. "type": "integer"
  19807. },
  19808. "contactname": {
  19809. "description": "联系人",
  19810. "type": "string"
  19811. },
  19812. "countryid": {
  19813. "description": "国家",
  19814. "type": "integer"
  19815. },
  19816. "createtime": {
  19817. "description": "创建时间",
  19818. "type": "string"
  19819. },
  19820. "customername": {
  19821. "description": "企业名称",
  19822. "type": "string"
  19823. },
  19824. "districtid": {
  19825. "description": "区域",
  19826. "type": "integer"
  19827. },
  19828. "email": {
  19829. "description": "邮件",
  19830. "type": "string"
  19831. },
  19832. "legalpersonname": {
  19833. "description": "法人姓名(企业)",
  19834. "type": "string"
  19835. },
  19836. "memberuserid": {
  19837. "description": "所属机构ID",
  19838. "type": "integer"
  19839. },
  19840. "mobile": {
  19841. "description": "手机号码",
  19842. "type": "string"
  19843. },
  19844. "modifytime": {
  19845. "description": "修改时间",
  19846. "type": "string"
  19847. },
  19848. "nickname": {
  19849. "description": "昵称",
  19850. "type": "string"
  19851. },
  19852. "provinceid": {
  19853. "description": "省",
  19854. "type": "integer"
  19855. },
  19856. "remark": {
  19857. "description": "备注",
  19858. "type": "string"
  19859. },
  19860. "status": {
  19861. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19862. "type": "integer"
  19863. },
  19864. "statusdesc": {
  19865. "description": "账户状态中文描述",
  19866. "type": "string"
  19867. },
  19868. "taxpayernum": {
  19869. "description": "纳税人识别号",
  19870. "type": "string"
  19871. },
  19872. "telphone": {
  19873. "description": "联系电话",
  19874. "type": "string"
  19875. },
  19876. "userid": {
  19877. "description": "用户ID",
  19878. "type": "integer"
  19879. },
  19880. "userinfotype": {
  19881. "description": "客户类型",
  19882. "type": "string"
  19883. }
  19884. }
  19885. },
  19886. "models.ErmcpWareHouseInfo": {
  19887. "type": "object",
  19888. "properties": {
  19889. "address": {
  19890. "description": "详细地址",
  19891. "type": "string"
  19892. },
  19893. "areauserid": {
  19894. "description": "所属机构",
  19895. "type": "integer"
  19896. },
  19897. "autoid": {
  19898. "description": "自增ID(仓库ID)",
  19899. "type": "integer"
  19900. },
  19901. "cityid": {
  19902. "description": "市",
  19903. "type": "integer"
  19904. },
  19905. "contactname": {
  19906. "description": "联系人",
  19907. "type": "string"
  19908. },
  19909. "contactnum": {
  19910. "description": "联系电话",
  19911. "type": "string"
  19912. },
  19913. "countryid": {
  19914. "description": "国家",
  19915. "type": "integer"
  19916. },
  19917. "createtime": {
  19918. "description": "创建时间",
  19919. "type": "string"
  19920. },
  19921. "districtid": {
  19922. "description": "区",
  19923. "type": "integer"
  19924. },
  19925. "hasvideo": {
  19926. "description": "是否有视频 - 0:无 1:有",
  19927. "type": "integer"
  19928. },
  19929. "provinceid": {
  19930. "description": "省",
  19931. "type": "integer"
  19932. },
  19933. "remark": {
  19934. "description": "审核备注",
  19935. "type": "string"
  19936. },
  19937. "videourl": {
  19938. "description": "视频地址",
  19939. "type": "string"
  19940. },
  19941. "warehousecode": {
  19942. "description": "仓库代码",
  19943. "type": "string"
  19944. },
  19945. "warehousename": {
  19946. "description": "仓库名称",
  19947. "type": "string"
  19948. },
  19949. "warehousestatus": {
  19950. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19951. "type": "integer"
  19952. },
  19953. "warehousetype": {
  19954. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19955. "type": "integer"
  19956. }
  19957. }
  19958. },
  19959. "models.Externalexchange": {
  19960. "type": "object",
  19961. "required": [
  19962. "autoid"
  19963. ],
  19964. "properties": {
  19965. "autoid": {
  19966. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19967. "type": "integer"
  19968. },
  19969. "exchangefullname": {
  19970. "description": "外部交易所全称",
  19971. "type": "string"
  19972. },
  19973. "exexchangecode": {
  19974. "description": "外部交易所代码",
  19975. "type": "string"
  19976. },
  19977. "exexchangename": {
  19978. "description": "外部交易所名称(简称)",
  19979. "type": "string"
  19980. },
  19981. "ismarketprice": {
  19982. "description": "是否支持市价 - 0:不支持 1:支持",
  19983. "type": "integer"
  19984. },
  19985. "quotegear": {
  19986. "description": "行情档位(1-10)",
  19987. "type": "integer"
  19988. },
  19989. "showbrokerflag": {
  19990. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19991. "type": "integer"
  19992. },
  19993. "updatetime": {
  19994. "description": "更新时间",
  19995. "type": "string"
  19996. }
  19997. }
  19998. },
  19999. "models.Funcmenulist": {
  20000. "type": "object",
  20001. "required": [
  20002. "resourcecode"
  20003. ],
  20004. "properties": {
  20005. "iconame": {
  20006. "description": "菜单图标",
  20007. "type": "string"
  20008. },
  20009. "menutype": {
  20010. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20011. "type": "integer"
  20012. },
  20013. "parentcode": {
  20014. "description": "上级资源代码",
  20015. "type": "string"
  20016. },
  20017. "remark": {
  20018. "description": "备注",
  20019. "type": "string"
  20020. },
  20021. "resourcecode": {
  20022. "description": "资源代码",
  20023. "type": "string"
  20024. },
  20025. "resourcelevel": {
  20026. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20027. "type": "integer"
  20028. },
  20029. "resourcename": {
  20030. "description": "资源名",
  20031. "type": "string"
  20032. },
  20033. "sort": {
  20034. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20035. "type": "integer"
  20036. },
  20037. "url": {
  20038. "description": "URL",
  20039. "type": "string"
  20040. }
  20041. }
  20042. },
  20043. "models.Goods": {
  20044. "type": "object",
  20045. "required": [
  20046. "goodscode",
  20047. "goodsid",
  20048. "goodsname",
  20049. "marketid"
  20050. ],
  20051. "properties": {
  20052. "agreeunit": {
  20053. "description": "合约单位",
  20054. "type": "number"
  20055. },
  20056. "areauserid": {
  20057. "description": "所属机构",
  20058. "type": "integer"
  20059. },
  20060. "auditaccountid": {
  20061. "description": "审核操作员账号",
  20062. "type": "integer"
  20063. },
  20064. "audittime": {
  20065. "description": "审核时间",
  20066. "type": "string"
  20067. },
  20068. "cancelaccountid": {
  20069. "description": "注销操作员账号",
  20070. "type": "integer"
  20071. },
  20072. "canceltime": {
  20073. "description": "注销时间",
  20074. "type": "string"
  20075. },
  20076. "closepricemode": {
  20077. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20078. "type": "integer"
  20079. },
  20080. "closepriceparam": {
  20081. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20082. "type": "number"
  20083. },
  20084. "createtime": {
  20085. "description": "创建时间",
  20086. "type": "string"
  20087. },
  20088. "creatorid": {
  20089. "description": "创建人",
  20090. "type": "integer"
  20091. },
  20092. "currencyid": {
  20093. "description": "报价货币ID",
  20094. "type": "integer"
  20095. },
  20096. "cutmode": {
  20097. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20098. "type": "integer"
  20099. },
  20100. "decimalplace": {
  20101. "description": "报价小数位",
  20102. "type": "integer"
  20103. },
  20104. "delistingdate": {
  20105. "description": "商品退市时间(状态:退市) -- 已作废",
  20106. "type": "string"
  20107. },
  20108. "delistingmode": {
  20109. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20110. "type": "integer"
  20111. },
  20112. "deliveryflag": {
  20113. "description": "交割标志 - 0:不可交割 1:可交割",
  20114. "type": "integer"
  20115. },
  20116. "forceclosemode": {
  20117. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20118. "type": "integer"
  20119. },
  20120. "forceclosevalue": {
  20121. "description": "定期强平参数 [收益权]",
  20122. "type": "integer"
  20123. },
  20124. "goodscode": {
  20125. "description": "商品代码(内部)",
  20126. "type": "string"
  20127. },
  20128. "goodscurrencyid": {
  20129. "description": "合约货币ID",
  20130. "type": "integer"
  20131. },
  20132. "goodsgroupid": {
  20133. "description": "所属商品组ID",
  20134. "type": "integer"
  20135. },
  20136. "goodsid": {
  20137. "description": "商品ID(自增ID SEQ_GOODS)",
  20138. "type": "integer"
  20139. },
  20140. "goodsname": {
  20141. "description": "商品名称",
  20142. "type": "string"
  20143. },
  20144. "goodsquotetype": {
  20145. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20146. "type": "integer"
  20147. },
  20148. "goodsstatus": {
  20149. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20150. "type": "integer"
  20151. },
  20152. "goodstradetype": {
  20153. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20154. "type": "integer"
  20155. },
  20156. "goodunitid": {
  20157. "description": "报价单位ID",
  20158. "type": "integer"
  20159. },
  20160. "hasquoter": {
  20161. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20162. "type": "integer"
  20163. },
  20164. "hqprotecttime": {
  20165. "description": "行情保护时间(秒)",
  20166. "type": "integer"
  20167. },
  20168. "innerdealmode": {
  20169. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20170. "type": "integer"
  20171. },
  20172. "isbuylimited": {
  20173. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20174. "type": "integer"
  20175. },
  20176. "isvisible": {
  20177. "description": "游客是否可见 - 0:不可见 1:可见",
  20178. "type": "integer"
  20179. },
  20180. "lasttradedate": {
  20181. "description": "最后交易日期(状态:待退市)",
  20182. "type": "string"
  20183. },
  20184. "listingdate": {
  20185. "description": "交易开始日期",
  20186. "type": "string"
  20187. },
  20188. "marketid": {
  20189. "description": "所属市场ID",
  20190. "type": "integer"
  20191. },
  20192. "modifierid": {
  20193. "description": "修改人",
  20194. "type": "integer"
  20195. },
  20196. "modifystatus": {
  20197. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20198. "type": "integer"
  20199. },
  20200. "modifytime": {
  20201. "description": "修改时间",
  20202. "type": "string"
  20203. },
  20204. "outerdealmode": {
  20205. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20206. "type": "integer"
  20207. },
  20208. "outgoodscode": {
  20209. "description": "商品代码(外部)",
  20210. "type": "string"
  20211. },
  20212. "pictureurl": {
  20213. "description": "商品图片",
  20214. "type": "string"
  20215. },
  20216. "qtydecimalplace": {
  20217. "description": "成交量小数位",
  20218. "type": "integer"
  20219. },
  20220. "quotegear": {
  20221. "description": "行情档位(1-10)",
  20222. "type": "integer"
  20223. },
  20224. "quoteminunit": {
  20225. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20226. "type": "integer"
  20227. },
  20228. "quoteshowtype": {
  20229. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20230. "type": "integer"
  20231. },
  20232. "quoteshowtypeinterval": {
  20233. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20234. "type": "integer"
  20235. },
  20236. "remark": {
  20237. "description": "备注",
  20238. "type": "string"
  20239. }
  20240. }
  20241. },
  20242. "models.GoodsIDAndName": {
  20243. "type": "object",
  20244. "required": [
  20245. "goodscode",
  20246. "goodsid",
  20247. "goodsname",
  20248. "marketid"
  20249. ],
  20250. "properties": {
  20251. "goodscode": {
  20252. "description": "商品代码(内部)",
  20253. "type": "string"
  20254. },
  20255. "goodsid": {
  20256. "description": "商品ID(自增ID SEQ_GOODS)",
  20257. "type": "integer"
  20258. },
  20259. "goodsname": {
  20260. "description": "商品名称",
  20261. "type": "string"
  20262. },
  20263. "marketid": {
  20264. "description": "所属市场ID",
  20265. "type": "integer"
  20266. }
  20267. }
  20268. },
  20269. "models.Goodsgroup": {
  20270. "type": "object",
  20271. "required": [
  20272. "goodsgroupid",
  20273. "goodsgroupname",
  20274. "goodsgroupstatus",
  20275. "marketid"
  20276. ],
  20277. "properties": {
  20278. "agreeunit": {
  20279. "description": "合约单位",
  20280. "type": "number"
  20281. },
  20282. "canshort": {
  20283. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20284. "type": "integer"
  20285. },
  20286. "closepricemode": {
  20287. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20288. "type": "integer"
  20289. },
  20290. "closepriceparam": {
  20291. "description": "强平最新价浮动比例 - 方式为2时使用",
  20292. "type": "number"
  20293. },
  20294. "createtime": {
  20295. "description": "创建时间",
  20296. "type": "string"
  20297. },
  20298. "creatorid": {
  20299. "description": "创建人",
  20300. "type": "integer"
  20301. },
  20302. "currencyid": {
  20303. "description": "报价货币ID",
  20304. "type": "integer"
  20305. },
  20306. "decimalplace": {
  20307. "description": "报价小数位",
  20308. "type": "integer"
  20309. },
  20310. "exercisetype": {
  20311. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20312. "type": "integer"
  20313. },
  20314. "exexchangeid": {
  20315. "description": "外部交易所ID[通道交易]",
  20316. "type": "integer"
  20317. },
  20318. "goodsgroupid": {
  20319. "description": "商品组ID(自增ID)",
  20320. "type": "integer"
  20321. },
  20322. "goodsgroupname": {
  20323. "description": "商品组名称",
  20324. "type": "string"
  20325. },
  20326. "goodsgroupstatus": {
  20327. "description": "商品组状态 - 1:正常 2:注销",
  20328. "type": "integer"
  20329. },
  20330. "goodunitid": {
  20331. "description": "报价单位ID",
  20332. "type": "integer"
  20333. },
  20334. "innerdealmode": {
  20335. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20336. "type": "integer"
  20337. },
  20338. "isbuylimited": {
  20339. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20340. "type": "integer"
  20341. },
  20342. "marketid": {
  20343. "description": "所属市场ID",
  20344. "type": "integer"
  20345. },
  20346. "modifierid": {
  20347. "description": "修改人",
  20348. "type": "integer"
  20349. },
  20350. "modifytime": {
  20351. "description": "修改时间",
  20352. "type": "string"
  20353. },
  20354. "outerdealmode": {
  20355. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20356. "type": "integer"
  20357. },
  20358. "outergroupcode": {
  20359. "description": "外部商品组代码[通道交易]",
  20360. "type": "string"
  20361. },
  20362. "premiumdecimalplace": {
  20363. "description": "权利金小数位[场外期权]",
  20364. "type": "integer"
  20365. },
  20366. "premiumspreadalgorithm": {
  20367. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20368. "type": "integer"
  20369. },
  20370. "premiumspreadvalue": {
  20371. "description": "权利金点差值[场外期权]",
  20372. "type": "number"
  20373. },
  20374. "qtydecimalplace": {
  20375. "description": "成交量小数位",
  20376. "type": "integer"
  20377. },
  20378. "quotegear": {
  20379. "description": "行情档位(1-10)",
  20380. "type": "integer"
  20381. },
  20382. "quoteminunit": {
  20383. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20384. "type": "integer"
  20385. },
  20386. "quoterid": {
  20387. "description": "报价商ID[场外期权]",
  20388. "type": "integer"
  20389. },
  20390. "quotesourcegroupid": {
  20391. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20392. "type": "integer"
  20393. },
  20394. "syncgoodsqty": {
  20395. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20396. "type": "integer"
  20397. }
  20398. }
  20399. },
  20400. "models.Goodssortbypreposition": {
  20401. "type": "object",
  20402. "required": [
  20403. "goodscode",
  20404. "tradedate"
  20405. ],
  20406. "properties": {
  20407. "goodscode": {
  20408. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20409. "type": "string"
  20410. },
  20411. "goodsgroupcode": {
  20412. "description": "品种代码",
  20413. "type": "string"
  20414. },
  20415. "prepositionqty": {
  20416. "description": "昨持仓量",
  20417. "type": "integer"
  20418. },
  20419. "sortindex": {
  20420. "description": "排序",
  20421. "type": "integer"
  20422. },
  20423. "tradedate": {
  20424. "description": "交易日",
  20425. "type": "string"
  20426. },
  20427. "updatetime": {
  20428. "description": "更新时间",
  20429. "type": "string"
  20430. }
  20431. }
  20432. },
  20433. "models.Hedgeinnerholderdetail": {
  20434. "type": "object",
  20435. "required": [
  20436. "buyorsell",
  20437. "tradeid"
  20438. ],
  20439. "properties": {
  20440. "accountid": {
  20441. "description": "账号ID",
  20442. "type": "integer"
  20443. },
  20444. "buyorsell": {
  20445. "description": "方向 - 0:买 1:卖",
  20446. "type": "integer"
  20447. },
  20448. "freezeqty": {
  20449. "description": "冻结数量 - 按单平使用",
  20450. "type": "integer"
  20451. },
  20452. "goodsid": {
  20453. "description": "商品ID",
  20454. "type": "integer"
  20455. },
  20456. "holderamount": {
  20457. "description": "持仓金额 [商品币种]",
  20458. "type": "number"
  20459. },
  20460. "holderdays": {
  20461. "description": "剩余冻结天数",
  20462. "type": "integer"
  20463. },
  20464. "holderprice": {
  20465. "description": "持仓价格",
  20466. "type": "number"
  20467. },
  20468. "holderqty": {
  20469. "description": "持仓数量",
  20470. "type": "integer"
  20471. },
  20472. "marketid": {
  20473. "description": "市场ID",
  20474. "type": "integer"
  20475. },
  20476. "openprice": {
  20477. "description": "建仓价格",
  20478. "type": "number"
  20479. },
  20480. "openqty": {
  20481. "description": "建仓数量",
  20482. "type": "integer"
  20483. },
  20484. "parentaccountid": {
  20485. "description": "所属母账户",
  20486. "type": "integer"
  20487. },
  20488. "releaseamount": {
  20489. "description": "释放持仓金额[商品币种]",
  20490. "type": "number"
  20491. },
  20492. "tradeamount": {
  20493. "description": "成交金额[账户]",
  20494. "type": "number"
  20495. },
  20496. "tradedate": {
  20497. "description": "交易日(yyyyMMdd)",
  20498. "type": "string"
  20499. },
  20500. "tradeid": {
  20501. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20502. "type": "string"
  20503. },
  20504. "tradetime": {
  20505. "description": "交易时间",
  20506. "type": "string"
  20507. }
  20508. }
  20509. },
  20510. "models.Hedgemarketopenlog": {
  20511. "type": "object",
  20512. "required": [
  20513. "accountid"
  20514. ],
  20515. "properties": {
  20516. "accountid": {
  20517. "description": "资金账号[外部母账户]",
  20518. "type": "integer"
  20519. },
  20520. "fcname": {
  20521. "description": "期货公司名称",
  20522. "type": "string"
  20523. },
  20524. "handlestatus": {
  20525. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20526. "type": "integer"
  20527. },
  20528. "marketid": {
  20529. "description": "市场ID",
  20530. "type": "integer"
  20531. },
  20532. "status": {
  20533. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20534. "type": "integer"
  20535. },
  20536. "tradedate": {
  20537. "description": "交易日(yyyyMMdd)",
  20538. "type": "string"
  20539. },
  20540. "updatetime": {
  20541. "description": "更新时间",
  20542. "type": "string"
  20543. }
  20544. }
  20545. },
  20546. "models.HsbyBuyMyPayOrder": {
  20547. "type": "object",
  20548. "required": [
  20549. "goodscode",
  20550. "goodsname",
  20551. "tradeid",
  20552. "trademode"
  20553. ],
  20554. "properties": {
  20555. "agreeunit": {
  20556. "description": "合约单位",
  20557. "type": "number"
  20558. },
  20559. "buyaccountid": {
  20560. "description": "买方账号ID[报价币种]",
  20561. "type": "integer"
  20562. },
  20563. "buyorderid": {
  20564. "description": "买方委托单号",
  20565. "type": "string"
  20566. },
  20567. "createtime": {
  20568. "description": "创建时间",
  20569. "type": "string"
  20570. },
  20571. "currencysign": {
  20572. "description": "货币符号",
  20573. "type": "string"
  20574. },
  20575. "decimalplace": {
  20576. "description": "报价小数位",
  20577. "type": "integer"
  20578. },
  20579. "goodscode": {
  20580. "description": "商品代码(内部)",
  20581. "type": "string"
  20582. },
  20583. "goodsid": {
  20584. "description": "商品ID",
  20585. "type": "integer"
  20586. },
  20587. "goodsname": {
  20588. "description": "商品名称",
  20589. "type": "string"
  20590. },
  20591. "marketid": {
  20592. "description": "市场ID",
  20593. "type": "integer"
  20594. },
  20595. "offamount": {
  20596. "description": "优惠金额",
  20597. "type": "number"
  20598. },
  20599. "originalamount": {
  20600. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20601. "type": "number"
  20602. },
  20603. "payamount": {
  20604. "description": "支付金额 = TradeAmount + TradeCharge",
  20605. "type": "number"
  20606. },
  20607. "payflag": {
  20608. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20609. "type": "integer"
  20610. },
  20611. "paylimitedtime": {
  20612. "description": "支付期限",
  20613. "type": "string"
  20614. },
  20615. "paytime": {
  20616. "description": "付款时间",
  20617. "type": "string"
  20618. },
  20619. "picurls1": {
  20620. "description": "预售商品介绍图片[多张用逗号分隔]",
  20621. "type": "string"
  20622. },
  20623. "picurls2": {
  20624. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20625. "type": "string"
  20626. },
  20627. "sellaccountid": {
  20628. "description": "卖方账号ID[报价币种]",
  20629. "type": "integer"
  20630. },
  20631. "sellorderid": {
  20632. "description": "卖方委托单号",
  20633. "type": "string"
  20634. },
  20635. "tradeamount": {
  20636. "description": "成交金额",
  20637. "type": "number"
  20638. },
  20639. "tradecharge": {
  20640. "description": "成交手续费(买方)",
  20641. "type": "number"
  20642. },
  20643. "tradedate": {
  20644. "description": "交易日(yyyyMMdd)",
  20645. "type": "string"
  20646. },
  20647. "tradeid": {
  20648. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20649. "type": "string"
  20650. },
  20651. "trademode": {
  20652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20653. "type": "integer"
  20654. },
  20655. "tradeprice": {
  20656. "description": "成交价格",
  20657. "type": "number"
  20658. },
  20659. "tradeqty": {
  20660. "description": "成交数量",
  20661. "type": "integer"
  20662. },
  20663. "vendorname1": {
  20664. "description": "预售商品供应商名称",
  20665. "type": "string"
  20666. },
  20667. "vendorname2": {
  20668. "description": "挂牌商品供应商名称",
  20669. "type": "string"
  20670. }
  20671. }
  20672. },
  20673. "models.HsbyBuyMyTradeDetail": {
  20674. "type": "object",
  20675. "required": [
  20676. "accountid",
  20677. "buyorsell",
  20678. "goodscode",
  20679. "goodsid",
  20680. "goodsname",
  20681. "marketid",
  20682. "orderid",
  20683. "qty",
  20684. "time",
  20685. "trademode"
  20686. ],
  20687. "properties": {
  20688. "accountid": {
  20689. "description": "账户ID[报价币种]",
  20690. "type": "integer"
  20691. },
  20692. "agreeunit": {
  20693. "description": "合约单位",
  20694. "type": "number"
  20695. },
  20696. "amount": {
  20697. "description": "金额 = 价格 * 数量 * 合约单位",
  20698. "type": "number"
  20699. },
  20700. "buyorsell": {
  20701. "description": "买卖 - 0:买 1:卖",
  20702. "type": "integer"
  20703. },
  20704. "currencysign": {
  20705. "description": "货币符号",
  20706. "type": "string"
  20707. },
  20708. "decimalplace": {
  20709. "description": "报价小数位",
  20710. "type": "integer"
  20711. },
  20712. "goodscode": {
  20713. "description": "商品代码(内部)",
  20714. "type": "string"
  20715. },
  20716. "goodsid": {
  20717. "description": "商品ID",
  20718. "type": "integer"
  20719. },
  20720. "goodsname": {
  20721. "description": "商品名称",
  20722. "type": "string"
  20723. },
  20724. "marketid": {
  20725. "description": "市场ID",
  20726. "type": "integer"
  20727. },
  20728. "orderamount": {
  20729. "description": "委托金额",
  20730. "type": "number"
  20731. },
  20732. "orderid": {
  20733. "description": "单号(成交单号)",
  20734. "type": "string"
  20735. },
  20736. "picurls1": {
  20737. "description": "预售商品介绍图片[多张用逗号分隔]",
  20738. "type": "string"
  20739. },
  20740. "picurls2": {
  20741. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20742. "type": "string"
  20743. },
  20744. "price": {
  20745. "description": "价格",
  20746. "type": "number"
  20747. },
  20748. "qty": {
  20749. "description": "数量",
  20750. "type": "integer"
  20751. },
  20752. "time": {
  20753. "description": "时间",
  20754. "type": "string"
  20755. },
  20756. "trademode": {
  20757. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20758. "type": "integer"
  20759. },
  20760. "vendorname1": {
  20761. "description": "预售商品供应商名称",
  20762. "type": "string"
  20763. },
  20764. "vendorname2": {
  20765. "description": "挂牌商品供应商名称",
  20766. "type": "string"
  20767. }
  20768. }
  20769. },
  20770. "models.HsbyGoodsOrderDetail": {
  20771. "type": "object",
  20772. "required": [
  20773. "buyorsell",
  20774. "orderid",
  20775. "ordertime"
  20776. ],
  20777. "properties": {
  20778. "buyorsell": {
  20779. "description": "买卖 - 0:买 1:卖",
  20780. "type": "integer"
  20781. },
  20782. "currencysign": {
  20783. "description": "货币符号",
  20784. "type": "string"
  20785. },
  20786. "customername": {
  20787. "description": "客户名称(企业名称),已脱敏",
  20788. "type": "string"
  20789. },
  20790. "enableqty": {
  20791. "description": "可用数量",
  20792. "type": "integer"
  20793. },
  20794. "goodunit": {
  20795. "description": "报价单位",
  20796. "type": "string"
  20797. },
  20798. "orderid": {
  20799. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20800. "type": "string"
  20801. },
  20802. "orderprice": {
  20803. "description": "委托价格",
  20804. "type": "number"
  20805. },
  20806. "ordertime": {
  20807. "description": "委托时间",
  20808. "type": "string"
  20809. }
  20810. }
  20811. },
  20812. "models.HsbyListingGoodsDetail": {
  20813. "type": "object",
  20814. "required": [
  20815. "goodscode",
  20816. "goodsid",
  20817. "goodsname",
  20818. "marketid",
  20819. "trademode"
  20820. ],
  20821. "properties": {
  20822. "agreeunit": {
  20823. "description": "合约单位",
  20824. "type": "number"
  20825. },
  20826. "buymaxqty": {
  20827. "description": "购买上限 [71] - 0为不限",
  20828. "type": "integer"
  20829. },
  20830. "currency": {
  20831. "description": "货币",
  20832. "type": "string"
  20833. },
  20834. "currencysign": {
  20835. "description": "货币符号",
  20836. "type": "string"
  20837. },
  20838. "decimalplace": {
  20839. "description": "报价小数位",
  20840. "type": "integer"
  20841. },
  20842. "desccityid": {
  20843. "description": "目的地(市)ID",
  20844. "type": "integer"
  20845. },
  20846. "descprovinceid": {
  20847. "description": "目的地(省)ID",
  20848. "type": "integer"
  20849. },
  20850. "goodscode": {
  20851. "description": "商品代码(内部)",
  20852. "type": "string"
  20853. },
  20854. "goodsdesc": {
  20855. "description": "商品详情",
  20856. "type": "string"
  20857. },
  20858. "goodsid": {
  20859. "description": "商品ID(自增ID SEQ_GOODS)",
  20860. "type": "integer"
  20861. },
  20862. "goodsname": {
  20863. "description": "商品名称",
  20864. "type": "string"
  20865. },
  20866. "goodsprice": {
  20867. "description": "商品价格",
  20868. "type": "number"
  20869. },
  20870. "hotindex": {
  20871. "description": "景点热度",
  20872. "type": "integer"
  20873. },
  20874. "last": {
  20875. "description": "现价",
  20876. "type": "number"
  20877. },
  20878. "limitdown": {
  20879. "description": "跌停价",
  20880. "type": "number"
  20881. },
  20882. "limitup": {
  20883. "description": "涨停价",
  20884. "type": "number"
  20885. },
  20886. "lotsize": {
  20887. "description": "手数最小变动单位",
  20888. "type": "integer"
  20889. },
  20890. "marketid": {
  20891. "description": "所属市场ID",
  20892. "type": "integer"
  20893. },
  20894. "picurls": {
  20895. "description": "介绍图片[多张用逗号分隔]",
  20896. "type": "string"
  20897. },
  20898. "quoteminunit": {
  20899. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20900. "type": "integer"
  20901. },
  20902. "stepvalue": {
  20903. "description": "价格最小变动单位",
  20904. "type": "number"
  20905. },
  20906. "trademode": {
  20907. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20908. "type": "integer"
  20909. },
  20910. "vendorattr": {
  20911. "description": "供应商附件(多张,逗号分隔)",
  20912. "type": "string"
  20913. },
  20914. "vendorname": {
  20915. "description": "供应商名称",
  20916. "type": "string"
  20917. },
  20918. "vendorphone": {
  20919. "description": "供应商客服电话",
  20920. "type": "string"
  20921. },
  20922. "videourls": {
  20923. "description": "介绍视频[多张用逗号分隔]",
  20924. "type": "string"
  20925. }
  20926. }
  20927. },
  20928. "models.HsbyMarketGoods": {
  20929. "type": "object",
  20930. "required": [
  20931. "accountid",
  20932. "buyorsell",
  20933. "goodscode",
  20934. "goodsid",
  20935. "goodsname",
  20936. "marketid",
  20937. "orderid",
  20938. "trademode"
  20939. ],
  20940. "properties": {
  20941. "accountid": {
  20942. "description": "账户ID[报价币种]",
  20943. "type": "integer"
  20944. },
  20945. "agreeunit": {
  20946. "description": "合约单位",
  20947. "type": "number"
  20948. },
  20949. "buyorsell": {
  20950. "description": "买卖 - 0:买 1:卖",
  20951. "type": "integer"
  20952. },
  20953. "categoryid": {
  20954. "description": "类别ID(WRCATEGORY)",
  20955. "type": "integer"
  20956. },
  20957. "currency": {
  20958. "description": "货币",
  20959. "type": "string"
  20960. },
  20961. "currencysign": {
  20962. "description": "货币符号",
  20963. "type": "string"
  20964. },
  20965. "customername": {
  20966. "description": "卖家名称",
  20967. "type": "string"
  20968. },
  20969. "decimalplace": {
  20970. "description": "报价小数位",
  20971. "type": "integer"
  20972. },
  20973. "goodscode": {
  20974. "description": "商品代码(内部)",
  20975. "type": "string"
  20976. },
  20977. "goodsid": {
  20978. "description": "商品ID",
  20979. "type": "integer"
  20980. },
  20981. "goodsname": {
  20982. "description": "商品名称",
  20983. "type": "string"
  20984. },
  20985. "goodsprice": {
  20986. "description": "商品价格",
  20987. "type": "number"
  20988. },
  20989. "hascoupon": {
  20990. "description": "是否可用优惠卷",
  20991. "type": "boolean"
  20992. },
  20993. "hotindex": {
  20994. "description": "景点热度",
  20995. "type": "integer"
  20996. },
  20997. "marketid": {
  20998. "description": "市场ID",
  20999. "type": "integer"
  21000. },
  21001. "orderid": {
  21002. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21003. "type": "string"
  21004. },
  21005. "orderprice": {
  21006. "description": "委托价格",
  21007. "type": "number"
  21008. },
  21009. "orderstatus": {
  21010. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21011. "type": "integer"
  21012. },
  21013. "picurls": {
  21014. "description": "介绍图片[多张用逗号分隔]",
  21015. "type": "string"
  21016. },
  21017. "quoteminunit": {
  21018. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21019. "type": "integer"
  21020. },
  21021. "sellUserID": {
  21022. "description": "卖方UserID",
  21023. "type": "integer"
  21024. },
  21025. "trademode": {
  21026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21027. "type": "integer"
  21028. },
  21029. "videourls": {
  21030. "description": "介绍视频[多张用逗号分隔]",
  21031. "type": "string"
  21032. }
  21033. }
  21034. },
  21035. "models.HsbyMarketGoodsDetail": {
  21036. "type": "object",
  21037. "required": [
  21038. "accountid",
  21039. "buyorsell",
  21040. "goodscode",
  21041. "goodsid",
  21042. "goodsname",
  21043. "marketid",
  21044. "orderid",
  21045. "orderqty",
  21046. "trademode"
  21047. ],
  21048. "properties": {
  21049. "accountid": {
  21050. "description": "账户ID[报价币种]",
  21051. "type": "integer"
  21052. },
  21053. "agreeunit": {
  21054. "description": "合约单位",
  21055. "type": "number"
  21056. },
  21057. "buymaxqty": {
  21058. "description": "购买上限 [71] - 0为不限",
  21059. "type": "integer"
  21060. },
  21061. "buyorsell": {
  21062. "description": "买卖 - 0:买 1:卖",
  21063. "type": "integer"
  21064. },
  21065. "cancelqty": {
  21066. "description": "撤单数量",
  21067. "type": "integer"
  21068. },
  21069. "categoryid": {
  21070. "description": "类别ID(WRCATEGORY)",
  21071. "type": "integer"
  21072. },
  21073. "currency": {
  21074. "description": "货币",
  21075. "type": "string"
  21076. },
  21077. "currencysign": {
  21078. "description": "货币符号",
  21079. "type": "string"
  21080. },
  21081. "customername": {
  21082. "description": "卖家名称",
  21083. "type": "string"
  21084. },
  21085. "decimalplace": {
  21086. "description": "报价小数位",
  21087. "type": "integer"
  21088. },
  21089. "goodscode": {
  21090. "description": "商品代码(内部)",
  21091. "type": "string"
  21092. },
  21093. "goodsdesc": {
  21094. "description": "商品详情",
  21095. "type": "string"
  21096. },
  21097. "goodsid": {
  21098. "description": "商品ID",
  21099. "type": "integer"
  21100. },
  21101. "goodsname": {
  21102. "description": "商品名称",
  21103. "type": "string"
  21104. },
  21105. "goodsprice": {
  21106. "description": "商品价格",
  21107. "type": "number"
  21108. },
  21109. "hotindex": {
  21110. "description": "景点热度",
  21111. "type": "integer"
  21112. },
  21113. "lotsize": {
  21114. "description": "手数最小变动单位",
  21115. "type": "integer"
  21116. },
  21117. "marketid": {
  21118. "description": "市场ID",
  21119. "type": "integer"
  21120. },
  21121. "orderid": {
  21122. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21123. "type": "string"
  21124. },
  21125. "orderprice": {
  21126. "description": "委托价格",
  21127. "type": "number"
  21128. },
  21129. "orderqty": {
  21130. "description": "委托数量",
  21131. "type": "integer"
  21132. },
  21133. "orderstatus": {
  21134. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21135. "type": "integer"
  21136. },
  21137. "picurls": {
  21138. "description": "介绍图片[多张用逗号分隔]",
  21139. "type": "string"
  21140. },
  21141. "quoteminunit": {
  21142. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21143. "type": "integer"
  21144. },
  21145. "sellUserID": {
  21146. "description": "卖方UserID",
  21147. "type": "integer"
  21148. },
  21149. "trademode": {
  21150. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21151. "type": "integer"
  21152. },
  21153. "tradeqty": {
  21154. "description": "成交数量",
  21155. "type": "integer"
  21156. },
  21157. "vendorattr": {
  21158. "description": "供应商附件(多张,逗号分隔)",
  21159. "type": "string"
  21160. },
  21161. "vendorname": {
  21162. "description": "供应商名称",
  21163. "type": "string"
  21164. },
  21165. "vendorphone": {
  21166. "description": "供应商客服电话",
  21167. "type": "string"
  21168. },
  21169. "videourls": {
  21170. "description": "介绍视频[多张用逗号分隔]",
  21171. "type": "string"
  21172. }
  21173. }
  21174. },
  21175. "models.HsbyMarketInfo": {
  21176. "type": "object",
  21177. "required": [
  21178. "marketid",
  21179. "marketstatus",
  21180. "trademode"
  21181. ],
  21182. "properties": {
  21183. "marketid": {
  21184. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21185. "type": "integer"
  21186. },
  21187. "marketname": {
  21188. "description": "市场名称",
  21189. "type": "string"
  21190. },
  21191. "marketstatus": {
  21192. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21193. "type": "integer"
  21194. },
  21195. "trademode": {
  21196. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21197. "type": "integer"
  21198. }
  21199. }
  21200. },
  21201. "models.HsbyMyGoods": {
  21202. "type": "object",
  21203. "required": [
  21204. "accountid",
  21205. "goodscode",
  21206. "goodsid",
  21207. "goodsname",
  21208. "marketid",
  21209. "trademode"
  21210. ],
  21211. "properties": {
  21212. "accountid": {
  21213. "description": "账号Id",
  21214. "type": "integer"
  21215. },
  21216. "agreeunit": {
  21217. "description": "合约单位",
  21218. "type": "number"
  21219. },
  21220. "buyaverageprice": {
  21221. "description": "持仓均价",
  21222. "type": "number"
  21223. },
  21224. "buycurholderamount": {
  21225. "description": "买当前持仓总金额[商品币种]",
  21226. "type": "number"
  21227. },
  21228. "buycurpositionqty": {
  21229. "description": "买当前持仓总数量",
  21230. "type": "integer"
  21231. },
  21232. "buymaxqty": {
  21233. "description": "购买上限 [71] - 0为不限",
  21234. "type": "integer"
  21235. },
  21236. "currencysign": {
  21237. "description": "货币符号",
  21238. "type": "string"
  21239. },
  21240. "decimalplace": {
  21241. "description": "报价小数位",
  21242. "type": "integer"
  21243. },
  21244. "enableqty": {
  21245. "description": "可用数量",
  21246. "type": "integer"
  21247. },
  21248. "goodscode": {
  21249. "description": "商品代码(内部)",
  21250. "type": "string"
  21251. },
  21252. "goodsid": {
  21253. "description": "商品Id",
  21254. "type": "integer"
  21255. },
  21256. "goodsname": {
  21257. "description": "商品名称",
  21258. "type": "string"
  21259. },
  21260. "goodsprice": {
  21261. "description": "商品价格",
  21262. "type": "number"
  21263. },
  21264. "goodsstatus": {
  21265. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21266. "type": "integer"
  21267. },
  21268. "last": {
  21269. "description": "现价(仅使用于挂牌点选)",
  21270. "type": "number"
  21271. },
  21272. "limitdown": {
  21273. "description": "跌停价(仅使用于挂牌点选)",
  21274. "type": "number"
  21275. },
  21276. "limitup": {
  21277. "description": "涨停价(仅使用于挂牌点选)",
  21278. "type": "number"
  21279. },
  21280. "lotsize": {
  21281. "description": "手数最小变动单位",
  21282. "type": "integer"
  21283. },
  21284. "marketid": {
  21285. "description": "所属市场ID",
  21286. "type": "integer"
  21287. },
  21288. "picurls": {
  21289. "description": "介绍图片[多张用逗号分隔]",
  21290. "type": "string"
  21291. },
  21292. "quoteminunit": {
  21293. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21294. "type": "integer"
  21295. },
  21296. "stepvalue": {
  21297. "description": "价格最小变动单位",
  21298. "type": "number"
  21299. },
  21300. "trademode": {
  21301. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21302. "type": "integer"
  21303. }
  21304. }
  21305. },
  21306. "models.HsbyMyPackage": {
  21307. "type": "object",
  21308. "required": [
  21309. "goodscode",
  21310. "goodsname",
  21311. "takeorderid",
  21312. "trademode"
  21313. ],
  21314. "properties": {
  21315. "accountid": {
  21316. "description": "账户ID",
  21317. "type": "integer"
  21318. },
  21319. "address": {
  21320. "description": "提货人详细地址",
  21321. "type": "string"
  21322. },
  21323. "agreeunit": {
  21324. "description": "合约单位",
  21325. "type": "number"
  21326. },
  21327. "amount": {
  21328. "description": "提货金额",
  21329. "type": "number"
  21330. },
  21331. "auditer": {
  21332. "description": "审核人",
  21333. "type": "integer"
  21334. },
  21335. "audittime": {
  21336. "description": "审核时间",
  21337. "type": "string"
  21338. },
  21339. "averageprice": {
  21340. "description": "均价",
  21341. "type": "number"
  21342. },
  21343. "cardnum": {
  21344. "description": "提货人证件号码",
  21345. "type": "string"
  21346. },
  21347. "cardtypeid": {
  21348. "description": "提货人证件类型",
  21349. "type": "integer"
  21350. },
  21351. "checkremark": {
  21352. "description": "审核备注",
  21353. "type": "string"
  21354. },
  21355. "currencysign": {
  21356. "description": "货币符号",
  21357. "type": "string"
  21358. },
  21359. "decimalplace": {
  21360. "description": "报价小数位",
  21361. "type": "integer"
  21362. },
  21363. "goodscode": {
  21364. "description": "商品代码(内部)",
  21365. "type": "string"
  21366. },
  21367. "goodsid": {
  21368. "description": "商品ID",
  21369. "type": "integer"
  21370. },
  21371. "goodsname": {
  21372. "description": "商品名称",
  21373. "type": "string"
  21374. },
  21375. "handlestatus": {
  21376. "description": "处理状态",
  21377. "type": "integer"
  21378. },
  21379. "marketid": {
  21380. "description": "市场ID",
  21381. "type": "integer"
  21382. },
  21383. "phonenum": {
  21384. "description": "提货人联系方式",
  21385. "type": "string"
  21386. },
  21387. "picurls": {
  21388. "description": "介绍图片[多张用逗号分隔]",
  21389. "type": "string"
  21390. },
  21391. "qty": {
  21392. "description": "提货数量",
  21393. "type": "number"
  21394. },
  21395. "recivername": {
  21396. "description": "提货人姓名",
  21397. "type": "string"
  21398. },
  21399. "reqtime": {
  21400. "description": "更新时间",
  21401. "type": "string"
  21402. },
  21403. "takemode": {
  21404. "description": "提货方式 - 2:自提 3:配送",
  21405. "type": "integer"
  21406. },
  21407. "takeorderid": {
  21408. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21409. "type": "string"
  21410. },
  21411. "takeorderstatus": {
  21412. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21413. "type": "integer"
  21414. },
  21415. "takeremark": {
  21416. "description": "提货备注",
  21417. "type": "string"
  21418. },
  21419. "tradedate": {
  21420. "description": "交易日(yyyyMMdd)",
  21421. "type": "string"
  21422. },
  21423. "trademode": {
  21424. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21425. "type": "integer"
  21426. },
  21427. "userid": {
  21428. "description": "用户ID",
  21429. "type": "integer"
  21430. },
  21431. "vendorname": {
  21432. "description": "供应商名称",
  21433. "type": "string"
  21434. }
  21435. }
  21436. },
  21437. "models.HsbyPreGoods": {
  21438. "type": "object",
  21439. "required": [
  21440. "goodscode",
  21441. "goodsid",
  21442. "goodsname",
  21443. "marketid",
  21444. "trademode"
  21445. ],
  21446. "properties": {
  21447. "agreeunit": {
  21448. "description": "合约单位",
  21449. "type": "number"
  21450. },
  21451. "currency": {
  21452. "description": "货币",
  21453. "type": "string"
  21454. },
  21455. "currencysign": {
  21456. "description": "货币符号",
  21457. "type": "string"
  21458. },
  21459. "decimalplace": {
  21460. "description": "报价小数位",
  21461. "type": "integer"
  21462. },
  21463. "desccityid": {
  21464. "description": "目的地(市)",
  21465. "type": "integer"
  21466. },
  21467. "descprovinceid": {
  21468. "description": "目的地(省)",
  21469. "type": "integer"
  21470. },
  21471. "enableqty": {
  21472. "description": "剩余数量",
  21473. "type": "integer"
  21474. },
  21475. "goodscode": {
  21476. "description": "商品代码(内部)",
  21477. "type": "string"
  21478. },
  21479. "goodsid": {
  21480. "description": "商品ID(自增ID SEQ_GOODS)",
  21481. "type": "integer"
  21482. },
  21483. "goodsname": {
  21484. "description": "商品名称",
  21485. "type": "string"
  21486. },
  21487. "goodsstatus": {
  21488. "description": "商品状态- 2:未上市 3:上市",
  21489. "type": "integer"
  21490. },
  21491. "lasttradedate": {
  21492. "description": "最后交易日期(状态:待退市)",
  21493. "type": "string"
  21494. },
  21495. "listingdate": {
  21496. "description": "交易开始日期",
  21497. "type": "string"
  21498. },
  21499. "marketid": {
  21500. "description": "所属市场ID",
  21501. "type": "integer"
  21502. },
  21503. "picurls": {
  21504. "description": "介绍图片[多张用逗号分隔]",
  21505. "type": "string"
  21506. },
  21507. "presaledqty": {
  21508. "description": "已预售量(预售结束时更新)",
  21509. "type": "integer"
  21510. },
  21511. "presaleqty": {
  21512. "description": "预售数量",
  21513. "type": "integer"
  21514. },
  21515. "quoteminunit": {
  21516. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21517. "type": "integer"
  21518. },
  21519. "refprice": {
  21520. "description": "参考价格[一口价]",
  21521. "type": "number"
  21522. },
  21523. "relatedgoodsid": {
  21524. "description": "关联交易合约ID",
  21525. "type": "integer"
  21526. },
  21527. "trademode": {
  21528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21529. "type": "integer"
  21530. },
  21531. "videourls": {
  21532. "description": "介绍视频[多张用逗号分隔]",
  21533. "type": "string"
  21534. }
  21535. }
  21536. },
  21537. "models.HsbyPreGoodsDetail": {
  21538. "type": "object",
  21539. "required": [
  21540. "goodscode",
  21541. "goodsid",
  21542. "goodsname",
  21543. "marketid",
  21544. "trademode"
  21545. ],
  21546. "properties": {
  21547. "agreeunit": {
  21548. "description": "合约单位",
  21549. "type": "number"
  21550. },
  21551. "buymaxqty": {
  21552. "description": "购买上限 [71] - 0为不限",
  21553. "type": "integer"
  21554. },
  21555. "currency": {
  21556. "description": "货币",
  21557. "type": "string"
  21558. },
  21559. "currencysign": {
  21560. "description": "货币符号",
  21561. "type": "string"
  21562. },
  21563. "customername": {
  21564. "description": "发行单位",
  21565. "type": "string"
  21566. },
  21567. "decimalplace": {
  21568. "description": "报价小数位",
  21569. "type": "integer"
  21570. },
  21571. "desccityid": {
  21572. "description": "目的地(市)ID",
  21573. "type": "integer"
  21574. },
  21575. "descprovinceid": {
  21576. "description": "目的地(省)ID",
  21577. "type": "integer"
  21578. },
  21579. "enableqty": {
  21580. "description": "剩余数量",
  21581. "type": "integer"
  21582. },
  21583. "goodscode": {
  21584. "description": "商品代码(内部)",
  21585. "type": "string"
  21586. },
  21587. "goodsdesc": {
  21588. "description": "商品详情",
  21589. "type": "string"
  21590. },
  21591. "goodsid": {
  21592. "description": "商品ID(自增ID SEQ_GOODS)",
  21593. "type": "integer"
  21594. },
  21595. "goodsname": {
  21596. "description": "商品名称",
  21597. "type": "string"
  21598. },
  21599. "goodsstatus": {
  21600. "description": "商品状态- 2:未上市 3:上市",
  21601. "type": "integer"
  21602. },
  21603. "goodunit": {
  21604. "description": "报价单位",
  21605. "type": "string"
  21606. },
  21607. "lasttradedate": {
  21608. "description": "最后交易日期(状态:待退市)",
  21609. "type": "string"
  21610. },
  21611. "listingdate": {
  21612. "description": "交易开始日期",
  21613. "type": "string"
  21614. },
  21615. "lotsize": {
  21616. "description": "手数最小变动单位",
  21617. "type": "integer"
  21618. },
  21619. "marketid": {
  21620. "description": "所属市场ID",
  21621. "type": "integer"
  21622. },
  21623. "picurls": {
  21624. "description": "介绍图片[多张用逗号分隔]",
  21625. "type": "string"
  21626. },
  21627. "presaledqty": {
  21628. "description": "已预售量(预售结束时更新)",
  21629. "type": "integer"
  21630. },
  21631. "presaleqty": {
  21632. "description": "预售数量",
  21633. "type": "integer"
  21634. },
  21635. "quoteminunit": {
  21636. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21637. "type": "integer"
  21638. },
  21639. "refprice": {
  21640. "description": "参考价格[一口价]",
  21641. "type": "number"
  21642. },
  21643. "relatedgoodsid": {
  21644. "description": "关联交易合约ID",
  21645. "type": "integer"
  21646. },
  21647. "stepvalue": {
  21648. "description": "价格最小变动单位",
  21649. "type": "number"
  21650. },
  21651. "trademode": {
  21652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21653. "type": "integer"
  21654. },
  21655. "vendorattr": {
  21656. "description": "供应商附件(多张,逗号分隔)",
  21657. "type": "string"
  21658. },
  21659. "vendorname": {
  21660. "description": "供应商名称",
  21661. "type": "string"
  21662. },
  21663. "vendorphone": {
  21664. "description": "供应商客服电话",
  21665. "type": "string"
  21666. },
  21667. "videourls": {
  21668. "description": "介绍视频[多张用逗号分隔]",
  21669. "type": "string"
  21670. }
  21671. }
  21672. },
  21673. "models.HsbySellCollectionOrder": {
  21674. "type": "object",
  21675. "required": [
  21676. "goodscode",
  21677. "goodsname",
  21678. "tradeid",
  21679. "trademode"
  21680. ],
  21681. "properties": {
  21682. "agreeunit": {
  21683. "description": "合约单位",
  21684. "type": "number"
  21685. },
  21686. "buyaccountid": {
  21687. "description": "买方账号ID[报价币种]",
  21688. "type": "integer"
  21689. },
  21690. "buyorderid": {
  21691. "description": "买方委托单号",
  21692. "type": "string"
  21693. },
  21694. "createtime": {
  21695. "description": "创建时间",
  21696. "type": "string"
  21697. },
  21698. "currencysign": {
  21699. "description": "货币符号",
  21700. "type": "string"
  21701. },
  21702. "decimalplace": {
  21703. "description": "报价小数位",
  21704. "type": "integer"
  21705. },
  21706. "goodscode": {
  21707. "description": "商品代码(内部)",
  21708. "type": "string"
  21709. },
  21710. "goodsid": {
  21711. "description": "商品ID",
  21712. "type": "integer"
  21713. },
  21714. "goodsname": {
  21715. "description": "商品名称",
  21716. "type": "string"
  21717. },
  21718. "marketid": {
  21719. "description": "市场ID",
  21720. "type": "integer"
  21721. },
  21722. "offamount": {
  21723. "description": "优惠金额",
  21724. "type": "number"
  21725. },
  21726. "payamount": {
  21727. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21728. "type": "number"
  21729. },
  21730. "payflag": {
  21731. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21732. "type": "integer"
  21733. },
  21734. "paylimitedtime": {
  21735. "description": "支付期限",
  21736. "type": "string"
  21737. },
  21738. "paytime": {
  21739. "description": "付款时间",
  21740. "type": "string"
  21741. },
  21742. "picurls": {
  21743. "description": "商品介绍图片[多张用逗号分隔]",
  21744. "type": "string"
  21745. },
  21746. "sellaccountid": {
  21747. "description": "卖方账号ID[报价币种]",
  21748. "type": "integer"
  21749. },
  21750. "sellorderid": {
  21751. "description": "卖方委托单号",
  21752. "type": "string"
  21753. },
  21754. "tradeamount": {
  21755. "description": "成交金额",
  21756. "type": "number"
  21757. },
  21758. "tradecharge": {
  21759. "description": "成交手续费(买方)",
  21760. "type": "number"
  21761. },
  21762. "tradedate": {
  21763. "description": "交易日(yyyyMMdd)",
  21764. "type": "string"
  21765. },
  21766. "tradeid": {
  21767. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21768. "type": "string"
  21769. },
  21770. "trademode": {
  21771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21772. "type": "integer"
  21773. },
  21774. "tradeprice": {
  21775. "description": "成交价格",
  21776. "type": "number"
  21777. },
  21778. "tradeqty": {
  21779. "description": "成交数量",
  21780. "type": "integer"
  21781. }
  21782. }
  21783. },
  21784. "models.HsbySellMyDetail": {
  21785. "type": "object",
  21786. "required": [
  21787. "accountid",
  21788. "buyorsell",
  21789. "goodscode",
  21790. "goodsid",
  21791. "goodsname",
  21792. "marketid",
  21793. "orderid",
  21794. "time",
  21795. "trademode"
  21796. ],
  21797. "properties": {
  21798. "accountid": {
  21799. "description": "账户ID[报价币种]",
  21800. "type": "integer"
  21801. },
  21802. "agreeunit": {
  21803. "description": "合约单位",
  21804. "type": "number"
  21805. },
  21806. "buyorsell": {
  21807. "description": "买卖 - 0:买 1:卖",
  21808. "type": "integer"
  21809. },
  21810. "currencysign": {
  21811. "description": "货币符号",
  21812. "type": "string"
  21813. },
  21814. "decimalplace": {
  21815. "description": "报价小数位",
  21816. "type": "integer"
  21817. },
  21818. "goodscode": {
  21819. "description": "商品代码(内部)",
  21820. "type": "string"
  21821. },
  21822. "goodsid": {
  21823. "description": "商品ID",
  21824. "type": "integer"
  21825. },
  21826. "goodsname": {
  21827. "description": "商品名称",
  21828. "type": "string"
  21829. },
  21830. "marketid": {
  21831. "description": "市场ID",
  21832. "type": "integer"
  21833. },
  21834. "orderid": {
  21835. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21836. "type": "string"
  21837. },
  21838. "ordertype": {
  21839. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21840. "type": "integer"
  21841. },
  21842. "picurls": {
  21843. "description": "介绍图片[多张用逗号分隔]",
  21844. "type": "string"
  21845. },
  21846. "price": {
  21847. "description": "价格",
  21848. "type": "number"
  21849. },
  21850. "qty": {
  21851. "description": "数量",
  21852. "type": "integer"
  21853. },
  21854. "time": {
  21855. "description": "时间",
  21856. "type": "string"
  21857. },
  21858. "trademode": {
  21859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21860. "type": "integer"
  21861. },
  21862. "vendorname": {
  21863. "description": "供应商名称",
  21864. "type": "string"
  21865. }
  21866. }
  21867. },
  21868. "models.HsbyTopGoods": {
  21869. "type": "object",
  21870. "required": [
  21871. "goodscode",
  21872. "goodsid",
  21873. "goodsname",
  21874. "marketid",
  21875. "trademode"
  21876. ],
  21877. "properties": {
  21878. "agreeunit": {
  21879. "description": "合约单位",
  21880. "type": "number"
  21881. },
  21882. "currency": {
  21883. "description": "货币",
  21884. "type": "string"
  21885. },
  21886. "currencysign": {
  21887. "description": "货币符号",
  21888. "type": "string"
  21889. },
  21890. "decimalplace": {
  21891. "description": "报价小数位",
  21892. "type": "integer"
  21893. },
  21894. "desccityid": {
  21895. "description": "目的地(市)",
  21896. "type": "integer"
  21897. },
  21898. "descprovinceid": {
  21899. "description": "目的地(省)",
  21900. "type": "integer"
  21901. },
  21902. "goodscode": {
  21903. "description": "商品代码(内部)",
  21904. "type": "string"
  21905. },
  21906. "goodsid": {
  21907. "description": "商品ID(自增ID SEQ_GOODS)",
  21908. "type": "integer"
  21909. },
  21910. "goodsname": {
  21911. "description": "商品名称",
  21912. "type": "string"
  21913. },
  21914. "hotindex": {
  21915. "description": "景点热度",
  21916. "type": "integer"
  21917. },
  21918. "last": {
  21919. "description": "现价",
  21920. "type": "number"
  21921. },
  21922. "marketid": {
  21923. "description": "所属市场ID",
  21924. "type": "integer"
  21925. },
  21926. "picurls": {
  21927. "description": "介绍图片[多张用逗号分隔]",
  21928. "type": "string"
  21929. },
  21930. "quoteminunit": {
  21931. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21932. "type": "integer"
  21933. },
  21934. "trademode": {
  21935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21936. "type": "integer"
  21937. },
  21938. "videourls": {
  21939. "description": "介绍视频[多张用逗号分隔]",
  21940. "type": "string"
  21941. }
  21942. }
  21943. },
  21944. "models.HybsMyBuyOrderDetail": {
  21945. "type": "object",
  21946. "required": [
  21947. "accountid",
  21948. "buyorsell",
  21949. "goodscode",
  21950. "goodsid",
  21951. "goodsname",
  21952. "marketid",
  21953. "orderid",
  21954. "orderqty",
  21955. "ordertime",
  21956. "trademode"
  21957. ],
  21958. "properties": {
  21959. "accountid": {
  21960. "description": "账户ID[报价币种]",
  21961. "type": "integer"
  21962. },
  21963. "agreeunit": {
  21964. "description": "合约单位",
  21965. "type": "number"
  21966. },
  21967. "buyorsell": {
  21968. "description": "买卖 - 0:买 1:卖",
  21969. "type": "integer"
  21970. },
  21971. "cancelqty": {
  21972. "description": "撤单数量",
  21973. "type": "integer"
  21974. },
  21975. "currencysign": {
  21976. "description": "货币符号",
  21977. "type": "string"
  21978. },
  21979. "decimalplace": {
  21980. "description": "报价小数位",
  21981. "type": "integer"
  21982. },
  21983. "goodscode": {
  21984. "description": "商品代码(内部)",
  21985. "type": "string"
  21986. },
  21987. "goodsid": {
  21988. "description": "商品ID",
  21989. "type": "integer"
  21990. },
  21991. "goodsname": {
  21992. "description": "商品名称",
  21993. "type": "string"
  21994. },
  21995. "listingselecttype": {
  21996. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21997. "type": "integer"
  21998. },
  21999. "marketid": {
  22000. "description": "市场ID",
  22001. "type": "integer"
  22002. },
  22003. "mybuystatus": {
  22004. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22005. "type": "integer"
  22006. },
  22007. "orderamount": {
  22008. "description": "委托金额",
  22009. "type": "number"
  22010. },
  22011. "orderid": {
  22012. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22013. "type": "string"
  22014. },
  22015. "orderprice": {
  22016. "description": "委托价格",
  22017. "type": "number"
  22018. },
  22019. "orderqty": {
  22020. "description": "委托数量",
  22021. "type": "integer"
  22022. },
  22023. "orderstatus": {
  22024. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22025. "type": "integer"
  22026. },
  22027. "ordertime": {
  22028. "description": "委托时间",
  22029. "type": "string"
  22030. },
  22031. "picurls1": {
  22032. "description": "预售商品介绍图片[多张用逗号分隔]",
  22033. "type": "string"
  22034. },
  22035. "picurls2": {
  22036. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22037. "type": "string"
  22038. },
  22039. "trademode": {
  22040. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22041. "type": "integer"
  22042. },
  22043. "tradeqty": {
  22044. "description": "成交数量",
  22045. "type": "integer"
  22046. },
  22047. "vendorname1": {
  22048. "description": "预售商品供应商名称",
  22049. "type": "string"
  22050. },
  22051. "vendorname2": {
  22052. "description": "挂牌商品供应商名称",
  22053. "type": "string"
  22054. }
  22055. }
  22056. },
  22057. "models.Loginaccount": {
  22058. "type": "object",
  22059. "required": [
  22060. "loginid"
  22061. ],
  22062. "properties": {
  22063. "canoutin": {
  22064. "description": "是否可出入金 - 0:不可 1:可",
  22065. "type": "integer"
  22066. },
  22067. "clientroleid": {
  22068. "description": "终端角色ID",
  22069. "type": "integer"
  22070. },
  22071. "haslogined": {
  22072. "description": "是否已登录 - 0:未登录 1:已登录",
  22073. "type": "integer"
  22074. },
  22075. "hasupdatedpwd": {
  22076. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22077. "type": "integer"
  22078. },
  22079. "lastloginip": {
  22080. "description": "最新登录地址",
  22081. "type": "string"
  22082. },
  22083. "lastloginmode": {
  22084. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22085. "type": "integer"
  22086. },
  22087. "lastloginremark": {
  22088. "description": "最新登录描述",
  22089. "type": "string"
  22090. },
  22091. "lastlogintime": {
  22092. "description": "最新登录时间",
  22093. "type": "string"
  22094. },
  22095. "logincode": {
  22096. "description": "登录代码",
  22097. "type": "string"
  22098. },
  22099. "loginfailnum": {
  22100. "description": "连续登录失败次数(登录成功时清零)",
  22101. "type": "integer"
  22102. },
  22103. "loginid": {
  22104. "description": "登陆账号",
  22105. "type": "integer"
  22106. },
  22107. "loginport": {
  22108. "description": "最新登录端口",
  22109. "type": "integer"
  22110. },
  22111. "loginstatus": {
  22112. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22113. "type": "integer"
  22114. },
  22115. "loginusertype": {
  22116. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22117. "type": "integer"
  22118. },
  22119. "modifierid": {
  22120. "description": "修改人",
  22121. "type": "integer"
  22122. },
  22123. "modifytime": {
  22124. "description": "修改时间",
  22125. "type": "string"
  22126. },
  22127. "pwdwrongcount": {
  22128. "description": "密码错误次数",
  22129. "type": "integer"
  22130. },
  22131. "taaccountrighttype": {
  22132. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22133. "type": "integer"
  22134. },
  22135. "unfreezetime": {
  22136. "description": "账户解冻时间",
  22137. "type": "string"
  22138. },
  22139. "userid": {
  22140. "description": "用户ID",
  22141. "type": "integer"
  22142. }
  22143. }
  22144. },
  22145. "models.MainAccountInfo": {
  22146. "type": "object",
  22147. "properties": {
  22148. "accountid": {
  22149. "description": "账号id",
  22150. "type": "integer"
  22151. },
  22152. "accountname": {
  22153. "description": "账号名称(taaccount表中的名称)",
  22154. "type": "string"
  22155. },
  22156. "appid": {
  22157. "description": "AppID",
  22158. "type": "string"
  22159. },
  22160. "authcode": {
  22161. "description": "授权码",
  22162. "type": "string"
  22163. },
  22164. "brokerid": {
  22165. "description": "经纪商id",
  22166. "type": "string"
  22167. },
  22168. "fcid": {
  22169. "description": "期货公司id",
  22170. "type": "integer"
  22171. },
  22172. "fcname": {
  22173. "description": "期货公司代码",
  22174. "type": "string"
  22175. },
  22176. "hedgeaccountcode": {
  22177. "description": "外部账号代码(主账号登录代码)",
  22178. "type": "string"
  22179. },
  22180. "hedgeaccountpwd": {
  22181. "description": "密码",
  22182. "type": "string"
  22183. },
  22184. "ismain": {
  22185. "description": "是否主账号",
  22186. "type": "integer"
  22187. },
  22188. "relateduserid": {
  22189. "description": "关联用户id",
  22190. "type": "integer"
  22191. },
  22192. "userid": {
  22193. "description": "关联用户id",
  22194. "type": "integer"
  22195. }
  22196. }
  22197. },
  22198. "models.Market": {
  22199. "type": "object",
  22200. "required": [
  22201. "marketid",
  22202. "marketstatus",
  22203. "openmethod",
  22204. "reckonpricealgorithm",
  22205. "trademode",
  22206. "tradeproperty"
  22207. ],
  22208. "properties": {
  22209. "auctionwrtype": {
  22210. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22211. "type": "integer"
  22212. },
  22213. "canacceptquote": {
  22214. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22215. "type": "integer"
  22216. },
  22217. "cangoodsexercise": {
  22218. "description": "[期权]是否可现货行权- 0:否 1:是",
  22219. "type": "integer"
  22220. },
  22221. "cangoodsexercisetype": {
  22222. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22223. "type": "integer"
  22224. },
  22225. "canmanualquotestrike": {
  22226. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22227. "type": "integer"
  22228. },
  22229. "canmutistage": {
  22230. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22231. "type": "integer"
  22232. },
  22233. "canpreexercise": {
  22234. "description": "[期权]是否可预申报- 0:否 1:是",
  22235. "type": "integer"
  22236. },
  22237. "clearinterval": {
  22238. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22239. "type": "integer"
  22240. },
  22241. "contracttmp": {
  22242. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22243. "type": "string"
  22244. },
  22245. "exchareaid": {
  22246. "description": "所属交易所,可以没有",
  22247. "type": "integer"
  22248. },
  22249. "goodstype": {
  22250. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22251. "type": "integer"
  22252. },
  22253. "hasrebate": {
  22254. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22255. "type": "integer"
  22256. },
  22257. "hastradecredit": {
  22258. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22259. "type": "integer"
  22260. },
  22261. "haswr": {
  22262. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22263. "type": "integer"
  22264. },
  22265. "isdeductmargin": {
  22266. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22267. "type": "integer"
  22268. },
  22269. "isrecordsource": {
  22270. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22271. "type": "integer"
  22272. },
  22273. "isreleasemargin": {
  22274. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22275. "type": "integer"
  22276. },
  22277. "marginformula": {
  22278. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22279. "type": "integer"
  22280. },
  22281. "marginformula2": {
  22282. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22283. "type": "integer"
  22284. },
  22285. "marketid": {
  22286. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22287. "type": "integer"
  22288. },
  22289. "marketname": {
  22290. "description": "市场名称",
  22291. "type": "string"
  22292. },
  22293. "marketserviceid": {
  22294. "description": "市场服务ID",
  22295. "type": "integer"
  22296. },
  22297. "marketstatus": {
  22298. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22299. "type": "integer"
  22300. },
  22301. "markettype": {
  22302. "description": "市场类型- 1:非交易服务 2:交易服务",
  22303. "type": "integer"
  22304. },
  22305. "matchermode": {
  22306. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22307. "type": "integer"
  22308. },
  22309. "openmethod": {
  22310. "description": "开盘模式 - 0 自动 1手动",
  22311. "type": "integer"
  22312. },
  22313. "otcuserid": {
  22314. "description": "场外期权做市商[场外期权]",
  22315. "type": "integer"
  22316. },
  22317. "outersynctime": {
  22318. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22319. "type": "string"
  22320. },
  22321. "pendingflag": {
  22322. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22323. "type": "integer"
  22324. },
  22325. "pendingtime": {
  22326. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22327. "type": "string"
  22328. },
  22329. "performancetempid": {
  22330. "description": "履约计划模板ID - 作废",
  22331. "type": "integer"
  22332. },
  22333. "premiumquotemode": {
  22334. "description": "权利金报价方式 - 1:自动 2:手动",
  22335. "type": "integer"
  22336. },
  22337. "rebateratio": {
  22338. "description": "返利比率[竞价式]",
  22339. "type": "number"
  22340. },
  22341. "reckonorder": {
  22342. "description": "结算顺序",
  22343. "type": "integer"
  22344. },
  22345. "reckonpricealgorithm": {
  22346. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22347. "type": "integer"
  22348. },
  22349. "reckonpriceparam": {
  22350. "description": "结算价参数",
  22351. "type": "integer"
  22352. },
  22353. "reckontime": {
  22354. "description": "结算时间[通道交易-对冲](HH:mm)",
  22355. "type": "string"
  22356. },
  22357. "roleprioritytype": {
  22358. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22359. "type": "integer"
  22360. },
  22361. "selllistingauditflag": {
  22362. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22363. "type": "integer"
  22364. },
  22365. "trademarkettype": {
  22366. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22367. "type": "integer"
  22368. },
  22369. "trademode": {
  22370. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22371. "type": "integer"
  22372. },
  22373. "tradeproperty": {
  22374. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22375. "type": "integer"
  22376. },
  22377. "tradetype": {
  22378. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22379. "type": "integer"
  22380. }
  22381. }
  22382. },
  22383. "models.Marketrun": {
  22384. "type": "object",
  22385. "required": [
  22386. "marketid",
  22387. "nexttradedate",
  22388. "reckonflag",
  22389. "runstatus",
  22390. "tradedate",
  22391. "tradedate2"
  22392. ],
  22393. "properties": {
  22394. "afternexttradedate": {
  22395. "description": "下下交易日",
  22396. "type": "string"
  22397. },
  22398. "clearquoteflag": {
  22399. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22400. "type": "integer"
  22401. },
  22402. "lastreckondate": {
  22403. "description": "最新交易日(结算成功)",
  22404. "type": "string"
  22405. },
  22406. "machinedate": {
  22407. "description": "机器时间",
  22408. "type": "string"
  22409. },
  22410. "manualflag": {
  22411. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22412. "type": "integer"
  22413. },
  22414. "marketid": {
  22415. "description": "市场ID",
  22416. "type": "integer"
  22417. },
  22418. "nexttradedate": {
  22419. "description": "下一交易日",
  22420. "type": "string"
  22421. },
  22422. "pretradedate": {
  22423. "description": "上一交易日",
  22424. "type": "string"
  22425. },
  22426. "reckonflag": {
  22427. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22428. "type": "integer"
  22429. },
  22430. "runstatus": {
  22431. "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.今日免清算",
  22432. "type": "integer"
  22433. },
  22434. "sectionid": {
  22435. "description": "时间段号[多时段时用]",
  22436. "type": "integer"
  22437. },
  22438. "tradedate": {
  22439. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22440. "type": "string"
  22441. },
  22442. "tradedate2": {
  22443. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22444. "type": "string"
  22445. },
  22446. "updatetime": {
  22447. "description": "更新时间",
  22448. "type": "string"
  22449. }
  22450. }
  22451. },
  22452. "models.Messageboard": {
  22453. "type": "object",
  22454. "required": [
  22455. "messageboardid"
  22456. ],
  22457. "properties": {
  22458. "contactnum": {
  22459. "description": "联系电话",
  22460. "type": "string"
  22461. },
  22462. "createtime": {
  22463. "description": "创建时间",
  22464. "type": "string"
  22465. },
  22466. "message": {
  22467. "description": "留言信息",
  22468. "type": "string"
  22469. },
  22470. "messageboardid": {
  22471. "description": "留言簿ID(SEQ_MessageBoard)",
  22472. "type": "integer"
  22473. },
  22474. "userid": {
  22475. "description": "用户ID",
  22476. "type": "integer"
  22477. }
  22478. }
  22479. },
  22480. "models.MyCoupon": {
  22481. "type": "object",
  22482. "required": [
  22483. "accountid",
  22484. "coupontypeid"
  22485. ],
  22486. "properties": {
  22487. "accountid": {
  22488. "description": "资金账户ID",
  22489. "type": "integer"
  22490. },
  22491. "areauserid": {
  22492. "description": "所属机构",
  22493. "type": "integer"
  22494. },
  22495. "conditionvalue": {
  22496. "description": "条件阈值(可为0)",
  22497. "type": "number"
  22498. },
  22499. "couponcategroy": {
  22500. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22501. "type": "integer"
  22502. },
  22503. "couponname": {
  22504. "description": "优惠券名称",
  22505. "type": "string"
  22506. },
  22507. "coupontypeid": {
  22508. "description": "优惠券类型ID",
  22509. "type": "string"
  22510. },
  22511. "couponvalue": {
  22512. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22513. "type": "number"
  22514. },
  22515. "curfreezeqty": {
  22516. "description": "期末冻结数量",
  22517. "type": "integer"
  22518. },
  22519. "curqty": {
  22520. "description": "期末数量",
  22521. "type": "integer"
  22522. },
  22523. "isgeneral": {
  22524. "description": "是否通用券 - 0:否 1:是",
  22525. "type": "integer"
  22526. },
  22527. "isunusable": {
  22528. "description": "是否不可用",
  22529. "type": "boolean"
  22530. },
  22531. "limitedflag": {
  22532. "description": "是否指定商品 - 0:不限 1:限制",
  22533. "type": "integer"
  22534. },
  22535. "limitedgoodsids": {
  22536. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22537. "type": "string"
  22538. },
  22539. "orifreezeqty": {
  22540. "description": "期初冻结数量",
  22541. "type": "integer"
  22542. },
  22543. "oriqty": {
  22544. "description": "期初数量",
  22545. "type": "integer"
  22546. },
  22547. "reasontype": {
  22548. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22549. "type": "integer"
  22550. },
  22551. "todaydecrease": {
  22552. "description": "今日减少",
  22553. "type": "integer"
  22554. },
  22555. "todayincrease": {
  22556. "description": "今日增加",
  22557. "type": "integer"
  22558. },
  22559. "userid": {
  22560. "description": "用户ID",
  22561. "type": "integer"
  22562. },
  22563. "userscope": {
  22564. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22565. "type": "string"
  22566. }
  22567. }
  22568. },
  22569. "models.MyCouponHold": {
  22570. "type": "object",
  22571. "required": [
  22572. "couponholdid"
  22573. ],
  22574. "properties": {
  22575. "accountid": {
  22576. "description": "资金账户ID",
  22577. "type": "integer"
  22578. },
  22579. "conditionvalue": {
  22580. "description": "条件阈值(可为0)",
  22581. "type": "number"
  22582. },
  22583. "couponcategroy": {
  22584. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22585. "type": "integer"
  22586. },
  22587. "couponholdid": {
  22588. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22589. "type": "string"
  22590. },
  22591. "couponname": {
  22592. "description": "优惠券名称",
  22593. "type": "string"
  22594. },
  22595. "coupontypeid": {
  22596. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22597. "type": "string"
  22598. },
  22599. "couponvalue": {
  22600. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22601. "type": "number"
  22602. },
  22603. "createtime": {
  22604. "description": "创建时间",
  22605. "type": "string"
  22606. },
  22607. "enddate": {
  22608. "description": "结束日期",
  22609. "type": "string"
  22610. },
  22611. "giveapplyid": {
  22612. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22613. "type": "integer"
  22614. },
  22615. "holdstatus": {
  22616. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22617. "type": "integer"
  22618. },
  22619. "isgeneral": {
  22620. "description": "是否通用券 - 0:否 1:是",
  22621. "type": "integer"
  22622. },
  22623. "limitedflag": {
  22624. "description": "是否指定商品 - 0:不限 1:限制",
  22625. "type": "integer"
  22626. },
  22627. "limitedgoodsids": {
  22628. "description": "指定商品IDs[逗号分隔]",
  22629. "type": "string"
  22630. },
  22631. "qty": {
  22632. "description": "数量(按1平铺)",
  22633. "type": "integer"
  22634. },
  22635. "startdate": {
  22636. "description": "开始日期",
  22637. "type": "string"
  22638. },
  22639. "userid": {
  22640. "description": "用户ID",
  22641. "type": "integer"
  22642. },
  22643. "userscope": {
  22644. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22645. "type": "string"
  22646. }
  22647. }
  22648. },
  22649. "models.MyUsedCoupon": {
  22650. "type": "object",
  22651. "required": [
  22652. "coupontypeid",
  22653. "orderid"
  22654. ],
  22655. "properties": {
  22656. "accountid": {
  22657. "description": "资金账户ID(买方)",
  22658. "type": "integer"
  22659. },
  22660. "conditionvalue": {
  22661. "description": "条件阈值(可为0)",
  22662. "type": "number"
  22663. },
  22664. "couponcategroy": {
  22665. "description": "种类 - 1:现金券 2:折扣券",
  22666. "type": "integer"
  22667. },
  22668. "couponname": {
  22669. "description": "优惠券名称",
  22670. "type": "string"
  22671. },
  22672. "coupontypeid": {
  22673. "description": "优惠券类型ID(买方)",
  22674. "type": "string"
  22675. },
  22676. "couponvalue": {
  22677. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22678. "type": "number"
  22679. },
  22680. "createtime": {
  22681. "description": "创建时间",
  22682. "type": "string"
  22683. },
  22684. "goodsid": {
  22685. "description": "商品ID",
  22686. "type": "integer"
  22687. },
  22688. "handlestatus": {
  22689. "description": "处理状态",
  22690. "type": "integer"
  22691. },
  22692. "marketid": {
  22693. "description": "市场ID",
  22694. "type": "integer"
  22695. },
  22696. "offamount": {
  22697. "description": "优惠金额",
  22698. "type": "number"
  22699. },
  22700. "orderid": {
  22701. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22702. "type": "string"
  22703. },
  22704. "sellaccountid": {
  22705. "description": "资金账户ID(卖方)",
  22706. "type": "integer"
  22707. },
  22708. "tradeamount": {
  22709. "description": "成交金额",
  22710. "type": "number"
  22711. },
  22712. "tradeid": {
  22713. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22714. "type": "string"
  22715. },
  22716. "usedqty": {
  22717. "description": "使用数量",
  22718. "type": "integer"
  22719. }
  22720. }
  22721. },
  22722. "models.OperationPrimaryMenu": {
  22723. "type": "object",
  22724. "properties": {
  22725. "Children": {
  22726. "description": "二级功能菜单",
  22727. "type": "array",
  22728. "items": {
  22729. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22730. }
  22731. },
  22732. "Key": {
  22733. "description": "菜单KEY",
  22734. "type": "string"
  22735. },
  22736. "Label": {
  22737. "description": "菜单标题",
  22738. "type": "string"
  22739. }
  22740. }
  22741. },
  22742. "models.OperationSecondaryMenu": {
  22743. "type": "object",
  22744. "properties": {
  22745. "Key": {
  22746. "description": "菜单KEY",
  22747. "type": "string"
  22748. },
  22749. "Label": {
  22750. "description": "菜单标题",
  22751. "type": "string"
  22752. },
  22753. "TabList": {
  22754. "description": "三级功能菜单",
  22755. "type": "array",
  22756. "items": {
  22757. "$ref": "#/definitions/models.OperationTabMenu"
  22758. }
  22759. }
  22760. }
  22761. },
  22762. "models.OperationTabMenu": {
  22763. "type": "object",
  22764. "properties": {
  22765. "Key": {
  22766. "description": "菜单KEY",
  22767. "type": "string"
  22768. },
  22769. "Label": {
  22770. "description": "菜单标题",
  22771. "type": "string"
  22772. }
  22773. }
  22774. },
  22775. "models.PendingAuditBizModel": {
  22776. "type": "object",
  22777. "properties": {
  22778. "accountid": {
  22779. "description": "现货账户",
  22780. "type": "string"
  22781. },
  22782. "areaname": {
  22783. "description": "所属部门",
  22784. "type": "string"
  22785. },
  22786. "bizid": {
  22787. "description": "业务ID",
  22788. "type": "string"
  22789. },
  22790. "bizname": {
  22791. "description": "业务名称",
  22792. "type": "string"
  22793. },
  22794. "status": {
  22795. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22796. "type": "integer"
  22797. },
  22798. "type": {
  22799. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22800. "type": "integer"
  22801. }
  22802. }
  22803. },
  22804. "models.QhjAccountOutInApply": {
  22805. "type": "object",
  22806. "properties": {
  22807. "accountcode": {
  22808. "description": "资金账号",
  22809. "type": "string"
  22810. },
  22811. "accountname": {
  22812. "description": "用户名称(名称)",
  22813. "type": "string"
  22814. },
  22815. "accountpwd": {
  22816. "description": "资金密码",
  22817. "type": "string"
  22818. },
  22819. "accountticket": {
  22820. "description": "最新账户服务流水号",
  22821. "type": "string"
  22822. },
  22823. "amount": {
  22824. "description": "金额",
  22825. "type": "number"
  22826. },
  22827. "applyremark": {
  22828. "description": "申请备注",
  22829. "type": "string"
  22830. },
  22831. "applystatus": {
  22832. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  22833. "type": "integer"
  22834. },
  22835. "auditid": {
  22836. "description": "审核人",
  22837. "type": "integer"
  22838. },
  22839. "audittime": {
  22840. "description": "审核时间",
  22841. "type": "string"
  22842. },
  22843. "bank_apply_ticket": {
  22844. "description": "银行申请流水",
  22845. "type": "string"
  22846. },
  22847. "bankaccountname": {
  22848. "description": "银行账户名",
  22849. "type": "string"
  22850. },
  22851. "bankaccountno": {
  22852. "description": "银行卡号",
  22853. "type": "string"
  22854. },
  22855. "bankid": {
  22856. "description": "银行编号",
  22857. "type": "string"
  22858. },
  22859. "bankticket": {
  22860. "description": "银行流水",
  22861. "type": "string"
  22862. },
  22863. "branchbankid": {
  22864. "description": "银行支行号",
  22865. "type": "string"
  22866. },
  22867. "branchbankname": {
  22868. "description": "银行支行名称",
  22869. "type": "string"
  22870. },
  22871. "capamountout": {
  22872. "description": "出金(劣后本金) - 外部子账户",
  22873. "type": "number"
  22874. },
  22875. "certificatephotourl": {
  22876. "description": "凭证地址",
  22877. "type": "string"
  22878. },
  22879. "charge": {
  22880. "description": "手续费",
  22881. "type": "number"
  22882. },
  22883. "checkerrorflag": {
  22884. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22885. "type": "integer"
  22886. },
  22887. "currency": {
  22888. "description": "币种",
  22889. "type": "string"
  22890. },
  22891. "cusbankid": {
  22892. "description": "托管银行编号",
  22893. "type": "string"
  22894. },
  22895. "exchticket": {
  22896. "description": "银行服务流水号",
  22897. "type": "string"
  22898. },
  22899. "executetype": {
  22900. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22901. "type": "integer"
  22902. },
  22903. "extendinfo": {
  22904. "description": "扩展信息",
  22905. "type": "string"
  22906. },
  22907. "extoperateid": {
  22908. "description": "交易服务流水号",
  22909. "type": "integer"
  22910. },
  22911. "infamount": {
  22912. "description": "劣后金额(自有)",
  22913. "type": "number"
  22914. },
  22915. "logincode": {
  22916. "description": "登录账号(账号)",
  22917. "type": "string"
  22918. },
  22919. "netaddr": {
  22920. "description": "调转网址",
  22921. "type": "string"
  22922. },
  22923. "priamount": {
  22924. "description": "优先金额(授信)",
  22925. "type": "number"
  22926. },
  22927. "reauditid": {
  22928. "description": "复审人",
  22929. "type": "integer"
  22930. },
  22931. "reauditremark": {
  22932. "description": "复审备注",
  22933. "type": "string"
  22934. },
  22935. "reaudittime": {
  22936. "description": "复审时间",
  22937. "type": "string"
  22938. },
  22939. "relatedorderid": {
  22940. "description": "三方关联ID",
  22941. "type": "string"
  22942. },
  22943. "remark": {
  22944. "description": "备注",
  22945. "type": "string"
  22946. },
  22947. "remark2": {
  22948. "description": "备注(失败原因)",
  22949. "type": "string"
  22950. },
  22951. "soucreamount": {
  22952. "description": "原始出入金金额",
  22953. "type": "number"
  22954. },
  22955. "soucrecurrencyid": {
  22956. "description": "原始出入金币种",
  22957. "type": "integer"
  22958. },
  22959. "tradedate": {
  22960. "description": "交易日(yyyyMMdd)",
  22961. "type": "string"
  22962. },
  22963. "updatetime": {
  22964. "description": "更新时间(申请时间)",
  22965. "type": "string"
  22966. },
  22967. "userid": {
  22968. "description": "用户id",
  22969. "type": "integer"
  22970. },
  22971. "userinfotype": {
  22972. "description": "账户类型 1-个人 2-企业",
  22973. "type": "integer"
  22974. }
  22975. }
  22976. },
  22977. "models.QhjAgreementChangeLog": {
  22978. "type": "object",
  22979. "properties": {
  22980. "agreementcontent": {
  22981. "description": "协议内容",
  22982. "type": "string"
  22983. },
  22984. "agreementfrequency": {
  22985. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  22986. "type": "integer"
  22987. },
  22988. "agreementid": {
  22989. "description": "协议ID",
  22990. "type": "integer"
  22991. },
  22992. "agreementname": {
  22993. "description": "协议名称",
  22994. "type": "string"
  22995. },
  22996. "agreementno": {
  22997. "description": "协议编号",
  22998. "type": "string"
  22999. },
  23000. "agreementtype": {
  23001. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23002. "type": "integer"
  23003. },
  23004. "agreementversion": {
  23005. "description": "协议版本号",
  23006. "type": "integer"
  23007. },
  23008. "logid": {
  23009. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23010. "type": "integer"
  23011. },
  23012. "reviserid": {
  23013. "description": "修改人",
  23014. "type": "integer"
  23015. },
  23016. "revisersrc": {
  23017. "description": "修改来源 - 1:管理端 2:终端",
  23018. "type": "integer"
  23019. },
  23020. "updatetime": {
  23021. "description": "更新时间",
  23022. "type": "string"
  23023. }
  23024. }
  23025. },
  23026. "models.QhjAgreementConfig": {
  23027. "type": "object",
  23028. "properties": {
  23029. "agreementcontent": {
  23030. "description": "协议内容",
  23031. "type": "string"
  23032. },
  23033. "agreementfrequency": {
  23034. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23035. "type": "integer"
  23036. },
  23037. "agreementid": {
  23038. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23039. "type": "integer"
  23040. },
  23041. "agreementname": {
  23042. "description": "协议名称",
  23043. "type": "string"
  23044. },
  23045. "agreementno": {
  23046. "description": "协议编号",
  23047. "type": "string"
  23048. },
  23049. "agreementtype": {
  23050. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23051. "type": "integer"
  23052. },
  23053. "agreementversion": {
  23054. "description": "协议版本号(从1开始每次修改加1)",
  23055. "type": "integer"
  23056. },
  23057. "createtime": {
  23058. "description": "创建时间",
  23059. "type": "string"
  23060. },
  23061. "creatorid": {
  23062. "description": "创建人",
  23063. "type": "integer"
  23064. },
  23065. "creatorsrc": {
  23066. "description": "创建来源 - 1:管理端 2:终端",
  23067. "type": "integer"
  23068. },
  23069. "isvalid": {
  23070. "description": "是否有效 - 0:无效 1:有效",
  23071. "type": "integer"
  23072. },
  23073. "reviserid": {
  23074. "description": "修改人",
  23075. "type": "integer"
  23076. },
  23077. "revisersrc": {
  23078. "description": "修改来源 - 1:管理端 2:终端",
  23079. "type": "integer"
  23080. },
  23081. "updatetime": {
  23082. "description": "更新时间",
  23083. "type": "string"
  23084. }
  23085. }
  23086. },
  23087. "models.QhjBankAccountSign": {
  23088. "type": "object",
  23089. "properties": {
  23090. "accountcode": {
  23091. "description": "资金账号",
  23092. "type": "string"
  23093. },
  23094. "accountname": {
  23095. "description": "资金账号对应的账号名(UserName)",
  23096. "type": "string"
  23097. },
  23098. "accountname2": {
  23099. "description": "资金账号对应的账号名(UserName) - 密文",
  23100. "type": "string"
  23101. },
  23102. "accounttype": {
  23103. "description": "账户类型(UserType)",
  23104. "type": "integer"
  23105. },
  23106. "applicationtime": {
  23107. "description": "最后一次更新的时间",
  23108. "type": "string"
  23109. },
  23110. "applyexchticket": {
  23111. "description": "申请流水",
  23112. "type": "string"
  23113. },
  23114. "auditid": {
  23115. "description": "审核人",
  23116. "type": "integer"
  23117. },
  23118. "audittime": {
  23119. "description": "审核时间",
  23120. "type": "string"
  23121. },
  23122. "bankaccountname": {
  23123. "description": "签约银行卡账号名",
  23124. "type": "string"
  23125. },
  23126. "bankaccountname2": {
  23127. "description": "签约银行卡账号名 - 密文",
  23128. "type": "string"
  23129. },
  23130. "bankaccountno": {
  23131. "description": "银行卡号",
  23132. "type": "string"
  23133. },
  23134. "bankaccountno2": {
  23135. "description": "银行卡号 - 密文",
  23136. "type": "string"
  23137. },
  23138. "bankaccounttype": {
  23139. "description": "银行账户类型 - 1-对私; 2-对公",
  23140. "type": "integer"
  23141. },
  23142. "bankcardtype": {
  23143. "description": "银行卡类型",
  23144. "type": "integer"
  23145. },
  23146. "bankchildaccount": {
  23147. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23148. "type": "string"
  23149. },
  23150. "bankcity": {
  23151. "description": "开户行城市",
  23152. "type": "string"
  23153. },
  23154. "bankid": {
  23155. "description": "签约银行ID",
  23156. "type": "string"
  23157. },
  23158. "bankname": {
  23159. "description": "签约银行名称",
  23160. "type": "string"
  23161. },
  23162. "bankprovince": {
  23163. "description": "开户行省份",
  23164. "type": "string"
  23165. },
  23166. "branchbankid": {
  23167. "description": "签约银行支行号",
  23168. "type": "string"
  23169. },
  23170. "branchbankname": {
  23171. "description": "签约银行支行名称",
  23172. "type": "string"
  23173. },
  23174. "cardno": {
  23175. "description": "证件号码",
  23176. "type": "string"
  23177. },
  23178. "cardno2": {
  23179. "description": "证件号码 - 密文",
  23180. "type": "string"
  23181. },
  23182. "cardtype": {
  23183. "description": "证件类型",
  23184. "type": "string"
  23185. },
  23186. "currency": {
  23187. "description": "币种",
  23188. "type": "string"
  23189. },
  23190. "cusbankid": {
  23191. "description": "托管银行编号",
  23192. "type": "string"
  23193. },
  23194. "direct": {
  23195. "description": "方向(可以判断那方先发起的签约)",
  23196. "type": "integer"
  23197. },
  23198. "exchticket": {
  23199. "description": "最后一次签约成功的流水号",
  23200. "type": "string"
  23201. },
  23202. "extendinfo": {
  23203. "description": "扩展信息(JSON字符串)",
  23204. "type": "string"
  23205. },
  23206. "mobilephone": {
  23207. "description": "手机号",
  23208. "type": "string"
  23209. },
  23210. "mobilephone2": {
  23211. "description": "手机号 - 密文",
  23212. "type": "string"
  23213. },
  23214. "netaddr": {
  23215. "description": "调转网址",
  23216. "type": "string"
  23217. },
  23218. "relateduserid": {
  23219. "description": "关联使用者userid",
  23220. "type": "integer"
  23221. },
  23222. "signstatus": {
  23223. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23224. "type": "integer"
  23225. },
  23226. "updatetime": {
  23227. "description": "更新时间(签解约更新时间)",
  23228. "type": "string"
  23229. }
  23230. }
  23231. },
  23232. "models.QhjBankInfo": {
  23233. "type": "object",
  23234. "properties": {
  23235. "bankid": {
  23236. "description": "银行ID",
  23237. "type": "string"
  23238. },
  23239. "bankname": {
  23240. "description": "银行名称",
  23241. "type": "string"
  23242. },
  23243. "clearbankno": {
  23244. "description": "清算系统银行编号",
  23245. "type": "string"
  23246. },
  23247. "orderindex": {
  23248. "description": "排序顺序",
  23249. "type": "integer"
  23250. },
  23251. "status": {
  23252. "description": "状态 - 0:正常 1:注销",
  23253. "type": "integer"
  23254. }
  23255. }
  23256. },
  23257. "models.QhjContract": {
  23258. "type": "object",
  23259. "properties": {
  23260. "contractconfirmtime": {
  23261. "description": "合同确认时间(时间)",
  23262. "type": "string"
  23263. },
  23264. "currisklevel": {
  23265. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23266. "type": "integer"
  23267. },
  23268. "decimalplace": {
  23269. "description": "商品报价小数位",
  23270. "type": "integer"
  23271. },
  23272. "enumdicname": {
  23273. "description": "单位名称",
  23274. "type": "string"
  23275. },
  23276. "goodscode": {
  23277. "description": "商品代码",
  23278. "type": "string"
  23279. },
  23280. "goodsid": {
  23281. "description": "商品ID [5:融资单]",
  23282. "type": "integer"
  23283. },
  23284. "goodsname": {
  23285. "description": "商品名称",
  23286. "type": "string"
  23287. },
  23288. "goodunitid": {
  23289. "description": "商品单位id",
  23290. "type": "integer"
  23291. },
  23292. "initmargin": {
  23293. "description": "初始保证金(首付款)",
  23294. "type": "number"
  23295. },
  23296. "lenderamount": {
  23297. "description": "贷款金额(总额|订单总额)",
  23298. "type": "number"
  23299. },
  23300. "marginratio": {
  23301. "description": "保证金比率(首付比例)",
  23302. "type": "number"
  23303. },
  23304. "payamount": {
  23305. "description": "已付(已付货款)",
  23306. "type": "number"
  23307. },
  23308. "reckonrecovermargin": {
  23309. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23310. "type": "number"
  23311. },
  23312. "recoveredmargin": {
  23313. "description": "已追缴保证金",
  23314. "type": "number"
  23315. },
  23316. "remainamount": {
  23317. "description": "合同剩余金额(融资额)",
  23318. "type": "number"
  23319. },
  23320. "scfcontractid": {
  23321. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23322. "type": "string"
  23323. },
  23324. "scfcontractstatus": {
  23325. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23326. "type": "integer"
  23327. },
  23328. "scfcontracttype": {
  23329. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23330. "type": "integer"
  23331. },
  23332. "totalinterest": {
  23333. "description": "已计总利息(利息)",
  23334. "type": "number"
  23335. },
  23336. "tradeprice": {
  23337. "description": "成交价格(成本价格)",
  23338. "type": "number"
  23339. },
  23340. "userid": {
  23341. "description": "用户ID",
  23342. "type": "integer"
  23343. },
  23344. "username": {
  23345. "description": "用户名称",
  23346. "type": "string"
  23347. },
  23348. "wrqty": {
  23349. "description": "仓单数量(数量)",
  23350. "type": "number"
  23351. }
  23352. }
  23353. },
  23354. "models.QhjContractLog": {
  23355. "type": "object",
  23356. "properties": {
  23357. "amount": {
  23358. "description": "支付金额",
  23359. "type": "number"
  23360. },
  23361. "amounttype": {
  23362. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  23363. "type": "integer"
  23364. },
  23365. "logid": {
  23366. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23367. "type": "string"
  23368. },
  23369. "remainamount": {
  23370. "description": "剩余货款",
  23371. "type": "number"
  23372. },
  23373. "scfcontractid": {
  23374. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23375. "type": "integer"
  23376. },
  23377. "updatetime": {
  23378. "description": "更新时间",
  23379. "type": "string"
  23380. }
  23381. }
  23382. },
  23383. "models.QhjCusBankSignBankEx": {
  23384. "type": "object",
  23385. "properties": {
  23386. "banklst": {
  23387. "description": "银行列表",
  23388. "type": "array",
  23389. "items": {
  23390. "$ref": "#/definitions/models.QhjBankInfo"
  23391. }
  23392. },
  23393. "canallot": {
  23394. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  23395. "type": "integer"
  23396. },
  23397. "canallotquery": {
  23398. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  23399. "type": "integer"
  23400. },
  23401. "canbindcard": {
  23402. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  23403. "type": "integer"
  23404. },
  23405. "caninamount": {
  23406. "description": "是否可入金 - 0:不可 1:可以",
  23407. "type": "integer"
  23408. },
  23409. "caninamount2": {
  23410. "description": "是否可入金(网银端) - 0:不可 1:可以",
  23411. "type": "integer"
  23412. },
  23413. "canmodifybankcard": {
  23414. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  23415. "type": "integer"
  23416. },
  23417. "canmodifyphone": {
  23418. "description": "是否可修改手机号 - 0:不可 1:可以",
  23419. "type": "integer"
  23420. },
  23421. "canmodifysigninfo": {
  23422. "description": "是否可修改签约信息 - 0:不可 1:可以",
  23423. "type": "integer"
  23424. },
  23425. "canoutamount": {
  23426. "description": "是否可出金 - 0:不可 1:可以",
  23427. "type": "integer"
  23428. },
  23429. "canoutamount2": {
  23430. "description": "是否可出金(网银端) - 0:不可 1:可以",
  23431. "type": "integer"
  23432. },
  23433. "canrelease": {
  23434. "description": "是否可解约 - 0:不可 1:可以",
  23435. "type": "integer"
  23436. },
  23437. "canrelease2": {
  23438. "description": "是否可解约(网银端) - 0:不可 1:可以",
  23439. "type": "integer"
  23440. },
  23441. "cansign": {
  23442. "description": "是否可签约 - 0:不可 1:可以",
  23443. "type": "integer"
  23444. },
  23445. "cansign2": {
  23446. "description": "是否可签约(网银端) - 0:不可 1:可以",
  23447. "type": "integer"
  23448. },
  23449. "currency": {
  23450. "description": "币种",
  23451. "type": "string"
  23452. },
  23453. "cusbankid": {
  23454. "description": "托管银行编号(对应清算中心TRAN_NO)",
  23455. "type": "string"
  23456. },
  23457. "cusbankname": {
  23458. "description": "银行业务名称",
  23459. "type": "string"
  23460. },
  23461. "cusbankshortname": {
  23462. "description": "银行业务简称",
  23463. "type": "string"
  23464. },
  23465. "exchbankid": {
  23466. "description": "交易所开户银行ID",
  23467. "type": "string"
  23468. },
  23469. "exchpaybankaccname": {
  23470. "description": "交易所支出结算账户户名",
  23471. "type": "string"
  23472. },
  23473. "exchpaybankaccno": {
  23474. "description": "交易所支出结算账户",
  23475. "type": "string"
  23476. },
  23477. "isneedcheck": {
  23478. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  23479. "type": "integer"
  23480. },
  23481. "isneedclear": {
  23482. "description": "是否需要清算 - 0:不需要 1:需要",
  23483. "type": "integer"
  23484. },
  23485. "lastcheckstatus": {
  23486. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  23487. "type": "integer"
  23488. },
  23489. "lastchecktime": {
  23490. "description": "最后对账时间",
  23491. "type": "string"
  23492. },
  23493. "lastclearstatus": {
  23494. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  23495. "type": "integer"
  23496. },
  23497. "lastcleartime": {
  23498. "description": "最后清算时间",
  23499. "type": "string"
  23500. },
  23501. "lastsignintime": {
  23502. "description": "最后签到时间",
  23503. "type": "string"
  23504. },
  23505. "lastsignouttime": {
  23506. "description": "最后签退时间",
  23507. "type": "string"
  23508. },
  23509. "riskinfo": {
  23510. "description": "签约风险提示书",
  23511. "type": "string"
  23512. },
  23513. "signstatus": {
  23514. "description": "当前签到/签退状态 - 1:签到 2:签退",
  23515. "type": "integer"
  23516. },
  23517. "tradedate": {
  23518. "description": "交易日(yyyyMMdd)",
  23519. "type": "string"
  23520. },
  23521. "updatetime": {
  23522. "description": "当前签到/签退更新时间",
  23523. "type": "string"
  23524. }
  23525. }
  23526. },
  23527. "models.QhjCustomer": {
  23528. "type": "object",
  23529. "properties": {
  23530. "address": {
  23531. "description": "通讯地址",
  23532. "type": "string"
  23533. },
  23534. "attachment1": {
  23535. "description": "附件1",
  23536. "type": "string"
  23537. },
  23538. "audittime": {
  23539. "description": "审核时间",
  23540. "type": "string"
  23541. },
  23542. "cardbackphotourl": {
  23543. "description": "证件反面图片地址",
  23544. "type": "string"
  23545. },
  23546. "cardfrontphotourl": {
  23547. "description": "证件正面图片地址",
  23548. "type": "string"
  23549. },
  23550. "cardnum": {
  23551. "description": "证件号码",
  23552. "type": "string"
  23553. },
  23554. "cardtype": {
  23555. "description": "证件类型",
  23556. "type": "integer"
  23557. },
  23558. "cardtypename": {
  23559. "description": "证件类型名称",
  23560. "type": "string"
  23561. },
  23562. "cityid": {
  23563. "description": "市",
  23564. "type": "integer"
  23565. },
  23566. "cityname": {
  23567. "description": "城市名称",
  23568. "type": "string"
  23569. },
  23570. "contactname": {
  23571. "description": "联系人",
  23572. "type": "string"
  23573. },
  23574. "countryid": {
  23575. "description": "国家",
  23576. "type": "integer"
  23577. },
  23578. "countryname": {
  23579. "description": "国家名称",
  23580. "type": "string"
  23581. },
  23582. "createtime": {
  23583. "description": "创建时间",
  23584. "type": "string"
  23585. },
  23586. "customername": {
  23587. "description": "客户名称",
  23588. "type": "string"
  23589. },
  23590. "districtid": {
  23591. "description": "区域",
  23592. "type": "integer"
  23593. },
  23594. "districtname": {
  23595. "description": "地区名称",
  23596. "type": "string"
  23597. },
  23598. "email": {
  23599. "description": "邮件",
  23600. "type": "string"
  23601. },
  23602. "legalpersonname": {
  23603. "description": "法人姓名(企业)",
  23604. "type": "string"
  23605. },
  23606. "logincode": {
  23607. "description": "登录账号(代码)",
  23608. "type": "string"
  23609. },
  23610. "memberuserid": {
  23611. "description": "所属机构ID(所属会员)",
  23612. "type": "integer"
  23613. },
  23614. "memberusername": {
  23615. "description": "所属会员名称",
  23616. "type": "string"
  23617. },
  23618. "mobile": {
  23619. "description": "手机号码",
  23620. "type": "string"
  23621. },
  23622. "modifytime": {
  23623. "description": "修改时间",
  23624. "type": "string"
  23625. },
  23626. "nickname": {
  23627. "description": "昵称",
  23628. "type": "string"
  23629. },
  23630. "parentuserid": {
  23631. "description": "上级机构(所属机构)",
  23632. "type": "integer"
  23633. },
  23634. "parentusername": {
  23635. "description": "所属机构名称",
  23636. "type": "string"
  23637. },
  23638. "provinceid": {
  23639. "description": "省",
  23640. "type": "integer"
  23641. },
  23642. "provincename": {
  23643. "description": "省名称",
  23644. "type": "string"
  23645. },
  23646. "proxystatementurl": {
  23647. "description": "授权委托书",
  23648. "type": "string"
  23649. },
  23650. "remark": {
  23651. "description": "备注",
  23652. "type": "string"
  23653. },
  23654. "status": {
  23655. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23656. "type": "integer"
  23657. },
  23658. "statusdesc": {
  23659. "description": "账户状态中文描述",
  23660. "type": "string"
  23661. },
  23662. "taxpayernum": {
  23663. "description": "纳税人识别号",
  23664. "type": "string"
  23665. },
  23666. "telphone": {
  23667. "description": "联系电话",
  23668. "type": "string"
  23669. },
  23670. "userid": {
  23671. "description": "用户ID",
  23672. "type": "integer"
  23673. },
  23674. "userinfotype": {
  23675. "description": "客户类型 1-个人 2-企业",
  23676. "type": "integer"
  23677. },
  23678. "username": {
  23679. "description": "用户名称",
  23680. "type": "string"
  23681. }
  23682. }
  23683. },
  23684. "models.QhjCustomerSignLog": {
  23685. "type": "object",
  23686. "properties": {
  23687. "agreementcontent": {
  23688. "description": "协议内容",
  23689. "type": "string"
  23690. },
  23691. "agreementid": {
  23692. "description": "协议ID",
  23693. "type": "integer"
  23694. },
  23695. "agreementname": {
  23696. "description": "协议名称",
  23697. "type": "string"
  23698. },
  23699. "agreementno": {
  23700. "description": "协议编号",
  23701. "type": "string"
  23702. },
  23703. "agreementtype": {
  23704. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23705. "type": "integer"
  23706. },
  23707. "agreementversion": {
  23708. "description": "协议版本号",
  23709. "type": "integer"
  23710. },
  23711. "createtime": {
  23712. "description": "创建时间",
  23713. "type": "string"
  23714. },
  23715. "goodscode": {
  23716. "description": "商品代码",
  23717. "type": "string"
  23718. },
  23719. "goodsid": {
  23720. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23721. "type": "integer"
  23722. },
  23723. "goodsname": {
  23724. "description": "商品名称",
  23725. "type": "string"
  23726. },
  23727. "logid": {
  23728. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  23729. "type": "integer"
  23730. },
  23731. "nodetype": {
  23732. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  23733. "type": "integer"
  23734. },
  23735. "signadressurl": {
  23736. "description": "签约文件地址",
  23737. "type": "string"
  23738. },
  23739. "signtimestamp": {
  23740. "description": "签约状态时间戳",
  23741. "type": "string"
  23742. },
  23743. "userid": {
  23744. "description": "客户ID",
  23745. "type": "integer"
  23746. },
  23747. "username": {
  23748. "description": "客户名称",
  23749. "type": "string"
  23750. }
  23751. }
  23752. },
  23753. "models.QhjCustomerSignStatus": {
  23754. "type": "object",
  23755. "properties": {
  23756. "createtime": {
  23757. "description": "创建时间",
  23758. "type": "string"
  23759. },
  23760. "goodscode": {
  23761. "description": "商品代码",
  23762. "type": "string"
  23763. },
  23764. "goodsid": {
  23765. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23766. "type": "integer"
  23767. },
  23768. "goodsname": {
  23769. "description": "商品名称",
  23770. "type": "string"
  23771. },
  23772. "nodetype": {
  23773. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  23774. "type": "integer"
  23775. },
  23776. "signtimestamp": {
  23777. "description": "签约状态时间戳",
  23778. "type": "string"
  23779. },
  23780. "tradedate": {
  23781. "description": "创建交易日(yyyyMMdd)",
  23782. "type": "string"
  23783. },
  23784. "updatetime": {
  23785. "description": "更新时间",
  23786. "type": "string"
  23787. },
  23788. "userid": {
  23789. "description": "客户ID",
  23790. "type": "integer"
  23791. },
  23792. "username": {
  23793. "description": "客户名称",
  23794. "type": "string"
  23795. }
  23796. }
  23797. },
  23798. "models.QhjMgrAccountOutInApply": {
  23799. "type": "object",
  23800. "properties": {
  23801. "accountcode": {
  23802. "description": "资金账号",
  23803. "type": "string"
  23804. },
  23805. "accountname": {
  23806. "description": "用户名称(名称)",
  23807. "type": "string"
  23808. },
  23809. "accountpwd": {
  23810. "description": "资金密码",
  23811. "type": "string"
  23812. },
  23813. "accountticket": {
  23814. "description": "最新账户服务流水号",
  23815. "type": "string"
  23816. },
  23817. "amount": {
  23818. "description": "金额",
  23819. "type": "number"
  23820. },
  23821. "applyremark": {
  23822. "description": "申请备注",
  23823. "type": "string"
  23824. },
  23825. "applystatus": {
  23826. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  23827. "type": "integer"
  23828. },
  23829. "auditid": {
  23830. "description": "审核人",
  23831. "type": "integer"
  23832. },
  23833. "audittime": {
  23834. "description": "审核时间",
  23835. "type": "string"
  23836. },
  23837. "bank_apply_ticket": {
  23838. "description": "银行申请流水",
  23839. "type": "string"
  23840. },
  23841. "bankaccountname": {
  23842. "description": "银行账户名",
  23843. "type": "string"
  23844. },
  23845. "bankaccountno": {
  23846. "description": "银行卡号",
  23847. "type": "string"
  23848. },
  23849. "bankid": {
  23850. "description": "银行编号",
  23851. "type": "string"
  23852. },
  23853. "bankname": {
  23854. "description": "银行名称",
  23855. "type": "string"
  23856. },
  23857. "bankticket": {
  23858. "description": "银行流水",
  23859. "type": "string"
  23860. },
  23861. "branchbankid": {
  23862. "description": "银行支行号",
  23863. "type": "string"
  23864. },
  23865. "branchbankname": {
  23866. "description": "银行支行名称",
  23867. "type": "string"
  23868. },
  23869. "capamountout": {
  23870. "description": "出金(劣后本金) - 外部子账户",
  23871. "type": "number"
  23872. },
  23873. "certificatephotourl": {
  23874. "description": "凭证地址",
  23875. "type": "string"
  23876. },
  23877. "charge": {
  23878. "description": "手续费",
  23879. "type": "number"
  23880. },
  23881. "checkerrorflag": {
  23882. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23883. "type": "integer"
  23884. },
  23885. "currency": {
  23886. "description": "币种",
  23887. "type": "string"
  23888. },
  23889. "cusbankid": {
  23890. "description": "托管银行编号",
  23891. "type": "string"
  23892. },
  23893. "exchticket": {
  23894. "description": "银行服务流水号",
  23895. "type": "string"
  23896. },
  23897. "executetype": {
  23898. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23899. "type": "integer"
  23900. },
  23901. "extendinfo": {
  23902. "description": "扩展信息",
  23903. "type": "string"
  23904. },
  23905. "extoperateid": {
  23906. "description": "交易服务流水号",
  23907. "type": "integer"
  23908. },
  23909. "infamount": {
  23910. "description": "劣后金额(自有)",
  23911. "type": "number"
  23912. },
  23913. "logincode": {
  23914. "description": "登录账号(账号)",
  23915. "type": "string"
  23916. },
  23917. "netaddr": {
  23918. "description": "调转网址",
  23919. "type": "string"
  23920. },
  23921. "priamount": {
  23922. "description": "优先金额(授信)",
  23923. "type": "number"
  23924. },
  23925. "reauditid": {
  23926. "description": "复审人",
  23927. "type": "integer"
  23928. },
  23929. "reauditremark": {
  23930. "description": "复审备注",
  23931. "type": "string"
  23932. },
  23933. "reaudittime": {
  23934. "description": "复审时间",
  23935. "type": "string"
  23936. },
  23937. "relatedorderid": {
  23938. "description": "三方关联ID",
  23939. "type": "string"
  23940. },
  23941. "remark": {
  23942. "description": "备注",
  23943. "type": "string"
  23944. },
  23945. "remark2": {
  23946. "description": "备注(失败原因)",
  23947. "type": "string"
  23948. },
  23949. "soucreamount": {
  23950. "description": "原始出入金金额",
  23951. "type": "number"
  23952. },
  23953. "soucrecurrencyid": {
  23954. "description": "原始出入金币种",
  23955. "type": "integer"
  23956. },
  23957. "tradedate": {
  23958. "description": "交易日(yyyyMMdd)",
  23959. "type": "string"
  23960. },
  23961. "updatetime": {
  23962. "description": "更新时间(申请时间)",
  23963. "type": "string"
  23964. },
  23965. "userid": {
  23966. "description": "用户id",
  23967. "type": "integer"
  23968. },
  23969. "userinfotype": {
  23970. "description": "账户类型 1-个人 2-企业",
  23971. "type": "integer"
  23972. }
  23973. }
  23974. },
  23975. "models.QhjMgrContract": {
  23976. "type": "object",
  23977. "properties": {
  23978. "contractconfirmtime": {
  23979. "description": "合同确认时间(时间)",
  23980. "type": "string"
  23981. },
  23982. "currisklevel": {
  23983. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23984. "type": "integer"
  23985. },
  23986. "decimalplace": {
  23987. "description": "商品报价小数位",
  23988. "type": "integer"
  23989. },
  23990. "enumdicname": {
  23991. "description": "单位名称",
  23992. "type": "string"
  23993. },
  23994. "goodscode": {
  23995. "description": "商品代码",
  23996. "type": "string"
  23997. },
  23998. "goodsid": {
  23999. "description": "商品ID [5:融资单]",
  24000. "type": "integer"
  24001. },
  24002. "goodsname": {
  24003. "description": "商品名称",
  24004. "type": "string"
  24005. },
  24006. "goodunitid": {
  24007. "description": "商品单位id",
  24008. "type": "integer"
  24009. },
  24010. "initmargin": {
  24011. "description": "初始保证金(首付款)",
  24012. "type": "number"
  24013. },
  24014. "lenderamount": {
  24015. "description": "贷款金额(总额|订单总额)",
  24016. "type": "number"
  24017. },
  24018. "logincode": {
  24019. "description": "账号(登录代码)",
  24020. "type": "string"
  24021. },
  24022. "marginratio": {
  24023. "description": "保证金比率(首付比例)",
  24024. "type": "number"
  24025. },
  24026. "mobile": {
  24027. "description": "电话号码(用户资料里的电话)",
  24028. "type": "string"
  24029. },
  24030. "payamount": {
  24031. "description": "已付(已付货款)",
  24032. "type": "number"
  24033. },
  24034. "reckonrecovermargin": {
  24035. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24036. "type": "number"
  24037. },
  24038. "recoveredmargin": {
  24039. "description": "已追缴保证金",
  24040. "type": "number"
  24041. },
  24042. "remainamount": {
  24043. "description": "合同剩余金额(融资额)",
  24044. "type": "number"
  24045. },
  24046. "scfcontractid": {
  24047. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24048. "type": "string"
  24049. },
  24050. "scfcontractstatus": {
  24051. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24052. "type": "integer"
  24053. },
  24054. "scfcontracttype": {
  24055. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24056. "type": "integer"
  24057. },
  24058. "totalinterest": {
  24059. "description": "已计总利息(利息)",
  24060. "type": "number"
  24061. },
  24062. "tradedate": {
  24063. "description": "交易日",
  24064. "type": "string"
  24065. },
  24066. "tradeprice": {
  24067. "description": "成交价格(成本价格)",
  24068. "type": "number"
  24069. },
  24070. "userid": {
  24071. "description": "用户ID",
  24072. "type": "integer"
  24073. },
  24074. "userinfotype": {
  24075. "description": "用户类型 1-个人 2-企业",
  24076. "type": "integer"
  24077. },
  24078. "username": {
  24079. "description": "用户名称",
  24080. "type": "string"
  24081. },
  24082. "wrqty": {
  24083. "description": "仓单数量(数量)",
  24084. "type": "number"
  24085. }
  24086. }
  24087. },
  24088. "models.QhjMgrPositionRsp": {
  24089. "type": "object",
  24090. "properties": {
  24091. "accountid": {
  24092. "description": "账号Id",
  24093. "type": "integer"
  24094. },
  24095. "accountname": {
  24096. "description": "用户名称",
  24097. "type": "string"
  24098. },
  24099. "agreeunit": {
  24100. "description": "合约乘数",
  24101. "type": "number"
  24102. },
  24103. "averageprice": {
  24104. "description": "均价",
  24105. "type": "number"
  24106. },
  24107. "avialqty": {
  24108. "description": "可用数量",
  24109. "type": "number"
  24110. },
  24111. "decimalplace": {
  24112. "description": "报价小数位",
  24113. "type": "integer"
  24114. },
  24115. "enumdicname": {
  24116. "description": "单位名称(商品)",
  24117. "type": "string"
  24118. },
  24119. "frozenqty": {
  24120. "description": "冻结数量",
  24121. "type": "number"
  24122. },
  24123. "goodscode": {
  24124. "description": "商品代码(内部)",
  24125. "type": "string"
  24126. },
  24127. "goodsid": {
  24128. "description": "商品Id",
  24129. "type": "integer"
  24130. },
  24131. "goodsname": {
  24132. "description": "商品名称",
  24133. "type": "string"
  24134. },
  24135. "goodunitid": {
  24136. "description": "报价单位ID",
  24137. "type": "integer"
  24138. },
  24139. "holderamount": {
  24140. "description": "金额",
  24141. "type": "number"
  24142. },
  24143. "holderqty": {
  24144. "description": "持有数量",
  24145. "type": "number"
  24146. },
  24147. "holdertype": {
  24148. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  24149. "type": "integer"
  24150. },
  24151. "logincode": {
  24152. "description": "登录代码(账户)",
  24153. "type": "string"
  24154. },
  24155. "marketid": {
  24156. "description": "市场id",
  24157. "type": "integer"
  24158. },
  24159. "qtydecimalplace": {
  24160. "description": "成交量小数位",
  24161. "type": "integer"
  24162. },
  24163. "trademode": {
  24164. "description": "交易模式",
  24165. "type": "integer"
  24166. },
  24167. "userid": {
  24168. "description": "用户id",
  24169. "type": "integer"
  24170. },
  24171. "userinfotype": {
  24172. "description": "账户类型 1-个人 2-企业",
  24173. "type": "integer"
  24174. }
  24175. }
  24176. },
  24177. "models.QhjMgrSubArea": {
  24178. "type": "object",
  24179. "properties": {
  24180. "accountname": {
  24181. "description": "账户名称(机构名称)",
  24182. "type": "string"
  24183. },
  24184. "memberuserid": {
  24185. "description": "所属会员ID",
  24186. "type": "integer"
  24187. },
  24188. "parenttopuser": {
  24189. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24190. "type": "string"
  24191. },
  24192. "parentuserid": {
  24193. "description": "所属机构ID",
  24194. "type": "integer"
  24195. },
  24196. "rootuserid": {
  24197. "description": "根用户ID",
  24198. "type": "string"
  24199. },
  24200. "subaccountlevel": {
  24201. "description": "子账户层数",
  24202. "type": "integer"
  24203. },
  24204. "subarealevelpath": {
  24205. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24206. "type": "string"
  24207. },
  24208. "userid": {
  24209. "description": "用户ID",
  24210. "type": "integer"
  24211. },
  24212. "usertype": {
  24213. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24214. "type": "integer"
  24215. }
  24216. }
  24217. },
  24218. "models.QhjMgrTradeDetailRsp": {
  24219. "type": "object",
  24220. "properties": {
  24221. "accountid": {
  24222. "description": "资金账号",
  24223. "type": "integer"
  24224. },
  24225. "accountname": {
  24226. "description": "用户名称",
  24227. "type": "string"
  24228. },
  24229. "agreeunit": {
  24230. "description": "合约乘数",
  24231. "type": "number"
  24232. },
  24233. "buyorsell": {
  24234. "description": "成交类型(方向) 0:买 1:卖",
  24235. "type": "integer"
  24236. },
  24237. "decimalplace": {
  24238. "description": "报价小数位",
  24239. "type": "integer"
  24240. },
  24241. "enumdicname": {
  24242. "description": "单位名称(商品)",
  24243. "type": "string"
  24244. },
  24245. "goodscode": {
  24246. "description": "商品代码(内部)",
  24247. "type": "string"
  24248. },
  24249. "goodsid": {
  24250. "description": "商品id",
  24251. "type": "integer"
  24252. },
  24253. "goodsname": {
  24254. "description": "商品名称",
  24255. "type": "string"
  24256. },
  24257. "goodunitid": {
  24258. "description": "报价单位ID",
  24259. "type": "integer"
  24260. },
  24261. "logincode": {
  24262. "description": "登录代码(账户)",
  24263. "type": "string"
  24264. },
  24265. "marketid": {
  24266. "description": "市场id",
  24267. "type": "integer"
  24268. },
  24269. "orderid": {
  24270. "description": "关联委托单号",
  24271. "type": "string"
  24272. },
  24273. "qtydecimalplace": {
  24274. "description": "成交量小数位",
  24275. "type": "integer"
  24276. },
  24277. "tradeamount": {
  24278. "description": "金额",
  24279. "type": "number"
  24280. },
  24281. "tradedate": {
  24282. "description": "交易日",
  24283. "type": "string"
  24284. },
  24285. "tradeid": {
  24286. "description": "成交单号",
  24287. "type": "string"
  24288. },
  24289. "trademode": {
  24290. "description": "交易模式",
  24291. "type": "integer"
  24292. },
  24293. "tradeprice": {
  24294. "description": "价格",
  24295. "type": "number"
  24296. },
  24297. "tradeqty": {
  24298. "description": "数量",
  24299. "type": "number"
  24300. },
  24301. "tradetime": {
  24302. "description": "成交时间",
  24303. "type": "string"
  24304. },
  24305. "userid": {
  24306. "description": "用户id",
  24307. "type": "integer"
  24308. },
  24309. "userinfotype": {
  24310. "description": "账户类型 1-个人 2-企业",
  24311. "type": "integer"
  24312. }
  24313. }
  24314. },
  24315. "models.QhjMgrTradeOrderDetailRsp": {
  24316. "type": "object",
  24317. "properties": {
  24318. "accountid": {
  24319. "description": "资金账号",
  24320. "type": "integer"
  24321. },
  24322. "accountname": {
  24323. "description": "用户名称",
  24324. "type": "string"
  24325. },
  24326. "agreeunit": {
  24327. "description": "合约乘数",
  24328. "type": "number"
  24329. },
  24330. "amount": {
  24331. "description": "金额",
  24332. "type": "number"
  24333. },
  24334. "decimalplace": {
  24335. "description": "报价小数位",
  24336. "type": "integer"
  24337. },
  24338. "enumdicname": {
  24339. "description": "单位名称(商品)",
  24340. "type": "string"
  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. "goodunitid": {
  24355. "description": "报价单位ID",
  24356. "type": "integer"
  24357. },
  24358. "logincode": {
  24359. "description": "登录代码(账户)",
  24360. "type": "string"
  24361. },
  24362. "marketid": {
  24363. "description": "市场id",
  24364. "type": "integer"
  24365. },
  24366. "orderid": {
  24367. "description": "关联委托单号",
  24368. "type": "string"
  24369. },
  24370. "orderprice": {
  24371. "description": "价格",
  24372. "type": "number"
  24373. },
  24374. "orderqty": {
  24375. "description": "数量",
  24376. "type": "number"
  24377. },
  24378. "orderstatus": {
  24379. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24380. "type": "integer"
  24381. },
  24382. "ordertime": {
  24383. "description": "委托时间",
  24384. "type": "string"
  24385. },
  24386. "qtydecimalplace": {
  24387. "description": "成交量小数位",
  24388. "type": "integer"
  24389. },
  24390. "tradedate": {
  24391. "description": "交易日",
  24392. "type": "string"
  24393. },
  24394. "trademode": {
  24395. "description": "交易模式",
  24396. "type": "integer"
  24397. },
  24398. "userid": {
  24399. "description": "用户id",
  24400. "type": "integer"
  24401. },
  24402. "userinfotype": {
  24403. "description": "账户类型 1-个人 2-企业",
  24404. "type": "integer"
  24405. }
  24406. }
  24407. },
  24408. "models.QhjMgrTradePayOrder": {
  24409. "type": "object",
  24410. "properties": {
  24411. "accountname": {
  24412. "description": "用户名称",
  24413. "type": "string"
  24414. },
  24415. "advanceratio": {
  24416. "description": "首付比率",
  24417. "type": "number"
  24418. },
  24419. "agreeunit": {
  24420. "description": "合约乘数",
  24421. "type": "number"
  24422. },
  24423. "buyaccountid": {
  24424. "description": "买方账号ID[报价币种]",
  24425. "type": "integer"
  24426. },
  24427. "buyorderid": {
  24428. "description": "买方委托单号(关联单号)",
  24429. "type": "string"
  24430. },
  24431. "createtime": {
  24432. "description": "创建时间",
  24433. "type": "string"
  24434. },
  24435. "decimalplace": {
  24436. "description": "报价小数位",
  24437. "type": "integer"
  24438. },
  24439. "enumdicname": {
  24440. "description": "单位名称(商品)",
  24441. "type": "string"
  24442. },
  24443. "goodscode": {
  24444. "description": "商品代码(内部)",
  24445. "type": "string"
  24446. },
  24447. "goodsid": {
  24448. "description": "商品ID",
  24449. "type": "integer"
  24450. },
  24451. "goodsname": {
  24452. "description": "商品名称",
  24453. "type": "string"
  24454. },
  24455. "goodunitid": {
  24456. "description": "报价单位ID",
  24457. "type": "integer"
  24458. },
  24459. "logincode": {
  24460. "description": "登录代码(账户)",
  24461. "type": "string"
  24462. },
  24463. "marketid": {
  24464. "description": "市场id",
  24465. "type": "integer"
  24466. },
  24467. "offamount": {
  24468. "description": "优惠金额",
  24469. "type": "number"
  24470. },
  24471. "operatetype": {
  24472. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  24473. "type": "integer"
  24474. },
  24475. "payamount": {
  24476. "description": "支付金额(金额)",
  24477. "type": "number"
  24478. },
  24479. "payflag": {
  24480. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24481. "type": "integer"
  24482. },
  24483. "paylimitedtime": {
  24484. "description": "支付期限",
  24485. "type": "string"
  24486. },
  24487. "paytime": {
  24488. "description": "付款时间",
  24489. "type": "string"
  24490. },
  24491. "qtydecimalplace": {
  24492. "description": "成交量小数位",
  24493. "type": "integer"
  24494. },
  24495. "sellaccountid": {
  24496. "description": "卖方账号ID[报价币种]",
  24497. "type": "integer"
  24498. },
  24499. "sellorderid": {
  24500. "description": "卖方委托单号",
  24501. "type": "string"
  24502. },
  24503. "tradeamount": {
  24504. "description": "成交金额(优惠后金额)",
  24505. "type": "number"
  24506. },
  24507. "tradecharge": {
  24508. "description": "成交手续费(买方)",
  24509. "type": "number"
  24510. },
  24511. "tradedate": {
  24512. "description": "交易日(yyyyMMdd)",
  24513. "type": "string"
  24514. },
  24515. "tradeid": {
  24516. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24517. "type": "string"
  24518. },
  24519. "trademode": {
  24520. "description": "交易模式",
  24521. "type": "integer"
  24522. },
  24523. "tradeprice": {
  24524. "description": "成交价格(价格)",
  24525. "type": "number"
  24526. },
  24527. "tradeqty": {
  24528. "description": "成交数量(数量)",
  24529. "type": "number"
  24530. },
  24531. "tradetime": {
  24532. "description": "成交时间",
  24533. "type": "string"
  24534. },
  24535. "userid": {
  24536. "description": "用户id",
  24537. "type": "integer"
  24538. },
  24539. "userinfotype": {
  24540. "description": "账户类型 1-个人 2-企业",
  24541. "type": "integer"
  24542. }
  24543. }
  24544. },
  24545. "models.QhjNodeAgreementConfig": {
  24546. "type": "object",
  24547. "properties": {
  24548. "agreementcontent": {
  24549. "description": "协议内容",
  24550. "type": "string"
  24551. },
  24552. "agreementid": {
  24553. "description": "协议ID",
  24554. "type": "integer"
  24555. },
  24556. "agreementname": {
  24557. "description": "协议名称",
  24558. "type": "string"
  24559. },
  24560. "agreementno": {
  24561. "description": "协议编号",
  24562. "type": "string"
  24563. },
  24564. "agreementtype": {
  24565. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24566. "type": "integer"
  24567. },
  24568. "agreementversion": {
  24569. "description": "协议版本号",
  24570. "type": "integer"
  24571. },
  24572. "configid": {
  24573. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  24574. "type": "integer"
  24575. },
  24576. "createtime": {
  24577. "description": "创建时间",
  24578. "type": "string"
  24579. },
  24580. "goodsid": {
  24581. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24582. "type": "integer"
  24583. },
  24584. "nodetype": {
  24585. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24586. "type": "integer"
  24587. }
  24588. }
  24589. },
  24590. "models.QhjParentAreaList": {
  24591. "type": "object",
  24592. "properties": {
  24593. "accountname": {
  24594. "description": "账户名称(机构名称)",
  24595. "type": "string"
  24596. },
  24597. "userid": {
  24598. "description": "用户ID",
  24599. "type": "integer"
  24600. },
  24601. "usertype": {
  24602. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24603. "type": "integer"
  24604. }
  24605. }
  24606. },
  24607. "models.QhjPayOrder": {
  24608. "type": "object",
  24609. "properties": {
  24610. "advanceratio": {
  24611. "description": "首付比率",
  24612. "type": "number"
  24613. },
  24614. "buyaccountid": {
  24615. "description": "买方账号ID[报价币种]",
  24616. "type": "integer"
  24617. },
  24618. "buyorderid": {
  24619. "description": "买方委托单号",
  24620. "type": "string"
  24621. },
  24622. "createtime": {
  24623. "description": "创建时间",
  24624. "type": "string"
  24625. },
  24626. "decimalplace": {
  24627. "description": "商品报价小数位",
  24628. "type": "integer"
  24629. },
  24630. "enumdicname": {
  24631. "description": "单位名称",
  24632. "type": "string"
  24633. },
  24634. "goodscode": {
  24635. "description": "商品代码",
  24636. "type": "string"
  24637. },
  24638. "goodsid": {
  24639. "description": "商品ID",
  24640. "type": "integer"
  24641. },
  24642. "goodsname": {
  24643. "description": "商品名称",
  24644. "type": "string"
  24645. },
  24646. "goodunitid": {
  24647. "description": "商品单位id",
  24648. "type": "integer"
  24649. },
  24650. "marketid": {
  24651. "description": "市场ID",
  24652. "type": "integer"
  24653. },
  24654. "offamount": {
  24655. "description": "优惠金额",
  24656. "type": "number"
  24657. },
  24658. "operatetype": {
  24659. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  24660. "type": "integer"
  24661. },
  24662. "payamount": {
  24663. "description": "支付金额",
  24664. "type": "number"
  24665. },
  24666. "payflag": {
  24667. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24668. "type": "integer"
  24669. },
  24670. "paylimitedtime": {
  24671. "description": "支付期限",
  24672. "type": "string"
  24673. },
  24674. "paytime": {
  24675. "description": "付款时间",
  24676. "type": "string"
  24677. },
  24678. "qtydecimalplace": {
  24679. "description": "成交量小数位",
  24680. "type": "integer"
  24681. },
  24682. "sellaccountid": {
  24683. "description": "卖方账号ID[报价币种]",
  24684. "type": "integer"
  24685. },
  24686. "sellorderid": {
  24687. "description": "卖方委托单号",
  24688. "type": "string"
  24689. },
  24690. "tradeamount": {
  24691. "description": "成交金额(优惠后金额)",
  24692. "type": "number"
  24693. },
  24694. "tradecharge": {
  24695. "description": "成交手续费(买方)",
  24696. "type": "number"
  24697. },
  24698. "tradedate": {
  24699. "description": "交易日(yyyyMMdd)",
  24700. "type": "string"
  24701. },
  24702. "tradeid": {
  24703. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24704. "type": "string"
  24705. },
  24706. "tradeprice": {
  24707. "description": "成交价格",
  24708. "type": "number"
  24709. },
  24710. "tradeqty": {
  24711. "description": "成交数量",
  24712. "type": "number"
  24713. }
  24714. }
  24715. },
  24716. "models.QhjPickArea": {
  24717. "type": "object",
  24718. "properties": {
  24719. "address": {
  24720. "description": "详细地址",
  24721. "type": "string"
  24722. },
  24723. "cityid": {
  24724. "description": "市",
  24725. "type": "integer"
  24726. },
  24727. "cityname": {
  24728. "description": "城市名称",
  24729. "type": "string"
  24730. },
  24731. "countryid": {
  24732. "description": "国家",
  24733. "type": "integer"
  24734. },
  24735. "countryname": {
  24736. "description": "国家名称",
  24737. "type": "string"
  24738. },
  24739. "districtid": {
  24740. "description": "地区",
  24741. "type": "integer"
  24742. },
  24743. "districtname": {
  24744. "description": "地区名称",
  24745. "type": "string"
  24746. },
  24747. "fromuserid": {
  24748. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  24749. "type": "integer"
  24750. },
  24751. "fromusername": {
  24752. "description": "所属机构名称",
  24753. "type": "string"
  24754. },
  24755. "provinceid": {
  24756. "description": "省",
  24757. "type": "integer"
  24758. },
  24759. "provincename": {
  24760. "description": "省名称",
  24761. "type": "string"
  24762. },
  24763. "suborgtype": {
  24764. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  24765. "type": "integer"
  24766. },
  24767. "userid": {
  24768. "description": "机构用户ID 其他做市关系,都设置为 1",
  24769. "type": "integer"
  24770. },
  24771. "username": {
  24772. "description": "机构用户名称(门店门称)",
  24773. "type": "string"
  24774. }
  24775. }
  24776. },
  24777. "models.QhjPickGoods": {
  24778. "type": "object",
  24779. "properties": {
  24780. "enumdicname": {
  24781. "description": "单位名称(提货商品)",
  24782. "type": "string"
  24783. },
  24784. "goodsid": {
  24785. "description": "商品id",
  24786. "type": "integer"
  24787. },
  24788. "imageaddress": {
  24789. "description": "图片",
  24790. "type": "string"
  24791. },
  24792. "modifierid": {
  24793. "description": "修改人",
  24794. "type": "integer"
  24795. },
  24796. "modifiername": {
  24797. "description": "修改人名称",
  24798. "type": "string"
  24799. },
  24800. "modifysrc": {
  24801. "description": "修改来源 - 1:管理端 2:终端",
  24802. "type": "integer"
  24803. },
  24804. "pickupgoodsagreeunit": {
  24805. "description": "合约乘数",
  24806. "type": "number"
  24807. },
  24808. "pickupgoodsdesc": {
  24809. "description": "描述",
  24810. "type": "string"
  24811. },
  24812. "pickupgoodsid": {
  24813. "description": "提货商品ID",
  24814. "type": "string"
  24815. },
  24816. "pickupgoodsname": {
  24817. "description": "提货商品名称",
  24818. "type": "string"
  24819. },
  24820. "pickupgoodsstatus": {
  24821. "description": "状态 - 1:正常 2:停用 3:注销",
  24822. "type": "integer"
  24823. },
  24824. "pickupgoodsunitid": {
  24825. "description": "单位ID",
  24826. "type": "integer"
  24827. },
  24828. "pickupratio": {
  24829. "description": "提货系数",
  24830. "type": "number"
  24831. },
  24832. "preparedays": {
  24833. "description": "备货期(天)",
  24834. "type": "integer"
  24835. },
  24836. "remark": {
  24837. "description": "备注",
  24838. "type": "string"
  24839. },
  24840. "updatetime": {
  24841. "description": "更新时间",
  24842. "type": "string"
  24843. }
  24844. }
  24845. },
  24846. "models.QhjRSTriggerLog": {
  24847. "type": "object",
  24848. "properties": {
  24849. "accountid": {
  24850. "description": "用户资金账户",
  24851. "type": "integer"
  24852. },
  24853. "accountname": {
  24854. "description": "账号名称(ACCOUNTID对应的名称)",
  24855. "type": "string"
  24856. },
  24857. "currencyid": {
  24858. "description": "币种id",
  24859. "type": "integer"
  24860. },
  24861. "currencyname": {
  24862. "description": "币种名称",
  24863. "type": "string"
  24864. },
  24865. "decimalplace": {
  24866. "description": "商品报价小数位",
  24867. "type": "integer"
  24868. },
  24869. "enumdicname": {
  24870. "description": "单位名称",
  24871. "type": "string"
  24872. },
  24873. "goodscode": {
  24874. "description": "定投商品代码",
  24875. "type": "string"
  24876. },
  24877. "goodsid": {
  24878. "description": "定投商品ID",
  24879. "type": "integer"
  24880. },
  24881. "goodsname": {
  24882. "description": "定投商品名称",
  24883. "type": "string"
  24884. },
  24885. "goodunitid": {
  24886. "description": "定投商品单位id",
  24887. "type": "integer"
  24888. },
  24889. "logid": {
  24890. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  24891. "type": "string"
  24892. },
  24893. "logincode": {
  24894. "description": "账号(登录代码)",
  24895. "type": "string"
  24896. },
  24897. "qtydecimalplace": {
  24898. "description": "成交量小数位",
  24899. "type": "integer"
  24900. },
  24901. "regularlycycle": {
  24902. "description": "定投频率 - 1:每周 2:每月",
  24903. "type": "integer"
  24904. },
  24905. "regularlycyclevalue": {
  24906. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  24907. "type": "string"
  24908. },
  24909. "regularlymode": {
  24910. "description": "定投方式 - 1:按数量 2:按金额",
  24911. "type": "integer"
  24912. },
  24913. "regularlymodevalue": {
  24914. "description": "定投方式值 - 数量或金额",
  24915. "type": "number"
  24916. },
  24917. "regularlystrategyid": {
  24918. "description": "定投策略ID",
  24919. "type": "integer"
  24920. },
  24921. "retcode": {
  24922. "description": "错误码",
  24923. "type": "string"
  24924. },
  24925. "tradeid": {
  24926. "description": "成交单ID",
  24927. "type": "string"
  24928. },
  24929. "triggeramount": {
  24930. "description": "触发金额",
  24931. "type": "number"
  24932. },
  24933. "triggerqty": {
  24934. "description": "触发数量",
  24935. "type": "number"
  24936. },
  24937. "triggerstatus": {
  24938. "description": "触发状态 - 1:成功 2:失败",
  24939. "type": "integer"
  24940. },
  24941. "triggertime": {
  24942. "description": "触发时间",
  24943. "type": "string"
  24944. },
  24945. "triggertradedate": {
  24946. "description": "触发交易日",
  24947. "type": "string"
  24948. },
  24949. "userid": {
  24950. "description": "所属用户ID",
  24951. "type": "integer"
  24952. },
  24953. "userinfotype": {
  24954. "description": "用户类型 1-个人 2-企业",
  24955. "type": "integer"
  24956. },
  24957. "username": {
  24958. "description": "用户名称(userid对应的名称)",
  24959. "type": "string"
  24960. }
  24961. }
  24962. },
  24963. "models.QhjRStrategy": {
  24964. "type": "object",
  24965. "properties": {
  24966. "accountid": {
  24967. "description": "用户资金账户",
  24968. "type": "integer"
  24969. },
  24970. "accountname": {
  24971. "description": "账号名称(ACCOUNTID对应的名称)",
  24972. "type": "string"
  24973. },
  24974. "currencyid": {
  24975. "description": "币种id",
  24976. "type": "integer"
  24977. },
  24978. "currencyname": {
  24979. "description": "币种名称",
  24980. "type": "string"
  24981. },
  24982. "decimalplace": {
  24983. "description": "商品报价小数位",
  24984. "type": "integer"
  24985. },
  24986. "enumdicname": {
  24987. "description": "单位名称",
  24988. "type": "string"
  24989. },
  24990. "goodscode": {
  24991. "description": "定投商品代码",
  24992. "type": "string"
  24993. },
  24994. "goodsid": {
  24995. "description": "定投商品ID",
  24996. "type": "integer"
  24997. },
  24998. "goodsname": {
  24999. "description": "定投商品名称",
  25000. "type": "string"
  25001. },
  25002. "goodunitid": {
  25003. "description": "定投商品单位id",
  25004. "type": "integer"
  25005. },
  25006. "lasteffecttradedate": {
  25007. "description": "最新生效交易日",
  25008. "type": "string"
  25009. },
  25010. "laststoptradedate": {
  25011. "description": "最新暂停交易日",
  25012. "type": "string"
  25013. },
  25014. "lasttriggertradedate": {
  25015. "description": "最新触发交易日",
  25016. "type": "string"
  25017. },
  25018. "logincode": {
  25019. "description": "账号(登录代码)",
  25020. "type": "string"
  25021. },
  25022. "nexttriggeramount": {
  25023. "description": "下次触发金额",
  25024. "type": "number"
  25025. },
  25026. "nexttriggerdate": {
  25027. "description": "下次触发日期",
  25028. "type": "string"
  25029. },
  25030. "nexttriggerqty": {
  25031. "description": "下次触发数量 [按小数位放大值]",
  25032. "type": "number"
  25033. },
  25034. "qtydecimalplace": {
  25035. "description": "成交量小数位",
  25036. "type": "integer"
  25037. },
  25038. "regularlycycle": {
  25039. "description": "定投频率 - 1:每周 2:每月",
  25040. "type": "integer"
  25041. },
  25042. "regularlycyclevalue": {
  25043. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25044. "type": "string"
  25045. },
  25046. "regularlymode": {
  25047. "description": "定投方式 - 1:按数量 2:按金额",
  25048. "type": "integer"
  25049. },
  25050. "regularlymodevalue": {
  25051. "description": "定投方式值 - 数量或金额",
  25052. "type": "number"
  25053. },
  25054. "regularlystrategyid": {
  25055. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  25056. "type": "integer"
  25057. },
  25058. "regularlystrategystatus": {
  25059. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  25060. "type": "integer"
  25061. },
  25062. "remark": {
  25063. "description": "备注",
  25064. "type": "string"
  25065. },
  25066. "triggersuccesstimes": {
  25067. "description": "累计定投成功次数",
  25068. "type": "string"
  25069. },
  25070. "triggertotalamount": {
  25071. "description": "累计定投金额(成功)",
  25072. "type": "number"
  25073. },
  25074. "triggertotalqty": {
  25075. "description": "累计定投数量(成功) [按小数位放大值]",
  25076. "type": "number"
  25077. },
  25078. "triggertotaltimes": {
  25079. "description": "累计定投总次数",
  25080. "type": "string"
  25081. },
  25082. "updatesrc": {
  25083. "description": "更新来源 - 1:管理端 2:终端",
  25084. "type": "integer"
  25085. },
  25086. "updatetime": {
  25087. "description": "更新时间",
  25088. "type": "string"
  25089. },
  25090. "updatorid": {
  25091. "description": "更新人",
  25092. "type": "string"
  25093. },
  25094. "userid": {
  25095. "description": "所属用户ID",
  25096. "type": "integer"
  25097. },
  25098. "userinfotype": {
  25099. "description": "用户类型 1-个人 2-企业",
  25100. "type": "integer"
  25101. },
  25102. "username": {
  25103. "description": "用户名称(userid对应的名称)",
  25104. "type": "string"
  25105. }
  25106. }
  25107. },
  25108. "models.QhjReckonPriceLog": {
  25109. "type": "object",
  25110. "properties": {
  25111. "decimalplace": {
  25112. "description": "商品报价小数位",
  25113. "type": "integer"
  25114. },
  25115. "goodscode": {
  25116. "description": "商品代码",
  25117. "type": "string"
  25118. },
  25119. "goodsid": {
  25120. "description": "商品ID",
  25121. "type": "integer"
  25122. },
  25123. "goodsname": {
  25124. "description": "商品名称",
  25125. "type": "string"
  25126. },
  25127. "lastreckonprice": {
  25128. "description": "上日结算价",
  25129. "type": "number"
  25130. },
  25131. "nextdnlimitprice": {
  25132. "description": "下个交易日跌停价",
  25133. "type": "number"
  25134. },
  25135. "nexttrade": {
  25136. "description": "下个交易日",
  25137. "type": "string"
  25138. },
  25139. "nextuplimitprice": {
  25140. "description": "下个交易日涨停价",
  25141. "type": "number"
  25142. },
  25143. "reckonprice": {
  25144. "description": "今日结算价(定投价)",
  25145. "type": "number"
  25146. },
  25147. "reckontime": {
  25148. "description": "结算时间",
  25149. "type": "string"
  25150. },
  25151. "totalholderqty": {
  25152. "description": "总持仓数",
  25153. "type": "integer"
  25154. },
  25155. "totalstock": {
  25156. "description": "总库存",
  25157. "type": "integer"
  25158. },
  25159. "tradedate": {
  25160. "description": "交易日",
  25161. "type": "string"
  25162. },
  25163. "updowncount": {
  25164. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  25165. "type": "integer"
  25166. },
  25167. "updownflag": {
  25168. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  25169. "type": "integer"
  25170. },
  25171. "updownrate": {
  25172. "description": "今日涨跌幅",
  25173. "type": "number"
  25174. },
  25175. "updownrate_2d": {
  25176. "description": "连续两日涨跌幅",
  25177. "type": "number"
  25178. },
  25179. "updownrate_3d": {
  25180. "description": "连续三日涨跌幅",
  25181. "type": "number"
  25182. }
  25183. }
  25184. },
  25185. "models.QhjSiteColumnDetail": {
  25186. "type": "object",
  25187. "properties": {
  25188. "author": {
  25189. "description": "作者",
  25190. "type": "string"
  25191. },
  25192. "brief": {
  25193. "description": "简介",
  25194. "type": "string"
  25195. },
  25196. "columnid": {
  25197. "description": "所属栏目",
  25198. "type": "integer"
  25199. },
  25200. "context": {
  25201. "description": "内容",
  25202. "type": "string"
  25203. },
  25204. "coverimage": {
  25205. "description": "封面图片",
  25206. "type": "string"
  25207. },
  25208. "creaedate": {
  25209. "description": "创建时间",
  25210. "type": "string"
  25211. },
  25212. "creatorid": {
  25213. "description": "创建人",
  25214. "type": "integer"
  25215. },
  25216. "hits": {
  25217. "description": "点击数",
  25218. "type": "integer"
  25219. },
  25220. "id": {
  25221. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  25222. "type": "integer"
  25223. },
  25224. "isshow": {
  25225. "description": "是否展示 - 0:不展示 1:展示",
  25226. "type": "integer"
  25227. },
  25228. "istop": {
  25229. "description": "是否置顶 - 0:不置 1:置顶",
  25230. "type": "integer"
  25231. },
  25232. "modifierid": {
  25233. "description": "操作人",
  25234. "type": "integer"
  25235. },
  25236. "publishdate": {
  25237. "description": "发布日期",
  25238. "type": "string"
  25239. },
  25240. "status": {
  25241. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  25242. "type": "integer"
  25243. },
  25244. "title": {
  25245. "description": "标题",
  25246. "type": "string"
  25247. },
  25248. "updatedate": {
  25249. "description": "修改时间",
  25250. "type": "string"
  25251. },
  25252. "userid": {
  25253. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  25254. "type": "integer"
  25255. },
  25256. "username": {
  25257. "description": "用户名称",
  25258. "type": "string"
  25259. }
  25260. }
  25261. },
  25262. "models.QhjTradeGoodsPickup": {
  25263. "type": "object",
  25264. "properties": {
  25265. "accountid": {
  25266. "description": "账户ID",
  25267. "type": "integer"
  25268. },
  25269. "address": {
  25270. "description": "提货人详细地址",
  25271. "type": "string"
  25272. },
  25273. "amount": {
  25274. "description": "提货金额",
  25275. "type": "number"
  25276. },
  25277. "artradedate": {
  25278. "description": "自动收货交易日(yyyyMMdd)",
  25279. "type": "string"
  25280. },
  25281. "auditer": {
  25282. "description": "审核人",
  25283. "type": "integer"
  25284. },
  25285. "auditsrc": {
  25286. "description": "更新来源 - 1:管理端 2:终端",
  25287. "type": "integer"
  25288. },
  25289. "audittime": {
  25290. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  25291. "type": "string"
  25292. },
  25293. "audittradedate": {
  25294. "description": "审核交易日(yyyyMMdd)",
  25295. "type": "string"
  25296. },
  25297. "cardnum": {
  25298. "description": "提货人证件号码",
  25299. "type": "string"
  25300. },
  25301. "cardtypeid": {
  25302. "description": "提货人证件类型",
  25303. "type": "integer"
  25304. },
  25305. "checkremark": {
  25306. "description": "审核备注",
  25307. "type": "string"
  25308. },
  25309. "cityid": {
  25310. "description": "市",
  25311. "type": "integer"
  25312. },
  25313. "cityname": {
  25314. "description": "城市名称",
  25315. "type": "string"
  25316. },
  25317. "confirmtime": {
  25318. "description": "取货时间 或 收货时间",
  25319. "type": "string"
  25320. },
  25321. "countryid": {
  25322. "description": "国家",
  25323. "type": "integer"
  25324. },
  25325. "countryname": {
  25326. "description": "国家名称",
  25327. "type": "string"
  25328. },
  25329. "decimalplace": {
  25330. "description": "商品报价小数位",
  25331. "type": "integer"
  25332. },
  25333. "districtid": {
  25334. "description": "地区",
  25335. "type": "integer"
  25336. },
  25337. "districtname": {
  25338. "description": "地区名称",
  25339. "type": "string"
  25340. },
  25341. "enumdicname": {
  25342. "description": "单位名称(提货商品)",
  25343. "type": "string"
  25344. },
  25345. "expresscompany": {
  25346. "description": "物流公司",
  25347. "type": "string"
  25348. },
  25349. "expressnum": {
  25350. "description": "物流单号",
  25351. "type": "string"
  25352. },
  25353. "goodsagreeunit": {
  25354. "description": "交易商品乘数",
  25355. "type": "number"
  25356. },
  25357. "goodscode": {
  25358. "description": "商品代码",
  25359. "type": "string"
  25360. },
  25361. "goodsid": {
  25362. "description": "商品ID",
  25363. "type": "integer"
  25364. },
  25365. "goodsname": {
  25366. "description": "商品名称",
  25367. "type": "string"
  25368. },
  25369. "goodsqty": {
  25370. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  25371. "type": "number"
  25372. },
  25373. "handlestatus": {
  25374. "description": "处理状态",
  25375. "type": "integer"
  25376. },
  25377. "logincode": {
  25378. "description": "账号(登录代码, 有可能为空)",
  25379. "type": "string"
  25380. },
  25381. "marketid": {
  25382. "description": "市场ID",
  25383. "type": "integer"
  25384. },
  25385. "phonenum": {
  25386. "description": "提货人联系方式",
  25387. "type": "string"
  25388. },
  25389. "pickupgoodsagreeunit": {
  25390. "description": "提货商品合约乘数",
  25391. "type": "number"
  25392. },
  25393. "pickupgoodsid": {
  25394. "description": "提货商品ID",
  25395. "type": "string"
  25396. },
  25397. "pickupgoodsname": {
  25398. "description": "提货商品名称",
  25399. "type": "string"
  25400. },
  25401. "pickupgoodsqty": {
  25402. "description": "提货商品手数(数量)",
  25403. "type": "number"
  25404. },
  25405. "pickupgoodsunitid": {
  25406. "description": "单位ID(提货商品)",
  25407. "type": "integer"
  25408. },
  25409. "pickupratio": {
  25410. "description": "提货系数",
  25411. "type": "number"
  25412. },
  25413. "preparedays": {
  25414. "description": "备货期(天)-提货单明细表",
  25415. "type": "integer"
  25416. },
  25417. "provinceid": {
  25418. "description": "省",
  25419. "type": "integer"
  25420. },
  25421. "provincename": {
  25422. "description": "省名称",
  25423. "type": "string"
  25424. },
  25425. "qty": {
  25426. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  25427. "type": "number"
  25428. },
  25429. "qtydecimalplace": {
  25430. "description": "商品数量小数位",
  25431. "type": "integer"
  25432. },
  25433. "recivername": {
  25434. "description": "提货人姓名",
  25435. "type": "string"
  25436. },
  25437. "reqtime": {
  25438. "description": "提货申请时间",
  25439. "type": "string"
  25440. },
  25441. "storeuserid": {
  25442. "description": "门店用户ID (千海金)",
  25443. "type": "integer"
  25444. },
  25445. "storeusername": {
  25446. "description": "门店用户名称",
  25447. "type": "string"
  25448. },
  25449. "takemode": {
  25450. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  25451. "type": "integer"
  25452. },
  25453. "takeorderid": {
  25454. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25455. "type": "string"
  25456. },
  25457. "takeorderstatus": {
  25458. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  25459. "type": "integer"
  25460. },
  25461. "takeremark": {
  25462. "description": "提货备注",
  25463. "type": "string"
  25464. },
  25465. "tradedate": {
  25466. "description": "交易日(yyyyMMdd)",
  25467. "type": "string"
  25468. },
  25469. "updatetime": {
  25470. "description": "更新时间",
  25471. "type": "string"
  25472. },
  25473. "userid": {
  25474. "description": "用户ID",
  25475. "type": "integer"
  25476. },
  25477. "userinfotype": {
  25478. "description": "客户类型 1-个人 2-企业",
  25479. "type": "integer"
  25480. },
  25481. "username": {
  25482. "description": "用户名称",
  25483. "type": "string"
  25484. }
  25485. }
  25486. },
  25487. "models.QhjUserNodeCfgAndStatus": {
  25488. "type": "object",
  25489. "properties": {
  25490. "agreementcontent": {
  25491. "description": "协议内容",
  25492. "type": "string"
  25493. },
  25494. "agreementid": {
  25495. "description": "协议ID",
  25496. "type": "integer"
  25497. },
  25498. "agreementname": {
  25499. "description": "协议名称",
  25500. "type": "string"
  25501. },
  25502. "agreementno": {
  25503. "description": "协议编号",
  25504. "type": "string"
  25505. },
  25506. "agreementtype": {
  25507. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25508. "type": "integer"
  25509. },
  25510. "agreementversion": {
  25511. "description": "协议版本号",
  25512. "type": "integer"
  25513. },
  25514. "configid": {
  25515. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25516. "type": "integer"
  25517. },
  25518. "createtime": {
  25519. "description": "创建时间",
  25520. "type": "string"
  25521. },
  25522. "goodsid": {
  25523. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25524. "type": "integer"
  25525. },
  25526. "nodetype": {
  25527. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25528. "type": "integer"
  25529. },
  25530. "signtimestamp": {
  25531. "description": "签约状态时间戳(最近一次)",
  25532. "type": "string"
  25533. },
  25534. "tradedate": {
  25535. "description": "签约交易日(yyyyMMdd)",
  25536. "type": "string"
  25537. },
  25538. "userid": {
  25539. "description": "客户ID",
  25540. "type": "integer"
  25541. }
  25542. }
  25543. },
  25544. "models.Qhjgoodsex": {
  25545. "type": "object",
  25546. "properties": {
  25547. "canfinance": {
  25548. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  25549. "type": "integer"
  25550. },
  25551. "canregularlybuy": {
  25552. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  25553. "type": "integer"
  25554. },
  25555. "defaulttradeuserid": {
  25556. "description": "默认交易用户ID",
  25557. "type": "integer"
  25558. },
  25559. "deliverygoodsid": {
  25560. "description": "现货品种ID",
  25561. "type": "integer"
  25562. },
  25563. "goodsid": {
  25564. "description": "商品ID(自增ID SEQ_GOODS)",
  25565. "type": "integer"
  25566. },
  25567. "minamount": {
  25568. "description": "最小购买金额",
  25569. "type": "number"
  25570. },
  25571. "regularlybuyminamount": {
  25572. "description": "定投最小金额",
  25573. "type": "number"
  25574. },
  25575. "regularlybuyminqty": {
  25576. "description": "定投最小数量",
  25577. "type": "number"
  25578. },
  25579. "spotgoodsbrandid": {
  25580. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  25581. "type": "integer"
  25582. },
  25583. "visibilityforenterprise": {
  25584. "description": "企业客户是否可见 - 0:不可见 1:可见",
  25585. "type": "integer"
  25586. },
  25587. "visibilityforpersonal": {
  25588. "description": "个人客户是否可见 - 0:不可见 1:可见",
  25589. "type": "integer"
  25590. },
  25591. "wrstandardid": {
  25592. "description": "现货商品ID",
  25593. "type": "integer"
  25594. }
  25595. }
  25596. },
  25597. "models.QueryErrorInfosRsp": {
  25598. "type": "object",
  25599. "required": [
  25600. "errorid"
  25601. ],
  25602. "properties": {
  25603. "description": {
  25604. "description": "异常描述",
  25605. "type": "string"
  25606. },
  25607. "errorcode": {
  25608. "description": "异常代码",
  25609. "type": "string"
  25610. },
  25611. "errorid": {
  25612. "description": "异常ID",
  25613. "type": "integer"
  25614. },
  25615. "modulecode": {
  25616. "description": "所属模块",
  25617. "type": "string"
  25618. },
  25619. "operatecode": {
  25620. "description": "所属操作",
  25621. "type": "string"
  25622. },
  25623. "rownumber": {
  25624. "description": "行号",
  25625. "type": "string"
  25626. }
  25627. }
  25628. },
  25629. "models.QueryHedgeOrderDetailRsp": {
  25630. "type": "object",
  25631. "properties": {
  25632. "accountid": {
  25633. "description": "账户ID",
  25634. "type": "integer"
  25635. },
  25636. "buyorsell": {
  25637. "description": "买卖 - 0:买 1:卖",
  25638. "type": "integer"
  25639. },
  25640. "cancellogincode": {
  25641. "description": "撤单人",
  25642. "type": "string"
  25643. },
  25644. "channelbuildtype": {
  25645. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  25646. "type": "integer"
  25647. },
  25648. "channelinnerorderstatus": {
  25649. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  25650. "type": "integer"
  25651. },
  25652. "channeloperatetype": {
  25653. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  25654. "type": "integer"
  25655. },
  25656. "closetype": {
  25657. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25658. "type": "integer"
  25659. },
  25660. "curexchangerate": {
  25661. "description": "当前汇率",
  25662. "type": "number"
  25663. },
  25664. "exchangefullname": {
  25665. "description": "外部交易所全称",
  25666. "type": "string"
  25667. },
  25668. "goodscode": {
  25669. "description": "商品代码(内部)",
  25670. "type": "string"
  25671. },
  25672. "goodsid": {
  25673. "description": "商品ID",
  25674. "type": "integer"
  25675. },
  25676. "goodsname": {
  25677. "description": "商品名称",
  25678. "type": "string"
  25679. },
  25680. "marketid": {
  25681. "description": "市场ID",
  25682. "type": "integer"
  25683. },
  25684. "openfreezemargin": {
  25685. "description": "冻结保证金(冻结交易金额)",
  25686. "type": "number"
  25687. },
  25688. "orderid": {
  25689. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25690. "type": "string"
  25691. },
  25692. "orderlogincode": {
  25693. "description": "委托人",
  25694. "type": "string"
  25695. },
  25696. "orderprice": {
  25697. "description": "委托价格(账户)",
  25698. "type": "number"
  25699. },
  25700. "orderqty": {
  25701. "description": "委托数量",
  25702. "type": "integer"
  25703. },
  25704. "ordertime": {
  25705. "description": "委托时间",
  25706. "type": "string"
  25707. },
  25708. "pricemode": {
  25709. "description": "取价方式 - 1:市价 2: 限价",
  25710. "type": "integer"
  25711. },
  25712. "tradedate": {
  25713. "description": "交易日(yyyyMMdd)",
  25714. "type": "string"
  25715. },
  25716. "tradeqty": {
  25717. "description": "成交数量",
  25718. "type": "integer"
  25719. }
  25720. }
  25721. },
  25722. "models.QueryHedgeTradeDetailRsp": {
  25723. "type": "object",
  25724. "properties": {
  25725. "accountid": {
  25726. "description": "账号ID",
  25727. "type": "integer"
  25728. },
  25729. "buyorsell": {
  25730. "description": "方向 - 0:买 1:卖",
  25731. "type": "integer"
  25732. },
  25733. "channelbuildtype": {
  25734. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25735. "type": "integer"
  25736. },
  25737. "closecharge": {
  25738. "description": "平仓手续费(账户)",
  25739. "type": "number"
  25740. },
  25741. "closecharge2": {
  25742. "description": "平仓手续费(商品)",
  25743. "type": "number"
  25744. },
  25745. "closepl": {
  25746. "description": "平仓盈亏(账户)",
  25747. "type": "number"
  25748. },
  25749. "closepl2": {
  25750. "description": "平仓盈亏(商品)",
  25751. "type": "number"
  25752. },
  25753. "closepl3": {
  25754. "description": "平仓盈亏(账户)(逐笔)",
  25755. "type": "number"
  25756. },
  25757. "closepl4": {
  25758. "description": "平仓盈亏(商品)(逐笔)",
  25759. "type": "number"
  25760. },
  25761. "closetype": {
  25762. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25763. "type": "integer"
  25764. },
  25765. "curexchangerate": {
  25766. "description": "当前汇率",
  25767. "type": "number"
  25768. },
  25769. "exchangefullname": {
  25770. "description": "外部交易所全称",
  25771. "type": "string"
  25772. },
  25773. "goodscode": {
  25774. "description": "商品代码(内部)",
  25775. "type": "string"
  25776. },
  25777. "goodsid": {
  25778. "description": "商品ID",
  25779. "type": "integer"
  25780. },
  25781. "goodsname": {
  25782. "description": "商品名称",
  25783. "type": "string"
  25784. },
  25785. "marketid": {
  25786. "description": "市场ID",
  25787. "type": "integer"
  25788. },
  25789. "opencharge": {
  25790. "description": "建仓手续费(账户)",
  25791. "type": "number"
  25792. },
  25793. "opencharge2": {
  25794. "description": "建仓手续费(商品)",
  25795. "type": "number"
  25796. },
  25797. "orderid": {
  25798. "description": "委托单号",
  25799. "type": "string"
  25800. },
  25801. "orderlogincode": {
  25802. "description": "委托人",
  25803. "type": "string"
  25804. },
  25805. "tradeamount": {
  25806. "description": "成交金额(账户)",
  25807. "type": "number"
  25808. },
  25809. "tradedate": {
  25810. "description": "交易日(yyyyMMdd)",
  25811. "type": "string"
  25812. },
  25813. "tradeid": {
  25814. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25815. "type": "string"
  25816. },
  25817. "tradeprice": {
  25818. "description": "成交价格",
  25819. "type": "number"
  25820. },
  25821. "tradeqty": {
  25822. "description": "成交数量",
  25823. "type": "integer"
  25824. },
  25825. "tradetime": {
  25826. "description": "成交时间",
  25827. "type": "string"
  25828. },
  25829. "tradetype": {
  25830. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25831. "type": "integer"
  25832. }
  25833. }
  25834. },
  25835. "models.QuotePrimaryMenu": {
  25836. "type": "object",
  25837. "properties": {
  25838. "Index": {
  25839. "description": "序号",
  25840. "type": "integer"
  25841. },
  25842. "Key": {
  25843. "description": "键名",
  25844. "type": "string"
  25845. },
  25846. "Name": {
  25847. "description": "菜单名称",
  25848. "type": "string"
  25849. },
  25850. "SubMenus": {
  25851. "description": "子菜单",
  25852. "type": "array",
  25853. "items": {
  25854. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  25855. }
  25856. },
  25857. "SubTitleType": {
  25858. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  25859. "type": "integer"
  25860. },
  25861. "TradeModes": {
  25862. "description": "包含市场交易类型",
  25863. "type": "string"
  25864. }
  25865. }
  25866. },
  25867. "models.QuoteSecondaryMenu": {
  25868. "type": "object",
  25869. "properties": {
  25870. "ExExchangeCode": {
  25871. "description": "外部交易所代码",
  25872. "type": "string"
  25873. },
  25874. "ExExchangeID": {
  25875. "description": "外部交易所ID",
  25876. "type": "integer"
  25877. },
  25878. "GoodsGroupIDs": {
  25879. "description": "商品组ID列表",
  25880. "type": "array",
  25881. "items": {
  25882. "type": "integer"
  25883. }
  25884. },
  25885. "Index": {
  25886. "description": "序号",
  25887. "type": "integer"
  25888. },
  25889. "MarketID": {
  25890. "description": "市场ID",
  25891. "type": "integer"
  25892. },
  25893. "MenuTitle": {
  25894. "description": "菜单标题(市场名称或外部交易所名称)",
  25895. "type": "string"
  25896. },
  25897. "TradeMode": {
  25898. "description": "交易模式",
  25899. "type": "integer"
  25900. }
  25901. }
  25902. },
  25903. "models.SearchGoods": {
  25904. "type": "object",
  25905. "required": [
  25906. "goodscode",
  25907. "goodsid",
  25908. "goodsname",
  25909. "marketid",
  25910. "trademode"
  25911. ],
  25912. "properties": {
  25913. "goodscode": {
  25914. "description": "商品代码(内部)",
  25915. "type": "string"
  25916. },
  25917. "goodsid": {
  25918. "description": "商品ID(自增ID SEQ_GOODS)",
  25919. "type": "integer"
  25920. },
  25921. "goodsname": {
  25922. "description": "商品名称",
  25923. "type": "string"
  25924. },
  25925. "marketid": {
  25926. "description": "所属市场ID",
  25927. "type": "integer"
  25928. },
  25929. "marketname": {
  25930. "description": "市场名称",
  25931. "type": "string"
  25932. },
  25933. "trademode": {
  25934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25935. "type": "integer"
  25936. }
  25937. }
  25938. },
  25939. "models.Systemparam": {
  25940. "type": "object",
  25941. "required": [
  25942. "paramcode"
  25943. ],
  25944. "properties": {
  25945. "loginid": {
  25946. "description": "更新用户账号,登录账号",
  25947. "type": "string"
  25948. },
  25949. "modifyflag": {
  25950. "description": "修改标志0 不允许修改 1 允许修改",
  25951. "type": "integer"
  25952. },
  25953. "paramcode": {
  25954. "description": "参数代码",
  25955. "type": "string"
  25956. },
  25957. "paramname": {
  25958. "description": "参数名",
  25959. "type": "string"
  25960. },
  25961. "paramtype": {
  25962. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  25963. "type": "integer"
  25964. },
  25965. "paramvalue": {
  25966. "description": "参数值",
  25967. "type": "string"
  25968. },
  25969. "paramvalue2": {
  25970. "description": "参数值(CLOB)",
  25971. "type": "string"
  25972. },
  25973. "regexpress": {
  25974. "description": "正则表达式",
  25975. "type": "string"
  25976. },
  25977. "remark": {
  25978. "description": "备注",
  25979. "type": "string"
  25980. },
  25981. "serverip": {
  25982. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  25983. "type": "string"
  25984. },
  25985. "showflag": {
  25986. "description": "是否显示0 不显示 1 显示",
  25987. "type": "integer"
  25988. },
  25989. "updatetime": {
  25990. "description": "更新时间",
  25991. "type": "string"
  25992. },
  25993. "userid": {
  25994. "description": "更新用户ID",
  25995. "type": "integer"
  25996. }
  25997. }
  25998. },
  25999. "models.Szdz3convertconfig": {
  26000. "type": "object",
  26001. "required": [
  26002. "converttype",
  26003. "innergoodsid",
  26004. "outergoodscode"
  26005. ],
  26006. "properties": {
  26007. "canin": {
  26008. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  26009. "type": "integer"
  26010. },
  26011. "canout": {
  26012. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  26013. "type": "integer"
  26014. },
  26015. "converttype": {
  26016. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  26017. "type": "integer"
  26018. },
  26019. "createtime": {
  26020. "description": "创建时间",
  26021. "type": "string"
  26022. },
  26023. "creatorid": {
  26024. "description": "创建人",
  26025. "type": "integer"
  26026. },
  26027. "daymaxvalue": {
  26028. "description": "当日最大转入限制",
  26029. "type": "number"
  26030. },
  26031. "freezedays": {
  26032. "description": "冻结天数 [5:花生米转交易]",
  26033. "type": "integer"
  26034. },
  26035. "innergoodsid": {
  26036. "description": "内部商品ID[交易]",
  26037. "type": "integer"
  26038. },
  26039. "inratio": {
  26040. "description": "目标值",
  26041. "type": "integer"
  26042. },
  26043. "modifierid": {
  26044. "description": "修改人",
  26045. "type": "integer"
  26046. },
  26047. "modifytime": {
  26048. "description": "修改时间",
  26049. "type": "string"
  26050. },
  26051. "outergoodscode": {
  26052. "description": "外部商品代码[JD\\PD]",
  26053. "type": "string"
  26054. },
  26055. "outratio": {
  26056. "description": "源值",
  26057. "type": "integer"
  26058. },
  26059. "pddecimalplace": {
  26060. "description": "PD小数位",
  26061. "type": "integer"
  26062. },
  26063. "timemaxvalue": {
  26064. "description": "单次最大转入限制",
  26065. "type": "number"
  26066. },
  26067. "timeminvalue": {
  26068. "description": "单次最小转入限制",
  26069. "type": "number"
  26070. }
  26071. }
  26072. },
  26073. "models.Szdz3searchwhitelist": {
  26074. "type": "object",
  26075. "required": [
  26076. "userid"
  26077. ],
  26078. "properties": {
  26079. "createtime": {
  26080. "description": "创建时间",
  26081. "type": "string"
  26082. },
  26083. "creatorid": {
  26084. "description": "创建人",
  26085. "type": "integer"
  26086. },
  26087. "modifierid": {
  26088. "description": "修改人",
  26089. "type": "integer"
  26090. },
  26091. "modifytime": {
  26092. "description": "修改时间",
  26093. "type": "string"
  26094. },
  26095. "userid": {
  26096. "description": "用户ID",
  26097. "type": "integer"
  26098. }
  26099. }
  26100. },
  26101. "models.Taaccount": {
  26102. "type": "object",
  26103. "required": [
  26104. "accountid",
  26105. "userid"
  26106. ],
  26107. "properties": {
  26108. "accountflag": {
  26109. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  26110. "type": "integer"
  26111. },
  26112. "accountid": {
  26113. "description": "资金账户ID",
  26114. "type": "integer"
  26115. },
  26116. "accountname": {
  26117. "description": "账户名称",
  26118. "type": "string"
  26119. },
  26120. "balance": {
  26121. "description": "期初余额",
  26122. "type": "number"
  26123. },
  26124. "capitalbalance": {
  26125. "description": "本金余额[外部子账户实际出入金余额]",
  26126. "type": "number"
  26127. },
  26128. "changeflag": {
  26129. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  26130. "type": "integer"
  26131. },
  26132. "changetime": {
  26133. "description": "账户状态变更时间",
  26134. "type": "string"
  26135. },
  26136. "closepl": {
  26137. "description": "今日平仓盈亏",
  26138. "type": "number"
  26139. },
  26140. "creditdecrease": {
  26141. "description": "今日授信减少",
  26142. "type": "number"
  26143. },
  26144. "creditincrease": {
  26145. "description": "今日授信增加",
  26146. "type": "number"
  26147. },
  26148. "currencyid": {
  26149. "description": "货币ID",
  26150. "type": "integer"
  26151. },
  26152. "currentbalance": {
  26153. "description": "期末余额",
  26154. "type": "number"
  26155. },
  26156. "freezecharge": {
  26157. "description": "手续费冻结",
  26158. "type": "number"
  26159. },
  26160. "freezemargin": {
  26161. "description": "冻结保证金",
  26162. "type": "number"
  26163. },
  26164. "fromaccountid": {
  26165. "description": "所属上级账户",
  26166. "type": "integer"
  26167. },
  26168. "inamount": {
  26169. "description": "今日入金金额(包括三方入金)",
  26170. "type": "number"
  26171. },
  26172. "ismain": {
  26173. "description": "是否母账号 0:不是母账户 1:是母账户",
  26174. "type": "integer"
  26175. },
  26176. "ismarketaccount": {
  26177. "description": "是否机构接单账号 0:不是 1:是",
  26178. "type": "integer"
  26179. },
  26180. "isreckonaccount": {
  26181. "description": "是否机构分润账号 0:不是 1:是",
  26182. "type": "integer"
  26183. },
  26184. "mortgagecredit": {
  26185. "description": "授信金额",
  26186. "type": "number"
  26187. },
  26188. "orifreezecharge": {
  26189. "description": "期初手续费冻结",
  26190. "type": "number"
  26191. },
  26192. "orifreezemargin": {
  26193. "description": "期初冻结保证金",
  26194. "type": "number"
  26195. },
  26196. "orimortgagecredit": {
  26197. "description": "期初授信金额",
  26198. "type": "number"
  26199. },
  26200. "oriothercredit": {
  26201. "description": "期初其它授信金额",
  26202. "type": "number"
  26203. },
  26204. "oriotherfreezemargin": {
  26205. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  26206. "type": "number"
  26207. },
  26208. "orioutamountfreeze": {
  26209. "description": "期初出金冻结",
  26210. "type": "number"
  26211. },
  26212. "oriusedmargin": {
  26213. "description": "期初占用保证金",
  26214. "type": "number"
  26215. },
  26216. "othercredit": {
  26217. "description": "其它授信金额",
  26218. "type": "number"
  26219. },
  26220. "othercreditdecrease": {
  26221. "description": "今日其它授信减少",
  26222. "type": "number"
  26223. },
  26224. "othercreditincrease": {
  26225. "description": "今日其它授信增加",
  26226. "type": "number"
  26227. },
  26228. "otherfreezemargin": {
  26229. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  26230. "type": "number"
  26231. },
  26232. "otherincome": {
  26233. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  26234. "type": "number"
  26235. },
  26236. "otherpay": {
  26237. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  26238. "type": "number"
  26239. },
  26240. "outamount": {
  26241. "description": "今日出金金额(包括三方出金)",
  26242. "type": "number"
  26243. },
  26244. "outamountfreeze": {
  26245. "description": "出金冻结",
  26246. "type": "number"
  26247. },
  26248. "outthreshold": {
  26249. "description": "出金阈值",
  26250. "type": "number"
  26251. },
  26252. "parentaccountid": {
  26253. "description": "所属根账号",
  26254. "type": "integer"
  26255. },
  26256. "paycharge": {
  26257. "description": "今日手续费支出",
  26258. "type": "number"
  26259. },
  26260. "relatedaccountstatus": {
  26261. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  26262. "type": "integer"
  26263. },
  26264. "relateduserid": {
  26265. "description": "关联用户",
  26266. "type": "integer"
  26267. },
  26268. "serivcegroup": {
  26269. "description": "服务分组",
  26270. "type": "integer"
  26271. },
  26272. "signstatus": {
  26273. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  26274. "type": "integer"
  26275. },
  26276. "sublevelpath": {
  26277. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  26278. "type": "string"
  26279. },
  26280. "taaccounttype": {
  26281. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  26282. "type": "integer"
  26283. },
  26284. "thirdinamount": {
  26285. "description": "今日三方入金",
  26286. "type": "number"
  26287. },
  26288. "thirdoutamount": {
  26289. "description": "今日三方出金",
  26290. "type": "number"
  26291. },
  26292. "tradestatus": {
  26293. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26294. "type": "integer"
  26295. },
  26296. "tradestatuschangetime": {
  26297. "description": "激活时间",
  26298. "type": "string"
  26299. },
  26300. "transferamount": {
  26301. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  26302. "type": "number"
  26303. },
  26304. "usedmargin": {
  26305. "description": "占用保证金",
  26306. "type": "number"
  26307. },
  26308. "userid": {
  26309. "description": "用户ID",
  26310. "type": "integer"
  26311. }
  26312. }
  26313. },
  26314. "models.Tablecolumnconfig": {
  26315. "type": "object",
  26316. "required": [
  26317. "autoid"
  26318. ],
  26319. "properties": {
  26320. "aligntype": {
  26321. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  26322. "type": "integer"
  26323. },
  26324. "autoid": {
  26325. "description": "AutoID",
  26326. "type": "integer"
  26327. },
  26328. "columnfield": {
  26329. "description": "列字段",
  26330. "type": "string"
  26331. },
  26332. "columntitle": {
  26333. "description": "列Title",
  26334. "type": "string"
  26335. },
  26336. "columnwidth": {
  26337. "description": "列宽",
  26338. "type": "string"
  26339. },
  26340. "formatterstring": {
  26341. "description": "格式化字符",
  26342. "type": "string"
  26343. },
  26344. "formattertype": {
  26345. "description": "格式化类型",
  26346. "type": "string"
  26347. },
  26348. "groupname": {
  26349. "description": "表头分组名称",
  26350. "type": "string"
  26351. },
  26352. "isshow": {
  26353. "description": "是否显示 - 0:不显示 1:显示",
  26354. "type": "integer"
  26355. },
  26356. "needsummary": {
  26357. "description": "是否需要汇总 - 0:不需要 1:需要",
  26358. "type": "integer"
  26359. },
  26360. "orderindex": {
  26361. "description": "顺序",
  26362. "type": "integer"
  26363. },
  26364. "remark": {
  26365. "description": "备注",
  26366. "type": "string"
  26367. },
  26368. "summarytype": {
  26369. "description": "汇总类型 - 1:加总 2:最后一个",
  26370. "type": "integer"
  26371. },
  26372. "tablekey": {
  26373. "description": "列表Key",
  26374. "type": "string"
  26375. }
  26376. }
  26377. },
  26378. "models.UserCollectConfig": {
  26379. "type": "object",
  26380. "properties": {
  26381. "accountstatus": {
  26382. "description": "账户状态 - 1:正常 2:停用 3:注销",
  26383. "type": "integer"
  26384. },
  26385. "collectaccountname": {
  26386. "description": "收款人账户名称",
  26387. "type": "string"
  26388. },
  26389. "collectaccountno": {
  26390. "description": "收款人账户",
  26391. "type": "string"
  26392. },
  26393. "collectbankname": {
  26394. "description": "收款人开户行",
  26395. "type": "string"
  26396. },
  26397. "collectbranchbankname": {
  26398. "description": "收款人开户支行",
  26399. "type": "string"
  26400. },
  26401. "collectconfigid": {
  26402. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  26403. "type": "string"
  26404. },
  26405. "remark": {
  26406. "description": "备注",
  26407. "type": "string"
  26408. },
  26409. "userid": {
  26410. "description": "收款人用户ID",
  26411. "type": "integer"
  26412. }
  26413. }
  26414. },
  26415. "models.UserReceiveInfo": {
  26416. "type": "object",
  26417. "properties": {
  26418. "address": {
  26419. "description": "提货人详细地址",
  26420. "type": "string"
  26421. },
  26422. "autoid": {
  26423. "description": "AutoID",
  26424. "type": "integer"
  26425. },
  26426. "cardnum": {
  26427. "description": "证件号码(加密存储)",
  26428. "type": "string"
  26429. },
  26430. "cardtypeid": {
  26431. "description": "证件类型",
  26432. "type": "integer"
  26433. },
  26434. "cityid": {
  26435. "description": "市",
  26436. "type": "integer"
  26437. },
  26438. "cityname": {
  26439. "description": "城市名称",
  26440. "type": "string"
  26441. },
  26442. "countryid": {
  26443. "description": "国家",
  26444. "type": "integer"
  26445. },
  26446. "countryname": {
  26447. "description": "国家名称",
  26448. "type": "string"
  26449. },
  26450. "districtid": {
  26451. "description": "地区",
  26452. "type": "integer"
  26453. },
  26454. "districtname": {
  26455. "description": "地区名称",
  26456. "type": "string"
  26457. },
  26458. "hasencrypt": {
  26459. "description": "数据是否已加密 - 0:未加密 1:已加密",
  26460. "type": "integer"
  26461. },
  26462. "isdefault": {
  26463. "description": "是否默认地址 - 0:否 1:是",
  26464. "type": "integer"
  26465. },
  26466. "phonenum": {
  26467. "description": "提货人联系方式(加密存储)",
  26468. "type": "string"
  26469. },
  26470. "provinceid": {
  26471. "description": "省",
  26472. "type": "integer"
  26473. },
  26474. "provincename": {
  26475. "description": "省名称",
  26476. "type": "string"
  26477. },
  26478. "receivername": {
  26479. "description": "提货人姓名",
  26480. "type": "string"
  26481. },
  26482. "takeremark": {
  26483. "description": "提货备注",
  26484. "type": "string"
  26485. },
  26486. "userid": {
  26487. "description": "用户ID",
  26488. "type": "integer"
  26489. }
  26490. }
  26491. },
  26492. "models.Useraccount": {
  26493. "type": "object",
  26494. "required": [
  26495. "userid"
  26496. ],
  26497. "properties": {
  26498. "accountname": {
  26499. "description": "账户名称(机构名称)",
  26500. "type": "string"
  26501. },
  26502. "accountstatus": {
  26503. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26504. "type": "integer"
  26505. },
  26506. "applysrc": {
  26507. "description": "申请来源 - 1:管理端 2:终端",
  26508. "type": "integer"
  26509. },
  26510. "auditremark": {
  26511. "description": "审核备注",
  26512. "type": "string"
  26513. },
  26514. "auditsrc": {
  26515. "description": "审核来源 - 1:管理端 2:终端",
  26516. "type": "integer"
  26517. },
  26518. "audittime": {
  26519. "description": "审核时间",
  26520. "type": "string"
  26521. },
  26522. "audituserid": {
  26523. "description": "审核人",
  26524. "type": "integer"
  26525. },
  26526. "broker": {
  26527. "description": "所属经纪人ID",
  26528. "type": "integer"
  26529. },
  26530. "canceltime": {
  26531. "description": "销户时间",
  26532. "type": "string"
  26533. },
  26534. "canceluserid": {
  26535. "description": "销户人",
  26536. "type": "integer"
  26537. },
  26538. "canrecommend": {
  26539. "description": "是否可推荐 - 0:不可 1;可",
  26540. "type": "integer"
  26541. },
  26542. "createtime": {
  26543. "description": "创建时间",
  26544. "type": "string"
  26545. },
  26546. "creatorid": {
  26547. "description": "创建人",
  26548. "type": "integer"
  26549. },
  26550. "hasauth": {
  26551. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26552. "type": "integer"
  26553. },
  26554. "isanonymous": {
  26555. "description": "是否匿名下单 - 0:否 1:是",
  26556. "type": "integer"
  26557. },
  26558. "maxinvestornum": {
  26559. "description": "最大用户数(经纪会员下投资者个数)",
  26560. "type": "integer"
  26561. },
  26562. "memberuserid": {
  26563. "description": "所属会员ID",
  26564. "type": "integer"
  26565. },
  26566. "modifierid": {
  26567. "description": "修改人",
  26568. "type": "integer"
  26569. },
  26570. "modifyremark": {
  26571. "description": "变更备注",
  26572. "type": "string"
  26573. },
  26574. "modifystatus": {
  26575. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26576. "type": "integer"
  26577. },
  26578. "modifytime": {
  26579. "description": "修改时间",
  26580. "type": "string"
  26581. },
  26582. "parenttopuser": {
  26583. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26584. "type": "string"
  26585. },
  26586. "parentuserid": {
  26587. "description": "所属机构ID",
  26588. "type": "integer"
  26589. },
  26590. "reckonaccountid": {
  26591. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26592. "type": "integer"
  26593. },
  26594. "refercount": {
  26595. "description": "推荐总人数",
  26596. "type": "integer"
  26597. },
  26598. "refereeuserid": {
  26599. "description": "推荐人ID",
  26600. "type": "integer"
  26601. },
  26602. "refernum": {
  26603. "description": "推荐码",
  26604. "type": "string"
  26605. },
  26606. "rootuserid": {
  26607. "description": "根用户ID",
  26608. "type": "integer"
  26609. },
  26610. "subaccountlevel": {
  26611. "description": "子账户层数",
  26612. "type": "integer"
  26613. },
  26614. "subarealevelpath": {
  26615. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26616. "type": "string"
  26617. },
  26618. "userid": {
  26619. "description": "用户ID",
  26620. "type": "integer"
  26621. },
  26622. "usertype": {
  26623. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26624. "type": "integer"
  26625. }
  26626. }
  26627. },
  26628. "models.Userfavoritegoods": {
  26629. "type": "object",
  26630. "required": [
  26631. "goodsid"
  26632. ],
  26633. "properties": {
  26634. "goodsid": {
  26635. "description": "商品ID",
  26636. "type": "integer"
  26637. }
  26638. }
  26639. },
  26640. "models.Userinfo": {
  26641. "type": "object",
  26642. "required": [
  26643. "userid"
  26644. ],
  26645. "properties": {
  26646. "address": {
  26647. "description": "地址",
  26648. "type": "string"
  26649. },
  26650. "attachment1": {
  26651. "description": "附件1",
  26652. "type": "string"
  26653. },
  26654. "attachment2": {
  26655. "description": "附件2",
  26656. "type": "string"
  26657. },
  26658. "bankaccount": {
  26659. "description": "银行帐号 (加密存储)",
  26660. "type": "string"
  26661. },
  26662. "bankaccountname": {
  26663. "description": "收款人名称",
  26664. "type": "string"
  26665. },
  26666. "bankcardfrontphotourl": {
  26667. "description": "银行卡正面照地址",
  26668. "type": "string"
  26669. },
  26670. "bankid": {
  26671. "description": "银行编码",
  26672. "type": "string"
  26673. },
  26674. "bankname": {
  26675. "description": "银行名称",
  26676. "type": "string"
  26677. },
  26678. "biznature": {
  26679. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  26680. "type": "integer"
  26681. },
  26682. "bizscope": {
  26683. "description": "企业经营范围(企业)",
  26684. "type": "string"
  26685. },
  26686. "cardbackphotourl": {
  26687. "description": "证件背面图片地址",
  26688. "type": "string"
  26689. },
  26690. "cardfrontphotourl": {
  26691. "description": "证件正面图片地址",
  26692. "type": "string"
  26693. },
  26694. "cardnum": {
  26695. "description": "证件号码(加密存储)",
  26696. "type": "string"
  26697. },
  26698. "cardtypeid": {
  26699. "description": "证件类型ID",
  26700. "type": "integer"
  26701. },
  26702. "cityid": {
  26703. "description": "市",
  26704. "type": "integer"
  26705. },
  26706. "company": {
  26707. "description": "公司(个人)",
  26708. "type": "string"
  26709. },
  26710. "contactname": {
  26711. "description": "联系人",
  26712. "type": "string"
  26713. },
  26714. "countryid": {
  26715. "description": "国家",
  26716. "type": "integer"
  26717. },
  26718. "createtime": {
  26719. "description": "创建时间",
  26720. "type": "string"
  26721. },
  26722. "creatorid": {
  26723. "description": "创建人",
  26724. "type": "integer"
  26725. },
  26726. "customername": {
  26727. "description": "客户名称(企业名称)",
  26728. "type": "string"
  26729. },
  26730. "districtid": {
  26731. "description": "地区",
  26732. "type": "integer"
  26733. },
  26734. "email": {
  26735. "description": "邮件(加密存储)",
  26736. "type": "string"
  26737. },
  26738. "fax": {
  26739. "description": "传真(加密存储)",
  26740. "type": "string"
  26741. },
  26742. "halfbodyphotourl": {
  26743. "description": "半身照地址",
  26744. "type": "string"
  26745. },
  26746. "hasencrypt": {
  26747. "description": "数据是否已加密 - 0:未加密 1:已加密",
  26748. "type": "integer"
  26749. },
  26750. "headurl": {
  26751. "description": "头像地址",
  26752. "type": "string"
  26753. },
  26754. "legalcardbackphotourl": {
  26755. "description": "法人身份证背面照地址",
  26756. "type": "string"
  26757. },
  26758. "legalcardfrontphotourl": {
  26759. "description": "法人身份证正面照地址",
  26760. "type": "string"
  26761. },
  26762. "legalpersonname": {
  26763. "description": "法人姓名(企业)",
  26764. "type": "string"
  26765. },
  26766. "mobile": {
  26767. "description": "手机号码(加密存储)",
  26768. "type": "string"
  26769. },
  26770. "mobile2": {
  26771. "description": "手机号码[明文-尚志]",
  26772. "type": "string"
  26773. },
  26774. "modifierid": {
  26775. "description": "修改人",
  26776. "type": "integer"
  26777. },
  26778. "modifiertime": {
  26779. "description": "修改时间",
  26780. "type": "string"
  26781. },
  26782. "needinvoice": {
  26783. "description": "是否需要发票 - 0:不需要 1:需要",
  26784. "type": "integer"
  26785. },
  26786. "nickname": {
  26787. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  26788. "type": "string"
  26789. },
  26790. "openmode": {
  26791. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  26792. "type": "integer"
  26793. },
  26794. "otherurl": {
  26795. "description": "其它图片地址[使用分号分隔]",
  26796. "type": "string"
  26797. },
  26798. "postalcode": {
  26799. "description": "邮政编码",
  26800. "type": "string"
  26801. },
  26802. "provinceid": {
  26803. "description": "省",
  26804. "type": "integer"
  26805. },
  26806. "qq": {
  26807. "description": "QQ(加密存储",
  26808. "type": "string"
  26809. },
  26810. "remark": {
  26811. "description": "备注",
  26812. "type": "string"
  26813. },
  26814. "sex": {
  26815. "description": "用户性别 0: 女 1: 男",
  26816. "type": "integer"
  26817. },
  26818. "signpdfurl": {
  26819. "description": "签约pdf文件",
  26820. "type": "string"
  26821. },
  26822. "telphone": {
  26823. "description": "联系电话(加密存储)",
  26824. "type": "string"
  26825. },
  26826. "userid": {
  26827. "description": "用户ID",
  26828. "type": "integer"
  26829. },
  26830. "userinfotype": {
  26831. "description": "用户信息类型 - 1:个人 2:企业",
  26832. "type": "integer"
  26833. },
  26834. "userstatus": {
  26835. "description": "用户状态 - 1:正常 2:注销",
  26836. "type": "integer"
  26837. },
  26838. "usertype": {
  26839. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  26840. "type": "integer"
  26841. },
  26842. "wechat": {
  26843. "description": "微信(加密存储)",
  26844. "type": "string"
  26845. },
  26846. "wskhinfo": {
  26847. "description": "开户申请信息(JSON)",
  26848. "type": "string"
  26849. }
  26850. }
  26851. },
  26852. "models.WRSConverTDetail": {
  26853. "type": "object",
  26854. "properties": {
  26855. "convertratio": {
  26856. "description": "套保系数",
  26857. "type": "number"
  26858. },
  26859. "deliverygoodscode": {
  26860. "description": "现货商品代码",
  26861. "type": "string"
  26862. },
  26863. "deliverygoodsid": {
  26864. "description": "现货品种ID",
  26865. "type": "integer"
  26866. },
  26867. "deliverygoodsname": {
  26868. "description": "现货商品名称",
  26869. "type": "string"
  26870. },
  26871. "enumdicname": {
  26872. "description": "单位名称",
  26873. "type": "string"
  26874. },
  26875. "goodsunitid": {
  26876. "description": "套保品种单位id",
  26877. "type": "integer"
  26878. },
  26879. "middlegoodscode": {
  26880. "description": "套保品种代码",
  26881. "type": "string"
  26882. },
  26883. "middlegoodsid": {
  26884. "description": "套保品种ID",
  26885. "type": "integer"
  26886. },
  26887. "middlegoodsname": {
  26888. "description": "套保品种名称",
  26889. "type": "string"
  26890. },
  26891. "modifytime": {
  26892. "description": "修改时间",
  26893. "type": "string"
  26894. },
  26895. "wrstandardid": {
  26896. "description": "品类ID",
  26897. "type": "integer"
  26898. }
  26899. }
  26900. },
  26901. "models.WRStandardInfo": {
  26902. "type": "object",
  26903. "required": [
  26904. "wrstandardid"
  26905. ],
  26906. "properties": {
  26907. "areauserid": {
  26908. "description": "所属机构",
  26909. "type": "integer"
  26910. },
  26911. "convertfactor": {
  26912. "description": "标仓系数",
  26913. "type": "number"
  26914. },
  26915. "createtime": {
  26916. "description": "创建时间",
  26917. "type": "string"
  26918. },
  26919. "creatorid": {
  26920. "description": "创建人",
  26921. "type": "integer"
  26922. },
  26923. "deliverygoodsid": {
  26924. "description": "品种ID",
  26925. "type": "integer"
  26926. },
  26927. "deliverygoodsname": {
  26928. "description": "交割商品名称",
  26929. "type": "string"
  26930. },
  26931. "factoryitemjson": {
  26932. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  26933. "type": "string"
  26934. },
  26935. "isvalid": {
  26936. "description": "是否有效 - 0:无效 1:有效",
  26937. "type": "integer"
  26938. },
  26939. "minivalue": {
  26940. "description": "最小变动值",
  26941. "type": "integer"
  26942. },
  26943. "minivaluedp": {
  26944. "description": "最小变动值小数位",
  26945. "type": "integer"
  26946. },
  26947. "realminivalue": {
  26948. "description": "实际最小变动值",
  26949. "type": "integer"
  26950. },
  26951. "realminivaluedp": {
  26952. "description": "实际最小变动值小数位",
  26953. "type": "integer"
  26954. },
  26955. "remark": {
  26956. "description": "备注",
  26957. "type": "string"
  26958. },
  26959. "unitid": {
  26960. "description": "单位ID",
  26961. "type": "integer"
  26962. },
  26963. "unitname": {
  26964. "description": "单位",
  26965. "type": "string"
  26966. },
  26967. "updatetime": {
  26968. "description": "更新时间",
  26969. "type": "string"
  26970. },
  26971. "updatorid": {
  26972. "description": "更新人",
  26973. "type": "integer"
  26974. },
  26975. "wrsstatus": {
  26976. "description": "状态 - 作废 - 0:未激活 1:正常",
  26977. "type": "integer"
  26978. },
  26979. "wrstandardcode": {
  26980. "description": "现货品类代码",
  26981. "type": "string"
  26982. },
  26983. "wrstandardid": {
  26984. "description": "现货品类ID(SEQ_WRSTANDARD)",
  26985. "type": "integer"
  26986. },
  26987. "wrstandardname": {
  26988. "description": "现货品类名称",
  26989. "type": "string"
  26990. }
  26991. }
  26992. },
  26993. "models.Warehouseinfo": {
  26994. "type": "object",
  26995. "required": [
  26996. "autoid",
  26997. "warehousecode"
  26998. ],
  26999. "properties": {
  27000. "address": {
  27001. "description": "详细地址",
  27002. "type": "string"
  27003. },
  27004. "areauserid": {
  27005. "description": "所属机构",
  27006. "type": "integer"
  27007. },
  27008. "autoid": {
  27009. "description": "自增ID",
  27010. "type": "integer"
  27011. },
  27012. "cityid": {
  27013. "description": "市",
  27014. "type": "integer"
  27015. },
  27016. "contactname": {
  27017. "description": "联系人",
  27018. "type": "string"
  27019. },
  27020. "contactnum": {
  27021. "description": "联系电话",
  27022. "type": "string"
  27023. },
  27024. "countryid": {
  27025. "description": "国家",
  27026. "type": "integer"
  27027. },
  27028. "createtime": {
  27029. "description": "创建时间",
  27030. "type": "string"
  27031. },
  27032. "districtid": {
  27033. "description": "区",
  27034. "type": "integer"
  27035. },
  27036. "hasvideo": {
  27037. "description": "是否有视频 - 0:无 1:有",
  27038. "type": "integer"
  27039. },
  27040. "provinceid": {
  27041. "description": "省",
  27042. "type": "integer"
  27043. },
  27044. "remark": {
  27045. "description": "审核备注",
  27046. "type": "string"
  27047. },
  27048. "videourl": {
  27049. "description": "视频地址",
  27050. "type": "string"
  27051. },
  27052. "warehousecode": {
  27053. "description": "仓库代码",
  27054. "type": "string"
  27055. },
  27056. "warehousename": {
  27057. "description": "仓库名称",
  27058. "type": "string"
  27059. },
  27060. "warehousestatus": {
  27061. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  27062. "type": "integer"
  27063. },
  27064. "warehousetype": {
  27065. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  27066. "type": "integer"
  27067. }
  27068. }
  27069. },
  27070. "order.QueryHisTradeDetailRsp": {
  27071. "type": "object",
  27072. "required": [
  27073. "accountid",
  27074. "buyorsell",
  27075. "goodsid",
  27076. "histradedate",
  27077. "marketid",
  27078. "memberuserid",
  27079. "orderid",
  27080. "tradeamount",
  27081. "tradedate",
  27082. "tradeid",
  27083. "tradeprice",
  27084. "tradeqty",
  27085. "tradetime"
  27086. ],
  27087. "properties": {
  27088. "accountid": {
  27089. "description": "账户ID[报价币种]",
  27090. "type": "integer"
  27091. },
  27092. "advanceratio": {
  27093. "description": "首付比率",
  27094. "type": "number"
  27095. },
  27096. "buildtype": {
  27097. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27098. "type": "integer"
  27099. },
  27100. "buyorsell": {
  27101. "description": "方向 - 0:买 1:卖",
  27102. "type": "integer"
  27103. },
  27104. "charge": {
  27105. "description": "手续费",
  27106. "type": "number"
  27107. },
  27108. "closecharge": {
  27109. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27110. "type": "number"
  27111. },
  27112. "closeexchagechargevalue": {
  27113. "description": "平仓交易所手续费设置值",
  27114. "type": "number"
  27115. },
  27116. "closefeealgorithm": {
  27117. "description": "平仓手续费收取方式 1:比率 2:固定",
  27118. "type": "integer"
  27119. },
  27120. "closememberchargevalue": {
  27121. "description": "平仓会员手续费设置值",
  27122. "type": "number"
  27123. },
  27124. "closepl": {
  27125. "description": "平仓盈亏",
  27126. "type": "number"
  27127. },
  27128. "closepl2": {
  27129. "description": "平仓盈亏[逐笔]",
  27130. "type": "number"
  27131. },
  27132. "closeqty": {
  27133. "description": "平仓数量(先建后平操作 需要记录)",
  27134. "type": "number"
  27135. },
  27136. "creditamount": {
  27137. "description": "授信金额",
  27138. "type": "number"
  27139. },
  27140. "decimalplace": {
  27141. "description": "商品报价小数位",
  27142. "type": "integer"
  27143. },
  27144. "enumdicname": {
  27145. "description": "单位名称",
  27146. "type": "string"
  27147. },
  27148. "gcaccountid": {
  27149. "description": "账户ID[合约币种]",
  27150. "type": "integer"
  27151. },
  27152. "goodscode": {
  27153. "description": "商品代码",
  27154. "type": "string"
  27155. },
  27156. "goodsid": {
  27157. "description": "商品ID",
  27158. "type": "integer"
  27159. },
  27160. "goodsname": {
  27161. "description": "商品名称",
  27162. "type": "string"
  27163. },
  27164. "goodunitid": {
  27165. "description": "商品单位id",
  27166. "type": "integer"
  27167. },
  27168. "histradedate": {
  27169. "description": "历史交易日",
  27170. "type": "string"
  27171. },
  27172. "intclosepl": {
  27173. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  27174. "type": "integer"
  27175. },
  27176. "isconfirmexercise": {
  27177. "description": "是否确认行权- 0:否 1:是",
  27178. "type": "integer"
  27179. },
  27180. "ismain": {
  27181. "description": "是否主单 - 0:不是 1:是",
  27182. "type": "integer"
  27183. },
  27184. "ispreexercise": {
  27185. "description": "是否预申报- 0:否 1:是",
  27186. "type": "integer"
  27187. },
  27188. "isreckoned": {
  27189. "description": "是否结算 - 0:未结算 1:已结算",
  27190. "type": "integer"
  27191. },
  27192. "isvaliddata": {
  27193. "description": "是否有效 - 0:无效 1:有效",
  27194. "type": "integer"
  27195. },
  27196. "listingselecttype": {
  27197. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27198. "type": "integer"
  27199. },
  27200. "marketid": {
  27201. "description": "市场ID",
  27202. "type": "integer"
  27203. },
  27204. "marketname": {
  27205. "description": "市场名称",
  27206. "type": "string"
  27207. },
  27208. "matchaccountid": {
  27209. "description": "对手账号id",
  27210. "type": "integer"
  27211. },
  27212. "memberuserid": {
  27213. "description": "会员id 个人投资者 需要填写",
  27214. "type": "integer"
  27215. },
  27216. "opencharge": {
  27217. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27218. "type": "number"
  27219. },
  27220. "openexchagechargevalue": {
  27221. "description": "建仓交易所手续费设置值",
  27222. "type": "number"
  27223. },
  27224. "openfeealgorithm": {
  27225. "description": "建仓手续费收取方式 1:比率 2:固定",
  27226. "type": "integer"
  27227. },
  27228. "openmemberchargevalue": {
  27229. "description": "建仓会员手续费设置值",
  27230. "type": "number"
  27231. },
  27232. "openqty": {
  27233. "description": "开仓数量(先建后平操作 需要记录)",
  27234. "type": "number"
  27235. },
  27236. "optiontype": {
  27237. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27238. "type": "integer"
  27239. },
  27240. "orderid": {
  27241. "description": "委托单号",
  27242. "type": "string"
  27243. },
  27244. "payamount": {
  27245. "description": "支付金额(付款金额)",
  27246. "type": "number"
  27247. },
  27248. "performanceplanid": {
  27249. "description": "履约计划ID[期权]",
  27250. "type": "integer"
  27251. },
  27252. "performancestatus": {
  27253. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  27254. "type": "integer"
  27255. },
  27256. "preexerciseprice": {
  27257. "description": "预申报价格",
  27258. "type": "number"
  27259. },
  27260. "premium": {
  27261. "description": "权利金 - [持仓单的权利金]",
  27262. "type": "number"
  27263. },
  27264. "qtydecimalplace": {
  27265. "description": "商品报价小数位",
  27266. "type": "integer"
  27267. },
  27268. "recvamount": {
  27269. "description": "到账金额 = 成交金额 - 手续费",
  27270. "type": "number"
  27271. },
  27272. "relatedouttradeid": {
  27273. "description": "关联外部成交单ID",
  27274. "type": "integer"
  27275. },
  27276. "status": {
  27277. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  27278. "type": "integer"
  27279. },
  27280. "totalamount": {
  27281. "description": "订单总额 = 成交金额 + 手续费",
  27282. "type": "number"
  27283. },
  27284. "tradeamount": {
  27285. "description": "成交金额[账户币种,用于所有权]",
  27286. "type": "number"
  27287. },
  27288. "tradedate": {
  27289. "description": "交易日(yyyyMMdd)",
  27290. "type": "string"
  27291. },
  27292. "tradeid": {
  27293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27294. "type": "string"
  27295. },
  27296. "trademode": {
  27297. "description": "交易模式",
  27298. "type": "integer"
  27299. },
  27300. "tradeprice": {
  27301. "description": "成交价格",
  27302. "type": "number"
  27303. },
  27304. "tradeproperty": {
  27305. "description": "交易属性",
  27306. "type": "integer"
  27307. },
  27308. "tradeqty": {
  27309. "description": "成交数量",
  27310. "type": "number"
  27311. },
  27312. "tradetime": {
  27313. "description": "成交时间",
  27314. "type": "string"
  27315. },
  27316. "tradetype": {
  27317. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  27318. "type": "integer"
  27319. }
  27320. }
  27321. },
  27322. "order.QueryHisTradeOrderDetailRsp": {
  27323. "type": "object",
  27324. "required": [
  27325. "accountid",
  27326. "buildtype",
  27327. "buyorsell",
  27328. "goodsid",
  27329. "histradedate",
  27330. "marketid",
  27331. "memberuserid",
  27332. "operatetype",
  27333. "orderid",
  27334. "orderqty",
  27335. "ordertime",
  27336. "pricemode",
  27337. "tradedate",
  27338. "validtype"
  27339. ],
  27340. "properties": {
  27341. "accountid": {
  27342. "description": "账户ID[报价币种]",
  27343. "type": "integer"
  27344. },
  27345. "buildtype": {
  27346. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  27347. "type": "integer"
  27348. },
  27349. "buyorsell": {
  27350. "description": "买卖 - 0:买 1:卖",
  27351. "type": "integer"
  27352. },
  27353. "cancelorderid": {
  27354. "description": "撤单单号(撤单时填写)",
  27355. "type": "string"
  27356. },
  27357. "cancelqty": {
  27358. "description": "撤单数量",
  27359. "type": "number"
  27360. },
  27361. "clientordertime": {
  27362. "description": "客户端委托时间",
  27363. "type": "string"
  27364. },
  27365. "clientticket": {
  27366. "description": "客户端流水号",
  27367. "type": "string"
  27368. },
  27369. "clienttype": {
  27370. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27371. "type": "integer"
  27372. },
  27373. "closeexchagechargevalue": {
  27374. "description": "平仓交易所手续费设置值",
  27375. "type": "number"
  27376. },
  27377. "closefeealgorithm": {
  27378. "description": "平仓手续费收取方式 1:比率 2:固定",
  27379. "type": "integer"
  27380. },
  27381. "closefreezecharge": {
  27382. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  27383. "type": "number"
  27384. },
  27385. "closememberchargevalue": {
  27386. "description": "平仓会员手续费设置值",
  27387. "type": "number"
  27388. },
  27389. "closeqty": {
  27390. "description": "平仓数量(先建后平操作 需要记录)",
  27391. "type": "number"
  27392. },
  27393. "closetradeqty": {
  27394. "description": "平仓成交数量(先建后平操作,需要记录)",
  27395. "type": "number"
  27396. },
  27397. "closeunfreezecharge": {
  27398. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  27399. "type": "number"
  27400. },
  27401. "decimalplace": {
  27402. "description": "商品报价小数位",
  27403. "type": "integer"
  27404. },
  27405. "delistingtype": {
  27406. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  27407. "type": "integer"
  27408. },
  27409. "enumdicname": {
  27410. "description": "单位名称",
  27411. "type": "string"
  27412. },
  27413. "freezecharge": {
  27414. "description": "冻结手续费",
  27415. "type": "number"
  27416. },
  27417. "freezemargin": {
  27418. "description": "冻结保证金(冻结交易金额)",
  27419. "type": "number"
  27420. },
  27421. "gcaccountid": {
  27422. "description": "账户ID[合约币种]",
  27423. "type": "integer"
  27424. },
  27425. "goodscode": {
  27426. "description": "商品代码",
  27427. "type": "string"
  27428. },
  27429. "goodsid": {
  27430. "description": "商品ID",
  27431. "type": "integer"
  27432. },
  27433. "goodsname": {
  27434. "description": "商品名称",
  27435. "type": "string"
  27436. },
  27437. "goodunitid": {
  27438. "description": "商品单位id",
  27439. "type": "integer"
  27440. },
  27441. "histradedate": {
  27442. "description": "历史交易日",
  27443. "type": "string"
  27444. },
  27445. "isconfirmexercise": {
  27446. "description": "是否确认行权- 0:否 1:是",
  27447. "type": "integer"
  27448. },
  27449. "ispreexercise": {
  27450. "description": "是否预申报- 0:否 1:是",
  27451. "type": "integer"
  27452. },
  27453. "isvaliddata": {
  27454. "description": "是否有效 - 0:无效 1:有效",
  27455. "type": "integer"
  27456. },
  27457. "listingselecttype": {
  27458. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27459. "type": "integer"
  27460. },
  27461. "marginalgorithm": {
  27462. "description": "保证金收取方式 1:比率 2:固定",
  27463. "type": "integer"
  27464. },
  27465. "marginvalue": {
  27466. "description": "即市保证金设置值",
  27467. "type": "number"
  27468. },
  27469. "marketid": {
  27470. "description": "市场ID",
  27471. "type": "integer"
  27472. },
  27473. "marketmaxsub": {
  27474. "description": "市价最大偏移范围",
  27475. "type": "number"
  27476. },
  27477. "marketname": {
  27478. "description": "市场名称",
  27479. "type": "string"
  27480. },
  27481. "memberuserid": {
  27482. "description": "所属会员UserID",
  27483. "type": "integer"
  27484. },
  27485. "openexchagechargevalue": {
  27486. "description": "建仓交易所手续费设置值",
  27487. "type": "number"
  27488. },
  27489. "openfeealgorithm": {
  27490. "description": "建仓手续费收取方式 1:比率 2:固定",
  27491. "type": "integer"
  27492. },
  27493. "openfreezecharge": {
  27494. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  27495. "type": "number"
  27496. },
  27497. "openmemberchargevalue": {
  27498. "description": "建仓会员手续费设置值",
  27499. "type": "number"
  27500. },
  27501. "openqty": {
  27502. "description": "开仓数量(先建后平操作,需要记录)",
  27503. "type": "number"
  27504. },
  27505. "opentradeqty": {
  27506. "description": "开仓成交数量(先建后平操作,需要记录)",
  27507. "type": "number"
  27508. },
  27509. "openunfreezecharge": {
  27510. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  27511. "type": "number"
  27512. },
  27513. "operatetype": {
  27514. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  27515. "type": "integer"
  27516. },
  27517. "operatorid": {
  27518. "description": "登录账号(LoginID)",
  27519. "type": "integer"
  27520. },
  27521. "optiontype": {
  27522. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27523. "type": "integer"
  27524. },
  27525. "orderid": {
  27526. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27527. "type": "string"
  27528. },
  27529. "orderprice": {
  27530. "description": "委托价格",
  27531. "type": "number"
  27532. },
  27533. "orderqty": {
  27534. "description": "委托数量",
  27535. "type": "number"
  27536. },
  27537. "ordersrc": {
  27538. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  27539. "type": "integer"
  27540. },
  27541. "orderstatus": {
  27542. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27543. "type": "integer"
  27544. },
  27545. "ordertime": {
  27546. "description": "委托时间",
  27547. "type": "string"
  27548. },
  27549. "preexerciseprice": {
  27550. "description": "预申报价格",
  27551. "type": "number"
  27552. },
  27553. "premium": {
  27554. "description": "权利金",
  27555. "type": "number"
  27556. },
  27557. "preorderid": {
  27558. "description": "关联预埋单号(止盈止损单时填写)",
  27559. "type": "string"
  27560. },
  27561. "pricemode": {
  27562. "description": "取价方式 - 1:市价 2: 限价",
  27563. "type": "integer"
  27564. },
  27565. "qtydecimalplace": {
  27566. "description": "成交量小数位",
  27567. "type": "integer"
  27568. },
  27569. "quoteid": {
  27570. "description": "报价单ID",
  27571. "type": "integer"
  27572. },
  27573. "relatedid": {
  27574. "description": "关联单号(交割单)",
  27575. "type": "string"
  27576. },
  27577. "retcode": {
  27578. "description": "错误代码",
  27579. "type": "integer"
  27580. },
  27581. "sessionid": {
  27582. "description": "会话ID",
  27583. "type": "integer"
  27584. },
  27585. "tradedate": {
  27586. "description": "交易日(yyyyMMdd)",
  27587. "type": "string"
  27588. },
  27589. "trademode": {
  27590. "description": "交易模式",
  27591. "type": "integer"
  27592. },
  27593. "tradeproperty": {
  27594. "description": "交易属性",
  27595. "type": "integer"
  27596. },
  27597. "tradeqty": {
  27598. "description": "成交数量",
  27599. "type": "number"
  27600. },
  27601. "unfreezecharge": {
  27602. "description": "解冻手续费",
  27603. "type": "number"
  27604. },
  27605. "unfreezemargin": {
  27606. "description": "解冻保证金",
  27607. "type": "number"
  27608. },
  27609. "updatetime": {
  27610. "description": "更新时间",
  27611. "type": "string"
  27612. },
  27613. "uuid": {
  27614. "description": "发起端唯一id",
  27615. "type": "string"
  27616. },
  27617. "validtime": {
  27618. "description": "有效期限",
  27619. "type": "string"
  27620. },
  27621. "validtype": {
  27622. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  27623. "type": "integer"
  27624. },
  27625. "volumetype": {
  27626. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  27627. "type": "integer"
  27628. }
  27629. }
  27630. },
  27631. "order.QueryTradeDetailRsp": {
  27632. "type": "object",
  27633. "required": [
  27634. "accountid",
  27635. "buyorsell",
  27636. "goodsid",
  27637. "marketid",
  27638. "memberuserid",
  27639. "orderid",
  27640. "tradeamount",
  27641. "tradedate",
  27642. "tradeid",
  27643. "tradeprice",
  27644. "tradeqty",
  27645. "tradetime"
  27646. ],
  27647. "properties": {
  27648. "accountid": {
  27649. "description": "账户ID[报价币种]",
  27650. "type": "integer"
  27651. },
  27652. "advanceratio": {
  27653. "description": "首付比率",
  27654. "type": "number"
  27655. },
  27656. "buildtype": {
  27657. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27658. "type": "integer"
  27659. },
  27660. "buyorsell": {
  27661. "description": "方向 - 0:买 1:卖",
  27662. "type": "integer"
  27663. },
  27664. "charge": {
  27665. "description": "手续费",
  27666. "type": "number"
  27667. },
  27668. "closecharge": {
  27669. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27670. "type": "number"
  27671. },
  27672. "closeexchagechargevalue": {
  27673. "description": "平仓交易所手续费设置值",
  27674. "type": "number"
  27675. },
  27676. "closefeealgorithm": {
  27677. "description": "平仓手续费收取方式 1:比率 2:固定",
  27678. "type": "integer"
  27679. },
  27680. "closememberchargevalue": {
  27681. "description": "平仓会员手续费设置值",
  27682. "type": "number"
  27683. },
  27684. "closepl": {
  27685. "description": "平仓盈亏",
  27686. "type": "number"
  27687. },
  27688. "closepl2": {
  27689. "description": "平仓盈亏[逐笔]",
  27690. "type": "number"
  27691. },
  27692. "closeqty": {
  27693. "description": "平仓数量(先建后平操作 需要记录)",
  27694. "type": "number"
  27695. },
  27696. "creditamount": {
  27697. "description": "授信金额",
  27698. "type": "number"
  27699. },
  27700. "decimalplace": {
  27701. "description": "商品报价小数位",
  27702. "type": "integer"
  27703. },
  27704. "enumdicname": {
  27705. "description": "单位名称",
  27706. "type": "string"
  27707. },
  27708. "gcaccountid": {
  27709. "description": "账户ID[合约币种]",
  27710. "type": "integer"
  27711. },
  27712. "goodscode": {
  27713. "description": "商品代码",
  27714. "type": "string"
  27715. },
  27716. "goodsid": {
  27717. "description": "商品ID",
  27718. "type": "integer"
  27719. },
  27720. "goodsname": {
  27721. "description": "商品名称",
  27722. "type": "string"
  27723. },
  27724. "goodunitid": {
  27725. "description": "商品单位id",
  27726. "type": "integer"
  27727. },
  27728. "intclosepl": {
  27729. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  27730. "type": "integer"
  27731. },
  27732. "isconfirmexercise": {
  27733. "description": "是否确认行权- 0:否 1:是",
  27734. "type": "integer"
  27735. },
  27736. "ismain": {
  27737. "description": "是否主单 - 0:不是 1:是",
  27738. "type": "integer"
  27739. },
  27740. "ispreexercise": {
  27741. "description": "是否预申报- 0:否 1:是",
  27742. "type": "integer"
  27743. },
  27744. "isreckoned": {
  27745. "description": "是否结算 - 0:未结算 1:已结算",
  27746. "type": "integer"
  27747. },
  27748. "listingselecttype": {
  27749. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27750. "type": "integer"
  27751. },
  27752. "marketid": {
  27753. "description": "市场ID",
  27754. "type": "integer"
  27755. },
  27756. "marketname": {
  27757. "description": "市场名称",
  27758. "type": "string"
  27759. },
  27760. "matchaccountid": {
  27761. "description": "对手账号id",
  27762. "type": "integer"
  27763. },
  27764. "memberuserid": {
  27765. "description": "会员id 个人投资者 需要填写",
  27766. "type": "integer"
  27767. },
  27768. "opencharge": {
  27769. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27770. "type": "number"
  27771. },
  27772. "openexchagechargevalue": {
  27773. "description": "建仓交易所手续费设置值",
  27774. "type": "number"
  27775. },
  27776. "openfeealgorithm": {
  27777. "description": "建仓手续费收取方式 1:比率 2:固定",
  27778. "type": "integer"
  27779. },
  27780. "openmemberchargevalue": {
  27781. "description": "建仓会员手续费设置值",
  27782. "type": "number"
  27783. },
  27784. "openqty": {
  27785. "description": "开仓数量(先建后平操作 需要记录)",
  27786. "type": "number"
  27787. },
  27788. "optiontype": {
  27789. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27790. "type": "integer"
  27791. },
  27792. "orderid": {
  27793. "description": "委托单号",
  27794. "type": "string"
  27795. },
  27796. "payamount": {
  27797. "description": "支付金额(付款金额)",
  27798. "type": "number"
  27799. },
  27800. "performanceplanid": {
  27801. "description": "履约计划ID[期权]",
  27802. "type": "integer"
  27803. },
  27804. "performancestatus": {
  27805. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  27806. "type": "integer"
  27807. },
  27808. "preexerciseprice": {
  27809. "description": "预申报价格",
  27810. "type": "number"
  27811. },
  27812. "premium": {
  27813. "description": "权利金 - [持仓单的权利金]",
  27814. "type": "number"
  27815. },
  27816. "qtydecimalplace": {
  27817. "description": "商品报价小数位",
  27818. "type": "integer"
  27819. },
  27820. "recvamount": {
  27821. "description": "到账金额 = 成交金额 - 手续费",
  27822. "type": "number"
  27823. },
  27824. "relatedouttradeid": {
  27825. "description": "关联外部成交单ID",
  27826. "type": "integer"
  27827. },
  27828. "status": {
  27829. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  27830. "type": "integer"
  27831. },
  27832. "totalamount": {
  27833. "description": "订单总额 = 成交金额 + 手续费",
  27834. "type": "number"
  27835. },
  27836. "tradeamount": {
  27837. "description": "成交金额[账户币种,用于所有权]",
  27838. "type": "number"
  27839. },
  27840. "tradedate": {
  27841. "description": "交易日(yyyyMMdd)",
  27842. "type": "string"
  27843. },
  27844. "tradeid": {
  27845. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27846. "type": "string"
  27847. },
  27848. "trademode": {
  27849. "description": "交易模式",
  27850. "type": "integer"
  27851. },
  27852. "tradeprice": {
  27853. "description": "成交价格",
  27854. "type": "number"
  27855. },
  27856. "tradeproperty": {
  27857. "description": "交易属性",
  27858. "type": "integer"
  27859. },
  27860. "tradeqty": {
  27861. "description": "成交数量",
  27862. "type": "number"
  27863. },
  27864. "tradetime": {
  27865. "description": "成交时间",
  27866. "type": "string"
  27867. },
  27868. "tradetype": {
  27869. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  27870. "type": "integer"
  27871. }
  27872. }
  27873. },
  27874. "order.QueryTradeOrderDetailRsp": {
  27875. "type": "object",
  27876. "required": [
  27877. "accountid",
  27878. "buildtype",
  27879. "buyorsell",
  27880. "goodsid",
  27881. "marketid",
  27882. "operatetype",
  27883. "orderqty",
  27884. "ordertime",
  27885. "pricemode",
  27886. "tradedate",
  27887. "validtype"
  27888. ],
  27889. "properties": {
  27890. "accountid": {
  27891. "description": "账户ID[报价币种]",
  27892. "type": "integer"
  27893. },
  27894. "buildtype": {
  27895. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  27896. "type": "integer"
  27897. },
  27898. "buyorsell": {
  27899. "description": "买卖 - 0:买 1:卖",
  27900. "type": "integer"
  27901. },
  27902. "cancelorderid": {
  27903. "description": "撤单单号(撤单时填写)",
  27904. "type": "string"
  27905. },
  27906. "cancelqty": {
  27907. "description": "撤单数量",
  27908. "type": "number"
  27909. },
  27910. "clienttype": {
  27911. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27912. "type": "integer"
  27913. },
  27914. "closefreezecharge": {
  27915. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  27916. "type": "number"
  27917. },
  27918. "closeqty": {
  27919. "description": "平仓数量(先建后平操作 需要记录)",
  27920. "type": "number"
  27921. },
  27922. "closetradeqty": {
  27923. "description": "平仓成交数量(先建后平操作,需要记录)",
  27924. "type": "number"
  27925. },
  27926. "closeunfreezecharge": {
  27927. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  27928. "type": "number"
  27929. },
  27930. "decimalplace": {
  27931. "description": "商品报价小数位",
  27932. "type": "integer"
  27933. },
  27934. "delistingtype": {
  27935. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  27936. "type": "integer"
  27937. },
  27938. "enableqty": {
  27939. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  27940. "type": "number"
  27941. },
  27942. "enumdicname": {
  27943. "description": "单位名称",
  27944. "type": "string"
  27945. },
  27946. "freezecharge": {
  27947. "description": "冻结手续费",
  27948. "type": "number"
  27949. },
  27950. "freezemargin": {
  27951. "description": "冻结保证金(冻结交易金额)",
  27952. "type": "number"
  27953. },
  27954. "goodscode": {
  27955. "description": "商品代码",
  27956. "type": "string"
  27957. },
  27958. "goodsid": {
  27959. "description": "商品ID",
  27960. "type": "integer"
  27961. },
  27962. "goodsname": {
  27963. "description": "商品名称",
  27964. "type": "string"
  27965. },
  27966. "goodunitid": {
  27967. "description": "商品单位id",
  27968. "type": "integer"
  27969. },
  27970. "listingselecttype": {
  27971. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27972. "type": "integer"
  27973. },
  27974. "marketid": {
  27975. "description": "市场ID",
  27976. "type": "integer"
  27977. },
  27978. "marketname": {
  27979. "description": "市场名称",
  27980. "type": "string"
  27981. },
  27982. "openfreezecharge": {
  27983. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  27984. "type": "number"
  27985. },
  27986. "openqty": {
  27987. "description": "开仓数量(先建后平操作,需要记录)",
  27988. "type": "number"
  27989. },
  27990. "opentradeqty": {
  27991. "description": "开仓成交数量(先建后平操作,需要记录)",
  27992. "type": "number"
  27993. },
  27994. "openunfreezecharge": {
  27995. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  27996. "type": "number"
  27997. },
  27998. "operatetype": {
  27999. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28000. "type": "integer"
  28001. },
  28002. "operatorid": {
  28003. "description": "登录账号(LoginID)",
  28004. "type": "integer"
  28005. },
  28006. "orderid": {
  28007. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28008. "type": "string"
  28009. },
  28010. "orderprice": {
  28011. "description": "委托价格",
  28012. "type": "number"
  28013. },
  28014. "orderqty": {
  28015. "description": "委托数量",
  28016. "type": "number"
  28017. },
  28018. "ordersrc": {
  28019. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28020. "type": "integer"
  28021. },
  28022. "orderstatus": {
  28023. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28024. "type": "integer"
  28025. },
  28026. "ordertime": {
  28027. "description": "委托时间",
  28028. "type": "string"
  28029. },
  28030. "preorderid": {
  28031. "description": "关联预埋单号(止盈止损单时填写)",
  28032. "type": "string"
  28033. },
  28034. "pricemode": {
  28035. "description": "取价方式 - 1:市价 2: 限价",
  28036. "type": "integer"
  28037. },
  28038. "qtydecimalplace": {
  28039. "description": "商品报价小数位",
  28040. "type": "integer"
  28041. },
  28042. "relatedid": {
  28043. "description": "关联单号(交割单)",
  28044. "type": "string"
  28045. },
  28046. "tradedate": {
  28047. "description": "交易日(yyyyMMdd)",
  28048. "type": "string"
  28049. },
  28050. "trademode": {
  28051. "description": "交易模式",
  28052. "type": "integer"
  28053. },
  28054. "tradeqty": {
  28055. "description": "成交数量",
  28056. "type": "number"
  28057. },
  28058. "unfreezecharge": {
  28059. "description": "解冻手续费",
  28060. "type": "number"
  28061. },
  28062. "unfreezemargin": {
  28063. "description": "解冻保证金",
  28064. "type": "number"
  28065. },
  28066. "validtime": {
  28067. "description": "有效期限",
  28068. "type": "string"
  28069. },
  28070. "validtype": {
  28071. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28072. "type": "integer"
  28073. },
  28074. "volumetype": {
  28075. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28076. "type": "integer"
  28077. }
  28078. }
  28079. },
  28080. "order.QueryTradePositionRsp": {
  28081. "type": "object",
  28082. "required": [
  28083. "goodsid"
  28084. ],
  28085. "properties": {
  28086. "accountid": {
  28087. "description": "资金账户",
  28088. "type": "integer"
  28089. },
  28090. "agreeunit": {
  28091. "description": "合约单位",
  28092. "type": "number"
  28093. },
  28094. "averageprice": {
  28095. "description": "持仓均价",
  28096. "type": "number"
  28097. },
  28098. "buyorsell": {
  28099. "description": "方向 - 0:买 1:卖",
  28100. "type": "integer"
  28101. },
  28102. "closetotalqty": {
  28103. "description": "平仓总数量",
  28104. "type": "number"
  28105. },
  28106. "curholderamount": {
  28107. "description": "当前持仓总金额[商品币种]",
  28108. "type": "number"
  28109. },
  28110. "curpositionqty": {
  28111. "description": "当前持仓总数量",
  28112. "type": "number"
  28113. },
  28114. "currencyid": {
  28115. "description": "报价货币ID",
  28116. "type": "integer"
  28117. },
  28118. "curtdposition": {
  28119. "description": "期末今日头寸",
  28120. "type": "number"
  28121. },
  28122. "decimalplace": {
  28123. "description": "报价小数位",
  28124. "type": "integer"
  28125. },
  28126. "enableqty": {
  28127. "description": "可用量",
  28128. "type": "number"
  28129. },
  28130. "fretdposition": {
  28131. "description": "冻结今日头寸",
  28132. "type": "number"
  28133. },
  28134. "frozenqty": {
  28135. "description": "持仓冻结数量",
  28136. "type": "number"
  28137. },
  28138. "goodscode": {
  28139. "description": "商品代码",
  28140. "type": "string"
  28141. },
  28142. "goodsid": {
  28143. "description": "商品Id",
  28144. "type": "integer"
  28145. },
  28146. "goodsname": {
  28147. "description": "商品名称",
  28148. "type": "string"
  28149. },
  28150. "goodunit": {
  28151. "description": "报价单位",
  28152. "type": "string"
  28153. },
  28154. "goodunitid": {
  28155. "description": "报价单位ID",
  28156. "type": "integer"
  28157. },
  28158. "holderamount": {
  28159. "description": "期初持仓总金额[商品币种]",
  28160. "type": "number"
  28161. },
  28162. "marketid": {
  28163. "description": "所属市场ID",
  28164. "type": "integer"
  28165. },
  28166. "openreqqty": {
  28167. "description": "开仓申请数量(用于比较最大持仓数量)",
  28168. "type": "number"
  28169. },
  28170. "opentotalqty": {
  28171. "description": "开仓总数量",
  28172. "type": "number"
  28173. },
  28174. "otherfrozenqty": {
  28175. "description": "持仓其他冻结数量(交割冻结)",
  28176. "type": "number"
  28177. },
  28178. "positionqty": {
  28179. "description": "期初持仓数量",
  28180. "type": "number"
  28181. },
  28182. "qtydecimalplace": {
  28183. "description": "成交量小数位",
  28184. "type": "integer"
  28185. },
  28186. "tnqty": {
  28187. "description": "T+N冻结总量",
  28188. "type": "number"
  28189. },
  28190. "tnusedqty": {
  28191. "description": "T+N使用量(可以使用T+N的冻结数量)",
  28192. "type": "number"
  28193. },
  28194. "trademode": {
  28195. "description": "交易模式",
  28196. "type": "integer"
  28197. },
  28198. "usedmargin": {
  28199. "description": "占用保证金[商品币种]",
  28200. "type": "number"
  28201. }
  28202. }
  28203. },
  28204. "quote.HistoryData": {
  28205. "type": "object",
  28206. "properties": {
  28207. "c": {
  28208. "description": "收盘价",
  28209. "type": "number"
  28210. },
  28211. "f": {
  28212. "description": "是否补充数据",
  28213. "type": "boolean"
  28214. },
  28215. "h": {
  28216. "description": "最高价",
  28217. "type": "number"
  28218. },
  28219. "hv": {
  28220. "description": "持仓量",
  28221. "type": "integer"
  28222. },
  28223. "l": {
  28224. "description": "最低价",
  28225. "type": "number"
  28226. },
  28227. "o": {
  28228. "description": "开盘价",
  28229. "type": "number"
  28230. },
  28231. "s": {
  28232. "description": "结算价,日线周期(包括)以上才有",
  28233. "type": "number"
  28234. },
  28235. "ts": {
  28236. "description": "时间",
  28237. "type": "string"
  28238. },
  28239. "tt": {
  28240. "description": "总金额",
  28241. "type": "number"
  28242. },
  28243. "tv": {
  28244. "description": "总量",
  28245. "type": "integer"
  28246. }
  28247. }
  28248. },
  28249. "quote.HistoryTikData": {
  28250. "type": "object",
  28251. "properties": {
  28252. "AV": {
  28253. "description": "卖量",
  28254. "type": "integer"
  28255. },
  28256. "Ask": {
  28257. "description": "卖价",
  28258. "type": "number"
  28259. },
  28260. "BV": {
  28261. "description": "买量",
  28262. "type": "integer"
  28263. },
  28264. "Bid": {
  28265. "description": "买价",
  28266. "type": "number"
  28267. },
  28268. "HI": {
  28269. "description": "单笔持仓",
  28270. "type": "integer"
  28271. },
  28272. "HV": {
  28273. "description": "持仓量",
  28274. "type": "integer"
  28275. },
  28276. "PE": {
  28277. "description": "现价",
  28278. "type": "number"
  28279. },
  28280. "TDR": {
  28281. "description": "交易方向,0:买 1:卖",
  28282. "type": "integer"
  28283. },
  28284. "TK": {
  28285. "description": "交易类型",
  28286. "type": "integer"
  28287. },
  28288. "TS": {
  28289. "description": "行情时间文本",
  28290. "type": "string"
  28291. },
  28292. "TT": {
  28293. "description": "现金额",
  28294. "type": "number"
  28295. },
  28296. "Vol": {
  28297. "description": "现量",
  28298. "type": "integer"
  28299. }
  28300. }
  28301. },
  28302. "quote.QueryQuoteDayRsp": {
  28303. "type": "object",
  28304. "properties": {
  28305. "ask": {
  28306. "description": "卖1",
  28307. "type": "number"
  28308. },
  28309. "ask10": {
  28310. "description": "卖10",
  28311. "type": "number"
  28312. },
  28313. "ask2": {
  28314. "description": "卖2",
  28315. "type": "number"
  28316. },
  28317. "ask3": {
  28318. "description": "卖3",
  28319. "type": "number"
  28320. },
  28321. "ask4": {
  28322. "description": "卖4",
  28323. "type": "number"
  28324. },
  28325. "ask5": {
  28326. "description": "卖5",
  28327. "type": "number"
  28328. },
  28329. "ask6": {
  28330. "description": "卖6",
  28331. "type": "number"
  28332. },
  28333. "ask7": {
  28334. "description": "卖7",
  28335. "type": "number"
  28336. },
  28337. "ask8": {
  28338. "description": "卖8",
  28339. "type": "number"
  28340. },
  28341. "ask9": {
  28342. "description": "卖9",
  28343. "type": "number"
  28344. },
  28345. "askorderid": {
  28346. "description": "卖单号1",
  28347. "type": "integer"
  28348. },
  28349. "askorderid2": {
  28350. "description": "卖单号2",
  28351. "type": "integer"
  28352. },
  28353. "askorderid3": {
  28354. "description": "卖单号3",
  28355. "type": "integer"
  28356. },
  28357. "askorderid4": {
  28358. "description": "卖单号4",
  28359. "type": "integer"
  28360. },
  28361. "askorderid5": {
  28362. "description": "卖单号5",
  28363. "type": "integer"
  28364. },
  28365. "askordervolume": {
  28366. "description": "卖单量1",
  28367. "type": "integer"
  28368. },
  28369. "askordervolume10": {
  28370. "description": "卖单量10",
  28371. "type": "integer"
  28372. },
  28373. "askordervolume2": {
  28374. "description": "卖单量2",
  28375. "type": "integer"
  28376. },
  28377. "askordervolume3": {
  28378. "description": "卖单量3",
  28379. "type": "integer"
  28380. },
  28381. "askordervolume4": {
  28382. "description": "卖单量4",
  28383. "type": "integer"
  28384. },
  28385. "askordervolume5": {
  28386. "description": "卖单量5",
  28387. "type": "integer"
  28388. },
  28389. "askordervolume6": {
  28390. "description": "卖单量6",
  28391. "type": "integer"
  28392. },
  28393. "askordervolume7": {
  28394. "description": "卖单量7",
  28395. "type": "integer"
  28396. },
  28397. "askordervolume8": {
  28398. "description": "卖单量8",
  28399. "type": "integer"
  28400. },
  28401. "askordervolume9": {
  28402. "description": "卖单量9",
  28403. "type": "integer"
  28404. },
  28405. "askqueueinfo": {
  28406. "description": "大利市卖港股用",
  28407. "type": "string"
  28408. },
  28409. "askvolume": {
  28410. "description": "卖量1",
  28411. "type": "integer"
  28412. },
  28413. "askvolume10": {
  28414. "description": "卖量10",
  28415. "type": "integer"
  28416. },
  28417. "askvolume2": {
  28418. "description": "卖量2",
  28419. "type": "integer"
  28420. },
  28421. "askvolume3": {
  28422. "description": "卖量3",
  28423. "type": "integer"
  28424. },
  28425. "askvolume4": {
  28426. "description": "卖量4",
  28427. "type": "integer"
  28428. },
  28429. "askvolume5": {
  28430. "description": "卖量5",
  28431. "type": "integer"
  28432. },
  28433. "askvolume6": {
  28434. "description": "卖量6",
  28435. "type": "integer"
  28436. },
  28437. "askvolume7": {
  28438. "description": "卖量7",
  28439. "type": "integer"
  28440. },
  28441. "askvolume8": {
  28442. "description": "卖量8",
  28443. "type": "integer"
  28444. },
  28445. "askvolume9": {
  28446. "description": "卖量9",
  28447. "type": "integer"
  28448. },
  28449. "averageprice": {
  28450. "description": "均价",
  28451. "type": "number"
  28452. },
  28453. "bid": {
  28454. "description": "买1",
  28455. "type": "number"
  28456. },
  28457. "bid10": {
  28458. "description": "买10",
  28459. "type": "number"
  28460. },
  28461. "bid2": {
  28462. "description": "买2",
  28463. "type": "number"
  28464. },
  28465. "bid3": {
  28466. "description": "买3",
  28467. "type": "number"
  28468. },
  28469. "bid4": {
  28470. "description": "买4",
  28471. "type": "number"
  28472. },
  28473. "bid5": {
  28474. "description": "买5",
  28475. "type": "number"
  28476. },
  28477. "bid6": {
  28478. "description": "买6",
  28479. "type": "number"
  28480. },
  28481. "bid7": {
  28482. "description": "买7",
  28483. "type": "number"
  28484. },
  28485. "bid8": {
  28486. "description": "买8",
  28487. "type": "number"
  28488. },
  28489. "bid9": {
  28490. "description": "买9",
  28491. "type": "number"
  28492. },
  28493. "bidorderid": {
  28494. "description": "买单号1",
  28495. "type": "integer"
  28496. },
  28497. "bidorderid2": {
  28498. "description": "买单号2",
  28499. "type": "integer"
  28500. },
  28501. "bidorderid3": {
  28502. "description": "买单号3",
  28503. "type": "integer"
  28504. },
  28505. "bidorderid4": {
  28506. "description": "买单号4",
  28507. "type": "integer"
  28508. },
  28509. "bidorderid5": {
  28510. "description": "买单号5",
  28511. "type": "integer"
  28512. },
  28513. "bidordervolume": {
  28514. "description": "买单量1",
  28515. "type": "integer"
  28516. },
  28517. "bidordervolume10": {
  28518. "description": "买单量10",
  28519. "type": "integer"
  28520. },
  28521. "bidordervolume2": {
  28522. "description": "买单量2",
  28523. "type": "integer"
  28524. },
  28525. "bidordervolume3": {
  28526. "description": "买单量3",
  28527. "type": "integer"
  28528. },
  28529. "bidordervolume4": {
  28530. "description": "买单量4",
  28531. "type": "integer"
  28532. },
  28533. "bidordervolume5": {
  28534. "description": "买单量5",
  28535. "type": "integer"
  28536. },
  28537. "bidordervolume6": {
  28538. "description": "买单量6",
  28539. "type": "integer"
  28540. },
  28541. "bidordervolume7": {
  28542. "description": "买单量7",
  28543. "type": "integer"
  28544. },
  28545. "bidordervolume8": {
  28546. "description": "买单量8",
  28547. "type": "integer"
  28548. },
  28549. "bidordervolume9": {
  28550. "description": "买单量9",
  28551. "type": "integer"
  28552. },
  28553. "bidqueueinfo": {
  28554. "description": "大利市买港股用",
  28555. "type": "string"
  28556. },
  28557. "bidvolume": {
  28558. "description": "买量1",
  28559. "type": "integer"
  28560. },
  28561. "bidvolume10": {
  28562. "description": "买量10",
  28563. "type": "integer"
  28564. },
  28565. "bidvolume2": {
  28566. "description": "买量2",
  28567. "type": "integer"
  28568. },
  28569. "bidvolume3": {
  28570. "description": "买量3",
  28571. "type": "integer"
  28572. },
  28573. "bidvolume4": {
  28574. "description": "买量4",
  28575. "type": "integer"
  28576. },
  28577. "bidvolume5": {
  28578. "description": "买量5",
  28579. "type": "integer"
  28580. },
  28581. "bidvolume6": {
  28582. "description": "买量6",
  28583. "type": "integer"
  28584. },
  28585. "bidvolume7": {
  28586. "description": "买量7",
  28587. "type": "integer"
  28588. },
  28589. "bidvolume8": {
  28590. "description": "买量8",
  28591. "type": "integer"
  28592. },
  28593. "bidvolume9": {
  28594. "description": "买量9",
  28595. "type": "integer"
  28596. },
  28597. "calloptionpremiums": {
  28598. "description": "认购期权1",
  28599. "type": "integer"
  28600. },
  28601. "calloptionpremiums2": {
  28602. "description": "认购期权2",
  28603. "type": "integer"
  28604. },
  28605. "calloptionpremiums3": {
  28606. "description": "认购期权3",
  28607. "type": "integer"
  28608. },
  28609. "calloptionpremiums4": {
  28610. "description": "认购期权4",
  28611. "type": "integer"
  28612. },
  28613. "calloptionpremiums5": {
  28614. "description": "认购期权5",
  28615. "type": "integer"
  28616. },
  28617. "cleartime": {
  28618. "description": "清盘时间",
  28619. "type": "integer"
  28620. },
  28621. "exchangecode": {
  28622. "description": "交易所代码",
  28623. "type": "integer"
  28624. },
  28625. "exchangedate": {
  28626. "description": "交易日",
  28627. "type": "integer"
  28628. },
  28629. "goodscode": {
  28630. "description": "商品代码",
  28631. "type": "string"
  28632. },
  28633. "grepmarketprice": {
  28634. "description": "暗盘价 港股专用",
  28635. "type": "number"
  28636. },
  28637. "highest": {
  28638. "description": "最高价",
  28639. "type": "number"
  28640. },
  28641. "holdincrement": {
  28642. "description": "单笔持仓",
  28643. "type": "integer"
  28644. },
  28645. "holdvolume": {
  28646. "description": "持仓",
  28647. "type": "integer"
  28648. },
  28649. "iep": {
  28650. "description": "平衡价 港股专用",
  28651. "type": "number"
  28652. },
  28653. "iev": {
  28654. "description": "平衡量 港股专用",
  28655. "type": "number"
  28656. },
  28657. "inventory": {
  28658. "description": "库存",
  28659. "type": "integer"
  28660. },
  28661. "iscleared": {
  28662. "description": "是否清盘标志",
  28663. "type": "integer"
  28664. },
  28665. "issettled": {
  28666. "description": "是否结算标志",
  28667. "type": "integer"
  28668. },
  28669. "last": {
  28670. "description": "最新价",
  28671. "type": "number"
  28672. },
  28673. "lastlot": {
  28674. "description": "最新成交手数",
  28675. "type": "integer"
  28676. },
  28677. "lasttime": {
  28678. "description": "行情时间(只有现价变化行情时间才变化)",
  28679. "type": "string"
  28680. },
  28681. "lastturnover": {
  28682. "description": "最新成交金额",
  28683. "type": "number"
  28684. },
  28685. "lastvolume": {
  28686. "description": "最新成交量",
  28687. "type": "integer"
  28688. },
  28689. "limitdown": {
  28690. "description": "跌停价",
  28691. "type": "number"
  28692. },
  28693. "limitup": {
  28694. "description": "涨停价",
  28695. "type": "number"
  28696. },
  28697. "lowest": {
  28698. "description": "最低价",
  28699. "type": "number"
  28700. },
  28701. "nontotalholdervolume": {
  28702. "description": "非交易持仓量",
  28703. "type": "integer"
  28704. },
  28705. "nontotallot": {
  28706. "description": "非交易总手数",
  28707. "type": "integer"
  28708. },
  28709. "nontotalturnover": {
  28710. "description": "非交易总金额",
  28711. "type": "integer"
  28712. },
  28713. "nontotalvolume": {
  28714. "description": "非交易总量",
  28715. "type": "integer"
  28716. },
  28717. "opened": {
  28718. "description": "开盘价",
  28719. "type": "number"
  28720. },
  28721. "opentime": {
  28722. "description": "开盘时间",
  28723. "type": "string"
  28724. },
  28725. "orderid": {
  28726. "description": "序号",
  28727. "type": "integer"
  28728. },
  28729. "preclose": {
  28730. "description": "昨收",
  28731. "type": "number"
  28732. },
  28733. "preholdvolume": {
  28734. "description": "昨持仓",
  28735. "type": "integer"
  28736. },
  28737. "presettle": {
  28738. "description": "昨结价",
  28739. "type": "number"
  28740. },
  28741. "publictradetype": {
  28742. "description": "公共交易标志类型 港股专用",
  28743. "type": "string"
  28744. },
  28745. "putoptionpremiums": {
  28746. "description": "认沽期权1",
  28747. "type": "integer"
  28748. },
  28749. "putoptionpremiums2": {
  28750. "description": "认沽期权2",
  28751. "type": "integer"
  28752. },
  28753. "putoptionpremiums3": {
  28754. "description": "认沽期权3",
  28755. "type": "integer"
  28756. },
  28757. "putoptionpremiums4": {
  28758. "description": "认沽期权4",
  28759. "type": "integer"
  28760. },
  28761. "putoptionpremiums5": {
  28762. "description": "认沽期权5",
  28763. "type": "integer"
  28764. },
  28765. "settle": {
  28766. "description": "结算价",
  28767. "type": "number"
  28768. },
  28769. "strikeprice": {
  28770. "description": "发行价",
  28771. "type": "number"
  28772. },
  28773. "totalaskvolume": {
  28774. "description": "内盘",
  28775. "type": "integer"
  28776. },
  28777. "totalbidvolume": {
  28778. "description": "外盘",
  28779. "type": "integer"
  28780. },
  28781. "totallot": {
  28782. "description": "总手数",
  28783. "type": "integer"
  28784. },
  28785. "totalturnover": {
  28786. "description": "总金额",
  28787. "type": "number"
  28788. },
  28789. "totalvolume": {
  28790. "description": "总量",
  28791. "type": "integer"
  28792. },
  28793. "utclasttime": {
  28794. "description": "utc的行情时间",
  28795. "type": "string"
  28796. }
  28797. }
  28798. },
  28799. "quote.QueryTSDataRsp": {
  28800. "type": "object",
  28801. "properties": {
  28802. "Count": {
  28803. "description": "交易日应有数据个数",
  28804. "type": "integer"
  28805. },
  28806. "decimalPlace": {
  28807. "description": "小数位",
  28808. "type": "integer"
  28809. },
  28810. "endTime": {
  28811. "description": "结束时间",
  28812. "type": "string"
  28813. },
  28814. "goodsCode": {
  28815. "description": "商品代码",
  28816. "type": "string"
  28817. },
  28818. "historyDatas": {
  28819. "description": "历史数据",
  28820. "type": "array",
  28821. "items": {
  28822. "$ref": "#/definitions/quote.HistoryData"
  28823. }
  28824. },
  28825. "outGoodsCode": {
  28826. "description": "外部商品代码",
  28827. "type": "string"
  28828. },
  28829. "preSettle": {
  28830. "description": "昨结价",
  28831. "type": "number"
  28832. },
  28833. "runSteps": {
  28834. "description": "交易日开休市计划",
  28835. "type": "array",
  28836. "items": {
  28837. "$ref": "#/definitions/quote.TSDataRunStep"
  28838. }
  28839. },
  28840. "startTime": {
  28841. "description": "开始时间",
  28842. "type": "string"
  28843. },
  28844. "tradeDate": {
  28845. "description": "交易日",
  28846. "type": "string"
  28847. }
  28848. }
  28849. },
  28850. "quote.TSDataRunStep": {
  28851. "type": "object",
  28852. "properties": {
  28853. "end": {
  28854. "description": "真实结束时间",
  28855. "type": "string"
  28856. },
  28857. "endflag": {
  28858. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  28859. "type": "integer"
  28860. },
  28861. "endtime": {
  28862. "description": "结束时间(HH:mm)",
  28863. "type": "string"
  28864. },
  28865. "endweekday": {
  28866. "description": "结束周几",
  28867. "type": "integer"
  28868. },
  28869. "groupid": {
  28870. "description": "分组ID",
  28871. "type": "integer"
  28872. },
  28873. "runstep": {
  28874. "description": "运行阶段 - 2:连续交易",
  28875. "type": "integer"
  28876. },
  28877. "sectionid": {
  28878. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  28879. "type": "integer"
  28880. },
  28881. "start": {
  28882. "description": "真实开始时间",
  28883. "type": "string"
  28884. },
  28885. "startflag": {
  28886. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  28887. "type": "integer"
  28888. },
  28889. "starttime": {
  28890. "description": "起始时间(HH:mm)",
  28891. "type": "string"
  28892. },
  28893. "startweekday": {
  28894. "description": "起始周几",
  28895. "type": "integer"
  28896. },
  28897. "tradeweekday": {
  28898. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  28899. "type": "integer"
  28900. }
  28901. }
  28902. },
  28903. "szdz.QueryConvertLogRsp": {
  28904. "type": "object",
  28905. "required": [
  28906. "logid"
  28907. ],
  28908. "properties": {
  28909. "accountid": {
  28910. "description": "资金账户ID",
  28911. "type": "integer"
  28912. },
  28913. "clientticket": {
  28914. "description": "客户端流水号",
  28915. "type": "string"
  28916. },
  28917. "converttype": {
  28918. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  28919. "type": "integer"
  28920. },
  28921. "createtime": {
  28922. "description": "记账时间",
  28923. "type": "string"
  28924. },
  28925. "daymaxvalue": {
  28926. "description": "配置当日最大转入限制",
  28927. "type": "number"
  28928. },
  28929. "daymaxvalue2": {
  28930. "description": "配置当日最大转入限制(转入)",
  28931. "type": "number"
  28932. },
  28933. "goodscode": {
  28934. "description": "商品代码",
  28935. "type": "string"
  28936. },
  28937. "goodsname": {
  28938. "description": "商品名称",
  28939. "type": "string"
  28940. },
  28941. "handlestatus": {
  28942. "description": "处理状态",
  28943. "type": "integer"
  28944. },
  28945. "innergoodsid": {
  28946. "description": "内部商品ID",
  28947. "type": "integer"
  28948. },
  28949. "inratio": {
  28950. "description": "配置转入比值",
  28951. "type": "integer"
  28952. },
  28953. "invalue": {
  28954. "description": "目标值",
  28955. "type": "number"
  28956. },
  28957. "logid": {
  28958. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28959. "type": "integer"
  28960. },
  28961. "mobile": {
  28962. "description": "手机号码(加密存储)",
  28963. "type": "string"
  28964. },
  28965. "outergoodscode": {
  28966. "description": "外部商品代码[JD\\PD]",
  28967. "type": "string"
  28968. },
  28969. "outratio": {
  28970. "description": "配置转出比值",
  28971. "type": "integer"
  28972. },
  28973. "outvalue": {
  28974. "description": "源值",
  28975. "type": "number"
  28976. },
  28977. "pddecimalplace": {
  28978. "description": "PD小数位",
  28979. "type": "integer"
  28980. },
  28981. "qty": {
  28982. "description": "数量",
  28983. "type": "string"
  28984. },
  28985. "remark": {
  28986. "description": "备注",
  28987. "type": "string"
  28988. },
  28989. "sessionid": {
  28990. "description": "会话ID",
  28991. "type": "integer"
  28992. },
  28993. "timemaxvalue": {
  28994. "description": "配置单次最大转入限制",
  28995. "type": "number"
  28996. },
  28997. "timemaxvalue2": {
  28998. "description": "配置单次最大转入限制(转入)",
  28999. "type": "number"
  29000. },
  29001. "timeminvalue": {
  29002. "description": "配置单次最小数量限制",
  29003. "type": "number"
  29004. },
  29005. "timeminvalue2": {
  29006. "description": "配置单次最小数量限制(转入)",
  29007. "type": "number"
  29008. },
  29009. "tradedate": {
  29010. "description": "交易日(yyyyMMdd)",
  29011. "type": "string"
  29012. },
  29013. "userid": {
  29014. "description": "用户ID",
  29015. "type": "integer"
  29016. }
  29017. }
  29018. },
  29019. "szdz.QueryGoodsPickupRsp": {
  29020. "type": "object",
  29021. "required": [
  29022. "takeorderid"
  29023. ],
  29024. "properties": {
  29025. "accountid": {
  29026. "description": "账户ID",
  29027. "type": "integer"
  29028. },
  29029. "address": {
  29030. "description": "提货人详细地址",
  29031. "type": "string"
  29032. },
  29033. "auditer": {
  29034. "description": "审核人",
  29035. "type": "integer"
  29036. },
  29037. "audittime": {
  29038. "description": "审核时间",
  29039. "type": "string"
  29040. },
  29041. "cardnum": {
  29042. "description": "提货人证件号码",
  29043. "type": "string"
  29044. },
  29045. "cardtypeid": {
  29046. "description": "提货人证件类型",
  29047. "type": "integer"
  29048. },
  29049. "checkremark": {
  29050. "description": "审核备注",
  29051. "type": "string"
  29052. },
  29053. "goodscode": {
  29054. "description": "商品代码",
  29055. "type": "string"
  29056. },
  29057. "goodsid": {
  29058. "description": "商品ID",
  29059. "type": "integer"
  29060. },
  29061. "goodsname": {
  29062. "description": "商品名称",
  29063. "type": "string"
  29064. },
  29065. "handlestatus": {
  29066. "description": "处理状态",
  29067. "type": "integer"
  29068. },
  29069. "marketid": {
  29070. "description": "市场ID",
  29071. "type": "integer"
  29072. },
  29073. "phonenum": {
  29074. "description": "提货人联系方式",
  29075. "type": "string"
  29076. },
  29077. "qty": {
  29078. "description": "提货数量",
  29079. "type": "number"
  29080. },
  29081. "recivername": {
  29082. "description": "提货人姓名",
  29083. "type": "string"
  29084. },
  29085. "reqtime": {
  29086. "description": "更新时间",
  29087. "type": "string"
  29088. },
  29089. "takemode": {
  29090. "description": "提货方式 - 2:自提 3:配送",
  29091. "type": "integer"
  29092. },
  29093. "takeorderid": {
  29094. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29095. "type": "string"
  29096. },
  29097. "takeorderstatus": {
  29098. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29099. "type": "integer"
  29100. },
  29101. "takeremark": {
  29102. "description": "提货备注",
  29103. "type": "string"
  29104. },
  29105. "tradedate": {
  29106. "description": "交易日(yyyyMMdd)",
  29107. "type": "string"
  29108. },
  29109. "userid": {
  29110. "description": "用户ID",
  29111. "type": "integer"
  29112. }
  29113. }
  29114. },
  29115. "szdz.QueryRecieptOrderRsp": {
  29116. "type": "object",
  29117. "required": [
  29118. "ordertime"
  29119. ],
  29120. "properties": {
  29121. "accountName": {
  29122. "description": "所属账号名称(已脱敏)",
  29123. "type": "string"
  29124. },
  29125. "accountid": {
  29126. "description": "资金账号",
  29127. "type": "integer"
  29128. },
  29129. "buyorsell": {
  29130. "description": "方向 - 0:买 1:卖",
  29131. "type": "integer"
  29132. },
  29133. "enableqty": {
  29134. "description": "可摘数量",
  29135. "type": "integer"
  29136. },
  29137. "goodscode": {
  29138. "description": "商品代码",
  29139. "type": "string"
  29140. },
  29141. "goodsid": {
  29142. "description": "商品ID",
  29143. "type": "integer"
  29144. },
  29145. "goodsname": {
  29146. "description": "商品名称",
  29147. "type": "string"
  29148. },
  29149. "orderid": {
  29150. "description": "委托单号",
  29151. "type": "string"
  29152. },
  29153. "orderprice": {
  29154. "description": "委托价格",
  29155. "type": "number"
  29156. },
  29157. "ordertime": {
  29158. "description": "委托时间",
  29159. "type": "string"
  29160. },
  29161. "tradedate": {
  29162. "description": "交易日(yyyyMMdd)",
  29163. "type": "string"
  29164. }
  29165. }
  29166. },
  29167. "szdz.QuerySZDZTradePositionRsp": {
  29168. "type": "object",
  29169. "properties": {
  29170. "accountid": {
  29171. "description": "账号Id",
  29172. "type": "integer"
  29173. },
  29174. "agreeunit": {
  29175. "description": "合约单位",
  29176. "type": "number"
  29177. },
  29178. "averageprice": {
  29179. "description": "持仓均价",
  29180. "type": "number"
  29181. },
  29182. "buyorsell": {
  29183. "description": "方向 - 0:买 1:卖",
  29184. "type": "integer"
  29185. },
  29186. "closetotalqty": {
  29187. "description": "平仓总数量",
  29188. "type": "integer"
  29189. },
  29190. "curholderamount": {
  29191. "description": "当前持仓总金额",
  29192. "type": "number"
  29193. },
  29194. "curpositionqty": {
  29195. "description": "当前持仓总数量",
  29196. "type": "integer"
  29197. },
  29198. "currencyid": {
  29199. "description": "报价货币ID",
  29200. "type": "integer"
  29201. },
  29202. "curtdposition": {
  29203. "description": "期末今日头寸",
  29204. "type": "integer"
  29205. },
  29206. "decimalplace": {
  29207. "description": "报价小数位",
  29208. "type": "integer"
  29209. },
  29210. "enableqty": {
  29211. "description": "可用量",
  29212. "type": "integer"
  29213. },
  29214. "fretdposition": {
  29215. "description": "冻结今日头寸",
  29216. "type": "integer"
  29217. },
  29218. "frozenqty": {
  29219. "description": "持仓冻结数量",
  29220. "type": "integer"
  29221. },
  29222. "goodscode": {
  29223. "description": "商品代码(内部)",
  29224. "type": "string"
  29225. },
  29226. "goodsid": {
  29227. "description": "商品Id",
  29228. "type": "integer"
  29229. },
  29230. "goodsname": {
  29231. "description": "商品名称",
  29232. "type": "string"
  29233. },
  29234. "goodunit": {
  29235. "description": "报价单位",
  29236. "type": "string"
  29237. },
  29238. "goodunitid": {
  29239. "description": "报价单位ID",
  29240. "type": "integer"
  29241. },
  29242. "holderamount": {
  29243. "description": "期初持仓总金额",
  29244. "type": "number"
  29245. },
  29246. "marketid": {
  29247. "description": "市场ID",
  29248. "type": "integer"
  29249. },
  29250. "openreqqty": {
  29251. "description": "开仓申请数量",
  29252. "type": "integer"
  29253. },
  29254. "opentotalqty": {
  29255. "description": "开仓总数量",
  29256. "type": "integer"
  29257. },
  29258. "otherfrozenqty": {
  29259. "description": "持仓其他冻结数量(交割冻结)",
  29260. "type": "integer"
  29261. },
  29262. "positionqty": {
  29263. "description": "期初持仓数量",
  29264. "type": "integer"
  29265. },
  29266. "szdz3freezqty": {
  29267. "description": "尚志大宗转换冻结总数量",
  29268. "type": "integer"
  29269. },
  29270. "tnqty": {
  29271. "description": "T+N冻结总量",
  29272. "type": "integer"
  29273. },
  29274. "tnusedqty": {
  29275. "description": "T+N使用量",
  29276. "type": "integer"
  29277. },
  29278. "trademode": {
  29279. "description": "交易模式",
  29280. "type": "integer"
  29281. },
  29282. "usedmargin": {
  29283. "description": "占用保证金",
  29284. "type": "number"
  29285. }
  29286. }
  29287. },
  29288. "taaccount.QueryAmountLogRsp": {
  29289. "type": "object",
  29290. "required": [
  29291. "accountid",
  29292. "amount",
  29293. "amountadjusttype",
  29294. "autoid",
  29295. "balance",
  29296. "createtime",
  29297. "currentbalance",
  29298. "operatetype"
  29299. ],
  29300. "properties": {
  29301. "OPERATETYPENAME": {
  29302. "description": "资金操作类型名称",
  29303. "type": "string"
  29304. },
  29305. "accountid": {
  29306. "description": "资金账户ID",
  29307. "type": "integer"
  29308. },
  29309. "agoodscode": {
  29310. "description": "竞拍商品代码",
  29311. "type": "string"
  29312. },
  29313. "agoodsname": {
  29314. "description": "竞拍商品名称",
  29315. "type": "string"
  29316. },
  29317. "amount": {
  29318. "description": "资金金额",
  29319. "type": "number"
  29320. },
  29321. "amountadjusttype": {
  29322. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29323. "type": "integer"
  29324. },
  29325. "autoid": {
  29326. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29327. "type": "integer"
  29328. },
  29329. "balance": {
  29330. "description": "期初余额",
  29331. "type": "number"
  29332. },
  29333. "businesscode": {
  29334. "description": "业务编号",
  29335. "type": "integer"
  29336. },
  29337. "createtime": {
  29338. "description": "发生时间",
  29339. "type": "string"
  29340. },
  29341. "currencyid": {
  29342. "description": "币种ID",
  29343. "type": "integer"
  29344. },
  29345. "currentbalance": {
  29346. "description": "期末余额(变动后金额)",
  29347. "type": "number"
  29348. },
  29349. "dgoodscode": {
  29350. "description": "交割商品代码",
  29351. "type": "string"
  29352. },
  29353. "dgoodsname": {
  29354. "description": "交割商品名称",
  29355. "type": "string"
  29356. },
  29357. "goodscode": {
  29358. "description": "商品代码",
  29359. "type": "string"
  29360. },
  29361. "goodsid": {
  29362. "description": "商品ID",
  29363. "type": "integer"
  29364. },
  29365. "goodsname": {
  29366. "description": "商品名称",
  29367. "type": "string"
  29368. },
  29369. "marketid": {
  29370. "description": "市场ID",
  29371. "type": "integer"
  29372. },
  29373. "marketname": {
  29374. "description": "市场名称",
  29375. "type": "string"
  29376. },
  29377. "moneyticket": {
  29378. "description": "资金流水号:银行端流水号",
  29379. "type": "integer"
  29380. },
  29381. "operatetype": {
  29382. "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:营销收款",
  29383. "type": "integer"
  29384. },
  29385. "relationorderid": {
  29386. "description": "关联单号",
  29387. "type": "string"
  29388. },
  29389. "remark": {
  29390. "description": "备注",
  29391. "type": "string"
  29392. },
  29393. "trademode": {
  29394. "description": "交易模式",
  29395. "type": "integer"
  29396. }
  29397. }
  29398. },
  29399. "taaccount.QueryHisAmountLogRsp": {
  29400. "type": "object",
  29401. "required": [
  29402. "accountid",
  29403. "amount",
  29404. "amountadjusttype",
  29405. "autoid",
  29406. "balance",
  29407. "createtime",
  29408. "currentbalance",
  29409. "histradedate",
  29410. "operatetype"
  29411. ],
  29412. "properties": {
  29413. "OPERATETYPENAME": {
  29414. "description": "资金操作类型名称",
  29415. "type": "string"
  29416. },
  29417. "accountid": {
  29418. "description": "资金账户ID",
  29419. "type": "integer"
  29420. },
  29421. "agoodscode": {
  29422. "description": "竞拍商品代码",
  29423. "type": "string"
  29424. },
  29425. "agoodsname": {
  29426. "description": "竞拍商品名称",
  29427. "type": "string"
  29428. },
  29429. "amount": {
  29430. "description": "资金金额",
  29431. "type": "number"
  29432. },
  29433. "amountadjusttype": {
  29434. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29435. "type": "integer"
  29436. },
  29437. "autoid": {
  29438. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29439. "type": "integer"
  29440. },
  29441. "balance": {
  29442. "description": "期初余额",
  29443. "type": "number"
  29444. },
  29445. "businesscode": {
  29446. "description": "业务编号",
  29447. "type": "integer"
  29448. },
  29449. "createtime": {
  29450. "description": "发生时间",
  29451. "type": "string"
  29452. },
  29453. "currencyid": {
  29454. "description": "币种ID",
  29455. "type": "integer"
  29456. },
  29457. "currentbalance": {
  29458. "description": "期末余额(变动后金额)",
  29459. "type": "number"
  29460. },
  29461. "dgoodscode": {
  29462. "description": "交割商品代码",
  29463. "type": "string"
  29464. },
  29465. "dgoodsname": {
  29466. "description": "交割商品名称",
  29467. "type": "string"
  29468. },
  29469. "goodscode": {
  29470. "description": "商品代码",
  29471. "type": "string"
  29472. },
  29473. "goodsid": {
  29474. "description": "商品ID",
  29475. "type": "integer"
  29476. },
  29477. "goodsname": {
  29478. "description": "商品名称",
  29479. "type": "string"
  29480. },
  29481. "histradedate": {
  29482. "description": "历史交易日",
  29483. "type": "string"
  29484. },
  29485. "isvaliddata": {
  29486. "description": "是否有效 - 0:无效 1:有效",
  29487. "type": "integer"
  29488. },
  29489. "marketid": {
  29490. "description": "市场ID",
  29491. "type": "integer"
  29492. },
  29493. "marketname": {
  29494. "description": "市场名称",
  29495. "type": "string"
  29496. },
  29497. "moneyticket": {
  29498. "description": "资金流水号:银行端流水号",
  29499. "type": "integer"
  29500. },
  29501. "operatetype": {
  29502. "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:营销收款",
  29503. "type": "integer"
  29504. },
  29505. "relationorderid": {
  29506. "description": "关联单号",
  29507. "type": "string"
  29508. },
  29509. "remark": {
  29510. "description": "备注",
  29511. "type": "string"
  29512. },
  29513. "trademode": {
  29514. "description": "交易模式",
  29515. "type": "integer"
  29516. }
  29517. }
  29518. },
  29519. "trade.QueryRecieptOrderRsp": {
  29520. "type": "object",
  29521. "required": [
  29522. "ordertime"
  29523. ],
  29524. "properties": {
  29525. "accountName": {
  29526. "description": "所属账号名称(已脱敏)",
  29527. "type": "string"
  29528. },
  29529. "accountid": {
  29530. "description": "资金账号",
  29531. "type": "integer"
  29532. },
  29533. "buyorsell": {
  29534. "description": "方向 - 0:买 1:卖",
  29535. "type": "integer"
  29536. },
  29537. "enableqty": {
  29538. "description": "可摘数量",
  29539. "type": "integer"
  29540. },
  29541. "goodscode": {
  29542. "description": "商品代码",
  29543. "type": "string"
  29544. },
  29545. "goodsid": {
  29546. "description": "商品ID",
  29547. "type": "integer"
  29548. },
  29549. "goodsname": {
  29550. "description": "商品名称",
  29551. "type": "string"
  29552. },
  29553. "orderid": {
  29554. "description": "委托单号",
  29555. "type": "string"
  29556. },
  29557. "orderprice": {
  29558. "description": "委托价格",
  29559. "type": "number"
  29560. },
  29561. "ordertime": {
  29562. "description": "委托时间",
  29563. "type": "string"
  29564. },
  29565. "tradedate": {
  29566. "description": "交易日(yyyyMMdd)",
  29567. "type": "string"
  29568. }
  29569. }
  29570. },
  29571. "user.LoginQueryRsp": {
  29572. "type": "object",
  29573. "properties": {
  29574. "areaRoles": {
  29575. "description": "所属角色信息",
  29576. "type": "array",
  29577. "items": {
  29578. "$ref": "#/definitions/models.Arearole"
  29579. }
  29580. },
  29581. "externalExchanges": {
  29582. "description": "外部交易所",
  29583. "type": "array",
  29584. "items": {
  29585. "$ref": "#/definitions/models.Externalexchange"
  29586. }
  29587. },
  29588. "goodsgroups": {
  29589. "description": "商品组",
  29590. "type": "array",
  29591. "items": {
  29592. "$ref": "#/definitions/models.Goodsgroup"
  29593. }
  29594. },
  29595. "loginAccount": {
  29596. "description": "登录账号",
  29597. "type": "object",
  29598. "$ref": "#/definitions/models.Loginaccount"
  29599. },
  29600. "markets": {
  29601. "description": "市场",
  29602. "type": "array",
  29603. "items": {
  29604. "$ref": "#/definitions/models.Market"
  29605. }
  29606. },
  29607. "systemParams": {
  29608. "description": "系统参数",
  29609. "type": "array",
  29610. "items": {
  29611. "$ref": "#/definitions/models.Systemparam"
  29612. }
  29613. },
  29614. "userAccount": {
  29615. "description": "用户账号",
  29616. "type": "object",
  29617. "$ref": "#/definitions/models.Useraccount"
  29618. },
  29619. "userInfo": {
  29620. "description": "用户信息",
  29621. "type": "object",
  29622. "$ref": "#/definitions/models.Userinfo"
  29623. },
  29624. "username": {
  29625. "description": "用户姓名",
  29626. "type": "string"
  29627. }
  29628. }
  29629. }
  29630. },
  29631. "securityDefinitions": {
  29632. "ApiKeyAuth": {
  29633. "type": "apiKey",
  29634. "name": "Authorization",
  29635. "in": "header"
  29636. }
  29637. }
  29638. }