swagger.json 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485
  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. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "parameters": [
  366. {
  367. "type": "integer",
  368. "description": "起始自增ID",
  369. "name": "autoid",
  370. "in": "query"
  371. }
  372. ],
  373. "responses": {
  374. "200": {
  375. "description": "OK",
  376. "schema": {
  377. "$ref": "#/definitions/models.Enumdicitem"
  378. }
  379. },
  380. "500": {
  381. "description": "Internal Server Error",
  382. "schema": {
  383. "$ref": "#/definitions/app.Response"
  384. }
  385. }
  386. }
  387. }
  388. },
  389. "/Common/GetClientMenus": {
  390. "get": {
  391. "security": [
  392. {
  393. "ApiKeyAuth": []
  394. }
  395. ],
  396. "produces": [
  397. "application/json"
  398. ],
  399. "tags": [
  400. "通用服务"
  401. ],
  402. "summary": "获取交易端菜单",
  403. "parameters": [
  404. {
  405. "type": "integer",
  406. "description": "登录账号",
  407. "name": "loginID",
  408. "in": "query",
  409. "required": true
  410. },
  411. {
  412. "type": "integer",
  413. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  414. "name": "clientType",
  415. "in": "query"
  416. },
  417. {
  418. "type": "string",
  419. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  420. "name": "name",
  421. "in": "query"
  422. }
  423. ],
  424. "responses": {
  425. "200": {
  426. "description": "OK",
  427. "schema": {
  428. "type": "array",
  429. "items": {
  430. "$ref": "#/definitions/common.ClientMenu"
  431. }
  432. }
  433. },
  434. "500": {
  435. "description": "Internal Server Error",
  436. "schema": {
  437. "$ref": "#/definitions/app.Response"
  438. }
  439. }
  440. }
  441. }
  442. },
  443. "/Common/GetDivisions": {
  444. "get": {
  445. "produces": [
  446. "application/json"
  447. ],
  448. "tags": [
  449. "通用服务"
  450. ],
  451. "summary": "查询区域信息",
  452. "responses": {
  453. "200": {
  454. "description": "OK",
  455. "schema": {
  456. "$ref": "#/definitions/models.Division"
  457. }
  458. },
  459. "500": {
  460. "description": "Internal Server Error",
  461. "schema": {
  462. "$ref": "#/definitions/app.Response"
  463. }
  464. }
  465. }
  466. }
  467. },
  468. "/Common/GetPCWebMenus": {
  469. "get": {
  470. "security": [
  471. {
  472. "ApiKeyAuth": []
  473. }
  474. ],
  475. "produces": [
  476. "application/json"
  477. ],
  478. "tags": [
  479. "通用服务"
  480. ],
  481. "summary": "获取PCWeb交易端菜单",
  482. "parameters": [
  483. {
  484. "type": "integer",
  485. "description": "登录账号",
  486. "name": "loginID",
  487. "in": "query",
  488. "required": true
  489. },
  490. {
  491. "type": "string",
  492. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  493. "name": "name",
  494. "in": "query"
  495. }
  496. ],
  497. "responses": {
  498. "200": {
  499. "description": "OK",
  500. "schema": {
  501. "type": "array",
  502. "items": {
  503. "$ref": "#/definitions/common.PCWebMenu"
  504. }
  505. }
  506. },
  507. "500": {
  508. "description": "Internal Server Error",
  509. "schema": {
  510. "$ref": "#/definitions/app.Response"
  511. }
  512. }
  513. }
  514. }
  515. },
  516. "/Common/GetServerTime": {
  517. "get": {
  518. "produces": [
  519. "application/json"
  520. ],
  521. "tags": [
  522. "通用服务"
  523. ],
  524. "summary": "获取服务器时间",
  525. "responses": {
  526. "200": {
  527. "description": "OK",
  528. "schema": {
  529. "$ref": "#/definitions/app.Response"
  530. }
  531. },
  532. "500": {
  533. "description": "Internal Server Error",
  534. "schema": {
  535. "$ref": "#/definitions/app.Response"
  536. }
  537. }
  538. }
  539. }
  540. },
  541. "/Common/NoticeReaded": {
  542. "post": {
  543. "security": [
  544. {
  545. "ApiKeyAuth": []
  546. }
  547. ],
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "通知公告设置已读请求",
  555. "parameters": [
  556. {
  557. "type": "integer",
  558. "description": "登录账号",
  559. "name": "loginID",
  560. "in": "query",
  561. "required": true
  562. },
  563. {
  564. "type": "integer",
  565. "description": "通知公告ID",
  566. "name": "noticeID",
  567. "in": "query",
  568. "required": true
  569. }
  570. ],
  571. "responses": {
  572. "200": {
  573. "description": "OK",
  574. "schema": {
  575. "$ref": "#/definitions/app.Response"
  576. }
  577. },
  578. "500": {
  579. "description": "Internal Server Error",
  580. "schema": {
  581. "$ref": "#/definitions/app.Response"
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "/Common/QueryErrorInfos": {
  588. "get": {
  589. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  590. "produces": [
  591. "application/json"
  592. ],
  593. "tags": [
  594. "通用服务"
  595. ],
  596. "summary": "获取数据库错误信息",
  597. "parameters": [
  598. {
  599. "type": "string",
  600. "description": "起始行号前索引",
  601. "name": "rowNumber",
  602. "in": "query"
  603. }
  604. ],
  605. "responses": {
  606. "200": {
  607. "description": "OK",
  608. "schema": {
  609. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  610. }
  611. },
  612. "500": {
  613. "description": "Internal Server Error",
  614. "schema": {
  615. "$ref": "#/definitions/app.Response"
  616. }
  617. }
  618. }
  619. }
  620. },
  621. "/Common/QueryImageConfigs": {
  622. "get": {
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "通用服务"
  628. ],
  629. "summary": "查询轮播图配置信息",
  630. "parameters": [
  631. {
  632. "type": "integer",
  633. "description": "用户id",
  634. "name": "userId",
  635. "in": "query"
  636. },
  637. {
  638. "type": "integer",
  639. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  640. "name": "imageType",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Common/QueryNotice": {
  661. "get": {
  662. "security": [
  663. {
  664. "ApiKeyAuth": []
  665. }
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "通用服务"
  672. ],
  673. "summary": "通知公告系统消息查询",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "页码",
  678. "name": "page",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "每页条数",
  684. "name": "pagesize",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "登录账号",
  690. "name": "loginID",
  691. "in": "query",
  692. "required": true
  693. },
  694. {
  695. "type": "integer",
  696. "description": "消息类型 - 1:公告通知 2:系统消息",
  697. "name": "msgType",
  698. "in": "query"
  699. },
  700. {
  701. "type": "boolean",
  702. "description": "是否只获取未读信息",
  703. "name": "onlyUnRead",
  704. "in": "query"
  705. },
  706. {
  707. "type": "integer",
  708. "description": "自增ID,传入后会返回这个ID后面的记录",
  709. "name": "lastID",
  710. "in": "query"
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "OK",
  716. "schema": {
  717. "$ref": "#/definitions/common.QueryNoticeRsp"
  718. }
  719. },
  720. "500": {
  721. "description": "Internal Server Error",
  722. "schema": {
  723. "$ref": "#/definitions/app.Response"
  724. }
  725. }
  726. }
  727. }
  728. },
  729. "/Common/QueryProvincesAndCities": {
  730. "get": {
  731. "produces": [
  732. "application/json"
  733. ],
  734. "tags": [
  735. "通用服务"
  736. ],
  737. "summary": "查询省市信息(不包括区)",
  738. "parameters": [
  739. {
  740. "type": "integer",
  741. "description": "省ID",
  742. "name": "provinceID",
  743. "in": "query"
  744. }
  745. ],
  746. "responses": {
  747. "200": {
  748. "description": "OK",
  749. "schema": {
  750. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  751. }
  752. },
  753. "500": {
  754. "description": "Internal Server Error",
  755. "schema": {
  756. "$ref": "#/definitions/app.Response"
  757. }
  758. }
  759. }
  760. }
  761. },
  762. "/Common/QueryTableDefine": {
  763. "get": {
  764. "produces": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "通用服务"
  769. ],
  770. "summary": "查询交易端列表头信息",
  771. "parameters": [
  772. {
  773. "type": "string",
  774. "description": "表key",
  775. "name": "tableKey",
  776. "in": "query"
  777. },
  778. {
  779. "type": "integer",
  780. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  781. "name": "tableType",
  782. "in": "query"
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "OK",
  788. "schema": {
  789. "$ref": "#/definitions/common.QueryTableDefineRsp"
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/Common/QueryTraderMenu": {
  802. "get": {
  803. "produces": [
  804. "application/json"
  805. ],
  806. "tags": [
  807. "通用服务"
  808. ],
  809. "summary": "查询交易端菜单",
  810. "parameters": [
  811. {
  812. "type": "integer",
  813. "description": "登录账号",
  814. "name": "loginid",
  815. "in": "query",
  816. "required": true
  817. }
  818. ],
  819. "responses": {
  820. "200": {
  821. "description": "OK",
  822. "schema": {
  823. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  824. }
  825. },
  826. "500": {
  827. "description": "Internal Server Error",
  828. "schema": {
  829. "$ref": "#/definitions/app.Response"
  830. }
  831. }
  832. }
  833. }
  834. },
  835. "/Delivery/QueryDeliveryRelation": {
  836. "get": {
  837. "security": [
  838. {
  839. "ApiKeyAuth": []
  840. }
  841. ],
  842. "produces": [
  843. "application/json"
  844. ],
  845. "tags": [
  846. "交割服务"
  847. ],
  848. "summary": "查询商品交割关系表",
  849. "parameters": [
  850. {
  851. "type": "integer",
  852. "description": "商品ID",
  853. "name": "goodsid",
  854. "in": "query"
  855. },
  856. {
  857. "type": "integer",
  858. "description": "品种ID",
  859. "name": "deliverygoodsid",
  860. "in": "query"
  861. },
  862. {
  863. "type": "integer",
  864. "description": "市场ID",
  865. "name": "marketid",
  866. "in": "query"
  867. }
  868. ],
  869. "responses": {
  870. "200": {
  871. "description": "OK",
  872. "schema": {
  873. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  874. }
  875. },
  876. "500": {
  877. "description": "Internal Server Error",
  878. "schema": {
  879. "$ref": "#/definitions/app.Response"
  880. }
  881. }
  882. }
  883. }
  884. },
  885. "/Ermcp/GetErmcpGoods": {
  886. "get": {
  887. "security": [
  888. {
  889. "ApiKeyAuth": []
  890. }
  891. ],
  892. "produces": [
  893. "application/json"
  894. ],
  895. "tags": [
  896. "企业风险管理(app)"
  897. ],
  898. "summary": "查询企业风管期货商品信息",
  899. "parameters": [
  900. {
  901. "type": "integer",
  902. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  903. "name": "userid",
  904. "in": "query"
  905. },
  906. {
  907. "type": "string",
  908. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  909. "name": "lastUpdateTime",
  910. "in": "query"
  911. }
  912. ],
  913. "responses": {
  914. "200": {
  915. "description": "OK",
  916. "schema": {
  917. "$ref": "#/definitions/models.ErmcpGoods"
  918. }
  919. },
  920. "500": {
  921. "description": "Internal Server Error",
  922. "schema": {
  923. "$ref": "#/definitions/app.Response"
  924. }
  925. }
  926. }
  927. }
  928. },
  929. "/Ermcp/GetErmcpGoodsSortByPosition": {
  930. "get": {
  931. "security": [
  932. {
  933. "ApiKeyAuth": []
  934. }
  935. ],
  936. "produces": [
  937. "application/json"
  938. ],
  939. "tags": [
  940. "企业风险管理(app)"
  941. ],
  942. "summary": "查询企业风管期货主力、次主力商品信息",
  943. "parameters": [
  944. {
  945. "type": "string",
  946. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  947. "name": "sortIndex",
  948. "in": "query"
  949. }
  950. ],
  951. "responses": {
  952. "200": {
  953. "description": "OK",
  954. "schema": {
  955. "$ref": "#/definitions/models.Goodssortbypreposition"
  956. }
  957. },
  958. "500": {
  959. "description": "Internal Server Error",
  960. "schema": {
  961. "$ref": "#/definitions/app.Response"
  962. }
  963. }
  964. }
  965. }
  966. },
  967. "/Ermcp/GetErmcpOutAccountStatus": {
  968. "get": {
  969. "security": [
  970. {
  971. "ApiKeyAuth": []
  972. }
  973. ],
  974. "produces": [
  975. "application/json"
  976. ],
  977. "tags": [
  978. "企业风险管理(app)"
  979. ],
  980. "summary": "获取目标登录账号当前对冲账号在线状态",
  981. "parameters": [
  982. {
  983. "type": "integer",
  984. "description": "登录账号",
  985. "name": "loginID",
  986. "in": "query",
  987. "required": true
  988. }
  989. ],
  990. "responses": {
  991. "200": {
  992. "description": "OK",
  993. "schema": {
  994. "$ref": "#/definitions/models.Hedgemarketopenlog"
  995. }
  996. },
  997. "500": {
  998. "description": "Internal Server Error",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. }
  1003. }
  1004. }
  1005. },
  1006. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1007. "get": {
  1008. "security": [
  1009. {
  1010. "ApiKeyAuth": []
  1011. }
  1012. ],
  1013. "produces": [
  1014. "application/json"
  1015. ],
  1016. "tags": [
  1017. "企业风险管理(app)"
  1018. ],
  1019. "summary": "获取企业风管终端权限",
  1020. "parameters": [
  1021. {
  1022. "type": "integer",
  1023. "description": "登录账号",
  1024. "name": "loginID",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "$ref": "#/definitions/models.Funcmenulist"
  1034. }
  1035. },
  1036. "500": {
  1037. "description": "Internal Server Error",
  1038. "schema": {
  1039. "$ref": "#/definitions/app.Response"
  1040. }
  1041. }
  1042. }
  1043. }
  1044. },
  1045. "/Ermcp/QueryAccMgrBizGroupSet": {
  1046. "get": {
  1047. "security": [
  1048. {
  1049. "ApiKeyAuth": []
  1050. }
  1051. ],
  1052. "produces": [
  1053. "application/json"
  1054. ],
  1055. "tags": [
  1056. "企业风险管理(app)"
  1057. ],
  1058. "summary": "查询业务类型分组(账户管理/账户设置)",
  1059. "parameters": [
  1060. {
  1061. "type": "integer",
  1062. "description": "用户ID",
  1063. "name": "userid",
  1064. "in": "query",
  1065. "required": true
  1066. },
  1067. {
  1068. "type": "integer",
  1069. "description": "现货商品id",
  1070. "name": "deliverygoodsid",
  1071. "in": "query"
  1072. }
  1073. ],
  1074. "responses": {
  1075. "200": {
  1076. "description": "OK",
  1077. "schema": {
  1078. "type": "array",
  1079. "items": {
  1080. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1081. }
  1082. }
  1083. },
  1084. "500": {
  1085. "description": "Internal Server Error",
  1086. "schema": {
  1087. "$ref": "#/definitions/app.Response"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. },
  1093. "/Ermcp/QueryAccMgrLoginUser": {
  1094. "get": {
  1095. "security": [
  1096. {
  1097. "ApiKeyAuth": []
  1098. }
  1099. ],
  1100. "produces": [
  1101. "application/json"
  1102. ],
  1103. "tags": [
  1104. "企业风险管理(app)"
  1105. ],
  1106. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1107. "parameters": [
  1108. {
  1109. "type": "integer",
  1110. "description": "用户ID",
  1111. "name": "userid",
  1112. "in": "query",
  1113. "required": true
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "用户类型 2-机构 7-企业成员",
  1118. "name": "usertype",
  1119. "in": "query"
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1124. "name": "querytype",
  1125. "in": "query",
  1126. "required": true
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query"
  1168. },
  1169. {
  1170. "type": "integer",
  1171. "description": "主账号id",
  1172. "name": "accountid",
  1173. "in": "query"
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.MainAccountInfo"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRole": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "OK",
  1221. "schema": {
  1222. "type": "array",
  1223. "items": {
  1224. "$ref": "#/definitions/models.ErmcpRole"
  1225. }
  1226. }
  1227. },
  1228. "500": {
  1229. "description": "Internal Server Error",
  1230. "schema": {
  1231. "$ref": "#/definitions/app.Response"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. },
  1237. "/Ermcp/QueryAccMgrRoleMenu": {
  1238. "get": {
  1239. "security": [
  1240. {
  1241. "ApiKeyAuth": []
  1242. }
  1243. ],
  1244. "produces": [
  1245. "application/json"
  1246. ],
  1247. "tags": [
  1248. "企业风险管理(app)"
  1249. ],
  1250. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1251. "parameters": [
  1252. {
  1253. "type": "integer",
  1254. "description": "用户ID",
  1255. "name": "userid",
  1256. "in": "query",
  1257. "required": true
  1258. },
  1259. {
  1260. "type": "string",
  1261. "description": "角色id(可多个,逗号隔开)",
  1262. "name": "roleid",
  1263. "in": "query"
  1264. },
  1265. {
  1266. "type": "integer",
  1267. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1268. "name": "menutype",
  1269. "in": "query"
  1270. }
  1271. ],
  1272. "responses": {
  1273. "200": {
  1274. "description": "OK",
  1275. "schema": {
  1276. "type": "array",
  1277. "items": {
  1278. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1279. }
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/app.Response"
  1286. }
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1292. "get": {
  1293. "security": [
  1294. {
  1295. "ApiKeyAuth": []
  1296. }
  1297. ],
  1298. "produces": [
  1299. "application/json"
  1300. ],
  1301. "tags": [
  1302. "企业风险管理(app)"
  1303. ],
  1304. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1305. "parameters": [
  1306. {
  1307. "type": "integer",
  1308. "description": "用户ID",
  1309. "name": "userid",
  1310. "in": "query",
  1311. "required": true
  1312. },
  1313. {
  1314. "type": "integer",
  1315. "description": "账号id",
  1316. "name": "accountid",
  1317. "in": "query"
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAccMgrTaaccount": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "用户ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryAvaildGoodsGroup": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "所属机构ID",
  1399. "name": "userid",
  1400. "in": "query",
  1401. "required": true
  1402. }
  1403. ],
  1404. "responses": {
  1405. "200": {
  1406. "description": "OK",
  1407. "schema": {
  1408. "type": "array",
  1409. "items": {
  1410. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1411. }
  1412. }
  1413. },
  1414. "500": {
  1415. "description": "Internal Server Error",
  1416. "schema": {
  1417. "$ref": "#/definitions/app.Response"
  1418. }
  1419. }
  1420. }
  1421. }
  1422. },
  1423. "/Ermcp/QueryBusinessDj": {
  1424. "get": {
  1425. "security": [
  1426. {
  1427. "ApiKeyAuth": []
  1428. }
  1429. ],
  1430. "produces": [
  1431. "application/json"
  1432. ],
  1433. "tags": [
  1434. "企业风险管理(app)"
  1435. ],
  1436. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1437. "parameters": [
  1438. {
  1439. "type": "integer",
  1440. "description": "用户ID",
  1441. "name": "UserId",
  1442. "in": "query",
  1443. "required": true
  1444. },
  1445. {
  1446. "type": "integer",
  1447. "description": "用户类型 2-机构 7-企业成员",
  1448. "name": "usertype",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "现货合同ID, 不填则查所有",
  1454. "name": "relatedid",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1460. "name": "applystatus",
  1461. "in": "query"
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryBusinessFp": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "UserId",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "integer",
  1507. "description": "用户类型 2-机构 7-企业成员",
  1508. "name": "usertype",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "现货合同ID, 不填则查所有",
  1514. "name": "relatedid",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1520. "name": "applystatus",
  1521. "in": "query"
  1522. }
  1523. ],
  1524. "responses": {
  1525. "200": {
  1526. "description": "OK",
  1527. "schema": {
  1528. "type": "array",
  1529. "items": {
  1530. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1531. }
  1532. }
  1533. },
  1534. "500": {
  1535. "description": "Internal Server Error",
  1536. "schema": {
  1537. "$ref": "#/definitions/app.Response"
  1538. }
  1539. }
  1540. }
  1541. }
  1542. },
  1543. "/Ermcp/QueryBusinessJs": {
  1544. "get": {
  1545. "security": [
  1546. {
  1547. "ApiKeyAuth": []
  1548. }
  1549. ],
  1550. "produces": [
  1551. "application/json"
  1552. ],
  1553. "tags": [
  1554. "企业风险管理(app)"
  1555. ],
  1556. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1557. "parameters": [
  1558. {
  1559. "type": "integer",
  1560. "description": "用户ID",
  1561. "name": "UserId",
  1562. "in": "query",
  1563. "required": true
  1564. },
  1565. {
  1566. "type": "integer",
  1567. "description": "用户类型 2-机构 7-企业成员",
  1568. "name": "usertype",
  1569. "in": "query"
  1570. },
  1571. {
  1572. "type": "string",
  1573. "description": "现货合同ID, 不填则查所有",
  1574. "name": "relatedid",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "操作申请id",
  1580. "name": "operateapplyid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1586. "name": "applystatus",
  1587. "in": "query"
  1588. }
  1589. ],
  1590. "responses": {
  1591. "200": {
  1592. "description": "OK",
  1593. "schema": {
  1594. "type": "array",
  1595. "items": {
  1596. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1597. }
  1598. }
  1599. },
  1600. "500": {
  1601. "description": "Internal Server Error",
  1602. "schema": {
  1603. "$ref": "#/definitions/app.Response"
  1604. }
  1605. }
  1606. }
  1607. }
  1608. },
  1609. "/Ermcp/QueryBusinessJsEx": {
  1610. "get": {
  1611. "security": [
  1612. {
  1613. "ApiKeyAuth": []
  1614. }
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "企业风险管理(app)"
  1621. ],
  1622. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1623. "parameters": [
  1624. {
  1625. "type": "integer",
  1626. "description": "用户ID",
  1627. "name": "UserId",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "用户类型 2-机构 7-企业成员",
  1634. "name": "usertype",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "现货合同ID, 不填则查所有",
  1640. "name": "relatedid",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1646. "name": "applystatus",
  1647. "in": "query"
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryBusinessKx": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1683. "parameters": [
  1684. {
  1685. "type": "integer",
  1686. "description": "用户ID",
  1687. "name": "UserId",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "用户类型 2-机构 7-企业成员",
  1694. "name": "usertype",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1706. "name": "applystatus",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryChangeLog": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询变更记录",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": "合同ID",
  1747. "name": "RelatedId",
  1748. "in": "query",
  1749. "required": true
  1750. }
  1751. ],
  1752. "responses": {
  1753. "200": {
  1754. "description": "OK",
  1755. "schema": {
  1756. "type": "array",
  1757. "items": {
  1758. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1759. }
  1760. }
  1761. },
  1762. "500": {
  1763. "description": "Internal Server Error",
  1764. "schema": {
  1765. "$ref": "#/definitions/app.Response"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/Ermcp/QueryErmcpHisOrderDetails": {
  1772. "get": {
  1773. "security": [
  1774. {
  1775. "ApiKeyAuth": []
  1776. }
  1777. ],
  1778. "produces": [
  1779. "application/json"
  1780. ],
  1781. "tags": [
  1782. "企业风险管理(app)"
  1783. ],
  1784. "summary": "获取企业风管期货历史委托单信息",
  1785. "parameters": [
  1786. {
  1787. "type": "integer",
  1788. "description": "资金账户ID",
  1789. "name": "accountID",
  1790. "in": "query",
  1791. "required": true
  1792. },
  1793. {
  1794. "type": "string",
  1795. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1796. "name": "startDate",
  1797. "in": "query"
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "endDate",
  1803. "in": "query"
  1804. }
  1805. ],
  1806. "responses": {
  1807. "200": {
  1808. "description": "OK",
  1809. "schema": {
  1810. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1811. }
  1812. },
  1813. "500": {
  1814. "description": "Internal Server Error",
  1815. "schema": {
  1816. "$ref": "#/definitions/app.Response"
  1817. }
  1818. }
  1819. }
  1820. }
  1821. },
  1822. "/Ermcp/QueryErmcpHisTradeDetails": {
  1823. "get": {
  1824. "security": [
  1825. {
  1826. "ApiKeyAuth": []
  1827. }
  1828. ],
  1829. "produces": [
  1830. "application/json"
  1831. ],
  1832. "tags": [
  1833. "企业风险管理(app)"
  1834. ],
  1835. "summary": "获取企业风管期货历史成交单信息",
  1836. "parameters": [
  1837. {
  1838. "type": "integer",
  1839. "description": "资金账户ID",
  1840. "name": "accountID",
  1841. "in": "query",
  1842. "required": true
  1843. },
  1844. {
  1845. "type": "integer",
  1846. "description": "商品ID",
  1847. "name": "goodsID",
  1848. "in": "query"
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "买卖方向,0:买 1:卖",
  1853. "name": "buyOrSell",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "关联委托单号",
  1859. "name": "orderID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "string",
  1864. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1865. "name": "startDate",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "endDate",
  1872. "in": "query"
  1873. }
  1874. ],
  1875. "responses": {
  1876. "200": {
  1877. "description": "OK",
  1878. "schema": {
  1879. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1880. }
  1881. },
  1882. "500": {
  1883. "description": "Internal Server Error",
  1884. "schema": {
  1885. "$ref": "#/definitions/app.Response"
  1886. }
  1887. }
  1888. }
  1889. }
  1890. },
  1891. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1892. "get": {
  1893. "security": [
  1894. {
  1895. "ApiKeyAuth": []
  1896. }
  1897. ],
  1898. "produces": [
  1899. "application/json"
  1900. ],
  1901. "tags": [
  1902. "企业风险管理(app)"
  1903. ],
  1904. "summary": "获取企业风管期货内部持仓单信息",
  1905. "parameters": [
  1906. {
  1907. "type": "integer",
  1908. "description": "资金账户ID",
  1909. "name": "accountID",
  1910. "in": "query",
  1911. "required": true
  1912. },
  1913. {
  1914. "type": "integer",
  1915. "description": "商品ID",
  1916. "name": "goodsID",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "买卖方向,0:买 1:卖",
  1922. "name": "buyOrSell",
  1923. "in": "query"
  1924. }
  1925. ],
  1926. "responses": {
  1927. "200": {
  1928. "description": "OK",
  1929. "schema": {
  1930. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1931. }
  1932. },
  1933. "500": {
  1934. "description": "Internal Server Error",
  1935. "schema": {
  1936. "$ref": "#/definitions/app.Response"
  1937. }
  1938. }
  1939. }
  1940. }
  1941. },
  1942. "/Ermcp/QueryErmcpOrderDetails": {
  1943. "get": {
  1944. "security": [
  1945. {
  1946. "ApiKeyAuth": []
  1947. }
  1948. ],
  1949. "produces": [
  1950. "application/json"
  1951. ],
  1952. "tags": [
  1953. "企业风险管理(app)"
  1954. ],
  1955. "summary": "获取企业风管期货委托单信息",
  1956. "parameters": [
  1957. {
  1958. "type": "integer",
  1959. "description": "资金账户ID",
  1960. "name": "accountID",
  1961. "in": "query",
  1962. "required": true
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "OK",
  1968. "schema": {
  1969. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Ermcp/QueryErmcpTradeDetails": {
  1982. "get": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "企业风险管理(app)"
  1993. ],
  1994. "summary": "获取企业风管期货成交单信息",
  1995. "parameters": [
  1996. {
  1997. "type": "integer",
  1998. "description": "资金账户ID",
  1999. "name": "accountID",
  2000. "in": "query",
  2001. "required": true
  2002. },
  2003. {
  2004. "type": "integer",
  2005. "description": "商品ID",
  2006. "name": "goodsID",
  2007. "in": "query"
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "买卖方向,0:买 1:卖",
  2012. "name": "buyOrSell",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "关联委托单号",
  2018. "name": "orderID",
  2019. "in": "query"
  2020. }
  2021. ],
  2022. "responses": {
  2023. "200": {
  2024. "description": "OK",
  2025. "schema": {
  2026. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2027. }
  2028. },
  2029. "500": {
  2030. "description": "Internal Server Error",
  2031. "schema": {
  2032. "$ref": "#/definitions/app.Response"
  2033. }
  2034. }
  2035. }
  2036. }
  2037. },
  2038. "/Ermcp/QueryErmcpTradePosition": {
  2039. "get": {
  2040. "security": [
  2041. {
  2042. "ApiKeyAuth": []
  2043. }
  2044. ],
  2045. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "企业风险管理(app)"
  2051. ],
  2052. "summary": "获取企业风管期货持仓头寸信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "资金账户ID",
  2057. "name": "accountID",
  2058. "in": "query",
  2059. "required": true
  2060. },
  2061. {
  2062. "type": "integer",
  2063. "description": "所属市场ID",
  2064. "name": "marketID",
  2065. "in": "query"
  2066. }
  2067. ],
  2068. "responses": {
  2069. "200": {
  2070. "description": "OK",
  2071. "schema": {
  2072. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2073. }
  2074. },
  2075. "500": {
  2076. "description": "Internal Server Error",
  2077. "schema": {
  2078. "$ref": "#/definitions/app.Response"
  2079. }
  2080. }
  2081. }
  2082. }
  2083. },
  2084. "/Ermcp/QueryExposureDetail": {
  2085. "get": {
  2086. "security": [
  2087. {
  2088. "ApiKeyAuth": []
  2089. }
  2090. ],
  2091. "produces": [
  2092. "application/json"
  2093. ],
  2094. "tags": [
  2095. "企业风险管理(app)"
  2096. ],
  2097. "summary": "查询敞口现货明细",
  2098. "parameters": [
  2099. {
  2100. "type": "integer",
  2101. "description": "所属机构ID",
  2102. "name": "areaUserId",
  2103. "in": "query",
  2104. "required": true
  2105. },
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品",
  2109. "name": "middleGoodsId",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureGoods": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口主力合约",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "套保商品id",
  2151. "name": "middlegoodsid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePosition": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "用户id",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryExposureHedgePositionDetail": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "userid",
  2236. "in": "query",
  2237. "required": true
  2238. },
  2239. {
  2240. "type": "integer",
  2241. "description": "商品id",
  2242. "name": "goodsId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpot": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. }
  2288. ],
  2289. "responses": {
  2290. "200": {
  2291. "description": "OK",
  2292. "schema": {
  2293. "type": "array",
  2294. "items": {
  2295. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2296. }
  2297. }
  2298. },
  2299. "500": {
  2300. "description": "Internal Server Error",
  2301. "schema": {
  2302. "$ref": "#/definitions/app.Response"
  2303. }
  2304. }
  2305. }
  2306. }
  2307. },
  2308. "/Ermcp/QueryExposureSpotDetail": {
  2309. "get": {
  2310. "security": [
  2311. {
  2312. "ApiKeyAuth": []
  2313. }
  2314. ],
  2315. "produces": [
  2316. "application/json"
  2317. ],
  2318. "tags": [
  2319. "企业风险管理(app)"
  2320. ],
  2321. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2322. "parameters": [
  2323. {
  2324. "type": "integer",
  2325. "description": "所属机构ID",
  2326. "name": "areaUserId",
  2327. "in": "query",
  2328. "required": true
  2329. },
  2330. {
  2331. "type": "integer",
  2332. "description": "现货品种ID",
  2333. "name": "wrstandardId",
  2334. "in": "query",
  2335. "required": true
  2336. }
  2337. ],
  2338. "responses": {
  2339. "200": {
  2340. "description": "OK",
  2341. "schema": {
  2342. "type": "array",
  2343. "items": {
  2344. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2345. }
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "Internal Server Error",
  2350. "schema": {
  2351. "$ref": "#/definitions/app.Response"
  2352. }
  2353. }
  2354. }
  2355. }
  2356. },
  2357. "/Ermcp/QueryFuturesCompany": {
  2358. "get": {
  2359. "security": [
  2360. {
  2361. "ApiKeyAuth": []
  2362. }
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "企业风险管理(app)"
  2369. ],
  2370. "summary": "查询期货公司",
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGGConvertConfig": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "品种id(不填则查所有)",
  2408. "name": "goodsgroupid",
  2409. "in": "query"
  2410. }
  2411. ],
  2412. "responses": {
  2413. "200": {
  2414. "description": "OK",
  2415. "schema": {
  2416. "type": "array",
  2417. "items": {
  2418. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2419. }
  2420. }
  2421. },
  2422. "500": {
  2423. "description": "Internal Server Error",
  2424. "schema": {
  2425. "$ref": "#/definitions/app.Response"
  2426. }
  2427. }
  2428. }
  2429. }
  2430. },
  2431. "/Ermcp/QueryGoodsBrand": {
  2432. "get": {
  2433. "security": [
  2434. {
  2435. "ApiKeyAuth": []
  2436. }
  2437. ],
  2438. "produces": [
  2439. "application/json"
  2440. ],
  2441. "tags": [
  2442. "企业风险管理(app)"
  2443. ],
  2444. "summary": "查询商品品牌",
  2445. "parameters": [
  2446. {
  2447. "type": "integer",
  2448. "description": "用户ID",
  2449. "name": "userid",
  2450. "in": "query",
  2451. "required": true
  2452. },
  2453. {
  2454. "type": "integer",
  2455. "description": "现货商品ID",
  2456. "name": "wrstandardid",
  2457. "in": "query"
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryGoodsModel": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询商品型号",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户ID",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. }
  2501. ],
  2502. "responses": {
  2503. "200": {
  2504. "description": "OK",
  2505. "schema": {
  2506. "type": "array",
  2507. "items": {
  2508. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2509. }
  2510. }
  2511. },
  2512. "500": {
  2513. "description": "Internal Server Error",
  2514. "schema": {
  2515. "$ref": "#/definitions/app.Response"
  2516. }
  2517. }
  2518. }
  2519. }
  2520. },
  2521. "/Ermcp/QueryHisExposure": {
  2522. "get": {
  2523. "security": [
  2524. {
  2525. "ApiKeyAuth": []
  2526. }
  2527. ],
  2528. "produces": [
  2529. "application/json"
  2530. ],
  2531. "tags": [
  2532. "企业风险管理(app)"
  2533. ],
  2534. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2535. "parameters": [
  2536. {
  2537. "type": "integer",
  2538. "description": "用户id",
  2539. "name": "userid",
  2540. "in": "query",
  2541. "required": true
  2542. },
  2543. {
  2544. "type": "integer",
  2545. "description": "每个品种记录数",
  2546. "name": "lastNum",
  2547. "in": "query",
  2548. "required": true
  2549. }
  2550. ],
  2551. "responses": {
  2552. "200": {
  2553. "description": "OK",
  2554. "schema": {
  2555. "type": "array",
  2556. "items": {
  2557. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2558. }
  2559. }
  2560. },
  2561. "500": {
  2562. "description": "Internal Server Error",
  2563. "schema": {
  2564. "$ref": "#/definitions/app.Response"
  2565. }
  2566. }
  2567. }
  2568. }
  2569. },
  2570. "/Ermcp/QueryMiddleGoods": {
  2571. "get": {
  2572. "security": [
  2573. {
  2574. "ApiKeyAuth": []
  2575. }
  2576. ],
  2577. "produces": [
  2578. "application/json"
  2579. ],
  2580. "tags": [
  2581. "企业风险管理(app)"
  2582. ],
  2583. "summary": "查询套保品种(菜单:套保品种)",
  2584. "parameters": [
  2585. {
  2586. "type": "integer",
  2587. "description": "所属机构ID",
  2588. "name": "userid",
  2589. "in": "query",
  2590. "required": true
  2591. },
  2592. {
  2593. "type": "integer",
  2594. "description": "状态 0-停用 1-正常",
  2595. "name": "status",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "userid",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "套保品种id",
  2644. "name": "middlegoodsid",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryMiddleGoodsDetail": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2682. "parameters": [
  2683. {
  2684. "type": "integer",
  2685. "description": "所属机构ID",
  2686. "name": "userid",
  2687. "in": "query",
  2688. "required": true
  2689. },
  2690. {
  2691. "type": "integer",
  2692. "description": "套保品种id",
  2693. "name": "middlegoodsid",
  2694. "in": "query"
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryPendingAuditInfo": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "用户ID",
  2734. "name": "UserId",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposure": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "所属机构ID",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. }
  2780. ],
  2781. "responses": {
  2782. "200": {
  2783. "description": "OK",
  2784. "schema": {
  2785. "type": "array",
  2786. "items": {
  2787. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2788. }
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/Ermcp/QueryRealtimeExposurePosition": {
  2801. "get": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "企业风险管理(app)"
  2812. ],
  2813. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2814. "parameters": [
  2815. {
  2816. "type": "integer",
  2817. "description": "用户id",
  2818. "name": "userid",
  2819. "in": "query",
  2820. "required": true
  2821. },
  2822. {
  2823. "type": "integer",
  2824. "description": "套保商品ID",
  2825. "name": "middleGoodsId",
  2826. "in": "query",
  2827. "required": true
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "type": "array",
  2835. "items": {
  2836. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2837. }
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Ermcp/QueryRoleMenu": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "企业风险管理(app)"
  2861. ],
  2862. "summary": "查询角色菜单和权限",
  2863. "parameters": [
  2864. {
  2865. "type": "integer",
  2866. "description": "登录ID",
  2867. "name": "loginid",
  2868. "in": "query",
  2869. "required": true
  2870. },
  2871. {
  2872. "type": "integer",
  2873. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2874. "name": "menutype",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.RoleMenu"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryTradeConfigTMP": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询交易模板配置",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构id",
  2915. "name": "areauserid",
  2916. "in": "query"
  2917. }
  2918. ],
  2919. "responses": {
  2920. "200": {
  2921. "description": "OK",
  2922. "schema": {
  2923. "type": "array",
  2924. "items": {
  2925. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2926. }
  2927. }
  2928. },
  2929. "500": {
  2930. "description": "Internal Server Error",
  2931. "schema": {
  2932. "$ref": "#/definitions/app.Response"
  2933. }
  2934. }
  2935. }
  2936. }
  2937. },
  2938. "/Ermcp/QueryUserInfo": {
  2939. "get": {
  2940. "security": [
  2941. {
  2942. "ApiKeyAuth": []
  2943. }
  2944. ],
  2945. "produces": [
  2946. "application/json"
  2947. ],
  2948. "tags": [
  2949. "企业风险管理(app)"
  2950. ],
  2951. "summary": "查询客户资料",
  2952. "parameters": [
  2953. {
  2954. "type": "integer",
  2955. "description": "所属机构用户ID",
  2956. "name": "MemberUserID",
  2957. "in": "query",
  2958. "required": true
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2963. "name": "queryType",
  2964. "in": "query",
  2965. "required": true
  2966. }
  2967. ],
  2968. "responses": {
  2969. "200": {
  2970. "description": "OK",
  2971. "schema": {
  2972. "type": "array",
  2973. "items": {
  2974. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2975. }
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "Internal Server Error",
  2980. "schema": {
  2981. "$ref": "#/definitions/app.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/Ermcp/QueryWarehouseInfo": {
  2988. "get": {
  2989. "security": [
  2990. {
  2991. "ApiKeyAuth": []
  2992. }
  2993. ],
  2994. "produces": [
  2995. "application/json"
  2996. ],
  2997. "tags": [
  2998. "企业风险管理(app)"
  2999. ],
  3000. "summary": "查询仓库信息",
  3001. "parameters": [
  3002. {
  3003. "type": "integer",
  3004. "description": "用户ID",
  3005. "name": "userid",
  3006. "in": "query",
  3007. "required": true
  3008. },
  3009. {
  3010. "type": "string",
  3011. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3012. "name": "status",
  3013. "in": "query"
  3014. }
  3015. ],
  3016. "responses": {
  3017. "200": {
  3018. "description": "OK",
  3019. "schema": {
  3020. "type": "array",
  3021. "items": {
  3022. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3023. }
  3024. }
  3025. },
  3026. "500": {
  3027. "description": "Internal Server Error",
  3028. "schema": {
  3029. "$ref": "#/definitions/app.Response"
  3030. }
  3031. }
  3032. }
  3033. }
  3034. },
  3035. "/Ermcp3/QryAreaExpourseContractDetail": {
  3036. "get": {
  3037. "security": [
  3038. {
  3039. "ApiKeyAuth": []
  3040. }
  3041. ],
  3042. "produces": [
  3043. "application/json"
  3044. ],
  3045. "tags": [
  3046. "企业风险管理v3(app)"
  3047. ],
  3048. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3049. "parameters": [
  3050. {
  3051. "type": "integer",
  3052. "description": "用户ID",
  3053. "name": "userid",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "套保商品id",
  3060. "name": "middlegoodsid",
  3061. "in": "query",
  3062. "required": true
  3063. },
  3064. {
  3065. "type": "integer",
  3066. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3067. "name": "cycletype",
  3068. "in": "query",
  3069. "required": true
  3070. },
  3071. {
  3072. "type": "string",
  3073. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3074. "name": "cycletime",
  3075. "in": "query",
  3076. "required": true
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "OK",
  3082. "schema": {
  3083. "type": "array",
  3084. "items": {
  3085. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3086. }
  3087. }
  3088. },
  3089. "500": {
  3090. "description": "Internal Server Error",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. }
  3095. }
  3096. }
  3097. },
  3098. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3099. "get": {
  3100. "security": [
  3101. {
  3102. "ApiKeyAuth": []
  3103. }
  3104. ],
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "企业风险管理v3(app)"
  3110. ],
  3111. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3112. "parameters": [
  3113. {
  3114. "type": "integer",
  3115. "description": "用户ID",
  3116. "name": "userid",
  3117. "in": "query",
  3118. "required": true
  3119. },
  3120. {
  3121. "type": "integer",
  3122. "description": "套保商品id",
  3123. "name": "middlegoodsid",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3130. "name": "cycletype",
  3131. "in": "query",
  3132. "required": true
  3133. },
  3134. {
  3135. "type": "string",
  3136. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3137. "name": "cycletime",
  3138. "in": "query",
  3139. "required": true
  3140. }
  3141. ],
  3142. "responses": {
  3143. "200": {
  3144. "description": "OK",
  3145. "schema": {
  3146. "type": "array",
  3147. "items": {
  3148. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3149. }
  3150. }
  3151. },
  3152. "500": {
  3153. "description": "Internal Server Error",
  3154. "schema": {
  3155. "$ref": "#/definitions/app.Response"
  3156. }
  3157. }
  3158. }
  3159. }
  3160. },
  3161. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3162. "get": {
  3163. "security": [
  3164. {
  3165. "ApiKeyAuth": []
  3166. }
  3167. ],
  3168. "produces": [
  3169. "application/json"
  3170. ],
  3171. "tags": [
  3172. "企业风险管理v3(app)"
  3173. ],
  3174. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3175. "parameters": [
  3176. {
  3177. "type": "integer",
  3178. "description": "用户ID",
  3179. "name": "userid",
  3180. "in": "query",
  3181. "required": true
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "套保商品id",
  3186. "name": "middlegoodsid",
  3187. "in": "query",
  3188. "required": true
  3189. },
  3190. {
  3191. "type": "integer",
  3192. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3193. "name": "cycletype",
  3194. "in": "query",
  3195. "required": true
  3196. },
  3197. {
  3198. "type": "string",
  3199. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3200. "name": "cycletime",
  3201. "in": "query",
  3202. "required": true
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "type": "array",
  3210. "items": {
  3211. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3212. }
  3213. }
  3214. },
  3215. "500": {
  3216. "description": "Internal Server Error",
  3217. "schema": {
  3218. "$ref": "#/definitions/app.Response"
  3219. }
  3220. }
  3221. }
  3222. }
  3223. },
  3224. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3225. "get": {
  3226. "security": [
  3227. {
  3228. "ApiKeyAuth": []
  3229. }
  3230. ],
  3231. "produces": [
  3232. "application/json"
  3233. ],
  3234. "tags": [
  3235. "企业风险管理v3(app)"
  3236. ],
  3237. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3238. "parameters": [
  3239. {
  3240. "type": "integer",
  3241. "description": "用户ID",
  3242. "name": "userid",
  3243. "in": "query",
  3244. "required": true
  3245. },
  3246. {
  3247. "type": "integer",
  3248. "description": "套保商品id",
  3249. "name": "middlegoodsid",
  3250. "in": "query",
  3251. "required": true
  3252. },
  3253. {
  3254. "type": "integer",
  3255. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3256. "name": "cycletype",
  3257. "in": "query",
  3258. "required": true
  3259. },
  3260. {
  3261. "type": "string",
  3262. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3263. "name": "cycletime",
  3264. "in": "query",
  3265. "required": true
  3266. }
  3267. ],
  3268. "responses": {
  3269. "200": {
  3270. "description": "OK",
  3271. "schema": {
  3272. "type": "array",
  3273. "items": {
  3274. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3275. }
  3276. }
  3277. },
  3278. "500": {
  3279. "description": "Internal Server Error",
  3280. "schema": {
  3281. "$ref": "#/definitions/app.Response"
  3282. }
  3283. }
  3284. }
  3285. }
  3286. },
  3287. "/Ermcp3/QryAreaExpourseReport": {
  3288. "get": {
  3289. "security": [
  3290. {
  3291. "ApiKeyAuth": []
  3292. }
  3293. ],
  3294. "produces": [
  3295. "application/json"
  3296. ],
  3297. "tags": [
  3298. "企业风险管理v3(app)"
  3299. ],
  3300. "summary": "查询敞口报表",
  3301. "parameters": [
  3302. {
  3303. "type": "integer",
  3304. "description": "用户ID",
  3305. "name": "userid",
  3306. "in": "query",
  3307. "required": true
  3308. },
  3309. {
  3310. "type": "integer",
  3311. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3312. "name": "querytype",
  3313. "in": "query",
  3314. "required": true
  3315. },
  3316. {
  3317. "type": "integer",
  3318. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3319. "name": "cycletype",
  3320. "in": "query",
  3321. "required": true
  3322. },
  3323. {
  3324. "type": "string",
  3325. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3326. "name": "cycletime",
  3327. "in": "query",
  3328. "required": true
  3329. }
  3330. ],
  3331. "responses": {
  3332. "200": {
  3333. "description": "OK",
  3334. "schema": {
  3335. "type": "array",
  3336. "items": {
  3337. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3338. }
  3339. }
  3340. },
  3341. "500": {
  3342. "description": "Internal Server Error",
  3343. "schema": {
  3344. "$ref": "#/definitions/app.Response"
  3345. }
  3346. }
  3347. }
  3348. }
  3349. },
  3350. "/Ermcp3/QryAreaSpotplReport": {
  3351. "get": {
  3352. "security": [
  3353. {
  3354. "ApiKeyAuth": []
  3355. }
  3356. ],
  3357. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3358. "produces": [
  3359. "application/json"
  3360. ],
  3361. "tags": [
  3362. "企业风险管理v3(app)"
  3363. ],
  3364. "summary": "查询现货报表",
  3365. "parameters": [
  3366. {
  3367. "type": "integer",
  3368. "description": "用户ID",
  3369. "name": "userid",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "查询类型 1-报表 2-报表明细",
  3376. "name": "querytype",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "integer",
  3382. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3383. "name": "cycletype",
  3384. "in": "query",
  3385. "required": true
  3386. },
  3387. {
  3388. "type": "string",
  3389. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3390. "name": "cycletime",
  3391. "in": "query",
  3392. "required": true
  3393. },
  3394. {
  3395. "type": "integer",
  3396. "description": "现货品种id(明细必填)",
  3397. "name": "deliverygoodsid",
  3398. "in": "query"
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "币种id(明细必填)",
  3403. "name": "currencyid",
  3404. "in": "query"
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "日/周/月报表汇总维度 1:品种+品类",
  3409. "name": "sumflag",
  3410. "in": "query"
  3411. }
  3412. ],
  3413. "responses": {
  3414. "200": {
  3415. "description": "OK",
  3416. "schema": {
  3417. "type": "array",
  3418. "items": {
  3419. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3420. }
  3421. }
  3422. },
  3423. "500": {
  3424. "description": "Internal Server Error",
  3425. "schema": {
  3426. "$ref": "#/definitions/app.Response"
  3427. }
  3428. }
  3429. }
  3430. }
  3431. },
  3432. "/Ermcp3/QryAreaStockReport": {
  3433. "get": {
  3434. "security": [
  3435. {
  3436. "ApiKeyAuth": []
  3437. }
  3438. ],
  3439. "produces": [
  3440. "application/json"
  3441. ],
  3442. "tags": [
  3443. "企业风险管理v3(app)"
  3444. ],
  3445. "summary": "查询库存报表",
  3446. "parameters": [
  3447. {
  3448. "type": "integer",
  3449. "description": "用户ID",
  3450. "name": "userid",
  3451. "in": "query",
  3452. "required": true
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "查询类型 1-报表 2-报表明细",
  3457. "name": "querytype",
  3458. "in": "query",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3464. "name": "cycletype",
  3465. "in": "query",
  3466. "required": true
  3467. },
  3468. {
  3469. "type": "string",
  3470. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3471. "name": "cycletime",
  3472. "in": "query",
  3473. "required": true
  3474. },
  3475. {
  3476. "type": "string",
  3477. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3478. "name": "sumfields",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品种ID",
  3484. "name": "deliverygoodsid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "品类ID",
  3490. "name": "wrstandardid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品牌ID",
  3496. "name": "spotgoodsbrandid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "仓库ID",
  3502. "name": "warehouseinfoid",
  3503. "in": "query"
  3504. }
  3505. ],
  3506. "responses": {
  3507. "200": {
  3508. "description": "OK",
  3509. "schema": {
  3510. "type": "array",
  3511. "items": {
  3512. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3513. }
  3514. }
  3515. },
  3516. "500": {
  3517. "description": "Internal Server Error",
  3518. "schema": {
  3519. "$ref": "#/definitions/app.Response"
  3520. }
  3521. }
  3522. }
  3523. }
  3524. },
  3525. "/Ermcp3/QryAreaSumPL": {
  3526. "get": {
  3527. "security": [
  3528. {
  3529. "ApiKeyAuth": []
  3530. }
  3531. ],
  3532. "produces": [
  3533. "application/json"
  3534. ],
  3535. "tags": [
  3536. "企业风险管理v3(app)"
  3537. ],
  3538. "summary": "查询汇总损益表",
  3539. "parameters": [
  3540. {
  3541. "type": "integer",
  3542. "description": "用户ID",
  3543. "name": "userid",
  3544. "in": "query",
  3545. "required": true
  3546. },
  3547. {
  3548. "type": "integer",
  3549. "description": "查询类型 1-报表 2-报表明细",
  3550. "name": "querytype",
  3551. "in": "query",
  3552. "required": true
  3553. },
  3554. {
  3555. "type": "integer",
  3556. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3557. "name": "cycletype",
  3558. "in": "query",
  3559. "required": true
  3560. },
  3561. {
  3562. "type": "string",
  3563. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3564. "name": "cycletime",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "币种id(明细必填)",
  3571. "name": "currencyid",
  3572. "in": "query"
  3573. }
  3574. ],
  3575. "responses": {
  3576. "200": {
  3577. "description": "OK",
  3578. "schema": {
  3579. "type": "array",
  3580. "items": {
  3581. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3582. }
  3583. }
  3584. },
  3585. "500": {
  3586. "description": "Internal Server Error",
  3587. "schema": {
  3588. "$ref": "#/definitions/app.Response"
  3589. }
  3590. }
  3591. }
  3592. }
  3593. },
  3594. "/Ermcp3/QryFinanceReport": {
  3595. "get": {
  3596. "security": [
  3597. {
  3598. "ApiKeyAuth": []
  3599. }
  3600. ],
  3601. "produces": [
  3602. "application/json"
  3603. ],
  3604. "tags": [
  3605. "企业风险管理v3(app)"
  3606. ],
  3607. "summary": "查询财务报表",
  3608. "parameters": [
  3609. {
  3610. "type": "integer",
  3611. "description": "用户ID",
  3612. "name": "userid",
  3613. "in": "query",
  3614. "required": true
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "查询类型 1-报表 2-报表明细",
  3619. "name": "querytype",
  3620. "in": "query",
  3621. "required": true
  3622. },
  3623. {
  3624. "type": "integer",
  3625. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3626. "name": "cycletype",
  3627. "in": "query",
  3628. "required": true
  3629. },
  3630. {
  3631. "type": "string",
  3632. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3633. "name": "cycletime",
  3634. "in": "query",
  3635. "required": true
  3636. },
  3637. {
  3638. "type": "integer",
  3639. "description": "币种id(报表明细必填)",
  3640. "name": "currencyid",
  3641. "in": "query"
  3642. },
  3643. {
  3644. "type": "string",
  3645. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3646. "name": "sumfields",
  3647. "in": "query"
  3648. }
  3649. ],
  3650. "responses": {
  3651. "200": {
  3652. "description": "OK",
  3653. "schema": {
  3654. "type": "array",
  3655. "items": {
  3656. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3657. }
  3658. }
  3659. },
  3660. "500": {
  3661. "description": "Internal Server Error",
  3662. "schema": {
  3663. "$ref": "#/definitions/app.Response"
  3664. }
  3665. }
  3666. }
  3667. }
  3668. },
  3669. "/Ermcp3/QrySCMiddleGoodsReport": {
  3670. "get": {
  3671. "security": [
  3672. {
  3673. "ApiKeyAuth": []
  3674. }
  3675. ],
  3676. "produces": [
  3677. "application/json"
  3678. ],
  3679. "tags": [
  3680. "企业风险管理v3(app)"
  3681. ],
  3682. "summary": "查询定价报表",
  3683. "parameters": [
  3684. {
  3685. "type": "integer",
  3686. "description": "用户ID",
  3687. "name": "userid",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "合同id",
  3708. "name": "spotcontractid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "套保品种id",
  3714. "name": "middlegoodsid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "现货品种id",
  3720. "name": "deliverygoodsid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "现货商品id",
  3726. "name": "wrstandardid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "string",
  3731. "description": "合同编号(模糊匹配)",
  3732. "name": "contractno",
  3733. "in": "query"
  3734. }
  3735. ],
  3736. "responses": {
  3737. "200": {
  3738. "description": "OK",
  3739. "schema": {
  3740. "type": "array",
  3741. "items": {
  3742. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3743. }
  3744. }
  3745. },
  3746. "500": {
  3747. "description": "Internal Server Error",
  3748. "schema": {
  3749. "$ref": "#/definitions/app.Response"
  3750. }
  3751. }
  3752. }
  3753. }
  3754. },
  3755. "/Ermcp3/QryTaFutureDataReport": {
  3756. "get": {
  3757. "security": [
  3758. {
  3759. "ApiKeyAuth": []
  3760. }
  3761. ],
  3762. "produces": [
  3763. "application/json"
  3764. ],
  3765. "tags": [
  3766. "企业风险管理v3(app)"
  3767. ],
  3768. "summary": "查询期货报表",
  3769. "parameters": [
  3770. {
  3771. "type": "integer",
  3772. "description": "用户ID",
  3773. "name": "userid",
  3774. "in": "query",
  3775. "required": true
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "查询类型 1-报表 2-报表明细",
  3780. "name": "querytype",
  3781. "in": "query",
  3782. "required": true
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3787. "name": "cycletype",
  3788. "in": "query",
  3789. "required": true
  3790. },
  3791. {
  3792. "type": "string",
  3793. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3794. "name": "cycletime",
  3795. "in": "query",
  3796. "required": true
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "币种id(查明细必填)",
  3801. "name": "currencyid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品种id(查明细必填)",
  3807. "name": "goodsgroupid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "商品id(查明细必填)",
  3813. "name": "goodsid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "买卖方向(查明细必填)",
  3819. "name": "buyorsell",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QueryAreaStock": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询机构库存(库存管理/当前库存)",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户ID",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. }
  3864. ],
  3865. "responses": {
  3866. "200": {
  3867. "description": "OK",
  3868. "schema": {
  3869. "type": "array",
  3870. "items": {
  3871. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3872. }
  3873. }
  3874. },
  3875. "500": {
  3876. "description": "Internal Server Error",
  3877. "schema": {
  3878. "$ref": "#/definitions/app.Response"
  3879. }
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "/Ermcp3/QueryAreaStockApply": {
  3885. "get": {
  3886. "security": [
  3887. {
  3888. "ApiKeyAuth": []
  3889. }
  3890. ],
  3891. "produces": [
  3892. "application/json"
  3893. ],
  3894. "tags": [
  3895. "企业风险管理v3(app)"
  3896. ],
  3897. "summary": "查询库存申请(出入库记录|库存审核)",
  3898. "parameters": [
  3899. {
  3900. "type": "integer",
  3901. "description": "用户ID",
  3902. "name": "userid",
  3903. "in": "query",
  3904. "required": true
  3905. },
  3906. {
  3907. "type": "integer",
  3908. "description": "用户类型 2-机构 7-企业成员",
  3909. "name": "usertype",
  3910. "in": "query"
  3911. },
  3912. {
  3913. "type": "integer",
  3914. "description": "现货商品ID",
  3915. "name": "deliverygoodsid",
  3916. "in": "query"
  3917. },
  3918. {
  3919. "type": "string",
  3920. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3921. "name": "inouttype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "合同ID",
  3927. "name": "spotcontractid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "品类ID",
  3933. "name": "wrstandardid",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "品牌ID",
  3939. "name": "spotgoodsbrandid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "仓库ID",
  3945. "name": "warehouseinfoid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "string",
  3950. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3951. "name": "applystatus",
  3952. "in": "query"
  3953. }
  3954. ],
  3955. "responses": {
  3956. "200": {
  3957. "description": "OK",
  3958. "schema": {
  3959. "type": "array",
  3960. "items": {
  3961. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3962. }
  3963. }
  3964. },
  3965. "500": {
  3966. "description": "Internal Server Error",
  3967. "schema": {
  3968. "$ref": "#/definitions/app.Response"
  3969. }
  3970. }
  3971. }
  3972. }
  3973. },
  3974. "/Ermcp3/QueryAreaStockApplySum": {
  3975. "get": {
  3976. "security": [
  3977. {
  3978. "ApiKeyAuth": []
  3979. }
  3980. ],
  3981. "produces": [
  3982. "application/json"
  3983. ],
  3984. "tags": [
  3985. "企业风险管理v3(app)"
  3986. ],
  3987. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3988. "parameters": [
  3989. {
  3990. "type": "integer",
  3991. "description": "合同ID",
  3992. "name": "spotcontractid",
  3993. "in": "query",
  3994. "required": true
  3995. }
  3996. ],
  3997. "responses": {
  3998. "200": {
  3999. "description": "OK",
  4000. "schema": {
  4001. "type": "array",
  4002. "items": {
  4003. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4004. }
  4005. }
  4006. },
  4007. "500": {
  4008. "description": "Internal Server Error",
  4009. "schema": {
  4010. "$ref": "#/definitions/app.Response"
  4011. }
  4012. }
  4013. }
  4014. }
  4015. },
  4016. "/Ermcp3/QueryDGFactoryItem": {
  4017. "get": {
  4018. "security": [
  4019. {
  4020. "ApiKeyAuth": []
  4021. }
  4022. ],
  4023. "produces": [
  4024. "application/json"
  4025. ],
  4026. "tags": [
  4027. "企业风险管理v3(app)"
  4028. ],
  4029. "summary": "查询品种要素定义项",
  4030. "parameters": [
  4031. {
  4032. "type": "integer",
  4033. "description": "用户id",
  4034. "name": "userid",
  4035. "in": "query"
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "用户类型 2-机构 7-企业成员",
  4040. "name": "usertype",
  4041. "in": "query"
  4042. },
  4043. {
  4044. "type": "integer",
  4045. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4046. "name": "dgfactoryitemid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "现货品种ID",
  4052. "name": "deliverygoodsid",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "要素项类型",
  4058. "name": "dgfactoryitemtypeid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "顺序",
  4064. "name": "orderindex",
  4065. "in": "query"
  4066. }
  4067. ],
  4068. "responses": {
  4069. "200": {
  4070. "description": "OK",
  4071. "schema": {
  4072. "type": "array",
  4073. "items": {
  4074. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4075. }
  4076. }
  4077. },
  4078. "500": {
  4079. "description": "Internal Server Error",
  4080. "schema": {
  4081. "$ref": "#/definitions/app.Response"
  4082. }
  4083. }
  4084. }
  4085. }
  4086. },
  4087. "/Ermcp3/QueryDeliveryGoods": {
  4088. "get": {
  4089. "security": [
  4090. {
  4091. "ApiKeyAuth": []
  4092. }
  4093. ],
  4094. "produces": [
  4095. "application/json"
  4096. ],
  4097. "tags": [
  4098. "企业风险管理v3(app)"
  4099. ],
  4100. "summary": "查询现货商品",
  4101. "parameters": [
  4102. {
  4103. "type": "integer",
  4104. "description": "用户id",
  4105. "name": "userid",
  4106. "in": "query",
  4107. "required": true
  4108. },
  4109. {
  4110. "type": "integer",
  4111. "description": "用户类型 2-机构 7-企业成员",
  4112. "name": "usertype",
  4113. "in": "query"
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4118. "name": "excludecfg",
  4119. "in": "query"
  4120. }
  4121. ],
  4122. "responses": {
  4123. "200": {
  4124. "description": "OK",
  4125. "schema": {
  4126. "type": "array",
  4127. "items": {
  4128. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4129. }
  4130. }
  4131. },
  4132. "500": {
  4133. "description": "Internal Server Error",
  4134. "schema": {
  4135. "$ref": "#/definitions/app.Response"
  4136. }
  4137. }
  4138. }
  4139. }
  4140. },
  4141. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4142. "get": {
  4143. "security": [
  4144. {
  4145. "ApiKeyAuth": []
  4146. }
  4147. ],
  4148. "produces": [
  4149. "application/json"
  4150. ],
  4151. "tags": [
  4152. "企业风险管理v3(app)"
  4153. ],
  4154. "summary": "查询现货商品详情",
  4155. "parameters": [
  4156. {
  4157. "type": "integer",
  4158. "description": "用户id",
  4159. "name": "userid",
  4160. "in": "query",
  4161. "required": true
  4162. },
  4163. {
  4164. "type": "integer",
  4165. "description": "用户类型 2-机构 7-企业成员",
  4166. "name": "usertype",
  4167. "in": "query"
  4168. },
  4169. {
  4170. "type": "integer",
  4171. "description": "现货商品id",
  4172. "name": "deliverygoodsid",
  4173. "in": "query"
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4178. "name": "filtersubempty",
  4179. "in": "query"
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.XHDeliveryGoods"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryExposureDetail": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询敞口现货明细",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户id",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "套保商品",
  4232. "name": "middlegoodsid",
  4233. "in": "query",
  4234. "required": true
  4235. }
  4236. ],
  4237. "responses": {
  4238. "200": {
  4239. "description": "OK",
  4240. "schema": {
  4241. "type": "array",
  4242. "items": {
  4243. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4244. }
  4245. }
  4246. },
  4247. "500": {
  4248. "description": "Internal Server Error",
  4249. "schema": {
  4250. "$ref": "#/definitions/app.Response"
  4251. }
  4252. }
  4253. }
  4254. }
  4255. },
  4256. "/Ermcp3/QueryExposureSpot": {
  4257. "get": {
  4258. "security": [
  4259. {
  4260. "ApiKeyAuth": []
  4261. }
  4262. ],
  4263. "produces": [
  4264. "application/json"
  4265. ],
  4266. "tags": [
  4267. "企业风险管理v3(app)"
  4268. ],
  4269. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4270. "parameters": [
  4271. {
  4272. "type": "integer",
  4273. "description": "用户id",
  4274. "name": "userid",
  4275. "in": "query",
  4276. "required": true
  4277. },
  4278. {
  4279. "type": "integer",
  4280. "description": "用户类型 2-机构 7-企业成员",
  4281. "name": "usertype",
  4282. "in": "query"
  4283. }
  4284. ],
  4285. "responses": {
  4286. "200": {
  4287. "description": "OK",
  4288. "schema": {
  4289. "type": "array",
  4290. "items": {
  4291. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4292. }
  4293. }
  4294. },
  4295. "500": {
  4296. "description": "Internal Server Error",
  4297. "schema": {
  4298. "$ref": "#/definitions/app.Response"
  4299. }
  4300. }
  4301. }
  4302. }
  4303. },
  4304. "/Ermcp3/QueryExposureSpotDetail": {
  4305. "get": {
  4306. "security": [
  4307. {
  4308. "ApiKeyAuth": []
  4309. }
  4310. ],
  4311. "produces": [
  4312. "application/json"
  4313. ],
  4314. "tags": [
  4315. "企业风险管理v3(app)"
  4316. ],
  4317. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4318. "parameters": [
  4319. {
  4320. "type": "integer",
  4321. "description": "用户id",
  4322. "name": "userid",
  4323. "in": "query",
  4324. "required": true
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "用户类型 2-机构 7-企业成员",
  4329. "name": "usertype",
  4330. "in": "query"
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "现货商品ID",
  4335. "name": "wrstandardid",
  4336. "in": "query",
  4337. "required": true
  4338. }
  4339. ],
  4340. "responses": {
  4341. "200": {
  4342. "description": "OK",
  4343. "schema": {
  4344. "type": "array",
  4345. "items": {
  4346. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4347. }
  4348. }
  4349. },
  4350. "500": {
  4351. "description": "Internal Server Error",
  4352. "schema": {
  4353. "$ref": "#/definitions/app.Response"
  4354. }
  4355. }
  4356. }
  4357. }
  4358. },
  4359. "/Ermcp3/QueryGoodsGroup": {
  4360. "get": {
  4361. "security": [
  4362. {
  4363. "ApiKeyAuth": []
  4364. }
  4365. ],
  4366. "produces": [
  4367. "application/json"
  4368. ],
  4369. "tags": [
  4370. "企业风险管理v3(app)"
  4371. ],
  4372. "summary": "查询期货商品组",
  4373. "parameters": [
  4374. {
  4375. "type": "integer",
  4376. "description": "用户id",
  4377. "name": "userid",
  4378. "in": "query",
  4379. "required": true
  4380. },
  4381. {
  4382. "type": "integer",
  4383. "description": "用户类型 2-机构 7-企业成员",
  4384. "name": "usertype",
  4385. "in": "query"
  4386. },
  4387. {
  4388. "type": "integer",
  4389. "description": "排除套保品中已关联的商品组 1-排除",
  4390. "name": "excludecfg",
  4391. "in": "query"
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsWrstandard": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询商品品类",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "现货商品id",
  4444. "name": "deliverygoodsid",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsbrand": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品牌",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. }
  4495. ],
  4496. "responses": {
  4497. "200": {
  4498. "description": "OK",
  4499. "schema": {
  4500. "type": "array",
  4501. "items": {
  4502. "$ref": "#/definitions/models.Ermcp3Brand"
  4503. }
  4504. }
  4505. },
  4506. "500": {
  4507. "description": "Internal Server Error",
  4508. "schema": {
  4509. "$ref": "#/definitions/app.Response"
  4510. }
  4511. }
  4512. }
  4513. }
  4514. },
  4515. "/Ermcp3/QueryHedgePlan": {
  4516. "get": {
  4517. "security": [
  4518. {
  4519. "ApiKeyAuth": []
  4520. }
  4521. ],
  4522. "produces": [
  4523. "application/json"
  4524. ],
  4525. "tags": [
  4526. "企业风险管理v3(app)"
  4527. ],
  4528. "summary": "查询套保计划",
  4529. "parameters": [
  4530. {
  4531. "type": "integer",
  4532. "description": "用户ID",
  4533. "name": "userid",
  4534. "in": "query",
  4535. "required": true
  4536. },
  4537. {
  4538. "type": "integer",
  4539. "description": "用户类型 2-机构 7-企业成员",
  4540. "name": "usertype",
  4541. "in": "query"
  4542. },
  4543. {
  4544. "type": "string",
  4545. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4546. "name": "hedgeplanstatus",
  4547. "in": "query",
  4548. "required": true
  4549. }
  4550. ],
  4551. "responses": {
  4552. "200": {
  4553. "description": "OK",
  4554. "schema": {
  4555. "type": "array",
  4556. "items": {
  4557. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4558. }
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Ermcp3/QueryInnerTradeLink": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4578. "produces": [
  4579. "application/json"
  4580. ],
  4581. "tags": [
  4582. "企业风险管理v3(app)"
  4583. ],
  4584. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4585. "parameters": [
  4586. {
  4587. "type": "integer",
  4588. "description": "外部成交单号",
  4589. "name": "outtradeid",
  4590. "in": "query",
  4591. "required": true
  4592. }
  4593. ],
  4594. "responses": {
  4595. "200": {
  4596. "description": "OK",
  4597. "schema": {
  4598. "type": "array",
  4599. "items": {
  4600. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4601. }
  4602. }
  4603. },
  4604. "500": {
  4605. "description": "Internal Server Error",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. }
  4610. }
  4611. }
  4612. },
  4613. "/Ermcp3/QueryMiddleGoodsDetail": {
  4614. "get": {
  4615. "security": [
  4616. {
  4617. "ApiKeyAuth": []
  4618. }
  4619. ],
  4620. "produces": [
  4621. "application/json"
  4622. ],
  4623. "tags": [
  4624. "企业风险管理v3(app)"
  4625. ],
  4626. "summary": "查询套保品种详情(套保品种/商品详情)",
  4627. "parameters": [
  4628. {
  4629. "type": "integer",
  4630. "description": "用户id",
  4631. "name": "userid",
  4632. "in": "query",
  4633. "required": true
  4634. },
  4635. {
  4636. "type": "integer",
  4637. "description": "用户类型 2-机构 7-企业成员",
  4638. "name": "usertype",
  4639. "in": "query"
  4640. },
  4641. {
  4642. "type": "integer",
  4643. "description": "套保品种id",
  4644. "name": "middlegoodsid",
  4645. "in": "query"
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "type": "array",
  4653. "items": {
  4654. "$ref": "#/definitions/models.TBMiddleGoods"
  4655. }
  4656. }
  4657. },
  4658. "500": {
  4659. "description": "Internal Server Error",
  4660. "schema": {
  4661. "$ref": "#/definitions/app.Response"
  4662. }
  4663. }
  4664. }
  4665. }
  4666. },
  4667. "/Ermcp3/QueryOutTradeLink": {
  4668. "get": {
  4669. "security": [
  4670. {
  4671. "ApiKeyAuth": []
  4672. }
  4673. ],
  4674. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4675. "produces": [
  4676. "application/json"
  4677. ],
  4678. "tags": [
  4679. "企业风险管理v3(app)"
  4680. ],
  4681. "summary": "查询外部成交单关联",
  4682. "parameters": [
  4683. {
  4684. "type": "integer",
  4685. "description": "用户ID(填登录用户的userid)",
  4686. "name": "userid",
  4687. "in": "query",
  4688. "required": true
  4689. },
  4690. {
  4691. "type": "string",
  4692. "description": "外部订单号(模糊匹配)",
  4693. "name": "outtradeid",
  4694. "in": "query"
  4695. },
  4696. {
  4697. "type": "string",
  4698. "description": "合约名称/代码(模糊匹配)",
  4699. "name": "goodsname",
  4700. "in": "query"
  4701. },
  4702. {
  4703. "type": "integer",
  4704. "description": "关联状态 0-未关联 1-已关联",
  4705. "name": "hasinnerorder",
  4706. "in": "query"
  4707. }
  4708. ],
  4709. "responses": {
  4710. "200": {
  4711. "description": "OK",
  4712. "schema": {
  4713. "type": "array",
  4714. "items": {
  4715. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4716. }
  4717. }
  4718. },
  4719. "500": {
  4720. "description": "Internal Server Error",
  4721. "schema": {
  4722. "$ref": "#/definitions/app.Response"
  4723. }
  4724. }
  4725. }
  4726. }
  4727. },
  4728. "/Ermcp3/QueryPaAreaAuditCfg": {
  4729. "get": {
  4730. "security": [
  4731. {
  4732. "ApiKeyAuth": []
  4733. }
  4734. ],
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "企业风险管理v3(app)"
  4740. ],
  4741. "summary": "查询审核设置",
  4742. "parameters": [
  4743. {
  4744. "type": "integer",
  4745. "description": "用户id",
  4746. "name": "userid",
  4747. "in": "query",
  4748. "required": true
  4749. }
  4750. ],
  4751. "responses": {
  4752. "200": {
  4753. "description": "OK",
  4754. "schema": {
  4755. "type": "array",
  4756. "items": {
  4757. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4758. }
  4759. }
  4760. },
  4761. "500": {
  4762. "description": "Internal Server Error",
  4763. "schema": {
  4764. "$ref": "#/definitions/app.Response"
  4765. }
  4766. }
  4767. }
  4768. }
  4769. },
  4770. "/Ermcp3/QueryPaAreaSubject": {
  4771. "get": {
  4772. "security": [
  4773. {
  4774. "ApiKeyAuth": []
  4775. }
  4776. ],
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "企业风险管理v3(app)"
  4782. ],
  4783. "summary": "查询交易主体",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "用户id",
  4788. "name": "userid",
  4789. "in": "query",
  4790. "required": true
  4791. },
  4792. {
  4793. "type": "integer",
  4794. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4795. "name": "subjectid",
  4796. "in": "query"
  4797. },
  4798. {
  4799. "type": "integer",
  4800. "description": "主体类型 - 1:交易主体 2:业务部门",
  4801. "name": "subjecttype",
  4802. "in": "query"
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "主体状态 - 1:正常 2: 停用",
  4807. "name": "subjectstatus",
  4808. "in": "query"
  4809. }
  4810. ],
  4811. "responses": {
  4812. "200": {
  4813. "description": "OK",
  4814. "schema": {
  4815. "type": "array",
  4816. "items": {
  4817. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4818. }
  4819. }
  4820. },
  4821. "500": {
  4822. "description": "Internal Server Error",
  4823. "schema": {
  4824. "$ref": "#/definitions/app.Response"
  4825. }
  4826. }
  4827. }
  4828. }
  4829. },
  4830. "/Ermcp3/QueryPaTradeLink": {
  4831. "get": {
  4832. "security": [
  4833. {
  4834. "ApiKeyAuth": []
  4835. }
  4836. ],
  4837. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4838. "produces": [
  4839. "application/json"
  4840. ],
  4841. "tags": [
  4842. "企业风险管理v3(app)"
  4843. ],
  4844. "summary": "查询期现单据关联",
  4845. "parameters": [
  4846. {
  4847. "type": "integer",
  4848. "description": "用户ID",
  4849. "name": "userid",
  4850. "in": "query",
  4851. "required": true
  4852. }
  4853. ],
  4854. "responses": {
  4855. "200": {
  4856. "description": "OK",
  4857. "schema": {
  4858. "type": "array",
  4859. "items": {
  4860. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4861. }
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/Ermcp3/QueryPaTradeLinkDetail": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询期现关联记录",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "关联状态 1:成功 2:失败 3:解绑",
  4899. "name": "linkstatus",
  4900. "in": "query"
  4901. },
  4902. {
  4903. "type": "string",
  4904. "description": "期货订单号(模糊匹配)",
  4905. "name": "tradeid",
  4906. "in": "query"
  4907. },
  4908. {
  4909. "type": "string",
  4910. "description": "现货编号(模糊匹配)",
  4911. "name": "contractno",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "string",
  4916. "description": "期货账户(模糊匹配)",
  4917. "name": "taname",
  4918. "in": "query"
  4919. }
  4920. ],
  4921. "responses": {
  4922. "200": {
  4923. "description": "OK",
  4924. "schema": {
  4925. "type": "array",
  4926. "items": {
  4927. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4928. }
  4929. }
  4930. },
  4931. "500": {
  4932. "description": "Internal Server Error",
  4933. "schema": {
  4934. "$ref": "#/definitions/app.Response"
  4935. }
  4936. }
  4937. }
  4938. }
  4939. },
  4940. "/Ermcp3/QueryParamChangeApp": {
  4941. "get": {
  4942. "security": [
  4943. {
  4944. "ApiKeyAuth": []
  4945. }
  4946. ],
  4947. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4948. "produces": [
  4949. "application/json"
  4950. ],
  4951. "tags": [
  4952. "企业风险管理v3(app)"
  4953. ],
  4954. "summary": "查询现货商品参数变更申请(流水)",
  4955. "parameters": [
  4956. {
  4957. "type": "integer",
  4958. "description": "用户ID",
  4959. "name": "userid",
  4960. "in": "query",
  4961. "required": true
  4962. },
  4963. {
  4964. "type": "integer",
  4965. "description": "现货品种id",
  4966. "name": "deliverygoodsid",
  4967. "in": "query"
  4968. },
  4969. {
  4970. "type": "integer",
  4971. "description": "现货商品id",
  4972. "name": "wrstandardid",
  4973. "in": "query"
  4974. },
  4975. {
  4976. "type": "integer",
  4977. "description": "套保商品id",
  4978. "name": "middlegoodsid",
  4979. "in": "query"
  4980. },
  4981. {
  4982. "type": "integer",
  4983. "description": "操作类型 1:新增 2:修改",
  4984. "name": "operatetype",
  4985. "in": "query"
  4986. },
  4987. {
  4988. "type": "integer",
  4989. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4990. "name": "paramchangetype",
  4991. "in": "query"
  4992. },
  4993. {
  4994. "type": "string",
  4995. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4996. "name": "ftstatus",
  4997. "in": "query"
  4998. }
  4999. ],
  5000. "responses": {
  5001. "200": {
  5002. "description": "OK",
  5003. "schema": {
  5004. "type": "array",
  5005. "items": {
  5006. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5007. }
  5008. }
  5009. },
  5010. "500": {
  5011. "description": "Internal Server Error",
  5012. "schema": {
  5013. "$ref": "#/definitions/app.Response"
  5014. }
  5015. }
  5016. }
  5017. }
  5018. },
  5019. "/Ermcp3/QueryRootUserAccount": {
  5020. "get": {
  5021. "security": [
  5022. {
  5023. "ApiKeyAuth": []
  5024. }
  5025. ],
  5026. "produces": [
  5027. "application/json"
  5028. ],
  5029. "tags": [
  5030. "企业风险管理v3(app)"
  5031. ],
  5032. "summary": "查询顶级用户信息",
  5033. "parameters": [
  5034. {
  5035. "type": "integer",
  5036. "description": "用户ID",
  5037. "name": "userid",
  5038. "in": "query",
  5039. "required": true
  5040. }
  5041. ],
  5042. "responses": {
  5043. "200": {
  5044. "description": "OK",
  5045. "schema": {
  5046. "type": "array",
  5047. "items": {
  5048. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5049. }
  5050. }
  5051. },
  5052. "500": {
  5053. "description": "Internal Server Error",
  5054. "schema": {
  5055. "$ref": "#/definitions/app.Response"
  5056. }
  5057. }
  5058. }
  5059. }
  5060. },
  5061. "/Ermcp3/QuerySCMiddleGoods": {
  5062. "get": {
  5063. "security": [
  5064. {
  5065. "ApiKeyAuth": []
  5066. }
  5067. ],
  5068. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5069. "produces": [
  5070. "application/json"
  5071. ],
  5072. "tags": [
  5073. "企业风险管理v3(app)"
  5074. ],
  5075. "summary": "查询现货订单",
  5076. "parameters": [
  5077. {
  5078. "type": "integer",
  5079. "description": "用户ID(填登录用户的userid)",
  5080. "name": "userid",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "买卖方向 0-买 1-卖",
  5087. "name": "buyorsell",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "商品组id",
  5094. "name": "goodsgroupid",
  5095. "in": "query",
  5096. "required": true
  5097. },
  5098. {
  5099. "type": "integer",
  5100. "description": "业务类型 1:套保 2:套利",
  5101. "name": "biztype",
  5102. "in": "query"
  5103. },
  5104. {
  5105. "type": "string",
  5106. "description": "现货编号(模糊匹配)",
  5107. "name": "contractno",
  5108. "in": "query"
  5109. },
  5110. {
  5111. "type": "string",
  5112. "description": "对手方(模糊匹配)",
  5113. "name": "customername",
  5114. "in": "query"
  5115. },
  5116. {
  5117. "type": "string",
  5118. "description": "现货商品名称(模糊匹配)",
  5119. "name": "wrstandardname",
  5120. "in": "query"
  5121. }
  5122. ],
  5123. "responses": {
  5124. "200": {
  5125. "description": "OK",
  5126. "schema": {
  5127. "type": "array",
  5128. "items": {
  5129. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5130. }
  5131. }
  5132. },
  5133. "500": {
  5134. "description": "Internal Server Error",
  5135. "schema": {
  5136. "$ref": "#/definitions/app.Response"
  5137. }
  5138. }
  5139. }
  5140. }
  5141. },
  5142. "/Ermcp3/QuerySpotContract": {
  5143. "get": {
  5144. "security": [
  5145. {
  5146. "ApiKeyAuth": []
  5147. }
  5148. ],
  5149. "produces": [
  5150. "application/json"
  5151. ],
  5152. "tags": [
  5153. "企业风险管理v3(app)"
  5154. ],
  5155. "summary": "查询现货合同",
  5156. "parameters": [
  5157. {
  5158. "type": "integer",
  5159. "description": "用户id(当指定contractid, userid可不填)",
  5160. "name": "userid",
  5161. "in": "query",
  5162. "required": true
  5163. },
  5164. {
  5165. "type": "integer",
  5166. "description": "用户类型 2-机构 7-企业成员",
  5167. "name": "usertype",
  5168. "in": "query"
  5169. },
  5170. {
  5171. "type": "integer",
  5172. "description": "合同类型 1-采购, -1-销售",
  5173. "name": "contracttype",
  5174. "in": "query"
  5175. },
  5176. {
  5177. "type": "string",
  5178. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5179. "name": "querytype",
  5180. "in": "query"
  5181. },
  5182. {
  5183. "type": "string",
  5184. "description": "合同ID(SpotContractId)",
  5185. "name": "contractid",
  5186. "in": "query"
  5187. },
  5188. {
  5189. "type": "string",
  5190. "description": "合同编号(模糊匹配)",
  5191. "name": "contractno",
  5192. "in": "query"
  5193. },
  5194. {
  5195. "type": "string",
  5196. "description": "商品名称(模糊匹配)",
  5197. "name": "wrstandardname",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "string",
  5202. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5203. "name": "status",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "是否只查今日的合同 1-查今日合同",
  5209. "name": "istoday",
  5210. "in": "query"
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "type": "array",
  5218. "items": {
  5219. "$ref": "#/definitions/models.Ermcp3Contract"
  5220. }
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Ermcp3/QuerySpotContractBS": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "企业风险管理v3(app)"
  5244. ],
  5245. "summary": "查询合同(采购/销售)",
  5246. "parameters": [
  5247. {
  5248. "type": "integer",
  5249. "description": "用户id",
  5250. "name": "userid",
  5251. "in": "query",
  5252. "required": true
  5253. },
  5254. {
  5255. "type": "integer",
  5256. "description": "用户类型 2-机构 7-企业成员",
  5257. "name": "usertype",
  5258. "in": "query"
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "合同类型 1-采购, -1-销售",
  5263. "name": "contracttype",
  5264. "in": "query",
  5265. "required": true
  5266. },
  5267. {
  5268. "type": "integer",
  5269. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5270. "name": "querytype",
  5271. "in": "query"
  5272. },
  5273. {
  5274. "type": "string",
  5275. "description": "合同ID(SpotContractId)",
  5276. "name": "contractid",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "string",
  5281. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5282. "name": "status",
  5283. "in": "query"
  5284. },
  5285. {
  5286. "type": "integer",
  5287. "description": "是否只查今日的合同 1-查今日合同",
  5288. "name": "istoday",
  5289. "in": "query"
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "type": "array",
  5297. "items": {
  5298. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5299. }
  5300. }
  5301. },
  5302. "500": {
  5303. "description": "Internal Server Error",
  5304. "schema": {
  5305. "$ref": "#/definitions/app.Response"
  5306. }
  5307. }
  5308. }
  5309. }
  5310. },
  5311. "/Ermcp3/QuerySpotGoodsPrice": {
  5312. "get": {
  5313. "security": [
  5314. {
  5315. "ApiKeyAuth": []
  5316. }
  5317. ],
  5318. "produces": [
  5319. "application/json"
  5320. ],
  5321. "tags": [
  5322. "企业风险管理v3(app)"
  5323. ],
  5324. "summary": "查询现货市价(现货市价)",
  5325. "parameters": [
  5326. {
  5327. "type": "integer",
  5328. "description": "用户ID",
  5329. "name": "userid",
  5330. "in": "query",
  5331. "required": true
  5332. }
  5333. ],
  5334. "responses": {
  5335. "200": {
  5336. "description": "OK",
  5337. "schema": {
  5338. "type": "array",
  5339. "items": {
  5340. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5341. }
  5342. }
  5343. },
  5344. "500": {
  5345. "description": "Internal Server Error",
  5346. "schema": {
  5347. "$ref": "#/definitions/app.Response"
  5348. }
  5349. }
  5350. }
  5351. }
  5352. },
  5353. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5354. "get": {
  5355. "security": [
  5356. {
  5357. "ApiKeyAuth": []
  5358. }
  5359. ],
  5360. "produces": [
  5361. "application/json"
  5362. ],
  5363. "tags": [
  5364. "企业风险管理v3(app)"
  5365. ],
  5366. "summary": "查询现货市价详情(现货市价/详情)",
  5367. "parameters": [
  5368. {
  5369. "type": "integer",
  5370. "description": "用户ID",
  5371. "name": "userid",
  5372. "in": "query",
  5373. "required": true
  5374. },
  5375. {
  5376. "type": "integer",
  5377. "description": "现货商品ID",
  5378. "name": "deliverygoodsid",
  5379. "in": "query",
  5380. "required": true
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "品牌ID",
  5385. "name": "brandid",
  5386. "in": "query"
  5387. },
  5388. {
  5389. "type": "integer",
  5390. "description": "品类ID",
  5391. "name": "wrstandardid",
  5392. "in": "query"
  5393. }
  5394. ],
  5395. "responses": {
  5396. "200": {
  5397. "description": "OK",
  5398. "schema": {
  5399. "type": "array",
  5400. "items": {
  5401. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5402. }
  5403. }
  5404. },
  5405. "500": {
  5406. "description": "Internal Server Error",
  5407. "schema": {
  5408. "$ref": "#/definitions/app.Response"
  5409. }
  5410. }
  5411. }
  5412. }
  5413. },
  5414. "/Ermcp3/QuerySubTaaccount": {
  5415. "get": {
  5416. "security": [
  5417. {
  5418. "ApiKeyAuth": []
  5419. }
  5420. ],
  5421. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "企业风险管理v3(app)"
  5427. ],
  5428. "summary": "查询期货子账户",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "母账号id",
  5433. "name": "parentaccountid",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "string",
  5438. "description": "母账号代码",
  5439. "name": "parentaccountcode",
  5440. "in": "query"
  5441. }
  5442. ],
  5443. "responses": {
  5444. "200": {
  5445. "description": "OK",
  5446. "schema": {
  5447. "type": "array",
  5448. "items": {
  5449. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5450. }
  5451. }
  5452. },
  5453. "500": {
  5454. "description": "Internal Server Error",
  5455. "schema": {
  5456. "$ref": "#/definitions/app.Response"
  5457. }
  5458. }
  5459. }
  5460. }
  5461. },
  5462. "/Erms2/QueryArbitrageStrategy": {
  5463. "get": {
  5464. "security": [
  5465. {
  5466. "ApiKeyAuth": []
  5467. }
  5468. ],
  5469. "produces": [
  5470. "application/json"
  5471. ],
  5472. "tags": [
  5473. "风险管理"
  5474. ],
  5475. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5476. "parameters": [
  5477. {
  5478. "type": "integer",
  5479. "description": "账户ID",
  5480. "name": "userid",
  5481. "in": "query",
  5482. "required": true
  5483. },
  5484. {
  5485. "type": "string",
  5486. "description": "商品组ID(品种ID)",
  5487. "name": "goodsgroupid",
  5488. "in": "query"
  5489. }
  5490. ],
  5491. "responses": {
  5492. "200": {
  5493. "description": "OK",
  5494. "schema": {
  5495. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5496. }
  5497. },
  5498. "500": {
  5499. "description": "Internal Server Error",
  5500. "schema": {
  5501. "$ref": "#/definitions/app.Response"
  5502. }
  5503. }
  5504. }
  5505. }
  5506. },
  5507. "/Erms2/QueryInnerTradeDetail": {
  5508. "get": {
  5509. "security": [
  5510. {
  5511. "ApiKeyAuth": []
  5512. }
  5513. ],
  5514. "produces": [
  5515. "application/json"
  5516. ],
  5517. "tags": [
  5518. "风险管理"
  5519. ],
  5520. "summary": "查询内部成交单信息",
  5521. "parameters": [
  5522. {
  5523. "type": "integer",
  5524. "description": "资金账户",
  5525. "name": "accountid",
  5526. "in": "query",
  5527. "required": true
  5528. }
  5529. ],
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/Erms2/QuerySpotContract": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json"
  5555. ],
  5556. "tags": [
  5557. "风险管理"
  5558. ],
  5559. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5560. "parameters": [
  5561. {
  5562. "type": "integer",
  5563. "description": "策略申请ID",
  5564. "name": "asapplyid",
  5565. "in": "query",
  5566. "required": true
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "现货合同ID",
  5571. "name": "spotcontractid",
  5572. "in": "query"
  5573. }
  5574. ],
  5575. "responses": {
  5576. "200": {
  5577. "description": "OK",
  5578. "schema": {
  5579. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5580. }
  5581. },
  5582. "500": {
  5583. "description": "Internal Server Error",
  5584. "schema": {
  5585. "$ref": "#/definitions/app.Response"
  5586. }
  5587. }
  5588. }
  5589. }
  5590. },
  5591. "/Erms3/AddErms2ASApply": {
  5592. "post": {
  5593. "security": [
  5594. {
  5595. "ApiKeyAuth": []
  5596. }
  5597. ],
  5598. "produces": [
  5599. "application/json"
  5600. ],
  5601. "tags": [
  5602. "风险管理v3"
  5603. ],
  5604. "summary": "新增期现套利业务申请",
  5605. "parameters": [
  5606. {
  5607. "description": "申请参数",
  5608. "name": "jsonBody",
  5609. "in": "body",
  5610. "required": true,
  5611. "schema": {
  5612. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5613. }
  5614. }
  5615. ],
  5616. "responses": {
  5617. "200": {
  5618. "description": "OK",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. },
  5623. "500": {
  5624. "description": "Internal Server Error",
  5625. "schema": {
  5626. "$ref": "#/definitions/app.Response"
  5627. }
  5628. }
  5629. }
  5630. }
  5631. },
  5632. "/Erms3/AddErms2SpotTradeApply": {
  5633. "post": {
  5634. "security": [
  5635. {
  5636. "ApiKeyAuth": []
  5637. }
  5638. ],
  5639. "produces": [
  5640. "application/json"
  5641. ],
  5642. "tags": [
  5643. "风险管理v3"
  5644. ],
  5645. "summary": "新增现货贸易业务申请",
  5646. "parameters": [
  5647. {
  5648. "description": "申请参数",
  5649. "name": "jsonBody",
  5650. "in": "body",
  5651. "required": true,
  5652. "schema": {
  5653. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5654. }
  5655. }
  5656. ],
  5657. "responses": {
  5658. "200": {
  5659. "description": "OK",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. },
  5664. "500": {
  5665. "description": "Internal Server Error",
  5666. "schema": {
  5667. "$ref": "#/definitions/app.Response"
  5668. }
  5669. }
  5670. }
  5671. }
  5672. },
  5673. "/Erms3/AddSpotContractApply": {
  5674. "post": {
  5675. "security": [
  5676. {
  5677. "ApiKeyAuth": []
  5678. }
  5679. ],
  5680. "produces": [
  5681. "application/json"
  5682. ],
  5683. "tags": [
  5684. "风险管理v3"
  5685. ],
  5686. "summary": "新增现货合同申请",
  5687. "parameters": [
  5688. {
  5689. "description": "申请参数",
  5690. "name": "jsonBody",
  5691. "in": "body",
  5692. "required": true,
  5693. "schema": {
  5694. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5695. }
  5696. }
  5697. ],
  5698. "responses": {
  5699. "200": {
  5700. "description": "OK",
  5701. "schema": {
  5702. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5703. }
  5704. },
  5705. "500": {
  5706. "description": "Internal Server Error",
  5707. "schema": {
  5708. "$ref": "#/definitions/app.Response"
  5709. }
  5710. }
  5711. }
  5712. }
  5713. },
  5714. "/Erms3/AddUserInfoApply": {
  5715. "post": {
  5716. "security": [
  5717. {
  5718. "ApiKeyAuth": []
  5719. }
  5720. ],
  5721. "produces": [
  5722. "application/json"
  5723. ],
  5724. "tags": [
  5725. "风险管理v3"
  5726. ],
  5727. "summary": "新增客户申请",
  5728. "parameters": [
  5729. {
  5730. "description": "用户信息",
  5731. "name": "jsonBody",
  5732. "in": "body",
  5733. "required": true,
  5734. "schema": {
  5735. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5736. }
  5737. }
  5738. ],
  5739. "responses": {
  5740. "200": {
  5741. "description": "OK",
  5742. "schema": {
  5743. "$ref": "#/definitions/app.Response"
  5744. }
  5745. },
  5746. "500": {
  5747. "description": "Internal Server Error",
  5748. "schema": {
  5749. "$ref": "#/definitions/app.Response"
  5750. }
  5751. }
  5752. }
  5753. }
  5754. },
  5755. "/Erms3/DeleteUserInfoApply": {
  5756. "get": {
  5757. "security": [
  5758. {
  5759. "ApiKeyAuth": []
  5760. }
  5761. ],
  5762. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5763. "produces": [
  5764. "application/json"
  5765. ],
  5766. "tags": [
  5767. "风险管理v3"
  5768. ],
  5769. "summary": "删除客户申请",
  5770. "parameters": [
  5771. {
  5772. "type": "integer",
  5773. "description": "用户ID",
  5774. "name": "userID",
  5775. "in": "query",
  5776. "required": true
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. },
  5786. "500": {
  5787. "description": "Internal Server Error",
  5788. "schema": {
  5789. "$ref": "#/definitions/app.Response"
  5790. }
  5791. }
  5792. }
  5793. }
  5794. },
  5795. "/Erms3/ModifyUserInfoApply": {
  5796. "post": {
  5797. "security": [
  5798. {
  5799. "ApiKeyAuth": []
  5800. }
  5801. ],
  5802. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5803. "produces": [
  5804. "application/json"
  5805. ],
  5806. "tags": [
  5807. "风险管理v3"
  5808. ],
  5809. "summary": "修改客户申请",
  5810. "parameters": [
  5811. {
  5812. "description": "用户信息",
  5813. "name": "jsonBody",
  5814. "in": "body",
  5815. "required": true,
  5816. "schema": {
  5817. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5818. }
  5819. }
  5820. ],
  5821. "responses": {
  5822. "200": {
  5823. "description": "OK",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. },
  5828. "500": {
  5829. "description": "Internal Server Error",
  5830. "schema": {
  5831. "$ref": "#/definitions/app.Response"
  5832. }
  5833. }
  5834. }
  5835. }
  5836. },
  5837. "/Erms3/QueryBusinessInfo": {
  5838. "get": {
  5839. "security": [
  5840. {
  5841. "ApiKeyAuth": []
  5842. }
  5843. ],
  5844. "produces": [
  5845. "application/json"
  5846. ],
  5847. "tags": [
  5848. "风险管理v3"
  5849. ],
  5850. "summary": "查询业务表单数据",
  5851. "parameters": [
  5852. {
  5853. "type": "string",
  5854. "description": "资金账号ID列表,用逗号分隔",
  5855. "name": "accountids",
  5856. "in": "query",
  5857. "required": true
  5858. },
  5859. {
  5860. "type": "integer",
  5861. "description": "状态,0为未结束 1为已结束",
  5862. "name": "status",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "type": "array",
  5872. "items": {
  5873. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5874. }
  5875. }
  5876. },
  5877. "500": {
  5878. "description": "Internal Server Error",
  5879. "schema": {
  5880. "$ref": "#/definitions/app.Response"
  5881. }
  5882. }
  5883. }
  5884. }
  5885. },
  5886. "/Erms3/QueryPendingAuditContract": {
  5887. "get": {
  5888. "security": [
  5889. {
  5890. "ApiKeyAuth": []
  5891. }
  5892. ],
  5893. "produces": [
  5894. "application/json"
  5895. ],
  5896. "tags": [
  5897. "风险管理v3"
  5898. ],
  5899. "summary": "查询待审核合同",
  5900. "parameters": [
  5901. {
  5902. "type": "string",
  5903. "description": "资金账号ID列表,逗号隔开",
  5904. "name": "accountids",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同类型 1-采购 -1-销售",
  5911. "name": "contracttype",
  5912. "in": "query",
  5913. "required": true
  5914. },
  5915. {
  5916. "type": "integer",
  5917. "description": "合同模式 1-普通 2-回购",
  5918. "name": "contractmode",
  5919. "in": "query",
  5920. "required": true
  5921. }
  5922. ],
  5923. "responses": {
  5924. "200": {
  5925. "description": "OK",
  5926. "schema": {
  5927. "type": "array",
  5928. "items": {
  5929. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5930. }
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/Erms3/QueryPendingBusiness": {
  5943. "get": {
  5944. "security": [
  5945. {
  5946. "ApiKeyAuth": []
  5947. }
  5948. ],
  5949. "produces": [
  5950. "application/json"
  5951. ],
  5952. "tags": [
  5953. "风险管理v3"
  5954. ],
  5955. "summary": "查询待审核基差贸易业务",
  5956. "parameters": [
  5957. {
  5958. "type": "string",
  5959. "description": "资金账号ID列表,逗号隔开",
  5960. "name": "accountids",
  5961. "in": "query",
  5962. "required": true
  5963. }
  5964. ],
  5965. "responses": {
  5966. "200": {
  5967. "description": "OK",
  5968. "schema": {
  5969. "type": "array",
  5970. "items": {
  5971. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5972. }
  5973. }
  5974. },
  5975. "500": {
  5976. "description": "Internal Server Error",
  5977. "schema": {
  5978. "$ref": "#/definitions/app.Response"
  5979. }
  5980. }
  5981. }
  5982. }
  5983. },
  5984. "/Erms3/QuerySpotContractAppleForm": {
  5985. "get": {
  5986. "security": [
  5987. {
  5988. "ApiKeyAuth": []
  5989. }
  5990. ],
  5991. "produces": [
  5992. "application/json"
  5993. ],
  5994. "tags": [
  5995. "风险管理v3"
  5996. ],
  5997. "summary": "查询合同申请表单数据",
  5998. "parameters": [
  5999. {
  6000. "type": "integer",
  6001. "description": "登录账号",
  6002. "name": "loginID",
  6003. "in": "query",
  6004. "required": true
  6005. }
  6006. ],
  6007. "responses": {
  6008. "200": {
  6009. "description": "OK",
  6010. "schema": {
  6011. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6012. }
  6013. },
  6014. "500": {
  6015. "description": "Internal Server Error",
  6016. "schema": {
  6017. "$ref": "#/definitions/app.Response"
  6018. }
  6019. }
  6020. }
  6021. }
  6022. },
  6023. "/Erms3/QuerySpotContractDetail": {
  6024. "get": {
  6025. "security": [
  6026. {
  6027. "ApiKeyAuth": []
  6028. }
  6029. ],
  6030. "produces": [
  6031. "application/json"
  6032. ],
  6033. "tags": [
  6034. "风险管理v3"
  6035. ],
  6036. "summary": "查询合同详细信息",
  6037. "parameters": [
  6038. {
  6039. "type": "string",
  6040. "description": "资金账号ID列表,用逗号分隔",
  6041. "name": "accountids",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "合同类型,1为采购合同 -1为销售合同",
  6048. "name": "contracttype",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "integer",
  6054. "description": "合同模式,1为普通合同 2为回购销售合同",
  6055. "name": "contractmode",
  6056. "in": "query",
  6057. "required": true
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "状态,0为履约中 1为已完成",
  6062. "name": "status",
  6063. "in": "query",
  6064. "required": true
  6065. }
  6066. ],
  6067. "responses": {
  6068. "200": {
  6069. "description": "OK",
  6070. "schema": {
  6071. "type": "array",
  6072. "items": {
  6073. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6074. }
  6075. }
  6076. },
  6077. "500": {
  6078. "description": "Internal Server Error",
  6079. "schema": {
  6080. "$ref": "#/definitions/app.Response"
  6081. }
  6082. }
  6083. }
  6084. }
  6085. },
  6086. "/Erms3/QueryUserInfoApplies": {
  6087. "get": {
  6088. "security": [
  6089. {
  6090. "ApiKeyAuth": []
  6091. }
  6092. ],
  6093. "produces": [
  6094. "application/json"
  6095. ],
  6096. "tags": [
  6097. "风险管理v3"
  6098. ],
  6099. "summary": "客户申请信息查询",
  6100. "parameters": [
  6101. {
  6102. "type": "integer",
  6103. "description": "页码",
  6104. "name": "page",
  6105. "in": "query"
  6106. },
  6107. {
  6108. "type": "integer",
  6109. "description": "每页条数",
  6110. "name": "pagesize",
  6111. "in": "query"
  6112. },
  6113. {
  6114. "type": "string",
  6115. "description": "客户名称,支持模糊查询",
  6116. "name": "userName",
  6117. "in": "query"
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/Erms3/QueryUserInfos": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "produces": [
  6144. "application/json"
  6145. ],
  6146. "tags": [
  6147. "风险管理v3"
  6148. ],
  6149. "summary": "客户信息查询",
  6150. "parameters": [
  6151. {
  6152. "type": "integer",
  6153. "description": "页码",
  6154. "name": "page",
  6155. "in": "query"
  6156. },
  6157. {
  6158. "type": "integer",
  6159. "description": "每页条数",
  6160. "name": "pagesize",
  6161. "in": "query"
  6162. },
  6163. {
  6164. "type": "string",
  6165. "description": "客户名称,支持模糊查询",
  6166. "name": "userName",
  6167. "in": "query"
  6168. }
  6169. ],
  6170. "responses": {
  6171. "200": {
  6172. "description": "OK",
  6173. "schema": {
  6174. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6175. }
  6176. },
  6177. "500": {
  6178. "description": "Internal Server Error",
  6179. "schema": {
  6180. "$ref": "#/definitions/app.Response"
  6181. }
  6182. }
  6183. }
  6184. }
  6185. },
  6186. "/HSBY/GetHsbyMyCount": {
  6187. "get": {
  6188. "security": [
  6189. {
  6190. "ApiKeyAuth": []
  6191. }
  6192. ],
  6193. "description": "说明: 不包括已完成的数量。",
  6194. "produces": [
  6195. "application/json"
  6196. ],
  6197. "tags": [
  6198. "定制【海商报业】"
  6199. ],
  6200. "summary": "获取我的订单与包裹数量",
  6201. "parameters": [
  6202. {
  6203. "type": "string",
  6204. "description": "资金账户列表,格式:1,2,3",
  6205. "name": "accountIDs",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/HSBY/QueryClientFixedADConfigs": {
  6227. "get": {
  6228. "security": [
  6229. {
  6230. "ApiKeyAuth": []
  6231. }
  6232. ],
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "定制【海商报业】"
  6238. ],
  6239. "summary": "获取终端固定广告配置",
  6240. "responses": {
  6241. "200": {
  6242. "description": "OK",
  6243. "schema": {
  6244. "$ref": "#/definitions/models.Clientfixedadconfig"
  6245. }
  6246. },
  6247. "500": {
  6248. "description": "Internal Server Error",
  6249. "schema": {
  6250. "$ref": "#/definitions/app.Response"
  6251. }
  6252. }
  6253. }
  6254. }
  6255. },
  6256. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6257. "get": {
  6258. "security": [
  6259. {
  6260. "ApiKeyAuth": []
  6261. }
  6262. ],
  6263. "produces": [
  6264. "application/json"
  6265. ],
  6266. "tags": [
  6267. "定制【海商报业】"
  6268. ],
  6269. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6270. "parameters": [
  6271. {
  6272. "type": "integer",
  6273. "description": "页码",
  6274. "name": "page",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "每页条数",
  6280. "name": "pagesize",
  6281. "in": "query"
  6282. },
  6283. {
  6284. "type": "string",
  6285. "description": "资金账户列表,格式:1,2,3",
  6286. "name": "accountIDs",
  6287. "in": "query",
  6288. "required": true
  6289. }
  6290. ],
  6291. "responses": {
  6292. "200": {
  6293. "description": "OK",
  6294. "schema": {
  6295. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6296. }
  6297. },
  6298. "500": {
  6299. "description": "Internal Server Error",
  6300. "schema": {
  6301. "$ref": "#/definitions/app.Response"
  6302. }
  6303. }
  6304. }
  6305. }
  6306. },
  6307. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6308. "get": {
  6309. "security": [
  6310. {
  6311. "ApiKeyAuth": []
  6312. }
  6313. ],
  6314. "description": "说明:查询结果已按委托价格和委托时间排序",
  6315. "produces": [
  6316. "application/json"
  6317. ],
  6318. "tags": [
  6319. "定制【海商报业】"
  6320. ],
  6321. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6322. "parameters": [
  6323. {
  6324. "type": "integer",
  6325. "description": "商品ID",
  6326. "name": "goodsID",
  6327. "in": "query",
  6328. "required": true
  6329. },
  6330. {
  6331. "type": "string",
  6332. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6333. "name": "accountIDs",
  6334. "in": "query"
  6335. },
  6336. {
  6337. "type": "integer",
  6338. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6339. "name": "buyOrSell",
  6340. "in": "query"
  6341. },
  6342. {
  6343. "type": "number",
  6344. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6345. "name": "price",
  6346. "in": "query"
  6347. },
  6348. {
  6349. "type": "integer",
  6350. "description": "档位,不传则默认为3档",
  6351. "name": "speed",
  6352. "in": "query"
  6353. }
  6354. ],
  6355. "responses": {
  6356. "200": {
  6357. "description": "OK",
  6358. "schema": {
  6359. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6360. }
  6361. },
  6362. "500": {
  6363. "description": "Internal Server Error",
  6364. "schema": {
  6365. "$ref": "#/definitions/app.Response"
  6366. }
  6367. }
  6368. }
  6369. }
  6370. },
  6371. "/HSBY/QueryHsbyListingGoodsDetail": {
  6372. "get": {
  6373. "security": [
  6374. {
  6375. "ApiKeyAuth": []
  6376. }
  6377. ],
  6378. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6379. "produces": [
  6380. "application/json"
  6381. ],
  6382. "tags": [
  6383. "定制【海商报业】"
  6384. ],
  6385. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6386. "parameters": [
  6387. {
  6388. "type": "integer",
  6389. "description": "商品ID",
  6390. "name": "goodsID",
  6391. "in": "query",
  6392. "required": true
  6393. },
  6394. {
  6395. "type": "integer",
  6396. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6397. "name": "accountID",
  6398. "in": "query"
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "定制【海商报业】"
  6429. ],
  6430. "summary": "查询三级市场(商城)商品信息详情",
  6431. "parameters": [
  6432. {
  6433. "type": "integer",
  6434. "description": "委托单号",
  6435. "name": "orderID",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6442. "name": "accountID",
  6443. "in": "query"
  6444. }
  6445. ],
  6446. "responses": {
  6447. "200": {
  6448. "description": "OK",
  6449. "schema": {
  6450. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6451. }
  6452. },
  6453. "500": {
  6454. "description": "Internal Server Error",
  6455. "schema": {
  6456. "$ref": "#/definitions/app.Response"
  6457. }
  6458. }
  6459. }
  6460. }
  6461. },
  6462. "/HSBY/QueryHsbyMarketGoodses": {
  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": "integer",
  6479. "description": "页码",
  6480. "name": "page",
  6481. "in": "query"
  6482. },
  6483. {
  6484. "type": "integer",
  6485. "description": "每页条数",
  6486. "name": "pagesize",
  6487. "in": "query"
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "市场ID列表,格式:1,2,3",
  6492. "name": "marketIDs",
  6493. "in": "query",
  6494. "required": true
  6495. },
  6496. {
  6497. "type": "integer",
  6498. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6499. "name": "accountID",
  6500. "in": "query",
  6501. "required": true
  6502. },
  6503. {
  6504. "type": "integer",
  6505. "description": "类别ID",
  6506. "name": "categoryID",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "string",
  6511. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6512. "name": "goodsIDs",
  6513. "in": "query"
  6514. },
  6515. {
  6516. "type": "integer",
  6517. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6518. "name": "couponTypeID",
  6519. "in": "query"
  6520. }
  6521. ],
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/models.HsbyMarketGoods"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/HSBY/QueryHsbyMarkets": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "produces": [
  6546. "application/json"
  6547. ],
  6548. "tags": [
  6549. "定制【海商报业】"
  6550. ],
  6551. "summary": "查询海商报业相关市场信息",
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.HsbyMarketInfo"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "定制【海商报业】"
  6581. ],
  6582. "summary": "查询“我的订单”信息",
  6583. "parameters": [
  6584. {
  6585. "type": "string",
  6586. "description": "资金账户列表,格式:1,2,3",
  6587. "name": "accountIDs",
  6588. "in": "query",
  6589. "required": true
  6590. }
  6591. ],
  6592. "responses": {
  6593. "200": {
  6594. "description": "OK",
  6595. "schema": {
  6596. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6597. }
  6598. },
  6599. "500": {
  6600. "description": "Internal Server Error",
  6601. "schema": {
  6602. "$ref": "#/definitions/app.Response"
  6603. }
  6604. }
  6605. }
  6606. }
  6607. },
  6608. "/HSBY/QueryHsbyMyGoods": {
  6609. "get": {
  6610. "security": [
  6611. {
  6612. "ApiKeyAuth": []
  6613. }
  6614. ],
  6615. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6616. "produces": [
  6617. "application/json"
  6618. ],
  6619. "tags": [
  6620. "定制【海商报业】"
  6621. ],
  6622. "summary": "查询“我的商品”信息",
  6623. "parameters": [
  6624. {
  6625. "type": "string",
  6626. "description": "资金账户列表,格式:1,2,3",
  6627. "name": "accountIDs",
  6628. "in": "query",
  6629. "required": true
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "$ref": "#/definitions/models.HsbyMyGoods"
  6637. }
  6638. },
  6639. "500": {
  6640. "description": "Internal Server Error",
  6641. "schema": {
  6642. "$ref": "#/definitions/app.Response"
  6643. }
  6644. }
  6645. }
  6646. }
  6647. },
  6648. "/HSBY/QueryHsbyMyPackages": {
  6649. "get": {
  6650. "security": [
  6651. {
  6652. "ApiKeyAuth": []
  6653. }
  6654. ],
  6655. "produces": [
  6656. "application/json"
  6657. ],
  6658. "tags": [
  6659. "定制【海商报业】"
  6660. ],
  6661. "summary": "查询我的包裹信息",
  6662. "parameters": [
  6663. {
  6664. "type": "string",
  6665. "description": "资金账户列表,格式:1,2,3",
  6666. "name": "accountIDs",
  6667. "in": "query",
  6668. "required": true
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6673. "name": "takeOrderStatus",
  6674. "in": "query"
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "OK",
  6680. "schema": {
  6681. "$ref": "#/definitions/models.HsbyMyPackage"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/HSBY/QueryHsbyPreGoodsDetail": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "定制【海商报业】"
  6705. ],
  6706. "summary": "查询一级市场(预售)商品信息详情",
  6707. "parameters": [
  6708. {
  6709. "type": "integer",
  6710. "description": "商品ID",
  6711. "name": "goodsID",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "integer",
  6717. "description": "资金账户,主要用于获取预售商品购买上限",
  6718. "name": "accountID",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/HSBY/QueryHsbyPreGoodses": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6746. "produces": [
  6747. "application/json"
  6748. ],
  6749. "tags": [
  6750. "定制【海商报业】"
  6751. ],
  6752. "summary": "查询新品上市商品列表(一级市场预售)",
  6753. "parameters": [
  6754. {
  6755. "type": "integer",
  6756. "description": "页码",
  6757. "name": "page",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "integer",
  6762. "description": "每页条数",
  6763. "name": "pagesize",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "string",
  6768. "description": "市场ID列表,格式:1,2,3",
  6769. "name": "marketIDs",
  6770. "in": "query",
  6771. "required": true
  6772. },
  6773. {
  6774. "type": "integer",
  6775. "description": "目的地(省)ID",
  6776. "name": "descProvinceID",
  6777. "in": "query"
  6778. },
  6779. {
  6780. "type": "integer",
  6781. "description": "目的地(市)ID",
  6782. "name": "descCityID",
  6783. "in": "query"
  6784. }
  6785. ],
  6786. "responses": {
  6787. "200": {
  6788. "description": "OK",
  6789. "schema": {
  6790. "$ref": "#/definitions/models.HsbyPreGoods"
  6791. }
  6792. },
  6793. "500": {
  6794. "description": "Internal Server Error",
  6795. "schema": {
  6796. "$ref": "#/definitions/app.Response"
  6797. }
  6798. }
  6799. }
  6800. }
  6801. },
  6802. "/HSBY/QueryHsbySellMyDetails": {
  6803. "get": {
  6804. "security": [
  6805. {
  6806. "ApiKeyAuth": []
  6807. }
  6808. ],
  6809. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6810. "produces": [
  6811. "application/json"
  6812. ],
  6813. "tags": [
  6814. "定制【海商报业】"
  6815. ],
  6816. "summary": "查询\"我的闲置\"单据信息",
  6817. "parameters": [
  6818. {
  6819. "type": "integer",
  6820. "description": "页码",
  6821. "name": "page",
  6822. "in": "query"
  6823. },
  6824. {
  6825. "type": "integer",
  6826. "description": "每页条数",
  6827. "name": "pagesize",
  6828. "in": "query"
  6829. },
  6830. {
  6831. "type": "string",
  6832. "description": "资金账户列表,格式:1,2,3",
  6833. "name": "accountIDs",
  6834. "in": "query",
  6835. "required": true
  6836. },
  6837. {
  6838. "type": "integer",
  6839. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6840. "name": "orderType",
  6841. "in": "query"
  6842. }
  6843. ],
  6844. "responses": {
  6845. "200": {
  6846. "description": "OK",
  6847. "schema": {
  6848. "$ref": "#/definitions/models.HsbySellMyDetail"
  6849. }
  6850. },
  6851. "500": {
  6852. "description": "Internal Server Error",
  6853. "schema": {
  6854. "$ref": "#/definitions/app.Response"
  6855. }
  6856. }
  6857. }
  6858. }
  6859. },
  6860. "/HSBY/QueryHsbyTopGoodses": {
  6861. "get": {
  6862. "security": [
  6863. {
  6864. "ApiKeyAuth": []
  6865. }
  6866. ],
  6867. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6868. "produces": [
  6869. "application/json"
  6870. ],
  6871. "tags": [
  6872. "定制【海商报业】"
  6873. ],
  6874. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6875. "parameters": [
  6876. {
  6877. "type": "integer",
  6878. "description": "页码",
  6879. "name": "page",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "integer",
  6884. "description": "每页条数",
  6885. "name": "pagesize",
  6886. "in": "query"
  6887. },
  6888. {
  6889. "type": "string",
  6890. "description": "市场ID列表,格式:1,2,3",
  6891. "name": "marketIDs",
  6892. "in": "query",
  6893. "required": true
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "目的地(省)ID",
  6898. "name": "descProvinceID",
  6899. "in": "query"
  6900. },
  6901. {
  6902. "type": "integer",
  6903. "description": "目的地(市)ID",
  6904. "name": "descCityID",
  6905. "in": "query"
  6906. }
  6907. ],
  6908. "responses": {
  6909. "200": {
  6910. "description": "OK",
  6911. "schema": {
  6912. "$ref": "#/definitions/models.HsbyTopGoods"
  6913. }
  6914. },
  6915. "500": {
  6916. "description": "Internal Server Error",
  6917. "schema": {
  6918. "$ref": "#/definitions/app.Response"
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6925. "get": {
  6926. "security": [
  6927. {
  6928. "ApiKeyAuth": []
  6929. }
  6930. ],
  6931. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6932. "produces": [
  6933. "application/json"
  6934. ],
  6935. "tags": [
  6936. "定制【海商报业】"
  6937. ],
  6938. "summary": "查询游客三级市场(商城)商品信息详情",
  6939. "parameters": [
  6940. {
  6941. "type": "integer",
  6942. "description": "商品ID",
  6943. "name": "goodsID",
  6944. "in": "query",
  6945. "required": true
  6946. }
  6947. ],
  6948. "responses": {
  6949. "200": {
  6950. "description": "OK",
  6951. "schema": {
  6952. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6953. }
  6954. },
  6955. "500": {
  6956. "description": "Internal Server Error",
  6957. "schema": {
  6958. "$ref": "#/definitions/app.Response"
  6959. }
  6960. }
  6961. }
  6962. }
  6963. },
  6964. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6965. "get": {
  6966. "security": [
  6967. {
  6968. "ApiKeyAuth": []
  6969. }
  6970. ],
  6971. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6972. "produces": [
  6973. "application/json"
  6974. ],
  6975. "tags": [
  6976. "定制【海商报业】"
  6977. ],
  6978. "summary": "查询游客特卖商品列表(三级商城)",
  6979. "parameters": [
  6980. {
  6981. "type": "integer",
  6982. "description": "页码",
  6983. "name": "page",
  6984. "in": "query"
  6985. },
  6986. {
  6987. "type": "integer",
  6988. "description": "每页条数",
  6989. "name": "pagesize",
  6990. "in": "query"
  6991. },
  6992. {
  6993. "type": "string",
  6994. "description": "市场ID列表,格式:1,2,3",
  6995. "name": "marketIDs",
  6996. "in": "query",
  6997. "required": true
  6998. },
  6999. {
  7000. "type": "integer",
  7001. "description": "类别ID",
  7002. "name": "categoryID",
  7003. "in": "query"
  7004. },
  7005. {
  7006. "type": "string",
  7007. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7008. "name": "goodsIDs",
  7009. "in": "query"
  7010. }
  7011. ],
  7012. "responses": {
  7013. "200": {
  7014. "description": "OK",
  7015. "schema": {
  7016. "$ref": "#/definitions/models.HsbyMarketGoods"
  7017. }
  7018. },
  7019. "500": {
  7020. "description": "Internal Server Error",
  7021. "schema": {
  7022. "$ref": "#/definitions/app.Response"
  7023. }
  7024. }
  7025. }
  7026. }
  7027. },
  7028. "/HSBY/QueryMyCollectionOrders": {
  7029. "get": {
  7030. "security": [
  7031. {
  7032. "ApiKeyAuth": []
  7033. }
  7034. ],
  7035. "produces": [
  7036. "application/json"
  7037. ],
  7038. "tags": [
  7039. "定制【海商报业】"
  7040. ],
  7041. "summary": "我的闲置中收款信息查询",
  7042. "parameters": [
  7043. {
  7044. "type": "integer",
  7045. "description": "页码",
  7046. "name": "page",
  7047. "in": "query"
  7048. },
  7049. {
  7050. "type": "integer",
  7051. "description": "每页条数",
  7052. "name": "pagesize",
  7053. "in": "query"
  7054. },
  7055. {
  7056. "type": "string",
  7057. "description": "资金账户,格式:1,2,3",
  7058. "name": "accountIDs",
  7059. "in": "query",
  7060. "required": true
  7061. }
  7062. ],
  7063. "responses": {
  7064. "200": {
  7065. "description": "OK",
  7066. "schema": {
  7067. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7068. }
  7069. },
  7070. "500": {
  7071. "description": "Internal Server Error",
  7072. "schema": {
  7073. "$ref": "#/definitions/app.Response"
  7074. }
  7075. }
  7076. }
  7077. }
  7078. },
  7079. "/HSBY/QueryMyCouponHolds": {
  7080. "get": {
  7081. "security": [
  7082. {
  7083. "ApiKeyAuth": []
  7084. }
  7085. ],
  7086. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7087. "produces": [
  7088. "application/json"
  7089. ],
  7090. "tags": [
  7091. "定制【海商报业】"
  7092. ],
  7093. "summary": "我的优惠卷持仓查询",
  7094. "parameters": [
  7095. {
  7096. "type": "string",
  7097. "description": "资金账户列表,格式:1,2,3",
  7098. "name": "accountIDs",
  7099. "in": "query",
  7100. "required": true
  7101. },
  7102. {
  7103. "type": "string",
  7104. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7105. "name": "holdStatus",
  7106. "in": "query"
  7107. }
  7108. ],
  7109. "responses": {
  7110. "200": {
  7111. "description": "OK",
  7112. "schema": {
  7113. "$ref": "#/definitions/models.MyCouponHold"
  7114. }
  7115. },
  7116. "500": {
  7117. "description": "Internal Server Error",
  7118. "schema": {
  7119. "$ref": "#/definitions/app.Response"
  7120. }
  7121. }
  7122. }
  7123. }
  7124. },
  7125. "/HSBY/QueryMyCoupons": {
  7126. "get": {
  7127. "security": [
  7128. {
  7129. "ApiKeyAuth": []
  7130. }
  7131. ],
  7132. "produces": [
  7133. "application/json"
  7134. ],
  7135. "tags": [
  7136. "定制【海商报业】"
  7137. ],
  7138. "summary": "我的优惠卷查询",
  7139. "parameters": [
  7140. {
  7141. "type": "string",
  7142. "description": "资金账户列表,格式:1,2,3",
  7143. "name": "accountIDs",
  7144. "in": "query",
  7145. "required": true
  7146. },
  7147. {
  7148. "type": "integer",
  7149. "description": "商品ID, 一般与sellUserID配套传入",
  7150. "name": "goodsID",
  7151. "in": "query"
  7152. },
  7153. {
  7154. "type": "integer",
  7155. "description": "卖方UserID",
  7156. "name": "sellUserID",
  7157. "in": "query"
  7158. }
  7159. ],
  7160. "responses": {
  7161. "200": {
  7162. "description": "OK",
  7163. "schema": {
  7164. "$ref": "#/definitions/models.MyCoupon"
  7165. }
  7166. },
  7167. "500": {
  7168. "description": "Internal Server Error",
  7169. "schema": {
  7170. "$ref": "#/definitions/app.Response"
  7171. }
  7172. }
  7173. }
  7174. }
  7175. },
  7176. "/HSBY/QueryMyPayOrders": {
  7177. "get": {
  7178. "security": [
  7179. {
  7180. "ApiKeyAuth": []
  7181. }
  7182. ],
  7183. "produces": [
  7184. "application/json"
  7185. ],
  7186. "tags": [
  7187. "定制【海商报业】"
  7188. ],
  7189. "summary": "获取我的订单中待付款信息",
  7190. "parameters": [
  7191. {
  7192. "type": "integer",
  7193. "description": "页码",
  7194. "name": "page",
  7195. "in": "query"
  7196. },
  7197. {
  7198. "type": "integer",
  7199. "description": "每页条数",
  7200. "name": "pagesize",
  7201. "in": "query"
  7202. },
  7203. {
  7204. "type": "string",
  7205. "description": "资金账户列表,格式:1,2,3",
  7206. "name": "accountIDs",
  7207. "in": "query",
  7208. "required": true
  7209. },
  7210. {
  7211. "type": "integer",
  7212. "description": "买方委托单号",
  7213. "name": "buyOrderID",
  7214. "in": "query"
  7215. },
  7216. {
  7217. "type": "integer",
  7218. "description": "卖方委托单号",
  7219. "name": "sellOrderID",
  7220. "in": "query"
  7221. }
  7222. ],
  7223. "responses": {
  7224. "200": {
  7225. "description": "OK",
  7226. "schema": {
  7227. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7228. }
  7229. },
  7230. "500": {
  7231. "description": "Internal Server Error",
  7232. "schema": {
  7233. "$ref": "#/definitions/app.Response"
  7234. }
  7235. }
  7236. }
  7237. }
  7238. },
  7239. "/HSBY/QueryMyUsedCoupon": {
  7240. "get": {
  7241. "security": [
  7242. {
  7243. "ApiKeyAuth": []
  7244. }
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "定制【海商报业】"
  7251. ],
  7252. "summary": "已使用优惠卷查询",
  7253. "parameters": [
  7254. {
  7255. "type": "string",
  7256. "description": "资金账户列表,格式:1,2,3",
  7257. "name": "accountIDs",
  7258. "in": "query",
  7259. "required": true
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "$ref": "#/definitions/models.MyUsedCoupon"
  7267. }
  7268. },
  7269. "500": {
  7270. "description": "Internal Server Error",
  7271. "schema": {
  7272. "$ref": "#/definitions/app.Response"
  7273. }
  7274. }
  7275. }
  7276. }
  7277. },
  7278. "/HSBY/QueryProvincesAndCities": {
  7279. "get": {
  7280. "security": [
  7281. {
  7282. "ApiKeyAuth": []
  7283. }
  7284. ],
  7285. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7286. "produces": [
  7287. "application/json"
  7288. ],
  7289. "tags": [
  7290. "定制【海商报业】"
  7291. ],
  7292. "summary": "查询省市信息(不包括区)",
  7293. "parameters": [
  7294. {
  7295. "type": "integer",
  7296. "description": "省ID",
  7297. "name": "provinceID",
  7298. "in": "query"
  7299. }
  7300. ],
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7306. }
  7307. },
  7308. "500": {
  7309. "description": "Internal Server Error",
  7310. "schema": {
  7311. "$ref": "#/definitions/app.Response"
  7312. }
  7313. }
  7314. }
  7315. }
  7316. },
  7317. "/HSBY/SetHsbyMyPackagesStatus": {
  7318. "post": {
  7319. "security": [
  7320. {
  7321. "ApiKeyAuth": []
  7322. }
  7323. ],
  7324. "produces": [
  7325. "application/json"
  7326. ],
  7327. "tags": [
  7328. "定制【海商报业】"
  7329. ],
  7330. "summary": "设置我的包裹已收货状态",
  7331. "parameters": [
  7332. {
  7333. "type": "string",
  7334. "description": "提货单号",
  7335. "name": "takeOrderID",
  7336. "in": "query",
  7337. "required": true
  7338. },
  7339. {
  7340. "type": "integer",
  7341. "description": "资金账号",
  7342. "name": "accountID",
  7343. "in": "query",
  7344. "required": true
  7345. }
  7346. ],
  7347. "responses": {
  7348. "200": {
  7349. "description": "OK",
  7350. "schema": {
  7351. "$ref": "#/definitions/app.Response"
  7352. }
  7353. },
  7354. "500": {
  7355. "description": "Internal Server Error",
  7356. "schema": {
  7357. "$ref": "#/definitions/app.Response"
  7358. }
  7359. }
  7360. }
  7361. }
  7362. },
  7363. "/Market/GetAllExExchanges": {
  7364. "get": {
  7365. "security": [
  7366. {
  7367. "ApiKeyAuth": []
  7368. }
  7369. ],
  7370. "produces": [
  7371. "application/json"
  7372. ],
  7373. "tags": [
  7374. "通用市场"
  7375. ],
  7376. "summary": "获取所有外部交易所信息",
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/models.Goods"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/Market/QueryGoodsesByLoginID": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "通用市场"
  7405. ],
  7406. "summary": "获取登录账号有权限的商品信息",
  7407. "parameters": [
  7408. {
  7409. "type": "integer",
  7410. "description": "登录账号",
  7411. "name": "loginID",
  7412. "in": "query",
  7413. "required": true
  7414. },
  7415. {
  7416. "type": "string",
  7417. "description": "市场ID列表,格式:1,2,3",
  7418. "name": "marketIDs",
  7419. "in": "query"
  7420. }
  7421. ],
  7422. "responses": {
  7423. "200": {
  7424. "description": "OK",
  7425. "schema": {
  7426. "$ref": "#/definitions/models.Goods"
  7427. }
  7428. },
  7429. "500": {
  7430. "description": "Internal Server Error",
  7431. "schema": {
  7432. "$ref": "#/definitions/app.Response"
  7433. }
  7434. }
  7435. }
  7436. }
  7437. },
  7438. "/Market/QueryMarketRun": {
  7439. "get": {
  7440. "security": [
  7441. {
  7442. "ApiKeyAuth": []
  7443. }
  7444. ],
  7445. "produces": [
  7446. "application/json"
  7447. ],
  7448. "tags": [
  7449. "通用市场"
  7450. ],
  7451. "summary": "查询市场运行信息",
  7452. "parameters": [
  7453. {
  7454. "type": "integer",
  7455. "description": "市场ID,不传返回所有",
  7456. "name": "marketID",
  7457. "in": "query"
  7458. }
  7459. ],
  7460. "responses": {
  7461. "200": {
  7462. "description": "OK",
  7463. "schema": {
  7464. "$ref": "#/definitions/models.Marketrun"
  7465. }
  7466. },
  7467. "500": {
  7468. "description": "Internal Server Error",
  7469. "schema": {
  7470. "$ref": "#/definitions/app.Response"
  7471. }
  7472. }
  7473. }
  7474. }
  7475. },
  7476. "/Market/QueryMarketsByLoginID": {
  7477. "get": {
  7478. "security": [
  7479. {
  7480. "ApiKeyAuth": []
  7481. }
  7482. ],
  7483. "produces": [
  7484. "application/json"
  7485. ],
  7486. "tags": [
  7487. "通用市场"
  7488. ],
  7489. "summary": "获取登录账号有权限的市场信息",
  7490. "parameters": [
  7491. {
  7492. "type": "integer",
  7493. "description": "登录账号",
  7494. "name": "loginID",
  7495. "in": "query",
  7496. "required": true
  7497. }
  7498. ],
  7499. "responses": {
  7500. "200": {
  7501. "description": "OK",
  7502. "schema": {
  7503. "$ref": "#/definitions/models.Market"
  7504. }
  7505. },
  7506. "500": {
  7507. "description": "Internal Server Error",
  7508. "schema": {
  7509. "$ref": "#/definitions/app.Response"
  7510. }
  7511. }
  7512. }
  7513. }
  7514. },
  7515. "/Order/QueryHisTradeDetail": {
  7516. "get": {
  7517. "security": [
  7518. {
  7519. "ApiKeyAuth": []
  7520. }
  7521. ],
  7522. "produces": [
  7523. "application/json"
  7524. ],
  7525. "tags": [
  7526. "通用单据"
  7527. ],
  7528. "summary": "历史成交单查询(合约市场)",
  7529. "parameters": [
  7530. {
  7531. "type": "string",
  7532. "description": "资金账户 - 格式:1,2,3",
  7533. "name": "accountID",
  7534. "in": "query",
  7535. "required": true
  7536. },
  7537. {
  7538. "type": "integer",
  7539. "description": "成交单号",
  7540. "name": "tradeID",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "integer",
  7545. "description": "委托单号",
  7546. "name": "orderID",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "integer",
  7551. "description": "商品ID",
  7552. "name": "goodsID",
  7553. "in": "query"
  7554. },
  7555. {
  7556. "type": "string",
  7557. "description": "交易模式 - 格式:1,2,3",
  7558. "name": "tradeMode",
  7559. "in": "query"
  7560. },
  7561. {
  7562. "type": "integer",
  7563. "description": "委托单据类型",
  7564. "name": "buildType",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "成交类别 - 格式:1,2,3",
  7570. "name": "tradeType",
  7571. "in": "query"
  7572. },
  7573. {
  7574. "type": "string",
  7575. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7576. "name": "startDate",
  7577. "in": "query"
  7578. },
  7579. {
  7580. "type": "string",
  7581. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7582. "name": "endDate",
  7583. "in": "query"
  7584. }
  7585. ],
  7586. "responses": {
  7587. "200": {
  7588. "description": "OK",
  7589. "schema": {
  7590. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7591. }
  7592. },
  7593. "500": {
  7594. "description": "Internal Server Error",
  7595. "schema": {
  7596. "$ref": "#/definitions/app.Response"
  7597. }
  7598. }
  7599. }
  7600. }
  7601. },
  7602. "/Order/QueryHisTradeOrderDetail": {
  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": "string",
  7619. "description": "资金账户 - 格式:1,2,3",
  7620. "name": "accountID",
  7621. "in": "query",
  7622. "required": true
  7623. },
  7624. {
  7625. "type": "string",
  7626. "description": "交易模式 - 格式:1,2,3",
  7627. "name": "tradeMode",
  7628. "in": "query"
  7629. },
  7630. {
  7631. "type": "string",
  7632. "description": "委托状态 - 格式:1,2,3",
  7633. "name": "orderStatus",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "integer",
  7638. "description": "委托单号",
  7639. "name": "orderID",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7645. "name": "startDate",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "string",
  7650. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7651. "name": "endDate",
  7652. "in": "query"
  7653. }
  7654. ],
  7655. "responses": {
  7656. "200": {
  7657. "description": "OK",
  7658. "schema": {
  7659. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7660. }
  7661. },
  7662. "500": {
  7663. "description": "Internal Server Error",
  7664. "schema": {
  7665. "$ref": "#/definitions/app.Response"
  7666. }
  7667. }
  7668. }
  7669. }
  7670. },
  7671. "/Order/QueryTradeDetail": {
  7672. "get": {
  7673. "security": [
  7674. {
  7675. "ApiKeyAuth": []
  7676. }
  7677. ],
  7678. "produces": [
  7679. "application/json"
  7680. ],
  7681. "tags": [
  7682. "通用单据"
  7683. ],
  7684. "summary": "成交单查询(合约市场)",
  7685. "parameters": [
  7686. {
  7687. "type": "string",
  7688. "description": "资金账户 - 格式:1,2,3",
  7689. "name": "accountID",
  7690. "in": "query",
  7691. "required": true
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "成交单号",
  7696. "name": "tradeID",
  7697. "in": "query"
  7698. },
  7699. {
  7700. "type": "integer",
  7701. "description": "委托单号",
  7702. "name": "orderID",
  7703. "in": "query"
  7704. },
  7705. {
  7706. "type": "string",
  7707. "description": "交易模式 - 格式:1,2,3",
  7708. "name": "tradeMode",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "integer",
  7713. "description": "委托单据类型",
  7714. "name": "buildType",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "string",
  7719. "description": "成交类别 - 格式:1,2,3",
  7720. "name": "tradeType",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "integer",
  7725. "description": "商品ID",
  7726. "name": "goodsID",
  7727. "in": "query"
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Order/QueryTradeHolderDetail": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "通用单据"
  7758. ],
  7759. "summary": "查询持仓明细",
  7760. "parameters": [
  7761. {
  7762. "type": "integer",
  7763. "description": "用户id",
  7764. "name": "userid",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "string",
  7769. "description": "资金账号, 格式 1,2,3",
  7770. "name": "accids",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "string",
  7775. "description": "交易模式, 格式 1,2,3",
  7776. "name": "trademodes",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "string",
  7781. "description": "市场id, 格式 1,2,3",
  7782. "name": "marketids",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "integer",
  7787. "description": "商品id",
  7788. "name": "goodsid",
  7789. "in": "query"
  7790. },
  7791. {
  7792. "type": "integer",
  7793. "description": "买卖方向 0-买 1-卖",
  7794. "name": "buyorsell",
  7795. "in": "query"
  7796. }
  7797. ],
  7798. "responses": {
  7799. "200": {
  7800. "description": "OK",
  7801. "schema": {
  7802. "type": "array",
  7803. "items": {
  7804. "$ref": "#/definitions/models.TradeHolderDetail"
  7805. }
  7806. }
  7807. },
  7808. "500": {
  7809. "description": "Internal Server Error",
  7810. "schema": {
  7811. "$ref": "#/definitions/app.Response"
  7812. }
  7813. }
  7814. }
  7815. }
  7816. },
  7817. "/Order/QueryTradeOrderDetail": {
  7818. "get": {
  7819. "security": [
  7820. {
  7821. "ApiKeyAuth": []
  7822. }
  7823. ],
  7824. "produces": [
  7825. "application/json"
  7826. ],
  7827. "tags": [
  7828. "通用单据"
  7829. ],
  7830. "summary": "委托单查询请求(合约市场)",
  7831. "parameters": [
  7832. {
  7833. "type": "string",
  7834. "description": "资金账户 - 格式:1,2,3",
  7835. "name": "accountID",
  7836. "in": "query",
  7837. "required": true
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "交易模式 - 格式:1,2,3",
  7842. "name": "tradeMode",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "string",
  7847. "description": "委托状态 - 格式:1,2,3",
  7848. "name": "orderStatus",
  7849. "in": "query"
  7850. },
  7851. {
  7852. "type": "integer",
  7853. "description": "委托单号",
  7854. "name": "orderID",
  7855. "in": "query"
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7863. }
  7864. },
  7865. "500": {
  7866. "description": "Internal Server Error",
  7867. "schema": {
  7868. "$ref": "#/definitions/app.Response"
  7869. }
  7870. }
  7871. }
  7872. }
  7873. },
  7874. "/Order/QueryTradePosition": {
  7875. "get": {
  7876. "security": [
  7877. {
  7878. "ApiKeyAuth": []
  7879. }
  7880. ],
  7881. "produces": [
  7882. "application/json"
  7883. ],
  7884. "tags": [
  7885. "通用单据"
  7886. ],
  7887. "summary": "持仓汇总查询(合约市场)",
  7888. "parameters": [
  7889. {
  7890. "type": "string",
  7891. "description": "资金账户 - 格式:1,2,3",
  7892. "name": "accountID",
  7893. "in": "query",
  7894. "required": true
  7895. },
  7896. {
  7897. "type": "string",
  7898. "description": "交易模式 - 格式:1,2,3",
  7899. "name": "tradeMode",
  7900. "in": "query"
  7901. }
  7902. ],
  7903. "responses": {
  7904. "200": {
  7905. "description": "OK",
  7906. "schema": {
  7907. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/Qhj/QueryAccountInOutApply": {
  7920. "get": {
  7921. "security": [
  7922. {
  7923. "ApiKeyAuth": []
  7924. }
  7925. ],
  7926. "produces": [
  7927. "application/json"
  7928. ],
  7929. "tags": [
  7930. "大连千海金"
  7931. ],
  7932. "summary": "查询充值提现",
  7933. "parameters": [
  7934. {
  7935. "type": "integer",
  7936. "description": "用户ID",
  7937. "name": "userid",
  7938. "in": "query",
  7939. "required": true
  7940. },
  7941. {
  7942. "type": "string",
  7943. "description": "申请起始日期(格式yyyymmdd)",
  7944. "name": "begindate",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "string",
  7949. "description": "申请截止日期(格式yyyymmdd)",
  7950. "name": "enddate",
  7951. "in": "query"
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "模糊搜索名称",
  7956. "name": "likename",
  7957. "in": "query"
  7958. }
  7959. ],
  7960. "responses": {
  7961. "200": {
  7962. "description": "OK",
  7963. "schema": {
  7964. "type": "array",
  7965. "items": {
  7966. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7967. }
  7968. }
  7969. },
  7970. "500": {
  7971. "description": "Internal Server Error",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "/Qhj/QueryAreaFinanceConfig": {
  7980. "get": {
  7981. "security": [
  7982. {
  7983. "ApiKeyAuth": []
  7984. }
  7985. ],
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "大连千海金"
  7991. ],
  7992. "summary": "查询企业配置表",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "机构用户ID 其他做市关系,都设置为 1",
  7997. "name": "userid",
  7998. "in": "query"
  7999. }
  8000. ],
  8001. "responses": {
  8002. "200": {
  8003. "description": "OK",
  8004. "schema": {
  8005. "type": "array",
  8006. "items": {
  8007. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8008. }
  8009. }
  8010. },
  8011. "500": {
  8012. "description": "Internal Server Error",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. }
  8017. }
  8018. }
  8019. },
  8020. "/Qhj/QueryBankAccountSign": {
  8021. "get": {
  8022. "security": [
  8023. {
  8024. "ApiKeyAuth": []
  8025. }
  8026. ],
  8027. "produces": [
  8028. "application/json"
  8029. ],
  8030. "tags": [
  8031. "大连千海金"
  8032. ],
  8033. "summary": "查询签约银行信息(提现账户管理)",
  8034. "parameters": [
  8035. {
  8036. "type": "integer",
  8037. "description": "用户ID",
  8038. "name": "userid",
  8039. "in": "query",
  8040. "required": true
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjBankAccountSign"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/Qhj/QueryBankInfo": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金"
  8074. ],
  8075. "summary": "查询开户行",
  8076. "responses": {
  8077. "200": {
  8078. "description": "OK",
  8079. "schema": {
  8080. "type": "array",
  8081. "items": {
  8082. "$ref": "#/definitions/models.QhjBankInfo"
  8083. }
  8084. }
  8085. },
  8086. "500": {
  8087. "description": "Internal Server Error",
  8088. "schema": {
  8089. "$ref": "#/definitions/app.Response"
  8090. }
  8091. }
  8092. }
  8093. }
  8094. },
  8095. "/Qhj/QueryBrokerApply": {
  8096. "get": {
  8097. "security": [
  8098. {
  8099. "ApiKeyAuth": []
  8100. }
  8101. ],
  8102. "produces": [
  8103. "application/json"
  8104. ],
  8105. "tags": [
  8106. "大连千海金"
  8107. ],
  8108. "summary": "查询经纪人申请",
  8109. "parameters": [
  8110. {
  8111. "type": "integer",
  8112. "description": "所属机构ID",
  8113. "name": "userid",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "string",
  8118. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8119. "name": "filterstatus",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "type": "array",
  8128. "items": {
  8129. "$ref": "#/definitions/models.QhjBrokerApply"
  8130. }
  8131. }
  8132. },
  8133. "500": {
  8134. "description": "Internal Server Error",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. }
  8139. }
  8140. }
  8141. },
  8142. "/Qhj/QueryBrokerApplyEx": {
  8143. "get": {
  8144. "security": [
  8145. {
  8146. "ApiKeyAuth": []
  8147. }
  8148. ],
  8149. "produces": [
  8150. "application/json"
  8151. ],
  8152. "tags": [
  8153. "大连千海金"
  8154. ],
  8155. "summary": "查询经纪人信息和申请记录",
  8156. "parameters": [
  8157. {
  8158. "type": "integer",
  8159. "description": "所属机构ID",
  8160. "name": "userid",
  8161. "in": "query"
  8162. }
  8163. ],
  8164. "responses": {
  8165. "200": {
  8166. "description": "OK",
  8167. "schema": {
  8168. "type": "array",
  8169. "items": {
  8170. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8171. }
  8172. }
  8173. },
  8174. "500": {
  8175. "description": "Internal Server Error",
  8176. "schema": {
  8177. "$ref": "#/definitions/app.Response"
  8178. }
  8179. }
  8180. }
  8181. }
  8182. },
  8183. "/Qhj/QueryBrokerRewardLog": {
  8184. "get": {
  8185. "security": [
  8186. {
  8187. "ApiKeyAuth": []
  8188. }
  8189. ],
  8190. "produces": [
  8191. "application/json"
  8192. ],
  8193. "tags": [
  8194. "大连千海金"
  8195. ],
  8196. "summary": "查询奖励流水(我的奖励)",
  8197. "parameters": [
  8198. {
  8199. "type": "integer",
  8200. "description": "用户ID",
  8201. "name": "userid",
  8202. "in": "query",
  8203. "required": true
  8204. },
  8205. {
  8206. "type": "string",
  8207. "description": "开始交易日(yyyymmdd)",
  8208. "name": "begindate",
  8209. "in": "query"
  8210. },
  8211. {
  8212. "type": "string",
  8213. "description": "结束交易日(yyyymmdd)",
  8214. "name": "enddate",
  8215. "in": "query"
  8216. }
  8217. ],
  8218. "responses": {
  8219. "200": {
  8220. "description": "OK",
  8221. "schema": {
  8222. "type": "array",
  8223. "items": {
  8224. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8225. }
  8226. }
  8227. },
  8228. "500": {
  8229. "description": "Internal Server Error",
  8230. "schema": {
  8231. "$ref": "#/definitions/app.Response"
  8232. }
  8233. }
  8234. }
  8235. }
  8236. },
  8237. "/Qhj/QueryContract": {
  8238. "get": {
  8239. "security": [
  8240. {
  8241. "ApiKeyAuth": []
  8242. }
  8243. ],
  8244. "produces": [
  8245. "application/json"
  8246. ],
  8247. "tags": [
  8248. "大连千海金"
  8249. ],
  8250. "summary": "查询融资明细(合同)",
  8251. "parameters": [
  8252. {
  8253. "type": "integer",
  8254. "description": "用户ID",
  8255. "name": "userid",
  8256. "in": "query"
  8257. },
  8258. {
  8259. "type": "integer",
  8260. "description": "scf合同id",
  8261. "name": "scfcontractid",
  8262. "in": "query"
  8263. }
  8264. ],
  8265. "responses": {
  8266. "200": {
  8267. "description": "OK",
  8268. "schema": {
  8269. "type": "array",
  8270. "items": {
  8271. "$ref": "#/definitions/models.QhjContract"
  8272. }
  8273. }
  8274. },
  8275. "500": {
  8276. "description": "Internal Server Error",
  8277. "schema": {
  8278. "$ref": "#/definitions/app.Response"
  8279. }
  8280. }
  8281. }
  8282. }
  8283. },
  8284. "/Qhj/QueryContractLog": {
  8285. "get": {
  8286. "security": [
  8287. {
  8288. "ApiKeyAuth": []
  8289. }
  8290. ],
  8291. "produces": [
  8292. "application/json"
  8293. ],
  8294. "tags": [
  8295. "大连千海金"
  8296. ],
  8297. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8298. "parameters": [
  8299. {
  8300. "type": "integer",
  8301. "description": "scf合同id",
  8302. "name": "scfcontractid",
  8303. "in": "query",
  8304. "required": true
  8305. },
  8306. {
  8307. "type": "string",
  8308. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8309. "name": "amounttype",
  8310. "in": "query"
  8311. }
  8312. ],
  8313. "responses": {
  8314. "200": {
  8315. "description": "OK",
  8316. "schema": {
  8317. "type": "array",
  8318. "items": {
  8319. "$ref": "#/definitions/models.QhjContractLog"
  8320. }
  8321. }
  8322. },
  8323. "500": {
  8324. "description": "Internal Server Error",
  8325. "schema": {
  8326. "$ref": "#/definitions/app.Response"
  8327. }
  8328. }
  8329. }
  8330. }
  8331. },
  8332. "/Qhj/QueryCusBankSignBank": {
  8333. "get": {
  8334. "security": [
  8335. {
  8336. "ApiKeyAuth": []
  8337. }
  8338. ],
  8339. "produces": [
  8340. "application/json"
  8341. ],
  8342. "tags": [
  8343. "大连千海金"
  8344. ],
  8345. "summary": "查询托管银行",
  8346. "responses": {
  8347. "200": {
  8348. "description": "OK",
  8349. "schema": {
  8350. "type": "array",
  8351. "items": {
  8352. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8353. }
  8354. }
  8355. },
  8356. "500": {
  8357. "description": "Internal Server Error",
  8358. "schema": {
  8359. "$ref": "#/definitions/app.Response"
  8360. }
  8361. }
  8362. }
  8363. }
  8364. },
  8365. "/Qhj/QueryCustomerInfo": {
  8366. "get": {
  8367. "security": [
  8368. {
  8369. "ApiKeyAuth": []
  8370. }
  8371. ],
  8372. "produces": [
  8373. "application/json"
  8374. ],
  8375. "tags": [
  8376. "大连千海金"
  8377. ],
  8378. "summary": "查询客户资料",
  8379. "parameters": [
  8380. {
  8381. "type": "integer",
  8382. "description": "用户ID",
  8383. "name": "userid",
  8384. "in": "query",
  8385. "required": true
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8390. "name": "querytype",
  8391. "in": "query",
  8392. "required": true
  8393. },
  8394. {
  8395. "type": "integer",
  8396. "description": "客户类型 1-个人 2-企业",
  8397. "name": "userinfotype",
  8398. "in": "query"
  8399. },
  8400. {
  8401. "type": "string",
  8402. "description": "客户名称(模糊匹配)",
  8403. "name": "customername",
  8404. "in": "query"
  8405. },
  8406. {
  8407. "type": "string",
  8408. "description": "昵称(模糊匹配)",
  8409. "name": "nickname",
  8410. "in": "query"
  8411. },
  8412. {
  8413. "type": "integer",
  8414. "description": "是否包含子级 1-包含",
  8415. "name": "includesub",
  8416. "in": "query"
  8417. }
  8418. ],
  8419. "responses": {
  8420. "200": {
  8421. "description": "OK",
  8422. "schema": {
  8423. "type": "array",
  8424. "items": {
  8425. "$ref": "#/definitions/models.QhjCustomer"
  8426. }
  8427. }
  8428. },
  8429. "500": {
  8430. "description": "Internal Server Error",
  8431. "schema": {
  8432. "$ref": "#/definitions/app.Response"
  8433. }
  8434. }
  8435. }
  8436. }
  8437. },
  8438. "/Qhj/QueryGoodsEx": {
  8439. "get": {
  8440. "security": [
  8441. {
  8442. "ApiKeyAuth": []
  8443. }
  8444. ],
  8445. "produces": [
  8446. "application/json"
  8447. ],
  8448. "tags": [
  8449. "大连千海金"
  8450. ],
  8451. "summary": "交易商品扩展表",
  8452. "parameters": [
  8453. {
  8454. "type": "integer",
  8455. "description": "商品id",
  8456. "name": "goodsid",
  8457. "in": "query"
  8458. }
  8459. ],
  8460. "responses": {
  8461. "200": {
  8462. "description": "OK",
  8463. "schema": {
  8464. "type": "array",
  8465. "items": {
  8466. "$ref": "#/definitions/models.Qhjgoodsex"
  8467. }
  8468. }
  8469. },
  8470. "500": {
  8471. "description": "Internal Server Error",
  8472. "schema": {
  8473. "$ref": "#/definitions/app.Response"
  8474. }
  8475. }
  8476. }
  8477. }
  8478. },
  8479. "/Qhj/QueryMyTeam": {
  8480. "get": {
  8481. "security": [
  8482. {
  8483. "ApiKeyAuth": []
  8484. }
  8485. ],
  8486. "produces": [
  8487. "application/json"
  8488. ],
  8489. "tags": [
  8490. "大连千海金"
  8491. ],
  8492. "summary": "查询我的团队",
  8493. "parameters": [
  8494. {
  8495. "type": "integer",
  8496. "description": "用户ID",
  8497. "name": "userid",
  8498. "in": "query",
  8499. "required": true
  8500. }
  8501. ],
  8502. "responses": {
  8503. "200": {
  8504. "description": "OK",
  8505. "schema": {
  8506. "type": "array",
  8507. "items": {
  8508. "$ref": "#/definitions/models.QhjMyTeamEx"
  8509. }
  8510. }
  8511. },
  8512. "500": {
  8513. "description": "Internal Server Error",
  8514. "schema": {
  8515. "$ref": "#/definitions/app.Response"
  8516. }
  8517. }
  8518. }
  8519. }
  8520. },
  8521. "/Qhj/QueryMyTeamOrder": {
  8522. "get": {
  8523. "security": [
  8524. {
  8525. "ApiKeyAuth": []
  8526. }
  8527. ],
  8528. "produces": [
  8529. "application/json"
  8530. ],
  8531. "tags": [
  8532. "大连千海金"
  8533. ],
  8534. "summary": "查询团队订单(我的团队/团队订单)",
  8535. "parameters": [
  8536. {
  8537. "type": "integer",
  8538. "description": "页码",
  8539. "name": "page",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "integer",
  8544. "description": "每页条数",
  8545. "name": "pagesize",
  8546. "in": "query"
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "用户ID",
  8551. "name": "userid",
  8552. "in": "query",
  8553. "required": true
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "交易模式",
  8558. "name": "trademode",
  8559. "in": "query"
  8560. },
  8561. {
  8562. "type": "string",
  8563. "description": "名称(模糊搜索账户)",
  8564. "name": "filtername",
  8565. "in": "query"
  8566. }
  8567. ],
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "type": "array",
  8573. "items": {
  8574. "$ref": "#/definitions/models.QhjTeamOrder"
  8575. }
  8576. }
  8577. },
  8578. "500": {
  8579. "description": "Internal Server Error",
  8580. "schema": {
  8581. "$ref": "#/definitions/app.Response"
  8582. }
  8583. }
  8584. }
  8585. }
  8586. },
  8587. "/Qhj/QueryParentAreaList": {
  8588. "get": {
  8589. "security": [
  8590. {
  8591. "ApiKeyAuth": []
  8592. }
  8593. ],
  8594. "produces": [
  8595. "application/json"
  8596. ],
  8597. "tags": [
  8598. "大连千海金"
  8599. ],
  8600. "summary": "查询所属机构列表",
  8601. "parameters": [
  8602. {
  8603. "type": "integer",
  8604. "description": "用户ID",
  8605. "name": "userid",
  8606. "in": "query",
  8607. "required": true
  8608. }
  8609. ],
  8610. "responses": {
  8611. "200": {
  8612. "description": "OK",
  8613. "schema": {
  8614. "type": "array",
  8615. "items": {
  8616. "$ref": "#/definitions/models.QhjParentAreaList"
  8617. }
  8618. }
  8619. },
  8620. "500": {
  8621. "description": "Internal Server Error",
  8622. "schema": {
  8623. "$ref": "#/definitions/app.Response"
  8624. }
  8625. }
  8626. }
  8627. }
  8628. },
  8629. "/Qhj/QueryPayOrder": {
  8630. "get": {
  8631. "security": [
  8632. {
  8633. "ApiKeyAuth": []
  8634. }
  8635. ],
  8636. "produces": [
  8637. "application/json"
  8638. ],
  8639. "tags": [
  8640. "大连千海金"
  8641. ],
  8642. "summary": "查询待付款单据",
  8643. "parameters": [
  8644. {
  8645. "type": "integer",
  8646. "description": "资金账号id",
  8647. "name": "accountid",
  8648. "in": "query",
  8649. "required": true
  8650. },
  8651. {
  8652. "type": "integer",
  8653. "description": "成交单号",
  8654. "name": "tradeid",
  8655. "in": "query"
  8656. },
  8657. {
  8658. "type": "string",
  8659. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8660. "name": "payflag",
  8661. "in": "query"
  8662. }
  8663. ],
  8664. "responses": {
  8665. "200": {
  8666. "description": "OK",
  8667. "schema": {
  8668. "type": "array",
  8669. "items": {
  8670. "$ref": "#/definitions/models.QhjPayOrder"
  8671. }
  8672. }
  8673. },
  8674. "500": {
  8675. "description": "Internal Server Error",
  8676. "schema": {
  8677. "$ref": "#/definitions/app.Response"
  8678. }
  8679. }
  8680. }
  8681. }
  8682. },
  8683. "/Qhj/QueryPickArea": {
  8684. "get": {
  8685. "security": [
  8686. {
  8687. "ApiKeyAuth": []
  8688. }
  8689. ],
  8690. "produces": [
  8691. "application/json"
  8692. ],
  8693. "tags": [
  8694. "大连千海金"
  8695. ],
  8696. "summary": "查询提货门店",
  8697. "parameters": [
  8698. {
  8699. "type": "integer",
  8700. "description": "用户ID",
  8701. "name": "userid",
  8702. "in": "query"
  8703. }
  8704. ],
  8705. "responses": {
  8706. "200": {
  8707. "description": "OK",
  8708. "schema": {
  8709. "type": "array",
  8710. "items": {
  8711. "$ref": "#/definitions/models.QhjPickArea"
  8712. }
  8713. }
  8714. },
  8715. "500": {
  8716. "description": "Internal Server Error",
  8717. "schema": {
  8718. "$ref": "#/definitions/app.Response"
  8719. }
  8720. }
  8721. }
  8722. }
  8723. },
  8724. "/Qhj/QueryPickGoods": {
  8725. "get": {
  8726. "security": [
  8727. {
  8728. "ApiKeyAuth": []
  8729. }
  8730. ],
  8731. "produces": [
  8732. "application/json"
  8733. ],
  8734. "tags": [
  8735. "大连千海金"
  8736. ],
  8737. "summary": "查询提货商品",
  8738. "parameters": [
  8739. {
  8740. "type": "integer",
  8741. "description": "交易商品id",
  8742. "name": "goodsid",
  8743. "in": "query",
  8744. "required": true
  8745. },
  8746. {
  8747. "type": "string",
  8748. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8749. "name": "status",
  8750. "in": "query"
  8751. }
  8752. ],
  8753. "responses": {
  8754. "200": {
  8755. "description": "OK",
  8756. "schema": {
  8757. "type": "array",
  8758. "items": {
  8759. "$ref": "#/definitions/models.QhjPickGoods"
  8760. }
  8761. }
  8762. },
  8763. "500": {
  8764. "description": "Internal Server Error",
  8765. "schema": {
  8766. "$ref": "#/definitions/app.Response"
  8767. }
  8768. }
  8769. }
  8770. }
  8771. },
  8772. "/Qhj/QueryRSTriggerLog": {
  8773. "get": {
  8774. "security": [
  8775. {
  8776. "ApiKeyAuth": []
  8777. }
  8778. ],
  8779. "produces": [
  8780. "application/json"
  8781. ],
  8782. "tags": [
  8783. "大连千海金"
  8784. ],
  8785. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8786. "parameters": [
  8787. {
  8788. "type": "integer",
  8789. "description": "用户ID",
  8790. "name": "userid",
  8791. "in": "query"
  8792. },
  8793. {
  8794. "type": "integer",
  8795. "description": "定投策略id",
  8796. "name": "regularlystrategyid",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "integer",
  8801. "description": "商品id",
  8802. "name": "goodsid",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "string",
  8807. "description": "开始交易日(yyyymmdd)",
  8808. "name": "begindate",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "string",
  8813. "description": "结束交易日(yyyymmdd)",
  8814. "name": "enddate",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "string",
  8819. "description": "名称(模糊搜索账户)",
  8820. "name": "filtername",
  8821. "in": "query"
  8822. }
  8823. ],
  8824. "responses": {
  8825. "200": {
  8826. "description": "OK",
  8827. "schema": {
  8828. "type": "array",
  8829. "items": {
  8830. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8831. }
  8832. }
  8833. },
  8834. "500": {
  8835. "description": "Internal Server Error",
  8836. "schema": {
  8837. "$ref": "#/definitions/app.Response"
  8838. }
  8839. }
  8840. }
  8841. }
  8842. },
  8843. "/Qhj/QueryRStrategy": {
  8844. "get": {
  8845. "security": [
  8846. {
  8847. "ApiKeyAuth": []
  8848. }
  8849. ],
  8850. "produces": [
  8851. "application/json"
  8852. ],
  8853. "tags": [
  8854. "大连千海金"
  8855. ],
  8856. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8857. "parameters": [
  8858. {
  8859. "type": "integer",
  8860. "description": "用户ID",
  8861. "name": "userid",
  8862. "in": "query"
  8863. },
  8864. {
  8865. "type": "integer",
  8866. "description": "商品id",
  8867. "name": "goodsid",
  8868. "in": "query"
  8869. },
  8870. {
  8871. "type": "string",
  8872. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8873. "name": "status",
  8874. "in": "query"
  8875. },
  8876. {
  8877. "type": "string",
  8878. "description": "名称(模糊搜索账户)",
  8879. "name": "filtername",
  8880. "in": "query"
  8881. }
  8882. ],
  8883. "responses": {
  8884. "200": {
  8885. "description": "OK",
  8886. "schema": {
  8887. "type": "array",
  8888. "items": {
  8889. "$ref": "#/definitions/models.QhjRStrategy"
  8890. }
  8891. }
  8892. },
  8893. "500": {
  8894. "description": "Internal Server Error",
  8895. "schema": {
  8896. "$ref": "#/definitions/app.Response"
  8897. }
  8898. }
  8899. }
  8900. }
  8901. },
  8902. "/Qhj/QueryReckonPriceLog": {
  8903. "get": {
  8904. "security": [
  8905. {
  8906. "ApiKeyAuth": []
  8907. }
  8908. ],
  8909. "produces": [
  8910. "application/json"
  8911. ],
  8912. "tags": [
  8913. "大连千海金"
  8914. ],
  8915. "summary": "查询定投价(结算价)",
  8916. "parameters": [
  8917. {
  8918. "type": "integer",
  8919. "description": "商品ID",
  8920. "name": "goodsid",
  8921. "in": "query"
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "交易日 格式(yyyymmdd)",
  8926. "name": "tradedate",
  8927. "in": "query"
  8928. }
  8929. ],
  8930. "responses": {
  8931. "200": {
  8932. "description": "OK",
  8933. "schema": {
  8934. "type": "array",
  8935. "items": {
  8936. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8937. }
  8938. }
  8939. },
  8940. "500": {
  8941. "description": "Internal Server Error",
  8942. "schema": {
  8943. "$ref": "#/definitions/app.Response"
  8944. }
  8945. }
  8946. }
  8947. }
  8948. },
  8949. "/Qhj/QueryScoreLog": {
  8950. "get": {
  8951. "security": [
  8952. {
  8953. "ApiKeyAuth": []
  8954. }
  8955. ],
  8956. "produces": [
  8957. "application/json"
  8958. ],
  8959. "tags": [
  8960. "大连千海金"
  8961. ],
  8962. "summary": "查询积分流水(我的积分)",
  8963. "parameters": [
  8964. {
  8965. "type": "integer",
  8966. "description": "用户ID",
  8967. "name": "userid",
  8968. "in": "query",
  8969. "required": true
  8970. },
  8971. {
  8972. "type": "string",
  8973. "description": "开始交易日(yyyymmdd)",
  8974. "name": "begindate",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "string",
  8979. "description": "结束交易日(yyyymmdd)",
  8980. "name": "enddate",
  8981. "in": "query"
  8982. },
  8983. {
  8984. "type": "integer",
  8985. "description": "最近多少条",
  8986. "name": "lastnum",
  8987. "in": "query"
  8988. }
  8989. ],
  8990. "responses": {
  8991. "200": {
  8992. "description": "OK",
  8993. "schema": {
  8994. "type": "array",
  8995. "items": {
  8996. "$ref": "#/definitions/models.QhjScoreLog"
  8997. }
  8998. }
  8999. },
  9000. "500": {
  9001. "description": "Internal Server Error",
  9002. "schema": {
  9003. "$ref": "#/definitions/app.Response"
  9004. }
  9005. }
  9006. }
  9007. }
  9008. },
  9009. "/Qhj/QuerySiteColumnDetail": {
  9010. "get": {
  9011. "security": [
  9012. {
  9013. "ApiKeyAuth": []
  9014. }
  9015. ],
  9016. "produces": [
  9017. "application/json"
  9018. ],
  9019. "tags": [
  9020. "大连千海金"
  9021. ],
  9022. "summary": "查询资讯",
  9023. "parameters": [
  9024. {
  9025. "type": "integer",
  9026. "description": "用户ID",
  9027. "name": "userid",
  9028. "in": "query",
  9029. "required": true
  9030. }
  9031. ],
  9032. "responses": {
  9033. "200": {
  9034. "description": "OK",
  9035. "schema": {
  9036. "type": "array",
  9037. "items": {
  9038. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9039. }
  9040. }
  9041. },
  9042. "500": {
  9043. "description": "Internal Server Error",
  9044. "schema": {
  9045. "$ref": "#/definitions/app.Response"
  9046. }
  9047. }
  9048. }
  9049. }
  9050. },
  9051. "/Qhj/QueryTradeGoodsPickup": {
  9052. "get": {
  9053. "security": [
  9054. {
  9055. "ApiKeyAuth": []
  9056. }
  9057. ],
  9058. "produces": [
  9059. "application/json"
  9060. ],
  9061. "tags": [
  9062. "大连千海金"
  9063. ],
  9064. "summary": "查询提货",
  9065. "parameters": [
  9066. {
  9067. "type": "integer",
  9068. "description": "用户ID",
  9069. "name": "userid",
  9070. "in": "query",
  9071. "required": true
  9072. },
  9073. {
  9074. "type": "integer",
  9075. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9076. "name": "takeorderstatus",
  9077. "in": "query"
  9078. }
  9079. ],
  9080. "responses": {
  9081. "200": {
  9082. "description": "OK",
  9083. "schema": {
  9084. "type": "array",
  9085. "items": {
  9086. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9087. }
  9088. }
  9089. },
  9090. "500": {
  9091. "description": "Internal Server Error",
  9092. "schema": {
  9093. "$ref": "#/definitions/app.Response"
  9094. }
  9095. }
  9096. }
  9097. }
  9098. },
  9099. "/Qhj/QueryUserCollectConfig": {
  9100. "get": {
  9101. "security": [
  9102. {
  9103. "ApiKeyAuth": []
  9104. }
  9105. ],
  9106. "produces": [
  9107. "application/json"
  9108. ],
  9109. "tags": [
  9110. "大连千海金"
  9111. ],
  9112. "summary": "查询提现账户设置",
  9113. "parameters": [
  9114. {
  9115. "type": "integer",
  9116. "description": "用户ID",
  9117. "name": "userid",
  9118. "in": "query",
  9119. "required": true
  9120. }
  9121. ],
  9122. "responses": {
  9123. "200": {
  9124. "description": "OK",
  9125. "schema": {
  9126. "type": "array",
  9127. "items": {
  9128. "$ref": "#/definitions/models.UserCollectConfig"
  9129. }
  9130. }
  9131. },
  9132. "500": {
  9133. "description": "Internal Server Error",
  9134. "schema": {
  9135. "$ref": "#/definitions/app.Response"
  9136. }
  9137. }
  9138. }
  9139. }
  9140. },
  9141. "/Qhj/QueryUserReceiveInfo": {
  9142. "get": {
  9143. "security": [
  9144. {
  9145. "ApiKeyAuth": []
  9146. }
  9147. ],
  9148. "produces": [
  9149. "application/json"
  9150. ],
  9151. "tags": [
  9152. "大连千海金"
  9153. ],
  9154. "summary": "查询收货地址信息",
  9155. "parameters": [
  9156. {
  9157. "type": "integer",
  9158. "description": "用户ID",
  9159. "name": "userid",
  9160. "in": "query",
  9161. "required": true
  9162. }
  9163. ],
  9164. "responses": {
  9165. "200": {
  9166. "description": "OK",
  9167. "schema": {
  9168. "type": "array",
  9169. "items": {
  9170. "$ref": "#/definitions/models.UserReceiveInfo"
  9171. }
  9172. }
  9173. },
  9174. "500": {
  9175. "description": "Internal Server Error",
  9176. "schema": {
  9177. "$ref": "#/definitions/app.Response"
  9178. }
  9179. }
  9180. }
  9181. }
  9182. },
  9183. "/QhjMgr/QueryAccountInOutApply": {
  9184. "get": {
  9185. "security": [
  9186. {
  9187. "ApiKeyAuth": []
  9188. }
  9189. ],
  9190. "produces": [
  9191. "application/json"
  9192. ],
  9193. "tags": [
  9194. "大连千海金(PCWeb)"
  9195. ],
  9196. "summary": "查询充值提现",
  9197. "parameters": [
  9198. {
  9199. "type": "integer",
  9200. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9201. "name": "querytype",
  9202. "in": "query",
  9203. "required": true
  9204. },
  9205. {
  9206. "type": "integer",
  9207. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9208. "name": "applystatus",
  9209. "in": "query"
  9210. },
  9211. {
  9212. "type": "string",
  9213. "description": "申请起始日期(格式yyyymmdd)",
  9214. "name": "begindate",
  9215. "in": "query"
  9216. },
  9217. {
  9218. "type": "string",
  9219. "description": "申请截止日期(格式yyyymmdd)",
  9220. "name": "enddate",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "string",
  9225. "description": "模糊搜索名称",
  9226. "name": "likename",
  9227. "in": "query"
  9228. }
  9229. ],
  9230. "responses": {
  9231. "200": {
  9232. "description": "OK",
  9233. "schema": {
  9234. "type": "array",
  9235. "items": {
  9236. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9237. }
  9238. }
  9239. },
  9240. "500": {
  9241. "description": "Internal Server Error",
  9242. "schema": {
  9243. "$ref": "#/definitions/app.Response"
  9244. }
  9245. }
  9246. }
  9247. }
  9248. },
  9249. "/QhjMgr/QueryBrokerApply": {
  9250. "get": {
  9251. "security": [
  9252. {
  9253. "ApiKeyAuth": []
  9254. }
  9255. ],
  9256. "produces": [
  9257. "application/json"
  9258. ],
  9259. "tags": [
  9260. "大连千海金(PCWeb)"
  9261. ],
  9262. "summary": "查询经纪人申请",
  9263. "parameters": [
  9264. {
  9265. "type": "integer",
  9266. "description": "所属机构ID",
  9267. "name": "userid",
  9268. "in": "query"
  9269. },
  9270. {
  9271. "type": "string",
  9272. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9273. "name": "filterstatus",
  9274. "in": "query"
  9275. },
  9276. {
  9277. "type": "string",
  9278. "description": "名称(模糊匹配)",
  9279. "name": "filtername",
  9280. "in": "query"
  9281. },
  9282. {
  9283. "type": "integer",
  9284. "description": "是否包含子级 1-包含",
  9285. "name": "includesub",
  9286. "in": "query"
  9287. }
  9288. ],
  9289. "responses": {
  9290. "200": {
  9291. "description": "OK",
  9292. "schema": {
  9293. "type": "array",
  9294. "items": {
  9295. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9296. }
  9297. }
  9298. },
  9299. "500": {
  9300. "description": "Internal Server Error",
  9301. "schema": {
  9302. "$ref": "#/definitions/app.Response"
  9303. }
  9304. }
  9305. }
  9306. }
  9307. },
  9308. "/QhjMgr/QueryBrokerRewardReport": {
  9309. "get": {
  9310. "security": [
  9311. {
  9312. "ApiKeyAuth": []
  9313. }
  9314. ],
  9315. "produces": [
  9316. "application/json"
  9317. ],
  9318. "tags": [
  9319. "大连千海金(PCWeb)"
  9320. ],
  9321. "summary": "查询经纪人奖励报表(废弃)",
  9322. "parameters": [
  9323. {
  9324. "type": "integer",
  9325. "description": "所属机构ID",
  9326. "name": "userid",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "integer",
  9332. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9333. "name": "cycletype",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9340. "name": "cycletime",
  9341. "in": "query",
  9342. "required": true
  9343. },
  9344. {
  9345. "type": "string",
  9346. "description": "名称(模糊匹配)",
  9347. "name": "filtername",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "integer",
  9352. "description": "是否包含子级 1-包含",
  9353. "name": "includesub",
  9354. "in": "query"
  9355. }
  9356. ],
  9357. "responses": {
  9358. "200": {
  9359. "description": "OK",
  9360. "schema": {
  9361. "type": "array",
  9362. "items": {
  9363. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9364. }
  9365. }
  9366. },
  9367. "500": {
  9368. "description": "Internal Server Error",
  9369. "schema": {
  9370. "$ref": "#/definitions/app.Response"
  9371. }
  9372. }
  9373. }
  9374. }
  9375. },
  9376. "/QhjMgr/QueryContract": {
  9377. "get": {
  9378. "security": [
  9379. {
  9380. "ApiKeyAuth": []
  9381. }
  9382. ],
  9383. "produces": [
  9384. "application/json"
  9385. ],
  9386. "tags": [
  9387. "大连千海金(PCWeb)"
  9388. ],
  9389. "summary": "查询融资信息(合同)",
  9390. "parameters": [
  9391. {
  9392. "type": "integer",
  9393. "description": "用户ID",
  9394. "name": "userid",
  9395. "in": "query"
  9396. },
  9397. {
  9398. "type": "integer",
  9399. "description": "商品id",
  9400. "name": "goodsid",
  9401. "in": "query"
  9402. },
  9403. {
  9404. "type": "string",
  9405. "description": "名称(模糊搜索账户)",
  9406. "name": "filtername",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "string",
  9411. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9412. "name": "risklevel",
  9413. "in": "query"
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "开始交易日(yyyymmdd)",
  9418. "name": "begindate",
  9419. "in": "query"
  9420. },
  9421. {
  9422. "type": "string",
  9423. "description": "结束交易日(yyyymmdd)",
  9424. "name": "enddate",
  9425. "in": "query"
  9426. }
  9427. ],
  9428. "responses": {
  9429. "200": {
  9430. "description": "OK",
  9431. "schema": {
  9432. "type": "array",
  9433. "items": {
  9434. "$ref": "#/definitions/models.QhjMgrContract"
  9435. }
  9436. }
  9437. },
  9438. "500": {
  9439. "description": "Internal Server Error",
  9440. "schema": {
  9441. "$ref": "#/definitions/app.Response"
  9442. }
  9443. }
  9444. }
  9445. }
  9446. },
  9447. "/QhjMgr/QueryCustomerInfo": {
  9448. "get": {
  9449. "security": [
  9450. {
  9451. "ApiKeyAuth": []
  9452. }
  9453. ],
  9454. "produces": [
  9455. "application/json"
  9456. ],
  9457. "tags": [
  9458. "大连千海金(PCWeb)"
  9459. ],
  9460. "summary": "查询客户资料",
  9461. "parameters": [
  9462. {
  9463. "type": "integer",
  9464. "description": "用户ID",
  9465. "name": "userid",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9472. "name": "querytype",
  9473. "in": "query",
  9474. "required": true
  9475. },
  9476. {
  9477. "type": "integer",
  9478. "description": "客户类型 1-个人 2-企业",
  9479. "name": "userinfotype",
  9480. "in": "query"
  9481. },
  9482. {
  9483. "type": "string",
  9484. "description": "客户名称(模糊匹配)",
  9485. "name": "customername",
  9486. "in": "query"
  9487. },
  9488. {
  9489. "type": "string",
  9490. "description": "昵称(模糊匹配)",
  9491. "name": "nickname",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "string",
  9496. "description": "所属客户经理(模糊匹配)",
  9497. "name": "brokername",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "string",
  9502. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9503. "name": "birthday",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "integer",
  9508. "description": "是否包含子级 1-包含",
  9509. "name": "includesub",
  9510. "in": "query"
  9511. }
  9512. ],
  9513. "responses": {
  9514. "200": {
  9515. "description": "OK",
  9516. "schema": {
  9517. "type": "array",
  9518. "items": {
  9519. "$ref": "#/definitions/models.QhjMgrCustomer"
  9520. }
  9521. }
  9522. },
  9523. "500": {
  9524. "description": "Internal Server Error",
  9525. "schema": {
  9526. "$ref": "#/definitions/app.Response"
  9527. }
  9528. }
  9529. }
  9530. }
  9531. },
  9532. "/QhjMgr/QueryPickGoods": {
  9533. "get": {
  9534. "security": [
  9535. {
  9536. "ApiKeyAuth": []
  9537. }
  9538. ],
  9539. "produces": [
  9540. "application/json"
  9541. ],
  9542. "tags": [
  9543. "大连千海金(PCWeb)"
  9544. ],
  9545. "summary": "查询提货商品",
  9546. "parameters": [
  9547. {
  9548. "type": "string",
  9549. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9550. "name": "status",
  9551. "in": "query"
  9552. }
  9553. ],
  9554. "responses": {
  9555. "200": {
  9556. "description": "OK",
  9557. "schema": {
  9558. "type": "array",
  9559. "items": {
  9560. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9561. }
  9562. }
  9563. },
  9564. "500": {
  9565. "description": "Internal Server Error",
  9566. "schema": {
  9567. "$ref": "#/definitions/app.Response"
  9568. }
  9569. }
  9570. }
  9571. }
  9572. },
  9573. "/QhjMgr/QuerySubArea": {
  9574. "get": {
  9575. "security": [
  9576. {
  9577. "ApiKeyAuth": []
  9578. }
  9579. ],
  9580. "produces": [
  9581. "application/json"
  9582. ],
  9583. "tags": [
  9584. "大连千海金(PCWeb)"
  9585. ],
  9586. "summary": "查询子机构列表",
  9587. "parameters": [
  9588. {
  9589. "type": "integer",
  9590. "description": "用户ID",
  9591. "name": "userid",
  9592. "in": "query",
  9593. "required": true
  9594. }
  9595. ],
  9596. "responses": {
  9597. "200": {
  9598. "description": "OK",
  9599. "schema": {
  9600. "type": "array",
  9601. "items": {
  9602. "$ref": "#/definitions/models.QhjMgrSubArea"
  9603. }
  9604. }
  9605. },
  9606. "500": {
  9607. "description": "Internal Server Error",
  9608. "schema": {
  9609. "$ref": "#/definitions/app.Response"
  9610. }
  9611. }
  9612. }
  9613. }
  9614. },
  9615. "/QhjMgr/QueryTradeDetail": {
  9616. "get": {
  9617. "security": [
  9618. {
  9619. "ApiKeyAuth": []
  9620. }
  9621. ],
  9622. "produces": [
  9623. "application/json"
  9624. ],
  9625. "tags": [
  9626. "大连千海金(PCWeb)"
  9627. ],
  9628. "summary": "查询成交明细",
  9629. "parameters": [
  9630. {
  9631. "type": "integer",
  9632. "description": "用户ID",
  9633. "name": "userid",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "integer",
  9639. "description": "用户类型 1-个人 2-企业",
  9640. "name": "userinfotype",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "交易模式",
  9646. "name": "trademode",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "商品id",
  9652. "name": "goodsid",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "string",
  9657. "description": "名称(模糊搜索账户)",
  9658. "name": "filtername",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "string",
  9663. "description": "开始交易日(yyyymmdd)",
  9664. "name": "begindate",
  9665. "in": "query"
  9666. },
  9667. {
  9668. "type": "string",
  9669. "description": "结束交易日(yyyymmdd)",
  9670. "name": "enddate",
  9671. "in": "query"
  9672. },
  9673. {
  9674. "type": "integer",
  9675. "description": "是否包含子级 1-包含",
  9676. "name": "includesub",
  9677. "in": "query"
  9678. }
  9679. ],
  9680. "responses": {
  9681. "200": {
  9682. "description": "OK",
  9683. "schema": {
  9684. "type": "array",
  9685. "items": {
  9686. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9687. }
  9688. }
  9689. },
  9690. "500": {
  9691. "description": "Internal Server Error",
  9692. "schema": {
  9693. "$ref": "#/definitions/app.Response"
  9694. }
  9695. }
  9696. }
  9697. }
  9698. },
  9699. "/QhjMgr/QueryTradeOrderDetail": {
  9700. "get": {
  9701. "security": [
  9702. {
  9703. "ApiKeyAuth": []
  9704. }
  9705. ],
  9706. "produces": [
  9707. "application/json"
  9708. ],
  9709. "tags": [
  9710. "大连千海金(PCWeb)"
  9711. ],
  9712. "summary": "查询委托明细",
  9713. "parameters": [
  9714. {
  9715. "type": "integer",
  9716. "description": "用户ID",
  9717. "name": "userid",
  9718. "in": "query",
  9719. "required": true
  9720. },
  9721. {
  9722. "type": "integer",
  9723. "description": "用户类型 1-个人 2-企业",
  9724. "name": "userinfotype",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "交易模式",
  9730. "name": "trademode",
  9731. "in": "query"
  9732. },
  9733. {
  9734. "type": "integer",
  9735. "description": "商品id",
  9736. "name": "goodsid",
  9737. "in": "query"
  9738. },
  9739. {
  9740. "type": "string",
  9741. "description": "名称(模糊搜索账户)",
  9742. "name": "filtername",
  9743. "in": "query"
  9744. },
  9745. {
  9746. "type": "string",
  9747. "description": "开始交易日(yyyymmdd)",
  9748. "name": "begindate",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "string",
  9753. "description": "结束交易日(yyyymmdd)",
  9754. "name": "enddate",
  9755. "in": "query"
  9756. },
  9757. {
  9758. "type": "integer",
  9759. "description": "是否包含子级 1-包含",
  9760. "name": "includesub",
  9761. "in": "query"
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "type": "array",
  9769. "items": {
  9770. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9771. }
  9772. }
  9773. },
  9774. "500": {
  9775. "description": "Internal Server Error",
  9776. "schema": {
  9777. "$ref": "#/definitions/app.Response"
  9778. }
  9779. }
  9780. }
  9781. }
  9782. },
  9783. "/QhjMgr/QueryTradePayOrder": {
  9784. "get": {
  9785. "security": [
  9786. {
  9787. "ApiKeyAuth": []
  9788. }
  9789. ],
  9790. "produces": [
  9791. "application/json"
  9792. ],
  9793. "tags": [
  9794. "大连千海金(PCWeb)"
  9795. ],
  9796. "summary": "查询待付款单",
  9797. "parameters": [
  9798. {
  9799. "type": "integer",
  9800. "description": "用户ID",
  9801. "name": "userid",
  9802. "in": "query",
  9803. "required": true
  9804. },
  9805. {
  9806. "type": "string",
  9807. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9808. "name": "payflag",
  9809. "in": "query"
  9810. },
  9811. {
  9812. "type": "integer",
  9813. "description": "用户类型 1-个人 2-企业",
  9814. "name": "userinfotype",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "integer",
  9819. "description": "交易模式",
  9820. "name": "trademode",
  9821. "in": "query"
  9822. },
  9823. {
  9824. "type": "integer",
  9825. "description": "商品id",
  9826. "name": "goodsid",
  9827. "in": "query"
  9828. },
  9829. {
  9830. "type": "string",
  9831. "description": "名称(模糊搜索账户)",
  9832. "name": "filtername",
  9833. "in": "query"
  9834. },
  9835. {
  9836. "type": "string",
  9837. "description": "开始交易日(yyyymmdd)",
  9838. "name": "begindate",
  9839. "in": "query"
  9840. },
  9841. {
  9842. "type": "string",
  9843. "description": "结束交易日(yyyymmdd)",
  9844. "name": "enddate",
  9845. "in": "query"
  9846. },
  9847. {
  9848. "type": "integer",
  9849. "description": "是否包含子级 1-包含",
  9850. "name": "includesub",
  9851. "in": "query"
  9852. }
  9853. ],
  9854. "responses": {
  9855. "200": {
  9856. "description": "OK",
  9857. "schema": {
  9858. "type": "array",
  9859. "items": {
  9860. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9861. }
  9862. }
  9863. },
  9864. "500": {
  9865. "description": "Internal Server Error",
  9866. "schema": {
  9867. "$ref": "#/definitions/app.Response"
  9868. }
  9869. }
  9870. }
  9871. }
  9872. },
  9873. "/QhjMgr/QueryTradePosition": {
  9874. "get": {
  9875. "security": [
  9876. {
  9877. "ApiKeyAuth": []
  9878. }
  9879. ],
  9880. "produces": [
  9881. "application/json"
  9882. ],
  9883. "tags": [
  9884. "大连千海金(PCWeb)"
  9885. ],
  9886. "summary": "查询持仓汇总",
  9887. "parameters": [
  9888. {
  9889. "type": "integer",
  9890. "description": "用户ID",
  9891. "name": "userid",
  9892. "in": "query",
  9893. "required": true
  9894. },
  9895. {
  9896. "type": "integer",
  9897. "description": "用户类型 1-个人 2-企业",
  9898. "name": "userinfotype",
  9899. "in": "query"
  9900. },
  9901. {
  9902. "type": "integer",
  9903. "description": "交易模式",
  9904. "name": "trademode",
  9905. "in": "query"
  9906. },
  9907. {
  9908. "type": "integer",
  9909. "description": "商品id",
  9910. "name": "goodsid",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "string",
  9915. "description": "名称(模糊搜索账户)",
  9916. "name": "filtername",
  9917. "in": "query"
  9918. },
  9919. {
  9920. "type": "integer",
  9921. "description": "是否包含子级 1-包含",
  9922. "name": "includesub",
  9923. "in": "query"
  9924. }
  9925. ],
  9926. "responses": {
  9927. "200": {
  9928. "description": "OK",
  9929. "schema": {
  9930. "type": "array",
  9931. "items": {
  9932. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9933. }
  9934. }
  9935. },
  9936. "500": {
  9937. "description": "Internal Server Error",
  9938. "schema": {
  9939. "$ref": "#/definitions/app.Response"
  9940. }
  9941. }
  9942. }
  9943. }
  9944. },
  9945. "/QhjSys/QueryAgreementChangeLog": {
  9946. "get": {
  9947. "security": [
  9948. {
  9949. "ApiKeyAuth": []
  9950. }
  9951. ],
  9952. "produces": [
  9953. "application/json"
  9954. ],
  9955. "tags": [
  9956. "大连千海金(协议和签约信息)"
  9957. ],
  9958. "summary": "查询协议配置变更流水",
  9959. "parameters": [
  9960. {
  9961. "type": "integer",
  9962. "description": "协议ID",
  9963. "name": "agreementid",
  9964. "in": "query"
  9965. },
  9966. {
  9967. "type": "integer",
  9968. "description": "协议版本号",
  9969. "name": "agreementversion",
  9970. "in": "query"
  9971. },
  9972. {
  9973. "type": "integer",
  9974. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9975. "name": "agreementtype",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "string",
  9980. "description": "协议编号(模糊匹配)",
  9981. "name": "agreementno",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "string",
  9986. "description": "协议名称(模糊匹配)",
  9987. "name": "agreementname",
  9988. "in": "query"
  9989. }
  9990. ],
  9991. "responses": {
  9992. "200": {
  9993. "description": "OK",
  9994. "schema": {
  9995. "type": "array",
  9996. "items": {
  9997. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9998. }
  9999. }
  10000. },
  10001. "500": {
  10002. "description": "Internal Server Error",
  10003. "schema": {
  10004. "$ref": "#/definitions/app.Response"
  10005. }
  10006. }
  10007. }
  10008. }
  10009. },
  10010. "/QhjSys/QueryAgreementConfig": {
  10011. "get": {
  10012. "security": [
  10013. {
  10014. "ApiKeyAuth": []
  10015. }
  10016. ],
  10017. "produces": [
  10018. "application/json"
  10019. ],
  10020. "tags": [
  10021. "大连千海金(协议和签约信息)"
  10022. ],
  10023. "summary": "查询协议配置",
  10024. "parameters": [
  10025. {
  10026. "type": "integer",
  10027. "description": "协议ID",
  10028. "name": "agreementid",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "integer",
  10033. "description": "协议版本号",
  10034. "name": "agreementversion",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "integer",
  10039. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10040. "name": "agreementtype",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "integer",
  10045. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10046. "name": "isvalid",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "string",
  10051. "description": "协议编号(模糊匹配)",
  10052. "name": "agreementno",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "string",
  10057. "description": "协议名称(模糊匹配)",
  10058. "name": "agreementname",
  10059. "in": "query"
  10060. }
  10061. ],
  10062. "responses": {
  10063. "200": {
  10064. "description": "OK",
  10065. "schema": {
  10066. "type": "array",
  10067. "items": {
  10068. "$ref": "#/definitions/models.QhjAgreementConfig"
  10069. }
  10070. }
  10071. },
  10072. "500": {
  10073. "description": "Internal Server Error",
  10074. "schema": {
  10075. "$ref": "#/definitions/app.Response"
  10076. }
  10077. }
  10078. }
  10079. }
  10080. },
  10081. "/QhjSys/QueryCustomerSignStatus": {
  10082. "get": {
  10083. "security": [
  10084. {
  10085. "ApiKeyAuth": []
  10086. }
  10087. ],
  10088. "produces": [
  10089. "application/json"
  10090. ],
  10091. "tags": [
  10092. "大连千海金(协议和签约信息)"
  10093. ],
  10094. "summary": "查询客户协议签约状态",
  10095. "parameters": [
  10096. {
  10097. "type": "integer",
  10098. "description": "客户ID",
  10099. "name": "userid",
  10100. "in": "query"
  10101. },
  10102. {
  10103. "type": "integer",
  10104. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10105. "name": "nodetype",
  10106. "in": "query"
  10107. },
  10108. {
  10109. "type": "integer",
  10110. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10111. "name": "goodsid",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "string",
  10116. "description": "创建交易日(yyyyMMdd)",
  10117. "name": "tradedate",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "string",
  10122. "description": "用户名称(模糊匹配)",
  10123. "name": "username",
  10124. "in": "query"
  10125. }
  10126. ],
  10127. "responses": {
  10128. "200": {
  10129. "description": "OK",
  10130. "schema": {
  10131. "type": "array",
  10132. "items": {
  10133. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10134. }
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/QhjSys/QueryNodeAgreementConfig": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "大连千海金(协议和签约信息)"
  10158. ],
  10159. "summary": "查询协议节点配置",
  10160. "parameters": [
  10161. {
  10162. "type": "integer",
  10163. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10164. "name": "configid",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "integer",
  10169. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10170. "name": "nodetype",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "integer",
  10175. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10176. "name": "goodsid",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "协议ID",
  10182. "name": "agreementid",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10188. "name": "agreementtype",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "协议版本号",
  10194. "name": "agreementversion",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "string",
  10199. "description": "协议编号(模糊匹配)",
  10200. "name": "agreementno",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "string",
  10205. "description": "协议名称(模糊匹配)",
  10206. "name": "agreementname",
  10207. "in": "query"
  10208. }
  10209. ],
  10210. "responses": {
  10211. "200": {
  10212. "description": "OK",
  10213. "schema": {
  10214. "type": "array",
  10215. "items": {
  10216. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10217. }
  10218. }
  10219. },
  10220. "500": {
  10221. "description": "Internal Server Error",
  10222. "schema": {
  10223. "$ref": "#/definitions/app.Response"
  10224. }
  10225. }
  10226. }
  10227. }
  10228. },
  10229. "/QhjSys/QueryQhjCustomerSignLog": {
  10230. "get": {
  10231. "security": [
  10232. {
  10233. "ApiKeyAuth": []
  10234. }
  10235. ],
  10236. "produces": [
  10237. "application/json"
  10238. ],
  10239. "tags": [
  10240. "大连千海金(协议和签约信息)"
  10241. ],
  10242. "summary": "查询客户协议签约流水",
  10243. "parameters": [
  10244. {
  10245. "type": "integer",
  10246. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10247. "name": "logid",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "integer",
  10252. "description": "客户ID",
  10253. "name": "userid",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "integer",
  10258. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10259. "name": "nodetype",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10265. "name": "goodsid",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "integer",
  10270. "description": "协议ID",
  10271. "name": "agreementid",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "string",
  10276. "description": "用户名称(模糊匹配)",
  10277. "name": "username",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "string",
  10282. "description": "协议编号(模糊匹配)",
  10283. "name": "agreementno",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "string",
  10288. "description": "协议名称(模糊匹配)",
  10289. "name": "agreementname",
  10290. "in": "query"
  10291. }
  10292. ],
  10293. "responses": {
  10294. "200": {
  10295. "description": "OK",
  10296. "schema": {
  10297. "type": "array",
  10298. "items": {
  10299. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10300. }
  10301. }
  10302. },
  10303. "500": {
  10304. "description": "Internal Server Error",
  10305. "schema": {
  10306. "$ref": "#/definitions/app.Response"
  10307. }
  10308. }
  10309. }
  10310. }
  10311. },
  10312. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10313. "get": {
  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. },
  10333. {
  10334. "type": "integer",
  10335. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10336. "name": "configid",
  10337. "in": "query"
  10338. },
  10339. {
  10340. "type": "string",
  10341. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10342. "name": "nodetype",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "integer",
  10347. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10348. "name": "goodsid",
  10349. "in": "query"
  10350. },
  10351. {
  10352. "type": "integer",
  10353. "description": "协议ID",
  10354. "name": "agreementid",
  10355. "in": "query"
  10356. },
  10357. {
  10358. "type": "integer",
  10359. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10360. "name": "agreementtype",
  10361. "in": "query"
  10362. },
  10363. {
  10364. "type": "integer",
  10365. "description": "协议版本号",
  10366. "name": "agreementversion",
  10367. "in": "query"
  10368. },
  10369. {
  10370. "type": "string",
  10371. "description": "协议编号(模糊匹配)",
  10372. "name": "agreementno",
  10373. "in": "query"
  10374. },
  10375. {
  10376. "type": "string",
  10377. "description": "协议名称(模糊匹配)",
  10378. "name": "agreementname",
  10379. "in": "query"
  10380. }
  10381. ],
  10382. "responses": {
  10383. "200": {
  10384. "description": "OK",
  10385. "schema": {
  10386. "type": "array",
  10387. "items": {
  10388. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10389. }
  10390. }
  10391. },
  10392. "500": {
  10393. "description": "Internal Server Error",
  10394. "schema": {
  10395. "$ref": "#/definitions/app.Response"
  10396. }
  10397. }
  10398. }
  10399. }
  10400. },
  10401. "/Quote/QueryHistoryDatas": {
  10402. "get": {
  10403. "security": [
  10404. {
  10405. "ApiKeyAuth": []
  10406. }
  10407. ],
  10408. "produces": [
  10409. "application/json"
  10410. ],
  10411. "tags": [
  10412. "行情服务"
  10413. ],
  10414. "summary": "查询行情历史数据",
  10415. "parameters": [
  10416. {
  10417. "type": "integer",
  10418. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10419. "name": "cycleType",
  10420. "in": "query",
  10421. "required": true
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "商品代码",
  10426. "name": "goodsCode",
  10427. "in": "query",
  10428. "required": true
  10429. },
  10430. {
  10431. "type": "string",
  10432. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10433. "name": "startTime",
  10434. "in": "query"
  10435. },
  10436. {
  10437. "type": "string",
  10438. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10439. "name": "endTime",
  10440. "in": "query"
  10441. },
  10442. {
  10443. "type": "integer",
  10444. "description": "条数",
  10445. "name": "count",
  10446. "in": "query"
  10447. },
  10448. {
  10449. "type": "boolean",
  10450. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10451. "name": "isAsc",
  10452. "in": "query"
  10453. }
  10454. ],
  10455. "responses": {
  10456. "200": {
  10457. "description": "OK",
  10458. "schema": {
  10459. "$ref": "#/definitions/quote.HistoryData"
  10460. }
  10461. },
  10462. "500": {
  10463. "description": "Internal Server Error",
  10464. "schema": {
  10465. "$ref": "#/definitions/app.Response"
  10466. }
  10467. }
  10468. }
  10469. }
  10470. },
  10471. "/Quote/QueryHistoryTikDatas": {
  10472. "get": {
  10473. "security": [
  10474. {
  10475. "ApiKeyAuth": []
  10476. }
  10477. ],
  10478. "produces": [
  10479. "application/json"
  10480. ],
  10481. "tags": [
  10482. "行情服务"
  10483. ],
  10484. "summary": "查询行情Tik数据",
  10485. "parameters": [
  10486. {
  10487. "type": "string",
  10488. "description": "商品代码",
  10489. "name": "goodsCode",
  10490. "in": "query",
  10491. "required": true
  10492. },
  10493. {
  10494. "type": "string",
  10495. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10496. "name": "startTime",
  10497. "in": "query"
  10498. },
  10499. {
  10500. "type": "string",
  10501. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10502. "name": "endTime",
  10503. "in": "query"
  10504. },
  10505. {
  10506. "type": "integer",
  10507. "description": "条数",
  10508. "name": "count",
  10509. "in": "query"
  10510. },
  10511. {
  10512. "type": "boolean",
  10513. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10514. "name": "isAsc",
  10515. "in": "query"
  10516. }
  10517. ],
  10518. "responses": {
  10519. "200": {
  10520. "description": "OK",
  10521. "schema": {
  10522. "$ref": "#/definitions/quote.HistoryTikData"
  10523. }
  10524. },
  10525. "500": {
  10526. "description": "Internal Server Error",
  10527. "schema": {
  10528. "$ref": "#/definitions/app.Response"
  10529. }
  10530. }
  10531. }
  10532. }
  10533. },
  10534. "/Quote/QueryQuoteDay": {
  10535. "get": {
  10536. "security": [
  10537. {
  10538. "ApiKeyAuth": []
  10539. }
  10540. ],
  10541. "produces": [
  10542. "application/json"
  10543. ],
  10544. "tags": [
  10545. "行情服务"
  10546. ],
  10547. "summary": "获取商品盘面信息",
  10548. "parameters": [
  10549. {
  10550. "type": "string",
  10551. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10552. "name": "goodsCodes",
  10553. "in": "query"
  10554. }
  10555. ],
  10556. "responses": {
  10557. "200": {
  10558. "description": "OK",
  10559. "schema": {
  10560. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10561. }
  10562. },
  10563. "500": {
  10564. "description": "Internal Server Error",
  10565. "schema": {
  10566. "$ref": "#/definitions/app.Response"
  10567. }
  10568. }
  10569. }
  10570. }
  10571. },
  10572. "/Quote/QueryTSData": {
  10573. "get": {
  10574. "security": [
  10575. {
  10576. "ApiKeyAuth": []
  10577. }
  10578. ],
  10579. "produces": [
  10580. "application/json"
  10581. ],
  10582. "tags": [
  10583. "行情服务"
  10584. ],
  10585. "summary": "分时图数据查询",
  10586. "parameters": [
  10587. {
  10588. "type": "string",
  10589. "description": "商品代码",
  10590. "name": "goodsCode",
  10591. "in": "query",
  10592. "required": true
  10593. }
  10594. ],
  10595. "responses": {
  10596. "200": {
  10597. "description": "OK",
  10598. "schema": {
  10599. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10600. }
  10601. },
  10602. "500": {
  10603. "description": "Internal Server Error",
  10604. "schema": {
  10605. "$ref": "#/definitions/app.Response"
  10606. }
  10607. }
  10608. }
  10609. }
  10610. },
  10611. "/SZDZ/QueryConvertConfig": {
  10612. "get": {
  10613. "security": [
  10614. {
  10615. "ApiKeyAuth": []
  10616. }
  10617. ],
  10618. "produces": [
  10619. "application/json"
  10620. ],
  10621. "tags": [
  10622. "定制【尚志大宗】"
  10623. ],
  10624. "summary": "查询交易系统转换设置",
  10625. "parameters": [
  10626. {
  10627. "type": "integer",
  10628. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10629. "name": "convertType",
  10630. "in": "query"
  10631. },
  10632. {
  10633. "type": "string",
  10634. "description": "外部商品代码[JD\\PD]",
  10635. "name": "outerGoodsCode",
  10636. "in": "query"
  10637. },
  10638. {
  10639. "type": "string",
  10640. "description": "内部商品ID列表[交易],格式:1,2,3",
  10641. "name": "innerGoodsIDs",
  10642. "in": "query"
  10643. }
  10644. ],
  10645. "responses": {
  10646. "200": {
  10647. "description": "OK",
  10648. "schema": {
  10649. "$ref": "#/definitions/models.Szdz3convertconfig"
  10650. }
  10651. },
  10652. "500": {
  10653. "description": "Internal Server Error",
  10654. "schema": {
  10655. "$ref": "#/definitions/app.Response"
  10656. }
  10657. }
  10658. }
  10659. }
  10660. },
  10661. "/SZDZ/QueryConvertLog": {
  10662. "get": {
  10663. "security": [
  10664. {
  10665. "ApiKeyAuth": []
  10666. }
  10667. ],
  10668. "produces": [
  10669. "application/json"
  10670. ],
  10671. "tags": [
  10672. "定制【尚志大宗】"
  10673. ],
  10674. "summary": "交易系统转换流水查询",
  10675. "parameters": [
  10676. {
  10677. "type": "string",
  10678. "description": "资金账户 - 格式:1,2,3",
  10679. "name": "accountID",
  10680. "in": "query",
  10681. "required": true
  10682. },
  10683. {
  10684. "type": "string",
  10685. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10686. "name": "startDate",
  10687. "in": "query"
  10688. },
  10689. {
  10690. "type": "string",
  10691. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10692. "name": "endDate",
  10693. "in": "query"
  10694. }
  10695. ],
  10696. "responses": {
  10697. "200": {
  10698. "description": "OK",
  10699. "schema": {
  10700. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10701. }
  10702. },
  10703. "500": {
  10704. "description": "Internal Server Error",
  10705. "schema": {
  10706. "$ref": "#/definitions/app.Response"
  10707. }
  10708. }
  10709. }
  10710. }
  10711. },
  10712. "/SZDZ/QueryGoodsPickup": {
  10713. "get": {
  10714. "security": [
  10715. {
  10716. "ApiKeyAuth": []
  10717. }
  10718. ],
  10719. "produces": [
  10720. "application/json"
  10721. ],
  10722. "tags": [
  10723. "定制【尚志大宗】"
  10724. ],
  10725. "summary": "商品提货单查询",
  10726. "parameters": [
  10727. {
  10728. "type": "string",
  10729. "description": "资金账户 - 格式:1,2,3",
  10730. "name": "accountID",
  10731. "in": "query",
  10732. "required": true
  10733. },
  10734. {
  10735. "type": "integer",
  10736. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10737. "name": "takeOrderStatus",
  10738. "in": "query"
  10739. }
  10740. ],
  10741. "responses": {
  10742. "200": {
  10743. "description": "OK",
  10744. "schema": {
  10745. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10746. }
  10747. },
  10748. "500": {
  10749. "description": "Internal Server Error",
  10750. "schema": {
  10751. "$ref": "#/definitions/app.Response"
  10752. }
  10753. }
  10754. }
  10755. }
  10756. },
  10757. "/SZDZ/QueryRecieptOrder": {
  10758. "get": {
  10759. "security": [
  10760. {
  10761. "ApiKeyAuth": []
  10762. }
  10763. ],
  10764. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10765. "produces": [
  10766. "application/json"
  10767. ],
  10768. "tags": [
  10769. "定制【尚志大宗】"
  10770. ],
  10771. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10772. "parameters": [
  10773. {
  10774. "type": "integer",
  10775. "description": "页码",
  10776. "name": "page",
  10777. "in": "query"
  10778. },
  10779. {
  10780. "type": "integer",
  10781. "description": "每页条数",
  10782. "name": "pagesize",
  10783. "in": "query"
  10784. },
  10785. {
  10786. "type": "integer",
  10787. "description": "商品ID",
  10788. "name": "goodsID",
  10789. "in": "query",
  10790. "required": true
  10791. },
  10792. {
  10793. "type": "string",
  10794. "description": "所属账户名称",
  10795. "name": "accountName",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "integer",
  10800. "description": "市场ID",
  10801. "name": "marketID",
  10802. "in": "query"
  10803. },
  10804. {
  10805. "type": "integer",
  10806. "description": "方向 - 0:买 1:卖",
  10807. "name": "buyorsell",
  10808. "in": "query",
  10809. "required": true
  10810. }
  10811. ],
  10812. "responses": {
  10813. "200": {
  10814. "description": "OK",
  10815. "schema": {
  10816. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10817. }
  10818. },
  10819. "500": {
  10820. "description": "Internal Server Error",
  10821. "schema": {
  10822. "$ref": "#/definitions/app.Response"
  10823. }
  10824. }
  10825. }
  10826. }
  10827. },
  10828. "/SZDZ/QuerySZDZTradePosition": {
  10829. "get": {
  10830. "security": [
  10831. {
  10832. "ApiKeyAuth": []
  10833. }
  10834. ],
  10835. "produces": [
  10836. "application/json"
  10837. ],
  10838. "tags": [
  10839. "定制【尚志大宗】"
  10840. ],
  10841. "summary": "持仓汇总查询(尚志大宗)",
  10842. "parameters": [
  10843. {
  10844. "type": "integer",
  10845. "description": "资金账户",
  10846. "name": "accountID",
  10847. "in": "query",
  10848. "required": true
  10849. }
  10850. ],
  10851. "responses": {
  10852. "200": {
  10853. "description": "OK",
  10854. "schema": {
  10855. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10856. }
  10857. },
  10858. "500": {
  10859. "description": "Internal Server Error",
  10860. "schema": {
  10861. "$ref": "#/definitions/app.Response"
  10862. }
  10863. }
  10864. }
  10865. }
  10866. },
  10867. "/SZDZ/SearchWhite": {
  10868. "get": {
  10869. "security": [
  10870. {
  10871. "ApiKeyAuth": []
  10872. }
  10873. ],
  10874. "produces": [
  10875. "application/json"
  10876. ],
  10877. "tags": [
  10878. "定制【尚志大宗】"
  10879. ],
  10880. "summary": "搜索白名单",
  10881. "parameters": [
  10882. {
  10883. "type": "integer",
  10884. "description": "用户ID",
  10885. "name": "userID",
  10886. "in": "query",
  10887. "required": true
  10888. }
  10889. ],
  10890. "responses": {
  10891. "200": {
  10892. "description": "OK",
  10893. "schema": {
  10894. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10895. }
  10896. },
  10897. "500": {
  10898. "description": "Internal Server Error",
  10899. "schema": {
  10900. "$ref": "#/definitions/app.Response"
  10901. }
  10902. }
  10903. }
  10904. }
  10905. },
  10906. "/Search/SearchGoodses": {
  10907. "get": {
  10908. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10909. "produces": [
  10910. "application/json"
  10911. ],
  10912. "tags": [
  10913. "检索服务"
  10914. ],
  10915. "summary": "检索商品信息",
  10916. "parameters": [
  10917. {
  10918. "type": "string",
  10919. "description": "检索内容",
  10920. "name": "content",
  10921. "in": "query",
  10922. "required": true
  10923. },
  10924. {
  10925. "type": "string",
  10926. "description": "交易模式,格式:1,2,3",
  10927. "name": "tradeModes",
  10928. "in": "query"
  10929. }
  10930. ],
  10931. "responses": {
  10932. "200": {
  10933. "description": "OK",
  10934. "schema": {
  10935. "$ref": "#/definitions/models.SearchGoods"
  10936. }
  10937. },
  10938. "500": {
  10939. "description": "Internal Server Error",
  10940. "schema": {
  10941. "$ref": "#/definitions/app.Response"
  10942. }
  10943. }
  10944. }
  10945. }
  10946. },
  10947. "/TaAccount/GetTaAccounts": {
  10948. "get": {
  10949. "security": [
  10950. {
  10951. "ApiKeyAuth": []
  10952. }
  10953. ],
  10954. "produces": [
  10955. "application/json"
  10956. ],
  10957. "tags": [
  10958. "资金账户"
  10959. ],
  10960. "summary": "获取资金账户信息",
  10961. "parameters": [
  10962. {
  10963. "type": "integer",
  10964. "description": "登录账户",
  10965. "name": "loginID",
  10966. "in": "query",
  10967. "required": true
  10968. },
  10969. {
  10970. "type": "integer",
  10971. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10972. "name": "taAccountType",
  10973. "in": "query"
  10974. }
  10975. ],
  10976. "responses": {
  10977. "200": {
  10978. "description": "OK",
  10979. "schema": {
  10980. "$ref": "#/definitions/models.Taaccount"
  10981. }
  10982. },
  10983. "500": {
  10984. "description": "Internal Server Error",
  10985. "schema": {
  10986. "$ref": "#/definitions/app.Response"
  10987. }
  10988. }
  10989. }
  10990. }
  10991. },
  10992. "/TaAccount/QueryAmountLog": {
  10993. "get": {
  10994. "security": [
  10995. {
  10996. "ApiKeyAuth": []
  10997. }
  10998. ],
  10999. "produces": [
  11000. "application/json"
  11001. ],
  11002. "tags": [
  11003. "资金账户"
  11004. ],
  11005. "summary": "资金流水查询(当前)",
  11006. "parameters": [
  11007. {
  11008. "type": "integer",
  11009. "description": "页码",
  11010. "name": "page",
  11011. "in": "query"
  11012. },
  11013. {
  11014. "type": "integer",
  11015. "description": "每页条数",
  11016. "name": "pagesize",
  11017. "in": "query"
  11018. },
  11019. {
  11020. "type": "string",
  11021. "description": "资金账户 - 格式:1,2,3",
  11022. "name": "accountID",
  11023. "in": "query",
  11024. "required": true
  11025. },
  11026. {
  11027. "type": "string",
  11028. "description": "资金操作类型 - 格式:1,2,3",
  11029. "name": "OperateType",
  11030. "in": "query"
  11031. }
  11032. ],
  11033. "responses": {
  11034. "200": {
  11035. "description": "OK",
  11036. "schema": {
  11037. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11038. }
  11039. },
  11040. "500": {
  11041. "description": "Internal Server Error",
  11042. "schema": {
  11043. "$ref": "#/definitions/app.Response"
  11044. }
  11045. }
  11046. }
  11047. }
  11048. },
  11049. "/TaAccount/QueryHisAmountLog": {
  11050. "get": {
  11051. "security": [
  11052. {
  11053. "ApiKeyAuth": []
  11054. }
  11055. ],
  11056. "produces": [
  11057. "application/json"
  11058. ],
  11059. "tags": [
  11060. "资金账户"
  11061. ],
  11062. "summary": "资金流水查询(历史)",
  11063. "parameters": [
  11064. {
  11065. "type": "integer",
  11066. "description": "页码",
  11067. "name": "page",
  11068. "in": "query"
  11069. },
  11070. {
  11071. "type": "integer",
  11072. "description": "每页条数",
  11073. "name": "pagesize",
  11074. "in": "query"
  11075. },
  11076. {
  11077. "type": "string",
  11078. "description": "资金账户 - 格式:1,2,3",
  11079. "name": "accountID",
  11080. "in": "query",
  11081. "required": true
  11082. },
  11083. {
  11084. "type": "string",
  11085. "description": "资金操作类型 - 格式:1,2,3",
  11086. "name": "OperateType",
  11087. "in": "query"
  11088. },
  11089. {
  11090. "type": "string",
  11091. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11092. "name": "startDate",
  11093. "in": "query"
  11094. },
  11095. {
  11096. "type": "string",
  11097. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11098. "name": "endDate",
  11099. "in": "query"
  11100. }
  11101. ],
  11102. "responses": {
  11103. "200": {
  11104. "description": "OK",
  11105. "schema": {
  11106. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11107. }
  11108. },
  11109. "500": {
  11110. "description": "Internal Server Error",
  11111. "schema": {
  11112. "$ref": "#/definitions/app.Response"
  11113. }
  11114. }
  11115. }
  11116. }
  11117. },
  11118. "/Tjmd/QueryQuoteGoodsList": {
  11119. "get": {
  11120. "security": [
  11121. {
  11122. "ApiKeyAuth": []
  11123. }
  11124. ],
  11125. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11126. "produces": [
  11127. "application/json"
  11128. ],
  11129. "tags": [
  11130. "天津麦顿"
  11131. ],
  11132. "summary": "查询掉期报价列表",
  11133. "parameters": [
  11134. {
  11135. "type": "integer",
  11136. "description": "用户类型",
  11137. "name": "usertype",
  11138. "in": "query",
  11139. "required": true
  11140. },
  11141. {
  11142. "type": "string",
  11143. "description": "市场id, 格式 1,2,3",
  11144. "name": "marketids",
  11145. "in": "query"
  11146. },
  11147. {
  11148. "type": "integer",
  11149. "description": "商品组id",
  11150. "name": "goodsgroupid",
  11151. "in": "query"
  11152. },
  11153. {
  11154. "type": "integer",
  11155. "description": "商品id",
  11156. "name": "goodsid",
  11157. "in": "query"
  11158. }
  11159. ],
  11160. "responses": {
  11161. "200": {
  11162. "description": "OK",
  11163. "schema": {
  11164. "type": "array",
  11165. "items": {
  11166. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11167. }
  11168. }
  11169. },
  11170. "500": {
  11171. "description": "Internal Server Error",
  11172. "schema": {
  11173. "$ref": "#/definitions/app.Response"
  11174. }
  11175. }
  11176. }
  11177. }
  11178. },
  11179. "/Tjmd/QueryTjmdMarketSection": {
  11180. "get": {
  11181. "security": [
  11182. {
  11183. "ApiKeyAuth": []
  11184. }
  11185. ],
  11186. "produces": [
  11187. "application/json"
  11188. ],
  11189. "tags": [
  11190. "天津麦顿"
  11191. ],
  11192. "summary": "查询市场板块",
  11193. "responses": {
  11194. "200": {
  11195. "description": "OK",
  11196. "schema": {
  11197. "type": "array",
  11198. "items": {
  11199. "$ref": "#/definitions/models.TjmdMarketSection"
  11200. }
  11201. }
  11202. },
  11203. "500": {
  11204. "description": "Internal Server Error",
  11205. "schema": {
  11206. "$ref": "#/definitions/app.Response"
  11207. }
  11208. }
  11209. }
  11210. }
  11211. },
  11212. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11213. "get": {
  11214. "security": [
  11215. {
  11216. "ApiKeyAuth": []
  11217. }
  11218. ],
  11219. "produces": [
  11220. "application/json"
  11221. ],
  11222. "tags": [
  11223. "天津麦顿"
  11224. ],
  11225. "summary": "查询今日账户保证金配置",
  11226. "parameters": [
  11227. {
  11228. "type": "string",
  11229. "description": "市场id",
  11230. "name": "marketid",
  11231. "in": "query"
  11232. },
  11233. {
  11234. "type": "string",
  11235. "description": "商品id",
  11236. "name": "goodsid",
  11237. "in": "query"
  11238. },
  11239. {
  11240. "type": "string",
  11241. "description": "资金账号",
  11242. "name": "accountid",
  11243. "in": "query"
  11244. }
  11245. ],
  11246. "responses": {
  11247. "200": {
  11248. "description": "OK",
  11249. "schema": {
  11250. "type": "array",
  11251. "items": {
  11252. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11253. }
  11254. }
  11255. },
  11256. "500": {
  11257. "description": "Internal Server Error",
  11258. "schema": {
  11259. "$ref": "#/definitions/app.Response"
  11260. }
  11261. }
  11262. }
  11263. }
  11264. },
  11265. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11266. "get": {
  11267. "security": [
  11268. {
  11269. "ApiKeyAuth": []
  11270. }
  11271. ],
  11272. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11273. "produces": [
  11274. "application/json"
  11275. ],
  11276. "tags": [
  11277. "天津麦顿"
  11278. ],
  11279. "summary": "查询掉期买卖大厅",
  11280. "parameters": [
  11281. {
  11282. "type": "integer",
  11283. "description": "页码",
  11284. "name": "page",
  11285. "in": "query"
  11286. },
  11287. {
  11288. "type": "integer",
  11289. "description": "每页条数",
  11290. "name": "pagesize",
  11291. "in": "query"
  11292. },
  11293. {
  11294. "type": "integer",
  11295. "description": "用户id",
  11296. "name": "userid",
  11297. "in": "query",
  11298. "required": true
  11299. },
  11300. {
  11301. "type": "integer",
  11302. "description": "用户类型",
  11303. "name": "usertype",
  11304. "in": "query",
  11305. "required": true
  11306. },
  11307. {
  11308. "type": "string",
  11309. "description": "市场id, 格式 1,2,3",
  11310. "name": "marketids",
  11311. "in": "query"
  11312. },
  11313. {
  11314. "type": "integer",
  11315. "description": "商品id",
  11316. "name": "goodsid",
  11317. "in": "query",
  11318. "required": true
  11319. },
  11320. {
  11321. "type": "integer",
  11322. "description": "买卖方向 0-买 1-卖",
  11323. "name": "buyorsell",
  11324. "in": "query",
  11325. "required": true
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "type": "array",
  11333. "items": {
  11334. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11335. }
  11336. }
  11337. },
  11338. "500": {
  11339. "description": "Internal Server Error",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. }
  11344. }
  11345. }
  11346. },
  11347. "/Tjmd/QueryTjmdTransferApply": {
  11348. "get": {
  11349. "security": [
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "天津麦顿"
  11359. ],
  11360. "summary": "查询掉期协议单",
  11361. "parameters": [
  11362. {
  11363. "type": "integer",
  11364. "description": "类型 1-我的申请 2-对方申请",
  11365. "name": "applytype",
  11366. "in": "query",
  11367. "required": true
  11368. },
  11369. {
  11370. "type": "string",
  11371. "description": "市场id, 格式 1,2,3",
  11372. "name": "marketids",
  11373. "in": "query"
  11374. },
  11375. {
  11376. "type": "string",
  11377. "description": "资金账号, 格式 25000000001,25000000003",
  11378. "name": "accountids",
  11379. "in": "query"
  11380. },
  11381. {
  11382. "type": "string",
  11383. "description": "开始交易日(yyyymmdd)",
  11384. "name": "begindate",
  11385. "in": "query"
  11386. },
  11387. {
  11388. "type": "string",
  11389. "description": "结束交易日(yyyymmdd)",
  11390. "name": "enddate",
  11391. "in": "query"
  11392. }
  11393. ],
  11394. "responses": {
  11395. "200": {
  11396. "description": "OK",
  11397. "schema": {
  11398. "type": "array",
  11399. "items": {
  11400. "$ref": "#/definitions/models.TjmdTransferApply"
  11401. }
  11402. }
  11403. },
  11404. "500": {
  11405. "description": "Internal Server Error",
  11406. "schema": {
  11407. "$ref": "#/definitions/app.Response"
  11408. }
  11409. }
  11410. }
  11411. }
  11412. },
  11413. "/Trade/QueryRecieptOrder": {
  11414. "get": {
  11415. "security": [
  11416. {
  11417. "ApiKeyAuth": []
  11418. }
  11419. ],
  11420. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11421. "produces": [
  11422. "application/json"
  11423. ],
  11424. "tags": [
  11425. "通用交易"
  11426. ],
  11427. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11428. "parameters": [
  11429. {
  11430. "type": "integer",
  11431. "description": "页码",
  11432. "name": "page",
  11433. "in": "query"
  11434. },
  11435. {
  11436. "type": "integer",
  11437. "description": "每页条数",
  11438. "name": "pagesize",
  11439. "in": "query"
  11440. },
  11441. {
  11442. "type": "integer",
  11443. "description": "商品ID",
  11444. "name": "goodsID",
  11445. "in": "query",
  11446. "required": true
  11447. },
  11448. {
  11449. "type": "string",
  11450. "description": "所属账户名称",
  11451. "name": "accountName",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "integer",
  11456. "description": "市场ID",
  11457. "name": "marketID",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "方向 - 0:买 1:卖",
  11463. "name": "buyorsell",
  11464. "in": "query",
  11465. "required": true
  11466. }
  11467. ],
  11468. "responses": {
  11469. "200": {
  11470. "description": "OK",
  11471. "schema": {
  11472. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11473. }
  11474. },
  11475. "500": {
  11476. "description": "Internal Server Error",
  11477. "schema": {
  11478. "$ref": "#/definitions/app.Response"
  11479. }
  11480. }
  11481. }
  11482. }
  11483. },
  11484. "/User/AddMessageBoard": {
  11485. "post": {
  11486. "security": [
  11487. {
  11488. "ApiKeyAuth": []
  11489. }
  11490. ],
  11491. "produces": [
  11492. "application/json"
  11493. ],
  11494. "tags": [
  11495. "用户信息"
  11496. ],
  11497. "summary": "添加用户留言板信息",
  11498. "parameters": [
  11499. {
  11500. "type": "integer",
  11501. "description": "用户ID",
  11502. "name": "userID",
  11503. "in": "query",
  11504. "required": true
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "留言信息",
  11509. "name": "message",
  11510. "in": "query",
  11511. "required": true
  11512. },
  11513. {
  11514. "type": "string",
  11515. "description": "联系电话",
  11516. "name": "contactNum",
  11517. "in": "query",
  11518. "required": true
  11519. }
  11520. ],
  11521. "responses": {
  11522. "200": {
  11523. "description": "OK",
  11524. "schema": {
  11525. "$ref": "#/definitions/app.Response"
  11526. }
  11527. },
  11528. "500": {
  11529. "description": "Internal Server Error",
  11530. "schema": {
  11531. "$ref": "#/definitions/app.Response"
  11532. }
  11533. }
  11534. }
  11535. }
  11536. },
  11537. "/User/AddUserFavoriteGoods": {
  11538. "post": {
  11539. "security": [
  11540. {
  11541. "ApiKeyAuth": []
  11542. }
  11543. ],
  11544. "produces": [
  11545. "application/json"
  11546. ],
  11547. "tags": [
  11548. "用户信息"
  11549. ],
  11550. "summary": "添加用户商品收藏信息",
  11551. "parameters": [
  11552. {
  11553. "type": "integer",
  11554. "description": "用户ID",
  11555. "name": "userID",
  11556. "in": "query",
  11557. "required": true
  11558. },
  11559. {
  11560. "type": "integer",
  11561. "description": "商品ID",
  11562. "name": "goodsID",
  11563. "in": "query",
  11564. "required": true
  11565. }
  11566. ],
  11567. "responses": {
  11568. "200": {
  11569. "description": "OK",
  11570. "schema": {
  11571. "$ref": "#/definitions/app.Response"
  11572. }
  11573. },
  11574. "500": {
  11575. "description": "Internal Server Error",
  11576. "schema": {
  11577. "$ref": "#/definitions/app.Response"
  11578. }
  11579. }
  11580. }
  11581. }
  11582. },
  11583. "/User/GetLoginID": {
  11584. "get": {
  11585. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11586. "produces": [
  11587. "application/json"
  11588. ],
  11589. "tags": [
  11590. "用户信息"
  11591. ],
  11592. "summary": "获取登录ID",
  11593. "parameters": [
  11594. {
  11595. "type": "string",
  11596. "description": "登录代码",
  11597. "name": "username",
  11598. "in": "query",
  11599. "required": true
  11600. }
  11601. ],
  11602. "responses": {
  11603. "200": {
  11604. "description": "OK",
  11605. "schema": {
  11606. "$ref": "#/definitions/app.Response"
  11607. }
  11608. },
  11609. "500": {
  11610. "description": "Internal Server Error",
  11611. "schema": {
  11612. "$ref": "#/definitions/app.Response"
  11613. }
  11614. }
  11615. }
  11616. }
  11617. },
  11618. "/User/GetUserAccount": {
  11619. "get": {
  11620. "security": [
  11621. {
  11622. "ApiKeyAuth": []
  11623. }
  11624. ],
  11625. "produces": [
  11626. "application/json"
  11627. ],
  11628. "tags": [
  11629. "用户信息"
  11630. ],
  11631. "summary": "获取用户账号信息",
  11632. "parameters": [
  11633. {
  11634. "type": "integer",
  11635. "description": "用户ID",
  11636. "name": "userID",
  11637. "in": "query",
  11638. "required": true
  11639. }
  11640. ],
  11641. "responses": {
  11642. "200": {
  11643. "description": "OK",
  11644. "schema": {
  11645. "$ref": "#/definitions/models.Useraccount"
  11646. }
  11647. },
  11648. "500": {
  11649. "description": "Internal Server Error",
  11650. "schema": {
  11651. "$ref": "#/definitions/app.Response"
  11652. }
  11653. }
  11654. }
  11655. }
  11656. },
  11657. "/User/GetUserAuthStatus": {
  11658. "get": {
  11659. "security": [
  11660. {
  11661. "ApiKeyAuth": []
  11662. }
  11663. ],
  11664. "produces": [
  11665. "application/json"
  11666. ],
  11667. "tags": [
  11668. "用户信息"
  11669. ],
  11670. "summary": "获取用户实名认证状态",
  11671. "parameters": [
  11672. {
  11673. "type": "integer",
  11674. "description": "用户ID",
  11675. "name": "userID",
  11676. "in": "query",
  11677. "required": true
  11678. }
  11679. ],
  11680. "responses": {
  11681. "200": {
  11682. "description": "OK",
  11683. "schema": {
  11684. "$ref": "#/definitions/app.Response"
  11685. }
  11686. },
  11687. "500": {
  11688. "description": "Internal Server Error",
  11689. "schema": {
  11690. "$ref": "#/definitions/app.Response"
  11691. }
  11692. }
  11693. }
  11694. }
  11695. },
  11696. "/User/LoginQuery": {
  11697. "get": {
  11698. "security": [
  11699. {
  11700. "ApiKeyAuth": []
  11701. }
  11702. ],
  11703. "produces": [
  11704. "application/json"
  11705. ],
  11706. "tags": [
  11707. "用户信息"
  11708. ],
  11709. "summary": "账户登录后信息查询",
  11710. "parameters": [
  11711. {
  11712. "type": "integer",
  11713. "description": "登录账号",
  11714. "name": "loginID",
  11715. "in": "query",
  11716. "required": true
  11717. }
  11718. ],
  11719. "responses": {
  11720. "200": {
  11721. "description": "OK",
  11722. "schema": {
  11723. "$ref": "#/definitions/user.LoginQueryRsp"
  11724. }
  11725. },
  11726. "500": {
  11727. "description": "Internal Server Error",
  11728. "schema": {
  11729. "$ref": "#/definitions/app.Response"
  11730. }
  11731. }
  11732. }
  11733. }
  11734. },
  11735. "/User/QueryMessageBoard": {
  11736. "get": {
  11737. "security": [
  11738. {
  11739. "ApiKeyAuth": []
  11740. }
  11741. ],
  11742. "produces": [
  11743. "application/json"
  11744. ],
  11745. "tags": [
  11746. "用户信息"
  11747. ],
  11748. "summary": "获取用户留言板信息",
  11749. "parameters": [
  11750. {
  11751. "type": "integer",
  11752. "description": "用户ID",
  11753. "name": "userID",
  11754. "in": "query",
  11755. "required": true
  11756. }
  11757. ],
  11758. "responses": {
  11759. "200": {
  11760. "description": "OK",
  11761. "schema": {
  11762. "$ref": "#/definitions/models.Messageboard"
  11763. }
  11764. },
  11765. "500": {
  11766. "description": "Internal Server Error",
  11767. "schema": {
  11768. "$ref": "#/definitions/app.Response"
  11769. }
  11770. }
  11771. }
  11772. }
  11773. },
  11774. "/User/QueryUserFavoriteGoodses": {
  11775. "get": {
  11776. "security": [
  11777. {
  11778. "ApiKeyAuth": []
  11779. }
  11780. ],
  11781. "produces": [
  11782. "application/json"
  11783. ],
  11784. "tags": [
  11785. "用户信息"
  11786. ],
  11787. "summary": "获取用户商品收藏信息",
  11788. "parameters": [
  11789. {
  11790. "type": "integer",
  11791. "description": "用户ID",
  11792. "name": "userID",
  11793. "in": "query",
  11794. "required": true
  11795. }
  11796. ],
  11797. "responses": {
  11798. "200": {
  11799. "description": "OK",
  11800. "schema": {
  11801. "$ref": "#/definitions/models.Userfavoritegoods"
  11802. }
  11803. },
  11804. "500": {
  11805. "description": "Internal Server Error",
  11806. "schema": {
  11807. "$ref": "#/definitions/app.Response"
  11808. }
  11809. }
  11810. }
  11811. }
  11812. },
  11813. "/User/QueryUserInfo": {
  11814. "get": {
  11815. "security": [
  11816. {
  11817. "ApiKeyAuth": []
  11818. }
  11819. ],
  11820. "produces": [
  11821. "application/json"
  11822. ],
  11823. "tags": [
  11824. "用户信息"
  11825. ],
  11826. "summary": "获取用户信息",
  11827. "parameters": [
  11828. {
  11829. "type": "integer",
  11830. "description": "用户ID",
  11831. "name": "userID",
  11832. "in": "query",
  11833. "required": true
  11834. },
  11835. {
  11836. "type": "boolean",
  11837. "description": "是否解密",
  11838. "name": "isDecrypt",
  11839. "in": "query"
  11840. }
  11841. ],
  11842. "responses": {
  11843. "200": {
  11844. "description": "OK",
  11845. "schema": {
  11846. "$ref": "#/definitions/models.Userinfo"
  11847. }
  11848. },
  11849. "500": {
  11850. "description": "Internal Server Error",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. }
  11855. }
  11856. }
  11857. },
  11858. "/User/QueryUserReferNum": {
  11859. "get": {
  11860. "produces": [
  11861. "application/json"
  11862. ],
  11863. "tags": [
  11864. "用户信息"
  11865. ],
  11866. "summary": "获取用户邀请码",
  11867. "parameters": [
  11868. {
  11869. "type": "integer",
  11870. "description": "用户ID",
  11871. "name": "userID",
  11872. "in": "query",
  11873. "required": true
  11874. }
  11875. ],
  11876. "responses": {
  11877. "200": {
  11878. "description": "OK",
  11879. "schema": {
  11880. "$ref": "#/definitions/app.Response"
  11881. }
  11882. },
  11883. "500": {
  11884. "description": "Internal Server Error",
  11885. "schema": {
  11886. "$ref": "#/definitions/app.Response"
  11887. }
  11888. }
  11889. }
  11890. }
  11891. },
  11892. "/User/RemoveUserFavoriteGoods": {
  11893. "post": {
  11894. "security": [
  11895. {
  11896. "ApiKeyAuth": []
  11897. }
  11898. ],
  11899. "produces": [
  11900. "application/json"
  11901. ],
  11902. "tags": [
  11903. "用户信息"
  11904. ],
  11905. "summary": "移除用户商品收藏信息",
  11906. "parameters": [
  11907. {
  11908. "type": "integer",
  11909. "description": "用户ID",
  11910. "name": "userID",
  11911. "in": "query",
  11912. "required": true
  11913. },
  11914. {
  11915. "type": "integer",
  11916. "description": "商品ID",
  11917. "name": "goodsID",
  11918. "in": "query",
  11919. "required": true
  11920. }
  11921. ],
  11922. "responses": {
  11923. "200": {
  11924. "description": "OK",
  11925. "schema": {
  11926. "$ref": "#/definitions/app.Response"
  11927. }
  11928. },
  11929. "500": {
  11930. "description": "Internal Server Error",
  11931. "schema": {
  11932. "$ref": "#/definitions/app.Response"
  11933. }
  11934. }
  11935. }
  11936. }
  11937. },
  11938. "/User/UpdateUserAccountStatus": {
  11939. "post": {
  11940. "security": [
  11941. {
  11942. "ApiKeyAuth": []
  11943. }
  11944. ],
  11945. "produces": [
  11946. "application/json"
  11947. ],
  11948. "tags": [
  11949. "用户信息"
  11950. ],
  11951. "summary": "更新用户状态",
  11952. "parameters": [
  11953. {
  11954. "type": "integer",
  11955. "description": "用户ID",
  11956. "name": "userID",
  11957. "in": "query",
  11958. "required": true
  11959. },
  11960. {
  11961. "type": "integer",
  11962. "description": "账户状态 - 4:正常 6:注销(停用)",
  11963. "name": "accountStatus",
  11964. "in": "query",
  11965. "required": true
  11966. }
  11967. ],
  11968. "responses": {
  11969. "200": {
  11970. "description": "OK",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. },
  11975. "500": {
  11976. "description": "Internal Server Error",
  11977. "schema": {
  11978. "$ref": "#/definitions/app.Response"
  11979. }
  11980. }
  11981. }
  11982. }
  11983. },
  11984. "/WRTrade/GetAllDeliveryGoods": {
  11985. "get": {
  11986. "security": [
  11987. {
  11988. "ApiKeyAuth": []
  11989. }
  11990. ],
  11991. "produces": [
  11992. "application/json"
  11993. ],
  11994. "tags": [
  11995. "仓单贸易",
  11996. "仓单贸易"
  11997. ],
  11998. "summary": "获取带仓单分类的种类信息",
  11999. "responses": {
  12000. "200": {
  12001. "description": "OK",
  12002. "schema": {
  12003. "$ref": "#/definitions/app.Response"
  12004. }
  12005. },
  12006. "500": {
  12007. "description": "Internal Server Error",
  12008. "schema": {
  12009. "$ref": "#/definitions/app.Response"
  12010. }
  12011. }
  12012. }
  12013. }
  12014. },
  12015. "/WrTrade2/QueryDeliveryGoodsSection": {
  12016. "get": {
  12017. "security": [
  12018. {
  12019. "ApiKeyAuth": []
  12020. }
  12021. ],
  12022. "produces": [
  12023. "application/json"
  12024. ],
  12025. "tags": [
  12026. "仓单贸易v2"
  12027. ],
  12028. "summary": "查询板块(分类)",
  12029. "responses": {
  12030. "200": {
  12031. "description": "OK",
  12032. "schema": {
  12033. "type": "array",
  12034. "items": {
  12035. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12036. }
  12037. }
  12038. },
  12039. "500": {
  12040. "description": "Internal Server Error",
  12041. "schema": {
  12042. "$ref": "#/definitions/app.Response"
  12043. }
  12044. }
  12045. }
  12046. }
  12047. },
  12048. "/WrTrade2/QueryFaProductDetail": {
  12049. "get": {
  12050. "security": [
  12051. {
  12052. "ApiKeyAuth": []
  12053. }
  12054. ],
  12055. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12056. "produces": [
  12057. "application/json"
  12058. ],
  12059. "tags": [
  12060. "仓单贸易v2"
  12061. ],
  12062. "summary": "查询融资产品列表",
  12063. "parameters": [
  12064. {
  12065. "type": "integer",
  12066. "description": "仓单要素id",
  12067. "name": "wrfactortypeid",
  12068. "in": "query",
  12069. "required": true
  12070. }
  12071. ],
  12072. "responses": {
  12073. "200": {
  12074. "description": "OK",
  12075. "schema": {
  12076. "type": "array",
  12077. "items": {
  12078. "$ref": "#/definitions/models.WrFAProductDetail"
  12079. }
  12080. }
  12081. },
  12082. "500": {
  12083. "description": "Internal Server Error",
  12084. "schema": {
  12085. "$ref": "#/definitions/app.Response"
  12086. }
  12087. }
  12088. }
  12089. }
  12090. },
  12091. "/WrTrade2/QueryFilterItem": {
  12092. "get": {
  12093. "security": [
  12094. {
  12095. "ApiKeyAuth": []
  12096. }
  12097. ],
  12098. "produces": [
  12099. "application/json"
  12100. ],
  12101. "tags": [
  12102. "仓单贸易v2"
  12103. ],
  12104. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12105. "parameters": [
  12106. {
  12107. "type": "string",
  12108. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12109. "name": "itype",
  12110. "in": "query",
  12111. "required": true
  12112. }
  12113. ],
  12114. "responses": {
  12115. "200": {
  12116. "description": "OK",
  12117. "schema": {
  12118. "type": "array",
  12119. "items": {
  12120. "$ref": "#/definitions/models.WrFilterItem"
  12121. }
  12122. }
  12123. },
  12124. "500": {
  12125. "description": "Internal Server Error",
  12126. "schema": {
  12127. "$ref": "#/definitions/app.Response"
  12128. }
  12129. }
  12130. }
  12131. }
  12132. },
  12133. "/WrTrade2/QueryFtDeliveryGoods": {
  12134. "get": {
  12135. "security": [
  12136. {
  12137. "ApiKeyAuth": []
  12138. }
  12139. ],
  12140. "produces": [
  12141. "application/json"
  12142. ],
  12143. "tags": [
  12144. "仓单贸易v2"
  12145. ],
  12146. "summary": "查询品种品类筛选框列表",
  12147. "responses": {
  12148. "200": {
  12149. "description": "OK",
  12150. "schema": {
  12151. "type": "array",
  12152. "items": {
  12153. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12154. }
  12155. }
  12156. },
  12157. "500": {
  12158. "description": "Internal Server Error",
  12159. "schema": {
  12160. "$ref": "#/definitions/app.Response"
  12161. }
  12162. }
  12163. }
  12164. }
  12165. },
  12166. "/WrTrade2/QueryHoldLB": {
  12167. "get": {
  12168. "security": [
  12169. {
  12170. "ApiKeyAuth": []
  12171. }
  12172. ],
  12173. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12174. "produces": [
  12175. "application/json"
  12176. ],
  12177. "tags": [
  12178. "仓单贸易v2"
  12179. ],
  12180. "summary": "查询仓单持有记录",
  12181. "parameters": [
  12182. {
  12183. "type": "integer",
  12184. "description": "资金账号",
  12185. "name": "accountid",
  12186. "in": "query",
  12187. "required": true
  12188. },
  12189. {
  12190. "type": "integer",
  12191. "description": "仓库id",
  12192. "name": "warehouseid",
  12193. "in": "query"
  12194. },
  12195. {
  12196. "type": "integer",
  12197. "description": "品种id",
  12198. "name": "deliverygoodsid",
  12199. "in": "query"
  12200. },
  12201. {
  12202. "type": "integer",
  12203. "description": "品类id",
  12204. "name": "wrstandardid",
  12205. "in": "query"
  12206. },
  12207. {
  12208. "type": "integer",
  12209. "description": "仓单要素id",
  12210. "name": "wrfactortypeid",
  12211. "in": "query"
  12212. },
  12213. {
  12214. "type": "string",
  12215. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12216. "name": "dgitemname",
  12217. "in": "query"
  12218. }
  12219. ],
  12220. "responses": {
  12221. "200": {
  12222. "description": "OK",
  12223. "schema": {
  12224. "type": "array",
  12225. "items": {
  12226. "$ref": "#/definitions/models.WrHoldLB"
  12227. }
  12228. }
  12229. },
  12230. "500": {
  12231. "description": "Internal Server Error",
  12232. "schema": {
  12233. "$ref": "#/definitions/app.Response"
  12234. }
  12235. }
  12236. }
  12237. }
  12238. },
  12239. "/WrTrade2/QueryOrderQuote": {
  12240. "get": {
  12241. "security": [
  12242. {
  12243. "ApiKeyAuth": []
  12244. }
  12245. ],
  12246. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12247. "produces": [
  12248. "application/json"
  12249. ],
  12250. "tags": [
  12251. "仓单贸易v2"
  12252. ],
  12253. "summary": "查询大厅行情列表",
  12254. "parameters": [
  12255. {
  12256. "type": "integer",
  12257. "description": "页码",
  12258. "name": "page",
  12259. "in": "query"
  12260. },
  12261. {
  12262. "type": "integer",
  12263. "description": "每页条数",
  12264. "name": "pagesize",
  12265. "in": "query"
  12266. },
  12267. {
  12268. "type": "integer",
  12269. "description": "仓单贸易市场id",
  12270. "name": "marketid",
  12271. "in": "query"
  12272. },
  12273. {
  12274. "type": "integer",
  12275. "description": "价格方式 - 1:固定价 2-浮动价",
  12276. "name": "wrpricetype",
  12277. "in": "query",
  12278. "required": true
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "0:仓单预售 1:仓单贸易",
  12283. "name": "haswr",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12289. "name": "dgitemname",
  12290. "in": "query"
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "仓库id(筛选条件)",
  12295. "name": "warehouseid",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "integer",
  12300. "description": "品种id",
  12301. "name": "deliverygoodsid",
  12302. "in": "query"
  12303. },
  12304. {
  12305. "type": "integer",
  12306. "description": "品类id",
  12307. "name": "wrstandardid",
  12308. "in": "query"
  12309. },
  12310. {
  12311. "type": "integer",
  12312. "description": "仓单要素id",
  12313. "name": "wrfactortypeid",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "string",
  12318. "description": "交收月(yyyy-mm) 仓单预售填写",
  12319. "name": "deliverymonth",
  12320. "in": "query"
  12321. }
  12322. ],
  12323. "responses": {
  12324. "200": {
  12325. "description": "OK",
  12326. "schema": {
  12327. "type": "array",
  12328. "items": {
  12329. "$ref": "#/definitions/models.WrOrderQuote"
  12330. }
  12331. }
  12332. },
  12333. "500": {
  12334. "description": "Internal Server Error",
  12335. "schema": {
  12336. "$ref": "#/definitions/app.Response"
  12337. }
  12338. }
  12339. }
  12340. }
  12341. },
  12342. "/WrTrade2/QueryOrderQuoteDetail": {
  12343. "get": {
  12344. "security": [
  12345. {
  12346. "ApiKeyAuth": []
  12347. }
  12348. ],
  12349. "produces": [
  12350. "application/json"
  12351. ],
  12352. "tags": [
  12353. "仓单贸易v2"
  12354. ],
  12355. "summary": "查询买卖大厅",
  12356. "parameters": [
  12357. {
  12358. "type": "integer",
  12359. "description": "页码",
  12360. "name": "page",
  12361. "in": "query"
  12362. },
  12363. {
  12364. "type": "integer",
  12365. "description": "每页条数",
  12366. "name": "pagesize",
  12367. "in": "query"
  12368. },
  12369. {
  12370. "type": "integer",
  12371. "description": "仓单贸易市场id",
  12372. "name": "marketid",
  12373. "in": "query"
  12374. },
  12375. {
  12376. "type": "integer",
  12377. "description": "价格方式 - 1:固定价 2-浮动价",
  12378. "name": "wrpricetype",
  12379. "in": "query",
  12380. "required": true
  12381. },
  12382. {
  12383. "type": "integer",
  12384. "description": "0:仓单预售 1:仓单贸易",
  12385. "name": "haswr",
  12386. "in": "query"
  12387. },
  12388. {
  12389. "type": "integer",
  12390. "description": "仓单要素id",
  12391. "name": "wrfactortypeid",
  12392. "in": "query",
  12393. "required": true
  12394. },
  12395. {
  12396. "type": "integer",
  12397. "description": "期货商品id(浮动价方式时填)",
  12398. "name": "goodsid",
  12399. "in": "query"
  12400. },
  12401. {
  12402. "type": "integer",
  12403. "description": "买卖方向 0-买 1-卖",
  12404. "name": "buyorsell",
  12405. "in": "query",
  12406. "required": true
  12407. },
  12408. {
  12409. "type": "string",
  12410. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12411. "name": "deliverymonth",
  12412. "in": "query"
  12413. }
  12414. ],
  12415. "responses": {
  12416. "200": {
  12417. "description": "OK",
  12418. "schema": {
  12419. "type": "array",
  12420. "items": {
  12421. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12422. }
  12423. }
  12424. },
  12425. "500": {
  12426. "description": "Internal Server Error",
  12427. "schema": {
  12428. "$ref": "#/definitions/app.Response"
  12429. }
  12430. }
  12431. }
  12432. }
  12433. },
  12434. "/WrTrade2/QueryOrderQuoteMyq": {
  12435. "get": {
  12436. "security": [
  12437. {
  12438. "ApiKeyAuth": []
  12439. }
  12440. ],
  12441. "produces": [
  12442. "application/json"
  12443. ],
  12444. "tags": [
  12445. "仓单贸易v2"
  12446. ],
  12447. "summary": "查询贸易圈挂牌大厅",
  12448. "parameters": [
  12449. {
  12450. "type": "integer",
  12451. "description": "页码",
  12452. "name": "page",
  12453. "in": "query"
  12454. },
  12455. {
  12456. "type": "integer",
  12457. "description": "每页条数",
  12458. "name": "pagesize",
  12459. "in": "query"
  12460. },
  12461. {
  12462. "type": "integer",
  12463. "description": "用户id",
  12464. "name": "userid",
  12465. "in": "query",
  12466. "required": true
  12467. },
  12468. {
  12469. "type": "integer",
  12470. "description": "仓单贸易市场id",
  12471. "name": "marketid",
  12472. "in": "query"
  12473. },
  12474. {
  12475. "type": "integer",
  12476. "description": "0:仓单预售 1:仓单贸易",
  12477. "name": "haswr",
  12478. "in": "query"
  12479. },
  12480. {
  12481. "type": "integer",
  12482. "description": "买卖方向 0-买 1-卖",
  12483. "name": "buyorsell",
  12484. "in": "query",
  12485. "required": true
  12486. },
  12487. {
  12488. "type": "integer",
  12489. "description": "品种id",
  12490. "name": "deliverygoodsid",
  12491. "in": "query"
  12492. },
  12493. {
  12494. "type": "integer",
  12495. "description": "品类id",
  12496. "name": "wrstandardid",
  12497. "in": "query"
  12498. },
  12499. {
  12500. "type": "string",
  12501. "description": "交收月(yyyy-mm) 仓单预售填写",
  12502. "name": "deliverymonth",
  12503. "in": "query"
  12504. },
  12505. {
  12506. "type": "string",
  12507. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12508. "name": "dgitemname",
  12509. "in": "query"
  12510. }
  12511. ],
  12512. "responses": {
  12513. "200": {
  12514. "description": "OK",
  12515. "schema": {
  12516. "type": "array",
  12517. "items": {
  12518. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12519. }
  12520. }
  12521. },
  12522. "500": {
  12523. "description": "Internal Server Error",
  12524. "schema": {
  12525. "$ref": "#/definitions/app.Response"
  12526. }
  12527. }
  12528. }
  12529. }
  12530. },
  12531. "/WrTrade2/QueryPerformancePlan": {
  12532. "get": {
  12533. "security": [
  12534. {
  12535. "ApiKeyAuth": []
  12536. }
  12537. ],
  12538. "produces": [
  12539. "application/json"
  12540. ],
  12541. "tags": [
  12542. "仓单贸易v2"
  12543. ],
  12544. "summary": "查询履约信息",
  12545. "parameters": [
  12546. {
  12547. "type": "integer",
  12548. "description": "用户id",
  12549. "name": "userid",
  12550. "in": "query",
  12551. "required": true
  12552. },
  12553. {
  12554. "type": "integer",
  12555. "description": "买卖方向 0-买 1-卖",
  12556. "name": "buyorsell",
  12557. "in": "query",
  12558. "required": true
  12559. },
  12560. {
  12561. "type": "string",
  12562. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12563. "name": "status",
  12564. "in": "query"
  12565. },
  12566. {
  12567. "type": "string",
  12568. "description": "开始交易日(yyyymmdd)",
  12569. "name": "begindate",
  12570. "in": "query"
  12571. },
  12572. {
  12573. "type": "string",
  12574. "description": "结束交易日(yyyymmdd)",
  12575. "name": "enddate",
  12576. "in": "query"
  12577. }
  12578. ],
  12579. "responses": {
  12580. "200": {
  12581. "description": "OK",
  12582. "schema": {
  12583. "type": "array",
  12584. "items": {
  12585. "$ref": "#/definitions/models.WrPerformancePlan"
  12586. }
  12587. }
  12588. },
  12589. "500": {
  12590. "description": "Internal Server Error",
  12591. "schema": {
  12592. "$ref": "#/definitions/app.Response"
  12593. }
  12594. }
  12595. }
  12596. }
  12597. },
  12598. "/WrTrade2/QueryPermancePlanTmp": {
  12599. "get": {
  12600. "security": [
  12601. {
  12602. "ApiKeyAuth": []
  12603. }
  12604. ],
  12605. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12606. "produces": [
  12607. "application/json"
  12608. ],
  12609. "tags": [
  12610. "仓单贸易v2"
  12611. ],
  12612. "summary": "查询履约模板",
  12613. "parameters": [
  12614. {
  12615. "type": "integer",
  12616. "description": "用户id",
  12617. "name": "userid",
  12618. "in": "query"
  12619. },
  12620. {
  12621. "type": "string",
  12622. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12623. "name": "tmptype",
  12624. "in": "query"
  12625. },
  12626. {
  12627. "type": "integer",
  12628. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12629. "name": "includepub",
  12630. "in": "query"
  12631. },
  12632. {
  12633. "type": "integer",
  12634. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12635. "name": "marketid",
  12636. "in": "query"
  12637. }
  12638. ],
  12639. "responses": {
  12640. "200": {
  12641. "description": "OK",
  12642. "schema": {
  12643. "type": "array",
  12644. "items": {
  12645. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12646. }
  12647. }
  12648. },
  12649. "500": {
  12650. "description": "Internal Server Error",
  12651. "schema": {
  12652. "$ref": "#/definitions/app.Response"
  12653. }
  12654. }
  12655. }
  12656. }
  12657. },
  12658. "/WrTrade2/QuerySiteColumnDetail": {
  12659. "get": {
  12660. "security": [
  12661. {
  12662. "ApiKeyAuth": []
  12663. }
  12664. ],
  12665. "produces": [
  12666. "application/json"
  12667. ],
  12668. "tags": [
  12669. "仓单贸易v2"
  12670. ],
  12671. "summary": "查询资讯",
  12672. "parameters": [
  12673. {
  12674. "type": "integer",
  12675. "description": "页码",
  12676. "name": "page",
  12677. "in": "query"
  12678. },
  12679. {
  12680. "type": "integer",
  12681. "description": "每页条数",
  12682. "name": "pagesize",
  12683. "in": "query"
  12684. },
  12685. {
  12686. "type": "integer",
  12687. "description": "所属栏目id",
  12688. "name": "columnid",
  12689. "in": "query"
  12690. }
  12691. ],
  12692. "responses": {
  12693. "200": {
  12694. "description": "OK",
  12695. "schema": {
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12699. }
  12700. }
  12701. },
  12702. "500": {
  12703. "description": "Internal Server Error",
  12704. "schema": {
  12705. "$ref": "#/definitions/app.Response"
  12706. }
  12707. }
  12708. }
  12709. }
  12710. },
  12711. "/WrTrade2/QuerySpotGroupTradeSum": {
  12712. "get": {
  12713. "security": [
  12714. {
  12715. "ApiKeyAuth": []
  12716. }
  12717. ],
  12718. "produces": [
  12719. "application/json"
  12720. ],
  12721. "tags": [
  12722. "仓单贸易v2"
  12723. ],
  12724. "summary": "查询指数",
  12725. "responses": {
  12726. "200": {
  12727. "description": "OK",
  12728. "schema": {
  12729. "type": "array",
  12730. "items": {
  12731. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12732. }
  12733. }
  12734. },
  12735. "500": {
  12736. "description": "Internal Server Error",
  12737. "schema": {
  12738. "$ref": "#/definitions/app.Response"
  12739. }
  12740. }
  12741. }
  12742. }
  12743. },
  12744. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12745. "get": {
  12746. "security": [
  12747. {
  12748. "ApiKeyAuth": []
  12749. }
  12750. ],
  12751. "description": "查询的结果将会按日期 从小到大 排序",
  12752. "produces": [
  12753. "application/json"
  12754. ],
  12755. "tags": [
  12756. "仓单贸易v2"
  12757. ],
  12758. "summary": "查询指数详细(价格走势图)",
  12759. "parameters": [
  12760. {
  12761. "type": "integer",
  12762. "description": "现货商品id",
  12763. "name": "deliverygoodsid",
  12764. "in": "query",
  12765. "required": true
  12766. },
  12767. {
  12768. "type": "integer",
  12769. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12770. "name": "lastnum",
  12771. "in": "query"
  12772. }
  12773. ],
  12774. "responses": {
  12775. "200": {
  12776. "description": "OK",
  12777. "schema": {
  12778. "type": "array",
  12779. "items": {
  12780. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12781. }
  12782. }
  12783. },
  12784. "500": {
  12785. "description": "Internal Server Error",
  12786. "schema": {
  12787. "$ref": "#/definitions/app.Response"
  12788. }
  12789. }
  12790. }
  12791. }
  12792. },
  12793. "/WrTrade2/QueryWrAverageTradePrice": {
  12794. "get": {
  12795. "security": [
  12796. {
  12797. "ApiKeyAuth": []
  12798. }
  12799. ],
  12800. "produces": [
  12801. "application/json"
  12802. ],
  12803. "tags": [
  12804. "仓单贸易v2"
  12805. ],
  12806. "summary": "查询成交价(历史走势)",
  12807. "parameters": [
  12808. {
  12809. "type": "integer",
  12810. "description": "页码",
  12811. "name": "page",
  12812. "in": "query"
  12813. },
  12814. {
  12815. "type": "integer",
  12816. "description": "每页条数",
  12817. "name": "pagesize",
  12818. "in": "query"
  12819. },
  12820. {
  12821. "type": "integer",
  12822. "description": "0:仓单预售 1:仓单贸易",
  12823. "name": "haswr",
  12824. "in": "query",
  12825. "required": true
  12826. },
  12827. {
  12828. "type": "integer",
  12829. "description": "仓单要素id",
  12830. "name": "wrfactortypeid",
  12831. "in": "query",
  12832. "required": true
  12833. }
  12834. ],
  12835. "responses": {
  12836. "200": {
  12837. "description": "OK",
  12838. "schema": {
  12839. "type": "array",
  12840. "items": {
  12841. "$ref": "#/definitions/models.WrAverageTradePrice"
  12842. }
  12843. }
  12844. },
  12845. "500": {
  12846. "description": "Internal Server Error",
  12847. "schema": {
  12848. "$ref": "#/definitions/app.Response"
  12849. }
  12850. }
  12851. }
  12852. }
  12853. },
  12854. "/WrTrade2/QueryWrBsGoodsInfo": {
  12855. "get": {
  12856. "security": [
  12857. {
  12858. "ApiKeyAuth": []
  12859. }
  12860. ],
  12861. "description": "合约交易/买卖大厅/详情",
  12862. "produces": [
  12863. "application/json"
  12864. ],
  12865. "tags": [
  12866. "仓单贸易v2"
  12867. ],
  12868. "summary": "查询合约交易买卖大厅详情",
  12869. "parameters": [
  12870. {
  12871. "type": "integer",
  12872. "description": "商品id",
  12873. "name": "goodsid",
  12874. "in": "query",
  12875. "required": true
  12876. }
  12877. ],
  12878. "responses": {
  12879. "200": {
  12880. "description": "OK",
  12881. "schema": {
  12882. "type": "array",
  12883. "items": {
  12884. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12885. }
  12886. }
  12887. },
  12888. "500": {
  12889. "description": "Internal Server Error",
  12890. "schema": {
  12891. "$ref": "#/definitions/app.Response"
  12892. }
  12893. }
  12894. }
  12895. }
  12896. },
  12897. "/WrTrade2/QueryWrBuybackDetail": {
  12898. "get": {
  12899. "security": [
  12900. {
  12901. "ApiKeyAuth": []
  12902. }
  12903. ],
  12904. "produces": [
  12905. "application/json"
  12906. ],
  12907. "tags": [
  12908. "仓单贸易v2"
  12909. ],
  12910. "summary": "查询仓单回购明细",
  12911. "parameters": [
  12912. {
  12913. "type": "integer",
  12914. "description": "融资合同id",
  12915. "name": "scfcontractid",
  12916. "in": "query"
  12917. }
  12918. ],
  12919. "responses": {
  12920. "200": {
  12921. "description": "OK",
  12922. "schema": {
  12923. "type": "array",
  12924. "items": {
  12925. "$ref": "#/definitions/models.WrBuybackDetail"
  12926. }
  12927. }
  12928. },
  12929. "500": {
  12930. "description": "Internal Server Error",
  12931. "schema": {
  12932. "$ref": "#/definitions/app.Response"
  12933. }
  12934. }
  12935. }
  12936. }
  12937. },
  12938. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12939. "get": {
  12940. "security": [
  12941. {
  12942. "ApiKeyAuth": []
  12943. }
  12944. ],
  12945. "produces": [
  12946. "application/json"
  12947. ],
  12948. "tags": [
  12949. "仓单贸易v2"
  12950. ],
  12951. "summary": "查询合约交收可点选仓单",
  12952. "parameters": [
  12953. {
  12954. "type": "integer",
  12955. "description": "资金账号",
  12956. "name": "accountid",
  12957. "in": "query",
  12958. "required": true
  12959. },
  12960. {
  12961. "type": "integer",
  12962. "description": "商品id",
  12963. "name": "goodsid",
  12964. "in": "query",
  12965. "required": true
  12966. }
  12967. ],
  12968. "responses": {
  12969. "200": {
  12970. "description": "OK",
  12971. "schema": {
  12972. "type": "array",
  12973. "items": {
  12974. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12975. }
  12976. }
  12977. },
  12978. "500": {
  12979. "description": "Internal Server Error",
  12980. "schema": {
  12981. "$ref": "#/definitions/app.Response"
  12982. }
  12983. }
  12984. }
  12985. }
  12986. },
  12987. "/WrTrade2/QueryWrDeliveryDetail": {
  12988. "get": {
  12989. "security": [
  12990. {
  12991. "ApiKeyAuth": []
  12992. }
  12993. ],
  12994. "produces": [
  12995. "application/json"
  12996. ],
  12997. "tags": [
  12998. "仓单贸易v2"
  12999. ],
  13000. "summary": "查询交收",
  13001. "parameters": [
  13002. {
  13003. "type": "integer",
  13004. "description": "用户id",
  13005. "name": "userid",
  13006. "in": "query",
  13007. "required": true
  13008. },
  13009. {
  13010. "type": "integer",
  13011. "description": "资金账号id",
  13012. "name": "accountid",
  13013. "in": "query"
  13014. },
  13015. {
  13016. "type": "string",
  13017. "description": "开始交易日(yyyymmdd)",
  13018. "name": "begindate",
  13019. "in": "query"
  13020. },
  13021. {
  13022. "type": "string",
  13023. "description": "结束交易日(yyyymmdd)",
  13024. "name": "enddate",
  13025. "in": "query"
  13026. }
  13027. ],
  13028. "responses": {
  13029. "200": {
  13030. "description": "OK",
  13031. "schema": {
  13032. "type": "array",
  13033. "items": {
  13034. "$ref": "#/definitions/models.WrDeliveryDetail"
  13035. }
  13036. }
  13037. },
  13038. "500": {
  13039. "description": "Internal Server Error",
  13040. "schema": {
  13041. "$ref": "#/definitions/app.Response"
  13042. }
  13043. }
  13044. }
  13045. }
  13046. },
  13047. "/WrTrade2/QueryWrFactorTypeInfo": {
  13048. "get": {
  13049. "security": [
  13050. {
  13051. "ApiKeyAuth": []
  13052. }
  13053. ],
  13054. "produces": [
  13055. "application/json"
  13056. ],
  13057. "tags": [
  13058. "仓单贸易v2"
  13059. ],
  13060. "summary": "查询仓单要素详细信息",
  13061. "parameters": [
  13062. {
  13063. "type": "integer",
  13064. "description": "仓单要素id",
  13065. "name": "wrfactortypeid",
  13066. "in": "query",
  13067. "required": true
  13068. }
  13069. ],
  13070. "responses": {
  13071. "200": {
  13072. "description": "OK",
  13073. "schema": {
  13074. "type": "array",
  13075. "items": {
  13076. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13077. }
  13078. }
  13079. },
  13080. "500": {
  13081. "description": "Internal Server Error",
  13082. "schema": {
  13083. "$ref": "#/definitions/app.Response"
  13084. }
  13085. }
  13086. }
  13087. }
  13088. },
  13089. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13090. "get": {
  13091. "security": [
  13092. {
  13093. "ApiKeyAuth": []
  13094. }
  13095. ],
  13096. "produces": [
  13097. "application/json"
  13098. ],
  13099. "tags": [
  13100. "仓单贸易v2"
  13101. ],
  13102. "summary": "查询仓单要素详细信息列表项",
  13103. "parameters": [
  13104. {
  13105. "type": "integer",
  13106. "description": "仓单要素id",
  13107. "name": "wrfactortypeid",
  13108. "in": "query",
  13109. "required": true
  13110. }
  13111. ],
  13112. "responses": {
  13113. "200": {
  13114. "description": "OK",
  13115. "schema": {
  13116. "type": "array",
  13117. "items": {
  13118. "$ref": "#/definitions/models.WrTypeItem"
  13119. }
  13120. }
  13121. },
  13122. "500": {
  13123. "description": "Internal Server Error",
  13124. "schema": {
  13125. "$ref": "#/definitions/app.Response"
  13126. }
  13127. }
  13128. }
  13129. }
  13130. },
  13131. "/WrTrade2/QueryWrFinanceBuyApply": {
  13132. "get": {
  13133. "security": [
  13134. {
  13135. "ApiKeyAuth": []
  13136. }
  13137. ],
  13138. "description": "页面 融资信息+ / 申请单",
  13139. "produces": [
  13140. "application/json"
  13141. ],
  13142. "tags": [
  13143. "仓单贸易v2"
  13144. ],
  13145. "summary": "查询融资购买申请",
  13146. "parameters": [
  13147. {
  13148. "type": "integer",
  13149. "description": "用户id",
  13150. "name": "userid",
  13151. "in": "query",
  13152. "required": true
  13153. }
  13154. ],
  13155. "responses": {
  13156. "200": {
  13157. "description": "OK",
  13158. "schema": {
  13159. "type": "array",
  13160. "items": {
  13161. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13162. }
  13163. }
  13164. },
  13165. "500": {
  13166. "description": "Internal Server Error",
  13167. "schema": {
  13168. "$ref": "#/definitions/app.Response"
  13169. }
  13170. }
  13171. }
  13172. }
  13173. },
  13174. "/WrTrade2/QueryWrFriendApply": {
  13175. "get": {
  13176. "security": [
  13177. {
  13178. "ApiKeyAuth": []
  13179. }
  13180. ],
  13181. "produces": [
  13182. "application/json"
  13183. ],
  13184. "tags": [
  13185. "仓单贸易v2"
  13186. ],
  13187. "summary": "查询好友申请记录",
  13188. "parameters": [
  13189. {
  13190. "type": "integer",
  13191. "description": "用户id",
  13192. "name": "userid",
  13193. "in": "query",
  13194. "required": true
  13195. }
  13196. ],
  13197. "responses": {
  13198. "200": {
  13199. "description": "OK",
  13200. "schema": {
  13201. "type": "array",
  13202. "items": {
  13203. "$ref": "#/definitions/models.WrFriendApply"
  13204. }
  13205. }
  13206. },
  13207. "500": {
  13208. "description": "Internal Server Error",
  13209. "schema": {
  13210. "$ref": "#/definitions/app.Response"
  13211. }
  13212. }
  13213. }
  13214. }
  13215. },
  13216. "/WrTrade2/QueryWrGoodsInfo": {
  13217. "get": {
  13218. "security": [
  13219. {
  13220. "ApiKeyAuth": []
  13221. }
  13222. ],
  13223. "produces": [
  13224. "application/json"
  13225. ],
  13226. "tags": [
  13227. "仓单贸易v2"
  13228. ],
  13229. "summary": "查询仓单商品信息",
  13230. "parameters": [
  13231. {
  13232. "type": "integer",
  13233. "description": "仓单贸易市场id",
  13234. "name": "marketid",
  13235. "in": "query"
  13236. },
  13237. {
  13238. "type": "integer",
  13239. "description": "0:仓单预售 1:仓单贸易",
  13240. "name": "haswr",
  13241. "in": "query",
  13242. "required": true
  13243. },
  13244. {
  13245. "type": "integer",
  13246. "description": "仓单要素id",
  13247. "name": "wrfactortypeid",
  13248. "in": "query",
  13249. "required": true
  13250. },
  13251. {
  13252. "type": "integer",
  13253. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13254. "name": "tmplateid",
  13255. "in": "query"
  13256. }
  13257. ],
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrGoodsInfo"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QueryWrMarketTradeConfig": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询市场交易参数配置",
  13291. "parameters": [
  13292. {
  13293. "type": "integer",
  13294. "description": "市场id",
  13295. "name": "marketid",
  13296. "in": "query"
  13297. }
  13298. ],
  13299. "responses": {
  13300. "200": {
  13301. "description": "OK",
  13302. "schema": {
  13303. "type": "array",
  13304. "items": {
  13305. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13306. }
  13307. }
  13308. },
  13309. "500": {
  13310. "description": "Internal Server Error",
  13311. "schema": {
  13312. "$ref": "#/definitions/app.Response"
  13313. }
  13314. }
  13315. }
  13316. }
  13317. },
  13318. "/WrTrade2/QueryWrOrderDetail": {
  13319. "get": {
  13320. "security": [
  13321. {
  13322. "ApiKeyAuth": []
  13323. }
  13324. ],
  13325. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13326. "produces": [
  13327. "application/json"
  13328. ],
  13329. "tags": [
  13330. "仓单贸易v2"
  13331. ],
  13332. "summary": "查询仓单委托单",
  13333. "parameters": [
  13334. {
  13335. "type": "integer",
  13336. "description": "页码",
  13337. "name": "page",
  13338. "in": "query"
  13339. },
  13340. {
  13341. "type": "integer",
  13342. "description": "每页条数",
  13343. "name": "pagesize",
  13344. "in": "query"
  13345. },
  13346. {
  13347. "type": "integer",
  13348. "description": "用户id",
  13349. "name": "userid",
  13350. "in": "query",
  13351. "required": true
  13352. },
  13353. {
  13354. "type": "integer",
  13355. "description": "仓单贸易市场id",
  13356. "name": "marketid",
  13357. "in": "query"
  13358. },
  13359. {
  13360. "type": "integer",
  13361. "description": "0:仓单预售 1:仓单贸易",
  13362. "name": "haswr",
  13363. "in": "query",
  13364. "required": true
  13365. },
  13366. {
  13367. "type": "integer",
  13368. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13369. "name": "bcancel",
  13370. "in": "query"
  13371. },
  13372. {
  13373. "type": "integer",
  13374. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13375. "name": "wrtradetype",
  13376. "in": "query"
  13377. },
  13378. {
  13379. "type": "string",
  13380. "description": "开始交易日(yyyymmdd)",
  13381. "name": "begindate",
  13382. "in": "query"
  13383. },
  13384. {
  13385. "type": "string",
  13386. "description": "结束交易日(yyyymmdd)",
  13387. "name": "enddate",
  13388. "in": "query"
  13389. }
  13390. ],
  13391. "responses": {
  13392. "200": {
  13393. "description": "OK",
  13394. "schema": {
  13395. "type": "array",
  13396. "items": {
  13397. "$ref": "#/definitions/models.WrOrderDetail"
  13398. }
  13399. }
  13400. },
  13401. "500": {
  13402. "description": "Internal Server Error",
  13403. "schema": {
  13404. "$ref": "#/definitions/app.Response"
  13405. }
  13406. }
  13407. }
  13408. }
  13409. },
  13410. "/WrTrade2/QueryWrOutInApply": {
  13411. "get": {
  13412. "security": [
  13413. {
  13414. "ApiKeyAuth": []
  13415. }
  13416. ],
  13417. "produces": [
  13418. "application/json"
  13419. ],
  13420. "tags": [
  13421. "仓单贸易v2"
  13422. ],
  13423. "summary": "查询提货申请",
  13424. "parameters": [
  13425. {
  13426. "type": "integer",
  13427. "description": "用户id",
  13428. "name": "userid",
  13429. "in": "query",
  13430. "required": true
  13431. },
  13432. {
  13433. "type": "string",
  13434. "description": "开始交易日(yyyymmdd)",
  13435. "name": "begindate",
  13436. "in": "query"
  13437. },
  13438. {
  13439. "type": "string",
  13440. "description": "结束交易日(yyyymmdd)",
  13441. "name": "enddate",
  13442. "in": "query"
  13443. }
  13444. ],
  13445. "responses": {
  13446. "200": {
  13447. "description": "OK",
  13448. "schema": {
  13449. "type": "array",
  13450. "items": {
  13451. "$ref": "#/definitions/models.WrOutInApply"
  13452. }
  13453. }
  13454. },
  13455. "500": {
  13456. "description": "Internal Server Error",
  13457. "schema": {
  13458. "$ref": "#/definitions/app.Response"
  13459. }
  13460. }
  13461. }
  13462. }
  13463. },
  13464. "/WrTrade2/QueryWrPerformancePlanStep": {
  13465. "get": {
  13466. "security": [
  13467. {
  13468. "ApiKeyAuth": []
  13469. }
  13470. ],
  13471. "produces": [
  13472. "application/json"
  13473. ],
  13474. "tags": [
  13475. "仓单贸易v2"
  13476. ],
  13477. "summary": "查询履约信息详情",
  13478. "parameters": [
  13479. {
  13480. "type": "integer",
  13481. "description": "履约计划id(performanceplanid)",
  13482. "name": "planid",
  13483. "in": "query",
  13484. "required": true
  13485. },
  13486. {
  13487. "type": "integer",
  13488. "description": "当前步骤id",
  13489. "name": "curstepid",
  13490. "in": "query"
  13491. }
  13492. ],
  13493. "responses": {
  13494. "200": {
  13495. "description": "OK",
  13496. "schema": {
  13497. "type": "array",
  13498. "items": {
  13499. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13500. }
  13501. }
  13502. },
  13503. "500": {
  13504. "description": "Internal Server Error",
  13505. "schema": {
  13506. "$ref": "#/definitions/app.Response"
  13507. }
  13508. }
  13509. }
  13510. }
  13511. },
  13512. "/WrTrade2/QueryWrPerformanceStepType": {
  13513. "get": {
  13514. "security": [
  13515. {
  13516. "ApiKeyAuth": []
  13517. }
  13518. ],
  13519. "produces": [
  13520. "application/json"
  13521. ],
  13522. "tags": [
  13523. "仓单贸易v2"
  13524. ],
  13525. "summary": "查询履约步骤枚举",
  13526. "responses": {
  13527. "200": {
  13528. "description": "OK",
  13529. "schema": {
  13530. "type": "array",
  13531. "items": {
  13532. "$ref": "#/definitions/models.WrPerformanceStepType"
  13533. }
  13534. }
  13535. },
  13536. "500": {
  13537. "description": "Internal Server Error",
  13538. "schema": {
  13539. "$ref": "#/definitions/app.Response"
  13540. }
  13541. }
  13542. }
  13543. }
  13544. },
  13545. "/WrTrade2/QueryWrPosition": {
  13546. "get": {
  13547. "security": [
  13548. {
  13549. "ApiKeyAuth": []
  13550. }
  13551. ],
  13552. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13553. "produces": [
  13554. "application/json"
  13555. ],
  13556. "tags": [
  13557. "仓单贸易v2"
  13558. ],
  13559. "summary": "查询现货(预售)仓单持仓",
  13560. "parameters": [
  13561. {
  13562. "type": "integer",
  13563. "description": "用户id",
  13564. "name": "userid",
  13565. "in": "query",
  13566. "required": true
  13567. },
  13568. {
  13569. "type": "integer",
  13570. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13571. "name": "querytype",
  13572. "in": "query",
  13573. "required": true
  13574. },
  13575. {
  13576. "type": "integer",
  13577. "description": "0:仓单预售 1:仓单贸易",
  13578. "name": "haswr",
  13579. "in": "query",
  13580. "required": true
  13581. },
  13582. {
  13583. "type": "string",
  13584. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13585. "name": "dgitemname",
  13586. "in": "query"
  13587. },
  13588. {
  13589. "type": "integer",
  13590. "description": "仓库id(筛选条件)",
  13591. "name": "warehouseid",
  13592. "in": "query"
  13593. },
  13594. {
  13595. "type": "integer",
  13596. "description": "品种id",
  13597. "name": "deliverygoodsid",
  13598. "in": "query"
  13599. },
  13600. {
  13601. "type": "integer",
  13602. "description": "品类id",
  13603. "name": "wrstandardid",
  13604. "in": "query"
  13605. }
  13606. ],
  13607. "responses": {
  13608. "200": {
  13609. "description": "OK",
  13610. "schema": {
  13611. "type": "array",
  13612. "items": {
  13613. "$ref": "#/definitions/models.WrPosition"
  13614. }
  13615. }
  13616. },
  13617. "500": {
  13618. "description": "Internal Server Error",
  13619. "schema": {
  13620. "$ref": "#/definitions/app.Response"
  13621. }
  13622. }
  13623. }
  13624. }
  13625. },
  13626. "/WrTrade2/QueryWrPreSaleInfo": {
  13627. "get": {
  13628. "security": [
  13629. {
  13630. "ApiKeyAuth": []
  13631. }
  13632. ],
  13633. "produces": [
  13634. "application/json"
  13635. ],
  13636. "tags": [
  13637. "仓单贸易v2"
  13638. ],
  13639. "summary": "查询新品发布",
  13640. "parameters": [
  13641. {
  13642. "type": "integer",
  13643. "description": "市场id",
  13644. "name": "marketid",
  13645. "in": "query"
  13646. },
  13647. {
  13648. "type": "string",
  13649. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  13650. "name": "presalestatus",
  13651. "in": "query"
  13652. },
  13653. {
  13654. "type": "integer",
  13655. "description": "摇号标识 - 0:未摇号 1:已摇号",
  13656. "name": "lotteryflag",
  13657. "in": "query"
  13658. },
  13659. {
  13660. "type": "integer",
  13661. "description": "最近多少条记录(按创建时间倒序)",
  13662. "name": "lastnum",
  13663. "in": "query"
  13664. }
  13665. ],
  13666. "responses": {
  13667. "200": {
  13668. "description": "OK",
  13669. "schema": {
  13670. "type": "array",
  13671. "items": {
  13672. "$ref": "#/definitions/models.WrPreSaleInfo"
  13673. }
  13674. }
  13675. },
  13676. "500": {
  13677. "description": "Internal Server Error",
  13678. "schema": {
  13679. "$ref": "#/definitions/app.Response"
  13680. }
  13681. }
  13682. }
  13683. }
  13684. },
  13685. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  13686. "get": {
  13687. "security": [
  13688. {
  13689. "ApiKeyAuth": []
  13690. }
  13691. ],
  13692. "produces": [
  13693. "application/json"
  13694. ],
  13695. "tags": [
  13696. "仓单贸易v2"
  13697. ],
  13698. "summary": "查询价格走势",
  13699. "parameters": [
  13700. {
  13701. "type": "integer",
  13702. "description": "市场id",
  13703. "name": "marketid",
  13704. "in": "query",
  13705. "required": true
  13706. },
  13707. {
  13708. "type": "integer",
  13709. "description": "现货商品id",
  13710. "name": "wrstandardid",
  13711. "in": "query",
  13712. "required": true
  13713. },
  13714. {
  13715. "type": "string",
  13716. "description": "开始交易日(yyyymmdd)",
  13717. "name": "begindate",
  13718. "in": "query"
  13719. },
  13720. {
  13721. "type": "string",
  13722. "description": "结束交易日(yyyymmdd)",
  13723. "name": "enddate",
  13724. "in": "query"
  13725. },
  13726. {
  13727. "type": "integer",
  13728. "description": "最近多少条记录(按交易日倒序)",
  13729. "name": "lastnum",
  13730. "in": "query"
  13731. }
  13732. ],
  13733. "responses": {
  13734. "200": {
  13735. "description": "OK",
  13736. "schema": {
  13737. "type": "array",
  13738. "items": {
  13739. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  13740. }
  13741. }
  13742. },
  13743. "500": {
  13744. "description": "Internal Server Error",
  13745. "schema": {
  13746. "$ref": "#/definitions/app.Response"
  13747. }
  13748. }
  13749. }
  13750. }
  13751. },
  13752. "/WrTrade2/QueryWrScfContract": {
  13753. "get": {
  13754. "security": [
  13755. {
  13756. "ApiKeyAuth": []
  13757. }
  13758. ],
  13759. "produces": [
  13760. "application/json"
  13761. ],
  13762. "tags": [
  13763. "仓单贸易v2"
  13764. ],
  13765. "summary": "查询仓单贸易融资合同",
  13766. "parameters": [
  13767. {
  13768. "type": "integer",
  13769. "description": "用户id",
  13770. "name": "userid",
  13771. "in": "query",
  13772. "required": true
  13773. },
  13774. {
  13775. "type": "integer",
  13776. "description": "融资合同id",
  13777. "name": "scfcontractid",
  13778. "in": "query"
  13779. }
  13780. ],
  13781. "responses": {
  13782. "200": {
  13783. "description": "OK",
  13784. "schema": {
  13785. "type": "array",
  13786. "items": {
  13787. "$ref": "#/definitions/models.WrScfContract"
  13788. }
  13789. }
  13790. },
  13791. "500": {
  13792. "description": "Internal Server Error",
  13793. "schema": {
  13794. "$ref": "#/definitions/app.Response"
  13795. }
  13796. }
  13797. }
  13798. }
  13799. },
  13800. "/WrTrade2/QueryWrScfContractInterest": {
  13801. "get": {
  13802. "security": [
  13803. {
  13804. "ApiKeyAuth": []
  13805. }
  13806. ],
  13807. "produces": [
  13808. "application/json"
  13809. ],
  13810. "tags": [
  13811. "仓单贸易v2"
  13812. ],
  13813. "summary": "查询融资合同费用明细",
  13814. "parameters": [
  13815. {
  13816. "type": "integer",
  13817. "description": "融资合同id",
  13818. "name": "scfcontractid",
  13819. "in": "query"
  13820. }
  13821. ],
  13822. "responses": {
  13823. "200": {
  13824. "description": "OK",
  13825. "schema": {
  13826. "type": "array",
  13827. "items": {
  13828. "$ref": "#/definitions/models.WrScfContractInterest"
  13829. }
  13830. }
  13831. },
  13832. "500": {
  13833. "description": "Internal Server Error",
  13834. "schema": {
  13835. "$ref": "#/definitions/app.Response"
  13836. }
  13837. }
  13838. }
  13839. }
  13840. },
  13841. "/WrTrade2/QueryWrSearchUser": {
  13842. "get": {
  13843. "security": [
  13844. {
  13845. "ApiKeyAuth": []
  13846. }
  13847. ],
  13848. "produces": [
  13849. "application/json"
  13850. ],
  13851. "tags": [
  13852. "仓单贸易v2"
  13853. ],
  13854. "summary": "查询用户",
  13855. "parameters": [
  13856. {
  13857. "type": "string",
  13858. "description": "用户名称(模糊匹配)",
  13859. "name": "username",
  13860. "in": "query",
  13861. "required": true
  13862. }
  13863. ],
  13864. "responses": {
  13865. "200": {
  13866. "description": "OK",
  13867. "schema": {
  13868. "type": "array",
  13869. "items": {
  13870. "$ref": "#/definitions/models.WrSearchUser"
  13871. }
  13872. }
  13873. },
  13874. "500": {
  13875. "description": "Internal Server Error",
  13876. "schema": {
  13877. "$ref": "#/definitions/app.Response"
  13878. }
  13879. }
  13880. }
  13881. }
  13882. },
  13883. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13884. "get": {
  13885. "security": [
  13886. {
  13887. "ApiKeyAuth": []
  13888. }
  13889. ],
  13890. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13891. "produces": [
  13892. "application/json"
  13893. ],
  13894. "tags": [
  13895. "仓单贸易v2"
  13896. ],
  13897. "summary": "查询指定成交",
  13898. "parameters": [
  13899. {
  13900. "type": "integer",
  13901. "description": "页码",
  13902. "name": "page",
  13903. "in": "query"
  13904. },
  13905. {
  13906. "type": "integer",
  13907. "description": "每页条数",
  13908. "name": "pagesize",
  13909. "in": "query"
  13910. },
  13911. {
  13912. "type": "integer",
  13913. "description": "用户id",
  13914. "name": "userid",
  13915. "in": "query",
  13916. "required": true
  13917. },
  13918. {
  13919. "type": "integer",
  13920. "description": "仓单贸易市场id",
  13921. "name": "marketid",
  13922. "in": "query"
  13923. },
  13924. {
  13925. "type": "integer",
  13926. "description": "0:仓单预售 1:仓单贸易",
  13927. "name": "haswr",
  13928. "in": "query",
  13929. "required": true
  13930. },
  13931. {
  13932. "type": "integer",
  13933. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13934. "name": "isspecified",
  13935. "in": "query"
  13936. }
  13937. ],
  13938. "responses": {
  13939. "200": {
  13940. "description": "OK",
  13941. "schema": {
  13942. "type": "array",
  13943. "items": {
  13944. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13945. }
  13946. }
  13947. },
  13948. "500": {
  13949. "description": "Internal Server Error",
  13950. "schema": {
  13951. "$ref": "#/definitions/app.Response"
  13952. }
  13953. }
  13954. }
  13955. }
  13956. },
  13957. "/WrTrade2/QueryWrStandardFactoryItem": {
  13958. "get": {
  13959. "security": [
  13960. {
  13961. "ApiKeyAuth": []
  13962. }
  13963. ],
  13964. "produces": [
  13965. "application/json"
  13966. ],
  13967. "tags": [
  13968. "仓单贸易v2"
  13969. ],
  13970. "summary": "查询品类要素定义项",
  13971. "parameters": [
  13972. {
  13973. "type": "integer",
  13974. "description": "品类id",
  13975. "name": "wrstandardid",
  13976. "in": "query",
  13977. "required": true
  13978. }
  13979. ],
  13980. "responses": {
  13981. "200": {
  13982. "description": "OK",
  13983. "schema": {
  13984. "type": "array",
  13985. "items": {
  13986. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13987. }
  13988. }
  13989. },
  13990. "500": {
  13991. "description": "Internal Server Error",
  13992. "schema": {
  13993. "$ref": "#/definitions/app.Response"
  13994. }
  13995. }
  13996. }
  13997. }
  13998. },
  13999. "/WrTrade2/QueryWrTradeBargainApply": {
  14000. "get": {
  14001. "security": [
  14002. {
  14003. "ApiKeyAuth": []
  14004. }
  14005. ],
  14006. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14007. "produces": [
  14008. "application/json"
  14009. ],
  14010. "tags": [
  14011. "仓单贸易v2"
  14012. ],
  14013. "summary": "查询议价单",
  14014. "parameters": [
  14015. {
  14016. "type": "integer",
  14017. "description": "议价人id(摘牌方)",
  14018. "name": "userid",
  14019. "in": "query"
  14020. },
  14021. {
  14022. "type": "integer",
  14023. "description": "挂牌方id(查对方议价时,填写此项)",
  14024. "name": "matchuserid",
  14025. "in": "query"
  14026. },
  14027. {
  14028. "type": "integer",
  14029. "description": "关联委托单id",
  14030. "name": "wrtradeorderid",
  14031. "in": "query"
  14032. },
  14033. {
  14034. "type": "integer",
  14035. "description": "0:仓单预售 1:仓单贸易",
  14036. "name": "haswr",
  14037. "in": "query",
  14038. "required": true
  14039. },
  14040. {
  14041. "type": "string",
  14042. "description": "开始交易日(yyyymmdd)",
  14043. "name": "begindate",
  14044. "in": "query"
  14045. },
  14046. {
  14047. "type": "string",
  14048. "description": "结束交易日(yyyymmdd)",
  14049. "name": "enddate",
  14050. "in": "query"
  14051. }
  14052. ],
  14053. "responses": {
  14054. "200": {
  14055. "description": "OK",
  14056. "schema": {
  14057. "type": "array",
  14058. "items": {
  14059. "$ref": "#/definitions/models.WRTradeBargainApply"
  14060. }
  14061. }
  14062. },
  14063. "500": {
  14064. "description": "Internal Server Error",
  14065. "schema": {
  14066. "$ref": "#/definitions/app.Response"
  14067. }
  14068. }
  14069. }
  14070. }
  14071. },
  14072. "/WrTrade2/QueryWrTradeDetail": {
  14073. "get": {
  14074. "security": [
  14075. {
  14076. "ApiKeyAuth": []
  14077. }
  14078. ],
  14079. "produces": [
  14080. "application/json"
  14081. ],
  14082. "tags": [
  14083. "仓单贸易v2"
  14084. ],
  14085. "summary": "查询仓单成交明细",
  14086. "parameters": [
  14087. {
  14088. "type": "integer",
  14089. "description": "页码",
  14090. "name": "page",
  14091. "in": "query"
  14092. },
  14093. {
  14094. "type": "integer",
  14095. "description": "每页条数",
  14096. "name": "pagesize",
  14097. "in": "query"
  14098. },
  14099. {
  14100. "type": "integer",
  14101. "description": "用户id",
  14102. "name": "userid",
  14103. "in": "query",
  14104. "required": true
  14105. },
  14106. {
  14107. "type": "integer",
  14108. "description": "仓单贸易市场id",
  14109. "name": "marketid",
  14110. "in": "query"
  14111. },
  14112. {
  14113. "type": "integer",
  14114. "description": "0:仓单预售 1:仓单贸易",
  14115. "name": "haswr",
  14116. "in": "query",
  14117. "required": true
  14118. },
  14119. {
  14120. "type": "string",
  14121. "description": "开始交易日(yyyymmdd)",
  14122. "name": "begindate",
  14123. "in": "query"
  14124. },
  14125. {
  14126. "type": "string",
  14127. "description": "结束交易日(yyyymmdd)",
  14128. "name": "enddate",
  14129. "in": "query"
  14130. }
  14131. ],
  14132. "responses": {
  14133. "200": {
  14134. "description": "OK",
  14135. "schema": {
  14136. "type": "array",
  14137. "items": {
  14138. "$ref": "#/definitions/models.WrTradeDetail"
  14139. }
  14140. }
  14141. },
  14142. "500": {
  14143. "description": "Internal Server Error",
  14144. "schema": {
  14145. "$ref": "#/definitions/app.Response"
  14146. }
  14147. }
  14148. }
  14149. }
  14150. },
  14151. "/WrTrade2/QueryWrTradeOrderDetail": {
  14152. "get": {
  14153. "security": [
  14154. {
  14155. "ApiKeyAuth": []
  14156. }
  14157. ],
  14158. "produces": [
  14159. "application/json"
  14160. ],
  14161. "tags": [
  14162. "仓单贸易v2"
  14163. ],
  14164. "summary": "查询合约交易买卖大厅",
  14165. "parameters": [
  14166. {
  14167. "type": "integer",
  14168. "description": "页码",
  14169. "name": "page",
  14170. "in": "query"
  14171. },
  14172. {
  14173. "type": "integer",
  14174. "description": "每页条数",
  14175. "name": "pagesize",
  14176. "in": "query"
  14177. },
  14178. {
  14179. "type": "integer",
  14180. "description": "商品id",
  14181. "name": "goodsid",
  14182. "in": "query",
  14183. "required": true
  14184. },
  14185. {
  14186. "type": "integer",
  14187. "description": "买卖方向 0-买 1-卖",
  14188. "name": "buyorsell",
  14189. "in": "query",
  14190. "required": true
  14191. }
  14192. ],
  14193. "responses": {
  14194. "200": {
  14195. "description": "OK",
  14196. "schema": {
  14197. "type": "array",
  14198. "items": {
  14199. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14200. }
  14201. }
  14202. },
  14203. "500": {
  14204. "description": "Internal Server Error",
  14205. "schema": {
  14206. "$ref": "#/definitions/app.Response"
  14207. }
  14208. }
  14209. }
  14210. }
  14211. },
  14212. "/WrTrade2/QueryWrUserFriend": {
  14213. "get": {
  14214. "security": [
  14215. {
  14216. "ApiKeyAuth": []
  14217. }
  14218. ],
  14219. "produces": [
  14220. "application/json"
  14221. ],
  14222. "tags": [
  14223. "仓单贸易v2"
  14224. ],
  14225. "summary": "查询我的朋友",
  14226. "parameters": [
  14227. {
  14228. "type": "integer",
  14229. "description": "用户id",
  14230. "name": "userid",
  14231. "in": "query",
  14232. "required": true
  14233. },
  14234. {
  14235. "type": "integer",
  14236. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14237. "name": "newuserid",
  14238. "in": "query"
  14239. }
  14240. ],
  14241. "responses": {
  14242. "200": {
  14243. "description": "OK",
  14244. "schema": {
  14245. "type": "array",
  14246. "items": {
  14247. "$ref": "#/definitions/models.WrUserFriend"
  14248. }
  14249. }
  14250. },
  14251. "500": {
  14252. "description": "Internal Server Error",
  14253. "schema": {
  14254. "$ref": "#/definitions/app.Response"
  14255. }
  14256. }
  14257. }
  14258. }
  14259. },
  14260. "/WrTrade2/QueryWrUserReceiptInfo": {
  14261. "get": {
  14262. "security": [
  14263. {
  14264. "ApiKeyAuth": []
  14265. }
  14266. ],
  14267. "produces": [
  14268. "application/json"
  14269. ],
  14270. "tags": [
  14271. "仓单贸易v2"
  14272. ],
  14273. "summary": "查询发票信息",
  14274. "parameters": [
  14275. {
  14276. "type": "integer",
  14277. "description": "用户id",
  14278. "name": "userid",
  14279. "in": "query"
  14280. },
  14281. {
  14282. "type": "integer",
  14283. "description": "发票类型 - 1:个人 2:企业",
  14284. "name": "receipttype",
  14285. "in": "query"
  14286. }
  14287. ],
  14288. "responses": {
  14289. "200": {
  14290. "description": "OK",
  14291. "schema": {
  14292. "type": "array",
  14293. "items": {
  14294. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14295. }
  14296. }
  14297. },
  14298. "500": {
  14299. "description": "Internal Server Error",
  14300. "schema": {
  14301. "$ref": "#/definitions/app.Response"
  14302. }
  14303. }
  14304. }
  14305. }
  14306. },
  14307. "/ZJ/GetBankTip": {
  14308. "get": {
  14309. "produces": [
  14310. "application/json"
  14311. ],
  14312. "tags": [
  14313. "中江"
  14314. ],
  14315. "summary": "获取中江网银端出入金提示信息",
  14316. "responses": {
  14317. "200": {
  14318. "description": "OK",
  14319. "schema": {
  14320. "type": "string"
  14321. }
  14322. },
  14323. "500": {
  14324. "description": "Internal Server Error",
  14325. "schema": {
  14326. "$ref": "#/definitions/app.Response"
  14327. }
  14328. }
  14329. }
  14330. }
  14331. },
  14332. "/ZJ/GetCusBankChannels": {
  14333. "get": {
  14334. "produces": [
  14335. "application/json"
  14336. ],
  14337. "tags": [
  14338. "中江"
  14339. ],
  14340. "summary": "获取中江出入金渠道显示列表",
  14341. "responses": {
  14342. "200": {
  14343. "description": "OK",
  14344. "schema": {
  14345. "type": "array",
  14346. "items": {
  14347. "type": "string"
  14348. }
  14349. }
  14350. },
  14351. "500": {
  14352. "description": "Internal Server Error",
  14353. "schema": {
  14354. "$ref": "#/definitions/app.Response"
  14355. }
  14356. }
  14357. }
  14358. }
  14359. }
  14360. },
  14361. "definitions": {
  14362. "app.Response": {
  14363. "type": "object",
  14364. "properties": {
  14365. "code": {
  14366. "type": "integer"
  14367. },
  14368. "data": {},
  14369. "msg": {
  14370. "type": "string"
  14371. },
  14372. "page": {
  14373. "description": "页码",
  14374. "type": "integer"
  14375. },
  14376. "pagesize": {
  14377. "description": "每页条数",
  14378. "type": "integer"
  14379. },
  14380. "total": {
  14381. "description": "总条数",
  14382. "type": "integer"
  14383. }
  14384. }
  14385. },
  14386. "common.ClientMenu": {
  14387. "type": "object",
  14388. "properties": {
  14389. "children": {
  14390. "description": "子菜单列表",
  14391. "type": "array",
  14392. "items": {
  14393. "$ref": "#/definitions/common.ClientMenu"
  14394. }
  14395. },
  14396. "code": {
  14397. "description": "ID",
  14398. "type": "string"
  14399. },
  14400. "isshow": {
  14401. "description": "是否显示",
  14402. "type": "boolean"
  14403. },
  14404. "remark": {
  14405. "description": "备注",
  14406. "type": "string"
  14407. },
  14408. "rulekey": {
  14409. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14410. "type": "string"
  14411. },
  14412. "sort": {
  14413. "description": "排序",
  14414. "type": "integer"
  14415. },
  14416. "title": {
  14417. "description": "标题",
  14418. "type": "string"
  14419. },
  14420. "type": {
  14421. "description": "类型,1:菜单 2:按钮",
  14422. "type": "integer"
  14423. },
  14424. "url": {
  14425. "description": "URL",
  14426. "type": "string"
  14427. }
  14428. }
  14429. },
  14430. "common.PCWebMenu": {
  14431. "type": "object",
  14432. "properties": {
  14433. "auth": {
  14434. "description": "页面权限列表",
  14435. "type": "array",
  14436. "items": {
  14437. "$ref": "#/definitions/common.PCWebMenuAuth"
  14438. }
  14439. },
  14440. "children": {
  14441. "description": "子菜单列表",
  14442. "type": "array",
  14443. "items": {
  14444. "$ref": "#/definitions/common.PCWebMenu"
  14445. }
  14446. },
  14447. "code": {
  14448. "description": "ID,新版本中权限KEY也是这个字段",
  14449. "type": "string"
  14450. },
  14451. "component": {
  14452. "description": "路由组件",
  14453. "type": "string"
  14454. },
  14455. "isshow": {
  14456. "description": "是否显示",
  14457. "type": "boolean"
  14458. },
  14459. "path": {
  14460. "description": "路由路径",
  14461. "type": "string"
  14462. },
  14463. "remark": {
  14464. "description": "备注",
  14465. "type": "string"
  14466. },
  14467. "rulekey": {
  14468. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14469. "type": "string"
  14470. },
  14471. "sort": {
  14472. "description": "排序",
  14473. "type": "integer"
  14474. },
  14475. "title": {
  14476. "description": "标题",
  14477. "type": "string"
  14478. },
  14479. "url": {
  14480. "description": "URL",
  14481. "type": "string"
  14482. }
  14483. }
  14484. },
  14485. "common.PCWebMenuAuth": {
  14486. "type": "object",
  14487. "properties": {
  14488. "code": {
  14489. "description": "ID,新版本中权限KEY也是这个字段",
  14490. "type": "string"
  14491. },
  14492. "isshow": {
  14493. "description": "是否显示",
  14494. "type": "boolean"
  14495. },
  14496. "label": {
  14497. "description": "标题",
  14498. "type": "string"
  14499. },
  14500. "remark": {
  14501. "description": "备注",
  14502. "type": "string"
  14503. },
  14504. "rulekey": {
  14505. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14506. "type": "string"
  14507. }
  14508. }
  14509. },
  14510. "common.QueryImageConfigsRsp": {
  14511. "type": "object",
  14512. "required": [
  14513. "configid"
  14514. ],
  14515. "properties": {
  14516. "areauserid": {
  14517. "description": "所属机构ID",
  14518. "type": "integer"
  14519. },
  14520. "configid": {
  14521. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14522. "type": "integer"
  14523. },
  14524. "createdate": {
  14525. "description": "创建时间",
  14526. "type": "string"
  14527. },
  14528. "creatorid": {
  14529. "description": "创建人",
  14530. "type": "integer"
  14531. },
  14532. "imagedetailpath": {
  14533. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14534. "type": "string"
  14535. },
  14536. "imagepath": {
  14537. "description": "图片",
  14538. "type": "string"
  14539. },
  14540. "imagetype": {
  14541. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14542. "type": "integer"
  14543. },
  14544. "isshow": {
  14545. "description": "是否展示 - 0:不展示 1:展示",
  14546. "type": "integer"
  14547. },
  14548. "marketid": {
  14549. "description": "市场ID",
  14550. "type": "integer"
  14551. },
  14552. "modifierid": {
  14553. "description": "操作人",
  14554. "type": "integer"
  14555. },
  14556. "sort": {
  14557. "description": "排序",
  14558. "type": "integer"
  14559. },
  14560. "title": {
  14561. "description": "标题",
  14562. "type": "string"
  14563. },
  14564. "trademode": {
  14565. "description": "交易模式",
  14566. "type": "integer"
  14567. },
  14568. "updatedate": {
  14569. "description": "修改时间",
  14570. "type": "string"
  14571. },
  14572. "url": {
  14573. "description": "链接(地址或商品ID)",
  14574. "type": "string"
  14575. },
  14576. "urltype": {
  14577. "description": "链接类型 - 1:直接地址 2:商品ID",
  14578. "type": "integer"
  14579. }
  14580. }
  14581. },
  14582. "common.QueryNoticeRsp": {
  14583. "type": "object",
  14584. "required": [
  14585. "autoid"
  14586. ],
  14587. "properties": {
  14588. "auditoruserid": {
  14589. "description": "审核人",
  14590. "type": "integer"
  14591. },
  14592. "auditremark": {
  14593. "description": "审核备注",
  14594. "type": "string"
  14595. },
  14596. "audittime": {
  14597. "description": "审核日期",
  14598. "type": "string"
  14599. },
  14600. "autoid": {
  14601. "description": "自增ID",
  14602. "type": "integer"
  14603. },
  14604. "content": {
  14605. "description": "内容",
  14606. "type": "string"
  14607. },
  14608. "createtime": {
  14609. "description": "创建时间",
  14610. "type": "string"
  14611. },
  14612. "creatorid": {
  14613. "description": "建仓人",
  14614. "type": "integer"
  14615. },
  14616. "endtime": {
  14617. "description": "结束时间",
  14618. "type": "string"
  14619. },
  14620. "istop": {
  14621. "description": "是否置顶 - 0:不置顶 1:置顶",
  14622. "type": "integer"
  14623. },
  14624. "msgiconurl": {
  14625. "description": "消息图标Url",
  14626. "type": "string"
  14627. },
  14628. "msgtype": {
  14629. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14630. "type": "integer"
  14631. },
  14632. "publisher": {
  14633. "description": "消息发布者",
  14634. "type": "string"
  14635. },
  14636. "readed": {
  14637. "description": "是否已读",
  14638. "type": "boolean"
  14639. },
  14640. "scheduletime": {
  14641. "description": "计划发送时间",
  14642. "type": "string"
  14643. },
  14644. "sendtype": {
  14645. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14646. "type": "integer"
  14647. },
  14648. "sentstatus": {
  14649. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14650. "type": "integer"
  14651. },
  14652. "title": {
  14653. "description": "标题",
  14654. "type": "string"
  14655. },
  14656. "userid": {
  14657. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14658. "type": "integer"
  14659. }
  14660. }
  14661. },
  14662. "common.QueryProvincesAndCitiesRsp": {
  14663. "type": "object",
  14664. "properties": {
  14665. "cities": {
  14666. "description": "市",
  14667. "type": "array",
  14668. "items": {
  14669. "$ref": "#/definitions/models.Division"
  14670. }
  14671. },
  14672. "province": {
  14673. "description": "省",
  14674. "$ref": "#/definitions/models.Division"
  14675. }
  14676. }
  14677. },
  14678. "common.QueryTableDefineRsp": {
  14679. "type": "object",
  14680. "required": [
  14681. "tablekey"
  14682. ],
  14683. "properties": {
  14684. "columns": {
  14685. "description": "列头信息数组",
  14686. "type": "array",
  14687. "items": {
  14688. "$ref": "#/definitions/models.Tablecolumnconfig"
  14689. }
  14690. },
  14691. "remark": {
  14692. "description": "Remark",
  14693. "type": "string"
  14694. },
  14695. "tabelmenu": {
  14696. "description": "列表菜单",
  14697. "type": "string"
  14698. },
  14699. "tablekey": {
  14700. "description": "列表Key",
  14701. "type": "string"
  14702. },
  14703. "tablename": {
  14704. "description": "列表名称",
  14705. "type": "string"
  14706. },
  14707. "tabletype": {
  14708. "description": "列表类型 - 1:管理端 2:终端",
  14709. "type": "integer"
  14710. }
  14711. }
  14712. },
  14713. "common.QueryTraderMenuRsp": {
  14714. "type": "object",
  14715. "properties": {
  14716. "OperationMenu": {
  14717. "description": "功能菜单",
  14718. "type": "array",
  14719. "items": {
  14720. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14721. }
  14722. },
  14723. "QuoteMenu": {
  14724. "description": "报价牌分类菜单",
  14725. "type": "array",
  14726. "items": {
  14727. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14728. }
  14729. }
  14730. }
  14731. },
  14732. "cptrade.Cptradepositioncancel": {
  14733. "type": "object",
  14734. "required": [
  14735. "cancelid"
  14736. ],
  14737. "properties": {
  14738. "accountid": {
  14739. "description": "申请人账户ID",
  14740. "type": "integer"
  14741. },
  14742. "applystatus": {
  14743. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14744. "type": "integer"
  14745. },
  14746. "applytime": {
  14747. "description": "申请时间",
  14748. "type": "string"
  14749. },
  14750. "cancelid": {
  14751. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14752. "type": "integer"
  14753. },
  14754. "cancelqty": {
  14755. "description": "注销数量",
  14756. "type": "integer"
  14757. },
  14758. "createtime": {
  14759. "description": "创建时间",
  14760. "type": "string"
  14761. },
  14762. "creatorid": {
  14763. "description": "创建人ID",
  14764. "type": "integer"
  14765. },
  14766. "creatorname": {
  14767. "description": "创建人",
  14768. "type": "string"
  14769. },
  14770. "goodscode": {
  14771. "description": "订单商品代码",
  14772. "type": "string"
  14773. },
  14774. "goodsid": {
  14775. "description": "商品ID",
  14776. "type": "integer"
  14777. },
  14778. "goodsname": {
  14779. "description": "订单商品名称",
  14780. "type": "string"
  14781. },
  14782. "goodunit": {
  14783. "description": "报价单位",
  14784. "type": "string"
  14785. },
  14786. "handlestatus": {
  14787. "description": "处理状态",
  14788. "type": "integer"
  14789. },
  14790. "marketid": {
  14791. "description": "市场ID",
  14792. "type": "integer"
  14793. },
  14794. "marketname": {
  14795. "description": "市场名称",
  14796. "type": "string"
  14797. },
  14798. "tradedate": {
  14799. "description": "交易日(yyyyMMdd)",
  14800. "type": "string"
  14801. },
  14802. "userid": {
  14803. "description": "申请人ID",
  14804. "type": "integer"
  14805. }
  14806. }
  14807. },
  14808. "cptrade.Cptradepresaleapply": {
  14809. "type": "object",
  14810. "required": [
  14811. "applyid"
  14812. ],
  14813. "properties": {
  14814. "accountid": {
  14815. "description": "申请人账户ID",
  14816. "type": "integer"
  14817. },
  14818. "applyid": {
  14819. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14820. "type": "integer"
  14821. },
  14822. "applyremark": {
  14823. "description": "申请备注",
  14824. "type": "string"
  14825. },
  14826. "applystatus": {
  14827. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14828. "type": "integer"
  14829. },
  14830. "applytime": {
  14831. "description": "申请时间",
  14832. "type": "string"
  14833. },
  14834. "attachmenturl": {
  14835. "description": "附件地址",
  14836. "type": "string"
  14837. },
  14838. "endtime": {
  14839. "description": "预售结束时间",
  14840. "type": "string"
  14841. },
  14842. "goodscode": {
  14843. "description": "商品代码",
  14844. "type": "string"
  14845. },
  14846. "goodsid": {
  14847. "description": "商品ID",
  14848. "type": "integer"
  14849. },
  14850. "goodsname": {
  14851. "description": "商品名称",
  14852. "type": "string"
  14853. },
  14854. "goodunit": {
  14855. "description": "报价单位",
  14856. "type": "string"
  14857. },
  14858. "handlestatus": {
  14859. "description": "处理状态",
  14860. "type": "integer"
  14861. },
  14862. "marketid": {
  14863. "description": "预售市场ID",
  14864. "type": "integer"
  14865. },
  14866. "marketname": {
  14867. "description": "预售市场名称",
  14868. "type": "string"
  14869. },
  14870. "presaleqty": {
  14871. "description": "预售数量",
  14872. "type": "integer"
  14873. },
  14874. "relatedgoodscode": {
  14875. "description": "关联交易合约代码",
  14876. "type": "string"
  14877. },
  14878. "relatedgoodsid": {
  14879. "description": "关联交易合约ID",
  14880. "type": "integer"
  14881. },
  14882. "relatedgoodsname": {
  14883. "description": "关联交易合约名称",
  14884. "type": "string"
  14885. },
  14886. "starttime": {
  14887. "description": "预售开始时间",
  14888. "type": "string"
  14889. },
  14890. "tradedate": {
  14891. "description": "交易日(yyyyMMdd)",
  14892. "type": "string"
  14893. },
  14894. "trademode": {
  14895. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14896. "type": "integer"
  14897. },
  14898. "userid": {
  14899. "description": "申请人ID",
  14900. "type": "integer"
  14901. }
  14902. }
  14903. },
  14904. "cptrade.Cptradeusergoodsdata": {
  14905. "type": "object",
  14906. "required": [
  14907. "accountid",
  14908. "goodsid"
  14909. ],
  14910. "properties": {
  14911. "EnabledQty": {
  14912. "description": "可用量",
  14913. "type": "integer"
  14914. },
  14915. "GoodsCode": {
  14916. "description": "订单商品代码",
  14917. "type": "string"
  14918. },
  14919. "GoodsName": {
  14920. "description": "订单商品名称",
  14921. "type": "string"
  14922. },
  14923. "WRStandardCode": {
  14924. "description": "仓单标准代码",
  14925. "type": "string"
  14926. },
  14927. "WRStandardName": {
  14928. "description": "仓单标准名称",
  14929. "type": "string"
  14930. },
  14931. "accountid": {
  14932. "description": "账户ID",
  14933. "type": "integer"
  14934. },
  14935. "cancelqty": {
  14936. "description": "注销量",
  14937. "type": "integer"
  14938. },
  14939. "curpresaleqty": {
  14940. "description": "当前预售量",
  14941. "type": "integer"
  14942. },
  14943. "deliveryqty": {
  14944. "description": "交割量",
  14945. "type": "integer"
  14946. },
  14947. "freezeamount": {
  14948. "description": "冻结金额",
  14949. "type": "number"
  14950. },
  14951. "goodsid": {
  14952. "description": "商品ID",
  14953. "type": "integer"
  14954. },
  14955. "goodunit": {
  14956. "description": "报价单位",
  14957. "type": "string"
  14958. },
  14959. "hasspotfreeze": {
  14960. "description": "是否有现货冻结 - 0:否 1:有",
  14961. "type": "integer"
  14962. },
  14963. "inqty": {
  14964. "description": "转入量(总数量)",
  14965. "type": "integer"
  14966. },
  14967. "marketid": {
  14968. "description": "市场ID",
  14969. "type": "integer"
  14970. },
  14971. "presaledamount": {
  14972. "description": "已预售总金额",
  14973. "type": "integer"
  14974. },
  14975. "presaledqty": {
  14976. "description": "已预售量",
  14977. "type": "integer"
  14978. },
  14979. "userid": {
  14980. "description": "用户ID",
  14981. "type": "integer"
  14982. },
  14983. "wrstandardid": {
  14984. "description": "仓单标准ID",
  14985. "type": "integer"
  14986. }
  14987. }
  14988. },
  14989. "cptrade.QueryCPTradeMyBidRsp": {
  14990. "type": "object",
  14991. "required": [
  14992. "accountid",
  14993. "goodsid",
  14994. "marketid",
  14995. "orderid",
  14996. "orderqty",
  14997. "ordertime",
  14998. "tradeprice",
  14999. "tradeqty"
  15000. ],
  15001. "properties": {
  15002. "accountid": {
  15003. "description": "账户ID[报价币种]",
  15004. "type": "integer"
  15005. },
  15006. "goodsid": {
  15007. "description": "商品ID",
  15008. "type": "integer"
  15009. },
  15010. "goodunit": {
  15011. "description": "报价单位",
  15012. "type": "string"
  15013. },
  15014. "marketid": {
  15015. "description": "市场ID",
  15016. "type": "integer"
  15017. },
  15018. "orderid": {
  15019. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15020. "type": "integer"
  15021. },
  15022. "orderprice": {
  15023. "description": "委托价格",
  15024. "type": "number"
  15025. },
  15026. "orderqty": {
  15027. "description": "委托数量",
  15028. "type": "integer"
  15029. },
  15030. "ordertime": {
  15031. "description": "委托时间",
  15032. "type": "string"
  15033. },
  15034. "ordertotalprice": {
  15035. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15036. "type": "number"
  15037. },
  15038. "ordertotalweight": {
  15039. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15040. "type": "integer"
  15041. },
  15042. "totaltotalprice": {
  15043. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15044. "type": "number"
  15045. },
  15046. "tradeprice": {
  15047. "description": "成交价格",
  15048. "type": "number"
  15049. },
  15050. "tradeqty": {
  15051. "description": "成交数量",
  15052. "type": "integer"
  15053. }
  15054. }
  15055. },
  15056. "cptrade.QueryCPTradeOrderDetailRsq": {
  15057. "type": "object",
  15058. "required": [
  15059. "accountid",
  15060. "buildtype",
  15061. "buyorsell",
  15062. "goodsid",
  15063. "marketid",
  15064. "memberuserid",
  15065. "operatetype",
  15066. "orderqty",
  15067. "ordertime",
  15068. "pricemode",
  15069. "strorderid",
  15070. "tradedate",
  15071. "validtype"
  15072. ],
  15073. "properties": {
  15074. "accountid": {
  15075. "description": "账户ID[报价币种]",
  15076. "type": "integer"
  15077. },
  15078. "buildtype": {
  15079. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15080. "type": "integer"
  15081. },
  15082. "buyorsell": {
  15083. "description": "买卖 - 0:买 1:卖",
  15084. "type": "integer"
  15085. },
  15086. "cancelorderid": {
  15087. "description": "撤单单号(撤单时填写)",
  15088. "type": "integer"
  15089. },
  15090. "cancelqty": {
  15091. "description": "撤单数量",
  15092. "type": "integer"
  15093. },
  15094. "clientordertime": {
  15095. "description": "客户端委托时间",
  15096. "type": "string"
  15097. },
  15098. "clientticket": {
  15099. "description": "客户端流水号",
  15100. "type": "string"
  15101. },
  15102. "clienttype": {
  15103. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15104. "type": "integer"
  15105. },
  15106. "closeexchagechargevalue": {
  15107. "description": "平仓交易所手续费设置值",
  15108. "type": "number"
  15109. },
  15110. "closefeealgorithm": {
  15111. "description": "平仓手续费收取方式 1:比率 2:固定",
  15112. "type": "integer"
  15113. },
  15114. "closefreezecharge": {
  15115. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15116. "type": "number"
  15117. },
  15118. "closememberchargevalue": {
  15119. "description": "平仓会员手续费设置值",
  15120. "type": "number"
  15121. },
  15122. "closeqty": {
  15123. "description": "平仓数量(先建后平操作 需要记录)",
  15124. "type": "integer"
  15125. },
  15126. "closetradeqty": {
  15127. "description": "平仓成交数量(先建后平操作,需要记录)",
  15128. "type": "integer"
  15129. },
  15130. "closeunfreezecharge": {
  15131. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15132. "type": "number"
  15133. },
  15134. "delistingtype": {
  15135. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15136. "type": "integer"
  15137. },
  15138. "freezecharge": {
  15139. "description": "冻结手续费",
  15140. "type": "number"
  15141. },
  15142. "freezemargin": {
  15143. "description": "冻结保证金(冻结交易金额)",
  15144. "type": "number"
  15145. },
  15146. "gcaccountid": {
  15147. "description": "账户ID[合约币种]",
  15148. "type": "integer"
  15149. },
  15150. "goodsid": {
  15151. "description": "商品ID",
  15152. "type": "integer"
  15153. },
  15154. "isconfirmexercise": {
  15155. "description": "是否确认行权- 0:否 1:是",
  15156. "type": "integer"
  15157. },
  15158. "ispreexercise": {
  15159. "description": "是否预申报- 0:否 1:是",
  15160. "type": "integer"
  15161. },
  15162. "listingselecttype": {
  15163. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15164. "type": "integer"
  15165. },
  15166. "marginalgorithm": {
  15167. "description": "保证金收取方式 1:比率 2:固定",
  15168. "type": "integer"
  15169. },
  15170. "marginvalue": {
  15171. "description": "即市保证金设置值",
  15172. "type": "number"
  15173. },
  15174. "marketid": {
  15175. "description": "市场ID",
  15176. "type": "integer"
  15177. },
  15178. "marketmaxsub": {
  15179. "description": "市价最大偏移范围",
  15180. "type": "number"
  15181. },
  15182. "memberuserid": {
  15183. "description": "所属会员UserID",
  15184. "type": "integer"
  15185. },
  15186. "openexchagechargevalue": {
  15187. "description": "建仓交易所手续费设置值",
  15188. "type": "number"
  15189. },
  15190. "openfeealgorithm": {
  15191. "description": "建仓手续费收取方式 1:比率 2:固定",
  15192. "type": "integer"
  15193. },
  15194. "openfreezecharge": {
  15195. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15196. "type": "number"
  15197. },
  15198. "openmemberchargevalue": {
  15199. "description": "建仓会员手续费设置值",
  15200. "type": "number"
  15201. },
  15202. "openqty": {
  15203. "description": "开仓数量(先建后平操作,需要记录)",
  15204. "type": "integer"
  15205. },
  15206. "opentradeqty": {
  15207. "description": "开仓成交数量(先建后平操作,需要记录)",
  15208. "type": "integer"
  15209. },
  15210. "openunfreezecharge": {
  15211. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15212. "type": "number"
  15213. },
  15214. "operatetype": {
  15215. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15216. "type": "integer"
  15217. },
  15218. "operatorid": {
  15219. "description": "登录账号(LoginID)",
  15220. "type": "integer"
  15221. },
  15222. "optiontype": {
  15223. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15224. "type": "integer"
  15225. },
  15226. "orderprice": {
  15227. "description": "委托价格",
  15228. "type": "number"
  15229. },
  15230. "orderqty": {
  15231. "description": "委托数量",
  15232. "type": "integer"
  15233. },
  15234. "ordersrc": {
  15235. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15236. "type": "integer"
  15237. },
  15238. "orderstatus": {
  15239. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15240. "type": "integer"
  15241. },
  15242. "ordertime": {
  15243. "description": "委托时间",
  15244. "type": "string"
  15245. },
  15246. "preexerciseprice": {
  15247. "description": "预申报价格",
  15248. "type": "number"
  15249. },
  15250. "premium": {
  15251. "description": "权利金",
  15252. "type": "number"
  15253. },
  15254. "preorderid": {
  15255. "description": "关联预埋单号(止盈止损单时填写)",
  15256. "type": "integer"
  15257. },
  15258. "pricemode": {
  15259. "description": "取价方式 - 1:市价 2: 限价",
  15260. "type": "integer"
  15261. },
  15262. "quoteid": {
  15263. "description": "报价单ID",
  15264. "type": "integer"
  15265. },
  15266. "relatedid": {
  15267. "description": "关联单号(交割单)",
  15268. "type": "integer"
  15269. },
  15270. "retcode": {
  15271. "description": "错误代码",
  15272. "type": "integer"
  15273. },
  15274. "sessionid": {
  15275. "description": "会话ID",
  15276. "type": "integer"
  15277. },
  15278. "strorderid": {
  15279. "description": "委托单号",
  15280. "type": "string"
  15281. },
  15282. "tradedate": {
  15283. "description": "交易日(yyyyMMdd)",
  15284. "type": "string"
  15285. },
  15286. "tradeproperty": {
  15287. "description": "交易属性",
  15288. "type": "integer"
  15289. },
  15290. "tradeqty": {
  15291. "description": "成交数量",
  15292. "type": "integer"
  15293. },
  15294. "unfreezecharge": {
  15295. "description": "解冻手续费",
  15296. "type": "number"
  15297. },
  15298. "unfreezemargin": {
  15299. "description": "解冻保证金",
  15300. "type": "number"
  15301. },
  15302. "updatetime": {
  15303. "description": "更新时间",
  15304. "type": "string"
  15305. },
  15306. "uuid": {
  15307. "description": "发起端唯一id",
  15308. "type": "string"
  15309. },
  15310. "validtime": {
  15311. "description": "有效期限",
  15312. "type": "string"
  15313. },
  15314. "validtype": {
  15315. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15316. "type": "integer"
  15317. },
  15318. "volumetype": {
  15319. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15320. "type": "integer"
  15321. }
  15322. }
  15323. },
  15324. "cptrade.QueryMyCPTradeGoodsRsp": {
  15325. "type": "object",
  15326. "required": [
  15327. "goodscode",
  15328. "goodsid",
  15329. "goodsname",
  15330. "marketid",
  15331. "relatedgoodscode",
  15332. "relatedgoodsname"
  15333. ],
  15334. "properties": {
  15335. "accountid": {
  15336. "description": "卖方账户ID",
  15337. "type": "integer"
  15338. },
  15339. "agreeunit": {
  15340. "description": "合约单位",
  15341. "type": "number"
  15342. },
  15343. "applyid": {
  15344. "description": "关联申请ID",
  15345. "type": "integer"
  15346. },
  15347. "attachmenturl": {
  15348. "description": "附件地址",
  15349. "type": "string"
  15350. },
  15351. "createtime": {
  15352. "description": "创建时间",
  15353. "type": "string"
  15354. },
  15355. "currencyid": {
  15356. "description": "报价货币ID",
  15357. "type": "integer"
  15358. },
  15359. "decimalplace": {
  15360. "description": "报价小数位",
  15361. "type": "integer"
  15362. },
  15363. "endtime": {
  15364. "description": "预售结束时间",
  15365. "type": "string"
  15366. },
  15367. "floorprice": {
  15368. "description": "底价[大宗式竞拍]",
  15369. "type": "number"
  15370. },
  15371. "goodscode": {
  15372. "description": "商品代码(预售)",
  15373. "type": "string"
  15374. },
  15375. "goodsdetail": {
  15376. "description": "详情[大宗]",
  15377. "type": "string"
  15378. },
  15379. "goodsid": {
  15380. "description": "商品ID(自增ID SEQ_GOODS)",
  15381. "type": "integer"
  15382. },
  15383. "goodsname": {
  15384. "description": "商品名称(预售)",
  15385. "type": "string"
  15386. },
  15387. "goodunit": {
  15388. "description": "报价单位",
  15389. "type": "string"
  15390. },
  15391. "goodunitid": {
  15392. "description": "报价单位ID",
  15393. "type": "integer"
  15394. },
  15395. "marketid": {
  15396. "description": "所属市场ID",
  15397. "type": "integer"
  15398. },
  15399. "marketname": {
  15400. "description": "预售市场名称",
  15401. "type": "string"
  15402. },
  15403. "presaledamount": {
  15404. "description": "已预售总金额(预售结束时更新)",
  15405. "type": "number"
  15406. },
  15407. "presaledqty": {
  15408. "description": "已预售量(预售结束时更新)",
  15409. "type": "integer"
  15410. },
  15411. "presalemode": {
  15412. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15413. "type": "integer"
  15414. },
  15415. "presaleqty": {
  15416. "description": "预售数量",
  15417. "type": "integer"
  15418. },
  15419. "refprice": {
  15420. "description": "参考价格[一口价]",
  15421. "type": "number"
  15422. },
  15423. "relatedgoodscode": {
  15424. "description": "商品代码(订单)",
  15425. "type": "string"
  15426. },
  15427. "relatedgoodsid": {
  15428. "description": "关联交易合约ID",
  15429. "type": "integer"
  15430. },
  15431. "relatedgoodsname": {
  15432. "description": "商品名称(订单)",
  15433. "type": "string"
  15434. },
  15435. "relatedmarketid": {
  15436. "description": "关联交易合约市场ID",
  15437. "type": "integer"
  15438. },
  15439. "sellstatus": {
  15440. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15441. "type": "integer"
  15442. },
  15443. "startprice": {
  15444. "description": "起拍价[大宗式竞拍]",
  15445. "type": "number"
  15446. },
  15447. "starttime": {
  15448. "description": "预售开始时间",
  15449. "type": "string"
  15450. },
  15451. "tradedate": {
  15452. "description": "交易日(yyyyMMdd)",
  15453. "type": "string"
  15454. },
  15455. "tradeprice": {
  15456. "description": "成交价[大宗]",
  15457. "type": "number"
  15458. },
  15459. "userid": {
  15460. "description": "卖方用户ID",
  15461. "type": "integer"
  15462. }
  15463. }
  15464. },
  15465. "cptrade.QueryPresaleGoodsExRsp": {
  15466. "type": "object",
  15467. "required": [
  15468. "goodsid"
  15469. ],
  15470. "properties": {
  15471. "attachmenturl": {
  15472. "description": "附件地址",
  15473. "type": "string"
  15474. },
  15475. "createtime": {
  15476. "description": "创建时间",
  15477. "type": "string"
  15478. },
  15479. "endtime": {
  15480. "description": "预售结束时间",
  15481. "type": "string"
  15482. },
  15483. "floorprice": {
  15484. "description": "底价[大宗式竞拍]",
  15485. "type": "number"
  15486. },
  15487. "goodsdetail": {
  15488. "description": "详情[大宗]",
  15489. "type": "string"
  15490. },
  15491. "goodsid": {
  15492. "description": "商品ID(预售)",
  15493. "type": "integer"
  15494. },
  15495. "goodunit": {
  15496. "description": "报价单位",
  15497. "type": "string"
  15498. },
  15499. "marketid": {
  15500. "description": "预售市场ID - 根据预售模式选择市场",
  15501. "type": "integer"
  15502. },
  15503. "presaledamount": {
  15504. "description": "已预售总金额(预售结束时更新)",
  15505. "type": "number"
  15506. },
  15507. "presaledqty": {
  15508. "description": "已预售量(预售结束时更新)",
  15509. "type": "integer"
  15510. },
  15511. "presalemode": {
  15512. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15513. "type": "integer"
  15514. },
  15515. "presaleqty": {
  15516. "description": "预售数量",
  15517. "type": "integer"
  15518. },
  15519. "refprice": {
  15520. "description": "参考价格[一口价]",
  15521. "type": "number"
  15522. },
  15523. "relatedgoodsid": {
  15524. "description": "关联交易合约ID",
  15525. "type": "integer"
  15526. },
  15527. "relatedmarketid": {
  15528. "description": "关联交易合约市场ID",
  15529. "type": "integer"
  15530. },
  15531. "sellstatus": {
  15532. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15533. "type": "integer"
  15534. },
  15535. "startprice": {
  15536. "description": "起拍价[大宗式竞拍]",
  15537. "type": "number"
  15538. },
  15539. "starttime": {
  15540. "description": "预售开始时间",
  15541. "type": "string"
  15542. },
  15543. "tradedate": {
  15544. "description": "交易日(yyyyMMdd)",
  15545. "type": "string"
  15546. },
  15547. "tradeprice": {
  15548. "description": "成交价[大宗]",
  15549. "type": "number"
  15550. }
  15551. }
  15552. },
  15553. "delivery.QueryDeliveryRelationRsp": {
  15554. "type": "object",
  15555. "required": [
  15556. "begindate",
  15557. "enddate",
  15558. "goodsid",
  15559. "mindeliveryqty",
  15560. "xdeliveryratio"
  15561. ],
  15562. "properties": {
  15563. "begindate": {
  15564. "description": "起始日期(yyyyMMdd)",
  15565. "type": "string"
  15566. },
  15567. "buytemplateid": {
  15568. "description": "买履约计划模板ID",
  15569. "type": "integer"
  15570. },
  15571. "deliverygoodscode": {
  15572. "description": "品种代码",
  15573. "type": "string"
  15574. },
  15575. "deliverygoodsid": {
  15576. "description": "交割商品",
  15577. "type": "integer"
  15578. },
  15579. "deliverygoodsname": {
  15580. "description": "品种名称",
  15581. "type": "string"
  15582. },
  15583. "deliverymode": {
  15584. "description": "交割方式 - 1:点选式 2:申报式",
  15585. "type": "integer"
  15586. },
  15587. "deliverypricerule": {
  15588. "description": "交割价规则- 1:行情价 2:建仓价",
  15589. "type": "integer"
  15590. },
  15591. "deliverytype": {
  15592. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15593. "type": "integer"
  15594. },
  15595. "enddate": {
  15596. "description": "结束日期(yyyyMMdd)",
  15597. "type": "string"
  15598. },
  15599. "enumdicname": {
  15600. "description": "品类单位名称",
  15601. "type": "string"
  15602. },
  15603. "goodscode": {
  15604. "description": "商品代码",
  15605. "type": "string"
  15606. },
  15607. "goodsid": {
  15608. "description": "交易合约ID",
  15609. "type": "integer"
  15610. },
  15611. "goodsname": {
  15612. "description": "商品名称",
  15613. "type": "string"
  15614. },
  15615. "marketid": {
  15616. "description": "市场ID",
  15617. "type": "integer"
  15618. },
  15619. "mindeliveryqty": {
  15620. "description": "最小交割系数(K)",
  15621. "type": "integer"
  15622. },
  15623. "p2deliveryprice": {
  15624. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15625. "type": "number"
  15626. },
  15627. "p2deliveryratio": {
  15628. "description": "P2合约系数(p)",
  15629. "type": "integer"
  15630. },
  15631. "p2goodsid": {
  15632. "description": "P2合约ID",
  15633. "type": "integer"
  15634. },
  15635. "p2pricemode": {
  15636. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15637. "type": "integer"
  15638. },
  15639. "pdeliveryprice": {
  15640. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15641. "type": "number"
  15642. },
  15643. "pdeliveryratio": {
  15644. "description": "P合约系数(n)",
  15645. "type": "integer"
  15646. },
  15647. "pgoodscode": {
  15648. "description": "p合约代码",
  15649. "type": "string"
  15650. },
  15651. "pgoodsid": {
  15652. "description": "P合约ID",
  15653. "type": "integer"
  15654. },
  15655. "ppricemode": {
  15656. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15657. "type": "integer"
  15658. },
  15659. "rratio": {
  15660. "description": "兑换系数(R)",
  15661. "type": "integer"
  15662. },
  15663. "rratio1": {
  15664. "description": "兑换系数(交易合约)(R1)",
  15665. "type": "integer"
  15666. },
  15667. "rratio2": {
  15668. "description": "兑换系数(仓单标准)(R2)",
  15669. "type": "integer"
  15670. },
  15671. "selltemplateid": {
  15672. "description": "卖履约计划模板ID",
  15673. "type": "integer"
  15674. },
  15675. "wrstandardid": {
  15676. "description": "仓单标准ID",
  15677. "type": "integer"
  15678. },
  15679. "xdeliveryratio": {
  15680. "description": "交易合约系数(m)",
  15681. "type": "integer"
  15682. }
  15683. }
  15684. },
  15685. "ermcp.ExposureDetailRsp": {
  15686. "type": "object",
  15687. "properties": {
  15688. "areauserid": {
  15689. "description": "机构ID",
  15690. "type": "integer"
  15691. },
  15692. "changeQty": {
  15693. "description": "套保变动量",
  15694. "type": "number"
  15695. },
  15696. "contracttype": {
  15697. "description": "现货合同类型 - 1:采购 -1:销售",
  15698. "type": "integer"
  15699. },
  15700. "convertfactor": {
  15701. "description": "标仓系数",
  15702. "type": "number"
  15703. },
  15704. "convertratio": {
  15705. "description": "套保系数",
  15706. "type": "number"
  15707. },
  15708. "createtime": {
  15709. "description": "时间",
  15710. "type": "string"
  15711. },
  15712. "enumdicname": {
  15713. "description": "现货商品单位名称",
  15714. "type": "string"
  15715. },
  15716. "logtype": {
  15717. "description": "类型 - 1:套保计划 2:现货合同",
  15718. "type": "integer"
  15719. },
  15720. "middlegoodsId": {
  15721. "description": "套保商品id",
  15722. "type": "integer"
  15723. },
  15724. "middlegoodscode": {
  15725. "description": "套保商品代码",
  15726. "type": "string"
  15727. },
  15728. "middlegoodsname": {
  15729. "description": "套保商品名称",
  15730. "type": "string"
  15731. },
  15732. "qty": {
  15733. "description": "数量",
  15734. "type": "number"
  15735. },
  15736. "relateNo": {
  15737. "description": "现货合同/套保计划编号",
  15738. "type": "string"
  15739. },
  15740. "wrstandardcode": {
  15741. "description": "现货商品代码",
  15742. "type": "string"
  15743. },
  15744. "wrstandardid": {
  15745. "description": "现货商品ID",
  15746. "type": "integer"
  15747. },
  15748. "wrstandardname": {
  15749. "description": "现货商品名称",
  15750. "type": "string"
  15751. }
  15752. }
  15753. },
  15754. "ermcp.ExposureHedgePosDetailRsp": {
  15755. "type": "object",
  15756. "properties": {
  15757. "buyorsell": {
  15758. "description": "买卖方向 0-买 1-卖",
  15759. "type": "integer"
  15760. },
  15761. "channelbuildtype": {
  15762. "description": "开平方向 1-建仓 2-平仓",
  15763. "type": "integer"
  15764. },
  15765. "goodscode": {
  15766. "description": "商品代码",
  15767. "type": "string"
  15768. },
  15769. "goodsname": {
  15770. "description": "商品名称",
  15771. "type": "string"
  15772. },
  15773. "hedgegoodsid": {
  15774. "description": "商品id",
  15775. "type": "integer"
  15776. },
  15777. "tradeqty": {
  15778. "description": "数量(成交数量)",
  15779. "type": "integer"
  15780. },
  15781. "tradetime": {
  15782. "description": "时间(成交时间)",
  15783. "type": "string"
  15784. }
  15785. }
  15786. },
  15787. "ermcp.ExposureHedgePositionRsp": {
  15788. "type": "object",
  15789. "properties": {
  15790. "accountid": {
  15791. "description": "资金账号[外部母账户]",
  15792. "type": "integer"
  15793. },
  15794. "curbuyposition": {
  15795. "description": "期末买头寸",
  15796. "type": "integer"
  15797. },
  15798. "cursellposition": {
  15799. "description": "期末卖头寸",
  15800. "type": "integer"
  15801. },
  15802. "curtdbuyposition": {
  15803. "description": "期末今日买头寸",
  15804. "type": "integer"
  15805. },
  15806. "curtdsellposition": {
  15807. "description": "期末今日卖头寸",
  15808. "type": "integer"
  15809. },
  15810. "curydbuyposition": {
  15811. "description": "期末上日买头寸",
  15812. "type": "integer"
  15813. },
  15814. "curydsellposition": {
  15815. "description": "期末上日卖头寸",
  15816. "type": "integer"
  15817. },
  15818. "decreaseqty": {
  15819. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15820. "type": "integer"
  15821. },
  15822. "fretdbuyposition": {
  15823. "description": "冻结今日买头寸",
  15824. "type": "integer"
  15825. },
  15826. "fretdsellposition": {
  15827. "description": "冻结今日卖头寸",
  15828. "type": "integer"
  15829. },
  15830. "freydbuyposition": {
  15831. "description": "冻结上日买头寸",
  15832. "type": "integer"
  15833. },
  15834. "freydsellposition": {
  15835. "description": "冻结上日卖头寸",
  15836. "type": "integer"
  15837. },
  15838. "goodscode": {
  15839. "description": "商品代码",
  15840. "type": "string"
  15841. },
  15842. "goodsid": {
  15843. "description": "商品id",
  15844. "type": "integer"
  15845. },
  15846. "goodsname": {
  15847. "description": "商品名称",
  15848. "type": "string"
  15849. },
  15850. "hedgeaccountcode": {
  15851. "description": "对冲账号",
  15852. "type": "string"
  15853. },
  15854. "hedgegoodsid": {
  15855. "description": "对冲合约ID",
  15856. "type": "integer"
  15857. },
  15858. "increaseqty": {
  15859. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15860. "type": "integer"
  15861. },
  15862. "marketid": {
  15863. "description": "市场ID",
  15864. "type": "integer"
  15865. },
  15866. "relateduserid": {
  15867. "description": "关联用户id",
  15868. "type": "integer"
  15869. },
  15870. "totalcurqty": {
  15871. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15872. "type": "integer"
  15873. },
  15874. "totalydqty": {
  15875. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15876. "type": "integer"
  15877. },
  15878. "tradedate": {
  15879. "description": "交易日(yyyyMMdd)",
  15880. "type": "string"
  15881. },
  15882. "ydbuyposition": {
  15883. "description": "期初买头寸",
  15884. "type": "integer"
  15885. },
  15886. "ydsellposition": {
  15887. "description": "期初卖头寸",
  15888. "type": "integer"
  15889. }
  15890. }
  15891. },
  15892. "ermcp.ExposureSpotDetailRsp": {
  15893. "type": "object",
  15894. "properties": {
  15895. "contracttype": {
  15896. "description": "合同类型 1-采购 -1-销售",
  15897. "type": "integer"
  15898. },
  15899. "createtime": {
  15900. "description": "创建时间",
  15901. "type": "string"
  15902. },
  15903. "enumdicname": {
  15904. "description": "现货商品单位名称",
  15905. "type": "string"
  15906. },
  15907. "logtype": {
  15908. "description": "记录类型 1-套保 2-现货合同",
  15909. "type": "integer"
  15910. },
  15911. "qty": {
  15912. "description": "数量",
  15913. "type": "number"
  15914. },
  15915. "recordname": {
  15916. "description": "类型名称",
  15917. "type": "string"
  15918. },
  15919. "relatedid": {
  15920. "description": "套保计划ID/现货合同ID",
  15921. "type": "string"
  15922. },
  15923. "relatedno": {
  15924. "description": "编号",
  15925. "type": "string"
  15926. },
  15927. "strtime": {
  15928. "description": "时间",
  15929. "type": "string"
  15930. },
  15931. "wrstandardcode": {
  15932. "description": "现货商品代码",
  15933. "type": "string"
  15934. },
  15935. "wrstandardname": {
  15936. "description": "现货商品名称",
  15937. "type": "string"
  15938. }
  15939. }
  15940. },
  15941. "ermcp.ExposureSpotRsp": {
  15942. "type": "object",
  15943. "properties": {
  15944. "areauserid": {
  15945. "description": "所属机构",
  15946. "type": "integer"
  15947. },
  15948. "decreaseqty": {
  15949. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15950. "type": "number"
  15951. },
  15952. "increaseqty": {
  15953. "description": "增加数量=销售计划数量+采购已定价数量",
  15954. "type": "number"
  15955. },
  15956. "oritoalspotqty": {
  15957. "description": "昨日数量",
  15958. "type": "number"
  15959. },
  15960. "totalspotqty": {
  15961. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15962. "type": "number"
  15963. },
  15964. "updatetime": {
  15965. "description": "更新时间",
  15966. "type": "string"
  15967. },
  15968. "wrstandardcode": {
  15969. "description": "现货品种代码",
  15970. "type": "string"
  15971. },
  15972. "wrstandardid": {
  15973. "description": "现货商品ID",
  15974. "type": "integer"
  15975. },
  15976. "wrstandardname": {
  15977. "description": "现货品种",
  15978. "type": "string"
  15979. }
  15980. }
  15981. },
  15982. "ermcp.HisExposureRsp": {
  15983. "type": "object",
  15984. "properties": {
  15985. "data": {
  15986. "description": "历史敞口",
  15987. "type": "array",
  15988. "items": {
  15989. "$ref": "#/definitions/models.ErmcpHisExposure"
  15990. }
  15991. },
  15992. "enumdicname": {
  15993. "description": "单位名称",
  15994. "type": "string"
  15995. },
  15996. "middlegoodscode": {
  15997. "description": "套保品种代码",
  15998. "type": "string"
  15999. },
  16000. "middlegoodsid": {
  16001. "description": "套保品种ID",
  16002. "type": "integer"
  16003. },
  16004. "middlegoodsname": {
  16005. "description": "套保品种名称",
  16006. "type": "string"
  16007. }
  16008. }
  16009. },
  16010. "ermcp.PendingAuditCntRsp": {
  16011. "type": "object",
  16012. "properties": {
  16013. "areastockqty": {
  16014. "description": "待审核数量: 库存申请",
  16015. "type": "integer"
  16016. },
  16017. "businessdjqty": {
  16018. "description": "待审核数量: 点价",
  16019. "type": "integer"
  16020. },
  16021. "businessfpqty": {
  16022. "description": "待审核数量: 发票",
  16023. "type": "integer"
  16024. },
  16025. "businessjsqty": {
  16026. "description": "待审核数量: 结算",
  16027. "type": "integer"
  16028. },
  16029. "businesskxqty": {
  16030. "description": "待审核数量: 款项",
  16031. "type": "integer"
  16032. },
  16033. "hedgeplanqty": {
  16034. "description": "待审核数量: 套保计划",
  16035. "type": "integer"
  16036. },
  16037. "spotcontractqty": {
  16038. "description": "待审核数量: 现货合同",
  16039. "type": "integer"
  16040. },
  16041. "userqty": {
  16042. "description": "待审核数量: 用户",
  16043. "type": "integer"
  16044. }
  16045. }
  16046. },
  16047. "ermcp.QryAvalidGPRsp": {
  16048. "type": "object",
  16049. "properties": {
  16050. "goodsgroupid": {
  16051. "description": "期货品种id",
  16052. "type": "integer"
  16053. },
  16054. "goodsgroupname": {
  16055. "description": "期货品种名称",
  16056. "type": "string"
  16057. },
  16058. "goodunitid": {
  16059. "description": "品种单位id",
  16060. "type": "integer"
  16061. },
  16062. "goodunitname": {
  16063. "description": "品种单位名称",
  16064. "type": "string"
  16065. },
  16066. "outergroupcode": {
  16067. "description": "期货品种代码",
  16068. "type": "string"
  16069. }
  16070. }
  16071. },
  16072. "ermcp.QryBusinessDjRsp": {
  16073. "type": "object",
  16074. "properties": {
  16075. "amount": {
  16076. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16077. "type": "number"
  16078. },
  16079. "applyid": {
  16080. "description": "申请人",
  16081. "type": "string"
  16082. },
  16083. "applyname": {
  16084. "description": "申请人名称",
  16085. "type": "string"
  16086. },
  16087. "applystatus": {
  16088. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16089. "type": "integer"
  16090. },
  16091. "applytime": {
  16092. "description": "申请时间",
  16093. "type": "string"
  16094. },
  16095. "attachurl": {
  16096. "description": "附件",
  16097. "type": "string"
  16098. },
  16099. "auditid": {
  16100. "description": "审核人ID",
  16101. "type": "string"
  16102. },
  16103. "auditname": {
  16104. "description": "审核人名称",
  16105. "type": "string"
  16106. },
  16107. "auditremark": {
  16108. "description": "审核备注",
  16109. "type": "string"
  16110. },
  16111. "audittime": {
  16112. "description": "审核时间",
  16113. "type": "string"
  16114. },
  16115. "buyusername": {
  16116. "description": "采购方名称",
  16117. "type": "string"
  16118. },
  16119. "contractno": {
  16120. "description": "合同编号",
  16121. "type": "string"
  16122. },
  16123. "contractstatus": {
  16124. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16125. "type": "integer"
  16126. },
  16127. "contracttype": {
  16128. "description": "现货合同类型 - 1:采购 -1:销售",
  16129. "type": "integer"
  16130. },
  16131. "deliverygoodscode": {
  16132. "description": "现货品种代码",
  16133. "type": "string"
  16134. },
  16135. "deliverygoodsid": {
  16136. "description": "现货商品ID",
  16137. "type": "integer"
  16138. },
  16139. "deliverygoodsname": {
  16140. "description": "现货品种名称",
  16141. "type": "string"
  16142. },
  16143. "enumdicname": {
  16144. "description": "单位名称",
  16145. "type": "string"
  16146. },
  16147. "goodscode": {
  16148. "description": "点价合约",
  16149. "type": "string"
  16150. },
  16151. "goodsname": {
  16152. "description": "商品名称",
  16153. "type": "string"
  16154. },
  16155. "operateapplyid": {
  16156. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16157. "type": "string"
  16158. },
  16159. "operateapplytype": {
  16160. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16161. "type": "integer"
  16162. },
  16163. "pricedPrice": {
  16164. "description": "点价价格(非必填)",
  16165. "type": "number"
  16166. },
  16167. "pricedQty": {
  16168. "description": "点价数量(非必填)",
  16169. "type": "number"
  16170. },
  16171. "pricemove": {
  16172. "description": "升贴水",
  16173. "type": "number"
  16174. },
  16175. "pricetype": {
  16176. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16177. "type": "integer"
  16178. },
  16179. "relatedid": {
  16180. "description": "现货合同ID",
  16181. "type": "string"
  16182. },
  16183. "sellusername": {
  16184. "description": "销售方名字",
  16185. "type": "string"
  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. "ermcp.QryBussinessFpRsp": {
  16206. "type": "object",
  16207. "properties": {
  16208. "applyid": {
  16209. "description": "申请人",
  16210. "type": "string"
  16211. },
  16212. "applyname": {
  16213. "description": "申请人名称",
  16214. "type": "string"
  16215. },
  16216. "applystatus": {
  16217. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16218. "type": "integer"
  16219. },
  16220. "applytime": {
  16221. "description": "申请时间",
  16222. "type": "string"
  16223. },
  16224. "attachurl": {
  16225. "description": "附件",
  16226. "type": "string"
  16227. },
  16228. "auditid": {
  16229. "description": "审核人ID",
  16230. "type": "string"
  16231. },
  16232. "auditname": {
  16233. "description": "审核人名称",
  16234. "type": "string"
  16235. },
  16236. "auditremark": {
  16237. "description": "审核备注",
  16238. "type": "string"
  16239. },
  16240. "audittime": {
  16241. "description": "审核时间",
  16242. "type": "string"
  16243. },
  16244. "buyusername": {
  16245. "description": "采购方名称",
  16246. "type": "string"
  16247. },
  16248. "contractno": {
  16249. "description": "合同编号",
  16250. "type": "string"
  16251. },
  16252. "contractstatus": {
  16253. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16254. "type": "integer"
  16255. },
  16256. "contracttype": {
  16257. "description": "现货合同类型 - 1:采购 -1:销售",
  16258. "type": "integer"
  16259. },
  16260. "deliverygoodscode": {
  16261. "description": "现货品种代码",
  16262. "type": "string"
  16263. },
  16264. "deliverygoodsid": {
  16265. "description": "现货商品ID",
  16266. "type": "integer"
  16267. },
  16268. "deliverygoodsname": {
  16269. "description": "现货品种名称",
  16270. "type": "string"
  16271. },
  16272. "enumdicname": {
  16273. "description": "单位名称",
  16274. "type": "string"
  16275. },
  16276. "goodscode": {
  16277. "description": "点价合约",
  16278. "type": "string"
  16279. },
  16280. "goodsname": {
  16281. "description": "商品名称",
  16282. "type": "string"
  16283. },
  16284. "invoiceamount": {
  16285. "description": "已开收票金额(销售为开票,采购为收票)",
  16286. "type": "number"
  16287. },
  16288. "operateapplyid": {
  16289. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16290. "type": "string"
  16291. },
  16292. "operateapplytype": {
  16293. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16294. "type": "integer"
  16295. },
  16296. "pricemove": {
  16297. "description": "升贴水",
  16298. "type": "number"
  16299. },
  16300. "pricetype": {
  16301. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16302. "type": "integer"
  16303. },
  16304. "relatedid": {
  16305. "description": "现货合同ID",
  16306. "type": "string"
  16307. },
  16308. "sellusername": {
  16309. "description": "销售方名字",
  16310. "type": "string"
  16311. },
  16312. "userid": {
  16313. "description": "用户ID",
  16314. "type": "integer"
  16315. },
  16316. "wrstandardcode": {
  16317. "description": "品类代码",
  16318. "type": "string"
  16319. },
  16320. "wrstandardid": {
  16321. "description": "品类id",
  16322. "type": "integer"
  16323. },
  16324. "wrstandardname": {
  16325. "description": "品类名称",
  16326. "type": "string"
  16327. }
  16328. }
  16329. },
  16330. "ermcp.QryBussinessJsExRsp": {
  16331. "type": "object",
  16332. "properties": {
  16333. "applyid": {
  16334. "description": "申请人",
  16335. "type": "string"
  16336. },
  16337. "applyname": {
  16338. "description": "申请人名称",
  16339. "type": "string"
  16340. },
  16341. "applystatus": {
  16342. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16343. "type": "integer"
  16344. },
  16345. "applytime": {
  16346. "description": "申请时间",
  16347. "type": "string"
  16348. },
  16349. "attachurl": {
  16350. "description": "附件",
  16351. "type": "string"
  16352. },
  16353. "auditid": {
  16354. "description": "审核人ID",
  16355. "type": "string"
  16356. },
  16357. "auditname": {
  16358. "description": "审核人名称",
  16359. "type": "string"
  16360. },
  16361. "auditremark": {
  16362. "description": "审核备注",
  16363. "type": "string"
  16364. },
  16365. "audittime": {
  16366. "description": "审核时间",
  16367. "type": "string"
  16368. },
  16369. "buyusername": {
  16370. "description": "采购方名称",
  16371. "type": "string"
  16372. },
  16373. "contractno": {
  16374. "description": "合同编号",
  16375. "type": "string"
  16376. },
  16377. "contractstatus": {
  16378. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16379. "type": "integer"
  16380. },
  16381. "contracttype": {
  16382. "description": "现货合同类型 - 1:采购 -1:销售",
  16383. "type": "integer"
  16384. },
  16385. "deliverygoodscode": {
  16386. "description": "现货品种代码",
  16387. "type": "string"
  16388. },
  16389. "deliverygoodsid": {
  16390. "description": "现货商品ID",
  16391. "type": "integer"
  16392. },
  16393. "deliverygoodsname": {
  16394. "description": "现货品种名称",
  16395. "type": "string"
  16396. },
  16397. "enumdicname": {
  16398. "description": "单位名称",
  16399. "type": "string"
  16400. },
  16401. "goodscode": {
  16402. "description": "点价合约",
  16403. "type": "string"
  16404. },
  16405. "goodsname": {
  16406. "description": "商品名称",
  16407. "type": "string"
  16408. },
  16409. "operateapplyid": {
  16410. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16411. "type": "string"
  16412. },
  16413. "operateapplytype": {
  16414. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16415. "type": "integer"
  16416. },
  16417. "pricemove": {
  16418. "description": "升贴水",
  16419. "type": "number"
  16420. },
  16421. "pricetype": {
  16422. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16423. "type": "integer"
  16424. },
  16425. "reckontype": {
  16426. "description": "结算类型",
  16427. "type": "string"
  16428. },
  16429. "reckonvalue": {
  16430. "description": "值",
  16431. "type": "number"
  16432. },
  16433. "relatedid": {
  16434. "description": "现货合同ID",
  16435. "type": "string"
  16436. },
  16437. "sellusername": {
  16438. "description": "销售方名字",
  16439. "type": "string"
  16440. },
  16441. "userid": {
  16442. "description": "用户ID",
  16443. "type": "integer"
  16444. },
  16445. "wrstandardcode": {
  16446. "description": "品类代码",
  16447. "type": "string"
  16448. },
  16449. "wrstandardid": {
  16450. "description": "品类id",
  16451. "type": "integer"
  16452. },
  16453. "wrstandardname": {
  16454. "description": "品类名称",
  16455. "type": "string"
  16456. }
  16457. }
  16458. },
  16459. "ermcp.QryBussinessJsRsp": {
  16460. "type": "object",
  16461. "properties": {
  16462. "addmargin": {
  16463. "description": "追加保证金(非必填)",
  16464. "type": "number"
  16465. },
  16466. "applyid": {
  16467. "description": "申请人",
  16468. "type": "string"
  16469. },
  16470. "applyname": {
  16471. "description": "申请人名称",
  16472. "type": "string"
  16473. },
  16474. "applystatus": {
  16475. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16476. "type": "integer"
  16477. },
  16478. "applytime": {
  16479. "description": "申请时间",
  16480. "type": "string"
  16481. },
  16482. "attachurl": {
  16483. "description": "附件",
  16484. "type": "string"
  16485. },
  16486. "auditid": {
  16487. "description": "审核人ID",
  16488. "type": "string"
  16489. },
  16490. "auditname": {
  16491. "description": "审核人名称",
  16492. "type": "string"
  16493. },
  16494. "auditremark": {
  16495. "description": "审核备注",
  16496. "type": "string"
  16497. },
  16498. "audittime": {
  16499. "description": "审核时间",
  16500. "type": "string"
  16501. },
  16502. "buyusername": {
  16503. "description": "采购方名称",
  16504. "type": "string"
  16505. },
  16506. "contractno": {
  16507. "description": "合同编号",
  16508. "type": "string"
  16509. },
  16510. "contractstatus": {
  16511. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16512. "type": "integer"
  16513. },
  16514. "contracttype": {
  16515. "description": "现货合同类型 - 1:采购 -1:销售",
  16516. "type": "integer"
  16517. },
  16518. "decmargin": {
  16519. "description": "减少保证金(非必填)",
  16520. "type": "number"
  16521. },
  16522. "deliverygoodscode": {
  16523. "description": "现货品种代码",
  16524. "type": "string"
  16525. },
  16526. "deliverygoodsid": {
  16527. "description": "现货商品ID",
  16528. "type": "integer"
  16529. },
  16530. "deliverygoodsname": {
  16531. "description": "现货品种名称",
  16532. "type": "string"
  16533. },
  16534. "enumdicname": {
  16535. "description": "单位名称",
  16536. "type": "string"
  16537. },
  16538. "goodscode": {
  16539. "description": "点价合约",
  16540. "type": "string"
  16541. },
  16542. "goodsname": {
  16543. "description": "商品名称",
  16544. "type": "string"
  16545. },
  16546. "operateapplyid": {
  16547. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16548. "type": "string"
  16549. },
  16550. "operateapplytype": {
  16551. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16552. "type": "integer"
  16553. },
  16554. "pricemove": {
  16555. "description": "升贴水",
  16556. "type": "number"
  16557. },
  16558. "pricetype": {
  16559. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16560. "type": "integer"
  16561. },
  16562. "reckonadjustamount": {
  16563. "description": "结算调整金额(非必填)",
  16564. "type": "number"
  16565. },
  16566. "reckonosamount": {
  16567. "description": "结算溢短金额(非必填)",
  16568. "type": "number"
  16569. },
  16570. "reckonotheramount": {
  16571. "description": "结算其他费用(非必填)",
  16572. "type": "number"
  16573. },
  16574. "reckonrealqty": {
  16575. "description": "结算实际数量(非必填)",
  16576. "type": "number"
  16577. },
  16578. "relatedid": {
  16579. "description": "现货合同ID",
  16580. "type": "string"
  16581. },
  16582. "sellusername": {
  16583. "description": "销售方名字",
  16584. "type": "string"
  16585. },
  16586. "userid": {
  16587. "description": "用户ID",
  16588. "type": "integer"
  16589. },
  16590. "wrstandardcode": {
  16591. "description": "品类代码",
  16592. "type": "string"
  16593. },
  16594. "wrstandardid": {
  16595. "description": "品类id",
  16596. "type": "integer"
  16597. },
  16598. "wrstandardname": {
  16599. "description": "品类名称",
  16600. "type": "string"
  16601. }
  16602. }
  16603. },
  16604. "ermcp.QryBussinessKxRsp": {
  16605. "type": "object",
  16606. "properties": {
  16607. "applyid": {
  16608. "description": "申请人",
  16609. "type": "string"
  16610. },
  16611. "applyname": {
  16612. "description": "申请人名称",
  16613. "type": "string"
  16614. },
  16615. "applystatus": {
  16616. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16617. "type": "integer"
  16618. },
  16619. "applytime": {
  16620. "description": "申请时间",
  16621. "type": "string"
  16622. },
  16623. "attachurl": {
  16624. "description": "附件",
  16625. "type": "string"
  16626. },
  16627. "auditid": {
  16628. "description": "审核人ID",
  16629. "type": "string"
  16630. },
  16631. "auditname": {
  16632. "description": "审核人名称",
  16633. "type": "string"
  16634. },
  16635. "auditremark": {
  16636. "description": "审核备注",
  16637. "type": "string"
  16638. },
  16639. "audittime": {
  16640. "description": "审核时间",
  16641. "type": "string"
  16642. },
  16643. "buyusername": {
  16644. "description": "采购方名称",
  16645. "type": "string"
  16646. },
  16647. "contractno": {
  16648. "description": "合同编号",
  16649. "type": "string"
  16650. },
  16651. "contractstatus": {
  16652. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16653. "type": "integer"
  16654. },
  16655. "contracttype": {
  16656. "description": "现货合同类型 - 1:采购 -1:销售",
  16657. "type": "integer"
  16658. },
  16659. "deductamount": {
  16660. "description": "退款(非必填)",
  16661. "type": "number"
  16662. },
  16663. "deliverygoodscode": {
  16664. "description": "现货品种代码",
  16665. "type": "string"
  16666. },
  16667. "deliverygoodsid": {
  16668. "description": "现货商品ID",
  16669. "type": "integer"
  16670. },
  16671. "deliverygoodsname": {
  16672. "description": "现货品种名称",
  16673. "type": "string"
  16674. },
  16675. "enumdicname": {
  16676. "description": "单位名称",
  16677. "type": "string"
  16678. },
  16679. "goodscode": {
  16680. "description": "点价合约",
  16681. "type": "string"
  16682. },
  16683. "goodsname": {
  16684. "description": "商品名称",
  16685. "type": "string"
  16686. },
  16687. "kxtype": {
  16688. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16689. "type": "integer"
  16690. },
  16691. "operateapplyid": {
  16692. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16693. "type": "string"
  16694. },
  16695. "operateapplytype": {
  16696. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16697. "type": "integer"
  16698. },
  16699. "payamount": {
  16700. "description": "收付款(非必填)",
  16701. "type": "number"
  16702. },
  16703. "pricemove": {
  16704. "description": "升贴水",
  16705. "type": "number"
  16706. },
  16707. "pricetype": {
  16708. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16709. "type": "integer"
  16710. },
  16711. "relatedid": {
  16712. "description": "现货合同ID",
  16713. "type": "string"
  16714. },
  16715. "sellusername": {
  16716. "description": "销售方名字",
  16717. "type": "string"
  16718. },
  16719. "userid": {
  16720. "description": "用户ID",
  16721. "type": "integer"
  16722. },
  16723. "wrstandardcode": {
  16724. "description": "品类代码",
  16725. "type": "string"
  16726. },
  16727. "wrstandardid": {
  16728. "description": "品类id",
  16729. "type": "integer"
  16730. },
  16731. "wrstandardname": {
  16732. "description": "品类名称",
  16733. "type": "string"
  16734. }
  16735. }
  16736. },
  16737. "ermcp.QryGGCovertCfgRsp": {
  16738. "type": "object",
  16739. "properties": {
  16740. "convertratio": {
  16741. "description": "折算系数",
  16742. "type": "number"
  16743. },
  16744. "destgoodsgroupid": {
  16745. "description": "目标品种ID",
  16746. "type": "integer"
  16747. },
  16748. "dstcode": {
  16749. "description": "目录品种代码",
  16750. "type": "string"
  16751. },
  16752. "dstexchangecode": {
  16753. "description": "目标期货交易所",
  16754. "type": "string"
  16755. },
  16756. "dstname": {
  16757. "description": "目标品种名称",
  16758. "type": "string"
  16759. },
  16760. "dstunitid": {
  16761. "description": "目标品种单位ID",
  16762. "type": "integer"
  16763. },
  16764. "dstunitidname": {
  16765. "description": "目标品种单位名称",
  16766. "type": "string"
  16767. },
  16768. "modifytime": {
  16769. "description": "修改时间",
  16770. "type": "string"
  16771. },
  16772. "srccode": {
  16773. "description": "源品种代码",
  16774. "type": "string"
  16775. },
  16776. "srcexchangecode": {
  16777. "description": "源期货交易所",
  16778. "type": "string"
  16779. },
  16780. "srcgoodsgroupid": {
  16781. "description": "源品种ID",
  16782. "type": "integer"
  16783. },
  16784. "srcname": {
  16785. "description": "源品种名称",
  16786. "type": "string"
  16787. },
  16788. "srcunitid": {
  16789. "description": "源品种单位ID",
  16790. "type": "integer"
  16791. },
  16792. "srcunitidname": {
  16793. "description": "源品种单位名称",
  16794. "type": "string"
  16795. }
  16796. }
  16797. },
  16798. "ermcp.QryMGChangeLogRsp": {
  16799. "type": "object",
  16800. "properties": {
  16801. "aftervalue": {
  16802. "description": "变更后",
  16803. "type": "number"
  16804. },
  16805. "applyid": {
  16806. "description": "操作人",
  16807. "type": "integer"
  16808. },
  16809. "applyname": {
  16810. "description": "操作人名称",
  16811. "type": "string"
  16812. },
  16813. "applysrc": {
  16814. "description": "操作来源 - 1:管理端 2:终端",
  16815. "type": "integer"
  16816. },
  16817. "beforevalue": {
  16818. "description": "变更前",
  16819. "type": "number"
  16820. },
  16821. "changelogtype": {
  16822. "description": "变更流水类型 - 1:套保比率变更",
  16823. "type": "integer"
  16824. },
  16825. "handlestatus": {
  16826. "description": "处理状态",
  16827. "type": "integer"
  16828. },
  16829. "logdatetime": {
  16830. "description": "流水日期",
  16831. "type": "string"
  16832. },
  16833. "logid": {
  16834. "description": "流水ID",
  16835. "type": "integer"
  16836. },
  16837. "logremark": {
  16838. "description": "流水备注",
  16839. "type": "string"
  16840. },
  16841. "middlegoodsid": {
  16842. "description": "套保品种ID",
  16843. "type": "integer"
  16844. },
  16845. "tradedate": {
  16846. "description": "交易日(yyyyMMdd)",
  16847. "type": "string"
  16848. },
  16849. "updatetime": {
  16850. "description": "更新时间",
  16851. "type": "string"
  16852. }
  16853. }
  16854. },
  16855. "ermcp.QryMiddleGoodsDetailRsp": {
  16856. "type": "object",
  16857. "properties": {
  16858. "cvList": {
  16859. "description": "期货品种折算列表",
  16860. "type": "array",
  16861. "items": {
  16862. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16863. }
  16864. },
  16865. "mg": {
  16866. "description": "套保品种基本信息",
  16867. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16868. },
  16869. "wrcList": {
  16870. "description": "现货品种列表(现货商品折算配置)",
  16871. "type": "array",
  16872. "items": {
  16873. "$ref": "#/definitions/models.WRSConverTDetail"
  16874. }
  16875. }
  16876. }
  16877. },
  16878. "ermcp.QryMiddleGoodsRsp": {
  16879. "type": "object",
  16880. "properties": {
  16881. "areauserid": {
  16882. "description": "机构用户ID",
  16883. "type": "integer"
  16884. },
  16885. "createtime": {
  16886. "description": "修改时间",
  16887. "type": "string"
  16888. },
  16889. "enumdicname": {
  16890. "description": "单位名称",
  16891. "type": "string"
  16892. },
  16893. "evaluateratio": {
  16894. "description": "估价系数",
  16895. "type": "number"
  16896. },
  16897. "goodsgroupid": {
  16898. "description": "关联期货品种ID",
  16899. "type": "integer"
  16900. },
  16901. "goodsunitid": {
  16902. "description": "单位ID",
  16903. "type": "integer"
  16904. },
  16905. "isvalid": {
  16906. "description": "状态 0-无效(停用) 1-有效(正常)",
  16907. "type": "integer"
  16908. },
  16909. "middlegoodscode": {
  16910. "description": "套保品种代码",
  16911. "type": "string"
  16912. },
  16913. "middlegoodsid": {
  16914. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16915. "type": "integer"
  16916. },
  16917. "middlegoodsname": {
  16918. "description": "套保品种名称",
  16919. "type": "string"
  16920. },
  16921. "modifytime": {
  16922. "description": "修改时间",
  16923. "type": "string"
  16924. },
  16925. "needarbitrageratio": {
  16926. "description": "套利比例",
  16927. "type": "number"
  16928. },
  16929. "needhedgeratio": {
  16930. "description": "套保比率",
  16931. "type": "number"
  16932. },
  16933. "qtydecimalplace": {
  16934. "description": "数量小数位",
  16935. "type": "integer"
  16936. },
  16937. "relatedgoodsid": {
  16938. "description": "关联交易商品ID",
  16939. "type": "integer"
  16940. },
  16941. "relatedgoodstype": {
  16942. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16943. "type": "integer"
  16944. },
  16945. "remark": {
  16946. "description": "备注",
  16947. "type": "string"
  16948. }
  16949. }
  16950. },
  16951. "ermcp.QryOPLogRsp": {
  16952. "type": "object",
  16953. "properties": {
  16954. "aftervalue": {
  16955. "description": "变更后",
  16956. "type": "number"
  16957. },
  16958. "applyid": {
  16959. "description": "操作人ID",
  16960. "type": "string"
  16961. },
  16962. "applyname": {
  16963. "description": "操作人名称",
  16964. "type": "string"
  16965. },
  16966. "beforevalue": {
  16967. "description": "变更前",
  16968. "type": "number"
  16969. },
  16970. "biztype": {
  16971. "description": "业务类型 - 1:套保计划 2:现货合同",
  16972. "type": "integer"
  16973. },
  16974. "contracttype": {
  16975. "description": "现货合同类型 - 1:采购 -1:销售",
  16976. "type": "integer"
  16977. },
  16978. "logvalue": {
  16979. "description": "数值",
  16980. "type": "number"
  16981. },
  16982. "operatelogtype": {
  16983. "description": "操作流水类型",
  16984. "type": "integer"
  16985. },
  16986. "operatelogtypedesc": {
  16987. "description": "操作流水类型名称",
  16988. "type": "string"
  16989. },
  16990. "relatedid": {
  16991. "description": "现货合同ID\\套保计划",
  16992. "type": "string"
  16993. },
  16994. "updatetime": {
  16995. "description": "更新时间",
  16996. "type": "string"
  16997. }
  16998. }
  16999. },
  17000. "ermcp.QryUserInfoRsp": {
  17001. "type": "object",
  17002. "properties": {
  17003. "address": {
  17004. "description": "通讯地址",
  17005. "type": "string"
  17006. },
  17007. "attachment1": {
  17008. "description": "附件1",
  17009. "type": "string"
  17010. },
  17011. "audittime": {
  17012. "description": "审核时间",
  17013. "type": "string"
  17014. },
  17015. "cardbackphotourl": {
  17016. "description": "证件反面图片地址",
  17017. "type": "string"
  17018. },
  17019. "cardfrontphotourl": {
  17020. "description": "证件正面图片地址",
  17021. "type": "string"
  17022. },
  17023. "cardnum": {
  17024. "description": "证件号码",
  17025. "type": "string"
  17026. },
  17027. "cardtype": {
  17028. "description": "证件类型",
  17029. "type": "integer"
  17030. },
  17031. "cardtypename": {
  17032. "description": "证件类型名称",
  17033. "type": "string"
  17034. },
  17035. "cityid": {
  17036. "description": "市",
  17037. "type": "integer"
  17038. },
  17039. "contactname": {
  17040. "description": "联系人",
  17041. "type": "string"
  17042. },
  17043. "countryid": {
  17044. "description": "国家",
  17045. "type": "integer"
  17046. },
  17047. "createtime": {
  17048. "description": "创建时间",
  17049. "type": "string"
  17050. },
  17051. "customername": {
  17052. "description": "企业名称",
  17053. "type": "string"
  17054. },
  17055. "districtid": {
  17056. "description": "区域",
  17057. "type": "integer"
  17058. },
  17059. "email": {
  17060. "description": "邮件",
  17061. "type": "string"
  17062. },
  17063. "legalpersonname": {
  17064. "description": "法人姓名(企业)",
  17065. "type": "string"
  17066. },
  17067. "memberuserid": {
  17068. "description": "所属机构ID",
  17069. "type": "integer"
  17070. },
  17071. "mobile": {
  17072. "description": "手机号码",
  17073. "type": "string"
  17074. },
  17075. "modifytime": {
  17076. "description": "修改时间",
  17077. "type": "string"
  17078. },
  17079. "nickname": {
  17080. "description": "昵称",
  17081. "type": "string"
  17082. },
  17083. "provinceid": {
  17084. "description": "省",
  17085. "type": "integer"
  17086. },
  17087. "remark": {
  17088. "description": "备注",
  17089. "type": "string"
  17090. },
  17091. "status": {
  17092. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17093. "type": "integer"
  17094. },
  17095. "statusdesc": {
  17096. "description": "账户状态中文描述",
  17097. "type": "string"
  17098. },
  17099. "taxpayernum": {
  17100. "description": "纳税人识别号",
  17101. "type": "string"
  17102. },
  17103. "telphone": {
  17104. "description": "联系电话",
  17105. "type": "string"
  17106. },
  17107. "userid": {
  17108. "description": "用户ID",
  17109. "type": "integer"
  17110. },
  17111. "userinfotype": {
  17112. "description": "客户类型",
  17113. "type": "string"
  17114. }
  17115. }
  17116. },
  17117. "ermcp.QryWarehouseRsp": {
  17118. "type": "object",
  17119. "properties": {
  17120. "address": {
  17121. "description": "详细地址",
  17122. "type": "string"
  17123. },
  17124. "areauserid": {
  17125. "description": "所属机构",
  17126. "type": "integer"
  17127. },
  17128. "autoid": {
  17129. "description": "自增ID(仓库ID)",
  17130. "type": "integer"
  17131. },
  17132. "cityid": {
  17133. "description": "市",
  17134. "type": "integer"
  17135. },
  17136. "contactname": {
  17137. "description": "联系人",
  17138. "type": "string"
  17139. },
  17140. "contactnum": {
  17141. "description": "联系电话",
  17142. "type": "string"
  17143. },
  17144. "countryid": {
  17145. "description": "国家",
  17146. "type": "integer"
  17147. },
  17148. "createtime": {
  17149. "description": "创建时间",
  17150. "type": "string"
  17151. },
  17152. "districtid": {
  17153. "description": "区",
  17154. "type": "integer"
  17155. },
  17156. "hasvideo": {
  17157. "description": "是否有视频 - 0:无 1:有",
  17158. "type": "integer"
  17159. },
  17160. "provinceid": {
  17161. "description": "省",
  17162. "type": "integer"
  17163. },
  17164. "remark": {
  17165. "description": "审核备注",
  17166. "type": "string"
  17167. },
  17168. "videourl": {
  17169. "description": "视频地址",
  17170. "type": "string"
  17171. },
  17172. "warehousecode": {
  17173. "description": "仓库代码",
  17174. "type": "string"
  17175. },
  17176. "warehousename": {
  17177. "description": "仓库名称",
  17178. "type": "string"
  17179. },
  17180. "warehousestatus": {
  17181. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17182. "type": "integer"
  17183. },
  17184. "warehousetype": {
  17185. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17186. "type": "integer"
  17187. }
  17188. }
  17189. },
  17190. "ermcp.QueryErmcpTradePositionRsp": {
  17191. "type": "object",
  17192. "properties": {
  17193. "agreeunit": {
  17194. "description": "合约单位",
  17195. "type": "number"
  17196. },
  17197. "buyorsell": {
  17198. "description": "方向 - 0:买 1:卖",
  17199. "type": "integer"
  17200. },
  17201. "curpositionqty": {
  17202. "description": "持仓(总仓数量, 期末头寸)",
  17203. "type": "integer"
  17204. },
  17205. "curtdposition": {
  17206. "description": "今仓数量(期末今日头寸)",
  17207. "type": "integer"
  17208. },
  17209. "curtdpositionenabled": {
  17210. "description": "今仓可用",
  17211. "type": "integer"
  17212. },
  17213. "decimalplace": {
  17214. "description": "报价小数位",
  17215. "type": "integer"
  17216. },
  17217. "enableqty": {
  17218. "description": "可用(总仓可用)",
  17219. "type": "integer"
  17220. },
  17221. "exexchangename": {
  17222. "description": "外部交易所名称",
  17223. "type": "string"
  17224. },
  17225. "exexehangecode": {
  17226. "description": "外部交易所代码",
  17227. "type": "string"
  17228. },
  17229. "exexehangeid": {
  17230. "description": "外部交易所id",
  17231. "type": "integer"
  17232. },
  17233. "goodscode": {
  17234. "description": "商品代码(内部)",
  17235. "type": "string"
  17236. },
  17237. "goodsid": {
  17238. "description": "商品ID(自增ID SEQ_GOODS)",
  17239. "type": "integer"
  17240. },
  17241. "goodsname": {
  17242. "description": "商品名称",
  17243. "type": "string"
  17244. },
  17245. "last": {
  17246. "description": "现价",
  17247. "type": "number"
  17248. },
  17249. "marketid": {
  17250. "description": "所属市场ID",
  17251. "type": "integer"
  17252. },
  17253. "openaverageprice": {
  17254. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17255. "type": "number"
  17256. },
  17257. "opencost": {
  17258. "description": "开仓成本",
  17259. "type": "number"
  17260. },
  17261. "openpl": {
  17262. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17263. "type": "number"
  17264. },
  17265. "outgoodscode": {
  17266. "description": "商品代码(外部)",
  17267. "type": "string"
  17268. },
  17269. "positionaverageprice": {
  17270. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17271. "type": "number"
  17272. },
  17273. "positioncost": {
  17274. "description": "持仓成本",
  17275. "type": "number"
  17276. },
  17277. "positionpl": {
  17278. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17279. "type": "number"
  17280. },
  17281. "positionplrate": {
  17282. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17283. "type": "number"
  17284. },
  17285. "usedmargin": {
  17286. "description": "占用保证金",
  17287. "type": "number"
  17288. }
  17289. }
  17290. },
  17291. "ermcp.RealtimeExposurePositionRsp": {
  17292. "type": "object",
  17293. "properties": {
  17294. "agreeunit": {
  17295. "description": "合约单位",
  17296. "type": "string"
  17297. },
  17298. "areauserid": {
  17299. "description": "所属机构id",
  17300. "type": "integer"
  17301. },
  17302. "convertratio": {
  17303. "description": "期货品种系数(折算系数)",
  17304. "type": "number"
  17305. },
  17306. "curqty": {
  17307. "description": "当前持仓",
  17308. "type": "integer"
  17309. },
  17310. "diffhedgeqty": {
  17311. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17312. "type": "number"
  17313. },
  17314. "diffqty": {
  17315. "description": "持仓变动量=当前持仓-昨日持仓",
  17316. "type": "integer"
  17317. },
  17318. "goodscode": {
  17319. "description": "商品代码",
  17320. "type": "string"
  17321. },
  17322. "goodsid": {
  17323. "description": "商品id",
  17324. "type": "integer"
  17325. },
  17326. "goodsname": {
  17327. "description": "商品名称",
  17328. "type": "string"
  17329. },
  17330. "middlegoodsid": {
  17331. "description": "套保商品id",
  17332. "type": "integer"
  17333. },
  17334. "ydqty": {
  17335. "description": "昨日持仓",
  17336. "type": "integer"
  17337. }
  17338. }
  17339. },
  17340. "ermcp.RealtimeExposureRsp": {
  17341. "type": "object",
  17342. "properties": {
  17343. "AreaUserID": {
  17344. "description": "所属机构",
  17345. "type": "integer"
  17346. },
  17347. "BuyFutureQty": {
  17348. "description": "买入期货数量",
  17349. "type": "number"
  17350. },
  17351. "BuyPlanQty": {
  17352. "description": "采购计划数量",
  17353. "type": "number"
  17354. },
  17355. "BuyPricedQty": {
  17356. "description": "采购合同已定价数量",
  17357. "type": "number"
  17358. },
  17359. "MiddleGoodsCode": {
  17360. "description": "套保品种代码",
  17361. "type": "string"
  17362. },
  17363. "MiddleGoodsHedgeRatio": {
  17364. "description": "套保比例",
  17365. "type": "number"
  17366. },
  17367. "MiddleGoodsID": {
  17368. "description": "套保品种",
  17369. "type": "integer"
  17370. },
  17371. "MiddleGoodsName": {
  17372. "description": "套保品种名称",
  17373. "type": "string"
  17374. },
  17375. "NeedHedgeExposoure": {
  17376. "description": "应套保敞口(套保敞口)",
  17377. "type": "number"
  17378. },
  17379. "NeedHedgeRatio": {
  17380. "description": "应套保敞口比例",
  17381. "type": "number"
  17382. },
  17383. "OriBuyFutureQty": {
  17384. "description": "期初买入期货数量",
  17385. "type": "number"
  17386. },
  17387. "OriBuyPlanQty": {
  17388. "description": "期初采购计划数量",
  17389. "type": "number"
  17390. },
  17391. "OriBuyPricedQty": {
  17392. "description": "期初采购合同已定价数量",
  17393. "type": "number"
  17394. },
  17395. "OriSellFutureQty": {
  17396. "description": "期初卖出期货数量",
  17397. "type": "number"
  17398. },
  17399. "OriSellPlanQty": {
  17400. "description": "期初销售计划数量",
  17401. "type": "number"
  17402. },
  17403. "OriSellPricedQty": {
  17404. "description": "期初销售合同已定价数量",
  17405. "type": "number"
  17406. },
  17407. "OriTotalSpotQty": {
  17408. "description": "期初现货总量",
  17409. "type": "number"
  17410. },
  17411. "SellFutureQty": {
  17412. "description": "卖出期货数量",
  17413. "type": "number"
  17414. },
  17415. "SellPlanQty": {
  17416. "description": "销售计划数量",
  17417. "type": "number"
  17418. },
  17419. "SellPricedQty": {
  17420. "description": "销售合同已定价数量",
  17421. "type": "number"
  17422. },
  17423. "TotalExposure": {
  17424. "description": "总敞口 平安:净敞口",
  17425. "type": "number"
  17426. },
  17427. "TotalFutureQty": {
  17428. "description": "期货总量 平安:保值净持仓量",
  17429. "type": "number"
  17430. },
  17431. "TotalHedgeRatio": {
  17432. "description": "敞口比例",
  17433. "type": "number"
  17434. },
  17435. "TotalNeedHedgeQty": {
  17436. "description": "应套保总量(现货应套保总量)",
  17437. "type": "number"
  17438. },
  17439. "TotalSpotQty": {
  17440. "description": "现货总量 平安:采销定价净值",
  17441. "type": "number"
  17442. },
  17443. "arbitrageqty": {
  17444. "description": "套利量",
  17445. "type": "number"
  17446. },
  17447. "diffArbitrageQty": {
  17448. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17449. "type": "number"
  17450. },
  17451. "diffExposoureQty": {
  17452. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17453. "type": "number"
  17454. },
  17455. "diffFutuQty": {
  17456. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17457. "type": "number"
  17458. },
  17459. "diffHedgeQty": {
  17460. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17461. "type": "number"
  17462. },
  17463. "diffQty": {
  17464. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17465. "type": "number"
  17466. },
  17467. "diffSpotHedgeQty": {
  17468. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17469. "type": "number"
  17470. },
  17471. "diffSpotQty": {
  17472. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17473. "type": "number"
  17474. },
  17475. "enumdicname": {
  17476. "description": "单位名称",
  17477. "type": "string"
  17478. },
  17479. "hedgeqty": {
  17480. "description": "套保量",
  17481. "type": "number"
  17482. },
  17483. "needarbitrageqty": {
  17484. "description": "应套利量",
  17485. "type": "number"
  17486. },
  17487. "needarbitrageratio": {
  17488. "description": "套利比例",
  17489. "type": "number"
  17490. },
  17491. "needhedgeqty": {
  17492. "description": "应套保量",
  17493. "type": "number"
  17494. },
  17495. "oriarbitrageqty": {
  17496. "description": "期初套利量",
  17497. "type": "number"
  17498. },
  17499. "orihedgeqty": {
  17500. "description": "期初套保量",
  17501. "type": "number"
  17502. },
  17503. "orineedhedgeexposoure": {
  17504. "description": "期初套保敞口",
  17505. "type": "number"
  17506. },
  17507. "oritotalexposure": {
  17508. "description": "期初总敞口",
  17509. "type": "number"
  17510. },
  17511. "oritotalfutureqty": {
  17512. "description": "期初期货总量",
  17513. "type": "number"
  17514. },
  17515. "oritotalneedhedgeqty": {
  17516. "description": "期初现货应套保量",
  17517. "type": "number"
  17518. }
  17519. }
  17520. },
  17521. "erms2.QueryArbitrageStrategyRsp": {
  17522. "type": "object",
  17523. "required": [
  17524. "asapplyid"
  17525. ],
  17526. "properties": {
  17527. "applybasis": {
  17528. "description": "申请基差",
  17529. "type": "number"
  17530. },
  17531. "asapplyid": {
  17532. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17533. "type": "string"
  17534. },
  17535. "asname": {
  17536. "description": "策略名称",
  17537. "type": "string"
  17538. },
  17539. "asno": {
  17540. "description": "策略编号",
  17541. "type": "string"
  17542. },
  17543. "basischangepl": {
  17544. "description": "基差变动损益[结算更新]",
  17545. "type": "number"
  17546. },
  17547. "biztype": {
  17548. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17549. "type": "integer"
  17550. },
  17551. "closetradedate": {
  17552. "description": "完结交易日(yyyyMMdd)",
  17553. "type": "string"
  17554. },
  17555. "curbasis": {
  17556. "description": "当前基差[结算更新]",
  17557. "type": "number"
  17558. },
  17559. "deliverygoodsid": {
  17560. "description": "现货品种ID",
  17561. "type": "integer"
  17562. },
  17563. "futureavgprice": {
  17564. "description": "期货建仓均价",
  17565. "type": "number"
  17566. },
  17567. "futurecloseamount": {
  17568. "description": "期货平仓金额",
  17569. "type": "number"
  17570. },
  17571. "futurecloseqty": {
  17572. "description": "期货平仓数量",
  17573. "type": "number"
  17574. },
  17575. "futureopenamount": {
  17576. "description": "期货开仓金额",
  17577. "type": "number"
  17578. },
  17579. "futureopenqty": {
  17580. "description": "期货开仓数量",
  17581. "type": "number"
  17582. },
  17583. "futurepl": {
  17584. "description": "期货总盈亏[结算更新]",
  17585. "type": "number"
  17586. },
  17587. "futureqty": {
  17588. "description": "期货持仓数量",
  17589. "type": "number"
  17590. },
  17591. "futurequote": {
  17592. "description": "期货额度",
  17593. "type": "number"
  17594. },
  17595. "goodsgroupid": {
  17596. "description": "期货品种ID",
  17597. "type": "integer"
  17598. },
  17599. "marketid": {
  17600. "description": "市场ID",
  17601. "type": "integer"
  17602. },
  17603. "netexposure": {
  17604. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17605. "type": "number"
  17606. },
  17607. "netexposurepl": {
  17608. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17609. "type": "number"
  17610. },
  17611. "netexposurerate": {
  17612. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17613. "type": "number"
  17614. },
  17615. "openbasis": {
  17616. "description": "建仓基差",
  17617. "type": "number"
  17618. },
  17619. "pricedspotqty": {
  17620. "description": "已定价现货数量",
  17621. "type": "number"
  17622. },
  17623. "pricedspotqtynotax": {
  17624. "description": "已定价现货不含税数量",
  17625. "type": "number"
  17626. },
  17627. "remark": {
  17628. "description": "备注",
  17629. "type": "string"
  17630. },
  17631. "spotavgprice": {
  17632. "description": "现货均价",
  17633. "type": "number"
  17634. },
  17635. "spotbuyamount": {
  17636. "description": "现货采购金额",
  17637. "type": "number"
  17638. },
  17639. "spotbuyqty": {
  17640. "description": "现货采购数量",
  17641. "type": "number"
  17642. },
  17643. "spotpl": {
  17644. "description": "现货总盈亏[结算更新]",
  17645. "type": "number"
  17646. },
  17647. "spotquota": {
  17648. "description": "现货额度",
  17649. "type": "number"
  17650. },
  17651. "spotsellamount": {
  17652. "description": "现货销售金额",
  17653. "type": "number"
  17654. },
  17655. "spotsellqty": {
  17656. "description": "现货销售数量",
  17657. "type": "number"
  17658. },
  17659. "spotusedquota": {
  17660. "description": "现货占用资金",
  17661. "type": "number"
  17662. },
  17663. "strategystatus": {
  17664. "description": "策略状态 - 0:未结束 1:已结束",
  17665. "type": "integer"
  17666. },
  17667. "totalpl": {
  17668. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17669. "type": "number"
  17670. },
  17671. "tradedate": {
  17672. "description": "交易日(yyyyMMdd)",
  17673. "type": "string"
  17674. },
  17675. "updatetime": {
  17676. "description": "更新时间",
  17677. "type": "string"
  17678. },
  17679. "usedquota": {
  17680. "description": "已占用资金",
  17681. "type": "number"
  17682. },
  17683. "userid": {
  17684. "description": "所属机构",
  17685. "type": "integer"
  17686. }
  17687. }
  17688. },
  17689. "erms2.QueryInnerTradeDetailRsp": {
  17690. "type": "object",
  17691. "required": [
  17692. "asapplyid",
  17693. "buyorsell",
  17694. "goodscode",
  17695. "goodsgroupid",
  17696. "goodsgroupname",
  17697. "goodsname",
  17698. "tradeid"
  17699. ],
  17700. "properties": {
  17701. "accountid": {
  17702. "description": "账号ID",
  17703. "type": "integer"
  17704. },
  17705. "agreeunit": {
  17706. "description": "合约单位",
  17707. "type": "number"
  17708. },
  17709. "asapplyid": {
  17710. "description": "策略申请ID",
  17711. "type": "integer"
  17712. },
  17713. "asname": {
  17714. "description": "策略名称",
  17715. "type": "string"
  17716. },
  17717. "asno": {
  17718. "description": "策略编号",
  17719. "type": "string"
  17720. },
  17721. "buyorsell": {
  17722. "description": "方向 - 0:买 1:卖",
  17723. "type": "integer"
  17724. },
  17725. "channelbuildtype": {
  17726. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17727. "type": "integer"
  17728. },
  17729. "closetype": {
  17730. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17731. "type": "integer"
  17732. },
  17733. "decimalplace": {
  17734. "description": "报价小数位",
  17735. "type": "integer"
  17736. },
  17737. "detailtype": {
  17738. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17739. "type": "integer"
  17740. },
  17741. "exexchangecode": {
  17742. "description": "外部交易所代码",
  17743. "type": "string"
  17744. },
  17745. "exexchangename": {
  17746. "description": "外部交易所名称",
  17747. "type": "string"
  17748. },
  17749. "goodscode": {
  17750. "description": "商品代码(合约)",
  17751. "type": "string"
  17752. },
  17753. "goodsgroupid": {
  17754. "description": "商品组ID(品种ID)",
  17755. "type": "integer"
  17756. },
  17757. "goodsgroupname": {
  17758. "description": "商品组名称(品种)",
  17759. "type": "string"
  17760. },
  17761. "goodsid": {
  17762. "description": "商品ID",
  17763. "type": "integer"
  17764. },
  17765. "goodsname": {
  17766. "description": "商品名称(合约)",
  17767. "type": "string"
  17768. },
  17769. "goodunit": {
  17770. "description": "报价单位",
  17771. "type": "string"
  17772. },
  17773. "marketid": {
  17774. "description": "市场ID",
  17775. "type": "integer"
  17776. },
  17777. "orderid": {
  17778. "description": "委托单号",
  17779. "type": "string"
  17780. },
  17781. "outgoodscode": {
  17782. "description": "商品代码(外部)",
  17783. "type": "string"
  17784. },
  17785. "relatedouttradeid": {
  17786. "description": "关联外部成交单ID",
  17787. "type": "string"
  17788. },
  17789. "remark": {
  17790. "description": "备注",
  17791. "type": "string"
  17792. },
  17793. "spotcontractid": {
  17794. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17795. "type": "integer"
  17796. },
  17797. "spotcontractno": {
  17798. "description": "现货合同编号",
  17799. "type": "string"
  17800. },
  17801. "tradeid": {
  17802. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17803. "type": "string"
  17804. },
  17805. "tradeprice": {
  17806. "description": "成交价格",
  17807. "type": "number"
  17808. },
  17809. "tradeqty": {
  17810. "description": "成交数量",
  17811. "type": "integer"
  17812. },
  17813. "tradetime": {
  17814. "description": "成交时间",
  17815. "type": "string"
  17816. },
  17817. "updatetime": {
  17818. "description": "更新时间",
  17819. "type": "string"
  17820. }
  17821. }
  17822. },
  17823. "erms2.QuerySpotContractRsp": {
  17824. "type": "object",
  17825. "required": [
  17826. "spotcontractid"
  17827. ],
  17828. "properties": {
  17829. "accountid": {
  17830. "description": "资金账户ID",
  17831. "type": "integer"
  17832. },
  17833. "areauserid": {
  17834. "description": "所属机构",
  17835. "type": "integer"
  17836. },
  17837. "closedate": {
  17838. "description": "终止日期",
  17839. "type": "string"
  17840. },
  17841. "closeremark": {
  17842. "description": "结束备注",
  17843. "type": "string"
  17844. },
  17845. "closetradedate": {
  17846. "description": "完结交易日(yyyyMMdd)",
  17847. "type": "string"
  17848. },
  17849. "closetype": {
  17850. "description": "终止类型 - 1:违约 2:提前终止",
  17851. "type": "integer"
  17852. },
  17853. "contractamount": {
  17854. "description": "合同金额",
  17855. "type": "number"
  17856. },
  17857. "contractattachment": {
  17858. "description": "合同附件",
  17859. "type": "string"
  17860. },
  17861. "contractno": {
  17862. "description": "现货合同编号",
  17863. "type": "string"
  17864. },
  17865. "contractqty": {
  17866. "description": "合同数量(数值) (用于计算)",
  17867. "type": "number"
  17868. },
  17869. "contractqtychar": {
  17870. "description": "合同数量\\已订价数量 (用于显示)",
  17871. "type": "string"
  17872. },
  17873. "contractstatus": {
  17874. "description": "合同状态 - 0:未结束 1:已结束",
  17875. "type": "integer"
  17876. },
  17877. "contracttype": {
  17878. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17879. "type": "integer"
  17880. },
  17881. "customeraccountid": {
  17882. "description": "客户资金账户ID",
  17883. "type": "integer"
  17884. },
  17885. "customeruserid": {
  17886. "description": "客户ID",
  17887. "type": "integer"
  17888. },
  17889. "deliverygoodsdesc": {
  17890. "description": "品种说明",
  17891. "type": "string"
  17892. },
  17893. "deliverygoodsid": {
  17894. "description": "现货品种ID",
  17895. "type": "integer"
  17896. },
  17897. "handlestatus": {
  17898. "description": "处理状态",
  17899. "type": "integer"
  17900. },
  17901. "invoiceatt": {
  17902. "description": "发票附件",
  17903. "type": "string"
  17904. },
  17905. "invoicedatetime": {
  17906. "description": "开收票更新时间",
  17907. "type": "string"
  17908. },
  17909. "invoiceopentime": {
  17910. "description": "开票时间",
  17911. "type": "string"
  17912. },
  17913. "invoiceremark": {
  17914. "description": "发票备注",
  17915. "type": "string"
  17916. },
  17917. "invoicestatus": {
  17918. "description": "开收票状态 - 0:未开票 1:已开票",
  17919. "type": "integer"
  17920. },
  17921. "lastdate": {
  17922. "description": "交货时间",
  17923. "type": "string"
  17924. },
  17925. "marketid": {
  17926. "description": "市场ID",
  17927. "type": "integer"
  17928. },
  17929. "paydatetime": {
  17930. "description": "收付款更新时间",
  17931. "type": "string"
  17932. },
  17933. "payremark": {
  17934. "description": "收付款备注",
  17935. "type": "string"
  17936. },
  17937. "paystatus": {
  17938. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17939. "type": "integer"
  17940. },
  17941. "positionqty": {
  17942. "description": "头寸数量 - 合同数量去小数部分",
  17943. "type": "integer"
  17944. },
  17945. "producttype": {
  17946. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17947. "type": "integer"
  17948. },
  17949. "relatedqty": {
  17950. "description": "已关联数量",
  17951. "type": "number"
  17952. },
  17953. "relatedstatus": {
  17954. "description": "关联完结状态 - 0:未结束 1:已结束",
  17955. "type": "integer"
  17956. },
  17957. "remark": {
  17958. "description": "备注",
  17959. "type": "string"
  17960. },
  17961. "signdate": {
  17962. "description": "签订日期",
  17963. "type": "string"
  17964. },
  17965. "spotcontractid": {
  17966. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17967. "type": "string"
  17968. },
  17969. "spotdatetime": {
  17970. "description": "收发货更新时间",
  17971. "type": "string"
  17972. },
  17973. "spotprice": {
  17974. "description": "价格",
  17975. "type": "number"
  17976. },
  17977. "spotremark": {
  17978. "description": "收发货备注",
  17979. "type": "string"
  17980. },
  17981. "spotstatus": {
  17982. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17983. "type": "integer"
  17984. },
  17985. "tradedate": {
  17986. "description": "交易日(yyyyMMdd)",
  17987. "type": "string"
  17988. },
  17989. "userid": {
  17990. "description": "业务员用户ID",
  17991. "type": "integer"
  17992. },
  17993. "warehouseid": {
  17994. "description": "仓库ID",
  17995. "type": "integer"
  17996. },
  17997. "wrfactortypeid": {
  17998. "description": "仓单要素类型ID",
  17999. "type": "integer"
  18000. },
  18001. "wrstandardid": {
  18002. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18003. "type": "integer"
  18004. }
  18005. }
  18006. },
  18007. "erms3.AddErms2ASApplyReq": {
  18008. "type": "object",
  18009. "required": [
  18010. "asapplyid"
  18011. ],
  18012. "properties": {
  18013. "applybasis": {
  18014. "description": "申请基差",
  18015. "type": "number"
  18016. },
  18017. "applystatus": {
  18018. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18019. "type": "integer"
  18020. },
  18021. "asapplyid": {
  18022. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18023. "type": "integer"
  18024. },
  18025. "asname": {
  18026. "description": "策略名称",
  18027. "type": "string"
  18028. },
  18029. "asno": {
  18030. "description": "策略编号",
  18031. "type": "string"
  18032. },
  18033. "auditid": {
  18034. "description": "审核人",
  18035. "type": "integer"
  18036. },
  18037. "auditremark": {
  18038. "description": "审核备注",
  18039. "type": "string"
  18040. },
  18041. "audittime": {
  18042. "description": "审核时间",
  18043. "type": "string"
  18044. },
  18045. "biztype": {
  18046. "description": "业务类型 - 1:正向套利 2:反向套利",
  18047. "type": "integer"
  18048. },
  18049. "createtime": {
  18050. "description": "创建时间",
  18051. "type": "string"
  18052. },
  18053. "creatorid": {
  18054. "description": "创建人",
  18055. "type": "integer"
  18056. },
  18057. "deliverygoodsid": {
  18058. "description": "现货品种ID",
  18059. "type": "integer"
  18060. },
  18061. "futurequote": {
  18062. "description": "期货额度",
  18063. "type": "number"
  18064. },
  18065. "goodsgroupid": {
  18066. "description": "期货品种ID",
  18067. "type": "integer"
  18068. },
  18069. "marketid": {
  18070. "description": "市场ID",
  18071. "type": "integer"
  18072. },
  18073. "remark": {
  18074. "description": "备注",
  18075. "type": "string"
  18076. },
  18077. "spotquota": {
  18078. "description": "现货额度",
  18079. "type": "number"
  18080. },
  18081. "tradedate": {
  18082. "description": "交易日(yyyyMMdd)",
  18083. "type": "string"
  18084. },
  18085. "userid": {
  18086. "description": "所属机构",
  18087. "type": "integer"
  18088. }
  18089. }
  18090. },
  18091. "erms3.AddErms2SpotTradeApplyReq": {
  18092. "type": "object",
  18093. "required": [
  18094. "spottradeid"
  18095. ],
  18096. "properties": {
  18097. "applyjsondetail": {
  18098. "description": "申请明细(JSON)",
  18099. "type": "string"
  18100. },
  18101. "applystatus": {
  18102. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18103. "type": "integer"
  18104. },
  18105. "areauserid": {
  18106. "description": "所属机构",
  18107. "type": "integer"
  18108. },
  18109. "auditid": {
  18110. "description": "审核人",
  18111. "type": "integer"
  18112. },
  18113. "auditremark": {
  18114. "description": "审核备注",
  18115. "type": "string"
  18116. },
  18117. "audittime": {
  18118. "description": "审核时间",
  18119. "type": "string"
  18120. },
  18121. "createtime": {
  18122. "description": "创建时间",
  18123. "type": "string"
  18124. },
  18125. "creatorid": {
  18126. "description": "创建人",
  18127. "type": "integer"
  18128. },
  18129. "deliverygoodsid": {
  18130. "description": "现货品种ID",
  18131. "type": "integer"
  18132. },
  18133. "futureaccountid": {
  18134. "description": "期货资金账户",
  18135. "type": "integer"
  18136. },
  18137. "goodsgroupid": {
  18138. "description": "期货品种",
  18139. "type": "integer"
  18140. },
  18141. "marketid": {
  18142. "description": "市场ID",
  18143. "type": "integer"
  18144. },
  18145. "remark": {
  18146. "description": "备注",
  18147. "type": "string"
  18148. },
  18149. "spotaccountid": {
  18150. "description": "现货资金账户",
  18151. "type": "integer"
  18152. },
  18153. "spottradeid": {
  18154. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18155. "type": "integer"
  18156. },
  18157. "spottradename": {
  18158. "description": "业务名称",
  18159. "type": "string"
  18160. },
  18161. "spottradeno": {
  18162. "description": "业务编号",
  18163. "type": "string"
  18164. },
  18165. "tradedate": {
  18166. "description": "交易日(yyyyMMdd)",
  18167. "type": "string"
  18168. },
  18169. "wrstandardid": {
  18170. "description": "仓单标准ID",
  18171. "type": "integer"
  18172. }
  18173. }
  18174. },
  18175. "erms3.AddSpotContractApplyReq": {
  18176. "type": "object",
  18177. "required": [
  18178. "accountid",
  18179. "areauserid",
  18180. "contractno",
  18181. "contracttype",
  18182. "customeraccountid",
  18183. "customeruserid",
  18184. "details",
  18185. "orimargin",
  18186. "signdate"
  18187. ],
  18188. "properties": {
  18189. "accountid": {
  18190. "description": "资金账户ID",
  18191. "type": "integer"
  18192. },
  18193. "areauserid": {
  18194. "description": "所属机构",
  18195. "type": "integer"
  18196. },
  18197. "contractattachment": {
  18198. "description": "合同附件",
  18199. "type": "string"
  18200. },
  18201. "contractno": {
  18202. "description": "现货合同编号",
  18203. "type": "string"
  18204. },
  18205. "contracttype": {
  18206. "description": "现货合同类型 - 1:采购 -1:销售",
  18207. "type": "integer"
  18208. },
  18209. "creatorid": {
  18210. "description": "申请人",
  18211. "type": "integer"
  18212. },
  18213. "customeraccountid": {
  18214. "description": "客户资金账户ID",
  18215. "type": "integer"
  18216. },
  18217. "customeruserid": {
  18218. "description": "客户ID",
  18219. "type": "integer"
  18220. },
  18221. "details": {
  18222. "description": "明细",
  18223. "type": "array",
  18224. "items": {
  18225. "$ref": "#/definitions/erms3.SoptContractDetail"
  18226. }
  18227. },
  18228. "orimargin": {
  18229. "description": "初始保证金",
  18230. "type": "number"
  18231. },
  18232. "remark": {
  18233. "description": "备注",
  18234. "type": "string"
  18235. },
  18236. "signdate": {
  18237. "description": "签订日期",
  18238. "type": "string"
  18239. }
  18240. }
  18241. },
  18242. "erms3.AddSpotContractApplyRsp": {
  18243. "type": "object",
  18244. "required": [
  18245. "contractno"
  18246. ],
  18247. "properties": {
  18248. "contractno": {
  18249. "description": "现货合同编号",
  18250. "type": "string"
  18251. },
  18252. "spotcontractid": {
  18253. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18254. "type": "integer"
  18255. }
  18256. }
  18257. },
  18258. "erms3.AddUserInfoApplyReq": {
  18259. "type": "object",
  18260. "required": [
  18261. "userid"
  18262. ],
  18263. "properties": {
  18264. "accountid": {
  18265. "description": "交易系统帐号Id (加密存储)",
  18266. "type": "integer"
  18267. },
  18268. "areacode": {
  18269. "description": "机构代码",
  18270. "type": "string"
  18271. },
  18272. "areaid": {
  18273. "description": "机构Id",
  18274. "type": "integer"
  18275. },
  18276. "attachment1": {
  18277. "description": "附件1",
  18278. "type": "string"
  18279. },
  18280. "attachment2": {
  18281. "description": "附件2",
  18282. "type": "string"
  18283. },
  18284. "attachment3": {
  18285. "description": "附件3",
  18286. "type": "string"
  18287. },
  18288. "attachment4": {
  18289. "description": "附件4",
  18290. "type": "string"
  18291. },
  18292. "attachment5": {
  18293. "description": "附件5",
  18294. "type": "string"
  18295. },
  18296. "auditedby": {
  18297. "description": "审核人",
  18298. "type": "string"
  18299. },
  18300. "auditime": {
  18301. "description": "审核时间",
  18302. "type": "string"
  18303. },
  18304. "auditsrc": {
  18305. "description": "审核来源 - 1:管理端 2:终端",
  18306. "type": "integer"
  18307. },
  18308. "bankaccount": {
  18309. "description": "银行帐号 (加密存储)",
  18310. "type": "string"
  18311. },
  18312. "bankaccountname": {
  18313. "description": "收款人名称",
  18314. "type": "string"
  18315. },
  18316. "bankcardbackphotourl": {
  18317. "description": "银行卡背面照地址",
  18318. "type": "string"
  18319. },
  18320. "bankcardfrontphotourl": {
  18321. "description": "银行卡正面照地址",
  18322. "type": "string"
  18323. },
  18324. "bankid": {
  18325. "description": "银行编码",
  18326. "type": "string"
  18327. },
  18328. "bankname": {
  18329. "description": "银行名称",
  18330. "type": "string"
  18331. },
  18332. "bankpictureurl": {
  18333. "description": "银行卡正面地址",
  18334. "type": "string"
  18335. },
  18336. "biznature": {
  18337. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18338. "type": "integer"
  18339. },
  18340. "bizscope": {
  18341. "description": "企业经营范围(企业)",
  18342. "type": "string"
  18343. },
  18344. "biztype": {
  18345. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18346. "type": "integer"
  18347. },
  18348. "brokerid": {
  18349. "description": "经纪人ID(加密存储)",
  18350. "type": "string"
  18351. },
  18352. "cardaddress": {
  18353. "description": "证件地址 (加密存储)",
  18354. "type": "string"
  18355. },
  18356. "cardbackphotourl": {
  18357. "description": "背面证件照地址",
  18358. "type": "string"
  18359. },
  18360. "cardfrontphotourl": {
  18361. "description": "正面证件照地址",
  18362. "type": "string"
  18363. },
  18364. "cardnum": {
  18365. "description": "证件号码 (加密存储)",
  18366. "type": "string"
  18367. },
  18368. "cardtype": {
  18369. "description": "证件类型",
  18370. "type": "integer"
  18371. },
  18372. "cityid": {
  18373. "description": "市",
  18374. "type": "integer"
  18375. },
  18376. "company": {
  18377. "description": "公司(个人)",
  18378. "type": "string"
  18379. },
  18380. "contactcardbackphotourl": {
  18381. "description": "联系人证件背面图片地址",
  18382. "type": "string"
  18383. },
  18384. "contactcardfrontphotourl": {
  18385. "description": "联系人证件正面图片地址",
  18386. "type": "string"
  18387. },
  18388. "contactname": {
  18389. "description": "联系人",
  18390. "type": "string"
  18391. },
  18392. "countryid": {
  18393. "description": "国家",
  18394. "type": "integer"
  18395. },
  18396. "createtime": {
  18397. "description": "开户申请时间",
  18398. "type": "string"
  18399. },
  18400. "cusbankid": {
  18401. "description": "签约类型",
  18402. "type": "string"
  18403. },
  18404. "cusbankname": {
  18405. "description": "签约类型名称",
  18406. "type": "string"
  18407. },
  18408. "customername": {
  18409. "description": "客户名称(企业名称)",
  18410. "type": "string"
  18411. },
  18412. "districtid": {
  18413. "description": "地区",
  18414. "type": "integer"
  18415. },
  18416. "email": {
  18417. "description": "Email地址(加密存储)",
  18418. "type": "string"
  18419. },
  18420. "halfbodyphotourl": {
  18421. "description": "半身照地址",
  18422. "type": "string"
  18423. },
  18424. "headurl": {
  18425. "description": "头像地址",
  18426. "type": "string"
  18427. },
  18428. "ipaddress": {
  18429. "description": "IP地址",
  18430. "type": "string"
  18431. },
  18432. "isvalidate": {
  18433. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18434. "type": "string"
  18435. },
  18436. "legalcardbackphotourl": {
  18437. "description": "法人身份证背面照地址",
  18438. "type": "string"
  18439. },
  18440. "legalcardfrontphotourl": {
  18441. "description": "法人身份证正面照地址",
  18442. "type": "string"
  18443. },
  18444. "legalpersonname": {
  18445. "description": "法人姓名(企业)",
  18446. "type": "string"
  18447. },
  18448. "logincode": {
  18449. "description": "登录帐号 (加密存储)",
  18450. "type": "string"
  18451. },
  18452. "memberareaid": {
  18453. "description": "所属会员ID",
  18454. "type": "integer"
  18455. },
  18456. "mobile2": {
  18457. "description": "手机号码[明文-尚志]",
  18458. "type": "string"
  18459. },
  18460. "mobilephone": {
  18461. "description": "手机号码 (加密存储)",
  18462. "type": "string"
  18463. },
  18464. "modifiedby": {
  18465. "description": "修改人帐号",
  18466. "type": "integer"
  18467. },
  18468. "modifiedtime": {
  18469. "description": "修改时间",
  18470. "type": "string"
  18471. },
  18472. "nickname": {
  18473. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18474. "type": "string"
  18475. },
  18476. "openmode": {
  18477. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18478. "type": "integer"
  18479. },
  18480. "otherurl": {
  18481. "description": "其它图片地址[使用分号分隔]",
  18482. "type": "string"
  18483. },
  18484. "postalcode": {
  18485. "description": "邮政编码",
  18486. "type": "string"
  18487. },
  18488. "provinceid": {
  18489. "description": "省",
  18490. "type": "integer"
  18491. },
  18492. "proxystatementurl": {
  18493. "description": "授权委托书",
  18494. "type": "string"
  18495. },
  18496. "qq": {
  18497. "description": "QQ(加密存储",
  18498. "type": "string"
  18499. },
  18500. "referral": {
  18501. "description": "推荐人编码",
  18502. "type": "string"
  18503. },
  18504. "remark": {
  18505. "description": "备注",
  18506. "type": "string"
  18507. },
  18508. "removebeforestatus": {
  18509. "description": "REMOVEBEFORESTATUS",
  18510. "type": "integer"
  18511. },
  18512. "sex": {
  18513. "description": "性别 - 0:女 1:男",
  18514. "type": "integer"
  18515. },
  18516. "signedstatus": {
  18517. "description": "账户一号签签约状态",
  18518. "type": "integer"
  18519. },
  18520. "signpdfurl": {
  18521. "description": "签约pdf文件",
  18522. "type": "string"
  18523. },
  18524. "subbranch": {
  18525. "description": "开户支行",
  18526. "type": "string"
  18527. },
  18528. "taxpayernum": {
  18529. "description": "纳税人识别号",
  18530. "type": "string"
  18531. },
  18532. "telphone": {
  18533. "description": "联系电话(加密存储)",
  18534. "type": "string"
  18535. },
  18536. "userid": {
  18537. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18538. "type": "integer"
  18539. },
  18540. "userinfotype": {
  18541. "description": "用户信息类型 - 1:个人 2:企业",
  18542. "type": "integer"
  18543. },
  18544. "username": {
  18545. "description": "用户姓名",
  18546. "type": "string"
  18547. },
  18548. "userstate": {
  18549. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18550. "type": "integer"
  18551. },
  18552. "usertype": {
  18553. "description": "用户类型 - 1:投资者 2:机构",
  18554. "type": "integer"
  18555. },
  18556. "videourl": {
  18557. "description": "视频地址",
  18558. "type": "string"
  18559. },
  18560. "wechat": {
  18561. "description": "微信号 (加密存储)",
  18562. "type": "string"
  18563. }
  18564. }
  18565. },
  18566. "erms3.CustomerInfo": {
  18567. "type": "object",
  18568. "required": [
  18569. "userid"
  18570. ],
  18571. "properties": {
  18572. "accountids": {
  18573. "description": "资金账户ID列表",
  18574. "type": "array",
  18575. "items": {
  18576. "type": "integer"
  18577. }
  18578. },
  18579. "customername": {
  18580. "description": "名称(企业名称)",
  18581. "type": "string"
  18582. },
  18583. "mobile": {
  18584. "description": "手机号码",
  18585. "type": "string"
  18586. },
  18587. "userid": {
  18588. "description": "用户ID",
  18589. "type": "integer"
  18590. }
  18591. }
  18592. },
  18593. "erms3.ModifyUserInfoApplyReq": {
  18594. "type": "object",
  18595. "required": [
  18596. "userid"
  18597. ],
  18598. "properties": {
  18599. "accountid": {
  18600. "description": "交易系统帐号Id (加密存储)",
  18601. "type": "integer"
  18602. },
  18603. "areacode": {
  18604. "description": "机构代码",
  18605. "type": "string"
  18606. },
  18607. "areaid": {
  18608. "description": "机构Id",
  18609. "type": "integer"
  18610. },
  18611. "attachment1": {
  18612. "description": "附件1",
  18613. "type": "string"
  18614. },
  18615. "attachment2": {
  18616. "description": "附件2",
  18617. "type": "string"
  18618. },
  18619. "attachment3": {
  18620. "description": "附件3",
  18621. "type": "string"
  18622. },
  18623. "attachment4": {
  18624. "description": "附件4",
  18625. "type": "string"
  18626. },
  18627. "attachment5": {
  18628. "description": "附件5",
  18629. "type": "string"
  18630. },
  18631. "auditedby": {
  18632. "description": "审核人",
  18633. "type": "string"
  18634. },
  18635. "auditime": {
  18636. "description": "审核时间",
  18637. "type": "string"
  18638. },
  18639. "auditsrc": {
  18640. "description": "审核来源 - 1:管理端 2:终端",
  18641. "type": "integer"
  18642. },
  18643. "bankaccount": {
  18644. "description": "银行帐号 (加密存储)",
  18645. "type": "string"
  18646. },
  18647. "bankaccountname": {
  18648. "description": "收款人名称",
  18649. "type": "string"
  18650. },
  18651. "bankcardbackphotourl": {
  18652. "description": "银行卡背面照地址",
  18653. "type": "string"
  18654. },
  18655. "bankcardfrontphotourl": {
  18656. "description": "银行卡正面照地址",
  18657. "type": "string"
  18658. },
  18659. "bankid": {
  18660. "description": "银行编码",
  18661. "type": "string"
  18662. },
  18663. "bankname": {
  18664. "description": "银行名称",
  18665. "type": "string"
  18666. },
  18667. "bankpictureurl": {
  18668. "description": "银行卡正面地址",
  18669. "type": "string"
  18670. },
  18671. "biznature": {
  18672. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18673. "type": "integer"
  18674. },
  18675. "bizscope": {
  18676. "description": "企业经营范围(企业)",
  18677. "type": "string"
  18678. },
  18679. "biztype": {
  18680. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18681. "type": "integer"
  18682. },
  18683. "brokerid": {
  18684. "description": "经纪人ID(加密存储)",
  18685. "type": "string"
  18686. },
  18687. "cardaddress": {
  18688. "description": "证件地址 (加密存储)",
  18689. "type": "string"
  18690. },
  18691. "cardbackphotourl": {
  18692. "description": "背面证件照地址",
  18693. "type": "string"
  18694. },
  18695. "cardfrontphotourl": {
  18696. "description": "正面证件照地址",
  18697. "type": "string"
  18698. },
  18699. "cardnum": {
  18700. "description": "证件号码 (加密存储)",
  18701. "type": "string"
  18702. },
  18703. "cardtype": {
  18704. "description": "证件类型",
  18705. "type": "integer"
  18706. },
  18707. "cityid": {
  18708. "description": "市",
  18709. "type": "integer"
  18710. },
  18711. "company": {
  18712. "description": "公司(个人)",
  18713. "type": "string"
  18714. },
  18715. "contactcardbackphotourl": {
  18716. "description": "联系人证件背面图片地址",
  18717. "type": "string"
  18718. },
  18719. "contactcardfrontphotourl": {
  18720. "description": "联系人证件正面图片地址",
  18721. "type": "string"
  18722. },
  18723. "contactname": {
  18724. "description": "联系人",
  18725. "type": "string"
  18726. },
  18727. "countryid": {
  18728. "description": "国家",
  18729. "type": "integer"
  18730. },
  18731. "createtime": {
  18732. "description": "开户申请时间",
  18733. "type": "string"
  18734. },
  18735. "cusbankid": {
  18736. "description": "签约类型",
  18737. "type": "string"
  18738. },
  18739. "cusbankname": {
  18740. "description": "签约类型名称",
  18741. "type": "string"
  18742. },
  18743. "customername": {
  18744. "description": "客户名称(企业名称)",
  18745. "type": "string"
  18746. },
  18747. "districtid": {
  18748. "description": "地区",
  18749. "type": "integer"
  18750. },
  18751. "email": {
  18752. "description": "Email地址(加密存储)",
  18753. "type": "string"
  18754. },
  18755. "halfbodyphotourl": {
  18756. "description": "半身照地址",
  18757. "type": "string"
  18758. },
  18759. "headurl": {
  18760. "description": "头像地址",
  18761. "type": "string"
  18762. },
  18763. "ipaddress": {
  18764. "description": "IP地址",
  18765. "type": "string"
  18766. },
  18767. "isvalidate": {
  18768. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18769. "type": "string"
  18770. },
  18771. "legalcardbackphotourl": {
  18772. "description": "法人身份证背面照地址",
  18773. "type": "string"
  18774. },
  18775. "legalcardfrontphotourl": {
  18776. "description": "法人身份证正面照地址",
  18777. "type": "string"
  18778. },
  18779. "legalpersonname": {
  18780. "description": "法人姓名(企业)",
  18781. "type": "string"
  18782. },
  18783. "logincode": {
  18784. "description": "登录帐号 (加密存储)",
  18785. "type": "string"
  18786. },
  18787. "memberareaid": {
  18788. "description": "所属会员ID",
  18789. "type": "integer"
  18790. },
  18791. "mobile2": {
  18792. "description": "手机号码[明文-尚志]",
  18793. "type": "string"
  18794. },
  18795. "mobilephone": {
  18796. "description": "手机号码 (加密存储)",
  18797. "type": "string"
  18798. },
  18799. "modifiedby": {
  18800. "description": "修改人帐号",
  18801. "type": "integer"
  18802. },
  18803. "modifiedtime": {
  18804. "description": "修改时间",
  18805. "type": "string"
  18806. },
  18807. "nickname": {
  18808. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18809. "type": "string"
  18810. },
  18811. "openmode": {
  18812. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18813. "type": "integer"
  18814. },
  18815. "otherurl": {
  18816. "description": "其它图片地址[使用分号分隔]",
  18817. "type": "string"
  18818. },
  18819. "postalcode": {
  18820. "description": "邮政编码",
  18821. "type": "string"
  18822. },
  18823. "provinceid": {
  18824. "description": "省",
  18825. "type": "integer"
  18826. },
  18827. "proxystatementurl": {
  18828. "description": "授权委托书",
  18829. "type": "string"
  18830. },
  18831. "qq": {
  18832. "description": "QQ(加密存储",
  18833. "type": "string"
  18834. },
  18835. "referral": {
  18836. "description": "推荐人编码",
  18837. "type": "string"
  18838. },
  18839. "remark": {
  18840. "description": "备注",
  18841. "type": "string"
  18842. },
  18843. "removebeforestatus": {
  18844. "description": "REMOVEBEFORESTATUS",
  18845. "type": "integer"
  18846. },
  18847. "sex": {
  18848. "description": "性别 - 0:女 1:男",
  18849. "type": "integer"
  18850. },
  18851. "signedstatus": {
  18852. "description": "账户一号签签约状态",
  18853. "type": "integer"
  18854. },
  18855. "signpdfurl": {
  18856. "description": "签约pdf文件",
  18857. "type": "string"
  18858. },
  18859. "subbranch": {
  18860. "description": "开户支行",
  18861. "type": "string"
  18862. },
  18863. "taxpayernum": {
  18864. "description": "纳税人识别号",
  18865. "type": "string"
  18866. },
  18867. "telphone": {
  18868. "description": "联系电话(加密存储)",
  18869. "type": "string"
  18870. },
  18871. "userid": {
  18872. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18873. "type": "integer"
  18874. },
  18875. "userinfotype": {
  18876. "description": "用户信息类型 - 1:个人 2:企业",
  18877. "type": "integer"
  18878. },
  18879. "username": {
  18880. "description": "用户姓名",
  18881. "type": "string"
  18882. },
  18883. "userstate": {
  18884. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18885. "type": "integer"
  18886. },
  18887. "usertype": {
  18888. "description": "用户类型 - 1:投资者 2:机构",
  18889. "type": "integer"
  18890. },
  18891. "videourl": {
  18892. "description": "视频地址",
  18893. "type": "string"
  18894. },
  18895. "wechat": {
  18896. "description": "微信号 (加密存储)",
  18897. "type": "string"
  18898. }
  18899. }
  18900. },
  18901. "erms3.QryAuditContractRsp": {
  18902. "type": "object",
  18903. "required": [
  18904. "matchcustomername",
  18905. "spotcontractid"
  18906. ],
  18907. "properties": {
  18908. "accountid": {
  18909. "description": "交易员ID",
  18910. "type": "string"
  18911. },
  18912. "applystatus": {
  18913. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18914. "type": "integer"
  18915. },
  18916. "curdeliveryqty": {
  18917. "description": "未交收量",
  18918. "type": "integer"
  18919. },
  18920. "customername": {
  18921. "description": "采购方ID",
  18922. "type": "string"
  18923. },
  18924. "deliverygoodsid": {
  18925. "description": "品种ID",
  18926. "type": "string"
  18927. },
  18928. "deliveryqty": {
  18929. "description": "交收量",
  18930. "type": "integer"
  18931. },
  18932. "enumdicname": {
  18933. "description": "单位名称",
  18934. "type": "string"
  18935. },
  18936. "matchaccountid": {
  18937. "description": "业务员ID",
  18938. "type": "string"
  18939. },
  18940. "matchcustomername": {
  18941. "description": "销售方ID",
  18942. "type": "string"
  18943. },
  18944. "pricedqty": {
  18945. "description": "定价量",
  18946. "type": "number"
  18947. },
  18948. "signdate": {
  18949. "description": "签订日期",
  18950. "type": "string"
  18951. },
  18952. "spotcontractid": {
  18953. "description": "合同ID",
  18954. "type": "string"
  18955. },
  18956. "totaldqty": {
  18957. "description": "合同量",
  18958. "type": "number"
  18959. },
  18960. "unpricedqty": {
  18961. "description": "未定价量",
  18962. "type": "number"
  18963. },
  18964. "wrstandardname": {
  18965. "description": "商品名称",
  18966. "type": "string"
  18967. }
  18968. }
  18969. },
  18970. "erms3.QryPendingBizRsp": {
  18971. "type": "object",
  18972. "properties": {
  18973. "accountid": {
  18974. "description": "现货账户",
  18975. "type": "string"
  18976. },
  18977. "areaname": {
  18978. "description": "所属部门",
  18979. "type": "string"
  18980. },
  18981. "bizid": {
  18982. "description": "业务ID",
  18983. "type": "string"
  18984. },
  18985. "bizname": {
  18986. "description": "业务名称",
  18987. "type": "string"
  18988. },
  18989. "status": {
  18990. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18991. "type": "integer"
  18992. },
  18993. "type": {
  18994. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18995. "type": "integer"
  18996. }
  18997. }
  18998. },
  18999. "erms3.QueryBusinessInfoRsp": {
  19000. "type": "object",
  19001. "properties": {
  19002. "businessid": {
  19003. "description": "业务ID.",
  19004. "type": "integer"
  19005. },
  19006. "buyamount": {
  19007. "description": "采购额.",
  19008. "type": "number"
  19009. },
  19010. "buyqty": {
  19011. "description": "采购量.",
  19012. "type": "string"
  19013. },
  19014. "futurepl": {
  19015. "description": "期货盈亏.",
  19016. "type": "number"
  19017. },
  19018. "futureqty": {
  19019. "description": "期货敞口.",
  19020. "type": "string"
  19021. },
  19022. "goodsid": {
  19023. "description": "商品名称/商品代码.",
  19024. "type": "string"
  19025. },
  19026. "hedgingqty": {
  19027. "description": "套保量.",
  19028. "type": "string"
  19029. },
  19030. "sellamount": {
  19031. "description": "销售额.",
  19032. "type": "number"
  19033. },
  19034. "sellqty": {
  19035. "description": "销售量.",
  19036. "type": "string"
  19037. },
  19038. "spotmarketvalue": {
  19039. "description": "现货市值.",
  19040. "type": "number"
  19041. },
  19042. "spotpl": {
  19043. "description": "浮动权益.",
  19044. "type": "number"
  19045. },
  19046. "spotqty": {
  19047. "description": "现货量.",
  19048. "type": "string"
  19049. },
  19050. "statu": {
  19051. "description": "状态,0-未结束 1-已结束.",
  19052. "type": "integer"
  19053. },
  19054. "totalpl": {
  19055. "description": "总盈亏.",
  19056. "type": "number"
  19057. },
  19058. "totalqty": {
  19059. "description": "总敞口.",
  19060. "type": "string"
  19061. },
  19062. "type": {
  19063. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19064. "type": "integer"
  19065. }
  19066. }
  19067. },
  19068. "erms3.QuerySpotContractAppleFormRsp": {
  19069. "type": "object",
  19070. "properties": {
  19071. "goodses": {
  19072. "description": "合约列表",
  19073. "type": "array",
  19074. "items": {
  19075. "$ref": "#/definitions/models.GoodsIDAndName"
  19076. }
  19077. },
  19078. "oppositeusers": {
  19079. "description": "对方账号列表",
  19080. "type": "array",
  19081. "items": {
  19082. "$ref": "#/definitions/erms3.CustomerInfo"
  19083. }
  19084. },
  19085. "ouruser": {
  19086. "description": "我方账号",
  19087. "$ref": "#/definitions/erms3.CustomerInfo"
  19088. },
  19089. "warehouseinfos": {
  19090. "description": "仓库信息列表",
  19091. "type": "array",
  19092. "items": {
  19093. "$ref": "#/definitions/models.Warehouseinfo"
  19094. }
  19095. },
  19096. "wrstandards": {
  19097. "description": "仓单标准列表",
  19098. "type": "array",
  19099. "items": {
  19100. "$ref": "#/definitions/models.WRStandardInfo"
  19101. }
  19102. }
  19103. }
  19104. },
  19105. "erms3.QuerySpotContractInfoRsp": {
  19106. "type": "object",
  19107. "properties": {
  19108. "accountid": {
  19109. "description": "表示交易员ID.",
  19110. "type": "integer"
  19111. },
  19112. "curdeliveryqty": {
  19113. "description": "表示未交收量.",
  19114. "type": "number"
  19115. },
  19116. "customername": {
  19117. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19118. "type": "string"
  19119. },
  19120. "deliverygoodsid": {
  19121. "description": "表示品种ID.",
  19122. "type": "string"
  19123. },
  19124. "deliveryqty": {
  19125. "description": "表示交收量.",
  19126. "type": "number"
  19127. },
  19128. "matchaccountid": {
  19129. "description": "表示业务员ID.",
  19130. "type": "integer"
  19131. },
  19132. "matchcustomername": {
  19133. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19134. "type": "string"
  19135. },
  19136. "priceqty": {
  19137. "description": "表示定价量.",
  19138. "type": "number"
  19139. },
  19140. "relatedbizid": {
  19141. "description": "表示业务ID.",
  19142. "type": "string"
  19143. },
  19144. "signdate": {
  19145. "description": "表示签订日期.",
  19146. "type": "string"
  19147. },
  19148. "spotcontractid": {
  19149. "description": "合同ID",
  19150. "type": "string"
  19151. },
  19152. "status": {
  19153. "description": "表示状态,0-履约中 1-已完成.",
  19154. "type": "integer"
  19155. },
  19156. "totalqty": {
  19157. "description": "表示合同量.",
  19158. "type": "number"
  19159. },
  19160. "unpricedqty": {
  19161. "description": "表示未定价量.",
  19162. "type": "number"
  19163. },
  19164. "wrstandardname": {
  19165. "description": "表示商品ID.",
  19166. "type": "string"
  19167. }
  19168. }
  19169. },
  19170. "erms3.QueryUserInfoAppliesRsp": {
  19171. "type": "object",
  19172. "required": [
  19173. "userid"
  19174. ],
  19175. "properties": {
  19176. "biznature": {
  19177. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19178. "type": "integer"
  19179. },
  19180. "contactname": {
  19181. "description": "联系人",
  19182. "type": "string"
  19183. },
  19184. "createtime": {
  19185. "description": "开户申请时间",
  19186. "type": "string"
  19187. },
  19188. "userid": {
  19189. "description": "用户ID(自增ID)",
  19190. "type": "integer"
  19191. },
  19192. "userinfotype": {
  19193. "description": "用户信息类型 - 1:个人 2:企业",
  19194. "type": "integer"
  19195. },
  19196. "username": {
  19197. "description": "用户姓名",
  19198. "type": "string"
  19199. },
  19200. "userstate": {
  19201. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19202. "type": "integer"
  19203. }
  19204. }
  19205. },
  19206. "erms3.QueryUserInfosRsp": {
  19207. "type": "object",
  19208. "required": [
  19209. "userid"
  19210. ],
  19211. "properties": {
  19212. "biznature": {
  19213. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19214. "type": "integer"
  19215. },
  19216. "contactname": {
  19217. "description": "联系人",
  19218. "type": "string"
  19219. },
  19220. "customername": {
  19221. "description": "客户名称(企业名称)",
  19222. "type": "string"
  19223. },
  19224. "userid": {
  19225. "description": "用户ID",
  19226. "type": "integer"
  19227. },
  19228. "userinfotype": {
  19229. "description": "用户信息类型 - 1:个人 2:企业",
  19230. "type": "integer"
  19231. },
  19232. "userstatus": {
  19233. "description": "用户状态 - 1:正常 2:注销",
  19234. "type": "integer"
  19235. }
  19236. }
  19237. },
  19238. "erms3.SoptContractDetail": {
  19239. "type": "object",
  19240. "required": [
  19241. "deliverygoodsid",
  19242. "producttype",
  19243. "unitname",
  19244. "warehouseid",
  19245. "wrstandardid",
  19246. "wrstandardname"
  19247. ],
  19248. "properties": {
  19249. "deliverygoodsdesc": {
  19250. "description": "现货品种说明",
  19251. "type": "string"
  19252. },
  19253. "deliverygoodsid": {
  19254. "description": "现货品种ID",
  19255. "type": "integer"
  19256. },
  19257. "deliverygoodsname": {
  19258. "description": "现货品种名称",
  19259. "type": "string"
  19260. },
  19261. "pointdesc": {
  19262. "description": "点价描述",
  19263. "type": "string"
  19264. },
  19265. "producttype": {
  19266. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19267. "type": "integer"
  19268. },
  19269. "producttypename": {
  19270. "description": "产品类型名称",
  19271. "type": "string"
  19272. },
  19273. "spotPointOrderVoList": {
  19274. "description": "点价列表",
  19275. "type": "array",
  19276. "items": {
  19277. "$ref": "#/definitions/erms3.SpotPointOrder"
  19278. }
  19279. },
  19280. "spotPriceOrderList": {
  19281. "description": "定价列表",
  19282. "type": "array",
  19283. "items": {
  19284. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19285. }
  19286. },
  19287. "unitname": {
  19288. "description": "单位名称",
  19289. "type": "string"
  19290. },
  19291. "warehouseid": {
  19292. "description": "仓库ID",
  19293. "type": "integer"
  19294. },
  19295. "warehousename": {
  19296. "description": "仓库名称",
  19297. "type": "string"
  19298. },
  19299. "wrstandardid": {
  19300. "description": "交易标的ID",
  19301. "type": "integer"
  19302. },
  19303. "wrstandardname": {
  19304. "description": "交易标的名称",
  19305. "type": "string"
  19306. }
  19307. }
  19308. },
  19309. "erms3.SpotPointOrder": {
  19310. "type": "object",
  19311. "required": [
  19312. "basic",
  19313. "goodsid",
  19314. "qty"
  19315. ],
  19316. "properties": {
  19317. "basic": {
  19318. "description": "基差",
  19319. "type": "number"
  19320. },
  19321. "deliveryenddate": {
  19322. "description": "交收结束日期",
  19323. "type": "string"
  19324. },
  19325. "deliverystartdate": {
  19326. "description": "交收开始日期",
  19327. "type": "string"
  19328. },
  19329. "enddate": {
  19330. "description": "点价结束日期",
  19331. "type": "string"
  19332. },
  19333. "goodsid": {
  19334. "description": "商品ID",
  19335. "type": "integer"
  19336. },
  19337. "goodsname": {
  19338. "description": "商品名称",
  19339. "type": "string"
  19340. },
  19341. "qty": {
  19342. "description": "数量",
  19343. "type": "number"
  19344. },
  19345. "startdate": {
  19346. "description": "点价开始日期",
  19347. "type": "string"
  19348. }
  19349. }
  19350. },
  19351. "erms3.SpotPriceOrder": {
  19352. "type": "object",
  19353. "required": [
  19354. "amount",
  19355. "price",
  19356. "qty"
  19357. ],
  19358. "properties": {
  19359. "amount": {
  19360. "description": "金额",
  19361. "type": "number"
  19362. },
  19363. "deliveryenddate": {
  19364. "description": "交收结束日期",
  19365. "type": "string"
  19366. },
  19367. "deliverystartdate": {
  19368. "description": "交收开始日期",
  19369. "type": "string"
  19370. },
  19371. "price": {
  19372. "description": "价格",
  19373. "type": "number"
  19374. },
  19375. "qty": {
  19376. "description": "数量",
  19377. "type": "number"
  19378. }
  19379. }
  19380. },
  19381. "hsby.GetHsbyMyCountRsp": {
  19382. "type": "object",
  19383. "properties": {
  19384. "myCouponCount": {
  19385. "description": "我的优惠卷数量",
  19386. "type": "integer"
  19387. },
  19388. "myOrderDetailListingCount": {
  19389. "description": "我的订单求购中数量",
  19390. "type": "integer"
  19391. },
  19392. "myOrderDetailPreCount": {
  19393. "description": "我的订单抢购中数量",
  19394. "type": "integer"
  19395. },
  19396. "myPackageUnReceiveCount": {
  19397. "description": "我的包裹待收货数量",
  19398. "type": "integer"
  19399. },
  19400. "myPackageUnSendCount": {
  19401. "description": "我的包裹待发货数量",
  19402. "type": "integer"
  19403. },
  19404. "myPayOrderCount": {
  19405. "description": "我的订单待付款数量",
  19406. "type": "integer"
  19407. }
  19408. }
  19409. },
  19410. "hsby.QueryProvincesAndCitiesRsp": {
  19411. "type": "object",
  19412. "properties": {
  19413. "cities": {
  19414. "description": "市",
  19415. "type": "array",
  19416. "items": {
  19417. "$ref": "#/definitions/models.Division"
  19418. }
  19419. },
  19420. "province": {
  19421. "description": "省",
  19422. "$ref": "#/definitions/models.Division"
  19423. }
  19424. }
  19425. },
  19426. "models.Arearole": {
  19427. "type": "object",
  19428. "required": [
  19429. "roletype",
  19430. "userid"
  19431. ],
  19432. "properties": {
  19433. "createtime": {
  19434. "description": "创建时间",
  19435. "type": "string"
  19436. },
  19437. "creatorid": {
  19438. "description": "创建人ID",
  19439. "type": "integer"
  19440. },
  19441. "fromuserid": {
  19442. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19443. "type": "integer"
  19444. },
  19445. "isreturnscore": {
  19446. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19447. "type": "integer"
  19448. },
  19449. "modifierid": {
  19450. "description": "修改人ID",
  19451. "type": "integer"
  19452. },
  19453. "modifytime": {
  19454. "description": "修改时间",
  19455. "type": "string"
  19456. },
  19457. "orgtype": {
  19458. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19459. "type": "integer"
  19460. },
  19461. "outuserid": {
  19462. "description": "外部账户[场外期权做市商]",
  19463. "type": "string"
  19464. },
  19465. "parentuserid": {
  19466. "description": "上级组织机构(组织机构)",
  19467. "type": "integer"
  19468. },
  19469. "roletype": {
  19470. "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:门店",
  19471. "type": "integer"
  19472. },
  19473. "rootuserid": {
  19474. "description": "顶级组织机构用户ID(组织机构)",
  19475. "type": "integer"
  19476. },
  19477. "shoppassword": {
  19478. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19479. "type": "string"
  19480. },
  19481. "sublevelpath": {
  19482. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19483. "type": "string"
  19484. },
  19485. "suborgtype": {
  19486. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19487. "type": "integer"
  19488. },
  19489. "tradeaccountid": {
  19490. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19491. "type": "integer"
  19492. },
  19493. "transurl": {
  19494. "description": "物流地址(物流机构)",
  19495. "type": "string"
  19496. },
  19497. "userid": {
  19498. "description": "机构用户ID其他做市关系,都设置为 1",
  19499. "type": "integer"
  19500. }
  19501. }
  19502. },
  19503. "models.Clientfixedadconfig": {
  19504. "type": "object",
  19505. "required": [
  19506. "adsort",
  19507. "adtype"
  19508. ],
  19509. "properties": {
  19510. "adsort": {
  19511. "description": "排序",
  19512. "type": "integer"
  19513. },
  19514. "adtype": {
  19515. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19516. "type": "integer"
  19517. },
  19518. "areauserid": {
  19519. "description": "所属机构ID",
  19520. "type": "integer"
  19521. },
  19522. "createdate": {
  19523. "description": "创建时间",
  19524. "type": "string"
  19525. },
  19526. "creatorid": {
  19527. "description": "创建人",
  19528. "type": "integer"
  19529. },
  19530. "imagepath": {
  19531. "description": "图片",
  19532. "type": "string"
  19533. },
  19534. "isshow": {
  19535. "description": "是否展示 - 0:不展示 1:展示",
  19536. "type": "integer"
  19537. },
  19538. "modifierid": {
  19539. "description": "操作人",
  19540. "type": "integer"
  19541. },
  19542. "recsize": {
  19543. "description": "推荐尺寸",
  19544. "type": "string"
  19545. },
  19546. "title": {
  19547. "description": "标题",
  19548. "type": "string"
  19549. },
  19550. "updatedate": {
  19551. "description": "更新时间",
  19552. "type": "string"
  19553. },
  19554. "urlcontent": {
  19555. "description": "链接(地址或商品ID)",
  19556. "type": "string"
  19557. },
  19558. "urltype": {
  19559. "description": "链接类型 - 1:直接地址 2:商品ID",
  19560. "type": "integer"
  19561. }
  19562. }
  19563. },
  19564. "models.Division": {
  19565. "type": "object",
  19566. "required": [
  19567. "autoid",
  19568. "divisioncode"
  19569. ],
  19570. "properties": {
  19571. "autoid": {
  19572. "description": "自增ID",
  19573. "type": "integer"
  19574. },
  19575. "divisioncode": {
  19576. "description": "行政代码",
  19577. "type": "string"
  19578. },
  19579. "divisionlevel": {
  19580. "description": "行政级别",
  19581. "type": "string"
  19582. },
  19583. "divisionname": {
  19584. "description": "行政名称",
  19585. "type": "string"
  19586. },
  19587. "modifierid": {
  19588. "description": "修改人",
  19589. "type": "integer"
  19590. },
  19591. "modifytime": {
  19592. "description": "修改时间",
  19593. "type": "string"
  19594. },
  19595. "parentcode": {
  19596. "description": "上级行政代码",
  19597. "type": "string"
  19598. },
  19599. "pathname": {
  19600. "description": "路径名称",
  19601. "type": "string"
  19602. },
  19603. "postcode": {
  19604. "description": "邮政编码",
  19605. "type": "string"
  19606. },
  19607. "separablename": {
  19608. "description": "可拆分的全称",
  19609. "type": "string"
  19610. },
  19611. "shortcode": {
  19612. "description": "地区简码",
  19613. "type": "string"
  19614. }
  19615. }
  19616. },
  19617. "models.Enumdicitem": {
  19618. "type": "object",
  19619. "required": [
  19620. "autoid",
  19621. "enumdiccode",
  19622. "enumdicid",
  19623. "enumitemname"
  19624. ],
  19625. "properties": {
  19626. "autoid": {
  19627. "description": "自增ID",
  19628. "type": "integer"
  19629. },
  19630. "bankmappedvalue": {
  19631. "description": "银行服务对应值",
  19632. "type": "string"
  19633. },
  19634. "enumdiccode": {
  19635. "description": "所属枚举代码",
  19636. "type": "string"
  19637. },
  19638. "enumdicid": {
  19639. "description": "所属枚举ID",
  19640. "type": "integer"
  19641. },
  19642. "enumdicname": {
  19643. "description": "枚举项名称",
  19644. "type": "string"
  19645. },
  19646. "enumitemname": {
  19647. "description": "枚举项值",
  19648. "type": "integer"
  19649. },
  19650. "enumitemstatus": {
  19651. "description": "枚举项状态 - 1.启用 2.不启用",
  19652. "type": "integer"
  19653. },
  19654. "enumitemvalue": {
  19655. "description": "通用值 - [币种通用简写]",
  19656. "type": "string"
  19657. },
  19658. "param1": {
  19659. "description": "参数1[币种:币种小数位]",
  19660. "type": "string"
  19661. },
  19662. "param2": {
  19663. "description": "参数1[币种:币种显示单位]",
  19664. "type": "string"
  19665. },
  19666. "remark": {
  19667. "description": "备注",
  19668. "type": "string"
  19669. }
  19670. }
  19671. },
  19672. "models.Ermcp3AreaSpot": {
  19673. "type": "object",
  19674. "properties": {
  19675. "areauserid": {
  19676. "description": "所属机构",
  19677. "type": "integer"
  19678. },
  19679. "convertratio": {
  19680. "description": "套保系数",
  19681. "type": "number"
  19682. },
  19683. "decreaseqty": {
  19684. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19685. "type": "number"
  19686. },
  19687. "enumdicname": {
  19688. "description": "单位名称",
  19689. "type": "string"
  19690. },
  19691. "increaseqty": {
  19692. "description": "增加数量=销售计划数量+采购已定价数量",
  19693. "type": "number"
  19694. },
  19695. "oritoalspotqty": {
  19696. "description": "昨日数量",
  19697. "type": "number"
  19698. },
  19699. "totalspotqty": {
  19700. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19701. "type": "number"
  19702. },
  19703. "unitid": {
  19704. "description": "现货商品单位id",
  19705. "type": "integer"
  19706. },
  19707. "updatetime": {
  19708. "description": "更新时间",
  19709. "type": "string"
  19710. },
  19711. "wrstandardcode": {
  19712. "description": "现货商品代码",
  19713. "type": "string"
  19714. },
  19715. "wrstandardid": {
  19716. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19717. "type": "integer"
  19718. },
  19719. "wrstandardname": {
  19720. "description": "现货商品名称",
  19721. "type": "string"
  19722. }
  19723. }
  19724. },
  19725. "models.Ermcp3AreaSpotDetail": {
  19726. "type": "object",
  19727. "properties": {
  19728. "contracttype": {
  19729. "description": "合同类型 1-采购 -1-销售",
  19730. "type": "integer"
  19731. },
  19732. "createtime": {
  19733. "description": "创建时间",
  19734. "type": "string"
  19735. },
  19736. "enumdicname": {
  19737. "description": "现货商品单位名称",
  19738. "type": "string"
  19739. },
  19740. "logtype": {
  19741. "description": "记录类型 1-套保 2-现货合同",
  19742. "type": "integer"
  19743. },
  19744. "qty": {
  19745. "description": "数量",
  19746. "type": "number"
  19747. },
  19748. "recordname": {
  19749. "description": "类型名称",
  19750. "type": "string"
  19751. },
  19752. "relatedid": {
  19753. "description": "套保计划ID/现货合同ID",
  19754. "type": "string"
  19755. },
  19756. "relatedno": {
  19757. "description": "编号",
  19758. "type": "string"
  19759. },
  19760. "strtime": {
  19761. "description": "时间",
  19762. "type": "string"
  19763. },
  19764. "wrstandardcode": {
  19765. "description": "现货商品代码",
  19766. "type": "string"
  19767. },
  19768. "wrstandardid": {
  19769. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19770. "type": "integer"
  19771. },
  19772. "wrstandardname": {
  19773. "description": "现货商品名称",
  19774. "type": "string"
  19775. }
  19776. }
  19777. },
  19778. "models.Ermcp3AreaSpotPLReport": {
  19779. "type": "object",
  19780. "properties": {
  19781. "accountid": {
  19782. "description": "期货账户ID (作废, 默认为0)",
  19783. "type": "integer"
  19784. },
  19785. "accountname": {
  19786. "description": "机构名称",
  19787. "type": "string"
  19788. },
  19789. "actualpl": {
  19790. "description": "现货损益",
  19791. "type": "number"
  19792. },
  19793. "areauserid": {
  19794. "description": "所属机构\\交易用户ID",
  19795. "type": "integer"
  19796. },
  19797. "begindate": {
  19798. "description": "开始交易日",
  19799. "type": "string"
  19800. },
  19801. "biztype": {
  19802. "description": "业务类型 - 1:套保 2:套利",
  19803. "type": "integer"
  19804. },
  19805. "brandname": {
  19806. "description": "品牌名称",
  19807. "type": "string"
  19808. },
  19809. "curamount": {
  19810. "description": "期末额",
  19811. "type": "number"
  19812. },
  19813. "curaverageprice": {
  19814. "description": "期末均价",
  19815. "type": "number"
  19816. },
  19817. "curbuyamount": {
  19818. "description": "期末采购总额",
  19819. "type": "number"
  19820. },
  19821. "curbuyqty": {
  19822. "description": "期末采购总量",
  19823. "type": "number"
  19824. },
  19825. "curmarketvalue": {
  19826. "description": "参考市值(期末市值)",
  19827. "type": "number"
  19828. },
  19829. "curqty": {
  19830. "description": "期末量",
  19831. "type": "number"
  19832. },
  19833. "currencyid": {
  19834. "description": "结算币种ID【原值】",
  19835. "type": "integer"
  19836. },
  19837. "currencyname": {
  19838. "description": "币种名称",
  19839. "type": "string"
  19840. },
  19841. "cursellamount": {
  19842. "description": "期末销售总额",
  19843. "type": "number"
  19844. },
  19845. "cursellqty": {
  19846. "description": "期末销售总量",
  19847. "type": "number"
  19848. },
  19849. "curspotprice": {
  19850. "description": "参考市价(最新价)",
  19851. "type": "number"
  19852. },
  19853. "cycletime": {
  19854. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19855. "type": "string"
  19856. },
  19857. "cycletype": {
  19858. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19859. "type": "integer"
  19860. },
  19861. "deliverygoodscode": {
  19862. "description": "现货品种代码",
  19863. "type": "string"
  19864. },
  19865. "deliverygoodsid": {
  19866. "description": "现货品种ID",
  19867. "type": "integer"
  19868. },
  19869. "deliverygoodsname": {
  19870. "description": "现货品种名称",
  19871. "type": "string"
  19872. },
  19873. "enddate": {
  19874. "description": "结束交易日",
  19875. "type": "string"
  19876. },
  19877. "enumdicname": {
  19878. "description": "现货品种单位名称(作废)",
  19879. "type": "string"
  19880. },
  19881. "floatpl": {
  19882. "description": "浮动损益",
  19883. "type": "number"
  19884. },
  19885. "goodsunitid": {
  19886. "description": "现货品种单位id(作废)",
  19887. "type": "integer"
  19888. },
  19889. "oriamount": {
  19890. "description": "期初额",
  19891. "type": "number"
  19892. },
  19893. "oriaverageprice": {
  19894. "description": "期初均价",
  19895. "type": "number"
  19896. },
  19897. "oribuyamount": {
  19898. "description": "期初采购总额",
  19899. "type": "number"
  19900. },
  19901. "oribuyqty": {
  19902. "description": "期初采购总量",
  19903. "type": "number"
  19904. },
  19905. "oriqty": {
  19906. "description": "期初量",
  19907. "type": "number"
  19908. },
  19909. "orisellamount": {
  19910. "description": "期初销售总额",
  19911. "type": "number"
  19912. },
  19913. "orisellqty": {
  19914. "description": "期初销售总量",
  19915. "type": "number"
  19916. },
  19917. "reckondate": {
  19918. "description": "日照时期(yyyyMMdd)",
  19919. "type": "string"
  19920. },
  19921. "spotgoodsbrandid": {
  19922. "description": "现货品牌ID",
  19923. "type": "integer"
  19924. },
  19925. "todaybuyamount": {
  19926. "description": "今日采购额(今采购额)",
  19927. "type": "number"
  19928. },
  19929. "todaybuyaverageprice": {
  19930. "description": "今日采购均价",
  19931. "type": "number"
  19932. },
  19933. "todaybuyqty": {
  19934. "description": "今日采购量(今采购量)",
  19935. "type": "number"
  19936. },
  19937. "todayinqty": {
  19938. "description": "今日入库量(今入库量)",
  19939. "type": "number"
  19940. },
  19941. "todayoutqty": {
  19942. "description": "今日出库量(今出库量)",
  19943. "type": "number"
  19944. },
  19945. "todaysellamount": {
  19946. "description": "今日销售额(今销售额)",
  19947. "type": "number"
  19948. },
  19949. "todaysellaverageprice": {
  19950. "description": "今日销售均价",
  19951. "type": "number"
  19952. },
  19953. "todaysellqty": {
  19954. "description": "今日销售量(今销售量)",
  19955. "type": "number"
  19956. },
  19957. "unitid": {
  19958. "description": "品类单位id",
  19959. "type": "integer"
  19960. },
  19961. "unitidname": {
  19962. "description": "品类单位名称",
  19963. "type": "string"
  19964. },
  19965. "updatetime": {
  19966. "description": "更新时间",
  19967. "type": "string"
  19968. },
  19969. "wrfactortypeid": {
  19970. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19971. "type": "integer"
  19972. },
  19973. "wrstandardcode": {
  19974. "description": "现货商品(品类)代码",
  19975. "type": "string"
  19976. },
  19977. "wrstandardid": {
  19978. "description": "现货品类ID",
  19979. "type": "integer"
  19980. },
  19981. "wrstandardname": {
  19982. "description": "现货商品(品类)名称",
  19983. "type": "string"
  19984. }
  19985. }
  19986. },
  19987. "models.Ermcp3AreaStock": {
  19988. "type": "object",
  19989. "required": [
  19990. "userid"
  19991. ],
  19992. "properties": {
  19993. "brandname": {
  19994. "description": "品牌名称",
  19995. "type": "string"
  19996. },
  19997. "curstock": {
  19998. "description": "期末库存量(今日量)",
  19999. "type": "number"
  20000. },
  20001. "deliverygoodscode": {
  20002. "description": "现货品种代码",
  20003. "type": "string"
  20004. },
  20005. "deliverygoodsid": {
  20006. "description": "现货品种id",
  20007. "type": "integer"
  20008. },
  20009. "deliverygoodsname": {
  20010. "description": "现货品种名称",
  20011. "type": "string"
  20012. },
  20013. "enumdicname": {
  20014. "description": "单位名称",
  20015. "type": "string"
  20016. },
  20017. "goodsunitid": {
  20018. "description": "现货商品单位id",
  20019. "type": "integer"
  20020. },
  20021. "oristock": {
  20022. "description": "期初库存量(昨日量)",
  20023. "type": "number"
  20024. },
  20025. "spotgoodsbrandid": {
  20026. "description": "现货品牌ID",
  20027. "type": "integer"
  20028. },
  20029. "todaybuyinqty": {
  20030. "description": "今日采购入库量",
  20031. "type": "number"
  20032. },
  20033. "todayproduceinqty": {
  20034. "description": "今日生产入库量",
  20035. "type": "number"
  20036. },
  20037. "todayproduceoutqty": {
  20038. "description": "今日生产出库量",
  20039. "type": "number"
  20040. },
  20041. "todayselloutqty": {
  20042. "description": "今日销售出库量",
  20043. "type": "number"
  20044. },
  20045. "unitid": {
  20046. "description": "单位id",
  20047. "type": "integer"
  20048. },
  20049. "updatetime": {
  20050. "description": "更新时间",
  20051. "type": "string"
  20052. },
  20053. "userid": {
  20054. "description": "机构ID",
  20055. "type": "integer"
  20056. },
  20057. "username": {
  20058. "description": "机构名称",
  20059. "type": "string"
  20060. },
  20061. "warehousecode": {
  20062. "description": "仓库代码",
  20063. "type": "string"
  20064. },
  20065. "warehouseinfoid": {
  20066. "description": "仓库ID",
  20067. "type": "string"
  20068. },
  20069. "warehousename": {
  20070. "description": "仓库名称",
  20071. "type": "string"
  20072. },
  20073. "warehousetype": {
  20074. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20075. "type": "integer"
  20076. },
  20077. "wrstandardcode": {
  20078. "description": "品类代码",
  20079. "type": "string"
  20080. },
  20081. "wrstandardid": {
  20082. "description": "品类ID",
  20083. "type": "string"
  20084. },
  20085. "wrstandardname": {
  20086. "description": "品类名称",
  20087. "type": "string"
  20088. }
  20089. }
  20090. },
  20091. "models.Ermcp3AreaStockApply": {
  20092. "type": "object",
  20093. "properties": {
  20094. "applyid": {
  20095. "description": "申请人",
  20096. "type": "integer"
  20097. },
  20098. "applyname": {
  20099. "description": "申请人名称",
  20100. "type": "string"
  20101. },
  20102. "applyremark": {
  20103. "description": "申请备注",
  20104. "type": "string"
  20105. },
  20106. "applysrc": {
  20107. "description": "申请来源 - 1:管理端 2:终端",
  20108. "type": "integer"
  20109. },
  20110. "applystatus": {
  20111. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20112. "type": "integer"
  20113. },
  20114. "applytime": {
  20115. "description": "申请时间",
  20116. "type": "string"
  20117. },
  20118. "auditid": {
  20119. "description": "审核人",
  20120. "type": "integer"
  20121. },
  20122. "auditname": {
  20123. "description": "审核人名称",
  20124. "type": "string"
  20125. },
  20126. "auditremark": {
  20127. "description": "审核备注",
  20128. "type": "string"
  20129. },
  20130. "auditsrc": {
  20131. "description": "审核来源 - 1:管理端 2:终端",
  20132. "type": "integer"
  20133. },
  20134. "audittime": {
  20135. "description": "审核时间",
  20136. "type": "string"
  20137. },
  20138. "audittradedate": {
  20139. "description": "审核交易日(yyyyMMdd)",
  20140. "type": "string"
  20141. },
  20142. "brandname": {
  20143. "description": "品牌名称",
  20144. "type": "string"
  20145. },
  20146. "buynickname": {
  20147. "description": "采购方昵称",
  20148. "type": "string"
  20149. },
  20150. "buyuserid": {
  20151. "description": "采购方userid",
  20152. "type": "integer"
  20153. },
  20154. "buyusername": {
  20155. "description": "采购方名称",
  20156. "type": "string"
  20157. },
  20158. "contractno": {
  20159. "description": "合同编号",
  20160. "type": "string"
  20161. },
  20162. "contractqty": {
  20163. "description": "合同量",
  20164. "type": "number"
  20165. },
  20166. "contracttype": {
  20167. "description": "现货合同类型 - 1:采购 -1:销售",
  20168. "type": "integer"
  20169. },
  20170. "deliverygoodscode": {
  20171. "description": "现货品种代码",
  20172. "type": "string"
  20173. },
  20174. "deliverygoodsid": {
  20175. "description": "现货品种id",
  20176. "type": "integer"
  20177. },
  20178. "deliverygoodsname": {
  20179. "description": "现货品种名称",
  20180. "type": "string"
  20181. },
  20182. "detailjson": {
  20183. "description": "明细数据",
  20184. "type": "string"
  20185. },
  20186. "enumdicname": {
  20187. "description": "现货商品单位名称",
  20188. "type": "string"
  20189. },
  20190. "inoutapplyid": {
  20191. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20192. "type": "string"
  20193. },
  20194. "inouttype": {
  20195. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20196. "type": "integer"
  20197. },
  20198. "pricetype": {
  20199. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20200. "type": "integer"
  20201. },
  20202. "qty": {
  20203. "description": "数量",
  20204. "type": "number"
  20205. },
  20206. "sellnickname": {
  20207. "description": "销售方昵称",
  20208. "type": "string"
  20209. },
  20210. "selluserid": {
  20211. "description": "销售方userid",
  20212. "type": "integer"
  20213. },
  20214. "sellusername": {
  20215. "description": "销售方名称",
  20216. "type": "string"
  20217. },
  20218. "spotcontractid": {
  20219. "description": "关联现货合同ID",
  20220. "type": "string"
  20221. },
  20222. "spotgoodsbrandid": {
  20223. "description": "现货品牌ID",
  20224. "type": "integer"
  20225. },
  20226. "unitid": {
  20227. "description": "单位id",
  20228. "type": "integer"
  20229. },
  20230. "userid": {
  20231. "description": "机构ID",
  20232. "type": "integer"
  20233. },
  20234. "warehousecode": {
  20235. "description": "仓库代码",
  20236. "type": "string"
  20237. },
  20238. "warehouseinfoid": {
  20239. "description": "现货仓库ID",
  20240. "type": "string"
  20241. },
  20242. "warehousename": {
  20243. "description": "仓库名称",
  20244. "type": "string"
  20245. },
  20246. "warehousetype": {
  20247. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20248. "type": "integer"
  20249. },
  20250. "wrstandardcode": {
  20251. "description": "品类代码",
  20252. "type": "string"
  20253. },
  20254. "wrstandardid": {
  20255. "description": "品类ID",
  20256. "type": "integer"
  20257. },
  20258. "wrstandardname": {
  20259. "description": "品类名称",
  20260. "type": "string"
  20261. }
  20262. }
  20263. },
  20264. "models.Ermcp3AreaStockApplySum": {
  20265. "type": "object",
  20266. "properties": {
  20267. "brandname": {
  20268. "description": "品牌名称",
  20269. "type": "string"
  20270. },
  20271. "inouttype": {
  20272. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20273. "type": "integer"
  20274. },
  20275. "spotcontractid": {
  20276. "description": "关联现货合同ID",
  20277. "type": "string"
  20278. },
  20279. "spotgoodsbrandid": {
  20280. "description": "品牌id",
  20281. "type": "integer"
  20282. },
  20283. "totalqty": {
  20284. "description": "总数量",
  20285. "type": "number"
  20286. },
  20287. "wrstandardid": {
  20288. "description": "品类id",
  20289. "type": "integer"
  20290. },
  20291. "wrstandardname": {
  20292. "description": "品类名称",
  20293. "type": "string"
  20294. }
  20295. }
  20296. },
  20297. "models.Ermcp3AreaStockReportEx": {
  20298. "type": "object",
  20299. "properties": {
  20300. "begindate": {
  20301. "description": "开始交易日",
  20302. "type": "string"
  20303. },
  20304. "brandname": {
  20305. "description": "品牌名称",
  20306. "type": "string"
  20307. },
  20308. "curstock": {
  20309. "description": "期末库存量",
  20310. "type": "number"
  20311. },
  20312. "cycletime": {
  20313. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20314. "type": "string"
  20315. },
  20316. "cycletype": {
  20317. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20318. "type": "integer"
  20319. },
  20320. "deliverygoodscode": {
  20321. "description": "现货品种代码",
  20322. "type": "string"
  20323. },
  20324. "deliverygoodsid": {
  20325. "description": "现货品种id",
  20326. "type": "integer"
  20327. },
  20328. "deliverygoodsname": {
  20329. "description": "现货品种名称",
  20330. "type": "string"
  20331. },
  20332. "diffqty": {
  20333. "description": "库存变化量 = 期末 - 期初",
  20334. "type": "number"
  20335. },
  20336. "enddate": {
  20337. "description": "结束交易日",
  20338. "type": "string"
  20339. },
  20340. "enumdicname": {
  20341. "description": "单位名称",
  20342. "type": "string"
  20343. },
  20344. "goodsunitid": {
  20345. "description": "现货单位id",
  20346. "type": "integer"
  20347. },
  20348. "oristock": {
  20349. "description": "期初库存量",
  20350. "type": "number"
  20351. },
  20352. "reckondate": {
  20353. "description": "日照时期(yyyyMMdd)",
  20354. "type": "string"
  20355. },
  20356. "spotgoodsbrandid": {
  20357. "description": "现货品牌ID",
  20358. "type": "integer"
  20359. },
  20360. "todaybuyinqty": {
  20361. "description": "今采购入库量",
  20362. "type": "number"
  20363. },
  20364. "todayproduceinqty": {
  20365. "description": "今内部入库量",
  20366. "type": "number"
  20367. },
  20368. "todayproduceoutqty": {
  20369. "description": "今内部出库量",
  20370. "type": "number"
  20371. },
  20372. "todayselloutqty": {
  20373. "description": "今销售出库量",
  20374. "type": "number"
  20375. },
  20376. "unbuyinqty": {
  20377. "description": "采购未入库量(数据库未找到相关字段?)",
  20378. "type": "number"
  20379. },
  20380. "unitid": {
  20381. "description": "品类单位id",
  20382. "type": "integer"
  20383. },
  20384. "unselloutqty": {
  20385. "description": "销售未出库量(数据库未找到相关字段?)",
  20386. "type": "number"
  20387. },
  20388. "updatetime": {
  20389. "description": "更新时间",
  20390. "type": "string"
  20391. },
  20392. "userid": {
  20393. "description": "机构ID",
  20394. "type": "integer"
  20395. },
  20396. "username": {
  20397. "description": "机构名称",
  20398. "type": "string"
  20399. },
  20400. "warehousecode": {
  20401. "description": "仓库代码",
  20402. "type": "string"
  20403. },
  20404. "warehouseinfoid": {
  20405. "description": "仓库ID",
  20406. "type": "string"
  20407. },
  20408. "warehousename": {
  20409. "description": "仓库名称",
  20410. "type": "string"
  20411. },
  20412. "warehousetype": {
  20413. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20414. "type": "integer"
  20415. },
  20416. "wrstandardcode": {
  20417. "description": "品类代码",
  20418. "type": "string"
  20419. },
  20420. "wrstandardid": {
  20421. "description": "品类ID",
  20422. "type": "integer"
  20423. },
  20424. "wrstandardname": {
  20425. "description": "品类名称",
  20426. "type": "string"
  20427. }
  20428. }
  20429. },
  20430. "models.Ermcp3ArealSumPL": {
  20431. "type": "object",
  20432. "properties": {
  20433. "accountname": {
  20434. "description": "机构名称",
  20435. "type": "string"
  20436. },
  20437. "areauserid": {
  20438. "description": "所属机构\\交易用户ID",
  20439. "type": "integer"
  20440. },
  20441. "begindate": {
  20442. "description": "开始交易日",
  20443. "type": "string"
  20444. },
  20445. "currencyid": {
  20446. "description": "结算币种ID",
  20447. "type": "integer"
  20448. },
  20449. "currencyname": {
  20450. "description": "币种名称",
  20451. "type": "string"
  20452. },
  20453. "cycletime": {
  20454. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20455. "type": "string"
  20456. },
  20457. "cycletype": {
  20458. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20459. "type": "integer"
  20460. },
  20461. "enddate": {
  20462. "description": "结束交易日",
  20463. "type": "string"
  20464. },
  20465. "enumdicname": {
  20466. "description": "单位名称(套保品种)",
  20467. "type": "string"
  20468. },
  20469. "futureactualpl": {
  20470. "description": "期货损益",
  20471. "type": "number"
  20472. },
  20473. "futurefloatpl": {
  20474. "description": "期货浮动损益",
  20475. "type": "number"
  20476. },
  20477. "futurespotratio": {
  20478. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20479. "type": "number"
  20480. },
  20481. "goodsunitid": {
  20482. "description": "套保品种单位id",
  20483. "type": "integer"
  20484. },
  20485. "hedgeexposurepl": {
  20486. "description": "套保敞口损益",
  20487. "type": "number"
  20488. },
  20489. "middlegoodscode": {
  20490. "description": "套保品种代码",
  20491. "type": "string"
  20492. },
  20493. "middlegoodsid": {
  20494. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20495. "type": "integer"
  20496. },
  20497. "middlegoodsname": {
  20498. "description": "套保品种名称",
  20499. "type": "string"
  20500. },
  20501. "reckondate": {
  20502. "description": "日照时期(yyyyMMdd)",
  20503. "type": "string"
  20504. },
  20505. "spotactualpl": {
  20506. "description": "现货损益",
  20507. "type": "number"
  20508. },
  20509. "spotfloatpl": {
  20510. "description": "现货浮动损益",
  20511. "type": "number"
  20512. },
  20513. "sumactualpl": {
  20514. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20515. "type": "number"
  20516. },
  20517. "sumpl": {
  20518. "description": "总敞口损益 | 汇总损益",
  20519. "type": "number"
  20520. },
  20521. "totalfutureqty": {
  20522. "description": "期货头寸总量",
  20523. "type": "number"
  20524. },
  20525. "totalneedhedgeqty": {
  20526. "description": "应套保总量",
  20527. "type": "number"
  20528. },
  20529. "totalspotqty": {
  20530. "description": "现货头寸总量",
  20531. "type": "number"
  20532. },
  20533. "updatetime": {
  20534. "description": "更新时间",
  20535. "type": "string"
  20536. }
  20537. }
  20538. },
  20539. "models.Ermcp3Brand": {
  20540. "type": "object",
  20541. "properties": {
  20542. "areauserid": {
  20543. "description": "用户id",
  20544. "type": "integer"
  20545. },
  20546. "brandid": {
  20547. "description": "品牌id",
  20548. "type": "integer"
  20549. },
  20550. "brandname": {
  20551. "description": "品牌名称",
  20552. "type": "string"
  20553. },
  20554. "deliverygoodsid": {
  20555. "description": "品种ID",
  20556. "type": "integer"
  20557. },
  20558. "isvalid": {
  20559. "description": "是否有效",
  20560. "type": "integer"
  20561. }
  20562. }
  20563. },
  20564. "models.Ermcp3Contract": {
  20565. "type": "object",
  20566. "properties": {
  20567. "accountid": {
  20568. "description": "期货账户id",
  20569. "type": "string"
  20570. },
  20571. "amount": {
  20572. "description": "金额 [1:一口价、3:暂定价]",
  20573. "type": "number"
  20574. },
  20575. "attachment": {
  20576. "description": "附件",
  20577. "type": "string"
  20578. },
  20579. "auditremark": {
  20580. "description": "审核意见",
  20581. "type": "string"
  20582. },
  20583. "audittime": {
  20584. "description": "审核时间",
  20585. "type": "string"
  20586. },
  20587. "biztype": {
  20588. "description": "业务类型 1-套保 2-套利",
  20589. "type": "integer"
  20590. },
  20591. "brandname": {
  20592. "description": "品牌名称",
  20593. "type": "string"
  20594. },
  20595. "buynickname": {
  20596. "description": "销售方昵称",
  20597. "type": "string"
  20598. },
  20599. "buyuserid": {
  20600. "description": "采购方ID",
  20601. "type": "integer"
  20602. },
  20603. "buyusername": {
  20604. "description": "采购方名称",
  20605. "type": "string"
  20606. },
  20607. "contracctstatus": {
  20608. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20609. "type": "integer"
  20610. },
  20611. "contractmargin": {
  20612. "description": "合同保证金",
  20613. "type": "number"
  20614. },
  20615. "contractno": {
  20616. "description": "现货合同编号",
  20617. "type": "string"
  20618. },
  20619. "contracttype": {
  20620. "description": "现货合同类型 - 1:采购 -1:销售",
  20621. "type": "integer"
  20622. },
  20623. "convertfactor": {
  20624. "description": "标仓系数(品类)",
  20625. "type": "number"
  20626. },
  20627. "createtime": {
  20628. "description": "创建时间",
  20629. "type": "string"
  20630. },
  20631. "currencyid": {
  20632. "description": "币种id",
  20633. "type": "integer"
  20634. },
  20635. "currencyname": {
  20636. "description": "币种名称",
  20637. "type": "string"
  20638. },
  20639. "deliveryenddate": {
  20640. "description": "交收期(结束)",
  20641. "type": "string"
  20642. },
  20643. "deliverygoodscode": {
  20644. "description": "现货品种代码",
  20645. "type": "string"
  20646. },
  20647. "deliverygoodsid": {
  20648. "description": "现货品种ID",
  20649. "type": "integer"
  20650. },
  20651. "deliverygoodsname": {
  20652. "description": "现货品种名称",
  20653. "type": "string"
  20654. },
  20655. "deliverystartdate": {
  20656. "description": "交收期(开始)",
  20657. "type": "string"
  20658. },
  20659. "enddate": {
  20660. "description": "点价结束日期 [2:点价 3:暂定价]",
  20661. "type": "string"
  20662. },
  20663. "enumdicname": {
  20664. "description": "单位名称",
  20665. "type": "string"
  20666. },
  20667. "goodscode": {
  20668. "description": "点价合约代码",
  20669. "type": "string"
  20670. },
  20671. "goodsid": {
  20672. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20673. "type": "integer"
  20674. },
  20675. "goodsname": {
  20676. "description": "点价商品名称",
  20677. "type": "string"
  20678. },
  20679. "margin": {
  20680. "description": "当前保证金",
  20681. "type": "number"
  20682. },
  20683. "meruserid": {
  20684. "description": "跟单员id",
  20685. "type": "integer"
  20686. },
  20687. "meruserlogincode": {
  20688. "description": "跟单员登录代码",
  20689. "type": "string"
  20690. },
  20691. "merusername": {
  20692. "description": "跟单员名称",
  20693. "type": "string"
  20694. },
  20695. "pointdesc": {
  20696. "description": "点价备注",
  20697. "type": "string"
  20698. },
  20699. "price": {
  20700. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20701. "type": "number"
  20702. },
  20703. "pricemove": {
  20704. "description": "升贴水 [2:点价 3:暂定价]",
  20705. "type": "number"
  20706. },
  20707. "pricetype": {
  20708. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20709. "type": "integer"
  20710. },
  20711. "producttype": {
  20712. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20713. "type": "integer"
  20714. },
  20715. "qty": {
  20716. "description": "数量",
  20717. "type": "number"
  20718. },
  20719. "remark": {
  20720. "description": "备注",
  20721. "type": "string"
  20722. },
  20723. "saleuserid": {
  20724. "description": "业务员id",
  20725. "type": "integer"
  20726. },
  20727. "saleuserlogincode": {
  20728. "description": "业务员登录代码",
  20729. "type": "string"
  20730. },
  20731. "saleusername": {
  20732. "description": "业务员名称",
  20733. "type": "string"
  20734. },
  20735. "sellnickname": {
  20736. "description": "采购方昵称",
  20737. "type": "string"
  20738. },
  20739. "selluserid": {
  20740. "description": "销售方ID",
  20741. "type": "integer"
  20742. },
  20743. "sellusername": {
  20744. "description": "销售方名称",
  20745. "type": "string"
  20746. },
  20747. "spotcontractid": {
  20748. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20749. "type": "string"
  20750. },
  20751. "spotgoodsbrandid": {
  20752. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20753. "type": "integer"
  20754. },
  20755. "spotgoodsdesc": {
  20756. "description": "商品型号",
  20757. "type": "string"
  20758. },
  20759. "startdate": {
  20760. "description": "点价开始日期 [2:点价 3:暂定价]",
  20761. "type": "string"
  20762. },
  20763. "subjectid": {
  20764. "description": "交易主体ID",
  20765. "type": "integer"
  20766. },
  20767. "subjectname": {
  20768. "description": "交易主体名称",
  20769. "type": "string"
  20770. },
  20771. "tradeuserid": {
  20772. "description": "交易员id",
  20773. "type": "integer"
  20774. },
  20775. "tradeuserlogincode": {
  20776. "description": "交易员登录代码",
  20777. "type": "string"
  20778. },
  20779. "tradeusername": {
  20780. "description": "交易员名称",
  20781. "type": "string"
  20782. },
  20783. "unitid": {
  20784. "description": "单位id(取品类上的单位id)",
  20785. "type": "integer"
  20786. },
  20787. "updatetime": {
  20788. "description": "更新时间",
  20789. "type": "string"
  20790. },
  20791. "userid": {
  20792. "description": "所属机构ID",
  20793. "type": "integer"
  20794. },
  20795. "vatrate": {
  20796. "description": "增值税率",
  20797. "type": "number"
  20798. },
  20799. "wrstandardcode": {
  20800. "description": "品类代码",
  20801. "type": "string"
  20802. },
  20803. "wrstandardid": {
  20804. "description": "品类ID",
  20805. "type": "integer"
  20806. },
  20807. "wrstandardname": {
  20808. "description": "品类名称",
  20809. "type": "string"
  20810. }
  20811. }
  20812. },
  20813. "models.Ermcp3ExposureContractDetail": {
  20814. "type": "object",
  20815. "properties": {
  20816. "biztype": {
  20817. "description": "业务类型 1-套保 2-套利",
  20818. "type": "integer"
  20819. },
  20820. "brandname": {
  20821. "description": "品牌名称",
  20822. "type": "string"
  20823. },
  20824. "buyuserid": {
  20825. "description": "采购方id",
  20826. "type": "integer"
  20827. },
  20828. "buyusername": {
  20829. "description": "采购方名称",
  20830. "type": "string"
  20831. },
  20832. "contractno": {
  20833. "description": "合同编号",
  20834. "type": "string"
  20835. },
  20836. "contracttype": {
  20837. "description": "现货合同类型 - 1:采购 -1:销售",
  20838. "type": "integer"
  20839. },
  20840. "convertfactor": {
  20841. "description": "标仓系数",
  20842. "type": "number"
  20843. },
  20844. "convertratio": {
  20845. "description": "折算系数(套保品种)",
  20846. "type": "number"
  20847. },
  20848. "curqty": {
  20849. "description": "今定价量",
  20850. "type": "number"
  20851. },
  20852. "deliverygoodscode": {
  20853. "description": "现货品种代码",
  20854. "type": "string"
  20855. },
  20856. "deliverygoodsid": {
  20857. "description": "现货品种id",
  20858. "type": "integer"
  20859. },
  20860. "deliverygoodsname": {
  20861. "description": "现货品种名称",
  20862. "type": "string"
  20863. },
  20864. "diffhedgeqty": {
  20865. "description": "套保变动量",
  20866. "type": "number"
  20867. },
  20868. "diffneedhedgeqty": {
  20869. "description": "应套保变动量",
  20870. "type": "number"
  20871. },
  20872. "diffqty": {
  20873. "description": "套保品种今变动量",
  20874. "type": "number"
  20875. },
  20876. "enumdicname": {
  20877. "description": "单位名称",
  20878. "type": "string"
  20879. },
  20880. "mgunitname": {
  20881. "description": "套保品种单位名称",
  20882. "type": "string"
  20883. },
  20884. "middlegoodscode": {
  20885. "description": "套保品种代码",
  20886. "type": "string"
  20887. },
  20888. "middlegoodsid": {
  20889. "description": "套保品种id",
  20890. "type": "integer"
  20891. },
  20892. "middlegoodsname": {
  20893. "description": "套保品种名称",
  20894. "type": "string"
  20895. },
  20896. "needarbitrageratio": {
  20897. "description": "应套利比例",
  20898. "type": "number"
  20899. },
  20900. "needhedgeratio": {
  20901. "description": "应套保比例",
  20902. "type": "number"
  20903. },
  20904. "pricedqty": {
  20905. "description": "已定价量",
  20906. "type": "number"
  20907. },
  20908. "qty": {
  20909. "description": "合同量",
  20910. "type": "number"
  20911. },
  20912. "selluserid": {
  20913. "description": "销售方id",
  20914. "type": "integer"
  20915. },
  20916. "sellusername": {
  20917. "description": "销售方名称",
  20918. "type": "string"
  20919. },
  20920. "spotcontractid": {
  20921. "description": "合同id",
  20922. "type": "string"
  20923. },
  20924. "todaypricedqty": {
  20925. "description": "今定价量",
  20926. "type": "number"
  20927. },
  20928. "tradedate": {
  20929. "description": "交易日",
  20930. "type": "string"
  20931. },
  20932. "unitid": {
  20933. "description": "品类单位id",
  20934. "type": "integer"
  20935. },
  20936. "userid": {
  20937. "description": "机构id",
  20938. "type": "integer"
  20939. },
  20940. "username": {
  20941. "description": "交易用户",
  20942. "type": "string"
  20943. },
  20944. "wrstandardcode": {
  20945. "description": "现货商品代码",
  20946. "type": "string"
  20947. },
  20948. "wrstandardid": {
  20949. "description": "现货商品id",
  20950. "type": "integer"
  20951. },
  20952. "wrstandardname": {
  20953. "description": "现货商品名称",
  20954. "type": "string"
  20955. }
  20956. }
  20957. },
  20958. "models.Ermcp3ExposureDetail": {
  20959. "type": "object",
  20960. "properties": {
  20961. "areauserid": {
  20962. "description": "机构ID",
  20963. "type": "integer"
  20964. },
  20965. "changeQty": {
  20966. "description": "套保变动量",
  20967. "type": "number"
  20968. },
  20969. "contracttype": {
  20970. "description": "现货合同类型 - 1:采购 -1:销售",
  20971. "type": "integer"
  20972. },
  20973. "convertfactor": {
  20974. "description": "标仓系数",
  20975. "type": "number"
  20976. },
  20977. "convertratio": {
  20978. "description": "折算系数",
  20979. "type": "number"
  20980. },
  20981. "createtime": {
  20982. "description": "时间",
  20983. "type": "string"
  20984. },
  20985. "enumdicname": {
  20986. "description": "现货商品单位名称",
  20987. "type": "string"
  20988. },
  20989. "logtype": {
  20990. "description": "类型 - 1:套保计划 2:现货合同",
  20991. "type": "integer"
  20992. },
  20993. "mgunitid": {
  20994. "description": "套保品种单位id",
  20995. "type": "integer"
  20996. },
  20997. "mgunitidname": {
  20998. "description": "套保品种单位名称",
  20999. "type": "string"
  21000. },
  21001. "middlegoodsId": {
  21002. "description": "套保商品id",
  21003. "type": "integer"
  21004. },
  21005. "middlegoodscode": {
  21006. "description": "套保商品代码",
  21007. "type": "string"
  21008. },
  21009. "middlegoodsname": {
  21010. "description": "套保商品名称",
  21011. "type": "string"
  21012. },
  21013. "qty": {
  21014. "description": "数量",
  21015. "type": "number"
  21016. },
  21017. "relateNo": {
  21018. "description": "现货合同/套保计划编号",
  21019. "type": "string"
  21020. },
  21021. "unitid": {
  21022. "description": "现货商品单位id",
  21023. "type": "integer"
  21024. },
  21025. "wrstandardcode": {
  21026. "description": "现货商品代码",
  21027. "type": "string"
  21028. },
  21029. "wrstandardid": {
  21030. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21031. "type": "integer"
  21032. },
  21033. "wrstandardname": {
  21034. "description": "现货商品名称",
  21035. "type": "string"
  21036. }
  21037. }
  21038. },
  21039. "models.Ermcp3ExposureFutuDetail": {
  21040. "type": "object",
  21041. "properties": {
  21042. "accountid": {
  21043. "description": "交易账户id",
  21044. "type": "integer"
  21045. },
  21046. "accountname": {
  21047. "description": "交易账户",
  21048. "type": "string"
  21049. },
  21050. "begindate": {
  21051. "description": "开始交易日",
  21052. "type": "string"
  21053. },
  21054. "buyorsell": {
  21055. "description": "方向 0-买 1-卖",
  21056. "type": "integer"
  21057. },
  21058. "diffmgqty": {
  21059. "description": "套保品种今变化量",
  21060. "type": "number"
  21061. },
  21062. "diffneedqty": {
  21063. "description": "应套保总量变化量",
  21064. "type": "number"
  21065. },
  21066. "difftradeqty": {
  21067. "description": "交易品种今变化量",
  21068. "type": "number"
  21069. },
  21070. "enddate": {
  21071. "description": "结束交易日",
  21072. "type": "string"
  21073. },
  21074. "enumdicname": {
  21075. "description": "单位名称",
  21076. "type": "string"
  21077. },
  21078. "goodscode": {
  21079. "description": "商品代码",
  21080. "type": "string"
  21081. },
  21082. "goodsid": {
  21083. "description": "商品id",
  21084. "type": "integer"
  21085. },
  21086. "goodsname": {
  21087. "description": "商品名称",
  21088. "type": "string"
  21089. },
  21090. "holdqty": {
  21091. "description": "期末持仓量",
  21092. "type": "number"
  21093. },
  21094. "middlegoodscode": {
  21095. "description": "套保商品代码",
  21096. "type": "string"
  21097. },
  21098. "middlegoodsid": {
  21099. "description": "套保商品id",
  21100. "type": "integer"
  21101. },
  21102. "middlegoodsname": {
  21103. "description": "套保商品名称",
  21104. "type": "string"
  21105. },
  21106. "oriholdqty": {
  21107. "description": "期初持仓量",
  21108. "type": "number"
  21109. },
  21110. "todaycloseqty": {
  21111. "description": "今平仓量",
  21112. "type": "number"
  21113. },
  21114. "todayopenqty": {
  21115. "description": "今开仓量",
  21116. "type": "number"
  21117. },
  21118. "tradedate": {
  21119. "description": "交易日",
  21120. "type": "string"
  21121. },
  21122. "username": {
  21123. "description": "用户名称(交易用户)",
  21124. "type": "string"
  21125. }
  21126. }
  21127. },
  21128. "models.Ermcp3ExposureHedgeplanDetail": {
  21129. "type": "object",
  21130. "properties": {
  21131. "biztype": {
  21132. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21133. "type": "integer"
  21134. },
  21135. "changqty": {
  21136. "description": "应套保总量变化量",
  21137. "type": "number"
  21138. },
  21139. "contracttype": {
  21140. "description": "计划类型 - 1:采购 -1:销售",
  21141. "type": "integer"
  21142. },
  21143. "convertratio": {
  21144. "description": "折算系数(套保品种)",
  21145. "type": "number"
  21146. },
  21147. "deliverygoodscode": {
  21148. "description": "现货商品代码",
  21149. "type": "string"
  21150. },
  21151. "deliverygoodsid": {
  21152. "description": "现货商品id",
  21153. "type": "integer"
  21154. },
  21155. "deliverygoodsname": {
  21156. "description": "现货商吕名称",
  21157. "type": "string"
  21158. },
  21159. "dgunitid": {
  21160. "description": "现货商品单位id",
  21161. "type": "integer"
  21162. },
  21163. "dgunitidname": {
  21164. "description": "单位名称(现货商品)",
  21165. "type": "string"
  21166. },
  21167. "diffqty": {
  21168. "description": "套保品种今变动量",
  21169. "type": "number"
  21170. },
  21171. "enumdicname": {
  21172. "description": "单位名称(品类)",
  21173. "type": "string"
  21174. },
  21175. "hedgeplanid": {
  21176. "description": "套保计划id",
  21177. "type": "string"
  21178. },
  21179. "hedgeplanno": {
  21180. "description": "套保计划名称",
  21181. "type": "string"
  21182. },
  21183. "hedgeplanstatus": {
  21184. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21185. "type": "integer"
  21186. },
  21187. "mgunitidname": {
  21188. "description": "单位名称(套保商品)",
  21189. "type": "string"
  21190. },
  21191. "middlegoodscode": {
  21192. "description": "套保品种代码",
  21193. "type": "string"
  21194. },
  21195. "middlegoodsid": {
  21196. "description": "套保品种id",
  21197. "type": "integer"
  21198. },
  21199. "middlegoodsname": {
  21200. "description": "套保品种名称",
  21201. "type": "string"
  21202. },
  21203. "needarbitrageratio": {
  21204. "description": "应套利比例",
  21205. "type": "number"
  21206. },
  21207. "needhedgeratio": {
  21208. "description": "应套保比例",
  21209. "type": "number"
  21210. },
  21211. "pricedqty": {
  21212. "description": "已定价量",
  21213. "type": "number"
  21214. },
  21215. "qty": {
  21216. "description": "合同量",
  21217. "type": "number"
  21218. },
  21219. "tradedate": {
  21220. "description": "交易日(登记日)",
  21221. "type": "string"
  21222. },
  21223. "unitid": {
  21224. "description": "品类单位id",
  21225. "type": "integer"
  21226. },
  21227. "userid": {
  21228. "description": "机构id",
  21229. "type": "integer"
  21230. },
  21231. "wrstandardcode": {
  21232. "description": "品类代码",
  21233. "type": "string"
  21234. },
  21235. "wrstandardid": {
  21236. "description": "品类id",
  21237. "type": "integer"
  21238. },
  21239. "wrstandardname": {
  21240. "description": "品类名称",
  21241. "type": "string"
  21242. }
  21243. }
  21244. },
  21245. "models.Ermcp3ExposureParamChLog": {
  21246. "type": "object",
  21247. "properties": {
  21248. "accountid": {
  21249. "description": "期货账户ID (作废, 默认为0)",
  21250. "type": "integer"
  21251. },
  21252. "aftervalue": {
  21253. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21254. "type": "number"
  21255. },
  21256. "areauserid": {
  21257. "description": "所属机构\\交易用户ID",
  21258. "type": "integer"
  21259. },
  21260. "beforevalue": {
  21261. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21262. "type": "number"
  21263. },
  21264. "begindate": {
  21265. "description": "开始交易日",
  21266. "type": "string"
  21267. },
  21268. "changelogtype": {
  21269. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21270. "type": "integer"
  21271. },
  21272. "curvalue": {
  21273. "description": "当前套保\\套利量(套保总量|套利总量)",
  21274. "type": "number"
  21275. },
  21276. "diffvalue": {
  21277. "description": "应套保总量变化量",
  21278. "type": "number"
  21279. },
  21280. "enddate": {
  21281. "description": "结束交易日",
  21282. "type": "string"
  21283. },
  21284. "logdatetime": {
  21285. "description": "流水日期",
  21286. "type": "string"
  21287. },
  21288. "logid": {
  21289. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21290. "type": "string"
  21291. },
  21292. "middlegoodscode": {
  21293. "description": "套保品种代码",
  21294. "type": "string"
  21295. },
  21296. "middlegoodsid": {
  21297. "description": "套保品种",
  21298. "type": "integer"
  21299. },
  21300. "middlegoodsname": {
  21301. "description": "套保品种名称",
  21302. "type": "string"
  21303. },
  21304. "paramaftervalue": {
  21305. "description": "参数变更后(调整后参数值)",
  21306. "type": "number"
  21307. },
  21308. "parambeforevalue": {
  21309. "description": "参数变更前(调整前参数值)",
  21310. "type": "number"
  21311. },
  21312. "tradedate": {
  21313. "description": "交易日(yyyyMMdd)",
  21314. "type": "string"
  21315. }
  21316. }
  21317. },
  21318. "models.Ermcp3ExpourseReport": {
  21319. "type": "object",
  21320. "properties": {
  21321. "accountid": {
  21322. "description": "期货账户ID (作废, 默认为0)",
  21323. "type": "integer"
  21324. },
  21325. "accountname": {
  21326. "description": "机构名称",
  21327. "type": "string"
  21328. },
  21329. "arbitrageqty": {
  21330. "description": "套利量",
  21331. "type": "number"
  21332. },
  21333. "areauserid": {
  21334. "description": "所属机构\\交易用户ID",
  21335. "type": "integer"
  21336. },
  21337. "begindate": {
  21338. "description": "开始交易日",
  21339. "type": "string"
  21340. },
  21341. "buyfutureqty": {
  21342. "description": "买入期货数量",
  21343. "type": "number"
  21344. },
  21345. "buyplanqty": {
  21346. "description": "采购计划数量",
  21347. "type": "number"
  21348. },
  21349. "buypricedqty": {
  21350. "description": "采购合同已定价数量",
  21351. "type": "number"
  21352. },
  21353. "cycletime": {
  21354. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21355. "type": "string"
  21356. },
  21357. "cycletype": {
  21358. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21359. "type": "integer"
  21360. },
  21361. "diffexposure": {
  21362. "description": "变动量(套保敞口)",
  21363. "type": "number"
  21364. },
  21365. "difffutuqty": {
  21366. "description": "变动量(期货)",
  21367. "type": "number"
  21368. },
  21369. "diffhedgeqty": {
  21370. "description": "变动量(现货应套保总量)",
  21371. "type": "number"
  21372. },
  21373. "diffmgqtya": {
  21374. "description": "套保变动量",
  21375. "type": "number"
  21376. },
  21377. "diffmgqtyb": {
  21378. "description": "套利变动量",
  21379. "type": "number"
  21380. },
  21381. "diffqty": {
  21382. "description": "变动量(总敞口)",
  21383. "type": "number"
  21384. },
  21385. "diffspotqty": {
  21386. "description": "变动量(现货)",
  21387. "type": "number"
  21388. },
  21389. "enddate": {
  21390. "description": "结束交易日",
  21391. "type": "string"
  21392. },
  21393. "enumdicname": {
  21394. "description": "单位名称",
  21395. "type": "string"
  21396. },
  21397. "hedgeqty": {
  21398. "description": "套保量",
  21399. "type": "number"
  21400. },
  21401. "mgneedhedgeratio": {
  21402. "description": "套保比例(套保品的)",
  21403. "type": "number"
  21404. },
  21405. "middlegoodsid": {
  21406. "description": "套保品种ID",
  21407. "type": "integer"
  21408. },
  21409. "middlegoodsname": {
  21410. "description": "套保商品名称",
  21411. "type": "string"
  21412. },
  21413. "middlgoodscode": {
  21414. "description": "套保商品代码",
  21415. "type": "string"
  21416. },
  21417. "needarbitrageqty": {
  21418. "description": "应套利量",
  21419. "type": "number"
  21420. },
  21421. "needarbitrageratio": {
  21422. "description": "套利比例(套保品的)",
  21423. "type": "number"
  21424. },
  21425. "needhedgeexposoure": {
  21426. "description": "应套保敞口(套保敞口)",
  21427. "type": "number"
  21428. },
  21429. "needhedgeqty": {
  21430. "description": "应套保量",
  21431. "type": "number"
  21432. },
  21433. "needhedgeratio": {
  21434. "description": "应套保敞口比例",
  21435. "type": "number"
  21436. },
  21437. "oriarbitrageqty": {
  21438. "description": "期初套利量",
  21439. "type": "number"
  21440. },
  21441. "oribuyfutureqty": {
  21442. "description": "期初买入期货数量",
  21443. "type": "number"
  21444. },
  21445. "oribuyplanqty": {
  21446. "description": "期初采购计划数量",
  21447. "type": "number"
  21448. },
  21449. "oribuypricedqty": {
  21450. "description": "期初采购合同已定价数量",
  21451. "type": "number"
  21452. },
  21453. "orihedgeqty": {
  21454. "description": "期初套保量",
  21455. "type": "number"
  21456. },
  21457. "orineedarbitrageqty": {
  21458. "description": "期初应套利量",
  21459. "type": "number"
  21460. },
  21461. "orineedhedgeexposoure": {
  21462. "description": "期初应套保敞口",
  21463. "type": "number"
  21464. },
  21465. "orineedhedgeqty": {
  21466. "description": "期初应套保量",
  21467. "type": "number"
  21468. },
  21469. "orisellfutureqty": {
  21470. "description": "期初卖出期货数量",
  21471. "type": "number"
  21472. },
  21473. "orisellplanqty": {
  21474. "description": "期初销售计划数量",
  21475. "type": "number"
  21476. },
  21477. "orisellpricedqty": {
  21478. "description": "期初销售合同已定价数量",
  21479. "type": "number"
  21480. },
  21481. "oritotalexposure": {
  21482. "description": "期初实时总敞口",
  21483. "type": "number"
  21484. },
  21485. "oritotalfutureqty": {
  21486. "description": "期初期货头寸总量",
  21487. "type": "number"
  21488. },
  21489. "oritotalneedhedgeqty": {
  21490. "description": "期初应套保总量",
  21491. "type": "number"
  21492. },
  21493. "oritotalspotqty": {
  21494. "description": "期初现货头寸总量",
  21495. "type": "number"
  21496. },
  21497. "reckondate": {
  21498. "description": "日照时期(yyyyMMdd)",
  21499. "type": "string"
  21500. },
  21501. "sellfutureqty": {
  21502. "description": "卖出期货数量",
  21503. "type": "number"
  21504. },
  21505. "sellplanqty": {
  21506. "description": "销售计划数量",
  21507. "type": "number"
  21508. },
  21509. "sellpricedqty": {
  21510. "description": "销售合同已定价数量",
  21511. "type": "number"
  21512. },
  21513. "totalexposure": {
  21514. "description": "实时总敞口(总敞口)",
  21515. "type": "number"
  21516. },
  21517. "totalfutureqty": {
  21518. "description": "期货头寸总量(期货总量)",
  21519. "type": "number"
  21520. },
  21521. "totalhedgeratio": {
  21522. "description": "敞口比例",
  21523. "type": "number"
  21524. },
  21525. "totalneedhedgeqty": {
  21526. "description": "应套保总量(现货应套保总量)",
  21527. "type": "number"
  21528. },
  21529. "totalspotqty": {
  21530. "description": "现货头寸总量",
  21531. "type": "number"
  21532. },
  21533. "unitid": {
  21534. "description": "单位id",
  21535. "type": "integer"
  21536. },
  21537. "updatetime": {
  21538. "description": "更新时间",
  21539. "type": "string"
  21540. }
  21541. }
  21542. },
  21543. "models.Ermcp3FinanceReport": {
  21544. "type": "object",
  21545. "properties": {
  21546. "accountname": {
  21547. "description": "机构名称",
  21548. "type": "string"
  21549. },
  21550. "areauserid": {
  21551. "description": "所属机构\\交易用户ID",
  21552. "type": "integer"
  21553. },
  21554. "begindate": {
  21555. "description": "开始交易日",
  21556. "type": "string"
  21557. },
  21558. "biztype": {
  21559. "description": "业务类型 - 1:套保 2:套利",
  21560. "type": "integer"
  21561. },
  21562. "brandname": {
  21563. "description": "品牌名称",
  21564. "type": "string"
  21565. },
  21566. "buypreinvoicedamount": {
  21567. "description": "采购预收票额(预收票额)",
  21568. "type": "number"
  21569. },
  21570. "buyprepaidamount": {
  21571. "description": "采购预付款额(预付货款额)",
  21572. "type": "number"
  21573. },
  21574. "buytodayinvoiceamount": {
  21575. "description": "采购今收票额(今收票额)",
  21576. "type": "number"
  21577. },
  21578. "buytodayrefundamount": {
  21579. "description": "采购今收退款额(今收退款额)",
  21580. "type": "number"
  21581. },
  21582. "buytodaysettleamount": {
  21583. "description": "采购今付款额(今付货款额)",
  21584. "type": "number"
  21585. },
  21586. "buyuninvoicedamount": {
  21587. "description": "采购应收票额(应收票额)",
  21588. "type": "number"
  21589. },
  21590. "buyunpaidamount": {
  21591. "description": "采购应付款额(应付货款额)",
  21592. "type": "number"
  21593. },
  21594. "currencyid": {
  21595. "description": "结算币种ID",
  21596. "type": "integer"
  21597. },
  21598. "currencyname": {
  21599. "description": "币种名称",
  21600. "type": "string"
  21601. },
  21602. "cycletime": {
  21603. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21604. "type": "string"
  21605. },
  21606. "cycletype": {
  21607. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21608. "type": "integer"
  21609. },
  21610. "deliverygoodscode": {
  21611. "description": "现货品种代码",
  21612. "type": "string"
  21613. },
  21614. "deliverygoodsid": {
  21615. "description": "现货品种ID",
  21616. "type": "integer"
  21617. },
  21618. "deliverygoodsname": {
  21619. "description": "现货品种名称",
  21620. "type": "string"
  21621. },
  21622. "enddate": {
  21623. "description": "结束交易日",
  21624. "type": "string"
  21625. },
  21626. "reckondate": {
  21627. "description": "日照时期(yyyyMMdd)",
  21628. "type": "string"
  21629. },
  21630. "sellpreinvoicedamount": {
  21631. "description": "销售预开票额(预开票额)",
  21632. "type": "number"
  21633. },
  21634. "sellprepaidamount": {
  21635. "description": "销售预收款额(预收货款额)",
  21636. "type": "number"
  21637. },
  21638. "selltodayinvoiceamount": {
  21639. "description": "销售今开票额(今开票额)",
  21640. "type": "number"
  21641. },
  21642. "selltodayrefundamount": {
  21643. "description": "销售今付退款额(今付退款额)",
  21644. "type": "number"
  21645. },
  21646. "selltodaysettleamount": {
  21647. "description": "销售今收款额(今收货款额)",
  21648. "type": "number"
  21649. },
  21650. "selluninvoicedamount": {
  21651. "description": "销售应开票额(应开票额)",
  21652. "type": "number"
  21653. },
  21654. "sellunpaidamount": {
  21655. "description": "销售应收款额(应收货款额)",
  21656. "type": "number"
  21657. },
  21658. "spotgoodsbrandid": {
  21659. "description": "现货品牌ID",
  21660. "type": "integer"
  21661. },
  21662. "todaypaysum": {
  21663. "description": "今付款合计",
  21664. "type": "number"
  21665. },
  21666. "todayreceivesum": {
  21667. "description": "今收款合计",
  21668. "type": "number"
  21669. },
  21670. "updatetime": {
  21671. "description": "更新时间",
  21672. "type": "string"
  21673. },
  21674. "wrfactortypeid": {
  21675. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21676. "type": "integer"
  21677. },
  21678. "wrstandardcode": {
  21679. "description": "品类代码",
  21680. "type": "string"
  21681. },
  21682. "wrstandardid": {
  21683. "description": "现货商品ID",
  21684. "type": "integer"
  21685. },
  21686. "wrstandardname": {
  21687. "description": "品类名称",
  21688. "type": "string"
  21689. }
  21690. }
  21691. },
  21692. "models.Ermcp3GoodsGroup": {
  21693. "type": "object",
  21694. "required": [
  21695. "areauserid"
  21696. ],
  21697. "properties": {
  21698. "agreeunit": {
  21699. "description": "合约单位",
  21700. "type": "number"
  21701. },
  21702. "areauserid": {
  21703. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21704. "type": "integer"
  21705. },
  21706. "canshort": {
  21707. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21708. "type": "integer"
  21709. },
  21710. "closepricemode": {
  21711. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21712. "type": "integer"
  21713. },
  21714. "createtime": {
  21715. "description": "创建时间",
  21716. "type": "string"
  21717. },
  21718. "creatorid": {
  21719. "description": "创建人",
  21720. "type": "integer"
  21721. },
  21722. "currencyid": {
  21723. "description": "报价货币ID",
  21724. "type": "integer"
  21725. },
  21726. "decimalplace": {
  21727. "description": "报价小数位",
  21728. "type": "integer"
  21729. },
  21730. "enumdicname": {
  21731. "description": "单位名称",
  21732. "type": "string"
  21733. },
  21734. "exchangefullname": {
  21735. "description": "交易所全称",
  21736. "type": "string"
  21737. },
  21738. "excludecfg": {
  21739. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21740. "type": "integer"
  21741. },
  21742. "exexchangecode": {
  21743. "description": "交易所代码",
  21744. "type": "string"
  21745. },
  21746. "exexchangeid": {
  21747. "description": "外部交易所ID[通道交易]",
  21748. "type": "integer"
  21749. },
  21750. "exexchangename": {
  21751. "description": "交易所名称",
  21752. "type": "string"
  21753. },
  21754. "goodsgroupid": {
  21755. "description": "商品组ID(自增ID)",
  21756. "type": "integer"
  21757. },
  21758. "goodsgroupname": {
  21759. "description": "商品组名称",
  21760. "type": "string"
  21761. },
  21762. "goodsgroupstatus": {
  21763. "description": "商品组状态 - 1:正常 2:注销",
  21764. "type": "integer"
  21765. },
  21766. "goodunitid": {
  21767. "description": "报价单位ID",
  21768. "type": "integer"
  21769. },
  21770. "groupcategroyid": {
  21771. "description": "品种分类ID",
  21772. "type": "integer"
  21773. },
  21774. "innerdealmode": {
  21775. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21776. "type": "integer"
  21777. },
  21778. "marketid": {
  21779. "description": "所属市场ID",
  21780. "type": "integer"
  21781. },
  21782. "modifierid": {
  21783. "description": "修改人",
  21784. "type": "integer"
  21785. },
  21786. "modifytime": {
  21787. "description": "修改时间",
  21788. "type": "string"
  21789. },
  21790. "outerdealmode": {
  21791. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21792. "type": "integer"
  21793. },
  21794. "outergroupcode": {
  21795. "description": "外部商品组代码[通道交易]",
  21796. "type": "string"
  21797. },
  21798. "quoteminunit": {
  21799. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21800. "type": "integer"
  21801. },
  21802. "quotesourcegroupid": {
  21803. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21804. "type": "integer"
  21805. },
  21806. "syncgoodsqty": {
  21807. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21808. "type": "integer"
  21809. }
  21810. }
  21811. },
  21812. "models.Ermcp3HedgePlan": {
  21813. "type": "object",
  21814. "properties": {
  21815. "accountid": {
  21816. "description": "资金账号",
  21817. "type": "integer"
  21818. },
  21819. "areauserid": {
  21820. "description": "用户ID",
  21821. "type": "integer"
  21822. },
  21823. "auditid": {
  21824. "description": "审核id",
  21825. "type": "integer"
  21826. },
  21827. "auditname": {
  21828. "description": "审核人名称",
  21829. "type": "string"
  21830. },
  21831. "auditremark": {
  21832. "description": "审核备注",
  21833. "type": "string"
  21834. },
  21835. "auditsrc": {
  21836. "description": "审核来源 1-管理端 2-终端",
  21837. "type": "integer"
  21838. },
  21839. "audittime": {
  21840. "description": "审核时间",
  21841. "type": "string"
  21842. },
  21843. "contracttype": {
  21844. "description": "计划类型 - 1:采购 -1:销售",
  21845. "type": "integer"
  21846. },
  21847. "convertfactor": {
  21848. "description": "标仓系数",
  21849. "type": "number"
  21850. },
  21851. "createtime": {
  21852. "description": "创建时间",
  21853. "type": "string"
  21854. },
  21855. "currencyid": {
  21856. "description": "币种id",
  21857. "type": "integer"
  21858. },
  21859. "currencyname": {
  21860. "description": "币种名称",
  21861. "type": "string"
  21862. },
  21863. "deliverygoodscode": {
  21864. "description": "现货品种代码",
  21865. "type": "string"
  21866. },
  21867. "deliverygoodsid": {
  21868. "description": "现货品种ID",
  21869. "type": "integer"
  21870. },
  21871. "deliverygoodsname": {
  21872. "description": "现货品种名称",
  21873. "type": "string"
  21874. },
  21875. "enumdicname": {
  21876. "description": "单位名称(现货商品)",
  21877. "type": "string"
  21878. },
  21879. "hedgeplanid": {
  21880. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21881. "type": "string"
  21882. },
  21883. "hedgeplanno": {
  21884. "description": "套保计划编号(名称)",
  21885. "type": "string"
  21886. },
  21887. "hedgeplanstatus": {
  21888. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21889. "type": "integer"
  21890. },
  21891. "planqty": {
  21892. "description": "计划数量",
  21893. "type": "number"
  21894. },
  21895. "plantime": {
  21896. "description": "计划时间",
  21897. "type": "string"
  21898. },
  21899. "producttype": {
  21900. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21901. "type": "integer"
  21902. },
  21903. "remark": {
  21904. "description": "备注",
  21905. "type": "string"
  21906. },
  21907. "spotgoodsdesc": {
  21908. "description": "商品型号",
  21909. "type": "string"
  21910. },
  21911. "taaccountname": {
  21912. "description": "资金账号名称",
  21913. "type": "string"
  21914. },
  21915. "tradeuserid": {
  21916. "description": "交易用户id",
  21917. "type": "integer"
  21918. },
  21919. "tradeusername": {
  21920. "description": "交易用户名称",
  21921. "type": "string"
  21922. },
  21923. "unitid": {
  21924. "description": "单位id(现货商品)",
  21925. "type": "integer"
  21926. },
  21927. "updatetime": {
  21928. "description": "更新时间",
  21929. "type": "string"
  21930. },
  21931. "vatrate": {
  21932. "description": "增值税率",
  21933. "type": "number"
  21934. },
  21935. "wrstandardcode": {
  21936. "description": "品类代码",
  21937. "type": "string"
  21938. },
  21939. "wrstandardid": {
  21940. "description": "品类id",
  21941. "type": "integer"
  21942. },
  21943. "wrstandardname": {
  21944. "description": "品类名称",
  21945. "type": "string"
  21946. },
  21947. "wrunitid": {
  21948. "description": "品类单位id",
  21949. "type": "integer"
  21950. },
  21951. "wrunitidame": {
  21952. "description": "品类单位名称",
  21953. "type": "string"
  21954. }
  21955. }
  21956. },
  21957. "models.Ermcp3InnerTradeLink": {
  21958. "type": "object",
  21959. "properties": {
  21960. "accountid": {
  21961. "description": "期货账号代码 | 资金账号ID",
  21962. "type": "integer"
  21963. },
  21964. "buyorsell": {
  21965. "description": "方向 - 0:买 1:卖",
  21966. "type": "integer"
  21967. },
  21968. "channelbuildtype": {
  21969. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21970. "type": "integer"
  21971. },
  21972. "currencyid": {
  21973. "description": "币种id",
  21974. "type": "integer"
  21975. },
  21976. "currencyname": {
  21977. "description": "结算币种 名称",
  21978. "type": "string"
  21979. },
  21980. "goodscode": {
  21981. "description": "商品代码",
  21982. "type": "string"
  21983. },
  21984. "goodsid": {
  21985. "description": "商品ID",
  21986. "type": "integer"
  21987. },
  21988. "goodsname": {
  21989. "description": "商品名称",
  21990. "type": "string"
  21991. },
  21992. "outtradeid": {
  21993. "description": "外部成交单号",
  21994. "type": "string"
  21995. },
  21996. "taname": {
  21997. "description": "期货账户名称",
  21998. "type": "string"
  21999. },
  22000. "tradeid": {
  22001. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22002. "type": "string"
  22003. },
  22004. "tradeprice": {
  22005. "description": "成交价格",
  22006. "type": "number"
  22007. },
  22008. "tradeqty": {
  22009. "description": "期货成交数量",
  22010. "type": "integer"
  22011. },
  22012. "tradetime": {
  22013. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22014. "type": "string"
  22015. },
  22016. "username": {
  22017. "description": "用户名称",
  22018. "type": "string"
  22019. }
  22020. }
  22021. },
  22022. "models.Ermcp3OutTradeLink": {
  22023. "type": "object",
  22024. "properties": {
  22025. "buyorsell": {
  22026. "description": "买卖方向 - 0:买 1:卖",
  22027. "type": "integer"
  22028. },
  22029. "channelbuildtype": {
  22030. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22031. "type": "integer"
  22032. },
  22033. "currencyname": {
  22034. "description": "币种名称",
  22035. "type": "string"
  22036. },
  22037. "exexchangecode": {
  22038. "description": "交易所代码",
  22039. "type": "string"
  22040. },
  22041. "exexchangename": {
  22042. "description": "交易所名称",
  22043. "type": "string"
  22044. },
  22045. "goodscode": {
  22046. "description": "合约代码",
  22047. "type": "string"
  22048. },
  22049. "goodsid": {
  22050. "description": "合约id",
  22051. "type": "integer"
  22052. },
  22053. "goodsname": {
  22054. "description": "合约名称",
  22055. "type": "string"
  22056. },
  22057. "hasinnerorder": {
  22058. "description": "是否有内部单关联 - 0:无 1:有",
  22059. "type": "integer"
  22060. },
  22061. "hedgeaccountcode": {
  22062. "description": "外部账号 | 对冲账号",
  22063. "type": "string"
  22064. },
  22065. "outtradeid": {
  22066. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22067. "type": "string"
  22068. },
  22069. "tradeprice": {
  22070. "description": "成交价格",
  22071. "type": "number"
  22072. },
  22073. "tradeqty": {
  22074. "description": "成交数量",
  22075. "type": "integer"
  22076. },
  22077. "tradetime": {
  22078. "description": "成交时间",
  22079. "type": "string"
  22080. }
  22081. }
  22082. },
  22083. "models.Ermcp3PaAreaAuditCfg": {
  22084. "type": "object",
  22085. "properties": {
  22086. "areauserid": {
  22087. "description": "用户ID",
  22088. "type": "integer"
  22089. },
  22090. "buyinauditflag": {
  22091. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22092. "type": "integer"
  22093. },
  22094. "costratioauditflag": {
  22095. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22096. "type": "integer"
  22097. },
  22098. "customerauditflag": {
  22099. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22100. "type": "integer"
  22101. },
  22102. "deliveryauditflag": {
  22103. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22104. "type": "integer"
  22105. },
  22106. "invoiceauditflag": {
  22107. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22108. "type": "integer"
  22109. },
  22110. "mgneedhedgeratioauditflag": {
  22111. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22112. "type": "integer"
  22113. },
  22114. "moneyauditflag": {
  22115. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22116. "type": "integer"
  22117. },
  22118. "operatorid": {
  22119. "description": "操作人",
  22120. "type": "integer"
  22121. },
  22122. "operatorsrc": {
  22123. "description": "操作来源 - 1:管理端 2:终端",
  22124. "type": "integer"
  22125. },
  22126. "pointpriceauditflag": {
  22127. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22128. "type": "integer"
  22129. },
  22130. "produceinauditflag": {
  22131. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22132. "type": "integer"
  22133. },
  22134. "produceoutauditflag": {
  22135. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22136. "type": "integer"
  22137. },
  22138. "selloutauditflag": {
  22139. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22140. "type": "integer"
  22141. },
  22142. "sgconvertratioauditflag": {
  22143. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22144. "type": "integer"
  22145. },
  22146. "sgvtaratioauditflag": {
  22147. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22148. "type": "integer"
  22149. },
  22150. "spotcontractauditflag": {
  22151. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22152. "type": "integer"
  22153. },
  22154. "updatetime": {
  22155. "description": "更新时间",
  22156. "type": "string"
  22157. }
  22158. }
  22159. },
  22160. "models.Ermcp3PaAreaSubject": {
  22161. "type": "object",
  22162. "properties": {
  22163. "areauserid": {
  22164. "description": "所属机构",
  22165. "type": "integer"
  22166. },
  22167. "canmodify": {
  22168. "description": "是否可修改 - 0:否 1:是",
  22169. "type": "integer"
  22170. },
  22171. "createtime": {
  22172. "description": "创建时间",
  22173. "type": "string"
  22174. },
  22175. "creatorid": {
  22176. "description": "创建人ID",
  22177. "type": "string"
  22178. },
  22179. "creatorsrc": {
  22180. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22181. "type": "integer"
  22182. },
  22183. "modifierid": {
  22184. "description": "修改人",
  22185. "type": "string"
  22186. },
  22187. "modifiersrc": {
  22188. "description": "修改人来源 - 1:管理端 2:终端",
  22189. "type": "integer"
  22190. },
  22191. "modifytime": {
  22192. "description": "修改时间",
  22193. "type": "string"
  22194. },
  22195. "parentsubjectid": {
  22196. "description": "上级主体ID",
  22197. "type": "string"
  22198. },
  22199. "remark": {
  22200. "description": "备注",
  22201. "type": "string"
  22202. },
  22203. "subjectid": {
  22204. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22205. "type": "integer"
  22206. },
  22207. "subjectname": {
  22208. "description": "主体名称",
  22209. "type": "string"
  22210. },
  22211. "subjectstatus": {
  22212. "description": "主体状态 - 1:正常 2: 停用",
  22213. "type": "integer"
  22214. },
  22215. "subjecttype": {
  22216. "description": "主体类型 - 1:交易主体 2:业务部门",
  22217. "type": "integer"
  22218. }
  22219. }
  22220. },
  22221. "models.Ermcp3PaTradeLink": {
  22222. "type": "object",
  22223. "properties": {
  22224. "accountid": {
  22225. "description": "期货账户代码 | 账号ID",
  22226. "type": "integer"
  22227. },
  22228. "agreeunit": {
  22229. "description": "合约乘数",
  22230. "type": "number"
  22231. },
  22232. "buyorsell": {
  22233. "description": "方向 - 0:买 1:卖",
  22234. "type": "integer"
  22235. },
  22236. "channelbuildtype": {
  22237. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22238. "type": "integer"
  22239. },
  22240. "charge": {
  22241. "description": "手续费",
  22242. "type": "number"
  22243. },
  22244. "closepl": {
  22245. "description": "平仓盈亏",
  22246. "type": "number"
  22247. },
  22248. "closetype": {
  22249. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22250. "type": "integer"
  22251. },
  22252. "convertratio": {
  22253. "description": "折算系数",
  22254. "type": "number"
  22255. },
  22256. "enumdicname": {
  22257. "description": "单位名称",
  22258. "type": "string"
  22259. },
  22260. "executeprice": {
  22261. "description": "执行价 [期权]",
  22262. "type": "integer"
  22263. },
  22264. "goodscode": {
  22265. "description": "合约代码",
  22266. "type": "string"
  22267. },
  22268. "goodsgroupid": {
  22269. "description": "对冲品种ID[期货合约商品组ID]",
  22270. "type": "integer"
  22271. },
  22272. "goodsid": {
  22273. "description": "商品ID",
  22274. "type": "integer"
  22275. },
  22276. "goodsname": {
  22277. "description": "合约名称",
  22278. "type": "string"
  22279. },
  22280. "goodunitid": {
  22281. "description": "单位id",
  22282. "type": "integer"
  22283. },
  22284. "hedgeflag": {
  22285. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22286. "type": "integer"
  22287. },
  22288. "marketid": {
  22289. "description": "市场ID",
  22290. "type": "integer"
  22291. },
  22292. "middlegoodsid": {
  22293. "description": "套保品种ID",
  22294. "type": "integer"
  22295. },
  22296. "middlegoodsqty": {
  22297. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22298. "type": "number"
  22299. },
  22300. "optioncode": {
  22301. "description": "期权代码 [期权]",
  22302. "type": "string"
  22303. },
  22304. "ordertype": {
  22305. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22306. "type": "integer"
  22307. },
  22308. "ordertypename": {
  22309. "description": "订单类型",
  22310. "type": "string"
  22311. },
  22312. "parentaccountid": {
  22313. "description": "所属母账户",
  22314. "type": "integer"
  22315. },
  22316. "premium": {
  22317. "description": "权利金 [期权]",
  22318. "type": "number"
  22319. },
  22320. "relatedlot": {
  22321. "description": "已关联数量(已关联数量手) | db:关联手数",
  22322. "type": "number"
  22323. },
  22324. "relatedouttradeid": {
  22325. "description": "关联外部成交单ID",
  22326. "type": "string"
  22327. },
  22328. "relatedqty": {
  22329. "description": "关联数量",
  22330. "type": "number"
  22331. },
  22332. "spotcontractid": {
  22333. "description": "现货合同ID [4:套期保值\\10\\11]",
  22334. "type": "string"
  22335. },
  22336. "taname": {
  22337. "description": "期货账户名称",
  22338. "type": "string"
  22339. },
  22340. "tradeamount": {
  22341. "description": "成交金额(账户)",
  22342. "type": "number"
  22343. },
  22344. "tradedate": {
  22345. "description": "交易日(yyyyMMdd)",
  22346. "type": "string"
  22347. },
  22348. "tradeid": {
  22349. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22350. "type": "string"
  22351. },
  22352. "tradelot": {
  22353. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22354. "type": "integer"
  22355. },
  22356. "tradeprice": {
  22357. "description": "成交价格",
  22358. "type": "number"
  22359. },
  22360. "tradetime": {
  22361. "description": "时间 | db:成交时间",
  22362. "type": "string"
  22363. },
  22364. "tradetype": {
  22365. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22366. "type": "integer"
  22367. },
  22368. "userid": {
  22369. "description": "所属机构 - 所属母账户的UserID",
  22370. "type": "string"
  22371. },
  22372. "username": {
  22373. "description": "用户名称",
  22374. "type": "string"
  22375. }
  22376. }
  22377. },
  22378. "models.Ermcp3ParamChangeApp": {
  22379. "type": "object",
  22380. "properties": {
  22381. "aftervalue": {
  22382. "description": "变更后",
  22383. "type": "number"
  22384. },
  22385. "applicationid": {
  22386. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22387. "type": "string"
  22388. },
  22389. "applyid": {
  22390. "description": "申请人",
  22391. "type": "string"
  22392. },
  22393. "applyname": {
  22394. "description": "申请人名称(代码)",
  22395. "type": "string"
  22396. },
  22397. "applyremark": {
  22398. "description": "申请备注",
  22399. "type": "string"
  22400. },
  22401. "applysrc": {
  22402. "description": "申请来源 - 1:管理端 2:终端",
  22403. "type": "integer"
  22404. },
  22405. "applystatus": {
  22406. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22407. "type": "integer"
  22408. },
  22409. "applytime": {
  22410. "description": "申请时间",
  22411. "type": "string"
  22412. },
  22413. "areauserid": {
  22414. "description": "所属机构用户ID",
  22415. "type": "integer"
  22416. },
  22417. "auditid": {
  22418. "description": "审核人",
  22419. "type": "string"
  22420. },
  22421. "auditname": {
  22422. "description": "审核人名称(代码)",
  22423. "type": "string"
  22424. },
  22425. "auditremark": {
  22426. "description": "审核备注",
  22427. "type": "string"
  22428. },
  22429. "auditsrc": {
  22430. "description": "审核来源 - 1:管理端 2:终端",
  22431. "type": "integer"
  22432. },
  22433. "audittime": {
  22434. "description": "审核时间",
  22435. "type": "string"
  22436. },
  22437. "audittradedate": {
  22438. "description": "审核交易日(yyyyMMdd)",
  22439. "type": "string"
  22440. },
  22441. "beforevalue": {
  22442. "description": "变更前",
  22443. "type": "number"
  22444. },
  22445. "deliverygoodscode": {
  22446. "description": "品种代码",
  22447. "type": "string"
  22448. },
  22449. "deliverygoodsid": {
  22450. "description": "品种id",
  22451. "type": "integer"
  22452. },
  22453. "deliverygoodsname": {
  22454. "description": "品种名称",
  22455. "type": "string"
  22456. },
  22457. "middlegoodscode": {
  22458. "description": "套保品种代码",
  22459. "type": "string"
  22460. },
  22461. "middlegoodsid": {
  22462. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22463. "type": "integer"
  22464. },
  22465. "middlegoodsname": {
  22466. "description": "套保品种名称",
  22467. "type": "string"
  22468. },
  22469. "operatetype": {
  22470. "description": "操作类型 - 1:新增 2:修改",
  22471. "type": "integer"
  22472. },
  22473. "paramchangetype": {
  22474. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22475. "type": "integer"
  22476. },
  22477. "wrstandardcode": {
  22478. "description": "现货商品代码",
  22479. "type": "string"
  22480. },
  22481. "wrstandardid": {
  22482. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22483. "type": "integer"
  22484. },
  22485. "wrstandardname": {
  22486. "description": "现货商品名称",
  22487. "type": "string"
  22488. }
  22489. }
  22490. },
  22491. "models.Ermcp3RootUserAccount": {
  22492. "type": "object",
  22493. "properties": {
  22494. "accountname": {
  22495. "description": "账户名称(机构名称)",
  22496. "type": "string"
  22497. },
  22498. "accountstatus": {
  22499. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22500. "type": "integer"
  22501. },
  22502. "applysrc": {
  22503. "description": "申请来源 - 1:管理端 2:终端",
  22504. "type": "integer"
  22505. },
  22506. "auditremark": {
  22507. "description": "审核备注",
  22508. "type": "string"
  22509. },
  22510. "auditsrc": {
  22511. "description": "审核来源 - 1:管理端 2:终端",
  22512. "type": "integer"
  22513. },
  22514. "audittime": {
  22515. "description": "审核时间",
  22516. "type": "string"
  22517. },
  22518. "audituserid": {
  22519. "description": "审核人",
  22520. "type": "integer"
  22521. },
  22522. "broker": {
  22523. "description": "所属经纪人ID",
  22524. "type": "integer"
  22525. },
  22526. "canceltime": {
  22527. "description": "销户时间",
  22528. "type": "string"
  22529. },
  22530. "canceluserid": {
  22531. "description": "销户人",
  22532. "type": "integer"
  22533. },
  22534. "canrecommend": {
  22535. "description": "是否可推荐 - 0:不可 1;可",
  22536. "type": "integer"
  22537. },
  22538. "createtime": {
  22539. "description": "创建时间",
  22540. "type": "string"
  22541. },
  22542. "creatorid": {
  22543. "description": "创建人",
  22544. "type": "integer"
  22545. },
  22546. "hasauth": {
  22547. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22548. "type": "integer"
  22549. },
  22550. "isanonymous": {
  22551. "description": "是否匿名下单 - 0:否 1:是",
  22552. "type": "integer"
  22553. },
  22554. "maxinvestornum": {
  22555. "description": "最大用户数(经纪会员下投资者个数)",
  22556. "type": "integer"
  22557. },
  22558. "memberuserid": {
  22559. "description": "所属会员ID",
  22560. "type": "integer"
  22561. },
  22562. "modifierid": {
  22563. "description": "修改人",
  22564. "type": "integer"
  22565. },
  22566. "modifyremark": {
  22567. "description": "变更备注",
  22568. "type": "string"
  22569. },
  22570. "modifystatus": {
  22571. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22572. "type": "integer"
  22573. },
  22574. "modifytime": {
  22575. "description": "修改时间",
  22576. "type": "string"
  22577. },
  22578. "nickname": {
  22579. "description": "昵称",
  22580. "type": "string"
  22581. },
  22582. "parenttopuser": {
  22583. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22584. "type": "string"
  22585. },
  22586. "parentuserid": {
  22587. "description": "所属机构ID",
  22588. "type": "integer"
  22589. },
  22590. "reckonaccountid": {
  22591. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22592. "type": "integer"
  22593. },
  22594. "refercount": {
  22595. "description": "推荐总人数",
  22596. "type": "integer"
  22597. },
  22598. "refereeuserid": {
  22599. "description": "推荐人ID",
  22600. "type": "integer"
  22601. },
  22602. "refernum": {
  22603. "description": "推荐码",
  22604. "type": "string"
  22605. },
  22606. "rootuserid": {
  22607. "description": "根用户ID",
  22608. "type": "integer"
  22609. },
  22610. "subaccountlevel": {
  22611. "description": "子账户层数",
  22612. "type": "integer"
  22613. },
  22614. "subarealevelpath": {
  22615. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22616. "type": "string"
  22617. },
  22618. "userid": {
  22619. "description": "用户ID",
  22620. "type": "integer"
  22621. },
  22622. "usertype": {
  22623. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22624. "type": "integer"
  22625. }
  22626. }
  22627. },
  22628. "models.Ermcp3SCMiddleGoods": {
  22629. "type": "object",
  22630. "properties": {
  22631. "biztype": {
  22632. "description": "业务类型 1:套保 2:套利",
  22633. "type": "integer"
  22634. },
  22635. "contractno": {
  22636. "description": "合同编号",
  22637. "type": "string"
  22638. },
  22639. "contracttype": {
  22640. "description": "合同类型 1:采购 -1:销售",
  22641. "type": "integer"
  22642. },
  22643. "convertratio": {
  22644. "description": "折算系数",
  22645. "type": "number"
  22646. },
  22647. "customername": {
  22648. "description": "对手手名称",
  22649. "type": "string"
  22650. },
  22651. "customeruserid": {
  22652. "description": "对手id",
  22653. "type": "integer"
  22654. },
  22655. "deliverygoodscode": {
  22656. "description": "现货品种代码",
  22657. "type": "string"
  22658. },
  22659. "deliverygoodsid": {
  22660. "description": "现货品种ID",
  22661. "type": "integer"
  22662. },
  22663. "deliverygoodsname": {
  22664. "description": "现货品种名称",
  22665. "type": "string"
  22666. },
  22667. "enumdicname": {
  22668. "description": "现货单位名称",
  22669. "type": "string"
  22670. },
  22671. "middlegoodsid": {
  22672. "description": "套保品种ID",
  22673. "type": "integer"
  22674. },
  22675. "middlegoodspricedqty3": {
  22676. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22677. "type": "number"
  22678. },
  22679. "needhedgeratio": {
  22680. "description": "套保比例",
  22681. "type": "number"
  22682. },
  22683. "pricedqty": {
  22684. "description": "已定价量",
  22685. "type": "number"
  22686. },
  22687. "relatedmiddlegoodsqty": {
  22688. "description": "已关联量(套保品种)(期货)",
  22689. "type": "number"
  22690. },
  22691. "spotcontractid": {
  22692. "description": "合同编号",
  22693. "type": "string"
  22694. },
  22695. "unitid": {
  22696. "description": "现货单位id",
  22697. "type": "integer"
  22698. },
  22699. "userid": {
  22700. "description": "用户id",
  22701. "type": "integer"
  22702. },
  22703. "vatrate": {
  22704. "description": "增值税率",
  22705. "type": "number"
  22706. },
  22707. "wrstandardcode": {
  22708. "description": "现货商品代码",
  22709. "type": "string"
  22710. },
  22711. "wrstandardid": {
  22712. "description": "现货商品id",
  22713. "type": "integer"
  22714. },
  22715. "wrstandardname": {
  22716. "description": "现货商品名称",
  22717. "type": "string"
  22718. }
  22719. }
  22720. },
  22721. "models.Ermcp3SCMiddleGoodsReport": {
  22722. "type": "object",
  22723. "properties": {
  22724. "begindate": {
  22725. "description": "开始交易日",
  22726. "type": "string"
  22727. },
  22728. "contractno": {
  22729. "description": "合同编号",
  22730. "type": "string"
  22731. },
  22732. "contracttype": {
  22733. "description": "合同类型 1:采购 -1:销售",
  22734. "type": "integer"
  22735. },
  22736. "convertratio": {
  22737. "description": "折算系数",
  22738. "type": "number"
  22739. },
  22740. "cycletime": {
  22741. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22742. "type": "string"
  22743. },
  22744. "cycletype": {
  22745. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22746. "type": "integer"
  22747. },
  22748. "deliverygoodscode": {
  22749. "description": "品种代码",
  22750. "type": "string"
  22751. },
  22752. "deliverygoodsid": {
  22753. "description": "现货品种ID",
  22754. "type": "integer"
  22755. },
  22756. "deliverygoodsname": {
  22757. "description": "品种名称",
  22758. "type": "string"
  22759. },
  22760. "diffprice": {
  22761. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22762. "type": "number"
  22763. },
  22764. "diffqty": {
  22765. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22766. "type": "number"
  22767. },
  22768. "enddate": {
  22769. "description": "结束交易日",
  22770. "type": "string"
  22771. },
  22772. "hedgeplanqty": {
  22773. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22774. "type": "number"
  22775. },
  22776. "matchname": {
  22777. "description": "交易对手方(个人:用户名称 企业:简称)",
  22778. "type": "string"
  22779. },
  22780. "middlegoodscode": {
  22781. "description": "套保品种代码",
  22782. "type": "string"
  22783. },
  22784. "middlegoodsid": {
  22785. "description": "套保品种ID",
  22786. "type": "integer"
  22787. },
  22788. "middlegoodsname": {
  22789. "description": "套保品种名称",
  22790. "type": "string"
  22791. },
  22792. "middlegoodspricedqty": {
  22793. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22794. "type": "number"
  22795. },
  22796. "middlegoodspricedqty2": {
  22797. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22798. "type": "number"
  22799. },
  22800. "middlegoodspricedqty3": {
  22801. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22802. "type": "number"
  22803. },
  22804. "needhedgeratio": {
  22805. "description": "套保系数",
  22806. "type": "number"
  22807. },
  22808. "pricedamount": {
  22809. "description": "已定价额(现货)",
  22810. "type": "number"
  22811. },
  22812. "pricedamount2": {
  22813. "description": "已定价额(现货-基价额)",
  22814. "type": "number"
  22815. },
  22816. "pricedqty": {
  22817. "description": "已定价量(现货)",
  22818. "type": "number"
  22819. },
  22820. "reckondate": {
  22821. "description": "日照时期(yyyyMMdd)",
  22822. "type": "string"
  22823. },
  22824. "relatedmiddlegoodsamount": {
  22825. "description": "已关联额(期货)",
  22826. "type": "number"
  22827. },
  22828. "relatedmiddlegoodsqty": {
  22829. "description": "已关联量(套保品种)(期货)",
  22830. "type": "number"
  22831. },
  22832. "spotcontractid": {
  22833. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22834. "type": "string"
  22835. },
  22836. "todayavgfutuprice": {
  22837. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22838. "type": "number"
  22839. },
  22840. "todayavgprice": {
  22841. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22842. "type": "number"
  22843. },
  22844. "todayavgprice2": {
  22845. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22846. "type": "number"
  22847. },
  22848. "todaypricedamount": {
  22849. "description": "今日定价额(现货)",
  22850. "type": "number"
  22851. },
  22852. "todaypricedamount2": {
  22853. "description": "今日定价额(现货-基价额)",
  22854. "type": "number"
  22855. },
  22856. "todaypricedqty": {
  22857. "description": "今日定价量(现货)",
  22858. "type": "number"
  22859. },
  22860. "todayrelatedfutureqty": {
  22861. "description": "今日关联量(期货)",
  22862. "type": "number"
  22863. },
  22864. "todayrelatedmiddlegoodsamount": {
  22865. "description": "今日关联额(期货)",
  22866. "type": "number"
  22867. },
  22868. "todayrelatedmiddlegoodsqty": {
  22869. "description": "今日关联量(套保品-期货)",
  22870. "type": "number"
  22871. },
  22872. "updatetime": {
  22873. "description": "更新时间",
  22874. "type": "string"
  22875. },
  22876. "userid": {
  22877. "description": "合同所属用户id",
  22878. "type": "integer"
  22879. },
  22880. "vatrate": {
  22881. "description": "增值税率",
  22882. "type": "number"
  22883. },
  22884. "wrstandardcode": {
  22885. "description": "商品(品类) 代码",
  22886. "type": "string"
  22887. },
  22888. "wrstandardid": {
  22889. "description": "现货商品ID",
  22890. "type": "integer"
  22891. },
  22892. "wrstandardname": {
  22893. "description": "商品(品类) 名称",
  22894. "type": "string"
  22895. }
  22896. }
  22897. },
  22898. "models.Ermcp3SellBuyContract": {
  22899. "type": "object",
  22900. "properties": {
  22901. "accountid": {
  22902. "description": "期货账户id",
  22903. "type": "string"
  22904. },
  22905. "accountname": {
  22906. "description": "账户名称",
  22907. "type": "string"
  22908. },
  22909. "attachment": {
  22910. "description": "附件",
  22911. "type": "string"
  22912. },
  22913. "audittime": {
  22914. "description": "审核时间",
  22915. "type": "string"
  22916. },
  22917. "bizsubjectid": {
  22918. "description": "归属业务部门ID - SubjectID",
  22919. "type": "integer"
  22920. },
  22921. "biztype": {
  22922. "description": "业务类型 1-套保 2-套利",
  22923. "type": "integer"
  22924. },
  22925. "brandname": {
  22926. "description": "品牌名称",
  22927. "type": "string"
  22928. },
  22929. "contracctstatus": {
  22930. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22931. "type": "integer"
  22932. },
  22933. "contractmargin": {
  22934. "description": "合同保证金",
  22935. "type": "number"
  22936. },
  22937. "contractno": {
  22938. "description": "合同编号",
  22939. "type": "string"
  22940. },
  22941. "contracttype": {
  22942. "description": "合同类型 1-采购, -1-销售",
  22943. "type": "integer"
  22944. },
  22945. "convertfactor": {
  22946. "description": "标仓系数(品类)",
  22947. "type": "number"
  22948. },
  22949. "createtime": {
  22950. "description": "创建时间",
  22951. "type": "string"
  22952. },
  22953. "currencyid": {
  22954. "description": "币种id",
  22955. "type": "integer"
  22956. },
  22957. "currencyname": {
  22958. "description": "币种名称",
  22959. "type": "string"
  22960. },
  22961. "daikaiamount": {
  22962. "description": "应收(开)票额",
  22963. "type": "number"
  22964. },
  22965. "deliveryenddate": {
  22966. "description": "交割结束日",
  22967. "type": "string"
  22968. },
  22969. "deliverygoodscode": {
  22970. "description": "现货品种代码",
  22971. "type": "string"
  22972. },
  22973. "deliverygoodsid": {
  22974. "description": "现货商品ID",
  22975. "type": "integer"
  22976. },
  22977. "deliverygoodsname": {
  22978. "description": "现货品种名称",
  22979. "type": "string"
  22980. },
  22981. "deliverystartdate": {
  22982. "description": "交割开始日",
  22983. "type": "string"
  22984. },
  22985. "enddate": {
  22986. "description": "点价结束日",
  22987. "type": "string"
  22988. },
  22989. "enumdicname": {
  22990. "description": "单位名称",
  22991. "type": "string"
  22992. },
  22993. "goodscode": {
  22994. "description": "点价商品代码",
  22995. "type": "string"
  22996. },
  22997. "goodsgroupid": {
  22998. "description": "点价商品组id",
  22999. "type": "integer"
  23000. },
  23001. "goodsid": {
  23002. "description": "点价商品ID",
  23003. "type": "integer"
  23004. },
  23005. "goodsname": {
  23006. "description": "点价商品名称",
  23007. "type": "string"
  23008. },
  23009. "invoiceamount": {
  23010. "description": "已开票额",
  23011. "type": "number"
  23012. },
  23013. "loanamount": {
  23014. "description": "贷款总额=已定价额+调整金额",
  23015. "type": "number"
  23016. },
  23017. "margin": {
  23018. "description": "保证金",
  23019. "type": "number"
  23020. },
  23021. "meruserid": {
  23022. "description": "跟单员id",
  23023. "type": "integer"
  23024. },
  23025. "meruserlogincode": {
  23026. "description": "跟单员登录代码",
  23027. "type": "string"
  23028. },
  23029. "merusername": {
  23030. "description": "跟单员名称",
  23031. "type": "string"
  23032. },
  23033. "nickname": {
  23034. "description": "账户昵称",
  23035. "type": "string"
  23036. },
  23037. "orireckonrealqty": {
  23038. "description": "应交收量",
  23039. "type": "number"
  23040. },
  23041. "payamount": {
  23042. "description": "已收付额(收款或付款)",
  23043. "type": "number"
  23044. },
  23045. "preinvoiceamount": {
  23046. "description": "预收(开)票额",
  23047. "type": "number"
  23048. },
  23049. "prepayamount": {
  23050. "description": "预收付额",
  23051. "type": "number"
  23052. },
  23053. "price": {
  23054. "description": "价格",
  23055. "type": "number"
  23056. },
  23057. "pricedamount": {
  23058. "description": "已定价额",
  23059. "type": "number"
  23060. },
  23061. "pricedavg": {
  23062. "description": "已点均价",
  23063. "type": "number"
  23064. },
  23065. "pricedqty": {
  23066. "description": "已定价量",
  23067. "type": "number"
  23068. },
  23069. "pricemove": {
  23070. "description": "升贴水",
  23071. "type": "number"
  23072. },
  23073. "pricetype": {
  23074. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23075. "type": "integer"
  23076. },
  23077. "producttype": {
  23078. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23079. "type": "integer"
  23080. },
  23081. "qty": {
  23082. "description": "合同量",
  23083. "type": "number"
  23084. },
  23085. "reckonadjustamount": {
  23086. "description": "调整金额",
  23087. "type": "number"
  23088. },
  23089. "reckonedamount": {
  23090. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23091. "type": "number"
  23092. },
  23093. "reckonotheramount": {
  23094. "description": "其它费用",
  23095. "type": "number"
  23096. },
  23097. "reckonrealqty": {
  23098. "description": "已交收量",
  23099. "type": "number"
  23100. },
  23101. "remark": {
  23102. "description": "备注",
  23103. "type": "string"
  23104. },
  23105. "saleuserid": {
  23106. "description": "业务员id",
  23107. "type": "integer"
  23108. },
  23109. "saleuserlogincode": {
  23110. "description": "业务员登录代码",
  23111. "type": "string"
  23112. },
  23113. "saleusername": {
  23114. "description": "业务员名称",
  23115. "type": "string"
  23116. },
  23117. "spotcontractid": {
  23118. "description": "合同ID",
  23119. "type": "string"
  23120. },
  23121. "spotgoodsbrandid": {
  23122. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23123. "type": "integer"
  23124. },
  23125. "spotgoodsdesc": {
  23126. "description": "商品型号(商品规格)",
  23127. "type": "string"
  23128. },
  23129. "startdate": {
  23130. "description": "点价开始日",
  23131. "type": "string"
  23132. },
  23133. "subjectid": {
  23134. "description": "交易主体ID",
  23135. "type": "integer"
  23136. },
  23137. "subjectname": {
  23138. "description": "交易主体名称",
  23139. "type": "string"
  23140. },
  23141. "totalamount": {
  23142. "description": "合计总额",
  23143. "type": "number"
  23144. },
  23145. "tradeuserid": {
  23146. "description": "交易员id",
  23147. "type": "integer"
  23148. },
  23149. "tradeuserlogincode": {
  23150. "description": "交易员登录代码",
  23151. "type": "string"
  23152. },
  23153. "tradeusername": {
  23154. "description": "交易员名称",
  23155. "type": "string"
  23156. },
  23157. "unpayamount": {
  23158. "description": "应收付款额(应支付或应收款)",
  23159. "type": "number"
  23160. },
  23161. "unpricedqty": {
  23162. "description": "未定价量",
  23163. "type": "number"
  23164. },
  23165. "unsureqty": {
  23166. "description": "未确定量",
  23167. "type": "number"
  23168. },
  23169. "userid": {
  23170. "description": "机构ID",
  23171. "type": "integer"
  23172. },
  23173. "vatrate": {
  23174. "description": "增值税率",
  23175. "type": "number"
  23176. },
  23177. "wrstandardcode": {
  23178. "description": "品类代码",
  23179. "type": "string"
  23180. },
  23181. "wrstandardid": {
  23182. "description": "品类ID",
  23183. "type": "integer"
  23184. },
  23185. "wrstandardname": {
  23186. "description": "品类名称",
  23187. "type": "string"
  23188. }
  23189. }
  23190. },
  23191. "models.Ermcp3SpotGoodsPrice": {
  23192. "type": "object",
  23193. "properties": {
  23194. "areauserid": {
  23195. "description": "所属机构id",
  23196. "type": "integer"
  23197. },
  23198. "brandname": {
  23199. "description": "品牌名称",
  23200. "type": "string"
  23201. },
  23202. "currencyid": {
  23203. "description": "报价货币ID",
  23204. "type": "integer"
  23205. },
  23206. "currencyname": {
  23207. "description": "币种名称",
  23208. "type": "string"
  23209. },
  23210. "deliverygoodscode": {
  23211. "description": "现货商品代码",
  23212. "type": "string"
  23213. },
  23214. "deliverygoodsid": {
  23215. "description": "现货商品id",
  23216. "type": "integer"
  23217. },
  23218. "deliverygoodsname": {
  23219. "description": "现货商品名称",
  23220. "type": "string"
  23221. },
  23222. "enumdicname": {
  23223. "description": "现货商品单位名称",
  23224. "type": "string"
  23225. },
  23226. "gbenumdicname": {
  23227. "description": "品类单位名称",
  23228. "type": "string"
  23229. },
  23230. "gmunitid": {
  23231. "description": "品类单位id",
  23232. "type": "integer"
  23233. },
  23234. "isvalid": {
  23235. "description": "是否有效 - 0:无效 1:有效",
  23236. "type": "integer"
  23237. },
  23238. "operateid": {
  23239. "description": "最后操作人",
  23240. "type": "integer"
  23241. },
  23242. "operatesrc": {
  23243. "description": "最后操作来源 - 1:管理端 2:终端",
  23244. "type": "integer"
  23245. },
  23246. "operatetime": {
  23247. "description": "最后操作时间",
  23248. "type": "string"
  23249. },
  23250. "operatorname": {
  23251. "description": "操作人名称",
  23252. "type": "string"
  23253. },
  23254. "spotgoodsbrandid": {
  23255. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23256. "type": "integer"
  23257. },
  23258. "spotgoodsprice": {
  23259. "description": "现货价格",
  23260. "type": "number"
  23261. },
  23262. "tradedate": {
  23263. "description": "交易日(yyyyMMdd)",
  23264. "type": "string"
  23265. },
  23266. "unitid": {
  23267. "description": "现货商品单位id",
  23268. "type": "integer"
  23269. },
  23270. "wrstandardcode": {
  23271. "description": "品类代码",
  23272. "type": "string"
  23273. },
  23274. "wrstandardid": {
  23275. "description": "现货品类ID(通用则为0)",
  23276. "type": "integer"
  23277. },
  23278. "wrstandardname": {
  23279. "description": "品类名称",
  23280. "type": "string"
  23281. }
  23282. }
  23283. },
  23284. "models.Ermcp3SpotGoodsPriceLog": {
  23285. "type": "object",
  23286. "properties": {
  23287. "areauserid": {
  23288. "description": "所属机构id",
  23289. "type": "integer"
  23290. },
  23291. "brandname": {
  23292. "description": "品牌名称",
  23293. "type": "string"
  23294. },
  23295. "currencyid": {
  23296. "description": "报价货币ID",
  23297. "type": "integer"
  23298. },
  23299. "deliverygoodscode": {
  23300. "description": "现货商品代码",
  23301. "type": "string"
  23302. },
  23303. "deliverygoodsid": {
  23304. "description": "现货商品id",
  23305. "type": "integer"
  23306. },
  23307. "deliverygoodsname": {
  23308. "description": "现货商品名称",
  23309. "type": "string"
  23310. },
  23311. "enumdicname": {
  23312. "description": "现货商品单位名称",
  23313. "type": "string"
  23314. },
  23315. "gbenumdicname": {
  23316. "description": "品类单位名称",
  23317. "type": "string"
  23318. },
  23319. "gmunitid": {
  23320. "description": "品类单位id",
  23321. "type": "integer"
  23322. },
  23323. "logid": {
  23324. "description": "日志id",
  23325. "type": "integer"
  23326. },
  23327. "operateid": {
  23328. "description": "最后操作人",
  23329. "type": "integer"
  23330. },
  23331. "operatesrc": {
  23332. "description": "最后操作来源 - 1:管理端 2:终端",
  23333. "type": "integer"
  23334. },
  23335. "operatetime": {
  23336. "description": "最后操作时间",
  23337. "type": "string"
  23338. },
  23339. "operatorname": {
  23340. "description": "操作人名称",
  23341. "type": "string"
  23342. },
  23343. "spotgoodsbrandid": {
  23344. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23345. "type": "integer"
  23346. },
  23347. "spotgoodsprice": {
  23348. "description": "现货价格",
  23349. "type": "number"
  23350. },
  23351. "tradedate": {
  23352. "description": "交易日(yyyyMMdd)",
  23353. "type": "string"
  23354. },
  23355. "unitid": {
  23356. "description": "现货商品单位id",
  23357. "type": "integer"
  23358. },
  23359. "wrstandardcode": {
  23360. "description": "品类代码",
  23361. "type": "string"
  23362. },
  23363. "wrstandardid": {
  23364. "description": "现货品类ID(通用则为0)",
  23365. "type": "integer"
  23366. },
  23367. "wrstandardname": {
  23368. "description": "品类名称",
  23369. "type": "string"
  23370. }
  23371. }
  23372. },
  23373. "models.Ermcp3SubTaaccount": {
  23374. "type": "object",
  23375. "properties": {
  23376. "accountid": {
  23377. "description": "资金账户ID",
  23378. "type": "integer"
  23379. },
  23380. "parentaccountcode": {
  23381. "description": "所属根账号代码(母账号代码)",
  23382. "type": "string"
  23383. },
  23384. "parentaccountid": {
  23385. "description": "所属根账号(母账号)",
  23386. "type": "integer"
  23387. },
  23388. "taname": {
  23389. "description": "资金账号名称",
  23390. "type": "string"
  23391. },
  23392. "tradestatus": {
  23393. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23394. "type": "integer"
  23395. },
  23396. "username": {
  23397. "description": "交易用户",
  23398. "type": "string"
  23399. }
  23400. }
  23401. },
  23402. "models.Ermcp3TaFutuReDataReport": {
  23403. "type": "object",
  23404. "properties": {
  23405. "accountid": {
  23406. "description": "交易账户",
  23407. "type": "integer"
  23408. },
  23409. "accountname": {
  23410. "description": "交易账号名称",
  23411. "type": "string"
  23412. },
  23413. "agreeunit": {
  23414. "description": "商品合约单位",
  23415. "type": "number"
  23416. },
  23417. "begindate": {
  23418. "description": "开始交易日",
  23419. "type": "string"
  23420. },
  23421. "buyorsell": {
  23422. "description": "持仓方向",
  23423. "type": "integer"
  23424. },
  23425. "charge": {
  23426. "description": "手续费",
  23427. "type": "number"
  23428. },
  23429. "closeavgprice": {
  23430. "description": "平仓均价",
  23431. "type": "number"
  23432. },
  23433. "closepl": {
  23434. "description": "平仓损益",
  23435. "type": "number"
  23436. },
  23437. "currencyid": {
  23438. "description": "结算币种ID",
  23439. "type": "integer"
  23440. },
  23441. "currencyname": {
  23442. "description": "币种名称",
  23443. "type": "string"
  23444. },
  23445. "cycletime": {
  23446. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23447. "type": "string"
  23448. },
  23449. "cycletype": {
  23450. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23451. "type": "integer"
  23452. },
  23453. "enddate": {
  23454. "description": "结束交易日",
  23455. "type": "string"
  23456. },
  23457. "enumdicname": {
  23458. "description": "单位名称",
  23459. "type": "string"
  23460. },
  23461. "floatpl": {
  23462. "description": "浮动损益",
  23463. "type": "number"
  23464. },
  23465. "goodscode": {
  23466. "description": "交易合约代码",
  23467. "type": "string"
  23468. },
  23469. "goodsgroupid": {
  23470. "description": "交易品种",
  23471. "type": "integer"
  23472. },
  23473. "goodsgroupname": {
  23474. "description": "交易品种名称",
  23475. "type": "string"
  23476. },
  23477. "goodsgroupspotqty": {
  23478. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23479. "type": "number"
  23480. },
  23481. "goodsid": {
  23482. "description": "交易合约",
  23483. "type": "integer"
  23484. },
  23485. "goodsname": {
  23486. "description": "交易合约名称",
  23487. "type": "string"
  23488. },
  23489. "goodunitid": {
  23490. "description": "交易合约单位id",
  23491. "type": "integer"
  23492. },
  23493. "holdamount": {
  23494. "description": "期末持仓额",
  23495. "type": "number"
  23496. },
  23497. "holdqty": {
  23498. "description": "期末持仓量",
  23499. "type": "number"
  23500. },
  23501. "lastholdamount": {
  23502. "description": "当前持仓额",
  23503. "type": "number"
  23504. },
  23505. "lastprice": {
  23506. "description": "最新价",
  23507. "type": "number"
  23508. },
  23509. "middlegoodsid": {
  23510. "description": "套保品种id",
  23511. "type": "integer"
  23512. },
  23513. "middlegoodsname": {
  23514. "description": "套保商品名称",
  23515. "type": "string"
  23516. },
  23517. "middlegoodsqty": {
  23518. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23519. "type": "number"
  23520. },
  23521. "middlgoodscode": {
  23522. "description": "套保商品代码",
  23523. "type": "string"
  23524. },
  23525. "openamount": {
  23526. "description": "期末开仓额",
  23527. "type": "number"
  23528. },
  23529. "openavgprice": {
  23530. "description": "开仓均价",
  23531. "type": "number"
  23532. },
  23533. "oriholdamount": {
  23534. "description": "期初持仓额",
  23535. "type": "number"
  23536. },
  23537. "oriholdqty": {
  23538. "description": "期初持仓量",
  23539. "type": "number"
  23540. },
  23541. "oriopenamount": {
  23542. "description": "期初开仓额",
  23543. "type": "number"
  23544. },
  23545. "outergroupcode": {
  23546. "description": "交易品种代码",
  23547. "type": "string"
  23548. },
  23549. "qtydecimalplace": {
  23550. "description": "成交量小数位",
  23551. "type": "integer"
  23552. },
  23553. "reckondate": {
  23554. "description": "日照时期(yyyyMMdd)",
  23555. "type": "string"
  23556. },
  23557. "reckonholdamount": {
  23558. "description": "结算持仓额",
  23559. "type": "number"
  23560. },
  23561. "reckonpl": {
  23562. "description": "结算损益",
  23563. "type": "number"
  23564. },
  23565. "reckonpl2": {
  23566. "description": "结算逐笔盈亏",
  23567. "type": "number"
  23568. },
  23569. "reckonprice": {
  23570. "description": "结算价",
  23571. "type": "number"
  23572. },
  23573. "relateduserid": {
  23574. "description": "账户关联用户ID",
  23575. "type": "integer"
  23576. },
  23577. "todaycloseamount": {
  23578. "description": "今平仓额",
  23579. "type": "number"
  23580. },
  23581. "todaycloseqty": {
  23582. "description": "今平仓量",
  23583. "type": "number"
  23584. },
  23585. "todaygoodsgroupspotqty": {
  23586. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23587. "type": "number"
  23588. },
  23589. "todaymiddlegoodsqty": {
  23590. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23591. "type": "number"
  23592. },
  23593. "todayopenamount": {
  23594. "description": "今开仓额",
  23595. "type": "number"
  23596. },
  23597. "todayopenqty": {
  23598. "description": "今开仓量",
  23599. "type": "number"
  23600. },
  23601. "userid": {
  23602. "description": "账户所属用户ID",
  23603. "type": "integer"
  23604. }
  23605. }
  23606. },
  23607. "models.Ermcp3TradeLinkDetail": {
  23608. "type": "object",
  23609. "properties": {
  23610. "accountid": {
  23611. "description": "资金账号",
  23612. "type": "integer"
  23613. },
  23614. "agreeunit": {
  23615. "description": "合约乘数",
  23616. "type": "number"
  23617. },
  23618. "areauserid": {
  23619. "description": "所属机构",
  23620. "type": "string"
  23621. },
  23622. "bizsubjectid": {
  23623. "description": "归属业务部门ID - SubjectID",
  23624. "type": "string"
  23625. },
  23626. "buyorsell": {
  23627. "description": "方向 - 0:买 1:卖",
  23628. "type": "integer"
  23629. },
  23630. "channelbuildtype": {
  23631. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23632. "type": "integer"
  23633. },
  23634. "contractno": {
  23635. "description": "现货编号 (合同编号)",
  23636. "type": "string"
  23637. },
  23638. "convertratio": {
  23639. "description": "折算系数",
  23640. "type": "number"
  23641. },
  23642. "createtime": {
  23643. "description": "关联时间 | 创建时间",
  23644. "type": "string"
  23645. },
  23646. "creatorid": {
  23647. "description": "创建人ID",
  23648. "type": "string"
  23649. },
  23650. "creatorsrc": {
  23651. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23652. "type": "integer"
  23653. },
  23654. "enumdicname": {
  23655. "description": "单位名称",
  23656. "type": "string"
  23657. },
  23658. "goodscode": {
  23659. "description": "合约代码",
  23660. "type": "string"
  23661. },
  23662. "goodsgroupid": {
  23663. "description": "对冲品种ID[期货合约商品组ID]",
  23664. "type": "integer"
  23665. },
  23666. "goodsid": {
  23667. "description": "商品ID",
  23668. "type": "integer"
  23669. },
  23670. "goodsname": {
  23671. "description": "合约名称",
  23672. "type": "string"
  23673. },
  23674. "hedgeflag": {
  23675. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23676. "type": "integer"
  23677. },
  23678. "linkdetailid": {
  23679. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23680. "type": "string"
  23681. },
  23682. "linkstatus": {
  23683. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23684. "type": "integer"
  23685. },
  23686. "middlegoodscode": {
  23687. "description": "套保品种代码",
  23688. "type": "string"
  23689. },
  23690. "middlegoodsid": {
  23691. "description": "套保品种ID",
  23692. "type": "integer"
  23693. },
  23694. "middlegoodsname": {
  23695. "description": "套保品种名称",
  23696. "type": "string"
  23697. },
  23698. "relatedlot": {
  23699. "description": "关联手数",
  23700. "type": "number"
  23701. },
  23702. "relatedmode": {
  23703. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23704. "type": "integer"
  23705. },
  23706. "relatedqty": {
  23707. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23708. "type": "number"
  23709. },
  23710. "retcode": {
  23711. "description": "返回码",
  23712. "type": "integer"
  23713. },
  23714. "saleuserid": {
  23715. "description": "业务员ID",
  23716. "type": "string"
  23717. },
  23718. "spotcontractid": {
  23719. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23720. "type": "string"
  23721. },
  23722. "taname": {
  23723. "description": "期货账户",
  23724. "type": "string"
  23725. },
  23726. "tradedate": {
  23727. "description": "关联交易日(yyyyMMdd)",
  23728. "type": "string"
  23729. },
  23730. "tradeid": {
  23731. "description": "期货订单号 | 内部成交单ID",
  23732. "type": "string"
  23733. },
  23734. "tradelot": {
  23735. "description": "成交数量 | 成交手数",
  23736. "type": "integer"
  23737. },
  23738. "tradeprice": {
  23739. "description": "成交价格",
  23740. "type": "number"
  23741. },
  23742. "tradetime": {
  23743. "description": "期货成交时间",
  23744. "type": "string"
  23745. },
  23746. "tradetradedate": {
  23747. "description": "成交交易日(yyyyMMdd)",
  23748. "type": "string"
  23749. },
  23750. "username": {
  23751. "description": "用户名称",
  23752. "type": "string"
  23753. }
  23754. }
  23755. },
  23756. "models.Ermcp3Wrstandard": {
  23757. "type": "object",
  23758. "properties": {
  23759. "areauserid": {
  23760. "description": "所属机构",
  23761. "type": "integer"
  23762. },
  23763. "cantrade": {
  23764. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23765. "type": "integer"
  23766. },
  23767. "convertfactor": {
  23768. "description": "标仓系数",
  23769. "type": "number"
  23770. },
  23771. "createtime": {
  23772. "description": "创建时间",
  23773. "type": "string"
  23774. },
  23775. "creatorid": {
  23776. "description": "创建人",
  23777. "type": "integer"
  23778. },
  23779. "deliverygoodsid": {
  23780. "description": "现货品种ID",
  23781. "type": "integer"
  23782. },
  23783. "enumdicname": {
  23784. "description": "品类单位名称",
  23785. "type": "string"
  23786. },
  23787. "isvalid": {
  23788. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23789. "type": "integer"
  23790. },
  23791. "minivalue": {
  23792. "description": "最小变动值",
  23793. "type": "integer"
  23794. },
  23795. "minivaluedp": {
  23796. "description": "最小变动值小数位",
  23797. "type": "integer"
  23798. },
  23799. "realminivalue": {
  23800. "description": "实际最小变动值",
  23801. "type": "integer"
  23802. },
  23803. "realminivaluedp": {
  23804. "description": "实际最小变动值小数位",
  23805. "type": "integer"
  23806. },
  23807. "remark": {
  23808. "description": "备注",
  23809. "type": "string"
  23810. },
  23811. "unitid": {
  23812. "description": "品类单位ID",
  23813. "type": "integer"
  23814. },
  23815. "updatetime": {
  23816. "description": "更新时间",
  23817. "type": "string"
  23818. },
  23819. "wrstandardcode": {
  23820. "description": "品类代码",
  23821. "type": "string"
  23822. },
  23823. "wrstandardid": {
  23824. "description": "品类ID(SEQ_WRSTANDARD)",
  23825. "type": "integer"
  23826. },
  23827. "wrstandardname": {
  23828. "description": "品类名称",
  23829. "type": "string"
  23830. }
  23831. }
  23832. },
  23833. "models.ErmcpBizGroupEx": {
  23834. "type": "object",
  23835. "properties": {
  23836. "acclist": {
  23837. "description": "账号列表",
  23838. "type": "array",
  23839. "items": {
  23840. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23841. }
  23842. },
  23843. "bizgroupid": {
  23844. "description": "业务分组id",
  23845. "type": "integer"
  23846. },
  23847. "biztype": {
  23848. "description": "业务类型 1-套保 2-套利",
  23849. "type": "integer"
  23850. },
  23851. "wrlist": {
  23852. "description": "现货商品表",
  23853. "type": "array",
  23854. "items": {
  23855. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23856. }
  23857. }
  23858. }
  23859. },
  23860. "models.ErmcpBizGroupSpotGoods": {
  23861. "type": "object",
  23862. "properties": {
  23863. "areauserid": {
  23864. "description": "所属机构id",
  23865. "type": "integer"
  23866. },
  23867. "bizgroupid": {
  23868. "description": "分组id",
  23869. "type": "integer"
  23870. },
  23871. "biztype": {
  23872. "description": "业务类型 1-套保 2-套利",
  23873. "type": "integer"
  23874. },
  23875. "deliverygoodscode": {
  23876. "description": "现货商品代码",
  23877. "type": "string"
  23878. },
  23879. "deliverygoodsid": {
  23880. "description": "现货商品id",
  23881. "type": "integer"
  23882. },
  23883. "deliverygoodsname": {
  23884. "description": "现货商品名称",
  23885. "type": "string"
  23886. },
  23887. "unitid": {
  23888. "description": "现货商品单位id",
  23889. "type": "integer"
  23890. }
  23891. }
  23892. },
  23893. "models.ErmcpBizGroupTaAccount": {
  23894. "type": "object",
  23895. "properties": {
  23896. "accountid": {
  23897. "description": "账号id",
  23898. "type": "integer"
  23899. },
  23900. "accountname": {
  23901. "description": "账号名称",
  23902. "type": "string"
  23903. },
  23904. "areauserid": {
  23905. "description": "所属机构id",
  23906. "type": "integer"
  23907. },
  23908. "bizgroupid": {
  23909. "description": "业务分组id",
  23910. "type": "integer"
  23911. },
  23912. "ismain": {
  23913. "description": "是否主账号 1-是 0-否",
  23914. "type": "integer"
  23915. }
  23916. }
  23917. },
  23918. "models.ErmcpDGFactoryItem": {
  23919. "type": "object",
  23920. "properties": {
  23921. "areauserid": {
  23922. "description": "用户id",
  23923. "type": "integer"
  23924. },
  23925. "deliverygoodsid": {
  23926. "description": "现货品种ID",
  23927. "type": "integer"
  23928. },
  23929. "dgfactoryitemid": {
  23930. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23931. "type": "integer"
  23932. },
  23933. "dgfactoryitemtypeid": {
  23934. "description": "要素项类型",
  23935. "type": "integer"
  23936. },
  23937. "dgfactoryitemvalue": {
  23938. "description": "要素项值(类型为仓库时填写仓库名称)",
  23939. "type": "string"
  23940. },
  23941. "isvalid": {
  23942. "description": "是否有效 - 0:无效 1:有效",
  23943. "type": "integer"
  23944. },
  23945. "orderindex": {
  23946. "description": "顺序",
  23947. "type": "integer"
  23948. },
  23949. "warehouseid": {
  23950. "description": "仓库ID(类型为仓库时填写)",
  23951. "type": "integer"
  23952. }
  23953. }
  23954. },
  23955. "models.ErmcpDeliveryGoods": {
  23956. "type": "object",
  23957. "properties": {
  23958. "agreeunit": {
  23959. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23960. "type": "integer"
  23961. },
  23962. "areauserid": {
  23963. "description": "所属机构",
  23964. "type": "integer"
  23965. },
  23966. "auditflag": {
  23967. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23968. "type": "integer"
  23969. },
  23970. "categoryid": {
  23971. "description": "类别ID(SEQ_WRCATEGORY)",
  23972. "type": "integer"
  23973. },
  23974. "deliverygoodscode": {
  23975. "description": "现货品种代码",
  23976. "type": "string"
  23977. },
  23978. "deliverygoodsid": {
  23979. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23980. "type": "integer"
  23981. },
  23982. "deliverygoodsname": {
  23983. "description": "现货品种名称",
  23984. "type": "string"
  23985. },
  23986. "deliverygoodstype": {
  23987. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23988. "type": "integer"
  23989. },
  23990. "dgstatus": {
  23991. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23992. "type": "integer"
  23993. },
  23994. "enumdicname": {
  23995. "description": "现货品种单位名称",
  23996. "type": "string"
  23997. },
  23998. "goodsunitid": {
  23999. "description": "现货品种单位ID",
  24000. "type": "integer"
  24001. },
  24002. "isvalid": {
  24003. "description": "是否有效 - 0:无效 1:有效",
  24004. "type": "integer"
  24005. },
  24006. "qtydecimalplace": {
  24007. "description": "成交量小数位",
  24008. "type": "integer"
  24009. },
  24010. "remark": {
  24011. "description": "备注",
  24012. "type": "string"
  24013. },
  24014. "standardqty": {
  24015. "description": "标准数量(库位数量) [标准品特有]",
  24016. "type": "integer"
  24017. },
  24018. "standardqtyrange": {
  24019. "description": "标准数量偏差范围 [标准品特有]",
  24020. "type": "integer"
  24021. }
  24022. }
  24023. },
  24024. "models.ErmcpFuturesCompany": {
  24025. "type": "object",
  24026. "properties": {
  24027. "brokerid": {
  24028. "description": "经纪公司代码",
  24029. "type": "string"
  24030. },
  24031. "channeladdress": {
  24032. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24033. "type": "string"
  24034. },
  24035. "channelid": {
  24036. "description": "对冲渠道ID",
  24037. "type": "string"
  24038. },
  24039. "createtime": {
  24040. "description": "创建时间",
  24041. "type": "string"
  24042. },
  24043. "creatorid": {
  24044. "description": "创建人",
  24045. "type": "string"
  24046. },
  24047. "fcid": {
  24048. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24049. "type": "integer"
  24050. },
  24051. "fcname": {
  24052. "description": "期货公司名称",
  24053. "type": "string"
  24054. },
  24055. "isvalid": {
  24056. "description": "是否有效 - 0:无效 1:有效",
  24057. "type": "integer"
  24058. },
  24059. "mhpaddress": {
  24060. "description": "MHP服务地址(IP:Port)",
  24061. "type": "string"
  24062. },
  24063. "riskrulegroupid": {
  24064. "description": "风控规则组ID",
  24065. "type": "string"
  24066. },
  24067. "tradefeetmpid": {
  24068. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24069. "type": "string"
  24070. },
  24071. "trademargintmpid": {
  24072. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24073. "type": "string"
  24074. },
  24075. "traderatetmpid": {
  24076. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24077. "type": "string"
  24078. },
  24079. "updatetime": {
  24080. "description": "更新时间",
  24081. "type": "string"
  24082. },
  24083. "updatorid": {
  24084. "description": "更新人",
  24085. "type": "string"
  24086. }
  24087. }
  24088. },
  24089. "models.ErmcpGGConvertCfg": {
  24090. "type": "object",
  24091. "properties": {
  24092. "convertratio": {
  24093. "description": "折算系数",
  24094. "type": "number"
  24095. },
  24096. "destgoodsgroupid": {
  24097. "description": "目标品种ID",
  24098. "type": "integer"
  24099. },
  24100. "dstcode": {
  24101. "description": "目录品种代码",
  24102. "type": "string"
  24103. },
  24104. "dstexchangecode": {
  24105. "description": "目标期货交易所",
  24106. "type": "string"
  24107. },
  24108. "dstname": {
  24109. "description": "目标品种名称",
  24110. "type": "string"
  24111. },
  24112. "dstunitid": {
  24113. "description": "目标品种单位ID",
  24114. "type": "integer"
  24115. },
  24116. "dstunitidname": {
  24117. "description": "目标品种单位名称",
  24118. "type": "string"
  24119. },
  24120. "modifytime": {
  24121. "description": "修改时间",
  24122. "type": "string"
  24123. },
  24124. "srccode": {
  24125. "description": "源品种代码",
  24126. "type": "string"
  24127. },
  24128. "srcexchangecode": {
  24129. "description": "源期货交易所",
  24130. "type": "string"
  24131. },
  24132. "srcgoodsgroupid": {
  24133. "description": "源品种ID",
  24134. "type": "integer"
  24135. },
  24136. "srcname": {
  24137. "description": "源品种名称",
  24138. "type": "string"
  24139. },
  24140. "srcunitid": {
  24141. "description": "源品种单位ID",
  24142. "type": "integer"
  24143. },
  24144. "srcunitidname": {
  24145. "description": "源品种单位名称",
  24146. "type": "string"
  24147. }
  24148. }
  24149. },
  24150. "models.ErmcpGoods": {
  24151. "type": "object",
  24152. "required": [
  24153. "goodscode",
  24154. "goodsid",
  24155. "goodsname",
  24156. "marketid"
  24157. ],
  24158. "properties": {
  24159. "agreeunit": {
  24160. "description": "合约单位",
  24161. "type": "number"
  24162. },
  24163. "areauserid": {
  24164. "description": "所属机构",
  24165. "type": "integer"
  24166. },
  24167. "auditaccountid": {
  24168. "description": "审核操作员账号",
  24169. "type": "integer"
  24170. },
  24171. "audittime": {
  24172. "description": "审核时间",
  24173. "type": "string"
  24174. },
  24175. "cancelaccountid": {
  24176. "description": "注销操作员账号",
  24177. "type": "integer"
  24178. },
  24179. "canceltime": {
  24180. "description": "注销时间",
  24181. "type": "string"
  24182. },
  24183. "closepricemode": {
  24184. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24185. "type": "integer"
  24186. },
  24187. "closepriceparam": {
  24188. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24189. "type": "number"
  24190. },
  24191. "createtime": {
  24192. "description": "创建时间",
  24193. "type": "string"
  24194. },
  24195. "creatorid": {
  24196. "description": "创建人",
  24197. "type": "integer"
  24198. },
  24199. "currencyid": {
  24200. "description": "报价货币ID",
  24201. "type": "integer"
  24202. },
  24203. "cutmode": {
  24204. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24205. "type": "integer"
  24206. },
  24207. "decimalplace": {
  24208. "description": "报价小数位",
  24209. "type": "integer"
  24210. },
  24211. "delistingdate": {
  24212. "description": "商品退市时间(状态:退市) -- 已作废",
  24213. "type": "string"
  24214. },
  24215. "delistingmode": {
  24216. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24217. "type": "integer"
  24218. },
  24219. "deliveryflag": {
  24220. "description": "交割标志 - 0:不可交割 1:可交割",
  24221. "type": "integer"
  24222. },
  24223. "enumdicname": {
  24224. "description": "单位名称",
  24225. "type": "string"
  24226. },
  24227. "forceclosemode": {
  24228. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24229. "type": "integer"
  24230. },
  24231. "forceclosevalue": {
  24232. "description": "定期强平参数 [收益权]",
  24233. "type": "integer"
  24234. },
  24235. "goodscode": {
  24236. "description": "商品代码(内部)",
  24237. "type": "string"
  24238. },
  24239. "goodscurrencyid": {
  24240. "description": "合约货币ID",
  24241. "type": "integer"
  24242. },
  24243. "goodsgroupid": {
  24244. "description": "所属商品组ID",
  24245. "type": "integer"
  24246. },
  24247. "goodsid": {
  24248. "description": "商品ID(自增ID SEQ_GOODS)",
  24249. "type": "integer"
  24250. },
  24251. "goodsname": {
  24252. "description": "商品名称",
  24253. "type": "string"
  24254. },
  24255. "goodsquotetype": {
  24256. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24257. "type": "integer"
  24258. },
  24259. "goodsstatus": {
  24260. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24261. "type": "integer"
  24262. },
  24263. "goodstradetype": {
  24264. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24265. "type": "integer"
  24266. },
  24267. "goodunitid": {
  24268. "description": "报价单位ID",
  24269. "type": "integer"
  24270. },
  24271. "hasquoter": {
  24272. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24273. "type": "integer"
  24274. },
  24275. "hqprotecttime": {
  24276. "description": "行情保护时间(秒)",
  24277. "type": "integer"
  24278. },
  24279. "innerdealmode": {
  24280. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24281. "type": "integer"
  24282. },
  24283. "isbuylimited": {
  24284. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24285. "type": "integer"
  24286. },
  24287. "isvisible": {
  24288. "description": "游客是否可见 - 0:不可见 1:可见",
  24289. "type": "integer"
  24290. },
  24291. "lasttradedate": {
  24292. "description": "最后交易日期(状态:待退市)",
  24293. "type": "string"
  24294. },
  24295. "listingdate": {
  24296. "description": "交易开始日期",
  24297. "type": "string"
  24298. },
  24299. "marketid": {
  24300. "description": "所属市场ID",
  24301. "type": "integer"
  24302. },
  24303. "modifierid": {
  24304. "description": "修改人",
  24305. "type": "integer"
  24306. },
  24307. "modifystatus": {
  24308. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24309. "type": "integer"
  24310. },
  24311. "modifytime": {
  24312. "description": "修改时间",
  24313. "type": "string"
  24314. },
  24315. "outerdealmode": {
  24316. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24317. "type": "integer"
  24318. },
  24319. "outgoodscode": {
  24320. "description": "商品代码(外部)",
  24321. "type": "string"
  24322. },
  24323. "pictureurl": {
  24324. "description": "商品图片",
  24325. "type": "string"
  24326. },
  24327. "qtydecimalplace": {
  24328. "description": "成交量小数位",
  24329. "type": "integer"
  24330. },
  24331. "quotegear": {
  24332. "description": "行情档位(1-10)",
  24333. "type": "integer"
  24334. },
  24335. "quoteminunit": {
  24336. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24337. "type": "integer"
  24338. },
  24339. "quoteshowtype": {
  24340. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24341. "type": "integer"
  24342. },
  24343. "quoteshowtypeinterval": {
  24344. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24345. "type": "integer"
  24346. },
  24347. "relatedgoodsid": {
  24348. "description": "关联参考商品ID",
  24349. "type": "integer"
  24350. },
  24351. "remark": {
  24352. "description": "备注",
  24353. "type": "string"
  24354. },
  24355. "trademode": {
  24356. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24357. "type": "integer"
  24358. }
  24359. }
  24360. },
  24361. "models.ErmcpGoodsBrand": {
  24362. "type": "object",
  24363. "properties": {
  24364. "areauserid": {
  24365. "description": "所属机构",
  24366. "type": "integer"
  24367. },
  24368. "brandid": {
  24369. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24370. "type": "integer"
  24371. },
  24372. "brandname": {
  24373. "description": "品牌名称",
  24374. "type": "string"
  24375. },
  24376. "createtime": {
  24377. "description": "创建时间",
  24378. "type": "string"
  24379. },
  24380. "creatorid": {
  24381. "description": "创建人",
  24382. "type": "integer"
  24383. },
  24384. "creatorsrc": {
  24385. "description": "创建人来源 - 1:管理端 2:终端",
  24386. "type": "integer"
  24387. },
  24388. "deliverygoodsid": {
  24389. "description": "现货品种ID",
  24390. "type": "integer"
  24391. },
  24392. "isvalid": {
  24393. "description": "是否有效 - 0:无效 1:有效",
  24394. "type": "integer"
  24395. },
  24396. "updatetime": {
  24397. "description": "更新时间",
  24398. "type": "string"
  24399. },
  24400. "updatorid": {
  24401. "description": "更新人",
  24402. "type": "integer"
  24403. },
  24404. "updatorsrc": {
  24405. "description": "更新人来源 - 1:管理端 2:终端",
  24406. "type": "integer"
  24407. },
  24408. "wrstandardid": {
  24409. "description": "现货商品ID",
  24410. "type": "integer"
  24411. }
  24412. }
  24413. },
  24414. "models.ErmcpGoodsModel": {
  24415. "type": "object",
  24416. "properties": {
  24417. "areauserid": {
  24418. "description": "所属机构",
  24419. "type": "integer"
  24420. },
  24421. "convertfactor": {
  24422. "description": "标仓系数",
  24423. "type": "number"
  24424. },
  24425. "createtime": {
  24426. "description": "创建时间",
  24427. "type": "string"
  24428. },
  24429. "creatorid": {
  24430. "description": "创建人",
  24431. "type": "integer"
  24432. },
  24433. "creatorsrc": {
  24434. "description": "创建人来源 - 1:管理端 2:终端",
  24435. "type": "integer"
  24436. },
  24437. "deliverygoodsid": {
  24438. "description": "现货品种ID",
  24439. "type": "integer"
  24440. },
  24441. "isvalid": {
  24442. "description": "是否有效 - 0:无效 1:有效",
  24443. "type": "integer"
  24444. },
  24445. "modelid": {
  24446. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24447. "type": "integer"
  24448. },
  24449. "modelname": {
  24450. "description": "型号名称",
  24451. "type": "string"
  24452. },
  24453. "updatetime": {
  24454. "description": "更新时间",
  24455. "type": "string"
  24456. },
  24457. "updatorid": {
  24458. "description": "更新人",
  24459. "type": "integer"
  24460. },
  24461. "updatorsrc": {
  24462. "description": "更新人来源 - 1:管理端 2:终端",
  24463. "type": "integer"
  24464. },
  24465. "wrstandardid": {
  24466. "description": "现货商品ID",
  24467. "type": "integer"
  24468. }
  24469. }
  24470. },
  24471. "models.ErmcpHisExposure": {
  24472. "type": "object",
  24473. "properties": {
  24474. "needhedgeexposoure": {
  24475. "description": "应套保敞口",
  24476. "type": "number"
  24477. },
  24478. "reckondate": {
  24479. "description": "日照时期(yyyyMMdd)",
  24480. "type": "string"
  24481. },
  24482. "totalexposure": {
  24483. "description": "总敞口",
  24484. "type": "number"
  24485. }
  24486. }
  24487. },
  24488. "models.ErmcpLoginTaAccount": {
  24489. "type": "object",
  24490. "properties": {
  24491. "accountid": {
  24492. "description": "账号id",
  24493. "type": "integer"
  24494. },
  24495. "accountname": {
  24496. "description": "账号名称",
  24497. "type": "string"
  24498. }
  24499. }
  24500. },
  24501. "models.ErmcpLoginUser": {
  24502. "type": "object",
  24503. "properties": {
  24504. "acclist": {
  24505. "description": "关联资金账号",
  24506. "type": "array",
  24507. "items": {
  24508. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24509. }
  24510. },
  24511. "accountname": {
  24512. "description": "用户名称",
  24513. "type": "string"
  24514. },
  24515. "clientroleid": {
  24516. "description": "角色id(usertype=2)",
  24517. "type": "integer"
  24518. },
  24519. "createtime": {
  24520. "description": "创建时间",
  24521. "type": "string"
  24522. },
  24523. "logincode": {
  24524. "description": "登录代码",
  24525. "type": "string"
  24526. },
  24527. "loginid": {
  24528. "description": "登录id(LOGINID)",
  24529. "type": "integer"
  24530. },
  24531. "loginname": {
  24532. "description": "登录名称(loginaccount表中的accountname字段)",
  24533. "type": "string"
  24534. },
  24535. "loginstatus": {
  24536. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24537. "type": "integer"
  24538. },
  24539. "memberuserid": {
  24540. "description": "所属会员id",
  24541. "type": "integer"
  24542. },
  24543. "mobile": {
  24544. "description": "手机号",
  24545. "type": "string"
  24546. },
  24547. "modifytime": {
  24548. "description": "修改时间",
  24549. "type": "string"
  24550. },
  24551. "password": {
  24552. "description": "密码(不可解密)",
  24553. "type": "string"
  24554. },
  24555. "rolename": {
  24556. "description": "角色名称",
  24557. "type": "string"
  24558. },
  24559. "rolestatus": {
  24560. "description": "角色状态 1-启用 2-停用",
  24561. "type": "integer"
  24562. },
  24563. "roletype": {
  24564. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24565. "type": "string"
  24566. },
  24567. "userid": {
  24568. "description": "用户id",
  24569. "type": "integer"
  24570. },
  24571. "usertype": {
  24572. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24573. "type": "integer"
  24574. }
  24575. }
  24576. },
  24577. "models.ErmcpLoginUserEx": {
  24578. "type": "object",
  24579. "properties": {
  24580. "accountstatus": {
  24581. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24582. "type": "integer"
  24583. },
  24584. "mobile": {
  24585. "description": "手机号",
  24586. "type": "string"
  24587. },
  24588. "querytype": {
  24589. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24590. "type": "integer"
  24591. },
  24592. "roleid": {
  24593. "description": "角色id(交易账户-\u003e用户id)",
  24594. "type": "integer"
  24595. },
  24596. "rolename": {
  24597. "description": "角色名称(交易账户-\u003e用户名称)",
  24598. "type": "string"
  24599. },
  24600. "userlist": {
  24601. "description": "用户列表",
  24602. "type": "array",
  24603. "items": {
  24604. "$ref": "#/definitions/models.ErmcpLoginUser"
  24605. }
  24606. },
  24607. "usertype": {
  24608. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24609. "type": "integer"
  24610. }
  24611. }
  24612. },
  24613. "models.ErmcpMiddleGoodsModel": {
  24614. "type": "object",
  24615. "properties": {
  24616. "areauserid": {
  24617. "description": "机构用户ID",
  24618. "type": "integer"
  24619. },
  24620. "createtime": {
  24621. "description": "修改时间",
  24622. "type": "string"
  24623. },
  24624. "enumdicname": {
  24625. "description": "单位名称",
  24626. "type": "string"
  24627. },
  24628. "evaluateratio": {
  24629. "description": "估价系数",
  24630. "type": "number"
  24631. },
  24632. "goodsgroupid": {
  24633. "description": "关联期货品种ID",
  24634. "type": "integer"
  24635. },
  24636. "goodsunitid": {
  24637. "description": "单位ID",
  24638. "type": "integer"
  24639. },
  24640. "isvalid": {
  24641. "description": "状态 0-无效(停用) 1-有效(正常)",
  24642. "type": "integer"
  24643. },
  24644. "middlegoodscode": {
  24645. "description": "套保品种代码",
  24646. "type": "string"
  24647. },
  24648. "middlegoodsid": {
  24649. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24650. "type": "integer"
  24651. },
  24652. "middlegoodsname": {
  24653. "description": "套保品种名称",
  24654. "type": "string"
  24655. },
  24656. "modifytime": {
  24657. "description": "修改时间",
  24658. "type": "string"
  24659. },
  24660. "needarbitrageratio": {
  24661. "description": "套利比例",
  24662. "type": "number"
  24663. },
  24664. "needhedgeratio": {
  24665. "description": "套保比率",
  24666. "type": "number"
  24667. },
  24668. "qtydecimalplace": {
  24669. "description": "数量小数位",
  24670. "type": "integer"
  24671. },
  24672. "relatedgoodsid": {
  24673. "description": "关联交易商品ID",
  24674. "type": "integer"
  24675. },
  24676. "relatedgoodstype": {
  24677. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24678. "type": "integer"
  24679. },
  24680. "remark": {
  24681. "description": "备注",
  24682. "type": "string"
  24683. }
  24684. }
  24685. },
  24686. "models.ErmcpMiddlegoodsRelateGoods": {
  24687. "type": "object",
  24688. "properties": {
  24689. "agreeunit": {
  24690. "description": "合约乘数",
  24691. "type": "number"
  24692. },
  24693. "convertratio": {
  24694. "description": "折算系数",
  24695. "type": "number"
  24696. },
  24697. "enumdicname": {
  24698. "description": "单位名称(交易商品)",
  24699. "type": "string"
  24700. },
  24701. "goodscode": {
  24702. "description": "交易商品代码",
  24703. "type": "string"
  24704. },
  24705. "goodsgroupid": {
  24706. "description": "交易品种id",
  24707. "type": "integer"
  24708. },
  24709. "goodsid": {
  24710. "description": "商品Id",
  24711. "type": "integer"
  24712. },
  24713. "goodsname": {
  24714. "description": "交易商品名称",
  24715. "type": "string"
  24716. },
  24717. "goodunitid": {
  24718. "description": "交易商品单位id",
  24719. "type": "integer"
  24720. },
  24721. "middlegoodsid": {
  24722. "description": "套保商品id",
  24723. "type": "integer"
  24724. },
  24725. "middlegoodsname": {
  24726. "description": "套保商品名称",
  24727. "type": "string"
  24728. },
  24729. "middlegoodsswcode": {
  24730. "description": "套保商品代码",
  24731. "type": "string"
  24732. },
  24733. "needarbitrageratio": {
  24734. "description": "应套利比例",
  24735. "type": "number"
  24736. },
  24737. "needhedgeratio": {
  24738. "description": "应套保比例",
  24739. "type": "number"
  24740. }
  24741. }
  24742. },
  24743. "models.ErmcpRole": {
  24744. "type": "object",
  24745. "properties": {
  24746. "areauserid": {
  24747. "description": "所属机构",
  24748. "type": "integer"
  24749. },
  24750. "autoid": {
  24751. "description": "角色ID(自增ID)",
  24752. "type": "integer"
  24753. },
  24754. "modifierid": {
  24755. "description": "修改人(创建人)",
  24756. "type": "integer"
  24757. },
  24758. "modifiername": {
  24759. "description": "修改人名称",
  24760. "type": "string"
  24761. },
  24762. "modifytime": {
  24763. "description": "修改时间(创建时间)",
  24764. "type": "string"
  24765. },
  24766. "rolename": {
  24767. "description": "角色名称",
  24768. "type": "string"
  24769. },
  24770. "rolestatus": {
  24771. "description": "角色状态 - 1:启用 2:停用",
  24772. "type": "integer"
  24773. },
  24774. "roletype": {
  24775. "description": "角色类型 - 1- 管理端 2- 交易端",
  24776. "type": "integer"
  24777. }
  24778. }
  24779. },
  24780. "models.ErmcpRoleMenu": {
  24781. "type": "object",
  24782. "properties": {
  24783. "iconame": {
  24784. "description": "菜单图标",
  24785. "type": "string"
  24786. },
  24787. "ishadrole": {
  24788. "description": "是否有权限",
  24789. "type": "boolean"
  24790. },
  24791. "menutype": {
  24792. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24793. "type": "integer"
  24794. },
  24795. "parentcode": {
  24796. "description": "上级资源代码",
  24797. "type": "string"
  24798. },
  24799. "remark": {
  24800. "description": "菜单备注",
  24801. "type": "string"
  24802. },
  24803. "resourcecode": {
  24804. "description": "菜单代码",
  24805. "type": "string"
  24806. },
  24807. "resourcelevel": {
  24808. "description": "级别",
  24809. "type": "integer"
  24810. },
  24811. "resourcename": {
  24812. "description": "菜单名称",
  24813. "type": "string"
  24814. },
  24815. "roleid": {
  24816. "description": "角色id",
  24817. "type": "integer"
  24818. },
  24819. "sort": {
  24820. "description": "排序",
  24821. "type": "integer"
  24822. },
  24823. "url": {
  24824. "description": "URL",
  24825. "type": "string"
  24826. },
  24827. "userid": {
  24828. "description": "用户id",
  24829. "type": "integer"
  24830. }
  24831. }
  24832. },
  24833. "models.ErmcpRoleMenuEx": {
  24834. "type": "object",
  24835. "properties": {
  24836. "menu": {
  24837. "description": "父级菜单",
  24838. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24839. },
  24840. "subMenu": {
  24841. "description": "子级菜单",
  24842. "type": "array",
  24843. "items": {
  24844. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24845. }
  24846. }
  24847. }
  24848. },
  24849. "models.ErmcpTaAccount": {
  24850. "type": "object",
  24851. "properties": {
  24852. "accountid": {
  24853. "description": "账户id",
  24854. "type": "integer"
  24855. },
  24856. "accountname": {
  24857. "description": "账户名称",
  24858. "type": "string"
  24859. },
  24860. "currencyid": {
  24861. "description": "币种id",
  24862. "type": "integer"
  24863. },
  24864. "hedgeaccountcode": {
  24865. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24866. "type": "string"
  24867. },
  24868. "ismain": {
  24869. "description": "是否主账户 0-否 1-是",
  24870. "type": "integer"
  24871. },
  24872. "parentaccountid": {
  24873. "description": "父账户id",
  24874. "type": "integer"
  24875. },
  24876. "relateduserid": {
  24877. "description": "关联userid",
  24878. "type": "integer"
  24879. },
  24880. "tradefeetmpid": {
  24881. "description": "手续费模板id",
  24882. "type": "integer"
  24883. },
  24884. "tradefeetmpname": {
  24885. "description": "手续费模板名称",
  24886. "type": "string"
  24887. },
  24888. "trademargintmpid": {
  24889. "description": "保证金模板id",
  24890. "type": "integer"
  24891. },
  24892. "trademargintmpname": {
  24893. "description": "保证金模板名称",
  24894. "type": "string"
  24895. },
  24896. "traderatetmpid": {
  24897. "description": "汇率模板id",
  24898. "type": "integer"
  24899. },
  24900. "traderatetmpname": {
  24901. "description": "汇率模板名称",
  24902. "type": "string"
  24903. },
  24904. "tradestatus": {
  24905. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24906. "type": "integer"
  24907. },
  24908. "userid": {
  24909. "description": "用户id",
  24910. "type": "integer"
  24911. }
  24912. }
  24913. },
  24914. "models.ErmcpTaAccountEx": {
  24915. "type": "object",
  24916. "properties": {
  24917. "mainAcc": {
  24918. "description": "主账号",
  24919. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24920. },
  24921. "subacclist": {
  24922. "description": "子账号列表",
  24923. "type": "array",
  24924. "items": {
  24925. "$ref": "#/definitions/models.ErmcpTaAccount"
  24926. }
  24927. }
  24928. }
  24929. },
  24930. "models.ErmcpTaAccountInfo": {
  24931. "type": "object",
  24932. "properties": {
  24933. "accountid": {
  24934. "description": "资金账户ID",
  24935. "type": "integer"
  24936. },
  24937. "accountname": {
  24938. "description": "账户名称",
  24939. "type": "string"
  24940. },
  24941. "balance": {
  24942. "description": "期初余额",
  24943. "type": "number"
  24944. },
  24945. "capitalbalance": {
  24946. "description": "本金余额[外部子账户实际出入金余额]",
  24947. "type": "number"
  24948. },
  24949. "closepl": {
  24950. "description": "今日平仓盈亏",
  24951. "type": "number"
  24952. },
  24953. "creditdecrease": {
  24954. "description": "今日授信减少",
  24955. "type": "number"
  24956. },
  24957. "creditincrease": {
  24958. "description": "今日授信增加",
  24959. "type": "number"
  24960. },
  24961. "curdebt": {
  24962. "description": "期末欠款",
  24963. "type": "number"
  24964. },
  24965. "currencyid": {
  24966. "description": "货币ID",
  24967. "type": "integer"
  24968. },
  24969. "currentbalance": {
  24970. "description": "期末余额",
  24971. "type": "number"
  24972. },
  24973. "freezecharge": {
  24974. "description": "手续费冻结",
  24975. "type": "number"
  24976. },
  24977. "freezemargin": {
  24978. "description": "冻结保证金",
  24979. "type": "number"
  24980. },
  24981. "fromaccountid": {
  24982. "description": "所属上级账户",
  24983. "type": "integer"
  24984. },
  24985. "inamount": {
  24986. "description": "今日入金金额(包括三方入金)",
  24987. "type": "number"
  24988. },
  24989. "ismain": {
  24990. "description": "是否母账号 0:不是母账户 1:是母账户",
  24991. "type": "integer"
  24992. },
  24993. "mortgagecredit": {
  24994. "description": "授信金额",
  24995. "type": "number"
  24996. },
  24997. "oridebt": {
  24998. "description": "期初欠款",
  24999. "type": "number"
  25000. },
  25001. "orifreezecharge": {
  25002. "description": "期初手续费冻结",
  25003. "type": "number"
  25004. },
  25005. "orifreezemargin": {
  25006. "description": "期初冻结保证金",
  25007. "type": "number"
  25008. },
  25009. "orimortgagecredit": {
  25010. "description": "期初授信金额",
  25011. "type": "number"
  25012. },
  25013. "oriothercredit": {
  25014. "description": "期初其它授信金额",
  25015. "type": "number"
  25016. },
  25017. "oriotherfreezemargin": {
  25018. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25019. "type": "number"
  25020. },
  25021. "orioutamountfreeze": {
  25022. "description": "期初出金冻结",
  25023. "type": "number"
  25024. },
  25025. "oriusedmargin": {
  25026. "description": "期初占用保证金",
  25027. "type": "number"
  25028. },
  25029. "othercredit": {
  25030. "description": "其它授信金额",
  25031. "type": "number"
  25032. },
  25033. "othercreditdecrease": {
  25034. "description": "今日其它授信减少",
  25035. "type": "number"
  25036. },
  25037. "othercreditincrease": {
  25038. "description": "今日其它授信增加",
  25039. "type": "number"
  25040. },
  25041. "otherfreezemargin": {
  25042. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25043. "type": "number"
  25044. },
  25045. "outamount": {
  25046. "description": "今日出金金额(包括三方出金)",
  25047. "type": "number"
  25048. },
  25049. "outamountfreeze": {
  25050. "description": "出金冻结",
  25051. "type": "number"
  25052. },
  25053. "outthreshold": {
  25054. "description": "出金阈值",
  25055. "type": "number"
  25056. },
  25057. "parentaccountid": {
  25058. "description": "所属根账号",
  25059. "type": "integer"
  25060. },
  25061. "paycharge": {
  25062. "description": "今日手续费支出",
  25063. "type": "number"
  25064. },
  25065. "relateduserid": {
  25066. "description": "关联用户",
  25067. "type": "integer"
  25068. },
  25069. "signstatus": {
  25070. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25071. "type": "integer"
  25072. },
  25073. "sublevelpath": {
  25074. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25075. "type": "string"
  25076. },
  25077. "taaccounttype": {
  25078. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25079. "type": "integer"
  25080. },
  25081. "thirdinamount": {
  25082. "description": "今日三方入金",
  25083. "type": "number"
  25084. },
  25085. "thirdoutamount": {
  25086. "description": "今日三方出金",
  25087. "type": "number"
  25088. },
  25089. "tradestatus": {
  25090. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25091. "type": "integer"
  25092. },
  25093. "transferamount": {
  25094. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25095. "type": "number"
  25096. },
  25097. "usedmargin": {
  25098. "description": "占用保证金",
  25099. "type": "number"
  25100. },
  25101. "userid": {
  25102. "description": "用户ID",
  25103. "type": "integer"
  25104. }
  25105. }
  25106. },
  25107. "models.ErmcpTaAccountM": {
  25108. "type": "object",
  25109. "properties": {
  25110. "accountid": {
  25111. "description": "账户id",
  25112. "type": "integer"
  25113. },
  25114. "accountname": {
  25115. "description": "账户名称",
  25116. "type": "string"
  25117. },
  25118. "currencyid": {
  25119. "description": "币种id",
  25120. "type": "integer"
  25121. },
  25122. "fcid": {
  25123. "description": "期货公司id",
  25124. "type": "integer"
  25125. },
  25126. "fcname": {
  25127. "description": "期货公司代码",
  25128. "type": "string"
  25129. },
  25130. "hedgeaccountcode": {
  25131. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25132. "type": "string"
  25133. },
  25134. "ismain": {
  25135. "description": "是否主账户 0-否 1-是",
  25136. "type": "integer"
  25137. },
  25138. "parentaccountid": {
  25139. "description": "父账户id",
  25140. "type": "integer"
  25141. },
  25142. "relateduserid": {
  25143. "description": "关联userid",
  25144. "type": "integer"
  25145. },
  25146. "tradefeetmpid": {
  25147. "description": "手续费模板id",
  25148. "type": "integer"
  25149. },
  25150. "tradefeetmpname": {
  25151. "description": "手续费模板名称",
  25152. "type": "string"
  25153. },
  25154. "trademargintmpid": {
  25155. "description": "保证金模板id",
  25156. "type": "integer"
  25157. },
  25158. "trademargintmpname": {
  25159. "description": "保证金模板名称",
  25160. "type": "string"
  25161. },
  25162. "traderatetmpid": {
  25163. "description": "汇率模板id",
  25164. "type": "integer"
  25165. },
  25166. "traderatetmpname": {
  25167. "description": "汇率模板名称",
  25168. "type": "string"
  25169. },
  25170. "tradestatus": {
  25171. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25172. "type": "integer"
  25173. },
  25174. "userid": {
  25175. "description": "用户id",
  25176. "type": "integer"
  25177. }
  25178. }
  25179. },
  25180. "models.ErmcpTradeConfigTMP": {
  25181. "type": "object",
  25182. "properties": {
  25183. "areauserid": {
  25184. "description": "所属机构",
  25185. "type": "integer"
  25186. },
  25187. "basiccurrencyid": {
  25188. "description": "基本币种ID[汇率] - 目标币种",
  25189. "type": "integer"
  25190. },
  25191. "mainaccountid": {
  25192. "description": "主账户ID",
  25193. "type": "integer"
  25194. },
  25195. "modifierid": {
  25196. "description": "修改人",
  25197. "type": "integer"
  25198. },
  25199. "remark": {
  25200. "description": "备注",
  25201. "type": "string"
  25202. },
  25203. "tradeconfigtmpid": {
  25204. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25205. "type": "integer"
  25206. },
  25207. "tradeconfigtmpname": {
  25208. "description": "交易配置模板名称",
  25209. "type": "string"
  25210. },
  25211. "tradeconfigtmptype": {
  25212. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25213. "type": "integer"
  25214. },
  25215. "updatetime": {
  25216. "description": "更新时间",
  25217. "type": "string"
  25218. }
  25219. }
  25220. },
  25221. "models.Externalexchange": {
  25222. "type": "object",
  25223. "required": [
  25224. "autoid"
  25225. ],
  25226. "properties": {
  25227. "autoid": {
  25228. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25229. "type": "integer"
  25230. },
  25231. "exchangefullname": {
  25232. "description": "外部交易所全称",
  25233. "type": "string"
  25234. },
  25235. "exexchangecode": {
  25236. "description": "外部交易所代码",
  25237. "type": "string"
  25238. },
  25239. "exexchangename": {
  25240. "description": "外部交易所名称(简称)",
  25241. "type": "string"
  25242. },
  25243. "ismarketprice": {
  25244. "description": "是否支持市价 - 0:不支持 1:支持",
  25245. "type": "integer"
  25246. },
  25247. "quotegear": {
  25248. "description": "行情档位(1-10)",
  25249. "type": "integer"
  25250. },
  25251. "showbrokerflag": {
  25252. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25253. "type": "integer"
  25254. },
  25255. "updatetime": {
  25256. "description": "更新时间",
  25257. "type": "string"
  25258. }
  25259. }
  25260. },
  25261. "models.Funcmenulist": {
  25262. "type": "object",
  25263. "required": [
  25264. "resourcecode"
  25265. ],
  25266. "properties": {
  25267. "iconame": {
  25268. "description": "菜单图标",
  25269. "type": "string"
  25270. },
  25271. "menutype": {
  25272. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25273. "type": "integer"
  25274. },
  25275. "parentcode": {
  25276. "description": "上级资源代码",
  25277. "type": "string"
  25278. },
  25279. "remark": {
  25280. "description": "备注",
  25281. "type": "string"
  25282. },
  25283. "resourcecode": {
  25284. "description": "资源代码",
  25285. "type": "string"
  25286. },
  25287. "resourcelevel": {
  25288. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25289. "type": "integer"
  25290. },
  25291. "resourcename": {
  25292. "description": "资源名",
  25293. "type": "string"
  25294. },
  25295. "sort": {
  25296. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25297. "type": "integer"
  25298. },
  25299. "url": {
  25300. "description": "URL",
  25301. "type": "string"
  25302. }
  25303. }
  25304. },
  25305. "models.Goods": {
  25306. "type": "object",
  25307. "required": [
  25308. "goodscode",
  25309. "goodsid",
  25310. "goodsname",
  25311. "marketid"
  25312. ],
  25313. "properties": {
  25314. "agreeunit": {
  25315. "description": "合约单位",
  25316. "type": "number"
  25317. },
  25318. "areauserid": {
  25319. "description": "所属机构",
  25320. "type": "integer"
  25321. },
  25322. "auditaccountid": {
  25323. "description": "审核操作员账号",
  25324. "type": "integer"
  25325. },
  25326. "audittime": {
  25327. "description": "审核时间",
  25328. "type": "string"
  25329. },
  25330. "cancelaccountid": {
  25331. "description": "注销操作员账号",
  25332. "type": "integer"
  25333. },
  25334. "canceltime": {
  25335. "description": "注销时间",
  25336. "type": "string"
  25337. },
  25338. "closepricemode": {
  25339. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25340. "type": "integer"
  25341. },
  25342. "closepriceparam": {
  25343. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25344. "type": "number"
  25345. },
  25346. "createtime": {
  25347. "description": "创建时间",
  25348. "type": "string"
  25349. },
  25350. "creatorid": {
  25351. "description": "创建人",
  25352. "type": "integer"
  25353. },
  25354. "currencyid": {
  25355. "description": "报价货币ID",
  25356. "type": "integer"
  25357. },
  25358. "cutmode": {
  25359. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25360. "type": "integer"
  25361. },
  25362. "decimalplace": {
  25363. "description": "报价小数位",
  25364. "type": "integer"
  25365. },
  25366. "delistingdate": {
  25367. "description": "商品退市时间(状态:退市) -- 已作废",
  25368. "type": "string"
  25369. },
  25370. "delistingmode": {
  25371. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25372. "type": "integer"
  25373. },
  25374. "deliveryflag": {
  25375. "description": "交割标志 - 0:不可交割 1:可交割",
  25376. "type": "integer"
  25377. },
  25378. "forceclosemode": {
  25379. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25380. "type": "integer"
  25381. },
  25382. "forceclosevalue": {
  25383. "description": "定期强平参数 [收益权]",
  25384. "type": "integer"
  25385. },
  25386. "goodscode": {
  25387. "description": "商品代码(内部)",
  25388. "type": "string"
  25389. },
  25390. "goodscurrencyid": {
  25391. "description": "合约货币ID",
  25392. "type": "integer"
  25393. },
  25394. "goodsgroupid": {
  25395. "description": "所属商品组ID",
  25396. "type": "integer"
  25397. },
  25398. "goodsid": {
  25399. "description": "商品ID(自增ID SEQ_GOODS)",
  25400. "type": "integer"
  25401. },
  25402. "goodsname": {
  25403. "description": "商品名称",
  25404. "type": "string"
  25405. },
  25406. "goodsquotetype": {
  25407. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25408. "type": "integer"
  25409. },
  25410. "goodsstatus": {
  25411. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25412. "type": "integer"
  25413. },
  25414. "goodstradetype": {
  25415. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25416. "type": "integer"
  25417. },
  25418. "goodunitid": {
  25419. "description": "报价单位ID",
  25420. "type": "integer"
  25421. },
  25422. "hasquoter": {
  25423. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25424. "type": "integer"
  25425. },
  25426. "hqprotecttime": {
  25427. "description": "行情保护时间(秒)",
  25428. "type": "integer"
  25429. },
  25430. "innerdealmode": {
  25431. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25432. "type": "integer"
  25433. },
  25434. "isbuylimited": {
  25435. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25436. "type": "integer"
  25437. },
  25438. "isvisible": {
  25439. "description": "游客是否可见 - 0:不可见 1:可见",
  25440. "type": "integer"
  25441. },
  25442. "lasttradedate": {
  25443. "description": "最后交易日期(状态:待退市)",
  25444. "type": "string"
  25445. },
  25446. "listingdate": {
  25447. "description": "交易开始日期",
  25448. "type": "string"
  25449. },
  25450. "marketid": {
  25451. "description": "所属市场ID",
  25452. "type": "integer"
  25453. },
  25454. "modifierid": {
  25455. "description": "修改人",
  25456. "type": "integer"
  25457. },
  25458. "modifystatus": {
  25459. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25460. "type": "integer"
  25461. },
  25462. "modifytime": {
  25463. "description": "修改时间",
  25464. "type": "string"
  25465. },
  25466. "outerdealmode": {
  25467. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25468. "type": "integer"
  25469. },
  25470. "outgoodscode": {
  25471. "description": "商品代码(外部)",
  25472. "type": "string"
  25473. },
  25474. "pictureurl": {
  25475. "description": "商品图片",
  25476. "type": "string"
  25477. },
  25478. "qtydecimalplace": {
  25479. "description": "成交量小数位",
  25480. "type": "integer"
  25481. },
  25482. "quotegear": {
  25483. "description": "行情档位(1-10)",
  25484. "type": "integer"
  25485. },
  25486. "quoteminunit": {
  25487. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25488. "type": "integer"
  25489. },
  25490. "quoteshowtype": {
  25491. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25492. "type": "integer"
  25493. },
  25494. "quoteshowtypeinterval": {
  25495. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25496. "type": "integer"
  25497. },
  25498. "remark": {
  25499. "description": "备注",
  25500. "type": "string"
  25501. }
  25502. }
  25503. },
  25504. "models.GoodsIDAndName": {
  25505. "type": "object",
  25506. "required": [
  25507. "goodscode",
  25508. "goodsid",
  25509. "goodsname",
  25510. "marketid"
  25511. ],
  25512. "properties": {
  25513. "goodscode": {
  25514. "description": "商品代码(内部)",
  25515. "type": "string"
  25516. },
  25517. "goodsid": {
  25518. "description": "商品ID(自增ID SEQ_GOODS)",
  25519. "type": "integer"
  25520. },
  25521. "goodsname": {
  25522. "description": "商品名称",
  25523. "type": "string"
  25524. },
  25525. "marketid": {
  25526. "description": "所属市场ID",
  25527. "type": "integer"
  25528. }
  25529. }
  25530. },
  25531. "models.Goodsgroup": {
  25532. "type": "object",
  25533. "required": [
  25534. "goodsgroupid",
  25535. "goodsgroupname",
  25536. "goodsgroupstatus",
  25537. "marketid"
  25538. ],
  25539. "properties": {
  25540. "agreeunit": {
  25541. "description": "合约单位",
  25542. "type": "number"
  25543. },
  25544. "canshort": {
  25545. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25546. "type": "integer"
  25547. },
  25548. "closepricemode": {
  25549. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25550. "type": "integer"
  25551. },
  25552. "closepriceparam": {
  25553. "description": "强平最新价浮动比例 - 方式为2时使用",
  25554. "type": "number"
  25555. },
  25556. "createtime": {
  25557. "description": "创建时间",
  25558. "type": "string"
  25559. },
  25560. "creatorid": {
  25561. "description": "创建人",
  25562. "type": "integer"
  25563. },
  25564. "currencyid": {
  25565. "description": "报价货币ID",
  25566. "type": "integer"
  25567. },
  25568. "decimalplace": {
  25569. "description": "报价小数位",
  25570. "type": "integer"
  25571. },
  25572. "exercisetype": {
  25573. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25574. "type": "integer"
  25575. },
  25576. "exexchangeid": {
  25577. "description": "外部交易所ID[通道交易]",
  25578. "type": "integer"
  25579. },
  25580. "goodsgroupid": {
  25581. "description": "商品组ID(自增ID)",
  25582. "type": "integer"
  25583. },
  25584. "goodsgroupname": {
  25585. "description": "商品组名称",
  25586. "type": "string"
  25587. },
  25588. "goodsgroupstatus": {
  25589. "description": "商品组状态 - 1:正常 2:注销",
  25590. "type": "integer"
  25591. },
  25592. "goodunitid": {
  25593. "description": "报价单位ID",
  25594. "type": "integer"
  25595. },
  25596. "innerdealmode": {
  25597. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25598. "type": "integer"
  25599. },
  25600. "isbuylimited": {
  25601. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25602. "type": "integer"
  25603. },
  25604. "marketid": {
  25605. "description": "所属市场ID",
  25606. "type": "integer"
  25607. },
  25608. "modifierid": {
  25609. "description": "修改人",
  25610. "type": "integer"
  25611. },
  25612. "modifytime": {
  25613. "description": "修改时间",
  25614. "type": "string"
  25615. },
  25616. "outerdealmode": {
  25617. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25618. "type": "integer"
  25619. },
  25620. "outergroupcode": {
  25621. "description": "外部商品组代码[通道交易]",
  25622. "type": "string"
  25623. },
  25624. "premiumdecimalplace": {
  25625. "description": "权利金小数位[场外期权]",
  25626. "type": "integer"
  25627. },
  25628. "premiumspreadalgorithm": {
  25629. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25630. "type": "integer"
  25631. },
  25632. "premiumspreadvalue": {
  25633. "description": "权利金点差值[场外期权]",
  25634. "type": "number"
  25635. },
  25636. "qtydecimalplace": {
  25637. "description": "成交量小数位",
  25638. "type": "integer"
  25639. },
  25640. "quotegear": {
  25641. "description": "行情档位(1-10)",
  25642. "type": "integer"
  25643. },
  25644. "quoteminunit": {
  25645. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25646. "type": "integer"
  25647. },
  25648. "quoterid": {
  25649. "description": "报价商ID[场外期权]",
  25650. "type": "integer"
  25651. },
  25652. "quotesourcegroupid": {
  25653. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25654. "type": "integer"
  25655. },
  25656. "syncgoodsqty": {
  25657. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25658. "type": "integer"
  25659. }
  25660. }
  25661. },
  25662. "models.Goodssortbypreposition": {
  25663. "type": "object",
  25664. "required": [
  25665. "goodscode",
  25666. "tradedate"
  25667. ],
  25668. "properties": {
  25669. "goodscode": {
  25670. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25671. "type": "string"
  25672. },
  25673. "goodsgroupcode": {
  25674. "description": "品种代码",
  25675. "type": "string"
  25676. },
  25677. "prepositionqty": {
  25678. "description": "昨持仓量",
  25679. "type": "integer"
  25680. },
  25681. "sortindex": {
  25682. "description": "排序",
  25683. "type": "integer"
  25684. },
  25685. "tradedate": {
  25686. "description": "交易日",
  25687. "type": "string"
  25688. },
  25689. "updatetime": {
  25690. "description": "更新时间",
  25691. "type": "string"
  25692. }
  25693. }
  25694. },
  25695. "models.Hedgeinnerholderdetail": {
  25696. "type": "object",
  25697. "required": [
  25698. "buyorsell",
  25699. "tradeid"
  25700. ],
  25701. "properties": {
  25702. "accountid": {
  25703. "description": "账号ID",
  25704. "type": "integer"
  25705. },
  25706. "buyorsell": {
  25707. "description": "方向 - 0:买 1:卖",
  25708. "type": "integer"
  25709. },
  25710. "freezeqty": {
  25711. "description": "冻结数量 - 按单平使用",
  25712. "type": "integer"
  25713. },
  25714. "goodsid": {
  25715. "description": "商品ID",
  25716. "type": "integer"
  25717. },
  25718. "holderamount": {
  25719. "description": "持仓金额 [商品币种]",
  25720. "type": "number"
  25721. },
  25722. "holderdays": {
  25723. "description": "剩余冻结天数",
  25724. "type": "integer"
  25725. },
  25726. "holderprice": {
  25727. "description": "持仓价格",
  25728. "type": "number"
  25729. },
  25730. "holderqty": {
  25731. "description": "持仓数量",
  25732. "type": "integer"
  25733. },
  25734. "marketid": {
  25735. "description": "市场ID",
  25736. "type": "integer"
  25737. },
  25738. "openprice": {
  25739. "description": "建仓价格",
  25740. "type": "number"
  25741. },
  25742. "openqty": {
  25743. "description": "建仓数量",
  25744. "type": "integer"
  25745. },
  25746. "parentaccountid": {
  25747. "description": "所属母账户",
  25748. "type": "integer"
  25749. },
  25750. "releaseamount": {
  25751. "description": "释放持仓金额[商品币种]",
  25752. "type": "number"
  25753. },
  25754. "tradeamount": {
  25755. "description": "成交金额[账户]",
  25756. "type": "number"
  25757. },
  25758. "tradedate": {
  25759. "description": "交易日(yyyyMMdd)",
  25760. "type": "string"
  25761. },
  25762. "tradeid": {
  25763. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25764. "type": "string"
  25765. },
  25766. "tradetime": {
  25767. "description": "交易时间",
  25768. "type": "string"
  25769. }
  25770. }
  25771. },
  25772. "models.Hedgemarketopenlog": {
  25773. "type": "object",
  25774. "required": [
  25775. "accountid"
  25776. ],
  25777. "properties": {
  25778. "accountid": {
  25779. "description": "资金账号[外部母账户]",
  25780. "type": "integer"
  25781. },
  25782. "fcname": {
  25783. "description": "期货公司名称",
  25784. "type": "string"
  25785. },
  25786. "handlestatus": {
  25787. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25788. "type": "integer"
  25789. },
  25790. "marketid": {
  25791. "description": "市场ID",
  25792. "type": "integer"
  25793. },
  25794. "status": {
  25795. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25796. "type": "integer"
  25797. },
  25798. "tradedate": {
  25799. "description": "交易日(yyyyMMdd)",
  25800. "type": "string"
  25801. },
  25802. "updatetime": {
  25803. "description": "更新时间",
  25804. "type": "string"
  25805. }
  25806. }
  25807. },
  25808. "models.HsbyBuyMyPayOrder": {
  25809. "type": "object",
  25810. "required": [
  25811. "goodscode",
  25812. "goodsname",
  25813. "tradeid",
  25814. "trademode"
  25815. ],
  25816. "properties": {
  25817. "agreeunit": {
  25818. "description": "合约单位",
  25819. "type": "number"
  25820. },
  25821. "buyaccountid": {
  25822. "description": "买方账号ID[报价币种]",
  25823. "type": "integer"
  25824. },
  25825. "buyorderid": {
  25826. "description": "买方委托单号",
  25827. "type": "string"
  25828. },
  25829. "createtime": {
  25830. "description": "创建时间",
  25831. "type": "string"
  25832. },
  25833. "currencysign": {
  25834. "description": "货币符号",
  25835. "type": "string"
  25836. },
  25837. "decimalplace": {
  25838. "description": "报价小数位",
  25839. "type": "integer"
  25840. },
  25841. "goodscode": {
  25842. "description": "商品代码(内部)",
  25843. "type": "string"
  25844. },
  25845. "goodsid": {
  25846. "description": "商品ID",
  25847. "type": "integer"
  25848. },
  25849. "goodsname": {
  25850. "description": "商品名称",
  25851. "type": "string"
  25852. },
  25853. "marketid": {
  25854. "description": "市场ID",
  25855. "type": "integer"
  25856. },
  25857. "offamount": {
  25858. "description": "优惠金额",
  25859. "type": "number"
  25860. },
  25861. "originalamount": {
  25862. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25863. "type": "number"
  25864. },
  25865. "payamount": {
  25866. "description": "支付金额 = TradeAmount + TradeCharge",
  25867. "type": "number"
  25868. },
  25869. "payflag": {
  25870. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25871. "type": "integer"
  25872. },
  25873. "paylimitedtime": {
  25874. "description": "支付期限",
  25875. "type": "string"
  25876. },
  25877. "paytime": {
  25878. "description": "付款时间",
  25879. "type": "string"
  25880. },
  25881. "picurls1": {
  25882. "description": "预售商品介绍图片[多张用逗号分隔]",
  25883. "type": "string"
  25884. },
  25885. "picurls2": {
  25886. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25887. "type": "string"
  25888. },
  25889. "sellaccountid": {
  25890. "description": "卖方账号ID[报价币种]",
  25891. "type": "integer"
  25892. },
  25893. "sellorderid": {
  25894. "description": "卖方委托单号",
  25895. "type": "string"
  25896. },
  25897. "tradeamount": {
  25898. "description": "成交金额",
  25899. "type": "number"
  25900. },
  25901. "tradecharge": {
  25902. "description": "成交手续费(买方)",
  25903. "type": "number"
  25904. },
  25905. "tradedate": {
  25906. "description": "交易日(yyyyMMdd)",
  25907. "type": "string"
  25908. },
  25909. "tradeid": {
  25910. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25911. "type": "string"
  25912. },
  25913. "trademode": {
  25914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25915. "type": "integer"
  25916. },
  25917. "tradeprice": {
  25918. "description": "成交价格",
  25919. "type": "number"
  25920. },
  25921. "tradeqty": {
  25922. "description": "成交数量",
  25923. "type": "integer"
  25924. },
  25925. "vendorname1": {
  25926. "description": "预售商品供应商名称",
  25927. "type": "string"
  25928. },
  25929. "vendorname2": {
  25930. "description": "挂牌商品供应商名称",
  25931. "type": "string"
  25932. }
  25933. }
  25934. },
  25935. "models.HsbyBuyMyTradeDetail": {
  25936. "type": "object",
  25937. "required": [
  25938. "accountid",
  25939. "buyorsell",
  25940. "goodscode",
  25941. "goodsid",
  25942. "goodsname",
  25943. "marketid",
  25944. "orderid",
  25945. "qty",
  25946. "time",
  25947. "trademode"
  25948. ],
  25949. "properties": {
  25950. "accountid": {
  25951. "description": "账户ID[报价币种]",
  25952. "type": "integer"
  25953. },
  25954. "agreeunit": {
  25955. "description": "合约单位",
  25956. "type": "number"
  25957. },
  25958. "amount": {
  25959. "description": "金额 = 价格 * 数量 * 合约单位",
  25960. "type": "number"
  25961. },
  25962. "buyorsell": {
  25963. "description": "买卖 - 0:买 1:卖",
  25964. "type": "integer"
  25965. },
  25966. "currencysign": {
  25967. "description": "货币符号",
  25968. "type": "string"
  25969. },
  25970. "decimalplace": {
  25971. "description": "报价小数位",
  25972. "type": "integer"
  25973. },
  25974. "goodscode": {
  25975. "description": "商品代码(内部)",
  25976. "type": "string"
  25977. },
  25978. "goodsid": {
  25979. "description": "商品ID",
  25980. "type": "integer"
  25981. },
  25982. "goodsname": {
  25983. "description": "商品名称",
  25984. "type": "string"
  25985. },
  25986. "marketid": {
  25987. "description": "市场ID",
  25988. "type": "integer"
  25989. },
  25990. "orderamount": {
  25991. "description": "委托金额",
  25992. "type": "number"
  25993. },
  25994. "orderid": {
  25995. "description": "单号(成交单号)",
  25996. "type": "string"
  25997. },
  25998. "picurls1": {
  25999. "description": "预售商品介绍图片[多张用逗号分隔]",
  26000. "type": "string"
  26001. },
  26002. "picurls2": {
  26003. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26004. "type": "string"
  26005. },
  26006. "price": {
  26007. "description": "价格",
  26008. "type": "number"
  26009. },
  26010. "qty": {
  26011. "description": "数量",
  26012. "type": "integer"
  26013. },
  26014. "time": {
  26015. "description": "时间",
  26016. "type": "string"
  26017. },
  26018. "trademode": {
  26019. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26020. "type": "integer"
  26021. },
  26022. "vendorname1": {
  26023. "description": "预售商品供应商名称",
  26024. "type": "string"
  26025. },
  26026. "vendorname2": {
  26027. "description": "挂牌商品供应商名称",
  26028. "type": "string"
  26029. }
  26030. }
  26031. },
  26032. "models.HsbyGoodsOrderDetail": {
  26033. "type": "object",
  26034. "required": [
  26035. "buyorsell",
  26036. "orderid",
  26037. "ordertime"
  26038. ],
  26039. "properties": {
  26040. "buyorsell": {
  26041. "description": "买卖 - 0:买 1:卖",
  26042. "type": "integer"
  26043. },
  26044. "currencysign": {
  26045. "description": "货币符号",
  26046. "type": "string"
  26047. },
  26048. "customername": {
  26049. "description": "客户名称(企业名称),已脱敏",
  26050. "type": "string"
  26051. },
  26052. "enableqty": {
  26053. "description": "可用数量",
  26054. "type": "integer"
  26055. },
  26056. "goodunit": {
  26057. "description": "报价单位",
  26058. "type": "string"
  26059. },
  26060. "orderid": {
  26061. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26062. "type": "string"
  26063. },
  26064. "orderprice": {
  26065. "description": "委托价格",
  26066. "type": "number"
  26067. },
  26068. "ordertime": {
  26069. "description": "委托时间",
  26070. "type": "string"
  26071. }
  26072. }
  26073. },
  26074. "models.HsbyListingGoodsDetail": {
  26075. "type": "object",
  26076. "required": [
  26077. "goodscode",
  26078. "goodsid",
  26079. "goodsname",
  26080. "marketid",
  26081. "trademode"
  26082. ],
  26083. "properties": {
  26084. "agreeunit": {
  26085. "description": "合约单位",
  26086. "type": "number"
  26087. },
  26088. "buymaxqty": {
  26089. "description": "购买上限 [71] - 0为不限",
  26090. "type": "integer"
  26091. },
  26092. "currency": {
  26093. "description": "货币",
  26094. "type": "string"
  26095. },
  26096. "currencysign": {
  26097. "description": "货币符号",
  26098. "type": "string"
  26099. },
  26100. "decimalplace": {
  26101. "description": "报价小数位",
  26102. "type": "integer"
  26103. },
  26104. "desccityid": {
  26105. "description": "目的地(市)ID",
  26106. "type": "integer"
  26107. },
  26108. "descprovinceid": {
  26109. "description": "目的地(省)ID",
  26110. "type": "integer"
  26111. },
  26112. "goodscode": {
  26113. "description": "商品代码(内部)",
  26114. "type": "string"
  26115. },
  26116. "goodsdesc": {
  26117. "description": "商品详情",
  26118. "type": "string"
  26119. },
  26120. "goodsid": {
  26121. "description": "商品ID(自增ID SEQ_GOODS)",
  26122. "type": "integer"
  26123. },
  26124. "goodsname": {
  26125. "description": "商品名称",
  26126. "type": "string"
  26127. },
  26128. "goodsprice": {
  26129. "description": "商品价格",
  26130. "type": "number"
  26131. },
  26132. "hotindex": {
  26133. "description": "景点热度",
  26134. "type": "integer"
  26135. },
  26136. "last": {
  26137. "description": "现价",
  26138. "type": "number"
  26139. },
  26140. "limitdown": {
  26141. "description": "跌停价",
  26142. "type": "number"
  26143. },
  26144. "limitup": {
  26145. "description": "涨停价",
  26146. "type": "number"
  26147. },
  26148. "lotsize": {
  26149. "description": "手数最小变动单位",
  26150. "type": "integer"
  26151. },
  26152. "marketid": {
  26153. "description": "所属市场ID",
  26154. "type": "integer"
  26155. },
  26156. "picurls": {
  26157. "description": "介绍图片[多张用逗号分隔]",
  26158. "type": "string"
  26159. },
  26160. "quoteminunit": {
  26161. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26162. "type": "integer"
  26163. },
  26164. "stepvalue": {
  26165. "description": "价格最小变动单位",
  26166. "type": "number"
  26167. },
  26168. "trademode": {
  26169. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26170. "type": "integer"
  26171. },
  26172. "vendorattr": {
  26173. "description": "供应商附件(多张,逗号分隔)",
  26174. "type": "string"
  26175. },
  26176. "vendorname": {
  26177. "description": "供应商名称",
  26178. "type": "string"
  26179. },
  26180. "vendorphone": {
  26181. "description": "供应商客服电话",
  26182. "type": "string"
  26183. },
  26184. "videourls": {
  26185. "description": "介绍视频[多张用逗号分隔]",
  26186. "type": "string"
  26187. }
  26188. }
  26189. },
  26190. "models.HsbyMarketGoods": {
  26191. "type": "object",
  26192. "required": [
  26193. "accountid",
  26194. "buyorsell",
  26195. "goodscode",
  26196. "goodsid",
  26197. "goodsname",
  26198. "marketid",
  26199. "orderid",
  26200. "trademode"
  26201. ],
  26202. "properties": {
  26203. "accountid": {
  26204. "description": "账户ID[报价币种]",
  26205. "type": "integer"
  26206. },
  26207. "agreeunit": {
  26208. "description": "合约单位",
  26209. "type": "number"
  26210. },
  26211. "buyorsell": {
  26212. "description": "买卖 - 0:买 1:卖",
  26213. "type": "integer"
  26214. },
  26215. "categoryid": {
  26216. "description": "类别ID(WRCATEGORY)",
  26217. "type": "integer"
  26218. },
  26219. "currency": {
  26220. "description": "货币",
  26221. "type": "string"
  26222. },
  26223. "currencysign": {
  26224. "description": "货币符号",
  26225. "type": "string"
  26226. },
  26227. "customername": {
  26228. "description": "卖家名称",
  26229. "type": "string"
  26230. },
  26231. "decimalplace": {
  26232. "description": "报价小数位",
  26233. "type": "integer"
  26234. },
  26235. "goodscode": {
  26236. "description": "商品代码(内部)",
  26237. "type": "string"
  26238. },
  26239. "goodsid": {
  26240. "description": "商品ID",
  26241. "type": "integer"
  26242. },
  26243. "goodsname": {
  26244. "description": "商品名称",
  26245. "type": "string"
  26246. },
  26247. "goodsprice": {
  26248. "description": "商品价格",
  26249. "type": "number"
  26250. },
  26251. "hascoupon": {
  26252. "description": "是否可用优惠卷",
  26253. "type": "boolean"
  26254. },
  26255. "hotindex": {
  26256. "description": "景点热度",
  26257. "type": "integer"
  26258. },
  26259. "marketid": {
  26260. "description": "市场ID",
  26261. "type": "integer"
  26262. },
  26263. "orderid": {
  26264. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26265. "type": "string"
  26266. },
  26267. "orderprice": {
  26268. "description": "委托价格",
  26269. "type": "number"
  26270. },
  26271. "orderstatus": {
  26272. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26273. "type": "integer"
  26274. },
  26275. "picurls": {
  26276. "description": "介绍图片[多张用逗号分隔]",
  26277. "type": "string"
  26278. },
  26279. "quoteminunit": {
  26280. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26281. "type": "integer"
  26282. },
  26283. "sellUserID": {
  26284. "description": "卖方UserID",
  26285. "type": "integer"
  26286. },
  26287. "trademode": {
  26288. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26289. "type": "integer"
  26290. },
  26291. "videourls": {
  26292. "description": "介绍视频[多张用逗号分隔]",
  26293. "type": "string"
  26294. }
  26295. }
  26296. },
  26297. "models.HsbyMarketGoodsDetail": {
  26298. "type": "object",
  26299. "required": [
  26300. "accountid",
  26301. "buyorsell",
  26302. "goodscode",
  26303. "goodsid",
  26304. "goodsname",
  26305. "marketid",
  26306. "orderid",
  26307. "orderqty",
  26308. "trademode"
  26309. ],
  26310. "properties": {
  26311. "accountid": {
  26312. "description": "账户ID[报价币种]",
  26313. "type": "integer"
  26314. },
  26315. "agreeunit": {
  26316. "description": "合约单位",
  26317. "type": "number"
  26318. },
  26319. "buymaxqty": {
  26320. "description": "购买上限 [71] - 0为不限",
  26321. "type": "integer"
  26322. },
  26323. "buyorsell": {
  26324. "description": "买卖 - 0:买 1:卖",
  26325. "type": "integer"
  26326. },
  26327. "cancelqty": {
  26328. "description": "撤单数量",
  26329. "type": "integer"
  26330. },
  26331. "categoryid": {
  26332. "description": "类别ID(WRCATEGORY)",
  26333. "type": "integer"
  26334. },
  26335. "currency": {
  26336. "description": "货币",
  26337. "type": "string"
  26338. },
  26339. "currencysign": {
  26340. "description": "货币符号",
  26341. "type": "string"
  26342. },
  26343. "customername": {
  26344. "description": "卖家名称",
  26345. "type": "string"
  26346. },
  26347. "decimalplace": {
  26348. "description": "报价小数位",
  26349. "type": "integer"
  26350. },
  26351. "goodscode": {
  26352. "description": "商品代码(内部)",
  26353. "type": "string"
  26354. },
  26355. "goodsdesc": {
  26356. "description": "商品详情",
  26357. "type": "string"
  26358. },
  26359. "goodsid": {
  26360. "description": "商品ID",
  26361. "type": "integer"
  26362. },
  26363. "goodsname": {
  26364. "description": "商品名称",
  26365. "type": "string"
  26366. },
  26367. "goodsprice": {
  26368. "description": "商品价格",
  26369. "type": "number"
  26370. },
  26371. "hotindex": {
  26372. "description": "景点热度",
  26373. "type": "integer"
  26374. },
  26375. "lotsize": {
  26376. "description": "手数最小变动单位",
  26377. "type": "integer"
  26378. },
  26379. "marketid": {
  26380. "description": "市场ID",
  26381. "type": "integer"
  26382. },
  26383. "orderid": {
  26384. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26385. "type": "string"
  26386. },
  26387. "orderprice": {
  26388. "description": "委托价格",
  26389. "type": "number"
  26390. },
  26391. "orderqty": {
  26392. "description": "委托数量",
  26393. "type": "integer"
  26394. },
  26395. "orderstatus": {
  26396. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26397. "type": "integer"
  26398. },
  26399. "picurls": {
  26400. "description": "介绍图片[多张用逗号分隔]",
  26401. "type": "string"
  26402. },
  26403. "quoteminunit": {
  26404. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26405. "type": "integer"
  26406. },
  26407. "sellUserID": {
  26408. "description": "卖方UserID",
  26409. "type": "integer"
  26410. },
  26411. "trademode": {
  26412. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26413. "type": "integer"
  26414. },
  26415. "tradeqty": {
  26416. "description": "成交数量",
  26417. "type": "integer"
  26418. },
  26419. "vendorattr": {
  26420. "description": "供应商附件(多张,逗号分隔)",
  26421. "type": "string"
  26422. },
  26423. "vendorname": {
  26424. "description": "供应商名称",
  26425. "type": "string"
  26426. },
  26427. "vendorphone": {
  26428. "description": "供应商客服电话",
  26429. "type": "string"
  26430. },
  26431. "videourls": {
  26432. "description": "介绍视频[多张用逗号分隔]",
  26433. "type": "string"
  26434. }
  26435. }
  26436. },
  26437. "models.HsbyMarketInfo": {
  26438. "type": "object",
  26439. "required": [
  26440. "marketid",
  26441. "marketstatus",
  26442. "trademode"
  26443. ],
  26444. "properties": {
  26445. "marketid": {
  26446. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26447. "type": "integer"
  26448. },
  26449. "marketname": {
  26450. "description": "市场名称",
  26451. "type": "string"
  26452. },
  26453. "marketstatus": {
  26454. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26455. "type": "integer"
  26456. },
  26457. "trademode": {
  26458. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26459. "type": "integer"
  26460. }
  26461. }
  26462. },
  26463. "models.HsbyMyGoods": {
  26464. "type": "object",
  26465. "required": [
  26466. "accountid",
  26467. "goodscode",
  26468. "goodsid",
  26469. "goodsname",
  26470. "marketid",
  26471. "trademode"
  26472. ],
  26473. "properties": {
  26474. "accountid": {
  26475. "description": "账号Id",
  26476. "type": "integer"
  26477. },
  26478. "agreeunit": {
  26479. "description": "合约单位",
  26480. "type": "number"
  26481. },
  26482. "buyaverageprice": {
  26483. "description": "持仓均价",
  26484. "type": "number"
  26485. },
  26486. "buycurholderamount": {
  26487. "description": "买当前持仓总金额[商品币种]",
  26488. "type": "number"
  26489. },
  26490. "buycurpositionqty": {
  26491. "description": "买当前持仓总数量",
  26492. "type": "integer"
  26493. },
  26494. "buymaxqty": {
  26495. "description": "购买上限 [71] - 0为不限",
  26496. "type": "integer"
  26497. },
  26498. "currencysign": {
  26499. "description": "货币符号",
  26500. "type": "string"
  26501. },
  26502. "decimalplace": {
  26503. "description": "报价小数位",
  26504. "type": "integer"
  26505. },
  26506. "enableqty": {
  26507. "description": "可用数量",
  26508. "type": "integer"
  26509. },
  26510. "goodscode": {
  26511. "description": "商品代码(内部)",
  26512. "type": "string"
  26513. },
  26514. "goodsid": {
  26515. "description": "商品Id",
  26516. "type": "integer"
  26517. },
  26518. "goodsname": {
  26519. "description": "商品名称",
  26520. "type": "string"
  26521. },
  26522. "goodsprice": {
  26523. "description": "商品价格",
  26524. "type": "number"
  26525. },
  26526. "goodsstatus": {
  26527. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26528. "type": "integer"
  26529. },
  26530. "last": {
  26531. "description": "现价(仅使用于挂牌点选)",
  26532. "type": "number"
  26533. },
  26534. "limitdown": {
  26535. "description": "跌停价(仅使用于挂牌点选)",
  26536. "type": "number"
  26537. },
  26538. "limitup": {
  26539. "description": "涨停价(仅使用于挂牌点选)",
  26540. "type": "number"
  26541. },
  26542. "lotsize": {
  26543. "description": "手数最小变动单位",
  26544. "type": "integer"
  26545. },
  26546. "marketid": {
  26547. "description": "所属市场ID",
  26548. "type": "integer"
  26549. },
  26550. "picurls": {
  26551. "description": "介绍图片[多张用逗号分隔]",
  26552. "type": "string"
  26553. },
  26554. "quoteminunit": {
  26555. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26556. "type": "integer"
  26557. },
  26558. "stepvalue": {
  26559. "description": "价格最小变动单位",
  26560. "type": "number"
  26561. },
  26562. "trademode": {
  26563. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26564. "type": "integer"
  26565. }
  26566. }
  26567. },
  26568. "models.HsbyMyPackage": {
  26569. "type": "object",
  26570. "required": [
  26571. "goodscode",
  26572. "goodsname",
  26573. "takeorderid",
  26574. "trademode"
  26575. ],
  26576. "properties": {
  26577. "accountid": {
  26578. "description": "账户ID",
  26579. "type": "integer"
  26580. },
  26581. "address": {
  26582. "description": "提货人详细地址",
  26583. "type": "string"
  26584. },
  26585. "agreeunit": {
  26586. "description": "合约单位",
  26587. "type": "number"
  26588. },
  26589. "amount": {
  26590. "description": "提货金额",
  26591. "type": "number"
  26592. },
  26593. "auditer": {
  26594. "description": "审核人",
  26595. "type": "integer"
  26596. },
  26597. "audittime": {
  26598. "description": "审核时间",
  26599. "type": "string"
  26600. },
  26601. "averageprice": {
  26602. "description": "均价",
  26603. "type": "number"
  26604. },
  26605. "cardnum": {
  26606. "description": "提货人证件号码",
  26607. "type": "string"
  26608. },
  26609. "cardtypeid": {
  26610. "description": "提货人证件类型",
  26611. "type": "integer"
  26612. },
  26613. "checkremark": {
  26614. "description": "审核备注",
  26615. "type": "string"
  26616. },
  26617. "currencysign": {
  26618. "description": "货币符号",
  26619. "type": "string"
  26620. },
  26621. "decimalplace": {
  26622. "description": "报价小数位",
  26623. "type": "integer"
  26624. },
  26625. "goodscode": {
  26626. "description": "商品代码(内部)",
  26627. "type": "string"
  26628. },
  26629. "goodsid": {
  26630. "description": "商品ID",
  26631. "type": "integer"
  26632. },
  26633. "goodsname": {
  26634. "description": "商品名称",
  26635. "type": "string"
  26636. },
  26637. "handlestatus": {
  26638. "description": "处理状态",
  26639. "type": "integer"
  26640. },
  26641. "marketid": {
  26642. "description": "市场ID",
  26643. "type": "integer"
  26644. },
  26645. "phonenum": {
  26646. "description": "提货人联系方式",
  26647. "type": "string"
  26648. },
  26649. "picurls": {
  26650. "description": "介绍图片[多张用逗号分隔]",
  26651. "type": "string"
  26652. },
  26653. "qty": {
  26654. "description": "提货数量",
  26655. "type": "number"
  26656. },
  26657. "recivername": {
  26658. "description": "提货人姓名",
  26659. "type": "string"
  26660. },
  26661. "reqtime": {
  26662. "description": "更新时间",
  26663. "type": "string"
  26664. },
  26665. "takemode": {
  26666. "description": "提货方式 - 2:自提 3:配送",
  26667. "type": "integer"
  26668. },
  26669. "takeorderid": {
  26670. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26671. "type": "string"
  26672. },
  26673. "takeorderstatus": {
  26674. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26675. "type": "integer"
  26676. },
  26677. "takeremark": {
  26678. "description": "提货备注",
  26679. "type": "string"
  26680. },
  26681. "tradedate": {
  26682. "description": "交易日(yyyyMMdd)",
  26683. "type": "string"
  26684. },
  26685. "trademode": {
  26686. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26687. "type": "integer"
  26688. },
  26689. "userid": {
  26690. "description": "用户ID",
  26691. "type": "integer"
  26692. },
  26693. "vendorname": {
  26694. "description": "供应商名称",
  26695. "type": "string"
  26696. }
  26697. }
  26698. },
  26699. "models.HsbyPreGoods": {
  26700. "type": "object",
  26701. "required": [
  26702. "goodscode",
  26703. "goodsid",
  26704. "goodsname",
  26705. "marketid",
  26706. "trademode"
  26707. ],
  26708. "properties": {
  26709. "agreeunit": {
  26710. "description": "合约单位",
  26711. "type": "number"
  26712. },
  26713. "currency": {
  26714. "description": "货币",
  26715. "type": "string"
  26716. },
  26717. "currencysign": {
  26718. "description": "货币符号",
  26719. "type": "string"
  26720. },
  26721. "decimalplace": {
  26722. "description": "报价小数位",
  26723. "type": "integer"
  26724. },
  26725. "desccityid": {
  26726. "description": "目的地(市)",
  26727. "type": "integer"
  26728. },
  26729. "descprovinceid": {
  26730. "description": "目的地(省)",
  26731. "type": "integer"
  26732. },
  26733. "enableqty": {
  26734. "description": "剩余数量",
  26735. "type": "integer"
  26736. },
  26737. "goodscode": {
  26738. "description": "商品代码(内部)",
  26739. "type": "string"
  26740. },
  26741. "goodsid": {
  26742. "description": "商品ID(自增ID SEQ_GOODS)",
  26743. "type": "integer"
  26744. },
  26745. "goodsname": {
  26746. "description": "商品名称",
  26747. "type": "string"
  26748. },
  26749. "goodsstatus": {
  26750. "description": "商品状态- 2:未上市 3:上市",
  26751. "type": "integer"
  26752. },
  26753. "lasttradedate": {
  26754. "description": "最后交易日期(状态:待退市)",
  26755. "type": "string"
  26756. },
  26757. "listingdate": {
  26758. "description": "交易开始日期",
  26759. "type": "string"
  26760. },
  26761. "marketid": {
  26762. "description": "所属市场ID",
  26763. "type": "integer"
  26764. },
  26765. "picurls": {
  26766. "description": "介绍图片[多张用逗号分隔]",
  26767. "type": "string"
  26768. },
  26769. "presaledqty": {
  26770. "description": "已预售量(预售结束时更新)",
  26771. "type": "integer"
  26772. },
  26773. "presaleqty": {
  26774. "description": "预售数量",
  26775. "type": "integer"
  26776. },
  26777. "quoteminunit": {
  26778. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26779. "type": "integer"
  26780. },
  26781. "refprice": {
  26782. "description": "参考价格[一口价]",
  26783. "type": "number"
  26784. },
  26785. "relatedgoodsid": {
  26786. "description": "关联交易合约ID",
  26787. "type": "integer"
  26788. },
  26789. "trademode": {
  26790. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26791. "type": "integer"
  26792. },
  26793. "videourls": {
  26794. "description": "介绍视频[多张用逗号分隔]",
  26795. "type": "string"
  26796. }
  26797. }
  26798. },
  26799. "models.HsbyPreGoodsDetail": {
  26800. "type": "object",
  26801. "required": [
  26802. "goodscode",
  26803. "goodsid",
  26804. "goodsname",
  26805. "marketid",
  26806. "trademode"
  26807. ],
  26808. "properties": {
  26809. "agreeunit": {
  26810. "description": "合约单位",
  26811. "type": "number"
  26812. },
  26813. "buymaxqty": {
  26814. "description": "购买上限 [71] - 0为不限",
  26815. "type": "integer"
  26816. },
  26817. "currency": {
  26818. "description": "货币",
  26819. "type": "string"
  26820. },
  26821. "currencysign": {
  26822. "description": "货币符号",
  26823. "type": "string"
  26824. },
  26825. "customername": {
  26826. "description": "发行单位",
  26827. "type": "string"
  26828. },
  26829. "decimalplace": {
  26830. "description": "报价小数位",
  26831. "type": "integer"
  26832. },
  26833. "desccityid": {
  26834. "description": "目的地(市)ID",
  26835. "type": "integer"
  26836. },
  26837. "descprovinceid": {
  26838. "description": "目的地(省)ID",
  26839. "type": "integer"
  26840. },
  26841. "enableqty": {
  26842. "description": "剩余数量",
  26843. "type": "integer"
  26844. },
  26845. "goodscode": {
  26846. "description": "商品代码(内部)",
  26847. "type": "string"
  26848. },
  26849. "goodsdesc": {
  26850. "description": "商品详情",
  26851. "type": "string"
  26852. },
  26853. "goodsid": {
  26854. "description": "商品ID(自增ID SEQ_GOODS)",
  26855. "type": "integer"
  26856. },
  26857. "goodsname": {
  26858. "description": "商品名称",
  26859. "type": "string"
  26860. },
  26861. "goodsstatus": {
  26862. "description": "商品状态- 2:未上市 3:上市",
  26863. "type": "integer"
  26864. },
  26865. "goodunit": {
  26866. "description": "报价单位",
  26867. "type": "string"
  26868. },
  26869. "lasttradedate": {
  26870. "description": "最后交易日期(状态:待退市)",
  26871. "type": "string"
  26872. },
  26873. "listingdate": {
  26874. "description": "交易开始日期",
  26875. "type": "string"
  26876. },
  26877. "lotsize": {
  26878. "description": "手数最小变动单位",
  26879. "type": "integer"
  26880. },
  26881. "marketid": {
  26882. "description": "所属市场ID",
  26883. "type": "integer"
  26884. },
  26885. "picurls": {
  26886. "description": "介绍图片[多张用逗号分隔]",
  26887. "type": "string"
  26888. },
  26889. "presaledqty": {
  26890. "description": "已预售量(预售结束时更新)",
  26891. "type": "integer"
  26892. },
  26893. "presaleqty": {
  26894. "description": "预售数量",
  26895. "type": "integer"
  26896. },
  26897. "quoteminunit": {
  26898. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26899. "type": "integer"
  26900. },
  26901. "refprice": {
  26902. "description": "参考价格[一口价]",
  26903. "type": "number"
  26904. },
  26905. "relatedgoodsid": {
  26906. "description": "关联交易合约ID",
  26907. "type": "integer"
  26908. },
  26909. "stepvalue": {
  26910. "description": "价格最小变动单位",
  26911. "type": "number"
  26912. },
  26913. "trademode": {
  26914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26915. "type": "integer"
  26916. },
  26917. "vendorattr": {
  26918. "description": "供应商附件(多张,逗号分隔)",
  26919. "type": "string"
  26920. },
  26921. "vendorname": {
  26922. "description": "供应商名称",
  26923. "type": "string"
  26924. },
  26925. "vendorphone": {
  26926. "description": "供应商客服电话",
  26927. "type": "string"
  26928. },
  26929. "videourls": {
  26930. "description": "介绍视频[多张用逗号分隔]",
  26931. "type": "string"
  26932. }
  26933. }
  26934. },
  26935. "models.HsbySellCollectionOrder": {
  26936. "type": "object",
  26937. "required": [
  26938. "goodscode",
  26939. "goodsname",
  26940. "tradeid",
  26941. "trademode"
  26942. ],
  26943. "properties": {
  26944. "agreeunit": {
  26945. "description": "合约单位",
  26946. "type": "number"
  26947. },
  26948. "buyaccountid": {
  26949. "description": "买方账号ID[报价币种]",
  26950. "type": "integer"
  26951. },
  26952. "buyorderid": {
  26953. "description": "买方委托单号",
  26954. "type": "string"
  26955. },
  26956. "createtime": {
  26957. "description": "创建时间",
  26958. "type": "string"
  26959. },
  26960. "currencysign": {
  26961. "description": "货币符号",
  26962. "type": "string"
  26963. },
  26964. "decimalplace": {
  26965. "description": "报价小数位",
  26966. "type": "integer"
  26967. },
  26968. "goodscode": {
  26969. "description": "商品代码(内部)",
  26970. "type": "string"
  26971. },
  26972. "goodsid": {
  26973. "description": "商品ID",
  26974. "type": "integer"
  26975. },
  26976. "goodsname": {
  26977. "description": "商品名称",
  26978. "type": "string"
  26979. },
  26980. "marketid": {
  26981. "description": "市场ID",
  26982. "type": "integer"
  26983. },
  26984. "offamount": {
  26985. "description": "优惠金额",
  26986. "type": "number"
  26987. },
  26988. "payamount": {
  26989. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26990. "type": "number"
  26991. },
  26992. "payflag": {
  26993. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26994. "type": "integer"
  26995. },
  26996. "paylimitedtime": {
  26997. "description": "支付期限",
  26998. "type": "string"
  26999. },
  27000. "paytime": {
  27001. "description": "付款时间",
  27002. "type": "string"
  27003. },
  27004. "picurls": {
  27005. "description": "商品介绍图片[多张用逗号分隔]",
  27006. "type": "string"
  27007. },
  27008. "sellaccountid": {
  27009. "description": "卖方账号ID[报价币种]",
  27010. "type": "integer"
  27011. },
  27012. "sellorderid": {
  27013. "description": "卖方委托单号",
  27014. "type": "string"
  27015. },
  27016. "tradeamount": {
  27017. "description": "成交金额",
  27018. "type": "number"
  27019. },
  27020. "tradecharge": {
  27021. "description": "成交手续费(买方)",
  27022. "type": "number"
  27023. },
  27024. "tradedate": {
  27025. "description": "交易日(yyyyMMdd)",
  27026. "type": "string"
  27027. },
  27028. "tradeid": {
  27029. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27030. "type": "string"
  27031. },
  27032. "trademode": {
  27033. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27034. "type": "integer"
  27035. },
  27036. "tradeprice": {
  27037. "description": "成交价格",
  27038. "type": "number"
  27039. },
  27040. "tradeqty": {
  27041. "description": "成交数量",
  27042. "type": "integer"
  27043. }
  27044. }
  27045. },
  27046. "models.HsbySellMyDetail": {
  27047. "type": "object",
  27048. "required": [
  27049. "accountid",
  27050. "buyorsell",
  27051. "goodscode",
  27052. "goodsid",
  27053. "goodsname",
  27054. "marketid",
  27055. "orderid",
  27056. "time",
  27057. "trademode"
  27058. ],
  27059. "properties": {
  27060. "accountid": {
  27061. "description": "账户ID[报价币种]",
  27062. "type": "integer"
  27063. },
  27064. "agreeunit": {
  27065. "description": "合约单位",
  27066. "type": "number"
  27067. },
  27068. "buyorsell": {
  27069. "description": "买卖 - 0:买 1:卖",
  27070. "type": "integer"
  27071. },
  27072. "currencysign": {
  27073. "description": "货币符号",
  27074. "type": "string"
  27075. },
  27076. "decimalplace": {
  27077. "description": "报价小数位",
  27078. "type": "integer"
  27079. },
  27080. "goodscode": {
  27081. "description": "商品代码(内部)",
  27082. "type": "string"
  27083. },
  27084. "goodsid": {
  27085. "description": "商品ID",
  27086. "type": "integer"
  27087. },
  27088. "goodsname": {
  27089. "description": "商品名称",
  27090. "type": "string"
  27091. },
  27092. "marketid": {
  27093. "description": "市场ID",
  27094. "type": "integer"
  27095. },
  27096. "orderid": {
  27097. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27098. "type": "string"
  27099. },
  27100. "ordertype": {
  27101. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27102. "type": "integer"
  27103. },
  27104. "picurls": {
  27105. "description": "介绍图片[多张用逗号分隔]",
  27106. "type": "string"
  27107. },
  27108. "price": {
  27109. "description": "价格",
  27110. "type": "number"
  27111. },
  27112. "qty": {
  27113. "description": "数量",
  27114. "type": "integer"
  27115. },
  27116. "time": {
  27117. "description": "时间",
  27118. "type": "string"
  27119. },
  27120. "trademode": {
  27121. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27122. "type": "integer"
  27123. },
  27124. "vendorname": {
  27125. "description": "供应商名称",
  27126. "type": "string"
  27127. }
  27128. }
  27129. },
  27130. "models.HsbyTopGoods": {
  27131. "type": "object",
  27132. "required": [
  27133. "goodscode",
  27134. "goodsid",
  27135. "goodsname",
  27136. "marketid",
  27137. "trademode"
  27138. ],
  27139. "properties": {
  27140. "agreeunit": {
  27141. "description": "合约单位",
  27142. "type": "number"
  27143. },
  27144. "currency": {
  27145. "description": "货币",
  27146. "type": "string"
  27147. },
  27148. "currencysign": {
  27149. "description": "货币符号",
  27150. "type": "string"
  27151. },
  27152. "decimalplace": {
  27153. "description": "报价小数位",
  27154. "type": "integer"
  27155. },
  27156. "desccityid": {
  27157. "description": "目的地(市)",
  27158. "type": "integer"
  27159. },
  27160. "descprovinceid": {
  27161. "description": "目的地(省)",
  27162. "type": "integer"
  27163. },
  27164. "goodscode": {
  27165. "description": "商品代码(内部)",
  27166. "type": "string"
  27167. },
  27168. "goodsid": {
  27169. "description": "商品ID(自增ID SEQ_GOODS)",
  27170. "type": "integer"
  27171. },
  27172. "goodsname": {
  27173. "description": "商品名称",
  27174. "type": "string"
  27175. },
  27176. "hotindex": {
  27177. "description": "景点热度",
  27178. "type": "integer"
  27179. },
  27180. "last": {
  27181. "description": "现价",
  27182. "type": "number"
  27183. },
  27184. "marketid": {
  27185. "description": "所属市场ID",
  27186. "type": "integer"
  27187. },
  27188. "picurls": {
  27189. "description": "介绍图片[多张用逗号分隔]",
  27190. "type": "string"
  27191. },
  27192. "quoteminunit": {
  27193. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27194. "type": "integer"
  27195. },
  27196. "trademode": {
  27197. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27198. "type": "integer"
  27199. },
  27200. "videourls": {
  27201. "description": "介绍视频[多张用逗号分隔]",
  27202. "type": "string"
  27203. }
  27204. }
  27205. },
  27206. "models.HybsMyBuyOrderDetail": {
  27207. "type": "object",
  27208. "required": [
  27209. "accountid",
  27210. "buyorsell",
  27211. "goodscode",
  27212. "goodsid",
  27213. "goodsname",
  27214. "marketid",
  27215. "orderid",
  27216. "orderqty",
  27217. "ordertime",
  27218. "trademode"
  27219. ],
  27220. "properties": {
  27221. "accountid": {
  27222. "description": "账户ID[报价币种]",
  27223. "type": "integer"
  27224. },
  27225. "agreeunit": {
  27226. "description": "合约单位",
  27227. "type": "number"
  27228. },
  27229. "buyorsell": {
  27230. "description": "买卖 - 0:买 1:卖",
  27231. "type": "integer"
  27232. },
  27233. "cancelqty": {
  27234. "description": "撤单数量",
  27235. "type": "integer"
  27236. },
  27237. "currencysign": {
  27238. "description": "货币符号",
  27239. "type": "string"
  27240. },
  27241. "decimalplace": {
  27242. "description": "报价小数位",
  27243. "type": "integer"
  27244. },
  27245. "goodscode": {
  27246. "description": "商品代码(内部)",
  27247. "type": "string"
  27248. },
  27249. "goodsid": {
  27250. "description": "商品ID",
  27251. "type": "integer"
  27252. },
  27253. "goodsname": {
  27254. "description": "商品名称",
  27255. "type": "string"
  27256. },
  27257. "listingselecttype": {
  27258. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27259. "type": "integer"
  27260. },
  27261. "marketid": {
  27262. "description": "市场ID",
  27263. "type": "integer"
  27264. },
  27265. "mybuystatus": {
  27266. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27267. "type": "integer"
  27268. },
  27269. "orderamount": {
  27270. "description": "委托金额",
  27271. "type": "number"
  27272. },
  27273. "orderid": {
  27274. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27275. "type": "string"
  27276. },
  27277. "orderprice": {
  27278. "description": "委托价格",
  27279. "type": "number"
  27280. },
  27281. "orderqty": {
  27282. "description": "委托数量",
  27283. "type": "integer"
  27284. },
  27285. "orderstatus": {
  27286. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27287. "type": "integer"
  27288. },
  27289. "ordertime": {
  27290. "description": "委托时间",
  27291. "type": "string"
  27292. },
  27293. "picurls1": {
  27294. "description": "预售商品介绍图片[多张用逗号分隔]",
  27295. "type": "string"
  27296. },
  27297. "picurls2": {
  27298. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27299. "type": "string"
  27300. },
  27301. "trademode": {
  27302. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27303. "type": "integer"
  27304. },
  27305. "tradeqty": {
  27306. "description": "成交数量",
  27307. "type": "integer"
  27308. },
  27309. "vendorname1": {
  27310. "description": "预售商品供应商名称",
  27311. "type": "string"
  27312. },
  27313. "vendorname2": {
  27314. "description": "挂牌商品供应商名称",
  27315. "type": "string"
  27316. }
  27317. }
  27318. },
  27319. "models.Loginaccount": {
  27320. "type": "object",
  27321. "required": [
  27322. "loginid"
  27323. ],
  27324. "properties": {
  27325. "accountname": {
  27326. "description": "账户名称",
  27327. "type": "string"
  27328. },
  27329. "canoutin": {
  27330. "description": "是否可出入金 - 0:不可 1:可",
  27331. "type": "integer"
  27332. },
  27333. "clientroleid": {
  27334. "description": "终端角色ID",
  27335. "type": "integer"
  27336. },
  27337. "haslogined": {
  27338. "description": "是否已登录 - 0:未登录 1:已登录",
  27339. "type": "integer"
  27340. },
  27341. "hasupdatedpwd": {
  27342. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27343. "type": "integer"
  27344. },
  27345. "lastloginip": {
  27346. "description": "最新登录地址",
  27347. "type": "string"
  27348. },
  27349. "lastloginmode": {
  27350. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27351. "type": "integer"
  27352. },
  27353. "lastloginremark": {
  27354. "description": "最新登录描述",
  27355. "type": "string"
  27356. },
  27357. "lastlogintime": {
  27358. "description": "最新登录时间",
  27359. "type": "string"
  27360. },
  27361. "logincode": {
  27362. "description": "登录代码",
  27363. "type": "string"
  27364. },
  27365. "loginfailnum": {
  27366. "description": "连续登录失败次数(登录成功时清零)",
  27367. "type": "integer"
  27368. },
  27369. "loginid": {
  27370. "description": "登陆账号",
  27371. "type": "integer"
  27372. },
  27373. "loginport": {
  27374. "description": "最新登录端口",
  27375. "type": "integer"
  27376. },
  27377. "loginstatus": {
  27378. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27379. "type": "integer"
  27380. },
  27381. "loginusertype": {
  27382. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27383. "type": "integer"
  27384. },
  27385. "mobile": {
  27386. "description": "手机号码(加密存储)",
  27387. "type": "string"
  27388. },
  27389. "modifierid": {
  27390. "description": "修改人",
  27391. "type": "integer"
  27392. },
  27393. "modifysrc": {
  27394. "description": "审核来源 - 1:管理端 2:终端",
  27395. "type": "integer"
  27396. },
  27397. "modifytime": {
  27398. "description": "修改时间",
  27399. "type": "string"
  27400. },
  27401. "password": {
  27402. "description": "登陆密码",
  27403. "type": "string"
  27404. },
  27405. "pwdwrongcount": {
  27406. "description": "密码错误次数",
  27407. "type": "integer"
  27408. },
  27409. "relateduserid": {
  27410. "description": "关联用户ID(机构)",
  27411. "type": "integer"
  27412. },
  27413. "taaccountrighttype": {
  27414. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27415. "type": "integer"
  27416. },
  27417. "unfreezetime": {
  27418. "description": "账户解冻时间",
  27419. "type": "string"
  27420. },
  27421. "userid": {
  27422. "description": "用户ID",
  27423. "type": "integer"
  27424. }
  27425. }
  27426. },
  27427. "models.MainAccountInfo": {
  27428. "type": "object",
  27429. "properties": {
  27430. "accountid": {
  27431. "description": "账号id",
  27432. "type": "integer"
  27433. },
  27434. "accountname": {
  27435. "description": "账号名称(taaccount表中的名称)",
  27436. "type": "string"
  27437. },
  27438. "appid": {
  27439. "description": "AppID",
  27440. "type": "string"
  27441. },
  27442. "authcode": {
  27443. "description": "授权码",
  27444. "type": "string"
  27445. },
  27446. "brokerid": {
  27447. "description": "经纪商id",
  27448. "type": "string"
  27449. },
  27450. "fcid": {
  27451. "description": "期货公司id",
  27452. "type": "integer"
  27453. },
  27454. "fcname": {
  27455. "description": "期货公司代码",
  27456. "type": "string"
  27457. },
  27458. "hedgeaccountcode": {
  27459. "description": "外部账号代码(主账号登录代码)",
  27460. "type": "string"
  27461. },
  27462. "hedgeaccountpwd": {
  27463. "description": "密码",
  27464. "type": "string"
  27465. },
  27466. "ismain": {
  27467. "description": "是否主账号",
  27468. "type": "integer"
  27469. },
  27470. "relateduserid": {
  27471. "description": "关联用户id",
  27472. "type": "integer"
  27473. },
  27474. "userid": {
  27475. "description": "关联用户id",
  27476. "type": "integer"
  27477. }
  27478. }
  27479. },
  27480. "models.Market": {
  27481. "type": "object",
  27482. "required": [
  27483. "marketid",
  27484. "marketstatus",
  27485. "openmethod",
  27486. "reckonpricealgorithm",
  27487. "trademode",
  27488. "tradeproperty"
  27489. ],
  27490. "properties": {
  27491. "auctionwrtype": {
  27492. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27493. "type": "integer"
  27494. },
  27495. "canacceptquote": {
  27496. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27497. "type": "integer"
  27498. },
  27499. "cangoodsexercise": {
  27500. "description": "[期权]是否可现货行权- 0:否 1:是",
  27501. "type": "integer"
  27502. },
  27503. "cangoodsexercisetype": {
  27504. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27505. "type": "integer"
  27506. },
  27507. "canmanualquotestrike": {
  27508. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27509. "type": "integer"
  27510. },
  27511. "canmutistage": {
  27512. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27513. "type": "integer"
  27514. },
  27515. "canpreexercise": {
  27516. "description": "[期权]是否可预申报- 0:否 1:是",
  27517. "type": "integer"
  27518. },
  27519. "clearinterval": {
  27520. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27521. "type": "integer"
  27522. },
  27523. "contracttmp": {
  27524. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27525. "type": "string"
  27526. },
  27527. "exchareaid": {
  27528. "description": "所属交易所,可以没有",
  27529. "type": "integer"
  27530. },
  27531. "goodstype": {
  27532. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27533. "type": "integer"
  27534. },
  27535. "hasrebate": {
  27536. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27537. "type": "integer"
  27538. },
  27539. "hastradecredit": {
  27540. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27541. "type": "integer"
  27542. },
  27543. "haswr": {
  27544. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27545. "type": "integer"
  27546. },
  27547. "isdeductmargin": {
  27548. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27549. "type": "integer"
  27550. },
  27551. "isrecordsource": {
  27552. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27553. "type": "integer"
  27554. },
  27555. "isreleasemargin": {
  27556. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27557. "type": "integer"
  27558. },
  27559. "marginformula": {
  27560. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27561. "type": "integer"
  27562. },
  27563. "marginformula2": {
  27564. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27565. "type": "integer"
  27566. },
  27567. "marketid": {
  27568. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27569. "type": "integer"
  27570. },
  27571. "marketname": {
  27572. "description": "市场名称",
  27573. "type": "string"
  27574. },
  27575. "marketserviceid": {
  27576. "description": "市场服务ID",
  27577. "type": "integer"
  27578. },
  27579. "marketstatus": {
  27580. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27581. "type": "integer"
  27582. },
  27583. "markettype": {
  27584. "description": "市场类型- 1:非交易服务 2:交易服务",
  27585. "type": "integer"
  27586. },
  27587. "matchermode": {
  27588. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27589. "type": "integer"
  27590. },
  27591. "openmethod": {
  27592. "description": "开盘模式 - 0 自动 1手动",
  27593. "type": "integer"
  27594. },
  27595. "otcuserid": {
  27596. "description": "场外期权做市商[场外期权]",
  27597. "type": "integer"
  27598. },
  27599. "outersynctime": {
  27600. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27601. "type": "string"
  27602. },
  27603. "pendingflag": {
  27604. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27605. "type": "integer"
  27606. },
  27607. "pendingtime": {
  27608. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27609. "type": "string"
  27610. },
  27611. "performancetempid": {
  27612. "description": "履约计划模板ID - 作废",
  27613. "type": "integer"
  27614. },
  27615. "premiumquotemode": {
  27616. "description": "权利金报价方式 - 1:自动 2:手动",
  27617. "type": "integer"
  27618. },
  27619. "rebateratio": {
  27620. "description": "返利比率[竞价式]",
  27621. "type": "number"
  27622. },
  27623. "reckonorder": {
  27624. "description": "结算顺序",
  27625. "type": "integer"
  27626. },
  27627. "reckonpricealgorithm": {
  27628. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27629. "type": "integer"
  27630. },
  27631. "reckonpriceparam": {
  27632. "description": "结算价参数",
  27633. "type": "integer"
  27634. },
  27635. "reckontime": {
  27636. "description": "结算时间[通道交易-对冲](HH:mm)",
  27637. "type": "string"
  27638. },
  27639. "roleprioritytype": {
  27640. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27641. "type": "integer"
  27642. },
  27643. "selllistingauditflag": {
  27644. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27645. "type": "integer"
  27646. },
  27647. "trademarkettype": {
  27648. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27649. "type": "integer"
  27650. },
  27651. "trademode": {
  27652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27653. "type": "integer"
  27654. },
  27655. "tradeproperty": {
  27656. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27657. "type": "integer"
  27658. },
  27659. "tradetype": {
  27660. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27661. "type": "integer"
  27662. }
  27663. }
  27664. },
  27665. "models.Marketrun": {
  27666. "type": "object",
  27667. "required": [
  27668. "marketid",
  27669. "nexttradedate",
  27670. "reckonflag",
  27671. "runstatus",
  27672. "tradedate",
  27673. "tradedate2"
  27674. ],
  27675. "properties": {
  27676. "afternexttradedate": {
  27677. "description": "下下交易日",
  27678. "type": "string"
  27679. },
  27680. "clearquoteflag": {
  27681. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27682. "type": "integer"
  27683. },
  27684. "lastreckondate": {
  27685. "description": "最新交易日(结算成功)",
  27686. "type": "string"
  27687. },
  27688. "machinedate": {
  27689. "description": "机器时间",
  27690. "type": "string"
  27691. },
  27692. "manualflag": {
  27693. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27694. "type": "integer"
  27695. },
  27696. "marketid": {
  27697. "description": "市场ID",
  27698. "type": "integer"
  27699. },
  27700. "nexttradedate": {
  27701. "description": "下一交易日",
  27702. "type": "string"
  27703. },
  27704. "pretradedate": {
  27705. "description": "上一交易日",
  27706. "type": "string"
  27707. },
  27708. "reckonflag": {
  27709. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27710. "type": "integer"
  27711. },
  27712. "runstatus": {
  27713. "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.今日免清算",
  27714. "type": "integer"
  27715. },
  27716. "sectionid": {
  27717. "description": "时间段号[多时段时用]",
  27718. "type": "integer"
  27719. },
  27720. "tradedate": {
  27721. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27722. "type": "string"
  27723. },
  27724. "tradedate2": {
  27725. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27726. "type": "string"
  27727. },
  27728. "updatetime": {
  27729. "description": "更新时间",
  27730. "type": "string"
  27731. }
  27732. }
  27733. },
  27734. "models.Messageboard": {
  27735. "type": "object",
  27736. "required": [
  27737. "messageboardid"
  27738. ],
  27739. "properties": {
  27740. "contactnum": {
  27741. "description": "联系电话",
  27742. "type": "string"
  27743. },
  27744. "createtime": {
  27745. "description": "创建时间",
  27746. "type": "string"
  27747. },
  27748. "message": {
  27749. "description": "留言信息",
  27750. "type": "string"
  27751. },
  27752. "messageboardid": {
  27753. "description": "留言簿ID(SEQ_MessageBoard)",
  27754. "type": "integer"
  27755. },
  27756. "userid": {
  27757. "description": "用户ID",
  27758. "type": "integer"
  27759. }
  27760. }
  27761. },
  27762. "models.MyCoupon": {
  27763. "type": "object",
  27764. "required": [
  27765. "accountid",
  27766. "coupontypeid"
  27767. ],
  27768. "properties": {
  27769. "accountid": {
  27770. "description": "资金账户ID",
  27771. "type": "integer"
  27772. },
  27773. "areauserid": {
  27774. "description": "所属机构",
  27775. "type": "integer"
  27776. },
  27777. "conditionvalue": {
  27778. "description": "条件阈值(可为0)",
  27779. "type": "number"
  27780. },
  27781. "couponcategroy": {
  27782. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27783. "type": "integer"
  27784. },
  27785. "couponname": {
  27786. "description": "优惠券名称",
  27787. "type": "string"
  27788. },
  27789. "coupontypeid": {
  27790. "description": "优惠券类型ID",
  27791. "type": "string"
  27792. },
  27793. "couponvalue": {
  27794. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27795. "type": "number"
  27796. },
  27797. "curfreezeqty": {
  27798. "description": "期末冻结数量",
  27799. "type": "integer"
  27800. },
  27801. "curqty": {
  27802. "description": "期末数量",
  27803. "type": "integer"
  27804. },
  27805. "isgeneral": {
  27806. "description": "是否通用券 - 0:否 1:是",
  27807. "type": "integer"
  27808. },
  27809. "isunusable": {
  27810. "description": "是否不可用",
  27811. "type": "boolean"
  27812. },
  27813. "limitedflag": {
  27814. "description": "是否指定商品 - 0:不限 1:限制",
  27815. "type": "integer"
  27816. },
  27817. "limitedgoodsids": {
  27818. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27819. "type": "string"
  27820. },
  27821. "orifreezeqty": {
  27822. "description": "期初冻结数量",
  27823. "type": "integer"
  27824. },
  27825. "oriqty": {
  27826. "description": "期初数量",
  27827. "type": "integer"
  27828. },
  27829. "reasontype": {
  27830. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27831. "type": "integer"
  27832. },
  27833. "todaydecrease": {
  27834. "description": "今日减少",
  27835. "type": "integer"
  27836. },
  27837. "todayincrease": {
  27838. "description": "今日增加",
  27839. "type": "integer"
  27840. },
  27841. "userid": {
  27842. "description": "用户ID",
  27843. "type": "integer"
  27844. },
  27845. "userscope": {
  27846. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27847. "type": "string"
  27848. }
  27849. }
  27850. },
  27851. "models.MyCouponHold": {
  27852. "type": "object",
  27853. "required": [
  27854. "couponholdid"
  27855. ],
  27856. "properties": {
  27857. "accountid": {
  27858. "description": "资金账户ID",
  27859. "type": "integer"
  27860. },
  27861. "conditionvalue": {
  27862. "description": "条件阈值(可为0)",
  27863. "type": "number"
  27864. },
  27865. "couponcategroy": {
  27866. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27867. "type": "integer"
  27868. },
  27869. "couponholdid": {
  27870. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27871. "type": "string"
  27872. },
  27873. "couponname": {
  27874. "description": "优惠券名称",
  27875. "type": "string"
  27876. },
  27877. "coupontypeid": {
  27878. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27879. "type": "string"
  27880. },
  27881. "couponvalue": {
  27882. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27883. "type": "number"
  27884. },
  27885. "createtime": {
  27886. "description": "创建时间",
  27887. "type": "string"
  27888. },
  27889. "enddate": {
  27890. "description": "结束日期",
  27891. "type": "string"
  27892. },
  27893. "giveapplyid": {
  27894. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27895. "type": "integer"
  27896. },
  27897. "holdstatus": {
  27898. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27899. "type": "integer"
  27900. },
  27901. "isgeneral": {
  27902. "description": "是否通用券 - 0:否 1:是",
  27903. "type": "integer"
  27904. },
  27905. "limitedflag": {
  27906. "description": "是否指定商品 - 0:不限 1:限制",
  27907. "type": "integer"
  27908. },
  27909. "limitedgoodsids": {
  27910. "description": "指定商品IDs[逗号分隔]",
  27911. "type": "string"
  27912. },
  27913. "qty": {
  27914. "description": "数量(按1平铺)",
  27915. "type": "integer"
  27916. },
  27917. "startdate": {
  27918. "description": "开始日期",
  27919. "type": "string"
  27920. },
  27921. "userid": {
  27922. "description": "用户ID",
  27923. "type": "integer"
  27924. },
  27925. "userscope": {
  27926. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27927. "type": "string"
  27928. }
  27929. }
  27930. },
  27931. "models.MyUsedCoupon": {
  27932. "type": "object",
  27933. "required": [
  27934. "coupontypeid",
  27935. "orderid"
  27936. ],
  27937. "properties": {
  27938. "accountid": {
  27939. "description": "资金账户ID(买方)",
  27940. "type": "integer"
  27941. },
  27942. "conditionvalue": {
  27943. "description": "条件阈值(可为0)",
  27944. "type": "number"
  27945. },
  27946. "couponcategroy": {
  27947. "description": "种类 - 1:现金券 2:折扣券",
  27948. "type": "integer"
  27949. },
  27950. "couponname": {
  27951. "description": "优惠券名称",
  27952. "type": "string"
  27953. },
  27954. "coupontypeid": {
  27955. "description": "优惠券类型ID(买方)",
  27956. "type": "string"
  27957. },
  27958. "couponvalue": {
  27959. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27960. "type": "number"
  27961. },
  27962. "createtime": {
  27963. "description": "创建时间",
  27964. "type": "string"
  27965. },
  27966. "goodsid": {
  27967. "description": "商品ID",
  27968. "type": "integer"
  27969. },
  27970. "handlestatus": {
  27971. "description": "处理状态",
  27972. "type": "integer"
  27973. },
  27974. "marketid": {
  27975. "description": "市场ID",
  27976. "type": "integer"
  27977. },
  27978. "offamount": {
  27979. "description": "优惠金额",
  27980. "type": "number"
  27981. },
  27982. "orderid": {
  27983. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27984. "type": "string"
  27985. },
  27986. "sellaccountid": {
  27987. "description": "资金账户ID(卖方)",
  27988. "type": "integer"
  27989. },
  27990. "tradeamount": {
  27991. "description": "成交金额",
  27992. "type": "number"
  27993. },
  27994. "tradeid": {
  27995. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27996. "type": "string"
  27997. },
  27998. "usedqty": {
  27999. "description": "使用数量",
  28000. "type": "integer"
  28001. }
  28002. }
  28003. },
  28004. "models.OperationPrimaryMenu": {
  28005. "type": "object",
  28006. "properties": {
  28007. "Children": {
  28008. "description": "二级功能菜单",
  28009. "type": "array",
  28010. "items": {
  28011. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28012. }
  28013. },
  28014. "Key": {
  28015. "description": "菜单KEY",
  28016. "type": "string"
  28017. },
  28018. "Label": {
  28019. "description": "菜单标题",
  28020. "type": "string"
  28021. }
  28022. }
  28023. },
  28024. "models.OperationSecondaryMenu": {
  28025. "type": "object",
  28026. "properties": {
  28027. "Key": {
  28028. "description": "菜单KEY",
  28029. "type": "string"
  28030. },
  28031. "Label": {
  28032. "description": "菜单标题",
  28033. "type": "string"
  28034. },
  28035. "TabList": {
  28036. "description": "三级功能菜单",
  28037. "type": "array",
  28038. "items": {
  28039. "$ref": "#/definitions/models.OperationTabMenu"
  28040. }
  28041. }
  28042. }
  28043. },
  28044. "models.OperationTabMenu": {
  28045. "type": "object",
  28046. "properties": {
  28047. "Key": {
  28048. "description": "菜单KEY",
  28049. "type": "string"
  28050. },
  28051. "Label": {
  28052. "description": "菜单标题",
  28053. "type": "string"
  28054. }
  28055. }
  28056. },
  28057. "models.QhjAccountOutInApply": {
  28058. "type": "object",
  28059. "properties": {
  28060. "accountcode": {
  28061. "description": "资金账号",
  28062. "type": "string"
  28063. },
  28064. "accountname": {
  28065. "description": "用户名称(名称)",
  28066. "type": "string"
  28067. },
  28068. "accountpwd": {
  28069. "description": "资金密码",
  28070. "type": "string"
  28071. },
  28072. "accountticket": {
  28073. "description": "最新账户服务流水号",
  28074. "type": "string"
  28075. },
  28076. "amount": {
  28077. "description": "金额",
  28078. "type": "number"
  28079. },
  28080. "applyremark": {
  28081. "description": "申请备注",
  28082. "type": "string"
  28083. },
  28084. "applystatus": {
  28085. "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: 复审通过,账户冻结金额检查中;",
  28086. "type": "integer"
  28087. },
  28088. "auditid": {
  28089. "description": "审核人",
  28090. "type": "integer"
  28091. },
  28092. "audittime": {
  28093. "description": "审核时间",
  28094. "type": "string"
  28095. },
  28096. "bank_apply_ticket": {
  28097. "description": "银行申请流水",
  28098. "type": "string"
  28099. },
  28100. "bankaccountname": {
  28101. "description": "银行账户名",
  28102. "type": "string"
  28103. },
  28104. "bankaccountno": {
  28105. "description": "银行卡号",
  28106. "type": "string"
  28107. },
  28108. "bankid": {
  28109. "description": "银行编号",
  28110. "type": "string"
  28111. },
  28112. "bankticket": {
  28113. "description": "银行流水",
  28114. "type": "string"
  28115. },
  28116. "branchbankid": {
  28117. "description": "银行支行号",
  28118. "type": "string"
  28119. },
  28120. "branchbankname": {
  28121. "description": "银行支行名称",
  28122. "type": "string"
  28123. },
  28124. "capamountout": {
  28125. "description": "出金(劣后本金) - 外部子账户",
  28126. "type": "number"
  28127. },
  28128. "certificatephotourl": {
  28129. "description": "凭证地址",
  28130. "type": "string"
  28131. },
  28132. "charge": {
  28133. "description": "手续费",
  28134. "type": "number"
  28135. },
  28136. "checkerrorflag": {
  28137. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28138. "type": "integer"
  28139. },
  28140. "currency": {
  28141. "description": "币种",
  28142. "type": "string"
  28143. },
  28144. "cusbankid": {
  28145. "description": "托管银行编号",
  28146. "type": "string"
  28147. },
  28148. "exchticket": {
  28149. "description": "银行服务流水号",
  28150. "type": "string"
  28151. },
  28152. "executetype": {
  28153. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28154. "type": "integer"
  28155. },
  28156. "extendinfo": {
  28157. "description": "扩展信息",
  28158. "type": "string"
  28159. },
  28160. "extoperateid": {
  28161. "description": "交易服务流水号",
  28162. "type": "integer"
  28163. },
  28164. "infamount": {
  28165. "description": "劣后金额(自有)",
  28166. "type": "number"
  28167. },
  28168. "logincode": {
  28169. "description": "登录账号(账号)",
  28170. "type": "string"
  28171. },
  28172. "netaddr": {
  28173. "description": "调转网址",
  28174. "type": "string"
  28175. },
  28176. "priamount": {
  28177. "description": "优先金额(授信)",
  28178. "type": "number"
  28179. },
  28180. "reauditid": {
  28181. "description": "复审人",
  28182. "type": "integer"
  28183. },
  28184. "reauditremark": {
  28185. "description": "复审备注",
  28186. "type": "string"
  28187. },
  28188. "reaudittime": {
  28189. "description": "复审时间",
  28190. "type": "string"
  28191. },
  28192. "relatedorderid": {
  28193. "description": "三方关联ID",
  28194. "type": "string"
  28195. },
  28196. "remark": {
  28197. "description": "备注",
  28198. "type": "string"
  28199. },
  28200. "remark2": {
  28201. "description": "备注(失败原因)",
  28202. "type": "string"
  28203. },
  28204. "soucreamount": {
  28205. "description": "原始出入金金额",
  28206. "type": "number"
  28207. },
  28208. "soucrecurrencyid": {
  28209. "description": "原始出入金币种",
  28210. "type": "integer"
  28211. },
  28212. "tradedate": {
  28213. "description": "交易日(yyyyMMdd)",
  28214. "type": "string"
  28215. },
  28216. "updatetime": {
  28217. "description": "更新时间(申请时间)",
  28218. "type": "string"
  28219. },
  28220. "userid": {
  28221. "description": "用户id",
  28222. "type": "integer"
  28223. },
  28224. "userinfotype": {
  28225. "description": "账户类型 1-个人 2-企业",
  28226. "type": "integer"
  28227. }
  28228. }
  28229. },
  28230. "models.QhjAgreementChangeLog": {
  28231. "type": "object",
  28232. "properties": {
  28233. "agreementcontent": {
  28234. "description": "协议内容",
  28235. "type": "string"
  28236. },
  28237. "agreementfrequency": {
  28238. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28239. "type": "integer"
  28240. },
  28241. "agreementid": {
  28242. "description": "协议ID",
  28243. "type": "integer"
  28244. },
  28245. "agreementname": {
  28246. "description": "协议名称",
  28247. "type": "string"
  28248. },
  28249. "agreementno": {
  28250. "description": "协议编号",
  28251. "type": "string"
  28252. },
  28253. "agreementtype": {
  28254. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28255. "type": "integer"
  28256. },
  28257. "agreementversion": {
  28258. "description": "协议版本号",
  28259. "type": "integer"
  28260. },
  28261. "logid": {
  28262. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28263. "type": "integer"
  28264. },
  28265. "reviserid": {
  28266. "description": "修改人",
  28267. "type": "integer"
  28268. },
  28269. "revisersrc": {
  28270. "description": "修改来源 - 1:管理端 2:终端",
  28271. "type": "integer"
  28272. },
  28273. "updatetime": {
  28274. "description": "更新时间",
  28275. "type": "string"
  28276. }
  28277. }
  28278. },
  28279. "models.QhjAgreementConfig": {
  28280. "type": "object",
  28281. "properties": {
  28282. "agreementcontent": {
  28283. "description": "协议内容",
  28284. "type": "string"
  28285. },
  28286. "agreementfrequency": {
  28287. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28288. "type": "integer"
  28289. },
  28290. "agreementid": {
  28291. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28292. "type": "integer"
  28293. },
  28294. "agreementname": {
  28295. "description": "协议名称",
  28296. "type": "string"
  28297. },
  28298. "agreementno": {
  28299. "description": "协议编号",
  28300. "type": "string"
  28301. },
  28302. "agreementtype": {
  28303. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28304. "type": "integer"
  28305. },
  28306. "agreementversion": {
  28307. "description": "协议版本号(从1开始每次修改加1)",
  28308. "type": "integer"
  28309. },
  28310. "createtime": {
  28311. "description": "创建时间",
  28312. "type": "string"
  28313. },
  28314. "creatorid": {
  28315. "description": "创建人",
  28316. "type": "integer"
  28317. },
  28318. "creatorsrc": {
  28319. "description": "创建来源 - 1:管理端 2:终端",
  28320. "type": "integer"
  28321. },
  28322. "isvalid": {
  28323. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28324. "type": "integer"
  28325. },
  28326. "reviserid": {
  28327. "description": "修改人",
  28328. "type": "integer"
  28329. },
  28330. "revisersrc": {
  28331. "description": "修改来源 - 1:管理端 2:终端",
  28332. "type": "integer"
  28333. },
  28334. "updatetime": {
  28335. "description": "更新时间",
  28336. "type": "string"
  28337. }
  28338. }
  28339. },
  28340. "models.QhjAreaFinanceConfig": {
  28341. "type": "object",
  28342. "properties": {
  28343. "additionalratio": {
  28344. "description": "追加款比例",
  28345. "type": "number"
  28346. },
  28347. "advanceratio": {
  28348. "description": "预付款比例",
  28349. "type": "number"
  28350. },
  28351. "alarmratio": {
  28352. "description": "告警比例",
  28353. "type": "number"
  28354. },
  28355. "consumptiondirectreward": {
  28356. "description": "消费直推奖励值",
  28357. "type": "number"
  28358. },
  28359. "consumptionenabled": {
  28360. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28361. "type": "integer"
  28362. },
  28363. "consumptionindirectreward": {
  28364. "description": "消费间推奖励值",
  28365. "type": "number"
  28366. },
  28367. "consumptionmodel": {
  28368. "description": "消费奖励方式 - 1:比率 2:固定",
  28369. "type": "integer"
  28370. },
  28371. "customerservicenum": {
  28372. "description": "客服电话",
  28373. "type": "string"
  28374. },
  28375. "dayinterestrate": {
  28376. "description": "日利率",
  28377. "type": "number"
  28378. },
  28379. "disableconsumptiontips": {
  28380. "description": "关闭消费奖励提示",
  28381. "type": "string"
  28382. },
  28383. "modifierid": {
  28384. "description": "修改人ID",
  28385. "type": "integer"
  28386. },
  28387. "modifysrc": {
  28388. "description": "审核来源 - 1:管理端 2:终端",
  28389. "type": "integer"
  28390. },
  28391. "modifytime": {
  28392. "description": "修改时间",
  28393. "type": "string"
  28394. },
  28395. "promotionvalue": {
  28396. "description": "推广奖励值(固定)",
  28397. "type": "number"
  28398. },
  28399. "scoreconfigvalue1": {
  28400. "description": "提货积分配置1",
  28401. "type": "integer"
  28402. },
  28403. "scoreconfigvalue2": {
  28404. "description": "提货积分配置2",
  28405. "type": "integer"
  28406. },
  28407. "userid": {
  28408. "description": "机构用户ID其他做市关系,都设置为 1",
  28409. "type": "integer"
  28410. },
  28411. "username": {
  28412. "description": "用户名称",
  28413. "type": "string"
  28414. }
  28415. }
  28416. },
  28417. "models.QhjBankAccountSign": {
  28418. "type": "object",
  28419. "properties": {
  28420. "accountcode": {
  28421. "description": "资金账号",
  28422. "type": "string"
  28423. },
  28424. "accountname": {
  28425. "description": "资金账号对应的账号名(UserName)",
  28426. "type": "string"
  28427. },
  28428. "accountname2": {
  28429. "description": "资金账号对应的账号名(UserName) - 密文",
  28430. "type": "string"
  28431. },
  28432. "accounttype": {
  28433. "description": "账户类型(UserType)",
  28434. "type": "integer"
  28435. },
  28436. "applicationtime": {
  28437. "description": "最后一次更新的时间",
  28438. "type": "string"
  28439. },
  28440. "applyexchticket": {
  28441. "description": "申请流水",
  28442. "type": "string"
  28443. },
  28444. "auditid": {
  28445. "description": "审核人",
  28446. "type": "integer"
  28447. },
  28448. "audittime": {
  28449. "description": "审核时间",
  28450. "type": "string"
  28451. },
  28452. "bankaccountname": {
  28453. "description": "签约银行卡账号名",
  28454. "type": "string"
  28455. },
  28456. "bankaccountname2": {
  28457. "description": "签约银行卡账号名 - 密文",
  28458. "type": "string"
  28459. },
  28460. "bankaccountno": {
  28461. "description": "银行卡号",
  28462. "type": "string"
  28463. },
  28464. "bankaccountno2": {
  28465. "description": "银行卡号 - 密文",
  28466. "type": "string"
  28467. },
  28468. "bankaccounttype": {
  28469. "description": "银行账户类型 - 1-对私; 2-对公",
  28470. "type": "integer"
  28471. },
  28472. "bankcardtype": {
  28473. "description": "银行卡类型",
  28474. "type": "integer"
  28475. },
  28476. "bankchildaccount": {
  28477. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28478. "type": "string"
  28479. },
  28480. "bankcity": {
  28481. "description": "开户行城市",
  28482. "type": "string"
  28483. },
  28484. "bankid": {
  28485. "description": "签约银行ID",
  28486. "type": "string"
  28487. },
  28488. "bankname": {
  28489. "description": "签约银行名称",
  28490. "type": "string"
  28491. },
  28492. "bankprovince": {
  28493. "description": "开户行省份",
  28494. "type": "string"
  28495. },
  28496. "branchbankid": {
  28497. "description": "签约银行支行号",
  28498. "type": "string"
  28499. },
  28500. "branchbankname": {
  28501. "description": "签约银行支行名称",
  28502. "type": "string"
  28503. },
  28504. "cardno": {
  28505. "description": "证件号码",
  28506. "type": "string"
  28507. },
  28508. "cardno2": {
  28509. "description": "证件号码 - 密文",
  28510. "type": "string"
  28511. },
  28512. "cardtype": {
  28513. "description": "证件类型",
  28514. "type": "string"
  28515. },
  28516. "currency": {
  28517. "description": "币种",
  28518. "type": "string"
  28519. },
  28520. "cusbankid": {
  28521. "description": "托管银行编号",
  28522. "type": "string"
  28523. },
  28524. "direct": {
  28525. "description": "方向(可以判断那方先发起的签约)",
  28526. "type": "integer"
  28527. },
  28528. "exchticket": {
  28529. "description": "最后一次签约成功的流水号",
  28530. "type": "string"
  28531. },
  28532. "extendinfo": {
  28533. "description": "扩展信息(JSON字符串)",
  28534. "type": "string"
  28535. },
  28536. "mobilephone": {
  28537. "description": "手机号",
  28538. "type": "string"
  28539. },
  28540. "mobilephone2": {
  28541. "description": "手机号 - 密文",
  28542. "type": "string"
  28543. },
  28544. "netaddr": {
  28545. "description": "调转网址",
  28546. "type": "string"
  28547. },
  28548. "relateduserid": {
  28549. "description": "关联使用者userid",
  28550. "type": "integer"
  28551. },
  28552. "signstatus": {
  28553. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28554. "type": "integer"
  28555. },
  28556. "updatetime": {
  28557. "description": "更新时间(签解约更新时间)",
  28558. "type": "string"
  28559. }
  28560. }
  28561. },
  28562. "models.QhjBankInfo": {
  28563. "type": "object",
  28564. "properties": {
  28565. "bankid": {
  28566. "description": "银行ID",
  28567. "type": "string"
  28568. },
  28569. "bankname": {
  28570. "description": "银行名称",
  28571. "type": "string"
  28572. },
  28573. "clearbankno": {
  28574. "description": "清算系统银行编号",
  28575. "type": "string"
  28576. },
  28577. "orderindex": {
  28578. "description": "排序顺序",
  28579. "type": "integer"
  28580. },
  28581. "status": {
  28582. "description": "状态 - 0:正常 1:注销",
  28583. "type": "integer"
  28584. }
  28585. }
  28586. },
  28587. "models.QhjBrokerApply": {
  28588. "type": "object",
  28589. "properties": {
  28590. "applicantid": {
  28591. "description": "申请人",
  28592. "type": "integer"
  28593. },
  28594. "applysrc": {
  28595. "description": "申请来源 - 1:管理端 2:终端",
  28596. "type": "integer"
  28597. },
  28598. "applystatus": {
  28599. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28600. "type": "integer"
  28601. },
  28602. "applytime": {
  28603. "description": "申请时间",
  28604. "type": "string"
  28605. },
  28606. "auditorid": {
  28607. "description": "审核人",
  28608. "type": "integer"
  28609. },
  28610. "auditremark": {
  28611. "description": "审核备注",
  28612. "type": "string"
  28613. },
  28614. "auditsrc": {
  28615. "description": "审核来源 - 1:管理端 2:终端",
  28616. "type": "integer"
  28617. },
  28618. "audittime": {
  28619. "description": "审核时间",
  28620. "type": "string"
  28621. },
  28622. "audittradedate": {
  28623. "description": "审核交易日(yyyyMMdd)",
  28624. "type": "string"
  28625. },
  28626. "brokerapplyid": {
  28627. "description": "申请ID(SEQ_BROKERAPPLY)",
  28628. "type": "integer"
  28629. },
  28630. "cardbackphotourl": {
  28631. "description": "证件背面图片地址",
  28632. "type": "string"
  28633. },
  28634. "cardfrontphotourl": {
  28635. "description": "证件正面图片地址",
  28636. "type": "string"
  28637. },
  28638. "cardnum": {
  28639. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28640. "type": "string"
  28641. },
  28642. "customername": {
  28643. "description": "姓名",
  28644. "type": "string"
  28645. },
  28646. "logincode": {
  28647. "description": "登录代码",
  28648. "type": "string"
  28649. },
  28650. "mobile": {
  28651. "description": "手机号码",
  28652. "type": "string"
  28653. },
  28654. "parentuserid": {
  28655. "description": "所属机构id",
  28656. "type": "integer"
  28657. },
  28658. "parentusername": {
  28659. "description": "所属机构名称",
  28660. "type": "string"
  28661. },
  28662. "refereeuserid": {
  28663. "description": "推荐人id(经纪人)",
  28664. "type": "integer"
  28665. },
  28666. "refernum": {
  28667. "description": "推荐码",
  28668. "type": "string"
  28669. },
  28670. "remark": {
  28671. "description": "备注",
  28672. "type": "string"
  28673. },
  28674. "subarealevelpath": {
  28675. "description": "层级路径",
  28676. "type": "string"
  28677. },
  28678. "tradedate": {
  28679. "description": "交易日(yyyyMMdd)",
  28680. "type": "string"
  28681. },
  28682. "userid": {
  28683. "description": "申请人用户ID",
  28684. "type": "integer"
  28685. },
  28686. "userinfotype": {
  28687. "description": "用户类型 1-个人 2-企业",
  28688. "type": "integer"
  28689. },
  28690. "username": {
  28691. "description": "用户名称",
  28692. "type": "string"
  28693. }
  28694. }
  28695. },
  28696. "models.QhjBrokerApplyEx": {
  28697. "type": "object",
  28698. "properties": {
  28699. "applylist": {
  28700. "description": "经纪人申请记录(只返回最新一条)",
  28701. "type": "array",
  28702. "items": {
  28703. "$ref": "#/definitions/models.QhjBrokerApply"
  28704. }
  28705. },
  28706. "canrecommend": {
  28707. "description": "是否经纪人 0-不是 1-是",
  28708. "type": "integer"
  28709. },
  28710. "refernum": {
  28711. "description": "推荐码",
  28712. "type": "string"
  28713. },
  28714. "userid": {
  28715. "description": "用户id",
  28716. "type": "integer"
  28717. },
  28718. "userinfotype": {
  28719. "description": "用户类型 1-个人 2-企业",
  28720. "type": "integer"
  28721. }
  28722. }
  28723. },
  28724. "models.QhjBrokerRewardLog": {
  28725. "type": "object",
  28726. "properties": {
  28727. "accountid": {
  28728. "description": "资金账号ID",
  28729. "type": "integer"
  28730. },
  28731. "createtime": {
  28732. "description": "创建时间(时间)",
  28733. "type": "string"
  28734. },
  28735. "handlestatus": {
  28736. "description": "处理状态",
  28737. "type": "integer"
  28738. },
  28739. "logid": {
  28740. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28741. "type": "string"
  28742. },
  28743. "marketid": {
  28744. "description": "市场ID",
  28745. "type": "integer"
  28746. },
  28747. "mmaccountid": {
  28748. "description": "做市商资金账号ID",
  28749. "type": "string"
  28750. },
  28751. "mmuserid": {
  28752. "description": "做市商用户ID",
  28753. "type": "string"
  28754. },
  28755. "rewardamount": {
  28756. "description": "奖励金额",
  28757. "type": "number"
  28758. },
  28759. "rewardmodel": {
  28760. "description": "消费奖励方式 - 1:比率 2:固定",
  28761. "type": "integer"
  28762. },
  28763. "rewardtype": {
  28764. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28765. "type": "integer"
  28766. },
  28767. "rewardvalue": {
  28768. "description": "配置奖励值",
  28769. "type": "number"
  28770. },
  28771. "srcamount": {
  28772. "description": "成交金额 [消费奖励] (金额)",
  28773. "type": "number"
  28774. },
  28775. "srcgoodsid": {
  28776. "description": "来源商品ID [消费奖励]",
  28777. "type": "string"
  28778. },
  28779. "srctime": {
  28780. "description": "来源时间 (成交时间) [消费奖励]",
  28781. "type": "string"
  28782. },
  28783. "srctradeid": {
  28784. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28785. "type": "string"
  28786. },
  28787. "srcuserid": {
  28788. "description": "来源用户ID(推广账户)",
  28789. "type": "string"
  28790. },
  28791. "srcusername": {
  28792. "description": "推广账户名称",
  28793. "type": "string"
  28794. },
  28795. "tradedate": {
  28796. "description": "交易日(yyyyMMdd)",
  28797. "type": "string"
  28798. },
  28799. "userid": {
  28800. "description": "经纪人用户ID",
  28801. "type": "integer"
  28802. }
  28803. }
  28804. },
  28805. "models.QhjContract": {
  28806. "type": "object",
  28807. "properties": {
  28808. "contractconfirmtime": {
  28809. "description": "合同确认时间(时间)",
  28810. "type": "string"
  28811. },
  28812. "currisklevel": {
  28813. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28814. "type": "integer"
  28815. },
  28816. "decimalplace": {
  28817. "description": "商品报价小数位",
  28818. "type": "integer"
  28819. },
  28820. "enumdicname": {
  28821. "description": "单位名称",
  28822. "type": "string"
  28823. },
  28824. "goodscode": {
  28825. "description": "商品代码",
  28826. "type": "string"
  28827. },
  28828. "goodsid": {
  28829. "description": "商品ID [5:融资单]",
  28830. "type": "integer"
  28831. },
  28832. "goodsname": {
  28833. "description": "商品名称",
  28834. "type": "string"
  28835. },
  28836. "goodunitid": {
  28837. "description": "商品单位id",
  28838. "type": "integer"
  28839. },
  28840. "initmargin": {
  28841. "description": "初始保证金(首付款)",
  28842. "type": "number"
  28843. },
  28844. "lenderamount": {
  28845. "description": "贷款金额(总额|订单总额)",
  28846. "type": "number"
  28847. },
  28848. "marginratio": {
  28849. "description": "保证金比率(首付比例)",
  28850. "type": "number"
  28851. },
  28852. "payamount": {
  28853. "description": "已付(已付货款)",
  28854. "type": "number"
  28855. },
  28856. "reckonrecovermargin": {
  28857. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28858. "type": "number"
  28859. },
  28860. "recoveredmargin": {
  28861. "description": "已追缴保证金",
  28862. "type": "number"
  28863. },
  28864. "remainamount": {
  28865. "description": "合同剩余金额(融资额)",
  28866. "type": "number"
  28867. },
  28868. "scfcontractid": {
  28869. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28870. "type": "string"
  28871. },
  28872. "scfcontractstatus": {
  28873. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28874. "type": "integer"
  28875. },
  28876. "scfcontracttype": {
  28877. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28878. "type": "integer"
  28879. },
  28880. "totalinterest": {
  28881. "description": "已计总利息(利息)",
  28882. "type": "number"
  28883. },
  28884. "tradeprice": {
  28885. "description": "成交价格(成本价格)",
  28886. "type": "number"
  28887. },
  28888. "userid": {
  28889. "description": "用户ID",
  28890. "type": "integer"
  28891. },
  28892. "username": {
  28893. "description": "用户名称",
  28894. "type": "string"
  28895. },
  28896. "wrqty": {
  28897. "description": "仓单数量(数量)",
  28898. "type": "number"
  28899. }
  28900. }
  28901. },
  28902. "models.QhjContractLog": {
  28903. "type": "object",
  28904. "properties": {
  28905. "amount": {
  28906. "description": "支付金额",
  28907. "type": "number"
  28908. },
  28909. "amounttype": {
  28910. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28911. "type": "integer"
  28912. },
  28913. "logid": {
  28914. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28915. "type": "string"
  28916. },
  28917. "remainamount": {
  28918. "description": "剩余货款",
  28919. "type": "number"
  28920. },
  28921. "scfcontractid": {
  28922. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28923. "type": "integer"
  28924. },
  28925. "updatetime": {
  28926. "description": "更新时间",
  28927. "type": "string"
  28928. }
  28929. }
  28930. },
  28931. "models.QhjCusBankSignBankEx": {
  28932. "type": "object",
  28933. "properties": {
  28934. "banklst": {
  28935. "description": "银行列表",
  28936. "type": "array",
  28937. "items": {
  28938. "$ref": "#/definitions/models.QhjBankInfo"
  28939. }
  28940. },
  28941. "canallot": {
  28942. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28943. "type": "integer"
  28944. },
  28945. "canallotquery": {
  28946. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28947. "type": "integer"
  28948. },
  28949. "canbindcard": {
  28950. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28951. "type": "integer"
  28952. },
  28953. "caninamount": {
  28954. "description": "是否可入金 - 0:不可 1:可以",
  28955. "type": "integer"
  28956. },
  28957. "caninamount2": {
  28958. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28959. "type": "integer"
  28960. },
  28961. "canmodifybankcard": {
  28962. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28963. "type": "integer"
  28964. },
  28965. "canmodifyphone": {
  28966. "description": "是否可修改手机号 - 0:不可 1:可以",
  28967. "type": "integer"
  28968. },
  28969. "canmodifysigninfo": {
  28970. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28971. "type": "integer"
  28972. },
  28973. "canoutamount": {
  28974. "description": "是否可出金 - 0:不可 1:可以",
  28975. "type": "integer"
  28976. },
  28977. "canoutamount2": {
  28978. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28979. "type": "integer"
  28980. },
  28981. "canrelease": {
  28982. "description": "是否可解约 - 0:不可 1:可以",
  28983. "type": "integer"
  28984. },
  28985. "canrelease2": {
  28986. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28987. "type": "integer"
  28988. },
  28989. "cansign": {
  28990. "description": "是否可签约 - 0:不可 1:可以",
  28991. "type": "integer"
  28992. },
  28993. "cansign2": {
  28994. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28995. "type": "integer"
  28996. },
  28997. "currency": {
  28998. "description": "币种",
  28999. "type": "string"
  29000. },
  29001. "cusbankid": {
  29002. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29003. "type": "string"
  29004. },
  29005. "cusbankname": {
  29006. "description": "银行业务名称",
  29007. "type": "string"
  29008. },
  29009. "cusbankshortname": {
  29010. "description": "银行业务简称",
  29011. "type": "string"
  29012. },
  29013. "exchbankid": {
  29014. "description": "交易所开户银行ID",
  29015. "type": "string"
  29016. },
  29017. "exchpaybankaccname": {
  29018. "description": "交易所支出结算账户户名",
  29019. "type": "string"
  29020. },
  29021. "exchpaybankaccno": {
  29022. "description": "交易所支出结算账户",
  29023. "type": "string"
  29024. },
  29025. "isneedcheck": {
  29026. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29027. "type": "integer"
  29028. },
  29029. "isneedclear": {
  29030. "description": "是否需要清算 - 0:不需要 1:需要",
  29031. "type": "integer"
  29032. },
  29033. "lastcheckstatus": {
  29034. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29035. "type": "integer"
  29036. },
  29037. "lastchecktime": {
  29038. "description": "最后对账时间",
  29039. "type": "string"
  29040. },
  29041. "lastclearstatus": {
  29042. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29043. "type": "integer"
  29044. },
  29045. "lastcleartime": {
  29046. "description": "最后清算时间",
  29047. "type": "string"
  29048. },
  29049. "lastsignintime": {
  29050. "description": "最后签到时间",
  29051. "type": "string"
  29052. },
  29053. "lastsignouttime": {
  29054. "description": "最后签退时间",
  29055. "type": "string"
  29056. },
  29057. "riskinfo": {
  29058. "description": "签约风险提示书",
  29059. "type": "string"
  29060. },
  29061. "signstatus": {
  29062. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29063. "type": "integer"
  29064. },
  29065. "tradedate": {
  29066. "description": "交易日(yyyyMMdd)",
  29067. "type": "string"
  29068. },
  29069. "updatetime": {
  29070. "description": "当前签到/签退更新时间",
  29071. "type": "string"
  29072. }
  29073. }
  29074. },
  29075. "models.QhjCustomer": {
  29076. "type": "object",
  29077. "properties": {
  29078. "address": {
  29079. "description": "通讯地址",
  29080. "type": "string"
  29081. },
  29082. "attachment1": {
  29083. "description": "附件1",
  29084. "type": "string"
  29085. },
  29086. "attachment2": {
  29087. "description": "附件2",
  29088. "type": "string"
  29089. },
  29090. "audittime": {
  29091. "description": "审核时间",
  29092. "type": "string"
  29093. },
  29094. "cardbackphotourl": {
  29095. "description": "证件反面图片地址",
  29096. "type": "string"
  29097. },
  29098. "cardfrontphotourl": {
  29099. "description": "证件正面图片地址",
  29100. "type": "string"
  29101. },
  29102. "cardnum": {
  29103. "description": "证件号码",
  29104. "type": "string"
  29105. },
  29106. "cardtype": {
  29107. "description": "证件类型",
  29108. "type": "integer"
  29109. },
  29110. "cardtypename": {
  29111. "description": "证件类型名称",
  29112. "type": "string"
  29113. },
  29114. "cityid": {
  29115. "description": "市",
  29116. "type": "integer"
  29117. },
  29118. "cityname": {
  29119. "description": "城市名称",
  29120. "type": "string"
  29121. },
  29122. "contactname": {
  29123. "description": "联系人",
  29124. "type": "string"
  29125. },
  29126. "countryid": {
  29127. "description": "国家",
  29128. "type": "integer"
  29129. },
  29130. "countryname": {
  29131. "description": "国家名称",
  29132. "type": "string"
  29133. },
  29134. "createtime": {
  29135. "description": "创建时间",
  29136. "type": "string"
  29137. },
  29138. "customername": {
  29139. "description": "客户名称",
  29140. "type": "string"
  29141. },
  29142. "districtid": {
  29143. "description": "区域",
  29144. "type": "integer"
  29145. },
  29146. "districtname": {
  29147. "description": "地区名称",
  29148. "type": "string"
  29149. },
  29150. "email": {
  29151. "description": "邮件",
  29152. "type": "string"
  29153. },
  29154. "legalpersonname": {
  29155. "description": "法人姓名(企业)",
  29156. "type": "string"
  29157. },
  29158. "logincode": {
  29159. "description": "登录账号(代码)",
  29160. "type": "string"
  29161. },
  29162. "memberuserid": {
  29163. "description": "所属机构ID(所属会员)",
  29164. "type": "integer"
  29165. },
  29166. "memberusername": {
  29167. "description": "所属会员名称",
  29168. "type": "string"
  29169. },
  29170. "mobile": {
  29171. "description": "手机号码",
  29172. "type": "string"
  29173. },
  29174. "modifytime": {
  29175. "description": "修改时间",
  29176. "type": "string"
  29177. },
  29178. "nickname": {
  29179. "description": "昵称",
  29180. "type": "string"
  29181. },
  29182. "parentuserid": {
  29183. "description": "上级机构(所属机构)",
  29184. "type": "integer"
  29185. },
  29186. "parentusername": {
  29187. "description": "所属机构名称",
  29188. "type": "string"
  29189. },
  29190. "provinceid": {
  29191. "description": "省",
  29192. "type": "integer"
  29193. },
  29194. "provincename": {
  29195. "description": "省名称",
  29196. "type": "string"
  29197. },
  29198. "proxystatementurl": {
  29199. "description": "授权委托书",
  29200. "type": "string"
  29201. },
  29202. "remark": {
  29203. "description": "备注",
  29204. "type": "string"
  29205. },
  29206. "status": {
  29207. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29208. "type": "integer"
  29209. },
  29210. "statusdesc": {
  29211. "description": "账户状态中文描述",
  29212. "type": "string"
  29213. },
  29214. "taxpayernum": {
  29215. "description": "纳税人识别号",
  29216. "type": "string"
  29217. },
  29218. "telphone": {
  29219. "description": "联系电话",
  29220. "type": "string"
  29221. },
  29222. "userid": {
  29223. "description": "用户ID",
  29224. "type": "integer"
  29225. },
  29226. "userinfotype": {
  29227. "description": "客户类型 1-个人 2-企业",
  29228. "type": "integer"
  29229. },
  29230. "username": {
  29231. "description": "用户名称",
  29232. "type": "string"
  29233. }
  29234. }
  29235. },
  29236. "models.QhjCustomerSignLog": {
  29237. "type": "object",
  29238. "properties": {
  29239. "agreementcontent": {
  29240. "description": "协议内容",
  29241. "type": "string"
  29242. },
  29243. "agreementid": {
  29244. "description": "协议ID",
  29245. "type": "integer"
  29246. },
  29247. "agreementname": {
  29248. "description": "协议名称",
  29249. "type": "string"
  29250. },
  29251. "agreementno": {
  29252. "description": "协议编号",
  29253. "type": "string"
  29254. },
  29255. "agreementtype": {
  29256. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29257. "type": "integer"
  29258. },
  29259. "agreementversion": {
  29260. "description": "协议版本号",
  29261. "type": "integer"
  29262. },
  29263. "createtime": {
  29264. "description": "创建时间",
  29265. "type": "string"
  29266. },
  29267. "goodscode": {
  29268. "description": "商品代码",
  29269. "type": "string"
  29270. },
  29271. "goodsid": {
  29272. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29273. "type": "integer"
  29274. },
  29275. "goodsname": {
  29276. "description": "商品名称",
  29277. "type": "string"
  29278. },
  29279. "logid": {
  29280. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29281. "type": "integer"
  29282. },
  29283. "nodetype": {
  29284. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29285. "type": "integer"
  29286. },
  29287. "signadressurl": {
  29288. "description": "签约文件地址",
  29289. "type": "string"
  29290. },
  29291. "signtimestamp": {
  29292. "description": "签约状态时间戳",
  29293. "type": "string"
  29294. },
  29295. "userid": {
  29296. "description": "客户ID",
  29297. "type": "integer"
  29298. },
  29299. "username": {
  29300. "description": "客户名称",
  29301. "type": "string"
  29302. }
  29303. }
  29304. },
  29305. "models.QhjCustomerSignStatus": {
  29306. "type": "object",
  29307. "properties": {
  29308. "createtime": {
  29309. "description": "创建时间",
  29310. "type": "string"
  29311. },
  29312. "goodscode": {
  29313. "description": "商品代码",
  29314. "type": "string"
  29315. },
  29316. "goodsid": {
  29317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29318. "type": "integer"
  29319. },
  29320. "goodsname": {
  29321. "description": "商品名称",
  29322. "type": "string"
  29323. },
  29324. "nodetype": {
  29325. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29326. "type": "integer"
  29327. },
  29328. "signtimestamp": {
  29329. "description": "签约状态时间戳",
  29330. "type": "string"
  29331. },
  29332. "tradedate": {
  29333. "description": "创建交易日(yyyyMMdd)",
  29334. "type": "string"
  29335. },
  29336. "updatetime": {
  29337. "description": "更新时间",
  29338. "type": "string"
  29339. },
  29340. "userid": {
  29341. "description": "客户ID",
  29342. "type": "integer"
  29343. },
  29344. "username": {
  29345. "description": "客户名称",
  29346. "type": "string"
  29347. }
  29348. }
  29349. },
  29350. "models.QhjMgrAccountOutInApply": {
  29351. "type": "object",
  29352. "properties": {
  29353. "accountcode": {
  29354. "description": "资金账号",
  29355. "type": "string"
  29356. },
  29357. "accountname": {
  29358. "description": "用户名称(名称)",
  29359. "type": "string"
  29360. },
  29361. "accountpwd": {
  29362. "description": "资金密码",
  29363. "type": "string"
  29364. },
  29365. "accountticket": {
  29366. "description": "最新账户服务流水号",
  29367. "type": "string"
  29368. },
  29369. "amount": {
  29370. "description": "金额",
  29371. "type": "number"
  29372. },
  29373. "applyremark": {
  29374. "description": "申请备注",
  29375. "type": "string"
  29376. },
  29377. "applystatus": {
  29378. "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: 复审通过,账户冻结金额检查中;",
  29379. "type": "integer"
  29380. },
  29381. "auditid": {
  29382. "description": "审核人",
  29383. "type": "integer"
  29384. },
  29385. "audittime": {
  29386. "description": "审核时间",
  29387. "type": "string"
  29388. },
  29389. "bank_apply_ticket": {
  29390. "description": "银行申请流水",
  29391. "type": "string"
  29392. },
  29393. "bankaccountname": {
  29394. "description": "银行账户名",
  29395. "type": "string"
  29396. },
  29397. "bankaccountno": {
  29398. "description": "银行卡号",
  29399. "type": "string"
  29400. },
  29401. "bankid": {
  29402. "description": "银行编号",
  29403. "type": "string"
  29404. },
  29405. "bankname": {
  29406. "description": "银行名称",
  29407. "type": "string"
  29408. },
  29409. "bankticket": {
  29410. "description": "银行流水",
  29411. "type": "string"
  29412. },
  29413. "branchbankid": {
  29414. "description": "银行支行号",
  29415. "type": "string"
  29416. },
  29417. "branchbankname": {
  29418. "description": "银行支行名称",
  29419. "type": "string"
  29420. },
  29421. "capamountout": {
  29422. "description": "出金(劣后本金) - 外部子账户",
  29423. "type": "number"
  29424. },
  29425. "certificatephotourl": {
  29426. "description": "凭证地址",
  29427. "type": "string"
  29428. },
  29429. "charge": {
  29430. "description": "手续费",
  29431. "type": "number"
  29432. },
  29433. "checkerrorflag": {
  29434. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29435. "type": "integer"
  29436. },
  29437. "currency": {
  29438. "description": "币种",
  29439. "type": "string"
  29440. },
  29441. "cusbankid": {
  29442. "description": "托管银行编号",
  29443. "type": "string"
  29444. },
  29445. "exchticket": {
  29446. "description": "银行服务流水号",
  29447. "type": "string"
  29448. },
  29449. "executetype": {
  29450. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29451. "type": "integer"
  29452. },
  29453. "extendinfo": {
  29454. "description": "扩展信息",
  29455. "type": "string"
  29456. },
  29457. "extoperateid": {
  29458. "description": "交易服务流水号",
  29459. "type": "integer"
  29460. },
  29461. "infamount": {
  29462. "description": "劣后金额(自有)",
  29463. "type": "number"
  29464. },
  29465. "logincode": {
  29466. "description": "登录账号(账号)",
  29467. "type": "string"
  29468. },
  29469. "netaddr": {
  29470. "description": "调转网址",
  29471. "type": "string"
  29472. },
  29473. "priamount": {
  29474. "description": "优先金额(授信)",
  29475. "type": "number"
  29476. },
  29477. "reauditid": {
  29478. "description": "复审人",
  29479. "type": "integer"
  29480. },
  29481. "reauditremark": {
  29482. "description": "复审备注",
  29483. "type": "string"
  29484. },
  29485. "reaudittime": {
  29486. "description": "复审时间",
  29487. "type": "string"
  29488. },
  29489. "relatedorderid": {
  29490. "description": "三方关联ID",
  29491. "type": "string"
  29492. },
  29493. "remark": {
  29494. "description": "备注",
  29495. "type": "string"
  29496. },
  29497. "remark2": {
  29498. "description": "备注(失败原因)",
  29499. "type": "string"
  29500. },
  29501. "soucreamount": {
  29502. "description": "原始出入金金额",
  29503. "type": "number"
  29504. },
  29505. "soucrecurrencyid": {
  29506. "description": "原始出入金币种",
  29507. "type": "integer"
  29508. },
  29509. "tradedate": {
  29510. "description": "交易日(yyyyMMdd)",
  29511. "type": "string"
  29512. },
  29513. "updatetime": {
  29514. "description": "更新时间(申请时间)",
  29515. "type": "string"
  29516. },
  29517. "userid": {
  29518. "description": "用户id",
  29519. "type": "integer"
  29520. },
  29521. "userinfotype": {
  29522. "description": "账户类型 1-个人 2-企业",
  29523. "type": "integer"
  29524. }
  29525. }
  29526. },
  29527. "models.QhjMgrBrokerApply": {
  29528. "type": "object",
  29529. "properties": {
  29530. "applicantid": {
  29531. "description": "申请人",
  29532. "type": "integer"
  29533. },
  29534. "applysrc": {
  29535. "description": "申请来源 - 1:管理端 2:终端",
  29536. "type": "integer"
  29537. },
  29538. "applystatus": {
  29539. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29540. "type": "integer"
  29541. },
  29542. "applytime": {
  29543. "description": "申请时间",
  29544. "type": "string"
  29545. },
  29546. "auditorid": {
  29547. "description": "审核人",
  29548. "type": "integer"
  29549. },
  29550. "auditremark": {
  29551. "description": "审核备注",
  29552. "type": "string"
  29553. },
  29554. "auditsrc": {
  29555. "description": "审核来源 - 1:管理端 2:终端",
  29556. "type": "integer"
  29557. },
  29558. "audittime": {
  29559. "description": "审核时间",
  29560. "type": "string"
  29561. },
  29562. "audittradedate": {
  29563. "description": "审核交易日(yyyyMMdd)",
  29564. "type": "string"
  29565. },
  29566. "brokerapplyid": {
  29567. "description": "申请ID(SEQ_BROKERAPPLY)",
  29568. "type": "integer"
  29569. },
  29570. "cardbackphotourl": {
  29571. "description": "证件背面图片地址",
  29572. "type": "string"
  29573. },
  29574. "cardfrontphotourl": {
  29575. "description": "证件正面图片地址",
  29576. "type": "string"
  29577. },
  29578. "cardnum": {
  29579. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29580. "type": "string"
  29581. },
  29582. "customername": {
  29583. "description": "姓名",
  29584. "type": "string"
  29585. },
  29586. "filterstatus": {
  29587. "description": "筛选条件",
  29588. "type": "string"
  29589. },
  29590. "logincode": {
  29591. "description": "登录代码",
  29592. "type": "string"
  29593. },
  29594. "mobile": {
  29595. "description": "手机号码",
  29596. "type": "string"
  29597. },
  29598. "parentuserid": {
  29599. "description": "所属机构id",
  29600. "type": "integer"
  29601. },
  29602. "parentusername": {
  29603. "description": "所属机构名称",
  29604. "type": "string"
  29605. },
  29606. "refereeuserid": {
  29607. "description": "推荐人id(经纪人)",
  29608. "type": "integer"
  29609. },
  29610. "refernum": {
  29611. "description": "推荐码",
  29612. "type": "string"
  29613. },
  29614. "remark": {
  29615. "description": "备注",
  29616. "type": "string"
  29617. },
  29618. "subarealevelpath": {
  29619. "description": "层级路径",
  29620. "type": "string"
  29621. },
  29622. "tradedate": {
  29623. "description": "交易日(yyyyMMdd)",
  29624. "type": "string"
  29625. },
  29626. "userid": {
  29627. "description": "申请人用户ID",
  29628. "type": "integer"
  29629. },
  29630. "userinfotype": {
  29631. "description": "用户类型 1-个人 2-企业",
  29632. "type": "integer"
  29633. },
  29634. "username": {
  29635. "description": "用户名称",
  29636. "type": "string"
  29637. }
  29638. }
  29639. },
  29640. "models.QhjMgrBrokerRewardReport": {
  29641. "type": "object",
  29642. "properties": {
  29643. "createtime": {
  29644. "description": "创建时间(注册时间)",
  29645. "type": "string"
  29646. },
  29647. "cycletime": {
  29648. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29649. "type": "string"
  29650. },
  29651. "cycletype": {
  29652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29653. "type": "integer"
  29654. },
  29655. "directtotalnum": {
  29656. "description": "直推总人数【期末】",
  29657. "type": "integer"
  29658. },
  29659. "indirecttotalnum": {
  29660. "description": "间推总人数【期末】",
  29661. "type": "integer"
  29662. },
  29663. "mobile": {
  29664. "description": "电话号码",
  29665. "type": "string"
  29666. },
  29667. "refereeuserid": {
  29668. "description": "推荐人id(经纪人id)",
  29669. "type": "integer"
  29670. },
  29671. "refereeusername": {
  29672. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29673. "type": "string"
  29674. },
  29675. "refernum": {
  29676. "description": "推荐码",
  29677. "type": "string"
  29678. },
  29679. "subarealevelpath": {
  29680. "description": "用户层级路径",
  29681. "type": "string"
  29682. },
  29683. "todayrewardamount": {
  29684. "description": "奖励总金额【汇总】",
  29685. "type": "number"
  29686. },
  29687. "updatetime": {
  29688. "description": "更新时间",
  29689. "type": "string"
  29690. },
  29691. "userid": {
  29692. "description": "经纪人用户ID",
  29693. "type": "integer"
  29694. },
  29695. "userinfotype": {
  29696. "description": "用户类型 1-个人 2-企业",
  29697. "type": "integer"
  29698. },
  29699. "username": {
  29700. "description": "用户名称",
  29701. "type": "string"
  29702. }
  29703. }
  29704. },
  29705. "models.QhjMgrContract": {
  29706. "type": "object",
  29707. "properties": {
  29708. "contractconfirmtime": {
  29709. "description": "合同确认时间(时间)",
  29710. "type": "string"
  29711. },
  29712. "currisklevel": {
  29713. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29714. "type": "integer"
  29715. },
  29716. "decimalplace": {
  29717. "description": "商品报价小数位",
  29718. "type": "integer"
  29719. },
  29720. "enumdicname": {
  29721. "description": "单位名称",
  29722. "type": "string"
  29723. },
  29724. "goodscode": {
  29725. "description": "商品代码",
  29726. "type": "string"
  29727. },
  29728. "goodsid": {
  29729. "description": "商品ID [5:融资单]",
  29730. "type": "integer"
  29731. },
  29732. "goodsname": {
  29733. "description": "商品名称",
  29734. "type": "string"
  29735. },
  29736. "goodunitid": {
  29737. "description": "商品单位id",
  29738. "type": "integer"
  29739. },
  29740. "initmargin": {
  29741. "description": "初始保证金(首付款)",
  29742. "type": "number"
  29743. },
  29744. "lenderamount": {
  29745. "description": "贷款金额(总额|订单总额)",
  29746. "type": "number"
  29747. },
  29748. "logincode": {
  29749. "description": "账号(登录代码)",
  29750. "type": "string"
  29751. },
  29752. "marginratio": {
  29753. "description": "保证金比率(首付比例)",
  29754. "type": "number"
  29755. },
  29756. "mobile": {
  29757. "description": "电话号码(用户资料里的电话)",
  29758. "type": "string"
  29759. },
  29760. "payamount": {
  29761. "description": "已付(已付货款)",
  29762. "type": "number"
  29763. },
  29764. "reckonrecovermargin": {
  29765. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29766. "type": "number"
  29767. },
  29768. "recoveredmargin": {
  29769. "description": "已追缴保证金",
  29770. "type": "number"
  29771. },
  29772. "remainamount": {
  29773. "description": "合同剩余金额(融资额)",
  29774. "type": "number"
  29775. },
  29776. "scfcontractid": {
  29777. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29778. "type": "string"
  29779. },
  29780. "scfcontractstatus": {
  29781. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29782. "type": "integer"
  29783. },
  29784. "scfcontracttype": {
  29785. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29786. "type": "integer"
  29787. },
  29788. "totalinterest": {
  29789. "description": "已计总利息(利息)",
  29790. "type": "number"
  29791. },
  29792. "tradedate": {
  29793. "description": "交易日",
  29794. "type": "string"
  29795. },
  29796. "tradeprice": {
  29797. "description": "成交价格(成本价格)",
  29798. "type": "number"
  29799. },
  29800. "userid": {
  29801. "description": "用户ID",
  29802. "type": "integer"
  29803. },
  29804. "userinfotype": {
  29805. "description": "用户类型 1-个人 2-企业",
  29806. "type": "integer"
  29807. },
  29808. "username": {
  29809. "description": "用户名称",
  29810. "type": "string"
  29811. },
  29812. "wrqty": {
  29813. "description": "仓单数量(数量)",
  29814. "type": "number"
  29815. }
  29816. }
  29817. },
  29818. "models.QhjMgrCustomer": {
  29819. "type": "object",
  29820. "properties": {
  29821. "address": {
  29822. "description": "通讯地址",
  29823. "type": "string"
  29824. },
  29825. "attachment1": {
  29826. "description": "附件1",
  29827. "type": "string"
  29828. },
  29829. "audittime": {
  29830. "description": "审核时间",
  29831. "type": "string"
  29832. },
  29833. "birthday": {
  29834. "description": "生日",
  29835. "type": "string"
  29836. },
  29837. "brokerid": {
  29838. "description": "所属客户经理id",
  29839. "type": "integer"
  29840. },
  29841. "brokername": {
  29842. "description": "所属客户经理名称",
  29843. "type": "string"
  29844. },
  29845. "cardbackphotourl": {
  29846. "description": "证件反面图片地址",
  29847. "type": "string"
  29848. },
  29849. "cardfrontphotourl": {
  29850. "description": "证件正面图片地址",
  29851. "type": "string"
  29852. },
  29853. "cardnum": {
  29854. "description": "证件号码",
  29855. "type": "string"
  29856. },
  29857. "cardtype": {
  29858. "description": "证件类型",
  29859. "type": "integer"
  29860. },
  29861. "cardtypename": {
  29862. "description": "证件类型名称",
  29863. "type": "string"
  29864. },
  29865. "cityid": {
  29866. "description": "市",
  29867. "type": "integer"
  29868. },
  29869. "cityname": {
  29870. "description": "城市名称",
  29871. "type": "string"
  29872. },
  29873. "contactname": {
  29874. "description": "联系人",
  29875. "type": "string"
  29876. },
  29877. "countryid": {
  29878. "description": "国家",
  29879. "type": "integer"
  29880. },
  29881. "countryname": {
  29882. "description": "国家名称",
  29883. "type": "string"
  29884. },
  29885. "createtime": {
  29886. "description": "创建时间",
  29887. "type": "string"
  29888. },
  29889. "customername": {
  29890. "description": "客户名称",
  29891. "type": "string"
  29892. },
  29893. "districtid": {
  29894. "description": "区域",
  29895. "type": "integer"
  29896. },
  29897. "districtname": {
  29898. "description": "地区名称",
  29899. "type": "string"
  29900. },
  29901. "email": {
  29902. "description": "邮件",
  29903. "type": "string"
  29904. },
  29905. "legalpersonname": {
  29906. "description": "法人姓名(企业)",
  29907. "type": "string"
  29908. },
  29909. "logincode": {
  29910. "description": "登录账号(代码)",
  29911. "type": "string"
  29912. },
  29913. "memberuserid": {
  29914. "description": "所属机构ID(所属会员)",
  29915. "type": "integer"
  29916. },
  29917. "memberusername": {
  29918. "description": "所属会员名称",
  29919. "type": "string"
  29920. },
  29921. "mobile": {
  29922. "description": "手机号码",
  29923. "type": "string"
  29924. },
  29925. "modifytime": {
  29926. "description": "修改时间",
  29927. "type": "string"
  29928. },
  29929. "nickname": {
  29930. "description": "昵称",
  29931. "type": "string"
  29932. },
  29933. "parentuserid": {
  29934. "description": "上级机构(所属机构)",
  29935. "type": "integer"
  29936. },
  29937. "parentusername": {
  29938. "description": "所属机构名称",
  29939. "type": "string"
  29940. },
  29941. "provinceid": {
  29942. "description": "省",
  29943. "type": "integer"
  29944. },
  29945. "provincename": {
  29946. "description": "省名称",
  29947. "type": "string"
  29948. },
  29949. "proxystatementurl": {
  29950. "description": "授权委托书",
  29951. "type": "string"
  29952. },
  29953. "querytype": {
  29954. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29955. "type": "integer"
  29956. },
  29957. "remark": {
  29958. "description": "备注",
  29959. "type": "string"
  29960. },
  29961. "sex": {
  29962. "description": "性别 0-女 1-男",
  29963. "type": "integer"
  29964. },
  29965. "status": {
  29966. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29967. "type": "integer"
  29968. },
  29969. "statusdesc": {
  29970. "description": "账户状态中文描述",
  29971. "type": "string"
  29972. },
  29973. "taxpayernum": {
  29974. "description": "纳税人识别号",
  29975. "type": "string"
  29976. },
  29977. "telphone": {
  29978. "description": "联系电话",
  29979. "type": "string"
  29980. },
  29981. "userid": {
  29982. "description": "用户ID",
  29983. "type": "integer"
  29984. },
  29985. "userinfotype": {
  29986. "description": "客户类型 1-个人 2-企业",
  29987. "type": "integer"
  29988. },
  29989. "username": {
  29990. "description": "用户名称",
  29991. "type": "string"
  29992. }
  29993. }
  29994. },
  29995. "models.QhjMgrPickGoods": {
  29996. "type": "object",
  29997. "properties": {
  29998. "enumdicname": {
  29999. "description": "单位名称(提货商品)",
  30000. "type": "string"
  30001. },
  30002. "goodsid": {
  30003. "description": "商品id",
  30004. "type": "integer"
  30005. },
  30006. "imageaddress": {
  30007. "description": "图片",
  30008. "type": "string"
  30009. },
  30010. "modifierid": {
  30011. "description": "修改人",
  30012. "type": "integer"
  30013. },
  30014. "modifiername": {
  30015. "description": "修改人名称",
  30016. "type": "string"
  30017. },
  30018. "modifysrc": {
  30019. "description": "修改来源 - 1:管理端 2:终端",
  30020. "type": "integer"
  30021. },
  30022. "pickupgoodsagreeunit": {
  30023. "description": "合约乘数",
  30024. "type": "number"
  30025. },
  30026. "pickupgoodsdesc": {
  30027. "description": "描述",
  30028. "type": "string"
  30029. },
  30030. "pickupgoodsid": {
  30031. "description": "提货商品ID",
  30032. "type": "string"
  30033. },
  30034. "pickupgoodsname": {
  30035. "description": "提货商品名称",
  30036. "type": "string"
  30037. },
  30038. "pickupgoodsstatus": {
  30039. "description": "状态 - 1:正常 2:停用 3:注销",
  30040. "type": "integer"
  30041. },
  30042. "pickupgoodsunitid": {
  30043. "description": "单位ID",
  30044. "type": "integer"
  30045. },
  30046. "pickupratio": {
  30047. "description": "提货系数",
  30048. "type": "number"
  30049. },
  30050. "preparedays": {
  30051. "description": "备货期(天)",
  30052. "type": "integer"
  30053. },
  30054. "remark": {
  30055. "description": "备注",
  30056. "type": "string"
  30057. },
  30058. "updatetime": {
  30059. "description": "更新时间",
  30060. "type": "string"
  30061. }
  30062. }
  30063. },
  30064. "models.QhjMgrPositionRsp": {
  30065. "type": "object",
  30066. "properties": {
  30067. "accountid": {
  30068. "description": "账号Id",
  30069. "type": "integer"
  30070. },
  30071. "accountname": {
  30072. "description": "用户名称",
  30073. "type": "string"
  30074. },
  30075. "agreeunit": {
  30076. "description": "合约乘数",
  30077. "type": "number"
  30078. },
  30079. "averageprice": {
  30080. "description": "均价",
  30081. "type": "number"
  30082. },
  30083. "avialqty": {
  30084. "description": "可用数量",
  30085. "type": "number"
  30086. },
  30087. "decimalplace": {
  30088. "description": "报价小数位",
  30089. "type": "integer"
  30090. },
  30091. "enumdicname": {
  30092. "description": "单位名称(商品)",
  30093. "type": "string"
  30094. },
  30095. "frozenqty": {
  30096. "description": "冻结数量",
  30097. "type": "number"
  30098. },
  30099. "goodscode": {
  30100. "description": "商品代码(内部)",
  30101. "type": "string"
  30102. },
  30103. "goodsid": {
  30104. "description": "商品Id",
  30105. "type": "integer"
  30106. },
  30107. "goodsname": {
  30108. "description": "商品名称",
  30109. "type": "string"
  30110. },
  30111. "goodunitid": {
  30112. "description": "报价单位ID",
  30113. "type": "integer"
  30114. },
  30115. "holderamount": {
  30116. "description": "金额",
  30117. "type": "number"
  30118. },
  30119. "holderqty": {
  30120. "description": "持有数量",
  30121. "type": "number"
  30122. },
  30123. "holdertype": {
  30124. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30125. "type": "integer"
  30126. },
  30127. "logincode": {
  30128. "description": "登录代码(账户)",
  30129. "type": "string"
  30130. },
  30131. "marketid": {
  30132. "description": "市场id",
  30133. "type": "integer"
  30134. },
  30135. "qtydecimalplace": {
  30136. "description": "成交量小数位",
  30137. "type": "integer"
  30138. },
  30139. "trademode": {
  30140. "description": "交易模式",
  30141. "type": "integer"
  30142. },
  30143. "userid": {
  30144. "description": "用户id",
  30145. "type": "integer"
  30146. },
  30147. "userinfotype": {
  30148. "description": "账户类型 1-个人 2-企业",
  30149. "type": "integer"
  30150. }
  30151. }
  30152. },
  30153. "models.QhjMgrSubArea": {
  30154. "type": "object",
  30155. "properties": {
  30156. "accountname": {
  30157. "description": "账户名称(机构名称)",
  30158. "type": "string"
  30159. },
  30160. "memberuserid": {
  30161. "description": "所属会员ID",
  30162. "type": "integer"
  30163. },
  30164. "parenttopuser": {
  30165. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30166. "type": "string"
  30167. },
  30168. "parentuserid": {
  30169. "description": "所属机构ID",
  30170. "type": "integer"
  30171. },
  30172. "rootuserid": {
  30173. "description": "根用户ID",
  30174. "type": "string"
  30175. },
  30176. "subaccountlevel": {
  30177. "description": "子账户层数",
  30178. "type": "integer"
  30179. },
  30180. "subarealevelpath": {
  30181. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30182. "type": "string"
  30183. },
  30184. "userid": {
  30185. "description": "用户ID",
  30186. "type": "integer"
  30187. },
  30188. "usertype": {
  30189. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30190. "type": "integer"
  30191. }
  30192. }
  30193. },
  30194. "models.QhjMgrTradeDetailRsp": {
  30195. "type": "object",
  30196. "properties": {
  30197. "accountid": {
  30198. "description": "资金账号",
  30199. "type": "integer"
  30200. },
  30201. "accountname": {
  30202. "description": "用户名称",
  30203. "type": "string"
  30204. },
  30205. "agreeunit": {
  30206. "description": "合约乘数",
  30207. "type": "number"
  30208. },
  30209. "buyorsell": {
  30210. "description": "成交类型(方向) 0:买 1:卖",
  30211. "type": "integer"
  30212. },
  30213. "decimalplace": {
  30214. "description": "报价小数位",
  30215. "type": "integer"
  30216. },
  30217. "enumdicname": {
  30218. "description": "单位名称(商品)",
  30219. "type": "string"
  30220. },
  30221. "goodscode": {
  30222. "description": "商品代码(内部)",
  30223. "type": "string"
  30224. },
  30225. "goodsid": {
  30226. "description": "商品id",
  30227. "type": "integer"
  30228. },
  30229. "goodsname": {
  30230. "description": "商品名称",
  30231. "type": "string"
  30232. },
  30233. "goodunitid": {
  30234. "description": "报价单位ID",
  30235. "type": "integer"
  30236. },
  30237. "logincode": {
  30238. "description": "登录代码(账户)",
  30239. "type": "string"
  30240. },
  30241. "marketid": {
  30242. "description": "市场id",
  30243. "type": "integer"
  30244. },
  30245. "orderid": {
  30246. "description": "关联委托单号",
  30247. "type": "string"
  30248. },
  30249. "qtydecimalplace": {
  30250. "description": "成交量小数位",
  30251. "type": "integer"
  30252. },
  30253. "tradeamount": {
  30254. "description": "金额",
  30255. "type": "number"
  30256. },
  30257. "tradedate": {
  30258. "description": "交易日",
  30259. "type": "string"
  30260. },
  30261. "tradeid": {
  30262. "description": "成交单号",
  30263. "type": "string"
  30264. },
  30265. "trademode": {
  30266. "description": "交易模式",
  30267. "type": "integer"
  30268. },
  30269. "tradeprice": {
  30270. "description": "价格",
  30271. "type": "number"
  30272. },
  30273. "tradeqty": {
  30274. "description": "数量",
  30275. "type": "number"
  30276. },
  30277. "tradetime": {
  30278. "description": "成交时间",
  30279. "type": "string"
  30280. },
  30281. "userid": {
  30282. "description": "用户id",
  30283. "type": "integer"
  30284. },
  30285. "userinfotype": {
  30286. "description": "账户类型 1-个人 2-企业",
  30287. "type": "integer"
  30288. }
  30289. }
  30290. },
  30291. "models.QhjMgrTradeOrderDetailRsp": {
  30292. "type": "object",
  30293. "properties": {
  30294. "accountid": {
  30295. "description": "资金账号",
  30296. "type": "integer"
  30297. },
  30298. "accountname": {
  30299. "description": "用户名称",
  30300. "type": "string"
  30301. },
  30302. "agreeunit": {
  30303. "description": "合约乘数",
  30304. "type": "number"
  30305. },
  30306. "amount": {
  30307. "description": "金额",
  30308. "type": "number"
  30309. },
  30310. "decimalplace": {
  30311. "description": "报价小数位",
  30312. "type": "integer"
  30313. },
  30314. "enumdicname": {
  30315. "description": "单位名称(商品)",
  30316. "type": "string"
  30317. },
  30318. "goodscode": {
  30319. "description": "商品代码(内部)",
  30320. "type": "string"
  30321. },
  30322. "goodsid": {
  30323. "description": "商品id",
  30324. "type": "integer"
  30325. },
  30326. "goodsname": {
  30327. "description": "商品名称",
  30328. "type": "string"
  30329. },
  30330. "goodunitid": {
  30331. "description": "报价单位ID",
  30332. "type": "integer"
  30333. },
  30334. "logincode": {
  30335. "description": "登录代码(账户)",
  30336. "type": "string"
  30337. },
  30338. "marketid": {
  30339. "description": "市场id",
  30340. "type": "integer"
  30341. },
  30342. "orderid": {
  30343. "description": "关联委托单号",
  30344. "type": "string"
  30345. },
  30346. "orderprice": {
  30347. "description": "价格",
  30348. "type": "number"
  30349. },
  30350. "orderqty": {
  30351. "description": "数量",
  30352. "type": "number"
  30353. },
  30354. "orderstatus": {
  30355. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30356. "type": "integer"
  30357. },
  30358. "ordertime": {
  30359. "description": "委托时间",
  30360. "type": "string"
  30361. },
  30362. "qtydecimalplace": {
  30363. "description": "成交量小数位",
  30364. "type": "integer"
  30365. },
  30366. "tradedate": {
  30367. "description": "交易日",
  30368. "type": "string"
  30369. },
  30370. "trademode": {
  30371. "description": "交易模式",
  30372. "type": "integer"
  30373. },
  30374. "userid": {
  30375. "description": "用户id",
  30376. "type": "integer"
  30377. },
  30378. "userinfotype": {
  30379. "description": "账户类型 1-个人 2-企业",
  30380. "type": "integer"
  30381. }
  30382. }
  30383. },
  30384. "models.QhjMgrTradePayOrder": {
  30385. "type": "object",
  30386. "properties": {
  30387. "accountname": {
  30388. "description": "用户名称",
  30389. "type": "string"
  30390. },
  30391. "advanceratio": {
  30392. "description": "首付比率",
  30393. "type": "number"
  30394. },
  30395. "agreeunit": {
  30396. "description": "合约乘数",
  30397. "type": "number"
  30398. },
  30399. "buyaccountid": {
  30400. "description": "买方账号ID[报价币种]",
  30401. "type": "integer"
  30402. },
  30403. "buyorderid": {
  30404. "description": "买方委托单号(关联单号)",
  30405. "type": "string"
  30406. },
  30407. "createtime": {
  30408. "description": "创建时间",
  30409. "type": "string"
  30410. },
  30411. "decimalplace": {
  30412. "description": "报价小数位",
  30413. "type": "integer"
  30414. },
  30415. "enumdicname": {
  30416. "description": "单位名称(商品)",
  30417. "type": "string"
  30418. },
  30419. "goodscode": {
  30420. "description": "商品代码(内部)",
  30421. "type": "string"
  30422. },
  30423. "goodsid": {
  30424. "description": "商品ID",
  30425. "type": "integer"
  30426. },
  30427. "goodsname": {
  30428. "description": "商品名称",
  30429. "type": "string"
  30430. },
  30431. "goodunitid": {
  30432. "description": "报价单位ID",
  30433. "type": "integer"
  30434. },
  30435. "logincode": {
  30436. "description": "登录代码(账户)",
  30437. "type": "string"
  30438. },
  30439. "marketid": {
  30440. "description": "市场id",
  30441. "type": "integer"
  30442. },
  30443. "offamount": {
  30444. "description": "优惠金额",
  30445. "type": "number"
  30446. },
  30447. "operatetype": {
  30448. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30449. "type": "integer"
  30450. },
  30451. "payamount": {
  30452. "description": "支付金额(金额)",
  30453. "type": "number"
  30454. },
  30455. "payflag": {
  30456. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30457. "type": "integer"
  30458. },
  30459. "paylimitedtime": {
  30460. "description": "支付期限",
  30461. "type": "string"
  30462. },
  30463. "paytime": {
  30464. "description": "付款时间",
  30465. "type": "string"
  30466. },
  30467. "qtydecimalplace": {
  30468. "description": "成交量小数位",
  30469. "type": "integer"
  30470. },
  30471. "sellaccountid": {
  30472. "description": "卖方账号ID[报价币种]",
  30473. "type": "integer"
  30474. },
  30475. "sellorderid": {
  30476. "description": "卖方委托单号",
  30477. "type": "string"
  30478. },
  30479. "tradeamount": {
  30480. "description": "成交金额(优惠后金额)",
  30481. "type": "number"
  30482. },
  30483. "tradecharge": {
  30484. "description": "成交手续费(买方)",
  30485. "type": "number"
  30486. },
  30487. "tradedate": {
  30488. "description": "交易日(yyyyMMdd)",
  30489. "type": "string"
  30490. },
  30491. "tradeid": {
  30492. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30493. "type": "string"
  30494. },
  30495. "trademode": {
  30496. "description": "交易模式",
  30497. "type": "integer"
  30498. },
  30499. "tradeprice": {
  30500. "description": "成交价格(价格)",
  30501. "type": "number"
  30502. },
  30503. "tradeqty": {
  30504. "description": "成交数量(数量)",
  30505. "type": "number"
  30506. },
  30507. "tradetime": {
  30508. "description": "成交时间",
  30509. "type": "string"
  30510. },
  30511. "userid": {
  30512. "description": "用户id",
  30513. "type": "integer"
  30514. },
  30515. "userinfotype": {
  30516. "description": "账户类型 1-个人 2-企业",
  30517. "type": "integer"
  30518. }
  30519. }
  30520. },
  30521. "models.QhjMyTeamEx": {
  30522. "type": "object",
  30523. "properties": {
  30524. "accountname": {
  30525. "description": "用户名称",
  30526. "type": "string"
  30527. },
  30528. "accountstatus": {
  30529. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30530. "type": "integer"
  30531. },
  30532. "createtime": {
  30533. "description": "创建时间",
  30534. "type": "string"
  30535. },
  30536. "mobile": {
  30537. "description": "手机号码",
  30538. "type": "string"
  30539. },
  30540. "refereeuserid": {
  30541. "description": "推荐人id",
  30542. "type": "integer"
  30543. },
  30544. "refernum": {
  30545. "description": "推荐码",
  30546. "type": "string"
  30547. },
  30548. "subList": {
  30549. "type": "array",
  30550. "items": {
  30551. "$ref": "#/definitions/models.QhjMyTeamEx"
  30552. }
  30553. },
  30554. "userid": {
  30555. "description": "用户id",
  30556. "type": "integer"
  30557. },
  30558. "userinfotype": {
  30559. "description": "用户类型 1-个人 2-企业",
  30560. "type": "integer"
  30561. }
  30562. }
  30563. },
  30564. "models.QhjNodeAgreementConfig": {
  30565. "type": "object",
  30566. "properties": {
  30567. "agreementcontent": {
  30568. "description": "协议内容",
  30569. "type": "string"
  30570. },
  30571. "agreementid": {
  30572. "description": "协议ID",
  30573. "type": "integer"
  30574. },
  30575. "agreementname": {
  30576. "description": "协议名称",
  30577. "type": "string"
  30578. },
  30579. "agreementno": {
  30580. "description": "协议编号",
  30581. "type": "string"
  30582. },
  30583. "agreementtype": {
  30584. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30585. "type": "integer"
  30586. },
  30587. "agreementversion": {
  30588. "description": "协议版本号",
  30589. "type": "integer"
  30590. },
  30591. "configid": {
  30592. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30593. "type": "integer"
  30594. },
  30595. "createtime": {
  30596. "description": "创建时间",
  30597. "type": "string"
  30598. },
  30599. "goodsid": {
  30600. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30601. "type": "integer"
  30602. },
  30603. "nodetype": {
  30604. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30605. "type": "integer"
  30606. }
  30607. }
  30608. },
  30609. "models.QhjParentAreaList": {
  30610. "type": "object",
  30611. "properties": {
  30612. "accountname": {
  30613. "description": "账户名称(机构名称)",
  30614. "type": "string"
  30615. },
  30616. "userid": {
  30617. "description": "用户ID",
  30618. "type": "integer"
  30619. },
  30620. "usertype": {
  30621. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30622. "type": "integer"
  30623. }
  30624. }
  30625. },
  30626. "models.QhjPayOrder": {
  30627. "type": "object",
  30628. "properties": {
  30629. "advanceratio": {
  30630. "description": "首付比率",
  30631. "type": "number"
  30632. },
  30633. "buyaccountid": {
  30634. "description": "买方账号ID[报价币种]",
  30635. "type": "integer"
  30636. },
  30637. "buyorderid": {
  30638. "description": "买方委托单号",
  30639. "type": "string"
  30640. },
  30641. "createtime": {
  30642. "description": "创建时间",
  30643. "type": "string"
  30644. },
  30645. "decimalplace": {
  30646. "description": "商品报价小数位",
  30647. "type": "integer"
  30648. },
  30649. "enumdicname": {
  30650. "description": "单位名称",
  30651. "type": "string"
  30652. },
  30653. "goodscode": {
  30654. "description": "商品代码",
  30655. "type": "string"
  30656. },
  30657. "goodsid": {
  30658. "description": "商品ID",
  30659. "type": "integer"
  30660. },
  30661. "goodsname": {
  30662. "description": "商品名称",
  30663. "type": "string"
  30664. },
  30665. "goodunitid": {
  30666. "description": "商品单位id",
  30667. "type": "integer"
  30668. },
  30669. "marketid": {
  30670. "description": "市场ID",
  30671. "type": "integer"
  30672. },
  30673. "offamount": {
  30674. "description": "优惠金额",
  30675. "type": "number"
  30676. },
  30677. "operatetype": {
  30678. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30679. "type": "integer"
  30680. },
  30681. "payamount": {
  30682. "description": "支付金额",
  30683. "type": "number"
  30684. },
  30685. "payflag": {
  30686. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30687. "type": "integer"
  30688. },
  30689. "paylimitedtime": {
  30690. "description": "支付期限",
  30691. "type": "string"
  30692. },
  30693. "paytime": {
  30694. "description": "付款时间",
  30695. "type": "string"
  30696. },
  30697. "qtydecimalplace": {
  30698. "description": "成交量小数位",
  30699. "type": "integer"
  30700. },
  30701. "sellaccountid": {
  30702. "description": "卖方账号ID[报价币种]",
  30703. "type": "integer"
  30704. },
  30705. "sellorderid": {
  30706. "description": "卖方委托单号",
  30707. "type": "string"
  30708. },
  30709. "tradeamount": {
  30710. "description": "成交金额(优惠后金额)",
  30711. "type": "number"
  30712. },
  30713. "tradecharge": {
  30714. "description": "成交手续费(买方)",
  30715. "type": "number"
  30716. },
  30717. "tradedate": {
  30718. "description": "交易日(yyyyMMdd)",
  30719. "type": "string"
  30720. },
  30721. "tradeid": {
  30722. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30723. "type": "string"
  30724. },
  30725. "tradeprice": {
  30726. "description": "成交价格",
  30727. "type": "number"
  30728. },
  30729. "tradeqty": {
  30730. "description": "成交数量",
  30731. "type": "number"
  30732. }
  30733. }
  30734. },
  30735. "models.QhjPickArea": {
  30736. "type": "object",
  30737. "properties": {
  30738. "address": {
  30739. "description": "详细地址",
  30740. "type": "string"
  30741. },
  30742. "cityid": {
  30743. "description": "市",
  30744. "type": "integer"
  30745. },
  30746. "cityname": {
  30747. "description": "城市名称",
  30748. "type": "string"
  30749. },
  30750. "countryid": {
  30751. "description": "国家",
  30752. "type": "integer"
  30753. },
  30754. "countryname": {
  30755. "description": "国家名称",
  30756. "type": "string"
  30757. },
  30758. "districtid": {
  30759. "description": "地区",
  30760. "type": "integer"
  30761. },
  30762. "districtname": {
  30763. "description": "地区名称",
  30764. "type": "string"
  30765. },
  30766. "fromuserid": {
  30767. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30768. "type": "integer"
  30769. },
  30770. "fromusername": {
  30771. "description": "所属机构名称",
  30772. "type": "string"
  30773. },
  30774. "provinceid": {
  30775. "description": "省",
  30776. "type": "integer"
  30777. },
  30778. "provincename": {
  30779. "description": "省名称",
  30780. "type": "string"
  30781. },
  30782. "suborgtype": {
  30783. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30784. "type": "integer"
  30785. },
  30786. "userid": {
  30787. "description": "机构用户ID 其他做市关系,都设置为 1",
  30788. "type": "integer"
  30789. },
  30790. "username": {
  30791. "description": "机构用户名称(门店门称)",
  30792. "type": "string"
  30793. }
  30794. }
  30795. },
  30796. "models.QhjPickGoods": {
  30797. "type": "object",
  30798. "properties": {
  30799. "enumdicname": {
  30800. "description": "单位名称(提货商品)",
  30801. "type": "string"
  30802. },
  30803. "goodsid": {
  30804. "description": "商品id",
  30805. "type": "integer"
  30806. },
  30807. "imageaddress": {
  30808. "description": "图片",
  30809. "type": "string"
  30810. },
  30811. "modifierid": {
  30812. "description": "修改人",
  30813. "type": "integer"
  30814. },
  30815. "modifiername": {
  30816. "description": "修改人名称",
  30817. "type": "string"
  30818. },
  30819. "modifysrc": {
  30820. "description": "修改来源 - 1:管理端 2:终端",
  30821. "type": "integer"
  30822. },
  30823. "pickupgoodsagreeunit": {
  30824. "description": "合约乘数",
  30825. "type": "number"
  30826. },
  30827. "pickupgoodsdesc": {
  30828. "description": "描述",
  30829. "type": "string"
  30830. },
  30831. "pickupgoodsid": {
  30832. "description": "提货商品ID",
  30833. "type": "string"
  30834. },
  30835. "pickupgoodsname": {
  30836. "description": "提货商品名称",
  30837. "type": "string"
  30838. },
  30839. "pickupgoodsstatus": {
  30840. "description": "状态 - 1:正常 2:停用 3:注销",
  30841. "type": "integer"
  30842. },
  30843. "pickupgoodsunitid": {
  30844. "description": "单位ID",
  30845. "type": "integer"
  30846. },
  30847. "pickupratio": {
  30848. "description": "提货系数",
  30849. "type": "number"
  30850. },
  30851. "preparedays": {
  30852. "description": "备货期(天)",
  30853. "type": "integer"
  30854. },
  30855. "remark": {
  30856. "description": "备注",
  30857. "type": "string"
  30858. },
  30859. "updatetime": {
  30860. "description": "更新时间",
  30861. "type": "string"
  30862. }
  30863. }
  30864. },
  30865. "models.QhjRSTriggerLog": {
  30866. "type": "object",
  30867. "properties": {
  30868. "accountid": {
  30869. "description": "用户资金账户",
  30870. "type": "integer"
  30871. },
  30872. "accountname": {
  30873. "description": "账号名称(ACCOUNTID对应的名称)",
  30874. "type": "string"
  30875. },
  30876. "currencyid": {
  30877. "description": "币种id",
  30878. "type": "integer"
  30879. },
  30880. "currencyname": {
  30881. "description": "币种名称",
  30882. "type": "string"
  30883. },
  30884. "decimalplace": {
  30885. "description": "商品报价小数位",
  30886. "type": "integer"
  30887. },
  30888. "enumdicname": {
  30889. "description": "单位名称",
  30890. "type": "string"
  30891. },
  30892. "goodscode": {
  30893. "description": "定投商品代码",
  30894. "type": "string"
  30895. },
  30896. "goodsid": {
  30897. "description": "定投商品ID",
  30898. "type": "integer"
  30899. },
  30900. "goodsname": {
  30901. "description": "定投商品名称",
  30902. "type": "string"
  30903. },
  30904. "goodunitid": {
  30905. "description": "定投商品单位id",
  30906. "type": "integer"
  30907. },
  30908. "logid": {
  30909. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30910. "type": "string"
  30911. },
  30912. "logincode": {
  30913. "description": "账号(登录代码)",
  30914. "type": "string"
  30915. },
  30916. "qtydecimalplace": {
  30917. "description": "成交量小数位",
  30918. "type": "integer"
  30919. },
  30920. "regularlycycle": {
  30921. "description": "定投频率 - 1:每周 2:每月",
  30922. "type": "integer"
  30923. },
  30924. "regularlycyclevalue": {
  30925. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30926. "type": "string"
  30927. },
  30928. "regularlymode": {
  30929. "description": "定投方式 - 1:按数量 2:按金额",
  30930. "type": "integer"
  30931. },
  30932. "regularlymodevalue": {
  30933. "description": "定投方式值 - 数量或金额",
  30934. "type": "number"
  30935. },
  30936. "regularlystrategyid": {
  30937. "description": "定投策略ID",
  30938. "type": "integer"
  30939. },
  30940. "retcode": {
  30941. "description": "错误码",
  30942. "type": "string"
  30943. },
  30944. "tradeid": {
  30945. "description": "成交单ID",
  30946. "type": "string"
  30947. },
  30948. "triggeramount": {
  30949. "description": "触发金额",
  30950. "type": "number"
  30951. },
  30952. "triggerqty": {
  30953. "description": "触发数量",
  30954. "type": "number"
  30955. },
  30956. "triggerstatus": {
  30957. "description": "触发状态 - 1:成功 2:失败",
  30958. "type": "integer"
  30959. },
  30960. "triggertime": {
  30961. "description": "触发时间",
  30962. "type": "string"
  30963. },
  30964. "triggertradedate": {
  30965. "description": "触发交易日",
  30966. "type": "string"
  30967. },
  30968. "userid": {
  30969. "description": "所属用户ID",
  30970. "type": "integer"
  30971. },
  30972. "userinfotype": {
  30973. "description": "用户类型 1-个人 2-企业",
  30974. "type": "integer"
  30975. },
  30976. "username": {
  30977. "description": "用户名称(userid对应的名称)",
  30978. "type": "string"
  30979. }
  30980. }
  30981. },
  30982. "models.QhjRStrategy": {
  30983. "type": "object",
  30984. "properties": {
  30985. "accountid": {
  30986. "description": "用户资金账户",
  30987. "type": "integer"
  30988. },
  30989. "accountname": {
  30990. "description": "账号名称(ACCOUNTID对应的名称)",
  30991. "type": "string"
  30992. },
  30993. "currencyid": {
  30994. "description": "币种id",
  30995. "type": "integer"
  30996. },
  30997. "currencyname": {
  30998. "description": "币种名称",
  30999. "type": "string"
  31000. },
  31001. "decimalplace": {
  31002. "description": "商品报价小数位",
  31003. "type": "integer"
  31004. },
  31005. "enumdicname": {
  31006. "description": "单位名称",
  31007. "type": "string"
  31008. },
  31009. "goodscode": {
  31010. "description": "定投商品代码",
  31011. "type": "string"
  31012. },
  31013. "goodsid": {
  31014. "description": "定投商品ID",
  31015. "type": "integer"
  31016. },
  31017. "goodsname": {
  31018. "description": "定投商品名称",
  31019. "type": "string"
  31020. },
  31021. "goodunitid": {
  31022. "description": "定投商品单位id",
  31023. "type": "integer"
  31024. },
  31025. "lasteffecttradedate": {
  31026. "description": "最新生效交易日",
  31027. "type": "string"
  31028. },
  31029. "laststoptradedate": {
  31030. "description": "最新暂停交易日",
  31031. "type": "string"
  31032. },
  31033. "lasttriggertradedate": {
  31034. "description": "最新触发交易日",
  31035. "type": "string"
  31036. },
  31037. "logincode": {
  31038. "description": "账号(登录代码)",
  31039. "type": "string"
  31040. },
  31041. "nexttriggeramount": {
  31042. "description": "下次触发金额",
  31043. "type": "number"
  31044. },
  31045. "nexttriggerdate": {
  31046. "description": "下次触发日期",
  31047. "type": "string"
  31048. },
  31049. "nexttriggerqty": {
  31050. "description": "下次触发数量 [按小数位放大值]",
  31051. "type": "number"
  31052. },
  31053. "qtydecimalplace": {
  31054. "description": "成交量小数位",
  31055. "type": "integer"
  31056. },
  31057. "regularlycycle": {
  31058. "description": "定投频率 - 1:每周 2:每月",
  31059. "type": "integer"
  31060. },
  31061. "regularlycyclevalue": {
  31062. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31063. "type": "string"
  31064. },
  31065. "regularlymode": {
  31066. "description": "定投方式 - 1:按数量 2:按金额",
  31067. "type": "integer"
  31068. },
  31069. "regularlymodevalue": {
  31070. "description": "定投方式值 - 数量或金额",
  31071. "type": "number"
  31072. },
  31073. "regularlystrategyid": {
  31074. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31075. "type": "integer"
  31076. },
  31077. "regularlystrategystatus": {
  31078. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31079. "type": "integer"
  31080. },
  31081. "remark": {
  31082. "description": "备注",
  31083. "type": "string"
  31084. },
  31085. "triggersuccesstimes": {
  31086. "description": "累计定投成功次数",
  31087. "type": "string"
  31088. },
  31089. "triggertotalamount": {
  31090. "description": "累计定投金额(成功)",
  31091. "type": "number"
  31092. },
  31093. "triggertotalqty": {
  31094. "description": "累计定投数量(成功) [按小数位放大值]",
  31095. "type": "number"
  31096. },
  31097. "triggertotaltimes": {
  31098. "description": "累计定投总次数",
  31099. "type": "string"
  31100. },
  31101. "updatesrc": {
  31102. "description": "更新来源 - 1:管理端 2:终端",
  31103. "type": "integer"
  31104. },
  31105. "updatetime": {
  31106. "description": "更新时间",
  31107. "type": "string"
  31108. },
  31109. "updatorid": {
  31110. "description": "更新人",
  31111. "type": "string"
  31112. },
  31113. "userid": {
  31114. "description": "所属用户ID",
  31115. "type": "integer"
  31116. },
  31117. "userinfotype": {
  31118. "description": "用户类型 1-个人 2-企业",
  31119. "type": "integer"
  31120. },
  31121. "username": {
  31122. "description": "用户名称(userid对应的名称)",
  31123. "type": "string"
  31124. }
  31125. }
  31126. },
  31127. "models.QhjReckonPriceLog": {
  31128. "type": "object",
  31129. "properties": {
  31130. "decimalplace": {
  31131. "description": "商品报价小数位",
  31132. "type": "integer"
  31133. },
  31134. "goodscode": {
  31135. "description": "商品代码",
  31136. "type": "string"
  31137. },
  31138. "goodsid": {
  31139. "description": "商品ID",
  31140. "type": "integer"
  31141. },
  31142. "goodsname": {
  31143. "description": "商品名称",
  31144. "type": "string"
  31145. },
  31146. "lastreckonprice": {
  31147. "description": "上日结算价",
  31148. "type": "number"
  31149. },
  31150. "nextdnlimitprice": {
  31151. "description": "下个交易日跌停价",
  31152. "type": "number"
  31153. },
  31154. "nexttrade": {
  31155. "description": "下个交易日",
  31156. "type": "string"
  31157. },
  31158. "nextuplimitprice": {
  31159. "description": "下个交易日涨停价",
  31160. "type": "number"
  31161. },
  31162. "reckonprice": {
  31163. "description": "今日结算价(定投价)",
  31164. "type": "number"
  31165. },
  31166. "reckontime": {
  31167. "description": "结算时间",
  31168. "type": "string"
  31169. },
  31170. "totalholderqty": {
  31171. "description": "总持仓数",
  31172. "type": "integer"
  31173. },
  31174. "totalstock": {
  31175. "description": "总库存",
  31176. "type": "integer"
  31177. },
  31178. "tradedate": {
  31179. "description": "交易日",
  31180. "type": "string"
  31181. },
  31182. "updowncount": {
  31183. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31184. "type": "integer"
  31185. },
  31186. "updownflag": {
  31187. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31188. "type": "integer"
  31189. },
  31190. "updownrate": {
  31191. "description": "今日涨跌幅",
  31192. "type": "number"
  31193. },
  31194. "updownrate_2d": {
  31195. "description": "连续两日涨跌幅",
  31196. "type": "number"
  31197. },
  31198. "updownrate_3d": {
  31199. "description": "连续三日涨跌幅",
  31200. "type": "number"
  31201. }
  31202. }
  31203. },
  31204. "models.QhjScoreLog": {
  31205. "type": "object",
  31206. "properties": {
  31207. "accountid": {
  31208. "description": "账户ID",
  31209. "type": "integer"
  31210. },
  31211. "createtime": {
  31212. "description": "创建时间(时间)",
  31213. "type": "string"
  31214. },
  31215. "goodsid": {
  31216. "description": "商品ID",
  31217. "type": "integer"
  31218. },
  31219. "hasuploaded": {
  31220. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31221. "type": "integer"
  31222. },
  31223. "logid": {
  31224. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31225. "type": "string"
  31226. },
  31227. "marketid": {
  31228. "description": "市场ID",
  31229. "type": "integer"
  31230. },
  31231. "relatedamount": {
  31232. "description": "关联金额",
  31233. "type": "number"
  31234. },
  31235. "relatedorderid": {
  31236. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31237. "type": "string"
  31238. },
  31239. "scoreconfigvalue1": {
  31240. "description": "积分配置1",
  31241. "type": "integer"
  31242. },
  31243. "scoreconfigvalue2": {
  31244. "description": "积分配置1",
  31245. "type": "integer"
  31246. },
  31247. "scoretype": {
  31248. "description": "积分类型 - 1:提货积分",
  31249. "type": "integer"
  31250. },
  31251. "scorevalue": {
  31252. "description": "积分",
  31253. "type": "number"
  31254. },
  31255. "tradedate": {
  31256. "description": "交易日(yyyyMMdd)",
  31257. "type": "string"
  31258. },
  31259. "uploadedtime": {
  31260. "description": "同步时间",
  31261. "type": "string"
  31262. },
  31263. "userid": {
  31264. "description": "用户ID",
  31265. "type": "integer"
  31266. }
  31267. }
  31268. },
  31269. "models.QhjSiteColumnDetail": {
  31270. "type": "object",
  31271. "properties": {
  31272. "author": {
  31273. "description": "作者",
  31274. "type": "string"
  31275. },
  31276. "brief": {
  31277. "description": "简介",
  31278. "type": "string"
  31279. },
  31280. "columnid": {
  31281. "description": "所属栏目",
  31282. "type": "integer"
  31283. },
  31284. "context": {
  31285. "description": "内容",
  31286. "type": "string"
  31287. },
  31288. "coverimage": {
  31289. "description": "封面图片",
  31290. "type": "string"
  31291. },
  31292. "creaedate": {
  31293. "description": "创建时间",
  31294. "type": "string"
  31295. },
  31296. "creatorid": {
  31297. "description": "创建人",
  31298. "type": "integer"
  31299. },
  31300. "hits": {
  31301. "description": "点击数",
  31302. "type": "integer"
  31303. },
  31304. "id": {
  31305. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31306. "type": "integer"
  31307. },
  31308. "isshow": {
  31309. "description": "是否展示 - 0:不展示 1:展示",
  31310. "type": "integer"
  31311. },
  31312. "istop": {
  31313. "description": "是否置顶 - 0:不置 1:置顶",
  31314. "type": "integer"
  31315. },
  31316. "modifierid": {
  31317. "description": "操作人",
  31318. "type": "integer"
  31319. },
  31320. "publishdate": {
  31321. "description": "发布日期",
  31322. "type": "string"
  31323. },
  31324. "status": {
  31325. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31326. "type": "integer"
  31327. },
  31328. "title": {
  31329. "description": "标题",
  31330. "type": "string"
  31331. },
  31332. "updatedate": {
  31333. "description": "修改时间",
  31334. "type": "string"
  31335. },
  31336. "userid": {
  31337. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31338. "type": "integer"
  31339. },
  31340. "username": {
  31341. "description": "用户名称",
  31342. "type": "string"
  31343. }
  31344. }
  31345. },
  31346. "models.QhjTeamOrder": {
  31347. "type": "object",
  31348. "properties": {
  31349. "accountid": {
  31350. "description": "账户ID[报价币种]",
  31351. "type": "integer"
  31352. },
  31353. "accountname": {
  31354. "description": "账户名称",
  31355. "type": "string"
  31356. },
  31357. "agreeunit": {
  31358. "description": "合约乘数",
  31359. "type": "number"
  31360. },
  31361. "buyorsell": {
  31362. "description": "方向 - 0:买 1:卖",
  31363. "type": "integer"
  31364. },
  31365. "decimalplace": {
  31366. "description": "报价小数位",
  31367. "type": "integer"
  31368. },
  31369. "enumdicname": {
  31370. "description": "单位名称",
  31371. "type": "string"
  31372. },
  31373. "goodscode": {
  31374. "description": "商品代码(内部)",
  31375. "type": "string"
  31376. },
  31377. "goodsid": {
  31378. "description": "商品ID",
  31379. "type": "integer"
  31380. },
  31381. "goodsname": {
  31382. "description": "商品名称",
  31383. "type": "string"
  31384. },
  31385. "goodunitid": {
  31386. "description": "报价单位ID",
  31387. "type": "integer"
  31388. },
  31389. "marketid": {
  31390. "description": "市场ID",
  31391. "type": "integer"
  31392. },
  31393. "marketname": {
  31394. "description": "市场名称",
  31395. "type": "string"
  31396. },
  31397. "qtydecimalplace": {
  31398. "description": "成交量小数位",
  31399. "type": "integer"
  31400. },
  31401. "refereeuserid": {
  31402. "description": "推荐人ID",
  31403. "type": "integer"
  31404. },
  31405. "tradeamount": {
  31406. "description": "成交金额[账户币种,用于所有权]",
  31407. "type": "number"
  31408. },
  31409. "tradedate": {
  31410. "description": "交易日(yyyyMMdd)",
  31411. "type": "string"
  31412. },
  31413. "trademode": {
  31414. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31415. "type": "integer"
  31416. },
  31417. "tradeprice": {
  31418. "description": "成交价格",
  31419. "type": "number"
  31420. },
  31421. "tradeqty": {
  31422. "description": "成交数量",
  31423. "type": "number"
  31424. },
  31425. "tradetime": {
  31426. "description": "成交时间",
  31427. "type": "string"
  31428. },
  31429. "userid": {
  31430. "description": "用户ID",
  31431. "type": "integer"
  31432. }
  31433. }
  31434. },
  31435. "models.QhjTradeGoodsPickup": {
  31436. "type": "object",
  31437. "properties": {
  31438. "accountid": {
  31439. "description": "账户ID",
  31440. "type": "integer"
  31441. },
  31442. "address": {
  31443. "description": "提货人详细地址",
  31444. "type": "string"
  31445. },
  31446. "amount": {
  31447. "description": "提货金额",
  31448. "type": "number"
  31449. },
  31450. "artradedate": {
  31451. "description": "自动收货交易日(yyyyMMdd)",
  31452. "type": "string"
  31453. },
  31454. "auditer": {
  31455. "description": "审核人",
  31456. "type": "integer"
  31457. },
  31458. "auditsrc": {
  31459. "description": "更新来源 - 1:管理端 2:终端",
  31460. "type": "integer"
  31461. },
  31462. "audittime": {
  31463. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31464. "type": "string"
  31465. },
  31466. "audittradedate": {
  31467. "description": "审核交易日(yyyyMMdd)",
  31468. "type": "string"
  31469. },
  31470. "cardnum": {
  31471. "description": "提货人证件号码",
  31472. "type": "string"
  31473. },
  31474. "cardtypeid": {
  31475. "description": "提货人证件类型",
  31476. "type": "integer"
  31477. },
  31478. "checkremark": {
  31479. "description": "审核备注",
  31480. "type": "string"
  31481. },
  31482. "cityid": {
  31483. "description": "市",
  31484. "type": "integer"
  31485. },
  31486. "cityname": {
  31487. "description": "城市名称",
  31488. "type": "string"
  31489. },
  31490. "confirmtime": {
  31491. "description": "取货时间 或 收货时间",
  31492. "type": "string"
  31493. },
  31494. "countryid": {
  31495. "description": "国家",
  31496. "type": "integer"
  31497. },
  31498. "countryname": {
  31499. "description": "国家名称",
  31500. "type": "string"
  31501. },
  31502. "decimalplace": {
  31503. "description": "商品报价小数位",
  31504. "type": "integer"
  31505. },
  31506. "districtid": {
  31507. "description": "地区",
  31508. "type": "integer"
  31509. },
  31510. "districtname": {
  31511. "description": "地区名称",
  31512. "type": "string"
  31513. },
  31514. "enumdicname": {
  31515. "description": "单位名称(提货商品)",
  31516. "type": "string"
  31517. },
  31518. "expresscompany": {
  31519. "description": "物流公司",
  31520. "type": "string"
  31521. },
  31522. "expressnum": {
  31523. "description": "物流单号",
  31524. "type": "string"
  31525. },
  31526. "goodsagreeunit": {
  31527. "description": "交易商品乘数",
  31528. "type": "number"
  31529. },
  31530. "goodscode": {
  31531. "description": "商品代码",
  31532. "type": "string"
  31533. },
  31534. "goodsid": {
  31535. "description": "商品ID",
  31536. "type": "integer"
  31537. },
  31538. "goodsname": {
  31539. "description": "商品名称",
  31540. "type": "string"
  31541. },
  31542. "goodsqty": {
  31543. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31544. "type": "number"
  31545. },
  31546. "handlestatus": {
  31547. "description": "处理状态",
  31548. "type": "integer"
  31549. },
  31550. "logincode": {
  31551. "description": "账号(登录代码, 有可能为空)",
  31552. "type": "string"
  31553. },
  31554. "marketid": {
  31555. "description": "市场ID",
  31556. "type": "integer"
  31557. },
  31558. "phonenum": {
  31559. "description": "提货人联系方式",
  31560. "type": "string"
  31561. },
  31562. "pickupgoodsagreeunit": {
  31563. "description": "提货商品合约乘数",
  31564. "type": "number"
  31565. },
  31566. "pickupgoodsid": {
  31567. "description": "提货商品ID",
  31568. "type": "string"
  31569. },
  31570. "pickupgoodsname": {
  31571. "description": "提货商品名称",
  31572. "type": "string"
  31573. },
  31574. "pickupgoodsqty": {
  31575. "description": "提货商品手数(数量)",
  31576. "type": "number"
  31577. },
  31578. "pickupgoodsunitid": {
  31579. "description": "单位ID(提货商品)",
  31580. "type": "integer"
  31581. },
  31582. "pickupratio": {
  31583. "description": "提货系数",
  31584. "type": "number"
  31585. },
  31586. "preparedays": {
  31587. "description": "备货期(天)-提货单明细表",
  31588. "type": "integer"
  31589. },
  31590. "provinceid": {
  31591. "description": "省",
  31592. "type": "integer"
  31593. },
  31594. "provincename": {
  31595. "description": "省名称",
  31596. "type": "string"
  31597. },
  31598. "qty": {
  31599. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31600. "type": "number"
  31601. },
  31602. "qtydecimalplace": {
  31603. "description": "商品数量小数位",
  31604. "type": "integer"
  31605. },
  31606. "recivername": {
  31607. "description": "提货人姓名",
  31608. "type": "string"
  31609. },
  31610. "reqtime": {
  31611. "description": "提货申请时间",
  31612. "type": "string"
  31613. },
  31614. "storeuserid": {
  31615. "description": "门店用户ID (千海金)",
  31616. "type": "integer"
  31617. },
  31618. "storeusername": {
  31619. "description": "门店用户名称",
  31620. "type": "string"
  31621. },
  31622. "takemode": {
  31623. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31624. "type": "integer"
  31625. },
  31626. "takeorderid": {
  31627. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31628. "type": "string"
  31629. },
  31630. "takeorderstatus": {
  31631. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31632. "type": "integer"
  31633. },
  31634. "takeremark": {
  31635. "description": "提货备注",
  31636. "type": "string"
  31637. },
  31638. "tradedate": {
  31639. "description": "交易日(yyyyMMdd)",
  31640. "type": "string"
  31641. },
  31642. "updatetime": {
  31643. "description": "更新时间",
  31644. "type": "string"
  31645. },
  31646. "userid": {
  31647. "description": "用户ID",
  31648. "type": "integer"
  31649. },
  31650. "userinfotype": {
  31651. "description": "客户类型 1-个人 2-企业",
  31652. "type": "integer"
  31653. },
  31654. "username": {
  31655. "description": "用户名称",
  31656. "type": "string"
  31657. }
  31658. }
  31659. },
  31660. "models.QhjUserNodeCfgAndStatus": {
  31661. "type": "object",
  31662. "properties": {
  31663. "agreementcontent": {
  31664. "description": "协议内容",
  31665. "type": "string"
  31666. },
  31667. "agreementid": {
  31668. "description": "协议ID",
  31669. "type": "integer"
  31670. },
  31671. "agreementname": {
  31672. "description": "协议名称",
  31673. "type": "string"
  31674. },
  31675. "agreementno": {
  31676. "description": "协议编号",
  31677. "type": "string"
  31678. },
  31679. "agreementtype": {
  31680. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31681. "type": "integer"
  31682. },
  31683. "agreementversion": {
  31684. "description": "协议版本号",
  31685. "type": "integer"
  31686. },
  31687. "configid": {
  31688. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31689. "type": "integer"
  31690. },
  31691. "createtime": {
  31692. "description": "创建时间",
  31693. "type": "string"
  31694. },
  31695. "goodsid": {
  31696. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31697. "type": "integer"
  31698. },
  31699. "nodetype": {
  31700. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31701. "type": "integer"
  31702. },
  31703. "signtimestamp": {
  31704. "description": "签约状态时间戳(最近一次)",
  31705. "type": "string"
  31706. },
  31707. "tradedate": {
  31708. "description": "签约交易日(yyyyMMdd)",
  31709. "type": "string"
  31710. },
  31711. "userid": {
  31712. "description": "客户ID",
  31713. "type": "integer"
  31714. }
  31715. }
  31716. },
  31717. "models.Qhjgoodsex": {
  31718. "type": "object",
  31719. "properties": {
  31720. "canfinance": {
  31721. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31722. "type": "integer"
  31723. },
  31724. "canregularlybuy": {
  31725. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31726. "type": "integer"
  31727. },
  31728. "defaulttradeuserid": {
  31729. "description": "默认交易用户ID",
  31730. "type": "integer"
  31731. },
  31732. "deliverygoodsid": {
  31733. "description": "现货品种ID",
  31734. "type": "integer"
  31735. },
  31736. "goodsid": {
  31737. "description": "商品ID(自增ID SEQ_GOODS)",
  31738. "type": "integer"
  31739. },
  31740. "minamount": {
  31741. "description": "最小购买金额",
  31742. "type": "number"
  31743. },
  31744. "regularlybuyminamount": {
  31745. "description": "定投最小金额",
  31746. "type": "number"
  31747. },
  31748. "regularlybuyminqty": {
  31749. "description": "定投最小数量",
  31750. "type": "number"
  31751. },
  31752. "spotgoodsbrandid": {
  31753. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31754. "type": "integer"
  31755. },
  31756. "visibilityforenterprise": {
  31757. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31758. "type": "integer"
  31759. },
  31760. "visibilityforpersonal": {
  31761. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31762. "type": "integer"
  31763. },
  31764. "wrstandardid": {
  31765. "description": "现货商品ID",
  31766. "type": "integer"
  31767. }
  31768. }
  31769. },
  31770. "models.QueryErrorInfosRsp": {
  31771. "type": "object",
  31772. "required": [
  31773. "errorid"
  31774. ],
  31775. "properties": {
  31776. "description": {
  31777. "description": "异常描述",
  31778. "type": "string"
  31779. },
  31780. "errorcode": {
  31781. "description": "异常代码",
  31782. "type": "string"
  31783. },
  31784. "errorid": {
  31785. "description": "异常ID",
  31786. "type": "integer"
  31787. },
  31788. "modulecode": {
  31789. "description": "所属模块",
  31790. "type": "string"
  31791. },
  31792. "operatecode": {
  31793. "description": "所属操作",
  31794. "type": "string"
  31795. },
  31796. "rownumber": {
  31797. "description": "行号",
  31798. "type": "string"
  31799. }
  31800. }
  31801. },
  31802. "models.QueryHedgeOrderDetailRsp": {
  31803. "type": "object",
  31804. "properties": {
  31805. "accountid": {
  31806. "description": "账户ID",
  31807. "type": "integer"
  31808. },
  31809. "buyorsell": {
  31810. "description": "买卖 - 0:买 1:卖",
  31811. "type": "integer"
  31812. },
  31813. "cancellogincode": {
  31814. "description": "撤单人",
  31815. "type": "string"
  31816. },
  31817. "channelbuildtype": {
  31818. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31819. "type": "integer"
  31820. },
  31821. "channelinnerorderstatus": {
  31822. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31823. "type": "integer"
  31824. },
  31825. "channeloperatetype": {
  31826. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31827. "type": "integer"
  31828. },
  31829. "closetype": {
  31830. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31831. "type": "integer"
  31832. },
  31833. "curexchangerate": {
  31834. "description": "当前汇率",
  31835. "type": "number"
  31836. },
  31837. "decimalplace": {
  31838. "description": "商品报价小数位",
  31839. "type": "integer"
  31840. },
  31841. "exchangefullname": {
  31842. "description": "外部交易所全称",
  31843. "type": "string"
  31844. },
  31845. "goodscode": {
  31846. "description": "商品代码(内部)",
  31847. "type": "string"
  31848. },
  31849. "goodsid": {
  31850. "description": "商品ID",
  31851. "type": "integer"
  31852. },
  31853. "goodsname": {
  31854. "description": "商品名称",
  31855. "type": "string"
  31856. },
  31857. "marketid": {
  31858. "description": "市场ID",
  31859. "type": "integer"
  31860. },
  31861. "openfreezemargin": {
  31862. "description": "冻结保证金(冻结交易金额)",
  31863. "type": "number"
  31864. },
  31865. "orderid": {
  31866. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31867. "type": "string"
  31868. },
  31869. "orderlogincode": {
  31870. "description": "委托人",
  31871. "type": "string"
  31872. },
  31873. "orderprice": {
  31874. "description": "委托价格(账户)",
  31875. "type": "number"
  31876. },
  31877. "orderqty": {
  31878. "description": "委托数量",
  31879. "type": "integer"
  31880. },
  31881. "ordertime": {
  31882. "description": "委托时间",
  31883. "type": "string"
  31884. },
  31885. "pricemode": {
  31886. "description": "取价方式 - 1:市价 2: 限价",
  31887. "type": "integer"
  31888. },
  31889. "tradedate": {
  31890. "description": "交易日(yyyyMMdd)",
  31891. "type": "string"
  31892. },
  31893. "tradeqty": {
  31894. "description": "成交数量",
  31895. "type": "integer"
  31896. }
  31897. }
  31898. },
  31899. "models.QueryHedgeTradeDetailRsp": {
  31900. "type": "object",
  31901. "properties": {
  31902. "accountid": {
  31903. "description": "账号ID",
  31904. "type": "integer"
  31905. },
  31906. "buyorsell": {
  31907. "description": "方向 - 0:买 1:卖",
  31908. "type": "integer"
  31909. },
  31910. "channelbuildtype": {
  31911. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31912. "type": "integer"
  31913. },
  31914. "closecharge": {
  31915. "description": "平仓手续费(账户)",
  31916. "type": "number"
  31917. },
  31918. "closecharge2": {
  31919. "description": "平仓手续费(商品)",
  31920. "type": "number"
  31921. },
  31922. "closepl": {
  31923. "description": "平仓盈亏(账户)",
  31924. "type": "number"
  31925. },
  31926. "closepl2": {
  31927. "description": "平仓盈亏(商品)",
  31928. "type": "number"
  31929. },
  31930. "closepl3": {
  31931. "description": "平仓盈亏(账户)(逐笔)",
  31932. "type": "number"
  31933. },
  31934. "closepl4": {
  31935. "description": "平仓盈亏(商品)(逐笔)",
  31936. "type": "number"
  31937. },
  31938. "closetype": {
  31939. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31940. "type": "integer"
  31941. },
  31942. "curexchangerate": {
  31943. "description": "当前汇率",
  31944. "type": "number"
  31945. },
  31946. "decimalplace": {
  31947. "description": "商品报价小数位",
  31948. "type": "integer"
  31949. },
  31950. "exchangefullname": {
  31951. "description": "外部交易所全称",
  31952. "type": "string"
  31953. },
  31954. "goodscode": {
  31955. "description": "商品代码(内部)",
  31956. "type": "string"
  31957. },
  31958. "goodsid": {
  31959. "description": "商品ID",
  31960. "type": "integer"
  31961. },
  31962. "goodsname": {
  31963. "description": "商品名称",
  31964. "type": "string"
  31965. },
  31966. "marketid": {
  31967. "description": "市场ID",
  31968. "type": "integer"
  31969. },
  31970. "opencharge": {
  31971. "description": "建仓手续费(账户)",
  31972. "type": "number"
  31973. },
  31974. "opencharge2": {
  31975. "description": "建仓手续费(商品)",
  31976. "type": "number"
  31977. },
  31978. "orderid": {
  31979. "description": "委托单号",
  31980. "type": "string"
  31981. },
  31982. "orderlogincode": {
  31983. "description": "委托人",
  31984. "type": "string"
  31985. },
  31986. "tradeamount": {
  31987. "description": "成交金额(账户)",
  31988. "type": "number"
  31989. },
  31990. "tradedate": {
  31991. "description": "交易日(yyyyMMdd)",
  31992. "type": "string"
  31993. },
  31994. "tradeid": {
  31995. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31996. "type": "string"
  31997. },
  31998. "tradeprice": {
  31999. "description": "成交价格",
  32000. "type": "number"
  32001. },
  32002. "tradeqty": {
  32003. "description": "成交数量",
  32004. "type": "integer"
  32005. },
  32006. "tradetime": {
  32007. "description": "成交时间",
  32008. "type": "string"
  32009. },
  32010. "tradetype": {
  32011. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32012. "type": "integer"
  32013. }
  32014. }
  32015. },
  32016. "models.QuotePrimaryMenu": {
  32017. "type": "object",
  32018. "properties": {
  32019. "Index": {
  32020. "description": "序号",
  32021. "type": "integer"
  32022. },
  32023. "Key": {
  32024. "description": "键名",
  32025. "type": "string"
  32026. },
  32027. "Name": {
  32028. "description": "菜单名称",
  32029. "type": "string"
  32030. },
  32031. "SubMenus": {
  32032. "description": "子菜单",
  32033. "type": "array",
  32034. "items": {
  32035. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32036. }
  32037. },
  32038. "SubTitleType": {
  32039. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32040. "type": "integer"
  32041. },
  32042. "TradeModes": {
  32043. "description": "包含市场交易类型",
  32044. "type": "string"
  32045. }
  32046. }
  32047. },
  32048. "models.QuoteSecondaryMenu": {
  32049. "type": "object",
  32050. "properties": {
  32051. "ExExchangeCode": {
  32052. "description": "外部交易所代码",
  32053. "type": "string"
  32054. },
  32055. "ExExchangeID": {
  32056. "description": "外部交易所ID",
  32057. "type": "integer"
  32058. },
  32059. "GoodsGroupIDs": {
  32060. "description": "商品组ID列表",
  32061. "type": "array",
  32062. "items": {
  32063. "type": "integer"
  32064. }
  32065. },
  32066. "Index": {
  32067. "description": "序号",
  32068. "type": "integer"
  32069. },
  32070. "MarketID": {
  32071. "description": "市场ID",
  32072. "type": "integer"
  32073. },
  32074. "MenuTitle": {
  32075. "description": "菜单标题(市场名称或外部交易所名称)",
  32076. "type": "string"
  32077. },
  32078. "TradeMode": {
  32079. "description": "交易模式",
  32080. "type": "integer"
  32081. }
  32082. }
  32083. },
  32084. "models.RoleMenu": {
  32085. "type": "object",
  32086. "properties": {
  32087. "hasright": {
  32088. "description": "是否有权限 0-没有权限 1-有权限",
  32089. "type": "integer"
  32090. },
  32091. "iconame": {
  32092. "description": "菜单图标",
  32093. "type": "string"
  32094. },
  32095. "menutype": {
  32096. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32097. "type": "integer"
  32098. },
  32099. "parentcode": {
  32100. "description": "上级资源代码",
  32101. "type": "string"
  32102. },
  32103. "remark": {
  32104. "description": "菜单备注",
  32105. "type": "string"
  32106. },
  32107. "resourcecode": {
  32108. "description": "菜单代码",
  32109. "type": "string"
  32110. },
  32111. "resourcelevel": {
  32112. "description": "级别",
  32113. "type": "integer"
  32114. },
  32115. "resourcename": {
  32116. "description": "菜单名称",
  32117. "type": "string"
  32118. },
  32119. "roleid": {
  32120. "description": "角色id",
  32121. "type": "integer"
  32122. },
  32123. "sort": {
  32124. "description": "排序",
  32125. "type": "integer"
  32126. },
  32127. "subMenu": {
  32128. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32129. "type": "array",
  32130. "items": {
  32131. "$ref": "#/definitions/models.RoleMenu"
  32132. }
  32133. },
  32134. "url": {
  32135. "description": "URL",
  32136. "type": "string"
  32137. },
  32138. "userid": {
  32139. "description": "用户id",
  32140. "type": "integer"
  32141. }
  32142. }
  32143. },
  32144. "models.SearchGoods": {
  32145. "type": "object",
  32146. "required": [
  32147. "goodscode",
  32148. "goodsid",
  32149. "goodsname",
  32150. "marketid",
  32151. "trademode"
  32152. ],
  32153. "properties": {
  32154. "goodscode": {
  32155. "description": "商品代码(内部)",
  32156. "type": "string"
  32157. },
  32158. "goodsid": {
  32159. "description": "商品ID(自增ID SEQ_GOODS)",
  32160. "type": "integer"
  32161. },
  32162. "goodsname": {
  32163. "description": "商品名称",
  32164. "type": "string"
  32165. },
  32166. "marketid": {
  32167. "description": "所属市场ID",
  32168. "type": "integer"
  32169. },
  32170. "marketname": {
  32171. "description": "市场名称",
  32172. "type": "string"
  32173. },
  32174. "trademode": {
  32175. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32176. "type": "integer"
  32177. }
  32178. }
  32179. },
  32180. "models.Systemparam": {
  32181. "type": "object",
  32182. "required": [
  32183. "paramcode"
  32184. ],
  32185. "properties": {
  32186. "loginid": {
  32187. "description": "更新用户账号,登录账号",
  32188. "type": "string"
  32189. },
  32190. "modifyflag": {
  32191. "description": "修改标志0 不允许修改 1 允许修改",
  32192. "type": "integer"
  32193. },
  32194. "paramcode": {
  32195. "description": "参数代码",
  32196. "type": "string"
  32197. },
  32198. "paramname": {
  32199. "description": "参数名",
  32200. "type": "string"
  32201. },
  32202. "paramtype": {
  32203. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32204. "type": "integer"
  32205. },
  32206. "paramvalue": {
  32207. "description": "参数值",
  32208. "type": "string"
  32209. },
  32210. "paramvalue2": {
  32211. "description": "参数值(CLOB)",
  32212. "type": "string"
  32213. },
  32214. "regexpress": {
  32215. "description": "正则表达式",
  32216. "type": "string"
  32217. },
  32218. "remark": {
  32219. "description": "备注",
  32220. "type": "string"
  32221. },
  32222. "serverip": {
  32223. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32224. "type": "string"
  32225. },
  32226. "showflag": {
  32227. "description": "是否显示0 不显示 1 显示",
  32228. "type": "integer"
  32229. },
  32230. "updatetime": {
  32231. "description": "更新时间",
  32232. "type": "string"
  32233. },
  32234. "userid": {
  32235. "description": "更新用户ID",
  32236. "type": "integer"
  32237. }
  32238. }
  32239. },
  32240. "models.Szdz3convertconfig": {
  32241. "type": "object",
  32242. "required": [
  32243. "converttype",
  32244. "innergoodsid",
  32245. "outergoodscode"
  32246. ],
  32247. "properties": {
  32248. "canin": {
  32249. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32250. "type": "integer"
  32251. },
  32252. "canout": {
  32253. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32254. "type": "integer"
  32255. },
  32256. "converttype": {
  32257. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32258. "type": "integer"
  32259. },
  32260. "createtime": {
  32261. "description": "创建时间",
  32262. "type": "string"
  32263. },
  32264. "creatorid": {
  32265. "description": "创建人",
  32266. "type": "integer"
  32267. },
  32268. "daymaxvalue": {
  32269. "description": "当日最大转入限制",
  32270. "type": "number"
  32271. },
  32272. "freezedays": {
  32273. "description": "冻结天数 [5:花生米转交易]",
  32274. "type": "integer"
  32275. },
  32276. "innergoodsid": {
  32277. "description": "内部商品ID[交易]",
  32278. "type": "integer"
  32279. },
  32280. "inratio": {
  32281. "description": "目标值",
  32282. "type": "integer"
  32283. },
  32284. "modifierid": {
  32285. "description": "修改人",
  32286. "type": "integer"
  32287. },
  32288. "modifytime": {
  32289. "description": "修改时间",
  32290. "type": "string"
  32291. },
  32292. "outergoodscode": {
  32293. "description": "外部商品代码[JD\\PD]",
  32294. "type": "string"
  32295. },
  32296. "outratio": {
  32297. "description": "源值",
  32298. "type": "integer"
  32299. },
  32300. "pddecimalplace": {
  32301. "description": "PD小数位",
  32302. "type": "integer"
  32303. },
  32304. "timemaxvalue": {
  32305. "description": "单次最大转入限制",
  32306. "type": "number"
  32307. },
  32308. "timeminvalue": {
  32309. "description": "单次最小转入限制",
  32310. "type": "number"
  32311. }
  32312. }
  32313. },
  32314. "models.Szdz3searchwhitelist": {
  32315. "type": "object",
  32316. "required": [
  32317. "userid"
  32318. ],
  32319. "properties": {
  32320. "createtime": {
  32321. "description": "创建时间",
  32322. "type": "string"
  32323. },
  32324. "creatorid": {
  32325. "description": "创建人",
  32326. "type": "integer"
  32327. },
  32328. "modifierid": {
  32329. "description": "修改人",
  32330. "type": "integer"
  32331. },
  32332. "modifytime": {
  32333. "description": "修改时间",
  32334. "type": "string"
  32335. },
  32336. "userid": {
  32337. "description": "用户ID",
  32338. "type": "integer"
  32339. }
  32340. }
  32341. },
  32342. "models.TBGoods": {
  32343. "type": "object",
  32344. "properties": {
  32345. "agreeunit": {
  32346. "description": "合约乘数",
  32347. "type": "number"
  32348. },
  32349. "enumdicname": {
  32350. "description": "单位名称",
  32351. "type": "string"
  32352. },
  32353. "goodscode": {
  32354. "description": "商品代码(内部)",
  32355. "type": "string"
  32356. },
  32357. "goodsid": {
  32358. "description": "商品ID(自增ID SEQ_GOODS)",
  32359. "type": "integer"
  32360. },
  32361. "goodsname": {
  32362. "description": "商品名称",
  32363. "type": "string"
  32364. }
  32365. }
  32366. },
  32367. "models.TBGoodsGroup": {
  32368. "type": "object",
  32369. "properties": {
  32370. "GDLST": {
  32371. "description": "商品列表",
  32372. "type": "array",
  32373. "items": {
  32374. "$ref": "#/definitions/models.TBGoods"
  32375. }
  32376. },
  32377. "convertratio": {
  32378. "description": "折算系数",
  32379. "type": "number"
  32380. },
  32381. "enumdicname": {
  32382. "description": "单位名称",
  32383. "type": "string"
  32384. },
  32385. "exexchangecode": {
  32386. "description": "交易所代码",
  32387. "type": "string"
  32388. },
  32389. "exexchangename": {
  32390. "description": "交易所名称",
  32391. "type": "string"
  32392. },
  32393. "goodsgroupid": {
  32394. "description": "商品组ID(自增ID)",
  32395. "type": "integer"
  32396. },
  32397. "goodsgroupname": {
  32398. "description": "商品组名称",
  32399. "type": "string"
  32400. },
  32401. "goodunitid": {
  32402. "description": "报价单位ID",
  32403. "type": "integer"
  32404. }
  32405. }
  32406. },
  32407. "models.TBMiddleGoods": {
  32408. "type": "object",
  32409. "properties": {
  32410. "GPLST": {
  32411. "description": "期货品种列表",
  32412. "type": "array",
  32413. "items": {
  32414. "$ref": "#/definitions/models.TBGoodsGroup"
  32415. }
  32416. },
  32417. "WDLST": {
  32418. "description": "商品信息列表(现货品类)",
  32419. "type": "array",
  32420. "items": {
  32421. "$ref": "#/definitions/models.TBWrstandard"
  32422. }
  32423. },
  32424. "areauserid": {
  32425. "description": "机构用户ID",
  32426. "type": "integer"
  32427. },
  32428. "enumdicname": {
  32429. "description": "单位名称",
  32430. "type": "string"
  32431. },
  32432. "goodsunitid": {
  32433. "description": "套保品种单位id",
  32434. "type": "integer"
  32435. },
  32436. "middlegoodscode": {
  32437. "description": "套保品种代码",
  32438. "type": "string"
  32439. },
  32440. "middlegoodsid": {
  32441. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32442. "type": "integer"
  32443. },
  32444. "middlegoodsname": {
  32445. "description": "套保品种名称",
  32446. "type": "string"
  32447. },
  32448. "needarbitrageratio": {
  32449. "description": "套利比率",
  32450. "type": "number"
  32451. },
  32452. "needhedgeratio": {
  32453. "description": "套保比率",
  32454. "type": "number"
  32455. }
  32456. }
  32457. },
  32458. "models.TBWrstandard": {
  32459. "type": "object",
  32460. "properties": {
  32461. "convertratio": {
  32462. "description": "折算系数",
  32463. "type": "number"
  32464. },
  32465. "deliverygoodsname": {
  32466. "description": "品种名称",
  32467. "type": "string"
  32468. },
  32469. "enumdicname": {
  32470. "description": "单位名称",
  32471. "type": "string"
  32472. },
  32473. "vatrate": {
  32474. "description": "增值税率",
  32475. "type": "number"
  32476. },
  32477. "wrstandardcode": {
  32478. "description": "现货商品代码",
  32479. "type": "string"
  32480. },
  32481. "wrstandardid": {
  32482. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32483. "type": "integer"
  32484. },
  32485. "wrstandardname": {
  32486. "description": "现货商品名称",
  32487. "type": "string"
  32488. }
  32489. }
  32490. },
  32491. "models.Taaccount": {
  32492. "type": "object",
  32493. "required": [
  32494. "accountid",
  32495. "userid"
  32496. ],
  32497. "properties": {
  32498. "accountflag": {
  32499. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32500. "type": "integer"
  32501. },
  32502. "accountid": {
  32503. "description": "资金账户ID",
  32504. "type": "integer"
  32505. },
  32506. "accountname": {
  32507. "description": "账户名称",
  32508. "type": "string"
  32509. },
  32510. "balance": {
  32511. "description": "期初余额",
  32512. "type": "number"
  32513. },
  32514. "capitalbalance": {
  32515. "description": "本金余额[外部子账户实际出入金余额]",
  32516. "type": "number"
  32517. },
  32518. "changeflag": {
  32519. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32520. "type": "integer"
  32521. },
  32522. "changetime": {
  32523. "description": "账户状态变更时间",
  32524. "type": "string"
  32525. },
  32526. "closepl": {
  32527. "description": "今日平仓盈亏",
  32528. "type": "number"
  32529. },
  32530. "creditdecrease": {
  32531. "description": "今日授信减少",
  32532. "type": "number"
  32533. },
  32534. "creditincrease": {
  32535. "description": "今日授信增加",
  32536. "type": "number"
  32537. },
  32538. "curamount": {
  32539. "description": "总市值(从持仓中统计)",
  32540. "type": "number"
  32541. },
  32542. "currencyid": {
  32543. "description": "货币ID",
  32544. "type": "integer"
  32545. },
  32546. "currentbalance": {
  32547. "description": "期末余额",
  32548. "type": "number"
  32549. },
  32550. "freezecharge": {
  32551. "description": "手续费冻结",
  32552. "type": "number"
  32553. },
  32554. "freezemargin": {
  32555. "description": "冻结保证金",
  32556. "type": "number"
  32557. },
  32558. "fromaccountid": {
  32559. "description": "所属上级账户",
  32560. "type": "integer"
  32561. },
  32562. "inamount": {
  32563. "description": "今日入金金额(包括三方入金)",
  32564. "type": "number"
  32565. },
  32566. "ismain": {
  32567. "description": "是否母账号 0:不是母账户 1:是母账户",
  32568. "type": "integer"
  32569. },
  32570. "ismarketaccount": {
  32571. "description": "是否机构接单账号 0:不是 1:是",
  32572. "type": "integer"
  32573. },
  32574. "isreckonaccount": {
  32575. "description": "是否机构分润账号 0:不是 1:是",
  32576. "type": "integer"
  32577. },
  32578. "mortgagecredit": {
  32579. "description": "授信金额",
  32580. "type": "number"
  32581. },
  32582. "orifreezecharge": {
  32583. "description": "期初手续费冻结",
  32584. "type": "number"
  32585. },
  32586. "orifreezemargin": {
  32587. "description": "期初冻结保证金",
  32588. "type": "number"
  32589. },
  32590. "orimortgagecredit": {
  32591. "description": "期初授信金额",
  32592. "type": "number"
  32593. },
  32594. "oriothercredit": {
  32595. "description": "期初其它授信金额",
  32596. "type": "number"
  32597. },
  32598. "oriotherfreezemargin": {
  32599. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32600. "type": "number"
  32601. },
  32602. "orioutamountfreeze": {
  32603. "description": "期初出金冻结",
  32604. "type": "number"
  32605. },
  32606. "oriusedmargin": {
  32607. "description": "期初占用保证金",
  32608. "type": "number"
  32609. },
  32610. "othercredit": {
  32611. "description": "其它授信金额",
  32612. "type": "number"
  32613. },
  32614. "othercreditdecrease": {
  32615. "description": "今日其它授信减少",
  32616. "type": "number"
  32617. },
  32618. "othercreditincrease": {
  32619. "description": "今日其它授信增加",
  32620. "type": "number"
  32621. },
  32622. "otherfreezemargin": {
  32623. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32624. "type": "number"
  32625. },
  32626. "otherincome": {
  32627. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32628. "type": "number"
  32629. },
  32630. "otherpay": {
  32631. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32632. "type": "number"
  32633. },
  32634. "outamount": {
  32635. "description": "今日出金金额(包括三方出金)",
  32636. "type": "number"
  32637. },
  32638. "outamountfreeze": {
  32639. "description": "出金冻结",
  32640. "type": "number"
  32641. },
  32642. "outthreshold": {
  32643. "description": "出金阈值",
  32644. "type": "number"
  32645. },
  32646. "parentaccountid": {
  32647. "description": "所属根账号",
  32648. "type": "integer"
  32649. },
  32650. "paycharge": {
  32651. "description": "今日手续费支出",
  32652. "type": "number"
  32653. },
  32654. "relatedaccountstatus": {
  32655. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32656. "type": "integer"
  32657. },
  32658. "relateduserid": {
  32659. "description": "关联用户",
  32660. "type": "integer"
  32661. },
  32662. "remainamount": {
  32663. "description": "融资额(从融资合同中统计)",
  32664. "type": "number"
  32665. },
  32666. "serivcegroup": {
  32667. "description": "服务分组",
  32668. "type": "integer"
  32669. },
  32670. "signstatus": {
  32671. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32672. "type": "integer"
  32673. },
  32674. "sublevelpath": {
  32675. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32676. "type": "string"
  32677. },
  32678. "taaccounttype": {
  32679. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32680. "type": "integer"
  32681. },
  32682. "thirdinamount": {
  32683. "description": "今日三方入金",
  32684. "type": "number"
  32685. },
  32686. "thirdoutamount": {
  32687. "description": "今日三方出金",
  32688. "type": "number"
  32689. },
  32690. "tradestatus": {
  32691. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32692. "type": "integer"
  32693. },
  32694. "tradestatuschangetime": {
  32695. "description": "激活时间",
  32696. "type": "string"
  32697. },
  32698. "transferamount": {
  32699. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32700. "type": "number"
  32701. },
  32702. "usedmargin": {
  32703. "description": "占用保证金",
  32704. "type": "number"
  32705. },
  32706. "userid": {
  32707. "description": "用户ID",
  32708. "type": "integer"
  32709. }
  32710. }
  32711. },
  32712. "models.Tablecolumnconfig": {
  32713. "type": "object",
  32714. "required": [
  32715. "autoid"
  32716. ],
  32717. "properties": {
  32718. "aligntype": {
  32719. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32720. "type": "integer"
  32721. },
  32722. "autoid": {
  32723. "description": "AutoID",
  32724. "type": "integer"
  32725. },
  32726. "columnfield": {
  32727. "description": "列字段",
  32728. "type": "string"
  32729. },
  32730. "columntitle": {
  32731. "description": "列Title",
  32732. "type": "string"
  32733. },
  32734. "columnwidth": {
  32735. "description": "列宽",
  32736. "type": "string"
  32737. },
  32738. "formatterstring": {
  32739. "description": "格式化字符",
  32740. "type": "string"
  32741. },
  32742. "formattertype": {
  32743. "description": "格式化类型",
  32744. "type": "string"
  32745. },
  32746. "groupname": {
  32747. "description": "表头分组名称",
  32748. "type": "string"
  32749. },
  32750. "isshow": {
  32751. "description": "是否显示 - 0:不显示 1:显示",
  32752. "type": "integer"
  32753. },
  32754. "needsummary": {
  32755. "description": "是否需要汇总 - 0:不需要 1:需要",
  32756. "type": "integer"
  32757. },
  32758. "orderindex": {
  32759. "description": "顺序",
  32760. "type": "integer"
  32761. },
  32762. "remark": {
  32763. "description": "备注",
  32764. "type": "string"
  32765. },
  32766. "summarytype": {
  32767. "description": "汇总类型 - 1:加总 2:最后一个",
  32768. "type": "integer"
  32769. },
  32770. "tablekey": {
  32771. "description": "列表Key",
  32772. "type": "string"
  32773. }
  32774. }
  32775. },
  32776. "models.TjmdMarketSection": {
  32777. "type": "object",
  32778. "properties": {
  32779. "marketsectionid": {
  32780. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32781. "type": "integer"
  32782. },
  32783. "marketsectionname": {
  32784. "description": "市场版块名称",
  32785. "type": "string"
  32786. },
  32787. "mlist": {
  32788. "description": "市场列表(板块下面有多少个市场)",
  32789. "type": "array",
  32790. "items": {
  32791. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32792. }
  32793. },
  32794. "orderindex": {
  32795. "description": "排序",
  32796. "type": "integer"
  32797. },
  32798. "pictureurl": {
  32799. "description": "图片url, 规格(90*90)",
  32800. "type": "string"
  32801. },
  32802. "remark": {
  32803. "description": "备注",
  32804. "type": "string"
  32805. }
  32806. }
  32807. },
  32808. "models.TjmdMarketSectionConfig": {
  32809. "type": "object",
  32810. "properties": {
  32811. "auctionwrtype": {
  32812. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32813. "type": "integer"
  32814. },
  32815. "canacceptquote": {
  32816. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32817. "type": "integer"
  32818. },
  32819. "cangoodsexercise": {
  32820. "description": "[期权]是否可现货行权- 0:否 1:是",
  32821. "type": "integer"
  32822. },
  32823. "cangoodsexercisetype": {
  32824. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32825. "type": "integer"
  32826. },
  32827. "canmanualquotestrike": {
  32828. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32829. "type": "integer"
  32830. },
  32831. "canmutistage": {
  32832. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32833. "type": "integer"
  32834. },
  32835. "canpreexercise": {
  32836. "description": "[期权]是否可预申报- 0:否 1:是",
  32837. "type": "integer"
  32838. },
  32839. "clearinterval": {
  32840. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32841. "type": "integer"
  32842. },
  32843. "contracttmp": {
  32844. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32845. "type": "string"
  32846. },
  32847. "exchareaid": {
  32848. "description": "所属交易所,可以没有",
  32849. "type": "integer"
  32850. },
  32851. "financemarketid": {
  32852. "description": "融资回购市场ID [仓单贸易]",
  32853. "type": "integer"
  32854. },
  32855. "goodstype": {
  32856. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32857. "type": "integer"
  32858. },
  32859. "hasrebate": {
  32860. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32861. "type": "integer"
  32862. },
  32863. "hastradecredit": {
  32864. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32865. "type": "integer"
  32866. },
  32867. "haswr": {
  32868. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32869. "type": "integer"
  32870. },
  32871. "isdeductmargin": {
  32872. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32873. "type": "integer"
  32874. },
  32875. "isrecordsource": {
  32876. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32877. "type": "integer"
  32878. },
  32879. "isreleasemargin": {
  32880. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32881. "type": "integer"
  32882. },
  32883. "isupdatereckonprice": {
  32884. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32885. "type": "integer"
  32886. },
  32887. "listingmode": {
  32888. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32889. "type": "integer"
  32890. },
  32891. "marginformula": {
  32892. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32893. "type": "integer"
  32894. },
  32895. "marginformula2": {
  32896. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32897. "type": "integer"
  32898. },
  32899. "marketid": {
  32900. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32901. "type": "integer"
  32902. },
  32903. "marketname": {
  32904. "description": "市场名称",
  32905. "type": "string"
  32906. },
  32907. "marketsectionid": {
  32908. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32909. "type": "integer"
  32910. },
  32911. "marketserviceid": {
  32912. "description": "市场服务ID",
  32913. "type": "integer"
  32914. },
  32915. "marketstatus": {
  32916. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32917. "type": "integer"
  32918. },
  32919. "markettype": {
  32920. "description": "市场类型- 1:非交易服务 2:交易服务",
  32921. "type": "integer"
  32922. },
  32923. "matchermode": {
  32924. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32925. "type": "integer"
  32926. },
  32927. "nowrquotaflag": {
  32928. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32929. "type": "integer"
  32930. },
  32931. "openmethod": {
  32932. "description": "开盘模式 - 0 自动 1手动",
  32933. "type": "integer"
  32934. },
  32935. "orderindex": {
  32936. "description": "排序",
  32937. "type": "integer"
  32938. },
  32939. "otcuserid": {
  32940. "description": "场外期权做市商[场外期权]",
  32941. "type": "integer"
  32942. },
  32943. "outersynctime": {
  32944. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32945. "type": "string"
  32946. },
  32947. "paylaterflag": {
  32948. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32949. "type": "integer"
  32950. },
  32951. "pendingflag": {
  32952. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32953. "type": "integer"
  32954. },
  32955. "pendingtime": {
  32956. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32957. "type": "string"
  32958. },
  32959. "performancetempid": {
  32960. "description": "履约计划模板ID - 作废",
  32961. "type": "integer"
  32962. },
  32963. "premiumquotemode": {
  32964. "description": "权利金报价方式 - 1:自动 2:手动",
  32965. "type": "integer"
  32966. },
  32967. "rebateratio": {
  32968. "description": "返利比率[竞价式]",
  32969. "type": "number"
  32970. },
  32971. "reckonorder": {
  32972. "description": "结算顺序",
  32973. "type": "integer"
  32974. },
  32975. "reckonpricealgorithm": {
  32976. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32977. "type": "integer"
  32978. },
  32979. "reckonpriceparam": {
  32980. "description": "结算价参数",
  32981. "type": "integer"
  32982. },
  32983. "reckontime": {
  32984. "description": "结算时间[通道交易-对冲](HH:mm)",
  32985. "type": "string"
  32986. },
  32987. "roleprioritytype": {
  32988. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32989. "type": "integer"
  32990. },
  32991. "selllistingauditflag": {
  32992. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32993. "type": "integer"
  32994. },
  32995. "trademarkettype": {
  32996. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32997. "type": "integer"
  32998. },
  32999. "trademode": {
  33000. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33001. "type": "integer"
  33002. },
  33003. "tradeproperty": {
  33004. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33005. "type": "integer"
  33006. },
  33007. "tradetype": {
  33008. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33009. "type": "integer"
  33010. },
  33011. "updatereckonpriceinterval": {
  33012. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33013. "type": "integer"
  33014. }
  33015. }
  33016. },
  33017. "models.TjmdQuoteGoods": {
  33018. "type": "object",
  33019. "properties": {
  33020. "buyqty": {
  33021. "description": "买量(暂不做, 无值, 保留字段)",
  33022. "type": "number"
  33023. },
  33024. "decimalplace": {
  33025. "description": "报价小数位",
  33026. "type": "integer"
  33027. },
  33028. "goodscode": {
  33029. "description": "合约代码",
  33030. "type": "string"
  33031. },
  33032. "goodsgroupid": {
  33033. "description": "商品组ID(自增ID)",
  33034. "type": "integer"
  33035. },
  33036. "goodsgroupname": {
  33037. "description": "商品组名称",
  33038. "type": "string"
  33039. },
  33040. "goodsid": {
  33041. "description": "合约id",
  33042. "type": "integer"
  33043. },
  33044. "goodsname": {
  33045. "description": "合约名称",
  33046. "type": "string"
  33047. },
  33048. "refgoodscode": {
  33049. "description": "标的合约代码",
  33050. "type": "string"
  33051. },
  33052. "refgoodsid": {
  33053. "description": "标的合约id",
  33054. "type": "integer"
  33055. },
  33056. "refgoodsname": {
  33057. "description": "标的合约名称",
  33058. "type": "string"
  33059. },
  33060. "sellqty": {
  33061. "description": "卖量(暂不做, 无值, 保留字段)",
  33062. "type": "number"
  33063. }
  33064. }
  33065. },
  33066. "models.TjmdTodayAccountMargin": {
  33067. "type": "object",
  33068. "properties": {
  33069. "accountid": {
  33070. "description": "账号ID",
  33071. "type": "integer"
  33072. },
  33073. "goodsid": {
  33074. "description": "商品ID",
  33075. "type": "integer"
  33076. },
  33077. "infoc": {
  33078. "description": "配置参数",
  33079. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  33080. },
  33081. "marketid": {
  33082. "description": "市场ID",
  33083. "type": "integer"
  33084. }
  33085. }
  33086. },
  33087. "models.TjmdTradeOrderDetail": {
  33088. "type": "object",
  33089. "properties": {
  33090. "buyorsell": {
  33091. "description": "买卖方向 0-买 1-卖",
  33092. "type": "integer"
  33093. },
  33094. "goodsid": {
  33095. "description": "商品id",
  33096. "type": "integer"
  33097. },
  33098. "marketmaxsub": {
  33099. "description": "市价最大偏移范围 [浮动价 - 点差]",
  33100. "type": "number"
  33101. },
  33102. "orderid": {
  33103. "description": "委托单号",
  33104. "type": "string"
  33105. },
  33106. "orderprice": {
  33107. "description": "委托价格",
  33108. "type": "number"
  33109. },
  33110. "orderqty": {
  33111. "description": "委托数量",
  33112. "type": "integer"
  33113. },
  33114. "pricemode": {
  33115. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  33116. "type": "integer"
  33117. },
  33118. "userid": {
  33119. "description": "用户id",
  33120. "type": "integer"
  33121. },
  33122. "username": {
  33123. "description": "用户名称(已脱敏)",
  33124. "type": "string"
  33125. }
  33126. }
  33127. },
  33128. "models.TjmdTransferApply": {
  33129. "type": "object",
  33130. "properties": {
  33131. "applyid": {
  33132. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  33133. "type": "integer"
  33134. },
  33135. "applystatus": {
  33136. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  33137. "type": "integer"
  33138. },
  33139. "applytime": {
  33140. "description": "申请时间(时间)",
  33141. "type": "string"
  33142. },
  33143. "auditremark": {
  33144. "description": "审核备注(拒绝原因?)",
  33145. "type": "string"
  33146. },
  33147. "begindate": {
  33148. "description": "开始交易日(yyyymmdd)",
  33149. "type": "string"
  33150. },
  33151. "buyorsell": {
  33152. "description": "买卖 - 0:买 1:卖",
  33153. "type": "integer"
  33154. },
  33155. "enddate": {
  33156. "description": "结束交易日(yyyymmdd)",
  33157. "type": "string"
  33158. },
  33159. "goodscode": {
  33160. "description": "商品代码",
  33161. "type": "string"
  33162. },
  33163. "goodsid": {
  33164. "description": "商品ID",
  33165. "type": "integer"
  33166. },
  33167. "goodsname": {
  33168. "description": "商品名称",
  33169. "type": "string"
  33170. },
  33171. "marketid": {
  33172. "description": "市场ID",
  33173. "type": "integer"
  33174. },
  33175. "qty": {
  33176. "description": "转让数量(数量)",
  33177. "type": "number"
  33178. },
  33179. "tradeid": {
  33180. "description": "成交单号(关联持仓)",
  33181. "type": "string"
  33182. },
  33183. "transferamount": {
  33184. "description": "转让总金额(金额)",
  33185. "type": "number"
  33186. },
  33187. "transferprice": {
  33188. "description": "转让价格(协议价格)",
  33189. "type": "number"
  33190. }
  33191. }
  33192. },
  33193. "models.TradeHolderDetail": {
  33194. "type": "object",
  33195. "properties": {
  33196. "accountid": {
  33197. "description": "账号ID",
  33198. "type": "integer"
  33199. },
  33200. "agreeunit": {
  33201. "description": "合约乘数",
  33202. "type": "number"
  33203. },
  33204. "buyorsell": {
  33205. "description": "方向 - 0:买 1:卖",
  33206. "type": "integer"
  33207. },
  33208. "currencyid": {
  33209. "description": "商品币种id",
  33210. "type": "integer"
  33211. },
  33212. "currencyname": {
  33213. "description": "币种名称",
  33214. "type": "string"
  33215. },
  33216. "decimalplace": {
  33217. "description": "商品价格小数位",
  33218. "type": "integer"
  33219. },
  33220. "enumdicname": {
  33221. "description": "商品单位名称",
  33222. "type": "string"
  33223. },
  33224. "expirecycle": {
  33225. "description": "行权周期(天) - 1:滚动行权时填写",
  33226. "type": "integer"
  33227. },
  33228. "expiredate": {
  33229. "description": "行权日(yyyyMMdd) - 到期日",
  33230. "type": "string"
  33231. },
  33232. "expiretype": {
  33233. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33234. "type": "integer"
  33235. },
  33236. "freezeqty": {
  33237. "description": "冻结数量",
  33238. "type": "number"
  33239. },
  33240. "goodscode": {
  33241. "description": "商品代码",
  33242. "type": "string"
  33243. },
  33244. "goodsid": {
  33245. "description": "商品ID",
  33246. "type": "integer"
  33247. },
  33248. "goodsname": {
  33249. "description": "商品名称",
  33250. "type": "string"
  33251. },
  33252. "goodunitid": {
  33253. "description": "商品单位id",
  33254. "type": "integer"
  33255. },
  33256. "holderamount": {
  33257. "description": "持仓金额",
  33258. "type": "number"
  33259. },
  33260. "holdercredit": {
  33261. "description": "持仓授信金额",
  33262. "type": "number"
  33263. },
  33264. "holderdays": {
  33265. "description": "剩余冻结天数",
  33266. "type": "integer"
  33267. },
  33268. "holderprice": {
  33269. "description": "持仓价格",
  33270. "type": "number"
  33271. },
  33272. "holderqty": {
  33273. "description": "持仓数量",
  33274. "type": "number"
  33275. },
  33276. "isconfirmexercise": {
  33277. "description": "是否确认行权- 0:否 1:是",
  33278. "type": "integer"
  33279. },
  33280. "ispreexercise": {
  33281. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33282. "type": "integer"
  33283. },
  33284. "marketid": {
  33285. "description": "市场id",
  33286. "type": "integer"
  33287. },
  33288. "marketname": {
  33289. "description": "市场名称",
  33290. "type": "string"
  33291. },
  33292. "openprice": {
  33293. "description": "建仓价格",
  33294. "type": "number"
  33295. },
  33296. "openqty": {
  33297. "description": "建仓数量",
  33298. "type": "number"
  33299. },
  33300. "optiontype": {
  33301. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33302. "type": "integer"
  33303. },
  33304. "preexerciseprice": {
  33305. "description": "预申报价格",
  33306. "type": "number"
  33307. },
  33308. "premium": {
  33309. "description": "权利金",
  33310. "type": "number"
  33311. },
  33312. "qtydecimalplace": {
  33313. "description": "商品成交量小数位",
  33314. "type": "integer"
  33315. },
  33316. "refgoodscode": {
  33317. "description": "标的合约代码",
  33318. "type": "string"
  33319. },
  33320. "refgoodsid": {
  33321. "description": "标的合约id",
  33322. "type": "integer"
  33323. },
  33324. "releaseamount": {
  33325. "description": "释放持仓金额",
  33326. "type": "number"
  33327. },
  33328. "releaseholdercredit": {
  33329. "description": "释放持仓授信金额",
  33330. "type": "number"
  33331. },
  33332. "taname": {
  33333. "description": "资金账号名称",
  33334. "type": "string"
  33335. },
  33336. "tradeamount": {
  33337. "description": "成交金额",
  33338. "type": "number"
  33339. },
  33340. "tradedate": {
  33341. "description": "交易日(yyyyMMdd)",
  33342. "type": "string"
  33343. },
  33344. "tradeid": {
  33345. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33346. "type": "string"
  33347. },
  33348. "trademode": {
  33349. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33350. "type": "integer"
  33351. },
  33352. "tradeproperty": {
  33353. "description": "交易属性",
  33354. "type": "integer"
  33355. },
  33356. "tradetime": {
  33357. "description": "交易时间",
  33358. "type": "string"
  33359. },
  33360. "userid": {
  33361. "description": "用户id",
  33362. "type": "integer"
  33363. },
  33364. "username": {
  33365. "description": "用户名称",
  33366. "type": "string"
  33367. }
  33368. }
  33369. },
  33370. "models.UserCollectConfig": {
  33371. "type": "object",
  33372. "properties": {
  33373. "accountstatus": {
  33374. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33375. "type": "integer"
  33376. },
  33377. "collectaccountname": {
  33378. "description": "收款人账户名称",
  33379. "type": "string"
  33380. },
  33381. "collectaccountno": {
  33382. "description": "收款人账户",
  33383. "type": "string"
  33384. },
  33385. "collectbankname": {
  33386. "description": "收款人开户行",
  33387. "type": "string"
  33388. },
  33389. "collectbranchbankname": {
  33390. "description": "收款人开户支行",
  33391. "type": "string"
  33392. },
  33393. "collectconfigid": {
  33394. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33395. "type": "string"
  33396. },
  33397. "remark": {
  33398. "description": "备注",
  33399. "type": "string"
  33400. },
  33401. "userid": {
  33402. "description": "收款人用户ID",
  33403. "type": "integer"
  33404. }
  33405. }
  33406. },
  33407. "models.UserReceiveInfo": {
  33408. "type": "object",
  33409. "properties": {
  33410. "address": {
  33411. "description": "提货人详细地址",
  33412. "type": "string"
  33413. },
  33414. "autoid": {
  33415. "description": "AutoID",
  33416. "type": "integer"
  33417. },
  33418. "cardnum": {
  33419. "description": "证件号码(加密存储)",
  33420. "type": "string"
  33421. },
  33422. "cardtypeid": {
  33423. "description": "证件类型",
  33424. "type": "integer"
  33425. },
  33426. "cityid": {
  33427. "description": "市",
  33428. "type": "integer"
  33429. },
  33430. "cityname": {
  33431. "description": "城市名称",
  33432. "type": "string"
  33433. },
  33434. "countryid": {
  33435. "description": "国家",
  33436. "type": "integer"
  33437. },
  33438. "countryname": {
  33439. "description": "国家名称",
  33440. "type": "string"
  33441. },
  33442. "districtid": {
  33443. "description": "地区",
  33444. "type": "integer"
  33445. },
  33446. "districtname": {
  33447. "description": "地区名称",
  33448. "type": "string"
  33449. },
  33450. "hasencrypt": {
  33451. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33452. "type": "integer"
  33453. },
  33454. "isdefault": {
  33455. "description": "是否默认地址 - 0:否 1:是",
  33456. "type": "integer"
  33457. },
  33458. "phonenum": {
  33459. "description": "提货人联系方式(加密存储)",
  33460. "type": "string"
  33461. },
  33462. "provinceid": {
  33463. "description": "省",
  33464. "type": "integer"
  33465. },
  33466. "provincename": {
  33467. "description": "省名称",
  33468. "type": "string"
  33469. },
  33470. "receivername": {
  33471. "description": "提货人姓名",
  33472. "type": "string"
  33473. },
  33474. "takeremark": {
  33475. "description": "提货备注",
  33476. "type": "string"
  33477. },
  33478. "userid": {
  33479. "description": "用户ID",
  33480. "type": "integer"
  33481. }
  33482. }
  33483. },
  33484. "models.Useraccount": {
  33485. "type": "object",
  33486. "required": [
  33487. "userid"
  33488. ],
  33489. "properties": {
  33490. "accountname": {
  33491. "description": "账户名称(机构名称)",
  33492. "type": "string"
  33493. },
  33494. "accountstatus": {
  33495. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33496. "type": "integer"
  33497. },
  33498. "applysrc": {
  33499. "description": "申请来源 - 1:管理端 2:终端",
  33500. "type": "integer"
  33501. },
  33502. "auditremark": {
  33503. "description": "审核备注",
  33504. "type": "string"
  33505. },
  33506. "auditsrc": {
  33507. "description": "审核来源 - 1:管理端 2:终端",
  33508. "type": "integer"
  33509. },
  33510. "audittime": {
  33511. "description": "审核时间",
  33512. "type": "string"
  33513. },
  33514. "audituserid": {
  33515. "description": "审核人",
  33516. "type": "integer"
  33517. },
  33518. "broker": {
  33519. "description": "所属经纪人ID",
  33520. "type": "integer"
  33521. },
  33522. "canceltime": {
  33523. "description": "销户时间",
  33524. "type": "string"
  33525. },
  33526. "canceluserid": {
  33527. "description": "销户人",
  33528. "type": "integer"
  33529. },
  33530. "canrecommend": {
  33531. "description": "是否可推荐 - 0:不可 1;可",
  33532. "type": "integer"
  33533. },
  33534. "createtime": {
  33535. "description": "创建时间",
  33536. "type": "string"
  33537. },
  33538. "creatorid": {
  33539. "description": "创建人",
  33540. "type": "integer"
  33541. },
  33542. "hasauth": {
  33543. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33544. "type": "integer"
  33545. },
  33546. "isanonymous": {
  33547. "description": "是否匿名下单 - 0:否 1:是",
  33548. "type": "integer"
  33549. },
  33550. "maxinvestornum": {
  33551. "description": "最大用户数(经纪会员下投资者个数)",
  33552. "type": "integer"
  33553. },
  33554. "memberuserid": {
  33555. "description": "所属会员ID",
  33556. "type": "integer"
  33557. },
  33558. "modifierid": {
  33559. "description": "修改人",
  33560. "type": "integer"
  33561. },
  33562. "modifyremark": {
  33563. "description": "变更备注",
  33564. "type": "string"
  33565. },
  33566. "modifystatus": {
  33567. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33568. "type": "integer"
  33569. },
  33570. "modifytime": {
  33571. "description": "修改时间",
  33572. "type": "string"
  33573. },
  33574. "parenttopuser": {
  33575. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33576. "type": "string"
  33577. },
  33578. "parentuserid": {
  33579. "description": "所属机构ID",
  33580. "type": "integer"
  33581. },
  33582. "reckonaccountid": {
  33583. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33584. "type": "integer"
  33585. },
  33586. "refercount": {
  33587. "description": "推荐总人数",
  33588. "type": "integer"
  33589. },
  33590. "refereeuserid": {
  33591. "description": "推荐人ID",
  33592. "type": "integer"
  33593. },
  33594. "refernum": {
  33595. "description": "推荐码",
  33596. "type": "string"
  33597. },
  33598. "rootuserid": {
  33599. "description": "根用户ID",
  33600. "type": "integer"
  33601. },
  33602. "subaccountlevel": {
  33603. "description": "子账户层数",
  33604. "type": "integer"
  33605. },
  33606. "subarealevelpath": {
  33607. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33608. "type": "string"
  33609. },
  33610. "userid": {
  33611. "description": "用户ID",
  33612. "type": "integer"
  33613. },
  33614. "usertype": {
  33615. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33616. "type": "integer"
  33617. }
  33618. }
  33619. },
  33620. "models.Userfavoritegoods": {
  33621. "type": "object",
  33622. "required": [
  33623. "goodsid"
  33624. ],
  33625. "properties": {
  33626. "goodsid": {
  33627. "description": "商品ID",
  33628. "type": "integer"
  33629. }
  33630. }
  33631. },
  33632. "models.Userinfo": {
  33633. "type": "object",
  33634. "required": [
  33635. "userid"
  33636. ],
  33637. "properties": {
  33638. "address": {
  33639. "description": "地址",
  33640. "type": "string"
  33641. },
  33642. "attachment1": {
  33643. "description": "附件1",
  33644. "type": "string"
  33645. },
  33646. "attachment2": {
  33647. "description": "附件2",
  33648. "type": "string"
  33649. },
  33650. "bankaccount": {
  33651. "description": "银行帐号 (加密存储)",
  33652. "type": "string"
  33653. },
  33654. "bankaccountname": {
  33655. "description": "收款人名称",
  33656. "type": "string"
  33657. },
  33658. "bankcardfrontphotourl": {
  33659. "description": "银行卡正面照地址",
  33660. "type": "string"
  33661. },
  33662. "bankid": {
  33663. "description": "银行编码",
  33664. "type": "string"
  33665. },
  33666. "bankname": {
  33667. "description": "银行名称",
  33668. "type": "string"
  33669. },
  33670. "biznature": {
  33671. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33672. "type": "integer"
  33673. },
  33674. "bizscope": {
  33675. "description": "企业经营范围(企业)",
  33676. "type": "string"
  33677. },
  33678. "cardbackphotourl": {
  33679. "description": "证件背面图片地址",
  33680. "type": "string"
  33681. },
  33682. "cardfrontphotourl": {
  33683. "description": "证件正面图片地址",
  33684. "type": "string"
  33685. },
  33686. "cardnum": {
  33687. "description": "证件号码(加密存储)",
  33688. "type": "string"
  33689. },
  33690. "cardtypeid": {
  33691. "description": "证件类型ID",
  33692. "type": "integer"
  33693. },
  33694. "cityid": {
  33695. "description": "市",
  33696. "type": "integer"
  33697. },
  33698. "company": {
  33699. "description": "公司(个人)",
  33700. "type": "string"
  33701. },
  33702. "contactname": {
  33703. "description": "联系人",
  33704. "type": "string"
  33705. },
  33706. "countryid": {
  33707. "description": "国家",
  33708. "type": "integer"
  33709. },
  33710. "createtime": {
  33711. "description": "创建时间",
  33712. "type": "string"
  33713. },
  33714. "creatorid": {
  33715. "description": "创建人",
  33716. "type": "integer"
  33717. },
  33718. "customername": {
  33719. "description": "客户名称(企业名称)",
  33720. "type": "string"
  33721. },
  33722. "districtid": {
  33723. "description": "地区",
  33724. "type": "integer"
  33725. },
  33726. "email": {
  33727. "description": "邮件(加密存储)",
  33728. "type": "string"
  33729. },
  33730. "fax": {
  33731. "description": "传真(加密存储)",
  33732. "type": "string"
  33733. },
  33734. "halfbodyphotourl": {
  33735. "description": "半身照地址",
  33736. "type": "string"
  33737. },
  33738. "hasencrypt": {
  33739. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33740. "type": "integer"
  33741. },
  33742. "headurl": {
  33743. "description": "头像地址",
  33744. "type": "string"
  33745. },
  33746. "legalcardbackphotourl": {
  33747. "description": "法人身份证背面照地址",
  33748. "type": "string"
  33749. },
  33750. "legalcardfrontphotourl": {
  33751. "description": "法人身份证正面照地址",
  33752. "type": "string"
  33753. },
  33754. "legalpersonname": {
  33755. "description": "法人姓名(企业)",
  33756. "type": "string"
  33757. },
  33758. "mobile": {
  33759. "description": "手机号码(加密存储)",
  33760. "type": "string"
  33761. },
  33762. "mobile2": {
  33763. "description": "手机号码[明文-尚志]",
  33764. "type": "string"
  33765. },
  33766. "modifierid": {
  33767. "description": "修改人",
  33768. "type": "integer"
  33769. },
  33770. "modifiertime": {
  33771. "description": "修改时间",
  33772. "type": "string"
  33773. },
  33774. "needinvoice": {
  33775. "description": "是否需要发票 - 0:不需要 1:需要",
  33776. "type": "integer"
  33777. },
  33778. "nickname": {
  33779. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33780. "type": "string"
  33781. },
  33782. "openmode": {
  33783. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33784. "type": "integer"
  33785. },
  33786. "otherurl": {
  33787. "description": "其它图片地址[使用分号分隔]",
  33788. "type": "string"
  33789. },
  33790. "postalcode": {
  33791. "description": "邮政编码",
  33792. "type": "string"
  33793. },
  33794. "provinceid": {
  33795. "description": "省",
  33796. "type": "integer"
  33797. },
  33798. "qq": {
  33799. "description": "QQ(加密存储",
  33800. "type": "string"
  33801. },
  33802. "remark": {
  33803. "description": "备注",
  33804. "type": "string"
  33805. },
  33806. "sex": {
  33807. "description": "用户性别 0: 女 1: 男",
  33808. "type": "integer"
  33809. },
  33810. "signpdfurl": {
  33811. "description": "签约pdf文件",
  33812. "type": "string"
  33813. },
  33814. "telphone": {
  33815. "description": "联系电话(加密存储)",
  33816. "type": "string"
  33817. },
  33818. "userid": {
  33819. "description": "用户ID",
  33820. "type": "integer"
  33821. },
  33822. "userinfotype": {
  33823. "description": "用户信息类型 - 1:个人 2:企业",
  33824. "type": "integer"
  33825. },
  33826. "userstatus": {
  33827. "description": "用户状态 - 1:正常 2:注销",
  33828. "type": "integer"
  33829. },
  33830. "usertype": {
  33831. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33832. "type": "integer"
  33833. },
  33834. "wechat": {
  33835. "description": "微信(加密存储)",
  33836. "type": "string"
  33837. },
  33838. "wskhinfo": {
  33839. "description": "开户申请信息(JSON)",
  33840. "type": "string"
  33841. }
  33842. }
  33843. },
  33844. "models.WRSConverTDetail": {
  33845. "type": "object",
  33846. "properties": {
  33847. "convertratio": {
  33848. "description": "套保系数",
  33849. "type": "number"
  33850. },
  33851. "deliverygoodscode": {
  33852. "description": "现货商品代码",
  33853. "type": "string"
  33854. },
  33855. "deliverygoodsid": {
  33856. "description": "现货品种ID",
  33857. "type": "integer"
  33858. },
  33859. "deliverygoodsname": {
  33860. "description": "现货商品名称",
  33861. "type": "string"
  33862. },
  33863. "enumdicname": {
  33864. "description": "单位名称",
  33865. "type": "string"
  33866. },
  33867. "goodsunitid": {
  33868. "description": "套保品种单位id",
  33869. "type": "integer"
  33870. },
  33871. "middlegoodscode": {
  33872. "description": "套保品种代码",
  33873. "type": "string"
  33874. },
  33875. "middlegoodsid": {
  33876. "description": "套保品种ID",
  33877. "type": "integer"
  33878. },
  33879. "middlegoodsname": {
  33880. "description": "套保品种名称",
  33881. "type": "string"
  33882. },
  33883. "modifytime": {
  33884. "description": "修改时间",
  33885. "type": "string"
  33886. },
  33887. "wrstandardid": {
  33888. "description": "品类ID",
  33889. "type": "integer"
  33890. }
  33891. }
  33892. },
  33893. "models.WRStandardInfo": {
  33894. "type": "object",
  33895. "required": [
  33896. "wrstandardid"
  33897. ],
  33898. "properties": {
  33899. "areauserid": {
  33900. "description": "所属机构",
  33901. "type": "integer"
  33902. },
  33903. "convertfactor": {
  33904. "description": "标仓系数",
  33905. "type": "number"
  33906. },
  33907. "createtime": {
  33908. "description": "创建时间",
  33909. "type": "string"
  33910. },
  33911. "creatorid": {
  33912. "description": "创建人",
  33913. "type": "integer"
  33914. },
  33915. "deliverygoodsid": {
  33916. "description": "品种ID",
  33917. "type": "integer"
  33918. },
  33919. "deliverygoodsname": {
  33920. "description": "交割商品名称",
  33921. "type": "string"
  33922. },
  33923. "factoryitemjson": {
  33924. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33925. "type": "string"
  33926. },
  33927. "isvalid": {
  33928. "description": "是否有效 - 0:无效 1:有效",
  33929. "type": "integer"
  33930. },
  33931. "minivalue": {
  33932. "description": "最小变动值",
  33933. "type": "integer"
  33934. },
  33935. "minivaluedp": {
  33936. "description": "最小变动值小数位",
  33937. "type": "integer"
  33938. },
  33939. "realminivalue": {
  33940. "description": "实际最小变动值",
  33941. "type": "integer"
  33942. },
  33943. "realminivaluedp": {
  33944. "description": "实际最小变动值小数位",
  33945. "type": "integer"
  33946. },
  33947. "remark": {
  33948. "description": "备注",
  33949. "type": "string"
  33950. },
  33951. "unitid": {
  33952. "description": "单位ID",
  33953. "type": "integer"
  33954. },
  33955. "unitname": {
  33956. "description": "单位",
  33957. "type": "string"
  33958. },
  33959. "updatetime": {
  33960. "description": "更新时间",
  33961. "type": "string"
  33962. },
  33963. "updatorid": {
  33964. "description": "更新人",
  33965. "type": "integer"
  33966. },
  33967. "wrsstatus": {
  33968. "description": "状态 - 作废 - 0:未激活 1:正常",
  33969. "type": "integer"
  33970. },
  33971. "wrstandardcode": {
  33972. "description": "现货品类代码",
  33973. "type": "string"
  33974. },
  33975. "wrstandardid": {
  33976. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33977. "type": "integer"
  33978. },
  33979. "wrstandardname": {
  33980. "description": "现货品类名称",
  33981. "type": "string"
  33982. }
  33983. }
  33984. },
  33985. "models.WRTradeBargainApply": {
  33986. "type": "object",
  33987. "properties": {
  33988. "accountid": {
  33989. "description": "摘牌资金账号",
  33990. "type": "integer"
  33991. },
  33992. "applyprice": {
  33993. "description": "申请价格(议价价格)",
  33994. "type": "string"
  33995. },
  33996. "applyqty": {
  33997. "description": "摘牌数量(议价数量)",
  33998. "type": "number"
  33999. },
  34000. "applyremark": {
  34001. "description": "申请备注",
  34002. "type": "string"
  34003. },
  34004. "applystatus": {
  34005. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34006. "type": "integer"
  34007. },
  34008. "applytime": {
  34009. "description": "申请时间(议价时间)",
  34010. "type": "string"
  34011. },
  34012. "begindate": {
  34013. "description": "开始交易日(yyyymmdd)",
  34014. "type": "string"
  34015. },
  34016. "buyorsell": {
  34017. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34018. "type": "integer"
  34019. },
  34020. "confirmremark": {
  34021. "description": "确认备注",
  34022. "type": "string"
  34023. },
  34024. "confirmtime": {
  34025. "description": "确认时间",
  34026. "type": "string"
  34027. },
  34028. "confirmuserid": {
  34029. "description": "确认人",
  34030. "type": "integer"
  34031. },
  34032. "deliverygoodscode": {
  34033. "description": "品种代码",
  34034. "type": "string"
  34035. },
  34036. "deliverygoodsid": {
  34037. "description": "品种ID",
  34038. "type": "integer"
  34039. },
  34040. "deliverygoodsname": {
  34041. "description": "品种名称",
  34042. "type": "string"
  34043. },
  34044. "deliverymonth": {
  34045. "description": "交收月",
  34046. "type": "string"
  34047. },
  34048. "enddate": {
  34049. "description": "结束交易日(yyyymmdd)",
  34050. "type": "string"
  34051. },
  34052. "enumdicname": {
  34053. "description": "单位名称",
  34054. "type": "string"
  34055. },
  34056. "fixedprice": {
  34057. "description": "挂牌价格",
  34058. "type": "number"
  34059. },
  34060. "handlestatus": {
  34061. "description": "处理状态",
  34062. "type": "integer"
  34063. },
  34064. "marginvalue": {
  34065. "description": "履约保证金比例",
  34066. "type": "number"
  34067. },
  34068. "marketid": {
  34069. "description": "市场ID",
  34070. "type": "integer"
  34071. },
  34072. "matchaccountid": {
  34073. "description": "挂牌方资金账号",
  34074. "type": "integer"
  34075. },
  34076. "matchuserid": {
  34077. "description": "挂牌方用户id",
  34078. "type": "integer"
  34079. },
  34080. "matchusername": {
  34081. "description": "挂牌方用户名称(已脱敏)",
  34082. "type": "string"
  34083. },
  34084. "minivalue": {
  34085. "description": "现货商品最小变动值",
  34086. "type": "integer"
  34087. },
  34088. "optioncompare": {
  34089. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34090. "type": "string"
  34091. },
  34092. "orderqty": {
  34093. "description": "挂牌数量",
  34094. "type": "integer"
  34095. },
  34096. "refprice": {
  34097. "description": "参考价格",
  34098. "type": "string"
  34099. },
  34100. "retcode": {
  34101. "description": "委托返回代码",
  34102. "type": "integer"
  34103. },
  34104. "templatename": {
  34105. "description": "履约方式(履约模板名称)",
  34106. "type": "string"
  34107. },
  34108. "tradedate": {
  34109. "description": "交易日(yyyyMMdd)",
  34110. "type": "string"
  34111. },
  34112. "userid": {
  34113. "description": "摘牌人用户ID(议价人ID)",
  34114. "type": "integer"
  34115. },
  34116. "username": {
  34117. "description": "议价人名字(已脱敏)",
  34118. "type": "string"
  34119. },
  34120. "validtime": {
  34121. "description": "有效期限",
  34122. "type": "string"
  34123. },
  34124. "warehouseid": {
  34125. "description": "仓库ID",
  34126. "type": "integer"
  34127. },
  34128. "warehousename": {
  34129. "description": "仓库名称",
  34130. "type": "string"
  34131. },
  34132. "wrbargainid": {
  34133. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  34134. "type": "string"
  34135. },
  34136. "wrfactortypeid": {
  34137. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34138. "type": "string"
  34139. },
  34140. "wrfactortypename": {
  34141. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34142. "type": "string"
  34143. },
  34144. "wrstandardcode": {
  34145. "description": "现货商品代码",
  34146. "type": "string"
  34147. },
  34148. "wrstandardid": {
  34149. "description": "现货商品ID",
  34150. "type": "integer"
  34151. },
  34152. "wrstandardname": {
  34153. "description": "商品名称",
  34154. "type": "string"
  34155. },
  34156. "wrtradeorderid": {
  34157. "description": "关联委托单ID",
  34158. "type": "string"
  34159. },
  34160. "wrtypename": {
  34161. "description": "商品",
  34162. "type": "string"
  34163. }
  34164. }
  34165. },
  34166. "models.Warehouseinfo": {
  34167. "type": "object",
  34168. "required": [
  34169. "autoid",
  34170. "warehousecode"
  34171. ],
  34172. "properties": {
  34173. "address": {
  34174. "description": "详细地址",
  34175. "type": "string"
  34176. },
  34177. "areauserid": {
  34178. "description": "所属机构",
  34179. "type": "integer"
  34180. },
  34181. "autoid": {
  34182. "description": "自增ID",
  34183. "type": "integer"
  34184. },
  34185. "cityid": {
  34186. "description": "市",
  34187. "type": "integer"
  34188. },
  34189. "contactname": {
  34190. "description": "联系人",
  34191. "type": "string"
  34192. },
  34193. "contactnum": {
  34194. "description": "联系电话",
  34195. "type": "string"
  34196. },
  34197. "countryid": {
  34198. "description": "国家",
  34199. "type": "integer"
  34200. },
  34201. "createtime": {
  34202. "description": "创建时间",
  34203. "type": "string"
  34204. },
  34205. "districtid": {
  34206. "description": "区",
  34207. "type": "integer"
  34208. },
  34209. "hasvideo": {
  34210. "description": "是否有视频 - 0:无 1:有",
  34211. "type": "integer"
  34212. },
  34213. "provinceid": {
  34214. "description": "省",
  34215. "type": "integer"
  34216. },
  34217. "remark": {
  34218. "description": "审核备注",
  34219. "type": "string"
  34220. },
  34221. "videourl": {
  34222. "description": "视频地址",
  34223. "type": "string"
  34224. },
  34225. "warehousecode": {
  34226. "description": "仓库代码",
  34227. "type": "string"
  34228. },
  34229. "warehousename": {
  34230. "description": "仓库名称",
  34231. "type": "string"
  34232. },
  34233. "warehousestatus": {
  34234. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34235. "type": "integer"
  34236. },
  34237. "warehousetype": {
  34238. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34239. "type": "integer"
  34240. }
  34241. }
  34242. },
  34243. "models.WrAverageTradePrice": {
  34244. "type": "object",
  34245. "properties": {
  34246. "averageprice": {
  34247. "description": "成交均价",
  34248. "type": "number"
  34249. },
  34250. "tradedate": {
  34251. "description": "交易日yyyymm",
  34252. "type": "string"
  34253. }
  34254. }
  34255. },
  34256. "models.WrBsGoodsInfo": {
  34257. "type": "object",
  34258. "properties": {
  34259. "buyorsell": {
  34260. "description": "买卖方向 0-买 1-卖",
  34261. "type": "integer"
  34262. },
  34263. "goodsid": {
  34264. "description": "交易合约ID",
  34265. "type": "integer"
  34266. },
  34267. "lstitem": {
  34268. "description": "商品信息项",
  34269. "type": "array",
  34270. "items": {
  34271. "$ref": "#/definitions/models.WrTypeItem"
  34272. }
  34273. },
  34274. "lststep": {
  34275. "description": "履约规则",
  34276. "type": "array",
  34277. "items": {
  34278. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34279. }
  34280. }
  34281. }
  34282. },
  34283. "models.WrBuybackDetail": {
  34284. "type": "object",
  34285. "properties": {
  34286. "buybackamount": {
  34287. "description": "回购金额",
  34288. "type": "number"
  34289. },
  34290. "buybackqty": {
  34291. "description": "回购数量",
  34292. "type": "number"
  34293. },
  34294. "buybackreleasemargin": {
  34295. "description": "回购释放保证金",
  34296. "type": "number"
  34297. },
  34298. "buybacktime": {
  34299. "description": "回购时间",
  34300. "type": "string"
  34301. },
  34302. "errordesc": {
  34303. "description": "错误描述",
  34304. "type": "string"
  34305. },
  34306. "handlestatus": {
  34307. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34308. "type": "integer"
  34309. },
  34310. "relatedwrid": {
  34311. "description": "关联仓单ID",
  34312. "type": "integer"
  34313. },
  34314. "scfcontractid": {
  34315. "description": "SCF合同ID",
  34316. "type": "string"
  34317. },
  34318. "scfwrbuybackid": {
  34319. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34320. "type": "integer"
  34321. },
  34322. "tradedate": {
  34323. "description": "交易日(yyyyMMdd)",
  34324. "type": "string"
  34325. }
  34326. }
  34327. },
  34328. "models.WrDeliveryAvalidHoldLB": {
  34329. "type": "object",
  34330. "properties": {
  34331. "accountid": {
  34332. "description": "资金账号",
  34333. "type": "integer"
  34334. },
  34335. "avalidqty": {
  34336. "description": "数量(可点选数量)",
  34337. "type": "number"
  34338. },
  34339. "deliverygoodsid": {
  34340. "description": "品种id",
  34341. "type": "integer"
  34342. },
  34343. "enumdicname": {
  34344. "description": "单位名称",
  34345. "type": "string"
  34346. },
  34347. "goodsid": {
  34348. "description": "x合约商品id",
  34349. "type": "integer"
  34350. },
  34351. "ladingbillid": {
  34352. "description": "提单id",
  34353. "type": "string"
  34354. },
  34355. "pgoodscode": {
  34356. "description": "p商品代码(点价合约)",
  34357. "type": "string"
  34358. },
  34359. "pgoodsid": {
  34360. "description": "p商品id(点价合约)",
  34361. "type": "integer"
  34362. },
  34363. "pgoodsname": {
  34364. "description": "p商品名称(点价合约)",
  34365. "type": "string"
  34366. },
  34367. "pricemove": {
  34368. "description": "升贴水",
  34369. "type": "number"
  34370. },
  34371. "subnum": {
  34372. "description": "提单子id",
  34373. "type": "integer"
  34374. },
  34375. "userid": {
  34376. "description": "用户id",
  34377. "type": "integer"
  34378. },
  34379. "username": {
  34380. "description": "仓单持有人",
  34381. "type": "string"
  34382. },
  34383. "warehousecode": {
  34384. "description": "仓库代码",
  34385. "type": "string"
  34386. },
  34387. "warehouseid": {
  34388. "description": "仓库id",
  34389. "type": "integer"
  34390. },
  34391. "warehousename": {
  34392. "description": "仓库名称",
  34393. "type": "string"
  34394. },
  34395. "wrfactortypeid": {
  34396. "description": "仓单要素id",
  34397. "type": "string"
  34398. },
  34399. "wrstandardcode": {
  34400. "description": "品代码",
  34401. "type": "string"
  34402. },
  34403. "wrstandardid": {
  34404. "description": "品类d",
  34405. "type": "integer"
  34406. },
  34407. "wrstandardname": {
  34408. "description": "品类名称",
  34409. "type": "string"
  34410. },
  34411. "wrtypename": {
  34412. "description": "商品",
  34413. "type": "string"
  34414. },
  34415. "xgoodscode": {
  34416. "description": "x合约代码",
  34417. "type": "string"
  34418. },
  34419. "xgoodsname": {
  34420. "description": "x合约名称",
  34421. "type": "string"
  34422. }
  34423. }
  34424. },
  34425. "models.WrDeliveryDetail": {
  34426. "type": "object",
  34427. "properties": {
  34428. "accountid": {
  34429. "description": "账号ID",
  34430. "type": "integer"
  34431. },
  34432. "averageprice": {
  34433. "description": "交割均价 = 交割金额 / 交割数量",
  34434. "type": "number"
  34435. },
  34436. "begindate": {
  34437. "description": "开始交易日(yyyymmdd)",
  34438. "type": "string"
  34439. },
  34440. "buyorsell": {
  34441. "description": "方向 - 0:买 1:卖",
  34442. "type": "integer"
  34443. },
  34444. "deliveryamount": {
  34445. "description": "货款金额(X总货款+P总货款)",
  34446. "type": "number"
  34447. },
  34448. "deliveryid": {
  34449. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34450. "type": "string"
  34451. },
  34452. "deliveryorderid": {
  34453. "description": "申报单号",
  34454. "type": "string"
  34455. },
  34456. "deliverypricemove": {
  34457. "description": "升贴水(升贴水总额)",
  34458. "type": "number"
  34459. },
  34460. "deliveryqty": {
  34461. "description": "交收数量(点选数量)",
  34462. "type": "number"
  34463. },
  34464. "deliverystatus": {
  34465. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34466. "type": "integer"
  34467. },
  34468. "deliverytime": {
  34469. "description": "交割时间",
  34470. "type": "string"
  34471. },
  34472. "deliverytotalamount": {
  34473. "description": "交收金额",
  34474. "type": "number"
  34475. },
  34476. "enddate": {
  34477. "description": "结束交易日(yyyymmdd)",
  34478. "type": "string"
  34479. },
  34480. "enumdicname": {
  34481. "description": "单位名称",
  34482. "type": "string"
  34483. },
  34484. "matchaccountid": {
  34485. "description": "对手账号ID",
  34486. "type": "integer"
  34487. },
  34488. "matchusername": {
  34489. "description": "对手方名称(仓单持有人)",
  34490. "type": "string"
  34491. },
  34492. "p1goodsremainamount": {
  34493. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34494. "type": "number"
  34495. },
  34496. "pdeliverycloseqty": {
  34497. "description": "p合约平仓数量",
  34498. "type": "number"
  34499. },
  34500. "pdeliveryprice": {
  34501. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34502. "type": "number"
  34503. },
  34504. "pgoodscode": {
  34505. "description": "商品代码",
  34506. "type": "string"
  34507. },
  34508. "pgoodsid": {
  34509. "description": "p点选合约id",
  34510. "type": "integer"
  34511. },
  34512. "pgoodsname": {
  34513. "description": "商品名称",
  34514. "type": "string"
  34515. },
  34516. "ppricemode": {
  34517. "description": "点价价格方式 - 1:商品价 2:固定值",
  34518. "type": "integer"
  34519. },
  34520. "tradedate": {
  34521. "description": "交易日(yyyymmdd)",
  34522. "type": "string"
  34523. },
  34524. "userid": {
  34525. "description": "用户id",
  34526. "type": "integer"
  34527. },
  34528. "username": {
  34529. "description": "用户名称",
  34530. "type": "string"
  34531. },
  34532. "warehousename": {
  34533. "description": "仓库名称",
  34534. "type": "string"
  34535. },
  34536. "wrfactortypeid": {
  34537. "description": "仓单要素类型ID",
  34538. "type": "string"
  34539. },
  34540. "wrtypename": {
  34541. "description": "商品",
  34542. "type": "string"
  34543. },
  34544. "xdeliverycloseqty": {
  34545. "description": "合约数量",
  34546. "type": "number"
  34547. },
  34548. "xgoodsamount": {
  34549. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34550. "type": "number"
  34551. },
  34552. "xgoodscode": {
  34553. "description": "商品代码",
  34554. "type": "string"
  34555. },
  34556. "xgoodsid": {
  34557. "description": "x交易合约ID",
  34558. "type": "integer"
  34559. },
  34560. "xgoodsname": {
  34561. "description": "商品名称",
  34562. "type": "string"
  34563. }
  34564. }
  34565. },
  34566. "models.WrDeliveryGoodsSection": {
  34567. "type": "object",
  34568. "properties": {
  34569. "dglst": {
  34570. "description": "板块商品列表",
  34571. "type": "array",
  34572. "items": {
  34573. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34574. }
  34575. },
  34576. "imagepath": {
  34577. "description": "图片地址",
  34578. "type": "string"
  34579. },
  34580. "orderindex": {
  34581. "description": "排序",
  34582. "type": "integer"
  34583. },
  34584. "sectionid": {
  34585. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34586. "type": "integer"
  34587. },
  34588. "sectionname": {
  34589. "description": "版块名称",
  34590. "type": "string"
  34591. },
  34592. "sectiontype": {
  34593. "description": "版块类型 - 1:指数版块 2:普通版块",
  34594. "type": "integer"
  34595. }
  34596. }
  34597. },
  34598. "models.WrDeliveryGoodsSectionConfig": {
  34599. "type": "object",
  34600. "properties": {
  34601. "deliverygoodscode": {
  34602. "description": "现货商品代码",
  34603. "type": "string"
  34604. },
  34605. "deliverygoodsid": {
  34606. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34607. "type": "integer"
  34608. },
  34609. "deliverygoodsname": {
  34610. "description": "现货商品名称",
  34611. "type": "string"
  34612. },
  34613. "orderindex": {
  34614. "description": "排序",
  34615. "type": "integer"
  34616. }
  34617. }
  34618. },
  34619. "models.WrFAProductDetail": {
  34620. "type": "object",
  34621. "properties": {
  34622. "accountid": {
  34623. "description": "资金账号",
  34624. "type": "integer"
  34625. },
  34626. "areauserid": {
  34627. "description": "金融机构ID",
  34628. "type": "integer"
  34629. },
  34630. "financingdays": {
  34631. "description": "天数(天)",
  34632. "type": "integer"
  34633. },
  34634. "interestminlen": {
  34635. "description": "最小起息天数",
  34636. "type": "integer"
  34637. },
  34638. "interestrate": {
  34639. "description": "利率",
  34640. "type": "number"
  34641. },
  34642. "interestratemode": {
  34643. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34644. "type": "integer"
  34645. },
  34646. "interestsettlemode": {
  34647. "description": "结息方式 - 1:按日结息 3:按月结息",
  34648. "type": "integer"
  34649. },
  34650. "interestsettlevalue": {
  34651. "description": "结息方式值",
  34652. "type": "integer"
  34653. },
  34654. "isautoloan": {
  34655. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34656. "type": "integer"
  34657. },
  34658. "loantag": {
  34659. "description": "放款标识: \"放款快\" 或者为空",
  34660. "type": "string"
  34661. },
  34662. "marginratio": {
  34663. "description": "保证金比率质押率 - [仓单质押]",
  34664. "type": "number"
  34665. },
  34666. "productdetailid": {
  34667. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34668. "type": "integer"
  34669. },
  34670. "productid": {
  34671. "description": "金融产品ID",
  34672. "type": "integer"
  34673. },
  34674. "productname": {
  34675. "description": "产品名称",
  34676. "type": "string"
  34677. },
  34678. "updatetime": {
  34679. "description": "更新时间",
  34680. "type": "string"
  34681. },
  34682. "username": {
  34683. "description": "融出方",
  34684. "type": "string"
  34685. }
  34686. }
  34687. },
  34688. "models.WrFactorTypeInfo": {
  34689. "type": "object",
  34690. "properties": {
  34691. "deliverygoodscode": {
  34692. "description": "品种代码",
  34693. "type": "string"
  34694. },
  34695. "deliverygoodsname": {
  34696. "description": "品种名称",
  34697. "type": "string"
  34698. },
  34699. "dgfactoryitemid": {
  34700. "description": "选择项id",
  34701. "type": "integer"
  34702. },
  34703. "dgfactoryitemtypeid": {
  34704. "description": "要素选择项ID (1-仓库 2-品牌)",
  34705. "type": "integer"
  34706. },
  34707. "dgfactoryitemvalue": {
  34708. "description": "要素项值",
  34709. "type": "string"
  34710. },
  34711. "itemtypename": {
  34712. "description": "要素项名称",
  34713. "type": "string"
  34714. },
  34715. "optioncompare": {
  34716. "description": "选择比较串",
  34717. "type": "string"
  34718. },
  34719. "warehouseid": {
  34720. "description": "仓库id",
  34721. "type": "integer"
  34722. },
  34723. "wrfactortypeid": {
  34724. "description": "仓单要素ID",
  34725. "type": "string"
  34726. },
  34727. "wrfactortypename": {
  34728. "description": "要素名称",
  34729. "type": "string"
  34730. },
  34731. "wrfactortypename2": {
  34732. "description": "要素名称(不含仓库)",
  34733. "type": "string"
  34734. },
  34735. "wrstandardcode": {
  34736. "description": "品类代码",
  34737. "type": "string"
  34738. },
  34739. "wrstandardid": {
  34740. "description": "品类id",
  34741. "type": "integer"
  34742. },
  34743. "wrstandardname": {
  34744. "description": "品类名称",
  34745. "type": "string"
  34746. }
  34747. }
  34748. },
  34749. "models.WrFilterItem": {
  34750. "type": "object",
  34751. "properties": {
  34752. "itemcode": {
  34753. "description": "代码",
  34754. "type": "string"
  34755. },
  34756. "itemid": {
  34757. "description": "项id",
  34758. "type": "integer"
  34759. },
  34760. "itemname": {
  34761. "description": "名称",
  34762. "type": "string"
  34763. },
  34764. "itemtype": {
  34765. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34766. "type": "integer"
  34767. }
  34768. }
  34769. },
  34770. "models.WrFinanceBuyApply": {
  34771. "type": "object",
  34772. "properties": {
  34773. "applydate": {
  34774. "description": "申请时间",
  34775. "type": "string"
  34776. },
  34777. "applystatus": {
  34778. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34779. "type": "integer"
  34780. },
  34781. "applyuserid": {
  34782. "description": "申请人",
  34783. "type": "integer"
  34784. },
  34785. "auditdate": {
  34786. "description": "审核时间",
  34787. "type": "string"
  34788. },
  34789. "auditremark": {
  34790. "description": "审核备注",
  34791. "type": "string"
  34792. },
  34793. "audituserid": {
  34794. "description": "审核人",
  34795. "type": "integer"
  34796. },
  34797. "buyaccountid": {
  34798. "description": "买方资金账号",
  34799. "type": "integer"
  34800. },
  34801. "buyorsell": {
  34802. "description": "买卖 - 0:买 1:卖",
  34803. "type": "integer"
  34804. },
  34805. "buyuserid": {
  34806. "description": "买方用户ID",
  34807. "type": "integer"
  34808. },
  34809. "buyusername": {
  34810. "description": "买方名称",
  34811. "type": "string"
  34812. },
  34813. "buywrtradeorderid": {
  34814. "description": "融资方买委托单ID",
  34815. "type": "string"
  34816. },
  34817. "deliverygoodscode": {
  34818. "description": "品种代码",
  34819. "type": "string"
  34820. },
  34821. "deliverygoodsid": {
  34822. "description": "品种ID",
  34823. "type": "integer"
  34824. },
  34825. "deliverygoodsname": {
  34826. "description": "品种名称",
  34827. "type": "string"
  34828. },
  34829. "deliverymonth": {
  34830. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34831. "type": "string"
  34832. },
  34833. "enumdicname": {
  34834. "description": "单位名称",
  34835. "type": "string"
  34836. },
  34837. "financeaccountid": {
  34838. "description": "融资方资金帐户ID",
  34839. "type": "integer"
  34840. },
  34841. "financeapplyid": {
  34842. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34843. "type": "string"
  34844. },
  34845. "financeareauserid": {
  34846. "description": "融资方用户ID",
  34847. "type": "string"
  34848. },
  34849. "financename": {
  34850. "description": "融出方名称",
  34851. "type": "string"
  34852. },
  34853. "financetype": {
  34854. "description": "融资类型 1-融资回购",
  34855. "type": "integer"
  34856. },
  34857. "financingdays": {
  34858. "description": "天数(天)",
  34859. "type": "integer"
  34860. },
  34861. "freezebuymargin": {
  34862. "description": "冻结融资保证金(买方)",
  34863. "type": "number"
  34864. },
  34865. "handleremark": {
  34866. "description": "处理备注",
  34867. "type": "string"
  34868. },
  34869. "handlestatus": {
  34870. "description": "处理状态",
  34871. "type": "integer"
  34872. },
  34873. "interestminlen": {
  34874. "description": "最小起息天数",
  34875. "type": "integer"
  34876. },
  34877. "interestrate": {
  34878. "description": "利率",
  34879. "type": "number"
  34880. },
  34881. "interestratemode": {
  34882. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34883. "type": "integer"
  34884. },
  34885. "interestsettlemode": {
  34886. "description": "结息方式 - 1:按日结息 3:按月结息",
  34887. "type": "integer"
  34888. },
  34889. "interestsettlevalue": {
  34890. "description": "结息方式值",
  34891. "type": "integer"
  34892. },
  34893. "isautoloan": {
  34894. "description": "是否自动放款 - 0:手动 1:自动",
  34895. "type": "integer"
  34896. },
  34897. "marginratio": {
  34898. "description": "保证金比率质押率 - [仓单质押]",
  34899. "type": "number"
  34900. },
  34901. "marketid": {
  34902. "description": "市场ID",
  34903. "type": "integer"
  34904. },
  34905. "minivalue": {
  34906. "description": "现货商品最小变动值",
  34907. "type": "integer"
  34908. },
  34909. "optioncompare": {
  34910. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34911. "type": "string"
  34912. },
  34913. "orderqty": {
  34914. "description": "委托数量(商品数量)",
  34915. "type": "number"
  34916. },
  34917. "productdetailid": {
  34918. "description": "产品组合ID",
  34919. "type": "integer"
  34920. },
  34921. "productid": {
  34922. "description": "金融产品ID",
  34923. "type": "integer"
  34924. },
  34925. "productname": {
  34926. "description": "产品名称",
  34927. "type": "string"
  34928. },
  34929. "remark": {
  34930. "description": "备注",
  34931. "type": "string"
  34932. },
  34933. "scfcontractid": {
  34934. "description": "仓单回购合同ID",
  34935. "type": "string"
  34936. },
  34937. "sellaccountid": {
  34938. "description": "卖方资金账号",
  34939. "type": "integer"
  34940. },
  34941. "selluserid": {
  34942. "description": "卖方用户ID",
  34943. "type": "integer"
  34944. },
  34945. "sellwrtradeorderid": {
  34946. "description": "卖方委托单ID",
  34947. "type": "string"
  34948. },
  34949. "tradeamount": {
  34950. "description": "成交金额(借款金额)",
  34951. "type": "number"
  34952. },
  34953. "tradedate": {
  34954. "description": "交易日(yyyyMMdd)",
  34955. "type": "string"
  34956. },
  34957. "tradeprice": {
  34958. "description": "成交价格",
  34959. "type": "number"
  34960. },
  34961. "warehouseid": {
  34962. "description": "仓库ID",
  34963. "type": "integer"
  34964. },
  34965. "warehousename": {
  34966. "description": "仓库名称",
  34967. "type": "string"
  34968. },
  34969. "wrfactortypeid": {
  34970. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34971. "type": "string"
  34972. },
  34973. "wrfactortypename": {
  34974. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34975. "type": "string"
  34976. },
  34977. "wrpricetype": {
  34978. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34979. "type": "integer"
  34980. },
  34981. "wrstandardcode": {
  34982. "description": "现货商品代码",
  34983. "type": "string"
  34984. },
  34985. "wrstandardid": {
  34986. "description": "现货商品ID",
  34987. "type": "integer"
  34988. },
  34989. "wrstandardname": {
  34990. "description": "商品名称",
  34991. "type": "string"
  34992. },
  34993. "wrtypename": {
  34994. "description": "商品",
  34995. "type": "string"
  34996. }
  34997. }
  34998. },
  34999. "models.WrFriendApply": {
  35000. "type": "object",
  35001. "properties": {
  35002. "applicantid": {
  35003. "description": "申请人",
  35004. "type": "integer"
  35005. },
  35006. "applyname": {
  35007. "description": "申请人名称",
  35008. "type": "string"
  35009. },
  35010. "applysrc": {
  35011. "description": "申请来源 - 1:管理端 2:终端",
  35012. "type": "integer"
  35013. },
  35014. "applystatus": {
  35015. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35016. "type": "integer"
  35017. },
  35018. "applytime": {
  35019. "description": "申请时间",
  35020. "type": "string"
  35021. },
  35022. "auditname": {
  35023. "description": "审核人名称",
  35024. "type": "string"
  35025. },
  35026. "auditorid": {
  35027. "description": "审核人",
  35028. "type": "integer"
  35029. },
  35030. "auditremark": {
  35031. "description": "审核备注",
  35032. "type": "string"
  35033. },
  35034. "auditsrc": {
  35035. "description": "审核来源 - 1:管理端 2:终端",
  35036. "type": "integer"
  35037. },
  35038. "audittime": {
  35039. "description": "审核时间",
  35040. "type": "string"
  35041. },
  35042. "friendapplyid": {
  35043. "description": "申请ID(SEQ_FRIENDAPPLY)",
  35044. "type": "string"
  35045. },
  35046. "friendname": {
  35047. "description": "好友名字(已脱敏)",
  35048. "type": "string"
  35049. },
  35050. "frienduserid": {
  35051. "description": "好友用户ID",
  35052. "type": "string"
  35053. },
  35054. "remark": {
  35055. "description": "备注",
  35056. "type": "string"
  35057. },
  35058. "userid": {
  35059. "description": "申请人用户ID",
  35060. "type": "integer"
  35061. }
  35062. }
  35063. },
  35064. "models.WrFtDeliveryGoods": {
  35065. "type": "object",
  35066. "properties": {
  35067. "deliverygoodscode": {
  35068. "description": "品种代码",
  35069. "type": "string"
  35070. },
  35071. "deliverygoodsid": {
  35072. "description": "品种ID",
  35073. "type": "integer"
  35074. },
  35075. "deliverygoodsname": {
  35076. "description": "品种名称",
  35077. "type": "string"
  35078. },
  35079. "wdlst": {
  35080. "description": "商品列表",
  35081. "type": "array",
  35082. "items": {
  35083. "$ref": "#/definitions/models.WrFtWrstandard"
  35084. }
  35085. }
  35086. }
  35087. },
  35088. "models.WrFtWrstandard": {
  35089. "type": "object",
  35090. "properties": {
  35091. "enumdicname": {
  35092. "description": "单位名称",
  35093. "type": "string"
  35094. },
  35095. "minivalue": {
  35096. "description": "最小变动值",
  35097. "type": "integer"
  35098. },
  35099. "wrstandardcode": {
  35100. "description": "现货商品代码",
  35101. "type": "string"
  35102. },
  35103. "wrstandardid": {
  35104. "description": "现货商品ID",
  35105. "type": "integer"
  35106. },
  35107. "wrstandardname": {
  35108. "description": "商品名称",
  35109. "type": "string"
  35110. }
  35111. }
  35112. },
  35113. "models.WrGoodsInfo": {
  35114. "type": "object",
  35115. "properties": {
  35116. "haswr": {
  35117. "description": "0:仓单预售 1:仓单贸易",
  35118. "type": "integer"
  35119. },
  35120. "lstitem": {
  35121. "description": "商品信息项",
  35122. "type": "array",
  35123. "items": {
  35124. "$ref": "#/definitions/models.WrTypeItem"
  35125. }
  35126. },
  35127. "lststep": {
  35128. "description": "履约规则",
  35129. "type": "array",
  35130. "items": {
  35131. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35132. }
  35133. },
  35134. "marketid": {
  35135. "description": "市场id",
  35136. "type": "integer"
  35137. }
  35138. }
  35139. },
  35140. "models.WrGoodsPerformanceStep": {
  35141. "type": "object",
  35142. "properties": {
  35143. "autoid": {
  35144. "description": "AutoID",
  35145. "type": "integer"
  35146. },
  35147. "isauto": {
  35148. "description": "是否自动 - 0:不自动 1:自动",
  35149. "type": "integer"
  35150. },
  35151. "remark": {
  35152. "description": "备注",
  35153. "type": "string"
  35154. },
  35155. "stepdate": {
  35156. "description": "天数信息(T+N)",
  35157. "type": "string"
  35158. },
  35159. "stepdays": {
  35160. "description": "距离上一步天数",
  35161. "type": "integer"
  35162. },
  35163. "stepindex": {
  35164. "description": "步骤序号",
  35165. "type": "integer"
  35166. },
  35167. "stepinfo": {
  35168. "description": "步骤信息(步骤名称+步骤值)",
  35169. "type": "string"
  35170. },
  35171. "steptypeid": {
  35172. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35173. "type": "integer"
  35174. },
  35175. "steptypename": {
  35176. "description": "步骤名称",
  35177. "type": "string"
  35178. },
  35179. "stepvalue": {
  35180. "description": "步骤值",
  35181. "type": "number"
  35182. },
  35183. "templateid": {
  35184. "description": "履约计划模板ID",
  35185. "type": "integer"
  35186. }
  35187. }
  35188. },
  35189. "models.WrHoldLB": {
  35190. "type": "object",
  35191. "properties": {
  35192. "accountid": {
  35193. "description": "持有人帐户ID",
  35194. "type": "integer"
  35195. },
  35196. "bannerpicurl": {
  35197. "description": "Banner图",
  35198. "type": "string"
  35199. },
  35200. "createtime": {
  35201. "description": "创建时间(过户时间)",
  35202. "type": "string"
  35203. },
  35204. "deliverygoodscode": {
  35205. "description": "品种代码",
  35206. "type": "string"
  35207. },
  35208. "deliverygoodsid": {
  35209. "description": "品种ID",
  35210. "type": "integer"
  35211. },
  35212. "deliverygoodsname": {
  35213. "description": "品种名称",
  35214. "type": "string"
  35215. },
  35216. "enableqty": {
  35217. "description": "可用数量",
  35218. "type": "number"
  35219. },
  35220. "enumdicname": {
  35221. "description": "单位名称",
  35222. "type": "string"
  35223. },
  35224. "freezerqty": {
  35225. "description": "冻结数量",
  35226. "type": "number"
  35227. },
  35228. "ladingbillid": {
  35229. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35230. "type": "string"
  35231. },
  35232. "minivalue": {
  35233. "description": "现货商品最小变动值",
  35234. "type": "integer"
  35235. },
  35236. "optioncompare": {
  35237. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35238. "type": "string"
  35239. },
  35240. "parentsubnum": {
  35241. "description": "拆分父子单号",
  35242. "type": "integer"
  35243. },
  35244. "pledgeqty": {
  35245. "description": "质押数量",
  35246. "type": "number"
  35247. },
  35248. "qty": {
  35249. "description": "数量",
  35250. "type": "number"
  35251. },
  35252. "subnum": {
  35253. "description": "提单子单号",
  35254. "type": "integer"
  35255. },
  35256. "tradedate": {
  35257. "description": "交易日(yyyyMMdd)",
  35258. "type": "string"
  35259. },
  35260. "userid": {
  35261. "description": "持有人ID",
  35262. "type": "integer"
  35263. },
  35264. "warehouseid": {
  35265. "description": "仓库ID",
  35266. "type": "integer"
  35267. },
  35268. "warehousename": {
  35269. "description": "仓库名称",
  35270. "type": "string"
  35271. },
  35272. "wrfactortypeid": {
  35273. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35274. "type": "string"
  35275. },
  35276. "wrfactortypename": {
  35277. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35278. "type": "string"
  35279. },
  35280. "wrholdeno": {
  35281. "description": "仓单编号",
  35282. "type": "string"
  35283. },
  35284. "wrid": {
  35285. "description": "仓单变更ID",
  35286. "type": "string"
  35287. },
  35288. "wrstandardcode": {
  35289. "description": "现货商品代码",
  35290. "type": "string"
  35291. },
  35292. "wrstandardid": {
  35293. "description": "现货商品ID",
  35294. "type": "integer"
  35295. },
  35296. "wrstandardname": {
  35297. "description": "商品名称",
  35298. "type": "string"
  35299. },
  35300. "wrtypename": {
  35301. "description": "商品",
  35302. "type": "string"
  35303. }
  35304. }
  35305. },
  35306. "models.WrMarketTradeConfig": {
  35307. "type": "object",
  35308. "properties": {
  35309. "basisdownratio": {
  35310. "description": "浮动价基差下限比例(仓单贸易)",
  35311. "type": "number"
  35312. },
  35313. "basisupratio": {
  35314. "description": "浮动价基差上限比例(仓单贸易)",
  35315. "type": "number"
  35316. },
  35317. "buychargealgorithm": {
  35318. "description": "买方手续费收取方式 1:比率 2:固定",
  35319. "type": "integer"
  35320. },
  35321. "buychargealgorithm2": {
  35322. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35323. "type": "integer"
  35324. },
  35325. "buychargealgorithmvalue": {
  35326. "description": "买方手续费设置值(交易所部分)",
  35327. "type": "number"
  35328. },
  35329. "buychargealgorithmvalue2": {
  35330. "description": "买方手续费设置值(会员部分)",
  35331. "type": "number"
  35332. },
  35333. "buychargealgorithmvalue3": {
  35334. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35335. "type": "number"
  35336. },
  35337. "buychargealgorithmvalue4": {
  35338. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35339. "type": "number"
  35340. },
  35341. "buyfirstmarginalgorithm": {
  35342. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35343. "type": "integer"
  35344. },
  35345. "buyfirstmarginvalue": {
  35346. "description": "买方出价保证金设置值 - [竞拍]",
  35347. "type": "number"
  35348. },
  35349. "buymarginalgorithm": {
  35350. "description": "买方保证金方式 - 1:比率 2:固定",
  35351. "type": "integer"
  35352. },
  35353. "buymarginvalue": {
  35354. "description": "买方保证金设置值",
  35355. "type": "number"
  35356. },
  35357. "buyreleaseratio": {
  35358. "description": "买方释放比率[2:分步履约]",
  35359. "type": "number"
  35360. },
  35361. "executemode": {
  35362. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35363. "type": "integer"
  35364. },
  35365. "executeside": {
  35366. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35367. "type": "integer"
  35368. },
  35369. "failedchargealgorithm": {
  35370. "description": "流拍手续费收取方式 1:比率 2:固定",
  35371. "type": "integer"
  35372. },
  35373. "failedchargevalue": {
  35374. "description": "流拍手续费设置值",
  35375. "type": "number"
  35376. },
  35377. "failedchargevalue2": {
  35378. "description": "流拍卖方手续费设置值",
  35379. "type": "number"
  35380. },
  35381. "holddays": {
  35382. "description": "合同期限[2:分步履约]",
  35383. "type": "integer"
  35384. },
  35385. "marketid": {
  35386. "description": "市场ID-仓单贸易、竞拍、预售",
  35387. "type": "integer"
  35388. },
  35389. "minqty": {
  35390. "description": "最小执行量[2:分步履约]",
  35391. "type": "number"
  35392. },
  35393. "modifierid": {
  35394. "description": "修改人",
  35395. "type": "integer"
  35396. },
  35397. "performancetempid": {
  35398. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35399. "type": "integer"
  35400. },
  35401. "performancetempid2": {
  35402. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35403. "type": "integer"
  35404. },
  35405. "performancetempid2s": {
  35406. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35407. "type": "string"
  35408. },
  35409. "performancetempids": {
  35410. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35411. "type": "string"
  35412. },
  35413. "performanceway": {
  35414. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35415. "type": "integer"
  35416. },
  35417. "sellchargealgorithm": {
  35418. "description": "卖方手续费收取方式 1:比率 2:固定",
  35419. "type": "integer"
  35420. },
  35421. "sellchargealgorithm2": {
  35422. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35423. "type": "integer"
  35424. },
  35425. "sellchargealgorithmvalue": {
  35426. "description": "卖方手续费设置值(交易所部分)",
  35427. "type": "number"
  35428. },
  35429. "sellchargealgorithmvalue2": {
  35430. "description": "卖方手续费设置值(会员部分)",
  35431. "type": "number"
  35432. },
  35433. "sellchargealgorithmvalue3": {
  35434. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35435. "type": "number"
  35436. },
  35437. "sellchargealgorithmvalue4": {
  35438. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35439. "type": "number"
  35440. },
  35441. "sellmarginalgorithm": {
  35442. "description": "卖方保证金方式 - 1:比率 2:固定",
  35443. "type": "integer"
  35444. },
  35445. "sellmarginvalue": {
  35446. "description": "卖方保证金设置值",
  35447. "type": "number"
  35448. },
  35449. "sellmarginvalue2": {
  35450. "description": "卖方保证金设置值(无仓单)",
  35451. "type": "number"
  35452. },
  35453. "sellreleaseratio": {
  35454. "description": "卖方释放比率[2:分步履约]",
  35455. "type": "number"
  35456. },
  35457. "updatetime": {
  35458. "description": "更新时间",
  35459. "type": "string"
  35460. }
  35461. }
  35462. },
  35463. "models.WrOrderDetail": {
  35464. "type": "object",
  35465. "properties": {
  35466. "accountid": {
  35467. "description": "交易账号(资金账号)",
  35468. "type": "integer"
  35469. },
  35470. "allfriendsflag": {
  35471. "description": "是否全好友可见 - 0:否 1:是",
  35472. "type": "integer"
  35473. },
  35474. "amount": {
  35475. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35476. "type": "number"
  35477. },
  35478. "bannerpicurl": {
  35479. "description": "Banner图",
  35480. "type": "string"
  35481. },
  35482. "begindate": {
  35483. "description": "开始交易日(yyyymmdd)",
  35484. "type": "string"
  35485. },
  35486. "buyorsell": {
  35487. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35488. "type": "integer"
  35489. },
  35490. "canbargain": {
  35491. "description": "是否可议价 - 0:不可 1:可",
  35492. "type": "integer"
  35493. },
  35494. "cancelqty": {
  35495. "description": "撤销数量",
  35496. "type": "number"
  35497. },
  35498. "canpart": {
  35499. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35500. "type": "integer"
  35501. },
  35502. "delistminqty": {
  35503. "description": "起摘数量",
  35504. "type": "integer"
  35505. },
  35506. "deliverygoodscode": {
  35507. "description": "品种代码",
  35508. "type": "string"
  35509. },
  35510. "deliverygoodsid": {
  35511. "description": "品种ID",
  35512. "type": "integer"
  35513. },
  35514. "deliverygoodsname": {
  35515. "description": "品种名称",
  35516. "type": "string"
  35517. },
  35518. "deliverymonth": {
  35519. "description": "交收月",
  35520. "type": "string"
  35521. },
  35522. "enddate": {
  35523. "description": "结束交易日(yyyymmdd)",
  35524. "type": "string"
  35525. },
  35526. "enumdicname": {
  35527. "description": "单位名称",
  35528. "type": "string"
  35529. },
  35530. "fixedprice": {
  35531. "description": "固定价格 - [挂牌]",
  35532. "type": "number"
  35533. },
  35534. "freezecharge": {
  35535. "description": "冻结手续费",
  35536. "type": "number"
  35537. },
  35538. "freezemargin": {
  35539. "description": "冻结保证金(保证金)",
  35540. "type": "number"
  35541. },
  35542. "futupricemove": {
  35543. "description": "期货升贴水",
  35544. "type": "number"
  35545. },
  35546. "futushow": {
  35547. "description": "期货合约/升贴水",
  35548. "type": "string"
  35549. },
  35550. "goodscode": {
  35551. "description": "期货合约",
  35552. "type": "string"
  35553. },
  35554. "goodsid": {
  35555. "description": "期货商品id",
  35556. "type": "integer"
  35557. },
  35558. "goodsname": {
  35559. "description": "商品名称",
  35560. "type": "string"
  35561. },
  35562. "haswr": {
  35563. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35564. "type": "integer"
  35565. },
  35566. "isspecified": {
  35567. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35568. "type": "integer"
  35569. },
  35570. "ladingbillid": {
  35571. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35572. "type": "string"
  35573. },
  35574. "marginvalue": {
  35575. "description": "保证金设置值(履约保证金)",
  35576. "type": "number"
  35577. },
  35578. "marketid": {
  35579. "description": "市场ID",
  35580. "type": "integer"
  35581. },
  35582. "matchusername": {
  35583. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35584. "type": "string"
  35585. },
  35586. "minivalue": {
  35587. "description": "现货商品最小变动值",
  35588. "type": "integer"
  35589. },
  35590. "optioncompare": {
  35591. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35592. "type": "string"
  35593. },
  35594. "orderqty": {
  35595. "description": "委托数量",
  35596. "type": "number"
  35597. },
  35598. "ordertime": {
  35599. "description": "委托时间(挂牌时间)",
  35600. "type": "string"
  35601. },
  35602. "performancetemplateid": {
  35603. "description": "履约模板id",
  35604. "type": "integer"
  35605. },
  35606. "pricemove": {
  35607. "description": "升贴水(浮动价时填写) - [挂牌]",
  35608. "type": "number"
  35609. },
  35610. "taname": {
  35611. "description": "交易用户名称(资金账号名称)",
  35612. "type": "string"
  35613. },
  35614. "tradedate": {
  35615. "description": "交易日(yyyyMMdd)",
  35616. "type": "string"
  35617. },
  35618. "tradeprice": {
  35619. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35620. "type": "number"
  35621. },
  35622. "tradeqty": {
  35623. "description": "成交数量",
  35624. "type": "number"
  35625. },
  35626. "userid": {
  35627. "description": "用户ID",
  35628. "type": "integer"
  35629. },
  35630. "validtime": {
  35631. "description": "挂牌有效期",
  35632. "type": "string"
  35633. },
  35634. "validtype": {
  35635. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35636. "type": "integer"
  35637. },
  35638. "warehouseid": {
  35639. "description": "仓库ID",
  35640. "type": "integer"
  35641. },
  35642. "warehousename": {
  35643. "description": "仓库名称",
  35644. "type": "string"
  35645. },
  35646. "wrfactortypeid": {
  35647. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35648. "type": "string"
  35649. },
  35650. "wrfactortypename": {
  35651. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35652. "type": "string"
  35653. },
  35654. "wrpricetype": {
  35655. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35656. "type": "integer"
  35657. },
  35658. "wrstandardcode": {
  35659. "description": "现货商品代码",
  35660. "type": "string"
  35661. },
  35662. "wrstandardid": {
  35663. "description": "现货商品ID",
  35664. "type": "integer"
  35665. },
  35666. "wrstandardname": {
  35667. "description": "商品名称",
  35668. "type": "string"
  35669. },
  35670. "wrtradeorderid": {
  35671. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35672. "type": "string"
  35673. },
  35674. "wrtradeorderstatus": {
  35675. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  35676. "type": "integer"
  35677. },
  35678. "wrtradetype": {
  35679. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35680. "type": "integer"
  35681. },
  35682. "wrtypename": {
  35683. "description": "商品",
  35684. "type": "string"
  35685. }
  35686. }
  35687. },
  35688. "models.WrOrderQuote": {
  35689. "type": "object",
  35690. "properties": {
  35691. "bannerpicurl": {
  35692. "description": "Banner图",
  35693. "type": "string"
  35694. },
  35695. "buyprice": {
  35696. "description": "买价",
  35697. "type": "number"
  35698. },
  35699. "buypricemove": {
  35700. "description": "买升贴水(基差)",
  35701. "type": "number"
  35702. },
  35703. "buyqty": {
  35704. "description": "买量",
  35705. "type": "number"
  35706. },
  35707. "deliverygoodscode": {
  35708. "description": "品种代码",
  35709. "type": "string"
  35710. },
  35711. "deliverygoodsid": {
  35712. "description": "品种id",
  35713. "type": "integer"
  35714. },
  35715. "deliverygoodsname": {
  35716. "description": "品种名称",
  35717. "type": "string"
  35718. },
  35719. "deliverymonth": {
  35720. "description": "交收月",
  35721. "type": "string"
  35722. },
  35723. "enumdicname": {
  35724. "description": "单位名称",
  35725. "type": "string"
  35726. },
  35727. "goodscode": {
  35728. "description": "商品合约(浮动价列表才有)",
  35729. "type": "string"
  35730. },
  35731. "goodsid": {
  35732. "description": "商品id(浮动价列表才有)",
  35733. "type": "integer"
  35734. },
  35735. "minivalue": {
  35736. "description": "现货商品最小变动值",
  35737. "type": "integer"
  35738. },
  35739. "pictureurls": {
  35740. "description": "详情图片(逗号分隔)",
  35741. "type": "string"
  35742. },
  35743. "sellprice": {
  35744. "description": "卖价",
  35745. "type": "number"
  35746. },
  35747. "sellpricemove": {
  35748. "description": "卖升贴水(基差)",
  35749. "type": "number"
  35750. },
  35751. "sellqty": {
  35752. "description": "卖量",
  35753. "type": "number"
  35754. },
  35755. "thumurls": {
  35756. "description": "缩略图片(1:1)(逗号分隔)",
  35757. "type": "string"
  35758. },
  35759. "warehousecode": {
  35760. "description": "仓库代码",
  35761. "type": "string"
  35762. },
  35763. "warehouseid": {
  35764. "description": "仓库id",
  35765. "type": "integer"
  35766. },
  35767. "warehousename": {
  35768. "description": "仓库名称",
  35769. "type": "string"
  35770. },
  35771. "wrfactortypeid": {
  35772. "description": "仓单要素id",
  35773. "type": "string"
  35774. },
  35775. "wrfactortypename": {
  35776. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35777. "type": "string"
  35778. },
  35779. "wrgoodsname": {
  35780. "description": "商品(商品名称+仓库要素名称 拼接)",
  35781. "type": "string"
  35782. },
  35783. "wrstandardcode": {
  35784. "description": "商品代码",
  35785. "type": "string"
  35786. },
  35787. "wrstandardid": {
  35788. "description": "商品id",
  35789. "type": "integer"
  35790. },
  35791. "wrstandardname": {
  35792. "description": "商品名称",
  35793. "type": "string"
  35794. }
  35795. }
  35796. },
  35797. "models.WrOrderQuoteDetail": {
  35798. "type": "object",
  35799. "properties": {
  35800. "buyorsell": {
  35801. "description": "买卖 - 0:买 1:卖",
  35802. "type": "integer"
  35803. },
  35804. "delistminqty": {
  35805. "description": "起摘数量",
  35806. "type": "number"
  35807. },
  35808. "deliverymonth": {
  35809. "description": "交收月",
  35810. "type": "string"
  35811. },
  35812. "enumdicname": {
  35813. "description": "单位名称",
  35814. "type": "string"
  35815. },
  35816. "fixedprice": {
  35817. "description": "买(卖)价",
  35818. "type": "number"
  35819. },
  35820. "marketid": {
  35821. "description": "市场id",
  35822. "type": "integer"
  35823. },
  35824. "minivalue": {
  35825. "description": "现货商品最小变动值",
  35826. "type": "integer"
  35827. },
  35828. "orderqty": {
  35829. "description": "买(卖)量(=委托量-成交量)",
  35830. "type": "number"
  35831. },
  35832. "ordertime": {
  35833. "description": "委托时间",
  35834. "type": "string"
  35835. },
  35836. "pricemove": {
  35837. "description": "买(卖)升贴水- 基差",
  35838. "type": "number"
  35839. },
  35840. "userid": {
  35841. "description": "购买方(销售方)用户ID",
  35842. "type": "integer"
  35843. },
  35844. "username": {
  35845. "description": "购买方(销售方)",
  35846. "type": "string"
  35847. },
  35848. "wrtradeorderid": {
  35849. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35850. "type": "string"
  35851. }
  35852. }
  35853. },
  35854. "models.WrOutInApply": {
  35855. "type": "object",
  35856. "properties": {
  35857. "applyid": {
  35858. "description": "申请单id",
  35859. "type": "string"
  35860. },
  35861. "applystatus": {
  35862. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35863. "type": "integer"
  35864. },
  35865. "applytime": {
  35866. "description": "申请时间",
  35867. "type": "string"
  35868. },
  35869. "applytype": {
  35870. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35871. "type": "integer"
  35872. },
  35873. "bannerpicurl": {
  35874. "description": "Banner图",
  35875. "type": "string"
  35876. },
  35877. "begindate": {
  35878. "description": "开始交易日(yyyymmdd)",
  35879. "type": "string"
  35880. },
  35881. "deliverygoodscode": {
  35882. "description": "品种代码",
  35883. "type": "string"
  35884. },
  35885. "deliverygoodsid": {
  35886. "description": "品种ID",
  35887. "type": "integer"
  35888. },
  35889. "deliverygoodsname": {
  35890. "description": "品种名称",
  35891. "type": "string"
  35892. },
  35893. "enddate": {
  35894. "description": "结束交易日(yyyymmdd)",
  35895. "type": "string"
  35896. },
  35897. "enumdicname": {
  35898. "description": "单位名称",
  35899. "type": "string"
  35900. },
  35901. "expresscompany": {
  35902. "description": "物流公司",
  35903. "type": "string"
  35904. },
  35905. "expressnum": {
  35906. "description": "物流单号",
  35907. "type": "string"
  35908. },
  35909. "minivalue": {
  35910. "description": "现货商品最小变动值",
  35911. "type": "integer"
  35912. },
  35913. "optioncompare": {
  35914. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35915. "type": "string"
  35916. },
  35917. "qty": {
  35918. "description": "数量",
  35919. "type": "integer"
  35920. },
  35921. "userid": {
  35922. "description": "用户id",
  35923. "type": "integer"
  35924. },
  35925. "warehouseid": {
  35926. "description": "仓库ID",
  35927. "type": "integer"
  35928. },
  35929. "warehousename": {
  35930. "description": "仓库名称",
  35931. "type": "string"
  35932. },
  35933. "wrfactortypeid": {
  35934. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35935. "type": "string"
  35936. },
  35937. "wrfactortypename": {
  35938. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35939. "type": "string"
  35940. },
  35941. "wrstandardcode": {
  35942. "description": "现货商品代码",
  35943. "type": "string"
  35944. },
  35945. "wrstandardid": {
  35946. "description": "现货商品ID",
  35947. "type": "integer"
  35948. },
  35949. "wrstandardname": {
  35950. "description": "商品名称",
  35951. "type": "string"
  35952. },
  35953. "wrtypename": {
  35954. "description": "商品",
  35955. "type": "string"
  35956. }
  35957. }
  35958. },
  35959. "models.WrPerformancePlan": {
  35960. "type": "object",
  35961. "required": [
  35962. "userid"
  35963. ],
  35964. "properties": {
  35965. "activatemonth": {
  35966. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35967. "type": "string"
  35968. },
  35969. "amount": {
  35970. "description": "履约金额(总金额)",
  35971. "type": "number"
  35972. },
  35973. "begindate": {
  35974. "description": "开始交易日(yyyymmdd)",
  35975. "type": "string"
  35976. },
  35977. "buyaccountid": {
  35978. "description": "买方账号",
  35979. "type": "integer"
  35980. },
  35981. "buyerfreezeamount": {
  35982. "description": "履约冻结(买履约)",
  35983. "type": "number"
  35984. },
  35985. "buyerfreezeamountremain": {
  35986. "description": "履约冻结剩余(买履约)",
  35987. "type": "number"
  35988. },
  35989. "buyorsell": {
  35990. "description": "买卖方向 0-买 1-卖",
  35991. "type": "integer"
  35992. },
  35993. "buypaidamount": {
  35994. "description": "买方已冻/已扣金额 (已付金额)",
  35995. "type": "number"
  35996. },
  35997. "buyusername": {
  35998. "description": "买方名字",
  35999. "type": "string"
  36000. },
  36001. "contractid": {
  36002. "description": "合同ID",
  36003. "type": "integer"
  36004. },
  36005. "createtime": {
  36006. "description": "创建时间",
  36007. "type": "string"
  36008. },
  36009. "creatorid": {
  36010. "description": "创建人",
  36011. "type": "integer"
  36012. },
  36013. "curstepdeadline": {
  36014. "description": "当前步骤到期时间",
  36015. "type": "string"
  36016. },
  36017. "curstepid": {
  36018. "description": "当前步骤ID",
  36019. "type": "string"
  36020. },
  36021. "curstepname": {
  36022. "description": "当前步骤名称",
  36023. "type": "string"
  36024. },
  36025. "deliverygoodscode": {
  36026. "description": "品种代码",
  36027. "type": "string"
  36028. },
  36029. "deliverygoodsid": {
  36030. "description": "品种ID",
  36031. "type": "integer"
  36032. },
  36033. "deliverygoodsname": {
  36034. "description": "品种名称",
  36035. "type": "string"
  36036. },
  36037. "enddate": {
  36038. "description": "结束交易日(yyyymmdd)",
  36039. "type": "string"
  36040. },
  36041. "enumdicname": {
  36042. "description": "单位名称",
  36043. "type": "string"
  36044. },
  36045. "expressfee": {
  36046. "description": "运费",
  36047. "type": "number"
  36048. },
  36049. "expressfeeconfirmed": {
  36050. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  36051. "type": "integer"
  36052. },
  36053. "hasovershort": {
  36054. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  36055. "type": "integer"
  36056. },
  36057. "haswr": {
  36058. "description": "类型 0-仓单预售 1-仓单贸易",
  36059. "type": "integer"
  36060. },
  36061. "marketid": {
  36062. "description": "市场ID",
  36063. "type": "integer"
  36064. },
  36065. "middleaccountid": {
  36066. "description": "中间商资金账号ID",
  36067. "type": "integer"
  36068. },
  36069. "middleuserid": {
  36070. "description": "中间商用户ID",
  36071. "type": "integer"
  36072. },
  36073. "minivalue": {
  36074. "description": "现货商品最小变动值",
  36075. "type": "integer"
  36076. },
  36077. "optioncompare": {
  36078. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36079. "type": "string"
  36080. },
  36081. "overshortamount": {
  36082. "description": "溢短金额",
  36083. "type": "number"
  36084. },
  36085. "overshortqty": {
  36086. "description": "溢短数量",
  36087. "type": "number"
  36088. },
  36089. "paymenttype": {
  36090. "description": "付款方式 - 1:冻结 2:扣款",
  36091. "type": "integer"
  36092. },
  36093. "performanceplanid": {
  36094. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  36095. "type": "string"
  36096. },
  36097. "performancestatus": {
  36098. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  36099. "type": "integer"
  36100. },
  36101. "performancetype": {
  36102. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  36103. "type": "integer"
  36104. },
  36105. "qty": {
  36106. "description": "履约数量",
  36107. "type": "number"
  36108. },
  36109. "relatedorderid": {
  36110. "description": "关联单号(履约类型的关联单号)",
  36111. "type": "string"
  36112. },
  36113. "remark": {
  36114. "description": "备注",
  36115. "type": "string"
  36116. },
  36117. "sellaccountid": {
  36118. "description": "卖方账号",
  36119. "type": "integer"
  36120. },
  36121. "sellerfreezeamount": {
  36122. "description": "履约冻结(卖履约)",
  36123. "type": "number"
  36124. },
  36125. "sellerfreezeamountremain": {
  36126. "description": "履约冻结剩余(卖履约)",
  36127. "type": "number"
  36128. },
  36129. "sellreceivedamount": {
  36130. "description": "卖方已收金额",
  36131. "type": "number"
  36132. },
  36133. "sellusername": {
  36134. "description": "卖方名字",
  36135. "type": "string"
  36136. },
  36137. "shipremark": {
  36138. "description": "发货备注[物流单号]",
  36139. "type": "string"
  36140. },
  36141. "starttime": {
  36142. "description": "开始时间",
  36143. "type": "string"
  36144. },
  36145. "steptypeid": {
  36146. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36147. "type": "integer"
  36148. },
  36149. "typename": {
  36150. "description": "履约类型 名称",
  36151. "type": "string"
  36152. },
  36153. "unpaidamount": {
  36154. "description": "剩余款(待支付金额)",
  36155. "type": "number"
  36156. },
  36157. "userid": {
  36158. "description": "用户id",
  36159. "type": "integer"
  36160. },
  36161. "warehouseid": {
  36162. "description": "仓库ID",
  36163. "type": "integer"
  36164. },
  36165. "warehousename": {
  36166. "description": "仓库名称",
  36167. "type": "string"
  36168. },
  36169. "wrfactortypeid": {
  36170. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36171. "type": "string"
  36172. },
  36173. "wrfactortypename": {
  36174. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36175. "type": "string"
  36176. },
  36177. "wrstandardcode": {
  36178. "description": "现货商品代码",
  36179. "type": "string"
  36180. },
  36181. "wrstandardid": {
  36182. "description": "现货商品ID",
  36183. "type": "integer"
  36184. },
  36185. "wrstandardname": {
  36186. "description": "商品名称",
  36187. "type": "string"
  36188. },
  36189. "wrtransferuserid": {
  36190. "description": "仓单受让用户",
  36191. "type": "integer"
  36192. },
  36193. "wrtypename": {
  36194. "description": "商品",
  36195. "type": "string"
  36196. }
  36197. }
  36198. },
  36199. "models.WrPerformancePlanStep": {
  36200. "type": "object",
  36201. "properties": {
  36202. "delaydays": {
  36203. "description": "延期申请天数",
  36204. "type": "integer"
  36205. },
  36206. "deliverygoodscode": {
  36207. "description": "品种代码",
  36208. "type": "string"
  36209. },
  36210. "deliverygoodsid": {
  36211. "description": "品种ID",
  36212. "type": "integer"
  36213. },
  36214. "deliverygoodsname": {
  36215. "description": "品种名称",
  36216. "type": "string"
  36217. },
  36218. "endtime": {
  36219. "description": "结束日期",
  36220. "type": "string"
  36221. },
  36222. "enumdicname": {
  36223. "description": "单位名称",
  36224. "type": "string"
  36225. },
  36226. "executeside": {
  36227. "description": "步骤执行方 - 1:买方 2:卖方",
  36228. "type": "integer"
  36229. },
  36230. "handlestatus": {
  36231. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36232. "type": "integer"
  36233. },
  36234. "isauto": {
  36235. "description": "是否自动 - 0:不自动 1:自动",
  36236. "type": "integer"
  36237. },
  36238. "islastreceivestep": {
  36239. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36240. "type": "integer"
  36241. },
  36242. "minivalue": {
  36243. "description": "现货商品最小变动值",
  36244. "type": "integer"
  36245. },
  36246. "optioncompare": {
  36247. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36248. "type": "string"
  36249. },
  36250. "overdays": {
  36251. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36252. "type": "integer"
  36253. },
  36254. "performancestepid": {
  36255. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36256. "type": "string"
  36257. },
  36258. "planid": {
  36259. "description": "所属履约计划ID",
  36260. "type": "string"
  36261. },
  36262. "realamount": {
  36263. "description": "实际完成金额",
  36264. "type": "number"
  36265. },
  36266. "relatedorderid": {
  36267. "description": "关联单号",
  36268. "type": "string"
  36269. },
  36270. "remaindays": {
  36271. "description": "剩余天数",
  36272. "type": "integer"
  36273. },
  36274. "remark": {
  36275. "description": "错误备注",
  36276. "type": "string"
  36277. },
  36278. "starttime": {
  36279. "description": "开始日期",
  36280. "type": "string"
  36281. },
  36282. "stepamount": {
  36283. "description": "步骤金额",
  36284. "type": "number"
  36285. },
  36286. "stepdays": {
  36287. "description": "距离上一步天数(分钟)",
  36288. "type": "integer"
  36289. },
  36290. "stepindex": {
  36291. "description": "步骤序号",
  36292. "type": "integer"
  36293. },
  36294. "steplanchtype": {
  36295. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36296. "type": "integer"
  36297. },
  36298. "stepremark": {
  36299. "description": "步骤备注",
  36300. "type": "string"
  36301. },
  36302. "stepstatus": {
  36303. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36304. "type": "integer"
  36305. },
  36306. "steptypeid": {
  36307. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36308. "type": "integer"
  36309. },
  36310. "steptypename": {
  36311. "description": "步骤名称",
  36312. "type": "string"
  36313. },
  36314. "stepvalue": {
  36315. "description": "步骤值",
  36316. "type": "number"
  36317. },
  36318. "warehouseid": {
  36319. "description": "仓库ID",
  36320. "type": "integer"
  36321. },
  36322. "warehousename": {
  36323. "description": "仓库名称",
  36324. "type": "string"
  36325. },
  36326. "wrfactortypeid": {
  36327. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36328. "type": "string"
  36329. },
  36330. "wrfactortypename": {
  36331. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36332. "type": "string"
  36333. },
  36334. "wrstandardcode": {
  36335. "description": "现货商品代码",
  36336. "type": "string"
  36337. },
  36338. "wrstandardid": {
  36339. "description": "现货商品ID",
  36340. "type": "integer"
  36341. },
  36342. "wrstandardname": {
  36343. "description": "商品名称",
  36344. "type": "string"
  36345. },
  36346. "wrtypename": {
  36347. "description": "商品",
  36348. "type": "string"
  36349. }
  36350. }
  36351. },
  36352. "models.WrPerformanceStepType": {
  36353. "type": "object",
  36354. "properties": {
  36355. "canauto": {
  36356. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36357. "type": "integer"
  36358. },
  36359. "steptypeid": {
  36360. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36361. "type": "integer"
  36362. },
  36363. "steptypename": {
  36364. "description": "步骤类型名称",
  36365. "type": "string"
  36366. }
  36367. }
  36368. },
  36369. "models.WrPerformanceTemplateEx": {
  36370. "type": "object",
  36371. "properties": {
  36372. "autoid": {
  36373. "description": "AutoID 模板id",
  36374. "type": "integer"
  36375. },
  36376. "createtime": {
  36377. "description": "创建时间",
  36378. "type": "string"
  36379. },
  36380. "creatorid": {
  36381. "description": "创建人",
  36382. "type": "integer"
  36383. },
  36384. "lstStep": {
  36385. "description": "步骤信息列表",
  36386. "type": "array",
  36387. "items": {
  36388. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36389. }
  36390. },
  36391. "paymenttype": {
  36392. "description": "支付方式 - 1:冻结 2:扣款",
  36393. "type": "integer"
  36394. },
  36395. "takemode": {
  36396. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36397. "type": "integer"
  36398. },
  36399. "templatename": {
  36400. "description": "模板名称",
  36401. "type": "string"
  36402. },
  36403. "templatetype": {
  36404. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36405. "type": "integer"
  36406. },
  36407. "userid": {
  36408. "description": "所属用户",
  36409. "type": "integer"
  36410. }
  36411. }
  36412. },
  36413. "models.WrPosition": {
  36414. "type": "object",
  36415. "properties": {
  36416. "accountid": {
  36417. "description": "帐户ID",
  36418. "type": "integer"
  36419. },
  36420. "buyexcuteqty": {
  36421. "description": "采购履约中数量",
  36422. "type": "number"
  36423. },
  36424. "creditcurqty": {
  36425. "description": "授信当前数量(预售仓单:预售当前量)",
  36426. "type": "number"
  36427. },
  36428. "creditenableqty": {
  36429. "description": "授信可用数量(预售仓单: 可用数量)",
  36430. "type": "number"
  36431. },
  36432. "creditfreezeqty": {
  36433. "description": "授信冻结数量(预售仓单: 当前数量)",
  36434. "type": "number"
  36435. },
  36436. "credittotalqty": {
  36437. "description": "授信总数量(预售仓单:预售总量)",
  36438. "type": "number"
  36439. },
  36440. "credittradeqty": {
  36441. "description": "授信成交数量(预售仓单:成交总量)",
  36442. "type": "number"
  36443. },
  36444. "deliverygoodscode": {
  36445. "description": "品种代码",
  36446. "type": "string"
  36447. },
  36448. "deliverygoodsid": {
  36449. "description": "品种ID",
  36450. "type": "integer"
  36451. },
  36452. "deliverygoodsname": {
  36453. "description": "品种名称",
  36454. "type": "string"
  36455. },
  36456. "enalbeqty": {
  36457. "description": "可用数量",
  36458. "type": "number"
  36459. },
  36460. "enumdicname": {
  36461. "description": "单位名称",
  36462. "type": "string"
  36463. },
  36464. "freezeqty": {
  36465. "description": "总冻结数量",
  36466. "type": "number"
  36467. },
  36468. "haswr": {
  36469. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36470. "type": "integer"
  36471. },
  36472. "minivalue": {
  36473. "description": "现货商品最小变动值",
  36474. "type": "integer"
  36475. },
  36476. "modifytime": {
  36477. "description": "修改时间(过户时间)",
  36478. "type": "string"
  36479. },
  36480. "optioncompare": {
  36481. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36482. "type": "string"
  36483. },
  36484. "pledgeqty": {
  36485. "description": "质押数量",
  36486. "type": "number"
  36487. },
  36488. "querytype": {
  36489. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36490. "type": "integer"
  36491. },
  36492. "sellexcuteqty": {
  36493. "description": "销售履约中数量",
  36494. "type": "number"
  36495. },
  36496. "totalqty": {
  36497. "description": "总数量(库存数量)",
  36498. "type": "number"
  36499. },
  36500. "warehouseid": {
  36501. "description": "仓库ID",
  36502. "type": "integer"
  36503. },
  36504. "warehousename": {
  36505. "description": "仓库名称",
  36506. "type": "string"
  36507. },
  36508. "wrfactortypeid": {
  36509. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36510. "type": "string"
  36511. },
  36512. "wrfactortypename": {
  36513. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36514. "type": "string"
  36515. },
  36516. "wrpositionid": {
  36517. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36518. "type": "string"
  36519. },
  36520. "wrpositionno": {
  36521. "description": "仓单编号",
  36522. "type": "string"
  36523. },
  36524. "wrstandardcode": {
  36525. "description": "现货商品代码",
  36526. "type": "string"
  36527. },
  36528. "wrstandardid": {
  36529. "description": "现货商品ID",
  36530. "type": "integer"
  36531. },
  36532. "wrstandardname": {
  36533. "description": "商品名称",
  36534. "type": "string"
  36535. },
  36536. "wrtypename": {
  36537. "description": "商品",
  36538. "type": "string"
  36539. },
  36540. "wruserid": {
  36541. "description": "持有人ID",
  36542. "type": "integer"
  36543. }
  36544. }
  36545. },
  36546. "models.WrPreSaleInfo": {
  36547. "type": "object",
  36548. "properties": {
  36549. "bannerpicurl": {
  36550. "description": "Banner图",
  36551. "type": "string"
  36552. },
  36553. "baseqty": {
  36554. "description": "中签基数",
  36555. "type": "number"
  36556. },
  36557. "createtime": {
  36558. "description": "创建时间",
  36559. "type": "string"
  36560. },
  36561. "deliverygoodsid": {
  36562. "description": "现货品种ID",
  36563. "type": "integer"
  36564. },
  36565. "enddate": {
  36566. "description": "预售结束日期",
  36567. "type": "string"
  36568. },
  36569. "enumdicname": {
  36570. "description": "单位名称",
  36571. "type": "string"
  36572. },
  36573. "lotteryflag": {
  36574. "description": "摇号标识 - 0:未摇号 1:已摇号",
  36575. "type": "integer"
  36576. },
  36577. "lotteryqty": {
  36578. "description": "摇号总量",
  36579. "type": "number"
  36580. },
  36581. "luckyqty": {
  36582. "description": "已中签量",
  36583. "type": "number"
  36584. },
  36585. "marketid": {
  36586. "description": "市场ID",
  36587. "type": "integer"
  36588. },
  36589. "maxbuyqty": {
  36590. "description": "单人最大申购量",
  36591. "type": "number"
  36592. },
  36593. "maxluckyqty": {
  36594. "description": "单人最大中签量",
  36595. "type": "number"
  36596. },
  36597. "pictureurls": {
  36598. "description": "详情图片(逗号分隔)",
  36599. "type": "string"
  36600. },
  36601. "placeqty": {
  36602. "description": "已配售量",
  36603. "type": "number"
  36604. },
  36605. "presaleapplyid": {
  36606. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  36607. "type": "string",
  36608. "example": "0"
  36609. },
  36610. "presaleqty": {
  36611. "description": "预售总量",
  36612. "type": "number"
  36613. },
  36614. "presalestatus": {
  36615. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  36616. "type": "integer"
  36617. },
  36618. "sellaccountid": {
  36619. "description": "发行方资金账户ID",
  36620. "type": "integer"
  36621. },
  36622. "selluserid": {
  36623. "description": "发行方用户ID",
  36624. "type": "integer"
  36625. },
  36626. "sellwrtradeorderid": {
  36627. "description": "发行方卖委托单ID",
  36628. "type": "string"
  36629. },
  36630. "startdate": {
  36631. "description": "预售开始日期",
  36632. "type": "string"
  36633. },
  36634. "takestartdate": {
  36635. "description": "提货开始日期",
  36636. "type": "string"
  36637. },
  36638. "thumurls": {
  36639. "description": "缩略图片(1:1)(逗号分隔)",
  36640. "type": "string"
  36641. },
  36642. "tradedate": {
  36643. "description": "交易日",
  36644. "type": "string"
  36645. },
  36646. "unitid": {
  36647. "description": "单位ID",
  36648. "type": "integer"
  36649. },
  36650. "unitprice": {
  36651. "description": "商品单价",
  36652. "type": "number"
  36653. },
  36654. "username": {
  36655. "description": "发行方用户名称",
  36656. "type": "string"
  36657. },
  36658. "warehousecode": {
  36659. "description": "仓库代码(仓库简称)",
  36660. "type": "string"
  36661. },
  36662. "warehouseid": {
  36663. "description": "仓库ID",
  36664. "type": "integer"
  36665. },
  36666. "warehousename": {
  36667. "description": "仓库名称",
  36668. "type": "string"
  36669. },
  36670. "wrfactortypeid": {
  36671. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  36672. "type": "string",
  36673. "example": "0"
  36674. },
  36675. "wrstandardid": {
  36676. "description": "现货商品ID",
  36677. "type": "integer"
  36678. },
  36679. "wrstandardname": {
  36680. "description": "现货商品名称",
  36681. "type": "string"
  36682. }
  36683. }
  36684. },
  36685. "models.WrQuoteOrderMyq": {
  36686. "type": "object",
  36687. "properties": {
  36688. "buyorsell": {
  36689. "description": "买卖 - 0:买 1:卖",
  36690. "type": "integer"
  36691. },
  36692. "canbargain": {
  36693. "description": "是否可议价 - 0:不可 1:可",
  36694. "type": "integer"
  36695. },
  36696. "canpart": {
  36697. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36698. "type": "integer"
  36699. },
  36700. "delistminqty": {
  36701. "description": "起摘数量",
  36702. "type": "number"
  36703. },
  36704. "deliverygoodscode": {
  36705. "description": "品种代码",
  36706. "type": "string"
  36707. },
  36708. "deliverygoodsid": {
  36709. "description": "品种ID",
  36710. "type": "integer"
  36711. },
  36712. "deliverygoodsname": {
  36713. "description": "品种名称",
  36714. "type": "string"
  36715. },
  36716. "deliverymonth": {
  36717. "description": "交收月",
  36718. "type": "string"
  36719. },
  36720. "enumdicname": {
  36721. "description": "单位名称",
  36722. "type": "string"
  36723. },
  36724. "fixedprice": {
  36725. "description": "买(卖)价",
  36726. "type": "number"
  36727. },
  36728. "goodscode": {
  36729. "description": "商品合约代码",
  36730. "type": "string"
  36731. },
  36732. "marginflag": {
  36733. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36734. "type": "integer"
  36735. },
  36736. "marginvalue": {
  36737. "description": "保证金设置值",
  36738. "type": "number"
  36739. },
  36740. "minivalue": {
  36741. "description": "现货商品最小变动值",
  36742. "type": "integer"
  36743. },
  36744. "orderqty": {
  36745. "description": "买(卖)量(=委托量-成交量)",
  36746. "type": "number"
  36747. },
  36748. "ordertime": {
  36749. "description": "委托时间",
  36750. "type": "string"
  36751. },
  36752. "performancetemplateid": {
  36753. "description": "履约模板id",
  36754. "type": "integer"
  36755. },
  36756. "pricemove": {
  36757. "description": "买(卖)升贴水- 基差",
  36758. "type": "number"
  36759. },
  36760. "templatename": {
  36761. "description": "履约模板名称",
  36762. "type": "string"
  36763. },
  36764. "userid": {
  36765. "description": "购买方(销售方)用户ID",
  36766. "type": "integer"
  36767. },
  36768. "username": {
  36769. "description": "购买方(销售方)",
  36770. "type": "string"
  36771. },
  36772. "validtime": {
  36773. "description": "有效期限",
  36774. "type": "string"
  36775. },
  36776. "validtype": {
  36777. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36778. "type": "integer"
  36779. },
  36780. "warehousename": {
  36781. "description": "仓库名称",
  36782. "type": "string"
  36783. },
  36784. "wrfactortypeid": {
  36785. "description": "仓单要素id",
  36786. "type": "string"
  36787. },
  36788. "wrstandardcode": {
  36789. "description": "现货商品代码",
  36790. "type": "string"
  36791. },
  36792. "wrstandardid": {
  36793. "description": "现货商品ID",
  36794. "type": "integer"
  36795. },
  36796. "wrstandardname": {
  36797. "description": "商品名称",
  36798. "type": "string"
  36799. },
  36800. "wrtradeorderid": {
  36801. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36802. "type": "string"
  36803. },
  36804. "wrtypename": {
  36805. "description": "商品",
  36806. "type": "string"
  36807. }
  36808. }
  36809. },
  36810. "models.WrReckonSpotGoodsTradeSum": {
  36811. "type": "object",
  36812. "properties": {
  36813. "begindate": {
  36814. "description": "开始日期(结果含开始日期) yyyymmdd",
  36815. "type": "string"
  36816. },
  36817. "enddate": {
  36818. "description": "结束日期(结果含结束日期) yyyymmdd",
  36819. "type": "string"
  36820. },
  36821. "marketid": {
  36822. "description": "市场ID",
  36823. "type": "integer"
  36824. },
  36825. "price": {
  36826. "description": "价格 = 日成交金额 / 日成交数量",
  36827. "type": "string"
  36828. },
  36829. "reckondate": {
  36830. "description": "日期 格式 yyyymmdd",
  36831. "type": "string"
  36832. },
  36833. "tradeamount": {
  36834. "description": "日成交金额(当日单方向成交金额)",
  36835. "type": "number"
  36836. },
  36837. "tradeqty": {
  36838. "description": "日成交数量(当日单方向成交数量)",
  36839. "type": "number"
  36840. },
  36841. "wrstandardid": {
  36842. "description": "现货商品ID",
  36843. "type": "integer"
  36844. }
  36845. }
  36846. },
  36847. "models.WrScfContract": {
  36848. "type": "object",
  36849. "properties": {
  36850. "borroweruserid": {
  36851. "description": "借款用户ID",
  36852. "type": "integer"
  36853. },
  36854. "buybackwrpositionqty": {
  36855. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36856. "type": "number"
  36857. },
  36858. "closeinterest": {
  36859. "description": "已结利息 -\u003e 已结费用",
  36860. "type": "number"
  36861. },
  36862. "currisklevel": {
  36863. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36864. "type": "integer"
  36865. },
  36866. "deadline": {
  36867. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36868. "type": "string"
  36869. },
  36870. "deliverygoodscode": {
  36871. "description": "品种代码",
  36872. "type": "string"
  36873. },
  36874. "deliverygoodsid": {
  36875. "description": "品种ID",
  36876. "type": "integer"
  36877. },
  36878. "deliverygoodsname": {
  36879. "description": "品种名称",
  36880. "type": "string"
  36881. },
  36882. "enumdicname": {
  36883. "description": "单位名称",
  36884. "type": "string"
  36885. },
  36886. "financingdays": {
  36887. "description": "天数(天)",
  36888. "type": "integer"
  36889. },
  36890. "initmargin": {
  36891. "description": "保证金 - [仓单回购]",
  36892. "type": "number"
  36893. },
  36894. "interestamount": {
  36895. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36896. "type": "number"
  36897. },
  36898. "interestdebt": {
  36899. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36900. "type": "number"
  36901. },
  36902. "interestminlen": {
  36903. "description": "最小起息天数",
  36904. "type": "integer"
  36905. },
  36906. "interestrate": {
  36907. "description": "利率",
  36908. "type": "number"
  36909. },
  36910. "interestratemode": {
  36911. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36912. "type": "integer"
  36913. },
  36914. "interestsettlemode": {
  36915. "description": "结息方式 - 1:按日结息 3:按月结息",
  36916. "type": "integer"
  36917. },
  36918. "interestsettlevalue": {
  36919. "description": "结息方式值",
  36920. "type": "integer"
  36921. },
  36922. "isautoloan": {
  36923. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36924. "type": "integer"
  36925. },
  36926. "lastcloseinterestday": {
  36927. "description": "最近结息日(yyyyMMdd)",
  36928. "type": "string"
  36929. },
  36930. "lenderamount": {
  36931. "description": "贷款金额 -\u003e 借款金额",
  36932. "type": "number"
  36933. },
  36934. "lenderuserid": {
  36935. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36936. "type": "integer"
  36937. },
  36938. "lenderusername": {
  36939. "description": "融出方",
  36940. "type": "string"
  36941. },
  36942. "marginratio": {
  36943. "description": "保证金比率质押率 - [仓单质押]",
  36944. "type": "number"
  36945. },
  36946. "marketid": {
  36947. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36948. "type": "integer"
  36949. },
  36950. "minivalue": {
  36951. "description": "现货商品最小变动值",
  36952. "type": "integer"
  36953. },
  36954. "optioncompare": {
  36955. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36956. "type": "string"
  36957. },
  36958. "pricemove": {
  36959. "description": "估值升贴水值",
  36960. "type": "number"
  36961. },
  36962. "productdetailid": {
  36963. "description": "产品组合ID",
  36964. "type": "integer"
  36965. },
  36966. "productid": {
  36967. "description": "金融产品ID",
  36968. "type": "integer"
  36969. },
  36970. "productname": {
  36971. "description": "产品名称",
  36972. "type": "string"
  36973. },
  36974. "remainamount": {
  36975. "description": "合同剩余金额 -\u003e 剩余金额",
  36976. "type": "number"
  36977. },
  36978. "remainwrpositionqty": {
  36979. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36980. "type": "number"
  36981. },
  36982. "remark": {
  36983. "description": "备注",
  36984. "type": "string"
  36985. },
  36986. "scfcontractid": {
  36987. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36988. "type": "string"
  36989. },
  36990. "scfcontractstatus": {
  36991. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36992. "type": "integer"
  36993. },
  36994. "scfcontracttype": {
  36995. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36996. "type": "integer"
  36997. },
  36998. "startinterestday": {
  36999. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  37000. "type": "string"
  37001. },
  37002. "totalinterest": {
  37003. "description": "已计利息 -\u003e 已计费用",
  37004. "type": "number"
  37005. },
  37006. "unpaidinterest": {
  37007. "description": "未结费用",
  37008. "type": "number"
  37009. },
  37010. "updatetime": {
  37011. "description": "更新时间",
  37012. "type": "string"
  37013. },
  37014. "warehouseid": {
  37015. "description": "仓库ID",
  37016. "type": "integer"
  37017. },
  37018. "warehousename": {
  37019. "description": "仓库名称",
  37020. "type": "string"
  37021. },
  37022. "wrfactortypeid": {
  37023. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37024. "type": "string"
  37025. },
  37026. "wrfactortypename": {
  37027. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37028. "type": "string"
  37029. },
  37030. "wrqty": {
  37031. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  37032. "type": "number"
  37033. },
  37034. "wrstandardcode": {
  37035. "description": "现货商品代码",
  37036. "type": "string"
  37037. },
  37038. "wrstandardid": {
  37039. "description": "现货商品ID",
  37040. "type": "integer"
  37041. },
  37042. "wrstandardname": {
  37043. "description": "商品名称",
  37044. "type": "string"
  37045. },
  37046. "wrtypename": {
  37047. "description": "商品",
  37048. "type": "string"
  37049. }
  37050. }
  37051. },
  37052. "models.WrScfContractInterest": {
  37053. "type": "object",
  37054. "properties": {
  37055. "closeinterest": {
  37056. "description": "已结利息",
  37057. "type": "number"
  37058. },
  37059. "closeintereststatus": {
  37060. "description": "结息状态 - 1:未结 2:已结",
  37061. "type": "integer"
  37062. },
  37063. "closetime": {
  37064. "description": "结息时间",
  37065. "type": "string"
  37066. },
  37067. "closetradedate": {
  37068. "description": "结息交易日",
  37069. "type": "string"
  37070. },
  37071. "creatorid": {
  37072. "description": "操作人ID",
  37073. "type": "integer"
  37074. },
  37075. "dayrate": {
  37076. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  37077. "type": "number"
  37078. },
  37079. "interest": {
  37080. "description": "利息",
  37081. "type": "number"
  37082. },
  37083. "interestamount": {
  37084. "description": "计息金额",
  37085. "type": "number"
  37086. },
  37087. "interestday": {
  37088. "description": "计息日(yyyyMMdd)",
  37089. "type": "string"
  37090. },
  37091. "scfcontractid": {
  37092. "description": "SCF合同ID",
  37093. "type": "string"
  37094. },
  37095. "scfcontractinterestid": {
  37096. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  37097. "type": "integer"
  37098. },
  37099. "updatetime": {
  37100. "description": "更新时间",
  37101. "type": "string"
  37102. }
  37103. }
  37104. },
  37105. "models.WrSearchUser": {
  37106. "type": "object",
  37107. "required": [
  37108. "username"
  37109. ],
  37110. "properties": {
  37111. "userid": {
  37112. "description": "用户ID",
  37113. "type": "integer"
  37114. },
  37115. "username": {
  37116. "description": "用户名称(已脱敏)",
  37117. "type": "string"
  37118. },
  37119. "username2": {
  37120. "description": "用户名称(未脱敏)",
  37121. "type": "string"
  37122. },
  37123. "usertype": {
  37124. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37125. "type": "integer"
  37126. }
  37127. }
  37128. },
  37129. "models.WrSiteColumnDetail": {
  37130. "type": "object",
  37131. "properties": {
  37132. "brief": {
  37133. "description": "简介",
  37134. "type": "string"
  37135. },
  37136. "context": {
  37137. "description": "内容",
  37138. "type": "string"
  37139. },
  37140. "coverimage": {
  37141. "description": "封面图片",
  37142. "type": "string"
  37143. },
  37144. "creaedate": {
  37145. "description": "创建时间",
  37146. "type": "string"
  37147. },
  37148. "id": {
  37149. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37150. "type": "integer"
  37151. },
  37152. "istop": {
  37153. "description": "是否置顶 - 0:不置 1:置顶",
  37154. "type": "integer"
  37155. },
  37156. "publishdate": {
  37157. "description": "发布日期",
  37158. "type": "string"
  37159. },
  37160. "title": {
  37161. "description": "标题",
  37162. "type": "string"
  37163. },
  37164. "updatedate": {
  37165. "description": "修改时间",
  37166. "type": "string"
  37167. }
  37168. }
  37169. },
  37170. "models.WrSpecialMatchOrder": {
  37171. "type": "object",
  37172. "properties": {
  37173. "amount": {
  37174. "description": "金额 = 数量 * 价格",
  37175. "type": "number"
  37176. },
  37177. "buyorsell": {
  37178. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37179. "type": "integer"
  37180. },
  37181. "cancelqty": {
  37182. "description": "撤销数量",
  37183. "type": "number"
  37184. },
  37185. "deliverygoodscode": {
  37186. "description": "品种代码",
  37187. "type": "string"
  37188. },
  37189. "deliverygoodsid": {
  37190. "description": "品种ID",
  37191. "type": "integer"
  37192. },
  37193. "deliverygoodsname": {
  37194. "description": "品种名称",
  37195. "type": "string"
  37196. },
  37197. "enumdicname": {
  37198. "description": "单位名称",
  37199. "type": "string"
  37200. },
  37201. "fixedprice": {
  37202. "description": "固定价格(价格)",
  37203. "type": "number"
  37204. },
  37205. "haswr": {
  37206. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37207. "type": "integer"
  37208. },
  37209. "isspecified": {
  37210. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37211. "type": "integer"
  37212. },
  37213. "marketid": {
  37214. "description": "市场ID",
  37215. "type": "integer"
  37216. },
  37217. "matchuserid": {
  37218. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  37219. "type": "integer"
  37220. },
  37221. "matchusername": {
  37222. "description": "指定方",
  37223. "type": "string"
  37224. },
  37225. "minivalue": {
  37226. "description": "现货商品最小变动值",
  37227. "type": "integer"
  37228. },
  37229. "optioncompare": {
  37230. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37231. "type": "string"
  37232. },
  37233. "orderqty": {
  37234. "description": "委托数量",
  37235. "type": "number"
  37236. },
  37237. "ordertime": {
  37238. "description": "委托时间",
  37239. "type": "string"
  37240. },
  37241. "pricemove": {
  37242. "description": "升贴水(浮动价时填写) - [挂牌]",
  37243. "type": "number"
  37244. },
  37245. "tradedate": {
  37246. "description": "交易日(yyyyMMdd)",
  37247. "type": "string"
  37248. },
  37249. "tradeprice": {
  37250. "description": "成交价格",
  37251. "type": "number"
  37252. },
  37253. "tradeqty": {
  37254. "description": "成交数量",
  37255. "type": "number"
  37256. },
  37257. "userid": {
  37258. "description": "用户ID",
  37259. "type": "integer"
  37260. },
  37261. "username": {
  37262. "description": "发起方",
  37263. "type": "string"
  37264. },
  37265. "warehouseid": {
  37266. "description": "仓库ID",
  37267. "type": "integer"
  37268. },
  37269. "warehousename": {
  37270. "description": "仓库名称",
  37271. "type": "string"
  37272. },
  37273. "wrfactortypeid": {
  37274. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37275. "type": "string"
  37276. },
  37277. "wrfactortypename": {
  37278. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37279. "type": "string"
  37280. },
  37281. "wrpricetype": {
  37282. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37283. "type": "integer"
  37284. },
  37285. "wrstandardcode": {
  37286. "description": "现货商品代码",
  37287. "type": "string"
  37288. },
  37289. "wrstandardid": {
  37290. "description": "现货商品ID",
  37291. "type": "integer"
  37292. },
  37293. "wrstandardname": {
  37294. "description": "商品名称",
  37295. "type": "string"
  37296. },
  37297. "wrtradeorderid": {
  37298. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37299. "type": "string"
  37300. },
  37301. "wrtradeorderstatus": {
  37302. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  37303. "type": "integer"
  37304. },
  37305. "wrtradetype": {
  37306. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37307. "type": "integer"
  37308. },
  37309. "wrtypename": {
  37310. "description": "商品",
  37311. "type": "string"
  37312. }
  37313. }
  37314. },
  37315. "models.WrSpotGroupTradeSum": {
  37316. "type": "object",
  37317. "properties": {
  37318. "deliverygoodscode": {
  37319. "description": "现货品种代码",
  37320. "type": "string"
  37321. },
  37322. "deliverygoodsid": {
  37323. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37324. "type": "integer"
  37325. },
  37326. "deliverygoodsname": {
  37327. "description": "现货品种名称",
  37328. "type": "string"
  37329. },
  37330. "lastavgprice": {
  37331. "description": "上上个交易日价格(前2天价格)",
  37332. "type": "string"
  37333. },
  37334. "lastreckondate": {
  37335. "description": "上上个交易日(前2天交易日)",
  37336. "type": "string"
  37337. },
  37338. "reckondate": {
  37339. "description": "上个交易日(前1天交易日)",
  37340. "type": "string"
  37341. },
  37342. "todayavgprice": {
  37343. "description": "上个交易日价格(前1天价格)",
  37344. "type": "string"
  37345. },
  37346. "updown": {
  37347. "description": "涨跌",
  37348. "type": "string"
  37349. },
  37350. "updownratio": {
  37351. "description": "涨幅(已格式化, 直接显示即可)",
  37352. "type": "string"
  37353. }
  37354. }
  37355. },
  37356. "models.WrSpotGroupTradeSumDetail": {
  37357. "type": "object",
  37358. "properties": {
  37359. "deliverygoodsid": {
  37360. "description": "现货商品id",
  37361. "type": "integer"
  37362. },
  37363. "price": {
  37364. "description": "价格",
  37365. "type": "number"
  37366. },
  37367. "reckondate": {
  37368. "description": "日期(yyymmdd, 如:20211031)",
  37369. "type": "string"
  37370. }
  37371. }
  37372. },
  37373. "models.WrSpotGroupTradeSumEx": {
  37374. "type": "object",
  37375. "properties": {
  37376. "lst": {
  37377. "description": "指数列表",
  37378. "type": "array",
  37379. "items": {
  37380. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  37381. }
  37382. },
  37383. "prereckondate": {
  37384. "description": "上上个交易日(yyymmdd)",
  37385. "type": "string"
  37386. },
  37387. "reckondate": {
  37388. "description": "上个交易日(yyyymmdd)",
  37389. "type": "string"
  37390. }
  37391. }
  37392. },
  37393. "models.WrStandardFactoryItem": {
  37394. "type": "object",
  37395. "properties": {
  37396. "dgfactoryitemid": {
  37397. "description": "选择项id",
  37398. "type": "integer"
  37399. },
  37400. "dgfactoryitemvalue": {
  37401. "description": "要素项值",
  37402. "type": "string"
  37403. },
  37404. "warehouseid": {
  37405. "description": "仓库id",
  37406. "type": "integer"
  37407. }
  37408. }
  37409. },
  37410. "models.WrStandardFactoryItemEx": {
  37411. "type": "object",
  37412. "properties": {
  37413. "dgfactoryitemtypeid": {
  37414. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  37415. "type": "integer"
  37416. },
  37417. "itemlst": {
  37418. "description": "要素项列表",
  37419. "type": "array",
  37420. "items": {
  37421. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37422. }
  37423. },
  37424. "itemtypename": {
  37425. "description": "要素项类型名称",
  37426. "type": "string"
  37427. },
  37428. "wrstandardid": {
  37429. "description": "品类",
  37430. "type": "integer"
  37431. }
  37432. }
  37433. },
  37434. "models.WrTradeDetail": {
  37435. "type": "object",
  37436. "properties": {
  37437. "accountid": {
  37438. "description": "资金账号",
  37439. "type": "integer"
  37440. },
  37441. "bannerpicurl": {
  37442. "description": "Banner图",
  37443. "type": "string"
  37444. },
  37445. "begindate": {
  37446. "description": "开始交易日(yyyymmdd)",
  37447. "type": "string"
  37448. },
  37449. "buyorsell": {
  37450. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37451. "type": "integer"
  37452. },
  37453. "chargevalue": {
  37454. "description": "手续费",
  37455. "type": "number"
  37456. },
  37457. "deliverygoodscode": {
  37458. "description": "品种代码",
  37459. "type": "string"
  37460. },
  37461. "deliverygoodsid": {
  37462. "description": "品种ID",
  37463. "type": "integer"
  37464. },
  37465. "deliverygoodsname": {
  37466. "description": "品种名称",
  37467. "type": "string"
  37468. },
  37469. "deliverymonth": {
  37470. "description": "交收月",
  37471. "type": "string"
  37472. },
  37473. "enddate": {
  37474. "description": "结束交易日(yyyymmdd)",
  37475. "type": "string"
  37476. },
  37477. "enumdicname": {
  37478. "description": "单位名称",
  37479. "type": "string"
  37480. },
  37481. "haswr": {
  37482. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37483. "type": "integer"
  37484. },
  37485. "marketid": {
  37486. "description": "市场ID",
  37487. "type": "integer"
  37488. },
  37489. "matchaccountid": {
  37490. "description": "对手账号",
  37491. "type": "integer"
  37492. },
  37493. "matchusername": {
  37494. "description": "对手方",
  37495. "type": "string"
  37496. },
  37497. "minivalue": {
  37498. "description": "现货商品最小变动值",
  37499. "type": "integer"
  37500. },
  37501. "optioncompare": {
  37502. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37503. "type": "string"
  37504. },
  37505. "tradedate": {
  37506. "description": "交易日(yyyyMMdd)",
  37507. "type": "string"
  37508. },
  37509. "tradeprice": {
  37510. "description": "成交价格",
  37511. "type": "number"
  37512. },
  37513. "tradeqty": {
  37514. "description": "成交数量",
  37515. "type": "number"
  37516. },
  37517. "tradetime": {
  37518. "description": "成交时间",
  37519. "type": "string"
  37520. },
  37521. "userid": {
  37522. "description": "用户ID",
  37523. "type": "integer"
  37524. },
  37525. "warehouseid": {
  37526. "description": "仓库ID",
  37527. "type": "integer"
  37528. },
  37529. "warehousename": {
  37530. "description": "仓库名称",
  37531. "type": "string"
  37532. },
  37533. "wrfactortypeid": {
  37534. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37535. "type": "string"
  37536. },
  37537. "wrfactortypename": {
  37538. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37539. "type": "string"
  37540. },
  37541. "wrstandardcode": {
  37542. "description": "现货商品代码",
  37543. "type": "string"
  37544. },
  37545. "wrstandardid": {
  37546. "description": "现货商品ID",
  37547. "type": "integer"
  37548. },
  37549. "wrstandardname": {
  37550. "description": "商品名称",
  37551. "type": "string"
  37552. },
  37553. "wrtradedetailid": {
  37554. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37555. "type": "string"
  37556. },
  37557. "wrtradetype": {
  37558. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37559. "type": "integer"
  37560. },
  37561. "wrtypename": {
  37562. "description": "商品",
  37563. "type": "string"
  37564. }
  37565. }
  37566. },
  37567. "models.WrTradeOrderDetail": {
  37568. "type": "object",
  37569. "properties": {
  37570. "buyorsell": {
  37571. "description": "买卖方向 0-买 1-卖",
  37572. "type": "integer"
  37573. },
  37574. "goodsid": {
  37575. "description": "商品id",
  37576. "type": "integer"
  37577. },
  37578. "orderid": {
  37579. "description": "委托单号",
  37580. "type": "string"
  37581. },
  37582. "orderprice": {
  37583. "description": "委托价格",
  37584. "type": "number"
  37585. },
  37586. "orderqty": {
  37587. "description": "委托数量",
  37588. "type": "integer"
  37589. },
  37590. "userid": {
  37591. "description": "用户id",
  37592. "type": "integer"
  37593. },
  37594. "username": {
  37595. "description": "用户名称(已脱敏)",
  37596. "type": "string"
  37597. }
  37598. }
  37599. },
  37600. "models.WrTypeItem": {
  37601. "type": "object",
  37602. "properties": {
  37603. "name": {
  37604. "description": "名称",
  37605. "type": "string"
  37606. },
  37607. "value": {
  37608. "description": "值",
  37609. "type": "string"
  37610. }
  37611. }
  37612. },
  37613. "models.WrUserFriend": {
  37614. "type": "object",
  37615. "properties": {
  37616. "friendname": {
  37617. "description": "朋友名称(已脱敏)",
  37618. "type": "string"
  37619. },
  37620. "frienduserid": {
  37621. "description": "朋友id",
  37622. "type": "integer"
  37623. },
  37624. "isfriend": {
  37625. "description": "是否好友 0-不是 1-是",
  37626. "type": "integer"
  37627. },
  37628. "userid": {
  37629. "description": "用户id",
  37630. "type": "integer"
  37631. }
  37632. }
  37633. },
  37634. "models.WrUserReceiptInfo": {
  37635. "type": "object",
  37636. "properties": {
  37637. "address": {
  37638. "description": "地址[发票类型:企业]",
  37639. "type": "string"
  37640. },
  37641. "autoid": {
  37642. "description": "AutoID",
  37643. "type": "integer"
  37644. },
  37645. "contactinfo": {
  37646. "description": "联系方式",
  37647. "type": "string"
  37648. },
  37649. "idnum": {
  37650. "description": "身份证号码[发票类型:个人]",
  37651. "type": "string"
  37652. },
  37653. "isdefault": {
  37654. "description": "是否默认地址 - 0:否 1:是",
  37655. "type": "integer"
  37656. },
  37657. "receiptaccount": {
  37658. "description": "发票帐号[发票类型:企业]",
  37659. "type": "string"
  37660. },
  37661. "receiptbank": {
  37662. "description": "发票开户行[发票类型:企业]",
  37663. "type": "string"
  37664. },
  37665. "receipttype": {
  37666. "description": "发票类型 - 1:个人 2:企业",
  37667. "type": "integer"
  37668. },
  37669. "taxpayerid": {
  37670. "description": "纳税人识别号",
  37671. "type": "string"
  37672. },
  37673. "userid": {
  37674. "description": "用户ID",
  37675. "type": "integer"
  37676. },
  37677. "username": {
  37678. "description": "户名(个人姓名或企业名称)",
  37679. "type": "string"
  37680. }
  37681. }
  37682. },
  37683. "models.XHBRAND": {
  37684. "type": "object",
  37685. "properties": {
  37686. "brandid": {
  37687. "description": "品牌id",
  37688. "type": "integer"
  37689. },
  37690. "brandname": {
  37691. "description": "品牌名称",
  37692. "type": "string"
  37693. },
  37694. "isvalid": {
  37695. "description": "是否有效 0-无效 1-有效",
  37696. "type": "integer"
  37697. }
  37698. }
  37699. },
  37700. "models.XHDeliveryGoods": {
  37701. "type": "object",
  37702. "properties": {
  37703. "areauserid": {
  37704. "description": "所属机构",
  37705. "type": "integer"
  37706. },
  37707. "bdlst": {
  37708. "description": "品牌列表",
  37709. "type": "array",
  37710. "items": {
  37711. "$ref": "#/definitions/models.XHBRAND"
  37712. }
  37713. },
  37714. "deliverygoodscode": {
  37715. "description": "现货品种代码",
  37716. "type": "string"
  37717. },
  37718. "deliverygoodsid": {
  37719. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37720. "type": "integer"
  37721. },
  37722. "deliverygoodsname": {
  37723. "description": "现货品种名称",
  37724. "type": "string"
  37725. },
  37726. "dgstatus": {
  37727. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37728. "type": "integer"
  37729. },
  37730. "filterSubEmpty": {
  37731. "description": "过滤下级为空的",
  37732. "type": "integer"
  37733. },
  37734. "isvalid": {
  37735. "description": "是否有效 - 0:无效 1:有效",
  37736. "type": "integer"
  37737. },
  37738. "remark": {
  37739. "description": "备注",
  37740. "type": "string"
  37741. },
  37742. "unitid": {
  37743. "description": "单位id(目前看,数据库中是空值)",
  37744. "type": "integer"
  37745. },
  37746. "wdlst": {
  37747. "description": "品类(现货商品)列表",
  37748. "type": "array",
  37749. "items": {
  37750. "$ref": "#/definitions/models.XHWrstandard"
  37751. }
  37752. }
  37753. }
  37754. },
  37755. "models.XHMiddleGoods": {
  37756. "type": "object",
  37757. "properties": {
  37758. "GPLST": {
  37759. "description": "期货品种列表",
  37760. "type": "array",
  37761. "items": {
  37762. "$ref": "#/definitions/models.TBGoodsGroup"
  37763. }
  37764. },
  37765. "convertratio": {
  37766. "description": "拆算系数",
  37767. "type": "number"
  37768. },
  37769. "costratio": {
  37770. "description": "成本权重",
  37771. "type": "number"
  37772. },
  37773. "deliverygoodsid": {
  37774. "description": "现货商品id",
  37775. "type": "integer"
  37776. },
  37777. "enumdicname": {
  37778. "description": "单位名称",
  37779. "type": "string"
  37780. },
  37781. "middlegoodscode": {
  37782. "description": "套保品种代码",
  37783. "type": "string"
  37784. },
  37785. "middlegoodsid": {
  37786. "description": "套保品种id",
  37787. "type": "integer"
  37788. },
  37789. "middlegoodsname": {
  37790. "description": "套保品种名称",
  37791. "type": "string"
  37792. },
  37793. "unitid": {
  37794. "description": "单位id",
  37795. "type": "integer"
  37796. }
  37797. }
  37798. },
  37799. "models.XHWrstandard": {
  37800. "type": "object",
  37801. "properties": {
  37802. "bannerpicurl": {
  37803. "description": "banner图",
  37804. "type": "string"
  37805. },
  37806. "deliverygoodsid": {
  37807. "description": "品种ID",
  37808. "type": "integer"
  37809. },
  37810. "enumdicname": {
  37811. "description": "单位名称",
  37812. "type": "string"
  37813. },
  37814. "mglst": {
  37815. "description": "套保品列表",
  37816. "type": "array",
  37817. "items": {
  37818. "$ref": "#/definitions/models.XHMiddleGoods"
  37819. }
  37820. },
  37821. "pictureurls": {
  37822. "description": "详情图片(逗号分隔)",
  37823. "type": "string"
  37824. },
  37825. "thumurls": {
  37826. "description": "缩略图片(1:1)(逗号分隔)",
  37827. "type": "string"
  37828. },
  37829. "unitid": {
  37830. "description": "单位id",
  37831. "type": "integer"
  37832. },
  37833. "vatrate": {
  37834. "description": "增值税率",
  37835. "type": "number"
  37836. },
  37837. "wrstandardcode": {
  37838. "description": "现货商品代码",
  37839. "type": "string"
  37840. },
  37841. "wrstandardid": {
  37842. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37843. "type": "integer"
  37844. },
  37845. "wrstandardname": {
  37846. "description": "现货商品名称",
  37847. "type": "string"
  37848. }
  37849. }
  37850. },
  37851. "order.QueryHisTradeDetailRsp": {
  37852. "type": "object",
  37853. "required": [
  37854. "accountid",
  37855. "buyorsell",
  37856. "goodsid",
  37857. "histradedate",
  37858. "marketid",
  37859. "memberuserid",
  37860. "orderid",
  37861. "tradeamount",
  37862. "tradedate",
  37863. "tradeid",
  37864. "tradeprice",
  37865. "tradeqty",
  37866. "tradetime"
  37867. ],
  37868. "properties": {
  37869. "accountid": {
  37870. "description": "账户ID[报价币种]",
  37871. "type": "integer"
  37872. },
  37873. "advanceratio": {
  37874. "description": "首付比率",
  37875. "type": "number"
  37876. },
  37877. "buildtype": {
  37878. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37879. "type": "integer"
  37880. },
  37881. "buyorsell": {
  37882. "description": "方向 - 0:买 1:卖",
  37883. "type": "integer"
  37884. },
  37885. "charge": {
  37886. "description": "手续费",
  37887. "type": "number"
  37888. },
  37889. "closecharge": {
  37890. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37891. "type": "number"
  37892. },
  37893. "closeexchagechargevalue": {
  37894. "description": "平仓交易所手续费设置值",
  37895. "type": "number"
  37896. },
  37897. "closefeealgorithm": {
  37898. "description": "平仓手续费收取方式 1:比率 2:固定",
  37899. "type": "integer"
  37900. },
  37901. "closememberchargevalue": {
  37902. "description": "平仓会员手续费设置值",
  37903. "type": "number"
  37904. },
  37905. "closepl": {
  37906. "description": "平仓盈亏",
  37907. "type": "number"
  37908. },
  37909. "closepl2": {
  37910. "description": "平仓盈亏[逐笔]",
  37911. "type": "number"
  37912. },
  37913. "closeqty": {
  37914. "description": "平仓数量(先建后平操作 需要记录)",
  37915. "type": "number"
  37916. },
  37917. "creditamount": {
  37918. "description": "授信金额",
  37919. "type": "number"
  37920. },
  37921. "decimalplace": {
  37922. "description": "商品报价小数位",
  37923. "type": "integer"
  37924. },
  37925. "enumdicname": {
  37926. "description": "单位名称",
  37927. "type": "string"
  37928. },
  37929. "gcaccountid": {
  37930. "description": "账户ID[合约币种]",
  37931. "type": "integer"
  37932. },
  37933. "goodscode": {
  37934. "description": "商品代码",
  37935. "type": "string"
  37936. },
  37937. "goodsid": {
  37938. "description": "商品ID",
  37939. "type": "integer"
  37940. },
  37941. "goodsname": {
  37942. "description": "商品名称",
  37943. "type": "string"
  37944. },
  37945. "goodunitid": {
  37946. "description": "商品单位id",
  37947. "type": "integer"
  37948. },
  37949. "histradedate": {
  37950. "description": "历史交易日",
  37951. "type": "string"
  37952. },
  37953. "intclosepl": {
  37954. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37955. "type": "integer"
  37956. },
  37957. "isconfirmexercise": {
  37958. "description": "是否确认行权- 0:否 1:是",
  37959. "type": "integer"
  37960. },
  37961. "ismain": {
  37962. "description": "是否主单 - 0:不是 1:是",
  37963. "type": "integer"
  37964. },
  37965. "ispreexercise": {
  37966. "description": "是否预申报- 0:否 1:是",
  37967. "type": "integer"
  37968. },
  37969. "isreckoned": {
  37970. "description": "是否结算 - 0:未结算 1:已结算",
  37971. "type": "integer"
  37972. },
  37973. "isvaliddata": {
  37974. "description": "是否有效 - 0:无效 1:有效",
  37975. "type": "integer"
  37976. },
  37977. "listingselecttype": {
  37978. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37979. "type": "integer"
  37980. },
  37981. "marketid": {
  37982. "description": "市场ID",
  37983. "type": "integer"
  37984. },
  37985. "marketname": {
  37986. "description": "市场名称",
  37987. "type": "string"
  37988. },
  37989. "matchaccountid": {
  37990. "description": "对手账号id",
  37991. "type": "integer"
  37992. },
  37993. "memberuserid": {
  37994. "description": "会员id 个人投资者 需要填写",
  37995. "type": "integer"
  37996. },
  37997. "opencharge": {
  37998. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37999. "type": "number"
  38000. },
  38001. "openexchagechargevalue": {
  38002. "description": "建仓交易所手续费设置值",
  38003. "type": "number"
  38004. },
  38005. "openfeealgorithm": {
  38006. "description": "建仓手续费收取方式 1:比率 2:固定",
  38007. "type": "integer"
  38008. },
  38009. "openmemberchargevalue": {
  38010. "description": "建仓会员手续费设置值",
  38011. "type": "number"
  38012. },
  38013. "openqty": {
  38014. "description": "开仓数量(先建后平操作 需要记录)",
  38015. "type": "number"
  38016. },
  38017. "optiontype": {
  38018. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38019. "type": "integer"
  38020. },
  38021. "orderid": {
  38022. "description": "委托单号",
  38023. "type": "string"
  38024. },
  38025. "payamount": {
  38026. "description": "支付金额(付款金额)",
  38027. "type": "number"
  38028. },
  38029. "performanceplanid": {
  38030. "description": "履约计划ID[期权]",
  38031. "type": "integer"
  38032. },
  38033. "performancestatus": {
  38034. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38035. "type": "integer"
  38036. },
  38037. "preexerciseprice": {
  38038. "description": "预申报价格",
  38039. "type": "number"
  38040. },
  38041. "premium": {
  38042. "description": "权利金 - [持仓单的权利金]",
  38043. "type": "number"
  38044. },
  38045. "qtydecimalplace": {
  38046. "description": "商品报价小数位",
  38047. "type": "integer"
  38048. },
  38049. "recvamount": {
  38050. "description": "到账金额 = 成交金额 - 手续费",
  38051. "type": "number"
  38052. },
  38053. "relatedouttradeid": {
  38054. "description": "关联外部成交单ID",
  38055. "type": "integer"
  38056. },
  38057. "status": {
  38058. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38059. "type": "integer"
  38060. },
  38061. "totalamount": {
  38062. "description": "订单总额 = 成交金额 + 手续费",
  38063. "type": "number"
  38064. },
  38065. "tradeamount": {
  38066. "description": "成交金额[账户币种,用于所有权]",
  38067. "type": "number"
  38068. },
  38069. "tradedate": {
  38070. "description": "交易日(yyyyMMdd)",
  38071. "type": "string"
  38072. },
  38073. "tradeid": {
  38074. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38075. "type": "string"
  38076. },
  38077. "trademode": {
  38078. "description": "交易模式",
  38079. "type": "integer"
  38080. },
  38081. "tradeprice": {
  38082. "description": "成交价格",
  38083. "type": "number"
  38084. },
  38085. "tradeproperty": {
  38086. "description": "交易属性",
  38087. "type": "integer"
  38088. },
  38089. "tradeqty": {
  38090. "description": "成交数量",
  38091. "type": "number"
  38092. },
  38093. "tradetime": {
  38094. "description": "成交时间",
  38095. "type": "string"
  38096. },
  38097. "tradetype": {
  38098. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38099. "type": "integer"
  38100. }
  38101. }
  38102. },
  38103. "order.QueryHisTradeOrderDetailRsp": {
  38104. "type": "object",
  38105. "required": [
  38106. "accountid",
  38107. "buildtype",
  38108. "buyorsell",
  38109. "goodsid",
  38110. "histradedate",
  38111. "marketid",
  38112. "memberuserid",
  38113. "operatetype",
  38114. "orderid",
  38115. "orderqty",
  38116. "ordertime",
  38117. "pricemode",
  38118. "tradedate",
  38119. "validtype"
  38120. ],
  38121. "properties": {
  38122. "accountid": {
  38123. "description": "账户ID[报价币种]",
  38124. "type": "integer"
  38125. },
  38126. "buildtype": {
  38127. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38128. "type": "integer"
  38129. },
  38130. "buyorsell": {
  38131. "description": "买卖 - 0:买 1:卖",
  38132. "type": "integer"
  38133. },
  38134. "cancelorderid": {
  38135. "description": "撤单单号(撤单时填写)",
  38136. "type": "string"
  38137. },
  38138. "cancelqty": {
  38139. "description": "撤单数量",
  38140. "type": "number"
  38141. },
  38142. "clientordertime": {
  38143. "description": "客户端委托时间",
  38144. "type": "string"
  38145. },
  38146. "clientticket": {
  38147. "description": "客户端流水号",
  38148. "type": "string"
  38149. },
  38150. "clienttype": {
  38151. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38152. "type": "integer"
  38153. },
  38154. "closeexchagechargevalue": {
  38155. "description": "平仓交易所手续费设置值",
  38156. "type": "number"
  38157. },
  38158. "closefeealgorithm": {
  38159. "description": "平仓手续费收取方式 1:比率 2:固定",
  38160. "type": "integer"
  38161. },
  38162. "closefreezecharge": {
  38163. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38164. "type": "number"
  38165. },
  38166. "closememberchargevalue": {
  38167. "description": "平仓会员手续费设置值",
  38168. "type": "number"
  38169. },
  38170. "closeqty": {
  38171. "description": "平仓数量(先建后平操作 需要记录)",
  38172. "type": "number"
  38173. },
  38174. "closetradeqty": {
  38175. "description": "平仓成交数量(先建后平操作,需要记录)",
  38176. "type": "number"
  38177. },
  38178. "closeunfreezecharge": {
  38179. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38180. "type": "number"
  38181. },
  38182. "decimalplace": {
  38183. "description": "商品报价小数位",
  38184. "type": "integer"
  38185. },
  38186. "delistingtype": {
  38187. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38188. "type": "integer"
  38189. },
  38190. "enumdicname": {
  38191. "description": "单位名称",
  38192. "type": "string"
  38193. },
  38194. "freezecharge": {
  38195. "description": "冻结手续费",
  38196. "type": "number"
  38197. },
  38198. "freezemargin": {
  38199. "description": "冻结保证金(冻结交易金额)",
  38200. "type": "number"
  38201. },
  38202. "gcaccountid": {
  38203. "description": "账户ID[合约币种]",
  38204. "type": "integer"
  38205. },
  38206. "goodscode": {
  38207. "description": "商品代码",
  38208. "type": "string"
  38209. },
  38210. "goodsid": {
  38211. "description": "商品ID",
  38212. "type": "integer"
  38213. },
  38214. "goodsname": {
  38215. "description": "商品名称",
  38216. "type": "string"
  38217. },
  38218. "goodunitid": {
  38219. "description": "商品单位id",
  38220. "type": "integer"
  38221. },
  38222. "histradedate": {
  38223. "description": "历史交易日",
  38224. "type": "string"
  38225. },
  38226. "isconfirmexercise": {
  38227. "description": "是否确认行权- 0:否 1:是",
  38228. "type": "integer"
  38229. },
  38230. "ispreexercise": {
  38231. "description": "是否预申报- 0:否 1:是",
  38232. "type": "integer"
  38233. },
  38234. "isvaliddata": {
  38235. "description": "是否有效 - 0:无效 1:有效",
  38236. "type": "integer"
  38237. },
  38238. "listingselecttype": {
  38239. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38240. "type": "integer"
  38241. },
  38242. "marginalgorithm": {
  38243. "description": "保证金收取方式 1:比率 2:固定",
  38244. "type": "integer"
  38245. },
  38246. "marginvalue": {
  38247. "description": "即市保证金设置值",
  38248. "type": "number"
  38249. },
  38250. "marketid": {
  38251. "description": "市场ID",
  38252. "type": "integer"
  38253. },
  38254. "marketmaxsub": {
  38255. "description": "市价最大偏移范围",
  38256. "type": "number"
  38257. },
  38258. "marketname": {
  38259. "description": "市场名称",
  38260. "type": "string"
  38261. },
  38262. "memberuserid": {
  38263. "description": "所属会员UserID",
  38264. "type": "integer"
  38265. },
  38266. "openexchagechargevalue": {
  38267. "description": "建仓交易所手续费设置值",
  38268. "type": "number"
  38269. },
  38270. "openfeealgorithm": {
  38271. "description": "建仓手续费收取方式 1:比率 2:固定",
  38272. "type": "integer"
  38273. },
  38274. "openfreezecharge": {
  38275. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38276. "type": "number"
  38277. },
  38278. "openmemberchargevalue": {
  38279. "description": "建仓会员手续费设置值",
  38280. "type": "number"
  38281. },
  38282. "openqty": {
  38283. "description": "开仓数量(先建后平操作,需要记录)",
  38284. "type": "number"
  38285. },
  38286. "opentradeqty": {
  38287. "description": "开仓成交数量(先建后平操作,需要记录)",
  38288. "type": "number"
  38289. },
  38290. "openunfreezecharge": {
  38291. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38292. "type": "number"
  38293. },
  38294. "operatetype": {
  38295. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38296. "type": "integer"
  38297. },
  38298. "operatorid": {
  38299. "description": "登录账号(LoginID)",
  38300. "type": "integer"
  38301. },
  38302. "optiontype": {
  38303. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38304. "type": "integer"
  38305. },
  38306. "orderid": {
  38307. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38308. "type": "string"
  38309. },
  38310. "orderprice": {
  38311. "description": "委托价格",
  38312. "type": "number"
  38313. },
  38314. "orderqty": {
  38315. "description": "委托数量",
  38316. "type": "number"
  38317. },
  38318. "ordersrc": {
  38319. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38320. "type": "integer"
  38321. },
  38322. "orderstatus": {
  38323. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38324. "type": "integer"
  38325. },
  38326. "ordertime": {
  38327. "description": "委托时间",
  38328. "type": "string"
  38329. },
  38330. "preexerciseprice": {
  38331. "description": "预申报价格",
  38332. "type": "number"
  38333. },
  38334. "premium": {
  38335. "description": "权利金",
  38336. "type": "number"
  38337. },
  38338. "preorderid": {
  38339. "description": "关联预埋单号(止盈止损单时填写)",
  38340. "type": "string"
  38341. },
  38342. "pricemode": {
  38343. "description": "取价方式 - 1:市价 2: 限价",
  38344. "type": "integer"
  38345. },
  38346. "qtydecimalplace": {
  38347. "description": "成交量小数位",
  38348. "type": "integer"
  38349. },
  38350. "quoteid": {
  38351. "description": "报价单ID",
  38352. "type": "integer"
  38353. },
  38354. "relatedid": {
  38355. "description": "关联单号(交割单)",
  38356. "type": "string"
  38357. },
  38358. "retcode": {
  38359. "description": "错误代码",
  38360. "type": "integer"
  38361. },
  38362. "sessionid": {
  38363. "description": "会话ID",
  38364. "type": "integer"
  38365. },
  38366. "tradedate": {
  38367. "description": "交易日(yyyyMMdd)",
  38368. "type": "string"
  38369. },
  38370. "trademode": {
  38371. "description": "交易模式",
  38372. "type": "integer"
  38373. },
  38374. "tradeproperty": {
  38375. "description": "交易属性",
  38376. "type": "integer"
  38377. },
  38378. "tradeqty": {
  38379. "description": "成交数量",
  38380. "type": "number"
  38381. },
  38382. "unfreezecharge": {
  38383. "description": "解冻手续费",
  38384. "type": "number"
  38385. },
  38386. "unfreezemargin": {
  38387. "description": "解冻保证金",
  38388. "type": "number"
  38389. },
  38390. "updatetime": {
  38391. "description": "更新时间",
  38392. "type": "string"
  38393. },
  38394. "uuid": {
  38395. "description": "发起端唯一id",
  38396. "type": "string"
  38397. },
  38398. "validtime": {
  38399. "description": "有效期限",
  38400. "type": "string"
  38401. },
  38402. "validtype": {
  38403. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38404. "type": "integer"
  38405. },
  38406. "volumetype": {
  38407. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38408. "type": "integer"
  38409. }
  38410. }
  38411. },
  38412. "order.QueryTradeDetailRsp": {
  38413. "type": "object",
  38414. "required": [
  38415. "accountid",
  38416. "buyorsell",
  38417. "goodsid",
  38418. "marketid",
  38419. "memberuserid",
  38420. "orderid",
  38421. "tradeamount",
  38422. "tradedate",
  38423. "tradeid",
  38424. "tradeprice",
  38425. "tradeqty",
  38426. "tradetime"
  38427. ],
  38428. "properties": {
  38429. "accountid": {
  38430. "description": "账户ID[报价币种]",
  38431. "type": "integer"
  38432. },
  38433. "advanceratio": {
  38434. "description": "首付比率",
  38435. "type": "number"
  38436. },
  38437. "buildtype": {
  38438. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38439. "type": "integer"
  38440. },
  38441. "buyorsell": {
  38442. "description": "方向 - 0:买 1:卖",
  38443. "type": "integer"
  38444. },
  38445. "charge": {
  38446. "description": "手续费",
  38447. "type": "number"
  38448. },
  38449. "closecharge": {
  38450. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38451. "type": "number"
  38452. },
  38453. "closeexchagechargevalue": {
  38454. "description": "平仓交易所手续费设置值",
  38455. "type": "number"
  38456. },
  38457. "closefeealgorithm": {
  38458. "description": "平仓手续费收取方式 1:比率 2:固定",
  38459. "type": "integer"
  38460. },
  38461. "closememberchargevalue": {
  38462. "description": "平仓会员手续费设置值",
  38463. "type": "number"
  38464. },
  38465. "closepl": {
  38466. "description": "平仓盈亏",
  38467. "type": "number"
  38468. },
  38469. "closepl2": {
  38470. "description": "平仓盈亏[逐笔]",
  38471. "type": "number"
  38472. },
  38473. "closeqty": {
  38474. "description": "平仓数量(先建后平操作 需要记录)",
  38475. "type": "number"
  38476. },
  38477. "creditamount": {
  38478. "description": "授信金额",
  38479. "type": "number"
  38480. },
  38481. "decimalplace": {
  38482. "description": "商品报价小数位",
  38483. "type": "integer"
  38484. },
  38485. "enumdicname": {
  38486. "description": "单位名称",
  38487. "type": "string"
  38488. },
  38489. "gcaccountid": {
  38490. "description": "账户ID[合约币种]",
  38491. "type": "integer"
  38492. },
  38493. "goodscode": {
  38494. "description": "商品代码",
  38495. "type": "string"
  38496. },
  38497. "goodsid": {
  38498. "description": "商品ID",
  38499. "type": "integer"
  38500. },
  38501. "goodsname": {
  38502. "description": "商品名称",
  38503. "type": "string"
  38504. },
  38505. "goodunitid": {
  38506. "description": "商品单位id",
  38507. "type": "integer"
  38508. },
  38509. "intclosepl": {
  38510. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38511. "type": "integer"
  38512. },
  38513. "isconfirmexercise": {
  38514. "description": "是否确认行权- 0:否 1:是",
  38515. "type": "integer"
  38516. },
  38517. "ismain": {
  38518. "description": "是否主单 - 0:不是 1:是",
  38519. "type": "integer"
  38520. },
  38521. "ispreexercise": {
  38522. "description": "是否预申报- 0:否 1:是",
  38523. "type": "integer"
  38524. },
  38525. "isreckoned": {
  38526. "description": "是否结算 - 0:未结算 1:已结算",
  38527. "type": "integer"
  38528. },
  38529. "listingselecttype": {
  38530. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38531. "type": "integer"
  38532. },
  38533. "marketid": {
  38534. "description": "市场ID",
  38535. "type": "integer"
  38536. },
  38537. "marketname": {
  38538. "description": "市场名称",
  38539. "type": "string"
  38540. },
  38541. "matchaccountid": {
  38542. "description": "对手账号id",
  38543. "type": "integer"
  38544. },
  38545. "memberuserid": {
  38546. "description": "会员id 个人投资者 需要填写",
  38547. "type": "integer"
  38548. },
  38549. "opencharge": {
  38550. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38551. "type": "number"
  38552. },
  38553. "openexchagechargevalue": {
  38554. "description": "建仓交易所手续费设置值",
  38555. "type": "number"
  38556. },
  38557. "openfeealgorithm": {
  38558. "description": "建仓手续费收取方式 1:比率 2:固定",
  38559. "type": "integer"
  38560. },
  38561. "openmemberchargevalue": {
  38562. "description": "建仓会员手续费设置值",
  38563. "type": "number"
  38564. },
  38565. "openqty": {
  38566. "description": "开仓数量(先建后平操作 需要记录)",
  38567. "type": "number"
  38568. },
  38569. "optiontype": {
  38570. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38571. "type": "integer"
  38572. },
  38573. "orderid": {
  38574. "description": "委托单号",
  38575. "type": "string"
  38576. },
  38577. "payamount": {
  38578. "description": "支付金额(付款金额)",
  38579. "type": "number"
  38580. },
  38581. "performanceplanid": {
  38582. "description": "履约计划ID[期权]",
  38583. "type": "integer"
  38584. },
  38585. "performancestatus": {
  38586. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38587. "type": "integer"
  38588. },
  38589. "preexerciseprice": {
  38590. "description": "预申报价格",
  38591. "type": "number"
  38592. },
  38593. "premium": {
  38594. "description": "权利金 - [持仓单的权利金]",
  38595. "type": "number"
  38596. },
  38597. "qtydecimalplace": {
  38598. "description": "商品报价小数位",
  38599. "type": "integer"
  38600. },
  38601. "recvamount": {
  38602. "description": "到账金额 = 成交金额 - 手续费",
  38603. "type": "number"
  38604. },
  38605. "relatedouttradeid": {
  38606. "description": "关联外部成交单ID",
  38607. "type": "integer"
  38608. },
  38609. "status": {
  38610. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38611. "type": "integer"
  38612. },
  38613. "totalamount": {
  38614. "description": "订单总额 = 成交金额 + 手续费",
  38615. "type": "number"
  38616. },
  38617. "tradeamount": {
  38618. "description": "成交金额[账户币种,用于所有权]",
  38619. "type": "number"
  38620. },
  38621. "tradedate": {
  38622. "description": "交易日(yyyyMMdd)",
  38623. "type": "string"
  38624. },
  38625. "tradeid": {
  38626. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38627. "type": "string"
  38628. },
  38629. "trademode": {
  38630. "description": "交易模式",
  38631. "type": "integer"
  38632. },
  38633. "tradeprice": {
  38634. "description": "成交价格",
  38635. "type": "number"
  38636. },
  38637. "tradeproperty": {
  38638. "description": "交易属性",
  38639. "type": "integer"
  38640. },
  38641. "tradeqty": {
  38642. "description": "成交数量",
  38643. "type": "number"
  38644. },
  38645. "tradetime": {
  38646. "description": "成交时间",
  38647. "type": "string"
  38648. },
  38649. "tradetype": {
  38650. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38651. "type": "integer"
  38652. }
  38653. }
  38654. },
  38655. "order.QueryTradeOrderDetailRsp": {
  38656. "type": "object",
  38657. "required": [
  38658. "accountid",
  38659. "buildtype",
  38660. "buyorsell",
  38661. "goodsid",
  38662. "marketid",
  38663. "operatetype",
  38664. "orderqty",
  38665. "ordertime",
  38666. "pricemode",
  38667. "tradedate",
  38668. "validtype"
  38669. ],
  38670. "properties": {
  38671. "accountid": {
  38672. "description": "账户ID[报价币种]",
  38673. "type": "integer"
  38674. },
  38675. "buildtype": {
  38676. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38677. "type": "integer"
  38678. },
  38679. "buyorsell": {
  38680. "description": "买卖 - 0:买 1:卖",
  38681. "type": "integer"
  38682. },
  38683. "cancelorderid": {
  38684. "description": "撤单单号(撤单时填写)",
  38685. "type": "string"
  38686. },
  38687. "cancelqty": {
  38688. "description": "撤单数量",
  38689. "type": "number"
  38690. },
  38691. "clienttype": {
  38692. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38693. "type": "integer"
  38694. },
  38695. "closefreezecharge": {
  38696. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38697. "type": "number"
  38698. },
  38699. "closeqty": {
  38700. "description": "平仓数量(先建后平操作 需要记录)",
  38701. "type": "number"
  38702. },
  38703. "closetradeqty": {
  38704. "description": "平仓成交数量(先建后平操作,需要记录)",
  38705. "type": "number"
  38706. },
  38707. "closeunfreezecharge": {
  38708. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38709. "type": "number"
  38710. },
  38711. "decimalplace": {
  38712. "description": "商品报价小数位",
  38713. "type": "integer"
  38714. },
  38715. "delistingtype": {
  38716. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38717. "type": "integer"
  38718. },
  38719. "enableqty": {
  38720. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38721. "type": "number"
  38722. },
  38723. "enumdicname": {
  38724. "description": "单位名称",
  38725. "type": "string"
  38726. },
  38727. "freezecharge": {
  38728. "description": "冻结手续费",
  38729. "type": "number"
  38730. },
  38731. "freezemargin": {
  38732. "description": "冻结保证金(冻结交易金额)",
  38733. "type": "number"
  38734. },
  38735. "goodscode": {
  38736. "description": "商品代码",
  38737. "type": "string"
  38738. },
  38739. "goodsid": {
  38740. "description": "商品ID",
  38741. "type": "integer"
  38742. },
  38743. "goodsname": {
  38744. "description": "商品名称",
  38745. "type": "string"
  38746. },
  38747. "goodunitid": {
  38748. "description": "商品单位id",
  38749. "type": "integer"
  38750. },
  38751. "listingselecttype": {
  38752. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38753. "type": "integer"
  38754. },
  38755. "marketid": {
  38756. "description": "市场ID",
  38757. "type": "integer"
  38758. },
  38759. "marketname": {
  38760. "description": "市场名称",
  38761. "type": "string"
  38762. },
  38763. "openfreezecharge": {
  38764. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38765. "type": "number"
  38766. },
  38767. "openqty": {
  38768. "description": "开仓数量(先建后平操作,需要记录)",
  38769. "type": "number"
  38770. },
  38771. "opentradeqty": {
  38772. "description": "开仓成交数量(先建后平操作,需要记录)",
  38773. "type": "number"
  38774. },
  38775. "openunfreezecharge": {
  38776. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38777. "type": "number"
  38778. },
  38779. "operatetype": {
  38780. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38781. "type": "integer"
  38782. },
  38783. "operatorid": {
  38784. "description": "登录账号(LoginID)",
  38785. "type": "integer"
  38786. },
  38787. "orderid": {
  38788. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38789. "type": "string"
  38790. },
  38791. "orderprice": {
  38792. "description": "委托价格",
  38793. "type": "number"
  38794. },
  38795. "orderqty": {
  38796. "description": "委托数量",
  38797. "type": "number"
  38798. },
  38799. "ordersrc": {
  38800. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38801. "type": "integer"
  38802. },
  38803. "orderstatus": {
  38804. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38805. "type": "integer"
  38806. },
  38807. "ordertime": {
  38808. "description": "委托时间",
  38809. "type": "string"
  38810. },
  38811. "preorderid": {
  38812. "description": "关联预埋单号(止盈止损单时填写)",
  38813. "type": "string"
  38814. },
  38815. "pricemode": {
  38816. "description": "取价方式 - 1:市价 2: 限价",
  38817. "type": "integer"
  38818. },
  38819. "qtydecimalplace": {
  38820. "description": "商品报价小数位",
  38821. "type": "integer"
  38822. },
  38823. "relatedid": {
  38824. "description": "关联单号(交割单)",
  38825. "type": "string"
  38826. },
  38827. "tradedate": {
  38828. "description": "交易日(yyyyMMdd)",
  38829. "type": "string"
  38830. },
  38831. "trademode": {
  38832. "description": "交易模式",
  38833. "type": "integer"
  38834. },
  38835. "tradeqty": {
  38836. "description": "成交数量",
  38837. "type": "number"
  38838. },
  38839. "unfreezecharge": {
  38840. "description": "解冻手续费",
  38841. "type": "number"
  38842. },
  38843. "unfreezemargin": {
  38844. "description": "解冻保证金",
  38845. "type": "number"
  38846. },
  38847. "validtime": {
  38848. "description": "有效期限",
  38849. "type": "string"
  38850. },
  38851. "validtype": {
  38852. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38853. "type": "integer"
  38854. },
  38855. "volumetype": {
  38856. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38857. "type": "integer"
  38858. }
  38859. }
  38860. },
  38861. "order.QueryTradePositionRsp": {
  38862. "type": "object",
  38863. "required": [
  38864. "goodsid"
  38865. ],
  38866. "properties": {
  38867. "accountid": {
  38868. "description": "资金账户",
  38869. "type": "integer"
  38870. },
  38871. "agreeunit": {
  38872. "description": "合约单位",
  38873. "type": "number"
  38874. },
  38875. "averageprice": {
  38876. "description": "持仓均价",
  38877. "type": "number"
  38878. },
  38879. "buyorsell": {
  38880. "description": "方向 - 0:买 1:卖",
  38881. "type": "integer"
  38882. },
  38883. "closetotalqty": {
  38884. "description": "平仓总数量",
  38885. "type": "number"
  38886. },
  38887. "curholderamount": {
  38888. "description": "当前持仓总金额[商品币种]",
  38889. "type": "number"
  38890. },
  38891. "curpositionqty": {
  38892. "description": "当前持仓总数量",
  38893. "type": "number"
  38894. },
  38895. "currencyid": {
  38896. "description": "报价货币ID",
  38897. "type": "integer"
  38898. },
  38899. "curtdposition": {
  38900. "description": "期末今日头寸",
  38901. "type": "number"
  38902. },
  38903. "decimalplace": {
  38904. "description": "报价小数位",
  38905. "type": "integer"
  38906. },
  38907. "enableqty": {
  38908. "description": "可用量",
  38909. "type": "number"
  38910. },
  38911. "fretdposition": {
  38912. "description": "冻结今日头寸",
  38913. "type": "number"
  38914. },
  38915. "frozenqty": {
  38916. "description": "持仓冻结数量",
  38917. "type": "number"
  38918. },
  38919. "goodscode": {
  38920. "description": "商品代码",
  38921. "type": "string"
  38922. },
  38923. "goodsid": {
  38924. "description": "商品Id",
  38925. "type": "integer"
  38926. },
  38927. "goodsname": {
  38928. "description": "商品名称",
  38929. "type": "string"
  38930. },
  38931. "goodunit": {
  38932. "description": "报价单位",
  38933. "type": "string"
  38934. },
  38935. "goodunitid": {
  38936. "description": "报价单位ID",
  38937. "type": "integer"
  38938. },
  38939. "holderamount": {
  38940. "description": "期初持仓总金额[商品币种]",
  38941. "type": "number"
  38942. },
  38943. "lastprice": {
  38944. "description": "最新价",
  38945. "type": "number"
  38946. },
  38947. "marketamount": {
  38948. "description": "市值",
  38949. "type": "number"
  38950. },
  38951. "marketid": {
  38952. "description": "所属市场ID",
  38953. "type": "integer"
  38954. },
  38955. "openreqqty": {
  38956. "description": "开仓申请数量(用于比较最大持仓数量)",
  38957. "type": "number"
  38958. },
  38959. "opentotalqty": {
  38960. "description": "开仓总数量",
  38961. "type": "number"
  38962. },
  38963. "otherfrozenqty": {
  38964. "description": "持仓其他冻结数量(交割冻结)",
  38965. "type": "number"
  38966. },
  38967. "positionpl": {
  38968. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38969. "type": "number"
  38970. },
  38971. "positionplrate": {
  38972. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38973. "type": "number"
  38974. },
  38975. "positionqty": {
  38976. "description": "期初持仓数量",
  38977. "type": "number"
  38978. },
  38979. "qtydecimalplace": {
  38980. "description": "成交量小数位",
  38981. "type": "integer"
  38982. },
  38983. "refgoodscode": {
  38984. "description": "参考商品代码",
  38985. "type": "string"
  38986. },
  38987. "refgoodsid": {
  38988. "description": "参考商品ID",
  38989. "type": "integer"
  38990. },
  38991. "tnqty": {
  38992. "description": "T+N冻结总量",
  38993. "type": "number"
  38994. },
  38995. "tnusedqty": {
  38996. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38997. "type": "number"
  38998. },
  38999. "trademode": {
  39000. "description": "交易模式",
  39001. "type": "integer"
  39002. },
  39003. "tradeproperty": {
  39004. "description": "交易属性",
  39005. "type": "integer"
  39006. },
  39007. "usedmargin": {
  39008. "description": "占用保证金[商品币种]",
  39009. "type": "number"
  39010. }
  39011. }
  39012. },
  39013. "pb.GoodsMarginCfgStruct": {
  39014. "type": "object",
  39015. "properties": {
  39016. "CustomerTypeID": {
  39017. "description": "投资者客户类型",
  39018. "type": "integer"
  39019. },
  39020. "GoodsID": {
  39021. "description": "商品ID",
  39022. "type": "integer"
  39023. },
  39024. "IsDefault": {
  39025. "description": "是否默认标志位",
  39026. "type": "integer"
  39027. },
  39028. "LockMarginValue": {
  39029. "description": "锁仓保证金",
  39030. "type": "number"
  39031. },
  39032. "MarginAlgorithm": {
  39033. "description": "保证金计算方式",
  39034. "type": "integer"
  39035. },
  39036. "MarketMarginValue": {
  39037. "description": "即市保证金值",
  39038. "type": "number"
  39039. },
  39040. "RealMarginAlgorithm": {
  39041. "description": "实付保证金计算方式",
  39042. "type": "integer"
  39043. },
  39044. "RealMarginValue": {
  39045. "description": "实付比例",
  39046. "type": "number"
  39047. },
  39048. "ReckonMarginValue": {
  39049. "description": "结算保证金值",
  39050. "type": "number"
  39051. }
  39052. }
  39053. },
  39054. "quote.HistoryData": {
  39055. "type": "object",
  39056. "properties": {
  39057. "c": {
  39058. "description": "收盘价",
  39059. "type": "number"
  39060. },
  39061. "f": {
  39062. "description": "是否补充数据",
  39063. "type": "boolean"
  39064. },
  39065. "h": {
  39066. "description": "最高价",
  39067. "type": "number"
  39068. },
  39069. "hv": {
  39070. "description": "持仓量",
  39071. "type": "integer"
  39072. },
  39073. "l": {
  39074. "description": "最低价",
  39075. "type": "number"
  39076. },
  39077. "o": {
  39078. "description": "开盘价",
  39079. "type": "number"
  39080. },
  39081. "s": {
  39082. "description": "结算价,日线周期(包括)以上才有",
  39083. "type": "number"
  39084. },
  39085. "ts": {
  39086. "description": "时间",
  39087. "type": "string"
  39088. },
  39089. "tt": {
  39090. "description": "总金额",
  39091. "type": "number"
  39092. },
  39093. "tv": {
  39094. "description": "总量(成交量)",
  39095. "type": "integer"
  39096. }
  39097. }
  39098. },
  39099. "quote.HistoryTikData": {
  39100. "type": "object",
  39101. "properties": {
  39102. "AV": {
  39103. "description": "卖量",
  39104. "type": "integer"
  39105. },
  39106. "Ask": {
  39107. "description": "卖价",
  39108. "type": "number"
  39109. },
  39110. "BV": {
  39111. "description": "买量",
  39112. "type": "integer"
  39113. },
  39114. "Bid": {
  39115. "description": "买价",
  39116. "type": "number"
  39117. },
  39118. "HI": {
  39119. "description": "单笔持仓",
  39120. "type": "integer"
  39121. },
  39122. "HV": {
  39123. "description": "持仓量",
  39124. "type": "integer"
  39125. },
  39126. "PE": {
  39127. "description": "现价",
  39128. "type": "number"
  39129. },
  39130. "TDR": {
  39131. "description": "交易方向,0:买 1:卖",
  39132. "type": "integer"
  39133. },
  39134. "TK": {
  39135. "description": "交易类型",
  39136. "type": "integer"
  39137. },
  39138. "TS": {
  39139. "description": "行情时间文本",
  39140. "type": "string"
  39141. },
  39142. "TT": {
  39143. "description": "现金额",
  39144. "type": "number"
  39145. },
  39146. "Vol": {
  39147. "description": "现量",
  39148. "type": "integer"
  39149. }
  39150. }
  39151. },
  39152. "quote.QueryQuoteDayRsp": {
  39153. "type": "object",
  39154. "properties": {
  39155. "ask": {
  39156. "description": "卖1",
  39157. "type": "number"
  39158. },
  39159. "ask10": {
  39160. "description": "卖10",
  39161. "type": "number"
  39162. },
  39163. "ask2": {
  39164. "description": "卖2",
  39165. "type": "number"
  39166. },
  39167. "ask3": {
  39168. "description": "卖3",
  39169. "type": "number"
  39170. },
  39171. "ask4": {
  39172. "description": "卖4",
  39173. "type": "number"
  39174. },
  39175. "ask5": {
  39176. "description": "卖5",
  39177. "type": "number"
  39178. },
  39179. "ask6": {
  39180. "description": "卖6",
  39181. "type": "number"
  39182. },
  39183. "ask7": {
  39184. "description": "卖7",
  39185. "type": "number"
  39186. },
  39187. "ask8": {
  39188. "description": "卖8",
  39189. "type": "number"
  39190. },
  39191. "ask9": {
  39192. "description": "卖9",
  39193. "type": "number"
  39194. },
  39195. "askorderid": {
  39196. "description": "卖单号1",
  39197. "type": "integer"
  39198. },
  39199. "askorderid2": {
  39200. "description": "卖单号2",
  39201. "type": "integer"
  39202. },
  39203. "askorderid3": {
  39204. "description": "卖单号3",
  39205. "type": "integer"
  39206. },
  39207. "askorderid4": {
  39208. "description": "卖单号4",
  39209. "type": "integer"
  39210. },
  39211. "askorderid5": {
  39212. "description": "卖单号5",
  39213. "type": "integer"
  39214. },
  39215. "askordervolume": {
  39216. "description": "卖单量1",
  39217. "type": "integer"
  39218. },
  39219. "askordervolume10": {
  39220. "description": "卖单量10",
  39221. "type": "integer"
  39222. },
  39223. "askordervolume2": {
  39224. "description": "卖单量2",
  39225. "type": "integer"
  39226. },
  39227. "askordervolume3": {
  39228. "description": "卖单量3",
  39229. "type": "integer"
  39230. },
  39231. "askordervolume4": {
  39232. "description": "卖单量4",
  39233. "type": "integer"
  39234. },
  39235. "askordervolume5": {
  39236. "description": "卖单量5",
  39237. "type": "integer"
  39238. },
  39239. "askordervolume6": {
  39240. "description": "卖单量6",
  39241. "type": "integer"
  39242. },
  39243. "askordervolume7": {
  39244. "description": "卖单量7",
  39245. "type": "integer"
  39246. },
  39247. "askordervolume8": {
  39248. "description": "卖单量8",
  39249. "type": "integer"
  39250. },
  39251. "askordervolume9": {
  39252. "description": "卖单量9",
  39253. "type": "integer"
  39254. },
  39255. "askqueueinfo": {
  39256. "description": "大利市卖港股用",
  39257. "type": "string"
  39258. },
  39259. "askvolume": {
  39260. "description": "卖量1",
  39261. "type": "integer"
  39262. },
  39263. "askvolume10": {
  39264. "description": "卖量10",
  39265. "type": "integer"
  39266. },
  39267. "askvolume2": {
  39268. "description": "卖量2",
  39269. "type": "integer"
  39270. },
  39271. "askvolume3": {
  39272. "description": "卖量3",
  39273. "type": "integer"
  39274. },
  39275. "askvolume4": {
  39276. "description": "卖量4",
  39277. "type": "integer"
  39278. },
  39279. "askvolume5": {
  39280. "description": "卖量5",
  39281. "type": "integer"
  39282. },
  39283. "askvolume6": {
  39284. "description": "卖量6",
  39285. "type": "integer"
  39286. },
  39287. "askvolume7": {
  39288. "description": "卖量7",
  39289. "type": "integer"
  39290. },
  39291. "askvolume8": {
  39292. "description": "卖量8",
  39293. "type": "integer"
  39294. },
  39295. "askvolume9": {
  39296. "description": "卖量9",
  39297. "type": "integer"
  39298. },
  39299. "averageprice": {
  39300. "description": "均价",
  39301. "type": "number"
  39302. },
  39303. "bid": {
  39304. "description": "买1",
  39305. "type": "number"
  39306. },
  39307. "bid10": {
  39308. "description": "买10",
  39309. "type": "number"
  39310. },
  39311. "bid2": {
  39312. "description": "买2",
  39313. "type": "number"
  39314. },
  39315. "bid3": {
  39316. "description": "买3",
  39317. "type": "number"
  39318. },
  39319. "bid4": {
  39320. "description": "买4",
  39321. "type": "number"
  39322. },
  39323. "bid5": {
  39324. "description": "买5",
  39325. "type": "number"
  39326. },
  39327. "bid6": {
  39328. "description": "买6",
  39329. "type": "number"
  39330. },
  39331. "bid7": {
  39332. "description": "买7",
  39333. "type": "number"
  39334. },
  39335. "bid8": {
  39336. "description": "买8",
  39337. "type": "number"
  39338. },
  39339. "bid9": {
  39340. "description": "买9",
  39341. "type": "number"
  39342. },
  39343. "bidorderid": {
  39344. "description": "买单号1",
  39345. "type": "integer"
  39346. },
  39347. "bidorderid2": {
  39348. "description": "买单号2",
  39349. "type": "integer"
  39350. },
  39351. "bidorderid3": {
  39352. "description": "买单号3",
  39353. "type": "integer"
  39354. },
  39355. "bidorderid4": {
  39356. "description": "买单号4",
  39357. "type": "integer"
  39358. },
  39359. "bidorderid5": {
  39360. "description": "买单号5",
  39361. "type": "integer"
  39362. },
  39363. "bidordervolume": {
  39364. "description": "买单量1",
  39365. "type": "integer"
  39366. },
  39367. "bidordervolume10": {
  39368. "description": "买单量10",
  39369. "type": "integer"
  39370. },
  39371. "bidordervolume2": {
  39372. "description": "买单量2",
  39373. "type": "integer"
  39374. },
  39375. "bidordervolume3": {
  39376. "description": "买单量3",
  39377. "type": "integer"
  39378. },
  39379. "bidordervolume4": {
  39380. "description": "买单量4",
  39381. "type": "integer"
  39382. },
  39383. "bidordervolume5": {
  39384. "description": "买单量5",
  39385. "type": "integer"
  39386. },
  39387. "bidordervolume6": {
  39388. "description": "买单量6",
  39389. "type": "integer"
  39390. },
  39391. "bidordervolume7": {
  39392. "description": "买单量7",
  39393. "type": "integer"
  39394. },
  39395. "bidordervolume8": {
  39396. "description": "买单量8",
  39397. "type": "integer"
  39398. },
  39399. "bidordervolume9": {
  39400. "description": "买单量9",
  39401. "type": "integer"
  39402. },
  39403. "bidqueueinfo": {
  39404. "description": "大利市买港股用",
  39405. "type": "string"
  39406. },
  39407. "bidvolume": {
  39408. "description": "买量1",
  39409. "type": "integer"
  39410. },
  39411. "bidvolume10": {
  39412. "description": "买量10",
  39413. "type": "integer"
  39414. },
  39415. "bidvolume2": {
  39416. "description": "买量2",
  39417. "type": "integer"
  39418. },
  39419. "bidvolume3": {
  39420. "description": "买量3",
  39421. "type": "integer"
  39422. },
  39423. "bidvolume4": {
  39424. "description": "买量4",
  39425. "type": "integer"
  39426. },
  39427. "bidvolume5": {
  39428. "description": "买量5",
  39429. "type": "integer"
  39430. },
  39431. "bidvolume6": {
  39432. "description": "买量6",
  39433. "type": "integer"
  39434. },
  39435. "bidvolume7": {
  39436. "description": "买量7",
  39437. "type": "integer"
  39438. },
  39439. "bidvolume8": {
  39440. "description": "买量8",
  39441. "type": "integer"
  39442. },
  39443. "bidvolume9": {
  39444. "description": "买量9",
  39445. "type": "integer"
  39446. },
  39447. "calloptionpremiums": {
  39448. "description": "认购期权1",
  39449. "type": "integer"
  39450. },
  39451. "calloptionpremiums2": {
  39452. "description": "认购期权2",
  39453. "type": "integer"
  39454. },
  39455. "calloptionpremiums3": {
  39456. "description": "认购期权3",
  39457. "type": "integer"
  39458. },
  39459. "calloptionpremiums4": {
  39460. "description": "认购期权4",
  39461. "type": "integer"
  39462. },
  39463. "calloptionpremiums5": {
  39464. "description": "认购期权5",
  39465. "type": "integer"
  39466. },
  39467. "cleartime": {
  39468. "description": "清盘时间",
  39469. "type": "integer"
  39470. },
  39471. "exchangecode": {
  39472. "description": "交易所代码",
  39473. "type": "integer"
  39474. },
  39475. "exchangedate": {
  39476. "description": "交易日",
  39477. "type": "integer"
  39478. },
  39479. "goodscode": {
  39480. "description": "商品代码",
  39481. "type": "string"
  39482. },
  39483. "grepmarketprice": {
  39484. "description": "暗盘价 港股专用",
  39485. "type": "number"
  39486. },
  39487. "highest": {
  39488. "description": "最高价",
  39489. "type": "number"
  39490. },
  39491. "holdincrement": {
  39492. "description": "单笔持仓",
  39493. "type": "integer"
  39494. },
  39495. "holdvolume": {
  39496. "description": "持仓",
  39497. "type": "integer"
  39498. },
  39499. "iep": {
  39500. "description": "平衡价 港股专用",
  39501. "type": "number"
  39502. },
  39503. "iev": {
  39504. "description": "平衡量 港股专用",
  39505. "type": "number"
  39506. },
  39507. "inventory": {
  39508. "description": "库存",
  39509. "type": "integer"
  39510. },
  39511. "iscleared": {
  39512. "description": "是否清盘标志",
  39513. "type": "integer"
  39514. },
  39515. "issettled": {
  39516. "description": "是否结算标志",
  39517. "type": "integer"
  39518. },
  39519. "last": {
  39520. "description": "最新价",
  39521. "type": "number"
  39522. },
  39523. "lastlot": {
  39524. "description": "最新成交手数",
  39525. "type": "integer"
  39526. },
  39527. "lasttime": {
  39528. "description": "行情时间(只有现价变化行情时间才变化)",
  39529. "type": "string"
  39530. },
  39531. "lastturnover": {
  39532. "description": "最新成交金额",
  39533. "type": "number"
  39534. },
  39535. "lastvolume": {
  39536. "description": "最新成交量",
  39537. "type": "integer"
  39538. },
  39539. "limitdown": {
  39540. "description": "跌停价",
  39541. "type": "number"
  39542. },
  39543. "limitup": {
  39544. "description": "涨停价",
  39545. "type": "number"
  39546. },
  39547. "lowest": {
  39548. "description": "最低价",
  39549. "type": "number"
  39550. },
  39551. "nontotalholdervolume": {
  39552. "description": "非交易持仓量",
  39553. "type": "integer"
  39554. },
  39555. "nontotallot": {
  39556. "description": "非交易总手数",
  39557. "type": "integer"
  39558. },
  39559. "nontotalturnover": {
  39560. "description": "非交易总金额",
  39561. "type": "integer"
  39562. },
  39563. "nontotalvolume": {
  39564. "description": "非交易总量",
  39565. "type": "integer"
  39566. },
  39567. "opened": {
  39568. "description": "开盘价",
  39569. "type": "number"
  39570. },
  39571. "opentime": {
  39572. "description": "开盘时间",
  39573. "type": "string"
  39574. },
  39575. "orderid": {
  39576. "description": "序号",
  39577. "type": "integer"
  39578. },
  39579. "preclose": {
  39580. "description": "昨收",
  39581. "type": "number"
  39582. },
  39583. "preholdvolume": {
  39584. "description": "昨持仓",
  39585. "type": "integer"
  39586. },
  39587. "presettle": {
  39588. "description": "昨结价",
  39589. "type": "number"
  39590. },
  39591. "publictradetype": {
  39592. "description": "公共交易标志类型 港股专用",
  39593. "type": "string"
  39594. },
  39595. "putoptionpremiums": {
  39596. "description": "认沽期权1",
  39597. "type": "integer"
  39598. },
  39599. "putoptionpremiums2": {
  39600. "description": "认沽期权2",
  39601. "type": "integer"
  39602. },
  39603. "putoptionpremiums3": {
  39604. "description": "认沽期权3",
  39605. "type": "integer"
  39606. },
  39607. "putoptionpremiums4": {
  39608. "description": "认沽期权4",
  39609. "type": "integer"
  39610. },
  39611. "putoptionpremiums5": {
  39612. "description": "认沽期权5",
  39613. "type": "integer"
  39614. },
  39615. "settle": {
  39616. "description": "结算价",
  39617. "type": "number"
  39618. },
  39619. "strikeprice": {
  39620. "description": "发行价",
  39621. "type": "number"
  39622. },
  39623. "totalaskvolume": {
  39624. "description": "内盘",
  39625. "type": "integer"
  39626. },
  39627. "totalbidvolume": {
  39628. "description": "外盘",
  39629. "type": "integer"
  39630. },
  39631. "totallot": {
  39632. "description": "总手数",
  39633. "type": "integer"
  39634. },
  39635. "totalturnover": {
  39636. "description": "总金额",
  39637. "type": "number"
  39638. },
  39639. "totalvolume": {
  39640. "description": "总量",
  39641. "type": "integer"
  39642. },
  39643. "utclasttime": {
  39644. "description": "utc的行情时间",
  39645. "type": "string"
  39646. }
  39647. }
  39648. },
  39649. "quote.QueryTSDataRsp": {
  39650. "type": "object",
  39651. "properties": {
  39652. "Count": {
  39653. "description": "交易日应有数据个数",
  39654. "type": "integer"
  39655. },
  39656. "decimalPlace": {
  39657. "description": "小数位",
  39658. "type": "integer"
  39659. },
  39660. "endTime": {
  39661. "description": "结束时间",
  39662. "type": "string"
  39663. },
  39664. "goodsCode": {
  39665. "description": "商品代码",
  39666. "type": "string"
  39667. },
  39668. "historyDatas": {
  39669. "description": "历史数据",
  39670. "type": "array",
  39671. "items": {
  39672. "$ref": "#/definitions/quote.HistoryData"
  39673. }
  39674. },
  39675. "outGoodsCode": {
  39676. "description": "外部商品代码",
  39677. "type": "string"
  39678. },
  39679. "preSettle": {
  39680. "description": "昨结价",
  39681. "type": "number"
  39682. },
  39683. "runSteps": {
  39684. "description": "交易日开休市计划",
  39685. "type": "array",
  39686. "items": {
  39687. "$ref": "#/definitions/quote.TSDataRunStep"
  39688. }
  39689. },
  39690. "startTime": {
  39691. "description": "开始时间",
  39692. "type": "string"
  39693. },
  39694. "tradeDate": {
  39695. "description": "交易日",
  39696. "type": "string"
  39697. }
  39698. }
  39699. },
  39700. "quote.TSDataRunStep": {
  39701. "type": "object",
  39702. "properties": {
  39703. "end": {
  39704. "description": "真实结束时间",
  39705. "type": "string"
  39706. },
  39707. "endflag": {
  39708. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39709. "type": "integer"
  39710. },
  39711. "endtime": {
  39712. "description": "结束时间(HH:mm)",
  39713. "type": "string"
  39714. },
  39715. "endweekday": {
  39716. "description": "结束周几",
  39717. "type": "integer"
  39718. },
  39719. "groupid": {
  39720. "description": "分组ID",
  39721. "type": "integer"
  39722. },
  39723. "runstep": {
  39724. "description": "运行阶段 - 2:连续交易",
  39725. "type": "integer"
  39726. },
  39727. "sectionid": {
  39728. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39729. "type": "integer"
  39730. },
  39731. "start": {
  39732. "description": "真实开始时间",
  39733. "type": "string"
  39734. },
  39735. "startflag": {
  39736. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39737. "type": "integer"
  39738. },
  39739. "starttime": {
  39740. "description": "起始时间(HH:mm)",
  39741. "type": "string"
  39742. },
  39743. "startweekday": {
  39744. "description": "起始周几",
  39745. "type": "integer"
  39746. },
  39747. "tradeweekday": {
  39748. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39749. "type": "integer"
  39750. }
  39751. }
  39752. },
  39753. "szdz.QueryConvertLogRsp": {
  39754. "type": "object",
  39755. "required": [
  39756. "logid"
  39757. ],
  39758. "properties": {
  39759. "accountid": {
  39760. "description": "资金账户ID",
  39761. "type": "integer"
  39762. },
  39763. "clientticket": {
  39764. "description": "客户端流水号",
  39765. "type": "string"
  39766. },
  39767. "converttype": {
  39768. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39769. "type": "integer"
  39770. },
  39771. "createtime": {
  39772. "description": "记账时间",
  39773. "type": "string"
  39774. },
  39775. "daymaxvalue": {
  39776. "description": "配置当日最大转入限制",
  39777. "type": "number"
  39778. },
  39779. "daymaxvalue2": {
  39780. "description": "配置当日最大转入限制(转入)",
  39781. "type": "number"
  39782. },
  39783. "goodscode": {
  39784. "description": "商品代码",
  39785. "type": "string"
  39786. },
  39787. "goodsname": {
  39788. "description": "商品名称",
  39789. "type": "string"
  39790. },
  39791. "handlestatus": {
  39792. "description": "处理状态",
  39793. "type": "integer"
  39794. },
  39795. "innergoodsid": {
  39796. "description": "内部商品ID",
  39797. "type": "integer"
  39798. },
  39799. "inratio": {
  39800. "description": "配置转入比值",
  39801. "type": "integer"
  39802. },
  39803. "invalue": {
  39804. "description": "目标值",
  39805. "type": "number"
  39806. },
  39807. "logid": {
  39808. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39809. "type": "integer"
  39810. },
  39811. "mobile": {
  39812. "description": "手机号码(加密存储)",
  39813. "type": "string"
  39814. },
  39815. "outergoodscode": {
  39816. "description": "外部商品代码[JD\\PD]",
  39817. "type": "string"
  39818. },
  39819. "outratio": {
  39820. "description": "配置转出比值",
  39821. "type": "integer"
  39822. },
  39823. "outvalue": {
  39824. "description": "源值",
  39825. "type": "number"
  39826. },
  39827. "pddecimalplace": {
  39828. "description": "PD小数位",
  39829. "type": "integer"
  39830. },
  39831. "qty": {
  39832. "description": "数量",
  39833. "type": "string"
  39834. },
  39835. "remark": {
  39836. "description": "备注",
  39837. "type": "string"
  39838. },
  39839. "sessionid": {
  39840. "description": "会话ID",
  39841. "type": "integer"
  39842. },
  39843. "timemaxvalue": {
  39844. "description": "配置单次最大转入限制",
  39845. "type": "number"
  39846. },
  39847. "timemaxvalue2": {
  39848. "description": "配置单次最大转入限制(转入)",
  39849. "type": "number"
  39850. },
  39851. "timeminvalue": {
  39852. "description": "配置单次最小数量限制",
  39853. "type": "number"
  39854. },
  39855. "timeminvalue2": {
  39856. "description": "配置单次最小数量限制(转入)",
  39857. "type": "number"
  39858. },
  39859. "tradedate": {
  39860. "description": "交易日(yyyyMMdd)",
  39861. "type": "string"
  39862. },
  39863. "userid": {
  39864. "description": "用户ID",
  39865. "type": "integer"
  39866. }
  39867. }
  39868. },
  39869. "szdz.QueryGoodsPickupRsp": {
  39870. "type": "object",
  39871. "required": [
  39872. "takeorderid"
  39873. ],
  39874. "properties": {
  39875. "accountid": {
  39876. "description": "账户ID",
  39877. "type": "integer"
  39878. },
  39879. "address": {
  39880. "description": "提货人详细地址",
  39881. "type": "string"
  39882. },
  39883. "auditer": {
  39884. "description": "审核人",
  39885. "type": "integer"
  39886. },
  39887. "audittime": {
  39888. "description": "审核时间",
  39889. "type": "string"
  39890. },
  39891. "cardnum": {
  39892. "description": "提货人证件号码",
  39893. "type": "string"
  39894. },
  39895. "cardtypeid": {
  39896. "description": "提货人证件类型",
  39897. "type": "integer"
  39898. },
  39899. "checkremark": {
  39900. "description": "审核备注",
  39901. "type": "string"
  39902. },
  39903. "goodscode": {
  39904. "description": "商品代码",
  39905. "type": "string"
  39906. },
  39907. "goodsid": {
  39908. "description": "商品ID",
  39909. "type": "integer"
  39910. },
  39911. "goodsname": {
  39912. "description": "商品名称",
  39913. "type": "string"
  39914. },
  39915. "handlestatus": {
  39916. "description": "处理状态",
  39917. "type": "integer"
  39918. },
  39919. "marketid": {
  39920. "description": "市场ID",
  39921. "type": "integer"
  39922. },
  39923. "phonenum": {
  39924. "description": "提货人联系方式",
  39925. "type": "string"
  39926. },
  39927. "qty": {
  39928. "description": "提货数量",
  39929. "type": "number"
  39930. },
  39931. "recivername": {
  39932. "description": "提货人姓名",
  39933. "type": "string"
  39934. },
  39935. "reqtime": {
  39936. "description": "更新时间",
  39937. "type": "string"
  39938. },
  39939. "takemode": {
  39940. "description": "提货方式 - 2:自提 3:配送",
  39941. "type": "integer"
  39942. },
  39943. "takeorderid": {
  39944. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39945. "type": "string"
  39946. },
  39947. "takeorderstatus": {
  39948. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39949. "type": "integer"
  39950. },
  39951. "takeremark": {
  39952. "description": "提货备注",
  39953. "type": "string"
  39954. },
  39955. "tradedate": {
  39956. "description": "交易日(yyyyMMdd)",
  39957. "type": "string"
  39958. },
  39959. "userid": {
  39960. "description": "用户ID",
  39961. "type": "integer"
  39962. }
  39963. }
  39964. },
  39965. "szdz.QueryRecieptOrderRsp": {
  39966. "type": "object",
  39967. "required": [
  39968. "ordertime"
  39969. ],
  39970. "properties": {
  39971. "accountName": {
  39972. "description": "所属账号名称(已脱敏)",
  39973. "type": "string"
  39974. },
  39975. "accountid": {
  39976. "description": "资金账号",
  39977. "type": "integer"
  39978. },
  39979. "buyorsell": {
  39980. "description": "方向 - 0:买 1:卖",
  39981. "type": "integer"
  39982. },
  39983. "enableqty": {
  39984. "description": "可摘数量",
  39985. "type": "integer"
  39986. },
  39987. "goodscode": {
  39988. "description": "商品代码",
  39989. "type": "string"
  39990. },
  39991. "goodsid": {
  39992. "description": "商品ID",
  39993. "type": "integer"
  39994. },
  39995. "goodsname": {
  39996. "description": "商品名称",
  39997. "type": "string"
  39998. },
  39999. "orderid": {
  40000. "description": "委托单号",
  40001. "type": "string"
  40002. },
  40003. "orderprice": {
  40004. "description": "委托价格",
  40005. "type": "number"
  40006. },
  40007. "ordertime": {
  40008. "description": "委托时间",
  40009. "type": "string"
  40010. },
  40011. "tradedate": {
  40012. "description": "交易日(yyyyMMdd)",
  40013. "type": "string"
  40014. }
  40015. }
  40016. },
  40017. "szdz.QuerySZDZTradePositionRsp": {
  40018. "type": "object",
  40019. "properties": {
  40020. "accountid": {
  40021. "description": "账号Id",
  40022. "type": "integer"
  40023. },
  40024. "agreeunit": {
  40025. "description": "合约单位",
  40026. "type": "number"
  40027. },
  40028. "averageprice": {
  40029. "description": "持仓均价",
  40030. "type": "number"
  40031. },
  40032. "buyorsell": {
  40033. "description": "方向 - 0:买 1:卖",
  40034. "type": "integer"
  40035. },
  40036. "closetotalqty": {
  40037. "description": "平仓总数量",
  40038. "type": "integer"
  40039. },
  40040. "curholderamount": {
  40041. "description": "当前持仓总金额",
  40042. "type": "number"
  40043. },
  40044. "curpositionqty": {
  40045. "description": "当前持仓总数量",
  40046. "type": "integer"
  40047. },
  40048. "currencyid": {
  40049. "description": "报价货币ID",
  40050. "type": "integer"
  40051. },
  40052. "curtdposition": {
  40053. "description": "期末今日头寸",
  40054. "type": "integer"
  40055. },
  40056. "decimalplace": {
  40057. "description": "报价小数位",
  40058. "type": "integer"
  40059. },
  40060. "enableqty": {
  40061. "description": "可用量",
  40062. "type": "integer"
  40063. },
  40064. "fretdposition": {
  40065. "description": "冻结今日头寸",
  40066. "type": "integer"
  40067. },
  40068. "frozenqty": {
  40069. "description": "持仓冻结数量",
  40070. "type": "integer"
  40071. },
  40072. "goodscode": {
  40073. "description": "商品代码(内部)",
  40074. "type": "string"
  40075. },
  40076. "goodsid": {
  40077. "description": "商品Id",
  40078. "type": "integer"
  40079. },
  40080. "goodsname": {
  40081. "description": "商品名称",
  40082. "type": "string"
  40083. },
  40084. "goodunit": {
  40085. "description": "报价单位",
  40086. "type": "string"
  40087. },
  40088. "goodunitid": {
  40089. "description": "报价单位ID",
  40090. "type": "integer"
  40091. },
  40092. "holderamount": {
  40093. "description": "期初持仓总金额",
  40094. "type": "number"
  40095. },
  40096. "marketid": {
  40097. "description": "市场ID",
  40098. "type": "integer"
  40099. },
  40100. "openreqqty": {
  40101. "description": "开仓申请数量",
  40102. "type": "integer"
  40103. },
  40104. "opentotalqty": {
  40105. "description": "开仓总数量",
  40106. "type": "integer"
  40107. },
  40108. "otherfrozenqty": {
  40109. "description": "持仓其他冻结数量(交割冻结)",
  40110. "type": "integer"
  40111. },
  40112. "positionqty": {
  40113. "description": "期初持仓数量",
  40114. "type": "integer"
  40115. },
  40116. "szdz3freezqty": {
  40117. "description": "尚志大宗转换冻结总数量",
  40118. "type": "integer"
  40119. },
  40120. "tnqty": {
  40121. "description": "T+N冻结总量",
  40122. "type": "integer"
  40123. },
  40124. "tnusedqty": {
  40125. "description": "T+N使用量",
  40126. "type": "integer"
  40127. },
  40128. "trademode": {
  40129. "description": "交易模式",
  40130. "type": "integer"
  40131. },
  40132. "usedmargin": {
  40133. "description": "占用保证金",
  40134. "type": "number"
  40135. }
  40136. }
  40137. },
  40138. "taaccount.QueryAmountLogRsp": {
  40139. "type": "object",
  40140. "required": [
  40141. "accountid",
  40142. "amount",
  40143. "amountadjusttype",
  40144. "autoid",
  40145. "balance",
  40146. "createtime",
  40147. "currentbalance",
  40148. "operatetype"
  40149. ],
  40150. "properties": {
  40151. "OPERATETYPENAME": {
  40152. "description": "资金操作类型名称",
  40153. "type": "string"
  40154. },
  40155. "accountid": {
  40156. "description": "资金账户ID",
  40157. "type": "integer"
  40158. },
  40159. "agoodscode": {
  40160. "description": "竞拍商品代码",
  40161. "type": "string"
  40162. },
  40163. "agoodsname": {
  40164. "description": "竞拍商品名称",
  40165. "type": "string"
  40166. },
  40167. "amount": {
  40168. "description": "资金金额",
  40169. "type": "number"
  40170. },
  40171. "amountadjusttype": {
  40172. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40173. "type": "integer"
  40174. },
  40175. "autoid": {
  40176. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40177. "type": "integer"
  40178. },
  40179. "balance": {
  40180. "description": "期初余额",
  40181. "type": "number"
  40182. },
  40183. "businesscode": {
  40184. "description": "业务编号",
  40185. "type": "integer"
  40186. },
  40187. "createtime": {
  40188. "description": "发生时间",
  40189. "type": "string"
  40190. },
  40191. "currencyid": {
  40192. "description": "币种ID",
  40193. "type": "integer"
  40194. },
  40195. "currentbalance": {
  40196. "description": "期末余额(变动后金额)",
  40197. "type": "number"
  40198. },
  40199. "dgoodscode": {
  40200. "description": "交割商品代码",
  40201. "type": "string"
  40202. },
  40203. "dgoodsname": {
  40204. "description": "交割商品名称",
  40205. "type": "string"
  40206. },
  40207. "goodscode": {
  40208. "description": "商品代码",
  40209. "type": "string"
  40210. },
  40211. "goodsid": {
  40212. "description": "商品ID",
  40213. "type": "integer"
  40214. },
  40215. "goodsname": {
  40216. "description": "商品名称",
  40217. "type": "string"
  40218. },
  40219. "marketid": {
  40220. "description": "市场ID",
  40221. "type": "integer"
  40222. },
  40223. "marketname": {
  40224. "description": "市场名称",
  40225. "type": "string"
  40226. },
  40227. "moneyticket": {
  40228. "description": "资金流水号:银行端流水号",
  40229. "type": "integer"
  40230. },
  40231. "operatetype": {
  40232. "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:营销收款",
  40233. "type": "integer"
  40234. },
  40235. "relationorderid": {
  40236. "description": "关联单号",
  40237. "type": "string"
  40238. },
  40239. "remark": {
  40240. "description": "备注",
  40241. "type": "string"
  40242. },
  40243. "trademode": {
  40244. "description": "交易模式",
  40245. "type": "integer"
  40246. }
  40247. }
  40248. },
  40249. "taaccount.QueryHisAmountLogRsp": {
  40250. "type": "object",
  40251. "required": [
  40252. "accountid",
  40253. "amount",
  40254. "amountadjusttype",
  40255. "autoid",
  40256. "balance",
  40257. "createtime",
  40258. "currentbalance",
  40259. "histradedate",
  40260. "operatetype"
  40261. ],
  40262. "properties": {
  40263. "OPERATETYPENAME": {
  40264. "description": "资金操作类型名称",
  40265. "type": "string"
  40266. },
  40267. "accountid": {
  40268. "description": "资金账户ID",
  40269. "type": "integer"
  40270. },
  40271. "agoodscode": {
  40272. "description": "竞拍商品代码",
  40273. "type": "string"
  40274. },
  40275. "agoodsname": {
  40276. "description": "竞拍商品名称",
  40277. "type": "string"
  40278. },
  40279. "amount": {
  40280. "description": "资金金额",
  40281. "type": "number"
  40282. },
  40283. "amountadjusttype": {
  40284. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40285. "type": "integer"
  40286. },
  40287. "autoid": {
  40288. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40289. "type": "integer"
  40290. },
  40291. "balance": {
  40292. "description": "期初余额",
  40293. "type": "number"
  40294. },
  40295. "businesscode": {
  40296. "description": "业务编号",
  40297. "type": "integer"
  40298. },
  40299. "createtime": {
  40300. "description": "发生时间",
  40301. "type": "string"
  40302. },
  40303. "currencyid": {
  40304. "description": "币种ID",
  40305. "type": "integer"
  40306. },
  40307. "currentbalance": {
  40308. "description": "期末余额(变动后金额)",
  40309. "type": "number"
  40310. },
  40311. "dgoodscode": {
  40312. "description": "交割商品代码",
  40313. "type": "string"
  40314. },
  40315. "dgoodsname": {
  40316. "description": "交割商品名称",
  40317. "type": "string"
  40318. },
  40319. "goodscode": {
  40320. "description": "商品代码",
  40321. "type": "string"
  40322. },
  40323. "goodsid": {
  40324. "description": "商品ID",
  40325. "type": "integer"
  40326. },
  40327. "goodsname": {
  40328. "description": "商品名称",
  40329. "type": "string"
  40330. },
  40331. "histradedate": {
  40332. "description": "历史交易日",
  40333. "type": "string"
  40334. },
  40335. "isvaliddata": {
  40336. "description": "是否有效 - 0:无效 1:有效",
  40337. "type": "integer"
  40338. },
  40339. "marketid": {
  40340. "description": "市场ID",
  40341. "type": "integer"
  40342. },
  40343. "marketname": {
  40344. "description": "市场名称",
  40345. "type": "string"
  40346. },
  40347. "moneyticket": {
  40348. "description": "资金流水号:银行端流水号",
  40349. "type": "integer"
  40350. },
  40351. "operatetype": {
  40352. "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:营销收款",
  40353. "type": "integer"
  40354. },
  40355. "relationorderid": {
  40356. "description": "关联单号",
  40357. "type": "string"
  40358. },
  40359. "remark": {
  40360. "description": "备注",
  40361. "type": "string"
  40362. },
  40363. "trademode": {
  40364. "description": "交易模式",
  40365. "type": "integer"
  40366. }
  40367. }
  40368. },
  40369. "trade.QueryRecieptOrderRsp": {
  40370. "type": "object",
  40371. "required": [
  40372. "ordertime"
  40373. ],
  40374. "properties": {
  40375. "accountName": {
  40376. "description": "所属账号名称(已脱敏)",
  40377. "type": "string"
  40378. },
  40379. "accountid": {
  40380. "description": "资金账号",
  40381. "type": "integer"
  40382. },
  40383. "buyorsell": {
  40384. "description": "方向 - 0:买 1:卖",
  40385. "type": "integer"
  40386. },
  40387. "enableqty": {
  40388. "description": "可摘数量",
  40389. "type": "integer"
  40390. },
  40391. "goodscode": {
  40392. "description": "商品代码",
  40393. "type": "string"
  40394. },
  40395. "goodsid": {
  40396. "description": "商品ID",
  40397. "type": "integer"
  40398. },
  40399. "goodsname": {
  40400. "description": "商品名称",
  40401. "type": "string"
  40402. },
  40403. "orderid": {
  40404. "description": "委托单号",
  40405. "type": "string"
  40406. },
  40407. "orderprice": {
  40408. "description": "委托价格",
  40409. "type": "number"
  40410. },
  40411. "ordertime": {
  40412. "description": "委托时间",
  40413. "type": "string"
  40414. },
  40415. "tradedate": {
  40416. "description": "交易日(yyyyMMdd)",
  40417. "type": "string"
  40418. }
  40419. }
  40420. },
  40421. "user.LoginQueryRsp": {
  40422. "type": "object",
  40423. "properties": {
  40424. "areaRoles": {
  40425. "description": "所属角色信息",
  40426. "type": "array",
  40427. "items": {
  40428. "$ref": "#/definitions/models.Arearole"
  40429. }
  40430. },
  40431. "externalExchanges": {
  40432. "description": "外部交易所",
  40433. "type": "array",
  40434. "items": {
  40435. "$ref": "#/definitions/models.Externalexchange"
  40436. }
  40437. },
  40438. "goodsgroups": {
  40439. "description": "商品组",
  40440. "type": "array",
  40441. "items": {
  40442. "$ref": "#/definitions/models.Goodsgroup"
  40443. }
  40444. },
  40445. "loginAccount": {
  40446. "description": "登录账号",
  40447. "$ref": "#/definitions/models.Loginaccount"
  40448. },
  40449. "markets": {
  40450. "description": "市场",
  40451. "type": "array",
  40452. "items": {
  40453. "$ref": "#/definitions/models.Market"
  40454. }
  40455. },
  40456. "systemParams": {
  40457. "description": "系统参数",
  40458. "type": "array",
  40459. "items": {
  40460. "$ref": "#/definitions/models.Systemparam"
  40461. }
  40462. },
  40463. "userAccount": {
  40464. "description": "用户账号",
  40465. "$ref": "#/definitions/models.Useraccount"
  40466. },
  40467. "userInfo": {
  40468. "description": "用户信息",
  40469. "$ref": "#/definitions/models.Userinfo"
  40470. },
  40471. "username": {
  40472. "description": "用户姓名",
  40473. "type": "string"
  40474. }
  40475. }
  40476. }
  40477. },
  40478. "securityDefinitions": {
  40479. "ApiKeyAuth": {
  40480. "type": "apiKey",
  40481. "name": "Authorization",
  40482. "in": "header"
  40483. }
  40484. }
  40485. }