swagger.json 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975
  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.Ermcp3ExposureParamChLog"
  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/QueryAreaFinanceConfig": {
  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 其他做市关系,都设置为 1",
  7119. "name": "userid",
  7120. "in": "query"
  7121. }
  7122. ],
  7123. "responses": {
  7124. "200": {
  7125. "description": "OK",
  7126. "schema": {
  7127. "type": "array",
  7128. "items": {
  7129. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7130. }
  7131. }
  7132. },
  7133. "500": {
  7134. "description": "Internal Server Error",
  7135. "schema": {
  7136. "$ref": "#/definitions/app.Response"
  7137. }
  7138. }
  7139. }
  7140. }
  7141. },
  7142. "/Qhj/QueryBankAccountSign": {
  7143. "get": {
  7144. "security": [
  7145. {
  7146. "ApiKeyAuth": []
  7147. }
  7148. ],
  7149. "produces": [
  7150. "application/json"
  7151. ],
  7152. "tags": [
  7153. "大连千海金"
  7154. ],
  7155. "summary": "查询签约银行信息(提现账户管理)",
  7156. "parameters": [
  7157. {
  7158. "type": "integer",
  7159. "description": "用户ID",
  7160. "name": "userid",
  7161. "in": "query",
  7162. "required": true
  7163. }
  7164. ],
  7165. "responses": {
  7166. "200": {
  7167. "description": "OK",
  7168. "schema": {
  7169. "type": "array",
  7170. "items": {
  7171. "$ref": "#/definitions/models.QhjBankAccountSign"
  7172. }
  7173. }
  7174. },
  7175. "500": {
  7176. "description": "Internal Server Error",
  7177. "schema": {
  7178. "$ref": "#/definitions/app.Response"
  7179. }
  7180. }
  7181. }
  7182. }
  7183. },
  7184. "/Qhj/QueryBankInfo": {
  7185. "get": {
  7186. "security": [
  7187. {
  7188. "ApiKeyAuth": []
  7189. }
  7190. ],
  7191. "produces": [
  7192. "application/json"
  7193. ],
  7194. "tags": [
  7195. "大连千海金"
  7196. ],
  7197. "summary": "查询开户行",
  7198. "responses": {
  7199. "200": {
  7200. "description": "OK",
  7201. "schema": {
  7202. "type": "array",
  7203. "items": {
  7204. "$ref": "#/definitions/models.QhjBankInfo"
  7205. }
  7206. }
  7207. },
  7208. "500": {
  7209. "description": "Internal Server Error",
  7210. "schema": {
  7211. "$ref": "#/definitions/app.Response"
  7212. }
  7213. }
  7214. }
  7215. }
  7216. },
  7217. "/Qhj/QueryBrokerApply": {
  7218. "get": {
  7219. "security": [
  7220. {
  7221. "ApiKeyAuth": []
  7222. }
  7223. ],
  7224. "produces": [
  7225. "application/json"
  7226. ],
  7227. "tags": [
  7228. "大连千海金"
  7229. ],
  7230. "summary": "查询经纪人申请",
  7231. "parameters": [
  7232. {
  7233. "type": "integer",
  7234. "description": "所属机构ID",
  7235. "name": "userid",
  7236. "in": "query"
  7237. },
  7238. {
  7239. "type": "string",
  7240. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7241. "name": "filterstatus",
  7242. "in": "query"
  7243. }
  7244. ],
  7245. "responses": {
  7246. "200": {
  7247. "description": "OK",
  7248. "schema": {
  7249. "type": "array",
  7250. "items": {
  7251. "$ref": "#/definitions/models.QhjBrokerApply"
  7252. }
  7253. }
  7254. },
  7255. "500": {
  7256. "description": "Internal Server Error",
  7257. "schema": {
  7258. "$ref": "#/definitions/app.Response"
  7259. }
  7260. }
  7261. }
  7262. }
  7263. },
  7264. "/Qhj/QueryBrokerRewardLog": {
  7265. "get": {
  7266. "security": [
  7267. {
  7268. "ApiKeyAuth": []
  7269. }
  7270. ],
  7271. "produces": [
  7272. "application/json"
  7273. ],
  7274. "tags": [
  7275. "大连千海金"
  7276. ],
  7277. "summary": "查询奖励流水(我的奖励)",
  7278. "parameters": [
  7279. {
  7280. "type": "integer",
  7281. "description": "用户ID",
  7282. "name": "userid",
  7283. "in": "query",
  7284. "required": true
  7285. },
  7286. {
  7287. "type": "string",
  7288. "description": "开始交易日(yyyymmdd)",
  7289. "name": "begindate",
  7290. "in": "query"
  7291. },
  7292. {
  7293. "type": "string",
  7294. "description": "结束交易日(yyyymmdd)",
  7295. "name": "enddate",
  7296. "in": "query"
  7297. }
  7298. ],
  7299. "responses": {
  7300. "200": {
  7301. "description": "OK",
  7302. "schema": {
  7303. "type": "array",
  7304. "items": {
  7305. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7306. }
  7307. }
  7308. },
  7309. "500": {
  7310. "description": "Internal Server Error",
  7311. "schema": {
  7312. "$ref": "#/definitions/app.Response"
  7313. }
  7314. }
  7315. }
  7316. }
  7317. },
  7318. "/Qhj/QueryContract": {
  7319. "get": {
  7320. "security": [
  7321. {
  7322. "ApiKeyAuth": []
  7323. }
  7324. ],
  7325. "produces": [
  7326. "application/json"
  7327. ],
  7328. "tags": [
  7329. "大连千海金"
  7330. ],
  7331. "summary": "查询融资明细(合同)",
  7332. "parameters": [
  7333. {
  7334. "type": "integer",
  7335. "description": "用户ID",
  7336. "name": "userid",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "integer",
  7341. "description": "scf合同id",
  7342. "name": "scfcontractid",
  7343. "in": "query"
  7344. }
  7345. ],
  7346. "responses": {
  7347. "200": {
  7348. "description": "OK",
  7349. "schema": {
  7350. "type": "array",
  7351. "items": {
  7352. "$ref": "#/definitions/models.QhjContract"
  7353. }
  7354. }
  7355. },
  7356. "500": {
  7357. "description": "Internal Server Error",
  7358. "schema": {
  7359. "$ref": "#/definitions/app.Response"
  7360. }
  7361. }
  7362. }
  7363. }
  7364. },
  7365. "/Qhj/QueryContractLog": {
  7366. "get": {
  7367. "security": [
  7368. {
  7369. "ApiKeyAuth": []
  7370. }
  7371. ],
  7372. "produces": [
  7373. "application/json"
  7374. ],
  7375. "tags": [
  7376. "大连千海金"
  7377. ],
  7378. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7379. "parameters": [
  7380. {
  7381. "type": "integer",
  7382. "description": "scf合同id",
  7383. "name": "scfcontractid",
  7384. "in": "query",
  7385. "required": true
  7386. },
  7387. {
  7388. "type": "string",
  7389. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7390. "name": "amounttype",
  7391. "in": "query"
  7392. }
  7393. ],
  7394. "responses": {
  7395. "200": {
  7396. "description": "OK",
  7397. "schema": {
  7398. "type": "array",
  7399. "items": {
  7400. "$ref": "#/definitions/models.QhjContractLog"
  7401. }
  7402. }
  7403. },
  7404. "500": {
  7405. "description": "Internal Server Error",
  7406. "schema": {
  7407. "$ref": "#/definitions/app.Response"
  7408. }
  7409. }
  7410. }
  7411. }
  7412. },
  7413. "/Qhj/QueryCusBankSignBank": {
  7414. "get": {
  7415. "security": [
  7416. {
  7417. "ApiKeyAuth": []
  7418. }
  7419. ],
  7420. "produces": [
  7421. "application/json"
  7422. ],
  7423. "tags": [
  7424. "大连千海金"
  7425. ],
  7426. "summary": "查询托管银行",
  7427. "responses": {
  7428. "200": {
  7429. "description": "OK",
  7430. "schema": {
  7431. "type": "array",
  7432. "items": {
  7433. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7434. }
  7435. }
  7436. },
  7437. "500": {
  7438. "description": "Internal Server Error",
  7439. "schema": {
  7440. "$ref": "#/definitions/app.Response"
  7441. }
  7442. }
  7443. }
  7444. }
  7445. },
  7446. "/Qhj/QueryCustomerInfo": {
  7447. "get": {
  7448. "security": [
  7449. {
  7450. "ApiKeyAuth": []
  7451. }
  7452. ],
  7453. "produces": [
  7454. "application/json"
  7455. ],
  7456. "tags": [
  7457. "大连千海金"
  7458. ],
  7459. "summary": "查询客户资料",
  7460. "parameters": [
  7461. {
  7462. "type": "integer",
  7463. "description": "用户ID",
  7464. "name": "userid",
  7465. "in": "query",
  7466. "required": true
  7467. },
  7468. {
  7469. "type": "integer",
  7470. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7471. "name": "querytype",
  7472. "in": "query",
  7473. "required": true
  7474. },
  7475. {
  7476. "type": "integer",
  7477. "description": "客户类型 1-个人 2-企业",
  7478. "name": "userinfotype",
  7479. "in": "query"
  7480. },
  7481. {
  7482. "type": "string",
  7483. "description": "客户名称(模糊匹配)",
  7484. "name": "customername",
  7485. "in": "query"
  7486. },
  7487. {
  7488. "type": "string",
  7489. "description": "昵称(模糊匹配)",
  7490. "name": "nickname",
  7491. "in": "query"
  7492. },
  7493. {
  7494. "type": "integer",
  7495. "description": "是否包含子级 1-包含",
  7496. "name": "includesub",
  7497. "in": "query"
  7498. }
  7499. ],
  7500. "responses": {
  7501. "200": {
  7502. "description": "OK",
  7503. "schema": {
  7504. "type": "array",
  7505. "items": {
  7506. "$ref": "#/definitions/models.QhjCustomer"
  7507. }
  7508. }
  7509. },
  7510. "500": {
  7511. "description": "Internal Server Error",
  7512. "schema": {
  7513. "$ref": "#/definitions/app.Response"
  7514. }
  7515. }
  7516. }
  7517. }
  7518. },
  7519. "/Qhj/QueryGoodsEx": {
  7520. "get": {
  7521. "security": [
  7522. {
  7523. "ApiKeyAuth": []
  7524. }
  7525. ],
  7526. "produces": [
  7527. "application/json"
  7528. ],
  7529. "tags": [
  7530. "大连千海金"
  7531. ],
  7532. "summary": "交易商品扩展表",
  7533. "parameters": [
  7534. {
  7535. "type": "integer",
  7536. "description": "商品id",
  7537. "name": "goodsid",
  7538. "in": "query"
  7539. }
  7540. ],
  7541. "responses": {
  7542. "200": {
  7543. "description": "OK",
  7544. "schema": {
  7545. "type": "array",
  7546. "items": {
  7547. "$ref": "#/definitions/models.Qhjgoodsex"
  7548. }
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Qhj/QueryMyTeam": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "大连千海金"
  7572. ],
  7573. "summary": "查询我的团队",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "用户ID",
  7578. "name": "userid",
  7579. "in": "query",
  7580. "required": true
  7581. }
  7582. ],
  7583. "responses": {
  7584. "200": {
  7585. "description": "OK",
  7586. "schema": {
  7587. "type": "array",
  7588. "items": {
  7589. "$ref": "#/definitions/models.QhjMyTeamEx"
  7590. }
  7591. }
  7592. },
  7593. "500": {
  7594. "description": "Internal Server Error",
  7595. "schema": {
  7596. "$ref": "#/definitions/app.Response"
  7597. }
  7598. }
  7599. }
  7600. }
  7601. },
  7602. "/Qhj/QueryMyTeamOrder": {
  7603. "get": {
  7604. "security": [
  7605. {
  7606. "ApiKeyAuth": []
  7607. }
  7608. ],
  7609. "produces": [
  7610. "application/json"
  7611. ],
  7612. "tags": [
  7613. "大连千海金"
  7614. ],
  7615. "summary": "查询团队订单(我的团队/团队订单)",
  7616. "parameters": [
  7617. {
  7618. "type": "integer",
  7619. "description": "页码",
  7620. "name": "page",
  7621. "in": "query"
  7622. },
  7623. {
  7624. "type": "integer",
  7625. "description": "每页条数",
  7626. "name": "pagesize",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "用户ID",
  7632. "name": "userid",
  7633. "in": "query",
  7634. "required": true
  7635. },
  7636. {
  7637. "type": "integer",
  7638. "description": "交易模式",
  7639. "name": "trademode",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "名称(模糊搜索账户)",
  7645. "name": "filtername",
  7646. "in": "query"
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "type": "array",
  7654. "items": {
  7655. "$ref": "#/definitions/models.QhjTeamOrder"
  7656. }
  7657. }
  7658. },
  7659. "500": {
  7660. "description": "Internal Server Error",
  7661. "schema": {
  7662. "$ref": "#/definitions/app.Response"
  7663. }
  7664. }
  7665. }
  7666. }
  7667. },
  7668. "/Qhj/QueryParentAreaList": {
  7669. "get": {
  7670. "security": [
  7671. {
  7672. "ApiKeyAuth": []
  7673. }
  7674. ],
  7675. "produces": [
  7676. "application/json"
  7677. ],
  7678. "tags": [
  7679. "大连千海金"
  7680. ],
  7681. "summary": "查询所属机构列表",
  7682. "parameters": [
  7683. {
  7684. "type": "integer",
  7685. "description": "用户ID",
  7686. "name": "userid",
  7687. "in": "query",
  7688. "required": true
  7689. }
  7690. ],
  7691. "responses": {
  7692. "200": {
  7693. "description": "OK",
  7694. "schema": {
  7695. "type": "array",
  7696. "items": {
  7697. "$ref": "#/definitions/models.QhjParentAreaList"
  7698. }
  7699. }
  7700. },
  7701. "500": {
  7702. "description": "Internal Server Error",
  7703. "schema": {
  7704. "$ref": "#/definitions/app.Response"
  7705. }
  7706. }
  7707. }
  7708. }
  7709. },
  7710. "/Qhj/QueryPayOrder": {
  7711. "get": {
  7712. "security": [
  7713. {
  7714. "ApiKeyAuth": []
  7715. }
  7716. ],
  7717. "produces": [
  7718. "application/json"
  7719. ],
  7720. "tags": [
  7721. "大连千海金"
  7722. ],
  7723. "summary": "查询待付款单据",
  7724. "parameters": [
  7725. {
  7726. "type": "integer",
  7727. "description": "资金账号id",
  7728. "name": "accountid",
  7729. "in": "query",
  7730. "required": true
  7731. },
  7732. {
  7733. "type": "integer",
  7734. "description": "成交单号",
  7735. "name": "tradeid",
  7736. "in": "query"
  7737. },
  7738. {
  7739. "type": "string",
  7740. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7741. "name": "payflag",
  7742. "in": "query"
  7743. }
  7744. ],
  7745. "responses": {
  7746. "200": {
  7747. "description": "OK",
  7748. "schema": {
  7749. "type": "array",
  7750. "items": {
  7751. "$ref": "#/definitions/models.QhjPayOrder"
  7752. }
  7753. }
  7754. },
  7755. "500": {
  7756. "description": "Internal Server Error",
  7757. "schema": {
  7758. "$ref": "#/definitions/app.Response"
  7759. }
  7760. }
  7761. }
  7762. }
  7763. },
  7764. "/Qhj/QueryPickArea": {
  7765. "get": {
  7766. "security": [
  7767. {
  7768. "ApiKeyAuth": []
  7769. }
  7770. ],
  7771. "produces": [
  7772. "application/json"
  7773. ],
  7774. "tags": [
  7775. "大连千海金"
  7776. ],
  7777. "summary": "查询提货门店",
  7778. "parameters": [
  7779. {
  7780. "type": "integer",
  7781. "description": "用户ID",
  7782. "name": "userid",
  7783. "in": "query"
  7784. }
  7785. ],
  7786. "responses": {
  7787. "200": {
  7788. "description": "OK",
  7789. "schema": {
  7790. "type": "array",
  7791. "items": {
  7792. "$ref": "#/definitions/models.QhjPickArea"
  7793. }
  7794. }
  7795. },
  7796. "500": {
  7797. "description": "Internal Server Error",
  7798. "schema": {
  7799. "$ref": "#/definitions/app.Response"
  7800. }
  7801. }
  7802. }
  7803. }
  7804. },
  7805. "/Qhj/QueryPickGoods": {
  7806. "get": {
  7807. "security": [
  7808. {
  7809. "ApiKeyAuth": []
  7810. }
  7811. ],
  7812. "produces": [
  7813. "application/json"
  7814. ],
  7815. "tags": [
  7816. "大连千海金"
  7817. ],
  7818. "summary": "查询提货商品",
  7819. "parameters": [
  7820. {
  7821. "type": "integer",
  7822. "description": "交易商品id",
  7823. "name": "goodsid",
  7824. "in": "query",
  7825. "required": true
  7826. },
  7827. {
  7828. "type": "string",
  7829. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7830. "name": "status",
  7831. "in": "query"
  7832. }
  7833. ],
  7834. "responses": {
  7835. "200": {
  7836. "description": "OK",
  7837. "schema": {
  7838. "type": "array",
  7839. "items": {
  7840. "$ref": "#/definitions/models.QhjPickGoods"
  7841. }
  7842. }
  7843. },
  7844. "500": {
  7845. "description": "Internal Server Error",
  7846. "schema": {
  7847. "$ref": "#/definitions/app.Response"
  7848. }
  7849. }
  7850. }
  7851. }
  7852. },
  7853. "/Qhj/QueryRSTriggerLog": {
  7854. "get": {
  7855. "security": [
  7856. {
  7857. "ApiKeyAuth": []
  7858. }
  7859. ],
  7860. "produces": [
  7861. "application/json"
  7862. ],
  7863. "tags": [
  7864. "大连千海金"
  7865. ],
  7866. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7867. "parameters": [
  7868. {
  7869. "type": "integer",
  7870. "description": "用户ID",
  7871. "name": "userid",
  7872. "in": "query"
  7873. },
  7874. {
  7875. "type": "integer",
  7876. "description": "定投策略id",
  7877. "name": "regularlystrategyid",
  7878. "in": "query"
  7879. },
  7880. {
  7881. "type": "integer",
  7882. "description": "商品id",
  7883. "name": "goodsid",
  7884. "in": "query"
  7885. },
  7886. {
  7887. "type": "string",
  7888. "description": "开始交易日(yyyymmdd)",
  7889. "name": "begindate",
  7890. "in": "query"
  7891. },
  7892. {
  7893. "type": "string",
  7894. "description": "结束交易日(yyyymmdd)",
  7895. "name": "enddate",
  7896. "in": "query"
  7897. },
  7898. {
  7899. "type": "string",
  7900. "description": "名称(模糊搜索账户)",
  7901. "name": "filtername",
  7902. "in": "query"
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "type": "array",
  7910. "items": {
  7911. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7912. }
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Qhj/QueryRStrategy": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. }
  7930. ],
  7931. "produces": [
  7932. "application/json"
  7933. ],
  7934. "tags": [
  7935. "大连千海金"
  7936. ],
  7937. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7938. "parameters": [
  7939. {
  7940. "type": "integer",
  7941. "description": "用户ID",
  7942. "name": "userid",
  7943. "in": "query"
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": "商品id",
  7948. "name": "goodsid",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "string",
  7953. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7954. "name": "status",
  7955. "in": "query"
  7956. },
  7957. {
  7958. "type": "string",
  7959. "description": "名称(模糊搜索账户)",
  7960. "name": "filtername",
  7961. "in": "query"
  7962. }
  7963. ],
  7964. "responses": {
  7965. "200": {
  7966. "description": "OK",
  7967. "schema": {
  7968. "type": "array",
  7969. "items": {
  7970. "$ref": "#/definitions/models.QhjRStrategy"
  7971. }
  7972. }
  7973. },
  7974. "500": {
  7975. "description": "Internal Server Error",
  7976. "schema": {
  7977. "$ref": "#/definitions/app.Response"
  7978. }
  7979. }
  7980. }
  7981. }
  7982. },
  7983. "/Qhj/QueryReckonPriceLog": {
  7984. "get": {
  7985. "security": [
  7986. {
  7987. "ApiKeyAuth": []
  7988. }
  7989. ],
  7990. "produces": [
  7991. "application/json"
  7992. ],
  7993. "tags": [
  7994. "大连千海金"
  7995. ],
  7996. "summary": "查询定投价(结算价)",
  7997. "parameters": [
  7998. {
  7999. "type": "integer",
  8000. "description": "商品ID",
  8001. "name": "goodsid",
  8002. "in": "query"
  8003. },
  8004. {
  8005. "type": "string",
  8006. "description": "交易日 格式(yyyymmdd)",
  8007. "name": "tradedate",
  8008. "in": "query"
  8009. }
  8010. ],
  8011. "responses": {
  8012. "200": {
  8013. "description": "OK",
  8014. "schema": {
  8015. "type": "array",
  8016. "items": {
  8017. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8018. }
  8019. }
  8020. },
  8021. "500": {
  8022. "description": "Internal Server Error",
  8023. "schema": {
  8024. "$ref": "#/definitions/app.Response"
  8025. }
  8026. }
  8027. }
  8028. }
  8029. },
  8030. "/Qhj/QueryScoreLog": {
  8031. "get": {
  8032. "security": [
  8033. {
  8034. "ApiKeyAuth": []
  8035. }
  8036. ],
  8037. "produces": [
  8038. "application/json"
  8039. ],
  8040. "tags": [
  8041. "大连千海金"
  8042. ],
  8043. "summary": "查询积分流水(我的积分)",
  8044. "parameters": [
  8045. {
  8046. "type": "integer",
  8047. "description": "用户ID",
  8048. "name": "userid",
  8049. "in": "query",
  8050. "required": true
  8051. },
  8052. {
  8053. "type": "string",
  8054. "description": "开始交易日(yyyymmdd)",
  8055. "name": "begindate",
  8056. "in": "query"
  8057. },
  8058. {
  8059. "type": "string",
  8060. "description": "结束交易日(yyyymmdd)",
  8061. "name": "enddate",
  8062. "in": "query"
  8063. },
  8064. {
  8065. "type": "integer",
  8066. "description": "最近多少条",
  8067. "name": "lastnum",
  8068. "in": "query"
  8069. }
  8070. ],
  8071. "responses": {
  8072. "200": {
  8073. "description": "OK",
  8074. "schema": {
  8075. "type": "array",
  8076. "items": {
  8077. "$ref": "#/definitions/models.QhjScoreLog"
  8078. }
  8079. }
  8080. },
  8081. "500": {
  8082. "description": "Internal Server Error",
  8083. "schema": {
  8084. "$ref": "#/definitions/app.Response"
  8085. }
  8086. }
  8087. }
  8088. }
  8089. },
  8090. "/Qhj/QuerySiteColumnDetail": {
  8091. "get": {
  8092. "security": [
  8093. {
  8094. "ApiKeyAuth": []
  8095. }
  8096. ],
  8097. "produces": [
  8098. "application/json"
  8099. ],
  8100. "tags": [
  8101. "大连千海金"
  8102. ],
  8103. "summary": "查询资讯",
  8104. "parameters": [
  8105. {
  8106. "type": "integer",
  8107. "description": "用户ID",
  8108. "name": "userid",
  8109. "in": "query",
  8110. "required": true
  8111. }
  8112. ],
  8113. "responses": {
  8114. "200": {
  8115. "description": "OK",
  8116. "schema": {
  8117. "type": "array",
  8118. "items": {
  8119. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8120. }
  8121. }
  8122. },
  8123. "500": {
  8124. "description": "Internal Server Error",
  8125. "schema": {
  8126. "$ref": "#/definitions/app.Response"
  8127. }
  8128. }
  8129. }
  8130. }
  8131. },
  8132. "/Qhj/QueryTradeGoodsPickup": {
  8133. "get": {
  8134. "security": [
  8135. {
  8136. "ApiKeyAuth": []
  8137. }
  8138. ],
  8139. "produces": [
  8140. "application/json"
  8141. ],
  8142. "tags": [
  8143. "大连千海金"
  8144. ],
  8145. "summary": "查询提货",
  8146. "parameters": [
  8147. {
  8148. "type": "integer",
  8149. "description": "用户ID",
  8150. "name": "userid",
  8151. "in": "query",
  8152. "required": true
  8153. },
  8154. {
  8155. "type": "integer",
  8156. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8157. "name": "takeorderstatus",
  8158. "in": "query"
  8159. }
  8160. ],
  8161. "responses": {
  8162. "200": {
  8163. "description": "OK",
  8164. "schema": {
  8165. "type": "array",
  8166. "items": {
  8167. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8168. }
  8169. }
  8170. },
  8171. "500": {
  8172. "description": "Internal Server Error",
  8173. "schema": {
  8174. "$ref": "#/definitions/app.Response"
  8175. }
  8176. }
  8177. }
  8178. }
  8179. },
  8180. "/Qhj/QueryUserCollectConfig": {
  8181. "get": {
  8182. "security": [
  8183. {
  8184. "ApiKeyAuth": []
  8185. }
  8186. ],
  8187. "produces": [
  8188. "application/json"
  8189. ],
  8190. "tags": [
  8191. "大连千海金"
  8192. ],
  8193. "summary": "查询提现账户设置",
  8194. "parameters": [
  8195. {
  8196. "type": "integer",
  8197. "description": "用户ID",
  8198. "name": "userid",
  8199. "in": "query",
  8200. "required": true
  8201. }
  8202. ],
  8203. "responses": {
  8204. "200": {
  8205. "description": "OK",
  8206. "schema": {
  8207. "type": "array",
  8208. "items": {
  8209. "$ref": "#/definitions/models.UserCollectConfig"
  8210. }
  8211. }
  8212. },
  8213. "500": {
  8214. "description": "Internal Server Error",
  8215. "schema": {
  8216. "$ref": "#/definitions/app.Response"
  8217. }
  8218. }
  8219. }
  8220. }
  8221. },
  8222. "/Qhj/QueryUserReceiveInfo": {
  8223. "get": {
  8224. "security": [
  8225. {
  8226. "ApiKeyAuth": []
  8227. }
  8228. ],
  8229. "produces": [
  8230. "application/json"
  8231. ],
  8232. "tags": [
  8233. "大连千海金"
  8234. ],
  8235. "summary": "查询收货地址信息",
  8236. "parameters": [
  8237. {
  8238. "type": "integer",
  8239. "description": "用户ID",
  8240. "name": "userid",
  8241. "in": "query",
  8242. "required": true
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "type": "array",
  8250. "items": {
  8251. "$ref": "#/definitions/models.UserReceiveInfo"
  8252. }
  8253. }
  8254. },
  8255. "500": {
  8256. "description": "Internal Server Error",
  8257. "schema": {
  8258. "$ref": "#/definitions/app.Response"
  8259. }
  8260. }
  8261. }
  8262. }
  8263. },
  8264. "/QhjMgr/QueryAccountInOutApply": {
  8265. "get": {
  8266. "security": [
  8267. {
  8268. "ApiKeyAuth": []
  8269. }
  8270. ],
  8271. "produces": [
  8272. "application/json"
  8273. ],
  8274. "tags": [
  8275. "大连千海金(PCWeb)"
  8276. ],
  8277. "summary": "查询充值提现",
  8278. "parameters": [
  8279. {
  8280. "type": "integer",
  8281. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8282. "name": "querytype",
  8283. "in": "query",
  8284. "required": true
  8285. },
  8286. {
  8287. "type": "integer",
  8288. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8289. "name": "applystatus",
  8290. "in": "query"
  8291. },
  8292. {
  8293. "type": "string",
  8294. "description": "申请起始日期(格式yyyymmdd)",
  8295. "name": "begindate",
  8296. "in": "query"
  8297. },
  8298. {
  8299. "type": "string",
  8300. "description": "申请截止日期(格式yyyymmdd)",
  8301. "name": "enddate",
  8302. "in": "query"
  8303. },
  8304. {
  8305. "type": "string",
  8306. "description": "模糊搜索名称",
  8307. "name": "likename",
  8308. "in": "query"
  8309. }
  8310. ],
  8311. "responses": {
  8312. "200": {
  8313. "description": "OK",
  8314. "schema": {
  8315. "type": "array",
  8316. "items": {
  8317. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8318. }
  8319. }
  8320. },
  8321. "500": {
  8322. "description": "Internal Server Error",
  8323. "schema": {
  8324. "$ref": "#/definitions/app.Response"
  8325. }
  8326. }
  8327. }
  8328. }
  8329. },
  8330. "/QhjMgr/QueryBrokerApply": {
  8331. "get": {
  8332. "security": [
  8333. {
  8334. "ApiKeyAuth": []
  8335. }
  8336. ],
  8337. "produces": [
  8338. "application/json"
  8339. ],
  8340. "tags": [
  8341. "大连千海金(PCWeb)"
  8342. ],
  8343. "summary": "查询经纪人申请",
  8344. "parameters": [
  8345. {
  8346. "type": "integer",
  8347. "description": "所属机构ID",
  8348. "name": "userid",
  8349. "in": "query"
  8350. },
  8351. {
  8352. "type": "string",
  8353. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8354. "name": "filterstatus",
  8355. "in": "query"
  8356. },
  8357. {
  8358. "type": "string",
  8359. "description": "名称(模糊匹配)",
  8360. "name": "filtername",
  8361. "in": "query"
  8362. },
  8363. {
  8364. "type": "integer",
  8365. "description": "是否包含子级 1-包含",
  8366. "name": "includesub",
  8367. "in": "query"
  8368. }
  8369. ],
  8370. "responses": {
  8371. "200": {
  8372. "description": "OK",
  8373. "schema": {
  8374. "type": "array",
  8375. "items": {
  8376. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8377. }
  8378. }
  8379. },
  8380. "500": {
  8381. "description": "Internal Server Error",
  8382. "schema": {
  8383. "$ref": "#/definitions/app.Response"
  8384. }
  8385. }
  8386. }
  8387. }
  8388. },
  8389. "/QhjMgr/QueryBrokerRewardReport": {
  8390. "get": {
  8391. "security": [
  8392. {
  8393. "ApiKeyAuth": []
  8394. }
  8395. ],
  8396. "produces": [
  8397. "application/json"
  8398. ],
  8399. "tags": [
  8400. "大连千海金(PCWeb)"
  8401. ],
  8402. "summary": "查询经纪人奖励报表(废弃)",
  8403. "parameters": [
  8404. {
  8405. "type": "integer",
  8406. "description": "所属机构ID",
  8407. "name": "userid",
  8408. "in": "query",
  8409. "required": true
  8410. },
  8411. {
  8412. "type": "integer",
  8413. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8414. "name": "cycletype",
  8415. "in": "query",
  8416. "required": true
  8417. },
  8418. {
  8419. "type": "string",
  8420. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8421. "name": "cycletime",
  8422. "in": "query",
  8423. "required": true
  8424. },
  8425. {
  8426. "type": "string",
  8427. "description": "名称(模糊匹配)",
  8428. "name": "filtername",
  8429. "in": "query"
  8430. },
  8431. {
  8432. "type": "integer",
  8433. "description": "是否包含子级 1-包含",
  8434. "name": "includesub",
  8435. "in": "query"
  8436. }
  8437. ],
  8438. "responses": {
  8439. "200": {
  8440. "description": "OK",
  8441. "schema": {
  8442. "type": "array",
  8443. "items": {
  8444. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8445. }
  8446. }
  8447. },
  8448. "500": {
  8449. "description": "Internal Server Error",
  8450. "schema": {
  8451. "$ref": "#/definitions/app.Response"
  8452. }
  8453. }
  8454. }
  8455. }
  8456. },
  8457. "/QhjMgr/QueryContract": {
  8458. "get": {
  8459. "security": [
  8460. {
  8461. "ApiKeyAuth": []
  8462. }
  8463. ],
  8464. "produces": [
  8465. "application/json"
  8466. ],
  8467. "tags": [
  8468. "大连千海金(PCWeb)"
  8469. ],
  8470. "summary": "查询融资信息(合同)",
  8471. "parameters": [
  8472. {
  8473. "type": "integer",
  8474. "description": "用户ID",
  8475. "name": "userid",
  8476. "in": "query"
  8477. },
  8478. {
  8479. "type": "integer",
  8480. "description": "商品id",
  8481. "name": "goodsid",
  8482. "in": "query"
  8483. },
  8484. {
  8485. "type": "string",
  8486. "description": "名称(模糊搜索账户)",
  8487. "name": "filtername",
  8488. "in": "query"
  8489. },
  8490. {
  8491. "type": "string",
  8492. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8493. "name": "risklevel",
  8494. "in": "query"
  8495. },
  8496. {
  8497. "type": "string",
  8498. "description": "开始交易日(yyyymmdd)",
  8499. "name": "begindate",
  8500. "in": "query"
  8501. },
  8502. {
  8503. "type": "string",
  8504. "description": "结束交易日(yyyymmdd)",
  8505. "name": "enddate",
  8506. "in": "query"
  8507. }
  8508. ],
  8509. "responses": {
  8510. "200": {
  8511. "description": "OK",
  8512. "schema": {
  8513. "type": "array",
  8514. "items": {
  8515. "$ref": "#/definitions/models.QhjMgrContract"
  8516. }
  8517. }
  8518. },
  8519. "500": {
  8520. "description": "Internal Server Error",
  8521. "schema": {
  8522. "$ref": "#/definitions/app.Response"
  8523. }
  8524. }
  8525. }
  8526. }
  8527. },
  8528. "/QhjMgr/QueryCustomerInfo": {
  8529. "get": {
  8530. "security": [
  8531. {
  8532. "ApiKeyAuth": []
  8533. }
  8534. ],
  8535. "produces": [
  8536. "application/json"
  8537. ],
  8538. "tags": [
  8539. "大连千海金(PCWeb)"
  8540. ],
  8541. "summary": "查询客户资料",
  8542. "parameters": [
  8543. {
  8544. "type": "integer",
  8545. "description": "用户ID",
  8546. "name": "userid",
  8547. "in": "query",
  8548. "required": true
  8549. },
  8550. {
  8551. "type": "integer",
  8552. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8553. "name": "querytype",
  8554. "in": "query",
  8555. "required": true
  8556. },
  8557. {
  8558. "type": "integer",
  8559. "description": "客户类型 1-个人 2-企业",
  8560. "name": "userinfotype",
  8561. "in": "query"
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "客户名称(模糊匹配)",
  8566. "name": "customername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "昵称(模糊匹配)",
  8572. "name": "nickname",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "是否包含子级 1-包含",
  8578. "name": "includesub",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.QhjMgrCustomer"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/QhjMgr/QueryPickGoods": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金(PCWeb)"
  8613. ],
  8614. "summary": "查询提货商品",
  8615. "parameters": [
  8616. {
  8617. "type": "string",
  8618. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8619. "name": "status",
  8620. "in": "query"
  8621. }
  8622. ],
  8623. "responses": {
  8624. "200": {
  8625. "description": "OK",
  8626. "schema": {
  8627. "type": "array",
  8628. "items": {
  8629. "$ref": "#/definitions/models.QhjPickGoods"
  8630. }
  8631. }
  8632. },
  8633. "500": {
  8634. "description": "Internal Server Error",
  8635. "schema": {
  8636. "$ref": "#/definitions/app.Response"
  8637. }
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "/QhjMgr/QuerySubArea": {
  8643. "get": {
  8644. "security": [
  8645. {
  8646. "ApiKeyAuth": []
  8647. }
  8648. ],
  8649. "produces": [
  8650. "application/json"
  8651. ],
  8652. "tags": [
  8653. "大连千海金(PCWeb)"
  8654. ],
  8655. "summary": "查询子机构列表",
  8656. "parameters": [
  8657. {
  8658. "type": "integer",
  8659. "description": "用户ID",
  8660. "name": "userid",
  8661. "in": "query",
  8662. "required": true
  8663. }
  8664. ],
  8665. "responses": {
  8666. "200": {
  8667. "description": "OK",
  8668. "schema": {
  8669. "type": "array",
  8670. "items": {
  8671. "$ref": "#/definitions/models.QhjMgrSubArea"
  8672. }
  8673. }
  8674. },
  8675. "500": {
  8676. "description": "Internal Server Error",
  8677. "schema": {
  8678. "$ref": "#/definitions/app.Response"
  8679. }
  8680. }
  8681. }
  8682. }
  8683. },
  8684. "/QhjMgr/QueryTradeDetail": {
  8685. "get": {
  8686. "security": [
  8687. {
  8688. "ApiKeyAuth": []
  8689. }
  8690. ],
  8691. "produces": [
  8692. "application/json"
  8693. ],
  8694. "tags": [
  8695. "大连千海金(PCWeb)"
  8696. ],
  8697. "summary": "查询成交明细",
  8698. "parameters": [
  8699. {
  8700. "type": "integer",
  8701. "description": "用户ID",
  8702. "name": "userid",
  8703. "in": "query",
  8704. "required": true
  8705. },
  8706. {
  8707. "type": "integer",
  8708. "description": "用户类型 1-个人 2-企业",
  8709. "name": "userinfotype",
  8710. "in": "query"
  8711. },
  8712. {
  8713. "type": "integer",
  8714. "description": "交易模式",
  8715. "name": "trademode",
  8716. "in": "query"
  8717. },
  8718. {
  8719. "type": "integer",
  8720. "description": "商品id",
  8721. "name": "goodsid",
  8722. "in": "query"
  8723. },
  8724. {
  8725. "type": "string",
  8726. "description": "名称(模糊搜索账户)",
  8727. "name": "filtername",
  8728. "in": "query"
  8729. },
  8730. {
  8731. "type": "string",
  8732. "description": "开始交易日(yyyymmdd)",
  8733. "name": "begindate",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "结束交易日(yyyymmdd)",
  8739. "name": "enddate",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "integer",
  8744. "description": "是否包含子级 1-包含",
  8745. "name": "includesub",
  8746. "in": "query"
  8747. }
  8748. ],
  8749. "responses": {
  8750. "200": {
  8751. "description": "OK",
  8752. "schema": {
  8753. "type": "array",
  8754. "items": {
  8755. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8756. }
  8757. }
  8758. },
  8759. "500": {
  8760. "description": "Internal Server Error",
  8761. "schema": {
  8762. "$ref": "#/definitions/app.Response"
  8763. }
  8764. }
  8765. }
  8766. }
  8767. },
  8768. "/QhjMgr/QueryTradeOrderDetail": {
  8769. "get": {
  8770. "security": [
  8771. {
  8772. "ApiKeyAuth": []
  8773. }
  8774. ],
  8775. "produces": [
  8776. "application/json"
  8777. ],
  8778. "tags": [
  8779. "大连千海金(PCWeb)"
  8780. ],
  8781. "summary": "查询委托明细",
  8782. "parameters": [
  8783. {
  8784. "type": "integer",
  8785. "description": "用户ID",
  8786. "name": "userid",
  8787. "in": "query",
  8788. "required": true
  8789. },
  8790. {
  8791. "type": "integer",
  8792. "description": "用户类型 1-个人 2-企业",
  8793. "name": "userinfotype",
  8794. "in": "query"
  8795. },
  8796. {
  8797. "type": "integer",
  8798. "description": "交易模式",
  8799. "name": "trademode",
  8800. "in": "query"
  8801. },
  8802. {
  8803. "type": "integer",
  8804. "description": "商品id",
  8805. "name": "goodsid",
  8806. "in": "query"
  8807. },
  8808. {
  8809. "type": "string",
  8810. "description": "名称(模糊搜索账户)",
  8811. "name": "filtername",
  8812. "in": "query"
  8813. },
  8814. {
  8815. "type": "string",
  8816. "description": "开始交易日(yyyymmdd)",
  8817. "name": "begindate",
  8818. "in": "query"
  8819. },
  8820. {
  8821. "type": "string",
  8822. "description": "结束交易日(yyyymmdd)",
  8823. "name": "enddate",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "integer",
  8828. "description": "是否包含子级 1-包含",
  8829. "name": "includesub",
  8830. "in": "query"
  8831. }
  8832. ],
  8833. "responses": {
  8834. "200": {
  8835. "description": "OK",
  8836. "schema": {
  8837. "type": "array",
  8838. "items": {
  8839. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8840. }
  8841. }
  8842. },
  8843. "500": {
  8844. "description": "Internal Server Error",
  8845. "schema": {
  8846. "$ref": "#/definitions/app.Response"
  8847. }
  8848. }
  8849. }
  8850. }
  8851. },
  8852. "/QhjMgr/QueryTradePayOrder": {
  8853. "get": {
  8854. "security": [
  8855. {
  8856. "ApiKeyAuth": []
  8857. }
  8858. ],
  8859. "produces": [
  8860. "application/json"
  8861. ],
  8862. "tags": [
  8863. "大连千海金(PCWeb)"
  8864. ],
  8865. "summary": "查询待付款单",
  8866. "parameters": [
  8867. {
  8868. "type": "integer",
  8869. "description": "用户ID",
  8870. "name": "userid",
  8871. "in": "query",
  8872. "required": true
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8877. "name": "payflag",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "用户类型 1-个人 2-企业",
  8883. "name": "userinfotype",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "integer",
  8888. "description": "交易模式",
  8889. "name": "trademode",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "integer",
  8894. "description": "商品id",
  8895. "name": "goodsid",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "名称(模糊搜索账户)",
  8901. "name": "filtername",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "开始交易日(yyyymmdd)",
  8907. "name": "begindate",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "结束交易日(yyyymmdd)",
  8913. "name": "enddate",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "integer",
  8918. "description": "是否包含子级 1-包含",
  8919. "name": "includesub",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/QhjMgr/QueryTradePosition": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金(PCWeb)"
  8954. ],
  8955. "summary": "查询持仓汇总",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "用户ID",
  8960. "name": "userid",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "用户类型 1-个人 2-企业",
  8967. "name": "userinfotype",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "integer",
  8972. "description": "交易模式",
  8973. "name": "trademode",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "商品id",
  8979. "name": "goodsid",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "string",
  8984. "description": "名称(模糊搜索账户)",
  8985. "name": "filtername",
  8986. "in": "query"
  8987. },
  8988. {
  8989. "type": "integer",
  8990. "description": "是否包含子级 1-包含",
  8991. "name": "includesub",
  8992. "in": "query"
  8993. }
  8994. ],
  8995. "responses": {
  8996. "200": {
  8997. "description": "OK",
  8998. "schema": {
  8999. "type": "array",
  9000. "items": {
  9001. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9002. }
  9003. }
  9004. },
  9005. "500": {
  9006. "description": "Internal Server Error",
  9007. "schema": {
  9008. "$ref": "#/definitions/app.Response"
  9009. }
  9010. }
  9011. }
  9012. }
  9013. },
  9014. "/QhjSys/QueryAgreementChangeLog": {
  9015. "get": {
  9016. "security": [
  9017. {
  9018. "ApiKeyAuth": []
  9019. }
  9020. ],
  9021. "produces": [
  9022. "application/json"
  9023. ],
  9024. "tags": [
  9025. "大连千海金(协议和签约信息)"
  9026. ],
  9027. "summary": "查询协议配置变更流水",
  9028. "parameters": [
  9029. {
  9030. "type": "integer",
  9031. "description": "协议ID",
  9032. "name": "agreementid",
  9033. "in": "query"
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "协议版本号",
  9038. "name": "agreementversion",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9044. "name": "agreementtype",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "协议编号(模糊匹配)",
  9050. "name": "agreementno",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "协议名称(模糊匹配)",
  9056. "name": "agreementname",
  9057. "in": "query"
  9058. }
  9059. ],
  9060. "responses": {
  9061. "200": {
  9062. "description": "OK",
  9063. "schema": {
  9064. "type": "array",
  9065. "items": {
  9066. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9067. }
  9068. }
  9069. },
  9070. "500": {
  9071. "description": "Internal Server Error",
  9072. "schema": {
  9073. "$ref": "#/definitions/app.Response"
  9074. }
  9075. }
  9076. }
  9077. }
  9078. },
  9079. "/QhjSys/QueryAgreementConfig": {
  9080. "get": {
  9081. "security": [
  9082. {
  9083. "ApiKeyAuth": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "大连千海金(协议和签约信息)"
  9091. ],
  9092. "summary": "查询协议配置",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "协议ID",
  9097. "name": "agreementid",
  9098. "in": "query"
  9099. },
  9100. {
  9101. "type": "integer",
  9102. "description": "协议版本号",
  9103. "name": "agreementversion",
  9104. "in": "query"
  9105. },
  9106. {
  9107. "type": "integer",
  9108. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9109. "name": "agreementtype",
  9110. "in": "query"
  9111. },
  9112. {
  9113. "type": "integer",
  9114. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9115. "name": "isvalid",
  9116. "in": "query"
  9117. },
  9118. {
  9119. "type": "string",
  9120. "description": "协议编号(模糊匹配)",
  9121. "name": "agreementno",
  9122. "in": "query"
  9123. },
  9124. {
  9125. "type": "string",
  9126. "description": "协议名称(模糊匹配)",
  9127. "name": "agreementname",
  9128. "in": "query"
  9129. }
  9130. ],
  9131. "responses": {
  9132. "200": {
  9133. "description": "OK",
  9134. "schema": {
  9135. "type": "array",
  9136. "items": {
  9137. "$ref": "#/definitions/models.QhjAgreementConfig"
  9138. }
  9139. }
  9140. },
  9141. "500": {
  9142. "description": "Internal Server Error",
  9143. "schema": {
  9144. "$ref": "#/definitions/app.Response"
  9145. }
  9146. }
  9147. }
  9148. }
  9149. },
  9150. "/QhjSys/QueryCustomerSignStatus": {
  9151. "get": {
  9152. "security": [
  9153. {
  9154. "ApiKeyAuth": []
  9155. }
  9156. ],
  9157. "produces": [
  9158. "application/json"
  9159. ],
  9160. "tags": [
  9161. "大连千海金(协议和签约信息)"
  9162. ],
  9163. "summary": "查询客户协议签约状态",
  9164. "parameters": [
  9165. {
  9166. "type": "integer",
  9167. "description": "客户ID",
  9168. "name": "userid",
  9169. "in": "query"
  9170. },
  9171. {
  9172. "type": "integer",
  9173. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9174. "name": "nodetype",
  9175. "in": "query"
  9176. },
  9177. {
  9178. "type": "integer",
  9179. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9180. "name": "goodsid",
  9181. "in": "query"
  9182. },
  9183. {
  9184. "type": "string",
  9185. "description": "创建交易日(yyyyMMdd)",
  9186. "name": "tradedate",
  9187. "in": "query"
  9188. },
  9189. {
  9190. "type": "string",
  9191. "description": "用户名称(模糊匹配)",
  9192. "name": "username",
  9193. "in": "query"
  9194. }
  9195. ],
  9196. "responses": {
  9197. "200": {
  9198. "description": "OK",
  9199. "schema": {
  9200. "type": "array",
  9201. "items": {
  9202. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9203. }
  9204. }
  9205. },
  9206. "500": {
  9207. "description": "Internal Server Error",
  9208. "schema": {
  9209. "$ref": "#/definitions/app.Response"
  9210. }
  9211. }
  9212. }
  9213. }
  9214. },
  9215. "/QhjSys/QueryNodeAgreementConfig": {
  9216. "get": {
  9217. "security": [
  9218. {
  9219. "ApiKeyAuth": []
  9220. }
  9221. ],
  9222. "produces": [
  9223. "application/json"
  9224. ],
  9225. "tags": [
  9226. "大连千海金(协议和签约信息)"
  9227. ],
  9228. "summary": "查询协议节点配置",
  9229. "parameters": [
  9230. {
  9231. "type": "integer",
  9232. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9233. "name": "configid",
  9234. "in": "query"
  9235. },
  9236. {
  9237. "type": "integer",
  9238. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9239. "name": "nodetype",
  9240. "in": "query"
  9241. },
  9242. {
  9243. "type": "integer",
  9244. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9245. "name": "goodsid",
  9246. "in": "query"
  9247. },
  9248. {
  9249. "type": "integer",
  9250. "description": "协议ID",
  9251. "name": "agreementid",
  9252. "in": "query"
  9253. },
  9254. {
  9255. "type": "integer",
  9256. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9257. "name": "agreementtype",
  9258. "in": "query"
  9259. },
  9260. {
  9261. "type": "integer",
  9262. "description": "协议版本号",
  9263. "name": "agreementversion",
  9264. "in": "query"
  9265. },
  9266. {
  9267. "type": "string",
  9268. "description": "协议编号(模糊匹配)",
  9269. "name": "agreementno",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "string",
  9274. "description": "协议名称(模糊匹配)",
  9275. "name": "agreementname",
  9276. "in": "query"
  9277. }
  9278. ],
  9279. "responses": {
  9280. "200": {
  9281. "description": "OK",
  9282. "schema": {
  9283. "type": "array",
  9284. "items": {
  9285. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9286. }
  9287. }
  9288. },
  9289. "500": {
  9290. "description": "Internal Server Error",
  9291. "schema": {
  9292. "$ref": "#/definitions/app.Response"
  9293. }
  9294. }
  9295. }
  9296. }
  9297. },
  9298. "/QhjSys/QueryQhjCustomerSignLog": {
  9299. "get": {
  9300. "security": [
  9301. {
  9302. "ApiKeyAuth": []
  9303. }
  9304. ],
  9305. "produces": [
  9306. "application/json"
  9307. ],
  9308. "tags": [
  9309. "大连千海金(协议和签约信息)"
  9310. ],
  9311. "summary": "查询客户协议签约流水",
  9312. "parameters": [
  9313. {
  9314. "type": "integer",
  9315. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9316. "name": "logid",
  9317. "in": "query"
  9318. },
  9319. {
  9320. "type": "integer",
  9321. "description": "客户ID",
  9322. "name": "userid",
  9323. "in": "query"
  9324. },
  9325. {
  9326. "type": "integer",
  9327. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9328. "name": "nodetype",
  9329. "in": "query"
  9330. },
  9331. {
  9332. "type": "integer",
  9333. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9334. "name": "goodsid",
  9335. "in": "query"
  9336. },
  9337. {
  9338. "type": "integer",
  9339. "description": "协议ID",
  9340. "name": "agreementid",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "string",
  9345. "description": "用户名称(模糊匹配)",
  9346. "name": "username",
  9347. "in": "query"
  9348. },
  9349. {
  9350. "type": "string",
  9351. "description": "协议编号(模糊匹配)",
  9352. "name": "agreementno",
  9353. "in": "query"
  9354. },
  9355. {
  9356. "type": "string",
  9357. "description": "协议名称(模糊匹配)",
  9358. "name": "agreementname",
  9359. "in": "query"
  9360. }
  9361. ],
  9362. "responses": {
  9363. "200": {
  9364. "description": "OK",
  9365. "schema": {
  9366. "type": "array",
  9367. "items": {
  9368. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9369. }
  9370. }
  9371. },
  9372. "500": {
  9373. "description": "Internal Server Error",
  9374. "schema": {
  9375. "$ref": "#/definitions/app.Response"
  9376. }
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9382. "get": {
  9383. "security": [
  9384. {
  9385. "ApiKeyAuth": []
  9386. }
  9387. ],
  9388. "produces": [
  9389. "application/json"
  9390. ],
  9391. "tags": [
  9392. "大连千海金(协议和签约信息)"
  9393. ],
  9394. "summary": "查询用户协议节点配置和状态",
  9395. "parameters": [
  9396. {
  9397. "type": "integer",
  9398. "description": "客户ID",
  9399. "name": "userid",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "integer",
  9404. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9405. "name": "configid",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9411. "name": "nodetype",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "integer",
  9416. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9417. "name": "goodsid",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "integer",
  9422. "description": "协议ID",
  9423. "name": "agreementid",
  9424. "in": "query"
  9425. },
  9426. {
  9427. "type": "integer",
  9428. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9429. "name": "agreementtype",
  9430. "in": "query"
  9431. },
  9432. {
  9433. "type": "integer",
  9434. "description": "协议版本号",
  9435. "name": "agreementversion",
  9436. "in": "query"
  9437. },
  9438. {
  9439. "type": "string",
  9440. "description": "协议编号(模糊匹配)",
  9441. "name": "agreementno",
  9442. "in": "query"
  9443. },
  9444. {
  9445. "type": "string",
  9446. "description": "协议名称(模糊匹配)",
  9447. "name": "agreementname",
  9448. "in": "query"
  9449. }
  9450. ],
  9451. "responses": {
  9452. "200": {
  9453. "description": "OK",
  9454. "schema": {
  9455. "type": "array",
  9456. "items": {
  9457. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9458. }
  9459. }
  9460. },
  9461. "500": {
  9462. "description": "Internal Server Error",
  9463. "schema": {
  9464. "$ref": "#/definitions/app.Response"
  9465. }
  9466. }
  9467. }
  9468. }
  9469. },
  9470. "/Quote/QueryHistoryDatas": {
  9471. "get": {
  9472. "security": [
  9473. {
  9474. "ApiKeyAuth": []
  9475. }
  9476. ],
  9477. "produces": [
  9478. "application/json"
  9479. ],
  9480. "tags": [
  9481. "行情服务"
  9482. ],
  9483. "summary": "查询行情历史数据",
  9484. "parameters": [
  9485. {
  9486. "type": "integer",
  9487. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9488. "name": "cycleType",
  9489. "in": "query",
  9490. "required": true
  9491. },
  9492. {
  9493. "type": "string",
  9494. "description": "商品代码",
  9495. "name": "goodsCode",
  9496. "in": "query",
  9497. "required": true
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9502. "name": "startTime",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "string",
  9507. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9508. "name": "endTime",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "integer",
  9513. "description": "条数",
  9514. "name": "count",
  9515. "in": "query"
  9516. },
  9517. {
  9518. "type": "boolean",
  9519. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9520. "name": "isAsc",
  9521. "in": "query"
  9522. }
  9523. ],
  9524. "responses": {
  9525. "200": {
  9526. "description": "OK",
  9527. "schema": {
  9528. "$ref": "#/definitions/quote.HistoryData"
  9529. }
  9530. },
  9531. "500": {
  9532. "description": "Internal Server Error",
  9533. "schema": {
  9534. "$ref": "#/definitions/app.Response"
  9535. }
  9536. }
  9537. }
  9538. }
  9539. },
  9540. "/Quote/QueryHistoryTikDatas": {
  9541. "get": {
  9542. "security": [
  9543. {
  9544. "ApiKeyAuth": []
  9545. }
  9546. ],
  9547. "produces": [
  9548. "application/json"
  9549. ],
  9550. "tags": [
  9551. "行情服务"
  9552. ],
  9553. "summary": "查询行情Tik数据",
  9554. "parameters": [
  9555. {
  9556. "type": "string",
  9557. "description": "商品代码",
  9558. "name": "goodsCode",
  9559. "in": "query",
  9560. "required": true
  9561. },
  9562. {
  9563. "type": "string",
  9564. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9565. "name": "startTime",
  9566. "in": "query"
  9567. },
  9568. {
  9569. "type": "string",
  9570. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9571. "name": "endTime",
  9572. "in": "query"
  9573. },
  9574. {
  9575. "type": "integer",
  9576. "description": "条数",
  9577. "name": "count",
  9578. "in": "query"
  9579. },
  9580. {
  9581. "type": "boolean",
  9582. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9583. "name": "isAsc",
  9584. "in": "query"
  9585. }
  9586. ],
  9587. "responses": {
  9588. "200": {
  9589. "description": "OK",
  9590. "schema": {
  9591. "$ref": "#/definitions/quote.HistoryTikData"
  9592. }
  9593. },
  9594. "500": {
  9595. "description": "Internal Server Error",
  9596. "schema": {
  9597. "$ref": "#/definitions/app.Response"
  9598. }
  9599. }
  9600. }
  9601. }
  9602. },
  9603. "/Quote/QueryQuoteDay": {
  9604. "get": {
  9605. "security": [
  9606. {
  9607. "ApiKeyAuth": []
  9608. }
  9609. ],
  9610. "produces": [
  9611. "application/json"
  9612. ],
  9613. "tags": [
  9614. "行情服务"
  9615. ],
  9616. "summary": "获取商品盘面信息",
  9617. "parameters": [
  9618. {
  9619. "type": "string",
  9620. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9621. "name": "goodsCodes",
  9622. "in": "query",
  9623. "required": true
  9624. }
  9625. ],
  9626. "responses": {
  9627. "200": {
  9628. "description": "OK",
  9629. "schema": {
  9630. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9631. }
  9632. },
  9633. "500": {
  9634. "description": "Internal Server Error",
  9635. "schema": {
  9636. "$ref": "#/definitions/app.Response"
  9637. }
  9638. }
  9639. }
  9640. }
  9641. },
  9642. "/Quote/QueryTSData": {
  9643. "get": {
  9644. "security": [
  9645. {
  9646. "ApiKeyAuth": []
  9647. }
  9648. ],
  9649. "produces": [
  9650. "application/json"
  9651. ],
  9652. "tags": [
  9653. "行情服务"
  9654. ],
  9655. "summary": "分时图数据查询",
  9656. "parameters": [
  9657. {
  9658. "type": "string",
  9659. "description": "商品代码",
  9660. "name": "goodsCode",
  9661. "in": "query",
  9662. "required": true
  9663. }
  9664. ],
  9665. "responses": {
  9666. "200": {
  9667. "description": "OK",
  9668. "schema": {
  9669. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9670. }
  9671. },
  9672. "500": {
  9673. "description": "Internal Server Error",
  9674. "schema": {
  9675. "$ref": "#/definitions/app.Response"
  9676. }
  9677. }
  9678. }
  9679. }
  9680. },
  9681. "/SZDZ/QueryConvertConfig": {
  9682. "get": {
  9683. "security": [
  9684. {
  9685. "ApiKeyAuth": []
  9686. }
  9687. ],
  9688. "produces": [
  9689. "application/json"
  9690. ],
  9691. "tags": [
  9692. "定制【尚志大宗】"
  9693. ],
  9694. "summary": "查询交易系统转换设置",
  9695. "parameters": [
  9696. {
  9697. "type": "integer",
  9698. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9699. "name": "convertType",
  9700. "in": "query"
  9701. },
  9702. {
  9703. "type": "string",
  9704. "description": "外部商品代码[JD\\PD]",
  9705. "name": "outerGoodsCode",
  9706. "in": "query"
  9707. },
  9708. {
  9709. "type": "string",
  9710. "description": "内部商品ID列表[交易],格式:1,2,3",
  9711. "name": "innerGoodsIDs",
  9712. "in": "query"
  9713. }
  9714. ],
  9715. "responses": {
  9716. "200": {
  9717. "description": "OK",
  9718. "schema": {
  9719. "$ref": "#/definitions/models.Szdz3convertconfig"
  9720. }
  9721. },
  9722. "500": {
  9723. "description": "Internal Server Error",
  9724. "schema": {
  9725. "$ref": "#/definitions/app.Response"
  9726. }
  9727. }
  9728. }
  9729. }
  9730. },
  9731. "/SZDZ/QueryConvertLog": {
  9732. "get": {
  9733. "security": [
  9734. {
  9735. "ApiKeyAuth": []
  9736. }
  9737. ],
  9738. "produces": [
  9739. "application/json"
  9740. ],
  9741. "tags": [
  9742. "定制【尚志大宗】"
  9743. ],
  9744. "summary": "交易系统转换流水查询",
  9745. "parameters": [
  9746. {
  9747. "type": "string",
  9748. "description": "资金账户 - 格式:1,2,3",
  9749. "name": "accountID",
  9750. "in": "query",
  9751. "required": true
  9752. },
  9753. {
  9754. "type": "string",
  9755. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9756. "name": "startDate",
  9757. "in": "query"
  9758. },
  9759. {
  9760. "type": "string",
  9761. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9762. "name": "endDate",
  9763. "in": "query"
  9764. }
  9765. ],
  9766. "responses": {
  9767. "200": {
  9768. "description": "OK",
  9769. "schema": {
  9770. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9771. }
  9772. },
  9773. "500": {
  9774. "description": "Internal Server Error",
  9775. "schema": {
  9776. "$ref": "#/definitions/app.Response"
  9777. }
  9778. }
  9779. }
  9780. }
  9781. },
  9782. "/SZDZ/QueryGoodsPickup": {
  9783. "get": {
  9784. "security": [
  9785. {
  9786. "ApiKeyAuth": []
  9787. }
  9788. ],
  9789. "produces": [
  9790. "application/json"
  9791. ],
  9792. "tags": [
  9793. "定制【尚志大宗】"
  9794. ],
  9795. "summary": "商品提货单查询",
  9796. "parameters": [
  9797. {
  9798. "type": "string",
  9799. "description": "资金账户 - 格式:1,2,3",
  9800. "name": "accountID",
  9801. "in": "query",
  9802. "required": true
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9807. "name": "takeOrderStatus",
  9808. "in": "query"
  9809. }
  9810. ],
  9811. "responses": {
  9812. "200": {
  9813. "description": "OK",
  9814. "schema": {
  9815. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9816. }
  9817. },
  9818. "500": {
  9819. "description": "Internal Server Error",
  9820. "schema": {
  9821. "$ref": "#/definitions/app.Response"
  9822. }
  9823. }
  9824. }
  9825. }
  9826. },
  9827. "/SZDZ/QueryRecieptOrder": {
  9828. "get": {
  9829. "security": [
  9830. {
  9831. "ApiKeyAuth": []
  9832. }
  9833. ],
  9834. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9835. "produces": [
  9836. "application/json"
  9837. ],
  9838. "tags": [
  9839. "定制【尚志大宗】"
  9840. ],
  9841. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9842. "parameters": [
  9843. {
  9844. "type": "integer",
  9845. "description": "页码",
  9846. "name": "page",
  9847. "in": "query"
  9848. },
  9849. {
  9850. "type": "integer",
  9851. "description": "每页条数",
  9852. "name": "pagesize",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "integer",
  9857. "description": "商品ID",
  9858. "name": "goodsID",
  9859. "in": "query",
  9860. "required": true
  9861. },
  9862. {
  9863. "type": "string",
  9864. "description": "所属账户名称",
  9865. "name": "accountName",
  9866. "in": "query"
  9867. },
  9868. {
  9869. "type": "integer",
  9870. "description": "市场ID",
  9871. "name": "marketID",
  9872. "in": "query"
  9873. },
  9874. {
  9875. "type": "integer",
  9876. "description": "方向 - 0:买 1:卖",
  9877. "name": "buyorsell",
  9878. "in": "query",
  9879. "required": true
  9880. }
  9881. ],
  9882. "responses": {
  9883. "200": {
  9884. "description": "OK",
  9885. "schema": {
  9886. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9887. }
  9888. },
  9889. "500": {
  9890. "description": "Internal Server Error",
  9891. "schema": {
  9892. "$ref": "#/definitions/app.Response"
  9893. }
  9894. }
  9895. }
  9896. }
  9897. },
  9898. "/SZDZ/QuerySZDZTradePosition": {
  9899. "get": {
  9900. "security": [
  9901. {
  9902. "ApiKeyAuth": []
  9903. }
  9904. ],
  9905. "produces": [
  9906. "application/json"
  9907. ],
  9908. "tags": [
  9909. "定制【尚志大宗】"
  9910. ],
  9911. "summary": "持仓汇总查询(尚志大宗)",
  9912. "parameters": [
  9913. {
  9914. "type": "integer",
  9915. "description": "资金账户",
  9916. "name": "accountID",
  9917. "in": "query",
  9918. "required": true
  9919. }
  9920. ],
  9921. "responses": {
  9922. "200": {
  9923. "description": "OK",
  9924. "schema": {
  9925. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9926. }
  9927. },
  9928. "500": {
  9929. "description": "Internal Server Error",
  9930. "schema": {
  9931. "$ref": "#/definitions/app.Response"
  9932. }
  9933. }
  9934. }
  9935. }
  9936. },
  9937. "/SZDZ/SearchWhite": {
  9938. "get": {
  9939. "security": [
  9940. {
  9941. "ApiKeyAuth": []
  9942. }
  9943. ],
  9944. "produces": [
  9945. "application/json"
  9946. ],
  9947. "tags": [
  9948. "定制【尚志大宗】"
  9949. ],
  9950. "summary": "搜索白名单",
  9951. "parameters": [
  9952. {
  9953. "type": "integer",
  9954. "description": "用户ID",
  9955. "name": "userID",
  9956. "in": "query",
  9957. "required": true
  9958. }
  9959. ],
  9960. "responses": {
  9961. "200": {
  9962. "description": "OK",
  9963. "schema": {
  9964. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9965. }
  9966. },
  9967. "500": {
  9968. "description": "Internal Server Error",
  9969. "schema": {
  9970. "$ref": "#/definitions/app.Response"
  9971. }
  9972. }
  9973. }
  9974. }
  9975. },
  9976. "/Search/SearchGoodses": {
  9977. "get": {
  9978. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9979. "produces": [
  9980. "application/json"
  9981. ],
  9982. "tags": [
  9983. "检索服务"
  9984. ],
  9985. "summary": "检索商品信息",
  9986. "parameters": [
  9987. {
  9988. "type": "string",
  9989. "description": "检索内容",
  9990. "name": "content",
  9991. "in": "query",
  9992. "required": true
  9993. },
  9994. {
  9995. "type": "string",
  9996. "description": "交易模式,格式:1,2,3",
  9997. "name": "tradeModes",
  9998. "in": "query"
  9999. }
  10000. ],
  10001. "responses": {
  10002. "200": {
  10003. "description": "OK",
  10004. "schema": {
  10005. "$ref": "#/definitions/models.SearchGoods"
  10006. }
  10007. },
  10008. "500": {
  10009. "description": "Internal Server Error",
  10010. "schema": {
  10011. "$ref": "#/definitions/app.Response"
  10012. }
  10013. }
  10014. }
  10015. }
  10016. },
  10017. "/TaAccount/GetTaAccounts": {
  10018. "get": {
  10019. "security": [
  10020. {
  10021. "ApiKeyAuth": []
  10022. }
  10023. ],
  10024. "produces": [
  10025. "application/json"
  10026. ],
  10027. "tags": [
  10028. "资金账户"
  10029. ],
  10030. "summary": "获取资金账户信息",
  10031. "parameters": [
  10032. {
  10033. "type": "integer",
  10034. "description": "登录账户",
  10035. "name": "loginID",
  10036. "in": "query",
  10037. "required": true
  10038. },
  10039. {
  10040. "type": "integer",
  10041. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10042. "name": "taAccountType",
  10043. "in": "query"
  10044. }
  10045. ],
  10046. "responses": {
  10047. "200": {
  10048. "description": "OK",
  10049. "schema": {
  10050. "$ref": "#/definitions/models.Taaccount"
  10051. }
  10052. },
  10053. "500": {
  10054. "description": "Internal Server Error",
  10055. "schema": {
  10056. "$ref": "#/definitions/app.Response"
  10057. }
  10058. }
  10059. }
  10060. }
  10061. },
  10062. "/TaAccount/QueryAmountLog": {
  10063. "get": {
  10064. "security": [
  10065. {
  10066. "ApiKeyAuth": []
  10067. }
  10068. ],
  10069. "produces": [
  10070. "application/json"
  10071. ],
  10072. "tags": [
  10073. "资金账户"
  10074. ],
  10075. "summary": "资金流水查询(当前)",
  10076. "parameters": [
  10077. {
  10078. "type": "integer",
  10079. "description": "页码",
  10080. "name": "page",
  10081. "in": "query"
  10082. },
  10083. {
  10084. "type": "integer",
  10085. "description": "每页条数",
  10086. "name": "pagesize",
  10087. "in": "query"
  10088. },
  10089. {
  10090. "type": "string",
  10091. "description": "资金账户 - 格式:1,2,3",
  10092. "name": "accountID",
  10093. "in": "query",
  10094. "required": true
  10095. },
  10096. {
  10097. "type": "string",
  10098. "description": "资金操作类型 - 格式:1,2,3",
  10099. "name": "OperateType",
  10100. "in": "query"
  10101. }
  10102. ],
  10103. "responses": {
  10104. "200": {
  10105. "description": "OK",
  10106. "schema": {
  10107. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10108. }
  10109. },
  10110. "500": {
  10111. "description": "Internal Server Error",
  10112. "schema": {
  10113. "$ref": "#/definitions/app.Response"
  10114. }
  10115. }
  10116. }
  10117. }
  10118. },
  10119. "/TaAccount/QueryHisAmountLog": {
  10120. "get": {
  10121. "security": [
  10122. {
  10123. "ApiKeyAuth": []
  10124. }
  10125. ],
  10126. "produces": [
  10127. "application/json"
  10128. ],
  10129. "tags": [
  10130. "资金账户"
  10131. ],
  10132. "summary": "资金流水查询(历史)",
  10133. "parameters": [
  10134. {
  10135. "type": "integer",
  10136. "description": "页码",
  10137. "name": "page",
  10138. "in": "query"
  10139. },
  10140. {
  10141. "type": "integer",
  10142. "description": "每页条数",
  10143. "name": "pagesize",
  10144. "in": "query"
  10145. },
  10146. {
  10147. "type": "string",
  10148. "description": "资金账户 - 格式:1,2,3",
  10149. "name": "accountID",
  10150. "in": "query",
  10151. "required": true
  10152. },
  10153. {
  10154. "type": "string",
  10155. "description": "资金操作类型 - 格式:1,2,3",
  10156. "name": "OperateType",
  10157. "in": "query"
  10158. },
  10159. {
  10160. "type": "string",
  10161. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10162. "name": "startDate",
  10163. "in": "query"
  10164. },
  10165. {
  10166. "type": "string",
  10167. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10168. "name": "endDate",
  10169. "in": "query"
  10170. }
  10171. ],
  10172. "responses": {
  10173. "200": {
  10174. "description": "OK",
  10175. "schema": {
  10176. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10177. }
  10178. },
  10179. "500": {
  10180. "description": "Internal Server Error",
  10181. "schema": {
  10182. "$ref": "#/definitions/app.Response"
  10183. }
  10184. }
  10185. }
  10186. }
  10187. },
  10188. "/Trade/QueryRecieptOrder": {
  10189. "get": {
  10190. "security": [
  10191. {
  10192. "ApiKeyAuth": []
  10193. }
  10194. ],
  10195. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10196. "produces": [
  10197. "application/json"
  10198. ],
  10199. "tags": [
  10200. "通用交易"
  10201. ],
  10202. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10203. "parameters": [
  10204. {
  10205. "type": "integer",
  10206. "description": "页码",
  10207. "name": "page",
  10208. "in": "query"
  10209. },
  10210. {
  10211. "type": "integer",
  10212. "description": "每页条数",
  10213. "name": "pagesize",
  10214. "in": "query"
  10215. },
  10216. {
  10217. "type": "integer",
  10218. "description": "商品ID",
  10219. "name": "goodsID",
  10220. "in": "query",
  10221. "required": true
  10222. },
  10223. {
  10224. "type": "string",
  10225. "description": "所属账户名称",
  10226. "name": "accountName",
  10227. "in": "query"
  10228. },
  10229. {
  10230. "type": "integer",
  10231. "description": "市场ID",
  10232. "name": "marketID",
  10233. "in": "query"
  10234. },
  10235. {
  10236. "type": "integer",
  10237. "description": "方向 - 0:买 1:卖",
  10238. "name": "buyorsell",
  10239. "in": "query",
  10240. "required": true
  10241. }
  10242. ],
  10243. "responses": {
  10244. "200": {
  10245. "description": "OK",
  10246. "schema": {
  10247. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10248. }
  10249. },
  10250. "500": {
  10251. "description": "Internal Server Error",
  10252. "schema": {
  10253. "$ref": "#/definitions/app.Response"
  10254. }
  10255. }
  10256. }
  10257. }
  10258. },
  10259. "/User/AddMessageBoard": {
  10260. "post": {
  10261. "security": [
  10262. {
  10263. "ApiKeyAuth": []
  10264. }
  10265. ],
  10266. "produces": [
  10267. "application/json"
  10268. ],
  10269. "tags": [
  10270. "用户信息"
  10271. ],
  10272. "summary": "添加用户留言板信息",
  10273. "parameters": [
  10274. {
  10275. "type": "integer",
  10276. "description": "用户ID",
  10277. "name": "userID",
  10278. "in": "query",
  10279. "required": true
  10280. },
  10281. {
  10282. "type": "string",
  10283. "description": "留言信息",
  10284. "name": "message",
  10285. "in": "query",
  10286. "required": true
  10287. },
  10288. {
  10289. "type": "string",
  10290. "description": "联系电话",
  10291. "name": "contactNum",
  10292. "in": "query",
  10293. "required": true
  10294. }
  10295. ],
  10296. "responses": {
  10297. "200": {
  10298. "description": "OK",
  10299. "schema": {
  10300. "$ref": "#/definitions/app.Response"
  10301. }
  10302. },
  10303. "500": {
  10304. "description": "Internal Server Error",
  10305. "schema": {
  10306. "$ref": "#/definitions/app.Response"
  10307. }
  10308. }
  10309. }
  10310. }
  10311. },
  10312. "/User/AddUserFavoriteGoods": {
  10313. "post": {
  10314. "security": [
  10315. {
  10316. "ApiKeyAuth": []
  10317. }
  10318. ],
  10319. "produces": [
  10320. "application/json"
  10321. ],
  10322. "tags": [
  10323. "用户信息"
  10324. ],
  10325. "summary": "添加用户商品收藏信息",
  10326. "parameters": [
  10327. {
  10328. "type": "integer",
  10329. "description": "用户ID",
  10330. "name": "userID",
  10331. "in": "query",
  10332. "required": true
  10333. },
  10334. {
  10335. "type": "integer",
  10336. "description": "商品ID",
  10337. "name": "goodsID",
  10338. "in": "query",
  10339. "required": true
  10340. }
  10341. ],
  10342. "responses": {
  10343. "200": {
  10344. "description": "OK",
  10345. "schema": {
  10346. "$ref": "#/definitions/app.Response"
  10347. }
  10348. },
  10349. "500": {
  10350. "description": "Internal Server Error",
  10351. "schema": {
  10352. "$ref": "#/definitions/app.Response"
  10353. }
  10354. }
  10355. }
  10356. }
  10357. },
  10358. "/User/GetLoginID": {
  10359. "get": {
  10360. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10361. "produces": [
  10362. "application/json"
  10363. ],
  10364. "tags": [
  10365. "用户信息"
  10366. ],
  10367. "summary": "获取登录ID",
  10368. "parameters": [
  10369. {
  10370. "type": "string",
  10371. "description": "登录代码",
  10372. "name": "username",
  10373. "in": "query",
  10374. "required": true
  10375. }
  10376. ],
  10377. "responses": {
  10378. "200": {
  10379. "description": "OK",
  10380. "schema": {
  10381. "$ref": "#/definitions/app.Response"
  10382. }
  10383. },
  10384. "500": {
  10385. "description": "Internal Server Error",
  10386. "schema": {
  10387. "$ref": "#/definitions/app.Response"
  10388. }
  10389. }
  10390. }
  10391. }
  10392. },
  10393. "/User/GetUserAccount": {
  10394. "get": {
  10395. "security": [
  10396. {
  10397. "ApiKeyAuth": []
  10398. }
  10399. ],
  10400. "produces": [
  10401. "application/json"
  10402. ],
  10403. "tags": [
  10404. "用户信息"
  10405. ],
  10406. "summary": "获取用户账号信息",
  10407. "parameters": [
  10408. {
  10409. "type": "integer",
  10410. "description": "用户ID",
  10411. "name": "userID",
  10412. "in": "query",
  10413. "required": true
  10414. }
  10415. ],
  10416. "responses": {
  10417. "200": {
  10418. "description": "OK",
  10419. "schema": {
  10420. "$ref": "#/definitions/models.Useraccount"
  10421. }
  10422. },
  10423. "500": {
  10424. "description": "Internal Server Error",
  10425. "schema": {
  10426. "$ref": "#/definitions/app.Response"
  10427. }
  10428. }
  10429. }
  10430. }
  10431. },
  10432. "/User/GetUserAuthStatus": {
  10433. "get": {
  10434. "security": [
  10435. {
  10436. "ApiKeyAuth": []
  10437. }
  10438. ],
  10439. "produces": [
  10440. "application/json"
  10441. ],
  10442. "tags": [
  10443. "用户信息"
  10444. ],
  10445. "summary": "获取用户实名认证状态",
  10446. "parameters": [
  10447. {
  10448. "type": "integer",
  10449. "description": "用户ID",
  10450. "name": "userID",
  10451. "in": "query",
  10452. "required": true
  10453. }
  10454. ],
  10455. "responses": {
  10456. "200": {
  10457. "description": "OK",
  10458. "schema": {
  10459. "$ref": "#/definitions/app.Response"
  10460. }
  10461. },
  10462. "500": {
  10463. "description": "Internal Server Error",
  10464. "schema": {
  10465. "$ref": "#/definitions/app.Response"
  10466. }
  10467. }
  10468. }
  10469. }
  10470. },
  10471. "/User/LoginQuery": {
  10472. "get": {
  10473. "security": [
  10474. {
  10475. "ApiKeyAuth": []
  10476. }
  10477. ],
  10478. "produces": [
  10479. "application/json"
  10480. ],
  10481. "tags": [
  10482. "用户信息"
  10483. ],
  10484. "summary": "账户登录后信息查询",
  10485. "parameters": [
  10486. {
  10487. "type": "integer",
  10488. "description": "登录账号",
  10489. "name": "loginID",
  10490. "in": "query",
  10491. "required": true
  10492. }
  10493. ],
  10494. "responses": {
  10495. "200": {
  10496. "description": "OK",
  10497. "schema": {
  10498. "$ref": "#/definitions/user.LoginQueryRsp"
  10499. }
  10500. },
  10501. "500": {
  10502. "description": "Internal Server Error",
  10503. "schema": {
  10504. "$ref": "#/definitions/app.Response"
  10505. }
  10506. }
  10507. }
  10508. }
  10509. },
  10510. "/User/QueryMessageBoard": {
  10511. "get": {
  10512. "security": [
  10513. {
  10514. "ApiKeyAuth": []
  10515. }
  10516. ],
  10517. "produces": [
  10518. "application/json"
  10519. ],
  10520. "tags": [
  10521. "用户信息"
  10522. ],
  10523. "summary": "获取用户留言板信息",
  10524. "parameters": [
  10525. {
  10526. "type": "integer",
  10527. "description": "用户ID",
  10528. "name": "userID",
  10529. "in": "query",
  10530. "required": true
  10531. }
  10532. ],
  10533. "responses": {
  10534. "200": {
  10535. "description": "OK",
  10536. "schema": {
  10537. "$ref": "#/definitions/models.Messageboard"
  10538. }
  10539. },
  10540. "500": {
  10541. "description": "Internal Server Error",
  10542. "schema": {
  10543. "$ref": "#/definitions/app.Response"
  10544. }
  10545. }
  10546. }
  10547. }
  10548. },
  10549. "/User/QueryUserFavoriteGoodses": {
  10550. "get": {
  10551. "security": [
  10552. {
  10553. "ApiKeyAuth": []
  10554. }
  10555. ],
  10556. "produces": [
  10557. "application/json"
  10558. ],
  10559. "tags": [
  10560. "用户信息"
  10561. ],
  10562. "summary": "获取用户商品收藏信息",
  10563. "parameters": [
  10564. {
  10565. "type": "integer",
  10566. "description": "用户ID",
  10567. "name": "userID",
  10568. "in": "query",
  10569. "required": true
  10570. }
  10571. ],
  10572. "responses": {
  10573. "200": {
  10574. "description": "OK",
  10575. "schema": {
  10576. "$ref": "#/definitions/models.Userfavoritegoods"
  10577. }
  10578. },
  10579. "500": {
  10580. "description": "Internal Server Error",
  10581. "schema": {
  10582. "$ref": "#/definitions/app.Response"
  10583. }
  10584. }
  10585. }
  10586. }
  10587. },
  10588. "/User/QueryUserInfo": {
  10589. "get": {
  10590. "security": [
  10591. {
  10592. "ApiKeyAuth": []
  10593. }
  10594. ],
  10595. "produces": [
  10596. "application/json"
  10597. ],
  10598. "tags": [
  10599. "用户信息"
  10600. ],
  10601. "summary": "获取用户信息",
  10602. "parameters": [
  10603. {
  10604. "type": "integer",
  10605. "description": "用户ID",
  10606. "name": "userID",
  10607. "in": "query",
  10608. "required": true
  10609. },
  10610. {
  10611. "type": "boolean",
  10612. "description": "是否解密",
  10613. "name": "isDecrypt",
  10614. "in": "query"
  10615. }
  10616. ],
  10617. "responses": {
  10618. "200": {
  10619. "description": "OK",
  10620. "schema": {
  10621. "$ref": "#/definitions/models.Userinfo"
  10622. }
  10623. },
  10624. "500": {
  10625. "description": "Internal Server Error",
  10626. "schema": {
  10627. "$ref": "#/definitions/app.Response"
  10628. }
  10629. }
  10630. }
  10631. }
  10632. },
  10633. "/User/QueryUserReferNum": {
  10634. "get": {
  10635. "produces": [
  10636. "application/json"
  10637. ],
  10638. "tags": [
  10639. "用户信息"
  10640. ],
  10641. "summary": "获取用户邀请码",
  10642. "parameters": [
  10643. {
  10644. "type": "integer",
  10645. "description": "用户ID",
  10646. "name": "userID",
  10647. "in": "query",
  10648. "required": true
  10649. }
  10650. ],
  10651. "responses": {
  10652. "200": {
  10653. "description": "OK",
  10654. "schema": {
  10655. "$ref": "#/definitions/app.Response"
  10656. }
  10657. },
  10658. "500": {
  10659. "description": "Internal Server Error",
  10660. "schema": {
  10661. "$ref": "#/definitions/app.Response"
  10662. }
  10663. }
  10664. }
  10665. }
  10666. },
  10667. "/User/RemoveUserFavoriteGoods": {
  10668. "post": {
  10669. "security": [
  10670. {
  10671. "ApiKeyAuth": []
  10672. }
  10673. ],
  10674. "produces": [
  10675. "application/json"
  10676. ],
  10677. "tags": [
  10678. "用户信息"
  10679. ],
  10680. "summary": "移除用户商品收藏信息",
  10681. "parameters": [
  10682. {
  10683. "type": "integer",
  10684. "description": "用户ID",
  10685. "name": "userID",
  10686. "in": "query",
  10687. "required": true
  10688. },
  10689. {
  10690. "type": "integer",
  10691. "description": "商品ID",
  10692. "name": "goodsID",
  10693. "in": "query",
  10694. "required": true
  10695. }
  10696. ],
  10697. "responses": {
  10698. "200": {
  10699. "description": "OK",
  10700. "schema": {
  10701. "$ref": "#/definitions/app.Response"
  10702. }
  10703. },
  10704. "500": {
  10705. "description": "Internal Server Error",
  10706. "schema": {
  10707. "$ref": "#/definitions/app.Response"
  10708. }
  10709. }
  10710. }
  10711. }
  10712. },
  10713. "/User/UpdateUserAccountStatus": {
  10714. "post": {
  10715. "security": [
  10716. {
  10717. "ApiKeyAuth": []
  10718. }
  10719. ],
  10720. "produces": [
  10721. "application/json"
  10722. ],
  10723. "tags": [
  10724. "用户信息"
  10725. ],
  10726. "summary": "更新用户状态",
  10727. "parameters": [
  10728. {
  10729. "type": "integer",
  10730. "description": "用户ID",
  10731. "name": "userID",
  10732. "in": "query",
  10733. "required": true
  10734. },
  10735. {
  10736. "type": "integer",
  10737. "description": "账户状态 - 4:正常 6:注销(停用)",
  10738. "name": "accountStatus",
  10739. "in": "query",
  10740. "required": true
  10741. }
  10742. ],
  10743. "responses": {
  10744. "200": {
  10745. "description": "OK",
  10746. "schema": {
  10747. "$ref": "#/definitions/app.Response"
  10748. }
  10749. },
  10750. "500": {
  10751. "description": "Internal Server Error",
  10752. "schema": {
  10753. "$ref": "#/definitions/app.Response"
  10754. }
  10755. }
  10756. }
  10757. }
  10758. },
  10759. "/WRTrade/GetAllDeliveryGoods": {
  10760. "get": {
  10761. "security": [
  10762. {
  10763. "ApiKeyAuth": []
  10764. },
  10765. {
  10766. "ApiKeyAuth": []
  10767. }
  10768. ],
  10769. "produces": [
  10770. "application/json",
  10771. "application/json"
  10772. ],
  10773. "tags": [
  10774. "仓单贸易",
  10775. "仓单贸易"
  10776. ],
  10777. "summary": "获取带仓单分类的种类信息",
  10778. "responses": {
  10779. "200": {
  10780. "description": "OK",
  10781. "schema": {
  10782. "$ref": "#/definitions/app.Response"
  10783. }
  10784. },
  10785. "500": {
  10786. "description": "Internal Server Error",
  10787. "schema": {
  10788. "$ref": "#/definitions/app.Response"
  10789. }
  10790. }
  10791. }
  10792. }
  10793. }
  10794. },
  10795. "definitions": {
  10796. "app.Response": {
  10797. "type": "object",
  10798. "properties": {
  10799. "code": {
  10800. "type": "integer"
  10801. },
  10802. "data": {
  10803. "type": "object"
  10804. },
  10805. "msg": {
  10806. "type": "string"
  10807. },
  10808. "page": {
  10809. "description": "页码",
  10810. "type": "integer"
  10811. },
  10812. "pagesize": {
  10813. "description": "每页条数",
  10814. "type": "integer"
  10815. },
  10816. "total": {
  10817. "description": "总条数",
  10818. "type": "integer"
  10819. }
  10820. }
  10821. },
  10822. "common.ClientMenu": {
  10823. "type": "object",
  10824. "properties": {
  10825. "children": {
  10826. "description": "子菜单列表",
  10827. "type": "array",
  10828. "items": {
  10829. "$ref": "#/definitions/common.ClientMenu"
  10830. }
  10831. },
  10832. "code": {
  10833. "description": "ID",
  10834. "type": "string"
  10835. },
  10836. "isshow": {
  10837. "description": "是否显示",
  10838. "type": "boolean"
  10839. },
  10840. "rulekey": {
  10841. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10842. "type": "string"
  10843. },
  10844. "sort": {
  10845. "description": "排序",
  10846. "type": "integer"
  10847. },
  10848. "title": {
  10849. "description": "标题",
  10850. "type": "string"
  10851. },
  10852. "type": {
  10853. "description": "类型,1:菜单 2:按钮",
  10854. "type": "integer"
  10855. }
  10856. }
  10857. },
  10858. "common.QueryImageConfigsRsp": {
  10859. "type": "object",
  10860. "required": [
  10861. "configid"
  10862. ],
  10863. "properties": {
  10864. "areauserid": {
  10865. "description": "所属机构ID",
  10866. "type": "integer"
  10867. },
  10868. "configid": {
  10869. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10870. "type": "integer"
  10871. },
  10872. "createdate": {
  10873. "description": "创建时间",
  10874. "type": "string"
  10875. },
  10876. "creatorid": {
  10877. "description": "创建人",
  10878. "type": "integer"
  10879. },
  10880. "imagepath": {
  10881. "description": "图片",
  10882. "type": "string"
  10883. },
  10884. "imagetype": {
  10885. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10886. "type": "integer"
  10887. },
  10888. "isshow": {
  10889. "description": "是否展示 - 0:不展示 1:展示",
  10890. "type": "integer"
  10891. },
  10892. "marketid": {
  10893. "description": "市场ID",
  10894. "type": "integer"
  10895. },
  10896. "modifierid": {
  10897. "description": "操作人",
  10898. "type": "integer"
  10899. },
  10900. "sort": {
  10901. "description": "排序",
  10902. "type": "integer"
  10903. },
  10904. "title": {
  10905. "description": "标题",
  10906. "type": "string"
  10907. },
  10908. "trademode": {
  10909. "description": "交易模式",
  10910. "type": "integer"
  10911. },
  10912. "updatedate": {
  10913. "description": "修改时间",
  10914. "type": "string"
  10915. },
  10916. "url": {
  10917. "description": "链接(地址或商品ID)",
  10918. "type": "string"
  10919. },
  10920. "urltype": {
  10921. "description": "链接类型 - 1:直接地址 2:商品ID",
  10922. "type": "integer"
  10923. }
  10924. }
  10925. },
  10926. "common.QueryNoticeRsp": {
  10927. "type": "object",
  10928. "required": [
  10929. "autoid"
  10930. ],
  10931. "properties": {
  10932. "auditoruserid": {
  10933. "description": "审核人",
  10934. "type": "integer"
  10935. },
  10936. "auditremark": {
  10937. "description": "审核备注",
  10938. "type": "string"
  10939. },
  10940. "audittime": {
  10941. "description": "审核日期",
  10942. "type": "string"
  10943. },
  10944. "autoid": {
  10945. "description": "自增ID",
  10946. "type": "integer"
  10947. },
  10948. "content": {
  10949. "description": "内容",
  10950. "type": "string"
  10951. },
  10952. "createtime": {
  10953. "description": "创建时间",
  10954. "type": "string"
  10955. },
  10956. "creatorid": {
  10957. "description": "建仓人",
  10958. "type": "integer"
  10959. },
  10960. "endtime": {
  10961. "description": "结束时间",
  10962. "type": "string"
  10963. },
  10964. "istop": {
  10965. "description": "是否置顶 - 0:不置顶 1:置顶",
  10966. "type": "integer"
  10967. },
  10968. "msgiconurl": {
  10969. "description": "消息图标Url",
  10970. "type": "string"
  10971. },
  10972. "msgtype": {
  10973. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10974. "type": "integer"
  10975. },
  10976. "publisher": {
  10977. "description": "消息发布者",
  10978. "type": "string"
  10979. },
  10980. "readed": {
  10981. "description": "是否已读",
  10982. "type": "boolean"
  10983. },
  10984. "scheduletime": {
  10985. "description": "计划发送时间",
  10986. "type": "string"
  10987. },
  10988. "sendtype": {
  10989. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10990. "type": "integer"
  10991. },
  10992. "sentstatus": {
  10993. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10994. "type": "integer"
  10995. },
  10996. "title": {
  10997. "description": "标题",
  10998. "type": "string"
  10999. },
  11000. "userid": {
  11001. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11002. "type": "integer"
  11003. }
  11004. }
  11005. },
  11006. "common.QueryProvincesAndCitiesRsp": {
  11007. "type": "object",
  11008. "properties": {
  11009. "cities": {
  11010. "description": "市",
  11011. "type": "array",
  11012. "items": {
  11013. "$ref": "#/definitions/models.Division"
  11014. }
  11015. },
  11016. "province": {
  11017. "description": "省",
  11018. "type": "object",
  11019. "$ref": "#/definitions/models.Division"
  11020. }
  11021. }
  11022. },
  11023. "common.QueryTableDefineRsp": {
  11024. "type": "object",
  11025. "required": [
  11026. "tablekey"
  11027. ],
  11028. "properties": {
  11029. "columns": {
  11030. "description": "列头信息数组",
  11031. "type": "array",
  11032. "items": {
  11033. "$ref": "#/definitions/models.Tablecolumnconfig"
  11034. }
  11035. },
  11036. "remark": {
  11037. "description": "Remark",
  11038. "type": "string"
  11039. },
  11040. "tabelmenu": {
  11041. "description": "列表菜单",
  11042. "type": "string"
  11043. },
  11044. "tablekey": {
  11045. "description": "列表Key",
  11046. "type": "string"
  11047. },
  11048. "tablename": {
  11049. "description": "列表名称",
  11050. "type": "string"
  11051. },
  11052. "tabletype": {
  11053. "description": "列表类型 - 1:管理端 2:终端",
  11054. "type": "integer"
  11055. }
  11056. }
  11057. },
  11058. "common.QueryTraderMenuRsp": {
  11059. "type": "object",
  11060. "properties": {
  11061. "OperationMenu": {
  11062. "description": "功能菜单",
  11063. "type": "array",
  11064. "items": {
  11065. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11066. }
  11067. },
  11068. "QuoteMenu": {
  11069. "description": "报价牌分类菜单",
  11070. "type": "array",
  11071. "items": {
  11072. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11073. }
  11074. }
  11075. }
  11076. },
  11077. "cptrade.Cptradepositioncancel": {
  11078. "type": "object",
  11079. "required": [
  11080. "cancelid"
  11081. ],
  11082. "properties": {
  11083. "accountid": {
  11084. "description": "申请人账户ID",
  11085. "type": "integer"
  11086. },
  11087. "applystatus": {
  11088. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11089. "type": "integer"
  11090. },
  11091. "applytime": {
  11092. "description": "申请时间",
  11093. "type": "string"
  11094. },
  11095. "cancelid": {
  11096. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11097. "type": "integer"
  11098. },
  11099. "cancelqty": {
  11100. "description": "注销数量",
  11101. "type": "integer"
  11102. },
  11103. "createtime": {
  11104. "description": "创建时间",
  11105. "type": "string"
  11106. },
  11107. "creatorid": {
  11108. "description": "创建人ID",
  11109. "type": "integer"
  11110. },
  11111. "creatorname": {
  11112. "description": "创建人",
  11113. "type": "string"
  11114. },
  11115. "goodscode": {
  11116. "description": "订单商品代码",
  11117. "type": "string"
  11118. },
  11119. "goodsid": {
  11120. "description": "商品ID",
  11121. "type": "integer"
  11122. },
  11123. "goodsname": {
  11124. "description": "订单商品名称",
  11125. "type": "string"
  11126. },
  11127. "goodunit": {
  11128. "description": "报价单位",
  11129. "type": "string"
  11130. },
  11131. "handlestatus": {
  11132. "description": "处理状态",
  11133. "type": "integer"
  11134. },
  11135. "marketid": {
  11136. "description": "市场ID",
  11137. "type": "integer"
  11138. },
  11139. "marketname": {
  11140. "description": "市场名称",
  11141. "type": "string"
  11142. },
  11143. "tradedate": {
  11144. "description": "交易日(yyyyMMdd)",
  11145. "type": "string"
  11146. },
  11147. "userid": {
  11148. "description": "申请人ID",
  11149. "type": "integer"
  11150. }
  11151. }
  11152. },
  11153. "cptrade.Cptradepresaleapply": {
  11154. "type": "object",
  11155. "required": [
  11156. "applyid"
  11157. ],
  11158. "properties": {
  11159. "accountid": {
  11160. "description": "申请人账户ID",
  11161. "type": "integer"
  11162. },
  11163. "applyid": {
  11164. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11165. "type": "integer"
  11166. },
  11167. "applyremark": {
  11168. "description": "申请备注",
  11169. "type": "string"
  11170. },
  11171. "applystatus": {
  11172. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11173. "type": "integer"
  11174. },
  11175. "applytime": {
  11176. "description": "申请时间",
  11177. "type": "string"
  11178. },
  11179. "attachmenturl": {
  11180. "description": "附件地址",
  11181. "type": "string"
  11182. },
  11183. "endtime": {
  11184. "description": "预售结束时间",
  11185. "type": "string"
  11186. },
  11187. "goodscode": {
  11188. "description": "商品代码",
  11189. "type": "string"
  11190. },
  11191. "goodsid": {
  11192. "description": "商品ID",
  11193. "type": "integer"
  11194. },
  11195. "goodsname": {
  11196. "description": "商品名称",
  11197. "type": "string"
  11198. },
  11199. "goodunit": {
  11200. "description": "报价单位",
  11201. "type": "string"
  11202. },
  11203. "handlestatus": {
  11204. "description": "处理状态",
  11205. "type": "integer"
  11206. },
  11207. "marketid": {
  11208. "description": "预售市场ID",
  11209. "type": "integer"
  11210. },
  11211. "marketname": {
  11212. "description": "预售市场名称",
  11213. "type": "string"
  11214. },
  11215. "presaleqty": {
  11216. "description": "预售数量",
  11217. "type": "integer"
  11218. },
  11219. "relatedgoodscode": {
  11220. "description": "关联交易合约代码",
  11221. "type": "string"
  11222. },
  11223. "relatedgoodsid": {
  11224. "description": "关联交易合约ID",
  11225. "type": "integer"
  11226. },
  11227. "relatedgoodsname": {
  11228. "description": "关联交易合约名称",
  11229. "type": "string"
  11230. },
  11231. "starttime": {
  11232. "description": "预售开始时间",
  11233. "type": "string"
  11234. },
  11235. "tradedate": {
  11236. "description": "交易日(yyyyMMdd)",
  11237. "type": "string"
  11238. },
  11239. "trademode": {
  11240. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11241. "type": "integer"
  11242. },
  11243. "userid": {
  11244. "description": "申请人ID",
  11245. "type": "integer"
  11246. }
  11247. }
  11248. },
  11249. "cptrade.Cptradeusergoodsdata": {
  11250. "type": "object",
  11251. "required": [
  11252. "accountid",
  11253. "goodsid"
  11254. ],
  11255. "properties": {
  11256. "EnabledQty": {
  11257. "description": "可用量",
  11258. "type": "integer"
  11259. },
  11260. "GoodsCode": {
  11261. "description": "订单商品代码",
  11262. "type": "string"
  11263. },
  11264. "GoodsName": {
  11265. "description": "订单商品名称",
  11266. "type": "string"
  11267. },
  11268. "WRStandardCode": {
  11269. "description": "仓单标准代码",
  11270. "type": "string"
  11271. },
  11272. "WRStandardName": {
  11273. "description": "仓单标准名称",
  11274. "type": "string"
  11275. },
  11276. "accountid": {
  11277. "description": "账户ID",
  11278. "type": "integer"
  11279. },
  11280. "cancelqty": {
  11281. "description": "注销量",
  11282. "type": "integer"
  11283. },
  11284. "curpresaleqty": {
  11285. "description": "当前预售量",
  11286. "type": "integer"
  11287. },
  11288. "deliveryqty": {
  11289. "description": "交割量",
  11290. "type": "integer"
  11291. },
  11292. "freezeamount": {
  11293. "description": "冻结金额",
  11294. "type": "number"
  11295. },
  11296. "goodsid": {
  11297. "description": "商品ID",
  11298. "type": "integer"
  11299. },
  11300. "goodunit": {
  11301. "description": "报价单位",
  11302. "type": "string"
  11303. },
  11304. "hasspotfreeze": {
  11305. "description": "是否有现货冻结 - 0:否 1:有",
  11306. "type": "integer"
  11307. },
  11308. "inqty": {
  11309. "description": "转入量(总数量)",
  11310. "type": "integer"
  11311. },
  11312. "marketid": {
  11313. "description": "市场ID",
  11314. "type": "integer"
  11315. },
  11316. "presaledamount": {
  11317. "description": "已预售总金额",
  11318. "type": "integer"
  11319. },
  11320. "presaledqty": {
  11321. "description": "已预售量",
  11322. "type": "integer"
  11323. },
  11324. "userid": {
  11325. "description": "用户ID",
  11326. "type": "integer"
  11327. },
  11328. "wrstandardid": {
  11329. "description": "仓单标准ID",
  11330. "type": "integer"
  11331. }
  11332. }
  11333. },
  11334. "cptrade.QueryCPTradeMyBidRsp": {
  11335. "type": "object",
  11336. "required": [
  11337. "accountid",
  11338. "goodsid",
  11339. "marketid",
  11340. "orderid",
  11341. "orderqty",
  11342. "ordertime",
  11343. "tradeprice",
  11344. "tradeqty"
  11345. ],
  11346. "properties": {
  11347. "accountid": {
  11348. "description": "账户ID[报价币种]",
  11349. "type": "integer"
  11350. },
  11351. "goodsid": {
  11352. "description": "商品ID",
  11353. "type": "integer"
  11354. },
  11355. "goodunit": {
  11356. "description": "报价单位",
  11357. "type": "string"
  11358. },
  11359. "marketid": {
  11360. "description": "市场ID",
  11361. "type": "integer"
  11362. },
  11363. "orderid": {
  11364. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11365. "type": "integer"
  11366. },
  11367. "orderprice": {
  11368. "description": "委托价格",
  11369. "type": "number"
  11370. },
  11371. "orderqty": {
  11372. "description": "委托数量",
  11373. "type": "integer"
  11374. },
  11375. "ordertime": {
  11376. "description": "委托时间",
  11377. "type": "string"
  11378. },
  11379. "ordertotalprice": {
  11380. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11381. "type": "number"
  11382. },
  11383. "ordertotalweight": {
  11384. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11385. "type": "integer"
  11386. },
  11387. "totaltotalprice": {
  11388. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11389. "type": "number"
  11390. },
  11391. "tradeprice": {
  11392. "description": "成交价格",
  11393. "type": "number"
  11394. },
  11395. "tradeqty": {
  11396. "description": "成交数量",
  11397. "type": "integer"
  11398. }
  11399. }
  11400. },
  11401. "cptrade.QueryCPTradeOrderDetailRsq": {
  11402. "type": "object",
  11403. "required": [
  11404. "accountid",
  11405. "buildtype",
  11406. "buyorsell",
  11407. "goodsid",
  11408. "marketid",
  11409. "memberuserid",
  11410. "operatetype",
  11411. "orderqty",
  11412. "ordertime",
  11413. "pricemode",
  11414. "strorderid",
  11415. "tradedate",
  11416. "validtype"
  11417. ],
  11418. "properties": {
  11419. "accountid": {
  11420. "description": "账户ID[报价币种]",
  11421. "type": "integer"
  11422. },
  11423. "buildtype": {
  11424. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11425. "type": "integer"
  11426. },
  11427. "buyorsell": {
  11428. "description": "买卖 - 0:买 1:卖",
  11429. "type": "integer"
  11430. },
  11431. "cancelorderid": {
  11432. "description": "撤单单号(撤单时填写)",
  11433. "type": "integer"
  11434. },
  11435. "cancelqty": {
  11436. "description": "撤单数量",
  11437. "type": "integer"
  11438. },
  11439. "clientordertime": {
  11440. "description": "客户端委托时间",
  11441. "type": "string"
  11442. },
  11443. "clientticket": {
  11444. "description": "客户端流水号",
  11445. "type": "string"
  11446. },
  11447. "clienttype": {
  11448. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11449. "type": "integer"
  11450. },
  11451. "closeexchagechargevalue": {
  11452. "description": "平仓交易所手续费设置值",
  11453. "type": "number"
  11454. },
  11455. "closefeealgorithm": {
  11456. "description": "平仓手续费收取方式 1:比率 2:固定",
  11457. "type": "integer"
  11458. },
  11459. "closefreezecharge": {
  11460. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11461. "type": "number"
  11462. },
  11463. "closememberchargevalue": {
  11464. "description": "平仓会员手续费设置值",
  11465. "type": "number"
  11466. },
  11467. "closeqty": {
  11468. "description": "平仓数量(先建后平操作 需要记录)",
  11469. "type": "integer"
  11470. },
  11471. "closetradeqty": {
  11472. "description": "平仓成交数量(先建后平操作,需要记录)",
  11473. "type": "integer"
  11474. },
  11475. "closeunfreezecharge": {
  11476. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11477. "type": "number"
  11478. },
  11479. "delistingtype": {
  11480. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11481. "type": "integer"
  11482. },
  11483. "freezecharge": {
  11484. "description": "冻结手续费",
  11485. "type": "number"
  11486. },
  11487. "freezemargin": {
  11488. "description": "冻结保证金(冻结交易金额)",
  11489. "type": "number"
  11490. },
  11491. "gcaccountid": {
  11492. "description": "账户ID[合约币种]",
  11493. "type": "integer"
  11494. },
  11495. "goodsid": {
  11496. "description": "商品ID",
  11497. "type": "integer"
  11498. },
  11499. "isconfirmexercise": {
  11500. "description": "是否确认行权- 0:否 1:是",
  11501. "type": "integer"
  11502. },
  11503. "ispreexercise": {
  11504. "description": "是否预申报- 0:否 1:是",
  11505. "type": "integer"
  11506. },
  11507. "listingselecttype": {
  11508. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11509. "type": "integer"
  11510. },
  11511. "marginalgorithm": {
  11512. "description": "保证金收取方式 1:比率 2:固定",
  11513. "type": "integer"
  11514. },
  11515. "marginvalue": {
  11516. "description": "即市保证金设置值",
  11517. "type": "number"
  11518. },
  11519. "marketid": {
  11520. "description": "市场ID",
  11521. "type": "integer"
  11522. },
  11523. "marketmaxsub": {
  11524. "description": "市价最大偏移范围",
  11525. "type": "number"
  11526. },
  11527. "memberuserid": {
  11528. "description": "所属会员UserID",
  11529. "type": "integer"
  11530. },
  11531. "openexchagechargevalue": {
  11532. "description": "建仓交易所手续费设置值",
  11533. "type": "number"
  11534. },
  11535. "openfeealgorithm": {
  11536. "description": "建仓手续费收取方式 1:比率 2:固定",
  11537. "type": "integer"
  11538. },
  11539. "openfreezecharge": {
  11540. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11541. "type": "number"
  11542. },
  11543. "openmemberchargevalue": {
  11544. "description": "建仓会员手续费设置值",
  11545. "type": "number"
  11546. },
  11547. "openqty": {
  11548. "description": "开仓数量(先建后平操作,需要记录)",
  11549. "type": "integer"
  11550. },
  11551. "opentradeqty": {
  11552. "description": "开仓成交数量(先建后平操作,需要记录)",
  11553. "type": "integer"
  11554. },
  11555. "openunfreezecharge": {
  11556. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11557. "type": "number"
  11558. },
  11559. "operatetype": {
  11560. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11561. "type": "integer"
  11562. },
  11563. "operatorid": {
  11564. "description": "登录账号(LoginID)",
  11565. "type": "integer"
  11566. },
  11567. "optiontype": {
  11568. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11569. "type": "integer"
  11570. },
  11571. "orderprice": {
  11572. "description": "委托价格",
  11573. "type": "number"
  11574. },
  11575. "orderqty": {
  11576. "description": "委托数量",
  11577. "type": "integer"
  11578. },
  11579. "ordersrc": {
  11580. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11581. "type": "integer"
  11582. },
  11583. "orderstatus": {
  11584. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11585. "type": "integer"
  11586. },
  11587. "ordertime": {
  11588. "description": "委托时间",
  11589. "type": "string"
  11590. },
  11591. "preexerciseprice": {
  11592. "description": "预申报价格",
  11593. "type": "number"
  11594. },
  11595. "premium": {
  11596. "description": "权利金",
  11597. "type": "number"
  11598. },
  11599. "preorderid": {
  11600. "description": "关联预埋单号(止盈止损单时填写)",
  11601. "type": "integer"
  11602. },
  11603. "pricemode": {
  11604. "description": "取价方式 - 1:市价 2: 限价",
  11605. "type": "integer"
  11606. },
  11607. "quoteid": {
  11608. "description": "报价单ID",
  11609. "type": "integer"
  11610. },
  11611. "relatedid": {
  11612. "description": "关联单号(交割单)",
  11613. "type": "integer"
  11614. },
  11615. "retcode": {
  11616. "description": "错误代码",
  11617. "type": "integer"
  11618. },
  11619. "sessionid": {
  11620. "description": "会话ID",
  11621. "type": "integer"
  11622. },
  11623. "strorderid": {
  11624. "description": "委托单号",
  11625. "type": "string"
  11626. },
  11627. "tradedate": {
  11628. "description": "交易日(yyyyMMdd)",
  11629. "type": "string"
  11630. },
  11631. "tradeproperty": {
  11632. "description": "交易属性",
  11633. "type": "integer"
  11634. },
  11635. "tradeqty": {
  11636. "description": "成交数量",
  11637. "type": "integer"
  11638. },
  11639. "unfreezecharge": {
  11640. "description": "解冻手续费",
  11641. "type": "number"
  11642. },
  11643. "unfreezemargin": {
  11644. "description": "解冻保证金",
  11645. "type": "number"
  11646. },
  11647. "updatetime": {
  11648. "description": "更新时间",
  11649. "type": "string"
  11650. },
  11651. "uuid": {
  11652. "description": "发起端唯一id",
  11653. "type": "string"
  11654. },
  11655. "validtime": {
  11656. "description": "有效期限",
  11657. "type": "string"
  11658. },
  11659. "validtype": {
  11660. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11661. "type": "integer"
  11662. },
  11663. "volumetype": {
  11664. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11665. "type": "integer"
  11666. }
  11667. }
  11668. },
  11669. "cptrade.QueryMyCPTradeGoodsRsp": {
  11670. "type": "object",
  11671. "required": [
  11672. "goodscode",
  11673. "goodsid",
  11674. "goodsname",
  11675. "marketid",
  11676. "relatedgoodscode",
  11677. "relatedgoodsname"
  11678. ],
  11679. "properties": {
  11680. "accountid": {
  11681. "description": "卖方账户ID",
  11682. "type": "integer"
  11683. },
  11684. "agreeunit": {
  11685. "description": "合约单位",
  11686. "type": "number"
  11687. },
  11688. "applyid": {
  11689. "description": "关联申请ID",
  11690. "type": "integer"
  11691. },
  11692. "attachmenturl": {
  11693. "description": "附件地址",
  11694. "type": "string"
  11695. },
  11696. "createtime": {
  11697. "description": "创建时间",
  11698. "type": "string"
  11699. },
  11700. "currencyid": {
  11701. "description": "报价货币ID",
  11702. "type": "integer"
  11703. },
  11704. "decimalplace": {
  11705. "description": "报价小数位",
  11706. "type": "integer"
  11707. },
  11708. "endtime": {
  11709. "description": "预售结束时间",
  11710. "type": "string"
  11711. },
  11712. "floorprice": {
  11713. "description": "底价[大宗式竞拍]",
  11714. "type": "number"
  11715. },
  11716. "goodscode": {
  11717. "description": "商品代码(预售)",
  11718. "type": "string"
  11719. },
  11720. "goodsdetail": {
  11721. "description": "详情[大宗]",
  11722. "type": "string"
  11723. },
  11724. "goodsid": {
  11725. "description": "商品ID(自增ID SEQ_GOODS)",
  11726. "type": "integer"
  11727. },
  11728. "goodsname": {
  11729. "description": "商品名称(预售)",
  11730. "type": "string"
  11731. },
  11732. "goodunit": {
  11733. "description": "报价单位",
  11734. "type": "string"
  11735. },
  11736. "goodunitid": {
  11737. "description": "报价单位ID",
  11738. "type": "integer"
  11739. },
  11740. "marketid": {
  11741. "description": "所属市场ID",
  11742. "type": "integer"
  11743. },
  11744. "marketname": {
  11745. "description": "预售市场名称",
  11746. "type": "string"
  11747. },
  11748. "presaledamount": {
  11749. "description": "已预售总金额(预售结束时更新)",
  11750. "type": "number"
  11751. },
  11752. "presaledqty": {
  11753. "description": "已预售量(预售结束时更新)",
  11754. "type": "integer"
  11755. },
  11756. "presalemode": {
  11757. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11758. "type": "integer"
  11759. },
  11760. "presaleqty": {
  11761. "description": "预售数量",
  11762. "type": "integer"
  11763. },
  11764. "refprice": {
  11765. "description": "参考价格[一口价]",
  11766. "type": "number"
  11767. },
  11768. "relatedgoodscode": {
  11769. "description": "商品代码(订单)",
  11770. "type": "string"
  11771. },
  11772. "relatedgoodsid": {
  11773. "description": "关联交易合约ID",
  11774. "type": "integer"
  11775. },
  11776. "relatedgoodsname": {
  11777. "description": "商品名称(订单)",
  11778. "type": "string"
  11779. },
  11780. "relatedmarketid": {
  11781. "description": "关联交易合约市场ID",
  11782. "type": "integer"
  11783. },
  11784. "sellstatus": {
  11785. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11786. "type": "integer"
  11787. },
  11788. "startprice": {
  11789. "description": "起拍价[大宗式竞拍]",
  11790. "type": "number"
  11791. },
  11792. "starttime": {
  11793. "description": "预售开始时间",
  11794. "type": "string"
  11795. },
  11796. "tradedate": {
  11797. "description": "交易日(yyyyMMdd)",
  11798. "type": "string"
  11799. },
  11800. "tradeprice": {
  11801. "description": "成交价[大宗]",
  11802. "type": "number"
  11803. },
  11804. "userid": {
  11805. "description": "卖方用户ID",
  11806. "type": "integer"
  11807. }
  11808. }
  11809. },
  11810. "cptrade.QueryPresaleGoodsExRsp": {
  11811. "type": "object",
  11812. "required": [
  11813. "goodsid"
  11814. ],
  11815. "properties": {
  11816. "attachmenturl": {
  11817. "description": "附件地址",
  11818. "type": "string"
  11819. },
  11820. "createtime": {
  11821. "description": "创建时间",
  11822. "type": "string"
  11823. },
  11824. "endtime": {
  11825. "description": "预售结束时间",
  11826. "type": "string"
  11827. },
  11828. "floorprice": {
  11829. "description": "底价[大宗式竞拍]",
  11830. "type": "number"
  11831. },
  11832. "goodsdetail": {
  11833. "description": "详情[大宗]",
  11834. "type": "string"
  11835. },
  11836. "goodsid": {
  11837. "description": "商品ID(预售)",
  11838. "type": "integer"
  11839. },
  11840. "goodunit": {
  11841. "description": "报价单位",
  11842. "type": "string"
  11843. },
  11844. "marketid": {
  11845. "description": "预售市场ID - 根据预售模式选择市场",
  11846. "type": "integer"
  11847. },
  11848. "presaledamount": {
  11849. "description": "已预售总金额(预售结束时更新)",
  11850. "type": "number"
  11851. },
  11852. "presaledqty": {
  11853. "description": "已预售量(预售结束时更新)",
  11854. "type": "integer"
  11855. },
  11856. "presalemode": {
  11857. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11858. "type": "integer"
  11859. },
  11860. "presaleqty": {
  11861. "description": "预售数量",
  11862. "type": "integer"
  11863. },
  11864. "refprice": {
  11865. "description": "参考价格[一口价]",
  11866. "type": "number"
  11867. },
  11868. "relatedgoodsid": {
  11869. "description": "关联交易合约ID",
  11870. "type": "integer"
  11871. },
  11872. "relatedmarketid": {
  11873. "description": "关联交易合约市场ID",
  11874. "type": "integer"
  11875. },
  11876. "sellstatus": {
  11877. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11878. "type": "integer"
  11879. },
  11880. "startprice": {
  11881. "description": "起拍价[大宗式竞拍]",
  11882. "type": "number"
  11883. },
  11884. "starttime": {
  11885. "description": "预售开始时间",
  11886. "type": "string"
  11887. },
  11888. "tradedate": {
  11889. "description": "交易日(yyyyMMdd)",
  11890. "type": "string"
  11891. },
  11892. "tradeprice": {
  11893. "description": "成交价[大宗]",
  11894. "type": "number"
  11895. }
  11896. }
  11897. },
  11898. "delivery.QueryDeliveryRelationRsp": {
  11899. "type": "object",
  11900. "required": [
  11901. "begindate",
  11902. "enddate",
  11903. "goodsid",
  11904. "mindeliveryqty",
  11905. "xdeliveryratio"
  11906. ],
  11907. "properties": {
  11908. "begindate": {
  11909. "description": "起始日期(yyyyMMdd)",
  11910. "type": "string"
  11911. },
  11912. "buytemplateid": {
  11913. "description": "买履约计划模板ID",
  11914. "type": "integer"
  11915. },
  11916. "deliverygoodscode": {
  11917. "description": "品种代码",
  11918. "type": "string"
  11919. },
  11920. "deliverygoodsid": {
  11921. "description": "交割商品",
  11922. "type": "integer"
  11923. },
  11924. "deliverygoodsname": {
  11925. "description": "品种名称",
  11926. "type": "string"
  11927. },
  11928. "deliverymode": {
  11929. "description": "交割方式 - 1:点选式 2:申报式",
  11930. "type": "integer"
  11931. },
  11932. "deliverypricerule": {
  11933. "description": "交割价规则- 1:行情价 2:建仓价",
  11934. "type": "integer"
  11935. },
  11936. "deliverytype": {
  11937. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11938. "type": "integer"
  11939. },
  11940. "enddate": {
  11941. "description": "结束日期(yyyyMMdd)",
  11942. "type": "string"
  11943. },
  11944. "goodscode": {
  11945. "description": "商品代码",
  11946. "type": "string"
  11947. },
  11948. "goodsid": {
  11949. "description": "交易合约ID",
  11950. "type": "integer"
  11951. },
  11952. "goodsname": {
  11953. "description": "商品名称",
  11954. "type": "string"
  11955. },
  11956. "marketid": {
  11957. "description": "市场ID",
  11958. "type": "integer"
  11959. },
  11960. "mindeliveryqty": {
  11961. "description": "最小交割系数(K)",
  11962. "type": "integer"
  11963. },
  11964. "p2deliveryprice": {
  11965. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11966. "type": "number"
  11967. },
  11968. "p2deliveryratio": {
  11969. "description": "P2合约系数(p)",
  11970. "type": "integer"
  11971. },
  11972. "p2goodsid": {
  11973. "description": "P2合约ID",
  11974. "type": "integer"
  11975. },
  11976. "p2pricemode": {
  11977. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11978. "type": "integer"
  11979. },
  11980. "pdeliveryprice": {
  11981. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11982. "type": "number"
  11983. },
  11984. "pdeliveryratio": {
  11985. "description": "P合约系数(n)",
  11986. "type": "integer"
  11987. },
  11988. "pgoodsid": {
  11989. "description": "P合约ID",
  11990. "type": "integer"
  11991. },
  11992. "ppricemode": {
  11993. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11994. "type": "integer"
  11995. },
  11996. "rratio": {
  11997. "description": "兑换系数(R)",
  11998. "type": "integer"
  11999. },
  12000. "rratio1": {
  12001. "description": "兑换系数(交易合约)(R1)",
  12002. "type": "integer"
  12003. },
  12004. "rratio2": {
  12005. "description": "兑换系数(仓单标准)(R2)",
  12006. "type": "integer"
  12007. },
  12008. "selltemplateid": {
  12009. "description": "卖履约计划模板ID",
  12010. "type": "integer"
  12011. },
  12012. "wrstandardid": {
  12013. "description": "仓单标准ID",
  12014. "type": "integer"
  12015. },
  12016. "xdeliveryratio": {
  12017. "description": "交易合约系数(m)",
  12018. "type": "integer"
  12019. }
  12020. }
  12021. },
  12022. "ermcp.ExposureDetailRsp": {
  12023. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12024. },
  12025. "ermcp.ExposureHedgePosDetailRsp": {
  12026. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12027. },
  12028. "ermcp.ExposureHedgePositionRsp": {
  12029. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12030. },
  12031. "ermcp.ExposureSpotDetailRsp": {
  12032. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12033. },
  12034. "ermcp.ExposureSpotRsp": {
  12035. "$ref": "#/definitions/models.AreaSpotModel"
  12036. },
  12037. "ermcp.HisExposureRsp": {
  12038. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12039. },
  12040. "ermcp.PendingAuditCntRsp": {
  12041. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12042. },
  12043. "ermcp.QryAvalidGPRsp": {
  12044. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12045. },
  12046. "ermcp.QryBusinessDjRsp": {
  12047. "type": "object",
  12048. "properties": {
  12049. "amount": {
  12050. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12051. "type": "number"
  12052. },
  12053. "applyid": {
  12054. "description": "申请人",
  12055. "type": "string"
  12056. },
  12057. "applyname": {
  12058. "description": "申请人名称",
  12059. "type": "string"
  12060. },
  12061. "applystatus": {
  12062. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12063. "type": "integer"
  12064. },
  12065. "applytime": {
  12066. "description": "申请时间",
  12067. "type": "string"
  12068. },
  12069. "attachurl": {
  12070. "description": "附件",
  12071. "type": "string"
  12072. },
  12073. "auditid": {
  12074. "description": "审核人ID",
  12075. "type": "string"
  12076. },
  12077. "auditname": {
  12078. "description": "审核人名称",
  12079. "type": "string"
  12080. },
  12081. "audittime": {
  12082. "description": "审核时间",
  12083. "type": "string"
  12084. },
  12085. "buyusername": {
  12086. "description": "采购方名称",
  12087. "type": "string"
  12088. },
  12089. "contractno": {
  12090. "description": "合同编号",
  12091. "type": "string"
  12092. },
  12093. "contractstatus": {
  12094. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12095. "type": "integer"
  12096. },
  12097. "contracttype": {
  12098. "description": "现货合同类型 - 1:采购 -1:销售",
  12099. "type": "integer"
  12100. },
  12101. "deliverygoodscode": {
  12102. "description": "现货品种代码",
  12103. "type": "string"
  12104. },
  12105. "deliverygoodsid": {
  12106. "description": "现货商品ID",
  12107. "type": "integer"
  12108. },
  12109. "deliverygoodsname": {
  12110. "description": "现货品种名称",
  12111. "type": "string"
  12112. },
  12113. "enumdicname": {
  12114. "description": "单位名称",
  12115. "type": "string"
  12116. },
  12117. "goodscode": {
  12118. "description": "点价合约",
  12119. "type": "string"
  12120. },
  12121. "goodsname": {
  12122. "description": "商品名称",
  12123. "type": "string"
  12124. },
  12125. "operateapplyid": {
  12126. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12127. "type": "string"
  12128. },
  12129. "operateapplytype": {
  12130. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12131. "type": "integer"
  12132. },
  12133. "pricedPrice": {
  12134. "description": "点价价格(非必填)",
  12135. "type": "number"
  12136. },
  12137. "pricedQty": {
  12138. "description": "点价数量(非必填)",
  12139. "type": "number"
  12140. },
  12141. "pricemove": {
  12142. "description": "升贴水",
  12143. "type": "number"
  12144. },
  12145. "pricetype": {
  12146. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12147. "type": "integer"
  12148. },
  12149. "relatedid": {
  12150. "description": "现货合同ID",
  12151. "type": "string"
  12152. },
  12153. "sellusername": {
  12154. "description": "销售方名字",
  12155. "type": "string"
  12156. },
  12157. "userid": {
  12158. "description": "用户ID",
  12159. "type": "integer"
  12160. },
  12161. "wrstandardcode": {
  12162. "description": "品类代码",
  12163. "type": "string"
  12164. },
  12165. "wrstandardid": {
  12166. "description": "品类id",
  12167. "type": "integer"
  12168. },
  12169. "wrstandardname": {
  12170. "description": "品类名称",
  12171. "type": "string"
  12172. }
  12173. }
  12174. },
  12175. "ermcp.QryBussinessFpRsp": {
  12176. "type": "object",
  12177. "properties": {
  12178. "applyid": {
  12179. "description": "申请人",
  12180. "type": "string"
  12181. },
  12182. "applyname": {
  12183. "description": "申请人名称",
  12184. "type": "string"
  12185. },
  12186. "applystatus": {
  12187. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12188. "type": "integer"
  12189. },
  12190. "applytime": {
  12191. "description": "申请时间",
  12192. "type": "string"
  12193. },
  12194. "attachurl": {
  12195. "description": "附件",
  12196. "type": "string"
  12197. },
  12198. "auditid": {
  12199. "description": "审核人ID",
  12200. "type": "string"
  12201. },
  12202. "auditname": {
  12203. "description": "审核人名称",
  12204. "type": "string"
  12205. },
  12206. "audittime": {
  12207. "description": "审核时间",
  12208. "type": "string"
  12209. },
  12210. "buyusername": {
  12211. "description": "采购方名称",
  12212. "type": "string"
  12213. },
  12214. "contractno": {
  12215. "description": "合同编号",
  12216. "type": "string"
  12217. },
  12218. "contractstatus": {
  12219. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12220. "type": "integer"
  12221. },
  12222. "contracttype": {
  12223. "description": "现货合同类型 - 1:采购 -1:销售",
  12224. "type": "integer"
  12225. },
  12226. "deliverygoodscode": {
  12227. "description": "现货品种代码",
  12228. "type": "string"
  12229. },
  12230. "deliverygoodsid": {
  12231. "description": "现货商品ID",
  12232. "type": "integer"
  12233. },
  12234. "deliverygoodsname": {
  12235. "description": "现货品种名称",
  12236. "type": "string"
  12237. },
  12238. "enumdicname": {
  12239. "description": "单位名称",
  12240. "type": "string"
  12241. },
  12242. "goodscode": {
  12243. "description": "点价合约",
  12244. "type": "string"
  12245. },
  12246. "goodsname": {
  12247. "description": "商品名称",
  12248. "type": "string"
  12249. },
  12250. "invoiceAmount": {
  12251. "description": "已开收票金额(销售为开票,采购为收票)",
  12252. "type": "number"
  12253. },
  12254. "operateapplyid": {
  12255. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12256. "type": "string"
  12257. },
  12258. "operateapplytype": {
  12259. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12260. "type": "integer"
  12261. },
  12262. "pricemove": {
  12263. "description": "升贴水",
  12264. "type": "number"
  12265. },
  12266. "pricetype": {
  12267. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12268. "type": "integer"
  12269. },
  12270. "relatedid": {
  12271. "description": "现货合同ID",
  12272. "type": "string"
  12273. },
  12274. "sellusername": {
  12275. "description": "销售方名字",
  12276. "type": "string"
  12277. },
  12278. "userid": {
  12279. "description": "用户ID",
  12280. "type": "integer"
  12281. },
  12282. "wrstandardcode": {
  12283. "description": "品类代码",
  12284. "type": "string"
  12285. },
  12286. "wrstandardid": {
  12287. "description": "品类id",
  12288. "type": "integer"
  12289. },
  12290. "wrstandardname": {
  12291. "description": "品类名称",
  12292. "type": "string"
  12293. }
  12294. }
  12295. },
  12296. "ermcp.QryBussinessJsExRsp": {
  12297. "type": "object",
  12298. "properties": {
  12299. "applyid": {
  12300. "description": "申请人",
  12301. "type": "string"
  12302. },
  12303. "applyname": {
  12304. "description": "申请人名称",
  12305. "type": "string"
  12306. },
  12307. "applystatus": {
  12308. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12309. "type": "integer"
  12310. },
  12311. "applytime": {
  12312. "description": "申请时间",
  12313. "type": "string"
  12314. },
  12315. "attachurl": {
  12316. "description": "附件",
  12317. "type": "string"
  12318. },
  12319. "auditid": {
  12320. "description": "审核人ID",
  12321. "type": "string"
  12322. },
  12323. "auditname": {
  12324. "description": "审核人名称",
  12325. "type": "string"
  12326. },
  12327. "audittime": {
  12328. "description": "审核时间",
  12329. "type": "string"
  12330. },
  12331. "buyusername": {
  12332. "description": "采购方名称",
  12333. "type": "string"
  12334. },
  12335. "contractno": {
  12336. "description": "合同编号",
  12337. "type": "string"
  12338. },
  12339. "contractstatus": {
  12340. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12341. "type": "integer"
  12342. },
  12343. "contracttype": {
  12344. "description": "现货合同类型 - 1:采购 -1:销售",
  12345. "type": "integer"
  12346. },
  12347. "deliverygoodscode": {
  12348. "description": "现货品种代码",
  12349. "type": "string"
  12350. },
  12351. "deliverygoodsid": {
  12352. "description": "现货商品ID",
  12353. "type": "integer"
  12354. },
  12355. "deliverygoodsname": {
  12356. "description": "现货品种名称",
  12357. "type": "string"
  12358. },
  12359. "enumdicname": {
  12360. "description": "单位名称",
  12361. "type": "string"
  12362. },
  12363. "goodscode": {
  12364. "description": "点价合约",
  12365. "type": "string"
  12366. },
  12367. "goodsname": {
  12368. "description": "商品名称",
  12369. "type": "string"
  12370. },
  12371. "operateapplyid": {
  12372. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12373. "type": "string"
  12374. },
  12375. "operateapplytype": {
  12376. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12377. "type": "integer"
  12378. },
  12379. "pricemove": {
  12380. "description": "升贴水",
  12381. "type": "number"
  12382. },
  12383. "pricetype": {
  12384. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12385. "type": "integer"
  12386. },
  12387. "reckontype": {
  12388. "description": "结算类型",
  12389. "type": "string"
  12390. },
  12391. "reckonvalue": {
  12392. "description": "值",
  12393. "type": "number"
  12394. },
  12395. "relatedid": {
  12396. "description": "现货合同ID",
  12397. "type": "string"
  12398. },
  12399. "sellusername": {
  12400. "description": "销售方名字",
  12401. "type": "string"
  12402. },
  12403. "userid": {
  12404. "description": "用户ID",
  12405. "type": "integer"
  12406. },
  12407. "wrstandardcode": {
  12408. "description": "品类代码",
  12409. "type": "string"
  12410. },
  12411. "wrstandardid": {
  12412. "description": "品类id",
  12413. "type": "integer"
  12414. },
  12415. "wrstandardname": {
  12416. "description": "品类名称",
  12417. "type": "string"
  12418. }
  12419. }
  12420. },
  12421. "ermcp.QryBussinessJsRsp": {
  12422. "type": "object",
  12423. "properties": {
  12424. "addmargin": {
  12425. "description": "追加保证金(非必填)",
  12426. "type": "number"
  12427. },
  12428. "applyid": {
  12429. "description": "申请人",
  12430. "type": "string"
  12431. },
  12432. "applyname": {
  12433. "description": "申请人名称",
  12434. "type": "string"
  12435. },
  12436. "applystatus": {
  12437. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12438. "type": "integer"
  12439. },
  12440. "applytime": {
  12441. "description": "申请时间",
  12442. "type": "string"
  12443. },
  12444. "attachurl": {
  12445. "description": "附件",
  12446. "type": "string"
  12447. },
  12448. "auditid": {
  12449. "description": "审核人ID",
  12450. "type": "string"
  12451. },
  12452. "auditname": {
  12453. "description": "审核人名称",
  12454. "type": "string"
  12455. },
  12456. "audittime": {
  12457. "description": "审核时间",
  12458. "type": "string"
  12459. },
  12460. "buyusername": {
  12461. "description": "采购方名称",
  12462. "type": "string"
  12463. },
  12464. "contractno": {
  12465. "description": "合同编号",
  12466. "type": "string"
  12467. },
  12468. "contractstatus": {
  12469. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12470. "type": "integer"
  12471. },
  12472. "contracttype": {
  12473. "description": "现货合同类型 - 1:采购 -1:销售",
  12474. "type": "integer"
  12475. },
  12476. "decmargin": {
  12477. "description": "减少保证金(非必填)",
  12478. "type": "number"
  12479. },
  12480. "deliverygoodscode": {
  12481. "description": "现货品种代码",
  12482. "type": "string"
  12483. },
  12484. "deliverygoodsid": {
  12485. "description": "现货商品ID",
  12486. "type": "integer"
  12487. },
  12488. "deliverygoodsname": {
  12489. "description": "现货品种名称",
  12490. "type": "string"
  12491. },
  12492. "enumdicname": {
  12493. "description": "单位名称",
  12494. "type": "string"
  12495. },
  12496. "goodscode": {
  12497. "description": "点价合约",
  12498. "type": "string"
  12499. },
  12500. "goodsname": {
  12501. "description": "商品名称",
  12502. "type": "string"
  12503. },
  12504. "operateapplyid": {
  12505. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12506. "type": "string"
  12507. },
  12508. "operateapplytype": {
  12509. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12510. "type": "integer"
  12511. },
  12512. "pricemove": {
  12513. "description": "升贴水",
  12514. "type": "number"
  12515. },
  12516. "pricetype": {
  12517. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12518. "type": "integer"
  12519. },
  12520. "reckonadjustamount": {
  12521. "description": "结算调整金额(非必填)",
  12522. "type": "number"
  12523. },
  12524. "reckonosamount": {
  12525. "description": "结算溢短金额(非必填)",
  12526. "type": "number"
  12527. },
  12528. "reckonotheramount": {
  12529. "description": "结算其他费用(非必填)",
  12530. "type": "number"
  12531. },
  12532. "reckonrealqty": {
  12533. "description": "结算实际数量(非必填)",
  12534. "type": "number"
  12535. },
  12536. "relatedid": {
  12537. "description": "现货合同ID",
  12538. "type": "string"
  12539. },
  12540. "sellusername": {
  12541. "description": "销售方名字",
  12542. "type": "string"
  12543. },
  12544. "userid": {
  12545. "description": "用户ID",
  12546. "type": "integer"
  12547. },
  12548. "wrstandardcode": {
  12549. "description": "品类代码",
  12550. "type": "string"
  12551. },
  12552. "wrstandardid": {
  12553. "description": "品类id",
  12554. "type": "integer"
  12555. },
  12556. "wrstandardname": {
  12557. "description": "品类名称",
  12558. "type": "string"
  12559. }
  12560. }
  12561. },
  12562. "ermcp.QryBussinessKxRsp": {
  12563. "type": "object",
  12564. "properties": {
  12565. "applyid": {
  12566. "description": "申请人",
  12567. "type": "string"
  12568. },
  12569. "applyname": {
  12570. "description": "申请人名称",
  12571. "type": "string"
  12572. },
  12573. "applystatus": {
  12574. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12575. "type": "integer"
  12576. },
  12577. "applytime": {
  12578. "description": "申请时间",
  12579. "type": "string"
  12580. },
  12581. "attachurl": {
  12582. "description": "附件",
  12583. "type": "string"
  12584. },
  12585. "auditid": {
  12586. "description": "审核人ID",
  12587. "type": "string"
  12588. },
  12589. "auditname": {
  12590. "description": "审核人名称",
  12591. "type": "string"
  12592. },
  12593. "audittime": {
  12594. "description": "审核时间",
  12595. "type": "string"
  12596. },
  12597. "buyusername": {
  12598. "description": "采购方名称",
  12599. "type": "string"
  12600. },
  12601. "contractno": {
  12602. "description": "合同编号",
  12603. "type": "string"
  12604. },
  12605. "contractstatus": {
  12606. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12607. "type": "integer"
  12608. },
  12609. "contracttype": {
  12610. "description": "现货合同类型 - 1:采购 -1:销售",
  12611. "type": "integer"
  12612. },
  12613. "deductamount": {
  12614. "description": "退款(非必填)",
  12615. "type": "number"
  12616. },
  12617. "deliverygoodscode": {
  12618. "description": "现货品种代码",
  12619. "type": "string"
  12620. },
  12621. "deliverygoodsid": {
  12622. "description": "现货商品ID",
  12623. "type": "integer"
  12624. },
  12625. "deliverygoodsname": {
  12626. "description": "现货品种名称",
  12627. "type": "string"
  12628. },
  12629. "enumdicname": {
  12630. "description": "单位名称",
  12631. "type": "string"
  12632. },
  12633. "goodscode": {
  12634. "description": "点价合约",
  12635. "type": "string"
  12636. },
  12637. "goodsname": {
  12638. "description": "商品名称",
  12639. "type": "string"
  12640. },
  12641. "kxtype": {
  12642. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12643. "type": "integer"
  12644. },
  12645. "operateapplyid": {
  12646. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12647. "type": "string"
  12648. },
  12649. "operateapplytype": {
  12650. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12651. "type": "integer"
  12652. },
  12653. "payamount": {
  12654. "description": "收付款(非必填)",
  12655. "type": "number"
  12656. },
  12657. "pricemove": {
  12658. "description": "升贴水",
  12659. "type": "number"
  12660. },
  12661. "pricetype": {
  12662. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12663. "type": "integer"
  12664. },
  12665. "relatedid": {
  12666. "description": "现货合同ID",
  12667. "type": "string"
  12668. },
  12669. "sellusername": {
  12670. "description": "销售方名字",
  12671. "type": "string"
  12672. },
  12673. "userid": {
  12674. "description": "用户ID",
  12675. "type": "integer"
  12676. },
  12677. "wrstandardcode": {
  12678. "description": "品类代码",
  12679. "type": "string"
  12680. },
  12681. "wrstandardid": {
  12682. "description": "品类id",
  12683. "type": "integer"
  12684. },
  12685. "wrstandardname": {
  12686. "description": "品类名称",
  12687. "type": "string"
  12688. }
  12689. }
  12690. },
  12691. "ermcp.QryGGCovertCfgRsp": {
  12692. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12693. },
  12694. "ermcp.QryMGChangeLogRsp": {
  12695. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12696. },
  12697. "ermcp.QryMiddleGoodsDetailRsp": {
  12698. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12699. },
  12700. "ermcp.QryMiddleGoodsRsp": {
  12701. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12702. },
  12703. "ermcp.QryOPLogRsp": {
  12704. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12705. },
  12706. "ermcp.QryUserInfoRsp": {
  12707. "$ref": "#/definitions/models.ErmcpUserModel"
  12708. },
  12709. "ermcp.QryWarehouseRsp": {
  12710. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12711. },
  12712. "ermcp.QueryErmcpTradePositionRsp": {
  12713. "type": "object",
  12714. "properties": {
  12715. "agreeunit": {
  12716. "description": "合约单位",
  12717. "type": "number"
  12718. },
  12719. "buyorsell": {
  12720. "description": "方向 - 0:买 1:卖",
  12721. "type": "integer"
  12722. },
  12723. "curpositionqty": {
  12724. "description": "持仓(总仓数量, 期末头寸)",
  12725. "type": "integer"
  12726. },
  12727. "curtdposition": {
  12728. "description": "今仓数量(期末今日头寸)",
  12729. "type": "integer"
  12730. },
  12731. "curtdpositionenabled": {
  12732. "description": "今仓可用",
  12733. "type": "integer"
  12734. },
  12735. "decimalplace": {
  12736. "description": "报价小数位",
  12737. "type": "integer"
  12738. },
  12739. "enableqty": {
  12740. "description": "可用(总仓可用)",
  12741. "type": "integer"
  12742. },
  12743. "exexchangename": {
  12744. "description": "外部交易所名称",
  12745. "type": "string"
  12746. },
  12747. "goodscode": {
  12748. "description": "商品代码(内部)",
  12749. "type": "string"
  12750. },
  12751. "goodsid": {
  12752. "description": "商品ID(自增ID SEQ_GOODS)",
  12753. "type": "integer"
  12754. },
  12755. "goodsname": {
  12756. "description": "商品名称",
  12757. "type": "string"
  12758. },
  12759. "last": {
  12760. "description": "现价",
  12761. "type": "number"
  12762. },
  12763. "marketid": {
  12764. "description": "所属市场ID",
  12765. "type": "integer"
  12766. },
  12767. "openaverageprice": {
  12768. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12769. "type": "number"
  12770. },
  12771. "opencost": {
  12772. "description": "开仓成本",
  12773. "type": "number"
  12774. },
  12775. "openpl": {
  12776. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12777. "type": "number"
  12778. },
  12779. "outgoodscode": {
  12780. "description": "商品代码(外部)",
  12781. "type": "string"
  12782. },
  12783. "positionaverageprice": {
  12784. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12785. "type": "number"
  12786. },
  12787. "positioncost": {
  12788. "description": "持仓成本",
  12789. "type": "number"
  12790. },
  12791. "positionpl": {
  12792. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12793. "type": "number"
  12794. },
  12795. "positionplrate": {
  12796. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12797. "type": "number"
  12798. },
  12799. "usedmargin": {
  12800. "description": "占用保证金",
  12801. "type": "number"
  12802. }
  12803. }
  12804. },
  12805. "ermcp.RealtimeExposurePositionRsp": {
  12806. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12807. },
  12808. "ermcp.RealtimeExposureRsp": {
  12809. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12810. },
  12811. "erms2.QueryArbitrageStrategyRsp": {
  12812. "type": "object",
  12813. "required": [
  12814. "asapplyid"
  12815. ],
  12816. "properties": {
  12817. "applybasis": {
  12818. "description": "申请基差",
  12819. "type": "number"
  12820. },
  12821. "asapplyid": {
  12822. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12823. "type": "string"
  12824. },
  12825. "asname": {
  12826. "description": "策略名称",
  12827. "type": "string"
  12828. },
  12829. "asno": {
  12830. "description": "策略编号",
  12831. "type": "string"
  12832. },
  12833. "basischangepl": {
  12834. "description": "基差变动损益[结算更新]",
  12835. "type": "number"
  12836. },
  12837. "biztype": {
  12838. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12839. "type": "integer"
  12840. },
  12841. "closetradedate": {
  12842. "description": "完结交易日(yyyyMMdd)",
  12843. "type": "string"
  12844. },
  12845. "curbasis": {
  12846. "description": "当前基差[结算更新]",
  12847. "type": "number"
  12848. },
  12849. "deliverygoodsid": {
  12850. "description": "现货品种ID",
  12851. "type": "integer"
  12852. },
  12853. "futureavgprice": {
  12854. "description": "期货建仓均价",
  12855. "type": "number"
  12856. },
  12857. "futurecloseamount": {
  12858. "description": "期货平仓金额",
  12859. "type": "number"
  12860. },
  12861. "futurecloseqty": {
  12862. "description": "期货平仓数量",
  12863. "type": "number"
  12864. },
  12865. "futureopenamount": {
  12866. "description": "期货开仓金额",
  12867. "type": "number"
  12868. },
  12869. "futureopenqty": {
  12870. "description": "期货开仓数量",
  12871. "type": "number"
  12872. },
  12873. "futurepl": {
  12874. "description": "期货总盈亏[结算更新]",
  12875. "type": "number"
  12876. },
  12877. "futureqty": {
  12878. "description": "期货持仓数量",
  12879. "type": "number"
  12880. },
  12881. "futurequote": {
  12882. "description": "期货额度",
  12883. "type": "number"
  12884. },
  12885. "goodsgroupid": {
  12886. "description": "期货品种ID",
  12887. "type": "integer"
  12888. },
  12889. "marketid": {
  12890. "description": "市场ID",
  12891. "type": "integer"
  12892. },
  12893. "netexposure": {
  12894. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12895. "type": "number"
  12896. },
  12897. "netexposurepl": {
  12898. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12899. "type": "number"
  12900. },
  12901. "netexposurerate": {
  12902. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12903. "type": "number"
  12904. },
  12905. "openbasis": {
  12906. "description": "建仓基差",
  12907. "type": "number"
  12908. },
  12909. "pricedspotqty": {
  12910. "description": "已定价现货数量",
  12911. "type": "number"
  12912. },
  12913. "pricedspotqtynotax": {
  12914. "description": "已定价现货不含税数量",
  12915. "type": "number"
  12916. },
  12917. "remark": {
  12918. "description": "备注",
  12919. "type": "string"
  12920. },
  12921. "spotavgprice": {
  12922. "description": "现货均价",
  12923. "type": "number"
  12924. },
  12925. "spotbuyamount": {
  12926. "description": "现货采购金额",
  12927. "type": "number"
  12928. },
  12929. "spotbuyqty": {
  12930. "description": "现货采购数量",
  12931. "type": "number"
  12932. },
  12933. "spotpl": {
  12934. "description": "现货总盈亏[结算更新]",
  12935. "type": "number"
  12936. },
  12937. "spotquota": {
  12938. "description": "现货额度",
  12939. "type": "number"
  12940. },
  12941. "spotsellamount": {
  12942. "description": "现货销售金额",
  12943. "type": "number"
  12944. },
  12945. "spotsellqty": {
  12946. "description": "现货销售数量",
  12947. "type": "number"
  12948. },
  12949. "spotusedquota": {
  12950. "description": "现货占用资金",
  12951. "type": "number"
  12952. },
  12953. "strategystatus": {
  12954. "description": "策略状态 - 0:未结束 1:已结束",
  12955. "type": "integer"
  12956. },
  12957. "totalpl": {
  12958. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12959. "type": "number"
  12960. },
  12961. "tradedate": {
  12962. "description": "交易日(yyyyMMdd)",
  12963. "type": "string"
  12964. },
  12965. "updatetime": {
  12966. "description": "更新时间",
  12967. "type": "string"
  12968. },
  12969. "usedquota": {
  12970. "description": "已占用资金",
  12971. "type": "number"
  12972. },
  12973. "userid": {
  12974. "description": "所属机构",
  12975. "type": "integer"
  12976. }
  12977. }
  12978. },
  12979. "erms2.QueryInnerTradeDetailRsp": {
  12980. "type": "object",
  12981. "required": [
  12982. "asapplyid",
  12983. "buyorsell",
  12984. "goodscode",
  12985. "goodsgroupid",
  12986. "goodsgroupname",
  12987. "goodsname",
  12988. "tradeid"
  12989. ],
  12990. "properties": {
  12991. "accountid": {
  12992. "description": "账号ID",
  12993. "type": "integer"
  12994. },
  12995. "agreeunit": {
  12996. "description": "合约单位",
  12997. "type": "number"
  12998. },
  12999. "asapplyid": {
  13000. "description": "策略申请ID",
  13001. "type": "integer"
  13002. },
  13003. "asname": {
  13004. "description": "策略名称",
  13005. "type": "string"
  13006. },
  13007. "asno": {
  13008. "description": "策略编号",
  13009. "type": "string"
  13010. },
  13011. "buyorsell": {
  13012. "description": "方向 - 0:买 1:卖",
  13013. "type": "integer"
  13014. },
  13015. "channelbuildtype": {
  13016. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13017. "type": "integer"
  13018. },
  13019. "closetype": {
  13020. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13021. "type": "integer"
  13022. },
  13023. "decimalplace": {
  13024. "description": "报价小数位",
  13025. "type": "integer"
  13026. },
  13027. "detailtype": {
  13028. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13029. "type": "integer"
  13030. },
  13031. "exexchangecode": {
  13032. "description": "外部交易所代码",
  13033. "type": "string"
  13034. },
  13035. "exexchangename": {
  13036. "description": "外部交易所名称",
  13037. "type": "string"
  13038. },
  13039. "goodscode": {
  13040. "description": "商品代码(合约)",
  13041. "type": "string"
  13042. },
  13043. "goodsgroupid": {
  13044. "description": "商品组ID(品种ID)",
  13045. "type": "integer"
  13046. },
  13047. "goodsgroupname": {
  13048. "description": "商品组名称(品种)",
  13049. "type": "string"
  13050. },
  13051. "goodsid": {
  13052. "description": "商品ID",
  13053. "type": "integer"
  13054. },
  13055. "goodsname": {
  13056. "description": "商品名称(合约)",
  13057. "type": "string"
  13058. },
  13059. "goodunit": {
  13060. "description": "报价单位",
  13061. "type": "string"
  13062. },
  13063. "marketid": {
  13064. "description": "市场ID",
  13065. "type": "integer"
  13066. },
  13067. "orderid": {
  13068. "description": "委托单号",
  13069. "type": "string"
  13070. },
  13071. "outgoodscode": {
  13072. "description": "商品代码(外部)",
  13073. "type": "string"
  13074. },
  13075. "relatedouttradeid": {
  13076. "description": "关联外部成交单ID",
  13077. "type": "string"
  13078. },
  13079. "remark": {
  13080. "description": "备注",
  13081. "type": "string"
  13082. },
  13083. "spotcontractid": {
  13084. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13085. "type": "integer"
  13086. },
  13087. "spotcontractno": {
  13088. "description": "现货合同编号",
  13089. "type": "string"
  13090. },
  13091. "tradeid": {
  13092. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13093. "type": "string"
  13094. },
  13095. "tradeprice": {
  13096. "description": "成交价格",
  13097. "type": "number"
  13098. },
  13099. "tradeqty": {
  13100. "description": "成交数量",
  13101. "type": "integer"
  13102. },
  13103. "tradetime": {
  13104. "description": "成交时间",
  13105. "type": "string"
  13106. },
  13107. "updatetime": {
  13108. "description": "更新时间",
  13109. "type": "string"
  13110. }
  13111. }
  13112. },
  13113. "erms2.QuerySpotContractRsp": {
  13114. "type": "object",
  13115. "required": [
  13116. "spotcontractid"
  13117. ],
  13118. "properties": {
  13119. "accountid": {
  13120. "description": "资金账户ID",
  13121. "type": "integer"
  13122. },
  13123. "areauserid": {
  13124. "description": "所属机构",
  13125. "type": "integer"
  13126. },
  13127. "closedate": {
  13128. "description": "终止日期",
  13129. "type": "string"
  13130. },
  13131. "closeremark": {
  13132. "description": "结束备注",
  13133. "type": "string"
  13134. },
  13135. "closetradedate": {
  13136. "description": "完结交易日(yyyyMMdd)",
  13137. "type": "string"
  13138. },
  13139. "closetype": {
  13140. "description": "终止类型 - 1:违约 2:提前终止",
  13141. "type": "integer"
  13142. },
  13143. "contractamount": {
  13144. "description": "合同金额",
  13145. "type": "number"
  13146. },
  13147. "contractattachment": {
  13148. "description": "合同附件",
  13149. "type": "string"
  13150. },
  13151. "contractno": {
  13152. "description": "现货合同编号",
  13153. "type": "string"
  13154. },
  13155. "contractqty": {
  13156. "description": "合同数量(数值) (用于计算)",
  13157. "type": "number"
  13158. },
  13159. "contractqtychar": {
  13160. "description": "合同数量\\已订价数量 (用于显示)",
  13161. "type": "string"
  13162. },
  13163. "contractstatus": {
  13164. "description": "合同状态 - 0:未结束 1:已结束",
  13165. "type": "integer"
  13166. },
  13167. "contracttype": {
  13168. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13169. "type": "integer"
  13170. },
  13171. "customeraccountid": {
  13172. "description": "客户资金账户ID",
  13173. "type": "integer"
  13174. },
  13175. "customeruserid": {
  13176. "description": "客户ID",
  13177. "type": "integer"
  13178. },
  13179. "deliverygoodsdesc": {
  13180. "description": "品种说明",
  13181. "type": "string"
  13182. },
  13183. "deliverygoodsid": {
  13184. "description": "现货品种ID",
  13185. "type": "integer"
  13186. },
  13187. "handlestatus": {
  13188. "description": "处理状态",
  13189. "type": "integer"
  13190. },
  13191. "invoiceatt": {
  13192. "description": "发票附件",
  13193. "type": "string"
  13194. },
  13195. "invoicedatetime": {
  13196. "description": "开收票更新时间",
  13197. "type": "string"
  13198. },
  13199. "invoiceopentime": {
  13200. "description": "开票时间",
  13201. "type": "string"
  13202. },
  13203. "invoiceremark": {
  13204. "description": "发票备注",
  13205. "type": "string"
  13206. },
  13207. "invoicestatus": {
  13208. "description": "开收票状态 - 0:未开票 1:已开票",
  13209. "type": "integer"
  13210. },
  13211. "lastdate": {
  13212. "description": "交货时间",
  13213. "type": "string"
  13214. },
  13215. "marketid": {
  13216. "description": "市场ID",
  13217. "type": "integer"
  13218. },
  13219. "paydatetime": {
  13220. "description": "收付款更新时间",
  13221. "type": "string"
  13222. },
  13223. "payremark": {
  13224. "description": "收付款备注",
  13225. "type": "string"
  13226. },
  13227. "paystatus": {
  13228. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13229. "type": "integer"
  13230. },
  13231. "positionqty": {
  13232. "description": "头寸数量 - 合同数量去小数部分",
  13233. "type": "integer"
  13234. },
  13235. "producttype": {
  13236. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13237. "type": "integer"
  13238. },
  13239. "relatedqty": {
  13240. "description": "已关联数量",
  13241. "type": "number"
  13242. },
  13243. "relatedstatus": {
  13244. "description": "关联完结状态 - 0:未结束 1:已结束",
  13245. "type": "integer"
  13246. },
  13247. "remark": {
  13248. "description": "备注",
  13249. "type": "string"
  13250. },
  13251. "signdate": {
  13252. "description": "签订日期",
  13253. "type": "string"
  13254. },
  13255. "spotcontractid": {
  13256. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13257. "type": "string"
  13258. },
  13259. "spotdatetime": {
  13260. "description": "收发货更新时间",
  13261. "type": "string"
  13262. },
  13263. "spotprice": {
  13264. "description": "价格",
  13265. "type": "number"
  13266. },
  13267. "spotremark": {
  13268. "description": "收发货备注",
  13269. "type": "string"
  13270. },
  13271. "spotstatus": {
  13272. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13273. "type": "integer"
  13274. },
  13275. "tradedate": {
  13276. "description": "交易日(yyyyMMdd)",
  13277. "type": "string"
  13278. },
  13279. "userid": {
  13280. "description": "业务员用户ID",
  13281. "type": "integer"
  13282. },
  13283. "warehouseid": {
  13284. "description": "仓库ID",
  13285. "type": "integer"
  13286. },
  13287. "wrfactortypeid": {
  13288. "description": "仓单要素类型ID",
  13289. "type": "integer"
  13290. },
  13291. "wrstandardid": {
  13292. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13293. "type": "integer"
  13294. }
  13295. }
  13296. },
  13297. "erms3.AddErms2ASApplyReq": {
  13298. "type": "object",
  13299. "required": [
  13300. "asapplyid"
  13301. ],
  13302. "properties": {
  13303. "applybasis": {
  13304. "description": "申请基差",
  13305. "type": "number"
  13306. },
  13307. "applystatus": {
  13308. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13309. "type": "integer"
  13310. },
  13311. "asapplyid": {
  13312. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13313. "type": "integer"
  13314. },
  13315. "asname": {
  13316. "description": "策略名称",
  13317. "type": "string"
  13318. },
  13319. "asno": {
  13320. "description": "策略编号",
  13321. "type": "string"
  13322. },
  13323. "auditid": {
  13324. "description": "审核人",
  13325. "type": "integer"
  13326. },
  13327. "auditremark": {
  13328. "description": "审核备注",
  13329. "type": "string"
  13330. },
  13331. "audittime": {
  13332. "description": "审核时间",
  13333. "type": "string"
  13334. },
  13335. "biztype": {
  13336. "description": "业务类型 - 1:正向套利 2:反向套利",
  13337. "type": "integer"
  13338. },
  13339. "createtime": {
  13340. "description": "创建时间",
  13341. "type": "string"
  13342. },
  13343. "creatorid": {
  13344. "description": "创建人",
  13345. "type": "integer"
  13346. },
  13347. "deliverygoodsid": {
  13348. "description": "现货品种ID",
  13349. "type": "integer"
  13350. },
  13351. "futurequote": {
  13352. "description": "期货额度",
  13353. "type": "number"
  13354. },
  13355. "goodsgroupid": {
  13356. "description": "期货品种ID",
  13357. "type": "integer"
  13358. },
  13359. "marketid": {
  13360. "description": "市场ID",
  13361. "type": "integer"
  13362. },
  13363. "remark": {
  13364. "description": "备注",
  13365. "type": "string"
  13366. },
  13367. "spotquota": {
  13368. "description": "现货额度",
  13369. "type": "number"
  13370. },
  13371. "tradedate": {
  13372. "description": "交易日(yyyyMMdd)",
  13373. "type": "string"
  13374. },
  13375. "userid": {
  13376. "description": "所属机构",
  13377. "type": "integer"
  13378. }
  13379. }
  13380. },
  13381. "erms3.AddErms2SpotTradeApplyReq": {
  13382. "type": "object",
  13383. "required": [
  13384. "spottradeid"
  13385. ],
  13386. "properties": {
  13387. "applyjsondetail": {
  13388. "description": "申请明细(JSON)",
  13389. "type": "string"
  13390. },
  13391. "applystatus": {
  13392. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13393. "type": "integer"
  13394. },
  13395. "areauserid": {
  13396. "description": "所属机构",
  13397. "type": "integer"
  13398. },
  13399. "auditid": {
  13400. "description": "审核人",
  13401. "type": "integer"
  13402. },
  13403. "auditremark": {
  13404. "description": "审核备注",
  13405. "type": "string"
  13406. },
  13407. "audittime": {
  13408. "description": "审核时间",
  13409. "type": "string"
  13410. },
  13411. "createtime": {
  13412. "description": "创建时间",
  13413. "type": "string"
  13414. },
  13415. "creatorid": {
  13416. "description": "创建人",
  13417. "type": "integer"
  13418. },
  13419. "deliverygoodsid": {
  13420. "description": "现货品种ID",
  13421. "type": "integer"
  13422. },
  13423. "futureaccountid": {
  13424. "description": "期货资金账户",
  13425. "type": "integer"
  13426. },
  13427. "goodsgroupid": {
  13428. "description": "期货品种",
  13429. "type": "integer"
  13430. },
  13431. "marketid": {
  13432. "description": "市场ID",
  13433. "type": "integer"
  13434. },
  13435. "remark": {
  13436. "description": "备注",
  13437. "type": "string"
  13438. },
  13439. "spotaccountid": {
  13440. "description": "现货资金账户",
  13441. "type": "integer"
  13442. },
  13443. "spottradeid": {
  13444. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13445. "type": "integer"
  13446. },
  13447. "spottradename": {
  13448. "description": "业务名称",
  13449. "type": "string"
  13450. },
  13451. "spottradeno": {
  13452. "description": "业务编号",
  13453. "type": "string"
  13454. },
  13455. "tradedate": {
  13456. "description": "交易日(yyyyMMdd)",
  13457. "type": "string"
  13458. },
  13459. "wrstandardid": {
  13460. "description": "仓单标准ID",
  13461. "type": "integer"
  13462. }
  13463. }
  13464. },
  13465. "erms3.AddSpotContractApplyReq": {
  13466. "type": "object",
  13467. "required": [
  13468. "accountid",
  13469. "areauserid",
  13470. "contractno",
  13471. "contracttype",
  13472. "customeraccountid",
  13473. "customeruserid",
  13474. "details",
  13475. "orimargin",
  13476. "signdate"
  13477. ],
  13478. "properties": {
  13479. "accountid": {
  13480. "description": "资金账户ID",
  13481. "type": "integer"
  13482. },
  13483. "areauserid": {
  13484. "description": "所属机构",
  13485. "type": "integer"
  13486. },
  13487. "contractattachment": {
  13488. "description": "合同附件",
  13489. "type": "string"
  13490. },
  13491. "contractno": {
  13492. "description": "现货合同编号",
  13493. "type": "string"
  13494. },
  13495. "contracttype": {
  13496. "description": "现货合同类型 - 1:采购 -1:销售",
  13497. "type": "integer"
  13498. },
  13499. "creatorid": {
  13500. "description": "申请人",
  13501. "type": "integer"
  13502. },
  13503. "customeraccountid": {
  13504. "description": "客户资金账户ID",
  13505. "type": "integer"
  13506. },
  13507. "customeruserid": {
  13508. "description": "客户ID",
  13509. "type": "integer"
  13510. },
  13511. "details": {
  13512. "description": "明细",
  13513. "type": "array",
  13514. "items": {
  13515. "$ref": "#/definitions/erms3.SoptContractDetail"
  13516. }
  13517. },
  13518. "orimargin": {
  13519. "description": "初始保证金",
  13520. "type": "number"
  13521. },
  13522. "remark": {
  13523. "description": "备注",
  13524. "type": "string"
  13525. },
  13526. "signdate": {
  13527. "description": "签订日期",
  13528. "type": "string"
  13529. }
  13530. }
  13531. },
  13532. "erms3.AddSpotContractApplyRsp": {
  13533. "type": "object",
  13534. "required": [
  13535. "contractno"
  13536. ],
  13537. "properties": {
  13538. "contractno": {
  13539. "description": "现货合同编号",
  13540. "type": "string"
  13541. },
  13542. "spotcontractid": {
  13543. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13544. "type": "integer"
  13545. }
  13546. }
  13547. },
  13548. "erms3.AddUserInfoApplyReq": {
  13549. "type": "object",
  13550. "required": [
  13551. "userid"
  13552. ],
  13553. "properties": {
  13554. "accountid": {
  13555. "description": "交易系统帐号Id (加密存储)",
  13556. "type": "integer"
  13557. },
  13558. "areacode": {
  13559. "description": "机构代码",
  13560. "type": "string"
  13561. },
  13562. "areaid": {
  13563. "description": "机构Id",
  13564. "type": "integer"
  13565. },
  13566. "attachment1": {
  13567. "description": "附件1",
  13568. "type": "string"
  13569. },
  13570. "attachment2": {
  13571. "description": "附件2",
  13572. "type": "string"
  13573. },
  13574. "attachment3": {
  13575. "description": "附件3",
  13576. "type": "string"
  13577. },
  13578. "attachment4": {
  13579. "description": "附件4",
  13580. "type": "string"
  13581. },
  13582. "attachment5": {
  13583. "description": "附件5",
  13584. "type": "string"
  13585. },
  13586. "auditedby": {
  13587. "description": "审核人",
  13588. "type": "string"
  13589. },
  13590. "auditime": {
  13591. "description": "审核时间",
  13592. "type": "string"
  13593. },
  13594. "auditsrc": {
  13595. "description": "审核来源 - 1:管理端 2:终端",
  13596. "type": "integer"
  13597. },
  13598. "bankaccount": {
  13599. "description": "银行帐号 (加密存储)",
  13600. "type": "string"
  13601. },
  13602. "bankaccountname": {
  13603. "description": "收款人名称",
  13604. "type": "string"
  13605. },
  13606. "bankcardbackphotourl": {
  13607. "description": "银行卡背面照地址",
  13608. "type": "string"
  13609. },
  13610. "bankcardfrontphotourl": {
  13611. "description": "银行卡正面照地址",
  13612. "type": "string"
  13613. },
  13614. "bankid": {
  13615. "description": "银行编码",
  13616. "type": "string"
  13617. },
  13618. "bankname": {
  13619. "description": "银行名称",
  13620. "type": "string"
  13621. },
  13622. "bankpictureurl": {
  13623. "description": "银行卡正面地址",
  13624. "type": "string"
  13625. },
  13626. "biznature": {
  13627. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13628. "type": "integer"
  13629. },
  13630. "bizscope": {
  13631. "description": "企业经营范围(企业)",
  13632. "type": "string"
  13633. },
  13634. "biztype": {
  13635. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13636. "type": "integer"
  13637. },
  13638. "brokerid": {
  13639. "description": "经纪人ID(加密存储)",
  13640. "type": "string"
  13641. },
  13642. "cardaddress": {
  13643. "description": "证件地址 (加密存储)",
  13644. "type": "string"
  13645. },
  13646. "cardbackphotourl": {
  13647. "description": "背面证件照地址",
  13648. "type": "string"
  13649. },
  13650. "cardfrontphotourl": {
  13651. "description": "正面证件照地址",
  13652. "type": "string"
  13653. },
  13654. "cardnum": {
  13655. "description": "证件号码 (加密存储)",
  13656. "type": "string"
  13657. },
  13658. "cardtype": {
  13659. "description": "证件类型",
  13660. "type": "integer"
  13661. },
  13662. "cityid": {
  13663. "description": "市",
  13664. "type": "integer"
  13665. },
  13666. "company": {
  13667. "description": "公司(个人)",
  13668. "type": "string"
  13669. },
  13670. "contactcardbackphotourl": {
  13671. "description": "联系人证件背面图片地址",
  13672. "type": "string"
  13673. },
  13674. "contactcardfrontphotourl": {
  13675. "description": "联系人证件正面图片地址",
  13676. "type": "string"
  13677. },
  13678. "contactname": {
  13679. "description": "联系人",
  13680. "type": "string"
  13681. },
  13682. "countryid": {
  13683. "description": "国家",
  13684. "type": "integer"
  13685. },
  13686. "createtime": {
  13687. "description": "开户申请时间",
  13688. "type": "string"
  13689. },
  13690. "cusbankid": {
  13691. "description": "签约类型",
  13692. "type": "string"
  13693. },
  13694. "cusbankname": {
  13695. "description": "签约类型名称",
  13696. "type": "string"
  13697. },
  13698. "customername": {
  13699. "description": "客户名称(企业名称)",
  13700. "type": "string"
  13701. },
  13702. "districtid": {
  13703. "description": "地区",
  13704. "type": "integer"
  13705. },
  13706. "email": {
  13707. "description": "Email地址(加密存储)",
  13708. "type": "string"
  13709. },
  13710. "halfbodyphotourl": {
  13711. "description": "半身照地址",
  13712. "type": "string"
  13713. },
  13714. "headurl": {
  13715. "description": "头像地址",
  13716. "type": "string"
  13717. },
  13718. "ipaddress": {
  13719. "description": "IP地址",
  13720. "type": "string"
  13721. },
  13722. "isvalidate": {
  13723. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13724. "type": "string"
  13725. },
  13726. "legalcardbackphotourl": {
  13727. "description": "法人身份证背面照地址",
  13728. "type": "string"
  13729. },
  13730. "legalcardfrontphotourl": {
  13731. "description": "法人身份证正面照地址",
  13732. "type": "string"
  13733. },
  13734. "legalpersonname": {
  13735. "description": "法人姓名(企业)",
  13736. "type": "string"
  13737. },
  13738. "logincode": {
  13739. "description": "登录帐号 (加密存储)",
  13740. "type": "string"
  13741. },
  13742. "memberareaid": {
  13743. "description": "所属会员ID",
  13744. "type": "integer"
  13745. },
  13746. "mobile2": {
  13747. "description": "手机号码[明文-尚志]",
  13748. "type": "string"
  13749. },
  13750. "mobilephone": {
  13751. "description": "手机号码 (加密存储)",
  13752. "type": "string"
  13753. },
  13754. "modifiedby": {
  13755. "description": "修改人帐号",
  13756. "type": "integer"
  13757. },
  13758. "modifiedtime": {
  13759. "description": "修改时间",
  13760. "type": "string"
  13761. },
  13762. "nickname": {
  13763. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13764. "type": "string"
  13765. },
  13766. "openmode": {
  13767. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13768. "type": "integer"
  13769. },
  13770. "otherurl": {
  13771. "description": "其它图片地址[使用分号分隔]",
  13772. "type": "string"
  13773. },
  13774. "postalcode": {
  13775. "description": "邮政编码",
  13776. "type": "string"
  13777. },
  13778. "provinceid": {
  13779. "description": "省",
  13780. "type": "integer"
  13781. },
  13782. "proxystatementurl": {
  13783. "description": "授权委托书",
  13784. "type": "string"
  13785. },
  13786. "qq": {
  13787. "description": "QQ(加密存储",
  13788. "type": "string"
  13789. },
  13790. "referral": {
  13791. "description": "推荐人编码",
  13792. "type": "string"
  13793. },
  13794. "remark": {
  13795. "description": "备注",
  13796. "type": "string"
  13797. },
  13798. "removebeforestatus": {
  13799. "description": "REMOVEBEFORESTATUS",
  13800. "type": "integer"
  13801. },
  13802. "sex": {
  13803. "description": "性别 - 0:女 1:男",
  13804. "type": "integer"
  13805. },
  13806. "signedstatus": {
  13807. "description": "账户一号签签约状态",
  13808. "type": "integer"
  13809. },
  13810. "signpdfurl": {
  13811. "description": "签约pdf文件",
  13812. "type": "string"
  13813. },
  13814. "subbranch": {
  13815. "description": "开户支行",
  13816. "type": "string"
  13817. },
  13818. "taxpayernum": {
  13819. "description": "纳税人识别号",
  13820. "type": "string"
  13821. },
  13822. "telphone": {
  13823. "description": "联系电话(加密存储)",
  13824. "type": "string"
  13825. },
  13826. "userid": {
  13827. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13828. "type": "integer"
  13829. },
  13830. "userinfotype": {
  13831. "description": "用户信息类型 - 1:个人 2:企业",
  13832. "type": "integer"
  13833. },
  13834. "username": {
  13835. "description": "用户姓名",
  13836. "type": "string"
  13837. },
  13838. "userstate": {
  13839. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13840. "type": "integer"
  13841. },
  13842. "usertype": {
  13843. "description": "用户类型 - 1:投资者 2:机构",
  13844. "type": "integer"
  13845. },
  13846. "videourl": {
  13847. "description": "视频地址",
  13848. "type": "string"
  13849. },
  13850. "wechat": {
  13851. "description": "微信号 (加密存储)",
  13852. "type": "string"
  13853. }
  13854. }
  13855. },
  13856. "erms3.CustomerInfo": {
  13857. "type": "object",
  13858. "required": [
  13859. "userid"
  13860. ],
  13861. "properties": {
  13862. "accountids": {
  13863. "description": "资金账户ID列表",
  13864. "type": "array",
  13865. "items": {
  13866. "type": "integer"
  13867. }
  13868. },
  13869. "customername": {
  13870. "description": "名称(企业名称)",
  13871. "type": "string"
  13872. },
  13873. "mobile": {
  13874. "description": "手机号码",
  13875. "type": "string"
  13876. },
  13877. "userid": {
  13878. "description": "用户ID",
  13879. "type": "integer"
  13880. }
  13881. }
  13882. },
  13883. "erms3.ModifyUserInfoApplyReq": {
  13884. "type": "object",
  13885. "required": [
  13886. "userid"
  13887. ],
  13888. "properties": {
  13889. "accountid": {
  13890. "description": "交易系统帐号Id (加密存储)",
  13891. "type": "integer"
  13892. },
  13893. "areacode": {
  13894. "description": "机构代码",
  13895. "type": "string"
  13896. },
  13897. "areaid": {
  13898. "description": "机构Id",
  13899. "type": "integer"
  13900. },
  13901. "attachment1": {
  13902. "description": "附件1",
  13903. "type": "string"
  13904. },
  13905. "attachment2": {
  13906. "description": "附件2",
  13907. "type": "string"
  13908. },
  13909. "attachment3": {
  13910. "description": "附件3",
  13911. "type": "string"
  13912. },
  13913. "attachment4": {
  13914. "description": "附件4",
  13915. "type": "string"
  13916. },
  13917. "attachment5": {
  13918. "description": "附件5",
  13919. "type": "string"
  13920. },
  13921. "auditedby": {
  13922. "description": "审核人",
  13923. "type": "string"
  13924. },
  13925. "auditime": {
  13926. "description": "审核时间",
  13927. "type": "string"
  13928. },
  13929. "auditsrc": {
  13930. "description": "审核来源 - 1:管理端 2:终端",
  13931. "type": "integer"
  13932. },
  13933. "bankaccount": {
  13934. "description": "银行帐号 (加密存储)",
  13935. "type": "string"
  13936. },
  13937. "bankaccountname": {
  13938. "description": "收款人名称",
  13939. "type": "string"
  13940. },
  13941. "bankcardbackphotourl": {
  13942. "description": "银行卡背面照地址",
  13943. "type": "string"
  13944. },
  13945. "bankcardfrontphotourl": {
  13946. "description": "银行卡正面照地址",
  13947. "type": "string"
  13948. },
  13949. "bankid": {
  13950. "description": "银行编码",
  13951. "type": "string"
  13952. },
  13953. "bankname": {
  13954. "description": "银行名称",
  13955. "type": "string"
  13956. },
  13957. "bankpictureurl": {
  13958. "description": "银行卡正面地址",
  13959. "type": "string"
  13960. },
  13961. "biznature": {
  13962. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13963. "type": "integer"
  13964. },
  13965. "bizscope": {
  13966. "description": "企业经营范围(企业)",
  13967. "type": "string"
  13968. },
  13969. "biztype": {
  13970. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13971. "type": "integer"
  13972. },
  13973. "brokerid": {
  13974. "description": "经纪人ID(加密存储)",
  13975. "type": "string"
  13976. },
  13977. "cardaddress": {
  13978. "description": "证件地址 (加密存储)",
  13979. "type": "string"
  13980. },
  13981. "cardbackphotourl": {
  13982. "description": "背面证件照地址",
  13983. "type": "string"
  13984. },
  13985. "cardfrontphotourl": {
  13986. "description": "正面证件照地址",
  13987. "type": "string"
  13988. },
  13989. "cardnum": {
  13990. "description": "证件号码 (加密存储)",
  13991. "type": "string"
  13992. },
  13993. "cardtype": {
  13994. "description": "证件类型",
  13995. "type": "integer"
  13996. },
  13997. "cityid": {
  13998. "description": "市",
  13999. "type": "integer"
  14000. },
  14001. "company": {
  14002. "description": "公司(个人)",
  14003. "type": "string"
  14004. },
  14005. "contactcardbackphotourl": {
  14006. "description": "联系人证件背面图片地址",
  14007. "type": "string"
  14008. },
  14009. "contactcardfrontphotourl": {
  14010. "description": "联系人证件正面图片地址",
  14011. "type": "string"
  14012. },
  14013. "contactname": {
  14014. "description": "联系人",
  14015. "type": "string"
  14016. },
  14017. "countryid": {
  14018. "description": "国家",
  14019. "type": "integer"
  14020. },
  14021. "createtime": {
  14022. "description": "开户申请时间",
  14023. "type": "string"
  14024. },
  14025. "cusbankid": {
  14026. "description": "签约类型",
  14027. "type": "string"
  14028. },
  14029. "cusbankname": {
  14030. "description": "签约类型名称",
  14031. "type": "string"
  14032. },
  14033. "customername": {
  14034. "description": "客户名称(企业名称)",
  14035. "type": "string"
  14036. },
  14037. "districtid": {
  14038. "description": "地区",
  14039. "type": "integer"
  14040. },
  14041. "email": {
  14042. "description": "Email地址(加密存储)",
  14043. "type": "string"
  14044. },
  14045. "halfbodyphotourl": {
  14046. "description": "半身照地址",
  14047. "type": "string"
  14048. },
  14049. "headurl": {
  14050. "description": "头像地址",
  14051. "type": "string"
  14052. },
  14053. "ipaddress": {
  14054. "description": "IP地址",
  14055. "type": "string"
  14056. },
  14057. "isvalidate": {
  14058. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14059. "type": "string"
  14060. },
  14061. "legalcardbackphotourl": {
  14062. "description": "法人身份证背面照地址",
  14063. "type": "string"
  14064. },
  14065. "legalcardfrontphotourl": {
  14066. "description": "法人身份证正面照地址",
  14067. "type": "string"
  14068. },
  14069. "legalpersonname": {
  14070. "description": "法人姓名(企业)",
  14071. "type": "string"
  14072. },
  14073. "logincode": {
  14074. "description": "登录帐号 (加密存储)",
  14075. "type": "string"
  14076. },
  14077. "memberareaid": {
  14078. "description": "所属会员ID",
  14079. "type": "integer"
  14080. },
  14081. "mobile2": {
  14082. "description": "手机号码[明文-尚志]",
  14083. "type": "string"
  14084. },
  14085. "mobilephone": {
  14086. "description": "手机号码 (加密存储)",
  14087. "type": "string"
  14088. },
  14089. "modifiedby": {
  14090. "description": "修改人帐号",
  14091. "type": "integer"
  14092. },
  14093. "modifiedtime": {
  14094. "description": "修改时间",
  14095. "type": "string"
  14096. },
  14097. "nickname": {
  14098. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14099. "type": "string"
  14100. },
  14101. "openmode": {
  14102. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14103. "type": "integer"
  14104. },
  14105. "otherurl": {
  14106. "description": "其它图片地址[使用分号分隔]",
  14107. "type": "string"
  14108. },
  14109. "postalcode": {
  14110. "description": "邮政编码",
  14111. "type": "string"
  14112. },
  14113. "provinceid": {
  14114. "description": "省",
  14115. "type": "integer"
  14116. },
  14117. "proxystatementurl": {
  14118. "description": "授权委托书",
  14119. "type": "string"
  14120. },
  14121. "qq": {
  14122. "description": "QQ(加密存储",
  14123. "type": "string"
  14124. },
  14125. "referral": {
  14126. "description": "推荐人编码",
  14127. "type": "string"
  14128. },
  14129. "remark": {
  14130. "description": "备注",
  14131. "type": "string"
  14132. },
  14133. "removebeforestatus": {
  14134. "description": "REMOVEBEFORESTATUS",
  14135. "type": "integer"
  14136. },
  14137. "sex": {
  14138. "description": "性别 - 0:女 1:男",
  14139. "type": "integer"
  14140. },
  14141. "signedstatus": {
  14142. "description": "账户一号签签约状态",
  14143. "type": "integer"
  14144. },
  14145. "signpdfurl": {
  14146. "description": "签约pdf文件",
  14147. "type": "string"
  14148. },
  14149. "subbranch": {
  14150. "description": "开户支行",
  14151. "type": "string"
  14152. },
  14153. "taxpayernum": {
  14154. "description": "纳税人识别号",
  14155. "type": "string"
  14156. },
  14157. "telphone": {
  14158. "description": "联系电话(加密存储)",
  14159. "type": "string"
  14160. },
  14161. "userid": {
  14162. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14163. "type": "integer"
  14164. },
  14165. "userinfotype": {
  14166. "description": "用户信息类型 - 1:个人 2:企业",
  14167. "type": "integer"
  14168. },
  14169. "username": {
  14170. "description": "用户姓名",
  14171. "type": "string"
  14172. },
  14173. "userstate": {
  14174. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14175. "type": "integer"
  14176. },
  14177. "usertype": {
  14178. "description": "用户类型 - 1:投资者 2:机构",
  14179. "type": "integer"
  14180. },
  14181. "videourl": {
  14182. "description": "视频地址",
  14183. "type": "string"
  14184. },
  14185. "wechat": {
  14186. "description": "微信号 (加密存储)",
  14187. "type": "string"
  14188. }
  14189. }
  14190. },
  14191. "erms3.QryAuditContractRsp": {
  14192. "type": "object",
  14193. "required": [
  14194. "matchcustomername",
  14195. "spotcontractid"
  14196. ],
  14197. "properties": {
  14198. "accountid": {
  14199. "description": "交易员ID",
  14200. "type": "string"
  14201. },
  14202. "applystatus": {
  14203. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14204. "type": "integer"
  14205. },
  14206. "curdeliveryqty": {
  14207. "description": "未交收量",
  14208. "type": "integer"
  14209. },
  14210. "customername": {
  14211. "description": "采购方ID",
  14212. "type": "string"
  14213. },
  14214. "deliverygoodsid": {
  14215. "description": "品种ID",
  14216. "type": "string"
  14217. },
  14218. "deliveryqty": {
  14219. "description": "交收量",
  14220. "type": "integer"
  14221. },
  14222. "enumdicname": {
  14223. "description": "单位名称",
  14224. "type": "string"
  14225. },
  14226. "matchaccountid": {
  14227. "description": "业务员ID",
  14228. "type": "string"
  14229. },
  14230. "matchcustomername": {
  14231. "description": "销售方ID",
  14232. "type": "string"
  14233. },
  14234. "pricedqty": {
  14235. "description": "定价量",
  14236. "type": "number"
  14237. },
  14238. "signdate": {
  14239. "description": "签订日期",
  14240. "type": "string"
  14241. },
  14242. "spotcontractid": {
  14243. "description": "合同ID",
  14244. "type": "string"
  14245. },
  14246. "totaldqty": {
  14247. "description": "合同量",
  14248. "type": "number"
  14249. },
  14250. "unpricedqty": {
  14251. "description": "未定价量",
  14252. "type": "number"
  14253. },
  14254. "wrstandardname": {
  14255. "description": "商品名称",
  14256. "type": "string"
  14257. }
  14258. }
  14259. },
  14260. "erms3.QryPendingBizRsp": {
  14261. "$ref": "#/definitions/models.PendingAuditBizModel"
  14262. },
  14263. "erms3.QueryBusinessInfoRsp": {
  14264. "type": "object",
  14265. "properties": {
  14266. "businessid": {
  14267. "description": "业务ID.",
  14268. "type": "integer"
  14269. },
  14270. "buyamount": {
  14271. "description": "采购额.",
  14272. "type": "number"
  14273. },
  14274. "buyqty": {
  14275. "description": "采购量.",
  14276. "type": "string"
  14277. },
  14278. "futurepl": {
  14279. "description": "期货盈亏.",
  14280. "type": "number"
  14281. },
  14282. "futureqty": {
  14283. "description": "期货敞口.",
  14284. "type": "string"
  14285. },
  14286. "goodsid": {
  14287. "description": "商品名称/商品代码.",
  14288. "type": "string"
  14289. },
  14290. "hedgingqty": {
  14291. "description": "套保量.",
  14292. "type": "string"
  14293. },
  14294. "sellamount": {
  14295. "description": "销售额.",
  14296. "type": "number"
  14297. },
  14298. "sellqty": {
  14299. "description": "销售量.",
  14300. "type": "string"
  14301. },
  14302. "spotmarketvalue": {
  14303. "description": "现货市值.",
  14304. "type": "number"
  14305. },
  14306. "spotpl": {
  14307. "description": "浮动权益.",
  14308. "type": "number"
  14309. },
  14310. "spotqty": {
  14311. "description": "现货量.",
  14312. "type": "string"
  14313. },
  14314. "statu": {
  14315. "description": "状态,0-未结束 1-已结束.",
  14316. "type": "integer"
  14317. },
  14318. "totalpl": {
  14319. "description": "总盈亏.",
  14320. "type": "number"
  14321. },
  14322. "totalqty": {
  14323. "description": "总敞口.",
  14324. "type": "string"
  14325. },
  14326. "type": {
  14327. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14328. "type": "integer"
  14329. }
  14330. }
  14331. },
  14332. "erms3.QuerySpotContractAppleFormRsp": {
  14333. "type": "object",
  14334. "properties": {
  14335. "goodses": {
  14336. "description": "合约列表",
  14337. "type": "array",
  14338. "items": {
  14339. "$ref": "#/definitions/models.GoodsIDAndName"
  14340. }
  14341. },
  14342. "oppositeusers": {
  14343. "description": "对方账号列表",
  14344. "type": "array",
  14345. "items": {
  14346. "$ref": "#/definitions/erms3.CustomerInfo"
  14347. }
  14348. },
  14349. "ouruser": {
  14350. "description": "我方账号",
  14351. "type": "object",
  14352. "$ref": "#/definitions/erms3.CustomerInfo"
  14353. },
  14354. "warehouseinfos": {
  14355. "description": "仓库信息列表",
  14356. "type": "array",
  14357. "items": {
  14358. "$ref": "#/definitions/models.Warehouseinfo"
  14359. }
  14360. },
  14361. "wrstandards": {
  14362. "description": "仓单标准列表",
  14363. "type": "array",
  14364. "items": {
  14365. "$ref": "#/definitions/models.WRStandardInfo"
  14366. }
  14367. }
  14368. }
  14369. },
  14370. "erms3.QuerySpotContractInfoRsp": {
  14371. "type": "object",
  14372. "properties": {
  14373. "accountid": {
  14374. "description": "表示交易员ID.",
  14375. "type": "integer"
  14376. },
  14377. "curdeliveryqty": {
  14378. "description": "表示未交收量.",
  14379. "type": "number"
  14380. },
  14381. "customername": {
  14382. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14383. "type": "string"
  14384. },
  14385. "deliverygoodsid": {
  14386. "description": "表示品种ID.",
  14387. "type": "string"
  14388. },
  14389. "deliveryqty": {
  14390. "description": "表示交收量.",
  14391. "type": "number"
  14392. },
  14393. "matchaccountid": {
  14394. "description": "表示业务员ID.",
  14395. "type": "integer"
  14396. },
  14397. "matchcustomername": {
  14398. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14399. "type": "string"
  14400. },
  14401. "priceqty": {
  14402. "description": "表示定价量.",
  14403. "type": "number"
  14404. },
  14405. "relatedbizid": {
  14406. "description": "表示业务ID.",
  14407. "type": "string"
  14408. },
  14409. "signdate": {
  14410. "description": "表示签订日期.",
  14411. "type": "string"
  14412. },
  14413. "spotcontractid": {
  14414. "description": "合同ID",
  14415. "type": "string"
  14416. },
  14417. "status": {
  14418. "description": "表示状态,0-履约中 1-已完成.",
  14419. "type": "integer"
  14420. },
  14421. "totalqty": {
  14422. "description": "表示合同量.",
  14423. "type": "number"
  14424. },
  14425. "unpricedqty": {
  14426. "description": "表示未定价量.",
  14427. "type": "number"
  14428. },
  14429. "wrstandardname": {
  14430. "description": "表示商品ID.",
  14431. "type": "string"
  14432. }
  14433. }
  14434. },
  14435. "erms3.QueryUserInfoAppliesRsp": {
  14436. "type": "object",
  14437. "required": [
  14438. "userid"
  14439. ],
  14440. "properties": {
  14441. "biznature": {
  14442. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14443. "type": "integer"
  14444. },
  14445. "contactname": {
  14446. "description": "联系人",
  14447. "type": "string"
  14448. },
  14449. "createtime": {
  14450. "description": "开户申请时间",
  14451. "type": "string"
  14452. },
  14453. "userid": {
  14454. "description": "用户ID(自增ID)",
  14455. "type": "integer"
  14456. },
  14457. "userinfotype": {
  14458. "description": "用户信息类型 - 1:个人 2:企业",
  14459. "type": "integer"
  14460. },
  14461. "username": {
  14462. "description": "用户姓名",
  14463. "type": "string"
  14464. },
  14465. "userstate": {
  14466. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14467. "type": "integer"
  14468. }
  14469. }
  14470. },
  14471. "erms3.QueryUserInfosRsp": {
  14472. "type": "object",
  14473. "required": [
  14474. "userid"
  14475. ],
  14476. "properties": {
  14477. "biznature": {
  14478. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14479. "type": "integer"
  14480. },
  14481. "contactname": {
  14482. "description": "联系人",
  14483. "type": "string"
  14484. },
  14485. "customername": {
  14486. "description": "客户名称(企业名称)",
  14487. "type": "string"
  14488. },
  14489. "userid": {
  14490. "description": "用户ID",
  14491. "type": "integer"
  14492. },
  14493. "userinfotype": {
  14494. "description": "用户信息类型 - 1:个人 2:企业",
  14495. "type": "integer"
  14496. },
  14497. "userstatus": {
  14498. "description": "用户状态 - 1:正常 2:注销",
  14499. "type": "integer"
  14500. }
  14501. }
  14502. },
  14503. "erms3.SoptContractDetail": {
  14504. "type": "object",
  14505. "required": [
  14506. "deliverygoodsid",
  14507. "producttype",
  14508. "unitname",
  14509. "warehouseid",
  14510. "wrstandardid",
  14511. "wrstandardname"
  14512. ],
  14513. "properties": {
  14514. "deliverygoodsdesc": {
  14515. "description": "现货品种说明",
  14516. "type": "string"
  14517. },
  14518. "deliverygoodsid": {
  14519. "description": "现货品种ID",
  14520. "type": "integer"
  14521. },
  14522. "deliverygoodsname": {
  14523. "description": "现货品种名称",
  14524. "type": "string"
  14525. },
  14526. "pointdesc": {
  14527. "description": "点价描述",
  14528. "type": "string"
  14529. },
  14530. "producttype": {
  14531. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14532. "type": "integer"
  14533. },
  14534. "producttypename": {
  14535. "description": "产品类型名称",
  14536. "type": "string"
  14537. },
  14538. "spotPointOrderVoList": {
  14539. "description": "点价列表",
  14540. "type": "array",
  14541. "items": {
  14542. "$ref": "#/definitions/erms3.SpotPointOrder"
  14543. }
  14544. },
  14545. "spotPriceOrderList": {
  14546. "description": "定价列表",
  14547. "type": "array",
  14548. "items": {
  14549. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14550. }
  14551. },
  14552. "unitname": {
  14553. "description": "单位名称",
  14554. "type": "string"
  14555. },
  14556. "warehouseid": {
  14557. "description": "仓库ID",
  14558. "type": "integer"
  14559. },
  14560. "warehousename": {
  14561. "description": "仓库名称",
  14562. "type": "string"
  14563. },
  14564. "wrstandardid": {
  14565. "description": "交易标的ID",
  14566. "type": "integer"
  14567. },
  14568. "wrstandardname": {
  14569. "description": "交易标的名称",
  14570. "type": "string"
  14571. }
  14572. }
  14573. },
  14574. "erms3.SpotPointOrder": {
  14575. "type": "object",
  14576. "required": [
  14577. "basic",
  14578. "goodsid",
  14579. "qty"
  14580. ],
  14581. "properties": {
  14582. "basic": {
  14583. "description": "基差",
  14584. "type": "number"
  14585. },
  14586. "deliveryenddate": {
  14587. "description": "交收结束日期",
  14588. "type": "string"
  14589. },
  14590. "deliverystartdate": {
  14591. "description": "交收开始日期",
  14592. "type": "string"
  14593. },
  14594. "enddate": {
  14595. "description": "点价结束日期",
  14596. "type": "string"
  14597. },
  14598. "goodsid": {
  14599. "description": "商品ID",
  14600. "type": "integer"
  14601. },
  14602. "goodsname": {
  14603. "description": "商品名称",
  14604. "type": "string"
  14605. },
  14606. "qty": {
  14607. "description": "数量",
  14608. "type": "number"
  14609. },
  14610. "startdate": {
  14611. "description": "点价开始日期",
  14612. "type": "string"
  14613. }
  14614. }
  14615. },
  14616. "erms3.SpotPriceOrder": {
  14617. "type": "object",
  14618. "required": [
  14619. "amount",
  14620. "price",
  14621. "qty"
  14622. ],
  14623. "properties": {
  14624. "amount": {
  14625. "description": "金额",
  14626. "type": "number"
  14627. },
  14628. "deliveryenddate": {
  14629. "description": "交收结束日期",
  14630. "type": "string"
  14631. },
  14632. "deliverystartdate": {
  14633. "description": "交收开始日期",
  14634. "type": "string"
  14635. },
  14636. "price": {
  14637. "description": "价格",
  14638. "type": "number"
  14639. },
  14640. "qty": {
  14641. "description": "数量",
  14642. "type": "number"
  14643. }
  14644. }
  14645. },
  14646. "hsby.GetHsbyMyCountRsp": {
  14647. "type": "object",
  14648. "properties": {
  14649. "myCouponCount": {
  14650. "description": "我的优惠卷数量",
  14651. "type": "integer"
  14652. },
  14653. "myOrderDetailListingCount": {
  14654. "description": "我的订单求购中数量",
  14655. "type": "integer"
  14656. },
  14657. "myOrderDetailPreCount": {
  14658. "description": "我的订单抢购中数量",
  14659. "type": "integer"
  14660. },
  14661. "myPackageUnReceiveCount": {
  14662. "description": "我的包裹待收货数量",
  14663. "type": "integer"
  14664. },
  14665. "myPackageUnSendCount": {
  14666. "description": "我的包裹待发货数量",
  14667. "type": "integer"
  14668. },
  14669. "myPayOrderCount": {
  14670. "description": "我的订单待付款数量",
  14671. "type": "integer"
  14672. }
  14673. }
  14674. },
  14675. "hsby.QueryProvincesAndCitiesRsp": {
  14676. "type": "object",
  14677. "properties": {
  14678. "cities": {
  14679. "description": "市",
  14680. "type": "array",
  14681. "items": {
  14682. "$ref": "#/definitions/models.Division"
  14683. }
  14684. },
  14685. "province": {
  14686. "description": "省",
  14687. "type": "object",
  14688. "$ref": "#/definitions/models.Division"
  14689. }
  14690. }
  14691. },
  14692. "models.AreaSpotModel": {
  14693. "type": "object",
  14694. "properties": {
  14695. "areauserid": {
  14696. "description": "所属机构",
  14697. "type": "integer"
  14698. },
  14699. "decreaseqty": {
  14700. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14701. "type": "number"
  14702. },
  14703. "increaseqty": {
  14704. "description": "增加数量=销售计划数量+采购已定价数量",
  14705. "type": "number"
  14706. },
  14707. "oritoalspotqty": {
  14708. "description": "昨日数量",
  14709. "type": "number"
  14710. },
  14711. "totalspotqty": {
  14712. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14713. "type": "number"
  14714. },
  14715. "updatetime": {
  14716. "description": "更新时间",
  14717. "type": "string"
  14718. },
  14719. "wrstandardcode": {
  14720. "description": "现货品种代码",
  14721. "type": "string"
  14722. },
  14723. "wrstandardid": {
  14724. "description": "现货商品ID",
  14725. "type": "integer"
  14726. },
  14727. "wrstandardname": {
  14728. "description": "现货品种",
  14729. "type": "string"
  14730. }
  14731. }
  14732. },
  14733. "models.Arearole": {
  14734. "type": "object",
  14735. "required": [
  14736. "roletype",
  14737. "userid"
  14738. ],
  14739. "properties": {
  14740. "createtime": {
  14741. "description": "创建时间",
  14742. "type": "string"
  14743. },
  14744. "creatorid": {
  14745. "description": "创建人ID",
  14746. "type": "integer"
  14747. },
  14748. "fromuserid": {
  14749. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14750. "type": "integer"
  14751. },
  14752. "isreturnscore": {
  14753. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14754. "type": "integer"
  14755. },
  14756. "modifierid": {
  14757. "description": "修改人ID",
  14758. "type": "integer"
  14759. },
  14760. "modifytime": {
  14761. "description": "修改时间",
  14762. "type": "string"
  14763. },
  14764. "orgtype": {
  14765. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14766. "type": "integer"
  14767. },
  14768. "outuserid": {
  14769. "description": "外部账户[场外期权做市商]",
  14770. "type": "string"
  14771. },
  14772. "parentuserid": {
  14773. "description": "上级组织机构(组织机构)",
  14774. "type": "integer"
  14775. },
  14776. "roletype": {
  14777. "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:门店",
  14778. "type": "integer"
  14779. },
  14780. "rootuserid": {
  14781. "description": "顶级组织机构用户ID(组织机构)",
  14782. "type": "integer"
  14783. },
  14784. "shoppassword": {
  14785. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14786. "type": "string"
  14787. },
  14788. "sublevelpath": {
  14789. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14790. "type": "string"
  14791. },
  14792. "suborgtype": {
  14793. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14794. "type": "integer"
  14795. },
  14796. "tradeaccountid": {
  14797. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14798. "type": "integer"
  14799. },
  14800. "transurl": {
  14801. "description": "物流地址(物流机构)",
  14802. "type": "string"
  14803. },
  14804. "userid": {
  14805. "description": "机构用户ID其他做市关系,都设置为 1",
  14806. "type": "integer"
  14807. }
  14808. }
  14809. },
  14810. "models.Clientfixedadconfig": {
  14811. "type": "object",
  14812. "required": [
  14813. "adsort",
  14814. "adtype"
  14815. ],
  14816. "properties": {
  14817. "adsort": {
  14818. "description": "排序",
  14819. "type": "integer"
  14820. },
  14821. "adtype": {
  14822. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14823. "type": "integer"
  14824. },
  14825. "areauserid": {
  14826. "description": "所属机构ID",
  14827. "type": "integer"
  14828. },
  14829. "createdate": {
  14830. "description": "创建时间",
  14831. "type": "string"
  14832. },
  14833. "creatorid": {
  14834. "description": "创建人",
  14835. "type": "integer"
  14836. },
  14837. "imagepath": {
  14838. "description": "图片",
  14839. "type": "string"
  14840. },
  14841. "isshow": {
  14842. "description": "是否展示 - 0:不展示 1:展示",
  14843. "type": "integer"
  14844. },
  14845. "modifierid": {
  14846. "description": "操作人",
  14847. "type": "integer"
  14848. },
  14849. "recsize": {
  14850. "description": "推荐尺寸",
  14851. "type": "string"
  14852. },
  14853. "title": {
  14854. "description": "标题",
  14855. "type": "string"
  14856. },
  14857. "updatedate": {
  14858. "description": "更新时间",
  14859. "type": "string"
  14860. },
  14861. "urlcontent": {
  14862. "description": "链接(地址或商品ID)",
  14863. "type": "string"
  14864. },
  14865. "urltype": {
  14866. "description": "链接类型 - 1:直接地址 2:商品ID",
  14867. "type": "integer"
  14868. }
  14869. }
  14870. },
  14871. "models.Division": {
  14872. "type": "object",
  14873. "required": [
  14874. "autoid",
  14875. "divisioncode"
  14876. ],
  14877. "properties": {
  14878. "autoid": {
  14879. "description": "自增ID",
  14880. "type": "integer"
  14881. },
  14882. "divisioncode": {
  14883. "description": "行政代码",
  14884. "type": "string"
  14885. },
  14886. "divisionlevel": {
  14887. "description": "行政级别",
  14888. "type": "string"
  14889. },
  14890. "divisionname": {
  14891. "description": "行政名称",
  14892. "type": "string"
  14893. },
  14894. "modifierid": {
  14895. "description": "修改人",
  14896. "type": "integer"
  14897. },
  14898. "modifytime": {
  14899. "description": "修改时间",
  14900. "type": "string"
  14901. },
  14902. "parentcode": {
  14903. "description": "上级行政代码",
  14904. "type": "string"
  14905. },
  14906. "pathname": {
  14907. "description": "路径名称",
  14908. "type": "string"
  14909. },
  14910. "postcode": {
  14911. "description": "邮政编码",
  14912. "type": "string"
  14913. },
  14914. "separablename": {
  14915. "description": "可拆分的全称",
  14916. "type": "string"
  14917. },
  14918. "shortcode": {
  14919. "description": "地区简码",
  14920. "type": "string"
  14921. }
  14922. }
  14923. },
  14924. "models.Enumdicitem": {
  14925. "type": "object",
  14926. "required": [
  14927. "autoid",
  14928. "enumdiccode",
  14929. "enumdicid",
  14930. "enumitemname"
  14931. ],
  14932. "properties": {
  14933. "autoid": {
  14934. "description": "自增ID",
  14935. "type": "integer"
  14936. },
  14937. "bankmappedvalue": {
  14938. "description": "银行服务对应值",
  14939. "type": "string"
  14940. },
  14941. "enumdiccode": {
  14942. "description": "所属枚举代码",
  14943. "type": "string"
  14944. },
  14945. "enumdicid": {
  14946. "description": "所属枚举ID",
  14947. "type": "integer"
  14948. },
  14949. "enumdicname": {
  14950. "description": "枚举项名称",
  14951. "type": "string"
  14952. },
  14953. "enumitemname": {
  14954. "description": "枚举项值",
  14955. "type": "integer"
  14956. },
  14957. "enumitemstatus": {
  14958. "description": "枚举项状态 - 1.启用 2.不启用",
  14959. "type": "integer"
  14960. },
  14961. "enumitemvalue": {
  14962. "description": "通用值 - [币种通用简写]",
  14963. "type": "string"
  14964. },
  14965. "param1": {
  14966. "description": "参数1[币种:币种小数位]",
  14967. "type": "string"
  14968. },
  14969. "param2": {
  14970. "description": "参数1[币种:币种显示单位]",
  14971. "type": "string"
  14972. },
  14973. "remark": {
  14974. "description": "备注",
  14975. "type": "string"
  14976. }
  14977. }
  14978. },
  14979. "models.Ermcp3AreaSpot": {
  14980. "type": "object",
  14981. "properties": {
  14982. "areauserid": {
  14983. "description": "所属机构",
  14984. "type": "integer"
  14985. },
  14986. "decreaseqty": {
  14987. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14988. "type": "number"
  14989. },
  14990. "deliverygoodscode": {
  14991. "description": "现货品种代码",
  14992. "type": "string"
  14993. },
  14994. "deliverygoodsid": {
  14995. "description": "现货品种id",
  14996. "type": "integer"
  14997. },
  14998. "deliverygoodsname": {
  14999. "description": "现货品种名称",
  15000. "type": "string"
  15001. },
  15002. "enumdicname": {
  15003. "description": "单位名称",
  15004. "type": "string"
  15005. },
  15006. "goodsunitid": {
  15007. "description": "现货品种单位id",
  15008. "type": "integer"
  15009. },
  15010. "increaseqty": {
  15011. "description": "增加数量=销售计划数量+采购已定价数量",
  15012. "type": "number"
  15013. },
  15014. "oritoalspotqty": {
  15015. "description": "昨日数量",
  15016. "type": "number"
  15017. },
  15018. "totalspotqty": {
  15019. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15020. "type": "number"
  15021. },
  15022. "updatetime": {
  15023. "description": "更新时间",
  15024. "type": "string"
  15025. }
  15026. }
  15027. },
  15028. "models.Ermcp3AreaSpotDetail": {
  15029. "type": "object",
  15030. "properties": {
  15031. "contracttype": {
  15032. "description": "合同类型 1-采购 -1-销售",
  15033. "type": "integer"
  15034. },
  15035. "createtime": {
  15036. "description": "创建时间",
  15037. "type": "string"
  15038. },
  15039. "deliverygoodscode": {
  15040. "description": "现货品种代码",
  15041. "type": "string"
  15042. },
  15043. "deliverygoodsid": {
  15044. "description": "现货品种id",
  15045. "type": "integer"
  15046. },
  15047. "deliverygoodsname": {
  15048. "description": "现货品种名称",
  15049. "type": "string"
  15050. },
  15051. "enumdicname": {
  15052. "description": "现货商品单位名称",
  15053. "type": "string"
  15054. },
  15055. "logtype": {
  15056. "description": "记录类型 1-套保 2-现货合同",
  15057. "type": "integer"
  15058. },
  15059. "qty": {
  15060. "description": "数量",
  15061. "type": "number"
  15062. },
  15063. "recordname": {
  15064. "description": "类型名称",
  15065. "type": "string"
  15066. },
  15067. "relatedid": {
  15068. "description": "套保计划ID/现货合同ID",
  15069. "type": "string"
  15070. },
  15071. "relatedno": {
  15072. "description": "编号",
  15073. "type": "string"
  15074. },
  15075. "strtime": {
  15076. "description": "时间",
  15077. "type": "string"
  15078. }
  15079. }
  15080. },
  15081. "models.Ermcp3AreaSpotPLReport": {
  15082. "type": "object",
  15083. "properties": {
  15084. "accountid": {
  15085. "description": "期货账户ID (作废, 默认为0)",
  15086. "type": "integer"
  15087. },
  15088. "accountname": {
  15089. "description": "机构名称",
  15090. "type": "string"
  15091. },
  15092. "actualpl": {
  15093. "description": "现货损益",
  15094. "type": "number"
  15095. },
  15096. "areauserid": {
  15097. "description": "所属机构\\交易用户ID",
  15098. "type": "integer"
  15099. },
  15100. "begindate": {
  15101. "description": "开始交易日",
  15102. "type": "string"
  15103. },
  15104. "biztype": {
  15105. "description": "业务类型 - 1:套保 2:套利",
  15106. "type": "integer"
  15107. },
  15108. "brandname": {
  15109. "description": "品牌名称",
  15110. "type": "string"
  15111. },
  15112. "curamount": {
  15113. "description": "期末额",
  15114. "type": "number"
  15115. },
  15116. "curaverageprice": {
  15117. "description": "期末均价",
  15118. "type": "number"
  15119. },
  15120. "curbuyamount": {
  15121. "description": "期末采购总额",
  15122. "type": "number"
  15123. },
  15124. "curbuyqty": {
  15125. "description": "期末采购总量",
  15126. "type": "number"
  15127. },
  15128. "curmarketvalue": {
  15129. "description": "参考市值(期末市值)",
  15130. "type": "number"
  15131. },
  15132. "curqty": {
  15133. "description": "期末量",
  15134. "type": "number"
  15135. },
  15136. "currencyid": {
  15137. "description": "结算币种ID【原值】",
  15138. "type": "integer"
  15139. },
  15140. "currencyname": {
  15141. "description": "币种名称",
  15142. "type": "string"
  15143. },
  15144. "cursellamount": {
  15145. "description": "期末销售总额",
  15146. "type": "number"
  15147. },
  15148. "cursellqty": {
  15149. "description": "期末销售总量",
  15150. "type": "number"
  15151. },
  15152. "curspotprice": {
  15153. "description": "参考市价(最新价)",
  15154. "type": "number"
  15155. },
  15156. "cycletime": {
  15157. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15158. "type": "string"
  15159. },
  15160. "cycletype": {
  15161. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15162. "type": "integer"
  15163. },
  15164. "deliverygoodscode": {
  15165. "description": "现货商品代码",
  15166. "type": "string"
  15167. },
  15168. "deliverygoodsid": {
  15169. "description": "现货品种ID",
  15170. "type": "integer"
  15171. },
  15172. "deliverygoodsname": {
  15173. "description": "现货商品名称",
  15174. "type": "string"
  15175. },
  15176. "enddate": {
  15177. "description": "结束交易日",
  15178. "type": "string"
  15179. },
  15180. "enumdicname": {
  15181. "description": "现货商品单位名称",
  15182. "type": "string"
  15183. },
  15184. "floatpl": {
  15185. "description": "浮动损益",
  15186. "type": "number"
  15187. },
  15188. "goodsunitid": {
  15189. "description": "现货商品单位id",
  15190. "type": "integer"
  15191. },
  15192. "oriamount": {
  15193. "description": "期初额",
  15194. "type": "number"
  15195. },
  15196. "oriaverageprice": {
  15197. "description": "期初均价",
  15198. "type": "number"
  15199. },
  15200. "oribuyamount": {
  15201. "description": "期初采购总额",
  15202. "type": "number"
  15203. },
  15204. "oribuyqty": {
  15205. "description": "期初采购总量",
  15206. "type": "number"
  15207. },
  15208. "oriqty": {
  15209. "description": "期初量",
  15210. "type": "number"
  15211. },
  15212. "orisellamount": {
  15213. "description": "期初销售总额",
  15214. "type": "number"
  15215. },
  15216. "orisellqty": {
  15217. "description": "期初销售总量",
  15218. "type": "number"
  15219. },
  15220. "reckondate": {
  15221. "description": "日照时期(yyyyMMdd)",
  15222. "type": "string"
  15223. },
  15224. "spotgoodsbrandid": {
  15225. "description": "现货品牌ID",
  15226. "type": "integer"
  15227. },
  15228. "todaybuyamount": {
  15229. "description": "今日采购额(今采购额)",
  15230. "type": "number"
  15231. },
  15232. "todaybuyaverageprice": {
  15233. "description": "今日采购均价",
  15234. "type": "number"
  15235. },
  15236. "todaybuyqty": {
  15237. "description": "今日采购量(今采购量)",
  15238. "type": "number"
  15239. },
  15240. "todayinqty": {
  15241. "description": "今日入库量(今入库量)",
  15242. "type": "number"
  15243. },
  15244. "todayoutqty": {
  15245. "description": "今日出库量(今出库量)",
  15246. "type": "number"
  15247. },
  15248. "todaysellamount": {
  15249. "description": "今日销售额(今销售额)",
  15250. "type": "number"
  15251. },
  15252. "todaysellaverageprice": {
  15253. "description": "今日销售均价",
  15254. "type": "number"
  15255. },
  15256. "todaysellqty": {
  15257. "description": "今日销售量(今销售量)",
  15258. "type": "number"
  15259. },
  15260. "unitid": {
  15261. "description": "品类单位id",
  15262. "type": "integer"
  15263. },
  15264. "unitidname": {
  15265. "description": "品类单位名称",
  15266. "type": "string"
  15267. },
  15268. "updatetime": {
  15269. "description": "更新时间",
  15270. "type": "string"
  15271. },
  15272. "wrfactortypeid": {
  15273. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15274. "type": "integer"
  15275. },
  15276. "wrstandardcode": {
  15277. "description": "品类代码",
  15278. "type": "string"
  15279. },
  15280. "wrstandardid": {
  15281. "description": "现货品类ID",
  15282. "type": "integer"
  15283. },
  15284. "wrstandardname": {
  15285. "description": "品类名称",
  15286. "type": "string"
  15287. }
  15288. }
  15289. },
  15290. "models.Ermcp3AreaStock": {
  15291. "type": "object",
  15292. "required": [
  15293. "userid"
  15294. ],
  15295. "properties": {
  15296. "brandname": {
  15297. "description": "品牌名称",
  15298. "type": "string"
  15299. },
  15300. "curstock": {
  15301. "description": "期末库存量(今日量)",
  15302. "type": "number"
  15303. },
  15304. "deliverygoodscode": {
  15305. "description": "现货品种代码",
  15306. "type": "string"
  15307. },
  15308. "deliverygoodsid": {
  15309. "description": "现货品种id",
  15310. "type": "integer"
  15311. },
  15312. "deliverygoodsname": {
  15313. "description": "现货品种名称",
  15314. "type": "string"
  15315. },
  15316. "enumdicname": {
  15317. "description": "单位名称",
  15318. "type": "string"
  15319. },
  15320. "goodsunitid": {
  15321. "description": "现货商品单位id",
  15322. "type": "integer"
  15323. },
  15324. "oristock": {
  15325. "description": "期初库存量(昨日量)",
  15326. "type": "number"
  15327. },
  15328. "spotgoodsbrandid": {
  15329. "description": "现货品牌ID",
  15330. "type": "integer"
  15331. },
  15332. "todaybuyinqty": {
  15333. "description": "今日采购入库量",
  15334. "type": "number"
  15335. },
  15336. "todayproduceinqty": {
  15337. "description": "今日生产入库量",
  15338. "type": "number"
  15339. },
  15340. "todayproduceoutqty": {
  15341. "description": "今日生产出库量",
  15342. "type": "number"
  15343. },
  15344. "todayselloutqty": {
  15345. "description": "今日销售出库量",
  15346. "type": "number"
  15347. },
  15348. "unitid": {
  15349. "description": "单位id",
  15350. "type": "integer"
  15351. },
  15352. "updatetime": {
  15353. "description": "更新时间",
  15354. "type": "string"
  15355. },
  15356. "userid": {
  15357. "description": "机构ID",
  15358. "type": "integer"
  15359. },
  15360. "username": {
  15361. "description": "机构名称",
  15362. "type": "string"
  15363. },
  15364. "warehousecode": {
  15365. "description": "仓库代码",
  15366. "type": "string"
  15367. },
  15368. "warehouseinfoid": {
  15369. "description": "仓库ID",
  15370. "type": "string"
  15371. },
  15372. "warehousename": {
  15373. "description": "仓库名称",
  15374. "type": "string"
  15375. },
  15376. "warehousetype": {
  15377. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15378. "type": "integer"
  15379. },
  15380. "wrstandardcode": {
  15381. "description": "品类代码",
  15382. "type": "string"
  15383. },
  15384. "wrstandardid": {
  15385. "description": "品类ID",
  15386. "type": "string"
  15387. },
  15388. "wrstandardname": {
  15389. "description": "品类名称",
  15390. "type": "string"
  15391. }
  15392. }
  15393. },
  15394. "models.Ermcp3AreaStockApply": {
  15395. "type": "object",
  15396. "properties": {
  15397. "applyid": {
  15398. "description": "申请人",
  15399. "type": "integer"
  15400. },
  15401. "applyname": {
  15402. "description": "申请人名称",
  15403. "type": "string"
  15404. },
  15405. "applyremark": {
  15406. "description": "申请备注",
  15407. "type": "string"
  15408. },
  15409. "applysrc": {
  15410. "description": "申请来源 - 1:管理端 2:终端",
  15411. "type": "integer"
  15412. },
  15413. "applystatus": {
  15414. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15415. "type": "integer"
  15416. },
  15417. "applytime": {
  15418. "description": "申请时间",
  15419. "type": "string"
  15420. },
  15421. "auditid": {
  15422. "description": "审核人",
  15423. "type": "integer"
  15424. },
  15425. "auditname": {
  15426. "description": "审核人名称",
  15427. "type": "string"
  15428. },
  15429. "auditremark": {
  15430. "description": "审核备注",
  15431. "type": "string"
  15432. },
  15433. "auditsrc": {
  15434. "description": "审核来源 - 1:管理端 2:终端",
  15435. "type": "integer"
  15436. },
  15437. "audittime": {
  15438. "description": "审核时间",
  15439. "type": "string"
  15440. },
  15441. "audittradedate": {
  15442. "description": "审核交易日(yyyyMMdd)",
  15443. "type": "string"
  15444. },
  15445. "brandname": {
  15446. "description": "品牌名称",
  15447. "type": "string"
  15448. },
  15449. "buynickname": {
  15450. "description": "采购方昵称",
  15451. "type": "string"
  15452. },
  15453. "buyuserid": {
  15454. "description": "采购方userid",
  15455. "type": "integer"
  15456. },
  15457. "buyusername": {
  15458. "description": "采购方名称",
  15459. "type": "string"
  15460. },
  15461. "contractno": {
  15462. "description": "合同编号",
  15463. "type": "string"
  15464. },
  15465. "contractqty": {
  15466. "description": "合同量",
  15467. "type": "number"
  15468. },
  15469. "contracttype": {
  15470. "description": "现货合同类型 - 1:采购 -1:销售",
  15471. "type": "integer"
  15472. },
  15473. "deliverygoodscode": {
  15474. "description": "现货品种代码",
  15475. "type": "string"
  15476. },
  15477. "deliverygoodsid": {
  15478. "description": "现货品种id",
  15479. "type": "integer"
  15480. },
  15481. "deliverygoodsname": {
  15482. "description": "现货品种名称",
  15483. "type": "string"
  15484. },
  15485. "detailjson": {
  15486. "description": "明细数据",
  15487. "type": "string"
  15488. },
  15489. "enumdicname": {
  15490. "description": "现货商品单位名称",
  15491. "type": "string"
  15492. },
  15493. "inoutapplyid": {
  15494. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15495. "type": "string"
  15496. },
  15497. "inouttype": {
  15498. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15499. "type": "integer"
  15500. },
  15501. "pricetype": {
  15502. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15503. "type": "integer"
  15504. },
  15505. "qty": {
  15506. "description": "数量",
  15507. "type": "number"
  15508. },
  15509. "sellnickname": {
  15510. "description": "销售方昵称",
  15511. "type": "string"
  15512. },
  15513. "selluserid": {
  15514. "description": "销售方userid",
  15515. "type": "integer"
  15516. },
  15517. "sellusername": {
  15518. "description": "销售方名称",
  15519. "type": "string"
  15520. },
  15521. "spotcontractid": {
  15522. "description": "关联现货合同ID",
  15523. "type": "string"
  15524. },
  15525. "spotgoodsbrandid": {
  15526. "description": "现货品牌ID",
  15527. "type": "integer"
  15528. },
  15529. "unitid": {
  15530. "description": "单位id",
  15531. "type": "integer"
  15532. },
  15533. "userid": {
  15534. "description": "机构ID",
  15535. "type": "integer"
  15536. },
  15537. "warehousecode": {
  15538. "description": "仓库代码",
  15539. "type": "string"
  15540. },
  15541. "warehouseinfoid": {
  15542. "description": "现货仓库ID",
  15543. "type": "string"
  15544. },
  15545. "warehousename": {
  15546. "description": "仓库名称",
  15547. "type": "string"
  15548. },
  15549. "warehousetype": {
  15550. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15551. "type": "integer"
  15552. },
  15553. "wrstandardcode": {
  15554. "description": "品类代码",
  15555. "type": "string"
  15556. },
  15557. "wrstandardid": {
  15558. "description": "品类ID",
  15559. "type": "integer"
  15560. },
  15561. "wrstandardname": {
  15562. "description": "品类名称",
  15563. "type": "string"
  15564. }
  15565. }
  15566. },
  15567. "models.Ermcp3AreaStockApplySum": {
  15568. "type": "object",
  15569. "properties": {
  15570. "brandname": {
  15571. "description": "品牌名称",
  15572. "type": "string"
  15573. },
  15574. "inouttype": {
  15575. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15576. "type": "integer"
  15577. },
  15578. "spotcontractid": {
  15579. "description": "关联现货合同ID",
  15580. "type": "string"
  15581. },
  15582. "spotgoodsbrandid": {
  15583. "description": "品牌id",
  15584. "type": "integer"
  15585. },
  15586. "totalqty": {
  15587. "description": "总数量",
  15588. "type": "number"
  15589. },
  15590. "wrstandardid": {
  15591. "description": "品类id",
  15592. "type": "integer"
  15593. },
  15594. "wrstandardname": {
  15595. "description": "品类名称",
  15596. "type": "string"
  15597. }
  15598. }
  15599. },
  15600. "models.Ermcp3AreaStockReportEx": {
  15601. "type": "object",
  15602. "properties": {
  15603. "begindate": {
  15604. "description": "开始交易日",
  15605. "type": "string"
  15606. },
  15607. "brandname": {
  15608. "description": "品牌名称",
  15609. "type": "string"
  15610. },
  15611. "curstock": {
  15612. "description": "期末库存量",
  15613. "type": "number"
  15614. },
  15615. "cycletime": {
  15616. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15617. "type": "string"
  15618. },
  15619. "cycletype": {
  15620. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15621. "type": "integer"
  15622. },
  15623. "deliverygoodscode": {
  15624. "description": "现货品种代码",
  15625. "type": "string"
  15626. },
  15627. "deliverygoodsid": {
  15628. "description": "现货品种id",
  15629. "type": "integer"
  15630. },
  15631. "deliverygoodsname": {
  15632. "description": "现货品种名称",
  15633. "type": "string"
  15634. },
  15635. "diffqty": {
  15636. "description": "库存变化量 = 期末 - 期初",
  15637. "type": "number"
  15638. },
  15639. "enddate": {
  15640. "description": "结束交易日",
  15641. "type": "string"
  15642. },
  15643. "enumdicname": {
  15644. "description": "单位名称",
  15645. "type": "string"
  15646. },
  15647. "goodsunitid": {
  15648. "description": "现货单位id",
  15649. "type": "integer"
  15650. },
  15651. "oristock": {
  15652. "description": "期初库存量",
  15653. "type": "number"
  15654. },
  15655. "reckondate": {
  15656. "description": "日照时期(yyyyMMdd)",
  15657. "type": "string"
  15658. },
  15659. "spotgoodsbrandid": {
  15660. "description": "现货品牌ID",
  15661. "type": "integer"
  15662. },
  15663. "todaybuyinqty": {
  15664. "description": "今采购入库量",
  15665. "type": "number"
  15666. },
  15667. "todayproduceinqty": {
  15668. "description": "今内部入库量",
  15669. "type": "number"
  15670. },
  15671. "todayproduceoutqty": {
  15672. "description": "今内部出库量",
  15673. "type": "number"
  15674. },
  15675. "todayselloutqty": {
  15676. "description": "今销售出库量",
  15677. "type": "number"
  15678. },
  15679. "unbuyinqty": {
  15680. "description": "采购未入库量(数据库未找到相关字段?)",
  15681. "type": "number"
  15682. },
  15683. "unitid": {
  15684. "description": "品类单位id",
  15685. "type": "integer"
  15686. },
  15687. "unselloutqty": {
  15688. "description": "销售未出库量(数据库未找到相关字段?)",
  15689. "type": "number"
  15690. },
  15691. "updatetime": {
  15692. "description": "更新时间",
  15693. "type": "string"
  15694. },
  15695. "userid": {
  15696. "description": "机构ID",
  15697. "type": "integer"
  15698. },
  15699. "username": {
  15700. "description": "机构名称",
  15701. "type": "string"
  15702. },
  15703. "warehousecode": {
  15704. "description": "仓库代码",
  15705. "type": "string"
  15706. },
  15707. "warehouseinfoid": {
  15708. "description": "仓库ID",
  15709. "type": "string"
  15710. },
  15711. "warehousename": {
  15712. "description": "仓库名称",
  15713. "type": "string"
  15714. },
  15715. "warehousetype": {
  15716. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15717. "type": "integer"
  15718. },
  15719. "wrstandardcode": {
  15720. "description": "品类代码",
  15721. "type": "string"
  15722. },
  15723. "wrstandardid": {
  15724. "description": "品类ID",
  15725. "type": "integer"
  15726. },
  15727. "wrstandardname": {
  15728. "description": "品类名称",
  15729. "type": "string"
  15730. }
  15731. }
  15732. },
  15733. "models.Ermcp3ArealSumPL": {
  15734. "type": "object",
  15735. "properties": {
  15736. "accountname": {
  15737. "description": "机构名称",
  15738. "type": "string"
  15739. },
  15740. "areauserid": {
  15741. "description": "所属机构\\交易用户ID",
  15742. "type": "integer"
  15743. },
  15744. "begindate": {
  15745. "description": "开始交易日",
  15746. "type": "string"
  15747. },
  15748. "currencyid": {
  15749. "description": "结算币种ID",
  15750. "type": "integer"
  15751. },
  15752. "currencyname": {
  15753. "description": "币种名称",
  15754. "type": "string"
  15755. },
  15756. "cycletime": {
  15757. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15758. "type": "string"
  15759. },
  15760. "cycletype": {
  15761. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15762. "type": "integer"
  15763. },
  15764. "enddate": {
  15765. "description": "结束交易日",
  15766. "type": "string"
  15767. },
  15768. "enumdicname": {
  15769. "description": "单位名称(套保品种)",
  15770. "type": "string"
  15771. },
  15772. "futureactualpl": {
  15773. "description": "期货损益",
  15774. "type": "number"
  15775. },
  15776. "futurefloatpl": {
  15777. "description": "期货浮动损益",
  15778. "type": "number"
  15779. },
  15780. "goodsunitid": {
  15781. "description": "套保品种单位id",
  15782. "type": "integer"
  15783. },
  15784. "middlegoodscode": {
  15785. "description": "套保品种代码",
  15786. "type": "string"
  15787. },
  15788. "middlegoodsid": {
  15789. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15790. "type": "integer"
  15791. },
  15792. "middlegoodsname": {
  15793. "description": "套保品种名称",
  15794. "type": "string"
  15795. },
  15796. "reckondate": {
  15797. "description": "日照时期(yyyyMMdd)",
  15798. "type": "string"
  15799. },
  15800. "spotactualpl": {
  15801. "description": "现货损益",
  15802. "type": "number"
  15803. },
  15804. "spotfloatpl": {
  15805. "description": "现货浮动损益",
  15806. "type": "number"
  15807. },
  15808. "sumactualpl": {
  15809. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15810. "type": "number"
  15811. },
  15812. "sumpl": {
  15813. "description": "汇总损益",
  15814. "type": "number"
  15815. },
  15816. "updatetime": {
  15817. "description": "更新时间",
  15818. "type": "string"
  15819. }
  15820. }
  15821. },
  15822. "models.Ermcp3Brand": {
  15823. "type": "object",
  15824. "properties": {
  15825. "areauserid": {
  15826. "description": "用户id",
  15827. "type": "integer"
  15828. },
  15829. "brandid": {
  15830. "description": "品牌id",
  15831. "type": "integer"
  15832. },
  15833. "brandname": {
  15834. "description": "品牌名称",
  15835. "type": "string"
  15836. },
  15837. "deliverygoodsid": {
  15838. "description": "品种ID",
  15839. "type": "integer"
  15840. }
  15841. }
  15842. },
  15843. "models.Ermcp3Contract": {
  15844. "type": "object",
  15845. "properties": {
  15846. "accountid": {
  15847. "description": "期货账户id",
  15848. "type": "string"
  15849. },
  15850. "amount": {
  15851. "description": "金额 [1:一口价、3:暂定价]",
  15852. "type": "number"
  15853. },
  15854. "attachment": {
  15855. "description": "附件",
  15856. "type": "string"
  15857. },
  15858. "auditremark": {
  15859. "description": "审核意见",
  15860. "type": "string"
  15861. },
  15862. "audittime": {
  15863. "description": "审核时间",
  15864. "type": "string"
  15865. },
  15866. "biztype": {
  15867. "description": "业务类型 1-套保 2-套利",
  15868. "type": "integer"
  15869. },
  15870. "brandname": {
  15871. "description": "品牌名称",
  15872. "type": "string"
  15873. },
  15874. "buynickname": {
  15875. "description": "销售方昵称",
  15876. "type": "string"
  15877. },
  15878. "buyuserid": {
  15879. "description": "采购方ID",
  15880. "type": "integer"
  15881. },
  15882. "buyusername": {
  15883. "description": "采购方名称",
  15884. "type": "string"
  15885. },
  15886. "contracctstatus": {
  15887. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15888. "type": "integer"
  15889. },
  15890. "contractmargin": {
  15891. "description": "合同保证金",
  15892. "type": "number"
  15893. },
  15894. "contractno": {
  15895. "description": "现货合同编号",
  15896. "type": "string"
  15897. },
  15898. "contracttype": {
  15899. "description": "现货合同类型 - 1:采购 -1:销售",
  15900. "type": "integer"
  15901. },
  15902. "convertfactor": {
  15903. "description": "标仓系数(品类)",
  15904. "type": "number"
  15905. },
  15906. "createtime": {
  15907. "description": "创建时间",
  15908. "type": "string"
  15909. },
  15910. "currencyid": {
  15911. "description": "币种id",
  15912. "type": "integer"
  15913. },
  15914. "currencyname": {
  15915. "description": "币种名称",
  15916. "type": "string"
  15917. },
  15918. "deliveryenddate": {
  15919. "description": "交收期(结束)",
  15920. "type": "string"
  15921. },
  15922. "deliverygoodscode": {
  15923. "description": "现货品种代码",
  15924. "type": "string"
  15925. },
  15926. "deliverygoodsid": {
  15927. "description": "现货品种ID",
  15928. "type": "integer"
  15929. },
  15930. "deliverygoodsname": {
  15931. "description": "现货品种名称",
  15932. "type": "string"
  15933. },
  15934. "deliverystartdate": {
  15935. "description": "交收期(开始)",
  15936. "type": "string"
  15937. },
  15938. "enddate": {
  15939. "description": "点价结束日期 [2:点价 3:暂定价]",
  15940. "type": "string"
  15941. },
  15942. "enumdicname": {
  15943. "description": "单位名称",
  15944. "type": "string"
  15945. },
  15946. "goodscode": {
  15947. "description": "点价合约代码",
  15948. "type": "string"
  15949. },
  15950. "goodsid": {
  15951. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15952. "type": "integer"
  15953. },
  15954. "goodsname": {
  15955. "description": "点价商品名称",
  15956. "type": "string"
  15957. },
  15958. "margin": {
  15959. "description": "当前保证金",
  15960. "type": "number"
  15961. },
  15962. "meruserid": {
  15963. "description": "跟单员id",
  15964. "type": "integer"
  15965. },
  15966. "meruserlogincode": {
  15967. "description": "跟单员登录代码",
  15968. "type": "string"
  15969. },
  15970. "price": {
  15971. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15972. "type": "number"
  15973. },
  15974. "pricemove": {
  15975. "description": "升贴水 [2:点价 3:暂定价]",
  15976. "type": "number"
  15977. },
  15978. "pricetype": {
  15979. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15980. "type": "integer"
  15981. },
  15982. "producttype": {
  15983. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15984. "type": "integer"
  15985. },
  15986. "qty": {
  15987. "description": "数量",
  15988. "type": "number"
  15989. },
  15990. "remark": {
  15991. "description": "备注",
  15992. "type": "string"
  15993. },
  15994. "saleuserid": {
  15995. "description": "业务员id",
  15996. "type": "integer"
  15997. },
  15998. "saleuserlogincode": {
  15999. "description": "业务员登录代码",
  16000. "type": "string"
  16001. },
  16002. "sellnickname": {
  16003. "description": "采购方昵称",
  16004. "type": "string"
  16005. },
  16006. "selluserid": {
  16007. "description": "销售方ID",
  16008. "type": "integer"
  16009. },
  16010. "sellusername": {
  16011. "description": "销售方名称",
  16012. "type": "string"
  16013. },
  16014. "spotcontractid": {
  16015. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16016. "type": "string"
  16017. },
  16018. "spotgoodsbrandid": {
  16019. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16020. "type": "integer"
  16021. },
  16022. "spotgoodsdesc": {
  16023. "description": "商品型号",
  16024. "type": "string"
  16025. },
  16026. "startdate": {
  16027. "description": "点价开始日期 [2:点价 3:暂定价]",
  16028. "type": "string"
  16029. },
  16030. "tradeuserid": {
  16031. "description": "交易员id",
  16032. "type": "integer"
  16033. },
  16034. "tradeuserlogincode": {
  16035. "description": "交易员登录代码",
  16036. "type": "string"
  16037. },
  16038. "tradeusername": {
  16039. "description": "交易员名称",
  16040. "type": "string"
  16041. },
  16042. "unitid": {
  16043. "description": "单位id(取品类上的单位id)",
  16044. "type": "integer"
  16045. },
  16046. "updatetime": {
  16047. "description": "更新时间",
  16048. "type": "string"
  16049. },
  16050. "userid": {
  16051. "description": "所属机构ID",
  16052. "type": "integer"
  16053. },
  16054. "wrstandardcode": {
  16055. "description": "品类代码",
  16056. "type": "string"
  16057. },
  16058. "wrstandardid": {
  16059. "description": "品类ID",
  16060. "type": "integer"
  16061. },
  16062. "wrstandardname": {
  16063. "description": "品类名称",
  16064. "type": "string"
  16065. }
  16066. }
  16067. },
  16068. "models.Ermcp3ExposureContractDetail": {
  16069. "type": "object",
  16070. "properties": {
  16071. "biztype": {
  16072. "description": "业务类型 1-套保 2-套利",
  16073. "type": "integer"
  16074. },
  16075. "brandname": {
  16076. "description": "品牌名称",
  16077. "type": "string"
  16078. },
  16079. "buyuserid": {
  16080. "description": "采购方id",
  16081. "type": "integer"
  16082. },
  16083. "buyusername": {
  16084. "description": "采购方名称",
  16085. "type": "string"
  16086. },
  16087. "contractno": {
  16088. "description": "合同编号",
  16089. "type": "string"
  16090. },
  16091. "contracttype": {
  16092. "description": "现货合同类型 - 1:采购 -1:销售",
  16093. "type": "integer"
  16094. },
  16095. "convertfactor": {
  16096. "description": "标仓系数",
  16097. "type": "number"
  16098. },
  16099. "convertratio": {
  16100. "description": "折算系数(套保品种)",
  16101. "type": "number"
  16102. },
  16103. "curqty": {
  16104. "description": "今定价量",
  16105. "type": "number"
  16106. },
  16107. "deliverygoodscode": {
  16108. "description": "现货商品代码",
  16109. "type": "string"
  16110. },
  16111. "deliverygoodsid": {
  16112. "description": "现货商品id",
  16113. "type": "integer"
  16114. },
  16115. "deliverygoodsname": {
  16116. "description": "现货商品名称",
  16117. "type": "string"
  16118. },
  16119. "diffhedgeqty": {
  16120. "description": "套保变动量",
  16121. "type": "number"
  16122. },
  16123. "diffneedhedgeqty": {
  16124. "description": "应套保变动量",
  16125. "type": "number"
  16126. },
  16127. "diffqty": {
  16128. "description": "套保品种今变动量",
  16129. "type": "number"
  16130. },
  16131. "enumdicname": {
  16132. "description": "单位名称",
  16133. "type": "string"
  16134. },
  16135. "middlegoodscode": {
  16136. "description": "套保品种代码",
  16137. "type": "string"
  16138. },
  16139. "middlegoodsid": {
  16140. "description": "套保品种id",
  16141. "type": "integer"
  16142. },
  16143. "middlegoodsname": {
  16144. "description": "套保品种名称",
  16145. "type": "string"
  16146. },
  16147. "needarbitrageratio": {
  16148. "description": "应套利比例",
  16149. "type": "number"
  16150. },
  16151. "needhedgeratio": {
  16152. "description": "应套保比例",
  16153. "type": "number"
  16154. },
  16155. "pricedqty": {
  16156. "description": "已定价量",
  16157. "type": "number"
  16158. },
  16159. "qty": {
  16160. "description": "合同量",
  16161. "type": "number"
  16162. },
  16163. "selluserid": {
  16164. "description": "销售方id",
  16165. "type": "integer"
  16166. },
  16167. "sellusername": {
  16168. "description": "销售方名称",
  16169. "type": "string"
  16170. },
  16171. "spotcontractid": {
  16172. "description": "合同id",
  16173. "type": "string"
  16174. },
  16175. "todaypricedqty": {
  16176. "description": "今定价量",
  16177. "type": "number"
  16178. },
  16179. "tradedate": {
  16180. "description": "交易日",
  16181. "type": "string"
  16182. },
  16183. "unitid": {
  16184. "description": "品类单位id",
  16185. "type": "integer"
  16186. },
  16187. "userid": {
  16188. "description": "机构id",
  16189. "type": "integer"
  16190. },
  16191. "wrstandardcode": {
  16192. "description": "品类代码",
  16193. "type": "string"
  16194. },
  16195. "wrstandardid": {
  16196. "description": "品类id",
  16197. "type": "integer"
  16198. },
  16199. "wrstandardname": {
  16200. "description": "品类名称",
  16201. "type": "string"
  16202. }
  16203. }
  16204. },
  16205. "models.Ermcp3ExposureDetail": {
  16206. "type": "object",
  16207. "properties": {
  16208. "areauserid": {
  16209. "description": "机构ID",
  16210. "type": "integer"
  16211. },
  16212. "changeQty": {
  16213. "description": "套保变动量",
  16214. "type": "number"
  16215. },
  16216. "contracttype": {
  16217. "description": "现货合同类型 - 1:采购 -1:销售",
  16218. "type": "integer"
  16219. },
  16220. "convertfactor": {
  16221. "description": "标仓系数",
  16222. "type": "number"
  16223. },
  16224. "convertratio": {
  16225. "description": "套保系数",
  16226. "type": "number"
  16227. },
  16228. "createtime": {
  16229. "description": "时间",
  16230. "type": "string"
  16231. },
  16232. "deliverygoodscode": {
  16233. "description": "现货品种代码",
  16234. "type": "string"
  16235. },
  16236. "deliverygoodsid": {
  16237. "description": "现货品种id",
  16238. "type": "integer"
  16239. },
  16240. "deliverygoodsname": {
  16241. "description": "现货品种名称",
  16242. "type": "string"
  16243. },
  16244. "enumdicname": {
  16245. "description": "现货商品单位名称",
  16246. "type": "string"
  16247. },
  16248. "logtype": {
  16249. "description": "类型 - 1:套保计划 2:现货合同",
  16250. "type": "integer"
  16251. },
  16252. "mgunitid": {
  16253. "description": "套保品种单位id",
  16254. "type": "integer"
  16255. },
  16256. "mgunitidname": {
  16257. "description": "套保品种单位名称",
  16258. "type": "string"
  16259. },
  16260. "middlegoodsId": {
  16261. "description": "套保商品id",
  16262. "type": "integer"
  16263. },
  16264. "middlegoodscode": {
  16265. "description": "套保商品代码",
  16266. "type": "string"
  16267. },
  16268. "middlegoodsname": {
  16269. "description": "套保商品名称",
  16270. "type": "string"
  16271. },
  16272. "qty": {
  16273. "description": "数量",
  16274. "type": "number"
  16275. },
  16276. "relateNo": {
  16277. "description": "现货合同/套保计划编号",
  16278. "type": "string"
  16279. }
  16280. }
  16281. },
  16282. "models.Ermcp3ExposureFutuDetail": {
  16283. "type": "object",
  16284. "properties": {
  16285. "accountid": {
  16286. "description": "交易账户id",
  16287. "type": "integer"
  16288. },
  16289. "accountname": {
  16290. "description": "交易账户",
  16291. "type": "string"
  16292. },
  16293. "begindate": {
  16294. "description": "开始交易日",
  16295. "type": "string"
  16296. },
  16297. "buyorsell": {
  16298. "description": "方向 0-买 1-卖",
  16299. "type": "integer"
  16300. },
  16301. "diffmgqty": {
  16302. "description": "套保品种今变化量",
  16303. "type": "number"
  16304. },
  16305. "diffneedqty": {
  16306. "description": "应套保总量变化量",
  16307. "type": "number"
  16308. },
  16309. "difftradeqty": {
  16310. "description": "交易品种今变化量",
  16311. "type": "number"
  16312. },
  16313. "enddate": {
  16314. "description": "结束交易日",
  16315. "type": "string"
  16316. },
  16317. "enumdicname": {
  16318. "description": "单位名称",
  16319. "type": "string"
  16320. },
  16321. "goodscode": {
  16322. "description": "商品代码",
  16323. "type": "string"
  16324. },
  16325. "goodsid": {
  16326. "description": "商品id",
  16327. "type": "integer"
  16328. },
  16329. "goodsname": {
  16330. "description": "商品名称",
  16331. "type": "string"
  16332. },
  16333. "holdqty": {
  16334. "description": "期末持仓量",
  16335. "type": "number"
  16336. },
  16337. "middlegoodscode": {
  16338. "description": "套保商品代码",
  16339. "type": "string"
  16340. },
  16341. "middlegoodsid": {
  16342. "description": "套保商品id",
  16343. "type": "integer"
  16344. },
  16345. "middlegoodsname": {
  16346. "description": "套保商品名称",
  16347. "type": "string"
  16348. },
  16349. "oriholdqty": {
  16350. "description": "期初持仓量",
  16351. "type": "number"
  16352. },
  16353. "todaycloseqty": {
  16354. "description": "今平仓量",
  16355. "type": "number"
  16356. },
  16357. "todayopenqty": {
  16358. "description": "今开仓量",
  16359. "type": "number"
  16360. },
  16361. "tradedate": {
  16362. "description": "交易日",
  16363. "type": "string"
  16364. }
  16365. }
  16366. },
  16367. "models.Ermcp3ExposureHedgeplanDetail": {
  16368. "type": "object",
  16369. "properties": {
  16370. "biztype": {
  16371. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16372. "type": "integer"
  16373. },
  16374. "changqty": {
  16375. "description": "应套保总量变化量",
  16376. "type": "number"
  16377. },
  16378. "contracttype": {
  16379. "description": "计划类型 - 1:采购 -1:销售",
  16380. "type": "integer"
  16381. },
  16382. "convertratio": {
  16383. "description": "折算系数(套保品种)",
  16384. "type": "number"
  16385. },
  16386. "deliverygoodscode": {
  16387. "description": "现货商品代码",
  16388. "type": "string"
  16389. },
  16390. "deliverygoodsid": {
  16391. "description": "现货商品id",
  16392. "type": "integer"
  16393. },
  16394. "deliverygoodsname": {
  16395. "description": "现货商吕名称",
  16396. "type": "string"
  16397. },
  16398. "dgunitid": {
  16399. "description": "现货商品单位id",
  16400. "type": "integer"
  16401. },
  16402. "dgunitidname": {
  16403. "description": "单位名称(现货商品)",
  16404. "type": "string"
  16405. },
  16406. "diffqty": {
  16407. "description": "套保品种今变动量",
  16408. "type": "number"
  16409. },
  16410. "enumdicname": {
  16411. "description": "单位名称(品类)",
  16412. "type": "string"
  16413. },
  16414. "hedgeplanid": {
  16415. "description": "套保计划id",
  16416. "type": "string"
  16417. },
  16418. "hedgeplanno": {
  16419. "description": "套保计划名称",
  16420. "type": "string"
  16421. },
  16422. "hedgeplanstatus": {
  16423. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16424. "type": "integer"
  16425. },
  16426. "mgunitidname": {
  16427. "description": "单位名称(套保商品)",
  16428. "type": "string"
  16429. },
  16430. "middlegoodscode": {
  16431. "description": "套保品种代码",
  16432. "type": "string"
  16433. },
  16434. "middlegoodsid": {
  16435. "description": "套保品种id",
  16436. "type": "integer"
  16437. },
  16438. "middlegoodsname": {
  16439. "description": "套保品种名称",
  16440. "type": "string"
  16441. },
  16442. "needarbitrageratio": {
  16443. "description": "应套利比例",
  16444. "type": "number"
  16445. },
  16446. "needhedgeratio": {
  16447. "description": "应套保比例",
  16448. "type": "number"
  16449. },
  16450. "pricedqty": {
  16451. "description": "已定价量",
  16452. "type": "number"
  16453. },
  16454. "qty": {
  16455. "description": "合同量",
  16456. "type": "number"
  16457. },
  16458. "tradedate": {
  16459. "description": "交易日(登记日)",
  16460. "type": "string"
  16461. },
  16462. "unitid": {
  16463. "description": "品类单位id",
  16464. "type": "integer"
  16465. },
  16466. "userid": {
  16467. "description": "机构id",
  16468. "type": "integer"
  16469. },
  16470. "wrstandardcode": {
  16471. "description": "品类代码",
  16472. "type": "string"
  16473. },
  16474. "wrstandardid": {
  16475. "description": "品类id",
  16476. "type": "integer"
  16477. },
  16478. "wrstandardname": {
  16479. "description": "品类名称",
  16480. "type": "string"
  16481. }
  16482. }
  16483. },
  16484. "models.Ermcp3ExposureParamChLog": {
  16485. "type": "object",
  16486. "properties": {
  16487. "accountid": {
  16488. "description": "期货账户ID (作废, 默认为0)",
  16489. "type": "integer"
  16490. },
  16491. "aftervalue": {
  16492. "description": "应套保\\套利量变更后(调整后应套保总量)",
  16493. "type": "number"
  16494. },
  16495. "areauserid": {
  16496. "description": "所属机构\\交易用户ID",
  16497. "type": "integer"
  16498. },
  16499. "beforevalue": {
  16500. "description": "应套保\\套利量变更前(调整前应套保总量)",
  16501. "type": "number"
  16502. },
  16503. "begindate": {
  16504. "description": "开始交易日",
  16505. "type": "string"
  16506. },
  16507. "changelogtype": {
  16508. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  16509. "type": "integer"
  16510. },
  16511. "curvalue": {
  16512. "description": "当前套保\\套利量(套保总量|套利总量)",
  16513. "type": "number"
  16514. },
  16515. "diffvalue": {
  16516. "description": "应套保总量变化量",
  16517. "type": "number"
  16518. },
  16519. "enddate": {
  16520. "description": "结束交易日",
  16521. "type": "string"
  16522. },
  16523. "logdatetime": {
  16524. "description": "流水日期",
  16525. "type": "string"
  16526. },
  16527. "logid": {
  16528. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  16529. "type": "string"
  16530. },
  16531. "middlegoodscode": {
  16532. "description": "套保品种代码",
  16533. "type": "string"
  16534. },
  16535. "middlegoodsid": {
  16536. "description": "套保品种",
  16537. "type": "integer"
  16538. },
  16539. "middlegoodsname": {
  16540. "description": "套保品种名称",
  16541. "type": "string"
  16542. },
  16543. "paramaftervalue": {
  16544. "description": "参数变更后(调整后参数值)",
  16545. "type": "number"
  16546. },
  16547. "parambeforevalue": {
  16548. "description": "参数变更前(调整前参数值)",
  16549. "type": "number"
  16550. },
  16551. "tradedate": {
  16552. "description": "交易日(yyyyMMdd)",
  16553. "type": "string"
  16554. }
  16555. }
  16556. },
  16557. "models.Ermcp3ExpourseReport": {
  16558. "type": "object",
  16559. "properties": {
  16560. "accountid": {
  16561. "description": "期货账户ID (作废, 默认为0)",
  16562. "type": "integer"
  16563. },
  16564. "accountname": {
  16565. "description": "机构名称",
  16566. "type": "string"
  16567. },
  16568. "arbitrageqty": {
  16569. "description": "套利量",
  16570. "type": "number"
  16571. },
  16572. "areauserid": {
  16573. "description": "所属机构\\交易用户ID",
  16574. "type": "integer"
  16575. },
  16576. "begindate": {
  16577. "description": "开始交易日",
  16578. "type": "string"
  16579. },
  16580. "buyfutureqty": {
  16581. "description": "买入期货数量",
  16582. "type": "number"
  16583. },
  16584. "buyplanqty": {
  16585. "description": "采购计划数量",
  16586. "type": "number"
  16587. },
  16588. "buypricedqty": {
  16589. "description": "采购合同已定价数量",
  16590. "type": "number"
  16591. },
  16592. "cycletime": {
  16593. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16594. "type": "string"
  16595. },
  16596. "cycletype": {
  16597. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16598. "type": "integer"
  16599. },
  16600. "diffexposure": {
  16601. "description": "变动量(套保敞口)",
  16602. "type": "number"
  16603. },
  16604. "difffutuqty": {
  16605. "description": "变动量(期货)",
  16606. "type": "number"
  16607. },
  16608. "diffhedgeqty": {
  16609. "description": "变动量(现货应套保总量)",
  16610. "type": "number"
  16611. },
  16612. "diffmgqtya": {
  16613. "description": "套保变动量",
  16614. "type": "number"
  16615. },
  16616. "diffmgqtyb": {
  16617. "description": "套利变动量",
  16618. "type": "number"
  16619. },
  16620. "diffqty": {
  16621. "description": "变动量(总敞口)",
  16622. "type": "number"
  16623. },
  16624. "diffspotqty": {
  16625. "description": "变动量(现货)",
  16626. "type": "number"
  16627. },
  16628. "enddate": {
  16629. "description": "结束交易日",
  16630. "type": "string"
  16631. },
  16632. "enumdicname": {
  16633. "description": "单位名称",
  16634. "type": "string"
  16635. },
  16636. "hedgeqty": {
  16637. "description": "套保量",
  16638. "type": "number"
  16639. },
  16640. "mgneedhedgeratio": {
  16641. "description": "套保比例(套保品的)",
  16642. "type": "number"
  16643. },
  16644. "middlegoodsid": {
  16645. "description": "套保品种ID",
  16646. "type": "integer"
  16647. },
  16648. "middlegoodsname": {
  16649. "description": "套保商品名称",
  16650. "type": "string"
  16651. },
  16652. "middlgoodscode": {
  16653. "description": "套保商品代码",
  16654. "type": "string"
  16655. },
  16656. "needarbitrageqty": {
  16657. "description": "应套利量",
  16658. "type": "number"
  16659. },
  16660. "needarbitrageratio": {
  16661. "description": "套利比例(套保品的)",
  16662. "type": "number"
  16663. },
  16664. "needhedgeexposoure": {
  16665. "description": "应套保敞口(套保敞口)",
  16666. "type": "number"
  16667. },
  16668. "needhedgeqty": {
  16669. "description": "应套保量",
  16670. "type": "number"
  16671. },
  16672. "needhedgeratio": {
  16673. "description": "应套保敞口比例",
  16674. "type": "number"
  16675. },
  16676. "oriarbitrageqty": {
  16677. "description": "期初套利量",
  16678. "type": "number"
  16679. },
  16680. "oribuyfutureqty": {
  16681. "description": "期初买入期货数量",
  16682. "type": "number"
  16683. },
  16684. "oribuyplanqty": {
  16685. "description": "期初采购计划数量",
  16686. "type": "number"
  16687. },
  16688. "oribuypricedqty": {
  16689. "description": "期初采购合同已定价数量",
  16690. "type": "number"
  16691. },
  16692. "orihedgeqty": {
  16693. "description": "期初套保量",
  16694. "type": "number"
  16695. },
  16696. "orineedarbitrageqty": {
  16697. "description": "期初应套利量",
  16698. "type": "number"
  16699. },
  16700. "orineedhedgeexposoure": {
  16701. "description": "期初应套保敞口",
  16702. "type": "number"
  16703. },
  16704. "orineedhedgeqty": {
  16705. "description": "期初应套保量",
  16706. "type": "number"
  16707. },
  16708. "orisellfutureqty": {
  16709. "description": "期初卖出期货数量",
  16710. "type": "number"
  16711. },
  16712. "orisellplanqty": {
  16713. "description": "期初销售计划数量",
  16714. "type": "number"
  16715. },
  16716. "orisellpricedqty": {
  16717. "description": "期初销售合同已定价数量",
  16718. "type": "number"
  16719. },
  16720. "oritotalexposure": {
  16721. "description": "期初实时总敞口",
  16722. "type": "number"
  16723. },
  16724. "oritotalfutureqty": {
  16725. "description": "期初期货头寸总量",
  16726. "type": "number"
  16727. },
  16728. "oritotalneedhedgeqty": {
  16729. "description": "期初应套保总量",
  16730. "type": "number"
  16731. },
  16732. "oritotalspotqty": {
  16733. "description": "期初现货头寸总量",
  16734. "type": "number"
  16735. },
  16736. "reckondate": {
  16737. "description": "日照时期(yyyyMMdd)",
  16738. "type": "string"
  16739. },
  16740. "sellfutureqty": {
  16741. "description": "卖出期货数量",
  16742. "type": "number"
  16743. },
  16744. "sellplanqty": {
  16745. "description": "销售计划数量",
  16746. "type": "number"
  16747. },
  16748. "sellpricedqty": {
  16749. "description": "销售合同已定价数量",
  16750. "type": "number"
  16751. },
  16752. "totalexposure": {
  16753. "description": "实时总敞口(总敞口)",
  16754. "type": "number"
  16755. },
  16756. "totalfutureqty": {
  16757. "description": "期货头寸总量(期货总量)",
  16758. "type": "number"
  16759. },
  16760. "totalhedgeratio": {
  16761. "description": "敞口比例",
  16762. "type": "number"
  16763. },
  16764. "totalneedhedgeqty": {
  16765. "description": "应套保总量(现货应套保总量)",
  16766. "type": "number"
  16767. },
  16768. "totalspotqty": {
  16769. "description": "现货头寸总量",
  16770. "type": "number"
  16771. },
  16772. "unitid": {
  16773. "description": "单位id",
  16774. "type": "integer"
  16775. },
  16776. "updatetime": {
  16777. "description": "更新时间",
  16778. "type": "string"
  16779. }
  16780. }
  16781. },
  16782. "models.Ermcp3FinanceReport": {
  16783. "type": "object",
  16784. "properties": {
  16785. "accountname": {
  16786. "description": "机构名称",
  16787. "type": "string"
  16788. },
  16789. "areauserid": {
  16790. "description": "所属机构\\交易用户ID",
  16791. "type": "integer"
  16792. },
  16793. "begindate": {
  16794. "description": "开始交易日",
  16795. "type": "string"
  16796. },
  16797. "biztype": {
  16798. "description": "业务类型 - 1:套保 2:套利",
  16799. "type": "integer"
  16800. },
  16801. "brandname": {
  16802. "description": "品牌名称",
  16803. "type": "string"
  16804. },
  16805. "buypreinvoicedamount": {
  16806. "description": "采购预收票额(预收票额)",
  16807. "type": "number"
  16808. },
  16809. "buyprepaidamount": {
  16810. "description": "采购预付款额(预付货款额)",
  16811. "type": "number"
  16812. },
  16813. "buytodayinvoiceamount": {
  16814. "description": "采购今收票额(今收票额)",
  16815. "type": "number"
  16816. },
  16817. "buytodayrefundamount": {
  16818. "description": "采购今收退款额(今收退款额)",
  16819. "type": "number"
  16820. },
  16821. "buytodaysettleamount": {
  16822. "description": "采购今付款额(今付货款额)",
  16823. "type": "number"
  16824. },
  16825. "buyuninvoicedamount": {
  16826. "description": "采购应收票额(应收票额)",
  16827. "type": "number"
  16828. },
  16829. "buyunpaidamount": {
  16830. "description": "采购应付款额(应付货款额)",
  16831. "type": "number"
  16832. },
  16833. "currencyid": {
  16834. "description": "结算币种ID",
  16835. "type": "integer"
  16836. },
  16837. "currencyname": {
  16838. "description": "币种名称",
  16839. "type": "string"
  16840. },
  16841. "cycletime": {
  16842. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16843. "type": "string"
  16844. },
  16845. "cycletype": {
  16846. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16847. "type": "integer"
  16848. },
  16849. "deliverygoodscode": {
  16850. "description": "现货品种代码",
  16851. "type": "string"
  16852. },
  16853. "deliverygoodsid": {
  16854. "description": "现货品种ID",
  16855. "type": "integer"
  16856. },
  16857. "deliverygoodsname": {
  16858. "description": "现货品种名称",
  16859. "type": "string"
  16860. },
  16861. "enddate": {
  16862. "description": "结束交易日",
  16863. "type": "string"
  16864. },
  16865. "reckondate": {
  16866. "description": "日照时期(yyyyMMdd)",
  16867. "type": "string"
  16868. },
  16869. "sellpreinvoicedamount": {
  16870. "description": "销售预开票额(预开票额)",
  16871. "type": "number"
  16872. },
  16873. "sellprepaidamount": {
  16874. "description": "销售预收款额(预收货款额)",
  16875. "type": "number"
  16876. },
  16877. "selltodayinvoiceamount": {
  16878. "description": "销售今开票额(今开票额)",
  16879. "type": "number"
  16880. },
  16881. "selltodayrefundamount": {
  16882. "description": "销售今付退款额(今付退款额)",
  16883. "type": "number"
  16884. },
  16885. "selltodaysettleamount": {
  16886. "description": "销售今收款额(今收货款额)",
  16887. "type": "number"
  16888. },
  16889. "selluninvoicedamount": {
  16890. "description": "销售应开票额(应开票额)",
  16891. "type": "number"
  16892. },
  16893. "sellunpaidamount": {
  16894. "description": "销售应收款额(应收货款额)",
  16895. "type": "number"
  16896. },
  16897. "spotgoodsbrandid": {
  16898. "description": "现货品牌ID",
  16899. "type": "integer"
  16900. },
  16901. "todaypaysum": {
  16902. "description": "今付款合计",
  16903. "type": "number"
  16904. },
  16905. "todayreceivesum": {
  16906. "description": "今收款合计",
  16907. "type": "number"
  16908. },
  16909. "updatetime": {
  16910. "description": "更新时间",
  16911. "type": "string"
  16912. },
  16913. "wrfactortypeid": {
  16914. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16915. "type": "integer"
  16916. },
  16917. "wrstandardcode": {
  16918. "description": "品类代码",
  16919. "type": "string"
  16920. },
  16921. "wrstandardid": {
  16922. "description": "现货商品ID",
  16923. "type": "integer"
  16924. },
  16925. "wrstandardname": {
  16926. "description": "品类名称",
  16927. "type": "string"
  16928. }
  16929. }
  16930. },
  16931. "models.Ermcp3Goods": {
  16932. "type": "object",
  16933. "properties": {
  16934. "agreeunit": {
  16935. "description": "合约单位(合约乘数)",
  16936. "type": "number"
  16937. },
  16938. "enumdicname": {
  16939. "description": "单位名称",
  16940. "type": "string"
  16941. },
  16942. "exexchangecode": {
  16943. "description": "交易所代码",
  16944. "type": "string"
  16945. },
  16946. "goodscode": {
  16947. "description": "期货商品代码",
  16948. "type": "string"
  16949. },
  16950. "goodsid": {
  16951. "description": "期货商品id",
  16952. "type": "integer"
  16953. },
  16954. "goodsname": {
  16955. "description": "期货商品名称",
  16956. "type": "string"
  16957. }
  16958. }
  16959. },
  16960. "models.Ermcp3GoodsGroup": {
  16961. "type": "object",
  16962. "required": [
  16963. "areauserid"
  16964. ],
  16965. "properties": {
  16966. "agreeunit": {
  16967. "description": "合约单位",
  16968. "type": "number"
  16969. },
  16970. "areauserid": {
  16971. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16972. "type": "integer"
  16973. },
  16974. "canshort": {
  16975. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16976. "type": "integer"
  16977. },
  16978. "closepricemode": {
  16979. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16980. "type": "integer"
  16981. },
  16982. "createtime": {
  16983. "description": "创建时间",
  16984. "type": "string"
  16985. },
  16986. "creatorid": {
  16987. "description": "创建人",
  16988. "type": "integer"
  16989. },
  16990. "currencyid": {
  16991. "description": "报价货币ID",
  16992. "type": "integer"
  16993. },
  16994. "decimalplace": {
  16995. "description": "报价小数位",
  16996. "type": "integer"
  16997. },
  16998. "enumdicname": {
  16999. "description": "单位名称",
  17000. "type": "string"
  17001. },
  17002. "exchangefullname": {
  17003. "description": "交易所全称",
  17004. "type": "string"
  17005. },
  17006. "excludecfg": {
  17007. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17008. "type": "integer"
  17009. },
  17010. "exexchangecode": {
  17011. "description": "交易所代码",
  17012. "type": "string"
  17013. },
  17014. "exexchangeid": {
  17015. "description": "外部交易所ID[通道交易]",
  17016. "type": "integer"
  17017. },
  17018. "exexchangename": {
  17019. "description": "交易所名称",
  17020. "type": "string"
  17021. },
  17022. "goodsgroupid": {
  17023. "description": "商品组ID(自增ID)",
  17024. "type": "integer"
  17025. },
  17026. "goodsgroupname": {
  17027. "description": "商品组名称",
  17028. "type": "string"
  17029. },
  17030. "goodsgroupstatus": {
  17031. "description": "商品组状态 - 1:正常 2:注销",
  17032. "type": "integer"
  17033. },
  17034. "goodunitid": {
  17035. "description": "报价单位ID",
  17036. "type": "integer"
  17037. },
  17038. "groupcategroyid": {
  17039. "description": "品种分类ID",
  17040. "type": "integer"
  17041. },
  17042. "innerdealmode": {
  17043. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17044. "type": "integer"
  17045. },
  17046. "marketid": {
  17047. "description": "所属市场ID",
  17048. "type": "integer"
  17049. },
  17050. "modifierid": {
  17051. "description": "修改人",
  17052. "type": "integer"
  17053. },
  17054. "modifytime": {
  17055. "description": "修改时间",
  17056. "type": "string"
  17057. },
  17058. "outerdealmode": {
  17059. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17060. "type": "integer"
  17061. },
  17062. "outergroupcode": {
  17063. "description": "外部商品组代码[通道交易]",
  17064. "type": "string"
  17065. },
  17066. "quoteminunit": {
  17067. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17068. "type": "integer"
  17069. },
  17070. "quotesourcegroupid": {
  17071. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17072. "type": "integer"
  17073. },
  17074. "syncgoodsqty": {
  17075. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17076. "type": "integer"
  17077. }
  17078. }
  17079. },
  17080. "models.Ermcp3GoodsGroupEx": {
  17081. "type": "object",
  17082. "properties": {
  17083. "convertratio": {
  17084. "description": "折算系数(品种系数)",
  17085. "type": "number"
  17086. },
  17087. "enumdicname": {
  17088. "description": "单位名称",
  17089. "type": "string"
  17090. },
  17091. "exexchangecode": {
  17092. "description": "交易所代码",
  17093. "type": "string"
  17094. },
  17095. "glist": {
  17096. "description": "合约列表",
  17097. "type": "array",
  17098. "items": {
  17099. "$ref": "#/definitions/models.Ermcp3Goods"
  17100. }
  17101. },
  17102. "goodsgroupid": {
  17103. "description": "商品组id",
  17104. "type": "integer"
  17105. },
  17106. "goodsgroupname": {
  17107. "description": "商品组名称",
  17108. "type": "string"
  17109. },
  17110. "goodsunitid": {
  17111. "description": "单位id",
  17112. "type": "integer"
  17113. },
  17114. "middlegoodsid": {
  17115. "description": "套保商品id",
  17116. "type": "integer"
  17117. }
  17118. }
  17119. },
  17120. "models.Ermcp3HedgePlan": {
  17121. "type": "object",
  17122. "properties": {
  17123. "accountid": {
  17124. "description": "资金账号",
  17125. "type": "integer"
  17126. },
  17127. "areauserid": {
  17128. "description": "用户ID",
  17129. "type": "integer"
  17130. },
  17131. "audittime": {
  17132. "description": "审核时间",
  17133. "type": "string"
  17134. },
  17135. "contracttype": {
  17136. "description": "计划类型 - 1:采购 -1:销售",
  17137. "type": "integer"
  17138. },
  17139. "convertfactor": {
  17140. "description": "标仓系数",
  17141. "type": "number"
  17142. },
  17143. "createtime": {
  17144. "description": "创建时间",
  17145. "type": "string"
  17146. },
  17147. "currencyid": {
  17148. "description": "币种id",
  17149. "type": "integer"
  17150. },
  17151. "currencyname": {
  17152. "description": "币种名称",
  17153. "type": "string"
  17154. },
  17155. "deliverygoodscode": {
  17156. "description": "现货品种代码",
  17157. "type": "string"
  17158. },
  17159. "deliverygoodsid": {
  17160. "description": "现货品种ID",
  17161. "type": "integer"
  17162. },
  17163. "deliverygoodsname": {
  17164. "description": "现货品种名称",
  17165. "type": "string"
  17166. },
  17167. "enumdicname": {
  17168. "description": "单位名称(现货商品)",
  17169. "type": "string"
  17170. },
  17171. "hedgeplanid": {
  17172. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17173. "type": "string"
  17174. },
  17175. "hedgeplanno": {
  17176. "description": "套保计划编号(名称)",
  17177. "type": "string"
  17178. },
  17179. "hedgeplanstatus": {
  17180. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17181. "type": "integer"
  17182. },
  17183. "planqty": {
  17184. "description": "计划数量",
  17185. "type": "number"
  17186. },
  17187. "plantime": {
  17188. "description": "计划时间",
  17189. "type": "string"
  17190. },
  17191. "producttype": {
  17192. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17193. "type": "integer"
  17194. },
  17195. "remark": {
  17196. "description": "备注",
  17197. "type": "string"
  17198. },
  17199. "spotgoodsdesc": {
  17200. "description": "商品型号",
  17201. "type": "string"
  17202. },
  17203. "taaccountname": {
  17204. "description": "资金账号名称",
  17205. "type": "string"
  17206. },
  17207. "tradeuserid": {
  17208. "description": "交易用户id",
  17209. "type": "integer"
  17210. },
  17211. "tradeusername": {
  17212. "description": "交易用户名称",
  17213. "type": "string"
  17214. },
  17215. "unitid": {
  17216. "description": "单位id(现货商品)",
  17217. "type": "integer"
  17218. },
  17219. "updatetime": {
  17220. "description": "更新时间",
  17221. "type": "string"
  17222. },
  17223. "wrstandardcode": {
  17224. "description": "品类代码",
  17225. "type": "string"
  17226. },
  17227. "wrstandardid": {
  17228. "description": "品类id",
  17229. "type": "integer"
  17230. },
  17231. "wrstandardname": {
  17232. "description": "品类名称",
  17233. "type": "string"
  17234. },
  17235. "wrunitid": {
  17236. "description": "品类单位id",
  17237. "type": "integer"
  17238. },
  17239. "wrunitidame": {
  17240. "description": "品类单位名称",
  17241. "type": "string"
  17242. }
  17243. }
  17244. },
  17245. "models.Ermcp3MiddleGoodsDetail2": {
  17246. "type": "object",
  17247. "properties": {
  17248. "convertratio": {
  17249. "description": "套保系数(折算系数)",
  17250. "type": "number"
  17251. },
  17252. "gplist": {
  17253. "description": "关联商品组列表",
  17254. "type": "array",
  17255. "items": {
  17256. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17257. }
  17258. },
  17259. "mg": {
  17260. "description": "套保商品信息",
  17261. "type": "object",
  17262. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17263. }
  17264. }
  17265. },
  17266. "models.Ermcp3MiddleGoodsDetailEx": {
  17267. "type": "object",
  17268. "properties": {
  17269. "dglist": {
  17270. "description": "关联的现货品种列表",
  17271. "type": "array",
  17272. "items": {
  17273. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17274. }
  17275. },
  17276. "gplist": {
  17277. "description": "关联商品组列表",
  17278. "type": "array",
  17279. "items": {
  17280. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17281. }
  17282. },
  17283. "mg": {
  17284. "description": "套保商品信息",
  17285. "type": "object",
  17286. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17287. }
  17288. }
  17289. },
  17290. "models.Ermcp3RootUserAccount": {
  17291. "type": "object",
  17292. "properties": {
  17293. "accountname": {
  17294. "description": "账户名称(机构名称)",
  17295. "type": "string"
  17296. },
  17297. "accountstatus": {
  17298. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17299. "type": "integer"
  17300. },
  17301. "applysrc": {
  17302. "description": "申请来源 - 1:管理端 2:终端",
  17303. "type": "integer"
  17304. },
  17305. "auditremark": {
  17306. "description": "审核备注",
  17307. "type": "string"
  17308. },
  17309. "auditsrc": {
  17310. "description": "审核来源 - 1:管理端 2:终端",
  17311. "type": "integer"
  17312. },
  17313. "audittime": {
  17314. "description": "审核时间",
  17315. "type": "string"
  17316. },
  17317. "audituserid": {
  17318. "description": "审核人",
  17319. "type": "integer"
  17320. },
  17321. "broker": {
  17322. "description": "所属经纪人ID",
  17323. "type": "integer"
  17324. },
  17325. "canceltime": {
  17326. "description": "销户时间",
  17327. "type": "string"
  17328. },
  17329. "canceluserid": {
  17330. "description": "销户人",
  17331. "type": "integer"
  17332. },
  17333. "canrecommend": {
  17334. "description": "是否可推荐 - 0:不可 1;可",
  17335. "type": "integer"
  17336. },
  17337. "createtime": {
  17338. "description": "创建时间",
  17339. "type": "string"
  17340. },
  17341. "creatorid": {
  17342. "description": "创建人",
  17343. "type": "integer"
  17344. },
  17345. "hasauth": {
  17346. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17347. "type": "integer"
  17348. },
  17349. "isanonymous": {
  17350. "description": "是否匿名下单 - 0:否 1:是",
  17351. "type": "integer"
  17352. },
  17353. "maxinvestornum": {
  17354. "description": "最大用户数(经纪会员下投资者个数)",
  17355. "type": "integer"
  17356. },
  17357. "memberuserid": {
  17358. "description": "所属会员ID",
  17359. "type": "integer"
  17360. },
  17361. "modifierid": {
  17362. "description": "修改人",
  17363. "type": "integer"
  17364. },
  17365. "modifyremark": {
  17366. "description": "变更备注",
  17367. "type": "string"
  17368. },
  17369. "modifystatus": {
  17370. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17371. "type": "integer"
  17372. },
  17373. "modifytime": {
  17374. "description": "修改时间",
  17375. "type": "string"
  17376. },
  17377. "parenttopuser": {
  17378. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  17379. "type": "string"
  17380. },
  17381. "parentuserid": {
  17382. "description": "所属机构ID",
  17383. "type": "integer"
  17384. },
  17385. "reckonaccountid": {
  17386. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17387. "type": "integer"
  17388. },
  17389. "refercount": {
  17390. "description": "推荐总人数",
  17391. "type": "integer"
  17392. },
  17393. "refereeuserid": {
  17394. "description": "推荐人ID",
  17395. "type": "integer"
  17396. },
  17397. "refernum": {
  17398. "description": "推荐码",
  17399. "type": "string"
  17400. },
  17401. "rootuserid": {
  17402. "description": "根用户ID",
  17403. "type": "integer"
  17404. },
  17405. "subaccountlevel": {
  17406. "description": "子账户层数",
  17407. "type": "integer"
  17408. },
  17409. "subarealevelpath": {
  17410. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17411. "type": "string"
  17412. },
  17413. "userid": {
  17414. "description": "用户ID",
  17415. "type": "integer"
  17416. },
  17417. "usertype": {
  17418. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17419. "type": "integer"
  17420. }
  17421. }
  17422. },
  17423. "models.Ermcp3SellBuyContract": {
  17424. "type": "object",
  17425. "properties": {
  17426. "accountid": {
  17427. "description": "期货账户id",
  17428. "type": "string"
  17429. },
  17430. "accountname": {
  17431. "description": "账户名称",
  17432. "type": "string"
  17433. },
  17434. "attachment": {
  17435. "description": "附件",
  17436. "type": "string"
  17437. },
  17438. "audittime": {
  17439. "description": "审核时间",
  17440. "type": "string"
  17441. },
  17442. "biztype": {
  17443. "description": "业务类型 1-套保 2-套利",
  17444. "type": "integer"
  17445. },
  17446. "brandname": {
  17447. "description": "品牌名称",
  17448. "type": "string"
  17449. },
  17450. "contracctstatus": {
  17451. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17452. "type": "integer"
  17453. },
  17454. "contractmargin": {
  17455. "description": "合同保证金",
  17456. "type": "number"
  17457. },
  17458. "contractno": {
  17459. "description": "合同编号",
  17460. "type": "string"
  17461. },
  17462. "contracttype": {
  17463. "description": "合同类型 1-采购, -1-销售",
  17464. "type": "integer"
  17465. },
  17466. "convertfactor": {
  17467. "description": "标仓系数(品类)",
  17468. "type": "number"
  17469. },
  17470. "createtime": {
  17471. "description": "创建时间",
  17472. "type": "string"
  17473. },
  17474. "currencyid": {
  17475. "description": "币种id",
  17476. "type": "integer"
  17477. },
  17478. "currencyname": {
  17479. "description": "币种名称",
  17480. "type": "string"
  17481. },
  17482. "daikaiamount": {
  17483. "description": "应收(开)票额",
  17484. "type": "number"
  17485. },
  17486. "deliveryenddate": {
  17487. "description": "交割结束日",
  17488. "type": "string"
  17489. },
  17490. "deliverygoodscode": {
  17491. "description": "现货品种代码",
  17492. "type": "string"
  17493. },
  17494. "deliverygoodsid": {
  17495. "description": "现货商品ID",
  17496. "type": "integer"
  17497. },
  17498. "deliverygoodsname": {
  17499. "description": "现货品种名称",
  17500. "type": "string"
  17501. },
  17502. "deliverystartdate": {
  17503. "description": "交割开始日",
  17504. "type": "string"
  17505. },
  17506. "enddate": {
  17507. "description": "点价结束日",
  17508. "type": "string"
  17509. },
  17510. "enumdicname": {
  17511. "description": "单位名称",
  17512. "type": "string"
  17513. },
  17514. "goodscode": {
  17515. "description": "点价商品代码",
  17516. "type": "string"
  17517. },
  17518. "goodsid": {
  17519. "description": "点价商品ID",
  17520. "type": "integer"
  17521. },
  17522. "goodsname": {
  17523. "description": "点价商品名称",
  17524. "type": "string"
  17525. },
  17526. "invoiceamount": {
  17527. "description": "已开票额",
  17528. "type": "number"
  17529. },
  17530. "loanamount": {
  17531. "description": "贷款总额=已定价额+调整金额",
  17532. "type": "number"
  17533. },
  17534. "margin": {
  17535. "description": "保证金",
  17536. "type": "number"
  17537. },
  17538. "meruserid": {
  17539. "description": "跟单员id",
  17540. "type": "integer"
  17541. },
  17542. "meruserlogincode": {
  17543. "description": "跟单员登录代码",
  17544. "type": "string"
  17545. },
  17546. "nickname": {
  17547. "description": "账户昵称",
  17548. "type": "string"
  17549. },
  17550. "payamount": {
  17551. "description": "已收付额(收款或付款)",
  17552. "type": "number"
  17553. },
  17554. "preinvoiceamount": {
  17555. "description": "预收(开)票额",
  17556. "type": "number"
  17557. },
  17558. "prepayamount": {
  17559. "description": "预收付额",
  17560. "type": "number"
  17561. },
  17562. "price": {
  17563. "description": "价格",
  17564. "type": "number"
  17565. },
  17566. "pricedamount": {
  17567. "description": "已定价额",
  17568. "type": "number"
  17569. },
  17570. "pricedavg": {
  17571. "description": "已点均价",
  17572. "type": "number"
  17573. },
  17574. "pricedqty": {
  17575. "description": "已定价量",
  17576. "type": "number"
  17577. },
  17578. "pricemove": {
  17579. "description": "升贴水",
  17580. "type": "number"
  17581. },
  17582. "pricetype": {
  17583. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17584. "type": "integer"
  17585. },
  17586. "producttype": {
  17587. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17588. "type": "integer"
  17589. },
  17590. "qty": {
  17591. "description": "合同量",
  17592. "type": "number"
  17593. },
  17594. "reckonadjustamount": {
  17595. "description": "调整金额",
  17596. "type": "number"
  17597. },
  17598. "reckonedamount": {
  17599. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17600. "type": "number"
  17601. },
  17602. "reckonotheramount": {
  17603. "description": "其它费用",
  17604. "type": "number"
  17605. },
  17606. "reckonrealqty": {
  17607. "description": "已确定量",
  17608. "type": "number"
  17609. },
  17610. "remark": {
  17611. "description": "备注",
  17612. "type": "string"
  17613. },
  17614. "saleuserid": {
  17615. "description": "业务员id",
  17616. "type": "integer"
  17617. },
  17618. "saleuserlogincode": {
  17619. "description": "业务员登录代码",
  17620. "type": "string"
  17621. },
  17622. "spotcontractid": {
  17623. "description": "合同ID",
  17624. "type": "string"
  17625. },
  17626. "spotgoodsbrandid": {
  17627. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17628. "type": "integer"
  17629. },
  17630. "spotgoodsdesc": {
  17631. "description": "商品型号(商品规格)",
  17632. "type": "string"
  17633. },
  17634. "startdate": {
  17635. "description": "点价开始日",
  17636. "type": "string"
  17637. },
  17638. "totalamount": {
  17639. "description": "合计总额",
  17640. "type": "number"
  17641. },
  17642. "tradeuserid": {
  17643. "description": "交易员id",
  17644. "type": "integer"
  17645. },
  17646. "tradeuserlogincode": {
  17647. "description": "交易员登录代码",
  17648. "type": "string"
  17649. },
  17650. "tradeusername": {
  17651. "description": "交易员名称",
  17652. "type": "string"
  17653. },
  17654. "unpayamount": {
  17655. "description": "应收付款额(应支付或应收款)",
  17656. "type": "number"
  17657. },
  17658. "unpricedqty": {
  17659. "description": "未定价量",
  17660. "type": "number"
  17661. },
  17662. "unsureqty": {
  17663. "description": "未确定量",
  17664. "type": "number"
  17665. },
  17666. "userid": {
  17667. "description": "机构ID",
  17668. "type": "integer"
  17669. },
  17670. "wrstandardcode": {
  17671. "description": "品类代码",
  17672. "type": "string"
  17673. },
  17674. "wrstandardid": {
  17675. "description": "品类ID",
  17676. "type": "integer"
  17677. },
  17678. "wrstandardname": {
  17679. "description": "品类名称",
  17680. "type": "string"
  17681. }
  17682. }
  17683. },
  17684. "models.Ermcp3SpotGoodsPrice": {
  17685. "type": "object",
  17686. "properties": {
  17687. "areauserid": {
  17688. "description": "所属机构id",
  17689. "type": "integer"
  17690. },
  17691. "brandname": {
  17692. "description": "品牌名称",
  17693. "type": "string"
  17694. },
  17695. "currencyid": {
  17696. "description": "报价货币ID",
  17697. "type": "integer"
  17698. },
  17699. "currencyname": {
  17700. "description": "币种名称",
  17701. "type": "string"
  17702. },
  17703. "deliverygoodscode": {
  17704. "description": "现货商品代码",
  17705. "type": "string"
  17706. },
  17707. "deliverygoodsid": {
  17708. "description": "现货商品id",
  17709. "type": "integer"
  17710. },
  17711. "deliverygoodsname": {
  17712. "description": "现货商品名称",
  17713. "type": "string"
  17714. },
  17715. "enumdicname": {
  17716. "description": "现货商品单位名称",
  17717. "type": "string"
  17718. },
  17719. "gbenumdicname": {
  17720. "description": "品类单位名称",
  17721. "type": "string"
  17722. },
  17723. "gmunitid": {
  17724. "description": "品类单位id",
  17725. "type": "integer"
  17726. },
  17727. "isvalid": {
  17728. "description": "是否有效 - 0:无效 1:有效",
  17729. "type": "integer"
  17730. },
  17731. "operateid": {
  17732. "description": "最后操作人",
  17733. "type": "integer"
  17734. },
  17735. "operatesrc": {
  17736. "description": "最后操作来源 - 1:管理端 2:终端",
  17737. "type": "integer"
  17738. },
  17739. "operatetime": {
  17740. "description": "最后操作时间",
  17741. "type": "string"
  17742. },
  17743. "operatorname": {
  17744. "description": "操作人名称",
  17745. "type": "string"
  17746. },
  17747. "spotgoodsbrandid": {
  17748. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17749. "type": "integer"
  17750. },
  17751. "spotgoodsprice": {
  17752. "description": "现货价格",
  17753. "type": "number"
  17754. },
  17755. "tradedate": {
  17756. "description": "交易日(yyyyMMdd)",
  17757. "type": "string"
  17758. },
  17759. "unitid": {
  17760. "description": "现货商品单位id",
  17761. "type": "integer"
  17762. },
  17763. "wrstandardcode": {
  17764. "description": "品类代码",
  17765. "type": "string"
  17766. },
  17767. "wrstandardid": {
  17768. "description": "现货品类ID(通用则为0)",
  17769. "type": "integer"
  17770. },
  17771. "wrstandardname": {
  17772. "description": "品类名称",
  17773. "type": "string"
  17774. }
  17775. }
  17776. },
  17777. "models.Ermcp3SpotGoodsPriceLog": {
  17778. "type": "object",
  17779. "properties": {
  17780. "areauserid": {
  17781. "description": "所属机构id",
  17782. "type": "integer"
  17783. },
  17784. "brandname": {
  17785. "description": "品牌名称",
  17786. "type": "string"
  17787. },
  17788. "currencyid": {
  17789. "description": "报价货币ID",
  17790. "type": "integer"
  17791. },
  17792. "deliverygoodscode": {
  17793. "description": "现货商品代码",
  17794. "type": "string"
  17795. },
  17796. "deliverygoodsid": {
  17797. "description": "现货商品id",
  17798. "type": "integer"
  17799. },
  17800. "deliverygoodsname": {
  17801. "description": "现货商品名称",
  17802. "type": "string"
  17803. },
  17804. "enumdicname": {
  17805. "description": "现货商品单位名称",
  17806. "type": "string"
  17807. },
  17808. "gbenumdicname": {
  17809. "description": "品类单位名称",
  17810. "type": "string"
  17811. },
  17812. "gmunitid": {
  17813. "description": "品类单位id",
  17814. "type": "integer"
  17815. },
  17816. "logid": {
  17817. "description": "日志id",
  17818. "type": "integer"
  17819. },
  17820. "operateid": {
  17821. "description": "最后操作人",
  17822. "type": "integer"
  17823. },
  17824. "operatesrc": {
  17825. "description": "最后操作来源 - 1:管理端 2:终端",
  17826. "type": "integer"
  17827. },
  17828. "operatetime": {
  17829. "description": "最后操作时间",
  17830. "type": "string"
  17831. },
  17832. "operatorname": {
  17833. "description": "操作人名称",
  17834. "type": "string"
  17835. },
  17836. "spotgoodsbrandid": {
  17837. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17838. "type": "integer"
  17839. },
  17840. "spotgoodsprice": {
  17841. "description": "现货价格",
  17842. "type": "number"
  17843. },
  17844. "tradedate": {
  17845. "description": "交易日(yyyyMMdd)",
  17846. "type": "string"
  17847. },
  17848. "unitid": {
  17849. "description": "现货商品单位id",
  17850. "type": "integer"
  17851. },
  17852. "wrstandardcode": {
  17853. "description": "品类代码",
  17854. "type": "string"
  17855. },
  17856. "wrstandardid": {
  17857. "description": "现货品类ID(通用则为0)",
  17858. "type": "integer"
  17859. },
  17860. "wrstandardname": {
  17861. "description": "品类名称",
  17862. "type": "string"
  17863. }
  17864. }
  17865. },
  17866. "models.Ermcp3TaFutuReDataReport": {
  17867. "type": "object",
  17868. "properties": {
  17869. "accountid": {
  17870. "description": "交易账户",
  17871. "type": "integer"
  17872. },
  17873. "accountname": {
  17874. "description": "交易账号名称",
  17875. "type": "string"
  17876. },
  17877. "begindate": {
  17878. "description": "开始交易日",
  17879. "type": "string"
  17880. },
  17881. "buyorsell": {
  17882. "description": "持仓方向",
  17883. "type": "integer"
  17884. },
  17885. "charge": {
  17886. "description": "手续费",
  17887. "type": "number"
  17888. },
  17889. "closeavgprice": {
  17890. "description": "平仓均价",
  17891. "type": "number"
  17892. },
  17893. "closepl": {
  17894. "description": "平仓损益",
  17895. "type": "number"
  17896. },
  17897. "currencyid": {
  17898. "description": "结算币种ID",
  17899. "type": "integer"
  17900. },
  17901. "cycletime": {
  17902. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17903. "type": "string"
  17904. },
  17905. "cycletype": {
  17906. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17907. "type": "integer"
  17908. },
  17909. "enddate": {
  17910. "description": "结束交易日",
  17911. "type": "string"
  17912. },
  17913. "enumdicname": {
  17914. "description": "单位名称(现货商品)",
  17915. "type": "string"
  17916. },
  17917. "floatpl": {
  17918. "description": "浮动损益",
  17919. "type": "number"
  17920. },
  17921. "goodscode": {
  17922. "description": "交易合约代码",
  17923. "type": "string"
  17924. },
  17925. "goodsgroupid": {
  17926. "description": "交易品种",
  17927. "type": "integer"
  17928. },
  17929. "goodsgroupname": {
  17930. "description": "交易品种名称",
  17931. "type": "string"
  17932. },
  17933. "goodsgroupspotqty": {
  17934. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17935. "type": "number"
  17936. },
  17937. "goodsid": {
  17938. "description": "交易合约",
  17939. "type": "integer"
  17940. },
  17941. "goodsname": {
  17942. "description": "交易合约名称",
  17943. "type": "string"
  17944. },
  17945. "goodunitid": {
  17946. "description": "交易合约单位id",
  17947. "type": "integer"
  17948. },
  17949. "holdamount": {
  17950. "description": "期末持仓额",
  17951. "type": "number"
  17952. },
  17953. "holdqty": {
  17954. "description": "期末持仓量",
  17955. "type": "number"
  17956. },
  17957. "lastholdamount": {
  17958. "description": "当前持仓额",
  17959. "type": "number"
  17960. },
  17961. "lastprice": {
  17962. "description": "最新价",
  17963. "type": "number"
  17964. },
  17965. "middlegoodsqty": {
  17966. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17967. "type": "number"
  17968. },
  17969. "openamount": {
  17970. "description": "期末开仓额",
  17971. "type": "number"
  17972. },
  17973. "openavgprice": {
  17974. "description": "开仓均价",
  17975. "type": "number"
  17976. },
  17977. "oriholdamount": {
  17978. "description": "期初持仓额",
  17979. "type": "number"
  17980. },
  17981. "oriholdqty": {
  17982. "description": "期初持仓量",
  17983. "type": "number"
  17984. },
  17985. "oriopenamount": {
  17986. "description": "期初开仓额",
  17987. "type": "number"
  17988. },
  17989. "outergroupcode": {
  17990. "description": "交易品种代码",
  17991. "type": "string"
  17992. },
  17993. "reckondate": {
  17994. "description": "日照时期(yyyyMMdd)",
  17995. "type": "string"
  17996. },
  17997. "reckonholdamount": {
  17998. "description": "结算持仓额",
  17999. "type": "number"
  18000. },
  18001. "reckonpl": {
  18002. "description": "结算损益",
  18003. "type": "number"
  18004. },
  18005. "reckonpl2": {
  18006. "description": "结算逐笔盈亏",
  18007. "type": "number"
  18008. },
  18009. "reckonprice": {
  18010. "description": "结算价",
  18011. "type": "number"
  18012. },
  18013. "relateduserid": {
  18014. "description": "账户关联用户ID",
  18015. "type": "integer"
  18016. },
  18017. "todaycloseamount": {
  18018. "description": "今平仓额",
  18019. "type": "number"
  18020. },
  18021. "todaycloseqty": {
  18022. "description": "今平仓量",
  18023. "type": "number"
  18024. },
  18025. "todaygoodsgroupspotqty": {
  18026. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18027. "type": "number"
  18028. },
  18029. "todaymiddlegoodsqty": {
  18030. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18031. "type": "number"
  18032. },
  18033. "todayopenamount": {
  18034. "description": "今开仓额",
  18035. "type": "number"
  18036. },
  18037. "todayopenqty": {
  18038. "description": "今开仓量",
  18039. "type": "number"
  18040. },
  18041. "userid": {
  18042. "description": "账户所属用户ID",
  18043. "type": "integer"
  18044. }
  18045. }
  18046. },
  18047. "models.Ermcp3Wrstandard": {
  18048. "type": "object",
  18049. "properties": {
  18050. "areauserid": {
  18051. "description": "所属机构",
  18052. "type": "integer"
  18053. },
  18054. "convertfactor": {
  18055. "description": "标仓系数",
  18056. "type": "number"
  18057. },
  18058. "createtime": {
  18059. "description": "创建时间",
  18060. "type": "string"
  18061. },
  18062. "creatorid": {
  18063. "description": "创建人",
  18064. "type": "integer"
  18065. },
  18066. "deliverygoodsid": {
  18067. "description": "现货品种ID",
  18068. "type": "integer"
  18069. },
  18070. "enumdicname": {
  18071. "description": "品类单位名称",
  18072. "type": "string"
  18073. },
  18074. "isvalid": {
  18075. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18076. "type": "integer"
  18077. },
  18078. "minivalue": {
  18079. "description": "最小变动值",
  18080. "type": "integer"
  18081. },
  18082. "minivaluedp": {
  18083. "description": "最小变动值小数位",
  18084. "type": "integer"
  18085. },
  18086. "realminivalue": {
  18087. "description": "实际最小变动值",
  18088. "type": "integer"
  18089. },
  18090. "realminivaluedp": {
  18091. "description": "实际最小变动值小数位",
  18092. "type": "integer"
  18093. },
  18094. "remark": {
  18095. "description": "备注",
  18096. "type": "string"
  18097. },
  18098. "unitid": {
  18099. "description": "品类单位ID",
  18100. "type": "integer"
  18101. },
  18102. "updatetime": {
  18103. "description": "更新时间",
  18104. "type": "string"
  18105. },
  18106. "wrstandardcode": {
  18107. "description": "品类代码",
  18108. "type": "string"
  18109. },
  18110. "wrstandardid": {
  18111. "description": "品类ID(SEQ_WRSTANDARD)",
  18112. "type": "integer"
  18113. },
  18114. "wrstandardname": {
  18115. "description": "品类名称",
  18116. "type": "string"
  18117. }
  18118. }
  18119. },
  18120. "models.ErmcpAreaSpotDetailModel": {
  18121. "type": "object",
  18122. "properties": {
  18123. "contracttype": {
  18124. "description": "合同类型 1-采购 -1-销售",
  18125. "type": "integer"
  18126. },
  18127. "createtime": {
  18128. "description": "创建时间",
  18129. "type": "string"
  18130. },
  18131. "enumdicname": {
  18132. "description": "现货商品单位名称",
  18133. "type": "string"
  18134. },
  18135. "logtype": {
  18136. "description": "记录类型 1-套保 2-现货合同",
  18137. "type": "integer"
  18138. },
  18139. "qty": {
  18140. "description": "数量",
  18141. "type": "number"
  18142. },
  18143. "recordname": {
  18144. "description": "类型名称",
  18145. "type": "string"
  18146. },
  18147. "relatedid": {
  18148. "description": "套保计划ID/现货合同ID",
  18149. "type": "string"
  18150. },
  18151. "relatedno": {
  18152. "description": "编号",
  18153. "type": "string"
  18154. },
  18155. "strtime": {
  18156. "description": "时间",
  18157. "type": "string"
  18158. },
  18159. "wrstandardcode": {
  18160. "description": "现货商品代码",
  18161. "type": "string"
  18162. },
  18163. "wrstandardname": {
  18164. "description": "现货商品名称",
  18165. "type": "string"
  18166. }
  18167. }
  18168. },
  18169. "models.ErmcpAvalidGoodsGroupModel": {
  18170. "type": "object",
  18171. "properties": {
  18172. "goodsgroupid": {
  18173. "description": "期货品种id",
  18174. "type": "integer"
  18175. },
  18176. "goodsgroupname": {
  18177. "description": "期货品种名称",
  18178. "type": "string"
  18179. },
  18180. "goodunitid": {
  18181. "description": "品种单位id",
  18182. "type": "integer"
  18183. },
  18184. "goodunitname": {
  18185. "description": "品种单位名称",
  18186. "type": "string"
  18187. },
  18188. "outergroupcode": {
  18189. "description": "期货品种代码",
  18190. "type": "string"
  18191. }
  18192. }
  18193. },
  18194. "models.ErmcpBizGroupEx": {
  18195. "type": "object",
  18196. "properties": {
  18197. "acclist": {
  18198. "description": "账号列表",
  18199. "type": "array",
  18200. "items": {
  18201. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18202. }
  18203. },
  18204. "bizgroupid": {
  18205. "description": "业务分组id",
  18206. "type": "integer"
  18207. },
  18208. "biztype": {
  18209. "description": "业务类型 1-套保 2-套利",
  18210. "type": "integer"
  18211. },
  18212. "wrlist": {
  18213. "description": "现货商品表",
  18214. "type": "array",
  18215. "items": {
  18216. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18217. }
  18218. }
  18219. }
  18220. },
  18221. "models.ErmcpBizGroupSpotGoods": {
  18222. "type": "object",
  18223. "properties": {
  18224. "areauserid": {
  18225. "description": "所属机构id",
  18226. "type": "integer"
  18227. },
  18228. "bizgroupid": {
  18229. "description": "分组id",
  18230. "type": "integer"
  18231. },
  18232. "biztype": {
  18233. "description": "业务类型 1-套保 2-套利",
  18234. "type": "integer"
  18235. },
  18236. "deliverygoodscode": {
  18237. "description": "现货商品代码",
  18238. "type": "string"
  18239. },
  18240. "deliverygoodsid": {
  18241. "description": "现货商品id",
  18242. "type": "integer"
  18243. },
  18244. "deliverygoodsname": {
  18245. "description": "现货商品名称",
  18246. "type": "string"
  18247. },
  18248. "unitid": {
  18249. "description": "现货商品单位id",
  18250. "type": "integer"
  18251. }
  18252. }
  18253. },
  18254. "models.ErmcpBizGroupTaAccount": {
  18255. "type": "object",
  18256. "properties": {
  18257. "accountid": {
  18258. "description": "账号id",
  18259. "type": "integer"
  18260. },
  18261. "accountname": {
  18262. "description": "账号名称",
  18263. "type": "string"
  18264. },
  18265. "areauserid": {
  18266. "description": "所属机构id",
  18267. "type": "integer"
  18268. },
  18269. "bizgroupid": {
  18270. "description": "业务分组id",
  18271. "type": "integer"
  18272. },
  18273. "ismain": {
  18274. "description": "是否主账号 1-是 0-否",
  18275. "type": "integer"
  18276. }
  18277. }
  18278. },
  18279. "models.ErmcpDGFactoryItem": {
  18280. "type": "object",
  18281. "properties": {
  18282. "areauserid": {
  18283. "description": "用户id",
  18284. "type": "integer"
  18285. },
  18286. "deliverygoodsid": {
  18287. "description": "现货品种ID",
  18288. "type": "integer"
  18289. },
  18290. "dgfactoryitemid": {
  18291. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18292. "type": "integer"
  18293. },
  18294. "dgfactoryitemtypeid": {
  18295. "description": "要素项类型",
  18296. "type": "integer"
  18297. },
  18298. "dgfactoryitemvalue": {
  18299. "description": "要素项值(类型为仓库时填写仓库名称)",
  18300. "type": "string"
  18301. },
  18302. "isvalid": {
  18303. "description": "是否有效 - 0:无效 1:有效",
  18304. "type": "integer"
  18305. },
  18306. "orderindex": {
  18307. "description": "顺序",
  18308. "type": "integer"
  18309. },
  18310. "warehouseid": {
  18311. "description": "仓库ID(类型为仓库时填写)",
  18312. "type": "integer"
  18313. }
  18314. }
  18315. },
  18316. "models.ErmcpDeliveryGoods": {
  18317. "type": "object",
  18318. "properties": {
  18319. "agreeunit": {
  18320. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18321. "type": "integer"
  18322. },
  18323. "areauserid": {
  18324. "description": "所属机构",
  18325. "type": "integer"
  18326. },
  18327. "auditflag": {
  18328. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18329. "type": "integer"
  18330. },
  18331. "categoryid": {
  18332. "description": "类别ID(SEQ_WRCATEGORY)",
  18333. "type": "integer"
  18334. },
  18335. "deliverygoodscode": {
  18336. "description": "现货品种代码",
  18337. "type": "string"
  18338. },
  18339. "deliverygoodsid": {
  18340. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18341. "type": "integer"
  18342. },
  18343. "deliverygoodsname": {
  18344. "description": "现货品种名称",
  18345. "type": "string"
  18346. },
  18347. "deliverygoodstype": {
  18348. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  18349. "type": "integer"
  18350. },
  18351. "dgstatus": {
  18352. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  18353. "type": "integer"
  18354. },
  18355. "enumdicname": {
  18356. "description": "现货品种单位名称",
  18357. "type": "string"
  18358. },
  18359. "goodsunitid": {
  18360. "description": "现货品种单位ID",
  18361. "type": "integer"
  18362. },
  18363. "isvalid": {
  18364. "description": "是否有效 - 0:无效 1:有效",
  18365. "type": "integer"
  18366. },
  18367. "qtydecimalplace": {
  18368. "description": "成交量小数位",
  18369. "type": "integer"
  18370. },
  18371. "remark": {
  18372. "description": "备注",
  18373. "type": "string"
  18374. },
  18375. "standardqty": {
  18376. "description": "标准数量(库位数量) [标准品特有]",
  18377. "type": "integer"
  18378. },
  18379. "standardqtyrange": {
  18380. "description": "标准数量偏差范围 [标准品特有]",
  18381. "type": "integer"
  18382. }
  18383. }
  18384. },
  18385. "models.ErmcpDeliveryGoodsDetail2": {
  18386. "type": "object",
  18387. "properties": {
  18388. "convertratio": {
  18389. "description": "套保系数(折算系数)",
  18390. "type": "number"
  18391. },
  18392. "data": {
  18393. "description": "现货商品基本信息(交割品种)",
  18394. "type": "object",
  18395. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18396. },
  18397. "gblist": {
  18398. "description": "品牌列表",
  18399. "type": "array",
  18400. "items": {
  18401. "$ref": "#/definitions/models.Ermcp3Brand"
  18402. }
  18403. },
  18404. "gmlist": {
  18405. "description": "品类列表(仓单标准)",
  18406. "type": "array",
  18407. "items": {
  18408. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18409. }
  18410. }
  18411. }
  18412. },
  18413. "models.ErmcpDeliveryGoodsDetailEx": {
  18414. "type": "object",
  18415. "properties": {
  18416. "data": {
  18417. "description": "现货商品基本信息(交割品种)",
  18418. "type": "object",
  18419. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18420. },
  18421. "gblist": {
  18422. "description": "品牌列表",
  18423. "type": "array",
  18424. "items": {
  18425. "$ref": "#/definitions/models.Ermcp3Brand"
  18426. }
  18427. },
  18428. "gmlist": {
  18429. "description": "品类列表(仓单标准)",
  18430. "type": "array",
  18431. "items": {
  18432. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18433. }
  18434. },
  18435. "mgList": {
  18436. "description": "套保列表",
  18437. "type": "array",
  18438. "items": {
  18439. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18440. }
  18441. }
  18442. }
  18443. },
  18444. "models.ErmcpExposureDetailModel": {
  18445. "type": "object",
  18446. "properties": {
  18447. "areauserid": {
  18448. "description": "机构ID",
  18449. "type": "integer"
  18450. },
  18451. "changeQty": {
  18452. "description": "套保变动量",
  18453. "type": "number"
  18454. },
  18455. "contracttype": {
  18456. "description": "现货合同类型 - 1:采购 -1:销售",
  18457. "type": "integer"
  18458. },
  18459. "convertfactor": {
  18460. "description": "标仓系数",
  18461. "type": "number"
  18462. },
  18463. "convertratio": {
  18464. "description": "套保系数",
  18465. "type": "number"
  18466. },
  18467. "createtime": {
  18468. "description": "时间",
  18469. "type": "string"
  18470. },
  18471. "enumdicname": {
  18472. "description": "现货商品单位名称",
  18473. "type": "string"
  18474. },
  18475. "logtype": {
  18476. "description": "类型 - 1:套保计划 2:现货合同",
  18477. "type": "integer"
  18478. },
  18479. "middlegoodsId": {
  18480. "description": "套保商品id",
  18481. "type": "integer"
  18482. },
  18483. "middlegoodscode": {
  18484. "description": "套保商品代码",
  18485. "type": "string"
  18486. },
  18487. "middlegoodsname": {
  18488. "description": "套保商品名称",
  18489. "type": "string"
  18490. },
  18491. "qty": {
  18492. "description": "数量",
  18493. "type": "number"
  18494. },
  18495. "relateNo": {
  18496. "description": "现货合同/套保计划编号",
  18497. "type": "string"
  18498. },
  18499. "wrstandardcode": {
  18500. "description": "现货商品代码",
  18501. "type": "string"
  18502. },
  18503. "wrstandardid": {
  18504. "description": "现货商品ID",
  18505. "type": "integer"
  18506. },
  18507. "wrstandardname": {
  18508. "description": "现货商品名称",
  18509. "type": "string"
  18510. }
  18511. }
  18512. },
  18513. "models.ErmcpExposurePostion": {
  18514. "type": "object",
  18515. "properties": {
  18516. "agreeunit": {
  18517. "description": "合约单位",
  18518. "type": "string"
  18519. },
  18520. "areauserid": {
  18521. "description": "所属机构id",
  18522. "type": "integer"
  18523. },
  18524. "convertratio": {
  18525. "description": "期货品种系数(折算系数)",
  18526. "type": "number"
  18527. },
  18528. "curqty": {
  18529. "description": "当前持仓",
  18530. "type": "integer"
  18531. },
  18532. "diffhedgeqty": {
  18533. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18534. "type": "number"
  18535. },
  18536. "diffqty": {
  18537. "description": "持仓变动量=当前持仓-昨日持仓",
  18538. "type": "integer"
  18539. },
  18540. "goodscode": {
  18541. "description": "商品代码",
  18542. "type": "string"
  18543. },
  18544. "goodsid": {
  18545. "description": "商品id",
  18546. "type": "integer"
  18547. },
  18548. "goodsname": {
  18549. "description": "商品名称",
  18550. "type": "string"
  18551. },
  18552. "middlegoodsid": {
  18553. "description": "套保商品id",
  18554. "type": "integer"
  18555. },
  18556. "ydqty": {
  18557. "description": "昨日持仓",
  18558. "type": "integer"
  18559. }
  18560. }
  18561. },
  18562. "models.ErmcpFuturesCompany": {
  18563. "type": "object",
  18564. "properties": {
  18565. "brokerid": {
  18566. "description": "经纪公司代码",
  18567. "type": "string"
  18568. },
  18569. "channeladdress": {
  18570. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18571. "type": "string"
  18572. },
  18573. "channelid": {
  18574. "description": "对冲渠道ID",
  18575. "type": "string"
  18576. },
  18577. "createtime": {
  18578. "description": "创建时间",
  18579. "type": "string"
  18580. },
  18581. "creatorid": {
  18582. "description": "创建人",
  18583. "type": "string"
  18584. },
  18585. "fcid": {
  18586. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18587. "type": "integer"
  18588. },
  18589. "fcname": {
  18590. "description": "期货公司名称",
  18591. "type": "string"
  18592. },
  18593. "isvalid": {
  18594. "description": "是否有效 - 0:无效 1:有效",
  18595. "type": "integer"
  18596. },
  18597. "mhpaddress": {
  18598. "description": "MHP服务地址(IP:Port)",
  18599. "type": "string"
  18600. },
  18601. "riskrulegroupid": {
  18602. "description": "风控规则组ID",
  18603. "type": "string"
  18604. },
  18605. "tradefeetmpid": {
  18606. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18607. "type": "string"
  18608. },
  18609. "trademargintmpid": {
  18610. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18611. "type": "string"
  18612. },
  18613. "traderatetmpid": {
  18614. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18615. "type": "string"
  18616. },
  18617. "updatetime": {
  18618. "description": "更新时间",
  18619. "type": "string"
  18620. },
  18621. "updatorid": {
  18622. "description": "更新人",
  18623. "type": "string"
  18624. }
  18625. }
  18626. },
  18627. "models.ErmcpGGConvertCfg": {
  18628. "type": "object",
  18629. "properties": {
  18630. "convertratio": {
  18631. "description": "折算系数",
  18632. "type": "number"
  18633. },
  18634. "destgoodsgroupid": {
  18635. "description": "目标品种ID",
  18636. "type": "integer"
  18637. },
  18638. "dstcode": {
  18639. "description": "目录品种代码",
  18640. "type": "string"
  18641. },
  18642. "dstexchangecode": {
  18643. "description": "目标期货交易所",
  18644. "type": "string"
  18645. },
  18646. "dstname": {
  18647. "description": "目标品种名称",
  18648. "type": "string"
  18649. },
  18650. "dstunitid": {
  18651. "description": "目标品种单位ID",
  18652. "type": "integer"
  18653. },
  18654. "dstunitidname": {
  18655. "description": "目标品种单位名称",
  18656. "type": "string"
  18657. },
  18658. "modifytime": {
  18659. "description": "修改时间",
  18660. "type": "string"
  18661. },
  18662. "srccode": {
  18663. "description": "源品种代码",
  18664. "type": "string"
  18665. },
  18666. "srcexchangecode": {
  18667. "description": "源期货交易所",
  18668. "type": "string"
  18669. },
  18670. "srcgoodsgroupid": {
  18671. "description": "源品种ID",
  18672. "type": "integer"
  18673. },
  18674. "srcname": {
  18675. "description": "源品种名称",
  18676. "type": "string"
  18677. },
  18678. "srcunitid": {
  18679. "description": "源品种单位ID",
  18680. "type": "integer"
  18681. },
  18682. "srcunitidname": {
  18683. "description": "源品种单位名称",
  18684. "type": "string"
  18685. }
  18686. }
  18687. },
  18688. "models.ErmcpGoods": {
  18689. "type": "object",
  18690. "required": [
  18691. "goodscode",
  18692. "goodsid",
  18693. "goodsname",
  18694. "marketid"
  18695. ],
  18696. "properties": {
  18697. "agreeunit": {
  18698. "description": "合约单位",
  18699. "type": "number"
  18700. },
  18701. "areauserid": {
  18702. "description": "所属机构",
  18703. "type": "integer"
  18704. },
  18705. "auditaccountid": {
  18706. "description": "审核操作员账号",
  18707. "type": "integer"
  18708. },
  18709. "audittime": {
  18710. "description": "审核时间",
  18711. "type": "string"
  18712. },
  18713. "cancelaccountid": {
  18714. "description": "注销操作员账号",
  18715. "type": "integer"
  18716. },
  18717. "canceltime": {
  18718. "description": "注销时间",
  18719. "type": "string"
  18720. },
  18721. "closepricemode": {
  18722. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18723. "type": "integer"
  18724. },
  18725. "closepriceparam": {
  18726. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18727. "type": "number"
  18728. },
  18729. "createtime": {
  18730. "description": "创建时间",
  18731. "type": "string"
  18732. },
  18733. "creatorid": {
  18734. "description": "创建人",
  18735. "type": "integer"
  18736. },
  18737. "currencyid": {
  18738. "description": "报价货币ID",
  18739. "type": "integer"
  18740. },
  18741. "cutmode": {
  18742. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18743. "type": "integer"
  18744. },
  18745. "decimalplace": {
  18746. "description": "报价小数位",
  18747. "type": "integer"
  18748. },
  18749. "delistingdate": {
  18750. "description": "商品退市时间(状态:退市) -- 已作废",
  18751. "type": "string"
  18752. },
  18753. "delistingmode": {
  18754. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18755. "type": "integer"
  18756. },
  18757. "deliveryflag": {
  18758. "description": "交割标志 - 0:不可交割 1:可交割",
  18759. "type": "integer"
  18760. },
  18761. "enumdicname": {
  18762. "description": "单位名称",
  18763. "type": "string"
  18764. },
  18765. "forceclosemode": {
  18766. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18767. "type": "integer"
  18768. },
  18769. "forceclosevalue": {
  18770. "description": "定期强平参数 [收益权]",
  18771. "type": "integer"
  18772. },
  18773. "goodscode": {
  18774. "description": "商品代码(内部)",
  18775. "type": "string"
  18776. },
  18777. "goodscurrencyid": {
  18778. "description": "合约货币ID",
  18779. "type": "integer"
  18780. },
  18781. "goodsgroupid": {
  18782. "description": "所属商品组ID",
  18783. "type": "integer"
  18784. },
  18785. "goodsid": {
  18786. "description": "商品ID(自增ID SEQ_GOODS)",
  18787. "type": "integer"
  18788. },
  18789. "goodsname": {
  18790. "description": "商品名称",
  18791. "type": "string"
  18792. },
  18793. "goodsquotetype": {
  18794. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18795. "type": "integer"
  18796. },
  18797. "goodsstatus": {
  18798. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18799. "type": "integer"
  18800. },
  18801. "goodstradetype": {
  18802. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18803. "type": "integer"
  18804. },
  18805. "goodunitid": {
  18806. "description": "报价单位ID",
  18807. "type": "integer"
  18808. },
  18809. "hasquoter": {
  18810. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18811. "type": "integer"
  18812. },
  18813. "hqprotecttime": {
  18814. "description": "行情保护时间(秒)",
  18815. "type": "integer"
  18816. },
  18817. "innerdealmode": {
  18818. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18819. "type": "integer"
  18820. },
  18821. "isbuylimited": {
  18822. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18823. "type": "integer"
  18824. },
  18825. "isvisible": {
  18826. "description": "游客是否可见 - 0:不可见 1:可见",
  18827. "type": "integer"
  18828. },
  18829. "lasttradedate": {
  18830. "description": "最后交易日期(状态:待退市)",
  18831. "type": "string"
  18832. },
  18833. "listingdate": {
  18834. "description": "交易开始日期",
  18835. "type": "string"
  18836. },
  18837. "marketid": {
  18838. "description": "所属市场ID",
  18839. "type": "integer"
  18840. },
  18841. "modifierid": {
  18842. "description": "修改人",
  18843. "type": "integer"
  18844. },
  18845. "modifystatus": {
  18846. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18847. "type": "integer"
  18848. },
  18849. "modifytime": {
  18850. "description": "修改时间",
  18851. "type": "string"
  18852. },
  18853. "outerdealmode": {
  18854. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18855. "type": "integer"
  18856. },
  18857. "outgoodscode": {
  18858. "description": "商品代码(外部)",
  18859. "type": "string"
  18860. },
  18861. "pictureurl": {
  18862. "description": "商品图片",
  18863. "type": "string"
  18864. },
  18865. "qtydecimalplace": {
  18866. "description": "成交量小数位",
  18867. "type": "integer"
  18868. },
  18869. "quotegear": {
  18870. "description": "行情档位(1-10)",
  18871. "type": "integer"
  18872. },
  18873. "quoteminunit": {
  18874. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18875. "type": "integer"
  18876. },
  18877. "quoteshowtype": {
  18878. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18879. "type": "integer"
  18880. },
  18881. "quoteshowtypeinterval": {
  18882. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18883. "type": "integer"
  18884. },
  18885. "relatedgoodsid": {
  18886. "description": "关联参考商品ID",
  18887. "type": "integer"
  18888. },
  18889. "remark": {
  18890. "description": "备注",
  18891. "type": "string"
  18892. },
  18893. "trademode": {
  18894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18895. "type": "integer"
  18896. }
  18897. }
  18898. },
  18899. "models.ErmcpGoodsBrand": {
  18900. "type": "object",
  18901. "properties": {
  18902. "areauserid": {
  18903. "description": "所属机构",
  18904. "type": "integer"
  18905. },
  18906. "brandid": {
  18907. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18908. "type": "integer"
  18909. },
  18910. "brandname": {
  18911. "description": "品牌名称",
  18912. "type": "string"
  18913. },
  18914. "createtime": {
  18915. "description": "创建时间",
  18916. "type": "string"
  18917. },
  18918. "creatorid": {
  18919. "description": "创建人",
  18920. "type": "integer"
  18921. },
  18922. "creatorsrc": {
  18923. "description": "创建人来源 - 1:管理端 2:终端",
  18924. "type": "integer"
  18925. },
  18926. "deliverygoodsid": {
  18927. "description": "现货品种ID",
  18928. "type": "integer"
  18929. },
  18930. "isvalid": {
  18931. "description": "是否有效 - 0:无效 1:有效",
  18932. "type": "integer"
  18933. },
  18934. "updatetime": {
  18935. "description": "更新时间",
  18936. "type": "string"
  18937. },
  18938. "updatorid": {
  18939. "description": "更新人",
  18940. "type": "integer"
  18941. },
  18942. "updatorsrc": {
  18943. "description": "更新人来源 - 1:管理端 2:终端",
  18944. "type": "integer"
  18945. },
  18946. "wrstandardid": {
  18947. "description": "现货商品ID",
  18948. "type": "integer"
  18949. }
  18950. }
  18951. },
  18952. "models.ErmcpGoodsModel": {
  18953. "type": "object",
  18954. "properties": {
  18955. "areauserid": {
  18956. "description": "所属机构",
  18957. "type": "integer"
  18958. },
  18959. "convertfactor": {
  18960. "description": "标仓系数",
  18961. "type": "number"
  18962. },
  18963. "createtime": {
  18964. "description": "创建时间",
  18965. "type": "string"
  18966. },
  18967. "creatorid": {
  18968. "description": "创建人",
  18969. "type": "integer"
  18970. },
  18971. "creatorsrc": {
  18972. "description": "创建人来源 - 1:管理端 2:终端",
  18973. "type": "integer"
  18974. },
  18975. "deliverygoodsid": {
  18976. "description": "现货品种ID",
  18977. "type": "integer"
  18978. },
  18979. "isvalid": {
  18980. "description": "是否有效 - 0:无效 1:有效",
  18981. "type": "integer"
  18982. },
  18983. "modelid": {
  18984. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18985. "type": "integer"
  18986. },
  18987. "modelname": {
  18988. "description": "型号名称",
  18989. "type": "string"
  18990. },
  18991. "updatetime": {
  18992. "description": "更新时间",
  18993. "type": "string"
  18994. },
  18995. "updatorid": {
  18996. "description": "更新人",
  18997. "type": "integer"
  18998. },
  18999. "updatorsrc": {
  19000. "description": "更新人来源 - 1:管理端 2:终端",
  19001. "type": "integer"
  19002. },
  19003. "wrstandardid": {
  19004. "description": "现货商品ID",
  19005. "type": "integer"
  19006. }
  19007. }
  19008. },
  19009. "models.ErmcpHedgePosition": {
  19010. "type": "object",
  19011. "properties": {
  19012. "accountid": {
  19013. "description": "资金账号[外部母账户]",
  19014. "type": "integer"
  19015. },
  19016. "curbuyposition": {
  19017. "description": "期末买头寸",
  19018. "type": "integer"
  19019. },
  19020. "cursellposition": {
  19021. "description": "期末卖头寸",
  19022. "type": "integer"
  19023. },
  19024. "curtdbuyposition": {
  19025. "description": "期末今日买头寸",
  19026. "type": "integer"
  19027. },
  19028. "curtdsellposition": {
  19029. "description": "期末今日卖头寸",
  19030. "type": "integer"
  19031. },
  19032. "curydbuyposition": {
  19033. "description": "期末上日买头寸",
  19034. "type": "integer"
  19035. },
  19036. "curydsellposition": {
  19037. "description": "期末上日卖头寸",
  19038. "type": "integer"
  19039. },
  19040. "decreaseqty": {
  19041. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19042. "type": "integer"
  19043. },
  19044. "fretdbuyposition": {
  19045. "description": "冻结今日买头寸",
  19046. "type": "integer"
  19047. },
  19048. "fretdsellposition": {
  19049. "description": "冻结今日卖头寸",
  19050. "type": "integer"
  19051. },
  19052. "freydbuyposition": {
  19053. "description": "冻结上日买头寸",
  19054. "type": "integer"
  19055. },
  19056. "freydsellposition": {
  19057. "description": "冻结上日卖头寸",
  19058. "type": "integer"
  19059. },
  19060. "goodscode": {
  19061. "description": "商品代码",
  19062. "type": "string"
  19063. },
  19064. "goodsid": {
  19065. "description": "商品id",
  19066. "type": "integer"
  19067. },
  19068. "goodsname": {
  19069. "description": "商品名称",
  19070. "type": "string"
  19071. },
  19072. "hedgeaccountcode": {
  19073. "description": "对冲账号",
  19074. "type": "string"
  19075. },
  19076. "hedgegoodsid": {
  19077. "description": "对冲合约ID",
  19078. "type": "integer"
  19079. },
  19080. "increaseqty": {
  19081. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19082. "type": "integer"
  19083. },
  19084. "marketid": {
  19085. "description": "市场ID",
  19086. "type": "integer"
  19087. },
  19088. "relateduserid": {
  19089. "description": "关联用户id",
  19090. "type": "integer"
  19091. },
  19092. "totalcurqty": {
  19093. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19094. "type": "integer"
  19095. },
  19096. "totalydqty": {
  19097. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19098. "type": "integer"
  19099. },
  19100. "tradedate": {
  19101. "description": "交易日(yyyyMMdd)",
  19102. "type": "string"
  19103. },
  19104. "ydbuyposition": {
  19105. "description": "期初买头寸",
  19106. "type": "integer"
  19107. },
  19108. "ydsellposition": {
  19109. "description": "期初卖头寸",
  19110. "type": "integer"
  19111. }
  19112. }
  19113. },
  19114. "models.ErmcpHedgePositionDetail": {
  19115. "type": "object",
  19116. "properties": {
  19117. "buyorsell": {
  19118. "description": "买卖方向 0-买 1-卖",
  19119. "type": "integer"
  19120. },
  19121. "channelbuildtype": {
  19122. "description": "开平方向 1-建仓 2-平仓",
  19123. "type": "integer"
  19124. },
  19125. "goodscode": {
  19126. "description": "商品代码",
  19127. "type": "string"
  19128. },
  19129. "goodsname": {
  19130. "description": "商品名称",
  19131. "type": "string"
  19132. },
  19133. "hedgegoodsid": {
  19134. "description": "商品id",
  19135. "type": "integer"
  19136. },
  19137. "tradeqty": {
  19138. "description": "数量(成交数量)",
  19139. "type": "integer"
  19140. },
  19141. "tradetime": {
  19142. "description": "时间(成交时间)",
  19143. "type": "string"
  19144. }
  19145. }
  19146. },
  19147. "models.ErmcpHisExposure": {
  19148. "type": "object",
  19149. "properties": {
  19150. "needhedgeexposoure": {
  19151. "description": "应套保敞口",
  19152. "type": "number"
  19153. },
  19154. "reckondate": {
  19155. "description": "日照时期(yyyyMMdd)",
  19156. "type": "string"
  19157. },
  19158. "totalexposure": {
  19159. "description": "总敞口",
  19160. "type": "number"
  19161. }
  19162. }
  19163. },
  19164. "models.ErmcpHisExposureS": {
  19165. "type": "object",
  19166. "properties": {
  19167. "data": {
  19168. "description": "历史敞口",
  19169. "type": "array",
  19170. "items": {
  19171. "$ref": "#/definitions/models.ErmcpHisExposure"
  19172. }
  19173. },
  19174. "enumdicname": {
  19175. "description": "单位名称",
  19176. "type": "string"
  19177. },
  19178. "middlegoodscode": {
  19179. "description": "套保品种代码",
  19180. "type": "string"
  19181. },
  19182. "middlegoodsid": {
  19183. "description": "套保品种ID",
  19184. "type": "integer"
  19185. },
  19186. "middlegoodsname": {
  19187. "description": "套保品种名称",
  19188. "type": "string"
  19189. }
  19190. }
  19191. },
  19192. "models.ErmcpLoginTaAccount": {
  19193. "type": "object",
  19194. "properties": {
  19195. "accountid": {
  19196. "description": "账号id",
  19197. "type": "integer"
  19198. },
  19199. "accountname": {
  19200. "description": "账号名称",
  19201. "type": "string"
  19202. }
  19203. }
  19204. },
  19205. "models.ErmcpLoginUser": {
  19206. "type": "object",
  19207. "properties": {
  19208. "acclist": {
  19209. "description": "关联资金账号",
  19210. "type": "array",
  19211. "items": {
  19212. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19213. }
  19214. },
  19215. "accountname": {
  19216. "description": "用户名称",
  19217. "type": "string"
  19218. },
  19219. "clientroleid": {
  19220. "description": "角色id(usertype=2)",
  19221. "type": "integer"
  19222. },
  19223. "createtime": {
  19224. "description": "创建时间",
  19225. "type": "string"
  19226. },
  19227. "logincode": {
  19228. "description": "登录代码",
  19229. "type": "string"
  19230. },
  19231. "loginid": {
  19232. "description": "登录id(LOGINID)",
  19233. "type": "integer"
  19234. },
  19235. "loginname": {
  19236. "description": "登录名称(loginaccount表中的accountname字段)",
  19237. "type": "string"
  19238. },
  19239. "loginstatus": {
  19240. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19241. "type": "integer"
  19242. },
  19243. "memberuserid": {
  19244. "description": "所属会员id",
  19245. "type": "integer"
  19246. },
  19247. "mobile": {
  19248. "description": "手机号",
  19249. "type": "string"
  19250. },
  19251. "modifytime": {
  19252. "description": "修改时间",
  19253. "type": "string"
  19254. },
  19255. "password": {
  19256. "description": "密码(不可解密)",
  19257. "type": "string"
  19258. },
  19259. "rolename": {
  19260. "description": "角色名称",
  19261. "type": "string"
  19262. },
  19263. "rolestatus": {
  19264. "description": "角色状态 1-启用 2-停用",
  19265. "type": "integer"
  19266. },
  19267. "roletype": {
  19268. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19269. "type": "string"
  19270. },
  19271. "userid": {
  19272. "description": "用户id",
  19273. "type": "integer"
  19274. },
  19275. "usertype": {
  19276. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19277. "type": "integer"
  19278. }
  19279. }
  19280. },
  19281. "models.ErmcpLoginUserEx": {
  19282. "type": "object",
  19283. "properties": {
  19284. "accountstatus": {
  19285. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19286. "type": "integer"
  19287. },
  19288. "mobile": {
  19289. "description": "手机号",
  19290. "type": "string"
  19291. },
  19292. "querytype": {
  19293. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19294. "type": "integer"
  19295. },
  19296. "roleid": {
  19297. "description": "角色id(交易账户-\u003e用户id)",
  19298. "type": "integer"
  19299. },
  19300. "rolename": {
  19301. "description": "角色名称(交易账户-\u003e用户名称)",
  19302. "type": "string"
  19303. },
  19304. "userlist": {
  19305. "description": "用户列表",
  19306. "type": "array",
  19307. "items": {
  19308. "$ref": "#/definitions/models.ErmcpLoginUser"
  19309. }
  19310. },
  19311. "usertype": {
  19312. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19313. "type": "integer"
  19314. }
  19315. }
  19316. },
  19317. "models.ErmcpMiddleGoodsChangeLog": {
  19318. "type": "object",
  19319. "properties": {
  19320. "aftervalue": {
  19321. "description": "变更后",
  19322. "type": "number"
  19323. },
  19324. "applyid": {
  19325. "description": "操作人",
  19326. "type": "integer"
  19327. },
  19328. "applyname": {
  19329. "description": "操作人名称",
  19330. "type": "string"
  19331. },
  19332. "applysrc": {
  19333. "description": "操作来源 - 1:管理端 2:终端",
  19334. "type": "integer"
  19335. },
  19336. "beforevalue": {
  19337. "description": "变更前",
  19338. "type": "number"
  19339. },
  19340. "changelogtype": {
  19341. "description": "变更流水类型 - 1:套保比率变更",
  19342. "type": "integer"
  19343. },
  19344. "handlestatus": {
  19345. "description": "处理状态",
  19346. "type": "integer"
  19347. },
  19348. "logdatetime": {
  19349. "description": "流水日期",
  19350. "type": "string"
  19351. },
  19352. "logid": {
  19353. "description": "流水ID",
  19354. "type": "integer"
  19355. },
  19356. "logremark": {
  19357. "description": "流水备注",
  19358. "type": "string"
  19359. },
  19360. "middlegoodsid": {
  19361. "description": "套保品种ID",
  19362. "type": "integer"
  19363. },
  19364. "tradedate": {
  19365. "description": "交易日(yyyyMMdd)",
  19366. "type": "string"
  19367. },
  19368. "updatetime": {
  19369. "description": "更新时间",
  19370. "type": "string"
  19371. }
  19372. }
  19373. },
  19374. "models.ErmcpMiddleGoodsDetail": {
  19375. "type": "object",
  19376. "properties": {
  19377. "cvList": {
  19378. "description": "期货品种折算列表",
  19379. "type": "array",
  19380. "items": {
  19381. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19382. }
  19383. },
  19384. "mg": {
  19385. "description": "套保品种基本信息",
  19386. "type": "object",
  19387. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19388. },
  19389. "wrcList": {
  19390. "description": "现货品种列表(现货商品折算配置)",
  19391. "type": "array",
  19392. "items": {
  19393. "$ref": "#/definitions/models.WRSConverTDetail"
  19394. }
  19395. }
  19396. }
  19397. },
  19398. "models.ErmcpMiddleGoodsModel": {
  19399. "type": "object",
  19400. "properties": {
  19401. "areauserid": {
  19402. "description": "机构用户ID",
  19403. "type": "integer"
  19404. },
  19405. "createtime": {
  19406. "description": "修改时间",
  19407. "type": "string"
  19408. },
  19409. "enumdicname": {
  19410. "description": "单位名称",
  19411. "type": "string"
  19412. },
  19413. "evaluateratio": {
  19414. "description": "估价系数",
  19415. "type": "number"
  19416. },
  19417. "goodsgroupid": {
  19418. "description": "关联期货品种ID",
  19419. "type": "integer"
  19420. },
  19421. "goodsunitid": {
  19422. "description": "单位ID",
  19423. "type": "integer"
  19424. },
  19425. "isvalid": {
  19426. "description": "状态 0-无效(停用) 1-有效(正常)",
  19427. "type": "integer"
  19428. },
  19429. "middlegoodscode": {
  19430. "description": "套保品种代码",
  19431. "type": "string"
  19432. },
  19433. "middlegoodsid": {
  19434. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19435. "type": "integer"
  19436. },
  19437. "middlegoodsname": {
  19438. "description": "套保品种名称",
  19439. "type": "string"
  19440. },
  19441. "modifytime": {
  19442. "description": "修改时间",
  19443. "type": "string"
  19444. },
  19445. "needarbitrageratio": {
  19446. "description": "套利比例",
  19447. "type": "number"
  19448. },
  19449. "needhedgeratio": {
  19450. "description": "套保比率",
  19451. "type": "number"
  19452. },
  19453. "qtydecimalplace": {
  19454. "description": "数量小数位",
  19455. "type": "integer"
  19456. },
  19457. "relatedgoodsid": {
  19458. "description": "关联交易商品ID",
  19459. "type": "integer"
  19460. },
  19461. "relatedgoodstype": {
  19462. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19463. "type": "integer"
  19464. },
  19465. "remark": {
  19466. "description": "备注",
  19467. "type": "string"
  19468. }
  19469. }
  19470. },
  19471. "models.ErmcpMiddlegoodsRelateGoods": {
  19472. "type": "object",
  19473. "properties": {
  19474. "agreeunit": {
  19475. "description": "合约乘数",
  19476. "type": "number"
  19477. },
  19478. "convertratio": {
  19479. "description": "折算系数",
  19480. "type": "number"
  19481. },
  19482. "enumdicname": {
  19483. "description": "单位名称(交易商品)",
  19484. "type": "string"
  19485. },
  19486. "goodscode": {
  19487. "description": "交易商品代码",
  19488. "type": "string"
  19489. },
  19490. "goodsgroupid": {
  19491. "description": "交易品种id",
  19492. "type": "integer"
  19493. },
  19494. "goodsid": {
  19495. "description": "商品Id",
  19496. "type": "integer"
  19497. },
  19498. "goodsname": {
  19499. "description": "交易商品名称",
  19500. "type": "string"
  19501. },
  19502. "goodunitid": {
  19503. "description": "交易商品单位id",
  19504. "type": "integer"
  19505. },
  19506. "middlegoodsid": {
  19507. "description": "套保商品id",
  19508. "type": "integer"
  19509. },
  19510. "middlegoodsname": {
  19511. "description": "套保商品名称",
  19512. "type": "string"
  19513. },
  19514. "middlegoodsswcode": {
  19515. "description": "套保商品代码",
  19516. "type": "string"
  19517. },
  19518. "needarbitrageratio": {
  19519. "description": "应套利比例",
  19520. "type": "number"
  19521. },
  19522. "needhedgeratio": {
  19523. "description": "应套保比例",
  19524. "type": "number"
  19525. }
  19526. }
  19527. },
  19528. "models.ErmcpOPLogModel": {
  19529. "type": "object",
  19530. "properties": {
  19531. "aftervalue": {
  19532. "description": "变更后",
  19533. "type": "number"
  19534. },
  19535. "applyid": {
  19536. "description": "操作人ID",
  19537. "type": "string"
  19538. },
  19539. "applyname": {
  19540. "description": "操作人名称",
  19541. "type": "string"
  19542. },
  19543. "beforevalue": {
  19544. "description": "变更前",
  19545. "type": "number"
  19546. },
  19547. "biztype": {
  19548. "description": "业务类型 - 1:套保计划 2:现货合同",
  19549. "type": "integer"
  19550. },
  19551. "contracttype": {
  19552. "description": "现货合同类型 - 1:采购 -1:销售",
  19553. "type": "integer"
  19554. },
  19555. "logvalue": {
  19556. "description": "数值",
  19557. "type": "number"
  19558. },
  19559. "operatelogtype": {
  19560. "description": "操作流水类型",
  19561. "type": "integer"
  19562. },
  19563. "operatelogtypedesc": {
  19564. "description": "操作流水类型名称",
  19565. "type": "string"
  19566. },
  19567. "relatedid": {
  19568. "description": "现货合同ID\\套保计划",
  19569. "type": "string"
  19570. },
  19571. "updatetime": {
  19572. "description": "更新时间",
  19573. "type": "string"
  19574. }
  19575. }
  19576. },
  19577. "models.ErmcpPendingAudit": {
  19578. "type": "object",
  19579. "properties": {
  19580. "areastockqty": {
  19581. "description": "待审核数量: 库存申请",
  19582. "type": "integer"
  19583. },
  19584. "businessdjqty": {
  19585. "description": "待审核数量: 点价",
  19586. "type": "integer"
  19587. },
  19588. "businessfpqty": {
  19589. "description": "待审核数量: 发票",
  19590. "type": "integer"
  19591. },
  19592. "businessjsqty": {
  19593. "description": "待审核数量: 结算",
  19594. "type": "integer"
  19595. },
  19596. "businesskxqty": {
  19597. "description": "待审核数量: 款项",
  19598. "type": "integer"
  19599. },
  19600. "hedgeplanqty": {
  19601. "description": "待审核数量: 套保计划",
  19602. "type": "integer"
  19603. },
  19604. "spotcontractqty": {
  19605. "description": "待审核数量: 现货合同",
  19606. "type": "integer"
  19607. },
  19608. "userqty": {
  19609. "description": "待审核数量: 用户",
  19610. "type": "integer"
  19611. }
  19612. }
  19613. },
  19614. "models.ErmcpRealExposureModel": {
  19615. "type": "object",
  19616. "properties": {
  19617. "AreaUserID": {
  19618. "description": "所属机构",
  19619. "type": "integer"
  19620. },
  19621. "BuyFutureQty": {
  19622. "description": "买入期货数量",
  19623. "type": "number"
  19624. },
  19625. "BuyPlanQty": {
  19626. "description": "采购计划数量",
  19627. "type": "number"
  19628. },
  19629. "BuyPricedQty": {
  19630. "description": "采购合同已定价数量",
  19631. "type": "number"
  19632. },
  19633. "MiddleGoodsCode": {
  19634. "description": "套保品种代码",
  19635. "type": "string"
  19636. },
  19637. "MiddleGoodsHedgeRatio": {
  19638. "description": "套保比例",
  19639. "type": "number"
  19640. },
  19641. "MiddleGoodsID": {
  19642. "description": "套保品种",
  19643. "type": "integer"
  19644. },
  19645. "MiddleGoodsName": {
  19646. "description": "套保品种名称",
  19647. "type": "string"
  19648. },
  19649. "NeedHedgeExposoure": {
  19650. "description": "应套保敞口(套保敞口)",
  19651. "type": "number"
  19652. },
  19653. "NeedHedgeRatio": {
  19654. "description": "应套保敞口比例",
  19655. "type": "number"
  19656. },
  19657. "OriBuyFutureQty": {
  19658. "description": "期初买入期货数量",
  19659. "type": "number"
  19660. },
  19661. "OriBuyPlanQty": {
  19662. "description": "期初采购计划数量",
  19663. "type": "number"
  19664. },
  19665. "OriBuyPricedQty": {
  19666. "description": "期初采购合同已定价数量",
  19667. "type": "number"
  19668. },
  19669. "OriSellFutureQty": {
  19670. "description": "期初卖出期货数量",
  19671. "type": "number"
  19672. },
  19673. "OriSellPlanQty": {
  19674. "description": "期初销售计划数量",
  19675. "type": "number"
  19676. },
  19677. "OriSellPricedQty": {
  19678. "description": "期初销售合同已定价数量",
  19679. "type": "number"
  19680. },
  19681. "SellFutureQty": {
  19682. "description": "卖出期货数量",
  19683. "type": "number"
  19684. },
  19685. "SellPlanQty": {
  19686. "description": "销售计划数量",
  19687. "type": "number"
  19688. },
  19689. "SellPricedQty": {
  19690. "description": "销售合同已定价数量",
  19691. "type": "number"
  19692. },
  19693. "TotalExposure": {
  19694. "description": "总敞口",
  19695. "type": "number"
  19696. },
  19697. "TotalFutureQty": {
  19698. "description": "期货总量",
  19699. "type": "number"
  19700. },
  19701. "TotalHedgeRatio": {
  19702. "description": "敞口比例",
  19703. "type": "number"
  19704. },
  19705. "TotalNeedHedgeQty": {
  19706. "description": "应套保总量(现货应套保总量)",
  19707. "type": "number"
  19708. },
  19709. "TotalSpotQty": {
  19710. "description": "现货总量",
  19711. "type": "number"
  19712. },
  19713. "arbitrageqty": {
  19714. "description": "套利量",
  19715. "type": "number"
  19716. },
  19717. "diffArbitrageQty": {
  19718. "description": "套利变动量",
  19719. "type": "number"
  19720. },
  19721. "diffExposoureQty": {
  19722. "description": "变动量(套保敞口)",
  19723. "type": "number"
  19724. },
  19725. "diffFutuQty": {
  19726. "description": "变动量(期货总量)",
  19727. "type": "number"
  19728. },
  19729. "diffHedgeQty": {
  19730. "description": "套保变动量",
  19731. "type": "number"
  19732. },
  19733. "diffQty": {
  19734. "description": "变动量(总敞口)",
  19735. "type": "number"
  19736. },
  19737. "diffSpotHedgeQty": {
  19738. "description": "变动量(现货应套保总量)",
  19739. "type": "number"
  19740. },
  19741. "diffSpotQty": {
  19742. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19743. "type": "number"
  19744. },
  19745. "enumdicname": {
  19746. "description": "单位名称",
  19747. "type": "string"
  19748. },
  19749. "hedgeqty": {
  19750. "description": "套保量",
  19751. "type": "number"
  19752. },
  19753. "needarbitrageqty": {
  19754. "description": "应套利量",
  19755. "type": "number"
  19756. },
  19757. "needarbitrageratio": {
  19758. "description": "套利比例",
  19759. "type": "number"
  19760. },
  19761. "needhedgeqty": {
  19762. "description": "应套保量",
  19763. "type": "number"
  19764. },
  19765. "oriTotalFutuQty": {
  19766. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19767. "type": "number"
  19768. },
  19769. "oriTotalSpotQty": {
  19770. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19771. "type": "number"
  19772. },
  19773. "oriarbitrageqty": {
  19774. "description": "期初套利量",
  19775. "type": "number"
  19776. },
  19777. "orihedgeqty": {
  19778. "description": "期初套保量",
  19779. "type": "number"
  19780. },
  19781. "orineedhedgeexposoure": {
  19782. "description": "期初套保敞口",
  19783. "type": "number"
  19784. },
  19785. "oritotalexposure": {
  19786. "description": "期初总敞口",
  19787. "type": "number"
  19788. },
  19789. "oritotalfutureqty": {
  19790. "description": "期初期货总量",
  19791. "type": "number"
  19792. },
  19793. "oritotalneedhedgeqty": {
  19794. "description": "期初现货应套保量",
  19795. "type": "number"
  19796. }
  19797. }
  19798. },
  19799. "models.ErmcpRole": {
  19800. "type": "object",
  19801. "properties": {
  19802. "areauserid": {
  19803. "description": "所属机构",
  19804. "type": "integer"
  19805. },
  19806. "autoid": {
  19807. "description": "角色ID(自增ID)",
  19808. "type": "integer"
  19809. },
  19810. "modifierid": {
  19811. "description": "修改人(创建人)",
  19812. "type": "integer"
  19813. },
  19814. "modifiername": {
  19815. "description": "修改人名称",
  19816. "type": "string"
  19817. },
  19818. "modifytime": {
  19819. "description": "修改时间(创建时间)",
  19820. "type": "string"
  19821. },
  19822. "rolename": {
  19823. "description": "角色名称",
  19824. "type": "string"
  19825. },
  19826. "rolestatus": {
  19827. "description": "角色状态 - 1:启用 2:停用",
  19828. "type": "integer"
  19829. },
  19830. "roletype": {
  19831. "description": "角色类型 - 1- 管理端 2- 交易端",
  19832. "type": "integer"
  19833. }
  19834. }
  19835. },
  19836. "models.ErmcpRoleMenu": {
  19837. "type": "object",
  19838. "properties": {
  19839. "iconame": {
  19840. "description": "菜单图标",
  19841. "type": "string"
  19842. },
  19843. "ishadrole": {
  19844. "description": "是否有权限",
  19845. "type": "boolean"
  19846. },
  19847. "menutype": {
  19848. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19849. "type": "integer"
  19850. },
  19851. "parentcode": {
  19852. "description": "上级资源代码",
  19853. "type": "string"
  19854. },
  19855. "remark": {
  19856. "description": "菜单备注",
  19857. "type": "string"
  19858. },
  19859. "resourcecode": {
  19860. "description": "菜单代码",
  19861. "type": "string"
  19862. },
  19863. "resourcelevel": {
  19864. "description": "级别",
  19865. "type": "integer"
  19866. },
  19867. "resourcename": {
  19868. "description": "菜单名称",
  19869. "type": "string"
  19870. },
  19871. "roleid": {
  19872. "description": "角色id",
  19873. "type": "integer"
  19874. },
  19875. "sort": {
  19876. "description": "排序",
  19877. "type": "integer"
  19878. },
  19879. "url": {
  19880. "description": "URL",
  19881. "type": "string"
  19882. },
  19883. "userid": {
  19884. "description": "用户id",
  19885. "type": "integer"
  19886. }
  19887. }
  19888. },
  19889. "models.ErmcpRoleMenuEx": {
  19890. "type": "object",
  19891. "properties": {
  19892. "menu": {
  19893. "description": "父级菜单",
  19894. "type": "object",
  19895. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19896. },
  19897. "subMenu": {
  19898. "description": "子级菜单",
  19899. "type": "array",
  19900. "items": {
  19901. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19902. }
  19903. }
  19904. }
  19905. },
  19906. "models.ErmcpTaAccount": {
  19907. "type": "object",
  19908. "properties": {
  19909. "accountid": {
  19910. "description": "账户id",
  19911. "type": "integer"
  19912. },
  19913. "accountname": {
  19914. "description": "账户名称",
  19915. "type": "string"
  19916. },
  19917. "currencyid": {
  19918. "description": "币种id",
  19919. "type": "integer"
  19920. },
  19921. "hedgeaccountcode": {
  19922. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19923. "type": "string"
  19924. },
  19925. "ismain": {
  19926. "description": "是否主账户 0-否 1-是",
  19927. "type": "integer"
  19928. },
  19929. "parentaccountid": {
  19930. "description": "父账户id",
  19931. "type": "integer"
  19932. },
  19933. "relateduserid": {
  19934. "description": "关联userid",
  19935. "type": "integer"
  19936. },
  19937. "tradefeetmpid": {
  19938. "description": "手续费模板id",
  19939. "type": "integer"
  19940. },
  19941. "tradefeetmpname": {
  19942. "description": "手续费模板名称",
  19943. "type": "string"
  19944. },
  19945. "trademargintmpid": {
  19946. "description": "保证金模板id",
  19947. "type": "integer"
  19948. },
  19949. "trademargintmpname": {
  19950. "description": "保证金模板名称",
  19951. "type": "string"
  19952. },
  19953. "traderatetmpid": {
  19954. "description": "汇率模板id",
  19955. "type": "integer"
  19956. },
  19957. "traderatetmpname": {
  19958. "description": "汇率模板名称",
  19959. "type": "string"
  19960. },
  19961. "tradestatus": {
  19962. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19963. "type": "integer"
  19964. },
  19965. "userid": {
  19966. "description": "用户id",
  19967. "type": "integer"
  19968. }
  19969. }
  19970. },
  19971. "models.ErmcpTaAccountEx": {
  19972. "type": "object",
  19973. "properties": {
  19974. "mainAcc": {
  19975. "description": "主账号",
  19976. "type": "object",
  19977. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19978. },
  19979. "subacclist": {
  19980. "description": "子账号列表",
  19981. "type": "array",
  19982. "items": {
  19983. "$ref": "#/definitions/models.ErmcpTaAccount"
  19984. }
  19985. }
  19986. }
  19987. },
  19988. "models.ErmcpTaAccountInfo": {
  19989. "type": "object",
  19990. "properties": {
  19991. "accountid": {
  19992. "description": "资金账户ID",
  19993. "type": "integer"
  19994. },
  19995. "accountname": {
  19996. "description": "账户名称",
  19997. "type": "string"
  19998. },
  19999. "balance": {
  20000. "description": "期初余额",
  20001. "type": "number"
  20002. },
  20003. "capitalbalance": {
  20004. "description": "本金余额[外部子账户实际出入金余额]",
  20005. "type": "number"
  20006. },
  20007. "closepl": {
  20008. "description": "今日平仓盈亏",
  20009. "type": "number"
  20010. },
  20011. "creditdecrease": {
  20012. "description": "今日授信减少",
  20013. "type": "number"
  20014. },
  20015. "creditincrease": {
  20016. "description": "今日授信增加",
  20017. "type": "number"
  20018. },
  20019. "curdebt": {
  20020. "description": "期末欠款",
  20021. "type": "number"
  20022. },
  20023. "currencyid": {
  20024. "description": "货币ID",
  20025. "type": "integer"
  20026. },
  20027. "currentbalance": {
  20028. "description": "期末余额",
  20029. "type": "number"
  20030. },
  20031. "freezecharge": {
  20032. "description": "手续费冻结",
  20033. "type": "number"
  20034. },
  20035. "freezemargin": {
  20036. "description": "冻结保证金",
  20037. "type": "number"
  20038. },
  20039. "fromaccountid": {
  20040. "description": "所属上级账户",
  20041. "type": "integer"
  20042. },
  20043. "inamount": {
  20044. "description": "今日入金金额(包括三方入金)",
  20045. "type": "number"
  20046. },
  20047. "ismain": {
  20048. "description": "是否母账号 0:不是母账户 1:是母账户",
  20049. "type": "integer"
  20050. },
  20051. "mortgagecredit": {
  20052. "description": "授信金额",
  20053. "type": "number"
  20054. },
  20055. "oridebt": {
  20056. "description": "期初欠款",
  20057. "type": "number"
  20058. },
  20059. "orifreezecharge": {
  20060. "description": "期初手续费冻结",
  20061. "type": "number"
  20062. },
  20063. "orifreezemargin": {
  20064. "description": "期初冻结保证金",
  20065. "type": "number"
  20066. },
  20067. "orimortgagecredit": {
  20068. "description": "期初授信金额",
  20069. "type": "number"
  20070. },
  20071. "oriothercredit": {
  20072. "description": "期初其它授信金额",
  20073. "type": "number"
  20074. },
  20075. "oriotherfreezemargin": {
  20076. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20077. "type": "number"
  20078. },
  20079. "orioutamountfreeze": {
  20080. "description": "期初出金冻结",
  20081. "type": "number"
  20082. },
  20083. "oriusedmargin": {
  20084. "description": "期初占用保证金",
  20085. "type": "number"
  20086. },
  20087. "othercredit": {
  20088. "description": "其它授信金额",
  20089. "type": "number"
  20090. },
  20091. "othercreditdecrease": {
  20092. "description": "今日其它授信减少",
  20093. "type": "number"
  20094. },
  20095. "othercreditincrease": {
  20096. "description": "今日其它授信增加",
  20097. "type": "number"
  20098. },
  20099. "otherfreezemargin": {
  20100. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20101. "type": "number"
  20102. },
  20103. "outamount": {
  20104. "description": "今日出金金额(包括三方出金)",
  20105. "type": "number"
  20106. },
  20107. "outamountfreeze": {
  20108. "description": "出金冻结",
  20109. "type": "number"
  20110. },
  20111. "outthreshold": {
  20112. "description": "出金阈值",
  20113. "type": "number"
  20114. },
  20115. "parentaccountid": {
  20116. "description": "所属根账号",
  20117. "type": "integer"
  20118. },
  20119. "paycharge": {
  20120. "description": "今日手续费支出",
  20121. "type": "number"
  20122. },
  20123. "relateduserid": {
  20124. "description": "关联用户",
  20125. "type": "integer"
  20126. },
  20127. "signstatus": {
  20128. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20129. "type": "integer"
  20130. },
  20131. "sublevelpath": {
  20132. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20133. "type": "string"
  20134. },
  20135. "taaccounttype": {
  20136. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20137. "type": "integer"
  20138. },
  20139. "thirdinamount": {
  20140. "description": "今日三方入金",
  20141. "type": "number"
  20142. },
  20143. "thirdoutamount": {
  20144. "description": "今日三方出金",
  20145. "type": "number"
  20146. },
  20147. "tradestatus": {
  20148. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20149. "type": "integer"
  20150. },
  20151. "transferamount": {
  20152. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20153. "type": "number"
  20154. },
  20155. "usedmargin": {
  20156. "description": "占用保证金",
  20157. "type": "number"
  20158. },
  20159. "userid": {
  20160. "description": "用户ID",
  20161. "type": "integer"
  20162. }
  20163. }
  20164. },
  20165. "models.ErmcpTaAccountM": {
  20166. "type": "object",
  20167. "properties": {
  20168. "accountid": {
  20169. "description": "账户id",
  20170. "type": "integer"
  20171. },
  20172. "accountname": {
  20173. "description": "账户名称",
  20174. "type": "string"
  20175. },
  20176. "currencyid": {
  20177. "description": "币种id",
  20178. "type": "integer"
  20179. },
  20180. "fcid": {
  20181. "description": "期货公司id",
  20182. "type": "integer"
  20183. },
  20184. "fcname": {
  20185. "description": "期货公司代码",
  20186. "type": "string"
  20187. },
  20188. "hedgeaccountcode": {
  20189. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20190. "type": "string"
  20191. },
  20192. "ismain": {
  20193. "description": "是否主账户 0-否 1-是",
  20194. "type": "integer"
  20195. },
  20196. "parentaccountid": {
  20197. "description": "父账户id",
  20198. "type": "integer"
  20199. },
  20200. "relateduserid": {
  20201. "description": "关联userid",
  20202. "type": "integer"
  20203. },
  20204. "tradefeetmpid": {
  20205. "description": "手续费模板id",
  20206. "type": "integer"
  20207. },
  20208. "tradefeetmpname": {
  20209. "description": "手续费模板名称",
  20210. "type": "string"
  20211. },
  20212. "trademargintmpid": {
  20213. "description": "保证金模板id",
  20214. "type": "integer"
  20215. },
  20216. "trademargintmpname": {
  20217. "description": "保证金模板名称",
  20218. "type": "string"
  20219. },
  20220. "traderatetmpid": {
  20221. "description": "汇率模板id",
  20222. "type": "integer"
  20223. },
  20224. "traderatetmpname": {
  20225. "description": "汇率模板名称",
  20226. "type": "string"
  20227. },
  20228. "tradestatus": {
  20229. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20230. "type": "integer"
  20231. },
  20232. "userid": {
  20233. "description": "用户id",
  20234. "type": "integer"
  20235. }
  20236. }
  20237. },
  20238. "models.ErmcpTradeConfigTMP": {
  20239. "type": "object",
  20240. "properties": {
  20241. "areauserid": {
  20242. "description": "所属机构",
  20243. "type": "integer"
  20244. },
  20245. "basiccurrencyid": {
  20246. "description": "基本币种ID[汇率] - 目标币种",
  20247. "type": "integer"
  20248. },
  20249. "mainaccountid": {
  20250. "description": "主账户ID",
  20251. "type": "integer"
  20252. },
  20253. "modifierid": {
  20254. "description": "修改人",
  20255. "type": "integer"
  20256. },
  20257. "remark": {
  20258. "description": "备注",
  20259. "type": "string"
  20260. },
  20261. "tradeconfigtmpid": {
  20262. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20263. "type": "integer"
  20264. },
  20265. "tradeconfigtmpname": {
  20266. "description": "交易配置模板名称",
  20267. "type": "string"
  20268. },
  20269. "tradeconfigtmptype": {
  20270. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20271. "type": "integer"
  20272. },
  20273. "updatetime": {
  20274. "description": "更新时间",
  20275. "type": "string"
  20276. }
  20277. }
  20278. },
  20279. "models.ErmcpUserModel": {
  20280. "type": "object",
  20281. "properties": {
  20282. "address": {
  20283. "description": "通讯地址",
  20284. "type": "string"
  20285. },
  20286. "attachment1": {
  20287. "description": "附件1",
  20288. "type": "string"
  20289. },
  20290. "audittime": {
  20291. "description": "审核时间",
  20292. "type": "string"
  20293. },
  20294. "cardbackphotourl": {
  20295. "description": "证件反面图片地址",
  20296. "type": "string"
  20297. },
  20298. "cardfrontphotourl": {
  20299. "description": "证件正面图片地址",
  20300. "type": "string"
  20301. },
  20302. "cardnum": {
  20303. "description": "证件号码",
  20304. "type": "string"
  20305. },
  20306. "cardtype": {
  20307. "description": "证件类型",
  20308. "type": "integer"
  20309. },
  20310. "cardtypename": {
  20311. "description": "证件类型名称",
  20312. "type": "string"
  20313. },
  20314. "cityid": {
  20315. "description": "市",
  20316. "type": "integer"
  20317. },
  20318. "contactname": {
  20319. "description": "联系人",
  20320. "type": "string"
  20321. },
  20322. "countryid": {
  20323. "description": "国家",
  20324. "type": "integer"
  20325. },
  20326. "createtime": {
  20327. "description": "创建时间",
  20328. "type": "string"
  20329. },
  20330. "customername": {
  20331. "description": "企业名称",
  20332. "type": "string"
  20333. },
  20334. "districtid": {
  20335. "description": "区域",
  20336. "type": "integer"
  20337. },
  20338. "email": {
  20339. "description": "邮件",
  20340. "type": "string"
  20341. },
  20342. "legalpersonname": {
  20343. "description": "法人姓名(企业)",
  20344. "type": "string"
  20345. },
  20346. "memberuserid": {
  20347. "description": "所属机构ID",
  20348. "type": "integer"
  20349. },
  20350. "mobile": {
  20351. "description": "手机号码",
  20352. "type": "string"
  20353. },
  20354. "modifytime": {
  20355. "description": "修改时间",
  20356. "type": "string"
  20357. },
  20358. "nickname": {
  20359. "description": "昵称",
  20360. "type": "string"
  20361. },
  20362. "provinceid": {
  20363. "description": "省",
  20364. "type": "integer"
  20365. },
  20366. "remark": {
  20367. "description": "备注",
  20368. "type": "string"
  20369. },
  20370. "status": {
  20371. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20372. "type": "integer"
  20373. },
  20374. "statusdesc": {
  20375. "description": "账户状态中文描述",
  20376. "type": "string"
  20377. },
  20378. "taxpayernum": {
  20379. "description": "纳税人识别号",
  20380. "type": "string"
  20381. },
  20382. "telphone": {
  20383. "description": "联系电话",
  20384. "type": "string"
  20385. },
  20386. "userid": {
  20387. "description": "用户ID",
  20388. "type": "integer"
  20389. },
  20390. "userinfotype": {
  20391. "description": "客户类型",
  20392. "type": "string"
  20393. }
  20394. }
  20395. },
  20396. "models.ErmcpWareHouseInfo": {
  20397. "type": "object",
  20398. "properties": {
  20399. "address": {
  20400. "description": "详细地址",
  20401. "type": "string"
  20402. },
  20403. "areauserid": {
  20404. "description": "所属机构",
  20405. "type": "integer"
  20406. },
  20407. "autoid": {
  20408. "description": "自增ID(仓库ID)",
  20409. "type": "integer"
  20410. },
  20411. "cityid": {
  20412. "description": "市",
  20413. "type": "integer"
  20414. },
  20415. "contactname": {
  20416. "description": "联系人",
  20417. "type": "string"
  20418. },
  20419. "contactnum": {
  20420. "description": "联系电话",
  20421. "type": "string"
  20422. },
  20423. "countryid": {
  20424. "description": "国家",
  20425. "type": "integer"
  20426. },
  20427. "createtime": {
  20428. "description": "创建时间",
  20429. "type": "string"
  20430. },
  20431. "districtid": {
  20432. "description": "区",
  20433. "type": "integer"
  20434. },
  20435. "hasvideo": {
  20436. "description": "是否有视频 - 0:无 1:有",
  20437. "type": "integer"
  20438. },
  20439. "provinceid": {
  20440. "description": "省",
  20441. "type": "integer"
  20442. },
  20443. "remark": {
  20444. "description": "审核备注",
  20445. "type": "string"
  20446. },
  20447. "videourl": {
  20448. "description": "视频地址",
  20449. "type": "string"
  20450. },
  20451. "warehousecode": {
  20452. "description": "仓库代码",
  20453. "type": "string"
  20454. },
  20455. "warehousename": {
  20456. "description": "仓库名称",
  20457. "type": "string"
  20458. },
  20459. "warehousestatus": {
  20460. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20461. "type": "integer"
  20462. },
  20463. "warehousetype": {
  20464. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20465. "type": "integer"
  20466. }
  20467. }
  20468. },
  20469. "models.Externalexchange": {
  20470. "type": "object",
  20471. "required": [
  20472. "autoid"
  20473. ],
  20474. "properties": {
  20475. "autoid": {
  20476. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20477. "type": "integer"
  20478. },
  20479. "exchangefullname": {
  20480. "description": "外部交易所全称",
  20481. "type": "string"
  20482. },
  20483. "exexchangecode": {
  20484. "description": "外部交易所代码",
  20485. "type": "string"
  20486. },
  20487. "exexchangename": {
  20488. "description": "外部交易所名称(简称)",
  20489. "type": "string"
  20490. },
  20491. "ismarketprice": {
  20492. "description": "是否支持市价 - 0:不支持 1:支持",
  20493. "type": "integer"
  20494. },
  20495. "quotegear": {
  20496. "description": "行情档位(1-10)",
  20497. "type": "integer"
  20498. },
  20499. "showbrokerflag": {
  20500. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20501. "type": "integer"
  20502. },
  20503. "updatetime": {
  20504. "description": "更新时间",
  20505. "type": "string"
  20506. }
  20507. }
  20508. },
  20509. "models.Funcmenulist": {
  20510. "type": "object",
  20511. "required": [
  20512. "resourcecode"
  20513. ],
  20514. "properties": {
  20515. "iconame": {
  20516. "description": "菜单图标",
  20517. "type": "string"
  20518. },
  20519. "menutype": {
  20520. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20521. "type": "integer"
  20522. },
  20523. "parentcode": {
  20524. "description": "上级资源代码",
  20525. "type": "string"
  20526. },
  20527. "remark": {
  20528. "description": "备注",
  20529. "type": "string"
  20530. },
  20531. "resourcecode": {
  20532. "description": "资源代码",
  20533. "type": "string"
  20534. },
  20535. "resourcelevel": {
  20536. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20537. "type": "integer"
  20538. },
  20539. "resourcename": {
  20540. "description": "资源名",
  20541. "type": "string"
  20542. },
  20543. "sort": {
  20544. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20545. "type": "integer"
  20546. },
  20547. "url": {
  20548. "description": "URL",
  20549. "type": "string"
  20550. }
  20551. }
  20552. },
  20553. "models.Goods": {
  20554. "type": "object",
  20555. "required": [
  20556. "goodscode",
  20557. "goodsid",
  20558. "goodsname",
  20559. "marketid"
  20560. ],
  20561. "properties": {
  20562. "agreeunit": {
  20563. "description": "合约单位",
  20564. "type": "number"
  20565. },
  20566. "areauserid": {
  20567. "description": "所属机构",
  20568. "type": "integer"
  20569. },
  20570. "auditaccountid": {
  20571. "description": "审核操作员账号",
  20572. "type": "integer"
  20573. },
  20574. "audittime": {
  20575. "description": "审核时间",
  20576. "type": "string"
  20577. },
  20578. "cancelaccountid": {
  20579. "description": "注销操作员账号",
  20580. "type": "integer"
  20581. },
  20582. "canceltime": {
  20583. "description": "注销时间",
  20584. "type": "string"
  20585. },
  20586. "closepricemode": {
  20587. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20588. "type": "integer"
  20589. },
  20590. "closepriceparam": {
  20591. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20592. "type": "number"
  20593. },
  20594. "createtime": {
  20595. "description": "创建时间",
  20596. "type": "string"
  20597. },
  20598. "creatorid": {
  20599. "description": "创建人",
  20600. "type": "integer"
  20601. },
  20602. "currencyid": {
  20603. "description": "报价货币ID",
  20604. "type": "integer"
  20605. },
  20606. "cutmode": {
  20607. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20608. "type": "integer"
  20609. },
  20610. "decimalplace": {
  20611. "description": "报价小数位",
  20612. "type": "integer"
  20613. },
  20614. "delistingdate": {
  20615. "description": "商品退市时间(状态:退市) -- 已作废",
  20616. "type": "string"
  20617. },
  20618. "delistingmode": {
  20619. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20620. "type": "integer"
  20621. },
  20622. "deliveryflag": {
  20623. "description": "交割标志 - 0:不可交割 1:可交割",
  20624. "type": "integer"
  20625. },
  20626. "forceclosemode": {
  20627. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20628. "type": "integer"
  20629. },
  20630. "forceclosevalue": {
  20631. "description": "定期强平参数 [收益权]",
  20632. "type": "integer"
  20633. },
  20634. "goodscode": {
  20635. "description": "商品代码(内部)",
  20636. "type": "string"
  20637. },
  20638. "goodscurrencyid": {
  20639. "description": "合约货币ID",
  20640. "type": "integer"
  20641. },
  20642. "goodsgroupid": {
  20643. "description": "所属商品组ID",
  20644. "type": "integer"
  20645. },
  20646. "goodsid": {
  20647. "description": "商品ID(自增ID SEQ_GOODS)",
  20648. "type": "integer"
  20649. },
  20650. "goodsname": {
  20651. "description": "商品名称",
  20652. "type": "string"
  20653. },
  20654. "goodsquotetype": {
  20655. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20656. "type": "integer"
  20657. },
  20658. "goodsstatus": {
  20659. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20660. "type": "integer"
  20661. },
  20662. "goodstradetype": {
  20663. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20664. "type": "integer"
  20665. },
  20666. "goodunitid": {
  20667. "description": "报价单位ID",
  20668. "type": "integer"
  20669. },
  20670. "hasquoter": {
  20671. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20672. "type": "integer"
  20673. },
  20674. "hqprotecttime": {
  20675. "description": "行情保护时间(秒)",
  20676. "type": "integer"
  20677. },
  20678. "innerdealmode": {
  20679. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20680. "type": "integer"
  20681. },
  20682. "isbuylimited": {
  20683. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20684. "type": "integer"
  20685. },
  20686. "isvisible": {
  20687. "description": "游客是否可见 - 0:不可见 1:可见",
  20688. "type": "integer"
  20689. },
  20690. "lasttradedate": {
  20691. "description": "最后交易日期(状态:待退市)",
  20692. "type": "string"
  20693. },
  20694. "listingdate": {
  20695. "description": "交易开始日期",
  20696. "type": "string"
  20697. },
  20698. "marketid": {
  20699. "description": "所属市场ID",
  20700. "type": "integer"
  20701. },
  20702. "modifierid": {
  20703. "description": "修改人",
  20704. "type": "integer"
  20705. },
  20706. "modifystatus": {
  20707. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20708. "type": "integer"
  20709. },
  20710. "modifytime": {
  20711. "description": "修改时间",
  20712. "type": "string"
  20713. },
  20714. "outerdealmode": {
  20715. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20716. "type": "integer"
  20717. },
  20718. "outgoodscode": {
  20719. "description": "商品代码(外部)",
  20720. "type": "string"
  20721. },
  20722. "pictureurl": {
  20723. "description": "商品图片",
  20724. "type": "string"
  20725. },
  20726. "qtydecimalplace": {
  20727. "description": "成交量小数位",
  20728. "type": "integer"
  20729. },
  20730. "quotegear": {
  20731. "description": "行情档位(1-10)",
  20732. "type": "integer"
  20733. },
  20734. "quoteminunit": {
  20735. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20736. "type": "integer"
  20737. },
  20738. "quoteshowtype": {
  20739. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20740. "type": "integer"
  20741. },
  20742. "quoteshowtypeinterval": {
  20743. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20744. "type": "integer"
  20745. },
  20746. "remark": {
  20747. "description": "备注",
  20748. "type": "string"
  20749. }
  20750. }
  20751. },
  20752. "models.GoodsIDAndName": {
  20753. "type": "object",
  20754. "required": [
  20755. "goodscode",
  20756. "goodsid",
  20757. "goodsname",
  20758. "marketid"
  20759. ],
  20760. "properties": {
  20761. "goodscode": {
  20762. "description": "商品代码(内部)",
  20763. "type": "string"
  20764. },
  20765. "goodsid": {
  20766. "description": "商品ID(自增ID SEQ_GOODS)",
  20767. "type": "integer"
  20768. },
  20769. "goodsname": {
  20770. "description": "商品名称",
  20771. "type": "string"
  20772. },
  20773. "marketid": {
  20774. "description": "所属市场ID",
  20775. "type": "integer"
  20776. }
  20777. }
  20778. },
  20779. "models.Goodsgroup": {
  20780. "type": "object",
  20781. "required": [
  20782. "goodsgroupid",
  20783. "goodsgroupname",
  20784. "goodsgroupstatus",
  20785. "marketid"
  20786. ],
  20787. "properties": {
  20788. "agreeunit": {
  20789. "description": "合约单位",
  20790. "type": "number"
  20791. },
  20792. "canshort": {
  20793. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20794. "type": "integer"
  20795. },
  20796. "closepricemode": {
  20797. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20798. "type": "integer"
  20799. },
  20800. "closepriceparam": {
  20801. "description": "强平最新价浮动比例 - 方式为2时使用",
  20802. "type": "number"
  20803. },
  20804. "createtime": {
  20805. "description": "创建时间",
  20806. "type": "string"
  20807. },
  20808. "creatorid": {
  20809. "description": "创建人",
  20810. "type": "integer"
  20811. },
  20812. "currencyid": {
  20813. "description": "报价货币ID",
  20814. "type": "integer"
  20815. },
  20816. "decimalplace": {
  20817. "description": "报价小数位",
  20818. "type": "integer"
  20819. },
  20820. "exercisetype": {
  20821. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20822. "type": "integer"
  20823. },
  20824. "exexchangeid": {
  20825. "description": "外部交易所ID[通道交易]",
  20826. "type": "integer"
  20827. },
  20828. "goodsgroupid": {
  20829. "description": "商品组ID(自增ID)",
  20830. "type": "integer"
  20831. },
  20832. "goodsgroupname": {
  20833. "description": "商品组名称",
  20834. "type": "string"
  20835. },
  20836. "goodsgroupstatus": {
  20837. "description": "商品组状态 - 1:正常 2:注销",
  20838. "type": "integer"
  20839. },
  20840. "goodunitid": {
  20841. "description": "报价单位ID",
  20842. "type": "integer"
  20843. },
  20844. "innerdealmode": {
  20845. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20846. "type": "integer"
  20847. },
  20848. "isbuylimited": {
  20849. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20850. "type": "integer"
  20851. },
  20852. "marketid": {
  20853. "description": "所属市场ID",
  20854. "type": "integer"
  20855. },
  20856. "modifierid": {
  20857. "description": "修改人",
  20858. "type": "integer"
  20859. },
  20860. "modifytime": {
  20861. "description": "修改时间",
  20862. "type": "string"
  20863. },
  20864. "outerdealmode": {
  20865. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20866. "type": "integer"
  20867. },
  20868. "outergroupcode": {
  20869. "description": "外部商品组代码[通道交易]",
  20870. "type": "string"
  20871. },
  20872. "premiumdecimalplace": {
  20873. "description": "权利金小数位[场外期权]",
  20874. "type": "integer"
  20875. },
  20876. "premiumspreadalgorithm": {
  20877. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20878. "type": "integer"
  20879. },
  20880. "premiumspreadvalue": {
  20881. "description": "权利金点差值[场外期权]",
  20882. "type": "number"
  20883. },
  20884. "qtydecimalplace": {
  20885. "description": "成交量小数位",
  20886. "type": "integer"
  20887. },
  20888. "quotegear": {
  20889. "description": "行情档位(1-10)",
  20890. "type": "integer"
  20891. },
  20892. "quoteminunit": {
  20893. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20894. "type": "integer"
  20895. },
  20896. "quoterid": {
  20897. "description": "报价商ID[场外期权]",
  20898. "type": "integer"
  20899. },
  20900. "quotesourcegroupid": {
  20901. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20902. "type": "integer"
  20903. },
  20904. "syncgoodsqty": {
  20905. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20906. "type": "integer"
  20907. }
  20908. }
  20909. },
  20910. "models.Goodssortbypreposition": {
  20911. "type": "object",
  20912. "required": [
  20913. "goodscode",
  20914. "tradedate"
  20915. ],
  20916. "properties": {
  20917. "goodscode": {
  20918. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20919. "type": "string"
  20920. },
  20921. "goodsgroupcode": {
  20922. "description": "品种代码",
  20923. "type": "string"
  20924. },
  20925. "prepositionqty": {
  20926. "description": "昨持仓量",
  20927. "type": "integer"
  20928. },
  20929. "sortindex": {
  20930. "description": "排序",
  20931. "type": "integer"
  20932. },
  20933. "tradedate": {
  20934. "description": "交易日",
  20935. "type": "string"
  20936. },
  20937. "updatetime": {
  20938. "description": "更新时间",
  20939. "type": "string"
  20940. }
  20941. }
  20942. },
  20943. "models.Hedgeinnerholderdetail": {
  20944. "type": "object",
  20945. "required": [
  20946. "buyorsell",
  20947. "tradeid"
  20948. ],
  20949. "properties": {
  20950. "accountid": {
  20951. "description": "账号ID",
  20952. "type": "integer"
  20953. },
  20954. "buyorsell": {
  20955. "description": "方向 - 0:买 1:卖",
  20956. "type": "integer"
  20957. },
  20958. "freezeqty": {
  20959. "description": "冻结数量 - 按单平使用",
  20960. "type": "integer"
  20961. },
  20962. "goodsid": {
  20963. "description": "商品ID",
  20964. "type": "integer"
  20965. },
  20966. "holderamount": {
  20967. "description": "持仓金额 [商品币种]",
  20968. "type": "number"
  20969. },
  20970. "holderdays": {
  20971. "description": "剩余冻结天数",
  20972. "type": "integer"
  20973. },
  20974. "holderprice": {
  20975. "description": "持仓价格",
  20976. "type": "number"
  20977. },
  20978. "holderqty": {
  20979. "description": "持仓数量",
  20980. "type": "integer"
  20981. },
  20982. "marketid": {
  20983. "description": "市场ID",
  20984. "type": "integer"
  20985. },
  20986. "openprice": {
  20987. "description": "建仓价格",
  20988. "type": "number"
  20989. },
  20990. "openqty": {
  20991. "description": "建仓数量",
  20992. "type": "integer"
  20993. },
  20994. "parentaccountid": {
  20995. "description": "所属母账户",
  20996. "type": "integer"
  20997. },
  20998. "releaseamount": {
  20999. "description": "释放持仓金额[商品币种]",
  21000. "type": "number"
  21001. },
  21002. "tradeamount": {
  21003. "description": "成交金额[账户]",
  21004. "type": "number"
  21005. },
  21006. "tradedate": {
  21007. "description": "交易日(yyyyMMdd)",
  21008. "type": "string"
  21009. },
  21010. "tradeid": {
  21011. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21012. "type": "string"
  21013. },
  21014. "tradetime": {
  21015. "description": "交易时间",
  21016. "type": "string"
  21017. }
  21018. }
  21019. },
  21020. "models.Hedgemarketopenlog": {
  21021. "type": "object",
  21022. "required": [
  21023. "accountid"
  21024. ],
  21025. "properties": {
  21026. "accountid": {
  21027. "description": "资金账号[外部母账户]",
  21028. "type": "integer"
  21029. },
  21030. "fcname": {
  21031. "description": "期货公司名称",
  21032. "type": "string"
  21033. },
  21034. "handlestatus": {
  21035. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21036. "type": "integer"
  21037. },
  21038. "marketid": {
  21039. "description": "市场ID",
  21040. "type": "integer"
  21041. },
  21042. "status": {
  21043. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21044. "type": "integer"
  21045. },
  21046. "tradedate": {
  21047. "description": "交易日(yyyyMMdd)",
  21048. "type": "string"
  21049. },
  21050. "updatetime": {
  21051. "description": "更新时间",
  21052. "type": "string"
  21053. }
  21054. }
  21055. },
  21056. "models.HsbyBuyMyPayOrder": {
  21057. "type": "object",
  21058. "required": [
  21059. "goodscode",
  21060. "goodsname",
  21061. "tradeid",
  21062. "trademode"
  21063. ],
  21064. "properties": {
  21065. "agreeunit": {
  21066. "description": "合约单位",
  21067. "type": "number"
  21068. },
  21069. "buyaccountid": {
  21070. "description": "买方账号ID[报价币种]",
  21071. "type": "integer"
  21072. },
  21073. "buyorderid": {
  21074. "description": "买方委托单号",
  21075. "type": "string"
  21076. },
  21077. "createtime": {
  21078. "description": "创建时间",
  21079. "type": "string"
  21080. },
  21081. "currencysign": {
  21082. "description": "货币符号",
  21083. "type": "string"
  21084. },
  21085. "decimalplace": {
  21086. "description": "报价小数位",
  21087. "type": "integer"
  21088. },
  21089. "goodscode": {
  21090. "description": "商品代码(内部)",
  21091. "type": "string"
  21092. },
  21093. "goodsid": {
  21094. "description": "商品ID",
  21095. "type": "integer"
  21096. },
  21097. "goodsname": {
  21098. "description": "商品名称",
  21099. "type": "string"
  21100. },
  21101. "marketid": {
  21102. "description": "市场ID",
  21103. "type": "integer"
  21104. },
  21105. "offamount": {
  21106. "description": "优惠金额",
  21107. "type": "number"
  21108. },
  21109. "originalamount": {
  21110. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21111. "type": "number"
  21112. },
  21113. "payamount": {
  21114. "description": "支付金额 = TradeAmount + TradeCharge",
  21115. "type": "number"
  21116. },
  21117. "payflag": {
  21118. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21119. "type": "integer"
  21120. },
  21121. "paylimitedtime": {
  21122. "description": "支付期限",
  21123. "type": "string"
  21124. },
  21125. "paytime": {
  21126. "description": "付款时间",
  21127. "type": "string"
  21128. },
  21129. "picurls1": {
  21130. "description": "预售商品介绍图片[多张用逗号分隔]",
  21131. "type": "string"
  21132. },
  21133. "picurls2": {
  21134. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21135. "type": "string"
  21136. },
  21137. "sellaccountid": {
  21138. "description": "卖方账号ID[报价币种]",
  21139. "type": "integer"
  21140. },
  21141. "sellorderid": {
  21142. "description": "卖方委托单号",
  21143. "type": "string"
  21144. },
  21145. "tradeamount": {
  21146. "description": "成交金额",
  21147. "type": "number"
  21148. },
  21149. "tradecharge": {
  21150. "description": "成交手续费(买方)",
  21151. "type": "number"
  21152. },
  21153. "tradedate": {
  21154. "description": "交易日(yyyyMMdd)",
  21155. "type": "string"
  21156. },
  21157. "tradeid": {
  21158. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21159. "type": "string"
  21160. },
  21161. "trademode": {
  21162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21163. "type": "integer"
  21164. },
  21165. "tradeprice": {
  21166. "description": "成交价格",
  21167. "type": "number"
  21168. },
  21169. "tradeqty": {
  21170. "description": "成交数量",
  21171. "type": "integer"
  21172. },
  21173. "vendorname1": {
  21174. "description": "预售商品供应商名称",
  21175. "type": "string"
  21176. },
  21177. "vendorname2": {
  21178. "description": "挂牌商品供应商名称",
  21179. "type": "string"
  21180. }
  21181. }
  21182. },
  21183. "models.HsbyBuyMyTradeDetail": {
  21184. "type": "object",
  21185. "required": [
  21186. "accountid",
  21187. "buyorsell",
  21188. "goodscode",
  21189. "goodsid",
  21190. "goodsname",
  21191. "marketid",
  21192. "orderid",
  21193. "qty",
  21194. "time",
  21195. "trademode"
  21196. ],
  21197. "properties": {
  21198. "accountid": {
  21199. "description": "账户ID[报价币种]",
  21200. "type": "integer"
  21201. },
  21202. "agreeunit": {
  21203. "description": "合约单位",
  21204. "type": "number"
  21205. },
  21206. "amount": {
  21207. "description": "金额 = 价格 * 数量 * 合约单位",
  21208. "type": "number"
  21209. },
  21210. "buyorsell": {
  21211. "description": "买卖 - 0:买 1:卖",
  21212. "type": "integer"
  21213. },
  21214. "currencysign": {
  21215. "description": "货币符号",
  21216. "type": "string"
  21217. },
  21218. "decimalplace": {
  21219. "description": "报价小数位",
  21220. "type": "integer"
  21221. },
  21222. "goodscode": {
  21223. "description": "商品代码(内部)",
  21224. "type": "string"
  21225. },
  21226. "goodsid": {
  21227. "description": "商品ID",
  21228. "type": "integer"
  21229. },
  21230. "goodsname": {
  21231. "description": "商品名称",
  21232. "type": "string"
  21233. },
  21234. "marketid": {
  21235. "description": "市场ID",
  21236. "type": "integer"
  21237. },
  21238. "orderamount": {
  21239. "description": "委托金额",
  21240. "type": "number"
  21241. },
  21242. "orderid": {
  21243. "description": "单号(成交单号)",
  21244. "type": "string"
  21245. },
  21246. "picurls1": {
  21247. "description": "预售商品介绍图片[多张用逗号分隔]",
  21248. "type": "string"
  21249. },
  21250. "picurls2": {
  21251. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21252. "type": "string"
  21253. },
  21254. "price": {
  21255. "description": "价格",
  21256. "type": "number"
  21257. },
  21258. "qty": {
  21259. "description": "数量",
  21260. "type": "integer"
  21261. },
  21262. "time": {
  21263. "description": "时间",
  21264. "type": "string"
  21265. },
  21266. "trademode": {
  21267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21268. "type": "integer"
  21269. },
  21270. "vendorname1": {
  21271. "description": "预售商品供应商名称",
  21272. "type": "string"
  21273. },
  21274. "vendorname2": {
  21275. "description": "挂牌商品供应商名称",
  21276. "type": "string"
  21277. }
  21278. }
  21279. },
  21280. "models.HsbyGoodsOrderDetail": {
  21281. "type": "object",
  21282. "required": [
  21283. "buyorsell",
  21284. "orderid",
  21285. "ordertime"
  21286. ],
  21287. "properties": {
  21288. "buyorsell": {
  21289. "description": "买卖 - 0:买 1:卖",
  21290. "type": "integer"
  21291. },
  21292. "currencysign": {
  21293. "description": "货币符号",
  21294. "type": "string"
  21295. },
  21296. "customername": {
  21297. "description": "客户名称(企业名称),已脱敏",
  21298. "type": "string"
  21299. },
  21300. "enableqty": {
  21301. "description": "可用数量",
  21302. "type": "integer"
  21303. },
  21304. "goodunit": {
  21305. "description": "报价单位",
  21306. "type": "string"
  21307. },
  21308. "orderid": {
  21309. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21310. "type": "string"
  21311. },
  21312. "orderprice": {
  21313. "description": "委托价格",
  21314. "type": "number"
  21315. },
  21316. "ordertime": {
  21317. "description": "委托时间",
  21318. "type": "string"
  21319. }
  21320. }
  21321. },
  21322. "models.HsbyListingGoodsDetail": {
  21323. "type": "object",
  21324. "required": [
  21325. "goodscode",
  21326. "goodsid",
  21327. "goodsname",
  21328. "marketid",
  21329. "trademode"
  21330. ],
  21331. "properties": {
  21332. "agreeunit": {
  21333. "description": "合约单位",
  21334. "type": "number"
  21335. },
  21336. "buymaxqty": {
  21337. "description": "购买上限 [71] - 0为不限",
  21338. "type": "integer"
  21339. },
  21340. "currency": {
  21341. "description": "货币",
  21342. "type": "string"
  21343. },
  21344. "currencysign": {
  21345. "description": "货币符号",
  21346. "type": "string"
  21347. },
  21348. "decimalplace": {
  21349. "description": "报价小数位",
  21350. "type": "integer"
  21351. },
  21352. "desccityid": {
  21353. "description": "目的地(市)ID",
  21354. "type": "integer"
  21355. },
  21356. "descprovinceid": {
  21357. "description": "目的地(省)ID",
  21358. "type": "integer"
  21359. },
  21360. "goodscode": {
  21361. "description": "商品代码(内部)",
  21362. "type": "string"
  21363. },
  21364. "goodsdesc": {
  21365. "description": "商品详情",
  21366. "type": "string"
  21367. },
  21368. "goodsid": {
  21369. "description": "商品ID(自增ID SEQ_GOODS)",
  21370. "type": "integer"
  21371. },
  21372. "goodsname": {
  21373. "description": "商品名称",
  21374. "type": "string"
  21375. },
  21376. "goodsprice": {
  21377. "description": "商品价格",
  21378. "type": "number"
  21379. },
  21380. "hotindex": {
  21381. "description": "景点热度",
  21382. "type": "integer"
  21383. },
  21384. "last": {
  21385. "description": "现价",
  21386. "type": "number"
  21387. },
  21388. "limitdown": {
  21389. "description": "跌停价",
  21390. "type": "number"
  21391. },
  21392. "limitup": {
  21393. "description": "涨停价",
  21394. "type": "number"
  21395. },
  21396. "lotsize": {
  21397. "description": "手数最小变动单位",
  21398. "type": "integer"
  21399. },
  21400. "marketid": {
  21401. "description": "所属市场ID",
  21402. "type": "integer"
  21403. },
  21404. "picurls": {
  21405. "description": "介绍图片[多张用逗号分隔]",
  21406. "type": "string"
  21407. },
  21408. "quoteminunit": {
  21409. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21410. "type": "integer"
  21411. },
  21412. "stepvalue": {
  21413. "description": "价格最小变动单位",
  21414. "type": "number"
  21415. },
  21416. "trademode": {
  21417. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21418. "type": "integer"
  21419. },
  21420. "vendorattr": {
  21421. "description": "供应商附件(多张,逗号分隔)",
  21422. "type": "string"
  21423. },
  21424. "vendorname": {
  21425. "description": "供应商名称",
  21426. "type": "string"
  21427. },
  21428. "vendorphone": {
  21429. "description": "供应商客服电话",
  21430. "type": "string"
  21431. },
  21432. "videourls": {
  21433. "description": "介绍视频[多张用逗号分隔]",
  21434. "type": "string"
  21435. }
  21436. }
  21437. },
  21438. "models.HsbyMarketGoods": {
  21439. "type": "object",
  21440. "required": [
  21441. "accountid",
  21442. "buyorsell",
  21443. "goodscode",
  21444. "goodsid",
  21445. "goodsname",
  21446. "marketid",
  21447. "orderid",
  21448. "trademode"
  21449. ],
  21450. "properties": {
  21451. "accountid": {
  21452. "description": "账户ID[报价币种]",
  21453. "type": "integer"
  21454. },
  21455. "agreeunit": {
  21456. "description": "合约单位",
  21457. "type": "number"
  21458. },
  21459. "buyorsell": {
  21460. "description": "买卖 - 0:买 1:卖",
  21461. "type": "integer"
  21462. },
  21463. "categoryid": {
  21464. "description": "类别ID(WRCATEGORY)",
  21465. "type": "integer"
  21466. },
  21467. "currency": {
  21468. "description": "货币",
  21469. "type": "string"
  21470. },
  21471. "currencysign": {
  21472. "description": "货币符号",
  21473. "type": "string"
  21474. },
  21475. "customername": {
  21476. "description": "卖家名称",
  21477. "type": "string"
  21478. },
  21479. "decimalplace": {
  21480. "description": "报价小数位",
  21481. "type": "integer"
  21482. },
  21483. "goodscode": {
  21484. "description": "商品代码(内部)",
  21485. "type": "string"
  21486. },
  21487. "goodsid": {
  21488. "description": "商品ID",
  21489. "type": "integer"
  21490. },
  21491. "goodsname": {
  21492. "description": "商品名称",
  21493. "type": "string"
  21494. },
  21495. "goodsprice": {
  21496. "description": "商品价格",
  21497. "type": "number"
  21498. },
  21499. "hascoupon": {
  21500. "description": "是否可用优惠卷",
  21501. "type": "boolean"
  21502. },
  21503. "hotindex": {
  21504. "description": "景点热度",
  21505. "type": "integer"
  21506. },
  21507. "marketid": {
  21508. "description": "市场ID",
  21509. "type": "integer"
  21510. },
  21511. "orderid": {
  21512. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21513. "type": "string"
  21514. },
  21515. "orderprice": {
  21516. "description": "委托价格",
  21517. "type": "number"
  21518. },
  21519. "orderstatus": {
  21520. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21521. "type": "integer"
  21522. },
  21523. "picurls": {
  21524. "description": "介绍图片[多张用逗号分隔]",
  21525. "type": "string"
  21526. },
  21527. "quoteminunit": {
  21528. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21529. "type": "integer"
  21530. },
  21531. "sellUserID": {
  21532. "description": "卖方UserID",
  21533. "type": "integer"
  21534. },
  21535. "trademode": {
  21536. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21537. "type": "integer"
  21538. },
  21539. "videourls": {
  21540. "description": "介绍视频[多张用逗号分隔]",
  21541. "type": "string"
  21542. }
  21543. }
  21544. },
  21545. "models.HsbyMarketGoodsDetail": {
  21546. "type": "object",
  21547. "required": [
  21548. "accountid",
  21549. "buyorsell",
  21550. "goodscode",
  21551. "goodsid",
  21552. "goodsname",
  21553. "marketid",
  21554. "orderid",
  21555. "orderqty",
  21556. "trademode"
  21557. ],
  21558. "properties": {
  21559. "accountid": {
  21560. "description": "账户ID[报价币种]",
  21561. "type": "integer"
  21562. },
  21563. "agreeunit": {
  21564. "description": "合约单位",
  21565. "type": "number"
  21566. },
  21567. "buymaxqty": {
  21568. "description": "购买上限 [71] - 0为不限",
  21569. "type": "integer"
  21570. },
  21571. "buyorsell": {
  21572. "description": "买卖 - 0:买 1:卖",
  21573. "type": "integer"
  21574. },
  21575. "cancelqty": {
  21576. "description": "撤单数量",
  21577. "type": "integer"
  21578. },
  21579. "categoryid": {
  21580. "description": "类别ID(WRCATEGORY)",
  21581. "type": "integer"
  21582. },
  21583. "currency": {
  21584. "description": "货币",
  21585. "type": "string"
  21586. },
  21587. "currencysign": {
  21588. "description": "货币符号",
  21589. "type": "string"
  21590. },
  21591. "customername": {
  21592. "description": "卖家名称",
  21593. "type": "string"
  21594. },
  21595. "decimalplace": {
  21596. "description": "报价小数位",
  21597. "type": "integer"
  21598. },
  21599. "goodscode": {
  21600. "description": "商品代码(内部)",
  21601. "type": "string"
  21602. },
  21603. "goodsdesc": {
  21604. "description": "商品详情",
  21605. "type": "string"
  21606. },
  21607. "goodsid": {
  21608. "description": "商品ID",
  21609. "type": "integer"
  21610. },
  21611. "goodsname": {
  21612. "description": "商品名称",
  21613. "type": "string"
  21614. },
  21615. "goodsprice": {
  21616. "description": "商品价格",
  21617. "type": "number"
  21618. },
  21619. "hotindex": {
  21620. "description": "景点热度",
  21621. "type": "integer"
  21622. },
  21623. "lotsize": {
  21624. "description": "手数最小变动单位",
  21625. "type": "integer"
  21626. },
  21627. "marketid": {
  21628. "description": "市场ID",
  21629. "type": "integer"
  21630. },
  21631. "orderid": {
  21632. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21633. "type": "string"
  21634. },
  21635. "orderprice": {
  21636. "description": "委托价格",
  21637. "type": "number"
  21638. },
  21639. "orderqty": {
  21640. "description": "委托数量",
  21641. "type": "integer"
  21642. },
  21643. "orderstatus": {
  21644. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21645. "type": "integer"
  21646. },
  21647. "picurls": {
  21648. "description": "介绍图片[多张用逗号分隔]",
  21649. "type": "string"
  21650. },
  21651. "quoteminunit": {
  21652. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21653. "type": "integer"
  21654. },
  21655. "sellUserID": {
  21656. "description": "卖方UserID",
  21657. "type": "integer"
  21658. },
  21659. "trademode": {
  21660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21661. "type": "integer"
  21662. },
  21663. "tradeqty": {
  21664. "description": "成交数量",
  21665. "type": "integer"
  21666. },
  21667. "vendorattr": {
  21668. "description": "供应商附件(多张,逗号分隔)",
  21669. "type": "string"
  21670. },
  21671. "vendorname": {
  21672. "description": "供应商名称",
  21673. "type": "string"
  21674. },
  21675. "vendorphone": {
  21676. "description": "供应商客服电话",
  21677. "type": "string"
  21678. },
  21679. "videourls": {
  21680. "description": "介绍视频[多张用逗号分隔]",
  21681. "type": "string"
  21682. }
  21683. }
  21684. },
  21685. "models.HsbyMarketInfo": {
  21686. "type": "object",
  21687. "required": [
  21688. "marketid",
  21689. "marketstatus",
  21690. "trademode"
  21691. ],
  21692. "properties": {
  21693. "marketid": {
  21694. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21695. "type": "integer"
  21696. },
  21697. "marketname": {
  21698. "description": "市场名称",
  21699. "type": "string"
  21700. },
  21701. "marketstatus": {
  21702. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21703. "type": "integer"
  21704. },
  21705. "trademode": {
  21706. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21707. "type": "integer"
  21708. }
  21709. }
  21710. },
  21711. "models.HsbyMyGoods": {
  21712. "type": "object",
  21713. "required": [
  21714. "accountid",
  21715. "goodscode",
  21716. "goodsid",
  21717. "goodsname",
  21718. "marketid",
  21719. "trademode"
  21720. ],
  21721. "properties": {
  21722. "accountid": {
  21723. "description": "账号Id",
  21724. "type": "integer"
  21725. },
  21726. "agreeunit": {
  21727. "description": "合约单位",
  21728. "type": "number"
  21729. },
  21730. "buyaverageprice": {
  21731. "description": "持仓均价",
  21732. "type": "number"
  21733. },
  21734. "buycurholderamount": {
  21735. "description": "买当前持仓总金额[商品币种]",
  21736. "type": "number"
  21737. },
  21738. "buycurpositionqty": {
  21739. "description": "买当前持仓总数量",
  21740. "type": "integer"
  21741. },
  21742. "buymaxqty": {
  21743. "description": "购买上限 [71] - 0为不限",
  21744. "type": "integer"
  21745. },
  21746. "currencysign": {
  21747. "description": "货币符号",
  21748. "type": "string"
  21749. },
  21750. "decimalplace": {
  21751. "description": "报价小数位",
  21752. "type": "integer"
  21753. },
  21754. "enableqty": {
  21755. "description": "可用数量",
  21756. "type": "integer"
  21757. },
  21758. "goodscode": {
  21759. "description": "商品代码(内部)",
  21760. "type": "string"
  21761. },
  21762. "goodsid": {
  21763. "description": "商品Id",
  21764. "type": "integer"
  21765. },
  21766. "goodsname": {
  21767. "description": "商品名称",
  21768. "type": "string"
  21769. },
  21770. "goodsprice": {
  21771. "description": "商品价格",
  21772. "type": "number"
  21773. },
  21774. "goodsstatus": {
  21775. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21776. "type": "integer"
  21777. },
  21778. "last": {
  21779. "description": "现价(仅使用于挂牌点选)",
  21780. "type": "number"
  21781. },
  21782. "limitdown": {
  21783. "description": "跌停价(仅使用于挂牌点选)",
  21784. "type": "number"
  21785. },
  21786. "limitup": {
  21787. "description": "涨停价(仅使用于挂牌点选)",
  21788. "type": "number"
  21789. },
  21790. "lotsize": {
  21791. "description": "手数最小变动单位",
  21792. "type": "integer"
  21793. },
  21794. "marketid": {
  21795. "description": "所属市场ID",
  21796. "type": "integer"
  21797. },
  21798. "picurls": {
  21799. "description": "介绍图片[多张用逗号分隔]",
  21800. "type": "string"
  21801. },
  21802. "quoteminunit": {
  21803. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21804. "type": "integer"
  21805. },
  21806. "stepvalue": {
  21807. "description": "价格最小变动单位",
  21808. "type": "number"
  21809. },
  21810. "trademode": {
  21811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21812. "type": "integer"
  21813. }
  21814. }
  21815. },
  21816. "models.HsbyMyPackage": {
  21817. "type": "object",
  21818. "required": [
  21819. "goodscode",
  21820. "goodsname",
  21821. "takeorderid",
  21822. "trademode"
  21823. ],
  21824. "properties": {
  21825. "accountid": {
  21826. "description": "账户ID",
  21827. "type": "integer"
  21828. },
  21829. "address": {
  21830. "description": "提货人详细地址",
  21831. "type": "string"
  21832. },
  21833. "agreeunit": {
  21834. "description": "合约单位",
  21835. "type": "number"
  21836. },
  21837. "amount": {
  21838. "description": "提货金额",
  21839. "type": "number"
  21840. },
  21841. "auditer": {
  21842. "description": "审核人",
  21843. "type": "integer"
  21844. },
  21845. "audittime": {
  21846. "description": "审核时间",
  21847. "type": "string"
  21848. },
  21849. "averageprice": {
  21850. "description": "均价",
  21851. "type": "number"
  21852. },
  21853. "cardnum": {
  21854. "description": "提货人证件号码",
  21855. "type": "string"
  21856. },
  21857. "cardtypeid": {
  21858. "description": "提货人证件类型",
  21859. "type": "integer"
  21860. },
  21861. "checkremark": {
  21862. "description": "审核备注",
  21863. "type": "string"
  21864. },
  21865. "currencysign": {
  21866. "description": "货币符号",
  21867. "type": "string"
  21868. },
  21869. "decimalplace": {
  21870. "description": "报价小数位",
  21871. "type": "integer"
  21872. },
  21873. "goodscode": {
  21874. "description": "商品代码(内部)",
  21875. "type": "string"
  21876. },
  21877. "goodsid": {
  21878. "description": "商品ID",
  21879. "type": "integer"
  21880. },
  21881. "goodsname": {
  21882. "description": "商品名称",
  21883. "type": "string"
  21884. },
  21885. "handlestatus": {
  21886. "description": "处理状态",
  21887. "type": "integer"
  21888. },
  21889. "marketid": {
  21890. "description": "市场ID",
  21891. "type": "integer"
  21892. },
  21893. "phonenum": {
  21894. "description": "提货人联系方式",
  21895. "type": "string"
  21896. },
  21897. "picurls": {
  21898. "description": "介绍图片[多张用逗号分隔]",
  21899. "type": "string"
  21900. },
  21901. "qty": {
  21902. "description": "提货数量",
  21903. "type": "number"
  21904. },
  21905. "recivername": {
  21906. "description": "提货人姓名",
  21907. "type": "string"
  21908. },
  21909. "reqtime": {
  21910. "description": "更新时间",
  21911. "type": "string"
  21912. },
  21913. "takemode": {
  21914. "description": "提货方式 - 2:自提 3:配送",
  21915. "type": "integer"
  21916. },
  21917. "takeorderid": {
  21918. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21919. "type": "string"
  21920. },
  21921. "takeorderstatus": {
  21922. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21923. "type": "integer"
  21924. },
  21925. "takeremark": {
  21926. "description": "提货备注",
  21927. "type": "string"
  21928. },
  21929. "tradedate": {
  21930. "description": "交易日(yyyyMMdd)",
  21931. "type": "string"
  21932. },
  21933. "trademode": {
  21934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21935. "type": "integer"
  21936. },
  21937. "userid": {
  21938. "description": "用户ID",
  21939. "type": "integer"
  21940. },
  21941. "vendorname": {
  21942. "description": "供应商名称",
  21943. "type": "string"
  21944. }
  21945. }
  21946. },
  21947. "models.HsbyPreGoods": {
  21948. "type": "object",
  21949. "required": [
  21950. "goodscode",
  21951. "goodsid",
  21952. "goodsname",
  21953. "marketid",
  21954. "trademode"
  21955. ],
  21956. "properties": {
  21957. "agreeunit": {
  21958. "description": "合约单位",
  21959. "type": "number"
  21960. },
  21961. "currency": {
  21962. "description": "货币",
  21963. "type": "string"
  21964. },
  21965. "currencysign": {
  21966. "description": "货币符号",
  21967. "type": "string"
  21968. },
  21969. "decimalplace": {
  21970. "description": "报价小数位",
  21971. "type": "integer"
  21972. },
  21973. "desccityid": {
  21974. "description": "目的地(市)",
  21975. "type": "integer"
  21976. },
  21977. "descprovinceid": {
  21978. "description": "目的地(省)",
  21979. "type": "integer"
  21980. },
  21981. "enableqty": {
  21982. "description": "剩余数量",
  21983. "type": "integer"
  21984. },
  21985. "goodscode": {
  21986. "description": "商品代码(内部)",
  21987. "type": "string"
  21988. },
  21989. "goodsid": {
  21990. "description": "商品ID(自增ID SEQ_GOODS)",
  21991. "type": "integer"
  21992. },
  21993. "goodsname": {
  21994. "description": "商品名称",
  21995. "type": "string"
  21996. },
  21997. "goodsstatus": {
  21998. "description": "商品状态- 2:未上市 3:上市",
  21999. "type": "integer"
  22000. },
  22001. "lasttradedate": {
  22002. "description": "最后交易日期(状态:待退市)",
  22003. "type": "string"
  22004. },
  22005. "listingdate": {
  22006. "description": "交易开始日期",
  22007. "type": "string"
  22008. },
  22009. "marketid": {
  22010. "description": "所属市场ID",
  22011. "type": "integer"
  22012. },
  22013. "picurls": {
  22014. "description": "介绍图片[多张用逗号分隔]",
  22015. "type": "string"
  22016. },
  22017. "presaledqty": {
  22018. "description": "已预售量(预售结束时更新)",
  22019. "type": "integer"
  22020. },
  22021. "presaleqty": {
  22022. "description": "预售数量",
  22023. "type": "integer"
  22024. },
  22025. "quoteminunit": {
  22026. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22027. "type": "integer"
  22028. },
  22029. "refprice": {
  22030. "description": "参考价格[一口价]",
  22031. "type": "number"
  22032. },
  22033. "relatedgoodsid": {
  22034. "description": "关联交易合约ID",
  22035. "type": "integer"
  22036. },
  22037. "trademode": {
  22038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22039. "type": "integer"
  22040. },
  22041. "videourls": {
  22042. "description": "介绍视频[多张用逗号分隔]",
  22043. "type": "string"
  22044. }
  22045. }
  22046. },
  22047. "models.HsbyPreGoodsDetail": {
  22048. "type": "object",
  22049. "required": [
  22050. "goodscode",
  22051. "goodsid",
  22052. "goodsname",
  22053. "marketid",
  22054. "trademode"
  22055. ],
  22056. "properties": {
  22057. "agreeunit": {
  22058. "description": "合约单位",
  22059. "type": "number"
  22060. },
  22061. "buymaxqty": {
  22062. "description": "购买上限 [71] - 0为不限",
  22063. "type": "integer"
  22064. },
  22065. "currency": {
  22066. "description": "货币",
  22067. "type": "string"
  22068. },
  22069. "currencysign": {
  22070. "description": "货币符号",
  22071. "type": "string"
  22072. },
  22073. "customername": {
  22074. "description": "发行单位",
  22075. "type": "string"
  22076. },
  22077. "decimalplace": {
  22078. "description": "报价小数位",
  22079. "type": "integer"
  22080. },
  22081. "desccityid": {
  22082. "description": "目的地(市)ID",
  22083. "type": "integer"
  22084. },
  22085. "descprovinceid": {
  22086. "description": "目的地(省)ID",
  22087. "type": "integer"
  22088. },
  22089. "enableqty": {
  22090. "description": "剩余数量",
  22091. "type": "integer"
  22092. },
  22093. "goodscode": {
  22094. "description": "商品代码(内部)",
  22095. "type": "string"
  22096. },
  22097. "goodsdesc": {
  22098. "description": "商品详情",
  22099. "type": "string"
  22100. },
  22101. "goodsid": {
  22102. "description": "商品ID(自增ID SEQ_GOODS)",
  22103. "type": "integer"
  22104. },
  22105. "goodsname": {
  22106. "description": "商品名称",
  22107. "type": "string"
  22108. },
  22109. "goodsstatus": {
  22110. "description": "商品状态- 2:未上市 3:上市",
  22111. "type": "integer"
  22112. },
  22113. "goodunit": {
  22114. "description": "报价单位",
  22115. "type": "string"
  22116. },
  22117. "lasttradedate": {
  22118. "description": "最后交易日期(状态:待退市)",
  22119. "type": "string"
  22120. },
  22121. "listingdate": {
  22122. "description": "交易开始日期",
  22123. "type": "string"
  22124. },
  22125. "lotsize": {
  22126. "description": "手数最小变动单位",
  22127. "type": "integer"
  22128. },
  22129. "marketid": {
  22130. "description": "所属市场ID",
  22131. "type": "integer"
  22132. },
  22133. "picurls": {
  22134. "description": "介绍图片[多张用逗号分隔]",
  22135. "type": "string"
  22136. },
  22137. "presaledqty": {
  22138. "description": "已预售量(预售结束时更新)",
  22139. "type": "integer"
  22140. },
  22141. "presaleqty": {
  22142. "description": "预售数量",
  22143. "type": "integer"
  22144. },
  22145. "quoteminunit": {
  22146. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22147. "type": "integer"
  22148. },
  22149. "refprice": {
  22150. "description": "参考价格[一口价]",
  22151. "type": "number"
  22152. },
  22153. "relatedgoodsid": {
  22154. "description": "关联交易合约ID",
  22155. "type": "integer"
  22156. },
  22157. "stepvalue": {
  22158. "description": "价格最小变动单位",
  22159. "type": "number"
  22160. },
  22161. "trademode": {
  22162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22163. "type": "integer"
  22164. },
  22165. "vendorattr": {
  22166. "description": "供应商附件(多张,逗号分隔)",
  22167. "type": "string"
  22168. },
  22169. "vendorname": {
  22170. "description": "供应商名称",
  22171. "type": "string"
  22172. },
  22173. "vendorphone": {
  22174. "description": "供应商客服电话",
  22175. "type": "string"
  22176. },
  22177. "videourls": {
  22178. "description": "介绍视频[多张用逗号分隔]",
  22179. "type": "string"
  22180. }
  22181. }
  22182. },
  22183. "models.HsbySellCollectionOrder": {
  22184. "type": "object",
  22185. "required": [
  22186. "goodscode",
  22187. "goodsname",
  22188. "tradeid",
  22189. "trademode"
  22190. ],
  22191. "properties": {
  22192. "agreeunit": {
  22193. "description": "合约单位",
  22194. "type": "number"
  22195. },
  22196. "buyaccountid": {
  22197. "description": "买方账号ID[报价币种]",
  22198. "type": "integer"
  22199. },
  22200. "buyorderid": {
  22201. "description": "买方委托单号",
  22202. "type": "string"
  22203. },
  22204. "createtime": {
  22205. "description": "创建时间",
  22206. "type": "string"
  22207. },
  22208. "currencysign": {
  22209. "description": "货币符号",
  22210. "type": "string"
  22211. },
  22212. "decimalplace": {
  22213. "description": "报价小数位",
  22214. "type": "integer"
  22215. },
  22216. "goodscode": {
  22217. "description": "商品代码(内部)",
  22218. "type": "string"
  22219. },
  22220. "goodsid": {
  22221. "description": "商品ID",
  22222. "type": "integer"
  22223. },
  22224. "goodsname": {
  22225. "description": "商品名称",
  22226. "type": "string"
  22227. },
  22228. "marketid": {
  22229. "description": "市场ID",
  22230. "type": "integer"
  22231. },
  22232. "offamount": {
  22233. "description": "优惠金额",
  22234. "type": "number"
  22235. },
  22236. "payamount": {
  22237. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22238. "type": "number"
  22239. },
  22240. "payflag": {
  22241. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22242. "type": "integer"
  22243. },
  22244. "paylimitedtime": {
  22245. "description": "支付期限",
  22246. "type": "string"
  22247. },
  22248. "paytime": {
  22249. "description": "付款时间",
  22250. "type": "string"
  22251. },
  22252. "picurls": {
  22253. "description": "商品介绍图片[多张用逗号分隔]",
  22254. "type": "string"
  22255. },
  22256. "sellaccountid": {
  22257. "description": "卖方账号ID[报价币种]",
  22258. "type": "integer"
  22259. },
  22260. "sellorderid": {
  22261. "description": "卖方委托单号",
  22262. "type": "string"
  22263. },
  22264. "tradeamount": {
  22265. "description": "成交金额",
  22266. "type": "number"
  22267. },
  22268. "tradecharge": {
  22269. "description": "成交手续费(买方)",
  22270. "type": "number"
  22271. },
  22272. "tradedate": {
  22273. "description": "交易日(yyyyMMdd)",
  22274. "type": "string"
  22275. },
  22276. "tradeid": {
  22277. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22278. "type": "string"
  22279. },
  22280. "trademode": {
  22281. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22282. "type": "integer"
  22283. },
  22284. "tradeprice": {
  22285. "description": "成交价格",
  22286. "type": "number"
  22287. },
  22288. "tradeqty": {
  22289. "description": "成交数量",
  22290. "type": "integer"
  22291. }
  22292. }
  22293. },
  22294. "models.HsbySellMyDetail": {
  22295. "type": "object",
  22296. "required": [
  22297. "accountid",
  22298. "buyorsell",
  22299. "goodscode",
  22300. "goodsid",
  22301. "goodsname",
  22302. "marketid",
  22303. "orderid",
  22304. "time",
  22305. "trademode"
  22306. ],
  22307. "properties": {
  22308. "accountid": {
  22309. "description": "账户ID[报价币种]",
  22310. "type": "integer"
  22311. },
  22312. "agreeunit": {
  22313. "description": "合约单位",
  22314. "type": "number"
  22315. },
  22316. "buyorsell": {
  22317. "description": "买卖 - 0:买 1:卖",
  22318. "type": "integer"
  22319. },
  22320. "currencysign": {
  22321. "description": "货币符号",
  22322. "type": "string"
  22323. },
  22324. "decimalplace": {
  22325. "description": "报价小数位",
  22326. "type": "integer"
  22327. },
  22328. "goodscode": {
  22329. "description": "商品代码(内部)",
  22330. "type": "string"
  22331. },
  22332. "goodsid": {
  22333. "description": "商品ID",
  22334. "type": "integer"
  22335. },
  22336. "goodsname": {
  22337. "description": "商品名称",
  22338. "type": "string"
  22339. },
  22340. "marketid": {
  22341. "description": "市场ID",
  22342. "type": "integer"
  22343. },
  22344. "orderid": {
  22345. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22346. "type": "string"
  22347. },
  22348. "ordertype": {
  22349. "description": "单据类型:0 - 发布中, 1 - 已完成",
  22350. "type": "integer"
  22351. },
  22352. "picurls": {
  22353. "description": "介绍图片[多张用逗号分隔]",
  22354. "type": "string"
  22355. },
  22356. "price": {
  22357. "description": "价格",
  22358. "type": "number"
  22359. },
  22360. "qty": {
  22361. "description": "数量",
  22362. "type": "integer"
  22363. },
  22364. "time": {
  22365. "description": "时间",
  22366. "type": "string"
  22367. },
  22368. "trademode": {
  22369. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22370. "type": "integer"
  22371. },
  22372. "vendorname": {
  22373. "description": "供应商名称",
  22374. "type": "string"
  22375. }
  22376. }
  22377. },
  22378. "models.HsbyTopGoods": {
  22379. "type": "object",
  22380. "required": [
  22381. "goodscode",
  22382. "goodsid",
  22383. "goodsname",
  22384. "marketid",
  22385. "trademode"
  22386. ],
  22387. "properties": {
  22388. "agreeunit": {
  22389. "description": "合约单位",
  22390. "type": "number"
  22391. },
  22392. "currency": {
  22393. "description": "货币",
  22394. "type": "string"
  22395. },
  22396. "currencysign": {
  22397. "description": "货币符号",
  22398. "type": "string"
  22399. },
  22400. "decimalplace": {
  22401. "description": "报价小数位",
  22402. "type": "integer"
  22403. },
  22404. "desccityid": {
  22405. "description": "目的地(市)",
  22406. "type": "integer"
  22407. },
  22408. "descprovinceid": {
  22409. "description": "目的地(省)",
  22410. "type": "integer"
  22411. },
  22412. "goodscode": {
  22413. "description": "商品代码(内部)",
  22414. "type": "string"
  22415. },
  22416. "goodsid": {
  22417. "description": "商品ID(自增ID SEQ_GOODS)",
  22418. "type": "integer"
  22419. },
  22420. "goodsname": {
  22421. "description": "商品名称",
  22422. "type": "string"
  22423. },
  22424. "hotindex": {
  22425. "description": "景点热度",
  22426. "type": "integer"
  22427. },
  22428. "last": {
  22429. "description": "现价",
  22430. "type": "number"
  22431. },
  22432. "marketid": {
  22433. "description": "所属市场ID",
  22434. "type": "integer"
  22435. },
  22436. "picurls": {
  22437. "description": "介绍图片[多张用逗号分隔]",
  22438. "type": "string"
  22439. },
  22440. "quoteminunit": {
  22441. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22442. "type": "integer"
  22443. },
  22444. "trademode": {
  22445. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22446. "type": "integer"
  22447. },
  22448. "videourls": {
  22449. "description": "介绍视频[多张用逗号分隔]",
  22450. "type": "string"
  22451. }
  22452. }
  22453. },
  22454. "models.HybsMyBuyOrderDetail": {
  22455. "type": "object",
  22456. "required": [
  22457. "accountid",
  22458. "buyorsell",
  22459. "goodscode",
  22460. "goodsid",
  22461. "goodsname",
  22462. "marketid",
  22463. "orderid",
  22464. "orderqty",
  22465. "ordertime",
  22466. "trademode"
  22467. ],
  22468. "properties": {
  22469. "accountid": {
  22470. "description": "账户ID[报价币种]",
  22471. "type": "integer"
  22472. },
  22473. "agreeunit": {
  22474. "description": "合约单位",
  22475. "type": "number"
  22476. },
  22477. "buyorsell": {
  22478. "description": "买卖 - 0:买 1:卖",
  22479. "type": "integer"
  22480. },
  22481. "cancelqty": {
  22482. "description": "撤单数量",
  22483. "type": "integer"
  22484. },
  22485. "currencysign": {
  22486. "description": "货币符号",
  22487. "type": "string"
  22488. },
  22489. "decimalplace": {
  22490. "description": "报价小数位",
  22491. "type": "integer"
  22492. },
  22493. "goodscode": {
  22494. "description": "商品代码(内部)",
  22495. "type": "string"
  22496. },
  22497. "goodsid": {
  22498. "description": "商品ID",
  22499. "type": "integer"
  22500. },
  22501. "goodsname": {
  22502. "description": "商品名称",
  22503. "type": "string"
  22504. },
  22505. "listingselecttype": {
  22506. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22507. "type": "integer"
  22508. },
  22509. "marketid": {
  22510. "description": "市场ID",
  22511. "type": "integer"
  22512. },
  22513. "mybuystatus": {
  22514. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22515. "type": "integer"
  22516. },
  22517. "orderamount": {
  22518. "description": "委托金额",
  22519. "type": "number"
  22520. },
  22521. "orderid": {
  22522. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22523. "type": "string"
  22524. },
  22525. "orderprice": {
  22526. "description": "委托价格",
  22527. "type": "number"
  22528. },
  22529. "orderqty": {
  22530. "description": "委托数量",
  22531. "type": "integer"
  22532. },
  22533. "orderstatus": {
  22534. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22535. "type": "integer"
  22536. },
  22537. "ordertime": {
  22538. "description": "委托时间",
  22539. "type": "string"
  22540. },
  22541. "picurls1": {
  22542. "description": "预售商品介绍图片[多张用逗号分隔]",
  22543. "type": "string"
  22544. },
  22545. "picurls2": {
  22546. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22547. "type": "string"
  22548. },
  22549. "trademode": {
  22550. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22551. "type": "integer"
  22552. },
  22553. "tradeqty": {
  22554. "description": "成交数量",
  22555. "type": "integer"
  22556. },
  22557. "vendorname1": {
  22558. "description": "预售商品供应商名称",
  22559. "type": "string"
  22560. },
  22561. "vendorname2": {
  22562. "description": "挂牌商品供应商名称",
  22563. "type": "string"
  22564. }
  22565. }
  22566. },
  22567. "models.Loginaccount": {
  22568. "type": "object",
  22569. "required": [
  22570. "loginid"
  22571. ],
  22572. "properties": {
  22573. "canoutin": {
  22574. "description": "是否可出入金 - 0:不可 1:可",
  22575. "type": "integer"
  22576. },
  22577. "clientroleid": {
  22578. "description": "终端角色ID",
  22579. "type": "integer"
  22580. },
  22581. "haslogined": {
  22582. "description": "是否已登录 - 0:未登录 1:已登录",
  22583. "type": "integer"
  22584. },
  22585. "hasupdatedpwd": {
  22586. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22587. "type": "integer"
  22588. },
  22589. "lastloginip": {
  22590. "description": "最新登录地址",
  22591. "type": "string"
  22592. },
  22593. "lastloginmode": {
  22594. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22595. "type": "integer"
  22596. },
  22597. "lastloginremark": {
  22598. "description": "最新登录描述",
  22599. "type": "string"
  22600. },
  22601. "lastlogintime": {
  22602. "description": "最新登录时间",
  22603. "type": "string"
  22604. },
  22605. "logincode": {
  22606. "description": "登录代码",
  22607. "type": "string"
  22608. },
  22609. "loginfailnum": {
  22610. "description": "连续登录失败次数(登录成功时清零)",
  22611. "type": "integer"
  22612. },
  22613. "loginid": {
  22614. "description": "登陆账号",
  22615. "type": "integer"
  22616. },
  22617. "loginport": {
  22618. "description": "最新登录端口",
  22619. "type": "integer"
  22620. },
  22621. "loginstatus": {
  22622. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22623. "type": "integer"
  22624. },
  22625. "loginusertype": {
  22626. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22627. "type": "integer"
  22628. },
  22629. "modifierid": {
  22630. "description": "修改人",
  22631. "type": "integer"
  22632. },
  22633. "modifytime": {
  22634. "description": "修改时间",
  22635. "type": "string"
  22636. },
  22637. "pwdwrongcount": {
  22638. "description": "密码错误次数",
  22639. "type": "integer"
  22640. },
  22641. "taaccountrighttype": {
  22642. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22643. "type": "integer"
  22644. },
  22645. "unfreezetime": {
  22646. "description": "账户解冻时间",
  22647. "type": "string"
  22648. },
  22649. "userid": {
  22650. "description": "用户ID",
  22651. "type": "integer"
  22652. }
  22653. }
  22654. },
  22655. "models.MainAccountInfo": {
  22656. "type": "object",
  22657. "properties": {
  22658. "accountid": {
  22659. "description": "账号id",
  22660. "type": "integer"
  22661. },
  22662. "accountname": {
  22663. "description": "账号名称(taaccount表中的名称)",
  22664. "type": "string"
  22665. },
  22666. "appid": {
  22667. "description": "AppID",
  22668. "type": "string"
  22669. },
  22670. "authcode": {
  22671. "description": "授权码",
  22672. "type": "string"
  22673. },
  22674. "brokerid": {
  22675. "description": "经纪商id",
  22676. "type": "string"
  22677. },
  22678. "fcid": {
  22679. "description": "期货公司id",
  22680. "type": "integer"
  22681. },
  22682. "fcname": {
  22683. "description": "期货公司代码",
  22684. "type": "string"
  22685. },
  22686. "hedgeaccountcode": {
  22687. "description": "外部账号代码(主账号登录代码)",
  22688. "type": "string"
  22689. },
  22690. "hedgeaccountpwd": {
  22691. "description": "密码",
  22692. "type": "string"
  22693. },
  22694. "ismain": {
  22695. "description": "是否主账号",
  22696. "type": "integer"
  22697. },
  22698. "relateduserid": {
  22699. "description": "关联用户id",
  22700. "type": "integer"
  22701. },
  22702. "userid": {
  22703. "description": "关联用户id",
  22704. "type": "integer"
  22705. }
  22706. }
  22707. },
  22708. "models.Market": {
  22709. "type": "object",
  22710. "required": [
  22711. "marketid",
  22712. "marketstatus",
  22713. "openmethod",
  22714. "reckonpricealgorithm",
  22715. "trademode",
  22716. "tradeproperty"
  22717. ],
  22718. "properties": {
  22719. "auctionwrtype": {
  22720. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22721. "type": "integer"
  22722. },
  22723. "canacceptquote": {
  22724. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22725. "type": "integer"
  22726. },
  22727. "cangoodsexercise": {
  22728. "description": "[期权]是否可现货行权- 0:否 1:是",
  22729. "type": "integer"
  22730. },
  22731. "cangoodsexercisetype": {
  22732. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22733. "type": "integer"
  22734. },
  22735. "canmanualquotestrike": {
  22736. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22737. "type": "integer"
  22738. },
  22739. "canmutistage": {
  22740. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22741. "type": "integer"
  22742. },
  22743. "canpreexercise": {
  22744. "description": "[期权]是否可预申报- 0:否 1:是",
  22745. "type": "integer"
  22746. },
  22747. "clearinterval": {
  22748. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22749. "type": "integer"
  22750. },
  22751. "contracttmp": {
  22752. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22753. "type": "string"
  22754. },
  22755. "exchareaid": {
  22756. "description": "所属交易所,可以没有",
  22757. "type": "integer"
  22758. },
  22759. "goodstype": {
  22760. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22761. "type": "integer"
  22762. },
  22763. "hasrebate": {
  22764. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22765. "type": "integer"
  22766. },
  22767. "hastradecredit": {
  22768. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22769. "type": "integer"
  22770. },
  22771. "haswr": {
  22772. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22773. "type": "integer"
  22774. },
  22775. "isdeductmargin": {
  22776. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22777. "type": "integer"
  22778. },
  22779. "isrecordsource": {
  22780. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22781. "type": "integer"
  22782. },
  22783. "isreleasemargin": {
  22784. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22785. "type": "integer"
  22786. },
  22787. "marginformula": {
  22788. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22789. "type": "integer"
  22790. },
  22791. "marginformula2": {
  22792. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22793. "type": "integer"
  22794. },
  22795. "marketid": {
  22796. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22797. "type": "integer"
  22798. },
  22799. "marketname": {
  22800. "description": "市场名称",
  22801. "type": "string"
  22802. },
  22803. "marketserviceid": {
  22804. "description": "市场服务ID",
  22805. "type": "integer"
  22806. },
  22807. "marketstatus": {
  22808. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22809. "type": "integer"
  22810. },
  22811. "markettype": {
  22812. "description": "市场类型- 1:非交易服务 2:交易服务",
  22813. "type": "integer"
  22814. },
  22815. "matchermode": {
  22816. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22817. "type": "integer"
  22818. },
  22819. "openmethod": {
  22820. "description": "开盘模式 - 0 自动 1手动",
  22821. "type": "integer"
  22822. },
  22823. "otcuserid": {
  22824. "description": "场外期权做市商[场外期权]",
  22825. "type": "integer"
  22826. },
  22827. "outersynctime": {
  22828. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22829. "type": "string"
  22830. },
  22831. "pendingflag": {
  22832. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22833. "type": "integer"
  22834. },
  22835. "pendingtime": {
  22836. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22837. "type": "string"
  22838. },
  22839. "performancetempid": {
  22840. "description": "履约计划模板ID - 作废",
  22841. "type": "integer"
  22842. },
  22843. "premiumquotemode": {
  22844. "description": "权利金报价方式 - 1:自动 2:手动",
  22845. "type": "integer"
  22846. },
  22847. "rebateratio": {
  22848. "description": "返利比率[竞价式]",
  22849. "type": "number"
  22850. },
  22851. "reckonorder": {
  22852. "description": "结算顺序",
  22853. "type": "integer"
  22854. },
  22855. "reckonpricealgorithm": {
  22856. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22857. "type": "integer"
  22858. },
  22859. "reckonpriceparam": {
  22860. "description": "结算价参数",
  22861. "type": "integer"
  22862. },
  22863. "reckontime": {
  22864. "description": "结算时间[通道交易-对冲](HH:mm)",
  22865. "type": "string"
  22866. },
  22867. "roleprioritytype": {
  22868. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22869. "type": "integer"
  22870. },
  22871. "selllistingauditflag": {
  22872. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22873. "type": "integer"
  22874. },
  22875. "trademarkettype": {
  22876. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22877. "type": "integer"
  22878. },
  22879. "trademode": {
  22880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22881. "type": "integer"
  22882. },
  22883. "tradeproperty": {
  22884. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22885. "type": "integer"
  22886. },
  22887. "tradetype": {
  22888. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22889. "type": "integer"
  22890. }
  22891. }
  22892. },
  22893. "models.Marketrun": {
  22894. "type": "object",
  22895. "required": [
  22896. "marketid",
  22897. "nexttradedate",
  22898. "reckonflag",
  22899. "runstatus",
  22900. "tradedate",
  22901. "tradedate2"
  22902. ],
  22903. "properties": {
  22904. "afternexttradedate": {
  22905. "description": "下下交易日",
  22906. "type": "string"
  22907. },
  22908. "clearquoteflag": {
  22909. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22910. "type": "integer"
  22911. },
  22912. "lastreckondate": {
  22913. "description": "最新交易日(结算成功)",
  22914. "type": "string"
  22915. },
  22916. "machinedate": {
  22917. "description": "机器时间",
  22918. "type": "string"
  22919. },
  22920. "manualflag": {
  22921. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22922. "type": "integer"
  22923. },
  22924. "marketid": {
  22925. "description": "市场ID",
  22926. "type": "integer"
  22927. },
  22928. "nexttradedate": {
  22929. "description": "下一交易日",
  22930. "type": "string"
  22931. },
  22932. "pretradedate": {
  22933. "description": "上一交易日",
  22934. "type": "string"
  22935. },
  22936. "reckonflag": {
  22937. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22938. "type": "integer"
  22939. },
  22940. "runstatus": {
  22941. "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.今日免清算",
  22942. "type": "integer"
  22943. },
  22944. "sectionid": {
  22945. "description": "时间段号[多时段时用]",
  22946. "type": "integer"
  22947. },
  22948. "tradedate": {
  22949. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22950. "type": "string"
  22951. },
  22952. "tradedate2": {
  22953. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22954. "type": "string"
  22955. },
  22956. "updatetime": {
  22957. "description": "更新时间",
  22958. "type": "string"
  22959. }
  22960. }
  22961. },
  22962. "models.Messageboard": {
  22963. "type": "object",
  22964. "required": [
  22965. "messageboardid"
  22966. ],
  22967. "properties": {
  22968. "contactnum": {
  22969. "description": "联系电话",
  22970. "type": "string"
  22971. },
  22972. "createtime": {
  22973. "description": "创建时间",
  22974. "type": "string"
  22975. },
  22976. "message": {
  22977. "description": "留言信息",
  22978. "type": "string"
  22979. },
  22980. "messageboardid": {
  22981. "description": "留言簿ID(SEQ_MessageBoard)",
  22982. "type": "integer"
  22983. },
  22984. "userid": {
  22985. "description": "用户ID",
  22986. "type": "integer"
  22987. }
  22988. }
  22989. },
  22990. "models.MyCoupon": {
  22991. "type": "object",
  22992. "required": [
  22993. "accountid",
  22994. "coupontypeid"
  22995. ],
  22996. "properties": {
  22997. "accountid": {
  22998. "description": "资金账户ID",
  22999. "type": "integer"
  23000. },
  23001. "areauserid": {
  23002. "description": "所属机构",
  23003. "type": "integer"
  23004. },
  23005. "conditionvalue": {
  23006. "description": "条件阈值(可为0)",
  23007. "type": "number"
  23008. },
  23009. "couponcategroy": {
  23010. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23011. "type": "integer"
  23012. },
  23013. "couponname": {
  23014. "description": "优惠券名称",
  23015. "type": "string"
  23016. },
  23017. "coupontypeid": {
  23018. "description": "优惠券类型ID",
  23019. "type": "string"
  23020. },
  23021. "couponvalue": {
  23022. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23023. "type": "number"
  23024. },
  23025. "curfreezeqty": {
  23026. "description": "期末冻结数量",
  23027. "type": "integer"
  23028. },
  23029. "curqty": {
  23030. "description": "期末数量",
  23031. "type": "integer"
  23032. },
  23033. "isgeneral": {
  23034. "description": "是否通用券 - 0:否 1:是",
  23035. "type": "integer"
  23036. },
  23037. "isunusable": {
  23038. "description": "是否不可用",
  23039. "type": "boolean"
  23040. },
  23041. "limitedflag": {
  23042. "description": "是否指定商品 - 0:不限 1:限制",
  23043. "type": "integer"
  23044. },
  23045. "limitedgoodsids": {
  23046. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23047. "type": "string"
  23048. },
  23049. "orifreezeqty": {
  23050. "description": "期初冻结数量",
  23051. "type": "integer"
  23052. },
  23053. "oriqty": {
  23054. "description": "期初数量",
  23055. "type": "integer"
  23056. },
  23057. "reasontype": {
  23058. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23059. "type": "integer"
  23060. },
  23061. "todaydecrease": {
  23062. "description": "今日减少",
  23063. "type": "integer"
  23064. },
  23065. "todayincrease": {
  23066. "description": "今日增加",
  23067. "type": "integer"
  23068. },
  23069. "userid": {
  23070. "description": "用户ID",
  23071. "type": "integer"
  23072. },
  23073. "userscope": {
  23074. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23075. "type": "string"
  23076. }
  23077. }
  23078. },
  23079. "models.MyCouponHold": {
  23080. "type": "object",
  23081. "required": [
  23082. "couponholdid"
  23083. ],
  23084. "properties": {
  23085. "accountid": {
  23086. "description": "资金账户ID",
  23087. "type": "integer"
  23088. },
  23089. "conditionvalue": {
  23090. "description": "条件阈值(可为0)",
  23091. "type": "number"
  23092. },
  23093. "couponcategroy": {
  23094. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23095. "type": "integer"
  23096. },
  23097. "couponholdid": {
  23098. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23099. "type": "string"
  23100. },
  23101. "couponname": {
  23102. "description": "优惠券名称",
  23103. "type": "string"
  23104. },
  23105. "coupontypeid": {
  23106. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23107. "type": "string"
  23108. },
  23109. "couponvalue": {
  23110. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23111. "type": "number"
  23112. },
  23113. "createtime": {
  23114. "description": "创建时间",
  23115. "type": "string"
  23116. },
  23117. "enddate": {
  23118. "description": "结束日期",
  23119. "type": "string"
  23120. },
  23121. "giveapplyid": {
  23122. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23123. "type": "integer"
  23124. },
  23125. "holdstatus": {
  23126. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23127. "type": "integer"
  23128. },
  23129. "isgeneral": {
  23130. "description": "是否通用券 - 0:否 1:是",
  23131. "type": "integer"
  23132. },
  23133. "limitedflag": {
  23134. "description": "是否指定商品 - 0:不限 1:限制",
  23135. "type": "integer"
  23136. },
  23137. "limitedgoodsids": {
  23138. "description": "指定商品IDs[逗号分隔]",
  23139. "type": "string"
  23140. },
  23141. "qty": {
  23142. "description": "数量(按1平铺)",
  23143. "type": "integer"
  23144. },
  23145. "startdate": {
  23146. "description": "开始日期",
  23147. "type": "string"
  23148. },
  23149. "userid": {
  23150. "description": "用户ID",
  23151. "type": "integer"
  23152. },
  23153. "userscope": {
  23154. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23155. "type": "string"
  23156. }
  23157. }
  23158. },
  23159. "models.MyUsedCoupon": {
  23160. "type": "object",
  23161. "required": [
  23162. "coupontypeid",
  23163. "orderid"
  23164. ],
  23165. "properties": {
  23166. "accountid": {
  23167. "description": "资金账户ID(买方)",
  23168. "type": "integer"
  23169. },
  23170. "conditionvalue": {
  23171. "description": "条件阈值(可为0)",
  23172. "type": "number"
  23173. },
  23174. "couponcategroy": {
  23175. "description": "种类 - 1:现金券 2:折扣券",
  23176. "type": "integer"
  23177. },
  23178. "couponname": {
  23179. "description": "优惠券名称",
  23180. "type": "string"
  23181. },
  23182. "coupontypeid": {
  23183. "description": "优惠券类型ID(买方)",
  23184. "type": "string"
  23185. },
  23186. "couponvalue": {
  23187. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23188. "type": "number"
  23189. },
  23190. "createtime": {
  23191. "description": "创建时间",
  23192. "type": "string"
  23193. },
  23194. "goodsid": {
  23195. "description": "商品ID",
  23196. "type": "integer"
  23197. },
  23198. "handlestatus": {
  23199. "description": "处理状态",
  23200. "type": "integer"
  23201. },
  23202. "marketid": {
  23203. "description": "市场ID",
  23204. "type": "integer"
  23205. },
  23206. "offamount": {
  23207. "description": "优惠金额",
  23208. "type": "number"
  23209. },
  23210. "orderid": {
  23211. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23212. "type": "string"
  23213. },
  23214. "sellaccountid": {
  23215. "description": "资金账户ID(卖方)",
  23216. "type": "integer"
  23217. },
  23218. "tradeamount": {
  23219. "description": "成交金额",
  23220. "type": "number"
  23221. },
  23222. "tradeid": {
  23223. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23224. "type": "string"
  23225. },
  23226. "usedqty": {
  23227. "description": "使用数量",
  23228. "type": "integer"
  23229. }
  23230. }
  23231. },
  23232. "models.OperationPrimaryMenu": {
  23233. "type": "object",
  23234. "properties": {
  23235. "Children": {
  23236. "description": "二级功能菜单",
  23237. "type": "array",
  23238. "items": {
  23239. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23240. }
  23241. },
  23242. "Key": {
  23243. "description": "菜单KEY",
  23244. "type": "string"
  23245. },
  23246. "Label": {
  23247. "description": "菜单标题",
  23248. "type": "string"
  23249. }
  23250. }
  23251. },
  23252. "models.OperationSecondaryMenu": {
  23253. "type": "object",
  23254. "properties": {
  23255. "Key": {
  23256. "description": "菜单KEY",
  23257. "type": "string"
  23258. },
  23259. "Label": {
  23260. "description": "菜单标题",
  23261. "type": "string"
  23262. },
  23263. "TabList": {
  23264. "description": "三级功能菜单",
  23265. "type": "array",
  23266. "items": {
  23267. "$ref": "#/definitions/models.OperationTabMenu"
  23268. }
  23269. }
  23270. }
  23271. },
  23272. "models.OperationTabMenu": {
  23273. "type": "object",
  23274. "properties": {
  23275. "Key": {
  23276. "description": "菜单KEY",
  23277. "type": "string"
  23278. },
  23279. "Label": {
  23280. "description": "菜单标题",
  23281. "type": "string"
  23282. }
  23283. }
  23284. },
  23285. "models.PendingAuditBizModel": {
  23286. "type": "object",
  23287. "properties": {
  23288. "accountid": {
  23289. "description": "现货账户",
  23290. "type": "string"
  23291. },
  23292. "areaname": {
  23293. "description": "所属部门",
  23294. "type": "string"
  23295. },
  23296. "bizid": {
  23297. "description": "业务ID",
  23298. "type": "string"
  23299. },
  23300. "bizname": {
  23301. "description": "业务名称",
  23302. "type": "string"
  23303. },
  23304. "status": {
  23305. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23306. "type": "integer"
  23307. },
  23308. "type": {
  23309. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23310. "type": "integer"
  23311. }
  23312. }
  23313. },
  23314. "models.QhjAccountOutInApply": {
  23315. "type": "object",
  23316. "properties": {
  23317. "accountcode": {
  23318. "description": "资金账号",
  23319. "type": "string"
  23320. },
  23321. "accountname": {
  23322. "description": "用户名称(名称)",
  23323. "type": "string"
  23324. },
  23325. "accountpwd": {
  23326. "description": "资金密码",
  23327. "type": "string"
  23328. },
  23329. "accountticket": {
  23330. "description": "最新账户服务流水号",
  23331. "type": "string"
  23332. },
  23333. "amount": {
  23334. "description": "金额",
  23335. "type": "number"
  23336. },
  23337. "applyremark": {
  23338. "description": "申请备注",
  23339. "type": "string"
  23340. },
  23341. "applystatus": {
  23342. "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: 复审通过,账户冻结金额检查中;",
  23343. "type": "integer"
  23344. },
  23345. "auditid": {
  23346. "description": "审核人",
  23347. "type": "integer"
  23348. },
  23349. "audittime": {
  23350. "description": "审核时间",
  23351. "type": "string"
  23352. },
  23353. "bank_apply_ticket": {
  23354. "description": "银行申请流水",
  23355. "type": "string"
  23356. },
  23357. "bankaccountname": {
  23358. "description": "银行账户名",
  23359. "type": "string"
  23360. },
  23361. "bankaccountno": {
  23362. "description": "银行卡号",
  23363. "type": "string"
  23364. },
  23365. "bankid": {
  23366. "description": "银行编号",
  23367. "type": "string"
  23368. },
  23369. "bankticket": {
  23370. "description": "银行流水",
  23371. "type": "string"
  23372. },
  23373. "branchbankid": {
  23374. "description": "银行支行号",
  23375. "type": "string"
  23376. },
  23377. "branchbankname": {
  23378. "description": "银行支行名称",
  23379. "type": "string"
  23380. },
  23381. "capamountout": {
  23382. "description": "出金(劣后本金) - 外部子账户",
  23383. "type": "number"
  23384. },
  23385. "certificatephotourl": {
  23386. "description": "凭证地址",
  23387. "type": "string"
  23388. },
  23389. "charge": {
  23390. "description": "手续费",
  23391. "type": "number"
  23392. },
  23393. "checkerrorflag": {
  23394. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23395. "type": "integer"
  23396. },
  23397. "currency": {
  23398. "description": "币种",
  23399. "type": "string"
  23400. },
  23401. "cusbankid": {
  23402. "description": "托管银行编号",
  23403. "type": "string"
  23404. },
  23405. "exchticket": {
  23406. "description": "银行服务流水号",
  23407. "type": "string"
  23408. },
  23409. "executetype": {
  23410. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23411. "type": "integer"
  23412. },
  23413. "extendinfo": {
  23414. "description": "扩展信息",
  23415. "type": "string"
  23416. },
  23417. "extoperateid": {
  23418. "description": "交易服务流水号",
  23419. "type": "integer"
  23420. },
  23421. "infamount": {
  23422. "description": "劣后金额(自有)",
  23423. "type": "number"
  23424. },
  23425. "logincode": {
  23426. "description": "登录账号(账号)",
  23427. "type": "string"
  23428. },
  23429. "netaddr": {
  23430. "description": "调转网址",
  23431. "type": "string"
  23432. },
  23433. "priamount": {
  23434. "description": "优先金额(授信)",
  23435. "type": "number"
  23436. },
  23437. "reauditid": {
  23438. "description": "复审人",
  23439. "type": "integer"
  23440. },
  23441. "reauditremark": {
  23442. "description": "复审备注",
  23443. "type": "string"
  23444. },
  23445. "reaudittime": {
  23446. "description": "复审时间",
  23447. "type": "string"
  23448. },
  23449. "relatedorderid": {
  23450. "description": "三方关联ID",
  23451. "type": "string"
  23452. },
  23453. "remark": {
  23454. "description": "备注",
  23455. "type": "string"
  23456. },
  23457. "remark2": {
  23458. "description": "备注(失败原因)",
  23459. "type": "string"
  23460. },
  23461. "soucreamount": {
  23462. "description": "原始出入金金额",
  23463. "type": "number"
  23464. },
  23465. "soucrecurrencyid": {
  23466. "description": "原始出入金币种",
  23467. "type": "integer"
  23468. },
  23469. "tradedate": {
  23470. "description": "交易日(yyyyMMdd)",
  23471. "type": "string"
  23472. },
  23473. "updatetime": {
  23474. "description": "更新时间(申请时间)",
  23475. "type": "string"
  23476. },
  23477. "userid": {
  23478. "description": "用户id",
  23479. "type": "integer"
  23480. },
  23481. "userinfotype": {
  23482. "description": "账户类型 1-个人 2-企业",
  23483. "type": "integer"
  23484. }
  23485. }
  23486. },
  23487. "models.QhjAgreementChangeLog": {
  23488. "type": "object",
  23489. "properties": {
  23490. "agreementcontent": {
  23491. "description": "协议内容",
  23492. "type": "string"
  23493. },
  23494. "agreementfrequency": {
  23495. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23496. "type": "integer"
  23497. },
  23498. "agreementid": {
  23499. "description": "协议ID",
  23500. "type": "integer"
  23501. },
  23502. "agreementname": {
  23503. "description": "协议名称",
  23504. "type": "string"
  23505. },
  23506. "agreementno": {
  23507. "description": "协议编号",
  23508. "type": "string"
  23509. },
  23510. "agreementtype": {
  23511. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23512. "type": "integer"
  23513. },
  23514. "agreementversion": {
  23515. "description": "协议版本号",
  23516. "type": "integer"
  23517. },
  23518. "logid": {
  23519. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23520. "type": "integer"
  23521. },
  23522. "reviserid": {
  23523. "description": "修改人",
  23524. "type": "integer"
  23525. },
  23526. "revisersrc": {
  23527. "description": "修改来源 - 1:管理端 2:终端",
  23528. "type": "integer"
  23529. },
  23530. "updatetime": {
  23531. "description": "更新时间",
  23532. "type": "string"
  23533. }
  23534. }
  23535. },
  23536. "models.QhjAgreementConfig": {
  23537. "type": "object",
  23538. "properties": {
  23539. "agreementcontent": {
  23540. "description": "协议内容",
  23541. "type": "string"
  23542. },
  23543. "agreementfrequency": {
  23544. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23545. "type": "integer"
  23546. },
  23547. "agreementid": {
  23548. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23549. "type": "integer"
  23550. },
  23551. "agreementname": {
  23552. "description": "协议名称",
  23553. "type": "string"
  23554. },
  23555. "agreementno": {
  23556. "description": "协议编号",
  23557. "type": "string"
  23558. },
  23559. "agreementtype": {
  23560. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23561. "type": "integer"
  23562. },
  23563. "agreementversion": {
  23564. "description": "协议版本号(从1开始每次修改加1)",
  23565. "type": "integer"
  23566. },
  23567. "createtime": {
  23568. "description": "创建时间",
  23569. "type": "string"
  23570. },
  23571. "creatorid": {
  23572. "description": "创建人",
  23573. "type": "integer"
  23574. },
  23575. "creatorsrc": {
  23576. "description": "创建来源 - 1:管理端 2:终端",
  23577. "type": "integer"
  23578. },
  23579. "isvalid": {
  23580. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  23581. "type": "integer"
  23582. },
  23583. "reviserid": {
  23584. "description": "修改人",
  23585. "type": "integer"
  23586. },
  23587. "revisersrc": {
  23588. "description": "修改来源 - 1:管理端 2:终端",
  23589. "type": "integer"
  23590. },
  23591. "updatetime": {
  23592. "description": "更新时间",
  23593. "type": "string"
  23594. }
  23595. }
  23596. },
  23597. "models.QhjAreaFinanceConfig": {
  23598. "type": "object",
  23599. "properties": {
  23600. "additionalratio": {
  23601. "description": "追加款比例",
  23602. "type": "number"
  23603. },
  23604. "advanceratio": {
  23605. "description": "预付款比例",
  23606. "type": "number"
  23607. },
  23608. "alarmratio": {
  23609. "description": "告警比例",
  23610. "type": "number"
  23611. },
  23612. "consumptiondirectreward": {
  23613. "description": "消费直推奖励值",
  23614. "type": "number"
  23615. },
  23616. "consumptionenabled": {
  23617. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23618. "type": "integer"
  23619. },
  23620. "consumptionindirectreward": {
  23621. "description": "消费间推奖励值",
  23622. "type": "number"
  23623. },
  23624. "consumptionmodel": {
  23625. "description": "消费奖励方式 - 1:比率 2:固定",
  23626. "type": "integer"
  23627. },
  23628. "customerservicenum": {
  23629. "description": "客服电话",
  23630. "type": "string"
  23631. },
  23632. "dayinterestrate": {
  23633. "description": "日利率",
  23634. "type": "number"
  23635. },
  23636. "disableconsumptiontips": {
  23637. "description": "关闭消费奖励提示",
  23638. "type": "string"
  23639. },
  23640. "modifierid": {
  23641. "description": "修改人ID",
  23642. "type": "integer"
  23643. },
  23644. "modifysrc": {
  23645. "description": "审核来源 - 1:管理端 2:终端",
  23646. "type": "integer"
  23647. },
  23648. "modifytime": {
  23649. "description": "修改时间",
  23650. "type": "string"
  23651. },
  23652. "promotionvalue": {
  23653. "description": "推广奖励值(固定)",
  23654. "type": "number"
  23655. },
  23656. "scoreconfigvalue1": {
  23657. "description": "提货积分配置1",
  23658. "type": "integer"
  23659. },
  23660. "scoreconfigvalue2": {
  23661. "description": "提货积分配置2",
  23662. "type": "integer"
  23663. },
  23664. "userid": {
  23665. "description": "机构用户ID其他做市关系,都设置为 1",
  23666. "type": "integer"
  23667. },
  23668. "username": {
  23669. "description": "用户名称",
  23670. "type": "string"
  23671. }
  23672. }
  23673. },
  23674. "models.QhjBankAccountSign": {
  23675. "type": "object",
  23676. "properties": {
  23677. "accountcode": {
  23678. "description": "资金账号",
  23679. "type": "string"
  23680. },
  23681. "accountname": {
  23682. "description": "资金账号对应的账号名(UserName)",
  23683. "type": "string"
  23684. },
  23685. "accountname2": {
  23686. "description": "资金账号对应的账号名(UserName) - 密文",
  23687. "type": "string"
  23688. },
  23689. "accounttype": {
  23690. "description": "账户类型(UserType)",
  23691. "type": "integer"
  23692. },
  23693. "applicationtime": {
  23694. "description": "最后一次更新的时间",
  23695. "type": "string"
  23696. },
  23697. "applyexchticket": {
  23698. "description": "申请流水",
  23699. "type": "string"
  23700. },
  23701. "auditid": {
  23702. "description": "审核人",
  23703. "type": "integer"
  23704. },
  23705. "audittime": {
  23706. "description": "审核时间",
  23707. "type": "string"
  23708. },
  23709. "bankaccountname": {
  23710. "description": "签约银行卡账号名",
  23711. "type": "string"
  23712. },
  23713. "bankaccountname2": {
  23714. "description": "签约银行卡账号名 - 密文",
  23715. "type": "string"
  23716. },
  23717. "bankaccountno": {
  23718. "description": "银行卡号",
  23719. "type": "string"
  23720. },
  23721. "bankaccountno2": {
  23722. "description": "银行卡号 - 密文",
  23723. "type": "string"
  23724. },
  23725. "bankaccounttype": {
  23726. "description": "银行账户类型 - 1-对私; 2-对公",
  23727. "type": "integer"
  23728. },
  23729. "bankcardtype": {
  23730. "description": "银行卡类型",
  23731. "type": "integer"
  23732. },
  23733. "bankchildaccount": {
  23734. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23735. "type": "string"
  23736. },
  23737. "bankcity": {
  23738. "description": "开户行城市",
  23739. "type": "string"
  23740. },
  23741. "bankid": {
  23742. "description": "签约银行ID",
  23743. "type": "string"
  23744. },
  23745. "bankname": {
  23746. "description": "签约银行名称",
  23747. "type": "string"
  23748. },
  23749. "bankprovince": {
  23750. "description": "开户行省份",
  23751. "type": "string"
  23752. },
  23753. "branchbankid": {
  23754. "description": "签约银行支行号",
  23755. "type": "string"
  23756. },
  23757. "branchbankname": {
  23758. "description": "签约银行支行名称",
  23759. "type": "string"
  23760. },
  23761. "cardno": {
  23762. "description": "证件号码",
  23763. "type": "string"
  23764. },
  23765. "cardno2": {
  23766. "description": "证件号码 - 密文",
  23767. "type": "string"
  23768. },
  23769. "cardtype": {
  23770. "description": "证件类型",
  23771. "type": "string"
  23772. },
  23773. "currency": {
  23774. "description": "币种",
  23775. "type": "string"
  23776. },
  23777. "cusbankid": {
  23778. "description": "托管银行编号",
  23779. "type": "string"
  23780. },
  23781. "direct": {
  23782. "description": "方向(可以判断那方先发起的签约)",
  23783. "type": "integer"
  23784. },
  23785. "exchticket": {
  23786. "description": "最后一次签约成功的流水号",
  23787. "type": "string"
  23788. },
  23789. "extendinfo": {
  23790. "description": "扩展信息(JSON字符串)",
  23791. "type": "string"
  23792. },
  23793. "mobilephone": {
  23794. "description": "手机号",
  23795. "type": "string"
  23796. },
  23797. "mobilephone2": {
  23798. "description": "手机号 - 密文",
  23799. "type": "string"
  23800. },
  23801. "netaddr": {
  23802. "description": "调转网址",
  23803. "type": "string"
  23804. },
  23805. "relateduserid": {
  23806. "description": "关联使用者userid",
  23807. "type": "integer"
  23808. },
  23809. "signstatus": {
  23810. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23811. "type": "integer"
  23812. },
  23813. "updatetime": {
  23814. "description": "更新时间(签解约更新时间)",
  23815. "type": "string"
  23816. }
  23817. }
  23818. },
  23819. "models.QhjBankInfo": {
  23820. "type": "object",
  23821. "properties": {
  23822. "bankid": {
  23823. "description": "银行ID",
  23824. "type": "string"
  23825. },
  23826. "bankname": {
  23827. "description": "银行名称",
  23828. "type": "string"
  23829. },
  23830. "clearbankno": {
  23831. "description": "清算系统银行编号",
  23832. "type": "string"
  23833. },
  23834. "orderindex": {
  23835. "description": "排序顺序",
  23836. "type": "integer"
  23837. },
  23838. "status": {
  23839. "description": "状态 - 0:正常 1:注销",
  23840. "type": "integer"
  23841. }
  23842. }
  23843. },
  23844. "models.QhjBrokerApply": {
  23845. "type": "object",
  23846. "properties": {
  23847. "applicantid": {
  23848. "description": "申请人",
  23849. "type": "integer"
  23850. },
  23851. "applysrc": {
  23852. "description": "申请来源 - 1:管理端 2:终端",
  23853. "type": "integer"
  23854. },
  23855. "applystatus": {
  23856. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23857. "type": "integer"
  23858. },
  23859. "applytime": {
  23860. "description": "申请时间",
  23861. "type": "string"
  23862. },
  23863. "auditorid": {
  23864. "description": "审核人",
  23865. "type": "integer"
  23866. },
  23867. "auditremark": {
  23868. "description": "审核备注",
  23869. "type": "string"
  23870. },
  23871. "auditsrc": {
  23872. "description": "审核来源 - 1:管理端 2:终端",
  23873. "type": "integer"
  23874. },
  23875. "audittime": {
  23876. "description": "审核时间",
  23877. "type": "string"
  23878. },
  23879. "audittradedate": {
  23880. "description": "审核交易日(yyyyMMdd)",
  23881. "type": "string"
  23882. },
  23883. "brokerapplyid": {
  23884. "description": "申请ID(SEQ_BROKERAPPLY)",
  23885. "type": "integer"
  23886. },
  23887. "cardbackphotourl": {
  23888. "description": "证件背面图片地址",
  23889. "type": "string"
  23890. },
  23891. "cardfrontphotourl": {
  23892. "description": "证件正面图片地址",
  23893. "type": "string"
  23894. },
  23895. "cardnum": {
  23896. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  23897. "type": "string"
  23898. },
  23899. "customername": {
  23900. "description": "姓名",
  23901. "type": "string"
  23902. },
  23903. "logincode": {
  23904. "description": "登录代码",
  23905. "type": "string"
  23906. },
  23907. "mobile": {
  23908. "description": "手机号码",
  23909. "type": "string"
  23910. },
  23911. "parentuserid": {
  23912. "description": "所属机构id",
  23913. "type": "integer"
  23914. },
  23915. "parentusername": {
  23916. "description": "所属机构名称",
  23917. "type": "string"
  23918. },
  23919. "refereeuserid": {
  23920. "description": "推荐人id(经纪人)",
  23921. "type": "integer"
  23922. },
  23923. "refernum": {
  23924. "description": "推荐码",
  23925. "type": "string"
  23926. },
  23927. "remark": {
  23928. "description": "备注",
  23929. "type": "string"
  23930. },
  23931. "subarealevelpath": {
  23932. "description": "层级路径",
  23933. "type": "string"
  23934. },
  23935. "tradedate": {
  23936. "description": "交易日(yyyyMMdd)",
  23937. "type": "string"
  23938. },
  23939. "userid": {
  23940. "description": "申请人用户ID",
  23941. "type": "integer"
  23942. },
  23943. "userinfotype": {
  23944. "description": "用户类型 1-个人 2-企业",
  23945. "type": "integer"
  23946. },
  23947. "username": {
  23948. "description": "用户名称",
  23949. "type": "string"
  23950. }
  23951. }
  23952. },
  23953. "models.QhjBrokerRewardLog": {
  23954. "type": "object",
  23955. "properties": {
  23956. "accountid": {
  23957. "description": "资金账号ID",
  23958. "type": "integer"
  23959. },
  23960. "createtime": {
  23961. "description": "创建时间(时间)",
  23962. "type": "string"
  23963. },
  23964. "handlestatus": {
  23965. "description": "处理状态",
  23966. "type": "integer"
  23967. },
  23968. "logid": {
  23969. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23970. "type": "string"
  23971. },
  23972. "marketid": {
  23973. "description": "市场ID",
  23974. "type": "integer"
  23975. },
  23976. "mmaccountid": {
  23977. "description": "做市商资金账号ID",
  23978. "type": "string"
  23979. },
  23980. "mmuserid": {
  23981. "description": "做市商用户ID",
  23982. "type": "string"
  23983. },
  23984. "rewardamount": {
  23985. "description": "奖励金额",
  23986. "type": "number"
  23987. },
  23988. "rewardmodel": {
  23989. "description": "消费奖励方式 - 1:比率 2:固定",
  23990. "type": "integer"
  23991. },
  23992. "rewardtype": {
  23993. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  23994. "type": "integer"
  23995. },
  23996. "rewardvalue": {
  23997. "description": "配置奖励值",
  23998. "type": "number"
  23999. },
  24000. "srcamount": {
  24001. "description": "成交金额 [消费奖励] (金额)",
  24002. "type": "number"
  24003. },
  24004. "srcgoodsid": {
  24005. "description": "来源商品ID [消费奖励]",
  24006. "type": "string"
  24007. },
  24008. "srctime": {
  24009. "description": "来源时间 (成交时间) [消费奖励]",
  24010. "type": "string"
  24011. },
  24012. "srctradeid": {
  24013. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24014. "type": "string"
  24015. },
  24016. "srcuserid": {
  24017. "description": "来源用户ID(推广账户)",
  24018. "type": "string"
  24019. },
  24020. "srcusername": {
  24021. "description": "推广账户名称",
  24022. "type": "string"
  24023. },
  24024. "tradedate": {
  24025. "description": "交易日(yyyyMMdd)",
  24026. "type": "string"
  24027. },
  24028. "userid": {
  24029. "description": "经纪人用户ID",
  24030. "type": "integer"
  24031. }
  24032. }
  24033. },
  24034. "models.QhjContract": {
  24035. "type": "object",
  24036. "properties": {
  24037. "contractconfirmtime": {
  24038. "description": "合同确认时间(时间)",
  24039. "type": "string"
  24040. },
  24041. "currisklevel": {
  24042. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24043. "type": "integer"
  24044. },
  24045. "decimalplace": {
  24046. "description": "商品报价小数位",
  24047. "type": "integer"
  24048. },
  24049. "enumdicname": {
  24050. "description": "单位名称",
  24051. "type": "string"
  24052. },
  24053. "goodscode": {
  24054. "description": "商品代码",
  24055. "type": "string"
  24056. },
  24057. "goodsid": {
  24058. "description": "商品ID [5:融资单]",
  24059. "type": "integer"
  24060. },
  24061. "goodsname": {
  24062. "description": "商品名称",
  24063. "type": "string"
  24064. },
  24065. "goodunitid": {
  24066. "description": "商品单位id",
  24067. "type": "integer"
  24068. },
  24069. "initmargin": {
  24070. "description": "初始保证金(首付款)",
  24071. "type": "number"
  24072. },
  24073. "lenderamount": {
  24074. "description": "贷款金额(总额|订单总额)",
  24075. "type": "number"
  24076. },
  24077. "marginratio": {
  24078. "description": "保证金比率(首付比例)",
  24079. "type": "number"
  24080. },
  24081. "payamount": {
  24082. "description": "已付(已付货款)",
  24083. "type": "number"
  24084. },
  24085. "reckonrecovermargin": {
  24086. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24087. "type": "number"
  24088. },
  24089. "recoveredmargin": {
  24090. "description": "已追缴保证金",
  24091. "type": "number"
  24092. },
  24093. "remainamount": {
  24094. "description": "合同剩余金额(融资额)",
  24095. "type": "number"
  24096. },
  24097. "scfcontractid": {
  24098. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24099. "type": "string"
  24100. },
  24101. "scfcontractstatus": {
  24102. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24103. "type": "integer"
  24104. },
  24105. "scfcontracttype": {
  24106. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24107. "type": "integer"
  24108. },
  24109. "totalinterest": {
  24110. "description": "已计总利息(利息)",
  24111. "type": "number"
  24112. },
  24113. "tradeprice": {
  24114. "description": "成交价格(成本价格)",
  24115. "type": "number"
  24116. },
  24117. "userid": {
  24118. "description": "用户ID",
  24119. "type": "integer"
  24120. },
  24121. "username": {
  24122. "description": "用户名称",
  24123. "type": "string"
  24124. },
  24125. "wrqty": {
  24126. "description": "仓单数量(数量)",
  24127. "type": "number"
  24128. }
  24129. }
  24130. },
  24131. "models.QhjContractLog": {
  24132. "type": "object",
  24133. "properties": {
  24134. "amount": {
  24135. "description": "支付金额",
  24136. "type": "number"
  24137. },
  24138. "amounttype": {
  24139. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24140. "type": "integer"
  24141. },
  24142. "logid": {
  24143. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24144. "type": "string"
  24145. },
  24146. "remainamount": {
  24147. "description": "剩余货款",
  24148. "type": "number"
  24149. },
  24150. "scfcontractid": {
  24151. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24152. "type": "integer"
  24153. },
  24154. "updatetime": {
  24155. "description": "更新时间",
  24156. "type": "string"
  24157. }
  24158. }
  24159. },
  24160. "models.QhjCusBankSignBankEx": {
  24161. "type": "object",
  24162. "properties": {
  24163. "banklst": {
  24164. "description": "银行列表",
  24165. "type": "array",
  24166. "items": {
  24167. "$ref": "#/definitions/models.QhjBankInfo"
  24168. }
  24169. },
  24170. "canallot": {
  24171. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  24172. "type": "integer"
  24173. },
  24174. "canallotquery": {
  24175. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  24176. "type": "integer"
  24177. },
  24178. "canbindcard": {
  24179. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  24180. "type": "integer"
  24181. },
  24182. "caninamount": {
  24183. "description": "是否可入金 - 0:不可 1:可以",
  24184. "type": "integer"
  24185. },
  24186. "caninamount2": {
  24187. "description": "是否可入金(网银端) - 0:不可 1:可以",
  24188. "type": "integer"
  24189. },
  24190. "canmodifybankcard": {
  24191. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  24192. "type": "integer"
  24193. },
  24194. "canmodifyphone": {
  24195. "description": "是否可修改手机号 - 0:不可 1:可以",
  24196. "type": "integer"
  24197. },
  24198. "canmodifysigninfo": {
  24199. "description": "是否可修改签约信息 - 0:不可 1:可以",
  24200. "type": "integer"
  24201. },
  24202. "canoutamount": {
  24203. "description": "是否可出金 - 0:不可 1:可以",
  24204. "type": "integer"
  24205. },
  24206. "canoutamount2": {
  24207. "description": "是否可出金(网银端) - 0:不可 1:可以",
  24208. "type": "integer"
  24209. },
  24210. "canrelease": {
  24211. "description": "是否可解约 - 0:不可 1:可以",
  24212. "type": "integer"
  24213. },
  24214. "canrelease2": {
  24215. "description": "是否可解约(网银端) - 0:不可 1:可以",
  24216. "type": "integer"
  24217. },
  24218. "cansign": {
  24219. "description": "是否可签约 - 0:不可 1:可以",
  24220. "type": "integer"
  24221. },
  24222. "cansign2": {
  24223. "description": "是否可签约(网银端) - 0:不可 1:可以",
  24224. "type": "integer"
  24225. },
  24226. "currency": {
  24227. "description": "币种",
  24228. "type": "string"
  24229. },
  24230. "cusbankid": {
  24231. "description": "托管银行编号(对应清算中心TRAN_NO)",
  24232. "type": "string"
  24233. },
  24234. "cusbankname": {
  24235. "description": "银行业务名称",
  24236. "type": "string"
  24237. },
  24238. "cusbankshortname": {
  24239. "description": "银行业务简称",
  24240. "type": "string"
  24241. },
  24242. "exchbankid": {
  24243. "description": "交易所开户银行ID",
  24244. "type": "string"
  24245. },
  24246. "exchpaybankaccname": {
  24247. "description": "交易所支出结算账户户名",
  24248. "type": "string"
  24249. },
  24250. "exchpaybankaccno": {
  24251. "description": "交易所支出结算账户",
  24252. "type": "string"
  24253. },
  24254. "isneedcheck": {
  24255. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  24256. "type": "integer"
  24257. },
  24258. "isneedclear": {
  24259. "description": "是否需要清算 - 0:不需要 1:需要",
  24260. "type": "integer"
  24261. },
  24262. "lastcheckstatus": {
  24263. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  24264. "type": "integer"
  24265. },
  24266. "lastchecktime": {
  24267. "description": "最后对账时间",
  24268. "type": "string"
  24269. },
  24270. "lastclearstatus": {
  24271. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  24272. "type": "integer"
  24273. },
  24274. "lastcleartime": {
  24275. "description": "最后清算时间",
  24276. "type": "string"
  24277. },
  24278. "lastsignintime": {
  24279. "description": "最后签到时间",
  24280. "type": "string"
  24281. },
  24282. "lastsignouttime": {
  24283. "description": "最后签退时间",
  24284. "type": "string"
  24285. },
  24286. "riskinfo": {
  24287. "description": "签约风险提示书",
  24288. "type": "string"
  24289. },
  24290. "signstatus": {
  24291. "description": "当前签到/签退状态 - 1:签到 2:签退",
  24292. "type": "integer"
  24293. },
  24294. "tradedate": {
  24295. "description": "交易日(yyyyMMdd)",
  24296. "type": "string"
  24297. },
  24298. "updatetime": {
  24299. "description": "当前签到/签退更新时间",
  24300. "type": "string"
  24301. }
  24302. }
  24303. },
  24304. "models.QhjCustomer": {
  24305. "type": "object",
  24306. "properties": {
  24307. "address": {
  24308. "description": "通讯地址",
  24309. "type": "string"
  24310. },
  24311. "attachment1": {
  24312. "description": "附件1",
  24313. "type": "string"
  24314. },
  24315. "audittime": {
  24316. "description": "审核时间",
  24317. "type": "string"
  24318. },
  24319. "cardbackphotourl": {
  24320. "description": "证件反面图片地址",
  24321. "type": "string"
  24322. },
  24323. "cardfrontphotourl": {
  24324. "description": "证件正面图片地址",
  24325. "type": "string"
  24326. },
  24327. "cardnum": {
  24328. "description": "证件号码",
  24329. "type": "string"
  24330. },
  24331. "cardtype": {
  24332. "description": "证件类型",
  24333. "type": "integer"
  24334. },
  24335. "cardtypename": {
  24336. "description": "证件类型名称",
  24337. "type": "string"
  24338. },
  24339. "cityid": {
  24340. "description": "市",
  24341. "type": "integer"
  24342. },
  24343. "cityname": {
  24344. "description": "城市名称",
  24345. "type": "string"
  24346. },
  24347. "contactname": {
  24348. "description": "联系人",
  24349. "type": "string"
  24350. },
  24351. "countryid": {
  24352. "description": "国家",
  24353. "type": "integer"
  24354. },
  24355. "countryname": {
  24356. "description": "国家名称",
  24357. "type": "string"
  24358. },
  24359. "createtime": {
  24360. "description": "创建时间",
  24361. "type": "string"
  24362. },
  24363. "customername": {
  24364. "description": "客户名称",
  24365. "type": "string"
  24366. },
  24367. "districtid": {
  24368. "description": "区域",
  24369. "type": "integer"
  24370. },
  24371. "districtname": {
  24372. "description": "地区名称",
  24373. "type": "string"
  24374. },
  24375. "email": {
  24376. "description": "邮件",
  24377. "type": "string"
  24378. },
  24379. "legalpersonname": {
  24380. "description": "法人姓名(企业)",
  24381. "type": "string"
  24382. },
  24383. "logincode": {
  24384. "description": "登录账号(代码)",
  24385. "type": "string"
  24386. },
  24387. "memberuserid": {
  24388. "description": "所属机构ID(所属会员)",
  24389. "type": "integer"
  24390. },
  24391. "memberusername": {
  24392. "description": "所属会员名称",
  24393. "type": "string"
  24394. },
  24395. "mobile": {
  24396. "description": "手机号码",
  24397. "type": "string"
  24398. },
  24399. "modifytime": {
  24400. "description": "修改时间",
  24401. "type": "string"
  24402. },
  24403. "nickname": {
  24404. "description": "昵称",
  24405. "type": "string"
  24406. },
  24407. "parentuserid": {
  24408. "description": "上级机构(所属机构)",
  24409. "type": "integer"
  24410. },
  24411. "parentusername": {
  24412. "description": "所属机构名称",
  24413. "type": "string"
  24414. },
  24415. "provinceid": {
  24416. "description": "省",
  24417. "type": "integer"
  24418. },
  24419. "provincename": {
  24420. "description": "省名称",
  24421. "type": "string"
  24422. },
  24423. "proxystatementurl": {
  24424. "description": "授权委托书",
  24425. "type": "string"
  24426. },
  24427. "remark": {
  24428. "description": "备注",
  24429. "type": "string"
  24430. },
  24431. "status": {
  24432. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  24433. "type": "integer"
  24434. },
  24435. "statusdesc": {
  24436. "description": "账户状态中文描述",
  24437. "type": "string"
  24438. },
  24439. "taxpayernum": {
  24440. "description": "纳税人识别号",
  24441. "type": "string"
  24442. },
  24443. "telphone": {
  24444. "description": "联系电话",
  24445. "type": "string"
  24446. },
  24447. "userid": {
  24448. "description": "用户ID",
  24449. "type": "integer"
  24450. },
  24451. "userinfotype": {
  24452. "description": "客户类型 1-个人 2-企业",
  24453. "type": "integer"
  24454. },
  24455. "username": {
  24456. "description": "用户名称",
  24457. "type": "string"
  24458. }
  24459. }
  24460. },
  24461. "models.QhjCustomerSignLog": {
  24462. "type": "object",
  24463. "properties": {
  24464. "agreementcontent": {
  24465. "description": "协议内容",
  24466. "type": "string"
  24467. },
  24468. "agreementid": {
  24469. "description": "协议ID",
  24470. "type": "integer"
  24471. },
  24472. "agreementname": {
  24473. "description": "协议名称",
  24474. "type": "string"
  24475. },
  24476. "agreementno": {
  24477. "description": "协议编号",
  24478. "type": "string"
  24479. },
  24480. "agreementtype": {
  24481. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24482. "type": "integer"
  24483. },
  24484. "agreementversion": {
  24485. "description": "协议版本号",
  24486. "type": "integer"
  24487. },
  24488. "createtime": {
  24489. "description": "创建时间",
  24490. "type": "string"
  24491. },
  24492. "goodscode": {
  24493. "description": "商品代码",
  24494. "type": "string"
  24495. },
  24496. "goodsid": {
  24497. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24498. "type": "integer"
  24499. },
  24500. "goodsname": {
  24501. "description": "商品名称",
  24502. "type": "string"
  24503. },
  24504. "logid": {
  24505. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  24506. "type": "integer"
  24507. },
  24508. "nodetype": {
  24509. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24510. "type": "integer"
  24511. },
  24512. "signadressurl": {
  24513. "description": "签约文件地址",
  24514. "type": "string"
  24515. },
  24516. "signtimestamp": {
  24517. "description": "签约状态时间戳",
  24518. "type": "string"
  24519. },
  24520. "userid": {
  24521. "description": "客户ID",
  24522. "type": "integer"
  24523. },
  24524. "username": {
  24525. "description": "客户名称",
  24526. "type": "string"
  24527. }
  24528. }
  24529. },
  24530. "models.QhjCustomerSignStatus": {
  24531. "type": "object",
  24532. "properties": {
  24533. "createtime": {
  24534. "description": "创建时间",
  24535. "type": "string"
  24536. },
  24537. "goodscode": {
  24538. "description": "商品代码",
  24539. "type": "string"
  24540. },
  24541. "goodsid": {
  24542. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24543. "type": "integer"
  24544. },
  24545. "goodsname": {
  24546. "description": "商品名称",
  24547. "type": "string"
  24548. },
  24549. "nodetype": {
  24550. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  24551. "type": "integer"
  24552. },
  24553. "signtimestamp": {
  24554. "description": "签约状态时间戳",
  24555. "type": "string"
  24556. },
  24557. "tradedate": {
  24558. "description": "创建交易日(yyyyMMdd)",
  24559. "type": "string"
  24560. },
  24561. "updatetime": {
  24562. "description": "更新时间",
  24563. "type": "string"
  24564. },
  24565. "userid": {
  24566. "description": "客户ID",
  24567. "type": "integer"
  24568. },
  24569. "username": {
  24570. "description": "客户名称",
  24571. "type": "string"
  24572. }
  24573. }
  24574. },
  24575. "models.QhjMgrAccountOutInApply": {
  24576. "type": "object",
  24577. "properties": {
  24578. "accountcode": {
  24579. "description": "资金账号",
  24580. "type": "string"
  24581. },
  24582. "accountname": {
  24583. "description": "用户名称(名称)",
  24584. "type": "string"
  24585. },
  24586. "accountpwd": {
  24587. "description": "资金密码",
  24588. "type": "string"
  24589. },
  24590. "accountticket": {
  24591. "description": "最新账户服务流水号",
  24592. "type": "string"
  24593. },
  24594. "amount": {
  24595. "description": "金额",
  24596. "type": "number"
  24597. },
  24598. "applyremark": {
  24599. "description": "申请备注",
  24600. "type": "string"
  24601. },
  24602. "applystatus": {
  24603. "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: 复审通过,账户冻结金额检查中;",
  24604. "type": "integer"
  24605. },
  24606. "auditid": {
  24607. "description": "审核人",
  24608. "type": "integer"
  24609. },
  24610. "audittime": {
  24611. "description": "审核时间",
  24612. "type": "string"
  24613. },
  24614. "bank_apply_ticket": {
  24615. "description": "银行申请流水",
  24616. "type": "string"
  24617. },
  24618. "bankaccountname": {
  24619. "description": "银行账户名",
  24620. "type": "string"
  24621. },
  24622. "bankaccountno": {
  24623. "description": "银行卡号",
  24624. "type": "string"
  24625. },
  24626. "bankid": {
  24627. "description": "银行编号",
  24628. "type": "string"
  24629. },
  24630. "bankname": {
  24631. "description": "银行名称",
  24632. "type": "string"
  24633. },
  24634. "bankticket": {
  24635. "description": "银行流水",
  24636. "type": "string"
  24637. },
  24638. "branchbankid": {
  24639. "description": "银行支行号",
  24640. "type": "string"
  24641. },
  24642. "branchbankname": {
  24643. "description": "银行支行名称",
  24644. "type": "string"
  24645. },
  24646. "capamountout": {
  24647. "description": "出金(劣后本金) - 外部子账户",
  24648. "type": "number"
  24649. },
  24650. "certificatephotourl": {
  24651. "description": "凭证地址",
  24652. "type": "string"
  24653. },
  24654. "charge": {
  24655. "description": "手续费",
  24656. "type": "number"
  24657. },
  24658. "checkerrorflag": {
  24659. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24660. "type": "integer"
  24661. },
  24662. "currency": {
  24663. "description": "币种",
  24664. "type": "string"
  24665. },
  24666. "cusbankid": {
  24667. "description": "托管银行编号",
  24668. "type": "string"
  24669. },
  24670. "exchticket": {
  24671. "description": "银行服务流水号",
  24672. "type": "string"
  24673. },
  24674. "executetype": {
  24675. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24676. "type": "integer"
  24677. },
  24678. "extendinfo": {
  24679. "description": "扩展信息",
  24680. "type": "string"
  24681. },
  24682. "extoperateid": {
  24683. "description": "交易服务流水号",
  24684. "type": "integer"
  24685. },
  24686. "infamount": {
  24687. "description": "劣后金额(自有)",
  24688. "type": "number"
  24689. },
  24690. "logincode": {
  24691. "description": "登录账号(账号)",
  24692. "type": "string"
  24693. },
  24694. "netaddr": {
  24695. "description": "调转网址",
  24696. "type": "string"
  24697. },
  24698. "priamount": {
  24699. "description": "优先金额(授信)",
  24700. "type": "number"
  24701. },
  24702. "reauditid": {
  24703. "description": "复审人",
  24704. "type": "integer"
  24705. },
  24706. "reauditremark": {
  24707. "description": "复审备注",
  24708. "type": "string"
  24709. },
  24710. "reaudittime": {
  24711. "description": "复审时间",
  24712. "type": "string"
  24713. },
  24714. "relatedorderid": {
  24715. "description": "三方关联ID",
  24716. "type": "string"
  24717. },
  24718. "remark": {
  24719. "description": "备注",
  24720. "type": "string"
  24721. },
  24722. "remark2": {
  24723. "description": "备注(失败原因)",
  24724. "type": "string"
  24725. },
  24726. "soucreamount": {
  24727. "description": "原始出入金金额",
  24728. "type": "number"
  24729. },
  24730. "soucrecurrencyid": {
  24731. "description": "原始出入金币种",
  24732. "type": "integer"
  24733. },
  24734. "tradedate": {
  24735. "description": "交易日(yyyyMMdd)",
  24736. "type": "string"
  24737. },
  24738. "updatetime": {
  24739. "description": "更新时间(申请时间)",
  24740. "type": "string"
  24741. },
  24742. "userid": {
  24743. "description": "用户id",
  24744. "type": "integer"
  24745. },
  24746. "userinfotype": {
  24747. "description": "账户类型 1-个人 2-企业",
  24748. "type": "integer"
  24749. }
  24750. }
  24751. },
  24752. "models.QhjMgrBrokerApply": {
  24753. "type": "object",
  24754. "properties": {
  24755. "applicantid": {
  24756. "description": "申请人",
  24757. "type": "integer"
  24758. },
  24759. "applysrc": {
  24760. "description": "申请来源 - 1:管理端 2:终端",
  24761. "type": "integer"
  24762. },
  24763. "applystatus": {
  24764. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24765. "type": "integer"
  24766. },
  24767. "applytime": {
  24768. "description": "申请时间",
  24769. "type": "string"
  24770. },
  24771. "auditorid": {
  24772. "description": "审核人",
  24773. "type": "integer"
  24774. },
  24775. "auditremark": {
  24776. "description": "审核备注",
  24777. "type": "string"
  24778. },
  24779. "auditsrc": {
  24780. "description": "审核来源 - 1:管理端 2:终端",
  24781. "type": "integer"
  24782. },
  24783. "audittime": {
  24784. "description": "审核时间",
  24785. "type": "string"
  24786. },
  24787. "audittradedate": {
  24788. "description": "审核交易日(yyyyMMdd)",
  24789. "type": "string"
  24790. },
  24791. "brokerapplyid": {
  24792. "description": "申请ID(SEQ_BROKERAPPLY)",
  24793. "type": "integer"
  24794. },
  24795. "cardbackphotourl": {
  24796. "description": "证件背面图片地址",
  24797. "type": "string"
  24798. },
  24799. "cardfrontphotourl": {
  24800. "description": "证件正面图片地址",
  24801. "type": "string"
  24802. },
  24803. "cardnum": {
  24804. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24805. "type": "string"
  24806. },
  24807. "customername": {
  24808. "description": "姓名",
  24809. "type": "string"
  24810. },
  24811. "filterstatus": {
  24812. "description": "筛选条件",
  24813. "type": "string"
  24814. },
  24815. "logincode": {
  24816. "description": "登录代码",
  24817. "type": "string"
  24818. },
  24819. "mobile": {
  24820. "description": "手机号码",
  24821. "type": "string"
  24822. },
  24823. "parentuserid": {
  24824. "description": "所属机构id",
  24825. "type": "integer"
  24826. },
  24827. "parentusername": {
  24828. "description": "所属机构名称",
  24829. "type": "string"
  24830. },
  24831. "refereeuserid": {
  24832. "description": "推荐人id(经纪人)",
  24833. "type": "integer"
  24834. },
  24835. "refernum": {
  24836. "description": "推荐码",
  24837. "type": "string"
  24838. },
  24839. "remark": {
  24840. "description": "备注",
  24841. "type": "string"
  24842. },
  24843. "subarealevelpath": {
  24844. "description": "层级路径",
  24845. "type": "string"
  24846. },
  24847. "tradedate": {
  24848. "description": "交易日(yyyyMMdd)",
  24849. "type": "string"
  24850. },
  24851. "userid": {
  24852. "description": "申请人用户ID",
  24853. "type": "integer"
  24854. },
  24855. "userinfotype": {
  24856. "description": "用户类型 1-个人 2-企业",
  24857. "type": "integer"
  24858. },
  24859. "username": {
  24860. "description": "用户名称",
  24861. "type": "string"
  24862. }
  24863. }
  24864. },
  24865. "models.QhjMgrBrokerRewardReport": {
  24866. "type": "object",
  24867. "properties": {
  24868. "createtime": {
  24869. "description": "创建时间(注册时间)",
  24870. "type": "string"
  24871. },
  24872. "cycletime": {
  24873. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  24874. "type": "string"
  24875. },
  24876. "cycletype": {
  24877. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24878. "type": "integer"
  24879. },
  24880. "directtotalnum": {
  24881. "description": "直推总人数【期末】",
  24882. "type": "integer"
  24883. },
  24884. "indirecttotalnum": {
  24885. "description": "间推总人数【期末】",
  24886. "type": "integer"
  24887. },
  24888. "mobile": {
  24889. "description": "电话号码",
  24890. "type": "string"
  24891. },
  24892. "refereeuserid": {
  24893. "description": "推荐人id(经纪人id)",
  24894. "type": "integer"
  24895. },
  24896. "refereeusername": {
  24897. "description": "推荐人名称(经纪人) 上级经纪人名称",
  24898. "type": "string"
  24899. },
  24900. "refernum": {
  24901. "description": "推荐码",
  24902. "type": "string"
  24903. },
  24904. "subarealevelpath": {
  24905. "description": "用户层级路径",
  24906. "type": "string"
  24907. },
  24908. "todayrewardamount": {
  24909. "description": "奖励总金额【汇总】",
  24910. "type": "number"
  24911. },
  24912. "updatetime": {
  24913. "description": "更新时间",
  24914. "type": "string"
  24915. },
  24916. "userid": {
  24917. "description": "经纪人用户ID",
  24918. "type": "integer"
  24919. },
  24920. "userinfotype": {
  24921. "description": "用户类型 1-个人 2-企业",
  24922. "type": "integer"
  24923. },
  24924. "username": {
  24925. "description": "用户名称",
  24926. "type": "string"
  24927. }
  24928. }
  24929. },
  24930. "models.QhjMgrContract": {
  24931. "type": "object",
  24932. "properties": {
  24933. "contractconfirmtime": {
  24934. "description": "合同确认时间(时间)",
  24935. "type": "string"
  24936. },
  24937. "currisklevel": {
  24938. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24939. "type": "integer"
  24940. },
  24941. "decimalplace": {
  24942. "description": "商品报价小数位",
  24943. "type": "integer"
  24944. },
  24945. "enumdicname": {
  24946. "description": "单位名称",
  24947. "type": "string"
  24948. },
  24949. "goodscode": {
  24950. "description": "商品代码",
  24951. "type": "string"
  24952. },
  24953. "goodsid": {
  24954. "description": "商品ID [5:融资单]",
  24955. "type": "integer"
  24956. },
  24957. "goodsname": {
  24958. "description": "商品名称",
  24959. "type": "string"
  24960. },
  24961. "goodunitid": {
  24962. "description": "商品单位id",
  24963. "type": "integer"
  24964. },
  24965. "initmargin": {
  24966. "description": "初始保证金(首付款)",
  24967. "type": "number"
  24968. },
  24969. "lenderamount": {
  24970. "description": "贷款金额(总额|订单总额)",
  24971. "type": "number"
  24972. },
  24973. "logincode": {
  24974. "description": "账号(登录代码)",
  24975. "type": "string"
  24976. },
  24977. "marginratio": {
  24978. "description": "保证金比率(首付比例)",
  24979. "type": "number"
  24980. },
  24981. "mobile": {
  24982. "description": "电话号码(用户资料里的电话)",
  24983. "type": "string"
  24984. },
  24985. "payamount": {
  24986. "description": "已付(已付货款)",
  24987. "type": "number"
  24988. },
  24989. "reckonrecovermargin": {
  24990. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24991. "type": "number"
  24992. },
  24993. "recoveredmargin": {
  24994. "description": "已追缴保证金",
  24995. "type": "number"
  24996. },
  24997. "remainamount": {
  24998. "description": "合同剩余金额(融资额)",
  24999. "type": "number"
  25000. },
  25001. "scfcontractid": {
  25002. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25003. "type": "string"
  25004. },
  25005. "scfcontractstatus": {
  25006. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25007. "type": "integer"
  25008. },
  25009. "scfcontracttype": {
  25010. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25011. "type": "integer"
  25012. },
  25013. "totalinterest": {
  25014. "description": "已计总利息(利息)",
  25015. "type": "number"
  25016. },
  25017. "tradedate": {
  25018. "description": "交易日",
  25019. "type": "string"
  25020. },
  25021. "tradeprice": {
  25022. "description": "成交价格(成本价格)",
  25023. "type": "number"
  25024. },
  25025. "userid": {
  25026. "description": "用户ID",
  25027. "type": "integer"
  25028. },
  25029. "userinfotype": {
  25030. "description": "用户类型 1-个人 2-企业",
  25031. "type": "integer"
  25032. },
  25033. "username": {
  25034. "description": "用户名称",
  25035. "type": "string"
  25036. },
  25037. "wrqty": {
  25038. "description": "仓单数量(数量)",
  25039. "type": "number"
  25040. }
  25041. }
  25042. },
  25043. "models.QhjMgrCustomer": {
  25044. "type": "object",
  25045. "properties": {
  25046. "address": {
  25047. "description": "通讯地址",
  25048. "type": "string"
  25049. },
  25050. "attachment1": {
  25051. "description": "附件1",
  25052. "type": "string"
  25053. },
  25054. "audittime": {
  25055. "description": "审核时间",
  25056. "type": "string"
  25057. },
  25058. "cardbackphotourl": {
  25059. "description": "证件反面图片地址",
  25060. "type": "string"
  25061. },
  25062. "cardfrontphotourl": {
  25063. "description": "证件正面图片地址",
  25064. "type": "string"
  25065. },
  25066. "cardnum": {
  25067. "description": "证件号码",
  25068. "type": "string"
  25069. },
  25070. "cardtype": {
  25071. "description": "证件类型",
  25072. "type": "integer"
  25073. },
  25074. "cardtypename": {
  25075. "description": "证件类型名称",
  25076. "type": "string"
  25077. },
  25078. "cityid": {
  25079. "description": "市",
  25080. "type": "integer"
  25081. },
  25082. "cityname": {
  25083. "description": "城市名称",
  25084. "type": "string"
  25085. },
  25086. "contactname": {
  25087. "description": "联系人",
  25088. "type": "string"
  25089. },
  25090. "countryid": {
  25091. "description": "国家",
  25092. "type": "integer"
  25093. },
  25094. "countryname": {
  25095. "description": "国家名称",
  25096. "type": "string"
  25097. },
  25098. "createtime": {
  25099. "description": "创建时间",
  25100. "type": "string"
  25101. },
  25102. "customername": {
  25103. "description": "客户名称",
  25104. "type": "string"
  25105. },
  25106. "districtid": {
  25107. "description": "区域",
  25108. "type": "integer"
  25109. },
  25110. "districtname": {
  25111. "description": "地区名称",
  25112. "type": "string"
  25113. },
  25114. "email": {
  25115. "description": "邮件",
  25116. "type": "string"
  25117. },
  25118. "legalpersonname": {
  25119. "description": "法人姓名(企业)",
  25120. "type": "string"
  25121. },
  25122. "logincode": {
  25123. "description": "登录账号(代码)",
  25124. "type": "string"
  25125. },
  25126. "memberuserid": {
  25127. "description": "所属机构ID(所属会员)",
  25128. "type": "integer"
  25129. },
  25130. "memberusername": {
  25131. "description": "所属会员名称",
  25132. "type": "string"
  25133. },
  25134. "mobile": {
  25135. "description": "手机号码",
  25136. "type": "string"
  25137. },
  25138. "modifytime": {
  25139. "description": "修改时间",
  25140. "type": "string"
  25141. },
  25142. "nickname": {
  25143. "description": "昵称",
  25144. "type": "string"
  25145. },
  25146. "parentuserid": {
  25147. "description": "上级机构(所属机构)",
  25148. "type": "integer"
  25149. },
  25150. "parentusername": {
  25151. "description": "所属机构名称",
  25152. "type": "string"
  25153. },
  25154. "provinceid": {
  25155. "description": "省",
  25156. "type": "integer"
  25157. },
  25158. "provincename": {
  25159. "description": "省名称",
  25160. "type": "string"
  25161. },
  25162. "proxystatementurl": {
  25163. "description": "授权委托书",
  25164. "type": "string"
  25165. },
  25166. "querytype": {
  25167. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  25168. "type": "integer"
  25169. },
  25170. "remark": {
  25171. "description": "备注",
  25172. "type": "string"
  25173. },
  25174. "status": {
  25175. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25176. "type": "integer"
  25177. },
  25178. "statusdesc": {
  25179. "description": "账户状态中文描述",
  25180. "type": "string"
  25181. },
  25182. "taxpayernum": {
  25183. "description": "纳税人识别号",
  25184. "type": "string"
  25185. },
  25186. "telphone": {
  25187. "description": "联系电话",
  25188. "type": "string"
  25189. },
  25190. "userid": {
  25191. "description": "用户ID",
  25192. "type": "integer"
  25193. },
  25194. "userinfotype": {
  25195. "description": "客户类型 1-个人 2-企业",
  25196. "type": "integer"
  25197. },
  25198. "username": {
  25199. "description": "用户名称",
  25200. "type": "string"
  25201. }
  25202. }
  25203. },
  25204. "models.QhjMgrPositionRsp": {
  25205. "type": "object",
  25206. "properties": {
  25207. "accountid": {
  25208. "description": "账号Id",
  25209. "type": "integer"
  25210. },
  25211. "accountname": {
  25212. "description": "用户名称",
  25213. "type": "string"
  25214. },
  25215. "agreeunit": {
  25216. "description": "合约乘数",
  25217. "type": "number"
  25218. },
  25219. "averageprice": {
  25220. "description": "均价",
  25221. "type": "number"
  25222. },
  25223. "avialqty": {
  25224. "description": "可用数量",
  25225. "type": "number"
  25226. },
  25227. "decimalplace": {
  25228. "description": "报价小数位",
  25229. "type": "integer"
  25230. },
  25231. "enumdicname": {
  25232. "description": "单位名称(商品)",
  25233. "type": "string"
  25234. },
  25235. "frozenqty": {
  25236. "description": "冻结数量",
  25237. "type": "number"
  25238. },
  25239. "goodscode": {
  25240. "description": "商品代码(内部)",
  25241. "type": "string"
  25242. },
  25243. "goodsid": {
  25244. "description": "商品Id",
  25245. "type": "integer"
  25246. },
  25247. "goodsname": {
  25248. "description": "商品名称",
  25249. "type": "string"
  25250. },
  25251. "goodunitid": {
  25252. "description": "报价单位ID",
  25253. "type": "integer"
  25254. },
  25255. "holderamount": {
  25256. "description": "金额",
  25257. "type": "number"
  25258. },
  25259. "holderqty": {
  25260. "description": "持有数量",
  25261. "type": "number"
  25262. },
  25263. "holdertype": {
  25264. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  25265. "type": "integer"
  25266. },
  25267. "logincode": {
  25268. "description": "登录代码(账户)",
  25269. "type": "string"
  25270. },
  25271. "marketid": {
  25272. "description": "市场id",
  25273. "type": "integer"
  25274. },
  25275. "qtydecimalplace": {
  25276. "description": "成交量小数位",
  25277. "type": "integer"
  25278. },
  25279. "trademode": {
  25280. "description": "交易模式",
  25281. "type": "integer"
  25282. },
  25283. "userid": {
  25284. "description": "用户id",
  25285. "type": "integer"
  25286. },
  25287. "userinfotype": {
  25288. "description": "账户类型 1-个人 2-企业",
  25289. "type": "integer"
  25290. }
  25291. }
  25292. },
  25293. "models.QhjMgrSubArea": {
  25294. "type": "object",
  25295. "properties": {
  25296. "accountname": {
  25297. "description": "账户名称(机构名称)",
  25298. "type": "string"
  25299. },
  25300. "memberuserid": {
  25301. "description": "所属会员ID",
  25302. "type": "integer"
  25303. },
  25304. "parenttopuser": {
  25305. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25306. "type": "string"
  25307. },
  25308. "parentuserid": {
  25309. "description": "所属机构ID",
  25310. "type": "integer"
  25311. },
  25312. "rootuserid": {
  25313. "description": "根用户ID",
  25314. "type": "string"
  25315. },
  25316. "subaccountlevel": {
  25317. "description": "子账户层数",
  25318. "type": "integer"
  25319. },
  25320. "subarealevelpath": {
  25321. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25322. "type": "string"
  25323. },
  25324. "userid": {
  25325. "description": "用户ID",
  25326. "type": "integer"
  25327. },
  25328. "usertype": {
  25329. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25330. "type": "integer"
  25331. }
  25332. }
  25333. },
  25334. "models.QhjMgrTradeDetailRsp": {
  25335. "type": "object",
  25336. "properties": {
  25337. "accountid": {
  25338. "description": "资金账号",
  25339. "type": "integer"
  25340. },
  25341. "accountname": {
  25342. "description": "用户名称",
  25343. "type": "string"
  25344. },
  25345. "agreeunit": {
  25346. "description": "合约乘数",
  25347. "type": "number"
  25348. },
  25349. "buyorsell": {
  25350. "description": "成交类型(方向) 0:买 1:卖",
  25351. "type": "integer"
  25352. },
  25353. "decimalplace": {
  25354. "description": "报价小数位",
  25355. "type": "integer"
  25356. },
  25357. "enumdicname": {
  25358. "description": "单位名称(商品)",
  25359. "type": "string"
  25360. },
  25361. "goodscode": {
  25362. "description": "商品代码(内部)",
  25363. "type": "string"
  25364. },
  25365. "goodsid": {
  25366. "description": "商品id",
  25367. "type": "integer"
  25368. },
  25369. "goodsname": {
  25370. "description": "商品名称",
  25371. "type": "string"
  25372. },
  25373. "goodunitid": {
  25374. "description": "报价单位ID",
  25375. "type": "integer"
  25376. },
  25377. "logincode": {
  25378. "description": "登录代码(账户)",
  25379. "type": "string"
  25380. },
  25381. "marketid": {
  25382. "description": "市场id",
  25383. "type": "integer"
  25384. },
  25385. "orderid": {
  25386. "description": "关联委托单号",
  25387. "type": "string"
  25388. },
  25389. "qtydecimalplace": {
  25390. "description": "成交量小数位",
  25391. "type": "integer"
  25392. },
  25393. "tradeamount": {
  25394. "description": "金额",
  25395. "type": "number"
  25396. },
  25397. "tradedate": {
  25398. "description": "交易日",
  25399. "type": "string"
  25400. },
  25401. "tradeid": {
  25402. "description": "成交单号",
  25403. "type": "string"
  25404. },
  25405. "trademode": {
  25406. "description": "交易模式",
  25407. "type": "integer"
  25408. },
  25409. "tradeprice": {
  25410. "description": "价格",
  25411. "type": "number"
  25412. },
  25413. "tradeqty": {
  25414. "description": "数量",
  25415. "type": "number"
  25416. },
  25417. "tradetime": {
  25418. "description": "成交时间",
  25419. "type": "string"
  25420. },
  25421. "userid": {
  25422. "description": "用户id",
  25423. "type": "integer"
  25424. },
  25425. "userinfotype": {
  25426. "description": "账户类型 1-个人 2-企业",
  25427. "type": "integer"
  25428. }
  25429. }
  25430. },
  25431. "models.QhjMgrTradeOrderDetailRsp": {
  25432. "type": "object",
  25433. "properties": {
  25434. "accountid": {
  25435. "description": "资金账号",
  25436. "type": "integer"
  25437. },
  25438. "accountname": {
  25439. "description": "用户名称",
  25440. "type": "string"
  25441. },
  25442. "agreeunit": {
  25443. "description": "合约乘数",
  25444. "type": "number"
  25445. },
  25446. "amount": {
  25447. "description": "金额",
  25448. "type": "number"
  25449. },
  25450. "decimalplace": {
  25451. "description": "报价小数位",
  25452. "type": "integer"
  25453. },
  25454. "enumdicname": {
  25455. "description": "单位名称(商品)",
  25456. "type": "string"
  25457. },
  25458. "goodscode": {
  25459. "description": "商品代码(内部)",
  25460. "type": "string"
  25461. },
  25462. "goodsid": {
  25463. "description": "商品id",
  25464. "type": "integer"
  25465. },
  25466. "goodsname": {
  25467. "description": "商品名称",
  25468. "type": "string"
  25469. },
  25470. "goodunitid": {
  25471. "description": "报价单位ID",
  25472. "type": "integer"
  25473. },
  25474. "logincode": {
  25475. "description": "登录代码(账户)",
  25476. "type": "string"
  25477. },
  25478. "marketid": {
  25479. "description": "市场id",
  25480. "type": "integer"
  25481. },
  25482. "orderid": {
  25483. "description": "关联委托单号",
  25484. "type": "string"
  25485. },
  25486. "orderprice": {
  25487. "description": "价格",
  25488. "type": "number"
  25489. },
  25490. "orderqty": {
  25491. "description": "数量",
  25492. "type": "number"
  25493. },
  25494. "orderstatus": {
  25495. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25496. "type": "integer"
  25497. },
  25498. "ordertime": {
  25499. "description": "委托时间",
  25500. "type": "string"
  25501. },
  25502. "qtydecimalplace": {
  25503. "description": "成交量小数位",
  25504. "type": "integer"
  25505. },
  25506. "tradedate": {
  25507. "description": "交易日",
  25508. "type": "string"
  25509. },
  25510. "trademode": {
  25511. "description": "交易模式",
  25512. "type": "integer"
  25513. },
  25514. "userid": {
  25515. "description": "用户id",
  25516. "type": "integer"
  25517. },
  25518. "userinfotype": {
  25519. "description": "账户类型 1-个人 2-企业",
  25520. "type": "integer"
  25521. }
  25522. }
  25523. },
  25524. "models.QhjMgrTradePayOrder": {
  25525. "type": "object",
  25526. "properties": {
  25527. "accountname": {
  25528. "description": "用户名称",
  25529. "type": "string"
  25530. },
  25531. "advanceratio": {
  25532. "description": "首付比率",
  25533. "type": "number"
  25534. },
  25535. "agreeunit": {
  25536. "description": "合约乘数",
  25537. "type": "number"
  25538. },
  25539. "buyaccountid": {
  25540. "description": "买方账号ID[报价币种]",
  25541. "type": "integer"
  25542. },
  25543. "buyorderid": {
  25544. "description": "买方委托单号(关联单号)",
  25545. "type": "string"
  25546. },
  25547. "createtime": {
  25548. "description": "创建时间",
  25549. "type": "string"
  25550. },
  25551. "decimalplace": {
  25552. "description": "报价小数位",
  25553. "type": "integer"
  25554. },
  25555. "enumdicname": {
  25556. "description": "单位名称(商品)",
  25557. "type": "string"
  25558. },
  25559. "goodscode": {
  25560. "description": "商品代码(内部)",
  25561. "type": "string"
  25562. },
  25563. "goodsid": {
  25564. "description": "商品ID",
  25565. "type": "integer"
  25566. },
  25567. "goodsname": {
  25568. "description": "商品名称",
  25569. "type": "string"
  25570. },
  25571. "goodunitid": {
  25572. "description": "报价单位ID",
  25573. "type": "integer"
  25574. },
  25575. "logincode": {
  25576. "description": "登录代码(账户)",
  25577. "type": "string"
  25578. },
  25579. "marketid": {
  25580. "description": "市场id",
  25581. "type": "integer"
  25582. },
  25583. "offamount": {
  25584. "description": "优惠金额",
  25585. "type": "number"
  25586. },
  25587. "operatetype": {
  25588. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25589. "type": "integer"
  25590. },
  25591. "payamount": {
  25592. "description": "支付金额(金额)",
  25593. "type": "number"
  25594. },
  25595. "payflag": {
  25596. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25597. "type": "integer"
  25598. },
  25599. "paylimitedtime": {
  25600. "description": "支付期限",
  25601. "type": "string"
  25602. },
  25603. "paytime": {
  25604. "description": "付款时间",
  25605. "type": "string"
  25606. },
  25607. "qtydecimalplace": {
  25608. "description": "成交量小数位",
  25609. "type": "integer"
  25610. },
  25611. "sellaccountid": {
  25612. "description": "卖方账号ID[报价币种]",
  25613. "type": "integer"
  25614. },
  25615. "sellorderid": {
  25616. "description": "卖方委托单号",
  25617. "type": "string"
  25618. },
  25619. "tradeamount": {
  25620. "description": "成交金额(优惠后金额)",
  25621. "type": "number"
  25622. },
  25623. "tradecharge": {
  25624. "description": "成交手续费(买方)",
  25625. "type": "number"
  25626. },
  25627. "tradedate": {
  25628. "description": "交易日(yyyyMMdd)",
  25629. "type": "string"
  25630. },
  25631. "tradeid": {
  25632. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25633. "type": "string"
  25634. },
  25635. "trademode": {
  25636. "description": "交易模式",
  25637. "type": "integer"
  25638. },
  25639. "tradeprice": {
  25640. "description": "成交价格(价格)",
  25641. "type": "number"
  25642. },
  25643. "tradeqty": {
  25644. "description": "成交数量(数量)",
  25645. "type": "number"
  25646. },
  25647. "tradetime": {
  25648. "description": "成交时间",
  25649. "type": "string"
  25650. },
  25651. "userid": {
  25652. "description": "用户id",
  25653. "type": "integer"
  25654. },
  25655. "userinfotype": {
  25656. "description": "账户类型 1-个人 2-企业",
  25657. "type": "integer"
  25658. }
  25659. }
  25660. },
  25661. "models.QhjMyTeamEx": {
  25662. "type": "object",
  25663. "properties": {
  25664. "accountname": {
  25665. "description": "用户名称",
  25666. "type": "string"
  25667. },
  25668. "accountstatus": {
  25669. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25670. "type": "integer"
  25671. },
  25672. "createtime": {
  25673. "description": "创建时间",
  25674. "type": "string"
  25675. },
  25676. "mobile": {
  25677. "description": "手机号码",
  25678. "type": "string"
  25679. },
  25680. "refereeuserid": {
  25681. "description": "推荐人id",
  25682. "type": "integer"
  25683. },
  25684. "refernum": {
  25685. "description": "推荐码",
  25686. "type": "string"
  25687. },
  25688. "subList": {
  25689. "type": "array",
  25690. "items": {
  25691. "$ref": "#/definitions/models.QhjMyTeamEx"
  25692. }
  25693. },
  25694. "userid": {
  25695. "description": "用户id",
  25696. "type": "integer"
  25697. },
  25698. "userinfotype": {
  25699. "description": "用户类型 1-个人 2-企业",
  25700. "type": "integer"
  25701. }
  25702. }
  25703. },
  25704. "models.QhjNodeAgreementConfig": {
  25705. "type": "object",
  25706. "properties": {
  25707. "agreementcontent": {
  25708. "description": "协议内容",
  25709. "type": "string"
  25710. },
  25711. "agreementid": {
  25712. "description": "协议ID",
  25713. "type": "integer"
  25714. },
  25715. "agreementname": {
  25716. "description": "协议名称",
  25717. "type": "string"
  25718. },
  25719. "agreementno": {
  25720. "description": "协议编号",
  25721. "type": "string"
  25722. },
  25723. "agreementtype": {
  25724. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25725. "type": "integer"
  25726. },
  25727. "agreementversion": {
  25728. "description": "协议版本号",
  25729. "type": "integer"
  25730. },
  25731. "configid": {
  25732. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25733. "type": "integer"
  25734. },
  25735. "createtime": {
  25736. "description": "创建时间",
  25737. "type": "string"
  25738. },
  25739. "goodsid": {
  25740. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25741. "type": "integer"
  25742. },
  25743. "nodetype": {
  25744. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25745. "type": "integer"
  25746. }
  25747. }
  25748. },
  25749. "models.QhjParentAreaList": {
  25750. "type": "object",
  25751. "properties": {
  25752. "accountname": {
  25753. "description": "账户名称(机构名称)",
  25754. "type": "string"
  25755. },
  25756. "userid": {
  25757. "description": "用户ID",
  25758. "type": "integer"
  25759. },
  25760. "usertype": {
  25761. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25762. "type": "integer"
  25763. }
  25764. }
  25765. },
  25766. "models.QhjPayOrder": {
  25767. "type": "object",
  25768. "properties": {
  25769. "advanceratio": {
  25770. "description": "首付比率",
  25771. "type": "number"
  25772. },
  25773. "buyaccountid": {
  25774. "description": "买方账号ID[报价币种]",
  25775. "type": "integer"
  25776. },
  25777. "buyorderid": {
  25778. "description": "买方委托单号",
  25779. "type": "string"
  25780. },
  25781. "createtime": {
  25782. "description": "创建时间",
  25783. "type": "string"
  25784. },
  25785. "decimalplace": {
  25786. "description": "商品报价小数位",
  25787. "type": "integer"
  25788. },
  25789. "enumdicname": {
  25790. "description": "单位名称",
  25791. "type": "string"
  25792. },
  25793. "goodscode": {
  25794. "description": "商品代码",
  25795. "type": "string"
  25796. },
  25797. "goodsid": {
  25798. "description": "商品ID",
  25799. "type": "integer"
  25800. },
  25801. "goodsname": {
  25802. "description": "商品名称",
  25803. "type": "string"
  25804. },
  25805. "goodunitid": {
  25806. "description": "商品单位id",
  25807. "type": "integer"
  25808. },
  25809. "marketid": {
  25810. "description": "市场ID",
  25811. "type": "integer"
  25812. },
  25813. "offamount": {
  25814. "description": "优惠金额",
  25815. "type": "number"
  25816. },
  25817. "operatetype": {
  25818. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25819. "type": "integer"
  25820. },
  25821. "payamount": {
  25822. "description": "支付金额",
  25823. "type": "number"
  25824. },
  25825. "payflag": {
  25826. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25827. "type": "integer"
  25828. },
  25829. "paylimitedtime": {
  25830. "description": "支付期限",
  25831. "type": "string"
  25832. },
  25833. "paytime": {
  25834. "description": "付款时间",
  25835. "type": "string"
  25836. },
  25837. "qtydecimalplace": {
  25838. "description": "成交量小数位",
  25839. "type": "integer"
  25840. },
  25841. "sellaccountid": {
  25842. "description": "卖方账号ID[报价币种]",
  25843. "type": "integer"
  25844. },
  25845. "sellorderid": {
  25846. "description": "卖方委托单号",
  25847. "type": "string"
  25848. },
  25849. "tradeamount": {
  25850. "description": "成交金额(优惠后金额)",
  25851. "type": "number"
  25852. },
  25853. "tradecharge": {
  25854. "description": "成交手续费(买方)",
  25855. "type": "number"
  25856. },
  25857. "tradedate": {
  25858. "description": "交易日(yyyyMMdd)",
  25859. "type": "string"
  25860. },
  25861. "tradeid": {
  25862. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25863. "type": "string"
  25864. },
  25865. "tradeprice": {
  25866. "description": "成交价格",
  25867. "type": "number"
  25868. },
  25869. "tradeqty": {
  25870. "description": "成交数量",
  25871. "type": "number"
  25872. }
  25873. }
  25874. },
  25875. "models.QhjPickArea": {
  25876. "type": "object",
  25877. "properties": {
  25878. "address": {
  25879. "description": "详细地址",
  25880. "type": "string"
  25881. },
  25882. "cityid": {
  25883. "description": "市",
  25884. "type": "integer"
  25885. },
  25886. "cityname": {
  25887. "description": "城市名称",
  25888. "type": "string"
  25889. },
  25890. "countryid": {
  25891. "description": "国家",
  25892. "type": "integer"
  25893. },
  25894. "countryname": {
  25895. "description": "国家名称",
  25896. "type": "string"
  25897. },
  25898. "districtid": {
  25899. "description": "地区",
  25900. "type": "integer"
  25901. },
  25902. "districtname": {
  25903. "description": "地区名称",
  25904. "type": "string"
  25905. },
  25906. "fromuserid": {
  25907. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  25908. "type": "integer"
  25909. },
  25910. "fromusername": {
  25911. "description": "所属机构名称",
  25912. "type": "string"
  25913. },
  25914. "provinceid": {
  25915. "description": "省",
  25916. "type": "integer"
  25917. },
  25918. "provincename": {
  25919. "description": "省名称",
  25920. "type": "string"
  25921. },
  25922. "suborgtype": {
  25923. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  25924. "type": "integer"
  25925. },
  25926. "userid": {
  25927. "description": "机构用户ID 其他做市关系,都设置为 1",
  25928. "type": "integer"
  25929. },
  25930. "username": {
  25931. "description": "机构用户名称(门店门称)",
  25932. "type": "string"
  25933. }
  25934. }
  25935. },
  25936. "models.QhjPickGoods": {
  25937. "type": "object",
  25938. "properties": {
  25939. "enumdicname": {
  25940. "description": "单位名称(提货商品)",
  25941. "type": "string"
  25942. },
  25943. "goodsid": {
  25944. "description": "商品id",
  25945. "type": "integer"
  25946. },
  25947. "imageaddress": {
  25948. "description": "图片",
  25949. "type": "string"
  25950. },
  25951. "modifierid": {
  25952. "description": "修改人",
  25953. "type": "integer"
  25954. },
  25955. "modifiername": {
  25956. "description": "修改人名称",
  25957. "type": "string"
  25958. },
  25959. "modifysrc": {
  25960. "description": "修改来源 - 1:管理端 2:终端",
  25961. "type": "integer"
  25962. },
  25963. "pickupgoodsagreeunit": {
  25964. "description": "合约乘数",
  25965. "type": "number"
  25966. },
  25967. "pickupgoodsdesc": {
  25968. "description": "描述",
  25969. "type": "string"
  25970. },
  25971. "pickupgoodsid": {
  25972. "description": "提货商品ID",
  25973. "type": "string"
  25974. },
  25975. "pickupgoodsname": {
  25976. "description": "提货商品名称",
  25977. "type": "string"
  25978. },
  25979. "pickupgoodsstatus": {
  25980. "description": "状态 - 1:正常 2:停用 3:注销",
  25981. "type": "integer"
  25982. },
  25983. "pickupgoodsunitid": {
  25984. "description": "单位ID",
  25985. "type": "integer"
  25986. },
  25987. "pickupratio": {
  25988. "description": "提货系数",
  25989. "type": "number"
  25990. },
  25991. "preparedays": {
  25992. "description": "备货期(天)",
  25993. "type": "integer"
  25994. },
  25995. "remark": {
  25996. "description": "备注",
  25997. "type": "string"
  25998. },
  25999. "updatetime": {
  26000. "description": "更新时间",
  26001. "type": "string"
  26002. }
  26003. }
  26004. },
  26005. "models.QhjRSTriggerLog": {
  26006. "type": "object",
  26007. "properties": {
  26008. "accountid": {
  26009. "description": "用户资金账户",
  26010. "type": "integer"
  26011. },
  26012. "accountname": {
  26013. "description": "账号名称(ACCOUNTID对应的名称)",
  26014. "type": "string"
  26015. },
  26016. "currencyid": {
  26017. "description": "币种id",
  26018. "type": "integer"
  26019. },
  26020. "currencyname": {
  26021. "description": "币种名称",
  26022. "type": "string"
  26023. },
  26024. "decimalplace": {
  26025. "description": "商品报价小数位",
  26026. "type": "integer"
  26027. },
  26028. "enumdicname": {
  26029. "description": "单位名称",
  26030. "type": "string"
  26031. },
  26032. "goodscode": {
  26033. "description": "定投商品代码",
  26034. "type": "string"
  26035. },
  26036. "goodsid": {
  26037. "description": "定投商品ID",
  26038. "type": "integer"
  26039. },
  26040. "goodsname": {
  26041. "description": "定投商品名称",
  26042. "type": "string"
  26043. },
  26044. "goodunitid": {
  26045. "description": "定投商品单位id",
  26046. "type": "integer"
  26047. },
  26048. "logid": {
  26049. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26050. "type": "string"
  26051. },
  26052. "logincode": {
  26053. "description": "账号(登录代码)",
  26054. "type": "string"
  26055. },
  26056. "qtydecimalplace": {
  26057. "description": "成交量小数位",
  26058. "type": "integer"
  26059. },
  26060. "regularlycycle": {
  26061. "description": "定投频率 - 1:每周 2:每月",
  26062. "type": "integer"
  26063. },
  26064. "regularlycyclevalue": {
  26065. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26066. "type": "string"
  26067. },
  26068. "regularlymode": {
  26069. "description": "定投方式 - 1:按数量 2:按金额",
  26070. "type": "integer"
  26071. },
  26072. "regularlymodevalue": {
  26073. "description": "定投方式值 - 数量或金额",
  26074. "type": "number"
  26075. },
  26076. "regularlystrategyid": {
  26077. "description": "定投策略ID",
  26078. "type": "integer"
  26079. },
  26080. "retcode": {
  26081. "description": "错误码",
  26082. "type": "string"
  26083. },
  26084. "tradeid": {
  26085. "description": "成交单ID",
  26086. "type": "string"
  26087. },
  26088. "triggeramount": {
  26089. "description": "触发金额",
  26090. "type": "number"
  26091. },
  26092. "triggerqty": {
  26093. "description": "触发数量",
  26094. "type": "number"
  26095. },
  26096. "triggerstatus": {
  26097. "description": "触发状态 - 1:成功 2:失败",
  26098. "type": "integer"
  26099. },
  26100. "triggertime": {
  26101. "description": "触发时间",
  26102. "type": "string"
  26103. },
  26104. "triggertradedate": {
  26105. "description": "触发交易日",
  26106. "type": "string"
  26107. },
  26108. "userid": {
  26109. "description": "所属用户ID",
  26110. "type": "integer"
  26111. },
  26112. "userinfotype": {
  26113. "description": "用户类型 1-个人 2-企业",
  26114. "type": "integer"
  26115. },
  26116. "username": {
  26117. "description": "用户名称(userid对应的名称)",
  26118. "type": "string"
  26119. }
  26120. }
  26121. },
  26122. "models.QhjRStrategy": {
  26123. "type": "object",
  26124. "properties": {
  26125. "accountid": {
  26126. "description": "用户资金账户",
  26127. "type": "integer"
  26128. },
  26129. "accountname": {
  26130. "description": "账号名称(ACCOUNTID对应的名称)",
  26131. "type": "string"
  26132. },
  26133. "currencyid": {
  26134. "description": "币种id",
  26135. "type": "integer"
  26136. },
  26137. "currencyname": {
  26138. "description": "币种名称",
  26139. "type": "string"
  26140. },
  26141. "decimalplace": {
  26142. "description": "商品报价小数位",
  26143. "type": "integer"
  26144. },
  26145. "enumdicname": {
  26146. "description": "单位名称",
  26147. "type": "string"
  26148. },
  26149. "goodscode": {
  26150. "description": "定投商品代码",
  26151. "type": "string"
  26152. },
  26153. "goodsid": {
  26154. "description": "定投商品ID",
  26155. "type": "integer"
  26156. },
  26157. "goodsname": {
  26158. "description": "定投商品名称",
  26159. "type": "string"
  26160. },
  26161. "goodunitid": {
  26162. "description": "定投商品单位id",
  26163. "type": "integer"
  26164. },
  26165. "lasteffecttradedate": {
  26166. "description": "最新生效交易日",
  26167. "type": "string"
  26168. },
  26169. "laststoptradedate": {
  26170. "description": "最新暂停交易日",
  26171. "type": "string"
  26172. },
  26173. "lasttriggertradedate": {
  26174. "description": "最新触发交易日",
  26175. "type": "string"
  26176. },
  26177. "logincode": {
  26178. "description": "账号(登录代码)",
  26179. "type": "string"
  26180. },
  26181. "nexttriggeramount": {
  26182. "description": "下次触发金额",
  26183. "type": "number"
  26184. },
  26185. "nexttriggerdate": {
  26186. "description": "下次触发日期",
  26187. "type": "string"
  26188. },
  26189. "nexttriggerqty": {
  26190. "description": "下次触发数量 [按小数位放大值]",
  26191. "type": "number"
  26192. },
  26193. "qtydecimalplace": {
  26194. "description": "成交量小数位",
  26195. "type": "integer"
  26196. },
  26197. "regularlycycle": {
  26198. "description": "定投频率 - 1:每周 2:每月",
  26199. "type": "integer"
  26200. },
  26201. "regularlycyclevalue": {
  26202. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26203. "type": "string"
  26204. },
  26205. "regularlymode": {
  26206. "description": "定投方式 - 1:按数量 2:按金额",
  26207. "type": "integer"
  26208. },
  26209. "regularlymodevalue": {
  26210. "description": "定投方式值 - 数量或金额",
  26211. "type": "number"
  26212. },
  26213. "regularlystrategyid": {
  26214. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  26215. "type": "integer"
  26216. },
  26217. "regularlystrategystatus": {
  26218. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  26219. "type": "integer"
  26220. },
  26221. "remark": {
  26222. "description": "备注",
  26223. "type": "string"
  26224. },
  26225. "triggersuccesstimes": {
  26226. "description": "累计定投成功次数",
  26227. "type": "string"
  26228. },
  26229. "triggertotalamount": {
  26230. "description": "累计定投金额(成功)",
  26231. "type": "number"
  26232. },
  26233. "triggertotalqty": {
  26234. "description": "累计定投数量(成功) [按小数位放大值]",
  26235. "type": "number"
  26236. },
  26237. "triggertotaltimes": {
  26238. "description": "累计定投总次数",
  26239. "type": "string"
  26240. },
  26241. "updatesrc": {
  26242. "description": "更新来源 - 1:管理端 2:终端",
  26243. "type": "integer"
  26244. },
  26245. "updatetime": {
  26246. "description": "更新时间",
  26247. "type": "string"
  26248. },
  26249. "updatorid": {
  26250. "description": "更新人",
  26251. "type": "string"
  26252. },
  26253. "userid": {
  26254. "description": "所属用户ID",
  26255. "type": "integer"
  26256. },
  26257. "userinfotype": {
  26258. "description": "用户类型 1-个人 2-企业",
  26259. "type": "integer"
  26260. },
  26261. "username": {
  26262. "description": "用户名称(userid对应的名称)",
  26263. "type": "string"
  26264. }
  26265. }
  26266. },
  26267. "models.QhjReckonPriceLog": {
  26268. "type": "object",
  26269. "properties": {
  26270. "decimalplace": {
  26271. "description": "商品报价小数位",
  26272. "type": "integer"
  26273. },
  26274. "goodscode": {
  26275. "description": "商品代码",
  26276. "type": "string"
  26277. },
  26278. "goodsid": {
  26279. "description": "商品ID",
  26280. "type": "integer"
  26281. },
  26282. "goodsname": {
  26283. "description": "商品名称",
  26284. "type": "string"
  26285. },
  26286. "lastreckonprice": {
  26287. "description": "上日结算价",
  26288. "type": "number"
  26289. },
  26290. "nextdnlimitprice": {
  26291. "description": "下个交易日跌停价",
  26292. "type": "number"
  26293. },
  26294. "nexttrade": {
  26295. "description": "下个交易日",
  26296. "type": "string"
  26297. },
  26298. "nextuplimitprice": {
  26299. "description": "下个交易日涨停价",
  26300. "type": "number"
  26301. },
  26302. "reckonprice": {
  26303. "description": "今日结算价(定投价)",
  26304. "type": "number"
  26305. },
  26306. "reckontime": {
  26307. "description": "结算时间",
  26308. "type": "string"
  26309. },
  26310. "totalholderqty": {
  26311. "description": "总持仓数",
  26312. "type": "integer"
  26313. },
  26314. "totalstock": {
  26315. "description": "总库存",
  26316. "type": "integer"
  26317. },
  26318. "tradedate": {
  26319. "description": "交易日",
  26320. "type": "string"
  26321. },
  26322. "updowncount": {
  26323. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  26324. "type": "integer"
  26325. },
  26326. "updownflag": {
  26327. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  26328. "type": "integer"
  26329. },
  26330. "updownrate": {
  26331. "description": "今日涨跌幅",
  26332. "type": "number"
  26333. },
  26334. "updownrate_2d": {
  26335. "description": "连续两日涨跌幅",
  26336. "type": "number"
  26337. },
  26338. "updownrate_3d": {
  26339. "description": "连续三日涨跌幅",
  26340. "type": "number"
  26341. }
  26342. }
  26343. },
  26344. "models.QhjScoreLog": {
  26345. "type": "object",
  26346. "properties": {
  26347. "accountid": {
  26348. "description": "账户ID",
  26349. "type": "integer"
  26350. },
  26351. "createtime": {
  26352. "description": "创建时间(时间)",
  26353. "type": "string"
  26354. },
  26355. "goodsid": {
  26356. "description": "商品ID",
  26357. "type": "integer"
  26358. },
  26359. "hasuploaded": {
  26360. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  26361. "type": "integer"
  26362. },
  26363. "logid": {
  26364. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26365. "type": "string"
  26366. },
  26367. "marketid": {
  26368. "description": "市场ID",
  26369. "type": "integer"
  26370. },
  26371. "relatedamount": {
  26372. "description": "关联金额",
  26373. "type": "number"
  26374. },
  26375. "relatedorderid": {
  26376. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  26377. "type": "string"
  26378. },
  26379. "scoreconfigvalue1": {
  26380. "description": "积分配置1",
  26381. "type": "integer"
  26382. },
  26383. "scoreconfigvalue2": {
  26384. "description": "积分配置1",
  26385. "type": "integer"
  26386. },
  26387. "scoretype": {
  26388. "description": "积分类型 - 1:提货积分",
  26389. "type": "integer"
  26390. },
  26391. "scorevalue": {
  26392. "description": "积分",
  26393. "type": "number"
  26394. },
  26395. "tradedate": {
  26396. "description": "交易日(yyyyMMdd)",
  26397. "type": "string"
  26398. },
  26399. "uploadedtime": {
  26400. "description": "同步时间",
  26401. "type": "string"
  26402. },
  26403. "userid": {
  26404. "description": "用户ID",
  26405. "type": "integer"
  26406. }
  26407. }
  26408. },
  26409. "models.QhjSiteColumnDetail": {
  26410. "type": "object",
  26411. "properties": {
  26412. "author": {
  26413. "description": "作者",
  26414. "type": "string"
  26415. },
  26416. "brief": {
  26417. "description": "简介",
  26418. "type": "string"
  26419. },
  26420. "columnid": {
  26421. "description": "所属栏目",
  26422. "type": "integer"
  26423. },
  26424. "context": {
  26425. "description": "内容",
  26426. "type": "string"
  26427. },
  26428. "coverimage": {
  26429. "description": "封面图片",
  26430. "type": "string"
  26431. },
  26432. "creaedate": {
  26433. "description": "创建时间",
  26434. "type": "string"
  26435. },
  26436. "creatorid": {
  26437. "description": "创建人",
  26438. "type": "integer"
  26439. },
  26440. "hits": {
  26441. "description": "点击数",
  26442. "type": "integer"
  26443. },
  26444. "id": {
  26445. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  26446. "type": "integer"
  26447. },
  26448. "isshow": {
  26449. "description": "是否展示 - 0:不展示 1:展示",
  26450. "type": "integer"
  26451. },
  26452. "istop": {
  26453. "description": "是否置顶 - 0:不置 1:置顶",
  26454. "type": "integer"
  26455. },
  26456. "modifierid": {
  26457. "description": "操作人",
  26458. "type": "integer"
  26459. },
  26460. "publishdate": {
  26461. "description": "发布日期",
  26462. "type": "string"
  26463. },
  26464. "status": {
  26465. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  26466. "type": "integer"
  26467. },
  26468. "title": {
  26469. "description": "标题",
  26470. "type": "string"
  26471. },
  26472. "updatedate": {
  26473. "description": "修改时间",
  26474. "type": "string"
  26475. },
  26476. "userid": {
  26477. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  26478. "type": "integer"
  26479. },
  26480. "username": {
  26481. "description": "用户名称",
  26482. "type": "string"
  26483. }
  26484. }
  26485. },
  26486. "models.QhjTeamOrder": {
  26487. "type": "object",
  26488. "properties": {
  26489. "accountid": {
  26490. "description": "账户ID[报价币种]",
  26491. "type": "integer"
  26492. },
  26493. "accountname": {
  26494. "description": "账户名称",
  26495. "type": "string"
  26496. },
  26497. "agreeunit": {
  26498. "description": "合约乘数",
  26499. "type": "number"
  26500. },
  26501. "buyorsell": {
  26502. "description": "方向 - 0:买 1:卖",
  26503. "type": "integer"
  26504. },
  26505. "decimalplace": {
  26506. "description": "报价小数位",
  26507. "type": "integer"
  26508. },
  26509. "enumdicname": {
  26510. "description": "单位名称",
  26511. "type": "string"
  26512. },
  26513. "goodscode": {
  26514. "description": "商品代码(内部)",
  26515. "type": "string"
  26516. },
  26517. "goodsid": {
  26518. "description": "商品ID",
  26519. "type": "integer"
  26520. },
  26521. "goodsname": {
  26522. "description": "商品名称",
  26523. "type": "string"
  26524. },
  26525. "goodunitid": {
  26526. "description": "报价单位ID",
  26527. "type": "integer"
  26528. },
  26529. "marketid": {
  26530. "description": "市场ID",
  26531. "type": "integer"
  26532. },
  26533. "marketname": {
  26534. "description": "市场名称",
  26535. "type": "string"
  26536. },
  26537. "qtydecimalplace": {
  26538. "description": "成交量小数位",
  26539. "type": "integer"
  26540. },
  26541. "refereeuserid": {
  26542. "description": "推荐人ID",
  26543. "type": "integer"
  26544. },
  26545. "tradeamount": {
  26546. "description": "成交金额[账户币种,用于所有权]",
  26547. "type": "number"
  26548. },
  26549. "tradedate": {
  26550. "description": "交易日(yyyyMMdd)",
  26551. "type": "string"
  26552. },
  26553. "trademode": {
  26554. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26555. "type": "integer"
  26556. },
  26557. "tradeprice": {
  26558. "description": "成交价格",
  26559. "type": "number"
  26560. },
  26561. "tradeqty": {
  26562. "description": "成交数量",
  26563. "type": "number"
  26564. },
  26565. "tradetime": {
  26566. "description": "成交时间",
  26567. "type": "string"
  26568. },
  26569. "userid": {
  26570. "description": "用户ID",
  26571. "type": "integer"
  26572. }
  26573. }
  26574. },
  26575. "models.QhjTradeGoodsPickup": {
  26576. "type": "object",
  26577. "properties": {
  26578. "accountid": {
  26579. "description": "账户ID",
  26580. "type": "integer"
  26581. },
  26582. "address": {
  26583. "description": "提货人详细地址",
  26584. "type": "string"
  26585. },
  26586. "amount": {
  26587. "description": "提货金额",
  26588. "type": "number"
  26589. },
  26590. "artradedate": {
  26591. "description": "自动收货交易日(yyyyMMdd)",
  26592. "type": "string"
  26593. },
  26594. "auditer": {
  26595. "description": "审核人",
  26596. "type": "integer"
  26597. },
  26598. "auditsrc": {
  26599. "description": "更新来源 - 1:管理端 2:终端",
  26600. "type": "integer"
  26601. },
  26602. "audittime": {
  26603. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  26604. "type": "string"
  26605. },
  26606. "audittradedate": {
  26607. "description": "审核交易日(yyyyMMdd)",
  26608. "type": "string"
  26609. },
  26610. "cardnum": {
  26611. "description": "提货人证件号码",
  26612. "type": "string"
  26613. },
  26614. "cardtypeid": {
  26615. "description": "提货人证件类型",
  26616. "type": "integer"
  26617. },
  26618. "checkremark": {
  26619. "description": "审核备注",
  26620. "type": "string"
  26621. },
  26622. "cityid": {
  26623. "description": "市",
  26624. "type": "integer"
  26625. },
  26626. "cityname": {
  26627. "description": "城市名称",
  26628. "type": "string"
  26629. },
  26630. "confirmtime": {
  26631. "description": "取货时间 或 收货时间",
  26632. "type": "string"
  26633. },
  26634. "countryid": {
  26635. "description": "国家",
  26636. "type": "integer"
  26637. },
  26638. "countryname": {
  26639. "description": "国家名称",
  26640. "type": "string"
  26641. },
  26642. "decimalplace": {
  26643. "description": "商品报价小数位",
  26644. "type": "integer"
  26645. },
  26646. "districtid": {
  26647. "description": "地区",
  26648. "type": "integer"
  26649. },
  26650. "districtname": {
  26651. "description": "地区名称",
  26652. "type": "string"
  26653. },
  26654. "enumdicname": {
  26655. "description": "单位名称(提货商品)",
  26656. "type": "string"
  26657. },
  26658. "expresscompany": {
  26659. "description": "物流公司",
  26660. "type": "string"
  26661. },
  26662. "expressnum": {
  26663. "description": "物流单号",
  26664. "type": "string"
  26665. },
  26666. "goodsagreeunit": {
  26667. "description": "交易商品乘数",
  26668. "type": "number"
  26669. },
  26670. "goodscode": {
  26671. "description": "商品代码",
  26672. "type": "string"
  26673. },
  26674. "goodsid": {
  26675. "description": "商品ID",
  26676. "type": "integer"
  26677. },
  26678. "goodsname": {
  26679. "description": "商品名称",
  26680. "type": "string"
  26681. },
  26682. "goodsqty": {
  26683. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  26684. "type": "number"
  26685. },
  26686. "handlestatus": {
  26687. "description": "处理状态",
  26688. "type": "integer"
  26689. },
  26690. "logincode": {
  26691. "description": "账号(登录代码, 有可能为空)",
  26692. "type": "string"
  26693. },
  26694. "marketid": {
  26695. "description": "市场ID",
  26696. "type": "integer"
  26697. },
  26698. "phonenum": {
  26699. "description": "提货人联系方式",
  26700. "type": "string"
  26701. },
  26702. "pickupgoodsagreeunit": {
  26703. "description": "提货商品合约乘数",
  26704. "type": "number"
  26705. },
  26706. "pickupgoodsid": {
  26707. "description": "提货商品ID",
  26708. "type": "string"
  26709. },
  26710. "pickupgoodsname": {
  26711. "description": "提货商品名称",
  26712. "type": "string"
  26713. },
  26714. "pickupgoodsqty": {
  26715. "description": "提货商品手数(数量)",
  26716. "type": "number"
  26717. },
  26718. "pickupgoodsunitid": {
  26719. "description": "单位ID(提货商品)",
  26720. "type": "integer"
  26721. },
  26722. "pickupratio": {
  26723. "description": "提货系数",
  26724. "type": "number"
  26725. },
  26726. "preparedays": {
  26727. "description": "备货期(天)-提货单明细表",
  26728. "type": "integer"
  26729. },
  26730. "provinceid": {
  26731. "description": "省",
  26732. "type": "integer"
  26733. },
  26734. "provincename": {
  26735. "description": "省名称",
  26736. "type": "string"
  26737. },
  26738. "qty": {
  26739. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  26740. "type": "number"
  26741. },
  26742. "qtydecimalplace": {
  26743. "description": "商品数量小数位",
  26744. "type": "integer"
  26745. },
  26746. "recivername": {
  26747. "description": "提货人姓名",
  26748. "type": "string"
  26749. },
  26750. "reqtime": {
  26751. "description": "提货申请时间",
  26752. "type": "string"
  26753. },
  26754. "storeuserid": {
  26755. "description": "门店用户ID (千海金)",
  26756. "type": "integer"
  26757. },
  26758. "storeusername": {
  26759. "description": "门店用户名称",
  26760. "type": "string"
  26761. },
  26762. "takemode": {
  26763. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  26764. "type": "integer"
  26765. },
  26766. "takeorderid": {
  26767. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26768. "type": "string"
  26769. },
  26770. "takeorderstatus": {
  26771. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  26772. "type": "integer"
  26773. },
  26774. "takeremark": {
  26775. "description": "提货备注",
  26776. "type": "string"
  26777. },
  26778. "tradedate": {
  26779. "description": "交易日(yyyyMMdd)",
  26780. "type": "string"
  26781. },
  26782. "updatetime": {
  26783. "description": "更新时间",
  26784. "type": "string"
  26785. },
  26786. "userid": {
  26787. "description": "用户ID",
  26788. "type": "integer"
  26789. },
  26790. "userinfotype": {
  26791. "description": "客户类型 1-个人 2-企业",
  26792. "type": "integer"
  26793. },
  26794. "username": {
  26795. "description": "用户名称",
  26796. "type": "string"
  26797. }
  26798. }
  26799. },
  26800. "models.QhjUserNodeCfgAndStatus": {
  26801. "type": "object",
  26802. "properties": {
  26803. "agreementcontent": {
  26804. "description": "协议内容",
  26805. "type": "string"
  26806. },
  26807. "agreementid": {
  26808. "description": "协议ID",
  26809. "type": "integer"
  26810. },
  26811. "agreementname": {
  26812. "description": "协议名称",
  26813. "type": "string"
  26814. },
  26815. "agreementno": {
  26816. "description": "协议编号",
  26817. "type": "string"
  26818. },
  26819. "agreementtype": {
  26820. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26821. "type": "integer"
  26822. },
  26823. "agreementversion": {
  26824. "description": "协议版本号",
  26825. "type": "integer"
  26826. },
  26827. "configid": {
  26828. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26829. "type": "integer"
  26830. },
  26831. "createtime": {
  26832. "description": "创建时间",
  26833. "type": "string"
  26834. },
  26835. "goodsid": {
  26836. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26837. "type": "integer"
  26838. },
  26839. "nodetype": {
  26840. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26841. "type": "integer"
  26842. },
  26843. "signtimestamp": {
  26844. "description": "签约状态时间戳(最近一次)",
  26845. "type": "string"
  26846. },
  26847. "tradedate": {
  26848. "description": "签约交易日(yyyyMMdd)",
  26849. "type": "string"
  26850. },
  26851. "userid": {
  26852. "description": "客户ID",
  26853. "type": "integer"
  26854. }
  26855. }
  26856. },
  26857. "models.Qhjgoodsex": {
  26858. "type": "object",
  26859. "properties": {
  26860. "canfinance": {
  26861. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  26862. "type": "integer"
  26863. },
  26864. "canregularlybuy": {
  26865. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  26866. "type": "integer"
  26867. },
  26868. "defaulttradeuserid": {
  26869. "description": "默认交易用户ID",
  26870. "type": "integer"
  26871. },
  26872. "deliverygoodsid": {
  26873. "description": "现货品种ID",
  26874. "type": "integer"
  26875. },
  26876. "goodsid": {
  26877. "description": "商品ID(自增ID SEQ_GOODS)",
  26878. "type": "integer"
  26879. },
  26880. "minamount": {
  26881. "description": "最小购买金额",
  26882. "type": "number"
  26883. },
  26884. "regularlybuyminamount": {
  26885. "description": "定投最小金额",
  26886. "type": "number"
  26887. },
  26888. "regularlybuyminqty": {
  26889. "description": "定投最小数量",
  26890. "type": "number"
  26891. },
  26892. "spotgoodsbrandid": {
  26893. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  26894. "type": "integer"
  26895. },
  26896. "visibilityforenterprise": {
  26897. "description": "企业客户是否可见 - 0:不可见 1:可见",
  26898. "type": "integer"
  26899. },
  26900. "visibilityforpersonal": {
  26901. "description": "个人客户是否可见 - 0:不可见 1:可见",
  26902. "type": "integer"
  26903. },
  26904. "wrstandardid": {
  26905. "description": "现货商品ID",
  26906. "type": "integer"
  26907. }
  26908. }
  26909. },
  26910. "models.QueryErrorInfosRsp": {
  26911. "type": "object",
  26912. "required": [
  26913. "errorid"
  26914. ],
  26915. "properties": {
  26916. "description": {
  26917. "description": "异常描述",
  26918. "type": "string"
  26919. },
  26920. "errorcode": {
  26921. "description": "异常代码",
  26922. "type": "string"
  26923. },
  26924. "errorid": {
  26925. "description": "异常ID",
  26926. "type": "integer"
  26927. },
  26928. "modulecode": {
  26929. "description": "所属模块",
  26930. "type": "string"
  26931. },
  26932. "operatecode": {
  26933. "description": "所属操作",
  26934. "type": "string"
  26935. },
  26936. "rownumber": {
  26937. "description": "行号",
  26938. "type": "string"
  26939. }
  26940. }
  26941. },
  26942. "models.QueryHedgeOrderDetailRsp": {
  26943. "type": "object",
  26944. "properties": {
  26945. "accountid": {
  26946. "description": "账户ID",
  26947. "type": "integer"
  26948. },
  26949. "buyorsell": {
  26950. "description": "买卖 - 0:买 1:卖",
  26951. "type": "integer"
  26952. },
  26953. "cancellogincode": {
  26954. "description": "撤单人",
  26955. "type": "string"
  26956. },
  26957. "channelbuildtype": {
  26958. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  26959. "type": "integer"
  26960. },
  26961. "channelinnerorderstatus": {
  26962. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  26963. "type": "integer"
  26964. },
  26965. "channeloperatetype": {
  26966. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  26967. "type": "integer"
  26968. },
  26969. "closetype": {
  26970. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26971. "type": "integer"
  26972. },
  26973. "curexchangerate": {
  26974. "description": "当前汇率",
  26975. "type": "number"
  26976. },
  26977. "exchangefullname": {
  26978. "description": "外部交易所全称",
  26979. "type": "string"
  26980. },
  26981. "goodscode": {
  26982. "description": "商品代码(内部)",
  26983. "type": "string"
  26984. },
  26985. "goodsid": {
  26986. "description": "商品ID",
  26987. "type": "integer"
  26988. },
  26989. "goodsname": {
  26990. "description": "商品名称",
  26991. "type": "string"
  26992. },
  26993. "marketid": {
  26994. "description": "市场ID",
  26995. "type": "integer"
  26996. },
  26997. "openfreezemargin": {
  26998. "description": "冻结保证金(冻结交易金额)",
  26999. "type": "number"
  27000. },
  27001. "orderid": {
  27002. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27003. "type": "string"
  27004. },
  27005. "orderlogincode": {
  27006. "description": "委托人",
  27007. "type": "string"
  27008. },
  27009. "orderprice": {
  27010. "description": "委托价格(账户)",
  27011. "type": "number"
  27012. },
  27013. "orderqty": {
  27014. "description": "委托数量",
  27015. "type": "integer"
  27016. },
  27017. "ordertime": {
  27018. "description": "委托时间",
  27019. "type": "string"
  27020. },
  27021. "pricemode": {
  27022. "description": "取价方式 - 1:市价 2: 限价",
  27023. "type": "integer"
  27024. },
  27025. "tradedate": {
  27026. "description": "交易日(yyyyMMdd)",
  27027. "type": "string"
  27028. },
  27029. "tradeqty": {
  27030. "description": "成交数量",
  27031. "type": "integer"
  27032. }
  27033. }
  27034. },
  27035. "models.QueryHedgeTradeDetailRsp": {
  27036. "type": "object",
  27037. "properties": {
  27038. "accountid": {
  27039. "description": "账号ID",
  27040. "type": "integer"
  27041. },
  27042. "buyorsell": {
  27043. "description": "方向 - 0:买 1:卖",
  27044. "type": "integer"
  27045. },
  27046. "channelbuildtype": {
  27047. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27048. "type": "integer"
  27049. },
  27050. "closecharge": {
  27051. "description": "平仓手续费(账户)",
  27052. "type": "number"
  27053. },
  27054. "closecharge2": {
  27055. "description": "平仓手续费(商品)",
  27056. "type": "number"
  27057. },
  27058. "closepl": {
  27059. "description": "平仓盈亏(账户)",
  27060. "type": "number"
  27061. },
  27062. "closepl2": {
  27063. "description": "平仓盈亏(商品)",
  27064. "type": "number"
  27065. },
  27066. "closepl3": {
  27067. "description": "平仓盈亏(账户)(逐笔)",
  27068. "type": "number"
  27069. },
  27070. "closepl4": {
  27071. "description": "平仓盈亏(商品)(逐笔)",
  27072. "type": "number"
  27073. },
  27074. "closetype": {
  27075. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27076. "type": "integer"
  27077. },
  27078. "curexchangerate": {
  27079. "description": "当前汇率",
  27080. "type": "number"
  27081. },
  27082. "exchangefullname": {
  27083. "description": "外部交易所全称",
  27084. "type": "string"
  27085. },
  27086. "goodscode": {
  27087. "description": "商品代码(内部)",
  27088. "type": "string"
  27089. },
  27090. "goodsid": {
  27091. "description": "商品ID",
  27092. "type": "integer"
  27093. },
  27094. "goodsname": {
  27095. "description": "商品名称",
  27096. "type": "string"
  27097. },
  27098. "marketid": {
  27099. "description": "市场ID",
  27100. "type": "integer"
  27101. },
  27102. "opencharge": {
  27103. "description": "建仓手续费(账户)",
  27104. "type": "number"
  27105. },
  27106. "opencharge2": {
  27107. "description": "建仓手续费(商品)",
  27108. "type": "number"
  27109. },
  27110. "orderid": {
  27111. "description": "委托单号",
  27112. "type": "string"
  27113. },
  27114. "orderlogincode": {
  27115. "description": "委托人",
  27116. "type": "string"
  27117. },
  27118. "tradeamount": {
  27119. "description": "成交金额(账户)",
  27120. "type": "number"
  27121. },
  27122. "tradedate": {
  27123. "description": "交易日(yyyyMMdd)",
  27124. "type": "string"
  27125. },
  27126. "tradeid": {
  27127. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27128. "type": "string"
  27129. },
  27130. "tradeprice": {
  27131. "description": "成交价格",
  27132. "type": "number"
  27133. },
  27134. "tradeqty": {
  27135. "description": "成交数量",
  27136. "type": "integer"
  27137. },
  27138. "tradetime": {
  27139. "description": "成交时间",
  27140. "type": "string"
  27141. },
  27142. "tradetype": {
  27143. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  27144. "type": "integer"
  27145. }
  27146. }
  27147. },
  27148. "models.QuotePrimaryMenu": {
  27149. "type": "object",
  27150. "properties": {
  27151. "Index": {
  27152. "description": "序号",
  27153. "type": "integer"
  27154. },
  27155. "Key": {
  27156. "description": "键名",
  27157. "type": "string"
  27158. },
  27159. "Name": {
  27160. "description": "菜单名称",
  27161. "type": "string"
  27162. },
  27163. "SubMenus": {
  27164. "description": "子菜单",
  27165. "type": "array",
  27166. "items": {
  27167. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  27168. }
  27169. },
  27170. "SubTitleType": {
  27171. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  27172. "type": "integer"
  27173. },
  27174. "TradeModes": {
  27175. "description": "包含市场交易类型",
  27176. "type": "string"
  27177. }
  27178. }
  27179. },
  27180. "models.QuoteSecondaryMenu": {
  27181. "type": "object",
  27182. "properties": {
  27183. "ExExchangeCode": {
  27184. "description": "外部交易所代码",
  27185. "type": "string"
  27186. },
  27187. "ExExchangeID": {
  27188. "description": "外部交易所ID",
  27189. "type": "integer"
  27190. },
  27191. "GoodsGroupIDs": {
  27192. "description": "商品组ID列表",
  27193. "type": "array",
  27194. "items": {
  27195. "type": "integer"
  27196. }
  27197. },
  27198. "Index": {
  27199. "description": "序号",
  27200. "type": "integer"
  27201. },
  27202. "MarketID": {
  27203. "description": "市场ID",
  27204. "type": "integer"
  27205. },
  27206. "MenuTitle": {
  27207. "description": "菜单标题(市场名称或外部交易所名称)",
  27208. "type": "string"
  27209. },
  27210. "TradeMode": {
  27211. "description": "交易模式",
  27212. "type": "integer"
  27213. }
  27214. }
  27215. },
  27216. "models.SearchGoods": {
  27217. "type": "object",
  27218. "required": [
  27219. "goodscode",
  27220. "goodsid",
  27221. "goodsname",
  27222. "marketid",
  27223. "trademode"
  27224. ],
  27225. "properties": {
  27226. "goodscode": {
  27227. "description": "商品代码(内部)",
  27228. "type": "string"
  27229. },
  27230. "goodsid": {
  27231. "description": "商品ID(自增ID SEQ_GOODS)",
  27232. "type": "integer"
  27233. },
  27234. "goodsname": {
  27235. "description": "商品名称",
  27236. "type": "string"
  27237. },
  27238. "marketid": {
  27239. "description": "所属市场ID",
  27240. "type": "integer"
  27241. },
  27242. "marketname": {
  27243. "description": "市场名称",
  27244. "type": "string"
  27245. },
  27246. "trademode": {
  27247. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27248. "type": "integer"
  27249. }
  27250. }
  27251. },
  27252. "models.Systemparam": {
  27253. "type": "object",
  27254. "required": [
  27255. "paramcode"
  27256. ],
  27257. "properties": {
  27258. "loginid": {
  27259. "description": "更新用户账号,登录账号",
  27260. "type": "string"
  27261. },
  27262. "modifyflag": {
  27263. "description": "修改标志0 不允许修改 1 允许修改",
  27264. "type": "integer"
  27265. },
  27266. "paramcode": {
  27267. "description": "参数代码",
  27268. "type": "string"
  27269. },
  27270. "paramname": {
  27271. "description": "参数名",
  27272. "type": "string"
  27273. },
  27274. "paramtype": {
  27275. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  27276. "type": "integer"
  27277. },
  27278. "paramvalue": {
  27279. "description": "参数值",
  27280. "type": "string"
  27281. },
  27282. "paramvalue2": {
  27283. "description": "参数值(CLOB)",
  27284. "type": "string"
  27285. },
  27286. "regexpress": {
  27287. "description": "正则表达式",
  27288. "type": "string"
  27289. },
  27290. "remark": {
  27291. "description": "备注",
  27292. "type": "string"
  27293. },
  27294. "serverip": {
  27295. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  27296. "type": "string"
  27297. },
  27298. "showflag": {
  27299. "description": "是否显示0 不显示 1 显示",
  27300. "type": "integer"
  27301. },
  27302. "updatetime": {
  27303. "description": "更新时间",
  27304. "type": "string"
  27305. },
  27306. "userid": {
  27307. "description": "更新用户ID",
  27308. "type": "integer"
  27309. }
  27310. }
  27311. },
  27312. "models.Szdz3convertconfig": {
  27313. "type": "object",
  27314. "required": [
  27315. "converttype",
  27316. "innergoodsid",
  27317. "outergoodscode"
  27318. ],
  27319. "properties": {
  27320. "canin": {
  27321. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  27322. "type": "integer"
  27323. },
  27324. "canout": {
  27325. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  27326. "type": "integer"
  27327. },
  27328. "converttype": {
  27329. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  27330. "type": "integer"
  27331. },
  27332. "createtime": {
  27333. "description": "创建时间",
  27334. "type": "string"
  27335. },
  27336. "creatorid": {
  27337. "description": "创建人",
  27338. "type": "integer"
  27339. },
  27340. "daymaxvalue": {
  27341. "description": "当日最大转入限制",
  27342. "type": "number"
  27343. },
  27344. "freezedays": {
  27345. "description": "冻结天数 [5:花生米转交易]",
  27346. "type": "integer"
  27347. },
  27348. "innergoodsid": {
  27349. "description": "内部商品ID[交易]",
  27350. "type": "integer"
  27351. },
  27352. "inratio": {
  27353. "description": "目标值",
  27354. "type": "integer"
  27355. },
  27356. "modifierid": {
  27357. "description": "修改人",
  27358. "type": "integer"
  27359. },
  27360. "modifytime": {
  27361. "description": "修改时间",
  27362. "type": "string"
  27363. },
  27364. "outergoodscode": {
  27365. "description": "外部商品代码[JD\\PD]",
  27366. "type": "string"
  27367. },
  27368. "outratio": {
  27369. "description": "源值",
  27370. "type": "integer"
  27371. },
  27372. "pddecimalplace": {
  27373. "description": "PD小数位",
  27374. "type": "integer"
  27375. },
  27376. "timemaxvalue": {
  27377. "description": "单次最大转入限制",
  27378. "type": "number"
  27379. },
  27380. "timeminvalue": {
  27381. "description": "单次最小转入限制",
  27382. "type": "number"
  27383. }
  27384. }
  27385. },
  27386. "models.Szdz3searchwhitelist": {
  27387. "type": "object",
  27388. "required": [
  27389. "userid"
  27390. ],
  27391. "properties": {
  27392. "createtime": {
  27393. "description": "创建时间",
  27394. "type": "string"
  27395. },
  27396. "creatorid": {
  27397. "description": "创建人",
  27398. "type": "integer"
  27399. },
  27400. "modifierid": {
  27401. "description": "修改人",
  27402. "type": "integer"
  27403. },
  27404. "modifytime": {
  27405. "description": "修改时间",
  27406. "type": "string"
  27407. },
  27408. "userid": {
  27409. "description": "用户ID",
  27410. "type": "integer"
  27411. }
  27412. }
  27413. },
  27414. "models.Taaccount": {
  27415. "type": "object",
  27416. "required": [
  27417. "accountid",
  27418. "userid"
  27419. ],
  27420. "properties": {
  27421. "accountflag": {
  27422. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  27423. "type": "integer"
  27424. },
  27425. "accountid": {
  27426. "description": "资金账户ID",
  27427. "type": "integer"
  27428. },
  27429. "accountname": {
  27430. "description": "账户名称",
  27431. "type": "string"
  27432. },
  27433. "balance": {
  27434. "description": "期初余额",
  27435. "type": "number"
  27436. },
  27437. "capitalbalance": {
  27438. "description": "本金余额[外部子账户实际出入金余额]",
  27439. "type": "number"
  27440. },
  27441. "changeflag": {
  27442. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  27443. "type": "integer"
  27444. },
  27445. "changetime": {
  27446. "description": "账户状态变更时间",
  27447. "type": "string"
  27448. },
  27449. "closepl": {
  27450. "description": "今日平仓盈亏",
  27451. "type": "number"
  27452. },
  27453. "creditdecrease": {
  27454. "description": "今日授信减少",
  27455. "type": "number"
  27456. },
  27457. "creditincrease": {
  27458. "description": "今日授信增加",
  27459. "type": "number"
  27460. },
  27461. "curamount": {
  27462. "description": "总市值(从持仓中统计)",
  27463. "type": "number"
  27464. },
  27465. "currencyid": {
  27466. "description": "货币ID",
  27467. "type": "integer"
  27468. },
  27469. "currentbalance": {
  27470. "description": "期末余额",
  27471. "type": "number"
  27472. },
  27473. "freezecharge": {
  27474. "description": "手续费冻结",
  27475. "type": "number"
  27476. },
  27477. "freezemargin": {
  27478. "description": "冻结保证金",
  27479. "type": "number"
  27480. },
  27481. "fromaccountid": {
  27482. "description": "所属上级账户",
  27483. "type": "integer"
  27484. },
  27485. "inamount": {
  27486. "description": "今日入金金额(包括三方入金)",
  27487. "type": "number"
  27488. },
  27489. "ismain": {
  27490. "description": "是否母账号 0:不是母账户 1:是母账户",
  27491. "type": "integer"
  27492. },
  27493. "ismarketaccount": {
  27494. "description": "是否机构接单账号 0:不是 1:是",
  27495. "type": "integer"
  27496. },
  27497. "isreckonaccount": {
  27498. "description": "是否机构分润账号 0:不是 1:是",
  27499. "type": "integer"
  27500. },
  27501. "mortgagecredit": {
  27502. "description": "授信金额",
  27503. "type": "number"
  27504. },
  27505. "orifreezecharge": {
  27506. "description": "期初手续费冻结",
  27507. "type": "number"
  27508. },
  27509. "orifreezemargin": {
  27510. "description": "期初冻结保证金",
  27511. "type": "number"
  27512. },
  27513. "orimortgagecredit": {
  27514. "description": "期初授信金额",
  27515. "type": "number"
  27516. },
  27517. "oriothercredit": {
  27518. "description": "期初其它授信金额",
  27519. "type": "number"
  27520. },
  27521. "oriotherfreezemargin": {
  27522. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27523. "type": "number"
  27524. },
  27525. "orioutamountfreeze": {
  27526. "description": "期初出金冻结",
  27527. "type": "number"
  27528. },
  27529. "oriusedmargin": {
  27530. "description": "期初占用保证金",
  27531. "type": "number"
  27532. },
  27533. "othercredit": {
  27534. "description": "其它授信金额",
  27535. "type": "number"
  27536. },
  27537. "othercreditdecrease": {
  27538. "description": "今日其它授信减少",
  27539. "type": "number"
  27540. },
  27541. "othercreditincrease": {
  27542. "description": "今日其它授信增加",
  27543. "type": "number"
  27544. },
  27545. "otherfreezemargin": {
  27546. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27547. "type": "number"
  27548. },
  27549. "otherincome": {
  27550. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  27551. "type": "number"
  27552. },
  27553. "otherpay": {
  27554. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  27555. "type": "number"
  27556. },
  27557. "outamount": {
  27558. "description": "今日出金金额(包括三方出金)",
  27559. "type": "number"
  27560. },
  27561. "outamountfreeze": {
  27562. "description": "出金冻结",
  27563. "type": "number"
  27564. },
  27565. "outthreshold": {
  27566. "description": "出金阈值",
  27567. "type": "number"
  27568. },
  27569. "parentaccountid": {
  27570. "description": "所属根账号",
  27571. "type": "integer"
  27572. },
  27573. "paycharge": {
  27574. "description": "今日手续费支出",
  27575. "type": "number"
  27576. },
  27577. "relatedaccountstatus": {
  27578. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  27579. "type": "integer"
  27580. },
  27581. "relateduserid": {
  27582. "description": "关联用户",
  27583. "type": "integer"
  27584. },
  27585. "remainamount": {
  27586. "description": "融资额(从融资合同中统计)",
  27587. "type": "number"
  27588. },
  27589. "serivcegroup": {
  27590. "description": "服务分组",
  27591. "type": "integer"
  27592. },
  27593. "signstatus": {
  27594. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27595. "type": "integer"
  27596. },
  27597. "sublevelpath": {
  27598. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27599. "type": "string"
  27600. },
  27601. "taaccounttype": {
  27602. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27603. "type": "integer"
  27604. },
  27605. "thirdinamount": {
  27606. "description": "今日三方入金",
  27607. "type": "number"
  27608. },
  27609. "thirdoutamount": {
  27610. "description": "今日三方出金",
  27611. "type": "number"
  27612. },
  27613. "tradestatus": {
  27614. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27615. "type": "integer"
  27616. },
  27617. "tradestatuschangetime": {
  27618. "description": "激活时间",
  27619. "type": "string"
  27620. },
  27621. "transferamount": {
  27622. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27623. "type": "number"
  27624. },
  27625. "usedmargin": {
  27626. "description": "占用保证金",
  27627. "type": "number"
  27628. },
  27629. "userid": {
  27630. "description": "用户ID",
  27631. "type": "integer"
  27632. }
  27633. }
  27634. },
  27635. "models.Tablecolumnconfig": {
  27636. "type": "object",
  27637. "required": [
  27638. "autoid"
  27639. ],
  27640. "properties": {
  27641. "aligntype": {
  27642. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  27643. "type": "integer"
  27644. },
  27645. "autoid": {
  27646. "description": "AutoID",
  27647. "type": "integer"
  27648. },
  27649. "columnfield": {
  27650. "description": "列字段",
  27651. "type": "string"
  27652. },
  27653. "columntitle": {
  27654. "description": "列Title",
  27655. "type": "string"
  27656. },
  27657. "columnwidth": {
  27658. "description": "列宽",
  27659. "type": "string"
  27660. },
  27661. "formatterstring": {
  27662. "description": "格式化字符",
  27663. "type": "string"
  27664. },
  27665. "formattertype": {
  27666. "description": "格式化类型",
  27667. "type": "string"
  27668. },
  27669. "groupname": {
  27670. "description": "表头分组名称",
  27671. "type": "string"
  27672. },
  27673. "isshow": {
  27674. "description": "是否显示 - 0:不显示 1:显示",
  27675. "type": "integer"
  27676. },
  27677. "needsummary": {
  27678. "description": "是否需要汇总 - 0:不需要 1:需要",
  27679. "type": "integer"
  27680. },
  27681. "orderindex": {
  27682. "description": "顺序",
  27683. "type": "integer"
  27684. },
  27685. "remark": {
  27686. "description": "备注",
  27687. "type": "string"
  27688. },
  27689. "summarytype": {
  27690. "description": "汇总类型 - 1:加总 2:最后一个",
  27691. "type": "integer"
  27692. },
  27693. "tablekey": {
  27694. "description": "列表Key",
  27695. "type": "string"
  27696. }
  27697. }
  27698. },
  27699. "models.UserCollectConfig": {
  27700. "type": "object",
  27701. "properties": {
  27702. "accountstatus": {
  27703. "description": "账户状态 - 1:正常 2:停用 3:注销",
  27704. "type": "integer"
  27705. },
  27706. "collectaccountname": {
  27707. "description": "收款人账户名称",
  27708. "type": "string"
  27709. },
  27710. "collectaccountno": {
  27711. "description": "收款人账户",
  27712. "type": "string"
  27713. },
  27714. "collectbankname": {
  27715. "description": "收款人开户行",
  27716. "type": "string"
  27717. },
  27718. "collectbranchbankname": {
  27719. "description": "收款人开户支行",
  27720. "type": "string"
  27721. },
  27722. "collectconfigid": {
  27723. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  27724. "type": "string"
  27725. },
  27726. "remark": {
  27727. "description": "备注",
  27728. "type": "string"
  27729. },
  27730. "userid": {
  27731. "description": "收款人用户ID",
  27732. "type": "integer"
  27733. }
  27734. }
  27735. },
  27736. "models.UserReceiveInfo": {
  27737. "type": "object",
  27738. "properties": {
  27739. "address": {
  27740. "description": "提货人详细地址",
  27741. "type": "string"
  27742. },
  27743. "autoid": {
  27744. "description": "AutoID",
  27745. "type": "integer"
  27746. },
  27747. "cardnum": {
  27748. "description": "证件号码(加密存储)",
  27749. "type": "string"
  27750. },
  27751. "cardtypeid": {
  27752. "description": "证件类型",
  27753. "type": "integer"
  27754. },
  27755. "cityid": {
  27756. "description": "市",
  27757. "type": "integer"
  27758. },
  27759. "cityname": {
  27760. "description": "城市名称",
  27761. "type": "string"
  27762. },
  27763. "countryid": {
  27764. "description": "国家",
  27765. "type": "integer"
  27766. },
  27767. "countryname": {
  27768. "description": "国家名称",
  27769. "type": "string"
  27770. },
  27771. "districtid": {
  27772. "description": "地区",
  27773. "type": "integer"
  27774. },
  27775. "districtname": {
  27776. "description": "地区名称",
  27777. "type": "string"
  27778. },
  27779. "hasencrypt": {
  27780. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27781. "type": "integer"
  27782. },
  27783. "isdefault": {
  27784. "description": "是否默认地址 - 0:否 1:是",
  27785. "type": "integer"
  27786. },
  27787. "phonenum": {
  27788. "description": "提货人联系方式(加密存储)",
  27789. "type": "string"
  27790. },
  27791. "provinceid": {
  27792. "description": "省",
  27793. "type": "integer"
  27794. },
  27795. "provincename": {
  27796. "description": "省名称",
  27797. "type": "string"
  27798. },
  27799. "receivername": {
  27800. "description": "提货人姓名",
  27801. "type": "string"
  27802. },
  27803. "takeremark": {
  27804. "description": "提货备注",
  27805. "type": "string"
  27806. },
  27807. "userid": {
  27808. "description": "用户ID",
  27809. "type": "integer"
  27810. }
  27811. }
  27812. },
  27813. "models.Useraccount": {
  27814. "type": "object",
  27815. "required": [
  27816. "userid"
  27817. ],
  27818. "properties": {
  27819. "accountname": {
  27820. "description": "账户名称(机构名称)",
  27821. "type": "string"
  27822. },
  27823. "accountstatus": {
  27824. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27825. "type": "integer"
  27826. },
  27827. "applysrc": {
  27828. "description": "申请来源 - 1:管理端 2:终端",
  27829. "type": "integer"
  27830. },
  27831. "auditremark": {
  27832. "description": "审核备注",
  27833. "type": "string"
  27834. },
  27835. "auditsrc": {
  27836. "description": "审核来源 - 1:管理端 2:终端",
  27837. "type": "integer"
  27838. },
  27839. "audittime": {
  27840. "description": "审核时间",
  27841. "type": "string"
  27842. },
  27843. "audituserid": {
  27844. "description": "审核人",
  27845. "type": "integer"
  27846. },
  27847. "broker": {
  27848. "description": "所属经纪人ID",
  27849. "type": "integer"
  27850. },
  27851. "canceltime": {
  27852. "description": "销户时间",
  27853. "type": "string"
  27854. },
  27855. "canceluserid": {
  27856. "description": "销户人",
  27857. "type": "integer"
  27858. },
  27859. "canrecommend": {
  27860. "description": "是否可推荐 - 0:不可 1;可",
  27861. "type": "integer"
  27862. },
  27863. "createtime": {
  27864. "description": "创建时间",
  27865. "type": "string"
  27866. },
  27867. "creatorid": {
  27868. "description": "创建人",
  27869. "type": "integer"
  27870. },
  27871. "hasauth": {
  27872. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27873. "type": "integer"
  27874. },
  27875. "isanonymous": {
  27876. "description": "是否匿名下单 - 0:否 1:是",
  27877. "type": "integer"
  27878. },
  27879. "maxinvestornum": {
  27880. "description": "最大用户数(经纪会员下投资者个数)",
  27881. "type": "integer"
  27882. },
  27883. "memberuserid": {
  27884. "description": "所属会员ID",
  27885. "type": "integer"
  27886. },
  27887. "modifierid": {
  27888. "description": "修改人",
  27889. "type": "integer"
  27890. },
  27891. "modifyremark": {
  27892. "description": "变更备注",
  27893. "type": "string"
  27894. },
  27895. "modifystatus": {
  27896. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27897. "type": "integer"
  27898. },
  27899. "modifytime": {
  27900. "description": "修改时间",
  27901. "type": "string"
  27902. },
  27903. "parenttopuser": {
  27904. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27905. "type": "string"
  27906. },
  27907. "parentuserid": {
  27908. "description": "所属机构ID",
  27909. "type": "integer"
  27910. },
  27911. "reckonaccountid": {
  27912. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27913. "type": "integer"
  27914. },
  27915. "refercount": {
  27916. "description": "推荐总人数",
  27917. "type": "integer"
  27918. },
  27919. "refereeuserid": {
  27920. "description": "推荐人ID",
  27921. "type": "integer"
  27922. },
  27923. "refernum": {
  27924. "description": "推荐码",
  27925. "type": "string"
  27926. },
  27927. "rootuserid": {
  27928. "description": "根用户ID",
  27929. "type": "integer"
  27930. },
  27931. "subaccountlevel": {
  27932. "description": "子账户层数",
  27933. "type": "integer"
  27934. },
  27935. "subarealevelpath": {
  27936. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27937. "type": "string"
  27938. },
  27939. "userid": {
  27940. "description": "用户ID",
  27941. "type": "integer"
  27942. },
  27943. "usertype": {
  27944. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27945. "type": "integer"
  27946. }
  27947. }
  27948. },
  27949. "models.Userfavoritegoods": {
  27950. "type": "object",
  27951. "required": [
  27952. "goodsid"
  27953. ],
  27954. "properties": {
  27955. "goodsid": {
  27956. "description": "商品ID",
  27957. "type": "integer"
  27958. }
  27959. }
  27960. },
  27961. "models.Userinfo": {
  27962. "type": "object",
  27963. "required": [
  27964. "userid"
  27965. ],
  27966. "properties": {
  27967. "address": {
  27968. "description": "地址",
  27969. "type": "string"
  27970. },
  27971. "attachment1": {
  27972. "description": "附件1",
  27973. "type": "string"
  27974. },
  27975. "attachment2": {
  27976. "description": "附件2",
  27977. "type": "string"
  27978. },
  27979. "bankaccount": {
  27980. "description": "银行帐号 (加密存储)",
  27981. "type": "string"
  27982. },
  27983. "bankaccountname": {
  27984. "description": "收款人名称",
  27985. "type": "string"
  27986. },
  27987. "bankcardfrontphotourl": {
  27988. "description": "银行卡正面照地址",
  27989. "type": "string"
  27990. },
  27991. "bankid": {
  27992. "description": "银行编码",
  27993. "type": "string"
  27994. },
  27995. "bankname": {
  27996. "description": "银行名称",
  27997. "type": "string"
  27998. },
  27999. "biznature": {
  28000. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28001. "type": "integer"
  28002. },
  28003. "bizscope": {
  28004. "description": "企业经营范围(企业)",
  28005. "type": "string"
  28006. },
  28007. "cardbackphotourl": {
  28008. "description": "证件背面图片地址",
  28009. "type": "string"
  28010. },
  28011. "cardfrontphotourl": {
  28012. "description": "证件正面图片地址",
  28013. "type": "string"
  28014. },
  28015. "cardnum": {
  28016. "description": "证件号码(加密存储)",
  28017. "type": "string"
  28018. },
  28019. "cardtypeid": {
  28020. "description": "证件类型ID",
  28021. "type": "integer"
  28022. },
  28023. "cityid": {
  28024. "description": "市",
  28025. "type": "integer"
  28026. },
  28027. "company": {
  28028. "description": "公司(个人)",
  28029. "type": "string"
  28030. },
  28031. "contactname": {
  28032. "description": "联系人",
  28033. "type": "string"
  28034. },
  28035. "countryid": {
  28036. "description": "国家",
  28037. "type": "integer"
  28038. },
  28039. "createtime": {
  28040. "description": "创建时间",
  28041. "type": "string"
  28042. },
  28043. "creatorid": {
  28044. "description": "创建人",
  28045. "type": "integer"
  28046. },
  28047. "customername": {
  28048. "description": "客户名称(企业名称)",
  28049. "type": "string"
  28050. },
  28051. "districtid": {
  28052. "description": "地区",
  28053. "type": "integer"
  28054. },
  28055. "email": {
  28056. "description": "邮件(加密存储)",
  28057. "type": "string"
  28058. },
  28059. "fax": {
  28060. "description": "传真(加密存储)",
  28061. "type": "string"
  28062. },
  28063. "halfbodyphotourl": {
  28064. "description": "半身照地址",
  28065. "type": "string"
  28066. },
  28067. "hasencrypt": {
  28068. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28069. "type": "integer"
  28070. },
  28071. "headurl": {
  28072. "description": "头像地址",
  28073. "type": "string"
  28074. },
  28075. "legalcardbackphotourl": {
  28076. "description": "法人身份证背面照地址",
  28077. "type": "string"
  28078. },
  28079. "legalcardfrontphotourl": {
  28080. "description": "法人身份证正面照地址",
  28081. "type": "string"
  28082. },
  28083. "legalpersonname": {
  28084. "description": "法人姓名(企业)",
  28085. "type": "string"
  28086. },
  28087. "mobile": {
  28088. "description": "手机号码(加密存储)",
  28089. "type": "string"
  28090. },
  28091. "mobile2": {
  28092. "description": "手机号码[明文-尚志]",
  28093. "type": "string"
  28094. },
  28095. "modifierid": {
  28096. "description": "修改人",
  28097. "type": "integer"
  28098. },
  28099. "modifiertime": {
  28100. "description": "修改时间",
  28101. "type": "string"
  28102. },
  28103. "needinvoice": {
  28104. "description": "是否需要发票 - 0:不需要 1:需要",
  28105. "type": "integer"
  28106. },
  28107. "nickname": {
  28108. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  28109. "type": "string"
  28110. },
  28111. "openmode": {
  28112. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  28113. "type": "integer"
  28114. },
  28115. "otherurl": {
  28116. "description": "其它图片地址[使用分号分隔]",
  28117. "type": "string"
  28118. },
  28119. "postalcode": {
  28120. "description": "邮政编码",
  28121. "type": "string"
  28122. },
  28123. "provinceid": {
  28124. "description": "省",
  28125. "type": "integer"
  28126. },
  28127. "qq": {
  28128. "description": "QQ(加密存储",
  28129. "type": "string"
  28130. },
  28131. "remark": {
  28132. "description": "备注",
  28133. "type": "string"
  28134. },
  28135. "sex": {
  28136. "description": "用户性别 0: 女 1: 男",
  28137. "type": "integer"
  28138. },
  28139. "signpdfurl": {
  28140. "description": "签约pdf文件",
  28141. "type": "string"
  28142. },
  28143. "telphone": {
  28144. "description": "联系电话(加密存储)",
  28145. "type": "string"
  28146. },
  28147. "userid": {
  28148. "description": "用户ID",
  28149. "type": "integer"
  28150. },
  28151. "userinfotype": {
  28152. "description": "用户信息类型 - 1:个人 2:企业",
  28153. "type": "integer"
  28154. },
  28155. "userstatus": {
  28156. "description": "用户状态 - 1:正常 2:注销",
  28157. "type": "integer"
  28158. },
  28159. "usertype": {
  28160. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  28161. "type": "integer"
  28162. },
  28163. "wechat": {
  28164. "description": "微信(加密存储)",
  28165. "type": "string"
  28166. },
  28167. "wskhinfo": {
  28168. "description": "开户申请信息(JSON)",
  28169. "type": "string"
  28170. }
  28171. }
  28172. },
  28173. "models.WRSConverTDetail": {
  28174. "type": "object",
  28175. "properties": {
  28176. "convertratio": {
  28177. "description": "套保系数",
  28178. "type": "number"
  28179. },
  28180. "deliverygoodscode": {
  28181. "description": "现货商品代码",
  28182. "type": "string"
  28183. },
  28184. "deliverygoodsid": {
  28185. "description": "现货品种ID",
  28186. "type": "integer"
  28187. },
  28188. "deliverygoodsname": {
  28189. "description": "现货商品名称",
  28190. "type": "string"
  28191. },
  28192. "enumdicname": {
  28193. "description": "单位名称",
  28194. "type": "string"
  28195. },
  28196. "goodsunitid": {
  28197. "description": "套保品种单位id",
  28198. "type": "integer"
  28199. },
  28200. "middlegoodscode": {
  28201. "description": "套保品种代码",
  28202. "type": "string"
  28203. },
  28204. "middlegoodsid": {
  28205. "description": "套保品种ID",
  28206. "type": "integer"
  28207. },
  28208. "middlegoodsname": {
  28209. "description": "套保品种名称",
  28210. "type": "string"
  28211. },
  28212. "modifytime": {
  28213. "description": "修改时间",
  28214. "type": "string"
  28215. },
  28216. "wrstandardid": {
  28217. "description": "品类ID",
  28218. "type": "integer"
  28219. }
  28220. }
  28221. },
  28222. "models.WRStandardInfo": {
  28223. "type": "object",
  28224. "required": [
  28225. "wrstandardid"
  28226. ],
  28227. "properties": {
  28228. "areauserid": {
  28229. "description": "所属机构",
  28230. "type": "integer"
  28231. },
  28232. "convertfactor": {
  28233. "description": "标仓系数",
  28234. "type": "number"
  28235. },
  28236. "createtime": {
  28237. "description": "创建时间",
  28238. "type": "string"
  28239. },
  28240. "creatorid": {
  28241. "description": "创建人",
  28242. "type": "integer"
  28243. },
  28244. "deliverygoodsid": {
  28245. "description": "品种ID",
  28246. "type": "integer"
  28247. },
  28248. "deliverygoodsname": {
  28249. "description": "交割商品名称",
  28250. "type": "string"
  28251. },
  28252. "factoryitemjson": {
  28253. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  28254. "type": "string"
  28255. },
  28256. "isvalid": {
  28257. "description": "是否有效 - 0:无效 1:有效",
  28258. "type": "integer"
  28259. },
  28260. "minivalue": {
  28261. "description": "最小变动值",
  28262. "type": "integer"
  28263. },
  28264. "minivaluedp": {
  28265. "description": "最小变动值小数位",
  28266. "type": "integer"
  28267. },
  28268. "realminivalue": {
  28269. "description": "实际最小变动值",
  28270. "type": "integer"
  28271. },
  28272. "realminivaluedp": {
  28273. "description": "实际最小变动值小数位",
  28274. "type": "integer"
  28275. },
  28276. "remark": {
  28277. "description": "备注",
  28278. "type": "string"
  28279. },
  28280. "unitid": {
  28281. "description": "单位ID",
  28282. "type": "integer"
  28283. },
  28284. "unitname": {
  28285. "description": "单位",
  28286. "type": "string"
  28287. },
  28288. "updatetime": {
  28289. "description": "更新时间",
  28290. "type": "string"
  28291. },
  28292. "updatorid": {
  28293. "description": "更新人",
  28294. "type": "integer"
  28295. },
  28296. "wrsstatus": {
  28297. "description": "状态 - 作废 - 0:未激活 1:正常",
  28298. "type": "integer"
  28299. },
  28300. "wrstandardcode": {
  28301. "description": "现货品类代码",
  28302. "type": "string"
  28303. },
  28304. "wrstandardid": {
  28305. "description": "现货品类ID(SEQ_WRSTANDARD)",
  28306. "type": "integer"
  28307. },
  28308. "wrstandardname": {
  28309. "description": "现货品类名称",
  28310. "type": "string"
  28311. }
  28312. }
  28313. },
  28314. "models.Warehouseinfo": {
  28315. "type": "object",
  28316. "required": [
  28317. "autoid",
  28318. "warehousecode"
  28319. ],
  28320. "properties": {
  28321. "address": {
  28322. "description": "详细地址",
  28323. "type": "string"
  28324. },
  28325. "areauserid": {
  28326. "description": "所属机构",
  28327. "type": "integer"
  28328. },
  28329. "autoid": {
  28330. "description": "自增ID",
  28331. "type": "integer"
  28332. },
  28333. "cityid": {
  28334. "description": "市",
  28335. "type": "integer"
  28336. },
  28337. "contactname": {
  28338. "description": "联系人",
  28339. "type": "string"
  28340. },
  28341. "contactnum": {
  28342. "description": "联系电话",
  28343. "type": "string"
  28344. },
  28345. "countryid": {
  28346. "description": "国家",
  28347. "type": "integer"
  28348. },
  28349. "createtime": {
  28350. "description": "创建时间",
  28351. "type": "string"
  28352. },
  28353. "districtid": {
  28354. "description": "区",
  28355. "type": "integer"
  28356. },
  28357. "hasvideo": {
  28358. "description": "是否有视频 - 0:无 1:有",
  28359. "type": "integer"
  28360. },
  28361. "provinceid": {
  28362. "description": "省",
  28363. "type": "integer"
  28364. },
  28365. "remark": {
  28366. "description": "审核备注",
  28367. "type": "string"
  28368. },
  28369. "videourl": {
  28370. "description": "视频地址",
  28371. "type": "string"
  28372. },
  28373. "warehousecode": {
  28374. "description": "仓库代码",
  28375. "type": "string"
  28376. },
  28377. "warehousename": {
  28378. "description": "仓库名称",
  28379. "type": "string"
  28380. },
  28381. "warehousestatus": {
  28382. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  28383. "type": "integer"
  28384. },
  28385. "warehousetype": {
  28386. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  28387. "type": "integer"
  28388. }
  28389. }
  28390. },
  28391. "order.QueryHisTradeDetailRsp": {
  28392. "type": "object",
  28393. "required": [
  28394. "accountid",
  28395. "buyorsell",
  28396. "goodsid",
  28397. "histradedate",
  28398. "marketid",
  28399. "memberuserid",
  28400. "orderid",
  28401. "tradeamount",
  28402. "tradedate",
  28403. "tradeid",
  28404. "tradeprice",
  28405. "tradeqty",
  28406. "tradetime"
  28407. ],
  28408. "properties": {
  28409. "accountid": {
  28410. "description": "账户ID[报价币种]",
  28411. "type": "integer"
  28412. },
  28413. "advanceratio": {
  28414. "description": "首付比率",
  28415. "type": "number"
  28416. },
  28417. "buildtype": {
  28418. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28419. "type": "integer"
  28420. },
  28421. "buyorsell": {
  28422. "description": "方向 - 0:买 1:卖",
  28423. "type": "integer"
  28424. },
  28425. "charge": {
  28426. "description": "手续费",
  28427. "type": "number"
  28428. },
  28429. "closecharge": {
  28430. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28431. "type": "number"
  28432. },
  28433. "closeexchagechargevalue": {
  28434. "description": "平仓交易所手续费设置值",
  28435. "type": "number"
  28436. },
  28437. "closefeealgorithm": {
  28438. "description": "平仓手续费收取方式 1:比率 2:固定",
  28439. "type": "integer"
  28440. },
  28441. "closememberchargevalue": {
  28442. "description": "平仓会员手续费设置值",
  28443. "type": "number"
  28444. },
  28445. "closepl": {
  28446. "description": "平仓盈亏",
  28447. "type": "number"
  28448. },
  28449. "closepl2": {
  28450. "description": "平仓盈亏[逐笔]",
  28451. "type": "number"
  28452. },
  28453. "closeqty": {
  28454. "description": "平仓数量(先建后平操作 需要记录)",
  28455. "type": "number"
  28456. },
  28457. "creditamount": {
  28458. "description": "授信金额",
  28459. "type": "number"
  28460. },
  28461. "decimalplace": {
  28462. "description": "商品报价小数位",
  28463. "type": "integer"
  28464. },
  28465. "enumdicname": {
  28466. "description": "单位名称",
  28467. "type": "string"
  28468. },
  28469. "gcaccountid": {
  28470. "description": "账户ID[合约币种]",
  28471. "type": "integer"
  28472. },
  28473. "goodscode": {
  28474. "description": "商品代码",
  28475. "type": "string"
  28476. },
  28477. "goodsid": {
  28478. "description": "商品ID",
  28479. "type": "integer"
  28480. },
  28481. "goodsname": {
  28482. "description": "商品名称",
  28483. "type": "string"
  28484. },
  28485. "goodunitid": {
  28486. "description": "商品单位id",
  28487. "type": "integer"
  28488. },
  28489. "histradedate": {
  28490. "description": "历史交易日",
  28491. "type": "string"
  28492. },
  28493. "intclosepl": {
  28494. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28495. "type": "integer"
  28496. },
  28497. "isconfirmexercise": {
  28498. "description": "是否确认行权- 0:否 1:是",
  28499. "type": "integer"
  28500. },
  28501. "ismain": {
  28502. "description": "是否主单 - 0:不是 1:是",
  28503. "type": "integer"
  28504. },
  28505. "ispreexercise": {
  28506. "description": "是否预申报- 0:否 1:是",
  28507. "type": "integer"
  28508. },
  28509. "isreckoned": {
  28510. "description": "是否结算 - 0:未结算 1:已结算",
  28511. "type": "integer"
  28512. },
  28513. "isvaliddata": {
  28514. "description": "是否有效 - 0:无效 1:有效",
  28515. "type": "integer"
  28516. },
  28517. "listingselecttype": {
  28518. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28519. "type": "integer"
  28520. },
  28521. "marketid": {
  28522. "description": "市场ID",
  28523. "type": "integer"
  28524. },
  28525. "marketname": {
  28526. "description": "市场名称",
  28527. "type": "string"
  28528. },
  28529. "matchaccountid": {
  28530. "description": "对手账号id",
  28531. "type": "integer"
  28532. },
  28533. "memberuserid": {
  28534. "description": "会员id 个人投资者 需要填写",
  28535. "type": "integer"
  28536. },
  28537. "opencharge": {
  28538. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28539. "type": "number"
  28540. },
  28541. "openexchagechargevalue": {
  28542. "description": "建仓交易所手续费设置值",
  28543. "type": "number"
  28544. },
  28545. "openfeealgorithm": {
  28546. "description": "建仓手续费收取方式 1:比率 2:固定",
  28547. "type": "integer"
  28548. },
  28549. "openmemberchargevalue": {
  28550. "description": "建仓会员手续费设置值",
  28551. "type": "number"
  28552. },
  28553. "openqty": {
  28554. "description": "开仓数量(先建后平操作 需要记录)",
  28555. "type": "number"
  28556. },
  28557. "optiontype": {
  28558. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28559. "type": "integer"
  28560. },
  28561. "orderid": {
  28562. "description": "委托单号",
  28563. "type": "string"
  28564. },
  28565. "payamount": {
  28566. "description": "支付金额(付款金额)",
  28567. "type": "number"
  28568. },
  28569. "performanceplanid": {
  28570. "description": "履约计划ID[期权]",
  28571. "type": "integer"
  28572. },
  28573. "performancestatus": {
  28574. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28575. "type": "integer"
  28576. },
  28577. "preexerciseprice": {
  28578. "description": "预申报价格",
  28579. "type": "number"
  28580. },
  28581. "premium": {
  28582. "description": "权利金 - [持仓单的权利金]",
  28583. "type": "number"
  28584. },
  28585. "qtydecimalplace": {
  28586. "description": "商品报价小数位",
  28587. "type": "integer"
  28588. },
  28589. "recvamount": {
  28590. "description": "到账金额 = 成交金额 - 手续费",
  28591. "type": "number"
  28592. },
  28593. "relatedouttradeid": {
  28594. "description": "关联外部成交单ID",
  28595. "type": "integer"
  28596. },
  28597. "status": {
  28598. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28599. "type": "integer"
  28600. },
  28601. "totalamount": {
  28602. "description": "订单总额 = 成交金额 + 手续费",
  28603. "type": "number"
  28604. },
  28605. "tradeamount": {
  28606. "description": "成交金额[账户币种,用于所有权]",
  28607. "type": "number"
  28608. },
  28609. "tradedate": {
  28610. "description": "交易日(yyyyMMdd)",
  28611. "type": "string"
  28612. },
  28613. "tradeid": {
  28614. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28615. "type": "string"
  28616. },
  28617. "trademode": {
  28618. "description": "交易模式",
  28619. "type": "integer"
  28620. },
  28621. "tradeprice": {
  28622. "description": "成交价格",
  28623. "type": "number"
  28624. },
  28625. "tradeproperty": {
  28626. "description": "交易属性",
  28627. "type": "integer"
  28628. },
  28629. "tradeqty": {
  28630. "description": "成交数量",
  28631. "type": "number"
  28632. },
  28633. "tradetime": {
  28634. "description": "成交时间",
  28635. "type": "string"
  28636. },
  28637. "tradetype": {
  28638. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28639. "type": "integer"
  28640. }
  28641. }
  28642. },
  28643. "order.QueryHisTradeOrderDetailRsp": {
  28644. "type": "object",
  28645. "required": [
  28646. "accountid",
  28647. "buildtype",
  28648. "buyorsell",
  28649. "goodsid",
  28650. "histradedate",
  28651. "marketid",
  28652. "memberuserid",
  28653. "operatetype",
  28654. "orderid",
  28655. "orderqty",
  28656. "ordertime",
  28657. "pricemode",
  28658. "tradedate",
  28659. "validtype"
  28660. ],
  28661. "properties": {
  28662. "accountid": {
  28663. "description": "账户ID[报价币种]",
  28664. "type": "integer"
  28665. },
  28666. "buildtype": {
  28667. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28668. "type": "integer"
  28669. },
  28670. "buyorsell": {
  28671. "description": "买卖 - 0:买 1:卖",
  28672. "type": "integer"
  28673. },
  28674. "cancelorderid": {
  28675. "description": "撤单单号(撤单时填写)",
  28676. "type": "string"
  28677. },
  28678. "cancelqty": {
  28679. "description": "撤单数量",
  28680. "type": "number"
  28681. },
  28682. "clientordertime": {
  28683. "description": "客户端委托时间",
  28684. "type": "string"
  28685. },
  28686. "clientticket": {
  28687. "description": "客户端流水号",
  28688. "type": "string"
  28689. },
  28690. "clienttype": {
  28691. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28692. "type": "integer"
  28693. },
  28694. "closeexchagechargevalue": {
  28695. "description": "平仓交易所手续费设置值",
  28696. "type": "number"
  28697. },
  28698. "closefeealgorithm": {
  28699. "description": "平仓手续费收取方式 1:比率 2:固定",
  28700. "type": "integer"
  28701. },
  28702. "closefreezecharge": {
  28703. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28704. "type": "number"
  28705. },
  28706. "closememberchargevalue": {
  28707. "description": "平仓会员手续费设置值",
  28708. "type": "number"
  28709. },
  28710. "closeqty": {
  28711. "description": "平仓数量(先建后平操作 需要记录)",
  28712. "type": "number"
  28713. },
  28714. "closetradeqty": {
  28715. "description": "平仓成交数量(先建后平操作,需要记录)",
  28716. "type": "number"
  28717. },
  28718. "closeunfreezecharge": {
  28719. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28720. "type": "number"
  28721. },
  28722. "decimalplace": {
  28723. "description": "商品报价小数位",
  28724. "type": "integer"
  28725. },
  28726. "delistingtype": {
  28727. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28728. "type": "integer"
  28729. },
  28730. "enumdicname": {
  28731. "description": "单位名称",
  28732. "type": "string"
  28733. },
  28734. "freezecharge": {
  28735. "description": "冻结手续费",
  28736. "type": "number"
  28737. },
  28738. "freezemargin": {
  28739. "description": "冻结保证金(冻结交易金额)",
  28740. "type": "number"
  28741. },
  28742. "gcaccountid": {
  28743. "description": "账户ID[合约币种]",
  28744. "type": "integer"
  28745. },
  28746. "goodscode": {
  28747. "description": "商品代码",
  28748. "type": "string"
  28749. },
  28750. "goodsid": {
  28751. "description": "商品ID",
  28752. "type": "integer"
  28753. },
  28754. "goodsname": {
  28755. "description": "商品名称",
  28756. "type": "string"
  28757. },
  28758. "goodunitid": {
  28759. "description": "商品单位id",
  28760. "type": "integer"
  28761. },
  28762. "histradedate": {
  28763. "description": "历史交易日",
  28764. "type": "string"
  28765. },
  28766. "isconfirmexercise": {
  28767. "description": "是否确认行权- 0:否 1:是",
  28768. "type": "integer"
  28769. },
  28770. "ispreexercise": {
  28771. "description": "是否预申报- 0:否 1:是",
  28772. "type": "integer"
  28773. },
  28774. "isvaliddata": {
  28775. "description": "是否有效 - 0:无效 1:有效",
  28776. "type": "integer"
  28777. },
  28778. "listingselecttype": {
  28779. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28780. "type": "integer"
  28781. },
  28782. "marginalgorithm": {
  28783. "description": "保证金收取方式 1:比率 2:固定",
  28784. "type": "integer"
  28785. },
  28786. "marginvalue": {
  28787. "description": "即市保证金设置值",
  28788. "type": "number"
  28789. },
  28790. "marketid": {
  28791. "description": "市场ID",
  28792. "type": "integer"
  28793. },
  28794. "marketmaxsub": {
  28795. "description": "市价最大偏移范围",
  28796. "type": "number"
  28797. },
  28798. "marketname": {
  28799. "description": "市场名称",
  28800. "type": "string"
  28801. },
  28802. "memberuserid": {
  28803. "description": "所属会员UserID",
  28804. "type": "integer"
  28805. },
  28806. "openexchagechargevalue": {
  28807. "description": "建仓交易所手续费设置值",
  28808. "type": "number"
  28809. },
  28810. "openfeealgorithm": {
  28811. "description": "建仓手续费收取方式 1:比率 2:固定",
  28812. "type": "integer"
  28813. },
  28814. "openfreezecharge": {
  28815. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28816. "type": "number"
  28817. },
  28818. "openmemberchargevalue": {
  28819. "description": "建仓会员手续费设置值",
  28820. "type": "number"
  28821. },
  28822. "openqty": {
  28823. "description": "开仓数量(先建后平操作,需要记录)",
  28824. "type": "number"
  28825. },
  28826. "opentradeqty": {
  28827. "description": "开仓成交数量(先建后平操作,需要记录)",
  28828. "type": "number"
  28829. },
  28830. "openunfreezecharge": {
  28831. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28832. "type": "number"
  28833. },
  28834. "operatetype": {
  28835. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28836. "type": "integer"
  28837. },
  28838. "operatorid": {
  28839. "description": "登录账号(LoginID)",
  28840. "type": "integer"
  28841. },
  28842. "optiontype": {
  28843. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28844. "type": "integer"
  28845. },
  28846. "orderid": {
  28847. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28848. "type": "string"
  28849. },
  28850. "orderprice": {
  28851. "description": "委托价格",
  28852. "type": "number"
  28853. },
  28854. "orderqty": {
  28855. "description": "委托数量",
  28856. "type": "number"
  28857. },
  28858. "ordersrc": {
  28859. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28860. "type": "integer"
  28861. },
  28862. "orderstatus": {
  28863. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28864. "type": "integer"
  28865. },
  28866. "ordertime": {
  28867. "description": "委托时间",
  28868. "type": "string"
  28869. },
  28870. "preexerciseprice": {
  28871. "description": "预申报价格",
  28872. "type": "number"
  28873. },
  28874. "premium": {
  28875. "description": "权利金",
  28876. "type": "number"
  28877. },
  28878. "preorderid": {
  28879. "description": "关联预埋单号(止盈止损单时填写)",
  28880. "type": "string"
  28881. },
  28882. "pricemode": {
  28883. "description": "取价方式 - 1:市价 2: 限价",
  28884. "type": "integer"
  28885. },
  28886. "qtydecimalplace": {
  28887. "description": "成交量小数位",
  28888. "type": "integer"
  28889. },
  28890. "quoteid": {
  28891. "description": "报价单ID",
  28892. "type": "integer"
  28893. },
  28894. "relatedid": {
  28895. "description": "关联单号(交割单)",
  28896. "type": "string"
  28897. },
  28898. "retcode": {
  28899. "description": "错误代码",
  28900. "type": "integer"
  28901. },
  28902. "sessionid": {
  28903. "description": "会话ID",
  28904. "type": "integer"
  28905. },
  28906. "tradedate": {
  28907. "description": "交易日(yyyyMMdd)",
  28908. "type": "string"
  28909. },
  28910. "trademode": {
  28911. "description": "交易模式",
  28912. "type": "integer"
  28913. },
  28914. "tradeproperty": {
  28915. "description": "交易属性",
  28916. "type": "integer"
  28917. },
  28918. "tradeqty": {
  28919. "description": "成交数量",
  28920. "type": "number"
  28921. },
  28922. "unfreezecharge": {
  28923. "description": "解冻手续费",
  28924. "type": "number"
  28925. },
  28926. "unfreezemargin": {
  28927. "description": "解冻保证金",
  28928. "type": "number"
  28929. },
  28930. "updatetime": {
  28931. "description": "更新时间",
  28932. "type": "string"
  28933. },
  28934. "uuid": {
  28935. "description": "发起端唯一id",
  28936. "type": "string"
  28937. },
  28938. "validtime": {
  28939. "description": "有效期限",
  28940. "type": "string"
  28941. },
  28942. "validtype": {
  28943. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28944. "type": "integer"
  28945. },
  28946. "volumetype": {
  28947. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28948. "type": "integer"
  28949. }
  28950. }
  28951. },
  28952. "order.QueryTradeDetailRsp": {
  28953. "type": "object",
  28954. "required": [
  28955. "accountid",
  28956. "buyorsell",
  28957. "goodsid",
  28958. "marketid",
  28959. "memberuserid",
  28960. "orderid",
  28961. "tradeamount",
  28962. "tradedate",
  28963. "tradeid",
  28964. "tradeprice",
  28965. "tradeqty",
  28966. "tradetime"
  28967. ],
  28968. "properties": {
  28969. "accountid": {
  28970. "description": "账户ID[报价币种]",
  28971. "type": "integer"
  28972. },
  28973. "advanceratio": {
  28974. "description": "首付比率",
  28975. "type": "number"
  28976. },
  28977. "buildtype": {
  28978. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28979. "type": "integer"
  28980. },
  28981. "buyorsell": {
  28982. "description": "方向 - 0:买 1:卖",
  28983. "type": "integer"
  28984. },
  28985. "charge": {
  28986. "description": "手续费",
  28987. "type": "number"
  28988. },
  28989. "closecharge": {
  28990. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28991. "type": "number"
  28992. },
  28993. "closeexchagechargevalue": {
  28994. "description": "平仓交易所手续费设置值",
  28995. "type": "number"
  28996. },
  28997. "closefeealgorithm": {
  28998. "description": "平仓手续费收取方式 1:比率 2:固定",
  28999. "type": "integer"
  29000. },
  29001. "closememberchargevalue": {
  29002. "description": "平仓会员手续费设置值",
  29003. "type": "number"
  29004. },
  29005. "closepl": {
  29006. "description": "平仓盈亏",
  29007. "type": "number"
  29008. },
  29009. "closepl2": {
  29010. "description": "平仓盈亏[逐笔]",
  29011. "type": "number"
  29012. },
  29013. "closeqty": {
  29014. "description": "平仓数量(先建后平操作 需要记录)",
  29015. "type": "number"
  29016. },
  29017. "creditamount": {
  29018. "description": "授信金额",
  29019. "type": "number"
  29020. },
  29021. "decimalplace": {
  29022. "description": "商品报价小数位",
  29023. "type": "integer"
  29024. },
  29025. "enumdicname": {
  29026. "description": "单位名称",
  29027. "type": "string"
  29028. },
  29029. "gcaccountid": {
  29030. "description": "账户ID[合约币种]",
  29031. "type": "integer"
  29032. },
  29033. "goodscode": {
  29034. "description": "商品代码",
  29035. "type": "string"
  29036. },
  29037. "goodsid": {
  29038. "description": "商品ID",
  29039. "type": "integer"
  29040. },
  29041. "goodsname": {
  29042. "description": "商品名称",
  29043. "type": "string"
  29044. },
  29045. "goodunitid": {
  29046. "description": "商品单位id",
  29047. "type": "integer"
  29048. },
  29049. "intclosepl": {
  29050. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  29051. "type": "integer"
  29052. },
  29053. "isconfirmexercise": {
  29054. "description": "是否确认行权- 0:否 1:是",
  29055. "type": "integer"
  29056. },
  29057. "ismain": {
  29058. "description": "是否主单 - 0:不是 1:是",
  29059. "type": "integer"
  29060. },
  29061. "ispreexercise": {
  29062. "description": "是否预申报- 0:否 1:是",
  29063. "type": "integer"
  29064. },
  29065. "isreckoned": {
  29066. "description": "是否结算 - 0:未结算 1:已结算",
  29067. "type": "integer"
  29068. },
  29069. "listingselecttype": {
  29070. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29071. "type": "integer"
  29072. },
  29073. "marketid": {
  29074. "description": "市场ID",
  29075. "type": "integer"
  29076. },
  29077. "marketname": {
  29078. "description": "市场名称",
  29079. "type": "string"
  29080. },
  29081. "matchaccountid": {
  29082. "description": "对手账号id",
  29083. "type": "integer"
  29084. },
  29085. "memberuserid": {
  29086. "description": "会员id 个人投资者 需要填写",
  29087. "type": "integer"
  29088. },
  29089. "opencharge": {
  29090. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29091. "type": "number"
  29092. },
  29093. "openexchagechargevalue": {
  29094. "description": "建仓交易所手续费设置值",
  29095. "type": "number"
  29096. },
  29097. "openfeealgorithm": {
  29098. "description": "建仓手续费收取方式 1:比率 2:固定",
  29099. "type": "integer"
  29100. },
  29101. "openmemberchargevalue": {
  29102. "description": "建仓会员手续费设置值",
  29103. "type": "number"
  29104. },
  29105. "openqty": {
  29106. "description": "开仓数量(先建后平操作 需要记录)",
  29107. "type": "number"
  29108. },
  29109. "optiontype": {
  29110. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  29111. "type": "integer"
  29112. },
  29113. "orderid": {
  29114. "description": "委托单号",
  29115. "type": "string"
  29116. },
  29117. "payamount": {
  29118. "description": "支付金额(付款金额)",
  29119. "type": "number"
  29120. },
  29121. "performanceplanid": {
  29122. "description": "履约计划ID[期权]",
  29123. "type": "integer"
  29124. },
  29125. "performancestatus": {
  29126. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  29127. "type": "integer"
  29128. },
  29129. "preexerciseprice": {
  29130. "description": "预申报价格",
  29131. "type": "number"
  29132. },
  29133. "premium": {
  29134. "description": "权利金 - [持仓单的权利金]",
  29135. "type": "number"
  29136. },
  29137. "qtydecimalplace": {
  29138. "description": "商品报价小数位",
  29139. "type": "integer"
  29140. },
  29141. "recvamount": {
  29142. "description": "到账金额 = 成交金额 - 手续费",
  29143. "type": "number"
  29144. },
  29145. "relatedouttradeid": {
  29146. "description": "关联外部成交单ID",
  29147. "type": "integer"
  29148. },
  29149. "status": {
  29150. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  29151. "type": "integer"
  29152. },
  29153. "totalamount": {
  29154. "description": "订单总额 = 成交金额 + 手续费",
  29155. "type": "number"
  29156. },
  29157. "tradeamount": {
  29158. "description": "成交金额[账户币种,用于所有权]",
  29159. "type": "number"
  29160. },
  29161. "tradedate": {
  29162. "description": "交易日(yyyyMMdd)",
  29163. "type": "string"
  29164. },
  29165. "tradeid": {
  29166. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29167. "type": "string"
  29168. },
  29169. "trademode": {
  29170. "description": "交易模式",
  29171. "type": "integer"
  29172. },
  29173. "tradeprice": {
  29174. "description": "成交价格",
  29175. "type": "number"
  29176. },
  29177. "tradeproperty": {
  29178. "description": "交易属性",
  29179. "type": "integer"
  29180. },
  29181. "tradeqty": {
  29182. "description": "成交数量",
  29183. "type": "number"
  29184. },
  29185. "tradetime": {
  29186. "description": "成交时间",
  29187. "type": "string"
  29188. },
  29189. "tradetype": {
  29190. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  29191. "type": "integer"
  29192. }
  29193. }
  29194. },
  29195. "order.QueryTradeOrderDetailRsp": {
  29196. "type": "object",
  29197. "required": [
  29198. "accountid",
  29199. "buildtype",
  29200. "buyorsell",
  29201. "goodsid",
  29202. "marketid",
  29203. "operatetype",
  29204. "orderqty",
  29205. "ordertime",
  29206. "pricemode",
  29207. "tradedate",
  29208. "validtype"
  29209. ],
  29210. "properties": {
  29211. "accountid": {
  29212. "description": "账户ID[报价币种]",
  29213. "type": "integer"
  29214. },
  29215. "buildtype": {
  29216. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  29217. "type": "integer"
  29218. },
  29219. "buyorsell": {
  29220. "description": "买卖 - 0:买 1:卖",
  29221. "type": "integer"
  29222. },
  29223. "cancelorderid": {
  29224. "description": "撤单单号(撤单时填写)",
  29225. "type": "string"
  29226. },
  29227. "cancelqty": {
  29228. "description": "撤单数量",
  29229. "type": "number"
  29230. },
  29231. "clienttype": {
  29232. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29233. "type": "integer"
  29234. },
  29235. "closefreezecharge": {
  29236. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  29237. "type": "number"
  29238. },
  29239. "closeqty": {
  29240. "description": "平仓数量(先建后平操作 需要记录)",
  29241. "type": "number"
  29242. },
  29243. "closetradeqty": {
  29244. "description": "平仓成交数量(先建后平操作,需要记录)",
  29245. "type": "number"
  29246. },
  29247. "closeunfreezecharge": {
  29248. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  29249. "type": "number"
  29250. },
  29251. "decimalplace": {
  29252. "description": "商品报价小数位",
  29253. "type": "integer"
  29254. },
  29255. "delistingtype": {
  29256. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  29257. "type": "integer"
  29258. },
  29259. "enableqty": {
  29260. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  29261. "type": "number"
  29262. },
  29263. "enumdicname": {
  29264. "description": "单位名称",
  29265. "type": "string"
  29266. },
  29267. "freezecharge": {
  29268. "description": "冻结手续费",
  29269. "type": "number"
  29270. },
  29271. "freezemargin": {
  29272. "description": "冻结保证金(冻结交易金额)",
  29273. "type": "number"
  29274. },
  29275. "goodscode": {
  29276. "description": "商品代码",
  29277. "type": "string"
  29278. },
  29279. "goodsid": {
  29280. "description": "商品ID",
  29281. "type": "integer"
  29282. },
  29283. "goodsname": {
  29284. "description": "商品名称",
  29285. "type": "string"
  29286. },
  29287. "goodunitid": {
  29288. "description": "商品单位id",
  29289. "type": "integer"
  29290. },
  29291. "listingselecttype": {
  29292. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29293. "type": "integer"
  29294. },
  29295. "marketid": {
  29296. "description": "市场ID",
  29297. "type": "integer"
  29298. },
  29299. "marketname": {
  29300. "description": "市场名称",
  29301. "type": "string"
  29302. },
  29303. "openfreezecharge": {
  29304. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  29305. "type": "number"
  29306. },
  29307. "openqty": {
  29308. "description": "开仓数量(先建后平操作,需要记录)",
  29309. "type": "number"
  29310. },
  29311. "opentradeqty": {
  29312. "description": "开仓成交数量(先建后平操作,需要记录)",
  29313. "type": "number"
  29314. },
  29315. "openunfreezecharge": {
  29316. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  29317. "type": "number"
  29318. },
  29319. "operatetype": {
  29320. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  29321. "type": "integer"
  29322. },
  29323. "operatorid": {
  29324. "description": "登录账号(LoginID)",
  29325. "type": "integer"
  29326. },
  29327. "orderid": {
  29328. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29329. "type": "string"
  29330. },
  29331. "orderprice": {
  29332. "description": "委托价格",
  29333. "type": "number"
  29334. },
  29335. "orderqty": {
  29336. "description": "委托数量",
  29337. "type": "number"
  29338. },
  29339. "ordersrc": {
  29340. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  29341. "type": "integer"
  29342. },
  29343. "orderstatus": {
  29344. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29345. "type": "integer"
  29346. },
  29347. "ordertime": {
  29348. "description": "委托时间",
  29349. "type": "string"
  29350. },
  29351. "preorderid": {
  29352. "description": "关联预埋单号(止盈止损单时填写)",
  29353. "type": "string"
  29354. },
  29355. "pricemode": {
  29356. "description": "取价方式 - 1:市价 2: 限价",
  29357. "type": "integer"
  29358. },
  29359. "qtydecimalplace": {
  29360. "description": "商品报价小数位",
  29361. "type": "integer"
  29362. },
  29363. "relatedid": {
  29364. "description": "关联单号(交割单)",
  29365. "type": "string"
  29366. },
  29367. "tradedate": {
  29368. "description": "交易日(yyyyMMdd)",
  29369. "type": "string"
  29370. },
  29371. "trademode": {
  29372. "description": "交易模式",
  29373. "type": "integer"
  29374. },
  29375. "tradeqty": {
  29376. "description": "成交数量",
  29377. "type": "number"
  29378. },
  29379. "unfreezecharge": {
  29380. "description": "解冻手续费",
  29381. "type": "number"
  29382. },
  29383. "unfreezemargin": {
  29384. "description": "解冻保证金",
  29385. "type": "number"
  29386. },
  29387. "validtime": {
  29388. "description": "有效期限",
  29389. "type": "string"
  29390. },
  29391. "validtype": {
  29392. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  29393. "type": "integer"
  29394. },
  29395. "volumetype": {
  29396. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  29397. "type": "integer"
  29398. }
  29399. }
  29400. },
  29401. "order.QueryTradePositionRsp": {
  29402. "type": "object",
  29403. "required": [
  29404. "goodsid"
  29405. ],
  29406. "properties": {
  29407. "accountid": {
  29408. "description": "资金账户",
  29409. "type": "integer"
  29410. },
  29411. "agreeunit": {
  29412. "description": "合约单位",
  29413. "type": "number"
  29414. },
  29415. "averageprice": {
  29416. "description": "持仓均价",
  29417. "type": "number"
  29418. },
  29419. "buyorsell": {
  29420. "description": "方向 - 0:买 1:卖",
  29421. "type": "integer"
  29422. },
  29423. "closetotalqty": {
  29424. "description": "平仓总数量",
  29425. "type": "number"
  29426. },
  29427. "curholderamount": {
  29428. "description": "当前持仓总金额[商品币种]",
  29429. "type": "number"
  29430. },
  29431. "curpositionqty": {
  29432. "description": "当前持仓总数量",
  29433. "type": "number"
  29434. },
  29435. "currencyid": {
  29436. "description": "报价货币ID",
  29437. "type": "integer"
  29438. },
  29439. "curtdposition": {
  29440. "description": "期末今日头寸",
  29441. "type": "number"
  29442. },
  29443. "decimalplace": {
  29444. "description": "报价小数位",
  29445. "type": "integer"
  29446. },
  29447. "enableqty": {
  29448. "description": "可用量",
  29449. "type": "number"
  29450. },
  29451. "fretdposition": {
  29452. "description": "冻结今日头寸",
  29453. "type": "number"
  29454. },
  29455. "frozenqty": {
  29456. "description": "持仓冻结数量",
  29457. "type": "number"
  29458. },
  29459. "goodscode": {
  29460. "description": "商品代码",
  29461. "type": "string"
  29462. },
  29463. "goodsid": {
  29464. "description": "商品Id",
  29465. "type": "integer"
  29466. },
  29467. "goodsname": {
  29468. "description": "商品名称",
  29469. "type": "string"
  29470. },
  29471. "goodunit": {
  29472. "description": "报价单位",
  29473. "type": "string"
  29474. },
  29475. "goodunitid": {
  29476. "description": "报价单位ID",
  29477. "type": "integer"
  29478. },
  29479. "holderamount": {
  29480. "description": "期初持仓总金额[商品币种]",
  29481. "type": "number"
  29482. },
  29483. "lastprice": {
  29484. "description": "最新价",
  29485. "type": "number"
  29486. },
  29487. "marketamount": {
  29488. "description": "市值",
  29489. "type": "number"
  29490. },
  29491. "marketid": {
  29492. "description": "所属市场ID",
  29493. "type": "integer"
  29494. },
  29495. "openreqqty": {
  29496. "description": "开仓申请数量(用于比较最大持仓数量)",
  29497. "type": "number"
  29498. },
  29499. "opentotalqty": {
  29500. "description": "开仓总数量",
  29501. "type": "number"
  29502. },
  29503. "otherfrozenqty": {
  29504. "description": "持仓其他冻结数量(交割冻结)",
  29505. "type": "number"
  29506. },
  29507. "positionpl": {
  29508. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  29509. "type": "number"
  29510. },
  29511. "positionplrate": {
  29512. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  29513. "type": "number"
  29514. },
  29515. "positionqty": {
  29516. "description": "期初持仓数量",
  29517. "type": "number"
  29518. },
  29519. "qtydecimalplace": {
  29520. "description": "成交量小数位",
  29521. "type": "integer"
  29522. },
  29523. "tnqty": {
  29524. "description": "T+N冻结总量",
  29525. "type": "number"
  29526. },
  29527. "tnusedqty": {
  29528. "description": "T+N使用量(可以使用T+N的冻结数量)",
  29529. "type": "number"
  29530. },
  29531. "trademode": {
  29532. "description": "交易模式",
  29533. "type": "integer"
  29534. },
  29535. "usedmargin": {
  29536. "description": "占用保证金[商品币种]",
  29537. "type": "number"
  29538. }
  29539. }
  29540. },
  29541. "quote.HistoryData": {
  29542. "type": "object",
  29543. "properties": {
  29544. "c": {
  29545. "description": "收盘价",
  29546. "type": "number"
  29547. },
  29548. "f": {
  29549. "description": "是否补充数据",
  29550. "type": "boolean"
  29551. },
  29552. "h": {
  29553. "description": "最高价",
  29554. "type": "number"
  29555. },
  29556. "hv": {
  29557. "description": "持仓量",
  29558. "type": "integer"
  29559. },
  29560. "l": {
  29561. "description": "最低价",
  29562. "type": "number"
  29563. },
  29564. "o": {
  29565. "description": "开盘价",
  29566. "type": "number"
  29567. },
  29568. "s": {
  29569. "description": "结算价,日线周期(包括)以上才有",
  29570. "type": "number"
  29571. },
  29572. "ts": {
  29573. "description": "时间",
  29574. "type": "string"
  29575. },
  29576. "tt": {
  29577. "description": "总金额",
  29578. "type": "number"
  29579. },
  29580. "tv": {
  29581. "description": "总量",
  29582. "type": "integer"
  29583. }
  29584. }
  29585. },
  29586. "quote.HistoryTikData": {
  29587. "type": "object",
  29588. "properties": {
  29589. "AV": {
  29590. "description": "卖量",
  29591. "type": "integer"
  29592. },
  29593. "Ask": {
  29594. "description": "卖价",
  29595. "type": "number"
  29596. },
  29597. "BV": {
  29598. "description": "买量",
  29599. "type": "integer"
  29600. },
  29601. "Bid": {
  29602. "description": "买价",
  29603. "type": "number"
  29604. },
  29605. "HI": {
  29606. "description": "单笔持仓",
  29607. "type": "integer"
  29608. },
  29609. "HV": {
  29610. "description": "持仓量",
  29611. "type": "integer"
  29612. },
  29613. "PE": {
  29614. "description": "现价",
  29615. "type": "number"
  29616. },
  29617. "TDR": {
  29618. "description": "交易方向,0:买 1:卖",
  29619. "type": "integer"
  29620. },
  29621. "TK": {
  29622. "description": "交易类型",
  29623. "type": "integer"
  29624. },
  29625. "TS": {
  29626. "description": "行情时间文本",
  29627. "type": "string"
  29628. },
  29629. "TT": {
  29630. "description": "现金额",
  29631. "type": "number"
  29632. },
  29633. "Vol": {
  29634. "description": "现量",
  29635. "type": "integer"
  29636. }
  29637. }
  29638. },
  29639. "quote.QueryQuoteDayRsp": {
  29640. "type": "object",
  29641. "properties": {
  29642. "ask": {
  29643. "description": "卖1",
  29644. "type": "number"
  29645. },
  29646. "ask10": {
  29647. "description": "卖10",
  29648. "type": "number"
  29649. },
  29650. "ask2": {
  29651. "description": "卖2",
  29652. "type": "number"
  29653. },
  29654. "ask3": {
  29655. "description": "卖3",
  29656. "type": "number"
  29657. },
  29658. "ask4": {
  29659. "description": "卖4",
  29660. "type": "number"
  29661. },
  29662. "ask5": {
  29663. "description": "卖5",
  29664. "type": "number"
  29665. },
  29666. "ask6": {
  29667. "description": "卖6",
  29668. "type": "number"
  29669. },
  29670. "ask7": {
  29671. "description": "卖7",
  29672. "type": "number"
  29673. },
  29674. "ask8": {
  29675. "description": "卖8",
  29676. "type": "number"
  29677. },
  29678. "ask9": {
  29679. "description": "卖9",
  29680. "type": "number"
  29681. },
  29682. "askorderid": {
  29683. "description": "卖单号1",
  29684. "type": "integer"
  29685. },
  29686. "askorderid2": {
  29687. "description": "卖单号2",
  29688. "type": "integer"
  29689. },
  29690. "askorderid3": {
  29691. "description": "卖单号3",
  29692. "type": "integer"
  29693. },
  29694. "askorderid4": {
  29695. "description": "卖单号4",
  29696. "type": "integer"
  29697. },
  29698. "askorderid5": {
  29699. "description": "卖单号5",
  29700. "type": "integer"
  29701. },
  29702. "askordervolume": {
  29703. "description": "卖单量1",
  29704. "type": "integer"
  29705. },
  29706. "askordervolume10": {
  29707. "description": "卖单量10",
  29708. "type": "integer"
  29709. },
  29710. "askordervolume2": {
  29711. "description": "卖单量2",
  29712. "type": "integer"
  29713. },
  29714. "askordervolume3": {
  29715. "description": "卖单量3",
  29716. "type": "integer"
  29717. },
  29718. "askordervolume4": {
  29719. "description": "卖单量4",
  29720. "type": "integer"
  29721. },
  29722. "askordervolume5": {
  29723. "description": "卖单量5",
  29724. "type": "integer"
  29725. },
  29726. "askordervolume6": {
  29727. "description": "卖单量6",
  29728. "type": "integer"
  29729. },
  29730. "askordervolume7": {
  29731. "description": "卖单量7",
  29732. "type": "integer"
  29733. },
  29734. "askordervolume8": {
  29735. "description": "卖单量8",
  29736. "type": "integer"
  29737. },
  29738. "askordervolume9": {
  29739. "description": "卖单量9",
  29740. "type": "integer"
  29741. },
  29742. "askqueueinfo": {
  29743. "description": "大利市卖港股用",
  29744. "type": "string"
  29745. },
  29746. "askvolume": {
  29747. "description": "卖量1",
  29748. "type": "integer"
  29749. },
  29750. "askvolume10": {
  29751. "description": "卖量10",
  29752. "type": "integer"
  29753. },
  29754. "askvolume2": {
  29755. "description": "卖量2",
  29756. "type": "integer"
  29757. },
  29758. "askvolume3": {
  29759. "description": "卖量3",
  29760. "type": "integer"
  29761. },
  29762. "askvolume4": {
  29763. "description": "卖量4",
  29764. "type": "integer"
  29765. },
  29766. "askvolume5": {
  29767. "description": "卖量5",
  29768. "type": "integer"
  29769. },
  29770. "askvolume6": {
  29771. "description": "卖量6",
  29772. "type": "integer"
  29773. },
  29774. "askvolume7": {
  29775. "description": "卖量7",
  29776. "type": "integer"
  29777. },
  29778. "askvolume8": {
  29779. "description": "卖量8",
  29780. "type": "integer"
  29781. },
  29782. "askvolume9": {
  29783. "description": "卖量9",
  29784. "type": "integer"
  29785. },
  29786. "averageprice": {
  29787. "description": "均价",
  29788. "type": "number"
  29789. },
  29790. "bid": {
  29791. "description": "买1",
  29792. "type": "number"
  29793. },
  29794. "bid10": {
  29795. "description": "买10",
  29796. "type": "number"
  29797. },
  29798. "bid2": {
  29799. "description": "买2",
  29800. "type": "number"
  29801. },
  29802. "bid3": {
  29803. "description": "买3",
  29804. "type": "number"
  29805. },
  29806. "bid4": {
  29807. "description": "买4",
  29808. "type": "number"
  29809. },
  29810. "bid5": {
  29811. "description": "买5",
  29812. "type": "number"
  29813. },
  29814. "bid6": {
  29815. "description": "买6",
  29816. "type": "number"
  29817. },
  29818. "bid7": {
  29819. "description": "买7",
  29820. "type": "number"
  29821. },
  29822. "bid8": {
  29823. "description": "买8",
  29824. "type": "number"
  29825. },
  29826. "bid9": {
  29827. "description": "买9",
  29828. "type": "number"
  29829. },
  29830. "bidorderid": {
  29831. "description": "买单号1",
  29832. "type": "integer"
  29833. },
  29834. "bidorderid2": {
  29835. "description": "买单号2",
  29836. "type": "integer"
  29837. },
  29838. "bidorderid3": {
  29839. "description": "买单号3",
  29840. "type": "integer"
  29841. },
  29842. "bidorderid4": {
  29843. "description": "买单号4",
  29844. "type": "integer"
  29845. },
  29846. "bidorderid5": {
  29847. "description": "买单号5",
  29848. "type": "integer"
  29849. },
  29850. "bidordervolume": {
  29851. "description": "买单量1",
  29852. "type": "integer"
  29853. },
  29854. "bidordervolume10": {
  29855. "description": "买单量10",
  29856. "type": "integer"
  29857. },
  29858. "bidordervolume2": {
  29859. "description": "买单量2",
  29860. "type": "integer"
  29861. },
  29862. "bidordervolume3": {
  29863. "description": "买单量3",
  29864. "type": "integer"
  29865. },
  29866. "bidordervolume4": {
  29867. "description": "买单量4",
  29868. "type": "integer"
  29869. },
  29870. "bidordervolume5": {
  29871. "description": "买单量5",
  29872. "type": "integer"
  29873. },
  29874. "bidordervolume6": {
  29875. "description": "买单量6",
  29876. "type": "integer"
  29877. },
  29878. "bidordervolume7": {
  29879. "description": "买单量7",
  29880. "type": "integer"
  29881. },
  29882. "bidordervolume8": {
  29883. "description": "买单量8",
  29884. "type": "integer"
  29885. },
  29886. "bidordervolume9": {
  29887. "description": "买单量9",
  29888. "type": "integer"
  29889. },
  29890. "bidqueueinfo": {
  29891. "description": "大利市买港股用",
  29892. "type": "string"
  29893. },
  29894. "bidvolume": {
  29895. "description": "买量1",
  29896. "type": "integer"
  29897. },
  29898. "bidvolume10": {
  29899. "description": "买量10",
  29900. "type": "integer"
  29901. },
  29902. "bidvolume2": {
  29903. "description": "买量2",
  29904. "type": "integer"
  29905. },
  29906. "bidvolume3": {
  29907. "description": "买量3",
  29908. "type": "integer"
  29909. },
  29910. "bidvolume4": {
  29911. "description": "买量4",
  29912. "type": "integer"
  29913. },
  29914. "bidvolume5": {
  29915. "description": "买量5",
  29916. "type": "integer"
  29917. },
  29918. "bidvolume6": {
  29919. "description": "买量6",
  29920. "type": "integer"
  29921. },
  29922. "bidvolume7": {
  29923. "description": "买量7",
  29924. "type": "integer"
  29925. },
  29926. "bidvolume8": {
  29927. "description": "买量8",
  29928. "type": "integer"
  29929. },
  29930. "bidvolume9": {
  29931. "description": "买量9",
  29932. "type": "integer"
  29933. },
  29934. "calloptionpremiums": {
  29935. "description": "认购期权1",
  29936. "type": "integer"
  29937. },
  29938. "calloptionpremiums2": {
  29939. "description": "认购期权2",
  29940. "type": "integer"
  29941. },
  29942. "calloptionpremiums3": {
  29943. "description": "认购期权3",
  29944. "type": "integer"
  29945. },
  29946. "calloptionpremiums4": {
  29947. "description": "认购期权4",
  29948. "type": "integer"
  29949. },
  29950. "calloptionpremiums5": {
  29951. "description": "认购期权5",
  29952. "type": "integer"
  29953. },
  29954. "cleartime": {
  29955. "description": "清盘时间",
  29956. "type": "integer"
  29957. },
  29958. "exchangecode": {
  29959. "description": "交易所代码",
  29960. "type": "integer"
  29961. },
  29962. "exchangedate": {
  29963. "description": "交易日",
  29964. "type": "integer"
  29965. },
  29966. "goodscode": {
  29967. "description": "商品代码",
  29968. "type": "string"
  29969. },
  29970. "grepmarketprice": {
  29971. "description": "暗盘价 港股专用",
  29972. "type": "number"
  29973. },
  29974. "highest": {
  29975. "description": "最高价",
  29976. "type": "number"
  29977. },
  29978. "holdincrement": {
  29979. "description": "单笔持仓",
  29980. "type": "integer"
  29981. },
  29982. "holdvolume": {
  29983. "description": "持仓",
  29984. "type": "integer"
  29985. },
  29986. "iep": {
  29987. "description": "平衡价 港股专用",
  29988. "type": "number"
  29989. },
  29990. "iev": {
  29991. "description": "平衡量 港股专用",
  29992. "type": "number"
  29993. },
  29994. "inventory": {
  29995. "description": "库存",
  29996. "type": "integer"
  29997. },
  29998. "iscleared": {
  29999. "description": "是否清盘标志",
  30000. "type": "integer"
  30001. },
  30002. "issettled": {
  30003. "description": "是否结算标志",
  30004. "type": "integer"
  30005. },
  30006. "last": {
  30007. "description": "最新价",
  30008. "type": "number"
  30009. },
  30010. "lastlot": {
  30011. "description": "最新成交手数",
  30012. "type": "integer"
  30013. },
  30014. "lasttime": {
  30015. "description": "行情时间(只有现价变化行情时间才变化)",
  30016. "type": "string"
  30017. },
  30018. "lastturnover": {
  30019. "description": "最新成交金额",
  30020. "type": "number"
  30021. },
  30022. "lastvolume": {
  30023. "description": "最新成交量",
  30024. "type": "integer"
  30025. },
  30026. "limitdown": {
  30027. "description": "跌停价",
  30028. "type": "number"
  30029. },
  30030. "limitup": {
  30031. "description": "涨停价",
  30032. "type": "number"
  30033. },
  30034. "lowest": {
  30035. "description": "最低价",
  30036. "type": "number"
  30037. },
  30038. "nontotalholdervolume": {
  30039. "description": "非交易持仓量",
  30040. "type": "integer"
  30041. },
  30042. "nontotallot": {
  30043. "description": "非交易总手数",
  30044. "type": "integer"
  30045. },
  30046. "nontotalturnover": {
  30047. "description": "非交易总金额",
  30048. "type": "integer"
  30049. },
  30050. "nontotalvolume": {
  30051. "description": "非交易总量",
  30052. "type": "integer"
  30053. },
  30054. "opened": {
  30055. "description": "开盘价",
  30056. "type": "number"
  30057. },
  30058. "opentime": {
  30059. "description": "开盘时间",
  30060. "type": "string"
  30061. },
  30062. "orderid": {
  30063. "description": "序号",
  30064. "type": "integer"
  30065. },
  30066. "preclose": {
  30067. "description": "昨收",
  30068. "type": "number"
  30069. },
  30070. "preholdvolume": {
  30071. "description": "昨持仓",
  30072. "type": "integer"
  30073. },
  30074. "presettle": {
  30075. "description": "昨结价",
  30076. "type": "number"
  30077. },
  30078. "publictradetype": {
  30079. "description": "公共交易标志类型 港股专用",
  30080. "type": "string"
  30081. },
  30082. "putoptionpremiums": {
  30083. "description": "认沽期权1",
  30084. "type": "integer"
  30085. },
  30086. "putoptionpremiums2": {
  30087. "description": "认沽期权2",
  30088. "type": "integer"
  30089. },
  30090. "putoptionpremiums3": {
  30091. "description": "认沽期权3",
  30092. "type": "integer"
  30093. },
  30094. "putoptionpremiums4": {
  30095. "description": "认沽期权4",
  30096. "type": "integer"
  30097. },
  30098. "putoptionpremiums5": {
  30099. "description": "认沽期权5",
  30100. "type": "integer"
  30101. },
  30102. "settle": {
  30103. "description": "结算价",
  30104. "type": "number"
  30105. },
  30106. "strikeprice": {
  30107. "description": "发行价",
  30108. "type": "number"
  30109. },
  30110. "totalaskvolume": {
  30111. "description": "内盘",
  30112. "type": "integer"
  30113. },
  30114. "totalbidvolume": {
  30115. "description": "外盘",
  30116. "type": "integer"
  30117. },
  30118. "totallot": {
  30119. "description": "总手数",
  30120. "type": "integer"
  30121. },
  30122. "totalturnover": {
  30123. "description": "总金额",
  30124. "type": "number"
  30125. },
  30126. "totalvolume": {
  30127. "description": "总量",
  30128. "type": "integer"
  30129. },
  30130. "utclasttime": {
  30131. "description": "utc的行情时间",
  30132. "type": "string"
  30133. }
  30134. }
  30135. },
  30136. "quote.QueryTSDataRsp": {
  30137. "type": "object",
  30138. "properties": {
  30139. "Count": {
  30140. "description": "交易日应有数据个数",
  30141. "type": "integer"
  30142. },
  30143. "decimalPlace": {
  30144. "description": "小数位",
  30145. "type": "integer"
  30146. },
  30147. "endTime": {
  30148. "description": "结束时间",
  30149. "type": "string"
  30150. },
  30151. "goodsCode": {
  30152. "description": "商品代码",
  30153. "type": "string"
  30154. },
  30155. "historyDatas": {
  30156. "description": "历史数据",
  30157. "type": "array",
  30158. "items": {
  30159. "$ref": "#/definitions/quote.HistoryData"
  30160. }
  30161. },
  30162. "outGoodsCode": {
  30163. "description": "外部商品代码",
  30164. "type": "string"
  30165. },
  30166. "preSettle": {
  30167. "description": "昨结价",
  30168. "type": "number"
  30169. },
  30170. "runSteps": {
  30171. "description": "交易日开休市计划",
  30172. "type": "array",
  30173. "items": {
  30174. "$ref": "#/definitions/quote.TSDataRunStep"
  30175. }
  30176. },
  30177. "startTime": {
  30178. "description": "开始时间",
  30179. "type": "string"
  30180. },
  30181. "tradeDate": {
  30182. "description": "交易日",
  30183. "type": "string"
  30184. }
  30185. }
  30186. },
  30187. "quote.TSDataRunStep": {
  30188. "type": "object",
  30189. "properties": {
  30190. "end": {
  30191. "description": "真实结束时间",
  30192. "type": "string"
  30193. },
  30194. "endflag": {
  30195. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  30196. "type": "integer"
  30197. },
  30198. "endtime": {
  30199. "description": "结束时间(HH:mm)",
  30200. "type": "string"
  30201. },
  30202. "endweekday": {
  30203. "description": "结束周几",
  30204. "type": "integer"
  30205. },
  30206. "groupid": {
  30207. "description": "分组ID",
  30208. "type": "integer"
  30209. },
  30210. "runstep": {
  30211. "description": "运行阶段 - 2:连续交易",
  30212. "type": "integer"
  30213. },
  30214. "sectionid": {
  30215. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  30216. "type": "integer"
  30217. },
  30218. "start": {
  30219. "description": "真实开始时间",
  30220. "type": "string"
  30221. },
  30222. "startflag": {
  30223. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  30224. "type": "integer"
  30225. },
  30226. "starttime": {
  30227. "description": "起始时间(HH:mm)",
  30228. "type": "string"
  30229. },
  30230. "startweekday": {
  30231. "description": "起始周几",
  30232. "type": "integer"
  30233. },
  30234. "tradeweekday": {
  30235. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  30236. "type": "integer"
  30237. }
  30238. }
  30239. },
  30240. "szdz.QueryConvertLogRsp": {
  30241. "type": "object",
  30242. "required": [
  30243. "logid"
  30244. ],
  30245. "properties": {
  30246. "accountid": {
  30247. "description": "资金账户ID",
  30248. "type": "integer"
  30249. },
  30250. "clientticket": {
  30251. "description": "客户端流水号",
  30252. "type": "string"
  30253. },
  30254. "converttype": {
  30255. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  30256. "type": "integer"
  30257. },
  30258. "createtime": {
  30259. "description": "记账时间",
  30260. "type": "string"
  30261. },
  30262. "daymaxvalue": {
  30263. "description": "配置当日最大转入限制",
  30264. "type": "number"
  30265. },
  30266. "daymaxvalue2": {
  30267. "description": "配置当日最大转入限制(转入)",
  30268. "type": "number"
  30269. },
  30270. "goodscode": {
  30271. "description": "商品代码",
  30272. "type": "string"
  30273. },
  30274. "goodsname": {
  30275. "description": "商品名称",
  30276. "type": "string"
  30277. },
  30278. "handlestatus": {
  30279. "description": "处理状态",
  30280. "type": "integer"
  30281. },
  30282. "innergoodsid": {
  30283. "description": "内部商品ID",
  30284. "type": "integer"
  30285. },
  30286. "inratio": {
  30287. "description": "配置转入比值",
  30288. "type": "integer"
  30289. },
  30290. "invalue": {
  30291. "description": "目标值",
  30292. "type": "number"
  30293. },
  30294. "logid": {
  30295. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30296. "type": "integer"
  30297. },
  30298. "mobile": {
  30299. "description": "手机号码(加密存储)",
  30300. "type": "string"
  30301. },
  30302. "outergoodscode": {
  30303. "description": "外部商品代码[JD\\PD]",
  30304. "type": "string"
  30305. },
  30306. "outratio": {
  30307. "description": "配置转出比值",
  30308. "type": "integer"
  30309. },
  30310. "outvalue": {
  30311. "description": "源值",
  30312. "type": "number"
  30313. },
  30314. "pddecimalplace": {
  30315. "description": "PD小数位",
  30316. "type": "integer"
  30317. },
  30318. "qty": {
  30319. "description": "数量",
  30320. "type": "string"
  30321. },
  30322. "remark": {
  30323. "description": "备注",
  30324. "type": "string"
  30325. },
  30326. "sessionid": {
  30327. "description": "会话ID",
  30328. "type": "integer"
  30329. },
  30330. "timemaxvalue": {
  30331. "description": "配置单次最大转入限制",
  30332. "type": "number"
  30333. },
  30334. "timemaxvalue2": {
  30335. "description": "配置单次最大转入限制(转入)",
  30336. "type": "number"
  30337. },
  30338. "timeminvalue": {
  30339. "description": "配置单次最小数量限制",
  30340. "type": "number"
  30341. },
  30342. "timeminvalue2": {
  30343. "description": "配置单次最小数量限制(转入)",
  30344. "type": "number"
  30345. },
  30346. "tradedate": {
  30347. "description": "交易日(yyyyMMdd)",
  30348. "type": "string"
  30349. },
  30350. "userid": {
  30351. "description": "用户ID",
  30352. "type": "integer"
  30353. }
  30354. }
  30355. },
  30356. "szdz.QueryGoodsPickupRsp": {
  30357. "type": "object",
  30358. "required": [
  30359. "takeorderid"
  30360. ],
  30361. "properties": {
  30362. "accountid": {
  30363. "description": "账户ID",
  30364. "type": "integer"
  30365. },
  30366. "address": {
  30367. "description": "提货人详细地址",
  30368. "type": "string"
  30369. },
  30370. "auditer": {
  30371. "description": "审核人",
  30372. "type": "integer"
  30373. },
  30374. "audittime": {
  30375. "description": "审核时间",
  30376. "type": "string"
  30377. },
  30378. "cardnum": {
  30379. "description": "提货人证件号码",
  30380. "type": "string"
  30381. },
  30382. "cardtypeid": {
  30383. "description": "提货人证件类型",
  30384. "type": "integer"
  30385. },
  30386. "checkremark": {
  30387. "description": "审核备注",
  30388. "type": "string"
  30389. },
  30390. "goodscode": {
  30391. "description": "商品代码",
  30392. "type": "string"
  30393. },
  30394. "goodsid": {
  30395. "description": "商品ID",
  30396. "type": "integer"
  30397. },
  30398. "goodsname": {
  30399. "description": "商品名称",
  30400. "type": "string"
  30401. },
  30402. "handlestatus": {
  30403. "description": "处理状态",
  30404. "type": "integer"
  30405. },
  30406. "marketid": {
  30407. "description": "市场ID",
  30408. "type": "integer"
  30409. },
  30410. "phonenum": {
  30411. "description": "提货人联系方式",
  30412. "type": "string"
  30413. },
  30414. "qty": {
  30415. "description": "提货数量",
  30416. "type": "number"
  30417. },
  30418. "recivername": {
  30419. "description": "提货人姓名",
  30420. "type": "string"
  30421. },
  30422. "reqtime": {
  30423. "description": "更新时间",
  30424. "type": "string"
  30425. },
  30426. "takemode": {
  30427. "description": "提货方式 - 2:自提 3:配送",
  30428. "type": "integer"
  30429. },
  30430. "takeorderid": {
  30431. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30432. "type": "string"
  30433. },
  30434. "takeorderstatus": {
  30435. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30436. "type": "integer"
  30437. },
  30438. "takeremark": {
  30439. "description": "提货备注",
  30440. "type": "string"
  30441. },
  30442. "tradedate": {
  30443. "description": "交易日(yyyyMMdd)",
  30444. "type": "string"
  30445. },
  30446. "userid": {
  30447. "description": "用户ID",
  30448. "type": "integer"
  30449. }
  30450. }
  30451. },
  30452. "szdz.QueryRecieptOrderRsp": {
  30453. "type": "object",
  30454. "required": [
  30455. "ordertime"
  30456. ],
  30457. "properties": {
  30458. "accountName": {
  30459. "description": "所属账号名称(已脱敏)",
  30460. "type": "string"
  30461. },
  30462. "accountid": {
  30463. "description": "资金账号",
  30464. "type": "integer"
  30465. },
  30466. "buyorsell": {
  30467. "description": "方向 - 0:买 1:卖",
  30468. "type": "integer"
  30469. },
  30470. "enableqty": {
  30471. "description": "可摘数量",
  30472. "type": "integer"
  30473. },
  30474. "goodscode": {
  30475. "description": "商品代码",
  30476. "type": "string"
  30477. },
  30478. "goodsid": {
  30479. "description": "商品ID",
  30480. "type": "integer"
  30481. },
  30482. "goodsname": {
  30483. "description": "商品名称",
  30484. "type": "string"
  30485. },
  30486. "orderid": {
  30487. "description": "委托单号",
  30488. "type": "string"
  30489. },
  30490. "orderprice": {
  30491. "description": "委托价格",
  30492. "type": "number"
  30493. },
  30494. "ordertime": {
  30495. "description": "委托时间",
  30496. "type": "string"
  30497. },
  30498. "tradedate": {
  30499. "description": "交易日(yyyyMMdd)",
  30500. "type": "string"
  30501. }
  30502. }
  30503. },
  30504. "szdz.QuerySZDZTradePositionRsp": {
  30505. "type": "object",
  30506. "properties": {
  30507. "accountid": {
  30508. "description": "账号Id",
  30509. "type": "integer"
  30510. },
  30511. "agreeunit": {
  30512. "description": "合约单位",
  30513. "type": "number"
  30514. },
  30515. "averageprice": {
  30516. "description": "持仓均价",
  30517. "type": "number"
  30518. },
  30519. "buyorsell": {
  30520. "description": "方向 - 0:买 1:卖",
  30521. "type": "integer"
  30522. },
  30523. "closetotalqty": {
  30524. "description": "平仓总数量",
  30525. "type": "integer"
  30526. },
  30527. "curholderamount": {
  30528. "description": "当前持仓总金额",
  30529. "type": "number"
  30530. },
  30531. "curpositionqty": {
  30532. "description": "当前持仓总数量",
  30533. "type": "integer"
  30534. },
  30535. "currencyid": {
  30536. "description": "报价货币ID",
  30537. "type": "integer"
  30538. },
  30539. "curtdposition": {
  30540. "description": "期末今日头寸",
  30541. "type": "integer"
  30542. },
  30543. "decimalplace": {
  30544. "description": "报价小数位",
  30545. "type": "integer"
  30546. },
  30547. "enableqty": {
  30548. "description": "可用量",
  30549. "type": "integer"
  30550. },
  30551. "fretdposition": {
  30552. "description": "冻结今日头寸",
  30553. "type": "integer"
  30554. },
  30555. "frozenqty": {
  30556. "description": "持仓冻结数量",
  30557. "type": "integer"
  30558. },
  30559. "goodscode": {
  30560. "description": "商品代码(内部)",
  30561. "type": "string"
  30562. },
  30563. "goodsid": {
  30564. "description": "商品Id",
  30565. "type": "integer"
  30566. },
  30567. "goodsname": {
  30568. "description": "商品名称",
  30569. "type": "string"
  30570. },
  30571. "goodunit": {
  30572. "description": "报价单位",
  30573. "type": "string"
  30574. },
  30575. "goodunitid": {
  30576. "description": "报价单位ID",
  30577. "type": "integer"
  30578. },
  30579. "holderamount": {
  30580. "description": "期初持仓总金额",
  30581. "type": "number"
  30582. },
  30583. "marketid": {
  30584. "description": "市场ID",
  30585. "type": "integer"
  30586. },
  30587. "openreqqty": {
  30588. "description": "开仓申请数量",
  30589. "type": "integer"
  30590. },
  30591. "opentotalqty": {
  30592. "description": "开仓总数量",
  30593. "type": "integer"
  30594. },
  30595. "otherfrozenqty": {
  30596. "description": "持仓其他冻结数量(交割冻结)",
  30597. "type": "integer"
  30598. },
  30599. "positionqty": {
  30600. "description": "期初持仓数量",
  30601. "type": "integer"
  30602. },
  30603. "szdz3freezqty": {
  30604. "description": "尚志大宗转换冻结总数量",
  30605. "type": "integer"
  30606. },
  30607. "tnqty": {
  30608. "description": "T+N冻结总量",
  30609. "type": "integer"
  30610. },
  30611. "tnusedqty": {
  30612. "description": "T+N使用量",
  30613. "type": "integer"
  30614. },
  30615. "trademode": {
  30616. "description": "交易模式",
  30617. "type": "integer"
  30618. },
  30619. "usedmargin": {
  30620. "description": "占用保证金",
  30621. "type": "number"
  30622. }
  30623. }
  30624. },
  30625. "taaccount.QueryAmountLogRsp": {
  30626. "type": "object",
  30627. "required": [
  30628. "accountid",
  30629. "amount",
  30630. "amountadjusttype",
  30631. "autoid",
  30632. "balance",
  30633. "createtime",
  30634. "currentbalance",
  30635. "operatetype"
  30636. ],
  30637. "properties": {
  30638. "OPERATETYPENAME": {
  30639. "description": "资金操作类型名称",
  30640. "type": "string"
  30641. },
  30642. "accountid": {
  30643. "description": "资金账户ID",
  30644. "type": "integer"
  30645. },
  30646. "agoodscode": {
  30647. "description": "竞拍商品代码",
  30648. "type": "string"
  30649. },
  30650. "agoodsname": {
  30651. "description": "竞拍商品名称",
  30652. "type": "string"
  30653. },
  30654. "amount": {
  30655. "description": "资金金额",
  30656. "type": "number"
  30657. },
  30658. "amountadjusttype": {
  30659. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30660. "type": "integer"
  30661. },
  30662. "autoid": {
  30663. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30664. "type": "integer"
  30665. },
  30666. "balance": {
  30667. "description": "期初余额",
  30668. "type": "number"
  30669. },
  30670. "businesscode": {
  30671. "description": "业务编号",
  30672. "type": "integer"
  30673. },
  30674. "createtime": {
  30675. "description": "发生时间",
  30676. "type": "string"
  30677. },
  30678. "currencyid": {
  30679. "description": "币种ID",
  30680. "type": "integer"
  30681. },
  30682. "currentbalance": {
  30683. "description": "期末余额(变动后金额)",
  30684. "type": "number"
  30685. },
  30686. "dgoodscode": {
  30687. "description": "交割商品代码",
  30688. "type": "string"
  30689. },
  30690. "dgoodsname": {
  30691. "description": "交割商品名称",
  30692. "type": "string"
  30693. },
  30694. "goodscode": {
  30695. "description": "商品代码",
  30696. "type": "string"
  30697. },
  30698. "goodsid": {
  30699. "description": "商品ID",
  30700. "type": "integer"
  30701. },
  30702. "goodsname": {
  30703. "description": "商品名称",
  30704. "type": "string"
  30705. },
  30706. "marketid": {
  30707. "description": "市场ID",
  30708. "type": "integer"
  30709. },
  30710. "marketname": {
  30711. "description": "市场名称",
  30712. "type": "string"
  30713. },
  30714. "moneyticket": {
  30715. "description": "资金流水号:银行端流水号",
  30716. "type": "integer"
  30717. },
  30718. "operatetype": {
  30719. "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:营销收款",
  30720. "type": "integer"
  30721. },
  30722. "relationorderid": {
  30723. "description": "关联单号",
  30724. "type": "string"
  30725. },
  30726. "remark": {
  30727. "description": "备注",
  30728. "type": "string"
  30729. },
  30730. "trademode": {
  30731. "description": "交易模式",
  30732. "type": "integer"
  30733. }
  30734. }
  30735. },
  30736. "taaccount.QueryHisAmountLogRsp": {
  30737. "type": "object",
  30738. "required": [
  30739. "accountid",
  30740. "amount",
  30741. "amountadjusttype",
  30742. "autoid",
  30743. "balance",
  30744. "createtime",
  30745. "currentbalance",
  30746. "histradedate",
  30747. "operatetype"
  30748. ],
  30749. "properties": {
  30750. "OPERATETYPENAME": {
  30751. "description": "资金操作类型名称",
  30752. "type": "string"
  30753. },
  30754. "accountid": {
  30755. "description": "资金账户ID",
  30756. "type": "integer"
  30757. },
  30758. "agoodscode": {
  30759. "description": "竞拍商品代码",
  30760. "type": "string"
  30761. },
  30762. "agoodsname": {
  30763. "description": "竞拍商品名称",
  30764. "type": "string"
  30765. },
  30766. "amount": {
  30767. "description": "资金金额",
  30768. "type": "number"
  30769. },
  30770. "amountadjusttype": {
  30771. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30772. "type": "integer"
  30773. },
  30774. "autoid": {
  30775. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30776. "type": "integer"
  30777. },
  30778. "balance": {
  30779. "description": "期初余额",
  30780. "type": "number"
  30781. },
  30782. "businesscode": {
  30783. "description": "业务编号",
  30784. "type": "integer"
  30785. },
  30786. "createtime": {
  30787. "description": "发生时间",
  30788. "type": "string"
  30789. },
  30790. "currencyid": {
  30791. "description": "币种ID",
  30792. "type": "integer"
  30793. },
  30794. "currentbalance": {
  30795. "description": "期末余额(变动后金额)",
  30796. "type": "number"
  30797. },
  30798. "dgoodscode": {
  30799. "description": "交割商品代码",
  30800. "type": "string"
  30801. },
  30802. "dgoodsname": {
  30803. "description": "交割商品名称",
  30804. "type": "string"
  30805. },
  30806. "goodscode": {
  30807. "description": "商品代码",
  30808. "type": "string"
  30809. },
  30810. "goodsid": {
  30811. "description": "商品ID",
  30812. "type": "integer"
  30813. },
  30814. "goodsname": {
  30815. "description": "商品名称",
  30816. "type": "string"
  30817. },
  30818. "histradedate": {
  30819. "description": "历史交易日",
  30820. "type": "string"
  30821. },
  30822. "isvaliddata": {
  30823. "description": "是否有效 - 0:无效 1:有效",
  30824. "type": "integer"
  30825. },
  30826. "marketid": {
  30827. "description": "市场ID",
  30828. "type": "integer"
  30829. },
  30830. "marketname": {
  30831. "description": "市场名称",
  30832. "type": "string"
  30833. },
  30834. "moneyticket": {
  30835. "description": "资金流水号:银行端流水号",
  30836. "type": "integer"
  30837. },
  30838. "operatetype": {
  30839. "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:营销收款",
  30840. "type": "integer"
  30841. },
  30842. "relationorderid": {
  30843. "description": "关联单号",
  30844. "type": "string"
  30845. },
  30846. "remark": {
  30847. "description": "备注",
  30848. "type": "string"
  30849. },
  30850. "trademode": {
  30851. "description": "交易模式",
  30852. "type": "integer"
  30853. }
  30854. }
  30855. },
  30856. "trade.QueryRecieptOrderRsp": {
  30857. "type": "object",
  30858. "required": [
  30859. "ordertime"
  30860. ],
  30861. "properties": {
  30862. "accountName": {
  30863. "description": "所属账号名称(已脱敏)",
  30864. "type": "string"
  30865. },
  30866. "accountid": {
  30867. "description": "资金账号",
  30868. "type": "integer"
  30869. },
  30870. "buyorsell": {
  30871. "description": "方向 - 0:买 1:卖",
  30872. "type": "integer"
  30873. },
  30874. "enableqty": {
  30875. "description": "可摘数量",
  30876. "type": "integer"
  30877. },
  30878. "goodscode": {
  30879. "description": "商品代码",
  30880. "type": "string"
  30881. },
  30882. "goodsid": {
  30883. "description": "商品ID",
  30884. "type": "integer"
  30885. },
  30886. "goodsname": {
  30887. "description": "商品名称",
  30888. "type": "string"
  30889. },
  30890. "orderid": {
  30891. "description": "委托单号",
  30892. "type": "string"
  30893. },
  30894. "orderprice": {
  30895. "description": "委托价格",
  30896. "type": "number"
  30897. },
  30898. "ordertime": {
  30899. "description": "委托时间",
  30900. "type": "string"
  30901. },
  30902. "tradedate": {
  30903. "description": "交易日(yyyyMMdd)",
  30904. "type": "string"
  30905. }
  30906. }
  30907. },
  30908. "user.LoginQueryRsp": {
  30909. "type": "object",
  30910. "properties": {
  30911. "areaRoles": {
  30912. "description": "所属角色信息",
  30913. "type": "array",
  30914. "items": {
  30915. "$ref": "#/definitions/models.Arearole"
  30916. }
  30917. },
  30918. "externalExchanges": {
  30919. "description": "外部交易所",
  30920. "type": "array",
  30921. "items": {
  30922. "$ref": "#/definitions/models.Externalexchange"
  30923. }
  30924. },
  30925. "goodsgroups": {
  30926. "description": "商品组",
  30927. "type": "array",
  30928. "items": {
  30929. "$ref": "#/definitions/models.Goodsgroup"
  30930. }
  30931. },
  30932. "loginAccount": {
  30933. "description": "登录账号",
  30934. "type": "object",
  30935. "$ref": "#/definitions/models.Loginaccount"
  30936. },
  30937. "markets": {
  30938. "description": "市场",
  30939. "type": "array",
  30940. "items": {
  30941. "$ref": "#/definitions/models.Market"
  30942. }
  30943. },
  30944. "systemParams": {
  30945. "description": "系统参数",
  30946. "type": "array",
  30947. "items": {
  30948. "$ref": "#/definitions/models.Systemparam"
  30949. }
  30950. },
  30951. "userAccount": {
  30952. "description": "用户账号",
  30953. "type": "object",
  30954. "$ref": "#/definitions/models.Useraccount"
  30955. },
  30956. "userInfo": {
  30957. "description": "用户信息",
  30958. "type": "object",
  30959. "$ref": "#/definitions/models.Userinfo"
  30960. },
  30961. "username": {
  30962. "description": "用户姓名",
  30963. "type": "string"
  30964. }
  30965. }
  30966. }
  30967. },
  30968. "securityDefinitions": {
  30969. "ApiKeyAuth": {
  30970. "type": "apiKey",
  30971. "name": "Authorization",
  30972. "in": "header"
  30973. }
  30974. }
  30975. }