swagger.json 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533
  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:我的",
  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": "string",
  902. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  903. "name": "lastUpdateTime",
  904. "in": "query"
  905. }
  906. ],
  907. "responses": {
  908. "200": {
  909. "description": "OK",
  910. "schema": {
  911. "$ref": "#/definitions/models.ErmcpGoods"
  912. }
  913. },
  914. "500": {
  915. "description": "Internal Server Error",
  916. "schema": {
  917. "$ref": "#/definitions/app.Response"
  918. }
  919. }
  920. }
  921. }
  922. },
  923. "/Ermcp/GetErmcpGoodsSortByPosition": {
  924. "get": {
  925. "security": [
  926. {
  927. "ApiKeyAuth": []
  928. }
  929. ],
  930. "produces": [
  931. "application/json"
  932. ],
  933. "tags": [
  934. "企业风险管理(app)"
  935. ],
  936. "summary": "查询企业风管期货主力、次主力商品信息",
  937. "parameters": [
  938. {
  939. "type": "string",
  940. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  941. "name": "sortIndex",
  942. "in": "query"
  943. }
  944. ],
  945. "responses": {
  946. "200": {
  947. "description": "OK",
  948. "schema": {
  949. "$ref": "#/definitions/models.Goodssortbypreposition"
  950. }
  951. },
  952. "500": {
  953. "description": "Internal Server Error",
  954. "schema": {
  955. "$ref": "#/definitions/app.Response"
  956. }
  957. }
  958. }
  959. }
  960. },
  961. "/Ermcp/GetErmcpOutAccountStatus": {
  962. "get": {
  963. "security": [
  964. {
  965. "ApiKeyAuth": []
  966. }
  967. ],
  968. "produces": [
  969. "application/json"
  970. ],
  971. "tags": [
  972. "企业风险管理(app)"
  973. ],
  974. "summary": "获取目标登录账号当前对冲账号在线状态",
  975. "parameters": [
  976. {
  977. "type": "integer",
  978. "description": "登录账号",
  979. "name": "loginID",
  980. "in": "query",
  981. "required": true
  982. }
  983. ],
  984. "responses": {
  985. "200": {
  986. "description": "OK",
  987. "schema": {
  988. "$ref": "#/definitions/models.Hedgemarketopenlog"
  989. }
  990. },
  991. "500": {
  992. "description": "Internal Server Error",
  993. "schema": {
  994. "$ref": "#/definitions/app.Response"
  995. }
  996. }
  997. }
  998. }
  999. },
  1000. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1001. "get": {
  1002. "security": [
  1003. {
  1004. "ApiKeyAuth": []
  1005. }
  1006. ],
  1007. "produces": [
  1008. "application/json"
  1009. ],
  1010. "tags": [
  1011. "企业风险管理(app)"
  1012. ],
  1013. "summary": "获取企业风管终端权限",
  1014. "parameters": [
  1015. {
  1016. "type": "integer",
  1017. "description": "登录账号",
  1018. "name": "loginID",
  1019. "in": "query",
  1020. "required": true
  1021. }
  1022. ],
  1023. "responses": {
  1024. "200": {
  1025. "description": "OK",
  1026. "schema": {
  1027. "$ref": "#/definitions/models.Funcmenulist"
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Ermcp/QueryAccMgrBizGroupSet": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "企业风险管理(app)"
  1051. ],
  1052. "summary": "查询业务类型分组(账户管理/账户设置)",
  1053. "parameters": [
  1054. {
  1055. "type": "integer",
  1056. "description": "用户ID",
  1057. "name": "userid",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "现货商品id",
  1064. "name": "deliverygoodsid",
  1065. "in": "query"
  1066. }
  1067. ],
  1068. "responses": {
  1069. "200": {
  1070. "description": "OK",
  1071. "schema": {
  1072. "type": "array",
  1073. "items": {
  1074. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1075. }
  1076. }
  1077. },
  1078. "500": {
  1079. "description": "Internal Server Error",
  1080. "schema": {
  1081. "$ref": "#/definitions/app.Response"
  1082. }
  1083. }
  1084. }
  1085. }
  1086. },
  1087. "/Ermcp/QueryAccMgrLoginUser": {
  1088. "get": {
  1089. "security": [
  1090. {
  1091. "ApiKeyAuth": []
  1092. }
  1093. ],
  1094. "produces": [
  1095. "application/json"
  1096. ],
  1097. "tags": [
  1098. "企业风险管理(app)"
  1099. ],
  1100. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1101. "parameters": [
  1102. {
  1103. "type": "integer",
  1104. "description": "用户ID",
  1105. "name": "userid",
  1106. "in": "query",
  1107. "required": true
  1108. },
  1109. {
  1110. "type": "integer",
  1111. "description": "用户类型 2-机构 7-企业成员",
  1112. "name": "usertype",
  1113. "in": "query"
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1118. "name": "querytype",
  1119. "in": "query",
  1120. "required": true
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query"
  1162. },
  1163. {
  1164. "type": "integer",
  1165. "description": "主账号id",
  1166. "name": "accountid",
  1167. "in": "query"
  1168. }
  1169. ],
  1170. "responses": {
  1171. "200": {
  1172. "description": "OK",
  1173. "schema": {
  1174. "type": "array",
  1175. "items": {
  1176. "$ref": "#/definitions/models.MainAccountInfo"
  1177. }
  1178. }
  1179. },
  1180. "500": {
  1181. "description": "Internal Server Error",
  1182. "schema": {
  1183. "$ref": "#/definitions/app.Response"
  1184. }
  1185. }
  1186. }
  1187. }
  1188. },
  1189. "/Ermcp/QueryAccMgrRole": {
  1190. "get": {
  1191. "security": [
  1192. {
  1193. "ApiKeyAuth": []
  1194. }
  1195. ],
  1196. "produces": [
  1197. "application/json"
  1198. ],
  1199. "tags": [
  1200. "企业风险管理(app)"
  1201. ],
  1202. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1203. "parameters": [
  1204. {
  1205. "type": "integer",
  1206. "description": "用户ID",
  1207. "name": "userid",
  1208. "in": "query",
  1209. "required": true
  1210. }
  1211. ],
  1212. "responses": {
  1213. "200": {
  1214. "description": "OK",
  1215. "schema": {
  1216. "type": "array",
  1217. "items": {
  1218. "$ref": "#/definitions/models.ErmcpRole"
  1219. }
  1220. }
  1221. },
  1222. "500": {
  1223. "description": "Internal Server Error",
  1224. "schema": {
  1225. "$ref": "#/definitions/app.Response"
  1226. }
  1227. }
  1228. }
  1229. }
  1230. },
  1231. "/Ermcp/QueryAccMgrRoleMenu": {
  1232. "get": {
  1233. "security": [
  1234. {
  1235. "ApiKeyAuth": []
  1236. }
  1237. ],
  1238. "produces": [
  1239. "application/json"
  1240. ],
  1241. "tags": [
  1242. "企业风险管理(app)"
  1243. ],
  1244. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1245. "parameters": [
  1246. {
  1247. "type": "integer",
  1248. "description": "用户ID",
  1249. "name": "userid",
  1250. "in": "query",
  1251. "required": true
  1252. },
  1253. {
  1254. "type": "string",
  1255. "description": "角色id(可多个,逗号隔开)",
  1256. "name": "roleid",
  1257. "in": "query"
  1258. },
  1259. {
  1260. "type": "integer",
  1261. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1262. "name": "menutype",
  1263. "in": "query"
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "type": "array",
  1271. "items": {
  1272. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1273. }
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "produces": [
  1293. "application/json"
  1294. ],
  1295. "tags": [
  1296. "企业风险管理(app)"
  1297. ],
  1298. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1299. "parameters": [
  1300. {
  1301. "type": "integer",
  1302. "description": "用户ID",
  1303. "name": "userid",
  1304. "in": "query",
  1305. "required": true
  1306. },
  1307. {
  1308. "type": "integer",
  1309. "description": "账号id",
  1310. "name": "accountid",
  1311. "in": "query"
  1312. }
  1313. ],
  1314. "responses": {
  1315. "200": {
  1316. "description": "OK",
  1317. "schema": {
  1318. "type": "array",
  1319. "items": {
  1320. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1321. }
  1322. }
  1323. },
  1324. "500": {
  1325. "description": "Internal Server Error",
  1326. "schema": {
  1327. "$ref": "#/definitions/app.Response"
  1328. }
  1329. }
  1330. }
  1331. }
  1332. },
  1333. "/Ermcp/QueryAccMgrTaaccount": {
  1334. "get": {
  1335. "security": [
  1336. {
  1337. "ApiKeyAuth": []
  1338. }
  1339. ],
  1340. "produces": [
  1341. "application/json"
  1342. ],
  1343. "tags": [
  1344. "企业风险管理(app)"
  1345. ],
  1346. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1347. "parameters": [
  1348. {
  1349. "type": "integer",
  1350. "description": "用户ID",
  1351. "name": "userid",
  1352. "in": "query",
  1353. "required": true
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "type": "array",
  1361. "items": {
  1362. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1363. }
  1364. }
  1365. },
  1366. "500": {
  1367. "description": "Internal Server Error",
  1368. "schema": {
  1369. "$ref": "#/definitions/app.Response"
  1370. }
  1371. }
  1372. }
  1373. }
  1374. },
  1375. "/Ermcp/QueryAvaildGoodsGroup": {
  1376. "get": {
  1377. "security": [
  1378. {
  1379. "ApiKeyAuth": []
  1380. }
  1381. ],
  1382. "produces": [
  1383. "application/json"
  1384. ],
  1385. "tags": [
  1386. "企业风险管理(app)"
  1387. ],
  1388. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1389. "parameters": [
  1390. {
  1391. "type": "integer",
  1392. "description": "所属机构ID",
  1393. "name": "userid",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "OK",
  1401. "schema": {
  1402. "type": "array",
  1403. "items": {
  1404. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QueryBusinessDj": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "企业风险管理(app)"
  1429. ],
  1430. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1431. "parameters": [
  1432. {
  1433. "type": "integer",
  1434. "description": "用户ID",
  1435. "name": "UserId",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "用户类型 2-机构 7-企业成员",
  1442. "name": "usertype",
  1443. "in": "query"
  1444. },
  1445. {
  1446. "type": "string",
  1447. "description": "现货合同ID, 不填则查所有",
  1448. "name": "relatedid",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1454. "name": "applystatus",
  1455. "in": "query"
  1456. }
  1457. ],
  1458. "responses": {
  1459. "200": {
  1460. "description": "OK",
  1461. "schema": {
  1462. "type": "array",
  1463. "items": {
  1464. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1465. }
  1466. }
  1467. },
  1468. "500": {
  1469. "description": "Internal Server Error",
  1470. "schema": {
  1471. "$ref": "#/definitions/app.Response"
  1472. }
  1473. }
  1474. }
  1475. }
  1476. },
  1477. "/Ermcp/QueryBusinessFp": {
  1478. "get": {
  1479. "security": [
  1480. {
  1481. "ApiKeyAuth": []
  1482. }
  1483. ],
  1484. "produces": [
  1485. "application/json"
  1486. ],
  1487. "tags": [
  1488. "企业风险管理(app)"
  1489. ],
  1490. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1491. "parameters": [
  1492. {
  1493. "type": "integer",
  1494. "description": "用户ID",
  1495. "name": "UserId",
  1496. "in": "query",
  1497. "required": true
  1498. },
  1499. {
  1500. "type": "integer",
  1501. "description": "用户类型 2-机构 7-企业成员",
  1502. "name": "usertype",
  1503. "in": "query"
  1504. },
  1505. {
  1506. "type": "string",
  1507. "description": "现货合同ID, 不填则查所有",
  1508. "name": "relatedid",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1514. "name": "applystatus",
  1515. "in": "query"
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Ermcp/QueryBusinessJs": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "企业风险管理(app)"
  1549. ],
  1550. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1551. "parameters": [
  1552. {
  1553. "type": "integer",
  1554. "description": "用户ID",
  1555. "name": "UserId",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "用户类型 2-机构 7-企业成员",
  1562. "name": "usertype",
  1563. "in": "query"
  1564. },
  1565. {
  1566. "type": "string",
  1567. "description": "现货合同ID, 不填则查所有",
  1568. "name": "relatedid",
  1569. "in": "query"
  1570. },
  1571. {
  1572. "type": "string",
  1573. "description": "操作申请id",
  1574. "name": "operateapplyid",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1580. "name": "applystatus",
  1581. "in": "query"
  1582. }
  1583. ],
  1584. "responses": {
  1585. "200": {
  1586. "description": "OK",
  1587. "schema": {
  1588. "type": "array",
  1589. "items": {
  1590. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1591. }
  1592. }
  1593. },
  1594. "500": {
  1595. "description": "Internal Server Error",
  1596. "schema": {
  1597. "$ref": "#/definitions/app.Response"
  1598. }
  1599. }
  1600. }
  1601. }
  1602. },
  1603. "/Ermcp/QueryBusinessJsEx": {
  1604. "get": {
  1605. "security": [
  1606. {
  1607. "ApiKeyAuth": []
  1608. }
  1609. ],
  1610. "produces": [
  1611. "application/json"
  1612. ],
  1613. "tags": [
  1614. "企业风险管理(app)"
  1615. ],
  1616. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1617. "parameters": [
  1618. {
  1619. "type": "integer",
  1620. "description": "用户ID",
  1621. "name": "UserId",
  1622. "in": "query",
  1623. "required": true
  1624. },
  1625. {
  1626. "type": "integer",
  1627. "description": "用户类型 2-机构 7-企业成员",
  1628. "name": "usertype",
  1629. "in": "query"
  1630. },
  1631. {
  1632. "type": "string",
  1633. "description": "现货合同ID, 不填则查所有",
  1634. "name": "relatedid",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1640. "name": "applystatus",
  1641. "in": "query"
  1642. }
  1643. ],
  1644. "responses": {
  1645. "200": {
  1646. "description": "OK",
  1647. "schema": {
  1648. "type": "array",
  1649. "items": {
  1650. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1651. }
  1652. }
  1653. },
  1654. "500": {
  1655. "description": "Internal Server Error",
  1656. "schema": {
  1657. "$ref": "#/definitions/app.Response"
  1658. }
  1659. }
  1660. }
  1661. }
  1662. },
  1663. "/Ermcp/QueryBusinessKx": {
  1664. "get": {
  1665. "security": [
  1666. {
  1667. "ApiKeyAuth": []
  1668. }
  1669. ],
  1670. "produces": [
  1671. "application/json"
  1672. ],
  1673. "tags": [
  1674. "企业风险管理(app)"
  1675. ],
  1676. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1677. "parameters": [
  1678. {
  1679. "type": "integer",
  1680. "description": "用户ID",
  1681. "name": "UserId",
  1682. "in": "query",
  1683. "required": true
  1684. },
  1685. {
  1686. "type": "integer",
  1687. "description": "用户类型 2-机构 7-企业成员",
  1688. "name": "usertype",
  1689. "in": "query"
  1690. },
  1691. {
  1692. "type": "string",
  1693. "description": "现货合同ID, 不填则查所有",
  1694. "name": "relatedid",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1700. "name": "applystatus",
  1701. "in": "query"
  1702. }
  1703. ],
  1704. "responses": {
  1705. "200": {
  1706. "description": "OK",
  1707. "schema": {
  1708. "type": "array",
  1709. "items": {
  1710. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1711. }
  1712. }
  1713. },
  1714. "500": {
  1715. "description": "Internal Server Error",
  1716. "schema": {
  1717. "$ref": "#/definitions/app.Response"
  1718. }
  1719. }
  1720. }
  1721. }
  1722. },
  1723. "/Ermcp/QueryChangeLog": {
  1724. "get": {
  1725. "security": [
  1726. {
  1727. "ApiKeyAuth": []
  1728. }
  1729. ],
  1730. "produces": [
  1731. "application/json"
  1732. ],
  1733. "tags": [
  1734. "企业风险管理(app)"
  1735. ],
  1736. "summary": "查询变更记录",
  1737. "parameters": [
  1738. {
  1739. "type": "string",
  1740. "description": "合同ID",
  1741. "name": "RelatedId",
  1742. "in": "query",
  1743. "required": true
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "type": "array",
  1751. "items": {
  1752. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1753. }
  1754. }
  1755. },
  1756. "500": {
  1757. "description": "Internal Server Error",
  1758. "schema": {
  1759. "$ref": "#/definitions/app.Response"
  1760. }
  1761. }
  1762. }
  1763. }
  1764. },
  1765. "/Ermcp/QueryErmcpHisOrderDetails": {
  1766. "get": {
  1767. "security": [
  1768. {
  1769. "ApiKeyAuth": []
  1770. }
  1771. ],
  1772. "produces": [
  1773. "application/json"
  1774. ],
  1775. "tags": [
  1776. "企业风险管理(app)"
  1777. ],
  1778. "summary": "获取企业风管期货历史委托单信息",
  1779. "parameters": [
  1780. {
  1781. "type": "integer",
  1782. "description": "资金账户ID",
  1783. "name": "accountID",
  1784. "in": "query",
  1785. "required": true
  1786. },
  1787. {
  1788. "type": "string",
  1789. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1790. "name": "startDate",
  1791. "in": "query"
  1792. },
  1793. {
  1794. "type": "string",
  1795. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1796. "name": "endDate",
  1797. "in": "query"
  1798. }
  1799. ],
  1800. "responses": {
  1801. "200": {
  1802. "description": "OK",
  1803. "schema": {
  1804. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1805. }
  1806. },
  1807. "500": {
  1808. "description": "Internal Server Error",
  1809. "schema": {
  1810. "$ref": "#/definitions/app.Response"
  1811. }
  1812. }
  1813. }
  1814. }
  1815. },
  1816. "/Ermcp/QueryErmcpHisTradeDetails": {
  1817. "get": {
  1818. "security": [
  1819. {
  1820. "ApiKeyAuth": []
  1821. }
  1822. ],
  1823. "produces": [
  1824. "application/json"
  1825. ],
  1826. "tags": [
  1827. "企业风险管理(app)"
  1828. ],
  1829. "summary": "获取企业风管期货历史成交单信息",
  1830. "parameters": [
  1831. {
  1832. "type": "integer",
  1833. "description": "资金账户ID",
  1834. "name": "accountID",
  1835. "in": "query",
  1836. "required": true
  1837. },
  1838. {
  1839. "type": "integer",
  1840. "description": "商品ID",
  1841. "name": "goodsID",
  1842. "in": "query"
  1843. },
  1844. {
  1845. "type": "integer",
  1846. "description": "买卖方向,0:买 1:卖",
  1847. "name": "buyOrSell",
  1848. "in": "query"
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "关联委托单号",
  1853. "name": "orderID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "string",
  1858. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1859. "name": "startDate",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "string",
  1864. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1865. "name": "endDate",
  1866. "in": "query"
  1867. }
  1868. ],
  1869. "responses": {
  1870. "200": {
  1871. "description": "OK",
  1872. "schema": {
  1873. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1874. }
  1875. },
  1876. "500": {
  1877. "description": "Internal Server Error",
  1878. "schema": {
  1879. "$ref": "#/definitions/app.Response"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1886. "get": {
  1887. "security": [
  1888. {
  1889. "ApiKeyAuth": []
  1890. }
  1891. ],
  1892. "produces": [
  1893. "application/json"
  1894. ],
  1895. "tags": [
  1896. "企业风险管理(app)"
  1897. ],
  1898. "summary": "获取企业风管期货内部持仓单信息",
  1899. "parameters": [
  1900. {
  1901. "type": "integer",
  1902. "description": "资金账户ID",
  1903. "name": "accountID",
  1904. "in": "query",
  1905. "required": true
  1906. },
  1907. {
  1908. "type": "integer",
  1909. "description": "商品ID",
  1910. "name": "goodsID",
  1911. "in": "query"
  1912. },
  1913. {
  1914. "type": "integer",
  1915. "description": "买卖方向,0:买 1:卖",
  1916. "name": "buyOrSell",
  1917. "in": "query"
  1918. }
  1919. ],
  1920. "responses": {
  1921. "200": {
  1922. "description": "OK",
  1923. "schema": {
  1924. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1925. }
  1926. },
  1927. "500": {
  1928. "description": "Internal Server Error",
  1929. "schema": {
  1930. "$ref": "#/definitions/app.Response"
  1931. }
  1932. }
  1933. }
  1934. }
  1935. },
  1936. "/Ermcp/QueryErmcpOrderDetails": {
  1937. "get": {
  1938. "security": [
  1939. {
  1940. "ApiKeyAuth": []
  1941. }
  1942. ],
  1943. "produces": [
  1944. "application/json"
  1945. ],
  1946. "tags": [
  1947. "企业风险管理(app)"
  1948. ],
  1949. "summary": "获取企业风管期货委托单信息",
  1950. "parameters": [
  1951. {
  1952. "type": "integer",
  1953. "description": "资金账户ID",
  1954. "name": "accountID",
  1955. "in": "query",
  1956. "required": true
  1957. }
  1958. ],
  1959. "responses": {
  1960. "200": {
  1961. "description": "OK",
  1962. "schema": {
  1963. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1964. }
  1965. },
  1966. "500": {
  1967. "description": "Internal Server Error",
  1968. "schema": {
  1969. "$ref": "#/definitions/app.Response"
  1970. }
  1971. }
  1972. }
  1973. }
  1974. },
  1975. "/Ermcp/QueryErmcpTradeDetails": {
  1976. "get": {
  1977. "security": [
  1978. {
  1979. "ApiKeyAuth": []
  1980. }
  1981. ],
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "企业风险管理(app)"
  1987. ],
  1988. "summary": "获取企业风管期货成交单信息",
  1989. "parameters": [
  1990. {
  1991. "type": "integer",
  1992. "description": "资金账户ID",
  1993. "name": "accountID",
  1994. "in": "query",
  1995. "required": true
  1996. },
  1997. {
  1998. "type": "integer",
  1999. "description": "商品ID",
  2000. "name": "goodsID",
  2001. "in": "query"
  2002. },
  2003. {
  2004. "type": "integer",
  2005. "description": "买卖方向,0:买 1:卖",
  2006. "name": "buyOrSell",
  2007. "in": "query"
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "关联委托单号",
  2012. "name": "orderID",
  2013. "in": "query"
  2014. }
  2015. ],
  2016. "responses": {
  2017. "200": {
  2018. "description": "OK",
  2019. "schema": {
  2020. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2021. }
  2022. },
  2023. "500": {
  2024. "description": "Internal Server Error",
  2025. "schema": {
  2026. "$ref": "#/definitions/app.Response"
  2027. }
  2028. }
  2029. }
  2030. }
  2031. },
  2032. "/Ermcp/QueryErmcpTradePosition": {
  2033. "get": {
  2034. "security": [
  2035. {
  2036. "ApiKeyAuth": []
  2037. }
  2038. ],
  2039. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2040. "produces": [
  2041. "application/json"
  2042. ],
  2043. "tags": [
  2044. "企业风险管理(app)"
  2045. ],
  2046. "summary": "获取企业风管期货持仓头寸信息",
  2047. "parameters": [
  2048. {
  2049. "type": "integer",
  2050. "description": "资金账户ID",
  2051. "name": "accountID",
  2052. "in": "query",
  2053. "required": true
  2054. },
  2055. {
  2056. "type": "integer",
  2057. "description": "所属市场ID",
  2058. "name": "marketID",
  2059. "in": "query"
  2060. }
  2061. ],
  2062. "responses": {
  2063. "200": {
  2064. "description": "OK",
  2065. "schema": {
  2066. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2067. }
  2068. },
  2069. "500": {
  2070. "description": "Internal Server Error",
  2071. "schema": {
  2072. "$ref": "#/definitions/app.Response"
  2073. }
  2074. }
  2075. }
  2076. }
  2077. },
  2078. "/Ermcp/QueryExposureDetail": {
  2079. "get": {
  2080. "security": [
  2081. {
  2082. "ApiKeyAuth": []
  2083. }
  2084. ],
  2085. "produces": [
  2086. "application/json"
  2087. ],
  2088. "tags": [
  2089. "企业风险管理(app)"
  2090. ],
  2091. "summary": "查询敞口现货明细",
  2092. "parameters": [
  2093. {
  2094. "type": "integer",
  2095. "description": "所属机构ID",
  2096. "name": "areaUserId",
  2097. "in": "query",
  2098. "required": true
  2099. },
  2100. {
  2101. "type": "integer",
  2102. "description": "套保商品",
  2103. "name": "middleGoodsId",
  2104. "in": "query",
  2105. "required": true
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2115. }
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/Ermcp/QueryExposureGoods": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "produces": [
  2135. "application/json"
  2136. ],
  2137. "tags": [
  2138. "企业风险管理(app)"
  2139. ],
  2140. "summary": "查询敞口主力合约",
  2141. "parameters": [
  2142. {
  2143. "type": "integer",
  2144. "description": "套保商品id",
  2145. "name": "middlegoodsid",
  2146. "in": "query",
  2147. "required": true
  2148. }
  2149. ],
  2150. "responses": {
  2151. "200": {
  2152. "description": "OK",
  2153. "schema": {
  2154. "type": "array",
  2155. "items": {
  2156. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2157. }
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Ermcp/QueryExposureHedgePosition": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "企业风险管理(app)"
  2181. ],
  2182. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2183. "parameters": [
  2184. {
  2185. "type": "integer",
  2186. "description": "用户id",
  2187. "name": "userid",
  2188. "in": "query",
  2189. "required": true
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "type": "array",
  2197. "items": {
  2198. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2199. }
  2200. }
  2201. },
  2202. "500": {
  2203. "description": "Internal Server Error",
  2204. "schema": {
  2205. "$ref": "#/definitions/app.Response"
  2206. }
  2207. }
  2208. }
  2209. }
  2210. },
  2211. "/Ermcp/QueryExposureHedgePositionDetail": {
  2212. "get": {
  2213. "security": [
  2214. {
  2215. "ApiKeyAuth": []
  2216. }
  2217. ],
  2218. "produces": [
  2219. "application/json"
  2220. ],
  2221. "tags": [
  2222. "企业风险管理(app)"
  2223. ],
  2224. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2225. "parameters": [
  2226. {
  2227. "type": "integer",
  2228. "description": "所属机构ID",
  2229. "name": "userid",
  2230. "in": "query",
  2231. "required": true
  2232. },
  2233. {
  2234. "type": "integer",
  2235. "description": "商品id",
  2236. "name": "goodsId",
  2237. "in": "query",
  2238. "required": true
  2239. }
  2240. ],
  2241. "responses": {
  2242. "200": {
  2243. "description": "OK",
  2244. "schema": {
  2245. "type": "array",
  2246. "items": {
  2247. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2248. }
  2249. }
  2250. },
  2251. "500": {
  2252. "description": "Internal Server Error",
  2253. "schema": {
  2254. "$ref": "#/definitions/app.Response"
  2255. }
  2256. }
  2257. }
  2258. }
  2259. },
  2260. "/Ermcp/QueryExposureSpot": {
  2261. "get": {
  2262. "security": [
  2263. {
  2264. "ApiKeyAuth": []
  2265. }
  2266. ],
  2267. "produces": [
  2268. "application/json"
  2269. ],
  2270. "tags": [
  2271. "企业风险管理(app)"
  2272. ],
  2273. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2274. "parameters": [
  2275. {
  2276. "type": "integer",
  2277. "description": "所属机构ID",
  2278. "name": "areaUserId",
  2279. "in": "query",
  2280. "required": true
  2281. }
  2282. ],
  2283. "responses": {
  2284. "200": {
  2285. "description": "OK",
  2286. "schema": {
  2287. "type": "array",
  2288. "items": {
  2289. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2290. }
  2291. }
  2292. },
  2293. "500": {
  2294. "description": "Internal Server Error",
  2295. "schema": {
  2296. "$ref": "#/definitions/app.Response"
  2297. }
  2298. }
  2299. }
  2300. }
  2301. },
  2302. "/Ermcp/QueryExposureSpotDetail": {
  2303. "get": {
  2304. "security": [
  2305. {
  2306. "ApiKeyAuth": []
  2307. }
  2308. ],
  2309. "produces": [
  2310. "application/json"
  2311. ],
  2312. "tags": [
  2313. "企业风险管理(app)"
  2314. ],
  2315. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2316. "parameters": [
  2317. {
  2318. "type": "integer",
  2319. "description": "所属机构ID",
  2320. "name": "areaUserId",
  2321. "in": "query",
  2322. "required": true
  2323. },
  2324. {
  2325. "type": "integer",
  2326. "description": "现货品种ID",
  2327. "name": "wrstandardId",
  2328. "in": "query",
  2329. "required": true
  2330. }
  2331. ],
  2332. "responses": {
  2333. "200": {
  2334. "description": "OK",
  2335. "schema": {
  2336. "type": "array",
  2337. "items": {
  2338. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2339. }
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/Ermcp/QueryFuturesCompany": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "produces": [
  2359. "application/json"
  2360. ],
  2361. "tags": [
  2362. "企业风险管理(app)"
  2363. ],
  2364. "summary": "查询期货公司",
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryGGConvertConfig": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "品种id(不填则查所有)",
  2402. "name": "goodsgroupid",
  2403. "in": "query"
  2404. }
  2405. ],
  2406. "responses": {
  2407. "200": {
  2408. "description": "OK",
  2409. "schema": {
  2410. "type": "array",
  2411. "items": {
  2412. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2413. }
  2414. }
  2415. },
  2416. "500": {
  2417. "description": "Internal Server Error",
  2418. "schema": {
  2419. "$ref": "#/definitions/app.Response"
  2420. }
  2421. }
  2422. }
  2423. }
  2424. },
  2425. "/Ermcp/QueryGoodsBrand": {
  2426. "get": {
  2427. "security": [
  2428. {
  2429. "ApiKeyAuth": []
  2430. }
  2431. ],
  2432. "produces": [
  2433. "application/json"
  2434. ],
  2435. "tags": [
  2436. "企业风险管理(app)"
  2437. ],
  2438. "summary": "查询商品品牌",
  2439. "parameters": [
  2440. {
  2441. "type": "integer",
  2442. "description": "用户ID",
  2443. "name": "userid",
  2444. "in": "query",
  2445. "required": true
  2446. },
  2447. {
  2448. "type": "integer",
  2449. "description": "现货商品ID",
  2450. "name": "wrstandardid",
  2451. "in": "query"
  2452. }
  2453. ],
  2454. "responses": {
  2455. "200": {
  2456. "description": "OK",
  2457. "schema": {
  2458. "type": "array",
  2459. "items": {
  2460. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2461. }
  2462. }
  2463. },
  2464. "500": {
  2465. "description": "Internal Server Error",
  2466. "schema": {
  2467. "$ref": "#/definitions/app.Response"
  2468. }
  2469. }
  2470. }
  2471. }
  2472. },
  2473. "/Ermcp/QueryGoodsModel": {
  2474. "get": {
  2475. "security": [
  2476. {
  2477. "ApiKeyAuth": []
  2478. }
  2479. ],
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "企业风险管理(app)"
  2485. ],
  2486. "summary": "查询商品型号",
  2487. "parameters": [
  2488. {
  2489. "type": "integer",
  2490. "description": "用户ID",
  2491. "name": "userid",
  2492. "in": "query",
  2493. "required": true
  2494. }
  2495. ],
  2496. "responses": {
  2497. "200": {
  2498. "description": "OK",
  2499. "schema": {
  2500. "type": "array",
  2501. "items": {
  2502. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2503. }
  2504. }
  2505. },
  2506. "500": {
  2507. "description": "Internal Server Error",
  2508. "schema": {
  2509. "$ref": "#/definitions/app.Response"
  2510. }
  2511. }
  2512. }
  2513. }
  2514. },
  2515. "/Ermcp/QueryHisExposure": {
  2516. "get": {
  2517. "security": [
  2518. {
  2519. "ApiKeyAuth": []
  2520. }
  2521. ],
  2522. "produces": [
  2523. "application/json"
  2524. ],
  2525. "tags": [
  2526. "企业风险管理(app)"
  2527. ],
  2528. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2529. "parameters": [
  2530. {
  2531. "type": "integer",
  2532. "description": "用户id",
  2533. "name": "userid",
  2534. "in": "query",
  2535. "required": true
  2536. },
  2537. {
  2538. "type": "integer",
  2539. "description": "每个品种记录数",
  2540. "name": "lastNum",
  2541. "in": "query",
  2542. "required": true
  2543. }
  2544. ],
  2545. "responses": {
  2546. "200": {
  2547. "description": "OK",
  2548. "schema": {
  2549. "type": "array",
  2550. "items": {
  2551. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2552. }
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/Ermcp/QueryMiddleGoods": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "企业风险管理(app)"
  2576. ],
  2577. "summary": "查询套保品种(菜单:套保品种)",
  2578. "parameters": [
  2579. {
  2580. "type": "integer",
  2581. "description": "所属机构ID",
  2582. "name": "userid",
  2583. "in": "query",
  2584. "required": true
  2585. },
  2586. {
  2587. "type": "integer",
  2588. "description": "状态 0-停用 1-正常",
  2589. "name": "status",
  2590. "in": "query",
  2591. "required": true
  2592. }
  2593. ],
  2594. "responses": {
  2595. "200": {
  2596. "description": "OK",
  2597. "schema": {
  2598. "type": "array",
  2599. "items": {
  2600. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2601. }
  2602. }
  2603. },
  2604. "500": {
  2605. "description": "Internal Server Error",
  2606. "schema": {
  2607. "$ref": "#/definitions/app.Response"
  2608. }
  2609. }
  2610. }
  2611. }
  2612. },
  2613. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2614. "get": {
  2615. "security": [
  2616. {
  2617. "ApiKeyAuth": []
  2618. }
  2619. ],
  2620. "produces": [
  2621. "application/json"
  2622. ],
  2623. "tags": [
  2624. "企业风险管理(app)"
  2625. ],
  2626. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2627. "parameters": [
  2628. {
  2629. "type": "integer",
  2630. "description": "所属机构ID",
  2631. "name": "userid",
  2632. "in": "query",
  2633. "required": true
  2634. },
  2635. {
  2636. "type": "integer",
  2637. "description": "套保品种id",
  2638. "name": "middlegoodsid",
  2639. "in": "query",
  2640. "required": true
  2641. }
  2642. ],
  2643. "responses": {
  2644. "200": {
  2645. "description": "OK",
  2646. "schema": {
  2647. "type": "array",
  2648. "items": {
  2649. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2650. }
  2651. }
  2652. },
  2653. "500": {
  2654. "description": "Internal Server Error",
  2655. "schema": {
  2656. "$ref": "#/definitions/app.Response"
  2657. }
  2658. }
  2659. }
  2660. }
  2661. },
  2662. "/Ermcp/QueryMiddleGoodsDetail": {
  2663. "get": {
  2664. "security": [
  2665. {
  2666. "ApiKeyAuth": []
  2667. }
  2668. ],
  2669. "produces": [
  2670. "application/json"
  2671. ],
  2672. "tags": [
  2673. "企业风险管理(app)"
  2674. ],
  2675. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2676. "parameters": [
  2677. {
  2678. "type": "integer",
  2679. "description": "所属机构ID",
  2680. "name": "userid",
  2681. "in": "query",
  2682. "required": true
  2683. },
  2684. {
  2685. "type": "integer",
  2686. "description": "套保品种id",
  2687. "name": "middlegoodsid",
  2688. "in": "query"
  2689. }
  2690. ],
  2691. "responses": {
  2692. "200": {
  2693. "description": "OK",
  2694. "schema": {
  2695. "type": "array",
  2696. "items": {
  2697. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2698. }
  2699. }
  2700. },
  2701. "500": {
  2702. "description": "Internal Server Error",
  2703. "schema": {
  2704. "$ref": "#/definitions/app.Response"
  2705. }
  2706. }
  2707. }
  2708. }
  2709. },
  2710. "/Ermcp/QueryPendingAuditInfo": {
  2711. "get": {
  2712. "security": [
  2713. {
  2714. "ApiKeyAuth": []
  2715. }
  2716. ],
  2717. "produces": [
  2718. "application/json"
  2719. ],
  2720. "tags": [
  2721. "企业风险管理(app)"
  2722. ],
  2723. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2724. "parameters": [
  2725. {
  2726. "type": "integer",
  2727. "description": "用户ID",
  2728. "name": "UserId",
  2729. "in": "query",
  2730. "required": true
  2731. }
  2732. ],
  2733. "responses": {
  2734. "200": {
  2735. "description": "OK",
  2736. "schema": {
  2737. "type": "array",
  2738. "items": {
  2739. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2740. }
  2741. }
  2742. },
  2743. "500": {
  2744. "description": "Internal Server Error",
  2745. "schema": {
  2746. "$ref": "#/definitions/app.Response"
  2747. }
  2748. }
  2749. }
  2750. }
  2751. },
  2752. "/Ermcp/QueryRealtimeExposure": {
  2753. "get": {
  2754. "security": [
  2755. {
  2756. "ApiKeyAuth": []
  2757. }
  2758. ],
  2759. "produces": [
  2760. "application/json"
  2761. ],
  2762. "tags": [
  2763. "企业风险管理(app)"
  2764. ],
  2765. "summary": "查询实时敞口",
  2766. "parameters": [
  2767. {
  2768. "type": "integer",
  2769. "description": "所属机构ID",
  2770. "name": "userid",
  2771. "in": "query",
  2772. "required": true
  2773. }
  2774. ],
  2775. "responses": {
  2776. "200": {
  2777. "description": "OK",
  2778. "schema": {
  2779. "type": "array",
  2780. "items": {
  2781. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2782. }
  2783. }
  2784. },
  2785. "500": {
  2786. "description": "Internal Server Error",
  2787. "schema": {
  2788. "$ref": "#/definitions/app.Response"
  2789. }
  2790. }
  2791. }
  2792. }
  2793. },
  2794. "/Ermcp/QueryRealtimeExposurePosition": {
  2795. "get": {
  2796. "security": [
  2797. {
  2798. "ApiKeyAuth": []
  2799. }
  2800. ],
  2801. "produces": [
  2802. "application/json"
  2803. ],
  2804. "tags": [
  2805. "企业风险管理(app)"
  2806. ],
  2807. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2808. "parameters": [
  2809. {
  2810. "type": "integer",
  2811. "description": "用户id",
  2812. "name": "userid",
  2813. "in": "query",
  2814. "required": true
  2815. },
  2816. {
  2817. "type": "integer",
  2818. "description": "套保商品ID",
  2819. "name": "middleGoodsId",
  2820. "in": "query",
  2821. "required": true
  2822. }
  2823. ],
  2824. "responses": {
  2825. "200": {
  2826. "description": "OK",
  2827. "schema": {
  2828. "type": "array",
  2829. "items": {
  2830. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2831. }
  2832. }
  2833. },
  2834. "500": {
  2835. "description": "Internal Server Error",
  2836. "schema": {
  2837. "$ref": "#/definitions/app.Response"
  2838. }
  2839. }
  2840. }
  2841. }
  2842. },
  2843. "/Ermcp/QueryRoleMenu": {
  2844. "get": {
  2845. "security": [
  2846. {
  2847. "ApiKeyAuth": []
  2848. }
  2849. ],
  2850. "produces": [
  2851. "application/json"
  2852. ],
  2853. "tags": [
  2854. "企业风险管理(app)"
  2855. ],
  2856. "summary": "查询角色菜单和权限",
  2857. "parameters": [
  2858. {
  2859. "type": "integer",
  2860. "description": "登录ID",
  2861. "name": "loginid",
  2862. "in": "query",
  2863. "required": true
  2864. },
  2865. {
  2866. "type": "integer",
  2867. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2868. "name": "menutype",
  2869. "in": "query"
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "type": "array",
  2877. "items": {
  2878. "$ref": "#/definitions/models.RoleMenu"
  2879. }
  2880. }
  2881. },
  2882. "500": {
  2883. "description": "Internal Server Error",
  2884. "schema": {
  2885. "$ref": "#/definitions/app.Response"
  2886. }
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "/Ermcp/QueryTradeConfigTMP": {
  2892. "get": {
  2893. "security": [
  2894. {
  2895. "ApiKeyAuth": []
  2896. }
  2897. ],
  2898. "produces": [
  2899. "application/json"
  2900. ],
  2901. "tags": [
  2902. "企业风险管理(app)"
  2903. ],
  2904. "summary": "查询交易模板配置",
  2905. "parameters": [
  2906. {
  2907. "type": "integer",
  2908. "description": "所属机构id",
  2909. "name": "areauserid",
  2910. "in": "query"
  2911. }
  2912. ],
  2913. "responses": {
  2914. "200": {
  2915. "description": "OK",
  2916. "schema": {
  2917. "type": "array",
  2918. "items": {
  2919. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2920. }
  2921. }
  2922. },
  2923. "500": {
  2924. "description": "Internal Server Error",
  2925. "schema": {
  2926. "$ref": "#/definitions/app.Response"
  2927. }
  2928. }
  2929. }
  2930. }
  2931. },
  2932. "/Ermcp/QueryUserInfo": {
  2933. "get": {
  2934. "security": [
  2935. {
  2936. "ApiKeyAuth": []
  2937. }
  2938. ],
  2939. "produces": [
  2940. "application/json"
  2941. ],
  2942. "tags": [
  2943. "企业风险管理(app)"
  2944. ],
  2945. "summary": "查询客户资料",
  2946. "parameters": [
  2947. {
  2948. "type": "integer",
  2949. "description": "所属机构用户ID",
  2950. "name": "MemberUserID",
  2951. "in": "query",
  2952. "required": true
  2953. },
  2954. {
  2955. "type": "integer",
  2956. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2957. "name": "queryType",
  2958. "in": "query",
  2959. "required": true
  2960. }
  2961. ],
  2962. "responses": {
  2963. "200": {
  2964. "description": "OK",
  2965. "schema": {
  2966. "type": "array",
  2967. "items": {
  2968. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2969. }
  2970. }
  2971. },
  2972. "500": {
  2973. "description": "Internal Server Error",
  2974. "schema": {
  2975. "$ref": "#/definitions/app.Response"
  2976. }
  2977. }
  2978. }
  2979. }
  2980. },
  2981. "/Ermcp/QueryWarehouseInfo": {
  2982. "get": {
  2983. "security": [
  2984. {
  2985. "ApiKeyAuth": []
  2986. }
  2987. ],
  2988. "produces": [
  2989. "application/json"
  2990. ],
  2991. "tags": [
  2992. "企业风险管理(app)"
  2993. ],
  2994. "summary": "查询仓库信息",
  2995. "parameters": [
  2996. {
  2997. "type": "integer",
  2998. "description": "用户ID",
  2999. "name": "userid",
  3000. "in": "query",
  3001. "required": true
  3002. },
  3003. {
  3004. "type": "string",
  3005. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3006. "name": "status",
  3007. "in": "query"
  3008. }
  3009. ],
  3010. "responses": {
  3011. "200": {
  3012. "description": "OK",
  3013. "schema": {
  3014. "type": "array",
  3015. "items": {
  3016. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3017. }
  3018. }
  3019. },
  3020. "500": {
  3021. "description": "Internal Server Error",
  3022. "schema": {
  3023. "$ref": "#/definitions/app.Response"
  3024. }
  3025. }
  3026. }
  3027. }
  3028. },
  3029. "/Ermcp3/QryAreaExpourseContractDetail": {
  3030. "get": {
  3031. "security": [
  3032. {
  3033. "ApiKeyAuth": []
  3034. }
  3035. ],
  3036. "produces": [
  3037. "application/json"
  3038. ],
  3039. "tags": [
  3040. "企业风险管理v3(app)"
  3041. ],
  3042. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3043. "parameters": [
  3044. {
  3045. "type": "integer",
  3046. "description": "用户ID",
  3047. "name": "userid",
  3048. "in": "query",
  3049. "required": true
  3050. },
  3051. {
  3052. "type": "integer",
  3053. "description": "套保商品id",
  3054. "name": "middlegoodsid",
  3055. "in": "query",
  3056. "required": true
  3057. },
  3058. {
  3059. "type": "integer",
  3060. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3061. "name": "cycletype",
  3062. "in": "query",
  3063. "required": true
  3064. },
  3065. {
  3066. "type": "string",
  3067. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3068. "name": "cycletime",
  3069. "in": "query",
  3070. "required": true
  3071. }
  3072. ],
  3073. "responses": {
  3074. "200": {
  3075. "description": "OK",
  3076. "schema": {
  3077. "type": "array",
  3078. "items": {
  3079. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3080. }
  3081. }
  3082. },
  3083. "500": {
  3084. "description": "Internal Server Error",
  3085. "schema": {
  3086. "$ref": "#/definitions/app.Response"
  3087. }
  3088. }
  3089. }
  3090. }
  3091. },
  3092. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3093. "get": {
  3094. "security": [
  3095. {
  3096. "ApiKeyAuth": []
  3097. }
  3098. ],
  3099. "produces": [
  3100. "application/json"
  3101. ],
  3102. "tags": [
  3103. "企业风险管理v3(app)"
  3104. ],
  3105. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3106. "parameters": [
  3107. {
  3108. "type": "integer",
  3109. "description": "用户ID",
  3110. "name": "userid",
  3111. "in": "query",
  3112. "required": true
  3113. },
  3114. {
  3115. "type": "integer",
  3116. "description": "套保商品id",
  3117. "name": "middlegoodsid",
  3118. "in": "query",
  3119. "required": true
  3120. },
  3121. {
  3122. "type": "integer",
  3123. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3124. "name": "cycletype",
  3125. "in": "query",
  3126. "required": true
  3127. },
  3128. {
  3129. "type": "string",
  3130. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3131. "name": "cycletime",
  3132. "in": "query",
  3133. "required": true
  3134. }
  3135. ],
  3136. "responses": {
  3137. "200": {
  3138. "description": "OK",
  3139. "schema": {
  3140. "type": "array",
  3141. "items": {
  3142. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3143. }
  3144. }
  3145. },
  3146. "500": {
  3147. "description": "Internal Server Error",
  3148. "schema": {
  3149. "$ref": "#/definitions/app.Response"
  3150. }
  3151. }
  3152. }
  3153. }
  3154. },
  3155. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3156. "get": {
  3157. "security": [
  3158. {
  3159. "ApiKeyAuth": []
  3160. }
  3161. ],
  3162. "produces": [
  3163. "application/json"
  3164. ],
  3165. "tags": [
  3166. "企业风险管理v3(app)"
  3167. ],
  3168. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3169. "parameters": [
  3170. {
  3171. "type": "integer",
  3172. "description": "用户ID",
  3173. "name": "userid",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "套保商品id",
  3180. "name": "middlegoodsid",
  3181. "in": "query",
  3182. "required": true
  3183. },
  3184. {
  3185. "type": "integer",
  3186. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3187. "name": "cycletype",
  3188. "in": "query",
  3189. "required": true
  3190. },
  3191. {
  3192. "type": "string",
  3193. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3194. "name": "cycletime",
  3195. "in": "query",
  3196. "required": true
  3197. }
  3198. ],
  3199. "responses": {
  3200. "200": {
  3201. "description": "OK",
  3202. "schema": {
  3203. "type": "array",
  3204. "items": {
  3205. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3206. }
  3207. }
  3208. },
  3209. "500": {
  3210. "description": "Internal Server Error",
  3211. "schema": {
  3212. "$ref": "#/definitions/app.Response"
  3213. }
  3214. }
  3215. }
  3216. }
  3217. },
  3218. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3219. "get": {
  3220. "security": [
  3221. {
  3222. "ApiKeyAuth": []
  3223. }
  3224. ],
  3225. "produces": [
  3226. "application/json"
  3227. ],
  3228. "tags": [
  3229. "企业风险管理v3(app)"
  3230. ],
  3231. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3232. "parameters": [
  3233. {
  3234. "type": "integer",
  3235. "description": "用户ID",
  3236. "name": "userid",
  3237. "in": "query",
  3238. "required": true
  3239. },
  3240. {
  3241. "type": "integer",
  3242. "description": "套保商品id",
  3243. "name": "middlegoodsid",
  3244. "in": "query",
  3245. "required": true
  3246. },
  3247. {
  3248. "type": "integer",
  3249. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3250. "name": "cycletype",
  3251. "in": "query",
  3252. "required": true
  3253. },
  3254. {
  3255. "type": "string",
  3256. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3257. "name": "cycletime",
  3258. "in": "query",
  3259. "required": true
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "type": "array",
  3267. "items": {
  3268. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3269. }
  3270. }
  3271. },
  3272. "500": {
  3273. "description": "Internal Server Error",
  3274. "schema": {
  3275. "$ref": "#/definitions/app.Response"
  3276. }
  3277. }
  3278. }
  3279. }
  3280. },
  3281. "/Ermcp3/QryAreaExpourseReport": {
  3282. "get": {
  3283. "security": [
  3284. {
  3285. "ApiKeyAuth": []
  3286. }
  3287. ],
  3288. "produces": [
  3289. "application/json"
  3290. ],
  3291. "tags": [
  3292. "企业风险管理v3(app)"
  3293. ],
  3294. "summary": "查询敞口报表",
  3295. "parameters": [
  3296. {
  3297. "type": "integer",
  3298. "description": "用户ID",
  3299. "name": "userid",
  3300. "in": "query",
  3301. "required": true
  3302. },
  3303. {
  3304. "type": "integer",
  3305. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3306. "name": "querytype",
  3307. "in": "query",
  3308. "required": true
  3309. },
  3310. {
  3311. "type": "integer",
  3312. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3313. "name": "cycletype",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "string",
  3319. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3320. "name": "cycletime",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "type": "array",
  3330. "items": {
  3331. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3332. }
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Ermcp3/QryAreaSpotplReport": {
  3345. "get": {
  3346. "security": [
  3347. {
  3348. "ApiKeyAuth": []
  3349. }
  3350. ],
  3351. "produces": [
  3352. "application/json"
  3353. ],
  3354. "tags": [
  3355. "企业风险管理v3(app)"
  3356. ],
  3357. "summary": "查询现货报表",
  3358. "parameters": [
  3359. {
  3360. "type": "integer",
  3361. "description": "用户ID",
  3362. "name": "userid",
  3363. "in": "query",
  3364. "required": true
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "查询类型 1-报表 2-报表明细",
  3369. "name": "querytype",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3376. "name": "cycletype",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "string",
  3382. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3383. "name": "cycletime",
  3384. "in": "query",
  3385. "required": true
  3386. },
  3387. {
  3388. "type": "integer",
  3389. "description": "现货品种id(明细必填)",
  3390. "name": "deliverygoodsid",
  3391. "in": "query"
  3392. },
  3393. {
  3394. "type": "integer",
  3395. "description": "币种id(明细必填)",
  3396. "name": "currencyid",
  3397. "in": "query"
  3398. }
  3399. ],
  3400. "responses": {
  3401. "200": {
  3402. "description": "OK",
  3403. "schema": {
  3404. "type": "array",
  3405. "items": {
  3406. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3407. }
  3408. }
  3409. },
  3410. "500": {
  3411. "description": "Internal Server Error",
  3412. "schema": {
  3413. "$ref": "#/definitions/app.Response"
  3414. }
  3415. }
  3416. }
  3417. }
  3418. },
  3419. "/Ermcp3/QryAreaStockReport": {
  3420. "get": {
  3421. "security": [
  3422. {
  3423. "ApiKeyAuth": []
  3424. }
  3425. ],
  3426. "produces": [
  3427. "application/json"
  3428. ],
  3429. "tags": [
  3430. "企业风险管理v3(app)"
  3431. ],
  3432. "summary": "查询库存报表",
  3433. "parameters": [
  3434. {
  3435. "type": "integer",
  3436. "description": "用户ID",
  3437. "name": "userid",
  3438. "in": "query",
  3439. "required": true
  3440. },
  3441. {
  3442. "type": "integer",
  3443. "description": "查询类型 1-报表 2-报表明细",
  3444. "name": "querytype",
  3445. "in": "query",
  3446. "required": true
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3451. "name": "cycletype",
  3452. "in": "query",
  3453. "required": true
  3454. },
  3455. {
  3456. "type": "string",
  3457. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3458. "name": "cycletime",
  3459. "in": "query",
  3460. "required": true
  3461. },
  3462. {
  3463. "type": "string",
  3464. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3465. "name": "sumfields",
  3466. "in": "query"
  3467. },
  3468. {
  3469. "type": "integer",
  3470. "description": "品种ID",
  3471. "name": "deliverygoodsid",
  3472. "in": "query"
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "品类ID",
  3477. "name": "wrstandardid",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品牌ID",
  3483. "name": "spotgoodsbrandid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "仓库ID",
  3489. "name": "warehouseinfoid",
  3490. "in": "query"
  3491. }
  3492. ],
  3493. "responses": {
  3494. "200": {
  3495. "description": "OK",
  3496. "schema": {
  3497. "type": "array",
  3498. "items": {
  3499. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3500. }
  3501. }
  3502. },
  3503. "500": {
  3504. "description": "Internal Server Error",
  3505. "schema": {
  3506. "$ref": "#/definitions/app.Response"
  3507. }
  3508. }
  3509. }
  3510. }
  3511. },
  3512. "/Ermcp3/QryAreaSumPL": {
  3513. "get": {
  3514. "security": [
  3515. {
  3516. "ApiKeyAuth": []
  3517. }
  3518. ],
  3519. "produces": [
  3520. "application/json"
  3521. ],
  3522. "tags": [
  3523. "企业风险管理v3(app)"
  3524. ],
  3525. "summary": "查询汇总损益表",
  3526. "parameters": [
  3527. {
  3528. "type": "integer",
  3529. "description": "用户ID",
  3530. "name": "userid",
  3531. "in": "query",
  3532. "required": true
  3533. },
  3534. {
  3535. "type": "integer",
  3536. "description": "查询类型 1-报表 2-报表明细",
  3537. "name": "querytype",
  3538. "in": "query",
  3539. "required": true
  3540. },
  3541. {
  3542. "type": "integer",
  3543. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3544. "name": "cycletype",
  3545. "in": "query",
  3546. "required": true
  3547. },
  3548. {
  3549. "type": "string",
  3550. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3551. "name": "cycletime",
  3552. "in": "query",
  3553. "required": true
  3554. },
  3555. {
  3556. "type": "integer",
  3557. "description": "币种id(明细必填)",
  3558. "name": "currencyid",
  3559. "in": "query"
  3560. }
  3561. ],
  3562. "responses": {
  3563. "200": {
  3564. "description": "OK",
  3565. "schema": {
  3566. "type": "array",
  3567. "items": {
  3568. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3569. }
  3570. }
  3571. },
  3572. "500": {
  3573. "description": "Internal Server Error",
  3574. "schema": {
  3575. "$ref": "#/definitions/app.Response"
  3576. }
  3577. }
  3578. }
  3579. }
  3580. },
  3581. "/Ermcp3/QryFinanceReport": {
  3582. "get": {
  3583. "security": [
  3584. {
  3585. "ApiKeyAuth": []
  3586. }
  3587. ],
  3588. "produces": [
  3589. "application/json"
  3590. ],
  3591. "tags": [
  3592. "企业风险管理v3(app)"
  3593. ],
  3594. "summary": "查询财务报表",
  3595. "parameters": [
  3596. {
  3597. "type": "integer",
  3598. "description": "用户ID",
  3599. "name": "userid",
  3600. "in": "query",
  3601. "required": true
  3602. },
  3603. {
  3604. "type": "integer",
  3605. "description": "查询类型 1-报表 2-报表明细",
  3606. "name": "querytype",
  3607. "in": "query",
  3608. "required": true
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3613. "name": "cycletype",
  3614. "in": "query",
  3615. "required": true
  3616. },
  3617. {
  3618. "type": "string",
  3619. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3620. "name": "cycletime",
  3621. "in": "query",
  3622. "required": true
  3623. },
  3624. {
  3625. "type": "integer",
  3626. "description": "币种id(报表明细必填)",
  3627. "name": "currencyid",
  3628. "in": "query"
  3629. },
  3630. {
  3631. "type": "string",
  3632. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3633. "name": "sumfields",
  3634. "in": "query"
  3635. }
  3636. ],
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "type": "array",
  3642. "items": {
  3643. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3644. }
  3645. }
  3646. },
  3647. "500": {
  3648. "description": "Internal Server Error",
  3649. "schema": {
  3650. "$ref": "#/definitions/app.Response"
  3651. }
  3652. }
  3653. }
  3654. }
  3655. },
  3656. "/Ermcp3/QrySCMiddleGoodsReport": {
  3657. "get": {
  3658. "security": [
  3659. {
  3660. "ApiKeyAuth": []
  3661. }
  3662. ],
  3663. "produces": [
  3664. "application/json"
  3665. ],
  3666. "tags": [
  3667. "企业风险管理v3(app)"
  3668. ],
  3669. "summary": "查询定价报表",
  3670. "parameters": [
  3671. {
  3672. "type": "integer",
  3673. "description": "用户ID",
  3674. "name": "userid",
  3675. "in": "query",
  3676. "required": true
  3677. },
  3678. {
  3679. "type": "integer",
  3680. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3681. "name": "cycletype",
  3682. "in": "query",
  3683. "required": true
  3684. },
  3685. {
  3686. "type": "string",
  3687. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3688. "name": "cycletime",
  3689. "in": "query",
  3690. "required": true
  3691. },
  3692. {
  3693. "type": "integer",
  3694. "description": "合同id",
  3695. "name": "spotcontractid",
  3696. "in": "query"
  3697. },
  3698. {
  3699. "type": "integer",
  3700. "description": "套保品种id",
  3701. "name": "middlegoodsid",
  3702. "in": "query"
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "现货品种id",
  3707. "name": "deliverygoodsid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "现货商品id",
  3713. "name": "wrstandardid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "string",
  3718. "description": "合同编号(模糊匹配)",
  3719. "name": "contractno",
  3720. "in": "query"
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "OK",
  3726. "schema": {
  3727. "type": "array",
  3728. "items": {
  3729. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3730. }
  3731. }
  3732. },
  3733. "500": {
  3734. "description": "Internal Server Error",
  3735. "schema": {
  3736. "$ref": "#/definitions/app.Response"
  3737. }
  3738. }
  3739. }
  3740. }
  3741. },
  3742. "/Ermcp3/QryTaFutureDataReport": {
  3743. "get": {
  3744. "security": [
  3745. {
  3746. "ApiKeyAuth": []
  3747. }
  3748. ],
  3749. "produces": [
  3750. "application/json"
  3751. ],
  3752. "tags": [
  3753. "企业风险管理v3(app)"
  3754. ],
  3755. "summary": "查询期货报表",
  3756. "parameters": [
  3757. {
  3758. "type": "integer",
  3759. "description": "用户ID",
  3760. "name": "userid",
  3761. "in": "query",
  3762. "required": true
  3763. },
  3764. {
  3765. "type": "integer",
  3766. "description": "查询类型 1-报表 2-报表明细",
  3767. "name": "querytype",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3774. "name": "cycletype",
  3775. "in": "query",
  3776. "required": true
  3777. },
  3778. {
  3779. "type": "string",
  3780. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3781. "name": "cycletime",
  3782. "in": "query",
  3783. "required": true
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "币种id(查明细必填)",
  3788. "name": "currencyid",
  3789. "in": "query"
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "品种id(查明细必填)",
  3794. "name": "goodsgroupid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "商品id(查明细必填)",
  3800. "name": "goodsid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "买卖方向(查明细必填)",
  3806. "name": "buyorsell",
  3807. "in": "query"
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QueryAreaStock": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询机构库存(库存管理/当前库存)",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户ID",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. }
  3851. ],
  3852. "responses": {
  3853. "200": {
  3854. "description": "OK",
  3855. "schema": {
  3856. "type": "array",
  3857. "items": {
  3858. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3859. }
  3860. }
  3861. },
  3862. "500": {
  3863. "description": "Internal Server Error",
  3864. "schema": {
  3865. "$ref": "#/definitions/app.Response"
  3866. }
  3867. }
  3868. }
  3869. }
  3870. },
  3871. "/Ermcp3/QueryAreaStockApply": {
  3872. "get": {
  3873. "security": [
  3874. {
  3875. "ApiKeyAuth": []
  3876. }
  3877. ],
  3878. "produces": [
  3879. "application/json"
  3880. ],
  3881. "tags": [
  3882. "企业风险管理v3(app)"
  3883. ],
  3884. "summary": "查询库存申请(出入库记录|库存审核)",
  3885. "parameters": [
  3886. {
  3887. "type": "integer",
  3888. "description": "用户ID",
  3889. "name": "userid",
  3890. "in": "query",
  3891. "required": true
  3892. },
  3893. {
  3894. "type": "integer",
  3895. "description": "用户类型 2-机构 7-企业成员",
  3896. "name": "usertype",
  3897. "in": "query"
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "现货商品ID",
  3902. "name": "deliverygoodsid",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "string",
  3907. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3908. "name": "inouttype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "合同ID",
  3914. "name": "spotcontractid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "品类ID",
  3920. "name": "wrstandardid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "品牌ID",
  3926. "name": "spotgoodsbrandid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "仓库ID",
  3932. "name": "warehouseinfoid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "string",
  3937. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3938. "name": "applystatus",
  3939. "in": "query"
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "type": "array",
  3947. "items": {
  3948. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3949. }
  3950. }
  3951. },
  3952. "500": {
  3953. "description": "Internal Server Error",
  3954. "schema": {
  3955. "$ref": "#/definitions/app.Response"
  3956. }
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/Ermcp3/QueryAreaStockApplySum": {
  3962. "get": {
  3963. "security": [
  3964. {
  3965. "ApiKeyAuth": []
  3966. }
  3967. ],
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "企业风险管理v3(app)"
  3973. ],
  3974. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3975. "parameters": [
  3976. {
  3977. "type": "integer",
  3978. "description": "合同ID",
  3979. "name": "spotcontractid",
  3980. "in": "query",
  3981. "required": true
  3982. }
  3983. ],
  3984. "responses": {
  3985. "200": {
  3986. "description": "OK",
  3987. "schema": {
  3988. "type": "array",
  3989. "items": {
  3990. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3991. }
  3992. }
  3993. },
  3994. "500": {
  3995. "description": "Internal Server Error",
  3996. "schema": {
  3997. "$ref": "#/definitions/app.Response"
  3998. }
  3999. }
  4000. }
  4001. }
  4002. },
  4003. "/Ermcp3/QueryDGFactoryItem": {
  4004. "get": {
  4005. "security": [
  4006. {
  4007. "ApiKeyAuth": []
  4008. }
  4009. ],
  4010. "produces": [
  4011. "application/json"
  4012. ],
  4013. "tags": [
  4014. "企业风险管理v3(app)"
  4015. ],
  4016. "summary": "查询品种要素定义项",
  4017. "parameters": [
  4018. {
  4019. "type": "integer",
  4020. "description": "用户id",
  4021. "name": "userid",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "integer",
  4026. "description": "用户类型 2-机构 7-企业成员",
  4027. "name": "usertype",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4033. "name": "dgfactoryitemid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "现货品种ID",
  4039. "name": "deliverygoodsid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "要素项类型",
  4045. "name": "dgfactoryitemtypeid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "顺序",
  4051. "name": "orderindex",
  4052. "in": "query"
  4053. }
  4054. ],
  4055. "responses": {
  4056. "200": {
  4057. "description": "OK",
  4058. "schema": {
  4059. "type": "array",
  4060. "items": {
  4061. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4062. }
  4063. }
  4064. },
  4065. "500": {
  4066. "description": "Internal Server Error",
  4067. "schema": {
  4068. "$ref": "#/definitions/app.Response"
  4069. }
  4070. }
  4071. }
  4072. }
  4073. },
  4074. "/Ermcp3/QueryDeliveryGoods": {
  4075. "get": {
  4076. "security": [
  4077. {
  4078. "ApiKeyAuth": []
  4079. }
  4080. ],
  4081. "produces": [
  4082. "application/json"
  4083. ],
  4084. "tags": [
  4085. "企业风险管理v3(app)"
  4086. ],
  4087. "summary": "查询现货商品",
  4088. "parameters": [
  4089. {
  4090. "type": "integer",
  4091. "description": "用户id",
  4092. "name": "userid",
  4093. "in": "query",
  4094. "required": true
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "用户类型 2-机构 7-企业成员",
  4099. "name": "usertype",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4105. "name": "excludecfg",
  4106. "in": "query"
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "type": "array",
  4114. "items": {
  4115. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4116. }
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "企业风险管理v3(app)"
  4140. ],
  4141. "summary": "查询现货商品详情",
  4142. "parameters": [
  4143. {
  4144. "type": "integer",
  4145. "description": "用户id",
  4146. "name": "userid",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "integer",
  4152. "description": "用户类型 2-机构 7-企业成员",
  4153. "name": "usertype",
  4154. "in": "query"
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "现货商品id",
  4159. "name": "deliverygoodsid",
  4160. "in": "query"
  4161. }
  4162. ],
  4163. "responses": {
  4164. "200": {
  4165. "description": "OK",
  4166. "schema": {
  4167. "type": "array",
  4168. "items": {
  4169. "$ref": "#/definitions/models.XHDeliveryGoods"
  4170. }
  4171. }
  4172. },
  4173. "500": {
  4174. "description": "Internal Server Error",
  4175. "schema": {
  4176. "$ref": "#/definitions/app.Response"
  4177. }
  4178. }
  4179. }
  4180. }
  4181. },
  4182. "/Ermcp3/QueryExposureDetail": {
  4183. "get": {
  4184. "security": [
  4185. {
  4186. "ApiKeyAuth": []
  4187. }
  4188. ],
  4189. "produces": [
  4190. "application/json"
  4191. ],
  4192. "tags": [
  4193. "企业风险管理v3(app)"
  4194. ],
  4195. "summary": "查询敞口现货明细",
  4196. "parameters": [
  4197. {
  4198. "type": "integer",
  4199. "description": "用户id",
  4200. "name": "userid",
  4201. "in": "query",
  4202. "required": true
  4203. },
  4204. {
  4205. "type": "integer",
  4206. "description": "用户类型 2-机构 7-企业成员",
  4207. "name": "usertype",
  4208. "in": "query"
  4209. },
  4210. {
  4211. "type": "integer",
  4212. "description": "套保商品",
  4213. "name": "middlegoodsid",
  4214. "in": "query",
  4215. "required": true
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "type": "array",
  4223. "items": {
  4224. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4225. }
  4226. }
  4227. },
  4228. "500": {
  4229. "description": "Internal Server Error",
  4230. "schema": {
  4231. "$ref": "#/definitions/app.Response"
  4232. }
  4233. }
  4234. }
  4235. }
  4236. },
  4237. "/Ermcp3/QueryExposureSpot": {
  4238. "get": {
  4239. "security": [
  4240. {
  4241. "ApiKeyAuth": []
  4242. }
  4243. ],
  4244. "produces": [
  4245. "application/json"
  4246. ],
  4247. "tags": [
  4248. "企业风险管理v3(app)"
  4249. ],
  4250. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4251. "parameters": [
  4252. {
  4253. "type": "integer",
  4254. "description": "用户id",
  4255. "name": "userid",
  4256. "in": "query",
  4257. "required": true
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "用户类型 2-机构 7-企业成员",
  4262. "name": "usertype",
  4263. "in": "query"
  4264. }
  4265. ],
  4266. "responses": {
  4267. "200": {
  4268. "description": "OK",
  4269. "schema": {
  4270. "type": "array",
  4271. "items": {
  4272. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4273. }
  4274. }
  4275. },
  4276. "500": {
  4277. "description": "Internal Server Error",
  4278. "schema": {
  4279. "$ref": "#/definitions/app.Response"
  4280. }
  4281. }
  4282. }
  4283. }
  4284. },
  4285. "/Ermcp3/QueryExposureSpotDetail": {
  4286. "get": {
  4287. "security": [
  4288. {
  4289. "ApiKeyAuth": []
  4290. }
  4291. ],
  4292. "produces": [
  4293. "application/json"
  4294. ],
  4295. "tags": [
  4296. "企业风险管理v3(app)"
  4297. ],
  4298. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4299. "parameters": [
  4300. {
  4301. "type": "integer",
  4302. "description": "用户id",
  4303. "name": "userid",
  4304. "in": "query",
  4305. "required": true
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "用户类型 2-机构 7-企业成员",
  4310. "name": "usertype",
  4311. "in": "query"
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "现货商品ID",
  4316. "name": "wrstandardid",
  4317. "in": "query",
  4318. "required": true
  4319. }
  4320. ],
  4321. "responses": {
  4322. "200": {
  4323. "description": "OK",
  4324. "schema": {
  4325. "type": "array",
  4326. "items": {
  4327. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4328. }
  4329. }
  4330. },
  4331. "500": {
  4332. "description": "Internal Server Error",
  4333. "schema": {
  4334. "$ref": "#/definitions/app.Response"
  4335. }
  4336. }
  4337. }
  4338. }
  4339. },
  4340. "/Ermcp3/QueryGoodsGroup": {
  4341. "get": {
  4342. "security": [
  4343. {
  4344. "ApiKeyAuth": []
  4345. }
  4346. ],
  4347. "produces": [
  4348. "application/json"
  4349. ],
  4350. "tags": [
  4351. "企业风险管理v3(app)"
  4352. ],
  4353. "summary": "查询期货商品组",
  4354. "parameters": [
  4355. {
  4356. "type": "integer",
  4357. "description": "用户id",
  4358. "name": "userid",
  4359. "in": "query",
  4360. "required": true
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "用户类型 2-机构 7-企业成员",
  4365. "name": "usertype",
  4366. "in": "query"
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "排除套保品中已关联的商品组 1-排除",
  4371. "name": "excludecfg",
  4372. "in": "query"
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "type": "array",
  4380. "items": {
  4381. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4382. }
  4383. }
  4384. },
  4385. "500": {
  4386. "description": "Internal Server Error",
  4387. "schema": {
  4388. "$ref": "#/definitions/app.Response"
  4389. }
  4390. }
  4391. }
  4392. }
  4393. },
  4394. "/Ermcp3/QueryGoodsWrstandard": {
  4395. "get": {
  4396. "security": [
  4397. {
  4398. "ApiKeyAuth": []
  4399. }
  4400. ],
  4401. "produces": [
  4402. "application/json"
  4403. ],
  4404. "tags": [
  4405. "企业风险管理v3(app)"
  4406. ],
  4407. "summary": "查询商品品类",
  4408. "parameters": [
  4409. {
  4410. "type": "integer",
  4411. "description": "用户id",
  4412. "name": "userid",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "用户类型 2-机构 7-企业成员",
  4419. "name": "usertype",
  4420. "in": "query"
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "现货商品id",
  4425. "name": "deliverygoodsid",
  4426. "in": "query"
  4427. }
  4428. ],
  4429. "responses": {
  4430. "200": {
  4431. "description": "OK",
  4432. "schema": {
  4433. "type": "array",
  4434. "items": {
  4435. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4436. }
  4437. }
  4438. },
  4439. "500": {
  4440. "description": "Internal Server Error",
  4441. "schema": {
  4442. "$ref": "#/definitions/app.Response"
  4443. }
  4444. }
  4445. }
  4446. }
  4447. },
  4448. "/Ermcp3/QueryGoodsbrand": {
  4449. "get": {
  4450. "security": [
  4451. {
  4452. "ApiKeyAuth": []
  4453. }
  4454. ],
  4455. "produces": [
  4456. "application/json"
  4457. ],
  4458. "tags": [
  4459. "企业风险管理v3(app)"
  4460. ],
  4461. "summary": "查询商品品牌",
  4462. "parameters": [
  4463. {
  4464. "type": "integer",
  4465. "description": "用户id",
  4466. "name": "userid",
  4467. "in": "query",
  4468. "required": true
  4469. },
  4470. {
  4471. "type": "integer",
  4472. "description": "用户类型 2-机构 7-企业成员",
  4473. "name": "usertype",
  4474. "in": "query"
  4475. }
  4476. ],
  4477. "responses": {
  4478. "200": {
  4479. "description": "OK",
  4480. "schema": {
  4481. "type": "array",
  4482. "items": {
  4483. "$ref": "#/definitions/models.Ermcp3Brand"
  4484. }
  4485. }
  4486. },
  4487. "500": {
  4488. "description": "Internal Server Error",
  4489. "schema": {
  4490. "$ref": "#/definitions/app.Response"
  4491. }
  4492. }
  4493. }
  4494. }
  4495. },
  4496. "/Ermcp3/QueryHedgePlan": {
  4497. "get": {
  4498. "security": [
  4499. {
  4500. "ApiKeyAuth": []
  4501. }
  4502. ],
  4503. "produces": [
  4504. "application/json"
  4505. ],
  4506. "tags": [
  4507. "企业风险管理v3(app)"
  4508. ],
  4509. "summary": "查询套保计划",
  4510. "parameters": [
  4511. {
  4512. "type": "integer",
  4513. "description": "用户ID",
  4514. "name": "userid",
  4515. "in": "query",
  4516. "required": true
  4517. },
  4518. {
  4519. "type": "integer",
  4520. "description": "用户类型 2-机构 7-企业成员",
  4521. "name": "usertype",
  4522. "in": "query"
  4523. },
  4524. {
  4525. "type": "string",
  4526. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4527. "name": "hedgeplanstatus",
  4528. "in": "query",
  4529. "required": true
  4530. }
  4531. ],
  4532. "responses": {
  4533. "200": {
  4534. "description": "OK",
  4535. "schema": {
  4536. "type": "array",
  4537. "items": {
  4538. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4539. }
  4540. }
  4541. },
  4542. "500": {
  4543. "description": "Internal Server Error",
  4544. "schema": {
  4545. "$ref": "#/definitions/app.Response"
  4546. }
  4547. }
  4548. }
  4549. }
  4550. },
  4551. "/Ermcp3/QueryInnerTradeLink": {
  4552. "get": {
  4553. "security": [
  4554. {
  4555. "ApiKeyAuth": []
  4556. }
  4557. ],
  4558. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4559. "produces": [
  4560. "application/json"
  4561. ],
  4562. "tags": [
  4563. "企业风险管理v3(app)"
  4564. ],
  4565. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4566. "parameters": [
  4567. {
  4568. "type": "integer",
  4569. "description": "外部成交单号",
  4570. "name": "outtradeid",
  4571. "in": "query",
  4572. "required": true
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "type": "array",
  4580. "items": {
  4581. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4582. }
  4583. }
  4584. },
  4585. "500": {
  4586. "description": "Internal Server Error",
  4587. "schema": {
  4588. "$ref": "#/definitions/app.Response"
  4589. }
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "/Ermcp3/QueryMiddleGoodsDetail": {
  4595. "get": {
  4596. "security": [
  4597. {
  4598. "ApiKeyAuth": []
  4599. }
  4600. ],
  4601. "produces": [
  4602. "application/json"
  4603. ],
  4604. "tags": [
  4605. "企业风险管理v3(app)"
  4606. ],
  4607. "summary": "查询套保品种详情(套保品种/商品详情)",
  4608. "parameters": [
  4609. {
  4610. "type": "integer",
  4611. "description": "用户id",
  4612. "name": "userid",
  4613. "in": "query",
  4614. "required": true
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "用户类型 2-机构 7-企业成员",
  4619. "name": "usertype",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "套保品种id",
  4625. "name": "middlegoodsid",
  4626. "in": "query"
  4627. }
  4628. ],
  4629. "responses": {
  4630. "200": {
  4631. "description": "OK",
  4632. "schema": {
  4633. "type": "array",
  4634. "items": {
  4635. "$ref": "#/definitions/models.TBMiddleGoods"
  4636. }
  4637. }
  4638. },
  4639. "500": {
  4640. "description": "Internal Server Error",
  4641. "schema": {
  4642. "$ref": "#/definitions/app.Response"
  4643. }
  4644. }
  4645. }
  4646. }
  4647. },
  4648. "/Ermcp3/QueryOutTradeLink": {
  4649. "get": {
  4650. "security": [
  4651. {
  4652. "ApiKeyAuth": []
  4653. }
  4654. ],
  4655. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "企业风险管理v3(app)"
  4661. ],
  4662. "summary": "查询外部成交单关联",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "用户ID(填登录用户的userid)",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. },
  4671. {
  4672. "type": "string",
  4673. "description": "外部订单号(模糊匹配)",
  4674. "name": "outtradeid",
  4675. "in": "query"
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "合约名称/代码(模糊匹配)",
  4680. "name": "goodsname",
  4681. "in": "query"
  4682. },
  4683. {
  4684. "type": "integer",
  4685. "description": "关联状态 0-未关联 1-已关联",
  4686. "name": "hasinnerorder",
  4687. "in": "query"
  4688. }
  4689. ],
  4690. "responses": {
  4691. "200": {
  4692. "description": "OK",
  4693. "schema": {
  4694. "type": "array",
  4695. "items": {
  4696. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4697. }
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/Ermcp3/QueryPaAreaAuditCfg": {
  4710. "get": {
  4711. "security": [
  4712. {
  4713. "ApiKeyAuth": []
  4714. }
  4715. ],
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "企业风险管理v3(app)"
  4721. ],
  4722. "summary": "查询审核设置",
  4723. "parameters": [
  4724. {
  4725. "type": "integer",
  4726. "description": "用户id",
  4727. "name": "userid",
  4728. "in": "query",
  4729. "required": true
  4730. }
  4731. ],
  4732. "responses": {
  4733. "200": {
  4734. "description": "OK",
  4735. "schema": {
  4736. "type": "array",
  4737. "items": {
  4738. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4739. }
  4740. }
  4741. },
  4742. "500": {
  4743. "description": "Internal Server Error",
  4744. "schema": {
  4745. "$ref": "#/definitions/app.Response"
  4746. }
  4747. }
  4748. }
  4749. }
  4750. },
  4751. "/Ermcp3/QueryPaAreaSubject": {
  4752. "get": {
  4753. "security": [
  4754. {
  4755. "ApiKeyAuth": []
  4756. }
  4757. ],
  4758. "produces": [
  4759. "application/json"
  4760. ],
  4761. "tags": [
  4762. "企业风险管理v3(app)"
  4763. ],
  4764. "summary": "查询交易主体",
  4765. "parameters": [
  4766. {
  4767. "type": "integer",
  4768. "description": "用户id",
  4769. "name": "userid",
  4770. "in": "query",
  4771. "required": true
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4776. "name": "subjectid",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "主体类型 - 1:交易主体 2:业务部门",
  4782. "name": "subjecttype",
  4783. "in": "query"
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体状态 - 1:正常 2: 停用",
  4788. "name": "subjectstatus",
  4789. "in": "query"
  4790. }
  4791. ],
  4792. "responses": {
  4793. "200": {
  4794. "description": "OK",
  4795. "schema": {
  4796. "type": "array",
  4797. "items": {
  4798. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4799. }
  4800. }
  4801. },
  4802. "500": {
  4803. "description": "Internal Server Error",
  4804. "schema": {
  4805. "$ref": "#/definitions/app.Response"
  4806. }
  4807. }
  4808. }
  4809. }
  4810. },
  4811. "/Ermcp3/QueryPaTradeLink": {
  4812. "get": {
  4813. "security": [
  4814. {
  4815. "ApiKeyAuth": []
  4816. }
  4817. ],
  4818. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4819. "produces": [
  4820. "application/json"
  4821. ],
  4822. "tags": [
  4823. "企业风险管理v3(app)"
  4824. ],
  4825. "summary": "查询期现单据关联",
  4826. "parameters": [
  4827. {
  4828. "type": "integer",
  4829. "description": "用户ID",
  4830. "name": "userid",
  4831. "in": "query",
  4832. "required": true
  4833. }
  4834. ],
  4835. "responses": {
  4836. "200": {
  4837. "description": "OK",
  4838. "schema": {
  4839. "type": "array",
  4840. "items": {
  4841. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4842. }
  4843. }
  4844. },
  4845. "500": {
  4846. "description": "Internal Server Error",
  4847. "schema": {
  4848. "$ref": "#/definitions/app.Response"
  4849. }
  4850. }
  4851. }
  4852. }
  4853. },
  4854. "/Ermcp3/QueryPaTradeLinkDetail": {
  4855. "get": {
  4856. "security": [
  4857. {
  4858. "ApiKeyAuth": []
  4859. }
  4860. ],
  4861. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4862. "produces": [
  4863. "application/json"
  4864. ],
  4865. "tags": [
  4866. "企业风险管理v3(app)"
  4867. ],
  4868. "summary": "查询期现关联记录",
  4869. "parameters": [
  4870. {
  4871. "type": "integer",
  4872. "description": "用户ID(填登录用户的userid)",
  4873. "name": "userid",
  4874. "in": "query",
  4875. "required": true
  4876. },
  4877. {
  4878. "type": "integer",
  4879. "description": "关联状态 1:成功 2:失败 3:解绑",
  4880. "name": "linkstatus",
  4881. "in": "query"
  4882. },
  4883. {
  4884. "type": "string",
  4885. "description": "期货订单号(模糊匹配)",
  4886. "name": "tradeid",
  4887. "in": "query"
  4888. },
  4889. {
  4890. "type": "string",
  4891. "description": "现货编号(模糊匹配)",
  4892. "name": "contractno",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货账户(模糊匹配)",
  4898. "name": "taname",
  4899. "in": "query"
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "type": "array",
  4907. "items": {
  4908. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4909. }
  4910. }
  4911. },
  4912. "500": {
  4913. "description": "Internal Server Error",
  4914. "schema": {
  4915. "$ref": "#/definitions/app.Response"
  4916. }
  4917. }
  4918. }
  4919. }
  4920. },
  4921. "/Ermcp3/QueryParamChangeApp": {
  4922. "get": {
  4923. "security": [
  4924. {
  4925. "ApiKeyAuth": []
  4926. }
  4927. ],
  4928. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "企业风险管理v3(app)"
  4934. ],
  4935. "summary": "查询现货商品参数变更申请(流水)",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "用户ID",
  4940. "name": "userid",
  4941. "in": "query",
  4942. "required": true
  4943. },
  4944. {
  4945. "type": "integer",
  4946. "description": "现货品种id",
  4947. "name": "deliverygoodsid",
  4948. "in": "query"
  4949. },
  4950. {
  4951. "type": "integer",
  4952. "description": "现货商品id",
  4953. "name": "wrstandardid",
  4954. "in": "query"
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "套保商品id",
  4959. "name": "middlegoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "操作类型 1:新增 2:修改",
  4965. "name": "operatetype",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4971. "name": "paramchangetype",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "string",
  4976. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4977. "name": "ftstatus",
  4978. "in": "query"
  4979. }
  4980. ],
  4981. "responses": {
  4982. "200": {
  4983. "description": "OK",
  4984. "schema": {
  4985. "type": "array",
  4986. "items": {
  4987. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  4988. }
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Ermcp3/QueryRootUserAccount": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "企业风险管理v3(app)"
  5012. ],
  5013. "summary": "查询顶级用户信息",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "用户ID",
  5018. "name": "userid",
  5019. "in": "query",
  5020. "required": true
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "type": "array",
  5028. "items": {
  5029. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5030. }
  5031. }
  5032. },
  5033. "500": {
  5034. "description": "Internal Server Error",
  5035. "schema": {
  5036. "$ref": "#/definitions/app.Response"
  5037. }
  5038. }
  5039. }
  5040. }
  5041. },
  5042. "/Ermcp3/QuerySCMiddleGoods": {
  5043. "get": {
  5044. "security": [
  5045. {
  5046. "ApiKeyAuth": []
  5047. }
  5048. ],
  5049. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5050. "produces": [
  5051. "application/json"
  5052. ],
  5053. "tags": [
  5054. "企业风险管理v3(app)"
  5055. ],
  5056. "summary": "查询现货订单",
  5057. "parameters": [
  5058. {
  5059. "type": "integer",
  5060. "description": "用户ID(填登录用户的userid)",
  5061. "name": "userid",
  5062. "in": "query",
  5063. "required": true
  5064. },
  5065. {
  5066. "type": "integer",
  5067. "description": "买卖方向 0-买 1-卖",
  5068. "name": "buyorsell",
  5069. "in": "query",
  5070. "required": true
  5071. },
  5072. {
  5073. "type": "integer",
  5074. "description": "商品组id",
  5075. "name": "goodsgroupid",
  5076. "in": "query",
  5077. "required": true
  5078. },
  5079. {
  5080. "type": "integer",
  5081. "description": "业务类型 1:套保 2:套利",
  5082. "name": "biztype",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "string",
  5087. "description": "现货编号(模糊匹配)",
  5088. "name": "contractno",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "对手方(模糊匹配)",
  5094. "name": "customername",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货商品名称(模糊匹配)",
  5100. "name": "wrstandardname",
  5101. "in": "query"
  5102. }
  5103. ],
  5104. "responses": {
  5105. "200": {
  5106. "description": "OK",
  5107. "schema": {
  5108. "type": "array",
  5109. "items": {
  5110. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5111. }
  5112. }
  5113. },
  5114. "500": {
  5115. "description": "Internal Server Error",
  5116. "schema": {
  5117. "$ref": "#/definitions/app.Response"
  5118. }
  5119. }
  5120. }
  5121. }
  5122. },
  5123. "/Ermcp3/QuerySpotContract": {
  5124. "get": {
  5125. "security": [
  5126. {
  5127. "ApiKeyAuth": []
  5128. }
  5129. ],
  5130. "produces": [
  5131. "application/json"
  5132. ],
  5133. "tags": [
  5134. "企业风险管理v3(app)"
  5135. ],
  5136. "summary": "查询现货合同",
  5137. "parameters": [
  5138. {
  5139. "type": "integer",
  5140. "description": "用户id(当指定contractid, userid可不填)",
  5141. "name": "userid",
  5142. "in": "query",
  5143. "required": true
  5144. },
  5145. {
  5146. "type": "integer",
  5147. "description": "用户类型 2-机构 7-企业成员",
  5148. "name": "usertype",
  5149. "in": "query"
  5150. },
  5151. {
  5152. "type": "integer",
  5153. "description": "合同类型 1-采购, -1-销售",
  5154. "name": "contracttype",
  5155. "in": "query"
  5156. },
  5157. {
  5158. "type": "string",
  5159. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5160. "name": "querytype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "string",
  5165. "description": "合同ID(SpotContractId)",
  5166. "name": "contractid",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "合同编号(模糊匹配)",
  5172. "name": "contractno",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "商品名称(模糊匹配)",
  5178. "name": "wrstandardname",
  5179. "in": "query"
  5180. }
  5181. ],
  5182. "responses": {
  5183. "200": {
  5184. "description": "OK",
  5185. "schema": {
  5186. "type": "array",
  5187. "items": {
  5188. "$ref": "#/definitions/models.Ermcp3Contract"
  5189. }
  5190. }
  5191. },
  5192. "500": {
  5193. "description": "Internal Server Error",
  5194. "schema": {
  5195. "$ref": "#/definitions/app.Response"
  5196. }
  5197. }
  5198. }
  5199. }
  5200. },
  5201. "/Ermcp3/QuerySpotContractBS": {
  5202. "get": {
  5203. "security": [
  5204. {
  5205. "ApiKeyAuth": []
  5206. }
  5207. ],
  5208. "produces": [
  5209. "application/json"
  5210. ],
  5211. "tags": [
  5212. "企业风险管理v3(app)"
  5213. ],
  5214. "summary": "查询合同(采购/销售)",
  5215. "parameters": [
  5216. {
  5217. "type": "integer",
  5218. "description": "用户id",
  5219. "name": "userid",
  5220. "in": "query",
  5221. "required": true
  5222. },
  5223. {
  5224. "type": "integer",
  5225. "description": "用户类型 2-机构 7-企业成员",
  5226. "name": "usertype",
  5227. "in": "query"
  5228. },
  5229. {
  5230. "type": "integer",
  5231. "description": "合同类型 1-采购, -1-销售",
  5232. "name": "contracttype",
  5233. "in": "query",
  5234. "required": true
  5235. },
  5236. {
  5237. "type": "integer",
  5238. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5239. "name": "querytype",
  5240. "in": "query",
  5241. "required": true
  5242. },
  5243. {
  5244. "type": "string",
  5245. "description": "合同ID(SpotContractId)",
  5246. "name": "contractid",
  5247. "in": "query"
  5248. }
  5249. ],
  5250. "responses": {
  5251. "200": {
  5252. "description": "OK",
  5253. "schema": {
  5254. "type": "array",
  5255. "items": {
  5256. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5257. }
  5258. }
  5259. },
  5260. "500": {
  5261. "description": "Internal Server Error",
  5262. "schema": {
  5263. "$ref": "#/definitions/app.Response"
  5264. }
  5265. }
  5266. }
  5267. }
  5268. },
  5269. "/Ermcp3/QuerySpotGoodsPrice": {
  5270. "get": {
  5271. "security": [
  5272. {
  5273. "ApiKeyAuth": []
  5274. }
  5275. ],
  5276. "produces": [
  5277. "application/json"
  5278. ],
  5279. "tags": [
  5280. "企业风险管理v3(app)"
  5281. ],
  5282. "summary": "查询现货市价(现货市价)",
  5283. "parameters": [
  5284. {
  5285. "type": "integer",
  5286. "description": "用户ID",
  5287. "name": "userid",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "type": "array",
  5297. "items": {
  5298. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5299. }
  5300. }
  5301. },
  5302. "500": {
  5303. "description": "Internal Server Error",
  5304. "schema": {
  5305. "$ref": "#/definitions/app.Response"
  5306. }
  5307. }
  5308. }
  5309. }
  5310. },
  5311. "/Ermcp3/QuerySpotGoodsPriceLog": {
  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. "type": "integer",
  5335. "description": "现货商品ID",
  5336. "name": "deliverygoodsid",
  5337. "in": "query",
  5338. "required": true
  5339. },
  5340. {
  5341. "type": "integer",
  5342. "description": "品牌ID",
  5343. "name": "brandid",
  5344. "in": "query"
  5345. },
  5346. {
  5347. "type": "integer",
  5348. "description": "品类ID",
  5349. "name": "wrstandardid",
  5350. "in": "query"
  5351. }
  5352. ],
  5353. "responses": {
  5354. "200": {
  5355. "description": "OK",
  5356. "schema": {
  5357. "type": "array",
  5358. "items": {
  5359. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5360. }
  5361. }
  5362. },
  5363. "500": {
  5364. "description": "Internal Server Error",
  5365. "schema": {
  5366. "$ref": "#/definitions/app.Response"
  5367. }
  5368. }
  5369. }
  5370. }
  5371. },
  5372. "/Ermcp3/QuerySubTaaccount": {
  5373. "get": {
  5374. "security": [
  5375. {
  5376. "ApiKeyAuth": []
  5377. }
  5378. ],
  5379. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5380. "produces": [
  5381. "application/json"
  5382. ],
  5383. "tags": [
  5384. "企业风险管理v3(app)"
  5385. ],
  5386. "summary": "查询期货子账户",
  5387. "parameters": [
  5388. {
  5389. "type": "integer",
  5390. "description": "母账号id",
  5391. "name": "parentaccountid",
  5392. "in": "query"
  5393. },
  5394. {
  5395. "type": "string",
  5396. "description": "母账号代码",
  5397. "name": "parentaccountcode",
  5398. "in": "query"
  5399. }
  5400. ],
  5401. "responses": {
  5402. "200": {
  5403. "description": "OK",
  5404. "schema": {
  5405. "type": "array",
  5406. "items": {
  5407. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5408. }
  5409. }
  5410. },
  5411. "500": {
  5412. "description": "Internal Server Error",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. }
  5417. }
  5418. }
  5419. },
  5420. "/Erms2/QueryArbitrageStrategy": {
  5421. "get": {
  5422. "security": [
  5423. {
  5424. "ApiKeyAuth": []
  5425. }
  5426. ],
  5427. "produces": [
  5428. "application/json"
  5429. ],
  5430. "tags": [
  5431. "风险管理"
  5432. ],
  5433. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5434. "parameters": [
  5435. {
  5436. "type": "integer",
  5437. "description": "账户ID",
  5438. "name": "userid",
  5439. "in": "query",
  5440. "required": true
  5441. },
  5442. {
  5443. "type": "string",
  5444. "description": "商品组ID(品种ID)",
  5445. "name": "goodsgroupid",
  5446. "in": "query"
  5447. }
  5448. ],
  5449. "responses": {
  5450. "200": {
  5451. "description": "OK",
  5452. "schema": {
  5453. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5454. }
  5455. },
  5456. "500": {
  5457. "description": "Internal Server Error",
  5458. "schema": {
  5459. "$ref": "#/definitions/app.Response"
  5460. }
  5461. }
  5462. }
  5463. }
  5464. },
  5465. "/Erms2/QueryInnerTradeDetail": {
  5466. "get": {
  5467. "security": [
  5468. {
  5469. "ApiKeyAuth": []
  5470. }
  5471. ],
  5472. "produces": [
  5473. "application/json"
  5474. ],
  5475. "tags": [
  5476. "风险管理"
  5477. ],
  5478. "summary": "查询内部成交单信息",
  5479. "parameters": [
  5480. {
  5481. "type": "integer",
  5482. "description": "资金账户",
  5483. "name": "accountid",
  5484. "in": "query",
  5485. "required": true
  5486. }
  5487. ],
  5488. "responses": {
  5489. "200": {
  5490. "description": "OK",
  5491. "schema": {
  5492. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5493. }
  5494. },
  5495. "500": {
  5496. "description": "Internal Server Error",
  5497. "schema": {
  5498. "$ref": "#/definitions/app.Response"
  5499. }
  5500. }
  5501. }
  5502. }
  5503. },
  5504. "/Erms2/QuerySpotContract": {
  5505. "get": {
  5506. "security": [
  5507. {
  5508. "ApiKeyAuth": []
  5509. }
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "风险管理"
  5516. ],
  5517. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5518. "parameters": [
  5519. {
  5520. "type": "integer",
  5521. "description": "策略申请ID",
  5522. "name": "asapplyid",
  5523. "in": "query",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "现货合同ID",
  5529. "name": "spotcontractid",
  5530. "in": "query"
  5531. }
  5532. ],
  5533. "responses": {
  5534. "200": {
  5535. "description": "OK",
  5536. "schema": {
  5537. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5538. }
  5539. },
  5540. "500": {
  5541. "description": "Internal Server Error",
  5542. "schema": {
  5543. "$ref": "#/definitions/app.Response"
  5544. }
  5545. }
  5546. }
  5547. }
  5548. },
  5549. "/Erms3/AddErms2ASApply": {
  5550. "post": {
  5551. "security": [
  5552. {
  5553. "ApiKeyAuth": []
  5554. }
  5555. ],
  5556. "produces": [
  5557. "application/json"
  5558. ],
  5559. "tags": [
  5560. "风险管理v3"
  5561. ],
  5562. "summary": "新增期现套利业务申请",
  5563. "parameters": [
  5564. {
  5565. "description": "申请参数",
  5566. "name": "jsonBody",
  5567. "in": "body",
  5568. "required": true,
  5569. "schema": {
  5570. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5571. }
  5572. }
  5573. ],
  5574. "responses": {
  5575. "200": {
  5576. "description": "OK",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. },
  5581. "500": {
  5582. "description": "Internal Server Error",
  5583. "schema": {
  5584. "$ref": "#/definitions/app.Response"
  5585. }
  5586. }
  5587. }
  5588. }
  5589. },
  5590. "/Erms3/AddErms2SpotTradeApply": {
  5591. "post": {
  5592. "security": [
  5593. {
  5594. "ApiKeyAuth": []
  5595. }
  5596. ],
  5597. "produces": [
  5598. "application/json"
  5599. ],
  5600. "tags": [
  5601. "风险管理v3"
  5602. ],
  5603. "summary": "新增现货贸易业务申请",
  5604. "parameters": [
  5605. {
  5606. "description": "申请参数",
  5607. "name": "jsonBody",
  5608. "in": "body",
  5609. "required": true,
  5610. "schema": {
  5611. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5612. }
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. }
  5628. }
  5629. }
  5630. },
  5631. "/Erms3/AddSpotContractApply": {
  5632. "post": {
  5633. "security": [
  5634. {
  5635. "ApiKeyAuth": []
  5636. }
  5637. ],
  5638. "produces": [
  5639. "application/json"
  5640. ],
  5641. "tags": [
  5642. "风险管理v3"
  5643. ],
  5644. "summary": "新增现货合同申请",
  5645. "parameters": [
  5646. {
  5647. "description": "申请参数",
  5648. "name": "jsonBody",
  5649. "in": "body",
  5650. "required": true,
  5651. "schema": {
  5652. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5653. }
  5654. }
  5655. ],
  5656. "responses": {
  5657. "200": {
  5658. "description": "OK",
  5659. "schema": {
  5660. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5661. }
  5662. },
  5663. "500": {
  5664. "description": "Internal Server Error",
  5665. "schema": {
  5666. "$ref": "#/definitions/app.Response"
  5667. }
  5668. }
  5669. }
  5670. }
  5671. },
  5672. "/Erms3/AddUserInfoApply": {
  5673. "post": {
  5674. "security": [
  5675. {
  5676. "ApiKeyAuth": []
  5677. }
  5678. ],
  5679. "produces": [
  5680. "application/json"
  5681. ],
  5682. "tags": [
  5683. "风险管理v3"
  5684. ],
  5685. "summary": "新增客户申请",
  5686. "parameters": [
  5687. {
  5688. "description": "用户信息",
  5689. "name": "jsonBody",
  5690. "in": "body",
  5691. "required": true,
  5692. "schema": {
  5693. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5694. }
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Erms3/DeleteUserInfoApply": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5721. "produces": [
  5722. "application/json"
  5723. ],
  5724. "tags": [
  5725. "风险管理v3"
  5726. ],
  5727. "summary": "删除客户申请",
  5728. "parameters": [
  5729. {
  5730. "type": "integer",
  5731. "description": "用户ID",
  5732. "name": "userID",
  5733. "in": "query",
  5734. "required": true
  5735. }
  5736. ],
  5737. "responses": {
  5738. "200": {
  5739. "description": "OK",
  5740. "schema": {
  5741. "$ref": "#/definitions/app.Response"
  5742. }
  5743. },
  5744. "500": {
  5745. "description": "Internal Server Error",
  5746. "schema": {
  5747. "$ref": "#/definitions/app.Response"
  5748. }
  5749. }
  5750. }
  5751. }
  5752. },
  5753. "/Erms3/ModifyUserInfoApply": {
  5754. "post": {
  5755. "security": [
  5756. {
  5757. "ApiKeyAuth": []
  5758. }
  5759. ],
  5760. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5761. "produces": [
  5762. "application/json"
  5763. ],
  5764. "tags": [
  5765. "风险管理v3"
  5766. ],
  5767. "summary": "修改客户申请",
  5768. "parameters": [
  5769. {
  5770. "description": "用户信息",
  5771. "name": "jsonBody",
  5772. "in": "body",
  5773. "required": true,
  5774. "schema": {
  5775. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5776. }
  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/QueryBusinessInfo": {
  5796. "get": {
  5797. "security": [
  5798. {
  5799. "ApiKeyAuth": []
  5800. }
  5801. ],
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "风险管理v3"
  5807. ],
  5808. "summary": "查询业务表单数据",
  5809. "parameters": [
  5810. {
  5811. "type": "string",
  5812. "description": "资金账号ID列表,用逗号分隔",
  5813. "name": "accountids",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "integer",
  5819. "description": "状态,0为未结束 1为已结束",
  5820. "name": "status",
  5821. "in": "query",
  5822. "required": true
  5823. }
  5824. ],
  5825. "responses": {
  5826. "200": {
  5827. "description": "OK",
  5828. "schema": {
  5829. "type": "array",
  5830. "items": {
  5831. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5832. }
  5833. }
  5834. },
  5835. "500": {
  5836. "description": "Internal Server Error",
  5837. "schema": {
  5838. "$ref": "#/definitions/app.Response"
  5839. }
  5840. }
  5841. }
  5842. }
  5843. },
  5844. "/Erms3/QueryPendingAuditContract": {
  5845. "get": {
  5846. "security": [
  5847. {
  5848. "ApiKeyAuth": []
  5849. }
  5850. ],
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "风险管理v3"
  5856. ],
  5857. "summary": "查询待审核合同",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账号ID列表,逗号隔开",
  5862. "name": "accountids",
  5863. "in": "query",
  5864. "required": true
  5865. },
  5866. {
  5867. "type": "integer",
  5868. "description": "合同类型 1-采购 -1-销售",
  5869. "name": "contracttype",
  5870. "in": "query",
  5871. "required": true
  5872. },
  5873. {
  5874. "type": "integer",
  5875. "description": "合同模式 1-普通 2-回购",
  5876. "name": "contractmode",
  5877. "in": "query",
  5878. "required": true
  5879. }
  5880. ],
  5881. "responses": {
  5882. "200": {
  5883. "description": "OK",
  5884. "schema": {
  5885. "type": "array",
  5886. "items": {
  5887. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5888. }
  5889. }
  5890. },
  5891. "500": {
  5892. "description": "Internal Server Error",
  5893. "schema": {
  5894. "$ref": "#/definitions/app.Response"
  5895. }
  5896. }
  5897. }
  5898. }
  5899. },
  5900. "/Erms3/QueryPendingBusiness": {
  5901. "get": {
  5902. "security": [
  5903. {
  5904. "ApiKeyAuth": []
  5905. }
  5906. ],
  5907. "produces": [
  5908. "application/json"
  5909. ],
  5910. "tags": [
  5911. "风险管理v3"
  5912. ],
  5913. "summary": "查询待审核基差贸易业务",
  5914. "parameters": [
  5915. {
  5916. "type": "string",
  5917. "description": "资金账号ID列表,逗号隔开",
  5918. "name": "accountids",
  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.QryPendingBizRsp"
  5930. }
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/Erms3/QuerySpotContractAppleForm": {
  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": "integer",
  5959. "description": "登录账号",
  5960. "name": "loginID",
  5961. "in": "query",
  5962. "required": true
  5963. }
  5964. ],
  5965. "responses": {
  5966. "200": {
  5967. "description": "OK",
  5968. "schema": {
  5969. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5970. }
  5971. },
  5972. "500": {
  5973. "description": "Internal Server Error",
  5974. "schema": {
  5975. "$ref": "#/definitions/app.Response"
  5976. }
  5977. }
  5978. }
  5979. }
  5980. },
  5981. "/Erms3/QuerySpotContractDetail": {
  5982. "get": {
  5983. "security": [
  5984. {
  5985. "ApiKeyAuth": []
  5986. }
  5987. ],
  5988. "produces": [
  5989. "application/json"
  5990. ],
  5991. "tags": [
  5992. "风险管理v3"
  5993. ],
  5994. "summary": "查询合同详细信息",
  5995. "parameters": [
  5996. {
  5997. "type": "string",
  5998. "description": "资金账号ID列表,用逗号分隔",
  5999. "name": "accountids",
  6000. "in": "query",
  6001. "required": true
  6002. },
  6003. {
  6004. "type": "integer",
  6005. "description": "合同类型,1为采购合同 -1为销售合同",
  6006. "name": "contracttype",
  6007. "in": "query",
  6008. "required": true
  6009. },
  6010. {
  6011. "type": "integer",
  6012. "description": "合同模式,1为普通合同 2为回购销售合同",
  6013. "name": "contractmode",
  6014. "in": "query",
  6015. "required": true
  6016. },
  6017. {
  6018. "type": "integer",
  6019. "description": "状态,0为履约中 1为已完成",
  6020. "name": "status",
  6021. "in": "query",
  6022. "required": true
  6023. }
  6024. ],
  6025. "responses": {
  6026. "200": {
  6027. "description": "OK",
  6028. "schema": {
  6029. "type": "array",
  6030. "items": {
  6031. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6032. }
  6033. }
  6034. },
  6035. "500": {
  6036. "description": "Internal Server Error",
  6037. "schema": {
  6038. "$ref": "#/definitions/app.Response"
  6039. }
  6040. }
  6041. }
  6042. }
  6043. },
  6044. "/Erms3/QueryUserInfoApplies": {
  6045. "get": {
  6046. "security": [
  6047. {
  6048. "ApiKeyAuth": []
  6049. }
  6050. ],
  6051. "produces": [
  6052. "application/json"
  6053. ],
  6054. "tags": [
  6055. "风险管理v3"
  6056. ],
  6057. "summary": "客户申请信息查询",
  6058. "parameters": [
  6059. {
  6060. "type": "integer",
  6061. "description": "页码",
  6062. "name": "page",
  6063. "in": "query"
  6064. },
  6065. {
  6066. "type": "integer",
  6067. "description": "每页条数",
  6068. "name": "pagesize",
  6069. "in": "query"
  6070. },
  6071. {
  6072. "type": "string",
  6073. "description": "客户名称,支持模糊查询",
  6074. "name": "userName",
  6075. "in": "query"
  6076. }
  6077. ],
  6078. "responses": {
  6079. "200": {
  6080. "description": "OK",
  6081. "schema": {
  6082. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6083. }
  6084. },
  6085. "500": {
  6086. "description": "Internal Server Error",
  6087. "schema": {
  6088. "$ref": "#/definitions/app.Response"
  6089. }
  6090. }
  6091. }
  6092. }
  6093. },
  6094. "/Erms3/QueryUserInfos": {
  6095. "get": {
  6096. "security": [
  6097. {
  6098. "ApiKeyAuth": []
  6099. }
  6100. ],
  6101. "produces": [
  6102. "application/json"
  6103. ],
  6104. "tags": [
  6105. "风险管理v3"
  6106. ],
  6107. "summary": "客户信息查询",
  6108. "parameters": [
  6109. {
  6110. "type": "integer",
  6111. "description": "页码",
  6112. "name": "page",
  6113. "in": "query"
  6114. },
  6115. {
  6116. "type": "integer",
  6117. "description": "每页条数",
  6118. "name": "pagesize",
  6119. "in": "query"
  6120. },
  6121. {
  6122. "type": "string",
  6123. "description": "客户名称,支持模糊查询",
  6124. "name": "userName",
  6125. "in": "query"
  6126. }
  6127. ],
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6133. }
  6134. },
  6135. "500": {
  6136. "description": "Internal Server Error",
  6137. "schema": {
  6138. "$ref": "#/definitions/app.Response"
  6139. }
  6140. }
  6141. }
  6142. }
  6143. },
  6144. "/HSBY/GetHsbyMyCount": {
  6145. "get": {
  6146. "security": [
  6147. {
  6148. "ApiKeyAuth": []
  6149. }
  6150. ],
  6151. "description": "说明: 不包括已完成的数量。",
  6152. "produces": [
  6153. "application/json"
  6154. ],
  6155. "tags": [
  6156. "定制【海商报业】"
  6157. ],
  6158. "summary": "获取我的订单与包裹数量",
  6159. "parameters": [
  6160. {
  6161. "type": "string",
  6162. "description": "资金账户列表,格式:1,2,3",
  6163. "name": "accountIDs",
  6164. "in": "query",
  6165. "required": true
  6166. }
  6167. ],
  6168. "responses": {
  6169. "200": {
  6170. "description": "OK",
  6171. "schema": {
  6172. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6173. }
  6174. },
  6175. "500": {
  6176. "description": "Internal Server Error",
  6177. "schema": {
  6178. "$ref": "#/definitions/app.Response"
  6179. }
  6180. }
  6181. }
  6182. }
  6183. },
  6184. "/HSBY/QueryClientFixedADConfigs": {
  6185. "get": {
  6186. "security": [
  6187. {
  6188. "ApiKeyAuth": []
  6189. }
  6190. ],
  6191. "produces": [
  6192. "application/json"
  6193. ],
  6194. "tags": [
  6195. "定制【海商报业】"
  6196. ],
  6197. "summary": "获取终端固定广告配置",
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.Clientfixedadconfig"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6215. "get": {
  6216. "security": [
  6217. {
  6218. "ApiKeyAuth": []
  6219. }
  6220. ],
  6221. "produces": [
  6222. "application/json"
  6223. ],
  6224. "tags": [
  6225. "定制【海商报业】"
  6226. ],
  6227. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6228. "parameters": [
  6229. {
  6230. "type": "integer",
  6231. "description": "页码",
  6232. "name": "page",
  6233. "in": "query"
  6234. },
  6235. {
  6236. "type": "integer",
  6237. "description": "每页条数",
  6238. "name": "pagesize",
  6239. "in": "query"
  6240. },
  6241. {
  6242. "type": "string",
  6243. "description": "资金账户列表,格式:1,2,3",
  6244. "name": "accountIDs",
  6245. "in": "query",
  6246. "required": true
  6247. }
  6248. ],
  6249. "responses": {
  6250. "200": {
  6251. "description": "OK",
  6252. "schema": {
  6253. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6254. }
  6255. },
  6256. "500": {
  6257. "description": "Internal Server Error",
  6258. "schema": {
  6259. "$ref": "#/definitions/app.Response"
  6260. }
  6261. }
  6262. }
  6263. }
  6264. },
  6265. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6266. "get": {
  6267. "security": [
  6268. {
  6269. "ApiKeyAuth": []
  6270. }
  6271. ],
  6272. "description": "说明:查询结果已按委托价格和委托时间排序",
  6273. "produces": [
  6274. "application/json"
  6275. ],
  6276. "tags": [
  6277. "定制【海商报业】"
  6278. ],
  6279. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6280. "parameters": [
  6281. {
  6282. "type": "integer",
  6283. "description": "商品ID",
  6284. "name": "goodsID",
  6285. "in": "query",
  6286. "required": true
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6291. "name": "accountIDs",
  6292. "in": "query"
  6293. },
  6294. {
  6295. "type": "integer",
  6296. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6297. "name": "buyOrSell",
  6298. "in": "query"
  6299. },
  6300. {
  6301. "type": "number",
  6302. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6303. "name": "price",
  6304. "in": "query"
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "档位,不传则默认为3档",
  6309. "name": "speed",
  6310. "in": "query"
  6311. }
  6312. ],
  6313. "responses": {
  6314. "200": {
  6315. "description": "OK",
  6316. "schema": {
  6317. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6318. }
  6319. },
  6320. "500": {
  6321. "description": "Internal Server Error",
  6322. "schema": {
  6323. "$ref": "#/definitions/app.Response"
  6324. }
  6325. }
  6326. }
  6327. }
  6328. },
  6329. "/HSBY/QueryHsbyListingGoodsDetail": {
  6330. "get": {
  6331. "security": [
  6332. {
  6333. "ApiKeyAuth": []
  6334. }
  6335. ],
  6336. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6337. "produces": [
  6338. "application/json"
  6339. ],
  6340. "tags": [
  6341. "定制【海商报业】"
  6342. ],
  6343. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6344. "parameters": [
  6345. {
  6346. "type": "integer",
  6347. "description": "商品ID",
  6348. "name": "goodsID",
  6349. "in": "query",
  6350. "required": true
  6351. },
  6352. {
  6353. "type": "integer",
  6354. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6355. "name": "accountID",
  6356. "in": "query"
  6357. }
  6358. ],
  6359. "responses": {
  6360. "200": {
  6361. "description": "OK",
  6362. "schema": {
  6363. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6364. }
  6365. },
  6366. "500": {
  6367. "description": "Internal Server Error",
  6368. "schema": {
  6369. "$ref": "#/definitions/app.Response"
  6370. }
  6371. }
  6372. }
  6373. }
  6374. },
  6375. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6376. "get": {
  6377. "security": [
  6378. {
  6379. "ApiKeyAuth": []
  6380. }
  6381. ],
  6382. "produces": [
  6383. "application/json"
  6384. ],
  6385. "tags": [
  6386. "定制【海商报业】"
  6387. ],
  6388. "summary": "查询三级市场(商城)商品信息详情",
  6389. "parameters": [
  6390. {
  6391. "type": "integer",
  6392. "description": "委托单号",
  6393. "name": "orderID",
  6394. "in": "query",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "integer",
  6399. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6400. "name": "accountID",
  6401. "in": "query"
  6402. }
  6403. ],
  6404. "responses": {
  6405. "200": {
  6406. "description": "OK",
  6407. "schema": {
  6408. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6409. }
  6410. },
  6411. "500": {
  6412. "description": "Internal Server Error",
  6413. "schema": {
  6414. "$ref": "#/definitions/app.Response"
  6415. }
  6416. }
  6417. }
  6418. }
  6419. },
  6420. "/HSBY/QueryHsbyMarketGoodses": {
  6421. "get": {
  6422. "security": [
  6423. {
  6424. "ApiKeyAuth": []
  6425. }
  6426. ],
  6427. "produces": [
  6428. "application/json"
  6429. ],
  6430. "tags": [
  6431. "定制【海商报业】"
  6432. ],
  6433. "summary": "查询特卖商品列表(三级商城)",
  6434. "parameters": [
  6435. {
  6436. "type": "integer",
  6437. "description": "页码",
  6438. "name": "page",
  6439. "in": "query"
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": "每页条数",
  6444. "name": "pagesize",
  6445. "in": "query"
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "市场ID列表,格式:1,2,3",
  6450. "name": "marketIDs",
  6451. "in": "query",
  6452. "required": true
  6453. },
  6454. {
  6455. "type": "integer",
  6456. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6457. "name": "accountID",
  6458. "in": "query",
  6459. "required": true
  6460. },
  6461. {
  6462. "type": "integer",
  6463. "description": "类别ID",
  6464. "name": "categoryID",
  6465. "in": "query"
  6466. },
  6467. {
  6468. "type": "string",
  6469. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6470. "name": "goodsIDs",
  6471. "in": "query"
  6472. },
  6473. {
  6474. "type": "integer",
  6475. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6476. "name": "couponTypeID",
  6477. "in": "query"
  6478. }
  6479. ],
  6480. "responses": {
  6481. "200": {
  6482. "description": "OK",
  6483. "schema": {
  6484. "$ref": "#/definitions/models.HsbyMarketGoods"
  6485. }
  6486. },
  6487. "500": {
  6488. "description": "Internal Server Error",
  6489. "schema": {
  6490. "$ref": "#/definitions/app.Response"
  6491. }
  6492. }
  6493. }
  6494. }
  6495. },
  6496. "/HSBY/QueryHsbyMarkets": {
  6497. "get": {
  6498. "security": [
  6499. {
  6500. "ApiKeyAuth": []
  6501. }
  6502. ],
  6503. "produces": [
  6504. "application/json"
  6505. ],
  6506. "tags": [
  6507. "定制【海商报业】"
  6508. ],
  6509. "summary": "查询海商报业相关市场信息",
  6510. "responses": {
  6511. "200": {
  6512. "description": "OK",
  6513. "schema": {
  6514. "$ref": "#/definitions/models.HsbyMarketInfo"
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6534. "produces": [
  6535. "application/json"
  6536. ],
  6537. "tags": [
  6538. "定制【海商报业】"
  6539. ],
  6540. "summary": "查询“我的订单”信息",
  6541. "parameters": [
  6542. {
  6543. "type": "string",
  6544. "description": "资金账户列表,格式:1,2,3",
  6545. "name": "accountIDs",
  6546. "in": "query",
  6547. "required": true
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/app.Response"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/HSBY/QueryHsbyMyGoods": {
  6567. "get": {
  6568. "security": [
  6569. {
  6570. "ApiKeyAuth": []
  6571. }
  6572. ],
  6573. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6574. "produces": [
  6575. "application/json"
  6576. ],
  6577. "tags": [
  6578. "定制【海商报业】"
  6579. ],
  6580. "summary": "查询“我的商品”信息",
  6581. "parameters": [
  6582. {
  6583. "type": "string",
  6584. "description": "资金账户列表,格式:1,2,3",
  6585. "name": "accountIDs",
  6586. "in": "query",
  6587. "required": true
  6588. }
  6589. ],
  6590. "responses": {
  6591. "200": {
  6592. "description": "OK",
  6593. "schema": {
  6594. "$ref": "#/definitions/models.HsbyMyGoods"
  6595. }
  6596. },
  6597. "500": {
  6598. "description": "Internal Server Error",
  6599. "schema": {
  6600. "$ref": "#/definitions/app.Response"
  6601. }
  6602. }
  6603. }
  6604. }
  6605. },
  6606. "/HSBY/QueryHsbyMyPackages": {
  6607. "get": {
  6608. "security": [
  6609. {
  6610. "ApiKeyAuth": []
  6611. }
  6612. ],
  6613. "produces": [
  6614. "application/json"
  6615. ],
  6616. "tags": [
  6617. "定制【海商报业】"
  6618. ],
  6619. "summary": "查询我的包裹信息",
  6620. "parameters": [
  6621. {
  6622. "type": "string",
  6623. "description": "资金账户列表,格式:1,2,3",
  6624. "name": "accountIDs",
  6625. "in": "query",
  6626. "required": true
  6627. },
  6628. {
  6629. "type": "integer",
  6630. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6631. "name": "takeOrderStatus",
  6632. "in": "query"
  6633. }
  6634. ],
  6635. "responses": {
  6636. "200": {
  6637. "description": "OK",
  6638. "schema": {
  6639. "$ref": "#/definitions/models.HsbyMyPackage"
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/HSBY/QueryHsbyPreGoodsDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "定制【海商报业】"
  6663. ],
  6664. "summary": "查询一级市场(预售)商品信息详情",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "商品ID",
  6669. "name": "goodsID",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "资金账户,主要用于获取预售商品购买上限",
  6676. "name": "accountID",
  6677. "in": "query"
  6678. }
  6679. ],
  6680. "responses": {
  6681. "200": {
  6682. "description": "OK",
  6683. "schema": {
  6684. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6685. }
  6686. },
  6687. "500": {
  6688. "description": "Internal Server Error",
  6689. "schema": {
  6690. "$ref": "#/definitions/app.Response"
  6691. }
  6692. }
  6693. }
  6694. }
  6695. },
  6696. "/HSBY/QueryHsbyPreGoodses": {
  6697. "get": {
  6698. "security": [
  6699. {
  6700. "ApiKeyAuth": []
  6701. }
  6702. ],
  6703. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6704. "produces": [
  6705. "application/json"
  6706. ],
  6707. "tags": [
  6708. "定制【海商报业】"
  6709. ],
  6710. "summary": "查询新品上市商品列表(一级市场预售)",
  6711. "parameters": [
  6712. {
  6713. "type": "integer",
  6714. "description": "页码",
  6715. "name": "page",
  6716. "in": "query"
  6717. },
  6718. {
  6719. "type": "integer",
  6720. "description": "每页条数",
  6721. "name": "pagesize",
  6722. "in": "query"
  6723. },
  6724. {
  6725. "type": "string",
  6726. "description": "市场ID列表,格式:1,2,3",
  6727. "name": "marketIDs",
  6728. "in": "query",
  6729. "required": true
  6730. },
  6731. {
  6732. "type": "integer",
  6733. "description": "目的地(省)ID",
  6734. "name": "descProvinceID",
  6735. "in": "query"
  6736. },
  6737. {
  6738. "type": "integer",
  6739. "description": "目的地(市)ID",
  6740. "name": "descCityID",
  6741. "in": "query"
  6742. }
  6743. ],
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/models.HsbyPreGoods"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/HSBY/QueryHsbySellMyDetails": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "定制【海商报业】"
  6773. ],
  6774. "summary": "查询\"我的闲置\"单据信息",
  6775. "parameters": [
  6776. {
  6777. "type": "integer",
  6778. "description": "页码",
  6779. "name": "page",
  6780. "in": "query"
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "每页条数",
  6785. "name": "pagesize",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "资金账户列表,格式:1,2,3",
  6791. "name": "accountIDs",
  6792. "in": "query",
  6793. "required": true
  6794. },
  6795. {
  6796. "type": "integer",
  6797. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6798. "name": "orderType",
  6799. "in": "query"
  6800. }
  6801. ],
  6802. "responses": {
  6803. "200": {
  6804. "description": "OK",
  6805. "schema": {
  6806. "$ref": "#/definitions/models.HsbySellMyDetail"
  6807. }
  6808. },
  6809. "500": {
  6810. "description": "Internal Server Error",
  6811. "schema": {
  6812. "$ref": "#/definitions/app.Response"
  6813. }
  6814. }
  6815. }
  6816. }
  6817. },
  6818. "/HSBY/QueryHsbyTopGoodses": {
  6819. "get": {
  6820. "security": [
  6821. {
  6822. "ApiKeyAuth": []
  6823. }
  6824. ],
  6825. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6826. "produces": [
  6827. "application/json"
  6828. ],
  6829. "tags": [
  6830. "定制【海商报业】"
  6831. ],
  6832. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6833. "parameters": [
  6834. {
  6835. "type": "integer",
  6836. "description": "页码",
  6837. "name": "page",
  6838. "in": "query"
  6839. },
  6840. {
  6841. "type": "integer",
  6842. "description": "每页条数",
  6843. "name": "pagesize",
  6844. "in": "query"
  6845. },
  6846. {
  6847. "type": "string",
  6848. "description": "市场ID列表,格式:1,2,3",
  6849. "name": "marketIDs",
  6850. "in": "query",
  6851. "required": true
  6852. },
  6853. {
  6854. "type": "integer",
  6855. "description": "目的地(省)ID",
  6856. "name": "descProvinceID",
  6857. "in": "query"
  6858. },
  6859. {
  6860. "type": "integer",
  6861. "description": "目的地(市)ID",
  6862. "name": "descCityID",
  6863. "in": "query"
  6864. }
  6865. ],
  6866. "responses": {
  6867. "200": {
  6868. "description": "OK",
  6869. "schema": {
  6870. "$ref": "#/definitions/models.HsbyTopGoods"
  6871. }
  6872. },
  6873. "500": {
  6874. "description": "Internal Server Error",
  6875. "schema": {
  6876. "$ref": "#/definitions/app.Response"
  6877. }
  6878. }
  6879. }
  6880. }
  6881. },
  6882. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6883. "get": {
  6884. "security": [
  6885. {
  6886. "ApiKeyAuth": []
  6887. }
  6888. ],
  6889. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6890. "produces": [
  6891. "application/json"
  6892. ],
  6893. "tags": [
  6894. "定制【海商报业】"
  6895. ],
  6896. "summary": "查询游客三级市场(商城)商品信息详情",
  6897. "parameters": [
  6898. {
  6899. "type": "integer",
  6900. "description": "商品ID",
  6901. "name": "goodsID",
  6902. "in": "query",
  6903. "required": true
  6904. }
  6905. ],
  6906. "responses": {
  6907. "200": {
  6908. "description": "OK",
  6909. "schema": {
  6910. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6911. }
  6912. },
  6913. "500": {
  6914. "description": "Internal Server Error",
  6915. "schema": {
  6916. "$ref": "#/definitions/app.Response"
  6917. }
  6918. }
  6919. }
  6920. }
  6921. },
  6922. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6923. "get": {
  6924. "security": [
  6925. {
  6926. "ApiKeyAuth": []
  6927. }
  6928. ],
  6929. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6930. "produces": [
  6931. "application/json"
  6932. ],
  6933. "tags": [
  6934. "定制【海商报业】"
  6935. ],
  6936. "summary": "查询游客特卖商品列表(三级商城)",
  6937. "parameters": [
  6938. {
  6939. "type": "integer",
  6940. "description": "页码",
  6941. "name": "page",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "integer",
  6946. "description": "每页条数",
  6947. "name": "pagesize",
  6948. "in": "query"
  6949. },
  6950. {
  6951. "type": "string",
  6952. "description": "市场ID列表,格式:1,2,3",
  6953. "name": "marketIDs",
  6954. "in": "query",
  6955. "required": true
  6956. },
  6957. {
  6958. "type": "integer",
  6959. "description": "类别ID",
  6960. "name": "categoryID",
  6961. "in": "query"
  6962. },
  6963. {
  6964. "type": "string",
  6965. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6966. "name": "goodsIDs",
  6967. "in": "query"
  6968. }
  6969. ],
  6970. "responses": {
  6971. "200": {
  6972. "description": "OK",
  6973. "schema": {
  6974. "$ref": "#/definitions/models.HsbyMarketGoods"
  6975. }
  6976. },
  6977. "500": {
  6978. "description": "Internal Server Error",
  6979. "schema": {
  6980. "$ref": "#/definitions/app.Response"
  6981. }
  6982. }
  6983. }
  6984. }
  6985. },
  6986. "/HSBY/QueryMyCollectionOrders": {
  6987. "get": {
  6988. "security": [
  6989. {
  6990. "ApiKeyAuth": []
  6991. }
  6992. ],
  6993. "produces": [
  6994. "application/json"
  6995. ],
  6996. "tags": [
  6997. "定制【海商报业】"
  6998. ],
  6999. "summary": "我的闲置中收款信息查询",
  7000. "parameters": [
  7001. {
  7002. "type": "integer",
  7003. "description": "页码",
  7004. "name": "page",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "integer",
  7009. "description": "每页条数",
  7010. "name": "pagesize",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "string",
  7015. "description": "资金账户,格式:1,2,3",
  7016. "name": "accountIDs",
  7017. "in": "query",
  7018. "required": true
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/HSBY/QueryMyCouponHolds": {
  7038. "get": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "定制【海商报业】"
  7050. ],
  7051. "summary": "我的优惠卷持仓查询",
  7052. "parameters": [
  7053. {
  7054. "type": "string",
  7055. "description": "资金账户列表,格式:1,2,3",
  7056. "name": "accountIDs",
  7057. "in": "query",
  7058. "required": true
  7059. },
  7060. {
  7061. "type": "string",
  7062. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7063. "name": "holdStatus",
  7064. "in": "query"
  7065. }
  7066. ],
  7067. "responses": {
  7068. "200": {
  7069. "description": "OK",
  7070. "schema": {
  7071. "$ref": "#/definitions/models.MyCouponHold"
  7072. }
  7073. },
  7074. "500": {
  7075. "description": "Internal Server Error",
  7076. "schema": {
  7077. "$ref": "#/definitions/app.Response"
  7078. }
  7079. }
  7080. }
  7081. }
  7082. },
  7083. "/HSBY/QueryMyCoupons": {
  7084. "get": {
  7085. "security": [
  7086. {
  7087. "ApiKeyAuth": []
  7088. }
  7089. ],
  7090. "produces": [
  7091. "application/json"
  7092. ],
  7093. "tags": [
  7094. "定制【海商报业】"
  7095. ],
  7096. "summary": "我的优惠卷查询",
  7097. "parameters": [
  7098. {
  7099. "type": "string",
  7100. "description": "资金账户列表,格式:1,2,3",
  7101. "name": "accountIDs",
  7102. "in": "query",
  7103. "required": true
  7104. },
  7105. {
  7106. "type": "integer",
  7107. "description": "商品ID, 一般与sellUserID配套传入",
  7108. "name": "goodsID",
  7109. "in": "query"
  7110. },
  7111. {
  7112. "type": "integer",
  7113. "description": "卖方UserID",
  7114. "name": "sellUserID",
  7115. "in": "query"
  7116. }
  7117. ],
  7118. "responses": {
  7119. "200": {
  7120. "description": "OK",
  7121. "schema": {
  7122. "$ref": "#/definitions/models.MyCoupon"
  7123. }
  7124. },
  7125. "500": {
  7126. "description": "Internal Server Error",
  7127. "schema": {
  7128. "$ref": "#/definitions/app.Response"
  7129. }
  7130. }
  7131. }
  7132. }
  7133. },
  7134. "/HSBY/QueryMyPayOrders": {
  7135. "get": {
  7136. "security": [
  7137. {
  7138. "ApiKeyAuth": []
  7139. }
  7140. ],
  7141. "produces": [
  7142. "application/json"
  7143. ],
  7144. "tags": [
  7145. "定制【海商报业】"
  7146. ],
  7147. "summary": "获取我的订单中待付款信息",
  7148. "parameters": [
  7149. {
  7150. "type": "integer",
  7151. "description": "页码",
  7152. "name": "page",
  7153. "in": "query"
  7154. },
  7155. {
  7156. "type": "integer",
  7157. "description": "每页条数",
  7158. "name": "pagesize",
  7159. "in": "query"
  7160. },
  7161. {
  7162. "type": "string",
  7163. "description": "资金账户列表,格式:1,2,3",
  7164. "name": "accountIDs",
  7165. "in": "query",
  7166. "required": true
  7167. },
  7168. {
  7169. "type": "integer",
  7170. "description": "买方委托单号",
  7171. "name": "buyOrderID",
  7172. "in": "query"
  7173. },
  7174. {
  7175. "type": "integer",
  7176. "description": "卖方委托单号",
  7177. "name": "sellOrderID",
  7178. "in": "query"
  7179. }
  7180. ],
  7181. "responses": {
  7182. "200": {
  7183. "description": "OK",
  7184. "schema": {
  7185. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7186. }
  7187. },
  7188. "500": {
  7189. "description": "Internal Server Error",
  7190. "schema": {
  7191. "$ref": "#/definitions/app.Response"
  7192. }
  7193. }
  7194. }
  7195. }
  7196. },
  7197. "/HSBY/QueryMyUsedCoupon": {
  7198. "get": {
  7199. "security": [
  7200. {
  7201. "ApiKeyAuth": []
  7202. }
  7203. ],
  7204. "produces": [
  7205. "application/json"
  7206. ],
  7207. "tags": [
  7208. "定制【海商报业】"
  7209. ],
  7210. "summary": "已使用优惠卷查询",
  7211. "parameters": [
  7212. {
  7213. "type": "string",
  7214. "description": "资金账户列表,格式:1,2,3",
  7215. "name": "accountIDs",
  7216. "in": "query",
  7217. "required": true
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "$ref": "#/definitions/models.MyUsedCoupon"
  7225. }
  7226. },
  7227. "500": {
  7228. "description": "Internal Server Error",
  7229. "schema": {
  7230. "$ref": "#/definitions/app.Response"
  7231. }
  7232. }
  7233. }
  7234. }
  7235. },
  7236. "/HSBY/QueryProvincesAndCities": {
  7237. "get": {
  7238. "security": [
  7239. {
  7240. "ApiKeyAuth": []
  7241. }
  7242. ],
  7243. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7244. "produces": [
  7245. "application/json"
  7246. ],
  7247. "tags": [
  7248. "定制【海商报业】"
  7249. ],
  7250. "summary": "查询省市信息(不包括区)",
  7251. "parameters": [
  7252. {
  7253. "type": "integer",
  7254. "description": "省ID",
  7255. "name": "provinceID",
  7256. "in": "query"
  7257. }
  7258. ],
  7259. "responses": {
  7260. "200": {
  7261. "description": "OK",
  7262. "schema": {
  7263. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7264. }
  7265. },
  7266. "500": {
  7267. "description": "Internal Server Error",
  7268. "schema": {
  7269. "$ref": "#/definitions/app.Response"
  7270. }
  7271. }
  7272. }
  7273. }
  7274. },
  7275. "/HSBY/SetHsbyMyPackagesStatus": {
  7276. "post": {
  7277. "security": [
  7278. {
  7279. "ApiKeyAuth": []
  7280. }
  7281. ],
  7282. "produces": [
  7283. "application/json"
  7284. ],
  7285. "tags": [
  7286. "定制【海商报业】"
  7287. ],
  7288. "summary": "设置我的包裹已收货状态",
  7289. "parameters": [
  7290. {
  7291. "type": "string",
  7292. "description": "提货单号",
  7293. "name": "takeOrderID",
  7294. "in": "query",
  7295. "required": true
  7296. },
  7297. {
  7298. "type": "integer",
  7299. "description": "资金账号",
  7300. "name": "accountID",
  7301. "in": "query",
  7302. "required": true
  7303. }
  7304. ],
  7305. "responses": {
  7306. "200": {
  7307. "description": "OK",
  7308. "schema": {
  7309. "$ref": "#/definitions/app.Response"
  7310. }
  7311. },
  7312. "500": {
  7313. "description": "Internal Server Error",
  7314. "schema": {
  7315. "$ref": "#/definitions/app.Response"
  7316. }
  7317. }
  7318. }
  7319. }
  7320. },
  7321. "/Market/GetAllExExchanges": {
  7322. "get": {
  7323. "security": [
  7324. {
  7325. "ApiKeyAuth": []
  7326. }
  7327. ],
  7328. "produces": [
  7329. "application/json"
  7330. ],
  7331. "tags": [
  7332. "通用市场"
  7333. ],
  7334. "summary": "获取所有外部交易所信息",
  7335. "responses": {
  7336. "200": {
  7337. "description": "OK",
  7338. "schema": {
  7339. "$ref": "#/definitions/models.Goods"
  7340. }
  7341. },
  7342. "500": {
  7343. "description": "Internal Server Error",
  7344. "schema": {
  7345. "$ref": "#/definitions/app.Response"
  7346. }
  7347. }
  7348. }
  7349. }
  7350. },
  7351. "/Market/QueryGoodsesByLoginID": {
  7352. "get": {
  7353. "security": [
  7354. {
  7355. "ApiKeyAuth": []
  7356. }
  7357. ],
  7358. "produces": [
  7359. "application/json"
  7360. ],
  7361. "tags": [
  7362. "通用市场"
  7363. ],
  7364. "summary": "获取登录账号有权限的商品信息",
  7365. "parameters": [
  7366. {
  7367. "type": "integer",
  7368. "description": "登录账号",
  7369. "name": "loginID",
  7370. "in": "query",
  7371. "required": true
  7372. },
  7373. {
  7374. "type": "string",
  7375. "description": "市场ID列表,格式:1,2,3",
  7376. "name": "marketIDs",
  7377. "in": "query"
  7378. }
  7379. ],
  7380. "responses": {
  7381. "200": {
  7382. "description": "OK",
  7383. "schema": {
  7384. "$ref": "#/definitions/models.Goods"
  7385. }
  7386. },
  7387. "500": {
  7388. "description": "Internal Server Error",
  7389. "schema": {
  7390. "$ref": "#/definitions/app.Response"
  7391. }
  7392. }
  7393. }
  7394. }
  7395. },
  7396. "/Market/QueryMarketRun": {
  7397. "get": {
  7398. "security": [
  7399. {
  7400. "ApiKeyAuth": []
  7401. }
  7402. ],
  7403. "produces": [
  7404. "application/json"
  7405. ],
  7406. "tags": [
  7407. "通用市场"
  7408. ],
  7409. "summary": "查询市场运行信息",
  7410. "parameters": [
  7411. {
  7412. "type": "integer",
  7413. "description": "市场ID,不传返回所有",
  7414. "name": "marketID",
  7415. "in": "query"
  7416. }
  7417. ],
  7418. "responses": {
  7419. "200": {
  7420. "description": "OK",
  7421. "schema": {
  7422. "$ref": "#/definitions/models.Marketrun"
  7423. }
  7424. },
  7425. "500": {
  7426. "description": "Internal Server Error",
  7427. "schema": {
  7428. "$ref": "#/definitions/app.Response"
  7429. }
  7430. }
  7431. }
  7432. }
  7433. },
  7434. "/Market/QueryMarketsByLoginID": {
  7435. "get": {
  7436. "security": [
  7437. {
  7438. "ApiKeyAuth": []
  7439. }
  7440. ],
  7441. "produces": [
  7442. "application/json"
  7443. ],
  7444. "tags": [
  7445. "通用市场"
  7446. ],
  7447. "summary": "获取登录账号有权限的市场信息",
  7448. "parameters": [
  7449. {
  7450. "type": "integer",
  7451. "description": "登录账号",
  7452. "name": "loginID",
  7453. "in": "query",
  7454. "required": true
  7455. }
  7456. ],
  7457. "responses": {
  7458. "200": {
  7459. "description": "OK",
  7460. "schema": {
  7461. "$ref": "#/definitions/models.Market"
  7462. }
  7463. },
  7464. "500": {
  7465. "description": "Internal Server Error",
  7466. "schema": {
  7467. "$ref": "#/definitions/app.Response"
  7468. }
  7469. }
  7470. }
  7471. }
  7472. },
  7473. "/Order/QueryHisTradeDetail": {
  7474. "get": {
  7475. "security": [
  7476. {
  7477. "ApiKeyAuth": []
  7478. }
  7479. ],
  7480. "produces": [
  7481. "application/json"
  7482. ],
  7483. "tags": [
  7484. "通用单据"
  7485. ],
  7486. "summary": "历史成交单查询(合约市场)",
  7487. "parameters": [
  7488. {
  7489. "type": "string",
  7490. "description": "资金账户 - 格式:1,2,3",
  7491. "name": "accountID",
  7492. "in": "query",
  7493. "required": true
  7494. },
  7495. {
  7496. "type": "integer",
  7497. "description": "成交单号",
  7498. "name": "tradeID",
  7499. "in": "query"
  7500. },
  7501. {
  7502. "type": "integer",
  7503. "description": "委托单号",
  7504. "name": "orderID",
  7505. "in": "query"
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "商品ID",
  7510. "name": "goodsID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "string",
  7515. "description": "交易模式 - 格式:1,2,3",
  7516. "name": "tradeMode",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "委托单据类型",
  7522. "name": "buildType",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "成交类别 - 格式:1,2,3",
  7528. "name": "tradeType",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7534. "name": "startDate",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7540. "name": "endDate",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Order/QueryHisTradeOrderDetail": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用单据"
  7572. ],
  7573. "summary": "历史委托单查询请求(合约市场)",
  7574. "parameters": [
  7575. {
  7576. "type": "string",
  7577. "description": "资金账户 - 格式:1,2,3",
  7578. "name": "accountID",
  7579. "in": "query",
  7580. "required": true
  7581. },
  7582. {
  7583. "type": "string",
  7584. "description": "交易模式 - 格式:1,2,3",
  7585. "name": "tradeMode",
  7586. "in": "query"
  7587. },
  7588. {
  7589. "type": "string",
  7590. "description": "委托状态 - 格式:1,2,3",
  7591. "name": "orderStatus",
  7592. "in": "query"
  7593. },
  7594. {
  7595. "type": "integer",
  7596. "description": "委托单号",
  7597. "name": "orderID",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7603. "name": "startDate",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "string",
  7608. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7609. "name": "endDate",
  7610. "in": "query"
  7611. }
  7612. ],
  7613. "responses": {
  7614. "200": {
  7615. "description": "OK",
  7616. "schema": {
  7617. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7618. }
  7619. },
  7620. "500": {
  7621. "description": "Internal Server Error",
  7622. "schema": {
  7623. "$ref": "#/definitions/app.Response"
  7624. }
  7625. }
  7626. }
  7627. }
  7628. },
  7629. "/Order/QueryTradeDetail": {
  7630. "get": {
  7631. "security": [
  7632. {
  7633. "ApiKeyAuth": []
  7634. }
  7635. ],
  7636. "produces": [
  7637. "application/json"
  7638. ],
  7639. "tags": [
  7640. "通用单据"
  7641. ],
  7642. "summary": "成交单查询(合约市场)",
  7643. "parameters": [
  7644. {
  7645. "type": "string",
  7646. "description": "资金账户 - 格式:1,2,3",
  7647. "name": "accountID",
  7648. "in": "query",
  7649. "required": true
  7650. },
  7651. {
  7652. "type": "integer",
  7653. "description": "成交单号",
  7654. "name": "tradeID",
  7655. "in": "query"
  7656. },
  7657. {
  7658. "type": "integer",
  7659. "description": "委托单号",
  7660. "name": "orderID",
  7661. "in": "query"
  7662. },
  7663. {
  7664. "type": "string",
  7665. "description": "交易模式 - 格式:1,2,3",
  7666. "name": "tradeMode",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "integer",
  7671. "description": "委托单据类型",
  7672. "name": "buildType",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "string",
  7677. "description": "成交类别 - 格式:1,2,3",
  7678. "name": "tradeType",
  7679. "in": "query"
  7680. },
  7681. {
  7682. "type": "integer",
  7683. "description": "商品ID",
  7684. "name": "goodsID",
  7685. "in": "query"
  7686. }
  7687. ],
  7688. "responses": {
  7689. "200": {
  7690. "description": "OK",
  7691. "schema": {
  7692. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Order/QueryTradeHolderDetail": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "通用单据"
  7716. ],
  7717. "summary": "查询持仓明细",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "用户id",
  7722. "name": "userid",
  7723. "in": "query"
  7724. },
  7725. {
  7726. "type": "string",
  7727. "description": "资金账号, 格式 1,2,3",
  7728. "name": "accids",
  7729. "in": "query"
  7730. },
  7731. {
  7732. "type": "string",
  7733. "description": "交易模式, 格式 1,2,3",
  7734. "name": "trademodes",
  7735. "in": "query"
  7736. },
  7737. {
  7738. "type": "string",
  7739. "description": "市场id, 格式 1,2,3",
  7740. "name": "marketids",
  7741. "in": "query"
  7742. },
  7743. {
  7744. "type": "integer",
  7745. "description": "商品id",
  7746. "name": "goodsid",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "integer",
  7751. "description": "买卖方向 0-买 1-卖",
  7752. "name": "buyorsell",
  7753. "in": "query"
  7754. }
  7755. ],
  7756. "responses": {
  7757. "200": {
  7758. "description": "OK",
  7759. "schema": {
  7760. "type": "array",
  7761. "items": {
  7762. "$ref": "#/definitions/models.TradeHolderDetail"
  7763. }
  7764. }
  7765. },
  7766. "500": {
  7767. "description": "Internal Server Error",
  7768. "schema": {
  7769. "$ref": "#/definitions/app.Response"
  7770. }
  7771. }
  7772. }
  7773. }
  7774. },
  7775. "/Order/QueryTradeOrderDetail": {
  7776. "get": {
  7777. "security": [
  7778. {
  7779. "ApiKeyAuth": []
  7780. }
  7781. ],
  7782. "produces": [
  7783. "application/json"
  7784. ],
  7785. "tags": [
  7786. "通用单据"
  7787. ],
  7788. "summary": "委托单查询请求(合约市场)",
  7789. "parameters": [
  7790. {
  7791. "type": "string",
  7792. "description": "资金账户 - 格式:1,2,3",
  7793. "name": "accountID",
  7794. "in": "query",
  7795. "required": true
  7796. },
  7797. {
  7798. "type": "string",
  7799. "description": "交易模式 - 格式:1,2,3",
  7800. "name": "tradeMode",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "string",
  7805. "description": "委托状态 - 格式:1,2,3",
  7806. "name": "orderStatus",
  7807. "in": "query"
  7808. },
  7809. {
  7810. "type": "integer",
  7811. "description": "委托单号",
  7812. "name": "orderID",
  7813. "in": "query"
  7814. }
  7815. ],
  7816. "responses": {
  7817. "200": {
  7818. "description": "OK",
  7819. "schema": {
  7820. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7821. }
  7822. },
  7823. "500": {
  7824. "description": "Internal Server Error",
  7825. "schema": {
  7826. "$ref": "#/definitions/app.Response"
  7827. }
  7828. }
  7829. }
  7830. }
  7831. },
  7832. "/Order/QueryTradePosition": {
  7833. "get": {
  7834. "security": [
  7835. {
  7836. "ApiKeyAuth": []
  7837. }
  7838. ],
  7839. "produces": [
  7840. "application/json"
  7841. ],
  7842. "tags": [
  7843. "通用单据"
  7844. ],
  7845. "summary": "持仓汇总查询(合约市场)",
  7846. "parameters": [
  7847. {
  7848. "type": "string",
  7849. "description": "资金账户 - 格式:1,2,3",
  7850. "name": "accountID",
  7851. "in": "query",
  7852. "required": true
  7853. },
  7854. {
  7855. "type": "string",
  7856. "description": "交易模式 - 格式:1,2,3",
  7857. "name": "tradeMode",
  7858. "in": "query"
  7859. }
  7860. ],
  7861. "responses": {
  7862. "200": {
  7863. "description": "OK",
  7864. "schema": {
  7865. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7866. }
  7867. },
  7868. "500": {
  7869. "description": "Internal Server Error",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "/Qhj/QueryAccountInOutApply": {
  7878. "get": {
  7879. "security": [
  7880. {
  7881. "ApiKeyAuth": []
  7882. }
  7883. ],
  7884. "produces": [
  7885. "application/json"
  7886. ],
  7887. "tags": [
  7888. "大连千海金"
  7889. ],
  7890. "summary": "查询充值提现",
  7891. "parameters": [
  7892. {
  7893. "type": "integer",
  7894. "description": "用户ID",
  7895. "name": "userid",
  7896. "in": "query",
  7897. "required": true
  7898. },
  7899. {
  7900. "type": "string",
  7901. "description": "申请起始日期(格式yyyymmdd)",
  7902. "name": "begindate",
  7903. "in": "query"
  7904. },
  7905. {
  7906. "type": "string",
  7907. "description": "申请截止日期(格式yyyymmdd)",
  7908. "name": "enddate",
  7909. "in": "query"
  7910. },
  7911. {
  7912. "type": "string",
  7913. "description": "模糊搜索名称",
  7914. "name": "likename",
  7915. "in": "query"
  7916. }
  7917. ],
  7918. "responses": {
  7919. "200": {
  7920. "description": "OK",
  7921. "schema": {
  7922. "type": "array",
  7923. "items": {
  7924. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7925. }
  7926. }
  7927. },
  7928. "500": {
  7929. "description": "Internal Server Error",
  7930. "schema": {
  7931. "$ref": "#/definitions/app.Response"
  7932. }
  7933. }
  7934. }
  7935. }
  7936. },
  7937. "/Qhj/QueryAreaFinanceConfig": {
  7938. "get": {
  7939. "security": [
  7940. {
  7941. "ApiKeyAuth": []
  7942. }
  7943. ],
  7944. "produces": [
  7945. "application/json"
  7946. ],
  7947. "tags": [
  7948. "大连千海金"
  7949. ],
  7950. "summary": "查询企业配置表",
  7951. "parameters": [
  7952. {
  7953. "type": "integer",
  7954. "description": "机构用户ID 其他做市关系,都设置为 1",
  7955. "name": "userid",
  7956. "in": "query"
  7957. }
  7958. ],
  7959. "responses": {
  7960. "200": {
  7961. "description": "OK",
  7962. "schema": {
  7963. "type": "array",
  7964. "items": {
  7965. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7966. }
  7967. }
  7968. },
  7969. "500": {
  7970. "description": "Internal Server Error",
  7971. "schema": {
  7972. "$ref": "#/definitions/app.Response"
  7973. }
  7974. }
  7975. }
  7976. }
  7977. },
  7978. "/Qhj/QueryBankAccountSign": {
  7979. "get": {
  7980. "security": [
  7981. {
  7982. "ApiKeyAuth": []
  7983. }
  7984. ],
  7985. "produces": [
  7986. "application/json"
  7987. ],
  7988. "tags": [
  7989. "大连千海金"
  7990. ],
  7991. "summary": "查询签约银行信息(提现账户管理)",
  7992. "parameters": [
  7993. {
  7994. "type": "integer",
  7995. "description": "用户ID",
  7996. "name": "userid",
  7997. "in": "query",
  7998. "required": true
  7999. }
  8000. ],
  8001. "responses": {
  8002. "200": {
  8003. "description": "OK",
  8004. "schema": {
  8005. "type": "array",
  8006. "items": {
  8007. "$ref": "#/definitions/models.QhjBankAccountSign"
  8008. }
  8009. }
  8010. },
  8011. "500": {
  8012. "description": "Internal Server Error",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. }
  8017. }
  8018. }
  8019. },
  8020. "/Qhj/QueryBankInfo": {
  8021. "get": {
  8022. "security": [
  8023. {
  8024. "ApiKeyAuth": []
  8025. }
  8026. ],
  8027. "produces": [
  8028. "application/json"
  8029. ],
  8030. "tags": [
  8031. "大连千海金"
  8032. ],
  8033. "summary": "查询开户行",
  8034. "responses": {
  8035. "200": {
  8036. "description": "OK",
  8037. "schema": {
  8038. "type": "array",
  8039. "items": {
  8040. "$ref": "#/definitions/models.QhjBankInfo"
  8041. }
  8042. }
  8043. },
  8044. "500": {
  8045. "description": "Internal Server Error",
  8046. "schema": {
  8047. "$ref": "#/definitions/app.Response"
  8048. }
  8049. }
  8050. }
  8051. }
  8052. },
  8053. "/Qhj/QueryBrokerApply": {
  8054. "get": {
  8055. "security": [
  8056. {
  8057. "ApiKeyAuth": []
  8058. }
  8059. ],
  8060. "produces": [
  8061. "application/json"
  8062. ],
  8063. "tags": [
  8064. "大连千海金"
  8065. ],
  8066. "summary": "查询经纪人申请",
  8067. "parameters": [
  8068. {
  8069. "type": "integer",
  8070. "description": "所属机构ID",
  8071. "name": "userid",
  8072. "in": "query"
  8073. },
  8074. {
  8075. "type": "string",
  8076. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8077. "name": "filterstatus",
  8078. "in": "query"
  8079. }
  8080. ],
  8081. "responses": {
  8082. "200": {
  8083. "description": "OK",
  8084. "schema": {
  8085. "type": "array",
  8086. "items": {
  8087. "$ref": "#/definitions/models.QhjBrokerApply"
  8088. }
  8089. }
  8090. },
  8091. "500": {
  8092. "description": "Internal Server Error",
  8093. "schema": {
  8094. "$ref": "#/definitions/app.Response"
  8095. }
  8096. }
  8097. }
  8098. }
  8099. },
  8100. "/Qhj/QueryBrokerApplyEx": {
  8101. "get": {
  8102. "security": [
  8103. {
  8104. "ApiKeyAuth": []
  8105. }
  8106. ],
  8107. "produces": [
  8108. "application/json"
  8109. ],
  8110. "tags": [
  8111. "大连千海金"
  8112. ],
  8113. "summary": "查询经纪人信息和申请记录",
  8114. "parameters": [
  8115. {
  8116. "type": "integer",
  8117. "description": "所属机构ID",
  8118. "name": "userid",
  8119. "in": "query"
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "type": "array",
  8127. "items": {
  8128. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8129. }
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/Qhj/QueryBrokerRewardLog": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "大连千海金"
  8153. ],
  8154. "summary": "查询奖励流水(我的奖励)",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "用户ID",
  8159. "name": "userid",
  8160. "in": "query",
  8161. "required": true
  8162. },
  8163. {
  8164. "type": "string",
  8165. "description": "开始交易日(yyyymmdd)",
  8166. "name": "begindate",
  8167. "in": "query"
  8168. },
  8169. {
  8170. "type": "string",
  8171. "description": "结束交易日(yyyymmdd)",
  8172. "name": "enddate",
  8173. "in": "query"
  8174. }
  8175. ],
  8176. "responses": {
  8177. "200": {
  8178. "description": "OK",
  8179. "schema": {
  8180. "type": "array",
  8181. "items": {
  8182. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8183. }
  8184. }
  8185. },
  8186. "500": {
  8187. "description": "Internal Server Error",
  8188. "schema": {
  8189. "$ref": "#/definitions/app.Response"
  8190. }
  8191. }
  8192. }
  8193. }
  8194. },
  8195. "/Qhj/QueryContract": {
  8196. "get": {
  8197. "security": [
  8198. {
  8199. "ApiKeyAuth": []
  8200. }
  8201. ],
  8202. "produces": [
  8203. "application/json"
  8204. ],
  8205. "tags": [
  8206. "大连千海金"
  8207. ],
  8208. "summary": "查询融资明细(合同)",
  8209. "parameters": [
  8210. {
  8211. "type": "integer",
  8212. "description": "用户ID",
  8213. "name": "userid",
  8214. "in": "query"
  8215. },
  8216. {
  8217. "type": "integer",
  8218. "description": "scf合同id",
  8219. "name": "scfcontractid",
  8220. "in": "query"
  8221. }
  8222. ],
  8223. "responses": {
  8224. "200": {
  8225. "description": "OK",
  8226. "schema": {
  8227. "type": "array",
  8228. "items": {
  8229. "$ref": "#/definitions/models.QhjContract"
  8230. }
  8231. }
  8232. },
  8233. "500": {
  8234. "description": "Internal Server Error",
  8235. "schema": {
  8236. "$ref": "#/definitions/app.Response"
  8237. }
  8238. }
  8239. }
  8240. }
  8241. },
  8242. "/Qhj/QueryContractLog": {
  8243. "get": {
  8244. "security": [
  8245. {
  8246. "ApiKeyAuth": []
  8247. }
  8248. ],
  8249. "produces": [
  8250. "application/json"
  8251. ],
  8252. "tags": [
  8253. "大连千海金"
  8254. ],
  8255. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8256. "parameters": [
  8257. {
  8258. "type": "integer",
  8259. "description": "scf合同id",
  8260. "name": "scfcontractid",
  8261. "in": "query",
  8262. "required": true
  8263. },
  8264. {
  8265. "type": "string",
  8266. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8267. "name": "amounttype",
  8268. "in": "query"
  8269. }
  8270. ],
  8271. "responses": {
  8272. "200": {
  8273. "description": "OK",
  8274. "schema": {
  8275. "type": "array",
  8276. "items": {
  8277. "$ref": "#/definitions/models.QhjContractLog"
  8278. }
  8279. }
  8280. },
  8281. "500": {
  8282. "description": "Internal Server Error",
  8283. "schema": {
  8284. "$ref": "#/definitions/app.Response"
  8285. }
  8286. }
  8287. }
  8288. }
  8289. },
  8290. "/Qhj/QueryCusBankSignBank": {
  8291. "get": {
  8292. "security": [
  8293. {
  8294. "ApiKeyAuth": []
  8295. }
  8296. ],
  8297. "produces": [
  8298. "application/json"
  8299. ],
  8300. "tags": [
  8301. "大连千海金"
  8302. ],
  8303. "summary": "查询托管银行",
  8304. "responses": {
  8305. "200": {
  8306. "description": "OK",
  8307. "schema": {
  8308. "type": "array",
  8309. "items": {
  8310. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8311. }
  8312. }
  8313. },
  8314. "500": {
  8315. "description": "Internal Server Error",
  8316. "schema": {
  8317. "$ref": "#/definitions/app.Response"
  8318. }
  8319. }
  8320. }
  8321. }
  8322. },
  8323. "/Qhj/QueryCustomerInfo": {
  8324. "get": {
  8325. "security": [
  8326. {
  8327. "ApiKeyAuth": []
  8328. }
  8329. ],
  8330. "produces": [
  8331. "application/json"
  8332. ],
  8333. "tags": [
  8334. "大连千海金"
  8335. ],
  8336. "summary": "查询客户资料",
  8337. "parameters": [
  8338. {
  8339. "type": "integer",
  8340. "description": "用户ID",
  8341. "name": "userid",
  8342. "in": "query",
  8343. "required": true
  8344. },
  8345. {
  8346. "type": "integer",
  8347. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8348. "name": "querytype",
  8349. "in": "query",
  8350. "required": true
  8351. },
  8352. {
  8353. "type": "integer",
  8354. "description": "客户类型 1-个人 2-企业",
  8355. "name": "userinfotype",
  8356. "in": "query"
  8357. },
  8358. {
  8359. "type": "string",
  8360. "description": "客户名称(模糊匹配)",
  8361. "name": "customername",
  8362. "in": "query"
  8363. },
  8364. {
  8365. "type": "string",
  8366. "description": "昵称(模糊匹配)",
  8367. "name": "nickname",
  8368. "in": "query"
  8369. },
  8370. {
  8371. "type": "integer",
  8372. "description": "是否包含子级 1-包含",
  8373. "name": "includesub",
  8374. "in": "query"
  8375. }
  8376. ],
  8377. "responses": {
  8378. "200": {
  8379. "description": "OK",
  8380. "schema": {
  8381. "type": "array",
  8382. "items": {
  8383. "$ref": "#/definitions/models.QhjCustomer"
  8384. }
  8385. }
  8386. },
  8387. "500": {
  8388. "description": "Internal Server Error",
  8389. "schema": {
  8390. "$ref": "#/definitions/app.Response"
  8391. }
  8392. }
  8393. }
  8394. }
  8395. },
  8396. "/Qhj/QueryGoodsEx": {
  8397. "get": {
  8398. "security": [
  8399. {
  8400. "ApiKeyAuth": []
  8401. }
  8402. ],
  8403. "produces": [
  8404. "application/json"
  8405. ],
  8406. "tags": [
  8407. "大连千海金"
  8408. ],
  8409. "summary": "交易商品扩展表",
  8410. "parameters": [
  8411. {
  8412. "type": "integer",
  8413. "description": "商品id",
  8414. "name": "goodsid",
  8415. "in": "query"
  8416. }
  8417. ],
  8418. "responses": {
  8419. "200": {
  8420. "description": "OK",
  8421. "schema": {
  8422. "type": "array",
  8423. "items": {
  8424. "$ref": "#/definitions/models.Qhjgoodsex"
  8425. }
  8426. }
  8427. },
  8428. "500": {
  8429. "description": "Internal Server Error",
  8430. "schema": {
  8431. "$ref": "#/definitions/app.Response"
  8432. }
  8433. }
  8434. }
  8435. }
  8436. },
  8437. "/Qhj/QueryMyTeam": {
  8438. "get": {
  8439. "security": [
  8440. {
  8441. "ApiKeyAuth": []
  8442. }
  8443. ],
  8444. "produces": [
  8445. "application/json"
  8446. ],
  8447. "tags": [
  8448. "大连千海金"
  8449. ],
  8450. "summary": "查询我的团队",
  8451. "parameters": [
  8452. {
  8453. "type": "integer",
  8454. "description": "用户ID",
  8455. "name": "userid",
  8456. "in": "query",
  8457. "required": true
  8458. }
  8459. ],
  8460. "responses": {
  8461. "200": {
  8462. "description": "OK",
  8463. "schema": {
  8464. "type": "array",
  8465. "items": {
  8466. "$ref": "#/definitions/models.QhjMyTeamEx"
  8467. }
  8468. }
  8469. },
  8470. "500": {
  8471. "description": "Internal Server Error",
  8472. "schema": {
  8473. "$ref": "#/definitions/app.Response"
  8474. }
  8475. }
  8476. }
  8477. }
  8478. },
  8479. "/Qhj/QueryMyTeamOrder": {
  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": "页码",
  8497. "name": "page",
  8498. "in": "query"
  8499. },
  8500. {
  8501. "type": "integer",
  8502. "description": "每页条数",
  8503. "name": "pagesize",
  8504. "in": "query"
  8505. },
  8506. {
  8507. "type": "integer",
  8508. "description": "用户ID",
  8509. "name": "userid",
  8510. "in": "query",
  8511. "required": true
  8512. },
  8513. {
  8514. "type": "integer",
  8515. "description": "交易模式",
  8516. "name": "trademode",
  8517. "in": "query"
  8518. },
  8519. {
  8520. "type": "string",
  8521. "description": "名称(模糊搜索账户)",
  8522. "name": "filtername",
  8523. "in": "query"
  8524. }
  8525. ],
  8526. "responses": {
  8527. "200": {
  8528. "description": "OK",
  8529. "schema": {
  8530. "type": "array",
  8531. "items": {
  8532. "$ref": "#/definitions/models.QhjTeamOrder"
  8533. }
  8534. }
  8535. },
  8536. "500": {
  8537. "description": "Internal Server Error",
  8538. "schema": {
  8539. "$ref": "#/definitions/app.Response"
  8540. }
  8541. }
  8542. }
  8543. }
  8544. },
  8545. "/Qhj/QueryParentAreaList": {
  8546. "get": {
  8547. "security": [
  8548. {
  8549. "ApiKeyAuth": []
  8550. }
  8551. ],
  8552. "produces": [
  8553. "application/json"
  8554. ],
  8555. "tags": [
  8556. "大连千海金"
  8557. ],
  8558. "summary": "查询所属机构列表",
  8559. "parameters": [
  8560. {
  8561. "type": "integer",
  8562. "description": "用户ID",
  8563. "name": "userid",
  8564. "in": "query",
  8565. "required": true
  8566. }
  8567. ],
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "type": "array",
  8573. "items": {
  8574. "$ref": "#/definitions/models.QhjParentAreaList"
  8575. }
  8576. }
  8577. },
  8578. "500": {
  8579. "description": "Internal Server Error",
  8580. "schema": {
  8581. "$ref": "#/definitions/app.Response"
  8582. }
  8583. }
  8584. }
  8585. }
  8586. },
  8587. "/Qhj/QueryPayOrder": {
  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": "accountid",
  8606. "in": "query",
  8607. "required": true
  8608. },
  8609. {
  8610. "type": "integer",
  8611. "description": "成交单号",
  8612. "name": "tradeid",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8618. "name": "payflag",
  8619. "in": "query"
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.QhjPayOrder"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/Qhj/QueryPickArea": {
  8642. "get": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. }
  8647. ],
  8648. "produces": [
  8649. "application/json"
  8650. ],
  8651. "tags": [
  8652. "大连千海金"
  8653. ],
  8654. "summary": "查询提货门店",
  8655. "parameters": [
  8656. {
  8657. "type": "integer",
  8658. "description": "用户ID",
  8659. "name": "userid",
  8660. "in": "query"
  8661. }
  8662. ],
  8663. "responses": {
  8664. "200": {
  8665. "description": "OK",
  8666. "schema": {
  8667. "type": "array",
  8668. "items": {
  8669. "$ref": "#/definitions/models.QhjPickArea"
  8670. }
  8671. }
  8672. },
  8673. "500": {
  8674. "description": "Internal Server Error",
  8675. "schema": {
  8676. "$ref": "#/definitions/app.Response"
  8677. }
  8678. }
  8679. }
  8680. }
  8681. },
  8682. "/Qhj/QueryPickGoods": {
  8683. "get": {
  8684. "security": [
  8685. {
  8686. "ApiKeyAuth": []
  8687. }
  8688. ],
  8689. "produces": [
  8690. "application/json"
  8691. ],
  8692. "tags": [
  8693. "大连千海金"
  8694. ],
  8695. "summary": "查询提货商品",
  8696. "parameters": [
  8697. {
  8698. "type": "integer",
  8699. "description": "交易商品id",
  8700. "name": "goodsid",
  8701. "in": "query",
  8702. "required": true
  8703. },
  8704. {
  8705. "type": "string",
  8706. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8707. "name": "status",
  8708. "in": "query"
  8709. }
  8710. ],
  8711. "responses": {
  8712. "200": {
  8713. "description": "OK",
  8714. "schema": {
  8715. "type": "array",
  8716. "items": {
  8717. "$ref": "#/definitions/models.QhjPickGoods"
  8718. }
  8719. }
  8720. },
  8721. "500": {
  8722. "description": "Internal Server Error",
  8723. "schema": {
  8724. "$ref": "#/definitions/app.Response"
  8725. }
  8726. }
  8727. }
  8728. }
  8729. },
  8730. "/Qhj/QueryRSTriggerLog": {
  8731. "get": {
  8732. "security": [
  8733. {
  8734. "ApiKeyAuth": []
  8735. }
  8736. ],
  8737. "produces": [
  8738. "application/json"
  8739. ],
  8740. "tags": [
  8741. "大连千海金"
  8742. ],
  8743. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8744. "parameters": [
  8745. {
  8746. "type": "integer",
  8747. "description": "用户ID",
  8748. "name": "userid",
  8749. "in": "query"
  8750. },
  8751. {
  8752. "type": "integer",
  8753. "description": "定投策略id",
  8754. "name": "regularlystrategyid",
  8755. "in": "query"
  8756. },
  8757. {
  8758. "type": "integer",
  8759. "description": "商品id",
  8760. "name": "goodsid",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "string",
  8765. "description": "开始交易日(yyyymmdd)",
  8766. "name": "begindate",
  8767. "in": "query"
  8768. },
  8769. {
  8770. "type": "string",
  8771. "description": "结束交易日(yyyymmdd)",
  8772. "name": "enddate",
  8773. "in": "query"
  8774. },
  8775. {
  8776. "type": "string",
  8777. "description": "名称(模糊搜索账户)",
  8778. "name": "filtername",
  8779. "in": "query"
  8780. }
  8781. ],
  8782. "responses": {
  8783. "200": {
  8784. "description": "OK",
  8785. "schema": {
  8786. "type": "array",
  8787. "items": {
  8788. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8789. }
  8790. }
  8791. },
  8792. "500": {
  8793. "description": "Internal Server Error",
  8794. "schema": {
  8795. "$ref": "#/definitions/app.Response"
  8796. }
  8797. }
  8798. }
  8799. }
  8800. },
  8801. "/Qhj/QueryRStrategy": {
  8802. "get": {
  8803. "security": [
  8804. {
  8805. "ApiKeyAuth": []
  8806. }
  8807. ],
  8808. "produces": [
  8809. "application/json"
  8810. ],
  8811. "tags": [
  8812. "大连千海金"
  8813. ],
  8814. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8815. "parameters": [
  8816. {
  8817. "type": "integer",
  8818. "description": "用户ID",
  8819. "name": "userid",
  8820. "in": "query"
  8821. },
  8822. {
  8823. "type": "integer",
  8824. "description": "商品id",
  8825. "name": "goodsid",
  8826. "in": "query"
  8827. },
  8828. {
  8829. "type": "string",
  8830. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8831. "name": "status",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "string",
  8836. "description": "名称(模糊搜索账户)",
  8837. "name": "filtername",
  8838. "in": "query"
  8839. }
  8840. ],
  8841. "responses": {
  8842. "200": {
  8843. "description": "OK",
  8844. "schema": {
  8845. "type": "array",
  8846. "items": {
  8847. "$ref": "#/definitions/models.QhjRStrategy"
  8848. }
  8849. }
  8850. },
  8851. "500": {
  8852. "description": "Internal Server Error",
  8853. "schema": {
  8854. "$ref": "#/definitions/app.Response"
  8855. }
  8856. }
  8857. }
  8858. }
  8859. },
  8860. "/Qhj/QueryReckonPriceLog": {
  8861. "get": {
  8862. "security": [
  8863. {
  8864. "ApiKeyAuth": []
  8865. }
  8866. ],
  8867. "produces": [
  8868. "application/json"
  8869. ],
  8870. "tags": [
  8871. "大连千海金"
  8872. ],
  8873. "summary": "查询定投价(结算价)",
  8874. "parameters": [
  8875. {
  8876. "type": "integer",
  8877. "description": "商品ID",
  8878. "name": "goodsid",
  8879. "in": "query"
  8880. },
  8881. {
  8882. "type": "string",
  8883. "description": "交易日 格式(yyyymmdd)",
  8884. "name": "tradedate",
  8885. "in": "query"
  8886. }
  8887. ],
  8888. "responses": {
  8889. "200": {
  8890. "description": "OK",
  8891. "schema": {
  8892. "type": "array",
  8893. "items": {
  8894. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8895. }
  8896. }
  8897. },
  8898. "500": {
  8899. "description": "Internal Server Error",
  8900. "schema": {
  8901. "$ref": "#/definitions/app.Response"
  8902. }
  8903. }
  8904. }
  8905. }
  8906. },
  8907. "/Qhj/QueryScoreLog": {
  8908. "get": {
  8909. "security": [
  8910. {
  8911. "ApiKeyAuth": []
  8912. }
  8913. ],
  8914. "produces": [
  8915. "application/json"
  8916. ],
  8917. "tags": [
  8918. "大连千海金"
  8919. ],
  8920. "summary": "查询积分流水(我的积分)",
  8921. "parameters": [
  8922. {
  8923. "type": "integer",
  8924. "description": "用户ID",
  8925. "name": "userid",
  8926. "in": "query",
  8927. "required": true
  8928. },
  8929. {
  8930. "type": "string",
  8931. "description": "开始交易日(yyyymmdd)",
  8932. "name": "begindate",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "string",
  8937. "description": "结束交易日(yyyymmdd)",
  8938. "name": "enddate",
  8939. "in": "query"
  8940. },
  8941. {
  8942. "type": "integer",
  8943. "description": "最近多少条",
  8944. "name": "lastnum",
  8945. "in": "query"
  8946. }
  8947. ],
  8948. "responses": {
  8949. "200": {
  8950. "description": "OK",
  8951. "schema": {
  8952. "type": "array",
  8953. "items": {
  8954. "$ref": "#/definitions/models.QhjScoreLog"
  8955. }
  8956. }
  8957. },
  8958. "500": {
  8959. "description": "Internal Server Error",
  8960. "schema": {
  8961. "$ref": "#/definitions/app.Response"
  8962. }
  8963. }
  8964. }
  8965. }
  8966. },
  8967. "/Qhj/QuerySiteColumnDetail": {
  8968. "get": {
  8969. "security": [
  8970. {
  8971. "ApiKeyAuth": []
  8972. }
  8973. ],
  8974. "produces": [
  8975. "application/json"
  8976. ],
  8977. "tags": [
  8978. "大连千海金"
  8979. ],
  8980. "summary": "查询资讯",
  8981. "parameters": [
  8982. {
  8983. "type": "integer",
  8984. "description": "用户ID",
  8985. "name": "userid",
  8986. "in": "query",
  8987. "required": true
  8988. }
  8989. ],
  8990. "responses": {
  8991. "200": {
  8992. "description": "OK",
  8993. "schema": {
  8994. "type": "array",
  8995. "items": {
  8996. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8997. }
  8998. }
  8999. },
  9000. "500": {
  9001. "description": "Internal Server Error",
  9002. "schema": {
  9003. "$ref": "#/definitions/app.Response"
  9004. }
  9005. }
  9006. }
  9007. }
  9008. },
  9009. "/Qhj/QueryTradeGoodsPickup": {
  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. "type": "integer",
  9033. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9034. "name": "takeorderstatus",
  9035. "in": "query"
  9036. }
  9037. ],
  9038. "responses": {
  9039. "200": {
  9040. "description": "OK",
  9041. "schema": {
  9042. "type": "array",
  9043. "items": {
  9044. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9045. }
  9046. }
  9047. },
  9048. "500": {
  9049. "description": "Internal Server Error",
  9050. "schema": {
  9051. "$ref": "#/definitions/app.Response"
  9052. }
  9053. }
  9054. }
  9055. }
  9056. },
  9057. "/Qhj/QueryUserCollectConfig": {
  9058. "get": {
  9059. "security": [
  9060. {
  9061. "ApiKeyAuth": []
  9062. }
  9063. ],
  9064. "produces": [
  9065. "application/json"
  9066. ],
  9067. "tags": [
  9068. "大连千海金"
  9069. ],
  9070. "summary": "查询提现账户设置",
  9071. "parameters": [
  9072. {
  9073. "type": "integer",
  9074. "description": "用户ID",
  9075. "name": "userid",
  9076. "in": "query",
  9077. "required": true
  9078. }
  9079. ],
  9080. "responses": {
  9081. "200": {
  9082. "description": "OK",
  9083. "schema": {
  9084. "type": "array",
  9085. "items": {
  9086. "$ref": "#/definitions/models.UserCollectConfig"
  9087. }
  9088. }
  9089. },
  9090. "500": {
  9091. "description": "Internal Server Error",
  9092. "schema": {
  9093. "$ref": "#/definitions/app.Response"
  9094. }
  9095. }
  9096. }
  9097. }
  9098. },
  9099. "/Qhj/QueryUserReceiveInfo": {
  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.UserReceiveInfo"
  9129. }
  9130. }
  9131. },
  9132. "500": {
  9133. "description": "Internal Server Error",
  9134. "schema": {
  9135. "$ref": "#/definitions/app.Response"
  9136. }
  9137. }
  9138. }
  9139. }
  9140. },
  9141. "/QhjMgr/QueryAccountInOutApply": {
  9142. "get": {
  9143. "security": [
  9144. {
  9145. "ApiKeyAuth": []
  9146. }
  9147. ],
  9148. "produces": [
  9149. "application/json"
  9150. ],
  9151. "tags": [
  9152. "大连千海金(PCWeb)"
  9153. ],
  9154. "summary": "查询充值提现",
  9155. "parameters": [
  9156. {
  9157. "type": "integer",
  9158. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9159. "name": "querytype",
  9160. "in": "query",
  9161. "required": true
  9162. },
  9163. {
  9164. "type": "integer",
  9165. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9166. "name": "applystatus",
  9167. "in": "query"
  9168. },
  9169. {
  9170. "type": "string",
  9171. "description": "申请起始日期(格式yyyymmdd)",
  9172. "name": "begindate",
  9173. "in": "query"
  9174. },
  9175. {
  9176. "type": "string",
  9177. "description": "申请截止日期(格式yyyymmdd)",
  9178. "name": "enddate",
  9179. "in": "query"
  9180. },
  9181. {
  9182. "type": "string",
  9183. "description": "模糊搜索名称",
  9184. "name": "likename",
  9185. "in": "query"
  9186. }
  9187. ],
  9188. "responses": {
  9189. "200": {
  9190. "description": "OK",
  9191. "schema": {
  9192. "type": "array",
  9193. "items": {
  9194. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9195. }
  9196. }
  9197. },
  9198. "500": {
  9199. "description": "Internal Server Error",
  9200. "schema": {
  9201. "$ref": "#/definitions/app.Response"
  9202. }
  9203. }
  9204. }
  9205. }
  9206. },
  9207. "/QhjMgr/QueryBrokerApply": {
  9208. "get": {
  9209. "security": [
  9210. {
  9211. "ApiKeyAuth": []
  9212. }
  9213. ],
  9214. "produces": [
  9215. "application/json"
  9216. ],
  9217. "tags": [
  9218. "大连千海金(PCWeb)"
  9219. ],
  9220. "summary": "查询经纪人申请",
  9221. "parameters": [
  9222. {
  9223. "type": "integer",
  9224. "description": "所属机构ID",
  9225. "name": "userid",
  9226. "in": "query"
  9227. },
  9228. {
  9229. "type": "string",
  9230. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9231. "name": "filterstatus",
  9232. "in": "query"
  9233. },
  9234. {
  9235. "type": "string",
  9236. "description": "名称(模糊匹配)",
  9237. "name": "filtername",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "integer",
  9242. "description": "是否包含子级 1-包含",
  9243. "name": "includesub",
  9244. "in": "query"
  9245. }
  9246. ],
  9247. "responses": {
  9248. "200": {
  9249. "description": "OK",
  9250. "schema": {
  9251. "type": "array",
  9252. "items": {
  9253. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9254. }
  9255. }
  9256. },
  9257. "500": {
  9258. "description": "Internal Server Error",
  9259. "schema": {
  9260. "$ref": "#/definitions/app.Response"
  9261. }
  9262. }
  9263. }
  9264. }
  9265. },
  9266. "/QhjMgr/QueryBrokerRewardReport": {
  9267. "get": {
  9268. "security": [
  9269. {
  9270. "ApiKeyAuth": []
  9271. }
  9272. ],
  9273. "produces": [
  9274. "application/json"
  9275. ],
  9276. "tags": [
  9277. "大连千海金(PCWeb)"
  9278. ],
  9279. "summary": "查询经纪人奖励报表(废弃)",
  9280. "parameters": [
  9281. {
  9282. "type": "integer",
  9283. "description": "所属机构ID",
  9284. "name": "userid",
  9285. "in": "query",
  9286. "required": true
  9287. },
  9288. {
  9289. "type": "integer",
  9290. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9291. "name": "cycletype",
  9292. "in": "query",
  9293. "required": true
  9294. },
  9295. {
  9296. "type": "string",
  9297. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9298. "name": "cycletime",
  9299. "in": "query",
  9300. "required": true
  9301. },
  9302. {
  9303. "type": "string",
  9304. "description": "名称(模糊匹配)",
  9305. "name": "filtername",
  9306. "in": "query"
  9307. },
  9308. {
  9309. "type": "integer",
  9310. "description": "是否包含子级 1-包含",
  9311. "name": "includesub",
  9312. "in": "query"
  9313. }
  9314. ],
  9315. "responses": {
  9316. "200": {
  9317. "description": "OK",
  9318. "schema": {
  9319. "type": "array",
  9320. "items": {
  9321. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9322. }
  9323. }
  9324. },
  9325. "500": {
  9326. "description": "Internal Server Error",
  9327. "schema": {
  9328. "$ref": "#/definitions/app.Response"
  9329. }
  9330. }
  9331. }
  9332. }
  9333. },
  9334. "/QhjMgr/QueryContract": {
  9335. "get": {
  9336. "security": [
  9337. {
  9338. "ApiKeyAuth": []
  9339. }
  9340. ],
  9341. "produces": [
  9342. "application/json"
  9343. ],
  9344. "tags": [
  9345. "大连千海金(PCWeb)"
  9346. ],
  9347. "summary": "查询融资信息(合同)",
  9348. "parameters": [
  9349. {
  9350. "type": "integer",
  9351. "description": "用户ID",
  9352. "name": "userid",
  9353. "in": "query"
  9354. },
  9355. {
  9356. "type": "integer",
  9357. "description": "商品id",
  9358. "name": "goodsid",
  9359. "in": "query"
  9360. },
  9361. {
  9362. "type": "string",
  9363. "description": "名称(模糊搜索账户)",
  9364. "name": "filtername",
  9365. "in": "query"
  9366. },
  9367. {
  9368. "type": "string",
  9369. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9370. "name": "risklevel",
  9371. "in": "query"
  9372. },
  9373. {
  9374. "type": "string",
  9375. "description": "开始交易日(yyyymmdd)",
  9376. "name": "begindate",
  9377. "in": "query"
  9378. },
  9379. {
  9380. "type": "string",
  9381. "description": "结束交易日(yyyymmdd)",
  9382. "name": "enddate",
  9383. "in": "query"
  9384. }
  9385. ],
  9386. "responses": {
  9387. "200": {
  9388. "description": "OK",
  9389. "schema": {
  9390. "type": "array",
  9391. "items": {
  9392. "$ref": "#/definitions/models.QhjMgrContract"
  9393. }
  9394. }
  9395. },
  9396. "500": {
  9397. "description": "Internal Server Error",
  9398. "schema": {
  9399. "$ref": "#/definitions/app.Response"
  9400. }
  9401. }
  9402. }
  9403. }
  9404. },
  9405. "/QhjMgr/QueryCustomerInfo": {
  9406. "get": {
  9407. "security": [
  9408. {
  9409. "ApiKeyAuth": []
  9410. }
  9411. ],
  9412. "produces": [
  9413. "application/json"
  9414. ],
  9415. "tags": [
  9416. "大连千海金(PCWeb)"
  9417. ],
  9418. "summary": "查询客户资料",
  9419. "parameters": [
  9420. {
  9421. "type": "integer",
  9422. "description": "用户ID",
  9423. "name": "userid",
  9424. "in": "query",
  9425. "required": true
  9426. },
  9427. {
  9428. "type": "integer",
  9429. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9430. "name": "querytype",
  9431. "in": "query",
  9432. "required": true
  9433. },
  9434. {
  9435. "type": "integer",
  9436. "description": "客户类型 1-个人 2-企业",
  9437. "name": "userinfotype",
  9438. "in": "query"
  9439. },
  9440. {
  9441. "type": "string",
  9442. "description": "客户名称(模糊匹配)",
  9443. "name": "customername",
  9444. "in": "query"
  9445. },
  9446. {
  9447. "type": "string",
  9448. "description": "昵称(模糊匹配)",
  9449. "name": "nickname",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "所属客户经理(模糊匹配)",
  9455. "name": "brokername",
  9456. "in": "query"
  9457. },
  9458. {
  9459. "type": "string",
  9460. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9461. "name": "birthday",
  9462. "in": "query"
  9463. },
  9464. {
  9465. "type": "integer",
  9466. "description": "是否包含子级 1-包含",
  9467. "name": "includesub",
  9468. "in": "query"
  9469. }
  9470. ],
  9471. "responses": {
  9472. "200": {
  9473. "description": "OK",
  9474. "schema": {
  9475. "type": "array",
  9476. "items": {
  9477. "$ref": "#/definitions/models.QhjMgrCustomer"
  9478. }
  9479. }
  9480. },
  9481. "500": {
  9482. "description": "Internal Server Error",
  9483. "schema": {
  9484. "$ref": "#/definitions/app.Response"
  9485. }
  9486. }
  9487. }
  9488. }
  9489. },
  9490. "/QhjMgr/QueryPickGoods": {
  9491. "get": {
  9492. "security": [
  9493. {
  9494. "ApiKeyAuth": []
  9495. }
  9496. ],
  9497. "produces": [
  9498. "application/json"
  9499. ],
  9500. "tags": [
  9501. "大连千海金(PCWeb)"
  9502. ],
  9503. "summary": "查询提货商品",
  9504. "parameters": [
  9505. {
  9506. "type": "string",
  9507. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9508. "name": "status",
  9509. "in": "query"
  9510. }
  9511. ],
  9512. "responses": {
  9513. "200": {
  9514. "description": "OK",
  9515. "schema": {
  9516. "type": "array",
  9517. "items": {
  9518. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9519. }
  9520. }
  9521. },
  9522. "500": {
  9523. "description": "Internal Server Error",
  9524. "schema": {
  9525. "$ref": "#/definitions/app.Response"
  9526. }
  9527. }
  9528. }
  9529. }
  9530. },
  9531. "/QhjMgr/QuerySubArea": {
  9532. "get": {
  9533. "security": [
  9534. {
  9535. "ApiKeyAuth": []
  9536. }
  9537. ],
  9538. "produces": [
  9539. "application/json"
  9540. ],
  9541. "tags": [
  9542. "大连千海金(PCWeb)"
  9543. ],
  9544. "summary": "查询子机构列表",
  9545. "parameters": [
  9546. {
  9547. "type": "integer",
  9548. "description": "用户ID",
  9549. "name": "userid",
  9550. "in": "query",
  9551. "required": true
  9552. }
  9553. ],
  9554. "responses": {
  9555. "200": {
  9556. "description": "OK",
  9557. "schema": {
  9558. "type": "array",
  9559. "items": {
  9560. "$ref": "#/definitions/models.QhjMgrSubArea"
  9561. }
  9562. }
  9563. },
  9564. "500": {
  9565. "description": "Internal Server Error",
  9566. "schema": {
  9567. "$ref": "#/definitions/app.Response"
  9568. }
  9569. }
  9570. }
  9571. }
  9572. },
  9573. "/QhjMgr/QueryTradeDetail": {
  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. "type": "integer",
  9597. "description": "用户类型 1-个人 2-企业",
  9598. "name": "userinfotype",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "integer",
  9603. "description": "交易模式",
  9604. "name": "trademode",
  9605. "in": "query"
  9606. },
  9607. {
  9608. "type": "integer",
  9609. "description": "商品id",
  9610. "name": "goodsid",
  9611. "in": "query"
  9612. },
  9613. {
  9614. "type": "string",
  9615. "description": "名称(模糊搜索账户)",
  9616. "name": "filtername",
  9617. "in": "query"
  9618. },
  9619. {
  9620. "type": "string",
  9621. "description": "开始交易日(yyyymmdd)",
  9622. "name": "begindate",
  9623. "in": "query"
  9624. },
  9625. {
  9626. "type": "string",
  9627. "description": "结束交易日(yyyymmdd)",
  9628. "name": "enddate",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "integer",
  9633. "description": "是否包含子级 1-包含",
  9634. "name": "includesub",
  9635. "in": "query"
  9636. }
  9637. ],
  9638. "responses": {
  9639. "200": {
  9640. "description": "OK",
  9641. "schema": {
  9642. "type": "array",
  9643. "items": {
  9644. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9645. }
  9646. }
  9647. },
  9648. "500": {
  9649. "description": "Internal Server Error",
  9650. "schema": {
  9651. "$ref": "#/definitions/app.Response"
  9652. }
  9653. }
  9654. }
  9655. }
  9656. },
  9657. "/QhjMgr/QueryTradeOrderDetail": {
  9658. "get": {
  9659. "security": [
  9660. {
  9661. "ApiKeyAuth": []
  9662. }
  9663. ],
  9664. "produces": [
  9665. "application/json"
  9666. ],
  9667. "tags": [
  9668. "大连千海金(PCWeb)"
  9669. ],
  9670. "summary": "查询委托明细",
  9671. "parameters": [
  9672. {
  9673. "type": "integer",
  9674. "description": "用户ID",
  9675. "name": "userid",
  9676. "in": "query",
  9677. "required": true
  9678. },
  9679. {
  9680. "type": "integer",
  9681. "description": "用户类型 1-个人 2-企业",
  9682. "name": "userinfotype",
  9683. "in": "query"
  9684. },
  9685. {
  9686. "type": "integer",
  9687. "description": "交易模式",
  9688. "name": "trademode",
  9689. "in": "query"
  9690. },
  9691. {
  9692. "type": "integer",
  9693. "description": "商品id",
  9694. "name": "goodsid",
  9695. "in": "query"
  9696. },
  9697. {
  9698. "type": "string",
  9699. "description": "名称(模糊搜索账户)",
  9700. "name": "filtername",
  9701. "in": "query"
  9702. },
  9703. {
  9704. "type": "string",
  9705. "description": "开始交易日(yyyymmdd)",
  9706. "name": "begindate",
  9707. "in": "query"
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "结束交易日(yyyymmdd)",
  9712. "name": "enddate",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "integer",
  9717. "description": "是否包含子级 1-包含",
  9718. "name": "includesub",
  9719. "in": "query"
  9720. }
  9721. ],
  9722. "responses": {
  9723. "200": {
  9724. "description": "OK",
  9725. "schema": {
  9726. "type": "array",
  9727. "items": {
  9728. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9729. }
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/QhjMgr/QueryTradePayOrder": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "大连千海金(PCWeb)"
  9753. ],
  9754. "summary": "查询待付款单",
  9755. "parameters": [
  9756. {
  9757. "type": "integer",
  9758. "description": "用户ID",
  9759. "name": "userid",
  9760. "in": "query",
  9761. "required": true
  9762. },
  9763. {
  9764. "type": "string",
  9765. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9766. "name": "payflag",
  9767. "in": "query"
  9768. },
  9769. {
  9770. "type": "integer",
  9771. "description": "用户类型 1-个人 2-企业",
  9772. "name": "userinfotype",
  9773. "in": "query"
  9774. },
  9775. {
  9776. "type": "integer",
  9777. "description": "交易模式",
  9778. "name": "trademode",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "integer",
  9783. "description": "商品id",
  9784. "name": "goodsid",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "string",
  9789. "description": "名称(模糊搜索账户)",
  9790. "name": "filtername",
  9791. "in": "query"
  9792. },
  9793. {
  9794. "type": "string",
  9795. "description": "开始交易日(yyyymmdd)",
  9796. "name": "begindate",
  9797. "in": "query"
  9798. },
  9799. {
  9800. "type": "string",
  9801. "description": "结束交易日(yyyymmdd)",
  9802. "name": "enddate",
  9803. "in": "query"
  9804. },
  9805. {
  9806. "type": "integer",
  9807. "description": "是否包含子级 1-包含",
  9808. "name": "includesub",
  9809. "in": "query"
  9810. }
  9811. ],
  9812. "responses": {
  9813. "200": {
  9814. "description": "OK",
  9815. "schema": {
  9816. "type": "array",
  9817. "items": {
  9818. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9819. }
  9820. }
  9821. },
  9822. "500": {
  9823. "description": "Internal Server Error",
  9824. "schema": {
  9825. "$ref": "#/definitions/app.Response"
  9826. }
  9827. }
  9828. }
  9829. }
  9830. },
  9831. "/QhjMgr/QueryTradePosition": {
  9832. "get": {
  9833. "security": [
  9834. {
  9835. "ApiKeyAuth": []
  9836. }
  9837. ],
  9838. "produces": [
  9839. "application/json"
  9840. ],
  9841. "tags": [
  9842. "大连千海金(PCWeb)"
  9843. ],
  9844. "summary": "查询持仓汇总",
  9845. "parameters": [
  9846. {
  9847. "type": "integer",
  9848. "description": "用户ID",
  9849. "name": "userid",
  9850. "in": "query",
  9851. "required": true
  9852. },
  9853. {
  9854. "type": "integer",
  9855. "description": "用户类型 1-个人 2-企业",
  9856. "name": "userinfotype",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "integer",
  9861. "description": "交易模式",
  9862. "name": "trademode",
  9863. "in": "query"
  9864. },
  9865. {
  9866. "type": "integer",
  9867. "description": "商品id",
  9868. "name": "goodsid",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "string",
  9873. "description": "名称(模糊搜索账户)",
  9874. "name": "filtername",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "integer",
  9879. "description": "是否包含子级 1-包含",
  9880. "name": "includesub",
  9881. "in": "query"
  9882. }
  9883. ],
  9884. "responses": {
  9885. "200": {
  9886. "description": "OK",
  9887. "schema": {
  9888. "type": "array",
  9889. "items": {
  9890. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9891. }
  9892. }
  9893. },
  9894. "500": {
  9895. "description": "Internal Server Error",
  9896. "schema": {
  9897. "$ref": "#/definitions/app.Response"
  9898. }
  9899. }
  9900. }
  9901. }
  9902. },
  9903. "/QhjSys/QueryAgreementChangeLog": {
  9904. "get": {
  9905. "security": [
  9906. {
  9907. "ApiKeyAuth": []
  9908. }
  9909. ],
  9910. "produces": [
  9911. "application/json"
  9912. ],
  9913. "tags": [
  9914. "大连千海金(协议和签约信息)"
  9915. ],
  9916. "summary": "查询协议配置变更流水",
  9917. "parameters": [
  9918. {
  9919. "type": "integer",
  9920. "description": "协议ID",
  9921. "name": "agreementid",
  9922. "in": "query"
  9923. },
  9924. {
  9925. "type": "integer",
  9926. "description": "协议版本号",
  9927. "name": "agreementversion",
  9928. "in": "query"
  9929. },
  9930. {
  9931. "type": "integer",
  9932. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9933. "name": "agreementtype",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "string",
  9938. "description": "协议编号(模糊匹配)",
  9939. "name": "agreementno",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "string",
  9944. "description": "协议名称(模糊匹配)",
  9945. "name": "agreementname",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "type": "array",
  9954. "items": {
  9955. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9956. }
  9957. }
  9958. },
  9959. "500": {
  9960. "description": "Internal Server Error",
  9961. "schema": {
  9962. "$ref": "#/definitions/app.Response"
  9963. }
  9964. }
  9965. }
  9966. }
  9967. },
  9968. "/QhjSys/QueryAgreementConfig": {
  9969. "get": {
  9970. "security": [
  9971. {
  9972. "ApiKeyAuth": []
  9973. }
  9974. ],
  9975. "produces": [
  9976. "application/json"
  9977. ],
  9978. "tags": [
  9979. "大连千海金(协议和签约信息)"
  9980. ],
  9981. "summary": "查询协议配置",
  9982. "parameters": [
  9983. {
  9984. "type": "integer",
  9985. "description": "协议ID",
  9986. "name": "agreementid",
  9987. "in": "query"
  9988. },
  9989. {
  9990. "type": "integer",
  9991. "description": "协议版本号",
  9992. "name": "agreementversion",
  9993. "in": "query"
  9994. },
  9995. {
  9996. "type": "integer",
  9997. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9998. "name": "agreementtype",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10004. "name": "isvalid",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "string",
  10009. "description": "协议编号(模糊匹配)",
  10010. "name": "agreementno",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "string",
  10015. "description": "协议名称(模糊匹配)",
  10016. "name": "agreementname",
  10017. "in": "query"
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "type": "array",
  10025. "items": {
  10026. "$ref": "#/definitions/models.QhjAgreementConfig"
  10027. }
  10028. }
  10029. },
  10030. "500": {
  10031. "description": "Internal Server Error",
  10032. "schema": {
  10033. "$ref": "#/definitions/app.Response"
  10034. }
  10035. }
  10036. }
  10037. }
  10038. },
  10039. "/QhjSys/QueryCustomerSignStatus": {
  10040. "get": {
  10041. "security": [
  10042. {
  10043. "ApiKeyAuth": []
  10044. }
  10045. ],
  10046. "produces": [
  10047. "application/json"
  10048. ],
  10049. "tags": [
  10050. "大连千海金(协议和签约信息)"
  10051. ],
  10052. "summary": "查询客户协议签约状态",
  10053. "parameters": [
  10054. {
  10055. "type": "integer",
  10056. "description": "客户ID",
  10057. "name": "userid",
  10058. "in": "query"
  10059. },
  10060. {
  10061. "type": "integer",
  10062. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10063. "name": "nodetype",
  10064. "in": "query"
  10065. },
  10066. {
  10067. "type": "integer",
  10068. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10069. "name": "goodsid",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "string",
  10074. "description": "创建交易日(yyyyMMdd)",
  10075. "name": "tradedate",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "string",
  10080. "description": "用户名称(模糊匹配)",
  10081. "name": "username",
  10082. "in": "query"
  10083. }
  10084. ],
  10085. "responses": {
  10086. "200": {
  10087. "description": "OK",
  10088. "schema": {
  10089. "type": "array",
  10090. "items": {
  10091. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10092. }
  10093. }
  10094. },
  10095. "500": {
  10096. "description": "Internal Server Error",
  10097. "schema": {
  10098. "$ref": "#/definitions/app.Response"
  10099. }
  10100. }
  10101. }
  10102. }
  10103. },
  10104. "/QhjSys/QueryNodeAgreementConfig": {
  10105. "get": {
  10106. "security": [
  10107. {
  10108. "ApiKeyAuth": []
  10109. }
  10110. ],
  10111. "produces": [
  10112. "application/json"
  10113. ],
  10114. "tags": [
  10115. "大连千海金(协议和签约信息)"
  10116. ],
  10117. "summary": "查询协议节点配置",
  10118. "parameters": [
  10119. {
  10120. "type": "integer",
  10121. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10122. "name": "configid",
  10123. "in": "query"
  10124. },
  10125. {
  10126. "type": "integer",
  10127. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10128. "name": "nodetype",
  10129. "in": "query"
  10130. },
  10131. {
  10132. "type": "integer",
  10133. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10134. "name": "goodsid",
  10135. "in": "query"
  10136. },
  10137. {
  10138. "type": "integer",
  10139. "description": "协议ID",
  10140. "name": "agreementid",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10146. "name": "agreementtype",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "协议版本号",
  10152. "name": "agreementversion",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "string",
  10157. "description": "协议编号(模糊匹配)",
  10158. "name": "agreementno",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "string",
  10163. "description": "协议名称(模糊匹配)",
  10164. "name": "agreementname",
  10165. "in": "query"
  10166. }
  10167. ],
  10168. "responses": {
  10169. "200": {
  10170. "description": "OK",
  10171. "schema": {
  10172. "type": "array",
  10173. "items": {
  10174. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10175. }
  10176. }
  10177. },
  10178. "500": {
  10179. "description": "Internal Server Error",
  10180. "schema": {
  10181. "$ref": "#/definitions/app.Response"
  10182. }
  10183. }
  10184. }
  10185. }
  10186. },
  10187. "/QhjSys/QueryQhjCustomerSignLog": {
  10188. "get": {
  10189. "security": [
  10190. {
  10191. "ApiKeyAuth": []
  10192. }
  10193. ],
  10194. "produces": [
  10195. "application/json"
  10196. ],
  10197. "tags": [
  10198. "大连千海金(协议和签约信息)"
  10199. ],
  10200. "summary": "查询客户协议签约流水",
  10201. "parameters": [
  10202. {
  10203. "type": "integer",
  10204. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10205. "name": "logid",
  10206. "in": "query"
  10207. },
  10208. {
  10209. "type": "integer",
  10210. "description": "客户ID",
  10211. "name": "userid",
  10212. "in": "query"
  10213. },
  10214. {
  10215. "type": "integer",
  10216. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10217. "name": "nodetype",
  10218. "in": "query"
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10223. "name": "goodsid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "integer",
  10228. "description": "协议ID",
  10229. "name": "agreementid",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "string",
  10234. "description": "用户名称(模糊匹配)",
  10235. "name": "username",
  10236. "in": "query"
  10237. },
  10238. {
  10239. "type": "string",
  10240. "description": "协议编号(模糊匹配)",
  10241. "name": "agreementno",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "协议名称(模糊匹配)",
  10247. "name": "agreementname",
  10248. "in": "query"
  10249. }
  10250. ],
  10251. "responses": {
  10252. "200": {
  10253. "description": "OK",
  10254. "schema": {
  10255. "type": "array",
  10256. "items": {
  10257. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10258. }
  10259. }
  10260. },
  10261. "500": {
  10262. "description": "Internal Server Error",
  10263. "schema": {
  10264. "$ref": "#/definitions/app.Response"
  10265. }
  10266. }
  10267. }
  10268. }
  10269. },
  10270. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10271. "get": {
  10272. "security": [
  10273. {
  10274. "ApiKeyAuth": []
  10275. }
  10276. ],
  10277. "produces": [
  10278. "application/json"
  10279. ],
  10280. "tags": [
  10281. "大连千海金(协议和签约信息)"
  10282. ],
  10283. "summary": "查询用户协议节点配置和状态",
  10284. "parameters": [
  10285. {
  10286. "type": "integer",
  10287. "description": "客户ID",
  10288. "name": "userid",
  10289. "in": "query"
  10290. },
  10291. {
  10292. "type": "integer",
  10293. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10294. "name": "configid",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10300. "name": "nodetype",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "integer",
  10305. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10306. "name": "goodsid",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "integer",
  10311. "description": "协议ID",
  10312. "name": "agreementid",
  10313. "in": "query"
  10314. },
  10315. {
  10316. "type": "integer",
  10317. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10318. "name": "agreementtype",
  10319. "in": "query"
  10320. },
  10321. {
  10322. "type": "integer",
  10323. "description": "协议版本号",
  10324. "name": "agreementversion",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "string",
  10329. "description": "协议编号(模糊匹配)",
  10330. "name": "agreementno",
  10331. "in": "query"
  10332. },
  10333. {
  10334. "type": "string",
  10335. "description": "协议名称(模糊匹配)",
  10336. "name": "agreementname",
  10337. "in": "query"
  10338. }
  10339. ],
  10340. "responses": {
  10341. "200": {
  10342. "description": "OK",
  10343. "schema": {
  10344. "type": "array",
  10345. "items": {
  10346. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10347. }
  10348. }
  10349. },
  10350. "500": {
  10351. "description": "Internal Server Error",
  10352. "schema": {
  10353. "$ref": "#/definitions/app.Response"
  10354. }
  10355. }
  10356. }
  10357. }
  10358. },
  10359. "/Quote/QueryHistoryDatas": {
  10360. "get": {
  10361. "security": [
  10362. {
  10363. "ApiKeyAuth": []
  10364. }
  10365. ],
  10366. "produces": [
  10367. "application/json"
  10368. ],
  10369. "tags": [
  10370. "行情服务"
  10371. ],
  10372. "summary": "查询行情历史数据",
  10373. "parameters": [
  10374. {
  10375. "type": "integer",
  10376. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10377. "name": "cycleType",
  10378. "in": "query",
  10379. "required": true
  10380. },
  10381. {
  10382. "type": "string",
  10383. "description": "商品代码",
  10384. "name": "goodsCode",
  10385. "in": "query",
  10386. "required": true
  10387. },
  10388. {
  10389. "type": "string",
  10390. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10391. "name": "startTime",
  10392. "in": "query"
  10393. },
  10394. {
  10395. "type": "string",
  10396. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10397. "name": "endTime",
  10398. "in": "query"
  10399. },
  10400. {
  10401. "type": "integer",
  10402. "description": "条数",
  10403. "name": "count",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "boolean",
  10408. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10409. "name": "isAsc",
  10410. "in": "query"
  10411. }
  10412. ],
  10413. "responses": {
  10414. "200": {
  10415. "description": "OK",
  10416. "schema": {
  10417. "$ref": "#/definitions/quote.HistoryData"
  10418. }
  10419. },
  10420. "500": {
  10421. "description": "Internal Server Error",
  10422. "schema": {
  10423. "$ref": "#/definitions/app.Response"
  10424. }
  10425. }
  10426. }
  10427. }
  10428. },
  10429. "/Quote/QueryHistoryTikDatas": {
  10430. "get": {
  10431. "security": [
  10432. {
  10433. "ApiKeyAuth": []
  10434. }
  10435. ],
  10436. "produces": [
  10437. "application/json"
  10438. ],
  10439. "tags": [
  10440. "行情服务"
  10441. ],
  10442. "summary": "查询行情Tik数据",
  10443. "parameters": [
  10444. {
  10445. "type": "string",
  10446. "description": "商品代码",
  10447. "name": "goodsCode",
  10448. "in": "query",
  10449. "required": true
  10450. },
  10451. {
  10452. "type": "string",
  10453. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10454. "name": "startTime",
  10455. "in": "query"
  10456. },
  10457. {
  10458. "type": "string",
  10459. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10460. "name": "endTime",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "integer",
  10465. "description": "条数",
  10466. "name": "count",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "boolean",
  10471. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10472. "name": "isAsc",
  10473. "in": "query"
  10474. }
  10475. ],
  10476. "responses": {
  10477. "200": {
  10478. "description": "OK",
  10479. "schema": {
  10480. "$ref": "#/definitions/quote.HistoryTikData"
  10481. }
  10482. },
  10483. "500": {
  10484. "description": "Internal Server Error",
  10485. "schema": {
  10486. "$ref": "#/definitions/app.Response"
  10487. }
  10488. }
  10489. }
  10490. }
  10491. },
  10492. "/Quote/QueryQuoteDay": {
  10493. "get": {
  10494. "security": [
  10495. {
  10496. "ApiKeyAuth": []
  10497. }
  10498. ],
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "行情服务"
  10504. ],
  10505. "summary": "获取商品盘面信息",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10510. "name": "goodsCodes",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/Quote/QueryTSData": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "行情服务"
  10543. ],
  10544. "summary": "分时图数据查询",
  10545. "parameters": [
  10546. {
  10547. "type": "string",
  10548. "description": "商品代码",
  10549. "name": "goodsCode",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/SZDZ/QueryConvertConfig": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "定制【尚志大宗】"
  10582. ],
  10583. "summary": "查询交易系统转换设置",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10588. "name": "convertType",
  10589. "in": "query"
  10590. },
  10591. {
  10592. "type": "string",
  10593. "description": "外部商品代码[JD\\PD]",
  10594. "name": "outerGoodsCode",
  10595. "in": "query"
  10596. },
  10597. {
  10598. "type": "string",
  10599. "description": "内部商品ID列表[交易],格式:1,2,3",
  10600. "name": "innerGoodsIDs",
  10601. "in": "query"
  10602. }
  10603. ],
  10604. "responses": {
  10605. "200": {
  10606. "description": "OK",
  10607. "schema": {
  10608. "$ref": "#/definitions/models.Szdz3convertconfig"
  10609. }
  10610. },
  10611. "500": {
  10612. "description": "Internal Server Error",
  10613. "schema": {
  10614. "$ref": "#/definitions/app.Response"
  10615. }
  10616. }
  10617. }
  10618. }
  10619. },
  10620. "/SZDZ/QueryConvertLog": {
  10621. "get": {
  10622. "security": [
  10623. {
  10624. "ApiKeyAuth": []
  10625. }
  10626. ],
  10627. "produces": [
  10628. "application/json"
  10629. ],
  10630. "tags": [
  10631. "定制【尚志大宗】"
  10632. ],
  10633. "summary": "交易系统转换流水查询",
  10634. "parameters": [
  10635. {
  10636. "type": "string",
  10637. "description": "资金账户 - 格式:1,2,3",
  10638. "name": "accountID",
  10639. "in": "query",
  10640. "required": true
  10641. },
  10642. {
  10643. "type": "string",
  10644. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10645. "name": "startDate",
  10646. "in": "query"
  10647. },
  10648. {
  10649. "type": "string",
  10650. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10651. "name": "endDate",
  10652. "in": "query"
  10653. }
  10654. ],
  10655. "responses": {
  10656. "200": {
  10657. "description": "OK",
  10658. "schema": {
  10659. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10660. }
  10661. },
  10662. "500": {
  10663. "description": "Internal Server Error",
  10664. "schema": {
  10665. "$ref": "#/definitions/app.Response"
  10666. }
  10667. }
  10668. }
  10669. }
  10670. },
  10671. "/SZDZ/QueryGoodsPickup": {
  10672. "get": {
  10673. "security": [
  10674. {
  10675. "ApiKeyAuth": []
  10676. }
  10677. ],
  10678. "produces": [
  10679. "application/json"
  10680. ],
  10681. "tags": [
  10682. "定制【尚志大宗】"
  10683. ],
  10684. "summary": "商品提货单查询",
  10685. "parameters": [
  10686. {
  10687. "type": "string",
  10688. "description": "资金账户 - 格式:1,2,3",
  10689. "name": "accountID",
  10690. "in": "query",
  10691. "required": true
  10692. },
  10693. {
  10694. "type": "integer",
  10695. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10696. "name": "takeOrderStatus",
  10697. "in": "query"
  10698. }
  10699. ],
  10700. "responses": {
  10701. "200": {
  10702. "description": "OK",
  10703. "schema": {
  10704. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10705. }
  10706. },
  10707. "500": {
  10708. "description": "Internal Server Error",
  10709. "schema": {
  10710. "$ref": "#/definitions/app.Response"
  10711. }
  10712. }
  10713. }
  10714. }
  10715. },
  10716. "/SZDZ/QueryRecieptOrder": {
  10717. "get": {
  10718. "security": [
  10719. {
  10720. "ApiKeyAuth": []
  10721. }
  10722. ],
  10723. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10724. "produces": [
  10725. "application/json"
  10726. ],
  10727. "tags": [
  10728. "定制【尚志大宗】"
  10729. ],
  10730. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10731. "parameters": [
  10732. {
  10733. "type": "integer",
  10734. "description": "页码",
  10735. "name": "page",
  10736. "in": "query"
  10737. },
  10738. {
  10739. "type": "integer",
  10740. "description": "每页条数",
  10741. "name": "pagesize",
  10742. "in": "query"
  10743. },
  10744. {
  10745. "type": "integer",
  10746. "description": "商品ID",
  10747. "name": "goodsID",
  10748. "in": "query",
  10749. "required": true
  10750. },
  10751. {
  10752. "type": "string",
  10753. "description": "所属账户名称",
  10754. "name": "accountName",
  10755. "in": "query"
  10756. },
  10757. {
  10758. "type": "integer",
  10759. "description": "市场ID",
  10760. "name": "marketID",
  10761. "in": "query"
  10762. },
  10763. {
  10764. "type": "integer",
  10765. "description": "方向 - 0:买 1:卖",
  10766. "name": "buyorsell",
  10767. "in": "query",
  10768. "required": true
  10769. }
  10770. ],
  10771. "responses": {
  10772. "200": {
  10773. "description": "OK",
  10774. "schema": {
  10775. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10776. }
  10777. },
  10778. "500": {
  10779. "description": "Internal Server Error",
  10780. "schema": {
  10781. "$ref": "#/definitions/app.Response"
  10782. }
  10783. }
  10784. }
  10785. }
  10786. },
  10787. "/SZDZ/QuerySZDZTradePosition": {
  10788. "get": {
  10789. "security": [
  10790. {
  10791. "ApiKeyAuth": []
  10792. }
  10793. ],
  10794. "produces": [
  10795. "application/json"
  10796. ],
  10797. "tags": [
  10798. "定制【尚志大宗】"
  10799. ],
  10800. "summary": "持仓汇总查询(尚志大宗)",
  10801. "parameters": [
  10802. {
  10803. "type": "integer",
  10804. "description": "资金账户",
  10805. "name": "accountID",
  10806. "in": "query",
  10807. "required": true
  10808. }
  10809. ],
  10810. "responses": {
  10811. "200": {
  10812. "description": "OK",
  10813. "schema": {
  10814. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10815. }
  10816. },
  10817. "500": {
  10818. "description": "Internal Server Error",
  10819. "schema": {
  10820. "$ref": "#/definitions/app.Response"
  10821. }
  10822. }
  10823. }
  10824. }
  10825. },
  10826. "/SZDZ/SearchWhite": {
  10827. "get": {
  10828. "security": [
  10829. {
  10830. "ApiKeyAuth": []
  10831. }
  10832. ],
  10833. "produces": [
  10834. "application/json"
  10835. ],
  10836. "tags": [
  10837. "定制【尚志大宗】"
  10838. ],
  10839. "summary": "搜索白名单",
  10840. "parameters": [
  10841. {
  10842. "type": "integer",
  10843. "description": "用户ID",
  10844. "name": "userID",
  10845. "in": "query",
  10846. "required": true
  10847. }
  10848. ],
  10849. "responses": {
  10850. "200": {
  10851. "description": "OK",
  10852. "schema": {
  10853. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10854. }
  10855. },
  10856. "500": {
  10857. "description": "Internal Server Error",
  10858. "schema": {
  10859. "$ref": "#/definitions/app.Response"
  10860. }
  10861. }
  10862. }
  10863. }
  10864. },
  10865. "/Search/SearchGoodses": {
  10866. "get": {
  10867. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10868. "produces": [
  10869. "application/json"
  10870. ],
  10871. "tags": [
  10872. "检索服务"
  10873. ],
  10874. "summary": "检索商品信息",
  10875. "parameters": [
  10876. {
  10877. "type": "string",
  10878. "description": "检索内容",
  10879. "name": "content",
  10880. "in": "query",
  10881. "required": true
  10882. },
  10883. {
  10884. "type": "string",
  10885. "description": "交易模式,格式:1,2,3",
  10886. "name": "tradeModes",
  10887. "in": "query"
  10888. }
  10889. ],
  10890. "responses": {
  10891. "200": {
  10892. "description": "OK",
  10893. "schema": {
  10894. "$ref": "#/definitions/models.SearchGoods"
  10895. }
  10896. },
  10897. "500": {
  10898. "description": "Internal Server Error",
  10899. "schema": {
  10900. "$ref": "#/definitions/app.Response"
  10901. }
  10902. }
  10903. }
  10904. }
  10905. },
  10906. "/TaAccount/GetTaAccounts": {
  10907. "get": {
  10908. "security": [
  10909. {
  10910. "ApiKeyAuth": []
  10911. }
  10912. ],
  10913. "produces": [
  10914. "application/json"
  10915. ],
  10916. "tags": [
  10917. "资金账户"
  10918. ],
  10919. "summary": "获取资金账户信息",
  10920. "parameters": [
  10921. {
  10922. "type": "integer",
  10923. "description": "登录账户",
  10924. "name": "loginID",
  10925. "in": "query",
  10926. "required": true
  10927. },
  10928. {
  10929. "type": "integer",
  10930. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10931. "name": "taAccountType",
  10932. "in": "query"
  10933. }
  10934. ],
  10935. "responses": {
  10936. "200": {
  10937. "description": "OK",
  10938. "schema": {
  10939. "$ref": "#/definitions/models.Taaccount"
  10940. }
  10941. },
  10942. "500": {
  10943. "description": "Internal Server Error",
  10944. "schema": {
  10945. "$ref": "#/definitions/app.Response"
  10946. }
  10947. }
  10948. }
  10949. }
  10950. },
  10951. "/TaAccount/QueryAmountLog": {
  10952. "get": {
  10953. "security": [
  10954. {
  10955. "ApiKeyAuth": []
  10956. }
  10957. ],
  10958. "produces": [
  10959. "application/json"
  10960. ],
  10961. "tags": [
  10962. "资金账户"
  10963. ],
  10964. "summary": "资金流水查询(当前)",
  10965. "parameters": [
  10966. {
  10967. "type": "integer",
  10968. "description": "页码",
  10969. "name": "page",
  10970. "in": "query"
  10971. },
  10972. {
  10973. "type": "integer",
  10974. "description": "每页条数",
  10975. "name": "pagesize",
  10976. "in": "query"
  10977. },
  10978. {
  10979. "type": "string",
  10980. "description": "资金账户 - 格式:1,2,3",
  10981. "name": "accountID",
  10982. "in": "query",
  10983. "required": true
  10984. },
  10985. {
  10986. "type": "string",
  10987. "description": "资金操作类型 - 格式:1,2,3",
  10988. "name": "OperateType",
  10989. "in": "query"
  10990. }
  10991. ],
  10992. "responses": {
  10993. "200": {
  10994. "description": "OK",
  10995. "schema": {
  10996. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10997. }
  10998. },
  10999. "500": {
  11000. "description": "Internal Server Error",
  11001. "schema": {
  11002. "$ref": "#/definitions/app.Response"
  11003. }
  11004. }
  11005. }
  11006. }
  11007. },
  11008. "/TaAccount/QueryHisAmountLog": {
  11009. "get": {
  11010. "security": [
  11011. {
  11012. "ApiKeyAuth": []
  11013. }
  11014. ],
  11015. "produces": [
  11016. "application/json"
  11017. ],
  11018. "tags": [
  11019. "资金账户"
  11020. ],
  11021. "summary": "资金流水查询(历史)",
  11022. "parameters": [
  11023. {
  11024. "type": "integer",
  11025. "description": "页码",
  11026. "name": "page",
  11027. "in": "query"
  11028. },
  11029. {
  11030. "type": "integer",
  11031. "description": "每页条数",
  11032. "name": "pagesize",
  11033. "in": "query"
  11034. },
  11035. {
  11036. "type": "string",
  11037. "description": "资金账户 - 格式:1,2,3",
  11038. "name": "accountID",
  11039. "in": "query",
  11040. "required": true
  11041. },
  11042. {
  11043. "type": "string",
  11044. "description": "资金操作类型 - 格式:1,2,3",
  11045. "name": "OperateType",
  11046. "in": "query"
  11047. },
  11048. {
  11049. "type": "string",
  11050. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11051. "name": "startDate",
  11052. "in": "query"
  11053. },
  11054. {
  11055. "type": "string",
  11056. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11057. "name": "endDate",
  11058. "in": "query"
  11059. }
  11060. ],
  11061. "responses": {
  11062. "200": {
  11063. "description": "OK",
  11064. "schema": {
  11065. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11066. }
  11067. },
  11068. "500": {
  11069. "description": "Internal Server Error",
  11070. "schema": {
  11071. "$ref": "#/definitions/app.Response"
  11072. }
  11073. }
  11074. }
  11075. }
  11076. },
  11077. "/Tjmd/QueryQuoteGoodsList": {
  11078. "get": {
  11079. "security": [
  11080. {
  11081. "ApiKeyAuth": []
  11082. }
  11083. ],
  11084. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11085. "produces": [
  11086. "application/json"
  11087. ],
  11088. "tags": [
  11089. "天津麦顿"
  11090. ],
  11091. "summary": "查询掉期报价列表",
  11092. "parameters": [
  11093. {
  11094. "type": "integer",
  11095. "description": "用户类型",
  11096. "name": "usertype",
  11097. "in": "query",
  11098. "required": true
  11099. },
  11100. {
  11101. "type": "string",
  11102. "description": "市场id, 格式 1,2,3",
  11103. "name": "marketids",
  11104. "in": "query"
  11105. },
  11106. {
  11107. "type": "integer",
  11108. "description": "商品组id",
  11109. "name": "goodsgroupid",
  11110. "in": "query"
  11111. },
  11112. {
  11113. "type": "integer",
  11114. "description": "商品id",
  11115. "name": "goodsid",
  11116. "in": "query"
  11117. }
  11118. ],
  11119. "responses": {
  11120. "200": {
  11121. "description": "OK",
  11122. "schema": {
  11123. "type": "array",
  11124. "items": {
  11125. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11126. }
  11127. }
  11128. },
  11129. "500": {
  11130. "description": "Internal Server Error",
  11131. "schema": {
  11132. "$ref": "#/definitions/app.Response"
  11133. }
  11134. }
  11135. }
  11136. }
  11137. },
  11138. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11139. "get": {
  11140. "security": [
  11141. {
  11142. "ApiKeyAuth": []
  11143. }
  11144. ],
  11145. "produces": [
  11146. "application/json"
  11147. ],
  11148. "tags": [
  11149. "天津麦顿"
  11150. ],
  11151. "summary": "查询今日账户保证金配置",
  11152. "parameters": [
  11153. {
  11154. "type": "string",
  11155. "description": "市场id",
  11156. "name": "marketid",
  11157. "in": "query"
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "商品id",
  11162. "name": "goodsid",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "string",
  11167. "description": "资金账号",
  11168. "name": "accountid",
  11169. "in": "query"
  11170. }
  11171. ],
  11172. "responses": {
  11173. "200": {
  11174. "description": "OK",
  11175. "schema": {
  11176. "type": "array",
  11177. "items": {
  11178. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11179. }
  11180. }
  11181. },
  11182. "500": {
  11183. "description": "Internal Server Error",
  11184. "schema": {
  11185. "$ref": "#/definitions/app.Response"
  11186. }
  11187. }
  11188. }
  11189. }
  11190. },
  11191. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11192. "get": {
  11193. "security": [
  11194. {
  11195. "ApiKeyAuth": []
  11196. }
  11197. ],
  11198. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11199. "produces": [
  11200. "application/json"
  11201. ],
  11202. "tags": [
  11203. "天津麦顿"
  11204. ],
  11205. "summary": "查询掉期买卖大厅",
  11206. "parameters": [
  11207. {
  11208. "type": "integer",
  11209. "description": "页码",
  11210. "name": "page",
  11211. "in": "query"
  11212. },
  11213. {
  11214. "type": "integer",
  11215. "description": "每页条数",
  11216. "name": "pagesize",
  11217. "in": "query"
  11218. },
  11219. {
  11220. "type": "integer",
  11221. "description": "用户id",
  11222. "name": "userid",
  11223. "in": "query",
  11224. "required": true
  11225. },
  11226. {
  11227. "type": "integer",
  11228. "description": "用户类型",
  11229. "name": "usertype",
  11230. "in": "query",
  11231. "required": true
  11232. },
  11233. {
  11234. "type": "string",
  11235. "description": "市场id, 格式 1,2,3",
  11236. "name": "marketids",
  11237. "in": "query"
  11238. },
  11239. {
  11240. "type": "integer",
  11241. "description": "商品id",
  11242. "name": "goodsid",
  11243. "in": "query",
  11244. "required": true
  11245. },
  11246. {
  11247. "type": "integer",
  11248. "description": "买卖方向 0-买 1-卖",
  11249. "name": "buyorsell",
  11250. "in": "query",
  11251. "required": true
  11252. }
  11253. ],
  11254. "responses": {
  11255. "200": {
  11256. "description": "OK",
  11257. "schema": {
  11258. "type": "array",
  11259. "items": {
  11260. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11261. }
  11262. }
  11263. },
  11264. "500": {
  11265. "description": "Internal Server Error",
  11266. "schema": {
  11267. "$ref": "#/definitions/app.Response"
  11268. }
  11269. }
  11270. }
  11271. }
  11272. },
  11273. "/Tjmd/QueryTjmdTransferApply": {
  11274. "get": {
  11275. "security": [
  11276. {
  11277. "ApiKeyAuth": []
  11278. }
  11279. ],
  11280. "produces": [
  11281. "application/json"
  11282. ],
  11283. "tags": [
  11284. "天津麦顿"
  11285. ],
  11286. "summary": "查询掉期协议单",
  11287. "parameters": [
  11288. {
  11289. "type": "integer",
  11290. "description": "类型 1-我的申请 2-对方申请",
  11291. "name": "applytype",
  11292. "in": "query",
  11293. "required": true
  11294. },
  11295. {
  11296. "type": "string",
  11297. "description": "市场id, 格式 1,2,3",
  11298. "name": "marketids",
  11299. "in": "query"
  11300. },
  11301. {
  11302. "type": "string",
  11303. "description": "资金账号, 格式 25000000001,25000000003",
  11304. "name": "accountids",
  11305. "in": "query"
  11306. }
  11307. ],
  11308. "responses": {
  11309. "200": {
  11310. "description": "OK",
  11311. "schema": {
  11312. "type": "array",
  11313. "items": {
  11314. "$ref": "#/definitions/models.TjmdTransferApply"
  11315. }
  11316. }
  11317. },
  11318. "500": {
  11319. "description": "Internal Server Error",
  11320. "schema": {
  11321. "$ref": "#/definitions/app.Response"
  11322. }
  11323. }
  11324. }
  11325. }
  11326. },
  11327. "/Trade/QueryRecieptOrder": {
  11328. "get": {
  11329. "security": [
  11330. {
  11331. "ApiKeyAuth": []
  11332. }
  11333. ],
  11334. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11335. "produces": [
  11336. "application/json"
  11337. ],
  11338. "tags": [
  11339. "通用交易"
  11340. ],
  11341. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11342. "parameters": [
  11343. {
  11344. "type": "integer",
  11345. "description": "页码",
  11346. "name": "page",
  11347. "in": "query"
  11348. },
  11349. {
  11350. "type": "integer",
  11351. "description": "每页条数",
  11352. "name": "pagesize",
  11353. "in": "query"
  11354. },
  11355. {
  11356. "type": "integer",
  11357. "description": "商品ID",
  11358. "name": "goodsID",
  11359. "in": "query",
  11360. "required": true
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "所属账户名称",
  11365. "name": "accountName",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "市场ID",
  11371. "name": "marketID",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "integer",
  11376. "description": "方向 - 0:买 1:卖",
  11377. "name": "buyorsell",
  11378. "in": "query",
  11379. "required": true
  11380. }
  11381. ],
  11382. "responses": {
  11383. "200": {
  11384. "description": "OK",
  11385. "schema": {
  11386. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11387. }
  11388. },
  11389. "500": {
  11390. "description": "Internal Server Error",
  11391. "schema": {
  11392. "$ref": "#/definitions/app.Response"
  11393. }
  11394. }
  11395. }
  11396. }
  11397. },
  11398. "/User/AddMessageBoard": {
  11399. "post": {
  11400. "security": [
  11401. {
  11402. "ApiKeyAuth": []
  11403. }
  11404. ],
  11405. "produces": [
  11406. "application/json"
  11407. ],
  11408. "tags": [
  11409. "用户信息"
  11410. ],
  11411. "summary": "添加用户留言板信息",
  11412. "parameters": [
  11413. {
  11414. "type": "integer",
  11415. "description": "用户ID",
  11416. "name": "userID",
  11417. "in": "query",
  11418. "required": true
  11419. },
  11420. {
  11421. "type": "string",
  11422. "description": "留言信息",
  11423. "name": "message",
  11424. "in": "query",
  11425. "required": true
  11426. },
  11427. {
  11428. "type": "string",
  11429. "description": "联系电话",
  11430. "name": "contactNum",
  11431. "in": "query",
  11432. "required": true
  11433. }
  11434. ],
  11435. "responses": {
  11436. "200": {
  11437. "description": "OK",
  11438. "schema": {
  11439. "$ref": "#/definitions/app.Response"
  11440. }
  11441. },
  11442. "500": {
  11443. "description": "Internal Server Error",
  11444. "schema": {
  11445. "$ref": "#/definitions/app.Response"
  11446. }
  11447. }
  11448. }
  11449. }
  11450. },
  11451. "/User/AddUserFavoriteGoods": {
  11452. "post": {
  11453. "security": [
  11454. {
  11455. "ApiKeyAuth": []
  11456. }
  11457. ],
  11458. "produces": [
  11459. "application/json"
  11460. ],
  11461. "tags": [
  11462. "用户信息"
  11463. ],
  11464. "summary": "添加用户商品收藏信息",
  11465. "parameters": [
  11466. {
  11467. "type": "integer",
  11468. "description": "用户ID",
  11469. "name": "userID",
  11470. "in": "query",
  11471. "required": true
  11472. },
  11473. {
  11474. "type": "integer",
  11475. "description": "商品ID",
  11476. "name": "goodsID",
  11477. "in": "query",
  11478. "required": true
  11479. }
  11480. ],
  11481. "responses": {
  11482. "200": {
  11483. "description": "OK",
  11484. "schema": {
  11485. "$ref": "#/definitions/app.Response"
  11486. }
  11487. },
  11488. "500": {
  11489. "description": "Internal Server Error",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. }
  11494. }
  11495. }
  11496. },
  11497. "/User/GetLoginID": {
  11498. "get": {
  11499. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11500. "produces": [
  11501. "application/json"
  11502. ],
  11503. "tags": [
  11504. "用户信息"
  11505. ],
  11506. "summary": "获取登录ID",
  11507. "parameters": [
  11508. {
  11509. "type": "string",
  11510. "description": "登录代码",
  11511. "name": "username",
  11512. "in": "query",
  11513. "required": true
  11514. }
  11515. ],
  11516. "responses": {
  11517. "200": {
  11518. "description": "OK",
  11519. "schema": {
  11520. "$ref": "#/definitions/app.Response"
  11521. }
  11522. },
  11523. "500": {
  11524. "description": "Internal Server Error",
  11525. "schema": {
  11526. "$ref": "#/definitions/app.Response"
  11527. }
  11528. }
  11529. }
  11530. }
  11531. },
  11532. "/User/GetUserAccount": {
  11533. "get": {
  11534. "security": [
  11535. {
  11536. "ApiKeyAuth": []
  11537. }
  11538. ],
  11539. "produces": [
  11540. "application/json"
  11541. ],
  11542. "tags": [
  11543. "用户信息"
  11544. ],
  11545. "summary": "获取用户账号信息",
  11546. "parameters": [
  11547. {
  11548. "type": "integer",
  11549. "description": "用户ID",
  11550. "name": "userID",
  11551. "in": "query",
  11552. "required": true
  11553. }
  11554. ],
  11555. "responses": {
  11556. "200": {
  11557. "description": "OK",
  11558. "schema": {
  11559. "$ref": "#/definitions/models.Useraccount"
  11560. }
  11561. },
  11562. "500": {
  11563. "description": "Internal Server Error",
  11564. "schema": {
  11565. "$ref": "#/definitions/app.Response"
  11566. }
  11567. }
  11568. }
  11569. }
  11570. },
  11571. "/User/GetUserAuthStatus": {
  11572. "get": {
  11573. "security": [
  11574. {
  11575. "ApiKeyAuth": []
  11576. }
  11577. ],
  11578. "produces": [
  11579. "application/json"
  11580. ],
  11581. "tags": [
  11582. "用户信息"
  11583. ],
  11584. "summary": "获取用户实名认证状态",
  11585. "parameters": [
  11586. {
  11587. "type": "integer",
  11588. "description": "用户ID",
  11589. "name": "userID",
  11590. "in": "query",
  11591. "required": true
  11592. }
  11593. ],
  11594. "responses": {
  11595. "200": {
  11596. "description": "OK",
  11597. "schema": {
  11598. "$ref": "#/definitions/app.Response"
  11599. }
  11600. },
  11601. "500": {
  11602. "description": "Internal Server Error",
  11603. "schema": {
  11604. "$ref": "#/definitions/app.Response"
  11605. }
  11606. }
  11607. }
  11608. }
  11609. },
  11610. "/User/LoginQuery": {
  11611. "get": {
  11612. "security": [
  11613. {
  11614. "ApiKeyAuth": []
  11615. }
  11616. ],
  11617. "produces": [
  11618. "application/json"
  11619. ],
  11620. "tags": [
  11621. "用户信息"
  11622. ],
  11623. "summary": "账户登录后信息查询",
  11624. "parameters": [
  11625. {
  11626. "type": "integer",
  11627. "description": "登录账号",
  11628. "name": "loginID",
  11629. "in": "query",
  11630. "required": true
  11631. }
  11632. ],
  11633. "responses": {
  11634. "200": {
  11635. "description": "OK",
  11636. "schema": {
  11637. "$ref": "#/definitions/user.LoginQueryRsp"
  11638. }
  11639. },
  11640. "500": {
  11641. "description": "Internal Server Error",
  11642. "schema": {
  11643. "$ref": "#/definitions/app.Response"
  11644. }
  11645. }
  11646. }
  11647. }
  11648. },
  11649. "/User/QueryMessageBoard": {
  11650. "get": {
  11651. "security": [
  11652. {
  11653. "ApiKeyAuth": []
  11654. }
  11655. ],
  11656. "produces": [
  11657. "application/json"
  11658. ],
  11659. "tags": [
  11660. "用户信息"
  11661. ],
  11662. "summary": "获取用户留言板信息",
  11663. "parameters": [
  11664. {
  11665. "type": "integer",
  11666. "description": "用户ID",
  11667. "name": "userID",
  11668. "in": "query",
  11669. "required": true
  11670. }
  11671. ],
  11672. "responses": {
  11673. "200": {
  11674. "description": "OK",
  11675. "schema": {
  11676. "$ref": "#/definitions/models.Messageboard"
  11677. }
  11678. },
  11679. "500": {
  11680. "description": "Internal Server Error",
  11681. "schema": {
  11682. "$ref": "#/definitions/app.Response"
  11683. }
  11684. }
  11685. }
  11686. }
  11687. },
  11688. "/User/QueryUserFavoriteGoodses": {
  11689. "get": {
  11690. "security": [
  11691. {
  11692. "ApiKeyAuth": []
  11693. }
  11694. ],
  11695. "produces": [
  11696. "application/json"
  11697. ],
  11698. "tags": [
  11699. "用户信息"
  11700. ],
  11701. "summary": "获取用户商品收藏信息",
  11702. "parameters": [
  11703. {
  11704. "type": "integer",
  11705. "description": "用户ID",
  11706. "name": "userID",
  11707. "in": "query",
  11708. "required": true
  11709. }
  11710. ],
  11711. "responses": {
  11712. "200": {
  11713. "description": "OK",
  11714. "schema": {
  11715. "$ref": "#/definitions/models.Userfavoritegoods"
  11716. }
  11717. },
  11718. "500": {
  11719. "description": "Internal Server Error",
  11720. "schema": {
  11721. "$ref": "#/definitions/app.Response"
  11722. }
  11723. }
  11724. }
  11725. }
  11726. },
  11727. "/User/QueryUserInfo": {
  11728. "get": {
  11729. "security": [
  11730. {
  11731. "ApiKeyAuth": []
  11732. }
  11733. ],
  11734. "produces": [
  11735. "application/json"
  11736. ],
  11737. "tags": [
  11738. "用户信息"
  11739. ],
  11740. "summary": "获取用户信息",
  11741. "parameters": [
  11742. {
  11743. "type": "integer",
  11744. "description": "用户ID",
  11745. "name": "userID",
  11746. "in": "query",
  11747. "required": true
  11748. },
  11749. {
  11750. "type": "boolean",
  11751. "description": "是否解密",
  11752. "name": "isDecrypt",
  11753. "in": "query"
  11754. }
  11755. ],
  11756. "responses": {
  11757. "200": {
  11758. "description": "OK",
  11759. "schema": {
  11760. "$ref": "#/definitions/models.Userinfo"
  11761. }
  11762. },
  11763. "500": {
  11764. "description": "Internal Server Error",
  11765. "schema": {
  11766. "$ref": "#/definitions/app.Response"
  11767. }
  11768. }
  11769. }
  11770. }
  11771. },
  11772. "/User/QueryUserReferNum": {
  11773. "get": {
  11774. "produces": [
  11775. "application/json"
  11776. ],
  11777. "tags": [
  11778. "用户信息"
  11779. ],
  11780. "summary": "获取用户邀请码",
  11781. "parameters": [
  11782. {
  11783. "type": "integer",
  11784. "description": "用户ID",
  11785. "name": "userID",
  11786. "in": "query",
  11787. "required": true
  11788. }
  11789. ],
  11790. "responses": {
  11791. "200": {
  11792. "description": "OK",
  11793. "schema": {
  11794. "$ref": "#/definitions/app.Response"
  11795. }
  11796. },
  11797. "500": {
  11798. "description": "Internal Server Error",
  11799. "schema": {
  11800. "$ref": "#/definitions/app.Response"
  11801. }
  11802. }
  11803. }
  11804. }
  11805. },
  11806. "/User/RemoveUserFavoriteGoods": {
  11807. "post": {
  11808. "security": [
  11809. {
  11810. "ApiKeyAuth": []
  11811. }
  11812. ],
  11813. "produces": [
  11814. "application/json"
  11815. ],
  11816. "tags": [
  11817. "用户信息"
  11818. ],
  11819. "summary": "移除用户商品收藏信息",
  11820. "parameters": [
  11821. {
  11822. "type": "integer",
  11823. "description": "用户ID",
  11824. "name": "userID",
  11825. "in": "query",
  11826. "required": true
  11827. },
  11828. {
  11829. "type": "integer",
  11830. "description": "商品ID",
  11831. "name": "goodsID",
  11832. "in": "query",
  11833. "required": true
  11834. }
  11835. ],
  11836. "responses": {
  11837. "200": {
  11838. "description": "OK",
  11839. "schema": {
  11840. "$ref": "#/definitions/app.Response"
  11841. }
  11842. },
  11843. "500": {
  11844. "description": "Internal Server Error",
  11845. "schema": {
  11846. "$ref": "#/definitions/app.Response"
  11847. }
  11848. }
  11849. }
  11850. }
  11851. },
  11852. "/User/UpdateUserAccountStatus": {
  11853. "post": {
  11854. "security": [
  11855. {
  11856. "ApiKeyAuth": []
  11857. }
  11858. ],
  11859. "produces": [
  11860. "application/json"
  11861. ],
  11862. "tags": [
  11863. "用户信息"
  11864. ],
  11865. "summary": "更新用户状态",
  11866. "parameters": [
  11867. {
  11868. "type": "integer",
  11869. "description": "用户ID",
  11870. "name": "userID",
  11871. "in": "query",
  11872. "required": true
  11873. },
  11874. {
  11875. "type": "integer",
  11876. "description": "账户状态 - 4:正常 6:注销(停用)",
  11877. "name": "accountStatus",
  11878. "in": "query",
  11879. "required": true
  11880. }
  11881. ],
  11882. "responses": {
  11883. "200": {
  11884. "description": "OK",
  11885. "schema": {
  11886. "$ref": "#/definitions/app.Response"
  11887. }
  11888. },
  11889. "500": {
  11890. "description": "Internal Server Error",
  11891. "schema": {
  11892. "$ref": "#/definitions/app.Response"
  11893. }
  11894. }
  11895. }
  11896. }
  11897. },
  11898. "/WRTrade/GetAllDeliveryGoods": {
  11899. "get": {
  11900. "security": [
  11901. {
  11902. "ApiKeyAuth": []
  11903. },
  11904. {
  11905. "ApiKeyAuth": []
  11906. }
  11907. ],
  11908. "produces": [
  11909. "application/json",
  11910. "application/json"
  11911. ],
  11912. "tags": [
  11913. "仓单贸易",
  11914. "仓单贸易"
  11915. ],
  11916. "summary": "获取带仓单分类的种类信息",
  11917. "responses": {
  11918. "200": {
  11919. "description": "OK",
  11920. "schema": {
  11921. "$ref": "#/definitions/app.Response"
  11922. }
  11923. },
  11924. "500": {
  11925. "description": "Internal Server Error",
  11926. "schema": {
  11927. "$ref": "#/definitions/app.Response"
  11928. }
  11929. }
  11930. }
  11931. }
  11932. },
  11933. "/WrTrade2/QueryDeliveryGoodsSection": {
  11934. "get": {
  11935. "security": [
  11936. {
  11937. "ApiKeyAuth": []
  11938. }
  11939. ],
  11940. "produces": [
  11941. "application/json"
  11942. ],
  11943. "tags": [
  11944. "仓单贸易v2"
  11945. ],
  11946. "summary": "查询板块(分类)",
  11947. "responses": {
  11948. "200": {
  11949. "description": "OK",
  11950. "schema": {
  11951. "type": "array",
  11952. "items": {
  11953. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  11954. }
  11955. }
  11956. },
  11957. "500": {
  11958. "description": "Internal Server Error",
  11959. "schema": {
  11960. "$ref": "#/definitions/app.Response"
  11961. }
  11962. }
  11963. }
  11964. }
  11965. },
  11966. "/WrTrade2/QueryFaProductDetail": {
  11967. "get": {
  11968. "security": [
  11969. {
  11970. "ApiKeyAuth": []
  11971. }
  11972. ],
  11973. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11974. "produces": [
  11975. "application/json"
  11976. ],
  11977. "tags": [
  11978. "仓单贸易v2"
  11979. ],
  11980. "summary": "查询融资产品列表",
  11981. "parameters": [
  11982. {
  11983. "type": "integer",
  11984. "description": "仓单要素id",
  11985. "name": "wrfactortypeid",
  11986. "in": "query",
  11987. "required": true
  11988. }
  11989. ],
  11990. "responses": {
  11991. "200": {
  11992. "description": "OK",
  11993. "schema": {
  11994. "type": "array",
  11995. "items": {
  11996. "$ref": "#/definitions/models.WrFAProductDetail"
  11997. }
  11998. }
  11999. },
  12000. "500": {
  12001. "description": "Internal Server Error",
  12002. "schema": {
  12003. "$ref": "#/definitions/app.Response"
  12004. }
  12005. }
  12006. }
  12007. }
  12008. },
  12009. "/WrTrade2/QueryFilterItem": {
  12010. "get": {
  12011. "security": [
  12012. {
  12013. "ApiKeyAuth": []
  12014. }
  12015. ],
  12016. "produces": [
  12017. "application/json"
  12018. ],
  12019. "tags": [
  12020. "仓单贸易v2"
  12021. ],
  12022. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12023. "parameters": [
  12024. {
  12025. "type": "string",
  12026. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12027. "name": "itype",
  12028. "in": "query",
  12029. "required": true
  12030. }
  12031. ],
  12032. "responses": {
  12033. "200": {
  12034. "description": "OK",
  12035. "schema": {
  12036. "type": "array",
  12037. "items": {
  12038. "$ref": "#/definitions/models.WrFilterItem"
  12039. }
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/WrTrade2/QueryFtDeliveryGoods": {
  12052. "get": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "produces": [
  12059. "application/json"
  12060. ],
  12061. "tags": [
  12062. "仓单贸易v2"
  12063. ],
  12064. "summary": "查询品种品类筛选框列表",
  12065. "responses": {
  12066. "200": {
  12067. "description": "OK",
  12068. "schema": {
  12069. "type": "array",
  12070. "items": {
  12071. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12072. }
  12073. }
  12074. },
  12075. "500": {
  12076. "description": "Internal Server Error",
  12077. "schema": {
  12078. "$ref": "#/definitions/app.Response"
  12079. }
  12080. }
  12081. }
  12082. }
  12083. },
  12084. "/WrTrade2/QueryHoldLB": {
  12085. "get": {
  12086. "security": [
  12087. {
  12088. "ApiKeyAuth": []
  12089. }
  12090. ],
  12091. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12092. "produces": [
  12093. "application/json"
  12094. ],
  12095. "tags": [
  12096. "仓单贸易v2"
  12097. ],
  12098. "summary": "查询仓单持有记录",
  12099. "parameters": [
  12100. {
  12101. "type": "integer",
  12102. "description": "资金账号",
  12103. "name": "accountid",
  12104. "in": "query",
  12105. "required": true
  12106. },
  12107. {
  12108. "type": "integer",
  12109. "description": "仓库id",
  12110. "name": "warehouseid",
  12111. "in": "query"
  12112. },
  12113. {
  12114. "type": "integer",
  12115. "description": "品种id",
  12116. "name": "deliverygoodsid",
  12117. "in": "query"
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "品类id",
  12122. "name": "wrstandardid",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "integer",
  12127. "description": "仓单要素id",
  12128. "name": "wrfactortypeid",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "string",
  12133. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12134. "name": "dgitemname",
  12135. "in": "query"
  12136. }
  12137. ],
  12138. "responses": {
  12139. "200": {
  12140. "description": "OK",
  12141. "schema": {
  12142. "type": "array",
  12143. "items": {
  12144. "$ref": "#/definitions/models.WrHoldLB"
  12145. }
  12146. }
  12147. },
  12148. "500": {
  12149. "description": "Internal Server Error",
  12150. "schema": {
  12151. "$ref": "#/definitions/app.Response"
  12152. }
  12153. }
  12154. }
  12155. }
  12156. },
  12157. "/WrTrade2/QueryOrderQuote": {
  12158. "get": {
  12159. "security": [
  12160. {
  12161. "ApiKeyAuth": []
  12162. }
  12163. ],
  12164. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12165. "produces": [
  12166. "application/json"
  12167. ],
  12168. "tags": [
  12169. "仓单贸易v2"
  12170. ],
  12171. "summary": "查询大厅行情列表",
  12172. "parameters": [
  12173. {
  12174. "type": "integer",
  12175. "description": "页码",
  12176. "name": "page",
  12177. "in": "query"
  12178. },
  12179. {
  12180. "type": "integer",
  12181. "description": "每页条数",
  12182. "name": "pagesize",
  12183. "in": "query"
  12184. },
  12185. {
  12186. "type": "integer",
  12187. "description": "仓单贸易市场id",
  12188. "name": "marketid",
  12189. "in": "query"
  12190. },
  12191. {
  12192. "type": "integer",
  12193. "description": "价格方式 - 1:固定价 2-浮动价",
  12194. "name": "wrpricetype",
  12195. "in": "query",
  12196. "required": true
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "0:仓单预售 1:仓单贸易",
  12201. "name": "haswr",
  12202. "in": "query",
  12203. "required": true
  12204. },
  12205. {
  12206. "type": "string",
  12207. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12208. "name": "dgitemname",
  12209. "in": "query"
  12210. },
  12211. {
  12212. "type": "integer",
  12213. "description": "仓库id(筛选条件)",
  12214. "name": "warehouseid",
  12215. "in": "query"
  12216. },
  12217. {
  12218. "type": "integer",
  12219. "description": "品种id",
  12220. "name": "deliverygoodsid",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "品类id",
  12226. "name": "wrstandardid",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "integer",
  12231. "description": "仓单要素id",
  12232. "name": "wrfactortypeid",
  12233. "in": "query"
  12234. },
  12235. {
  12236. "type": "string",
  12237. "description": "交收月(yyyy-mm) 仓单预售填写",
  12238. "name": "deliverymonth",
  12239. "in": "query"
  12240. }
  12241. ],
  12242. "responses": {
  12243. "200": {
  12244. "description": "OK",
  12245. "schema": {
  12246. "type": "array",
  12247. "items": {
  12248. "$ref": "#/definitions/models.WrOrderQuote"
  12249. }
  12250. }
  12251. },
  12252. "500": {
  12253. "description": "Internal Server Error",
  12254. "schema": {
  12255. "$ref": "#/definitions/app.Response"
  12256. }
  12257. }
  12258. }
  12259. }
  12260. },
  12261. "/WrTrade2/QueryOrderQuoteDetail": {
  12262. "get": {
  12263. "security": [
  12264. {
  12265. "ApiKeyAuth": []
  12266. }
  12267. ],
  12268. "produces": [
  12269. "application/json"
  12270. ],
  12271. "tags": [
  12272. "仓单贸易v2"
  12273. ],
  12274. "summary": "查询买卖大厅",
  12275. "parameters": [
  12276. {
  12277. "type": "integer",
  12278. "description": "页码",
  12279. "name": "page",
  12280. "in": "query"
  12281. },
  12282. {
  12283. "type": "integer",
  12284. "description": "每页条数",
  12285. "name": "pagesize",
  12286. "in": "query"
  12287. },
  12288. {
  12289. "type": "integer",
  12290. "description": "仓单贸易市场id",
  12291. "name": "marketid",
  12292. "in": "query"
  12293. },
  12294. {
  12295. "type": "integer",
  12296. "description": "价格方式 - 1:固定价 2-浮动价",
  12297. "name": "wrpricetype",
  12298. "in": "query",
  12299. "required": true
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "0:仓单预售 1:仓单贸易",
  12304. "name": "haswr",
  12305. "in": "query",
  12306. "required": true
  12307. },
  12308. {
  12309. "type": "integer",
  12310. "description": "仓单要素id",
  12311. "name": "wrfactortypeid",
  12312. "in": "query",
  12313. "required": true
  12314. },
  12315. {
  12316. "type": "integer",
  12317. "description": "期货商品id(浮动价方式时填)",
  12318. "name": "goodsid",
  12319. "in": "query"
  12320. },
  12321. {
  12322. "type": "integer",
  12323. "description": "买卖方向 0-买 1-卖",
  12324. "name": "buyorsell",
  12325. "in": "query",
  12326. "required": true
  12327. },
  12328. {
  12329. "type": "string",
  12330. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12331. "name": "deliverymonth",
  12332. "in": "query"
  12333. }
  12334. ],
  12335. "responses": {
  12336. "200": {
  12337. "description": "OK",
  12338. "schema": {
  12339. "type": "array",
  12340. "items": {
  12341. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12342. }
  12343. }
  12344. },
  12345. "500": {
  12346. "description": "Internal Server Error",
  12347. "schema": {
  12348. "$ref": "#/definitions/app.Response"
  12349. }
  12350. }
  12351. }
  12352. }
  12353. },
  12354. "/WrTrade2/QueryOrderQuoteMyq": {
  12355. "get": {
  12356. "security": [
  12357. {
  12358. "ApiKeyAuth": []
  12359. }
  12360. ],
  12361. "produces": [
  12362. "application/json"
  12363. ],
  12364. "tags": [
  12365. "仓单贸易v2"
  12366. ],
  12367. "summary": "查询贸易圈挂牌大厅",
  12368. "parameters": [
  12369. {
  12370. "type": "integer",
  12371. "description": "页码",
  12372. "name": "page",
  12373. "in": "query"
  12374. },
  12375. {
  12376. "type": "integer",
  12377. "description": "每页条数",
  12378. "name": "pagesize",
  12379. "in": "query"
  12380. },
  12381. {
  12382. "type": "integer",
  12383. "description": "用户id",
  12384. "name": "userid",
  12385. "in": "query",
  12386. "required": true
  12387. },
  12388. {
  12389. "type": "integer",
  12390. "description": "仓单贸易市场id",
  12391. "name": "marketid",
  12392. "in": "query"
  12393. },
  12394. {
  12395. "type": "integer",
  12396. "description": "0:仓单预售 1:仓单贸易",
  12397. "name": "haswr",
  12398. "in": "query",
  12399. "required": true
  12400. },
  12401. {
  12402. "type": "integer",
  12403. "description": "买卖方向 0-买 1-卖",
  12404. "name": "buyorsell",
  12405. "in": "query",
  12406. "required": true
  12407. },
  12408. {
  12409. "type": "integer",
  12410. "description": "品种id",
  12411. "name": "deliverygoodsid",
  12412. "in": "query"
  12413. },
  12414. {
  12415. "type": "integer",
  12416. "description": "品类id",
  12417. "name": "wrstandardid",
  12418. "in": "query"
  12419. },
  12420. {
  12421. "type": "string",
  12422. "description": "交收月(yyyy-mm) 仓单预售填写",
  12423. "name": "deliverymonth",
  12424. "in": "query"
  12425. },
  12426. {
  12427. "type": "string",
  12428. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12429. "name": "dgitemname",
  12430. "in": "query"
  12431. }
  12432. ],
  12433. "responses": {
  12434. "200": {
  12435. "description": "OK",
  12436. "schema": {
  12437. "type": "array",
  12438. "items": {
  12439. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12440. }
  12441. }
  12442. },
  12443. "500": {
  12444. "description": "Internal Server Error",
  12445. "schema": {
  12446. "$ref": "#/definitions/app.Response"
  12447. }
  12448. }
  12449. }
  12450. }
  12451. },
  12452. "/WrTrade2/QueryPerformancePlan": {
  12453. "get": {
  12454. "security": [
  12455. {
  12456. "ApiKeyAuth": []
  12457. }
  12458. ],
  12459. "produces": [
  12460. "application/json"
  12461. ],
  12462. "tags": [
  12463. "仓单贸易v2"
  12464. ],
  12465. "summary": "查询履约信息",
  12466. "parameters": [
  12467. {
  12468. "type": "integer",
  12469. "description": "用户id",
  12470. "name": "userid",
  12471. "in": "query",
  12472. "required": true
  12473. },
  12474. {
  12475. "type": "integer",
  12476. "description": "买卖方向 0-买 1-卖",
  12477. "name": "buyorsell",
  12478. "in": "query",
  12479. "required": true
  12480. }
  12481. ],
  12482. "responses": {
  12483. "200": {
  12484. "description": "OK",
  12485. "schema": {
  12486. "type": "array",
  12487. "items": {
  12488. "$ref": "#/definitions/models.WrPerformancePlan"
  12489. }
  12490. }
  12491. },
  12492. "500": {
  12493. "description": "Internal Server Error",
  12494. "schema": {
  12495. "$ref": "#/definitions/app.Response"
  12496. }
  12497. }
  12498. }
  12499. }
  12500. },
  12501. "/WrTrade2/QueryPermancePlanTmp": {
  12502. "get": {
  12503. "security": [
  12504. {
  12505. "ApiKeyAuth": []
  12506. }
  12507. ],
  12508. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12509. "produces": [
  12510. "application/json"
  12511. ],
  12512. "tags": [
  12513. "仓单贸易v2"
  12514. ],
  12515. "summary": "查询履约模板",
  12516. "parameters": [
  12517. {
  12518. "type": "integer",
  12519. "description": "用户id",
  12520. "name": "userid",
  12521. "in": "query"
  12522. },
  12523. {
  12524. "type": "string",
  12525. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12526. "name": "tmptype",
  12527. "in": "query"
  12528. },
  12529. {
  12530. "type": "integer",
  12531. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12532. "name": "includepub",
  12533. "in": "query"
  12534. }
  12535. ],
  12536. "responses": {
  12537. "200": {
  12538. "description": "OK",
  12539. "schema": {
  12540. "type": "array",
  12541. "items": {
  12542. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12543. }
  12544. }
  12545. },
  12546. "500": {
  12547. "description": "Internal Server Error",
  12548. "schema": {
  12549. "$ref": "#/definitions/app.Response"
  12550. }
  12551. }
  12552. }
  12553. }
  12554. },
  12555. "/WrTrade2/QuerySiteColumnDetail": {
  12556. "get": {
  12557. "security": [
  12558. {
  12559. "ApiKeyAuth": []
  12560. }
  12561. ],
  12562. "produces": [
  12563. "application/json"
  12564. ],
  12565. "tags": [
  12566. "仓单贸易v2"
  12567. ],
  12568. "summary": "查询资讯",
  12569. "parameters": [
  12570. {
  12571. "type": "integer",
  12572. "description": "页码",
  12573. "name": "page",
  12574. "in": "query"
  12575. },
  12576. {
  12577. "type": "integer",
  12578. "description": "每页条数",
  12579. "name": "pagesize",
  12580. "in": "query"
  12581. }
  12582. ],
  12583. "responses": {
  12584. "200": {
  12585. "description": "OK",
  12586. "schema": {
  12587. "type": "array",
  12588. "items": {
  12589. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12590. }
  12591. }
  12592. },
  12593. "500": {
  12594. "description": "Internal Server Error",
  12595. "schema": {
  12596. "$ref": "#/definitions/app.Response"
  12597. }
  12598. }
  12599. }
  12600. }
  12601. },
  12602. "/WrTrade2/QuerySpotGroupTradeSum": {
  12603. "get": {
  12604. "security": [
  12605. {
  12606. "ApiKeyAuth": []
  12607. }
  12608. ],
  12609. "produces": [
  12610. "application/json"
  12611. ],
  12612. "tags": [
  12613. "仓单贸易v2"
  12614. ],
  12615. "summary": "查询指数",
  12616. "responses": {
  12617. "200": {
  12618. "description": "OK",
  12619. "schema": {
  12620. "type": "array",
  12621. "items": {
  12622. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12623. }
  12624. }
  12625. },
  12626. "500": {
  12627. "description": "Internal Server Error",
  12628. "schema": {
  12629. "$ref": "#/definitions/app.Response"
  12630. }
  12631. }
  12632. }
  12633. }
  12634. },
  12635. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12636. "get": {
  12637. "security": [
  12638. {
  12639. "ApiKeyAuth": []
  12640. }
  12641. ],
  12642. "description": "查询的结果将会按日期 从小到大 排序",
  12643. "produces": [
  12644. "application/json"
  12645. ],
  12646. "tags": [
  12647. "仓单贸易v2"
  12648. ],
  12649. "summary": "查询指数详细(价格走势图)",
  12650. "parameters": [
  12651. {
  12652. "type": "integer",
  12653. "description": "现货商品id",
  12654. "name": "deliverygoodsid",
  12655. "in": "query",
  12656. "required": true
  12657. },
  12658. {
  12659. "type": "integer",
  12660. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12661. "name": "lastnum",
  12662. "in": "query"
  12663. }
  12664. ],
  12665. "responses": {
  12666. "200": {
  12667. "description": "OK",
  12668. "schema": {
  12669. "type": "array",
  12670. "items": {
  12671. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12672. }
  12673. }
  12674. },
  12675. "500": {
  12676. "description": "Internal Server Error",
  12677. "schema": {
  12678. "$ref": "#/definitions/app.Response"
  12679. }
  12680. }
  12681. }
  12682. }
  12683. },
  12684. "/WrTrade2/QueryWrAverageTradePrice": {
  12685. "get": {
  12686. "security": [
  12687. {
  12688. "ApiKeyAuth": []
  12689. }
  12690. ],
  12691. "produces": [
  12692. "application/json"
  12693. ],
  12694. "tags": [
  12695. "仓单贸易v2"
  12696. ],
  12697. "summary": "查询成交价(历史走势)",
  12698. "parameters": [
  12699. {
  12700. "type": "integer",
  12701. "description": "页码",
  12702. "name": "page",
  12703. "in": "query"
  12704. },
  12705. {
  12706. "type": "integer",
  12707. "description": "每页条数",
  12708. "name": "pagesize",
  12709. "in": "query"
  12710. },
  12711. {
  12712. "type": "integer",
  12713. "description": "0:仓单预售 1:仓单贸易",
  12714. "name": "haswr",
  12715. "in": "query",
  12716. "required": true
  12717. },
  12718. {
  12719. "type": "integer",
  12720. "description": "仓单要素id",
  12721. "name": "wrfactortypeid",
  12722. "in": "query",
  12723. "required": true
  12724. }
  12725. ],
  12726. "responses": {
  12727. "200": {
  12728. "description": "OK",
  12729. "schema": {
  12730. "type": "array",
  12731. "items": {
  12732. "$ref": "#/definitions/models.WrAverageTradePrice"
  12733. }
  12734. }
  12735. },
  12736. "500": {
  12737. "description": "Internal Server Error",
  12738. "schema": {
  12739. "$ref": "#/definitions/app.Response"
  12740. }
  12741. }
  12742. }
  12743. }
  12744. },
  12745. "/WrTrade2/QueryWrBsGoodsInfo": {
  12746. "get": {
  12747. "security": [
  12748. {
  12749. "ApiKeyAuth": []
  12750. }
  12751. ],
  12752. "description": "合约交易/买卖大厅/详情",
  12753. "produces": [
  12754. "application/json"
  12755. ],
  12756. "tags": [
  12757. "仓单贸易v2"
  12758. ],
  12759. "summary": "查询合约交易买卖大厅详情",
  12760. "parameters": [
  12761. {
  12762. "type": "integer",
  12763. "description": "商品id",
  12764. "name": "goodsid",
  12765. "in": "query",
  12766. "required": true
  12767. }
  12768. ],
  12769. "responses": {
  12770. "200": {
  12771. "description": "OK",
  12772. "schema": {
  12773. "type": "array",
  12774. "items": {
  12775. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12776. }
  12777. }
  12778. },
  12779. "500": {
  12780. "description": "Internal Server Error",
  12781. "schema": {
  12782. "$ref": "#/definitions/app.Response"
  12783. }
  12784. }
  12785. }
  12786. }
  12787. },
  12788. "/WrTrade2/QueryWrBuybackDetail": {
  12789. "get": {
  12790. "security": [
  12791. {
  12792. "ApiKeyAuth": []
  12793. }
  12794. ],
  12795. "produces": [
  12796. "application/json"
  12797. ],
  12798. "tags": [
  12799. "仓单贸易v2"
  12800. ],
  12801. "summary": "查询仓单回购明细",
  12802. "parameters": [
  12803. {
  12804. "type": "integer",
  12805. "description": "融资合同id",
  12806. "name": "scfcontractid",
  12807. "in": "query"
  12808. }
  12809. ],
  12810. "responses": {
  12811. "200": {
  12812. "description": "OK",
  12813. "schema": {
  12814. "type": "array",
  12815. "items": {
  12816. "$ref": "#/definitions/models.WrBuybackDetail"
  12817. }
  12818. }
  12819. },
  12820. "500": {
  12821. "description": "Internal Server Error",
  12822. "schema": {
  12823. "$ref": "#/definitions/app.Response"
  12824. }
  12825. }
  12826. }
  12827. }
  12828. },
  12829. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12830. "get": {
  12831. "security": [
  12832. {
  12833. "ApiKeyAuth": []
  12834. }
  12835. ],
  12836. "produces": [
  12837. "application/json"
  12838. ],
  12839. "tags": [
  12840. "仓单贸易v2"
  12841. ],
  12842. "summary": "查询合约交收可点选仓单",
  12843. "parameters": [
  12844. {
  12845. "type": "integer",
  12846. "description": "资金账号",
  12847. "name": "accountid",
  12848. "in": "query",
  12849. "required": true
  12850. },
  12851. {
  12852. "type": "integer",
  12853. "description": "商品id",
  12854. "name": "goodsid",
  12855. "in": "query",
  12856. "required": true
  12857. }
  12858. ],
  12859. "responses": {
  12860. "200": {
  12861. "description": "OK",
  12862. "schema": {
  12863. "type": "array",
  12864. "items": {
  12865. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12866. }
  12867. }
  12868. },
  12869. "500": {
  12870. "description": "Internal Server Error",
  12871. "schema": {
  12872. "$ref": "#/definitions/app.Response"
  12873. }
  12874. }
  12875. }
  12876. }
  12877. },
  12878. "/WrTrade2/QueryWrDeliveryDetail": {
  12879. "get": {
  12880. "security": [
  12881. {
  12882. "ApiKeyAuth": []
  12883. }
  12884. ],
  12885. "produces": [
  12886. "application/json"
  12887. ],
  12888. "tags": [
  12889. "仓单贸易v2"
  12890. ],
  12891. "summary": "查询交收",
  12892. "parameters": [
  12893. {
  12894. "type": "integer",
  12895. "description": "用户id",
  12896. "name": "userid",
  12897. "in": "query",
  12898. "required": true
  12899. },
  12900. {
  12901. "type": "integer",
  12902. "description": "资金账号id",
  12903. "name": "accountid",
  12904. "in": "query"
  12905. }
  12906. ],
  12907. "responses": {
  12908. "200": {
  12909. "description": "OK",
  12910. "schema": {
  12911. "type": "array",
  12912. "items": {
  12913. "$ref": "#/definitions/models.WrDeliveryDetail"
  12914. }
  12915. }
  12916. },
  12917. "500": {
  12918. "description": "Internal Server Error",
  12919. "schema": {
  12920. "$ref": "#/definitions/app.Response"
  12921. }
  12922. }
  12923. }
  12924. }
  12925. },
  12926. "/WrTrade2/QueryWrFactorTypeInfo": {
  12927. "get": {
  12928. "security": [
  12929. {
  12930. "ApiKeyAuth": []
  12931. }
  12932. ],
  12933. "produces": [
  12934. "application/json"
  12935. ],
  12936. "tags": [
  12937. "仓单贸易v2"
  12938. ],
  12939. "summary": "查询仓单要素详细信息",
  12940. "parameters": [
  12941. {
  12942. "type": "integer",
  12943. "description": "仓单要素id",
  12944. "name": "wrfactortypeid",
  12945. "in": "query",
  12946. "required": true
  12947. }
  12948. ],
  12949. "responses": {
  12950. "200": {
  12951. "description": "OK",
  12952. "schema": {
  12953. "type": "array",
  12954. "items": {
  12955. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12956. }
  12957. }
  12958. },
  12959. "500": {
  12960. "description": "Internal Server Error",
  12961. "schema": {
  12962. "$ref": "#/definitions/app.Response"
  12963. }
  12964. }
  12965. }
  12966. }
  12967. },
  12968. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12969. "get": {
  12970. "security": [
  12971. {
  12972. "ApiKeyAuth": []
  12973. }
  12974. ],
  12975. "produces": [
  12976. "application/json"
  12977. ],
  12978. "tags": [
  12979. "仓单贸易v2"
  12980. ],
  12981. "summary": "查询仓单要素详细信息列表项",
  12982. "parameters": [
  12983. {
  12984. "type": "integer",
  12985. "description": "仓单要素id",
  12986. "name": "wrfactortypeid",
  12987. "in": "query",
  12988. "required": true
  12989. }
  12990. ],
  12991. "responses": {
  12992. "200": {
  12993. "description": "OK",
  12994. "schema": {
  12995. "type": "array",
  12996. "items": {
  12997. "$ref": "#/definitions/models.WrTypeItem"
  12998. }
  12999. }
  13000. },
  13001. "500": {
  13002. "description": "Internal Server Error",
  13003. "schema": {
  13004. "$ref": "#/definitions/app.Response"
  13005. }
  13006. }
  13007. }
  13008. }
  13009. },
  13010. "/WrTrade2/QueryWrFinanceBuyApply": {
  13011. "get": {
  13012. "security": [
  13013. {
  13014. "ApiKeyAuth": []
  13015. }
  13016. ],
  13017. "description": "页面 融资信息+ / 申请单",
  13018. "produces": [
  13019. "application/json"
  13020. ],
  13021. "tags": [
  13022. "仓单贸易v2"
  13023. ],
  13024. "summary": "查询融资购买申请",
  13025. "parameters": [
  13026. {
  13027. "type": "integer",
  13028. "description": "用户id",
  13029. "name": "userid",
  13030. "in": "query",
  13031. "required": true
  13032. }
  13033. ],
  13034. "responses": {
  13035. "200": {
  13036. "description": "OK",
  13037. "schema": {
  13038. "type": "array",
  13039. "items": {
  13040. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13041. }
  13042. }
  13043. },
  13044. "500": {
  13045. "description": "Internal Server Error",
  13046. "schema": {
  13047. "$ref": "#/definitions/app.Response"
  13048. }
  13049. }
  13050. }
  13051. }
  13052. },
  13053. "/WrTrade2/QueryWrFriendApply": {
  13054. "get": {
  13055. "security": [
  13056. {
  13057. "ApiKeyAuth": []
  13058. }
  13059. ],
  13060. "produces": [
  13061. "application/json"
  13062. ],
  13063. "tags": [
  13064. "仓单贸易v2"
  13065. ],
  13066. "summary": "查询好友申请记录",
  13067. "parameters": [
  13068. {
  13069. "type": "integer",
  13070. "description": "用户id",
  13071. "name": "userid",
  13072. "in": "query",
  13073. "required": true
  13074. }
  13075. ],
  13076. "responses": {
  13077. "200": {
  13078. "description": "OK",
  13079. "schema": {
  13080. "type": "array",
  13081. "items": {
  13082. "$ref": "#/definitions/models.WrFriendApply"
  13083. }
  13084. }
  13085. },
  13086. "500": {
  13087. "description": "Internal Server Error",
  13088. "schema": {
  13089. "$ref": "#/definitions/app.Response"
  13090. }
  13091. }
  13092. }
  13093. }
  13094. },
  13095. "/WrTrade2/QueryWrGoodsInfo": {
  13096. "get": {
  13097. "security": [
  13098. {
  13099. "ApiKeyAuth": []
  13100. }
  13101. ],
  13102. "produces": [
  13103. "application/json"
  13104. ],
  13105. "tags": [
  13106. "仓单贸易v2"
  13107. ],
  13108. "summary": "查询仓单商品信息",
  13109. "parameters": [
  13110. {
  13111. "type": "integer",
  13112. "description": "仓单贸易市场id",
  13113. "name": "marketid",
  13114. "in": "query"
  13115. },
  13116. {
  13117. "type": "integer",
  13118. "description": "0:仓单预售 1:仓单贸易",
  13119. "name": "haswr",
  13120. "in": "query",
  13121. "required": true
  13122. },
  13123. {
  13124. "type": "integer",
  13125. "description": "仓单要素id",
  13126. "name": "wrfactortypeid",
  13127. "in": "query",
  13128. "required": true
  13129. },
  13130. {
  13131. "type": "integer",
  13132. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13133. "name": "tmplateid",
  13134. "in": "query"
  13135. }
  13136. ],
  13137. "responses": {
  13138. "200": {
  13139. "description": "OK",
  13140. "schema": {
  13141. "type": "array",
  13142. "items": {
  13143. "$ref": "#/definitions/models.WrGoodsInfo"
  13144. }
  13145. }
  13146. },
  13147. "500": {
  13148. "description": "Internal Server Error",
  13149. "schema": {
  13150. "$ref": "#/definitions/app.Response"
  13151. }
  13152. }
  13153. }
  13154. }
  13155. },
  13156. "/WrTrade2/QueryWrMarketTradeConfig": {
  13157. "get": {
  13158. "security": [
  13159. {
  13160. "ApiKeyAuth": []
  13161. }
  13162. ],
  13163. "produces": [
  13164. "application/json"
  13165. ],
  13166. "tags": [
  13167. "仓单贸易v2"
  13168. ],
  13169. "summary": "查询市场交易参数配置",
  13170. "parameters": [
  13171. {
  13172. "type": "integer",
  13173. "description": "市场id",
  13174. "name": "marketid",
  13175. "in": "query"
  13176. }
  13177. ],
  13178. "responses": {
  13179. "200": {
  13180. "description": "OK",
  13181. "schema": {
  13182. "type": "array",
  13183. "items": {
  13184. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13185. }
  13186. }
  13187. },
  13188. "500": {
  13189. "description": "Internal Server Error",
  13190. "schema": {
  13191. "$ref": "#/definitions/app.Response"
  13192. }
  13193. }
  13194. }
  13195. }
  13196. },
  13197. "/WrTrade2/QueryWrOrderDetail": {
  13198. "get": {
  13199. "security": [
  13200. {
  13201. "ApiKeyAuth": []
  13202. }
  13203. ],
  13204. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13205. "produces": [
  13206. "application/json"
  13207. ],
  13208. "tags": [
  13209. "仓单贸易v2"
  13210. ],
  13211. "summary": "查询仓单委托单(挂单)",
  13212. "parameters": [
  13213. {
  13214. "type": "integer",
  13215. "description": "页码",
  13216. "name": "page",
  13217. "in": "query"
  13218. },
  13219. {
  13220. "type": "integer",
  13221. "description": "每页条数",
  13222. "name": "pagesize",
  13223. "in": "query"
  13224. },
  13225. {
  13226. "type": "integer",
  13227. "description": "用户id",
  13228. "name": "userid",
  13229. "in": "query",
  13230. "required": true
  13231. },
  13232. {
  13233. "type": "integer",
  13234. "description": "仓单贸易市场id",
  13235. "name": "marketid",
  13236. "in": "query"
  13237. },
  13238. {
  13239. "type": "integer",
  13240. "description": "0:仓单预售 1:仓单贸易",
  13241. "name": "haswr",
  13242. "in": "query",
  13243. "required": true
  13244. }
  13245. ],
  13246. "responses": {
  13247. "200": {
  13248. "description": "OK",
  13249. "schema": {
  13250. "type": "array",
  13251. "items": {
  13252. "$ref": "#/definitions/models.WrOrderDetail"
  13253. }
  13254. }
  13255. },
  13256. "500": {
  13257. "description": "Internal Server Error",
  13258. "schema": {
  13259. "$ref": "#/definitions/app.Response"
  13260. }
  13261. }
  13262. }
  13263. }
  13264. },
  13265. "/WrTrade2/QueryWrOutInApply": {
  13266. "get": {
  13267. "security": [
  13268. {
  13269. "ApiKeyAuth": []
  13270. }
  13271. ],
  13272. "produces": [
  13273. "application/json"
  13274. ],
  13275. "tags": [
  13276. "仓单贸易v2"
  13277. ],
  13278. "summary": "查询提货申请",
  13279. "parameters": [
  13280. {
  13281. "type": "integer",
  13282. "description": "用户id",
  13283. "name": "userid",
  13284. "in": "query",
  13285. "required": true
  13286. }
  13287. ],
  13288. "responses": {
  13289. "200": {
  13290. "description": "OK",
  13291. "schema": {
  13292. "type": "array",
  13293. "items": {
  13294. "$ref": "#/definitions/models.WrOutInApply"
  13295. }
  13296. }
  13297. },
  13298. "500": {
  13299. "description": "Internal Server Error",
  13300. "schema": {
  13301. "$ref": "#/definitions/app.Response"
  13302. }
  13303. }
  13304. }
  13305. }
  13306. },
  13307. "/WrTrade2/QueryWrPerformancePlanStep": {
  13308. "get": {
  13309. "security": [
  13310. {
  13311. "ApiKeyAuth": []
  13312. }
  13313. ],
  13314. "produces": [
  13315. "application/json"
  13316. ],
  13317. "tags": [
  13318. "仓单贸易v2"
  13319. ],
  13320. "summary": "查询履约信息详情",
  13321. "parameters": [
  13322. {
  13323. "type": "integer",
  13324. "description": "履约计划id(performanceplanid)",
  13325. "name": "planid",
  13326. "in": "query",
  13327. "required": true
  13328. },
  13329. {
  13330. "type": "integer",
  13331. "description": "当前步骤id",
  13332. "name": "curstepid",
  13333. "in": "query"
  13334. }
  13335. ],
  13336. "responses": {
  13337. "200": {
  13338. "description": "OK",
  13339. "schema": {
  13340. "type": "array",
  13341. "items": {
  13342. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13343. }
  13344. }
  13345. },
  13346. "500": {
  13347. "description": "Internal Server Error",
  13348. "schema": {
  13349. "$ref": "#/definitions/app.Response"
  13350. }
  13351. }
  13352. }
  13353. }
  13354. },
  13355. "/WrTrade2/QueryWrPerformanceStepType": {
  13356. "get": {
  13357. "security": [
  13358. {
  13359. "ApiKeyAuth": []
  13360. }
  13361. ],
  13362. "produces": [
  13363. "application/json"
  13364. ],
  13365. "tags": [
  13366. "仓单贸易v2"
  13367. ],
  13368. "summary": "查询履约步骤枚举",
  13369. "responses": {
  13370. "200": {
  13371. "description": "OK",
  13372. "schema": {
  13373. "type": "array",
  13374. "items": {
  13375. "$ref": "#/definitions/models.WrPerformanceStepType"
  13376. }
  13377. }
  13378. },
  13379. "500": {
  13380. "description": "Internal Server Error",
  13381. "schema": {
  13382. "$ref": "#/definitions/app.Response"
  13383. }
  13384. }
  13385. }
  13386. }
  13387. },
  13388. "/WrTrade2/QueryWrPosition": {
  13389. "get": {
  13390. "security": [
  13391. {
  13392. "ApiKeyAuth": []
  13393. }
  13394. ],
  13395. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13396. "produces": [
  13397. "application/json"
  13398. ],
  13399. "tags": [
  13400. "仓单贸易v2"
  13401. ],
  13402. "summary": "查询现货(预售)仓单持仓",
  13403. "parameters": [
  13404. {
  13405. "type": "integer",
  13406. "description": "用户id",
  13407. "name": "userid",
  13408. "in": "query",
  13409. "required": true
  13410. },
  13411. {
  13412. "type": "integer",
  13413. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13414. "name": "querytype",
  13415. "in": "query",
  13416. "required": true
  13417. },
  13418. {
  13419. "type": "integer",
  13420. "description": "0:仓单预售 1:仓单贸易",
  13421. "name": "haswr",
  13422. "in": "query",
  13423. "required": true
  13424. },
  13425. {
  13426. "type": "string",
  13427. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13428. "name": "dgitemname",
  13429. "in": "query"
  13430. },
  13431. {
  13432. "type": "integer",
  13433. "description": "仓库id(筛选条件)",
  13434. "name": "warehouseid",
  13435. "in": "query"
  13436. },
  13437. {
  13438. "type": "integer",
  13439. "description": "品种id",
  13440. "name": "deliverygoodsid",
  13441. "in": "query"
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "品类id",
  13446. "name": "wrstandardid",
  13447. "in": "query"
  13448. }
  13449. ],
  13450. "responses": {
  13451. "200": {
  13452. "description": "OK",
  13453. "schema": {
  13454. "type": "array",
  13455. "items": {
  13456. "$ref": "#/definitions/models.WrPosition"
  13457. }
  13458. }
  13459. },
  13460. "500": {
  13461. "description": "Internal Server Error",
  13462. "schema": {
  13463. "$ref": "#/definitions/app.Response"
  13464. }
  13465. }
  13466. }
  13467. }
  13468. },
  13469. "/WrTrade2/QueryWrScfContract": {
  13470. "get": {
  13471. "security": [
  13472. {
  13473. "ApiKeyAuth": []
  13474. }
  13475. ],
  13476. "produces": [
  13477. "application/json"
  13478. ],
  13479. "tags": [
  13480. "仓单贸易v2"
  13481. ],
  13482. "summary": "查询仓单贸易融资合同",
  13483. "parameters": [
  13484. {
  13485. "type": "integer",
  13486. "description": "用户id",
  13487. "name": "userid",
  13488. "in": "query",
  13489. "required": true
  13490. },
  13491. {
  13492. "type": "integer",
  13493. "description": "融资合同id",
  13494. "name": "scfcontractid",
  13495. "in": "query"
  13496. }
  13497. ],
  13498. "responses": {
  13499. "200": {
  13500. "description": "OK",
  13501. "schema": {
  13502. "type": "array",
  13503. "items": {
  13504. "$ref": "#/definitions/models.WrScfContract"
  13505. }
  13506. }
  13507. },
  13508. "500": {
  13509. "description": "Internal Server Error",
  13510. "schema": {
  13511. "$ref": "#/definitions/app.Response"
  13512. }
  13513. }
  13514. }
  13515. }
  13516. },
  13517. "/WrTrade2/QueryWrScfContractInterest": {
  13518. "get": {
  13519. "security": [
  13520. {
  13521. "ApiKeyAuth": []
  13522. }
  13523. ],
  13524. "produces": [
  13525. "application/json"
  13526. ],
  13527. "tags": [
  13528. "仓单贸易v2"
  13529. ],
  13530. "summary": "查询融资合同费用明细",
  13531. "parameters": [
  13532. {
  13533. "type": "integer",
  13534. "description": "融资合同id",
  13535. "name": "scfcontractid",
  13536. "in": "query"
  13537. }
  13538. ],
  13539. "responses": {
  13540. "200": {
  13541. "description": "OK",
  13542. "schema": {
  13543. "type": "array",
  13544. "items": {
  13545. "$ref": "#/definitions/models.WrScfContractInterest"
  13546. }
  13547. }
  13548. },
  13549. "500": {
  13550. "description": "Internal Server Error",
  13551. "schema": {
  13552. "$ref": "#/definitions/app.Response"
  13553. }
  13554. }
  13555. }
  13556. }
  13557. },
  13558. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13559. "get": {
  13560. "security": [
  13561. {
  13562. "ApiKeyAuth": []
  13563. }
  13564. ],
  13565. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13566. "produces": [
  13567. "application/json"
  13568. ],
  13569. "tags": [
  13570. "仓单贸易v2"
  13571. ],
  13572. "summary": "查询指定成交",
  13573. "parameters": [
  13574. {
  13575. "type": "integer",
  13576. "description": "页码",
  13577. "name": "page",
  13578. "in": "query"
  13579. },
  13580. {
  13581. "type": "integer",
  13582. "description": "每页条数",
  13583. "name": "pagesize",
  13584. "in": "query"
  13585. },
  13586. {
  13587. "type": "integer",
  13588. "description": "用户id",
  13589. "name": "userid",
  13590. "in": "query",
  13591. "required": true
  13592. },
  13593. {
  13594. "type": "integer",
  13595. "description": "仓单贸易市场id",
  13596. "name": "marketid",
  13597. "in": "query"
  13598. },
  13599. {
  13600. "type": "integer",
  13601. "description": "0:仓单预售 1:仓单贸易",
  13602. "name": "haswr",
  13603. "in": "query",
  13604. "required": true
  13605. },
  13606. {
  13607. "type": "integer",
  13608. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13609. "name": "isspecified",
  13610. "in": "query"
  13611. }
  13612. ],
  13613. "responses": {
  13614. "200": {
  13615. "description": "OK",
  13616. "schema": {
  13617. "type": "array",
  13618. "items": {
  13619. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13620. }
  13621. }
  13622. },
  13623. "500": {
  13624. "description": "Internal Server Error",
  13625. "schema": {
  13626. "$ref": "#/definitions/app.Response"
  13627. }
  13628. }
  13629. }
  13630. }
  13631. },
  13632. "/WrTrade2/QueryWrStandardFactoryItem": {
  13633. "get": {
  13634. "security": [
  13635. {
  13636. "ApiKeyAuth": []
  13637. }
  13638. ],
  13639. "produces": [
  13640. "application/json"
  13641. ],
  13642. "tags": [
  13643. "仓单贸易v2"
  13644. ],
  13645. "summary": "查询品类要素定义项",
  13646. "parameters": [
  13647. {
  13648. "type": "integer",
  13649. "description": "品类id",
  13650. "name": "wrstandardid",
  13651. "in": "query",
  13652. "required": true
  13653. }
  13654. ],
  13655. "responses": {
  13656. "200": {
  13657. "description": "OK",
  13658. "schema": {
  13659. "type": "array",
  13660. "items": {
  13661. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13662. }
  13663. }
  13664. },
  13665. "500": {
  13666. "description": "Internal Server Error",
  13667. "schema": {
  13668. "$ref": "#/definitions/app.Response"
  13669. }
  13670. }
  13671. }
  13672. }
  13673. },
  13674. "/WrTrade2/QueryWrTradeBargainApply": {
  13675. "get": {
  13676. "security": [
  13677. {
  13678. "ApiKeyAuth": []
  13679. }
  13680. ],
  13681. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13682. "produces": [
  13683. "application/json"
  13684. ],
  13685. "tags": [
  13686. "仓单贸易v2"
  13687. ],
  13688. "summary": "查询议价单",
  13689. "parameters": [
  13690. {
  13691. "type": "integer",
  13692. "description": "议价人id(摘牌方)",
  13693. "name": "userid",
  13694. "in": "query"
  13695. },
  13696. {
  13697. "type": "integer",
  13698. "description": "挂牌方id(查对方议价时,填写此项)",
  13699. "name": "matchuserid",
  13700. "in": "query"
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "关联委托单id",
  13705. "name": "wrtradeorderid",
  13706. "in": "query"
  13707. },
  13708. {
  13709. "type": "integer",
  13710. "description": "0:仓单预售 1:仓单贸易",
  13711. "name": "haswr",
  13712. "in": "query",
  13713. "required": true
  13714. }
  13715. ],
  13716. "responses": {
  13717. "200": {
  13718. "description": "OK",
  13719. "schema": {
  13720. "type": "array",
  13721. "items": {
  13722. "$ref": "#/definitions/models.WRTradeBargainApply"
  13723. }
  13724. }
  13725. },
  13726. "500": {
  13727. "description": "Internal Server Error",
  13728. "schema": {
  13729. "$ref": "#/definitions/app.Response"
  13730. }
  13731. }
  13732. }
  13733. }
  13734. },
  13735. "/WrTrade2/QueryWrTradeDetail": {
  13736. "get": {
  13737. "security": [
  13738. {
  13739. "ApiKeyAuth": []
  13740. }
  13741. ],
  13742. "produces": [
  13743. "application/json"
  13744. ],
  13745. "tags": [
  13746. "仓单贸易v2"
  13747. ],
  13748. "summary": "查询仓单成交明细",
  13749. "parameters": [
  13750. {
  13751. "type": "integer",
  13752. "description": "页码",
  13753. "name": "page",
  13754. "in": "query"
  13755. },
  13756. {
  13757. "type": "integer",
  13758. "description": "每页条数",
  13759. "name": "pagesize",
  13760. "in": "query"
  13761. },
  13762. {
  13763. "type": "integer",
  13764. "description": "用户id",
  13765. "name": "userid",
  13766. "in": "query",
  13767. "required": true
  13768. },
  13769. {
  13770. "type": "integer",
  13771. "description": "仓单贸易市场id",
  13772. "name": "marketid",
  13773. "in": "query"
  13774. },
  13775. {
  13776. "type": "integer",
  13777. "description": "0:仓单预售 1:仓单贸易",
  13778. "name": "haswr",
  13779. "in": "query",
  13780. "required": true
  13781. }
  13782. ],
  13783. "responses": {
  13784. "200": {
  13785. "description": "OK",
  13786. "schema": {
  13787. "type": "array",
  13788. "items": {
  13789. "$ref": "#/definitions/models.WrTradeDetail"
  13790. }
  13791. }
  13792. },
  13793. "500": {
  13794. "description": "Internal Server Error",
  13795. "schema": {
  13796. "$ref": "#/definitions/app.Response"
  13797. }
  13798. }
  13799. }
  13800. }
  13801. },
  13802. "/WrTrade2/QueryWrTradeOrderDetail": {
  13803. "get": {
  13804. "security": [
  13805. {
  13806. "ApiKeyAuth": []
  13807. }
  13808. ],
  13809. "produces": [
  13810. "application/json"
  13811. ],
  13812. "tags": [
  13813. "仓单贸易v2"
  13814. ],
  13815. "summary": "查询合约交易买卖大厅",
  13816. "parameters": [
  13817. {
  13818. "type": "integer",
  13819. "description": "页码",
  13820. "name": "page",
  13821. "in": "query"
  13822. },
  13823. {
  13824. "type": "integer",
  13825. "description": "每页条数",
  13826. "name": "pagesize",
  13827. "in": "query"
  13828. },
  13829. {
  13830. "type": "integer",
  13831. "description": "商品id",
  13832. "name": "goodsid",
  13833. "in": "query",
  13834. "required": true
  13835. },
  13836. {
  13837. "type": "integer",
  13838. "description": "买卖方向 0-买 1-卖",
  13839. "name": "buyorsell",
  13840. "in": "query",
  13841. "required": true
  13842. }
  13843. ],
  13844. "responses": {
  13845. "200": {
  13846. "description": "OK",
  13847. "schema": {
  13848. "type": "array",
  13849. "items": {
  13850. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13851. }
  13852. }
  13853. },
  13854. "500": {
  13855. "description": "Internal Server Error",
  13856. "schema": {
  13857. "$ref": "#/definitions/app.Response"
  13858. }
  13859. }
  13860. }
  13861. }
  13862. },
  13863. "/WrTrade2/QueryWrUserFriend": {
  13864. "get": {
  13865. "security": [
  13866. {
  13867. "ApiKeyAuth": []
  13868. }
  13869. ],
  13870. "produces": [
  13871. "application/json"
  13872. ],
  13873. "tags": [
  13874. "仓单贸易v2"
  13875. ],
  13876. "summary": "查询我的朋友",
  13877. "parameters": [
  13878. {
  13879. "type": "integer",
  13880. "description": "用户id",
  13881. "name": "userid",
  13882. "in": "query",
  13883. "required": true
  13884. },
  13885. {
  13886. "type": "integer",
  13887. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13888. "name": "newuserid",
  13889. "in": "query"
  13890. }
  13891. ],
  13892. "responses": {
  13893. "200": {
  13894. "description": "OK",
  13895. "schema": {
  13896. "type": "array",
  13897. "items": {
  13898. "$ref": "#/definitions/models.WrUserFriend"
  13899. }
  13900. }
  13901. },
  13902. "500": {
  13903. "description": "Internal Server Error",
  13904. "schema": {
  13905. "$ref": "#/definitions/app.Response"
  13906. }
  13907. }
  13908. }
  13909. }
  13910. },
  13911. "/WrTrade2/QueryWrUserReceiptInfo": {
  13912. "get": {
  13913. "security": [
  13914. {
  13915. "ApiKeyAuth": []
  13916. }
  13917. ],
  13918. "produces": [
  13919. "application/json"
  13920. ],
  13921. "tags": [
  13922. "仓单贸易v2"
  13923. ],
  13924. "summary": "查询发票信息",
  13925. "parameters": [
  13926. {
  13927. "type": "integer",
  13928. "description": "用户id",
  13929. "name": "userid",
  13930. "in": "query"
  13931. },
  13932. {
  13933. "type": "integer",
  13934. "description": "发票类型 - 1:个人 2:企业",
  13935. "name": "receipttype",
  13936. "in": "query"
  13937. }
  13938. ],
  13939. "responses": {
  13940. "200": {
  13941. "description": "OK",
  13942. "schema": {
  13943. "type": "array",
  13944. "items": {
  13945. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13946. }
  13947. }
  13948. },
  13949. "500": {
  13950. "description": "Internal Server Error",
  13951. "schema": {
  13952. "$ref": "#/definitions/app.Response"
  13953. }
  13954. }
  13955. }
  13956. }
  13957. },
  13958. "/ZJ/GetBankTip": {
  13959. "get": {
  13960. "produces": [
  13961. "application/json"
  13962. ],
  13963. "tags": [
  13964. "中江"
  13965. ],
  13966. "summary": "获取中江网银端出入金提示信息",
  13967. "responses": {
  13968. "200": {
  13969. "description": "OK",
  13970. "schema": {
  13971. "type": "string"
  13972. }
  13973. },
  13974. "500": {
  13975. "description": "Internal Server Error",
  13976. "schema": {
  13977. "$ref": "#/definitions/app.Response"
  13978. }
  13979. }
  13980. }
  13981. }
  13982. },
  13983. "/ZJ/GetCusBankChannels": {
  13984. "get": {
  13985. "produces": [
  13986. "application/json"
  13987. ],
  13988. "tags": [
  13989. "中江"
  13990. ],
  13991. "summary": "获取中江出入金渠道显示列表",
  13992. "responses": {
  13993. "200": {
  13994. "description": "OK",
  13995. "schema": {
  13996. "type": "array",
  13997. "items": {
  13998. "type": "string"
  13999. }
  14000. }
  14001. },
  14002. "500": {
  14003. "description": "Internal Server Error",
  14004. "schema": {
  14005. "$ref": "#/definitions/app.Response"
  14006. }
  14007. }
  14008. }
  14009. }
  14010. }
  14011. },
  14012. "definitions": {
  14013. "app.Response": {
  14014. "type": "object",
  14015. "properties": {
  14016. "code": {
  14017. "type": "integer"
  14018. },
  14019. "data": {
  14020. "type": "object"
  14021. },
  14022. "msg": {
  14023. "type": "string"
  14024. },
  14025. "page": {
  14026. "description": "页码",
  14027. "type": "integer"
  14028. },
  14029. "pagesize": {
  14030. "description": "每页条数",
  14031. "type": "integer"
  14032. },
  14033. "total": {
  14034. "description": "总条数",
  14035. "type": "integer"
  14036. }
  14037. }
  14038. },
  14039. "common.ClientMenu": {
  14040. "type": "object",
  14041. "properties": {
  14042. "children": {
  14043. "description": "子菜单列表",
  14044. "type": "array",
  14045. "items": {
  14046. "$ref": "#/definitions/common.ClientMenu"
  14047. }
  14048. },
  14049. "code": {
  14050. "description": "ID",
  14051. "type": "string"
  14052. },
  14053. "isshow": {
  14054. "description": "是否显示",
  14055. "type": "boolean"
  14056. },
  14057. "remark": {
  14058. "description": "备注",
  14059. "type": "string"
  14060. },
  14061. "rulekey": {
  14062. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14063. "type": "string"
  14064. },
  14065. "sort": {
  14066. "description": "排序",
  14067. "type": "integer"
  14068. },
  14069. "title": {
  14070. "description": "标题",
  14071. "type": "string"
  14072. },
  14073. "type": {
  14074. "description": "类型,1:菜单 2:按钮",
  14075. "type": "integer"
  14076. },
  14077. "url": {
  14078. "description": "URL",
  14079. "type": "string"
  14080. }
  14081. }
  14082. },
  14083. "common.PCWebMenu": {
  14084. "type": "object",
  14085. "properties": {
  14086. "auth": {
  14087. "description": "页面权限列表",
  14088. "type": "array",
  14089. "items": {
  14090. "$ref": "#/definitions/common.PCWebMenuAuth"
  14091. }
  14092. },
  14093. "children": {
  14094. "description": "子菜单列表",
  14095. "type": "array",
  14096. "items": {
  14097. "$ref": "#/definitions/common.PCWebMenu"
  14098. }
  14099. },
  14100. "code": {
  14101. "description": "ID,新版本中权限KEY也是这个字段",
  14102. "type": "string"
  14103. },
  14104. "component": {
  14105. "description": "路由组件",
  14106. "type": "string"
  14107. },
  14108. "isshow": {
  14109. "description": "是否显示",
  14110. "type": "boolean"
  14111. },
  14112. "path": {
  14113. "description": "路由路径",
  14114. "type": "string"
  14115. },
  14116. "remark": {
  14117. "description": "备注",
  14118. "type": "string"
  14119. },
  14120. "rulekey": {
  14121. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14122. "type": "string"
  14123. },
  14124. "sort": {
  14125. "description": "排序",
  14126. "type": "integer"
  14127. },
  14128. "title": {
  14129. "description": "标题",
  14130. "type": "string"
  14131. },
  14132. "url": {
  14133. "description": "URL",
  14134. "type": "string"
  14135. }
  14136. }
  14137. },
  14138. "common.PCWebMenuAuth": {
  14139. "type": "object",
  14140. "properties": {
  14141. "code": {
  14142. "description": "ID,新版本中权限KEY也是这个字段",
  14143. "type": "string"
  14144. },
  14145. "isshow": {
  14146. "description": "是否显示",
  14147. "type": "boolean"
  14148. },
  14149. "label": {
  14150. "description": "标题",
  14151. "type": "string"
  14152. },
  14153. "remark": {
  14154. "description": "备注",
  14155. "type": "string"
  14156. },
  14157. "rulekey": {
  14158. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14159. "type": "string"
  14160. }
  14161. }
  14162. },
  14163. "common.QueryImageConfigsRsp": {
  14164. "type": "object",
  14165. "required": [
  14166. "configid"
  14167. ],
  14168. "properties": {
  14169. "areauserid": {
  14170. "description": "所属机构ID",
  14171. "type": "integer"
  14172. },
  14173. "configid": {
  14174. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14175. "type": "integer"
  14176. },
  14177. "createdate": {
  14178. "description": "创建时间",
  14179. "type": "string"
  14180. },
  14181. "creatorid": {
  14182. "description": "创建人",
  14183. "type": "integer"
  14184. },
  14185. "imagepath": {
  14186. "description": "图片",
  14187. "type": "string"
  14188. },
  14189. "imagetype": {
  14190. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14191. "type": "integer"
  14192. },
  14193. "isshow": {
  14194. "description": "是否展示 - 0:不展示 1:展示",
  14195. "type": "integer"
  14196. },
  14197. "marketid": {
  14198. "description": "市场ID",
  14199. "type": "integer"
  14200. },
  14201. "modifierid": {
  14202. "description": "操作人",
  14203. "type": "integer"
  14204. },
  14205. "sort": {
  14206. "description": "排序",
  14207. "type": "integer"
  14208. },
  14209. "title": {
  14210. "description": "标题",
  14211. "type": "string"
  14212. },
  14213. "trademode": {
  14214. "description": "交易模式",
  14215. "type": "integer"
  14216. },
  14217. "updatedate": {
  14218. "description": "修改时间",
  14219. "type": "string"
  14220. },
  14221. "url": {
  14222. "description": "链接(地址或商品ID)",
  14223. "type": "string"
  14224. },
  14225. "urltype": {
  14226. "description": "链接类型 - 1:直接地址 2:商品ID",
  14227. "type": "integer"
  14228. }
  14229. }
  14230. },
  14231. "common.QueryNoticeRsp": {
  14232. "type": "object",
  14233. "required": [
  14234. "autoid"
  14235. ],
  14236. "properties": {
  14237. "auditoruserid": {
  14238. "description": "审核人",
  14239. "type": "integer"
  14240. },
  14241. "auditremark": {
  14242. "description": "审核备注",
  14243. "type": "string"
  14244. },
  14245. "audittime": {
  14246. "description": "审核日期",
  14247. "type": "string"
  14248. },
  14249. "autoid": {
  14250. "description": "自增ID",
  14251. "type": "integer"
  14252. },
  14253. "content": {
  14254. "description": "内容",
  14255. "type": "string"
  14256. },
  14257. "createtime": {
  14258. "description": "创建时间",
  14259. "type": "string"
  14260. },
  14261. "creatorid": {
  14262. "description": "建仓人",
  14263. "type": "integer"
  14264. },
  14265. "endtime": {
  14266. "description": "结束时间",
  14267. "type": "string"
  14268. },
  14269. "istop": {
  14270. "description": "是否置顶 - 0:不置顶 1:置顶",
  14271. "type": "integer"
  14272. },
  14273. "msgiconurl": {
  14274. "description": "消息图标Url",
  14275. "type": "string"
  14276. },
  14277. "msgtype": {
  14278. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14279. "type": "integer"
  14280. },
  14281. "publisher": {
  14282. "description": "消息发布者",
  14283. "type": "string"
  14284. },
  14285. "readed": {
  14286. "description": "是否已读",
  14287. "type": "boolean"
  14288. },
  14289. "scheduletime": {
  14290. "description": "计划发送时间",
  14291. "type": "string"
  14292. },
  14293. "sendtype": {
  14294. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14295. "type": "integer"
  14296. },
  14297. "sentstatus": {
  14298. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14299. "type": "integer"
  14300. },
  14301. "title": {
  14302. "description": "标题",
  14303. "type": "string"
  14304. },
  14305. "userid": {
  14306. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14307. "type": "integer"
  14308. }
  14309. }
  14310. },
  14311. "common.QueryProvincesAndCitiesRsp": {
  14312. "type": "object",
  14313. "properties": {
  14314. "cities": {
  14315. "description": "市",
  14316. "type": "array",
  14317. "items": {
  14318. "$ref": "#/definitions/models.Division"
  14319. }
  14320. },
  14321. "province": {
  14322. "description": "省",
  14323. "$ref": "#/definitions/models.Division"
  14324. }
  14325. }
  14326. },
  14327. "common.QueryTableDefineRsp": {
  14328. "type": "object",
  14329. "required": [
  14330. "tablekey"
  14331. ],
  14332. "properties": {
  14333. "columns": {
  14334. "description": "列头信息数组",
  14335. "type": "array",
  14336. "items": {
  14337. "$ref": "#/definitions/models.Tablecolumnconfig"
  14338. }
  14339. },
  14340. "remark": {
  14341. "description": "Remark",
  14342. "type": "string"
  14343. },
  14344. "tabelmenu": {
  14345. "description": "列表菜单",
  14346. "type": "string"
  14347. },
  14348. "tablekey": {
  14349. "description": "列表Key",
  14350. "type": "string"
  14351. },
  14352. "tablename": {
  14353. "description": "列表名称",
  14354. "type": "string"
  14355. },
  14356. "tabletype": {
  14357. "description": "列表类型 - 1:管理端 2:终端",
  14358. "type": "integer"
  14359. }
  14360. }
  14361. },
  14362. "common.QueryTraderMenuRsp": {
  14363. "type": "object",
  14364. "properties": {
  14365. "OperationMenu": {
  14366. "description": "功能菜单",
  14367. "type": "array",
  14368. "items": {
  14369. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14370. }
  14371. },
  14372. "QuoteMenu": {
  14373. "description": "报价牌分类菜单",
  14374. "type": "array",
  14375. "items": {
  14376. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14377. }
  14378. }
  14379. }
  14380. },
  14381. "cptrade.Cptradepositioncancel": {
  14382. "type": "object",
  14383. "required": [
  14384. "cancelid"
  14385. ],
  14386. "properties": {
  14387. "accountid": {
  14388. "description": "申请人账户ID",
  14389. "type": "integer"
  14390. },
  14391. "applystatus": {
  14392. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14393. "type": "integer"
  14394. },
  14395. "applytime": {
  14396. "description": "申请时间",
  14397. "type": "string"
  14398. },
  14399. "cancelid": {
  14400. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14401. "type": "integer"
  14402. },
  14403. "cancelqty": {
  14404. "description": "注销数量",
  14405. "type": "integer"
  14406. },
  14407. "createtime": {
  14408. "description": "创建时间",
  14409. "type": "string"
  14410. },
  14411. "creatorid": {
  14412. "description": "创建人ID",
  14413. "type": "integer"
  14414. },
  14415. "creatorname": {
  14416. "description": "创建人",
  14417. "type": "string"
  14418. },
  14419. "goodscode": {
  14420. "description": "订单商品代码",
  14421. "type": "string"
  14422. },
  14423. "goodsid": {
  14424. "description": "商品ID",
  14425. "type": "integer"
  14426. },
  14427. "goodsname": {
  14428. "description": "订单商品名称",
  14429. "type": "string"
  14430. },
  14431. "goodunit": {
  14432. "description": "报价单位",
  14433. "type": "string"
  14434. },
  14435. "handlestatus": {
  14436. "description": "处理状态",
  14437. "type": "integer"
  14438. },
  14439. "marketid": {
  14440. "description": "市场ID",
  14441. "type": "integer"
  14442. },
  14443. "marketname": {
  14444. "description": "市场名称",
  14445. "type": "string"
  14446. },
  14447. "tradedate": {
  14448. "description": "交易日(yyyyMMdd)",
  14449. "type": "string"
  14450. },
  14451. "userid": {
  14452. "description": "申请人ID",
  14453. "type": "integer"
  14454. }
  14455. }
  14456. },
  14457. "cptrade.Cptradepresaleapply": {
  14458. "type": "object",
  14459. "required": [
  14460. "applyid"
  14461. ],
  14462. "properties": {
  14463. "accountid": {
  14464. "description": "申请人账户ID",
  14465. "type": "integer"
  14466. },
  14467. "applyid": {
  14468. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14469. "type": "integer"
  14470. },
  14471. "applyremark": {
  14472. "description": "申请备注",
  14473. "type": "string"
  14474. },
  14475. "applystatus": {
  14476. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14477. "type": "integer"
  14478. },
  14479. "applytime": {
  14480. "description": "申请时间",
  14481. "type": "string"
  14482. },
  14483. "attachmenturl": {
  14484. "description": "附件地址",
  14485. "type": "string"
  14486. },
  14487. "endtime": {
  14488. "description": "预售结束时间",
  14489. "type": "string"
  14490. },
  14491. "goodscode": {
  14492. "description": "商品代码",
  14493. "type": "string"
  14494. },
  14495. "goodsid": {
  14496. "description": "商品ID",
  14497. "type": "integer"
  14498. },
  14499. "goodsname": {
  14500. "description": "商品名称",
  14501. "type": "string"
  14502. },
  14503. "goodunit": {
  14504. "description": "报价单位",
  14505. "type": "string"
  14506. },
  14507. "handlestatus": {
  14508. "description": "处理状态",
  14509. "type": "integer"
  14510. },
  14511. "marketid": {
  14512. "description": "预售市场ID",
  14513. "type": "integer"
  14514. },
  14515. "marketname": {
  14516. "description": "预售市场名称",
  14517. "type": "string"
  14518. },
  14519. "presaleqty": {
  14520. "description": "预售数量",
  14521. "type": "integer"
  14522. },
  14523. "relatedgoodscode": {
  14524. "description": "关联交易合约代码",
  14525. "type": "string"
  14526. },
  14527. "relatedgoodsid": {
  14528. "description": "关联交易合约ID",
  14529. "type": "integer"
  14530. },
  14531. "relatedgoodsname": {
  14532. "description": "关联交易合约名称",
  14533. "type": "string"
  14534. },
  14535. "starttime": {
  14536. "description": "预售开始时间",
  14537. "type": "string"
  14538. },
  14539. "tradedate": {
  14540. "description": "交易日(yyyyMMdd)",
  14541. "type": "string"
  14542. },
  14543. "trademode": {
  14544. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14545. "type": "integer"
  14546. },
  14547. "userid": {
  14548. "description": "申请人ID",
  14549. "type": "integer"
  14550. }
  14551. }
  14552. },
  14553. "cptrade.Cptradeusergoodsdata": {
  14554. "type": "object",
  14555. "required": [
  14556. "accountid",
  14557. "goodsid"
  14558. ],
  14559. "properties": {
  14560. "EnabledQty": {
  14561. "description": "可用量",
  14562. "type": "integer"
  14563. },
  14564. "GoodsCode": {
  14565. "description": "订单商品代码",
  14566. "type": "string"
  14567. },
  14568. "GoodsName": {
  14569. "description": "订单商品名称",
  14570. "type": "string"
  14571. },
  14572. "WRStandardCode": {
  14573. "description": "仓单标准代码",
  14574. "type": "string"
  14575. },
  14576. "WRStandardName": {
  14577. "description": "仓单标准名称",
  14578. "type": "string"
  14579. },
  14580. "accountid": {
  14581. "description": "账户ID",
  14582. "type": "integer"
  14583. },
  14584. "cancelqty": {
  14585. "description": "注销量",
  14586. "type": "integer"
  14587. },
  14588. "curpresaleqty": {
  14589. "description": "当前预售量",
  14590. "type": "integer"
  14591. },
  14592. "deliveryqty": {
  14593. "description": "交割量",
  14594. "type": "integer"
  14595. },
  14596. "freezeamount": {
  14597. "description": "冻结金额",
  14598. "type": "number"
  14599. },
  14600. "goodsid": {
  14601. "description": "商品ID",
  14602. "type": "integer"
  14603. },
  14604. "goodunit": {
  14605. "description": "报价单位",
  14606. "type": "string"
  14607. },
  14608. "hasspotfreeze": {
  14609. "description": "是否有现货冻结 - 0:否 1:有",
  14610. "type": "integer"
  14611. },
  14612. "inqty": {
  14613. "description": "转入量(总数量)",
  14614. "type": "integer"
  14615. },
  14616. "marketid": {
  14617. "description": "市场ID",
  14618. "type": "integer"
  14619. },
  14620. "presaledamount": {
  14621. "description": "已预售总金额",
  14622. "type": "integer"
  14623. },
  14624. "presaledqty": {
  14625. "description": "已预售量",
  14626. "type": "integer"
  14627. },
  14628. "userid": {
  14629. "description": "用户ID",
  14630. "type": "integer"
  14631. },
  14632. "wrstandardid": {
  14633. "description": "仓单标准ID",
  14634. "type": "integer"
  14635. }
  14636. }
  14637. },
  14638. "cptrade.QueryCPTradeMyBidRsp": {
  14639. "type": "object",
  14640. "required": [
  14641. "accountid",
  14642. "goodsid",
  14643. "marketid",
  14644. "orderid",
  14645. "orderqty",
  14646. "ordertime",
  14647. "tradeprice",
  14648. "tradeqty"
  14649. ],
  14650. "properties": {
  14651. "accountid": {
  14652. "description": "账户ID[报价币种]",
  14653. "type": "integer"
  14654. },
  14655. "goodsid": {
  14656. "description": "商品ID",
  14657. "type": "integer"
  14658. },
  14659. "goodunit": {
  14660. "description": "报价单位",
  14661. "type": "string"
  14662. },
  14663. "marketid": {
  14664. "description": "市场ID",
  14665. "type": "integer"
  14666. },
  14667. "orderid": {
  14668. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14669. "type": "integer"
  14670. },
  14671. "orderprice": {
  14672. "description": "委托价格",
  14673. "type": "number"
  14674. },
  14675. "orderqty": {
  14676. "description": "委托数量",
  14677. "type": "integer"
  14678. },
  14679. "ordertime": {
  14680. "description": "委托时间",
  14681. "type": "string"
  14682. },
  14683. "ordertotalprice": {
  14684. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14685. "type": "number"
  14686. },
  14687. "ordertotalweight": {
  14688. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14689. "type": "integer"
  14690. },
  14691. "totaltotalprice": {
  14692. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14693. "type": "number"
  14694. },
  14695. "tradeprice": {
  14696. "description": "成交价格",
  14697. "type": "number"
  14698. },
  14699. "tradeqty": {
  14700. "description": "成交数量",
  14701. "type": "integer"
  14702. }
  14703. }
  14704. },
  14705. "cptrade.QueryCPTradeOrderDetailRsq": {
  14706. "type": "object",
  14707. "required": [
  14708. "accountid",
  14709. "buildtype",
  14710. "buyorsell",
  14711. "goodsid",
  14712. "marketid",
  14713. "memberuserid",
  14714. "operatetype",
  14715. "orderqty",
  14716. "ordertime",
  14717. "pricemode",
  14718. "strorderid",
  14719. "tradedate",
  14720. "validtype"
  14721. ],
  14722. "properties": {
  14723. "accountid": {
  14724. "description": "账户ID[报价币种]",
  14725. "type": "integer"
  14726. },
  14727. "buildtype": {
  14728. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14729. "type": "integer"
  14730. },
  14731. "buyorsell": {
  14732. "description": "买卖 - 0:买 1:卖",
  14733. "type": "integer"
  14734. },
  14735. "cancelorderid": {
  14736. "description": "撤单单号(撤单时填写)",
  14737. "type": "integer"
  14738. },
  14739. "cancelqty": {
  14740. "description": "撤单数量",
  14741. "type": "integer"
  14742. },
  14743. "clientordertime": {
  14744. "description": "客户端委托时间",
  14745. "type": "string"
  14746. },
  14747. "clientticket": {
  14748. "description": "客户端流水号",
  14749. "type": "string"
  14750. },
  14751. "clienttype": {
  14752. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14753. "type": "integer"
  14754. },
  14755. "closeexchagechargevalue": {
  14756. "description": "平仓交易所手续费设置值",
  14757. "type": "number"
  14758. },
  14759. "closefeealgorithm": {
  14760. "description": "平仓手续费收取方式 1:比率 2:固定",
  14761. "type": "integer"
  14762. },
  14763. "closefreezecharge": {
  14764. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14765. "type": "number"
  14766. },
  14767. "closememberchargevalue": {
  14768. "description": "平仓会员手续费设置值",
  14769. "type": "number"
  14770. },
  14771. "closeqty": {
  14772. "description": "平仓数量(先建后平操作 需要记录)",
  14773. "type": "integer"
  14774. },
  14775. "closetradeqty": {
  14776. "description": "平仓成交数量(先建后平操作,需要记录)",
  14777. "type": "integer"
  14778. },
  14779. "closeunfreezecharge": {
  14780. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14781. "type": "number"
  14782. },
  14783. "delistingtype": {
  14784. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14785. "type": "integer"
  14786. },
  14787. "freezecharge": {
  14788. "description": "冻结手续费",
  14789. "type": "number"
  14790. },
  14791. "freezemargin": {
  14792. "description": "冻结保证金(冻结交易金额)",
  14793. "type": "number"
  14794. },
  14795. "gcaccountid": {
  14796. "description": "账户ID[合约币种]",
  14797. "type": "integer"
  14798. },
  14799. "goodsid": {
  14800. "description": "商品ID",
  14801. "type": "integer"
  14802. },
  14803. "isconfirmexercise": {
  14804. "description": "是否确认行权- 0:否 1:是",
  14805. "type": "integer"
  14806. },
  14807. "ispreexercise": {
  14808. "description": "是否预申报- 0:否 1:是",
  14809. "type": "integer"
  14810. },
  14811. "listingselecttype": {
  14812. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14813. "type": "integer"
  14814. },
  14815. "marginalgorithm": {
  14816. "description": "保证金收取方式 1:比率 2:固定",
  14817. "type": "integer"
  14818. },
  14819. "marginvalue": {
  14820. "description": "即市保证金设置值",
  14821. "type": "number"
  14822. },
  14823. "marketid": {
  14824. "description": "市场ID",
  14825. "type": "integer"
  14826. },
  14827. "marketmaxsub": {
  14828. "description": "市价最大偏移范围",
  14829. "type": "number"
  14830. },
  14831. "memberuserid": {
  14832. "description": "所属会员UserID",
  14833. "type": "integer"
  14834. },
  14835. "openexchagechargevalue": {
  14836. "description": "建仓交易所手续费设置值",
  14837. "type": "number"
  14838. },
  14839. "openfeealgorithm": {
  14840. "description": "建仓手续费收取方式 1:比率 2:固定",
  14841. "type": "integer"
  14842. },
  14843. "openfreezecharge": {
  14844. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14845. "type": "number"
  14846. },
  14847. "openmemberchargevalue": {
  14848. "description": "建仓会员手续费设置值",
  14849. "type": "number"
  14850. },
  14851. "openqty": {
  14852. "description": "开仓数量(先建后平操作,需要记录)",
  14853. "type": "integer"
  14854. },
  14855. "opentradeqty": {
  14856. "description": "开仓成交数量(先建后平操作,需要记录)",
  14857. "type": "integer"
  14858. },
  14859. "openunfreezecharge": {
  14860. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14861. "type": "number"
  14862. },
  14863. "operatetype": {
  14864. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14865. "type": "integer"
  14866. },
  14867. "operatorid": {
  14868. "description": "登录账号(LoginID)",
  14869. "type": "integer"
  14870. },
  14871. "optiontype": {
  14872. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14873. "type": "integer"
  14874. },
  14875. "orderprice": {
  14876. "description": "委托价格",
  14877. "type": "number"
  14878. },
  14879. "orderqty": {
  14880. "description": "委托数量",
  14881. "type": "integer"
  14882. },
  14883. "ordersrc": {
  14884. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14885. "type": "integer"
  14886. },
  14887. "orderstatus": {
  14888. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14889. "type": "integer"
  14890. },
  14891. "ordertime": {
  14892. "description": "委托时间",
  14893. "type": "string"
  14894. },
  14895. "preexerciseprice": {
  14896. "description": "预申报价格",
  14897. "type": "number"
  14898. },
  14899. "premium": {
  14900. "description": "权利金",
  14901. "type": "number"
  14902. },
  14903. "preorderid": {
  14904. "description": "关联预埋单号(止盈止损单时填写)",
  14905. "type": "integer"
  14906. },
  14907. "pricemode": {
  14908. "description": "取价方式 - 1:市价 2: 限价",
  14909. "type": "integer"
  14910. },
  14911. "quoteid": {
  14912. "description": "报价单ID",
  14913. "type": "integer"
  14914. },
  14915. "relatedid": {
  14916. "description": "关联单号(交割单)",
  14917. "type": "integer"
  14918. },
  14919. "retcode": {
  14920. "description": "错误代码",
  14921. "type": "integer"
  14922. },
  14923. "sessionid": {
  14924. "description": "会话ID",
  14925. "type": "integer"
  14926. },
  14927. "strorderid": {
  14928. "description": "委托单号",
  14929. "type": "string"
  14930. },
  14931. "tradedate": {
  14932. "description": "交易日(yyyyMMdd)",
  14933. "type": "string"
  14934. },
  14935. "tradeproperty": {
  14936. "description": "交易属性",
  14937. "type": "integer"
  14938. },
  14939. "tradeqty": {
  14940. "description": "成交数量",
  14941. "type": "integer"
  14942. },
  14943. "unfreezecharge": {
  14944. "description": "解冻手续费",
  14945. "type": "number"
  14946. },
  14947. "unfreezemargin": {
  14948. "description": "解冻保证金",
  14949. "type": "number"
  14950. },
  14951. "updatetime": {
  14952. "description": "更新时间",
  14953. "type": "string"
  14954. },
  14955. "uuid": {
  14956. "description": "发起端唯一id",
  14957. "type": "string"
  14958. },
  14959. "validtime": {
  14960. "description": "有效期限",
  14961. "type": "string"
  14962. },
  14963. "validtype": {
  14964. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14965. "type": "integer"
  14966. },
  14967. "volumetype": {
  14968. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14969. "type": "integer"
  14970. }
  14971. }
  14972. },
  14973. "cptrade.QueryMyCPTradeGoodsRsp": {
  14974. "type": "object",
  14975. "required": [
  14976. "goodscode",
  14977. "goodsid",
  14978. "goodsname",
  14979. "marketid",
  14980. "relatedgoodscode",
  14981. "relatedgoodsname"
  14982. ],
  14983. "properties": {
  14984. "accountid": {
  14985. "description": "卖方账户ID",
  14986. "type": "integer"
  14987. },
  14988. "agreeunit": {
  14989. "description": "合约单位",
  14990. "type": "number"
  14991. },
  14992. "applyid": {
  14993. "description": "关联申请ID",
  14994. "type": "integer"
  14995. },
  14996. "attachmenturl": {
  14997. "description": "附件地址",
  14998. "type": "string"
  14999. },
  15000. "createtime": {
  15001. "description": "创建时间",
  15002. "type": "string"
  15003. },
  15004. "currencyid": {
  15005. "description": "报价货币ID",
  15006. "type": "integer"
  15007. },
  15008. "decimalplace": {
  15009. "description": "报价小数位",
  15010. "type": "integer"
  15011. },
  15012. "endtime": {
  15013. "description": "预售结束时间",
  15014. "type": "string"
  15015. },
  15016. "floorprice": {
  15017. "description": "底价[大宗式竞拍]",
  15018. "type": "number"
  15019. },
  15020. "goodscode": {
  15021. "description": "商品代码(预售)",
  15022. "type": "string"
  15023. },
  15024. "goodsdetail": {
  15025. "description": "详情[大宗]",
  15026. "type": "string"
  15027. },
  15028. "goodsid": {
  15029. "description": "商品ID(自增ID SEQ_GOODS)",
  15030. "type": "integer"
  15031. },
  15032. "goodsname": {
  15033. "description": "商品名称(预售)",
  15034. "type": "string"
  15035. },
  15036. "goodunit": {
  15037. "description": "报价单位",
  15038. "type": "string"
  15039. },
  15040. "goodunitid": {
  15041. "description": "报价单位ID",
  15042. "type": "integer"
  15043. },
  15044. "marketid": {
  15045. "description": "所属市场ID",
  15046. "type": "integer"
  15047. },
  15048. "marketname": {
  15049. "description": "预售市场名称",
  15050. "type": "string"
  15051. },
  15052. "presaledamount": {
  15053. "description": "已预售总金额(预售结束时更新)",
  15054. "type": "number"
  15055. },
  15056. "presaledqty": {
  15057. "description": "已预售量(预售结束时更新)",
  15058. "type": "integer"
  15059. },
  15060. "presalemode": {
  15061. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15062. "type": "integer"
  15063. },
  15064. "presaleqty": {
  15065. "description": "预售数量",
  15066. "type": "integer"
  15067. },
  15068. "refprice": {
  15069. "description": "参考价格[一口价]",
  15070. "type": "number"
  15071. },
  15072. "relatedgoodscode": {
  15073. "description": "商品代码(订单)",
  15074. "type": "string"
  15075. },
  15076. "relatedgoodsid": {
  15077. "description": "关联交易合约ID",
  15078. "type": "integer"
  15079. },
  15080. "relatedgoodsname": {
  15081. "description": "商品名称(订单)",
  15082. "type": "string"
  15083. },
  15084. "relatedmarketid": {
  15085. "description": "关联交易合约市场ID",
  15086. "type": "integer"
  15087. },
  15088. "sellstatus": {
  15089. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15090. "type": "integer"
  15091. },
  15092. "startprice": {
  15093. "description": "起拍价[大宗式竞拍]",
  15094. "type": "number"
  15095. },
  15096. "starttime": {
  15097. "description": "预售开始时间",
  15098. "type": "string"
  15099. },
  15100. "tradedate": {
  15101. "description": "交易日(yyyyMMdd)",
  15102. "type": "string"
  15103. },
  15104. "tradeprice": {
  15105. "description": "成交价[大宗]",
  15106. "type": "number"
  15107. },
  15108. "userid": {
  15109. "description": "卖方用户ID",
  15110. "type": "integer"
  15111. }
  15112. }
  15113. },
  15114. "cptrade.QueryPresaleGoodsExRsp": {
  15115. "type": "object",
  15116. "required": [
  15117. "goodsid"
  15118. ],
  15119. "properties": {
  15120. "attachmenturl": {
  15121. "description": "附件地址",
  15122. "type": "string"
  15123. },
  15124. "createtime": {
  15125. "description": "创建时间",
  15126. "type": "string"
  15127. },
  15128. "endtime": {
  15129. "description": "预售结束时间",
  15130. "type": "string"
  15131. },
  15132. "floorprice": {
  15133. "description": "底价[大宗式竞拍]",
  15134. "type": "number"
  15135. },
  15136. "goodsdetail": {
  15137. "description": "详情[大宗]",
  15138. "type": "string"
  15139. },
  15140. "goodsid": {
  15141. "description": "商品ID(预售)",
  15142. "type": "integer"
  15143. },
  15144. "goodunit": {
  15145. "description": "报价单位",
  15146. "type": "string"
  15147. },
  15148. "marketid": {
  15149. "description": "预售市场ID - 根据预售模式选择市场",
  15150. "type": "integer"
  15151. },
  15152. "presaledamount": {
  15153. "description": "已预售总金额(预售结束时更新)",
  15154. "type": "number"
  15155. },
  15156. "presaledqty": {
  15157. "description": "已预售量(预售结束时更新)",
  15158. "type": "integer"
  15159. },
  15160. "presalemode": {
  15161. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15162. "type": "integer"
  15163. },
  15164. "presaleqty": {
  15165. "description": "预售数量",
  15166. "type": "integer"
  15167. },
  15168. "refprice": {
  15169. "description": "参考价格[一口价]",
  15170. "type": "number"
  15171. },
  15172. "relatedgoodsid": {
  15173. "description": "关联交易合约ID",
  15174. "type": "integer"
  15175. },
  15176. "relatedmarketid": {
  15177. "description": "关联交易合约市场ID",
  15178. "type": "integer"
  15179. },
  15180. "sellstatus": {
  15181. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15182. "type": "integer"
  15183. },
  15184. "startprice": {
  15185. "description": "起拍价[大宗式竞拍]",
  15186. "type": "number"
  15187. },
  15188. "starttime": {
  15189. "description": "预售开始时间",
  15190. "type": "string"
  15191. },
  15192. "tradedate": {
  15193. "description": "交易日(yyyyMMdd)",
  15194. "type": "string"
  15195. },
  15196. "tradeprice": {
  15197. "description": "成交价[大宗]",
  15198. "type": "number"
  15199. }
  15200. }
  15201. },
  15202. "delivery.QueryDeliveryRelationRsp": {
  15203. "type": "object",
  15204. "required": [
  15205. "begindate",
  15206. "enddate",
  15207. "goodsid",
  15208. "mindeliveryqty",
  15209. "xdeliveryratio"
  15210. ],
  15211. "properties": {
  15212. "begindate": {
  15213. "description": "起始日期(yyyyMMdd)",
  15214. "type": "string"
  15215. },
  15216. "buytemplateid": {
  15217. "description": "买履约计划模板ID",
  15218. "type": "integer"
  15219. },
  15220. "deliverygoodscode": {
  15221. "description": "品种代码",
  15222. "type": "string"
  15223. },
  15224. "deliverygoodsid": {
  15225. "description": "交割商品",
  15226. "type": "integer"
  15227. },
  15228. "deliverygoodsname": {
  15229. "description": "品种名称",
  15230. "type": "string"
  15231. },
  15232. "deliverymode": {
  15233. "description": "交割方式 - 1:点选式 2:申报式",
  15234. "type": "integer"
  15235. },
  15236. "deliverypricerule": {
  15237. "description": "交割价规则- 1:行情价 2:建仓价",
  15238. "type": "integer"
  15239. },
  15240. "deliverytype": {
  15241. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15242. "type": "integer"
  15243. },
  15244. "enddate": {
  15245. "description": "结束日期(yyyyMMdd)",
  15246. "type": "string"
  15247. },
  15248. "enumdicname": {
  15249. "description": "品类单位名称",
  15250. "type": "string"
  15251. },
  15252. "goodscode": {
  15253. "description": "商品代码",
  15254. "type": "string"
  15255. },
  15256. "goodsid": {
  15257. "description": "交易合约ID",
  15258. "type": "integer"
  15259. },
  15260. "goodsname": {
  15261. "description": "商品名称",
  15262. "type": "string"
  15263. },
  15264. "marketid": {
  15265. "description": "市场ID",
  15266. "type": "integer"
  15267. },
  15268. "mindeliveryqty": {
  15269. "description": "最小交割系数(K)",
  15270. "type": "integer"
  15271. },
  15272. "p2deliveryprice": {
  15273. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15274. "type": "number"
  15275. },
  15276. "p2deliveryratio": {
  15277. "description": "P2合约系数(p)",
  15278. "type": "integer"
  15279. },
  15280. "p2goodsid": {
  15281. "description": "P2合约ID",
  15282. "type": "integer"
  15283. },
  15284. "p2pricemode": {
  15285. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15286. "type": "integer"
  15287. },
  15288. "pdeliveryprice": {
  15289. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15290. "type": "number"
  15291. },
  15292. "pdeliveryratio": {
  15293. "description": "P合约系数(n)",
  15294. "type": "integer"
  15295. },
  15296. "pgoodscode": {
  15297. "description": "p合约代码",
  15298. "type": "string"
  15299. },
  15300. "pgoodsid": {
  15301. "description": "P合约ID",
  15302. "type": "integer"
  15303. },
  15304. "ppricemode": {
  15305. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15306. "type": "integer"
  15307. },
  15308. "rratio": {
  15309. "description": "兑换系数(R)",
  15310. "type": "integer"
  15311. },
  15312. "rratio1": {
  15313. "description": "兑换系数(交易合约)(R1)",
  15314. "type": "integer"
  15315. },
  15316. "rratio2": {
  15317. "description": "兑换系数(仓单标准)(R2)",
  15318. "type": "integer"
  15319. },
  15320. "selltemplateid": {
  15321. "description": "卖履约计划模板ID",
  15322. "type": "integer"
  15323. },
  15324. "wrstandardid": {
  15325. "description": "仓单标准ID",
  15326. "type": "integer"
  15327. },
  15328. "xdeliveryratio": {
  15329. "description": "交易合约系数(m)",
  15330. "type": "integer"
  15331. }
  15332. }
  15333. },
  15334. "ermcp.ExposureDetailRsp": {
  15335. "type": "object",
  15336. "properties": {
  15337. "areauserid": {
  15338. "description": "机构ID",
  15339. "type": "integer"
  15340. },
  15341. "changeQty": {
  15342. "description": "套保变动量",
  15343. "type": "number"
  15344. },
  15345. "contracttype": {
  15346. "description": "现货合同类型 - 1:采购 -1:销售",
  15347. "type": "integer"
  15348. },
  15349. "convertfactor": {
  15350. "description": "标仓系数",
  15351. "type": "number"
  15352. },
  15353. "convertratio": {
  15354. "description": "套保系数",
  15355. "type": "number"
  15356. },
  15357. "createtime": {
  15358. "description": "时间",
  15359. "type": "string"
  15360. },
  15361. "enumdicname": {
  15362. "description": "现货商品单位名称",
  15363. "type": "string"
  15364. },
  15365. "logtype": {
  15366. "description": "类型 - 1:套保计划 2:现货合同",
  15367. "type": "integer"
  15368. },
  15369. "middlegoodsId": {
  15370. "description": "套保商品id",
  15371. "type": "integer"
  15372. },
  15373. "middlegoodscode": {
  15374. "description": "套保商品代码",
  15375. "type": "string"
  15376. },
  15377. "middlegoodsname": {
  15378. "description": "套保商品名称",
  15379. "type": "string"
  15380. },
  15381. "qty": {
  15382. "description": "数量",
  15383. "type": "number"
  15384. },
  15385. "relateNo": {
  15386. "description": "现货合同/套保计划编号",
  15387. "type": "string"
  15388. },
  15389. "wrstandardcode": {
  15390. "description": "现货商品代码",
  15391. "type": "string"
  15392. },
  15393. "wrstandardid": {
  15394. "description": "现货商品ID",
  15395. "type": "integer"
  15396. },
  15397. "wrstandardname": {
  15398. "description": "现货商品名称",
  15399. "type": "string"
  15400. }
  15401. }
  15402. },
  15403. "ermcp.ExposureHedgePosDetailRsp": {
  15404. "type": "object",
  15405. "properties": {
  15406. "buyorsell": {
  15407. "description": "买卖方向 0-买 1-卖",
  15408. "type": "integer"
  15409. },
  15410. "channelbuildtype": {
  15411. "description": "开平方向 1-建仓 2-平仓",
  15412. "type": "integer"
  15413. },
  15414. "goodscode": {
  15415. "description": "商品代码",
  15416. "type": "string"
  15417. },
  15418. "goodsname": {
  15419. "description": "商品名称",
  15420. "type": "string"
  15421. },
  15422. "hedgegoodsid": {
  15423. "description": "商品id",
  15424. "type": "integer"
  15425. },
  15426. "tradeqty": {
  15427. "description": "数量(成交数量)",
  15428. "type": "integer"
  15429. },
  15430. "tradetime": {
  15431. "description": "时间(成交时间)",
  15432. "type": "string"
  15433. }
  15434. }
  15435. },
  15436. "ermcp.ExposureHedgePositionRsp": {
  15437. "type": "object",
  15438. "properties": {
  15439. "accountid": {
  15440. "description": "资金账号[外部母账户]",
  15441. "type": "integer"
  15442. },
  15443. "curbuyposition": {
  15444. "description": "期末买头寸",
  15445. "type": "integer"
  15446. },
  15447. "cursellposition": {
  15448. "description": "期末卖头寸",
  15449. "type": "integer"
  15450. },
  15451. "curtdbuyposition": {
  15452. "description": "期末今日买头寸",
  15453. "type": "integer"
  15454. },
  15455. "curtdsellposition": {
  15456. "description": "期末今日卖头寸",
  15457. "type": "integer"
  15458. },
  15459. "curydbuyposition": {
  15460. "description": "期末上日买头寸",
  15461. "type": "integer"
  15462. },
  15463. "curydsellposition": {
  15464. "description": "期末上日卖头寸",
  15465. "type": "integer"
  15466. },
  15467. "decreaseqty": {
  15468. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15469. "type": "integer"
  15470. },
  15471. "fretdbuyposition": {
  15472. "description": "冻结今日买头寸",
  15473. "type": "integer"
  15474. },
  15475. "fretdsellposition": {
  15476. "description": "冻结今日卖头寸",
  15477. "type": "integer"
  15478. },
  15479. "freydbuyposition": {
  15480. "description": "冻结上日买头寸",
  15481. "type": "integer"
  15482. },
  15483. "freydsellposition": {
  15484. "description": "冻结上日卖头寸",
  15485. "type": "integer"
  15486. },
  15487. "goodscode": {
  15488. "description": "商品代码",
  15489. "type": "string"
  15490. },
  15491. "goodsid": {
  15492. "description": "商品id",
  15493. "type": "integer"
  15494. },
  15495. "goodsname": {
  15496. "description": "商品名称",
  15497. "type": "string"
  15498. },
  15499. "hedgeaccountcode": {
  15500. "description": "对冲账号",
  15501. "type": "string"
  15502. },
  15503. "hedgegoodsid": {
  15504. "description": "对冲合约ID",
  15505. "type": "integer"
  15506. },
  15507. "increaseqty": {
  15508. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15509. "type": "integer"
  15510. },
  15511. "marketid": {
  15512. "description": "市场ID",
  15513. "type": "integer"
  15514. },
  15515. "relateduserid": {
  15516. "description": "关联用户id",
  15517. "type": "integer"
  15518. },
  15519. "totalcurqty": {
  15520. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15521. "type": "integer"
  15522. },
  15523. "totalydqty": {
  15524. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15525. "type": "integer"
  15526. },
  15527. "tradedate": {
  15528. "description": "交易日(yyyyMMdd)",
  15529. "type": "string"
  15530. },
  15531. "ydbuyposition": {
  15532. "description": "期初买头寸",
  15533. "type": "integer"
  15534. },
  15535. "ydsellposition": {
  15536. "description": "期初卖头寸",
  15537. "type": "integer"
  15538. }
  15539. }
  15540. },
  15541. "ermcp.ExposureSpotDetailRsp": {
  15542. "type": "object",
  15543. "properties": {
  15544. "contracttype": {
  15545. "description": "合同类型 1-采购 -1-销售",
  15546. "type": "integer"
  15547. },
  15548. "createtime": {
  15549. "description": "创建时间",
  15550. "type": "string"
  15551. },
  15552. "enumdicname": {
  15553. "description": "现货商品单位名称",
  15554. "type": "string"
  15555. },
  15556. "logtype": {
  15557. "description": "记录类型 1-套保 2-现货合同",
  15558. "type": "integer"
  15559. },
  15560. "qty": {
  15561. "description": "数量",
  15562. "type": "number"
  15563. },
  15564. "recordname": {
  15565. "description": "类型名称",
  15566. "type": "string"
  15567. },
  15568. "relatedid": {
  15569. "description": "套保计划ID/现货合同ID",
  15570. "type": "string"
  15571. },
  15572. "relatedno": {
  15573. "description": "编号",
  15574. "type": "string"
  15575. },
  15576. "strtime": {
  15577. "description": "时间",
  15578. "type": "string"
  15579. },
  15580. "wrstandardcode": {
  15581. "description": "现货商品代码",
  15582. "type": "string"
  15583. },
  15584. "wrstandardname": {
  15585. "description": "现货商品名称",
  15586. "type": "string"
  15587. }
  15588. }
  15589. },
  15590. "ermcp.ExposureSpotRsp": {
  15591. "type": "object",
  15592. "properties": {
  15593. "areauserid": {
  15594. "description": "所属机构",
  15595. "type": "integer"
  15596. },
  15597. "decreaseqty": {
  15598. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15599. "type": "number"
  15600. },
  15601. "increaseqty": {
  15602. "description": "增加数量=销售计划数量+采购已定价数量",
  15603. "type": "number"
  15604. },
  15605. "oritoalspotqty": {
  15606. "description": "昨日数量",
  15607. "type": "number"
  15608. },
  15609. "totalspotqty": {
  15610. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15611. "type": "number"
  15612. },
  15613. "updatetime": {
  15614. "description": "更新时间",
  15615. "type": "string"
  15616. },
  15617. "wrstandardcode": {
  15618. "description": "现货品种代码",
  15619. "type": "string"
  15620. },
  15621. "wrstandardid": {
  15622. "description": "现货商品ID",
  15623. "type": "integer"
  15624. },
  15625. "wrstandardname": {
  15626. "description": "现货品种",
  15627. "type": "string"
  15628. }
  15629. }
  15630. },
  15631. "ermcp.HisExposureRsp": {
  15632. "type": "object",
  15633. "properties": {
  15634. "data": {
  15635. "description": "历史敞口",
  15636. "type": "array",
  15637. "items": {
  15638. "$ref": "#/definitions/models.ErmcpHisExposure"
  15639. }
  15640. },
  15641. "enumdicname": {
  15642. "description": "单位名称",
  15643. "type": "string"
  15644. },
  15645. "middlegoodscode": {
  15646. "description": "套保品种代码",
  15647. "type": "string"
  15648. },
  15649. "middlegoodsid": {
  15650. "description": "套保品种ID",
  15651. "type": "integer"
  15652. },
  15653. "middlegoodsname": {
  15654. "description": "套保品种名称",
  15655. "type": "string"
  15656. }
  15657. }
  15658. },
  15659. "ermcp.PendingAuditCntRsp": {
  15660. "type": "object",
  15661. "properties": {
  15662. "areastockqty": {
  15663. "description": "待审核数量: 库存申请",
  15664. "type": "integer"
  15665. },
  15666. "businessdjqty": {
  15667. "description": "待审核数量: 点价",
  15668. "type": "integer"
  15669. },
  15670. "businessfpqty": {
  15671. "description": "待审核数量: 发票",
  15672. "type": "integer"
  15673. },
  15674. "businessjsqty": {
  15675. "description": "待审核数量: 结算",
  15676. "type": "integer"
  15677. },
  15678. "businesskxqty": {
  15679. "description": "待审核数量: 款项",
  15680. "type": "integer"
  15681. },
  15682. "hedgeplanqty": {
  15683. "description": "待审核数量: 套保计划",
  15684. "type": "integer"
  15685. },
  15686. "spotcontractqty": {
  15687. "description": "待审核数量: 现货合同",
  15688. "type": "integer"
  15689. },
  15690. "userqty": {
  15691. "description": "待审核数量: 用户",
  15692. "type": "integer"
  15693. }
  15694. }
  15695. },
  15696. "ermcp.QryAvalidGPRsp": {
  15697. "type": "object",
  15698. "properties": {
  15699. "goodsgroupid": {
  15700. "description": "期货品种id",
  15701. "type": "integer"
  15702. },
  15703. "goodsgroupname": {
  15704. "description": "期货品种名称",
  15705. "type": "string"
  15706. },
  15707. "goodunitid": {
  15708. "description": "品种单位id",
  15709. "type": "integer"
  15710. },
  15711. "goodunitname": {
  15712. "description": "品种单位名称",
  15713. "type": "string"
  15714. },
  15715. "outergroupcode": {
  15716. "description": "期货品种代码",
  15717. "type": "string"
  15718. }
  15719. }
  15720. },
  15721. "ermcp.QryBusinessDjRsp": {
  15722. "type": "object",
  15723. "properties": {
  15724. "amount": {
  15725. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15726. "type": "number"
  15727. },
  15728. "applyid": {
  15729. "description": "申请人",
  15730. "type": "string"
  15731. },
  15732. "applyname": {
  15733. "description": "申请人名称",
  15734. "type": "string"
  15735. },
  15736. "applystatus": {
  15737. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15738. "type": "integer"
  15739. },
  15740. "applytime": {
  15741. "description": "申请时间",
  15742. "type": "string"
  15743. },
  15744. "attachurl": {
  15745. "description": "附件",
  15746. "type": "string"
  15747. },
  15748. "auditid": {
  15749. "description": "审核人ID",
  15750. "type": "string"
  15751. },
  15752. "auditname": {
  15753. "description": "审核人名称",
  15754. "type": "string"
  15755. },
  15756. "auditremark": {
  15757. "description": "审核备注",
  15758. "type": "string"
  15759. },
  15760. "audittime": {
  15761. "description": "审核时间",
  15762. "type": "string"
  15763. },
  15764. "buyusername": {
  15765. "description": "采购方名称",
  15766. "type": "string"
  15767. },
  15768. "contractno": {
  15769. "description": "合同编号",
  15770. "type": "string"
  15771. },
  15772. "contractstatus": {
  15773. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15774. "type": "integer"
  15775. },
  15776. "contracttype": {
  15777. "description": "现货合同类型 - 1:采购 -1:销售",
  15778. "type": "integer"
  15779. },
  15780. "deliverygoodscode": {
  15781. "description": "现货品种代码",
  15782. "type": "string"
  15783. },
  15784. "deliverygoodsid": {
  15785. "description": "现货商品ID",
  15786. "type": "integer"
  15787. },
  15788. "deliverygoodsname": {
  15789. "description": "现货品种名称",
  15790. "type": "string"
  15791. },
  15792. "enumdicname": {
  15793. "description": "单位名称",
  15794. "type": "string"
  15795. },
  15796. "goodscode": {
  15797. "description": "点价合约",
  15798. "type": "string"
  15799. },
  15800. "goodsname": {
  15801. "description": "商品名称",
  15802. "type": "string"
  15803. },
  15804. "operateapplyid": {
  15805. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15806. "type": "string"
  15807. },
  15808. "operateapplytype": {
  15809. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15810. "type": "integer"
  15811. },
  15812. "pricedPrice": {
  15813. "description": "点价价格(非必填)",
  15814. "type": "number"
  15815. },
  15816. "pricedQty": {
  15817. "description": "点价数量(非必填)",
  15818. "type": "number"
  15819. },
  15820. "pricemove": {
  15821. "description": "升贴水",
  15822. "type": "number"
  15823. },
  15824. "pricetype": {
  15825. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15826. "type": "integer"
  15827. },
  15828. "relatedid": {
  15829. "description": "现货合同ID",
  15830. "type": "string"
  15831. },
  15832. "sellusername": {
  15833. "description": "销售方名字",
  15834. "type": "string"
  15835. },
  15836. "userid": {
  15837. "description": "用户ID",
  15838. "type": "integer"
  15839. },
  15840. "wrstandardcode": {
  15841. "description": "品类代码",
  15842. "type": "string"
  15843. },
  15844. "wrstandardid": {
  15845. "description": "品类id",
  15846. "type": "integer"
  15847. },
  15848. "wrstandardname": {
  15849. "description": "品类名称",
  15850. "type": "string"
  15851. }
  15852. }
  15853. },
  15854. "ermcp.QryBussinessFpRsp": {
  15855. "type": "object",
  15856. "properties": {
  15857. "applyid": {
  15858. "description": "申请人",
  15859. "type": "string"
  15860. },
  15861. "applyname": {
  15862. "description": "申请人名称",
  15863. "type": "string"
  15864. },
  15865. "applystatus": {
  15866. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15867. "type": "integer"
  15868. },
  15869. "applytime": {
  15870. "description": "申请时间",
  15871. "type": "string"
  15872. },
  15873. "attachurl": {
  15874. "description": "附件",
  15875. "type": "string"
  15876. },
  15877. "auditid": {
  15878. "description": "审核人ID",
  15879. "type": "string"
  15880. },
  15881. "auditname": {
  15882. "description": "审核人名称",
  15883. "type": "string"
  15884. },
  15885. "auditremark": {
  15886. "description": "审核备注",
  15887. "type": "string"
  15888. },
  15889. "audittime": {
  15890. "description": "审核时间",
  15891. "type": "string"
  15892. },
  15893. "buyusername": {
  15894. "description": "采购方名称",
  15895. "type": "string"
  15896. },
  15897. "contractno": {
  15898. "description": "合同编号",
  15899. "type": "string"
  15900. },
  15901. "contractstatus": {
  15902. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15903. "type": "integer"
  15904. },
  15905. "contracttype": {
  15906. "description": "现货合同类型 - 1:采购 -1:销售",
  15907. "type": "integer"
  15908. },
  15909. "deliverygoodscode": {
  15910. "description": "现货品种代码",
  15911. "type": "string"
  15912. },
  15913. "deliverygoodsid": {
  15914. "description": "现货商品ID",
  15915. "type": "integer"
  15916. },
  15917. "deliverygoodsname": {
  15918. "description": "现货品种名称",
  15919. "type": "string"
  15920. },
  15921. "enumdicname": {
  15922. "description": "单位名称",
  15923. "type": "string"
  15924. },
  15925. "goodscode": {
  15926. "description": "点价合约",
  15927. "type": "string"
  15928. },
  15929. "goodsname": {
  15930. "description": "商品名称",
  15931. "type": "string"
  15932. },
  15933. "invoiceAmount": {
  15934. "description": "已开收票金额(销售为开票,采购为收票)",
  15935. "type": "number"
  15936. },
  15937. "operateapplyid": {
  15938. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15939. "type": "string"
  15940. },
  15941. "operateapplytype": {
  15942. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15943. "type": "integer"
  15944. },
  15945. "pricemove": {
  15946. "description": "升贴水",
  15947. "type": "number"
  15948. },
  15949. "pricetype": {
  15950. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15951. "type": "integer"
  15952. },
  15953. "relatedid": {
  15954. "description": "现货合同ID",
  15955. "type": "string"
  15956. },
  15957. "sellusername": {
  15958. "description": "销售方名字",
  15959. "type": "string"
  15960. },
  15961. "userid": {
  15962. "description": "用户ID",
  15963. "type": "integer"
  15964. },
  15965. "wrstandardcode": {
  15966. "description": "品类代码",
  15967. "type": "string"
  15968. },
  15969. "wrstandardid": {
  15970. "description": "品类id",
  15971. "type": "integer"
  15972. },
  15973. "wrstandardname": {
  15974. "description": "品类名称",
  15975. "type": "string"
  15976. }
  15977. }
  15978. },
  15979. "ermcp.QryBussinessJsExRsp": {
  15980. "type": "object",
  15981. "properties": {
  15982. "applyid": {
  15983. "description": "申请人",
  15984. "type": "string"
  15985. },
  15986. "applyname": {
  15987. "description": "申请人名称",
  15988. "type": "string"
  15989. },
  15990. "applystatus": {
  15991. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15992. "type": "integer"
  15993. },
  15994. "applytime": {
  15995. "description": "申请时间",
  15996. "type": "string"
  15997. },
  15998. "attachurl": {
  15999. "description": "附件",
  16000. "type": "string"
  16001. },
  16002. "auditid": {
  16003. "description": "审核人ID",
  16004. "type": "string"
  16005. },
  16006. "auditname": {
  16007. "description": "审核人名称",
  16008. "type": "string"
  16009. },
  16010. "auditremark": {
  16011. "description": "审核备注",
  16012. "type": "string"
  16013. },
  16014. "audittime": {
  16015. "description": "审核时间",
  16016. "type": "string"
  16017. },
  16018. "buyusername": {
  16019. "description": "采购方名称",
  16020. "type": "string"
  16021. },
  16022. "contractno": {
  16023. "description": "合同编号",
  16024. "type": "string"
  16025. },
  16026. "contractstatus": {
  16027. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16028. "type": "integer"
  16029. },
  16030. "contracttype": {
  16031. "description": "现货合同类型 - 1:采购 -1:销售",
  16032. "type": "integer"
  16033. },
  16034. "deliverygoodscode": {
  16035. "description": "现货品种代码",
  16036. "type": "string"
  16037. },
  16038. "deliverygoodsid": {
  16039. "description": "现货商品ID",
  16040. "type": "integer"
  16041. },
  16042. "deliverygoodsname": {
  16043. "description": "现货品种名称",
  16044. "type": "string"
  16045. },
  16046. "enumdicname": {
  16047. "description": "单位名称",
  16048. "type": "string"
  16049. },
  16050. "goodscode": {
  16051. "description": "点价合约",
  16052. "type": "string"
  16053. },
  16054. "goodsname": {
  16055. "description": "商品名称",
  16056. "type": "string"
  16057. },
  16058. "operateapplyid": {
  16059. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16060. "type": "string"
  16061. },
  16062. "operateapplytype": {
  16063. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16064. "type": "integer"
  16065. },
  16066. "pricemove": {
  16067. "description": "升贴水",
  16068. "type": "number"
  16069. },
  16070. "pricetype": {
  16071. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16072. "type": "integer"
  16073. },
  16074. "reckontype": {
  16075. "description": "结算类型",
  16076. "type": "string"
  16077. },
  16078. "reckonvalue": {
  16079. "description": "值",
  16080. "type": "number"
  16081. },
  16082. "relatedid": {
  16083. "description": "现货合同ID",
  16084. "type": "string"
  16085. },
  16086. "sellusername": {
  16087. "description": "销售方名字",
  16088. "type": "string"
  16089. },
  16090. "userid": {
  16091. "description": "用户ID",
  16092. "type": "integer"
  16093. },
  16094. "wrstandardcode": {
  16095. "description": "品类代码",
  16096. "type": "string"
  16097. },
  16098. "wrstandardid": {
  16099. "description": "品类id",
  16100. "type": "integer"
  16101. },
  16102. "wrstandardname": {
  16103. "description": "品类名称",
  16104. "type": "string"
  16105. }
  16106. }
  16107. },
  16108. "ermcp.QryBussinessJsRsp": {
  16109. "type": "object",
  16110. "properties": {
  16111. "addmargin": {
  16112. "description": "追加保证金(非必填)",
  16113. "type": "number"
  16114. },
  16115. "applyid": {
  16116. "description": "申请人",
  16117. "type": "string"
  16118. },
  16119. "applyname": {
  16120. "description": "申请人名称",
  16121. "type": "string"
  16122. },
  16123. "applystatus": {
  16124. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16125. "type": "integer"
  16126. },
  16127. "applytime": {
  16128. "description": "申请时间",
  16129. "type": "string"
  16130. },
  16131. "attachurl": {
  16132. "description": "附件",
  16133. "type": "string"
  16134. },
  16135. "auditid": {
  16136. "description": "审核人ID",
  16137. "type": "string"
  16138. },
  16139. "auditname": {
  16140. "description": "审核人名称",
  16141. "type": "string"
  16142. },
  16143. "auditremark": {
  16144. "description": "审核备注",
  16145. "type": "string"
  16146. },
  16147. "audittime": {
  16148. "description": "审核时间",
  16149. "type": "string"
  16150. },
  16151. "buyusername": {
  16152. "description": "采购方名称",
  16153. "type": "string"
  16154. },
  16155. "contractno": {
  16156. "description": "合同编号",
  16157. "type": "string"
  16158. },
  16159. "contractstatus": {
  16160. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16161. "type": "integer"
  16162. },
  16163. "contracttype": {
  16164. "description": "现货合同类型 - 1:采购 -1:销售",
  16165. "type": "integer"
  16166. },
  16167. "decmargin": {
  16168. "description": "减少保证金(非必填)",
  16169. "type": "number"
  16170. },
  16171. "deliverygoodscode": {
  16172. "description": "现货品种代码",
  16173. "type": "string"
  16174. },
  16175. "deliverygoodsid": {
  16176. "description": "现货商品ID",
  16177. "type": "integer"
  16178. },
  16179. "deliverygoodsname": {
  16180. "description": "现货品种名称",
  16181. "type": "string"
  16182. },
  16183. "enumdicname": {
  16184. "description": "单位名称",
  16185. "type": "string"
  16186. },
  16187. "goodscode": {
  16188. "description": "点价合约",
  16189. "type": "string"
  16190. },
  16191. "goodsname": {
  16192. "description": "商品名称",
  16193. "type": "string"
  16194. },
  16195. "operateapplyid": {
  16196. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16197. "type": "string"
  16198. },
  16199. "operateapplytype": {
  16200. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16201. "type": "integer"
  16202. },
  16203. "pricemove": {
  16204. "description": "升贴水",
  16205. "type": "number"
  16206. },
  16207. "pricetype": {
  16208. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16209. "type": "integer"
  16210. },
  16211. "reckonadjustamount": {
  16212. "description": "结算调整金额(非必填)",
  16213. "type": "number"
  16214. },
  16215. "reckonosamount": {
  16216. "description": "结算溢短金额(非必填)",
  16217. "type": "number"
  16218. },
  16219. "reckonotheramount": {
  16220. "description": "结算其他费用(非必填)",
  16221. "type": "number"
  16222. },
  16223. "reckonrealqty": {
  16224. "description": "结算实际数量(非必填)",
  16225. "type": "number"
  16226. },
  16227. "relatedid": {
  16228. "description": "现货合同ID",
  16229. "type": "string"
  16230. },
  16231. "sellusername": {
  16232. "description": "销售方名字",
  16233. "type": "string"
  16234. },
  16235. "userid": {
  16236. "description": "用户ID",
  16237. "type": "integer"
  16238. },
  16239. "wrstandardcode": {
  16240. "description": "品类代码",
  16241. "type": "string"
  16242. },
  16243. "wrstandardid": {
  16244. "description": "品类id",
  16245. "type": "integer"
  16246. },
  16247. "wrstandardname": {
  16248. "description": "品类名称",
  16249. "type": "string"
  16250. }
  16251. }
  16252. },
  16253. "ermcp.QryBussinessKxRsp": {
  16254. "type": "object",
  16255. "properties": {
  16256. "applyid": {
  16257. "description": "申请人",
  16258. "type": "string"
  16259. },
  16260. "applyname": {
  16261. "description": "申请人名称",
  16262. "type": "string"
  16263. },
  16264. "applystatus": {
  16265. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16266. "type": "integer"
  16267. },
  16268. "applytime": {
  16269. "description": "申请时间",
  16270. "type": "string"
  16271. },
  16272. "attachurl": {
  16273. "description": "附件",
  16274. "type": "string"
  16275. },
  16276. "auditid": {
  16277. "description": "审核人ID",
  16278. "type": "string"
  16279. },
  16280. "auditname": {
  16281. "description": "审核人名称",
  16282. "type": "string"
  16283. },
  16284. "auditremark": {
  16285. "description": "审核备注",
  16286. "type": "string"
  16287. },
  16288. "audittime": {
  16289. "description": "审核时间",
  16290. "type": "string"
  16291. },
  16292. "buyusername": {
  16293. "description": "采购方名称",
  16294. "type": "string"
  16295. },
  16296. "contractno": {
  16297. "description": "合同编号",
  16298. "type": "string"
  16299. },
  16300. "contractstatus": {
  16301. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16302. "type": "integer"
  16303. },
  16304. "contracttype": {
  16305. "description": "现货合同类型 - 1:采购 -1:销售",
  16306. "type": "integer"
  16307. },
  16308. "deductamount": {
  16309. "description": "退款(非必填)",
  16310. "type": "number"
  16311. },
  16312. "deliverygoodscode": {
  16313. "description": "现货品种代码",
  16314. "type": "string"
  16315. },
  16316. "deliverygoodsid": {
  16317. "description": "现货商品ID",
  16318. "type": "integer"
  16319. },
  16320. "deliverygoodsname": {
  16321. "description": "现货品种名称",
  16322. "type": "string"
  16323. },
  16324. "enumdicname": {
  16325. "description": "单位名称",
  16326. "type": "string"
  16327. },
  16328. "goodscode": {
  16329. "description": "点价合约",
  16330. "type": "string"
  16331. },
  16332. "goodsname": {
  16333. "description": "商品名称",
  16334. "type": "string"
  16335. },
  16336. "kxtype": {
  16337. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16338. "type": "integer"
  16339. },
  16340. "operateapplyid": {
  16341. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16342. "type": "string"
  16343. },
  16344. "operateapplytype": {
  16345. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16346. "type": "integer"
  16347. },
  16348. "payamount": {
  16349. "description": "收付款(非必填)",
  16350. "type": "number"
  16351. },
  16352. "pricemove": {
  16353. "description": "升贴水",
  16354. "type": "number"
  16355. },
  16356. "pricetype": {
  16357. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16358. "type": "integer"
  16359. },
  16360. "relatedid": {
  16361. "description": "现货合同ID",
  16362. "type": "string"
  16363. },
  16364. "sellusername": {
  16365. "description": "销售方名字",
  16366. "type": "string"
  16367. },
  16368. "userid": {
  16369. "description": "用户ID",
  16370. "type": "integer"
  16371. },
  16372. "wrstandardcode": {
  16373. "description": "品类代码",
  16374. "type": "string"
  16375. },
  16376. "wrstandardid": {
  16377. "description": "品类id",
  16378. "type": "integer"
  16379. },
  16380. "wrstandardname": {
  16381. "description": "品类名称",
  16382. "type": "string"
  16383. }
  16384. }
  16385. },
  16386. "ermcp.QryGGCovertCfgRsp": {
  16387. "type": "object",
  16388. "properties": {
  16389. "convertratio": {
  16390. "description": "折算系数",
  16391. "type": "number"
  16392. },
  16393. "destgoodsgroupid": {
  16394. "description": "目标品种ID",
  16395. "type": "integer"
  16396. },
  16397. "dstcode": {
  16398. "description": "目录品种代码",
  16399. "type": "string"
  16400. },
  16401. "dstexchangecode": {
  16402. "description": "目标期货交易所",
  16403. "type": "string"
  16404. },
  16405. "dstname": {
  16406. "description": "目标品种名称",
  16407. "type": "string"
  16408. },
  16409. "dstunitid": {
  16410. "description": "目标品种单位ID",
  16411. "type": "integer"
  16412. },
  16413. "dstunitidname": {
  16414. "description": "目标品种单位名称",
  16415. "type": "string"
  16416. },
  16417. "modifytime": {
  16418. "description": "修改时间",
  16419. "type": "string"
  16420. },
  16421. "srccode": {
  16422. "description": "源品种代码",
  16423. "type": "string"
  16424. },
  16425. "srcexchangecode": {
  16426. "description": "源期货交易所",
  16427. "type": "string"
  16428. },
  16429. "srcgoodsgroupid": {
  16430. "description": "源品种ID",
  16431. "type": "integer"
  16432. },
  16433. "srcname": {
  16434. "description": "源品种名称",
  16435. "type": "string"
  16436. },
  16437. "srcunitid": {
  16438. "description": "源品种单位ID",
  16439. "type": "integer"
  16440. },
  16441. "srcunitidname": {
  16442. "description": "源品种单位名称",
  16443. "type": "string"
  16444. }
  16445. }
  16446. },
  16447. "ermcp.QryMGChangeLogRsp": {
  16448. "type": "object",
  16449. "properties": {
  16450. "aftervalue": {
  16451. "description": "变更后",
  16452. "type": "number"
  16453. },
  16454. "applyid": {
  16455. "description": "操作人",
  16456. "type": "integer"
  16457. },
  16458. "applyname": {
  16459. "description": "操作人名称",
  16460. "type": "string"
  16461. },
  16462. "applysrc": {
  16463. "description": "操作来源 - 1:管理端 2:终端",
  16464. "type": "integer"
  16465. },
  16466. "beforevalue": {
  16467. "description": "变更前",
  16468. "type": "number"
  16469. },
  16470. "changelogtype": {
  16471. "description": "变更流水类型 - 1:套保比率变更",
  16472. "type": "integer"
  16473. },
  16474. "handlestatus": {
  16475. "description": "处理状态",
  16476. "type": "integer"
  16477. },
  16478. "logdatetime": {
  16479. "description": "流水日期",
  16480. "type": "string"
  16481. },
  16482. "logid": {
  16483. "description": "流水ID",
  16484. "type": "integer"
  16485. },
  16486. "logremark": {
  16487. "description": "流水备注",
  16488. "type": "string"
  16489. },
  16490. "middlegoodsid": {
  16491. "description": "套保品种ID",
  16492. "type": "integer"
  16493. },
  16494. "tradedate": {
  16495. "description": "交易日(yyyyMMdd)",
  16496. "type": "string"
  16497. },
  16498. "updatetime": {
  16499. "description": "更新时间",
  16500. "type": "string"
  16501. }
  16502. }
  16503. },
  16504. "ermcp.QryMiddleGoodsDetailRsp": {
  16505. "type": "object",
  16506. "properties": {
  16507. "cvList": {
  16508. "description": "期货品种折算列表",
  16509. "type": "array",
  16510. "items": {
  16511. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16512. }
  16513. },
  16514. "mg": {
  16515. "description": "套保品种基本信息",
  16516. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16517. },
  16518. "wrcList": {
  16519. "description": "现货品种列表(现货商品折算配置)",
  16520. "type": "array",
  16521. "items": {
  16522. "$ref": "#/definitions/models.WRSConverTDetail"
  16523. }
  16524. }
  16525. }
  16526. },
  16527. "ermcp.QryMiddleGoodsRsp": {
  16528. "type": "object",
  16529. "properties": {
  16530. "areauserid": {
  16531. "description": "机构用户ID",
  16532. "type": "integer"
  16533. },
  16534. "createtime": {
  16535. "description": "修改时间",
  16536. "type": "string"
  16537. },
  16538. "enumdicname": {
  16539. "description": "单位名称",
  16540. "type": "string"
  16541. },
  16542. "evaluateratio": {
  16543. "description": "估价系数",
  16544. "type": "number"
  16545. },
  16546. "goodsgroupid": {
  16547. "description": "关联期货品种ID",
  16548. "type": "integer"
  16549. },
  16550. "goodsunitid": {
  16551. "description": "单位ID",
  16552. "type": "integer"
  16553. },
  16554. "isvalid": {
  16555. "description": "状态 0-无效(停用) 1-有效(正常)",
  16556. "type": "integer"
  16557. },
  16558. "middlegoodscode": {
  16559. "description": "套保品种代码",
  16560. "type": "string"
  16561. },
  16562. "middlegoodsid": {
  16563. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16564. "type": "integer"
  16565. },
  16566. "middlegoodsname": {
  16567. "description": "套保品种名称",
  16568. "type": "string"
  16569. },
  16570. "modifytime": {
  16571. "description": "修改时间",
  16572. "type": "string"
  16573. },
  16574. "needarbitrageratio": {
  16575. "description": "套利比例",
  16576. "type": "number"
  16577. },
  16578. "needhedgeratio": {
  16579. "description": "套保比率",
  16580. "type": "number"
  16581. },
  16582. "qtydecimalplace": {
  16583. "description": "数量小数位",
  16584. "type": "integer"
  16585. },
  16586. "relatedgoodsid": {
  16587. "description": "关联交易商品ID",
  16588. "type": "integer"
  16589. },
  16590. "relatedgoodstype": {
  16591. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16592. "type": "integer"
  16593. },
  16594. "remark": {
  16595. "description": "备注",
  16596. "type": "string"
  16597. }
  16598. }
  16599. },
  16600. "ermcp.QryOPLogRsp": {
  16601. "type": "object",
  16602. "properties": {
  16603. "aftervalue": {
  16604. "description": "变更后",
  16605. "type": "number"
  16606. },
  16607. "applyid": {
  16608. "description": "操作人ID",
  16609. "type": "string"
  16610. },
  16611. "applyname": {
  16612. "description": "操作人名称",
  16613. "type": "string"
  16614. },
  16615. "beforevalue": {
  16616. "description": "变更前",
  16617. "type": "number"
  16618. },
  16619. "biztype": {
  16620. "description": "业务类型 - 1:套保计划 2:现货合同",
  16621. "type": "integer"
  16622. },
  16623. "contracttype": {
  16624. "description": "现货合同类型 - 1:采购 -1:销售",
  16625. "type": "integer"
  16626. },
  16627. "logvalue": {
  16628. "description": "数值",
  16629. "type": "number"
  16630. },
  16631. "operatelogtype": {
  16632. "description": "操作流水类型",
  16633. "type": "integer"
  16634. },
  16635. "operatelogtypedesc": {
  16636. "description": "操作流水类型名称",
  16637. "type": "string"
  16638. },
  16639. "relatedid": {
  16640. "description": "现货合同ID\\套保计划",
  16641. "type": "string"
  16642. },
  16643. "updatetime": {
  16644. "description": "更新时间",
  16645. "type": "string"
  16646. }
  16647. }
  16648. },
  16649. "ermcp.QryUserInfoRsp": {
  16650. "type": "object",
  16651. "properties": {
  16652. "address": {
  16653. "description": "通讯地址",
  16654. "type": "string"
  16655. },
  16656. "attachment1": {
  16657. "description": "附件1",
  16658. "type": "string"
  16659. },
  16660. "audittime": {
  16661. "description": "审核时间",
  16662. "type": "string"
  16663. },
  16664. "cardbackphotourl": {
  16665. "description": "证件反面图片地址",
  16666. "type": "string"
  16667. },
  16668. "cardfrontphotourl": {
  16669. "description": "证件正面图片地址",
  16670. "type": "string"
  16671. },
  16672. "cardnum": {
  16673. "description": "证件号码",
  16674. "type": "string"
  16675. },
  16676. "cardtype": {
  16677. "description": "证件类型",
  16678. "type": "integer"
  16679. },
  16680. "cardtypename": {
  16681. "description": "证件类型名称",
  16682. "type": "string"
  16683. },
  16684. "cityid": {
  16685. "description": "市",
  16686. "type": "integer"
  16687. },
  16688. "contactname": {
  16689. "description": "联系人",
  16690. "type": "string"
  16691. },
  16692. "countryid": {
  16693. "description": "国家",
  16694. "type": "integer"
  16695. },
  16696. "createtime": {
  16697. "description": "创建时间",
  16698. "type": "string"
  16699. },
  16700. "customername": {
  16701. "description": "企业名称",
  16702. "type": "string"
  16703. },
  16704. "districtid": {
  16705. "description": "区域",
  16706. "type": "integer"
  16707. },
  16708. "email": {
  16709. "description": "邮件",
  16710. "type": "string"
  16711. },
  16712. "legalpersonname": {
  16713. "description": "法人姓名(企业)",
  16714. "type": "string"
  16715. },
  16716. "memberuserid": {
  16717. "description": "所属机构ID",
  16718. "type": "integer"
  16719. },
  16720. "mobile": {
  16721. "description": "手机号码",
  16722. "type": "string"
  16723. },
  16724. "modifytime": {
  16725. "description": "修改时间",
  16726. "type": "string"
  16727. },
  16728. "nickname": {
  16729. "description": "昵称",
  16730. "type": "string"
  16731. },
  16732. "provinceid": {
  16733. "description": "省",
  16734. "type": "integer"
  16735. },
  16736. "remark": {
  16737. "description": "备注",
  16738. "type": "string"
  16739. },
  16740. "status": {
  16741. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16742. "type": "integer"
  16743. },
  16744. "statusdesc": {
  16745. "description": "账户状态中文描述",
  16746. "type": "string"
  16747. },
  16748. "taxpayernum": {
  16749. "description": "纳税人识别号",
  16750. "type": "string"
  16751. },
  16752. "telphone": {
  16753. "description": "联系电话",
  16754. "type": "string"
  16755. },
  16756. "userid": {
  16757. "description": "用户ID",
  16758. "type": "integer"
  16759. },
  16760. "userinfotype": {
  16761. "description": "客户类型",
  16762. "type": "string"
  16763. }
  16764. }
  16765. },
  16766. "ermcp.QryWarehouseRsp": {
  16767. "type": "object",
  16768. "properties": {
  16769. "address": {
  16770. "description": "详细地址",
  16771. "type": "string"
  16772. },
  16773. "areauserid": {
  16774. "description": "所属机构",
  16775. "type": "integer"
  16776. },
  16777. "autoid": {
  16778. "description": "自增ID(仓库ID)",
  16779. "type": "integer"
  16780. },
  16781. "cityid": {
  16782. "description": "市",
  16783. "type": "integer"
  16784. },
  16785. "contactname": {
  16786. "description": "联系人",
  16787. "type": "string"
  16788. },
  16789. "contactnum": {
  16790. "description": "联系电话",
  16791. "type": "string"
  16792. },
  16793. "countryid": {
  16794. "description": "国家",
  16795. "type": "integer"
  16796. },
  16797. "createtime": {
  16798. "description": "创建时间",
  16799. "type": "string"
  16800. },
  16801. "districtid": {
  16802. "description": "区",
  16803. "type": "integer"
  16804. },
  16805. "hasvideo": {
  16806. "description": "是否有视频 - 0:无 1:有",
  16807. "type": "integer"
  16808. },
  16809. "provinceid": {
  16810. "description": "省",
  16811. "type": "integer"
  16812. },
  16813. "remark": {
  16814. "description": "审核备注",
  16815. "type": "string"
  16816. },
  16817. "videourl": {
  16818. "description": "视频地址",
  16819. "type": "string"
  16820. },
  16821. "warehousecode": {
  16822. "description": "仓库代码",
  16823. "type": "string"
  16824. },
  16825. "warehousename": {
  16826. "description": "仓库名称",
  16827. "type": "string"
  16828. },
  16829. "warehousestatus": {
  16830. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16831. "type": "integer"
  16832. },
  16833. "warehousetype": {
  16834. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16835. "type": "integer"
  16836. }
  16837. }
  16838. },
  16839. "ermcp.QueryErmcpTradePositionRsp": {
  16840. "type": "object",
  16841. "properties": {
  16842. "agreeunit": {
  16843. "description": "合约单位",
  16844. "type": "number"
  16845. },
  16846. "buyorsell": {
  16847. "description": "方向 - 0:买 1:卖",
  16848. "type": "integer"
  16849. },
  16850. "curpositionqty": {
  16851. "description": "持仓(总仓数量, 期末头寸)",
  16852. "type": "integer"
  16853. },
  16854. "curtdposition": {
  16855. "description": "今仓数量(期末今日头寸)",
  16856. "type": "integer"
  16857. },
  16858. "curtdpositionenabled": {
  16859. "description": "今仓可用",
  16860. "type": "integer"
  16861. },
  16862. "decimalplace": {
  16863. "description": "报价小数位",
  16864. "type": "integer"
  16865. },
  16866. "enableqty": {
  16867. "description": "可用(总仓可用)",
  16868. "type": "integer"
  16869. },
  16870. "exexchangename": {
  16871. "description": "外部交易所名称",
  16872. "type": "string"
  16873. },
  16874. "goodscode": {
  16875. "description": "商品代码(内部)",
  16876. "type": "string"
  16877. },
  16878. "goodsid": {
  16879. "description": "商品ID(自增ID SEQ_GOODS)",
  16880. "type": "integer"
  16881. },
  16882. "goodsname": {
  16883. "description": "商品名称",
  16884. "type": "string"
  16885. },
  16886. "last": {
  16887. "description": "现价",
  16888. "type": "number"
  16889. },
  16890. "marketid": {
  16891. "description": "所属市场ID",
  16892. "type": "integer"
  16893. },
  16894. "openaverageprice": {
  16895. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16896. "type": "number"
  16897. },
  16898. "opencost": {
  16899. "description": "开仓成本",
  16900. "type": "number"
  16901. },
  16902. "openpl": {
  16903. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16904. "type": "number"
  16905. },
  16906. "outgoodscode": {
  16907. "description": "商品代码(外部)",
  16908. "type": "string"
  16909. },
  16910. "positionaverageprice": {
  16911. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16912. "type": "number"
  16913. },
  16914. "positioncost": {
  16915. "description": "持仓成本",
  16916. "type": "number"
  16917. },
  16918. "positionpl": {
  16919. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16920. "type": "number"
  16921. },
  16922. "positionplrate": {
  16923. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16924. "type": "number"
  16925. },
  16926. "usedmargin": {
  16927. "description": "占用保证金",
  16928. "type": "number"
  16929. }
  16930. }
  16931. },
  16932. "ermcp.RealtimeExposurePositionRsp": {
  16933. "type": "object",
  16934. "properties": {
  16935. "agreeunit": {
  16936. "description": "合约单位",
  16937. "type": "string"
  16938. },
  16939. "areauserid": {
  16940. "description": "所属机构id",
  16941. "type": "integer"
  16942. },
  16943. "convertratio": {
  16944. "description": "期货品种系数(折算系数)",
  16945. "type": "number"
  16946. },
  16947. "curqty": {
  16948. "description": "当前持仓",
  16949. "type": "integer"
  16950. },
  16951. "diffhedgeqty": {
  16952. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16953. "type": "number"
  16954. },
  16955. "diffqty": {
  16956. "description": "持仓变动量=当前持仓-昨日持仓",
  16957. "type": "integer"
  16958. },
  16959. "goodscode": {
  16960. "description": "商品代码",
  16961. "type": "string"
  16962. },
  16963. "goodsid": {
  16964. "description": "商品id",
  16965. "type": "integer"
  16966. },
  16967. "goodsname": {
  16968. "description": "商品名称",
  16969. "type": "string"
  16970. },
  16971. "middlegoodsid": {
  16972. "description": "套保商品id",
  16973. "type": "integer"
  16974. },
  16975. "ydqty": {
  16976. "description": "昨日持仓",
  16977. "type": "integer"
  16978. }
  16979. }
  16980. },
  16981. "ermcp.RealtimeExposureRsp": {
  16982. "type": "object",
  16983. "properties": {
  16984. "AreaUserID": {
  16985. "description": "所属机构",
  16986. "type": "integer"
  16987. },
  16988. "BuyFutureQty": {
  16989. "description": "买入期货数量",
  16990. "type": "number"
  16991. },
  16992. "BuyPlanQty": {
  16993. "description": "采购计划数量",
  16994. "type": "number"
  16995. },
  16996. "BuyPricedQty": {
  16997. "description": "采购合同已定价数量",
  16998. "type": "number"
  16999. },
  17000. "MiddleGoodsCode": {
  17001. "description": "套保品种代码",
  17002. "type": "string"
  17003. },
  17004. "MiddleGoodsHedgeRatio": {
  17005. "description": "套保比例",
  17006. "type": "number"
  17007. },
  17008. "MiddleGoodsID": {
  17009. "description": "套保品种",
  17010. "type": "integer"
  17011. },
  17012. "MiddleGoodsName": {
  17013. "description": "套保品种名称",
  17014. "type": "string"
  17015. },
  17016. "NeedHedgeExposoure": {
  17017. "description": "应套保敞口(套保敞口)",
  17018. "type": "number"
  17019. },
  17020. "NeedHedgeRatio": {
  17021. "description": "应套保敞口比例",
  17022. "type": "number"
  17023. },
  17024. "OriBuyFutureQty": {
  17025. "description": "期初买入期货数量",
  17026. "type": "number"
  17027. },
  17028. "OriBuyPlanQty": {
  17029. "description": "期初采购计划数量",
  17030. "type": "number"
  17031. },
  17032. "OriBuyPricedQty": {
  17033. "description": "期初采购合同已定价数量",
  17034. "type": "number"
  17035. },
  17036. "OriSellFutureQty": {
  17037. "description": "期初卖出期货数量",
  17038. "type": "number"
  17039. },
  17040. "OriSellPlanQty": {
  17041. "description": "期初销售计划数量",
  17042. "type": "number"
  17043. },
  17044. "OriSellPricedQty": {
  17045. "description": "期初销售合同已定价数量",
  17046. "type": "number"
  17047. },
  17048. "SellFutureQty": {
  17049. "description": "卖出期货数量",
  17050. "type": "number"
  17051. },
  17052. "SellPlanQty": {
  17053. "description": "销售计划数量",
  17054. "type": "number"
  17055. },
  17056. "SellPricedQty": {
  17057. "description": "销售合同已定价数量",
  17058. "type": "number"
  17059. },
  17060. "TotalExposure": {
  17061. "description": "总敞口 平安:净敞口",
  17062. "type": "number"
  17063. },
  17064. "TotalFutureQty": {
  17065. "description": "期货总量 平安:保值净持仓量",
  17066. "type": "number"
  17067. },
  17068. "TotalHedgeRatio": {
  17069. "description": "敞口比例",
  17070. "type": "number"
  17071. },
  17072. "TotalNeedHedgeQty": {
  17073. "description": "应套保总量(现货应套保总量)",
  17074. "type": "number"
  17075. },
  17076. "TotalSpotQty": {
  17077. "description": "现货总量 平安:采销定价净值",
  17078. "type": "number"
  17079. },
  17080. "arbitrageqty": {
  17081. "description": "套利量",
  17082. "type": "number"
  17083. },
  17084. "diffArbitrageQty": {
  17085. "description": "套利变动量",
  17086. "type": "number"
  17087. },
  17088. "diffExposoureQty": {
  17089. "description": "变动量(套保敞口)",
  17090. "type": "number"
  17091. },
  17092. "diffFutuQty": {
  17093. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17094. "type": "number"
  17095. },
  17096. "diffHedgeQty": {
  17097. "description": "套保变动量",
  17098. "type": "number"
  17099. },
  17100. "diffQty": {
  17101. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17102. "type": "number"
  17103. },
  17104. "diffSpotHedgeQty": {
  17105. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17106. "type": "number"
  17107. },
  17108. "diffSpotQty": {
  17109. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17110. "type": "number"
  17111. },
  17112. "enumdicname": {
  17113. "description": "单位名称",
  17114. "type": "string"
  17115. },
  17116. "hedgeqty": {
  17117. "description": "套保量",
  17118. "type": "number"
  17119. },
  17120. "needarbitrageqty": {
  17121. "description": "应套利量",
  17122. "type": "number"
  17123. },
  17124. "needarbitrageratio": {
  17125. "description": "套利比例",
  17126. "type": "number"
  17127. },
  17128. "needhedgeqty": {
  17129. "description": "应套保量",
  17130. "type": "number"
  17131. },
  17132. "oriTotalFutuQty": {
  17133. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17134. "type": "number"
  17135. },
  17136. "oriTotalSpotQty": {
  17137. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17138. "type": "number"
  17139. },
  17140. "oriarbitrageqty": {
  17141. "description": "期初套利量",
  17142. "type": "number"
  17143. },
  17144. "orihedgeqty": {
  17145. "description": "期初套保量",
  17146. "type": "number"
  17147. },
  17148. "orineedhedgeexposoure": {
  17149. "description": "期初套保敞口",
  17150. "type": "number"
  17151. },
  17152. "oritotalexposure": {
  17153. "description": "期初总敞口",
  17154. "type": "number"
  17155. },
  17156. "oritotalfutureqty": {
  17157. "description": "期初期货总量",
  17158. "type": "number"
  17159. },
  17160. "oritotalneedhedgeqty": {
  17161. "description": "期初现货应套保量",
  17162. "type": "number"
  17163. }
  17164. }
  17165. },
  17166. "erms2.QueryArbitrageStrategyRsp": {
  17167. "type": "object",
  17168. "required": [
  17169. "asapplyid"
  17170. ],
  17171. "properties": {
  17172. "applybasis": {
  17173. "description": "申请基差",
  17174. "type": "number"
  17175. },
  17176. "asapplyid": {
  17177. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17178. "type": "string"
  17179. },
  17180. "asname": {
  17181. "description": "策略名称",
  17182. "type": "string"
  17183. },
  17184. "asno": {
  17185. "description": "策略编号",
  17186. "type": "string"
  17187. },
  17188. "basischangepl": {
  17189. "description": "基差变动损益[结算更新]",
  17190. "type": "number"
  17191. },
  17192. "biztype": {
  17193. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17194. "type": "integer"
  17195. },
  17196. "closetradedate": {
  17197. "description": "完结交易日(yyyyMMdd)",
  17198. "type": "string"
  17199. },
  17200. "curbasis": {
  17201. "description": "当前基差[结算更新]",
  17202. "type": "number"
  17203. },
  17204. "deliverygoodsid": {
  17205. "description": "现货品种ID",
  17206. "type": "integer"
  17207. },
  17208. "futureavgprice": {
  17209. "description": "期货建仓均价",
  17210. "type": "number"
  17211. },
  17212. "futurecloseamount": {
  17213. "description": "期货平仓金额",
  17214. "type": "number"
  17215. },
  17216. "futurecloseqty": {
  17217. "description": "期货平仓数量",
  17218. "type": "number"
  17219. },
  17220. "futureopenamount": {
  17221. "description": "期货开仓金额",
  17222. "type": "number"
  17223. },
  17224. "futureopenqty": {
  17225. "description": "期货开仓数量",
  17226. "type": "number"
  17227. },
  17228. "futurepl": {
  17229. "description": "期货总盈亏[结算更新]",
  17230. "type": "number"
  17231. },
  17232. "futureqty": {
  17233. "description": "期货持仓数量",
  17234. "type": "number"
  17235. },
  17236. "futurequote": {
  17237. "description": "期货额度",
  17238. "type": "number"
  17239. },
  17240. "goodsgroupid": {
  17241. "description": "期货品种ID",
  17242. "type": "integer"
  17243. },
  17244. "marketid": {
  17245. "description": "市场ID",
  17246. "type": "integer"
  17247. },
  17248. "netexposure": {
  17249. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17250. "type": "number"
  17251. },
  17252. "netexposurepl": {
  17253. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17254. "type": "number"
  17255. },
  17256. "netexposurerate": {
  17257. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17258. "type": "number"
  17259. },
  17260. "openbasis": {
  17261. "description": "建仓基差",
  17262. "type": "number"
  17263. },
  17264. "pricedspotqty": {
  17265. "description": "已定价现货数量",
  17266. "type": "number"
  17267. },
  17268. "pricedspotqtynotax": {
  17269. "description": "已定价现货不含税数量",
  17270. "type": "number"
  17271. },
  17272. "remark": {
  17273. "description": "备注",
  17274. "type": "string"
  17275. },
  17276. "spotavgprice": {
  17277. "description": "现货均价",
  17278. "type": "number"
  17279. },
  17280. "spotbuyamount": {
  17281. "description": "现货采购金额",
  17282. "type": "number"
  17283. },
  17284. "spotbuyqty": {
  17285. "description": "现货采购数量",
  17286. "type": "number"
  17287. },
  17288. "spotpl": {
  17289. "description": "现货总盈亏[结算更新]",
  17290. "type": "number"
  17291. },
  17292. "spotquota": {
  17293. "description": "现货额度",
  17294. "type": "number"
  17295. },
  17296. "spotsellamount": {
  17297. "description": "现货销售金额",
  17298. "type": "number"
  17299. },
  17300. "spotsellqty": {
  17301. "description": "现货销售数量",
  17302. "type": "number"
  17303. },
  17304. "spotusedquota": {
  17305. "description": "现货占用资金",
  17306. "type": "number"
  17307. },
  17308. "strategystatus": {
  17309. "description": "策略状态 - 0:未结束 1:已结束",
  17310. "type": "integer"
  17311. },
  17312. "totalpl": {
  17313. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17314. "type": "number"
  17315. },
  17316. "tradedate": {
  17317. "description": "交易日(yyyyMMdd)",
  17318. "type": "string"
  17319. },
  17320. "updatetime": {
  17321. "description": "更新时间",
  17322. "type": "string"
  17323. },
  17324. "usedquota": {
  17325. "description": "已占用资金",
  17326. "type": "number"
  17327. },
  17328. "userid": {
  17329. "description": "所属机构",
  17330. "type": "integer"
  17331. }
  17332. }
  17333. },
  17334. "erms2.QueryInnerTradeDetailRsp": {
  17335. "type": "object",
  17336. "required": [
  17337. "asapplyid",
  17338. "buyorsell",
  17339. "goodscode",
  17340. "goodsgroupid",
  17341. "goodsgroupname",
  17342. "goodsname",
  17343. "tradeid"
  17344. ],
  17345. "properties": {
  17346. "accountid": {
  17347. "description": "账号ID",
  17348. "type": "integer"
  17349. },
  17350. "agreeunit": {
  17351. "description": "合约单位",
  17352. "type": "number"
  17353. },
  17354. "asapplyid": {
  17355. "description": "策略申请ID",
  17356. "type": "integer"
  17357. },
  17358. "asname": {
  17359. "description": "策略名称",
  17360. "type": "string"
  17361. },
  17362. "asno": {
  17363. "description": "策略编号",
  17364. "type": "string"
  17365. },
  17366. "buyorsell": {
  17367. "description": "方向 - 0:买 1:卖",
  17368. "type": "integer"
  17369. },
  17370. "channelbuildtype": {
  17371. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17372. "type": "integer"
  17373. },
  17374. "closetype": {
  17375. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17376. "type": "integer"
  17377. },
  17378. "decimalplace": {
  17379. "description": "报价小数位",
  17380. "type": "integer"
  17381. },
  17382. "detailtype": {
  17383. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17384. "type": "integer"
  17385. },
  17386. "exexchangecode": {
  17387. "description": "外部交易所代码",
  17388. "type": "string"
  17389. },
  17390. "exexchangename": {
  17391. "description": "外部交易所名称",
  17392. "type": "string"
  17393. },
  17394. "goodscode": {
  17395. "description": "商品代码(合约)",
  17396. "type": "string"
  17397. },
  17398. "goodsgroupid": {
  17399. "description": "商品组ID(品种ID)",
  17400. "type": "integer"
  17401. },
  17402. "goodsgroupname": {
  17403. "description": "商品组名称(品种)",
  17404. "type": "string"
  17405. },
  17406. "goodsid": {
  17407. "description": "商品ID",
  17408. "type": "integer"
  17409. },
  17410. "goodsname": {
  17411. "description": "商品名称(合约)",
  17412. "type": "string"
  17413. },
  17414. "goodunit": {
  17415. "description": "报价单位",
  17416. "type": "string"
  17417. },
  17418. "marketid": {
  17419. "description": "市场ID",
  17420. "type": "integer"
  17421. },
  17422. "orderid": {
  17423. "description": "委托单号",
  17424. "type": "string"
  17425. },
  17426. "outgoodscode": {
  17427. "description": "商品代码(外部)",
  17428. "type": "string"
  17429. },
  17430. "relatedouttradeid": {
  17431. "description": "关联外部成交单ID",
  17432. "type": "string"
  17433. },
  17434. "remark": {
  17435. "description": "备注",
  17436. "type": "string"
  17437. },
  17438. "spotcontractid": {
  17439. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17440. "type": "integer"
  17441. },
  17442. "spotcontractno": {
  17443. "description": "现货合同编号",
  17444. "type": "string"
  17445. },
  17446. "tradeid": {
  17447. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17448. "type": "string"
  17449. },
  17450. "tradeprice": {
  17451. "description": "成交价格",
  17452. "type": "number"
  17453. },
  17454. "tradeqty": {
  17455. "description": "成交数量",
  17456. "type": "integer"
  17457. },
  17458. "tradetime": {
  17459. "description": "成交时间",
  17460. "type": "string"
  17461. },
  17462. "updatetime": {
  17463. "description": "更新时间",
  17464. "type": "string"
  17465. }
  17466. }
  17467. },
  17468. "erms2.QuerySpotContractRsp": {
  17469. "type": "object",
  17470. "required": [
  17471. "spotcontractid"
  17472. ],
  17473. "properties": {
  17474. "accountid": {
  17475. "description": "资金账户ID",
  17476. "type": "integer"
  17477. },
  17478. "areauserid": {
  17479. "description": "所属机构",
  17480. "type": "integer"
  17481. },
  17482. "closedate": {
  17483. "description": "终止日期",
  17484. "type": "string"
  17485. },
  17486. "closeremark": {
  17487. "description": "结束备注",
  17488. "type": "string"
  17489. },
  17490. "closetradedate": {
  17491. "description": "完结交易日(yyyyMMdd)",
  17492. "type": "string"
  17493. },
  17494. "closetype": {
  17495. "description": "终止类型 - 1:违约 2:提前终止",
  17496. "type": "integer"
  17497. },
  17498. "contractamount": {
  17499. "description": "合同金额",
  17500. "type": "number"
  17501. },
  17502. "contractattachment": {
  17503. "description": "合同附件",
  17504. "type": "string"
  17505. },
  17506. "contractno": {
  17507. "description": "现货合同编号",
  17508. "type": "string"
  17509. },
  17510. "contractqty": {
  17511. "description": "合同数量(数值) (用于计算)",
  17512. "type": "number"
  17513. },
  17514. "contractqtychar": {
  17515. "description": "合同数量\\已订价数量 (用于显示)",
  17516. "type": "string"
  17517. },
  17518. "contractstatus": {
  17519. "description": "合同状态 - 0:未结束 1:已结束",
  17520. "type": "integer"
  17521. },
  17522. "contracttype": {
  17523. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17524. "type": "integer"
  17525. },
  17526. "customeraccountid": {
  17527. "description": "客户资金账户ID",
  17528. "type": "integer"
  17529. },
  17530. "customeruserid": {
  17531. "description": "客户ID",
  17532. "type": "integer"
  17533. },
  17534. "deliverygoodsdesc": {
  17535. "description": "品种说明",
  17536. "type": "string"
  17537. },
  17538. "deliverygoodsid": {
  17539. "description": "现货品种ID",
  17540. "type": "integer"
  17541. },
  17542. "handlestatus": {
  17543. "description": "处理状态",
  17544. "type": "integer"
  17545. },
  17546. "invoiceatt": {
  17547. "description": "发票附件",
  17548. "type": "string"
  17549. },
  17550. "invoicedatetime": {
  17551. "description": "开收票更新时间",
  17552. "type": "string"
  17553. },
  17554. "invoiceopentime": {
  17555. "description": "开票时间",
  17556. "type": "string"
  17557. },
  17558. "invoiceremark": {
  17559. "description": "发票备注",
  17560. "type": "string"
  17561. },
  17562. "invoicestatus": {
  17563. "description": "开收票状态 - 0:未开票 1:已开票",
  17564. "type": "integer"
  17565. },
  17566. "lastdate": {
  17567. "description": "交货时间",
  17568. "type": "string"
  17569. },
  17570. "marketid": {
  17571. "description": "市场ID",
  17572. "type": "integer"
  17573. },
  17574. "paydatetime": {
  17575. "description": "收付款更新时间",
  17576. "type": "string"
  17577. },
  17578. "payremark": {
  17579. "description": "收付款备注",
  17580. "type": "string"
  17581. },
  17582. "paystatus": {
  17583. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17584. "type": "integer"
  17585. },
  17586. "positionqty": {
  17587. "description": "头寸数量 - 合同数量去小数部分",
  17588. "type": "integer"
  17589. },
  17590. "producttype": {
  17591. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17592. "type": "integer"
  17593. },
  17594. "relatedqty": {
  17595. "description": "已关联数量",
  17596. "type": "number"
  17597. },
  17598. "relatedstatus": {
  17599. "description": "关联完结状态 - 0:未结束 1:已结束",
  17600. "type": "integer"
  17601. },
  17602. "remark": {
  17603. "description": "备注",
  17604. "type": "string"
  17605. },
  17606. "signdate": {
  17607. "description": "签订日期",
  17608. "type": "string"
  17609. },
  17610. "spotcontractid": {
  17611. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17612. "type": "string"
  17613. },
  17614. "spotdatetime": {
  17615. "description": "收发货更新时间",
  17616. "type": "string"
  17617. },
  17618. "spotprice": {
  17619. "description": "价格",
  17620. "type": "number"
  17621. },
  17622. "spotremark": {
  17623. "description": "收发货备注",
  17624. "type": "string"
  17625. },
  17626. "spotstatus": {
  17627. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17628. "type": "integer"
  17629. },
  17630. "tradedate": {
  17631. "description": "交易日(yyyyMMdd)",
  17632. "type": "string"
  17633. },
  17634. "userid": {
  17635. "description": "业务员用户ID",
  17636. "type": "integer"
  17637. },
  17638. "warehouseid": {
  17639. "description": "仓库ID",
  17640. "type": "integer"
  17641. },
  17642. "wrfactortypeid": {
  17643. "description": "仓单要素类型ID",
  17644. "type": "integer"
  17645. },
  17646. "wrstandardid": {
  17647. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17648. "type": "integer"
  17649. }
  17650. }
  17651. },
  17652. "erms3.AddErms2ASApplyReq": {
  17653. "type": "object",
  17654. "required": [
  17655. "asapplyid"
  17656. ],
  17657. "properties": {
  17658. "applybasis": {
  17659. "description": "申请基差",
  17660. "type": "number"
  17661. },
  17662. "applystatus": {
  17663. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17664. "type": "integer"
  17665. },
  17666. "asapplyid": {
  17667. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17668. "type": "integer"
  17669. },
  17670. "asname": {
  17671. "description": "策略名称",
  17672. "type": "string"
  17673. },
  17674. "asno": {
  17675. "description": "策略编号",
  17676. "type": "string"
  17677. },
  17678. "auditid": {
  17679. "description": "审核人",
  17680. "type": "integer"
  17681. },
  17682. "auditremark": {
  17683. "description": "审核备注",
  17684. "type": "string"
  17685. },
  17686. "audittime": {
  17687. "description": "审核时间",
  17688. "type": "string"
  17689. },
  17690. "biztype": {
  17691. "description": "业务类型 - 1:正向套利 2:反向套利",
  17692. "type": "integer"
  17693. },
  17694. "createtime": {
  17695. "description": "创建时间",
  17696. "type": "string"
  17697. },
  17698. "creatorid": {
  17699. "description": "创建人",
  17700. "type": "integer"
  17701. },
  17702. "deliverygoodsid": {
  17703. "description": "现货品种ID",
  17704. "type": "integer"
  17705. },
  17706. "futurequote": {
  17707. "description": "期货额度",
  17708. "type": "number"
  17709. },
  17710. "goodsgroupid": {
  17711. "description": "期货品种ID",
  17712. "type": "integer"
  17713. },
  17714. "marketid": {
  17715. "description": "市场ID",
  17716. "type": "integer"
  17717. },
  17718. "remark": {
  17719. "description": "备注",
  17720. "type": "string"
  17721. },
  17722. "spotquota": {
  17723. "description": "现货额度",
  17724. "type": "number"
  17725. },
  17726. "tradedate": {
  17727. "description": "交易日(yyyyMMdd)",
  17728. "type": "string"
  17729. },
  17730. "userid": {
  17731. "description": "所属机构",
  17732. "type": "integer"
  17733. }
  17734. }
  17735. },
  17736. "erms3.AddErms2SpotTradeApplyReq": {
  17737. "type": "object",
  17738. "required": [
  17739. "spottradeid"
  17740. ],
  17741. "properties": {
  17742. "applyjsondetail": {
  17743. "description": "申请明细(JSON)",
  17744. "type": "string"
  17745. },
  17746. "applystatus": {
  17747. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17748. "type": "integer"
  17749. },
  17750. "areauserid": {
  17751. "description": "所属机构",
  17752. "type": "integer"
  17753. },
  17754. "auditid": {
  17755. "description": "审核人",
  17756. "type": "integer"
  17757. },
  17758. "auditremark": {
  17759. "description": "审核备注",
  17760. "type": "string"
  17761. },
  17762. "audittime": {
  17763. "description": "审核时间",
  17764. "type": "string"
  17765. },
  17766. "createtime": {
  17767. "description": "创建时间",
  17768. "type": "string"
  17769. },
  17770. "creatorid": {
  17771. "description": "创建人",
  17772. "type": "integer"
  17773. },
  17774. "deliverygoodsid": {
  17775. "description": "现货品种ID",
  17776. "type": "integer"
  17777. },
  17778. "futureaccountid": {
  17779. "description": "期货资金账户",
  17780. "type": "integer"
  17781. },
  17782. "goodsgroupid": {
  17783. "description": "期货品种",
  17784. "type": "integer"
  17785. },
  17786. "marketid": {
  17787. "description": "市场ID",
  17788. "type": "integer"
  17789. },
  17790. "remark": {
  17791. "description": "备注",
  17792. "type": "string"
  17793. },
  17794. "spotaccountid": {
  17795. "description": "现货资金账户",
  17796. "type": "integer"
  17797. },
  17798. "spottradeid": {
  17799. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17800. "type": "integer"
  17801. },
  17802. "spottradename": {
  17803. "description": "业务名称",
  17804. "type": "string"
  17805. },
  17806. "spottradeno": {
  17807. "description": "业务编号",
  17808. "type": "string"
  17809. },
  17810. "tradedate": {
  17811. "description": "交易日(yyyyMMdd)",
  17812. "type": "string"
  17813. },
  17814. "wrstandardid": {
  17815. "description": "仓单标准ID",
  17816. "type": "integer"
  17817. }
  17818. }
  17819. },
  17820. "erms3.AddSpotContractApplyReq": {
  17821. "type": "object",
  17822. "required": [
  17823. "accountid",
  17824. "areauserid",
  17825. "contractno",
  17826. "contracttype",
  17827. "customeraccountid",
  17828. "customeruserid",
  17829. "details",
  17830. "orimargin",
  17831. "signdate"
  17832. ],
  17833. "properties": {
  17834. "accountid": {
  17835. "description": "资金账户ID",
  17836. "type": "integer"
  17837. },
  17838. "areauserid": {
  17839. "description": "所属机构",
  17840. "type": "integer"
  17841. },
  17842. "contractattachment": {
  17843. "description": "合同附件",
  17844. "type": "string"
  17845. },
  17846. "contractno": {
  17847. "description": "现货合同编号",
  17848. "type": "string"
  17849. },
  17850. "contracttype": {
  17851. "description": "现货合同类型 - 1:采购 -1:销售",
  17852. "type": "integer"
  17853. },
  17854. "creatorid": {
  17855. "description": "申请人",
  17856. "type": "integer"
  17857. },
  17858. "customeraccountid": {
  17859. "description": "客户资金账户ID",
  17860. "type": "integer"
  17861. },
  17862. "customeruserid": {
  17863. "description": "客户ID",
  17864. "type": "integer"
  17865. },
  17866. "details": {
  17867. "description": "明细",
  17868. "type": "array",
  17869. "items": {
  17870. "$ref": "#/definitions/erms3.SoptContractDetail"
  17871. }
  17872. },
  17873. "orimargin": {
  17874. "description": "初始保证金",
  17875. "type": "number"
  17876. },
  17877. "remark": {
  17878. "description": "备注",
  17879. "type": "string"
  17880. },
  17881. "signdate": {
  17882. "description": "签订日期",
  17883. "type": "string"
  17884. }
  17885. }
  17886. },
  17887. "erms3.AddSpotContractApplyRsp": {
  17888. "type": "object",
  17889. "required": [
  17890. "contractno"
  17891. ],
  17892. "properties": {
  17893. "contractno": {
  17894. "description": "现货合同编号",
  17895. "type": "string"
  17896. },
  17897. "spotcontractid": {
  17898. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17899. "type": "integer"
  17900. }
  17901. }
  17902. },
  17903. "erms3.AddUserInfoApplyReq": {
  17904. "type": "object",
  17905. "required": [
  17906. "userid"
  17907. ],
  17908. "properties": {
  17909. "accountid": {
  17910. "description": "交易系统帐号Id (加密存储)",
  17911. "type": "integer"
  17912. },
  17913. "areacode": {
  17914. "description": "机构代码",
  17915. "type": "string"
  17916. },
  17917. "areaid": {
  17918. "description": "机构Id",
  17919. "type": "integer"
  17920. },
  17921. "attachment1": {
  17922. "description": "附件1",
  17923. "type": "string"
  17924. },
  17925. "attachment2": {
  17926. "description": "附件2",
  17927. "type": "string"
  17928. },
  17929. "attachment3": {
  17930. "description": "附件3",
  17931. "type": "string"
  17932. },
  17933. "attachment4": {
  17934. "description": "附件4",
  17935. "type": "string"
  17936. },
  17937. "attachment5": {
  17938. "description": "附件5",
  17939. "type": "string"
  17940. },
  17941. "auditedby": {
  17942. "description": "审核人",
  17943. "type": "string"
  17944. },
  17945. "auditime": {
  17946. "description": "审核时间",
  17947. "type": "string"
  17948. },
  17949. "auditsrc": {
  17950. "description": "审核来源 - 1:管理端 2:终端",
  17951. "type": "integer"
  17952. },
  17953. "bankaccount": {
  17954. "description": "银行帐号 (加密存储)",
  17955. "type": "string"
  17956. },
  17957. "bankaccountname": {
  17958. "description": "收款人名称",
  17959. "type": "string"
  17960. },
  17961. "bankcardbackphotourl": {
  17962. "description": "银行卡背面照地址",
  17963. "type": "string"
  17964. },
  17965. "bankcardfrontphotourl": {
  17966. "description": "银行卡正面照地址",
  17967. "type": "string"
  17968. },
  17969. "bankid": {
  17970. "description": "银行编码",
  17971. "type": "string"
  17972. },
  17973. "bankname": {
  17974. "description": "银行名称",
  17975. "type": "string"
  17976. },
  17977. "bankpictureurl": {
  17978. "description": "银行卡正面地址",
  17979. "type": "string"
  17980. },
  17981. "biznature": {
  17982. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17983. "type": "integer"
  17984. },
  17985. "bizscope": {
  17986. "description": "企业经营范围(企业)",
  17987. "type": "string"
  17988. },
  17989. "biztype": {
  17990. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17991. "type": "integer"
  17992. },
  17993. "brokerid": {
  17994. "description": "经纪人ID(加密存储)",
  17995. "type": "string"
  17996. },
  17997. "cardaddress": {
  17998. "description": "证件地址 (加密存储)",
  17999. "type": "string"
  18000. },
  18001. "cardbackphotourl": {
  18002. "description": "背面证件照地址",
  18003. "type": "string"
  18004. },
  18005. "cardfrontphotourl": {
  18006. "description": "正面证件照地址",
  18007. "type": "string"
  18008. },
  18009. "cardnum": {
  18010. "description": "证件号码 (加密存储)",
  18011. "type": "string"
  18012. },
  18013. "cardtype": {
  18014. "description": "证件类型",
  18015. "type": "integer"
  18016. },
  18017. "cityid": {
  18018. "description": "市",
  18019. "type": "integer"
  18020. },
  18021. "company": {
  18022. "description": "公司(个人)",
  18023. "type": "string"
  18024. },
  18025. "contactcardbackphotourl": {
  18026. "description": "联系人证件背面图片地址",
  18027. "type": "string"
  18028. },
  18029. "contactcardfrontphotourl": {
  18030. "description": "联系人证件正面图片地址",
  18031. "type": "string"
  18032. },
  18033. "contactname": {
  18034. "description": "联系人",
  18035. "type": "string"
  18036. },
  18037. "countryid": {
  18038. "description": "国家",
  18039. "type": "integer"
  18040. },
  18041. "createtime": {
  18042. "description": "开户申请时间",
  18043. "type": "string"
  18044. },
  18045. "cusbankid": {
  18046. "description": "签约类型",
  18047. "type": "string"
  18048. },
  18049. "cusbankname": {
  18050. "description": "签约类型名称",
  18051. "type": "string"
  18052. },
  18053. "customername": {
  18054. "description": "客户名称(企业名称)",
  18055. "type": "string"
  18056. },
  18057. "districtid": {
  18058. "description": "地区",
  18059. "type": "integer"
  18060. },
  18061. "email": {
  18062. "description": "Email地址(加密存储)",
  18063. "type": "string"
  18064. },
  18065. "halfbodyphotourl": {
  18066. "description": "半身照地址",
  18067. "type": "string"
  18068. },
  18069. "headurl": {
  18070. "description": "头像地址",
  18071. "type": "string"
  18072. },
  18073. "ipaddress": {
  18074. "description": "IP地址",
  18075. "type": "string"
  18076. },
  18077. "isvalidate": {
  18078. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18079. "type": "string"
  18080. },
  18081. "legalcardbackphotourl": {
  18082. "description": "法人身份证背面照地址",
  18083. "type": "string"
  18084. },
  18085. "legalcardfrontphotourl": {
  18086. "description": "法人身份证正面照地址",
  18087. "type": "string"
  18088. },
  18089. "legalpersonname": {
  18090. "description": "法人姓名(企业)",
  18091. "type": "string"
  18092. },
  18093. "logincode": {
  18094. "description": "登录帐号 (加密存储)",
  18095. "type": "string"
  18096. },
  18097. "memberareaid": {
  18098. "description": "所属会员ID",
  18099. "type": "integer"
  18100. },
  18101. "mobile2": {
  18102. "description": "手机号码[明文-尚志]",
  18103. "type": "string"
  18104. },
  18105. "mobilephone": {
  18106. "description": "手机号码 (加密存储)",
  18107. "type": "string"
  18108. },
  18109. "modifiedby": {
  18110. "description": "修改人帐号",
  18111. "type": "integer"
  18112. },
  18113. "modifiedtime": {
  18114. "description": "修改时间",
  18115. "type": "string"
  18116. },
  18117. "nickname": {
  18118. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18119. "type": "string"
  18120. },
  18121. "openmode": {
  18122. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18123. "type": "integer"
  18124. },
  18125. "otherurl": {
  18126. "description": "其它图片地址[使用分号分隔]",
  18127. "type": "string"
  18128. },
  18129. "postalcode": {
  18130. "description": "邮政编码",
  18131. "type": "string"
  18132. },
  18133. "provinceid": {
  18134. "description": "省",
  18135. "type": "integer"
  18136. },
  18137. "proxystatementurl": {
  18138. "description": "授权委托书",
  18139. "type": "string"
  18140. },
  18141. "qq": {
  18142. "description": "QQ(加密存储",
  18143. "type": "string"
  18144. },
  18145. "referral": {
  18146. "description": "推荐人编码",
  18147. "type": "string"
  18148. },
  18149. "remark": {
  18150. "description": "备注",
  18151. "type": "string"
  18152. },
  18153. "removebeforestatus": {
  18154. "description": "REMOVEBEFORESTATUS",
  18155. "type": "integer"
  18156. },
  18157. "sex": {
  18158. "description": "性别 - 0:女 1:男",
  18159. "type": "integer"
  18160. },
  18161. "signedstatus": {
  18162. "description": "账户一号签签约状态",
  18163. "type": "integer"
  18164. },
  18165. "signpdfurl": {
  18166. "description": "签约pdf文件",
  18167. "type": "string"
  18168. },
  18169. "subbranch": {
  18170. "description": "开户支行",
  18171. "type": "string"
  18172. },
  18173. "taxpayernum": {
  18174. "description": "纳税人识别号",
  18175. "type": "string"
  18176. },
  18177. "telphone": {
  18178. "description": "联系电话(加密存储)",
  18179. "type": "string"
  18180. },
  18181. "userid": {
  18182. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18183. "type": "integer"
  18184. },
  18185. "userinfotype": {
  18186. "description": "用户信息类型 - 1:个人 2:企业",
  18187. "type": "integer"
  18188. },
  18189. "username": {
  18190. "description": "用户姓名",
  18191. "type": "string"
  18192. },
  18193. "userstate": {
  18194. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18195. "type": "integer"
  18196. },
  18197. "usertype": {
  18198. "description": "用户类型 - 1:投资者 2:机构",
  18199. "type": "integer"
  18200. },
  18201. "videourl": {
  18202. "description": "视频地址",
  18203. "type": "string"
  18204. },
  18205. "wechat": {
  18206. "description": "微信号 (加密存储)",
  18207. "type": "string"
  18208. }
  18209. }
  18210. },
  18211. "erms3.CustomerInfo": {
  18212. "type": "object",
  18213. "required": [
  18214. "userid"
  18215. ],
  18216. "properties": {
  18217. "accountids": {
  18218. "description": "资金账户ID列表",
  18219. "type": "array",
  18220. "items": {
  18221. "type": "integer"
  18222. }
  18223. },
  18224. "customername": {
  18225. "description": "名称(企业名称)",
  18226. "type": "string"
  18227. },
  18228. "mobile": {
  18229. "description": "手机号码",
  18230. "type": "string"
  18231. },
  18232. "userid": {
  18233. "description": "用户ID",
  18234. "type": "integer"
  18235. }
  18236. }
  18237. },
  18238. "erms3.ModifyUserInfoApplyReq": {
  18239. "type": "object",
  18240. "required": [
  18241. "userid"
  18242. ],
  18243. "properties": {
  18244. "accountid": {
  18245. "description": "交易系统帐号Id (加密存储)",
  18246. "type": "integer"
  18247. },
  18248. "areacode": {
  18249. "description": "机构代码",
  18250. "type": "string"
  18251. },
  18252. "areaid": {
  18253. "description": "机构Id",
  18254. "type": "integer"
  18255. },
  18256. "attachment1": {
  18257. "description": "附件1",
  18258. "type": "string"
  18259. },
  18260. "attachment2": {
  18261. "description": "附件2",
  18262. "type": "string"
  18263. },
  18264. "attachment3": {
  18265. "description": "附件3",
  18266. "type": "string"
  18267. },
  18268. "attachment4": {
  18269. "description": "附件4",
  18270. "type": "string"
  18271. },
  18272. "attachment5": {
  18273. "description": "附件5",
  18274. "type": "string"
  18275. },
  18276. "auditedby": {
  18277. "description": "审核人",
  18278. "type": "string"
  18279. },
  18280. "auditime": {
  18281. "description": "审核时间",
  18282. "type": "string"
  18283. },
  18284. "auditsrc": {
  18285. "description": "审核来源 - 1:管理端 2:终端",
  18286. "type": "integer"
  18287. },
  18288. "bankaccount": {
  18289. "description": "银行帐号 (加密存储)",
  18290. "type": "string"
  18291. },
  18292. "bankaccountname": {
  18293. "description": "收款人名称",
  18294. "type": "string"
  18295. },
  18296. "bankcardbackphotourl": {
  18297. "description": "银行卡背面照地址",
  18298. "type": "string"
  18299. },
  18300. "bankcardfrontphotourl": {
  18301. "description": "银行卡正面照地址",
  18302. "type": "string"
  18303. },
  18304. "bankid": {
  18305. "description": "银行编码",
  18306. "type": "string"
  18307. },
  18308. "bankname": {
  18309. "description": "银行名称",
  18310. "type": "string"
  18311. },
  18312. "bankpictureurl": {
  18313. "description": "银行卡正面地址",
  18314. "type": "string"
  18315. },
  18316. "biznature": {
  18317. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18318. "type": "integer"
  18319. },
  18320. "bizscope": {
  18321. "description": "企业经营范围(企业)",
  18322. "type": "string"
  18323. },
  18324. "biztype": {
  18325. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18326. "type": "integer"
  18327. },
  18328. "brokerid": {
  18329. "description": "经纪人ID(加密存储)",
  18330. "type": "string"
  18331. },
  18332. "cardaddress": {
  18333. "description": "证件地址 (加密存储)",
  18334. "type": "string"
  18335. },
  18336. "cardbackphotourl": {
  18337. "description": "背面证件照地址",
  18338. "type": "string"
  18339. },
  18340. "cardfrontphotourl": {
  18341. "description": "正面证件照地址",
  18342. "type": "string"
  18343. },
  18344. "cardnum": {
  18345. "description": "证件号码 (加密存储)",
  18346. "type": "string"
  18347. },
  18348. "cardtype": {
  18349. "description": "证件类型",
  18350. "type": "integer"
  18351. },
  18352. "cityid": {
  18353. "description": "市",
  18354. "type": "integer"
  18355. },
  18356. "company": {
  18357. "description": "公司(个人)",
  18358. "type": "string"
  18359. },
  18360. "contactcardbackphotourl": {
  18361. "description": "联系人证件背面图片地址",
  18362. "type": "string"
  18363. },
  18364. "contactcardfrontphotourl": {
  18365. "description": "联系人证件正面图片地址",
  18366. "type": "string"
  18367. },
  18368. "contactname": {
  18369. "description": "联系人",
  18370. "type": "string"
  18371. },
  18372. "countryid": {
  18373. "description": "国家",
  18374. "type": "integer"
  18375. },
  18376. "createtime": {
  18377. "description": "开户申请时间",
  18378. "type": "string"
  18379. },
  18380. "cusbankid": {
  18381. "description": "签约类型",
  18382. "type": "string"
  18383. },
  18384. "cusbankname": {
  18385. "description": "签约类型名称",
  18386. "type": "string"
  18387. },
  18388. "customername": {
  18389. "description": "客户名称(企业名称)",
  18390. "type": "string"
  18391. },
  18392. "districtid": {
  18393. "description": "地区",
  18394. "type": "integer"
  18395. },
  18396. "email": {
  18397. "description": "Email地址(加密存储)",
  18398. "type": "string"
  18399. },
  18400. "halfbodyphotourl": {
  18401. "description": "半身照地址",
  18402. "type": "string"
  18403. },
  18404. "headurl": {
  18405. "description": "头像地址",
  18406. "type": "string"
  18407. },
  18408. "ipaddress": {
  18409. "description": "IP地址",
  18410. "type": "string"
  18411. },
  18412. "isvalidate": {
  18413. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18414. "type": "string"
  18415. },
  18416. "legalcardbackphotourl": {
  18417. "description": "法人身份证背面照地址",
  18418. "type": "string"
  18419. },
  18420. "legalcardfrontphotourl": {
  18421. "description": "法人身份证正面照地址",
  18422. "type": "string"
  18423. },
  18424. "legalpersonname": {
  18425. "description": "法人姓名(企业)",
  18426. "type": "string"
  18427. },
  18428. "logincode": {
  18429. "description": "登录帐号 (加密存储)",
  18430. "type": "string"
  18431. },
  18432. "memberareaid": {
  18433. "description": "所属会员ID",
  18434. "type": "integer"
  18435. },
  18436. "mobile2": {
  18437. "description": "手机号码[明文-尚志]",
  18438. "type": "string"
  18439. },
  18440. "mobilephone": {
  18441. "description": "手机号码 (加密存储)",
  18442. "type": "string"
  18443. },
  18444. "modifiedby": {
  18445. "description": "修改人帐号",
  18446. "type": "integer"
  18447. },
  18448. "modifiedtime": {
  18449. "description": "修改时间",
  18450. "type": "string"
  18451. },
  18452. "nickname": {
  18453. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18454. "type": "string"
  18455. },
  18456. "openmode": {
  18457. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18458. "type": "integer"
  18459. },
  18460. "otherurl": {
  18461. "description": "其它图片地址[使用分号分隔]",
  18462. "type": "string"
  18463. },
  18464. "postalcode": {
  18465. "description": "邮政编码",
  18466. "type": "string"
  18467. },
  18468. "provinceid": {
  18469. "description": "省",
  18470. "type": "integer"
  18471. },
  18472. "proxystatementurl": {
  18473. "description": "授权委托书",
  18474. "type": "string"
  18475. },
  18476. "qq": {
  18477. "description": "QQ(加密存储",
  18478. "type": "string"
  18479. },
  18480. "referral": {
  18481. "description": "推荐人编码",
  18482. "type": "string"
  18483. },
  18484. "remark": {
  18485. "description": "备注",
  18486. "type": "string"
  18487. },
  18488. "removebeforestatus": {
  18489. "description": "REMOVEBEFORESTATUS",
  18490. "type": "integer"
  18491. },
  18492. "sex": {
  18493. "description": "性别 - 0:女 1:男",
  18494. "type": "integer"
  18495. },
  18496. "signedstatus": {
  18497. "description": "账户一号签签约状态",
  18498. "type": "integer"
  18499. },
  18500. "signpdfurl": {
  18501. "description": "签约pdf文件",
  18502. "type": "string"
  18503. },
  18504. "subbranch": {
  18505. "description": "开户支行",
  18506. "type": "string"
  18507. },
  18508. "taxpayernum": {
  18509. "description": "纳税人识别号",
  18510. "type": "string"
  18511. },
  18512. "telphone": {
  18513. "description": "联系电话(加密存储)",
  18514. "type": "string"
  18515. },
  18516. "userid": {
  18517. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18518. "type": "integer"
  18519. },
  18520. "userinfotype": {
  18521. "description": "用户信息类型 - 1:个人 2:企业",
  18522. "type": "integer"
  18523. },
  18524. "username": {
  18525. "description": "用户姓名",
  18526. "type": "string"
  18527. },
  18528. "userstate": {
  18529. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18530. "type": "integer"
  18531. },
  18532. "usertype": {
  18533. "description": "用户类型 - 1:投资者 2:机构",
  18534. "type": "integer"
  18535. },
  18536. "videourl": {
  18537. "description": "视频地址",
  18538. "type": "string"
  18539. },
  18540. "wechat": {
  18541. "description": "微信号 (加密存储)",
  18542. "type": "string"
  18543. }
  18544. }
  18545. },
  18546. "erms3.QryAuditContractRsp": {
  18547. "type": "object",
  18548. "required": [
  18549. "matchcustomername",
  18550. "spotcontractid"
  18551. ],
  18552. "properties": {
  18553. "accountid": {
  18554. "description": "交易员ID",
  18555. "type": "string"
  18556. },
  18557. "applystatus": {
  18558. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18559. "type": "integer"
  18560. },
  18561. "curdeliveryqty": {
  18562. "description": "未交收量",
  18563. "type": "integer"
  18564. },
  18565. "customername": {
  18566. "description": "采购方ID",
  18567. "type": "string"
  18568. },
  18569. "deliverygoodsid": {
  18570. "description": "品种ID",
  18571. "type": "string"
  18572. },
  18573. "deliveryqty": {
  18574. "description": "交收量",
  18575. "type": "integer"
  18576. },
  18577. "enumdicname": {
  18578. "description": "单位名称",
  18579. "type": "string"
  18580. },
  18581. "matchaccountid": {
  18582. "description": "业务员ID",
  18583. "type": "string"
  18584. },
  18585. "matchcustomername": {
  18586. "description": "销售方ID",
  18587. "type": "string"
  18588. },
  18589. "pricedqty": {
  18590. "description": "定价量",
  18591. "type": "number"
  18592. },
  18593. "signdate": {
  18594. "description": "签订日期",
  18595. "type": "string"
  18596. },
  18597. "spotcontractid": {
  18598. "description": "合同ID",
  18599. "type": "string"
  18600. },
  18601. "totaldqty": {
  18602. "description": "合同量",
  18603. "type": "number"
  18604. },
  18605. "unpricedqty": {
  18606. "description": "未定价量",
  18607. "type": "number"
  18608. },
  18609. "wrstandardname": {
  18610. "description": "商品名称",
  18611. "type": "string"
  18612. }
  18613. }
  18614. },
  18615. "erms3.QryPendingBizRsp": {
  18616. "type": "object",
  18617. "properties": {
  18618. "accountid": {
  18619. "description": "现货账户",
  18620. "type": "string"
  18621. },
  18622. "areaname": {
  18623. "description": "所属部门",
  18624. "type": "string"
  18625. },
  18626. "bizid": {
  18627. "description": "业务ID",
  18628. "type": "string"
  18629. },
  18630. "bizname": {
  18631. "description": "业务名称",
  18632. "type": "string"
  18633. },
  18634. "status": {
  18635. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18636. "type": "integer"
  18637. },
  18638. "type": {
  18639. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18640. "type": "integer"
  18641. }
  18642. }
  18643. },
  18644. "erms3.QueryBusinessInfoRsp": {
  18645. "type": "object",
  18646. "properties": {
  18647. "businessid": {
  18648. "description": "业务ID.",
  18649. "type": "integer"
  18650. },
  18651. "buyamount": {
  18652. "description": "采购额.",
  18653. "type": "number"
  18654. },
  18655. "buyqty": {
  18656. "description": "采购量.",
  18657. "type": "string"
  18658. },
  18659. "futurepl": {
  18660. "description": "期货盈亏.",
  18661. "type": "number"
  18662. },
  18663. "futureqty": {
  18664. "description": "期货敞口.",
  18665. "type": "string"
  18666. },
  18667. "goodsid": {
  18668. "description": "商品名称/商品代码.",
  18669. "type": "string"
  18670. },
  18671. "hedgingqty": {
  18672. "description": "套保量.",
  18673. "type": "string"
  18674. },
  18675. "sellamount": {
  18676. "description": "销售额.",
  18677. "type": "number"
  18678. },
  18679. "sellqty": {
  18680. "description": "销售量.",
  18681. "type": "string"
  18682. },
  18683. "spotmarketvalue": {
  18684. "description": "现货市值.",
  18685. "type": "number"
  18686. },
  18687. "spotpl": {
  18688. "description": "浮动权益.",
  18689. "type": "number"
  18690. },
  18691. "spotqty": {
  18692. "description": "现货量.",
  18693. "type": "string"
  18694. },
  18695. "statu": {
  18696. "description": "状态,0-未结束 1-已结束.",
  18697. "type": "integer"
  18698. },
  18699. "totalpl": {
  18700. "description": "总盈亏.",
  18701. "type": "number"
  18702. },
  18703. "totalqty": {
  18704. "description": "总敞口.",
  18705. "type": "string"
  18706. },
  18707. "type": {
  18708. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18709. "type": "integer"
  18710. }
  18711. }
  18712. },
  18713. "erms3.QuerySpotContractAppleFormRsp": {
  18714. "type": "object",
  18715. "properties": {
  18716. "goodses": {
  18717. "description": "合约列表",
  18718. "type": "array",
  18719. "items": {
  18720. "$ref": "#/definitions/models.GoodsIDAndName"
  18721. }
  18722. },
  18723. "oppositeusers": {
  18724. "description": "对方账号列表",
  18725. "type": "array",
  18726. "items": {
  18727. "$ref": "#/definitions/erms3.CustomerInfo"
  18728. }
  18729. },
  18730. "ouruser": {
  18731. "description": "我方账号",
  18732. "$ref": "#/definitions/erms3.CustomerInfo"
  18733. },
  18734. "warehouseinfos": {
  18735. "description": "仓库信息列表",
  18736. "type": "array",
  18737. "items": {
  18738. "$ref": "#/definitions/models.Warehouseinfo"
  18739. }
  18740. },
  18741. "wrstandards": {
  18742. "description": "仓单标准列表",
  18743. "type": "array",
  18744. "items": {
  18745. "$ref": "#/definitions/models.WRStandardInfo"
  18746. }
  18747. }
  18748. }
  18749. },
  18750. "erms3.QuerySpotContractInfoRsp": {
  18751. "type": "object",
  18752. "properties": {
  18753. "accountid": {
  18754. "description": "表示交易员ID.",
  18755. "type": "integer"
  18756. },
  18757. "curdeliveryqty": {
  18758. "description": "表示未交收量.",
  18759. "type": "number"
  18760. },
  18761. "customername": {
  18762. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18763. "type": "string"
  18764. },
  18765. "deliverygoodsid": {
  18766. "description": "表示品种ID.",
  18767. "type": "string"
  18768. },
  18769. "deliveryqty": {
  18770. "description": "表示交收量.",
  18771. "type": "number"
  18772. },
  18773. "matchaccountid": {
  18774. "description": "表示业务员ID.",
  18775. "type": "integer"
  18776. },
  18777. "matchcustomername": {
  18778. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18779. "type": "string"
  18780. },
  18781. "priceqty": {
  18782. "description": "表示定价量.",
  18783. "type": "number"
  18784. },
  18785. "relatedbizid": {
  18786. "description": "表示业务ID.",
  18787. "type": "string"
  18788. },
  18789. "signdate": {
  18790. "description": "表示签订日期.",
  18791. "type": "string"
  18792. },
  18793. "spotcontractid": {
  18794. "description": "合同ID",
  18795. "type": "string"
  18796. },
  18797. "status": {
  18798. "description": "表示状态,0-履约中 1-已完成.",
  18799. "type": "integer"
  18800. },
  18801. "totalqty": {
  18802. "description": "表示合同量.",
  18803. "type": "number"
  18804. },
  18805. "unpricedqty": {
  18806. "description": "表示未定价量.",
  18807. "type": "number"
  18808. },
  18809. "wrstandardname": {
  18810. "description": "表示商品ID.",
  18811. "type": "string"
  18812. }
  18813. }
  18814. },
  18815. "erms3.QueryUserInfoAppliesRsp": {
  18816. "type": "object",
  18817. "required": [
  18818. "userid"
  18819. ],
  18820. "properties": {
  18821. "biznature": {
  18822. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18823. "type": "integer"
  18824. },
  18825. "contactname": {
  18826. "description": "联系人",
  18827. "type": "string"
  18828. },
  18829. "createtime": {
  18830. "description": "开户申请时间",
  18831. "type": "string"
  18832. },
  18833. "userid": {
  18834. "description": "用户ID(自增ID)",
  18835. "type": "integer"
  18836. },
  18837. "userinfotype": {
  18838. "description": "用户信息类型 - 1:个人 2:企业",
  18839. "type": "integer"
  18840. },
  18841. "username": {
  18842. "description": "用户姓名",
  18843. "type": "string"
  18844. },
  18845. "userstate": {
  18846. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18847. "type": "integer"
  18848. }
  18849. }
  18850. },
  18851. "erms3.QueryUserInfosRsp": {
  18852. "type": "object",
  18853. "required": [
  18854. "userid"
  18855. ],
  18856. "properties": {
  18857. "biznature": {
  18858. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18859. "type": "integer"
  18860. },
  18861. "contactname": {
  18862. "description": "联系人",
  18863. "type": "string"
  18864. },
  18865. "customername": {
  18866. "description": "客户名称(企业名称)",
  18867. "type": "string"
  18868. },
  18869. "userid": {
  18870. "description": "用户ID",
  18871. "type": "integer"
  18872. },
  18873. "userinfotype": {
  18874. "description": "用户信息类型 - 1:个人 2:企业",
  18875. "type": "integer"
  18876. },
  18877. "userstatus": {
  18878. "description": "用户状态 - 1:正常 2:注销",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "erms3.SoptContractDetail": {
  18884. "type": "object",
  18885. "required": [
  18886. "deliverygoodsid",
  18887. "producttype",
  18888. "unitname",
  18889. "warehouseid",
  18890. "wrstandardid",
  18891. "wrstandardname"
  18892. ],
  18893. "properties": {
  18894. "deliverygoodsdesc": {
  18895. "description": "现货品种说明",
  18896. "type": "string"
  18897. },
  18898. "deliverygoodsid": {
  18899. "description": "现货品种ID",
  18900. "type": "integer"
  18901. },
  18902. "deliverygoodsname": {
  18903. "description": "现货品种名称",
  18904. "type": "string"
  18905. },
  18906. "pointdesc": {
  18907. "description": "点价描述",
  18908. "type": "string"
  18909. },
  18910. "producttype": {
  18911. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18912. "type": "integer"
  18913. },
  18914. "producttypename": {
  18915. "description": "产品类型名称",
  18916. "type": "string"
  18917. },
  18918. "spotPointOrderVoList": {
  18919. "description": "点价列表",
  18920. "type": "array",
  18921. "items": {
  18922. "$ref": "#/definitions/erms3.SpotPointOrder"
  18923. }
  18924. },
  18925. "spotPriceOrderList": {
  18926. "description": "定价列表",
  18927. "type": "array",
  18928. "items": {
  18929. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18930. }
  18931. },
  18932. "unitname": {
  18933. "description": "单位名称",
  18934. "type": "string"
  18935. },
  18936. "warehouseid": {
  18937. "description": "仓库ID",
  18938. "type": "integer"
  18939. },
  18940. "warehousename": {
  18941. "description": "仓库名称",
  18942. "type": "string"
  18943. },
  18944. "wrstandardid": {
  18945. "description": "交易标的ID",
  18946. "type": "integer"
  18947. },
  18948. "wrstandardname": {
  18949. "description": "交易标的名称",
  18950. "type": "string"
  18951. }
  18952. }
  18953. },
  18954. "erms3.SpotPointOrder": {
  18955. "type": "object",
  18956. "required": [
  18957. "basic",
  18958. "goodsid",
  18959. "qty"
  18960. ],
  18961. "properties": {
  18962. "basic": {
  18963. "description": "基差",
  18964. "type": "number"
  18965. },
  18966. "deliveryenddate": {
  18967. "description": "交收结束日期",
  18968. "type": "string"
  18969. },
  18970. "deliverystartdate": {
  18971. "description": "交收开始日期",
  18972. "type": "string"
  18973. },
  18974. "enddate": {
  18975. "description": "点价结束日期",
  18976. "type": "string"
  18977. },
  18978. "goodsid": {
  18979. "description": "商品ID",
  18980. "type": "integer"
  18981. },
  18982. "goodsname": {
  18983. "description": "商品名称",
  18984. "type": "string"
  18985. },
  18986. "qty": {
  18987. "description": "数量",
  18988. "type": "number"
  18989. },
  18990. "startdate": {
  18991. "description": "点价开始日期",
  18992. "type": "string"
  18993. }
  18994. }
  18995. },
  18996. "erms3.SpotPriceOrder": {
  18997. "type": "object",
  18998. "required": [
  18999. "amount",
  19000. "price",
  19001. "qty"
  19002. ],
  19003. "properties": {
  19004. "amount": {
  19005. "description": "金额",
  19006. "type": "number"
  19007. },
  19008. "deliveryenddate": {
  19009. "description": "交收结束日期",
  19010. "type": "string"
  19011. },
  19012. "deliverystartdate": {
  19013. "description": "交收开始日期",
  19014. "type": "string"
  19015. },
  19016. "price": {
  19017. "description": "价格",
  19018. "type": "number"
  19019. },
  19020. "qty": {
  19021. "description": "数量",
  19022. "type": "number"
  19023. }
  19024. }
  19025. },
  19026. "hsby.GetHsbyMyCountRsp": {
  19027. "type": "object",
  19028. "properties": {
  19029. "myCouponCount": {
  19030. "description": "我的优惠卷数量",
  19031. "type": "integer"
  19032. },
  19033. "myOrderDetailListingCount": {
  19034. "description": "我的订单求购中数量",
  19035. "type": "integer"
  19036. },
  19037. "myOrderDetailPreCount": {
  19038. "description": "我的订单抢购中数量",
  19039. "type": "integer"
  19040. },
  19041. "myPackageUnReceiveCount": {
  19042. "description": "我的包裹待收货数量",
  19043. "type": "integer"
  19044. },
  19045. "myPackageUnSendCount": {
  19046. "description": "我的包裹待发货数量",
  19047. "type": "integer"
  19048. },
  19049. "myPayOrderCount": {
  19050. "description": "我的订单待付款数量",
  19051. "type": "integer"
  19052. }
  19053. }
  19054. },
  19055. "hsby.QueryProvincesAndCitiesRsp": {
  19056. "type": "object",
  19057. "properties": {
  19058. "cities": {
  19059. "description": "市",
  19060. "type": "array",
  19061. "items": {
  19062. "$ref": "#/definitions/models.Division"
  19063. }
  19064. },
  19065. "province": {
  19066. "description": "省",
  19067. "$ref": "#/definitions/models.Division"
  19068. }
  19069. }
  19070. },
  19071. "models.Arearole": {
  19072. "type": "object",
  19073. "required": [
  19074. "roletype",
  19075. "userid"
  19076. ],
  19077. "properties": {
  19078. "createtime": {
  19079. "description": "创建时间",
  19080. "type": "string"
  19081. },
  19082. "creatorid": {
  19083. "description": "创建人ID",
  19084. "type": "integer"
  19085. },
  19086. "fromuserid": {
  19087. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19088. "type": "integer"
  19089. },
  19090. "isreturnscore": {
  19091. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19092. "type": "integer"
  19093. },
  19094. "modifierid": {
  19095. "description": "修改人ID",
  19096. "type": "integer"
  19097. },
  19098. "modifytime": {
  19099. "description": "修改时间",
  19100. "type": "string"
  19101. },
  19102. "orgtype": {
  19103. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19104. "type": "integer"
  19105. },
  19106. "outuserid": {
  19107. "description": "外部账户[场外期权做市商]",
  19108. "type": "string"
  19109. },
  19110. "parentuserid": {
  19111. "description": "上级组织机构(组织机构)",
  19112. "type": "integer"
  19113. },
  19114. "roletype": {
  19115. "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:门店",
  19116. "type": "integer"
  19117. },
  19118. "rootuserid": {
  19119. "description": "顶级组织机构用户ID(组织机构)",
  19120. "type": "integer"
  19121. },
  19122. "shoppassword": {
  19123. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19124. "type": "string"
  19125. },
  19126. "sublevelpath": {
  19127. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19128. "type": "string"
  19129. },
  19130. "suborgtype": {
  19131. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19132. "type": "integer"
  19133. },
  19134. "tradeaccountid": {
  19135. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19136. "type": "integer"
  19137. },
  19138. "transurl": {
  19139. "description": "物流地址(物流机构)",
  19140. "type": "string"
  19141. },
  19142. "userid": {
  19143. "description": "机构用户ID其他做市关系,都设置为 1",
  19144. "type": "integer"
  19145. }
  19146. }
  19147. },
  19148. "models.Clientfixedadconfig": {
  19149. "type": "object",
  19150. "required": [
  19151. "adsort",
  19152. "adtype"
  19153. ],
  19154. "properties": {
  19155. "adsort": {
  19156. "description": "排序",
  19157. "type": "integer"
  19158. },
  19159. "adtype": {
  19160. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19161. "type": "integer"
  19162. },
  19163. "areauserid": {
  19164. "description": "所属机构ID",
  19165. "type": "integer"
  19166. },
  19167. "createdate": {
  19168. "description": "创建时间",
  19169. "type": "string"
  19170. },
  19171. "creatorid": {
  19172. "description": "创建人",
  19173. "type": "integer"
  19174. },
  19175. "imagepath": {
  19176. "description": "图片",
  19177. "type": "string"
  19178. },
  19179. "isshow": {
  19180. "description": "是否展示 - 0:不展示 1:展示",
  19181. "type": "integer"
  19182. },
  19183. "modifierid": {
  19184. "description": "操作人",
  19185. "type": "integer"
  19186. },
  19187. "recsize": {
  19188. "description": "推荐尺寸",
  19189. "type": "string"
  19190. },
  19191. "title": {
  19192. "description": "标题",
  19193. "type": "string"
  19194. },
  19195. "updatedate": {
  19196. "description": "更新时间",
  19197. "type": "string"
  19198. },
  19199. "urlcontent": {
  19200. "description": "链接(地址或商品ID)",
  19201. "type": "string"
  19202. },
  19203. "urltype": {
  19204. "description": "链接类型 - 1:直接地址 2:商品ID",
  19205. "type": "integer"
  19206. }
  19207. }
  19208. },
  19209. "models.Division": {
  19210. "type": "object",
  19211. "required": [
  19212. "autoid",
  19213. "divisioncode"
  19214. ],
  19215. "properties": {
  19216. "autoid": {
  19217. "description": "自增ID",
  19218. "type": "integer"
  19219. },
  19220. "divisioncode": {
  19221. "description": "行政代码",
  19222. "type": "string"
  19223. },
  19224. "divisionlevel": {
  19225. "description": "行政级别",
  19226. "type": "string"
  19227. },
  19228. "divisionname": {
  19229. "description": "行政名称",
  19230. "type": "string"
  19231. },
  19232. "modifierid": {
  19233. "description": "修改人",
  19234. "type": "integer"
  19235. },
  19236. "modifytime": {
  19237. "description": "修改时间",
  19238. "type": "string"
  19239. },
  19240. "parentcode": {
  19241. "description": "上级行政代码",
  19242. "type": "string"
  19243. },
  19244. "pathname": {
  19245. "description": "路径名称",
  19246. "type": "string"
  19247. },
  19248. "postcode": {
  19249. "description": "邮政编码",
  19250. "type": "string"
  19251. },
  19252. "separablename": {
  19253. "description": "可拆分的全称",
  19254. "type": "string"
  19255. },
  19256. "shortcode": {
  19257. "description": "地区简码",
  19258. "type": "string"
  19259. }
  19260. }
  19261. },
  19262. "models.Enumdicitem": {
  19263. "type": "object",
  19264. "required": [
  19265. "autoid",
  19266. "enumdiccode",
  19267. "enumdicid",
  19268. "enumitemname"
  19269. ],
  19270. "properties": {
  19271. "autoid": {
  19272. "description": "自增ID",
  19273. "type": "integer"
  19274. },
  19275. "bankmappedvalue": {
  19276. "description": "银行服务对应值",
  19277. "type": "string"
  19278. },
  19279. "enumdiccode": {
  19280. "description": "所属枚举代码",
  19281. "type": "string"
  19282. },
  19283. "enumdicid": {
  19284. "description": "所属枚举ID",
  19285. "type": "integer"
  19286. },
  19287. "enumdicname": {
  19288. "description": "枚举项名称",
  19289. "type": "string"
  19290. },
  19291. "enumitemname": {
  19292. "description": "枚举项值",
  19293. "type": "integer"
  19294. },
  19295. "enumitemstatus": {
  19296. "description": "枚举项状态 - 1.启用 2.不启用",
  19297. "type": "integer"
  19298. },
  19299. "enumitemvalue": {
  19300. "description": "通用值 - [币种通用简写]",
  19301. "type": "string"
  19302. },
  19303. "param1": {
  19304. "description": "参数1[币种:币种小数位]",
  19305. "type": "string"
  19306. },
  19307. "param2": {
  19308. "description": "参数1[币种:币种显示单位]",
  19309. "type": "string"
  19310. },
  19311. "remark": {
  19312. "description": "备注",
  19313. "type": "string"
  19314. }
  19315. }
  19316. },
  19317. "models.Ermcp3AreaSpot": {
  19318. "type": "object",
  19319. "properties": {
  19320. "areauserid": {
  19321. "description": "所属机构",
  19322. "type": "integer"
  19323. },
  19324. "convertratio": {
  19325. "description": "套保系数",
  19326. "type": "number"
  19327. },
  19328. "decreaseqty": {
  19329. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19330. "type": "number"
  19331. },
  19332. "enumdicname": {
  19333. "description": "单位名称",
  19334. "type": "string"
  19335. },
  19336. "increaseqty": {
  19337. "description": "增加数量=销售计划数量+采购已定价数量",
  19338. "type": "number"
  19339. },
  19340. "oritoalspotqty": {
  19341. "description": "昨日数量",
  19342. "type": "number"
  19343. },
  19344. "totalspotqty": {
  19345. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19346. "type": "number"
  19347. },
  19348. "unitid": {
  19349. "description": "现货商品单位id",
  19350. "type": "integer"
  19351. },
  19352. "updatetime": {
  19353. "description": "更新时间",
  19354. "type": "string"
  19355. },
  19356. "wrstandardcode": {
  19357. "description": "现货商品代码",
  19358. "type": "string"
  19359. },
  19360. "wrstandardid": {
  19361. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19362. "type": "integer"
  19363. },
  19364. "wrstandardname": {
  19365. "description": "现货商品名称",
  19366. "type": "string"
  19367. }
  19368. }
  19369. },
  19370. "models.Ermcp3AreaSpotDetail": {
  19371. "type": "object",
  19372. "properties": {
  19373. "contracttype": {
  19374. "description": "合同类型 1-采购 -1-销售",
  19375. "type": "integer"
  19376. },
  19377. "createtime": {
  19378. "description": "创建时间",
  19379. "type": "string"
  19380. },
  19381. "enumdicname": {
  19382. "description": "现货商品单位名称",
  19383. "type": "string"
  19384. },
  19385. "logtype": {
  19386. "description": "记录类型 1-套保 2-现货合同",
  19387. "type": "integer"
  19388. },
  19389. "qty": {
  19390. "description": "数量",
  19391. "type": "number"
  19392. },
  19393. "recordname": {
  19394. "description": "类型名称",
  19395. "type": "string"
  19396. },
  19397. "relatedid": {
  19398. "description": "套保计划ID/现货合同ID",
  19399. "type": "string"
  19400. },
  19401. "relatedno": {
  19402. "description": "编号",
  19403. "type": "string"
  19404. },
  19405. "strtime": {
  19406. "description": "时间",
  19407. "type": "string"
  19408. },
  19409. "wrstandardcode": {
  19410. "description": "现货商品代码",
  19411. "type": "string"
  19412. },
  19413. "wrstandardid": {
  19414. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19415. "type": "integer"
  19416. },
  19417. "wrstandardname": {
  19418. "description": "现货商品名称",
  19419. "type": "string"
  19420. }
  19421. }
  19422. },
  19423. "models.Ermcp3AreaSpotPLReport": {
  19424. "type": "object",
  19425. "properties": {
  19426. "accountid": {
  19427. "description": "期货账户ID (作废, 默认为0)",
  19428. "type": "integer"
  19429. },
  19430. "accountname": {
  19431. "description": "机构名称",
  19432. "type": "string"
  19433. },
  19434. "actualpl": {
  19435. "description": "现货损益",
  19436. "type": "number"
  19437. },
  19438. "areauserid": {
  19439. "description": "所属机构\\交易用户ID",
  19440. "type": "integer"
  19441. },
  19442. "begindate": {
  19443. "description": "开始交易日",
  19444. "type": "string"
  19445. },
  19446. "biztype": {
  19447. "description": "业务类型 - 1:套保 2:套利",
  19448. "type": "integer"
  19449. },
  19450. "brandname": {
  19451. "description": "品牌名称",
  19452. "type": "string"
  19453. },
  19454. "curamount": {
  19455. "description": "期末额",
  19456. "type": "number"
  19457. },
  19458. "curaverageprice": {
  19459. "description": "期末均价",
  19460. "type": "number"
  19461. },
  19462. "curbuyamount": {
  19463. "description": "期末采购总额",
  19464. "type": "number"
  19465. },
  19466. "curbuyqty": {
  19467. "description": "期末采购总量",
  19468. "type": "number"
  19469. },
  19470. "curmarketvalue": {
  19471. "description": "参考市值(期末市值)",
  19472. "type": "number"
  19473. },
  19474. "curqty": {
  19475. "description": "期末量",
  19476. "type": "number"
  19477. },
  19478. "currencyid": {
  19479. "description": "结算币种ID【原值】",
  19480. "type": "integer"
  19481. },
  19482. "currencyname": {
  19483. "description": "币种名称",
  19484. "type": "string"
  19485. },
  19486. "cursellamount": {
  19487. "description": "期末销售总额",
  19488. "type": "number"
  19489. },
  19490. "cursellqty": {
  19491. "description": "期末销售总量",
  19492. "type": "number"
  19493. },
  19494. "curspotprice": {
  19495. "description": "参考市价(最新价)",
  19496. "type": "number"
  19497. },
  19498. "cycletime": {
  19499. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19500. "type": "string"
  19501. },
  19502. "cycletype": {
  19503. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19504. "type": "integer"
  19505. },
  19506. "deliverygoodscode": {
  19507. "description": "现货商品代码",
  19508. "type": "string"
  19509. },
  19510. "deliverygoodsid": {
  19511. "description": "现货品种ID",
  19512. "type": "integer"
  19513. },
  19514. "deliverygoodsname": {
  19515. "description": "现货商品名称",
  19516. "type": "string"
  19517. },
  19518. "enddate": {
  19519. "description": "结束交易日",
  19520. "type": "string"
  19521. },
  19522. "enumdicname": {
  19523. "description": "现货商品单位名称",
  19524. "type": "string"
  19525. },
  19526. "floatpl": {
  19527. "description": "浮动损益",
  19528. "type": "number"
  19529. },
  19530. "goodsunitid": {
  19531. "description": "现货商品单位id",
  19532. "type": "integer"
  19533. },
  19534. "oriamount": {
  19535. "description": "期初额",
  19536. "type": "number"
  19537. },
  19538. "oriaverageprice": {
  19539. "description": "期初均价",
  19540. "type": "number"
  19541. },
  19542. "oribuyamount": {
  19543. "description": "期初采购总额",
  19544. "type": "number"
  19545. },
  19546. "oribuyqty": {
  19547. "description": "期初采购总量",
  19548. "type": "number"
  19549. },
  19550. "oriqty": {
  19551. "description": "期初量",
  19552. "type": "number"
  19553. },
  19554. "orisellamount": {
  19555. "description": "期初销售总额",
  19556. "type": "number"
  19557. },
  19558. "orisellqty": {
  19559. "description": "期初销售总量",
  19560. "type": "number"
  19561. },
  19562. "reckondate": {
  19563. "description": "日照时期(yyyyMMdd)",
  19564. "type": "string"
  19565. },
  19566. "spotgoodsbrandid": {
  19567. "description": "现货品牌ID",
  19568. "type": "integer"
  19569. },
  19570. "todaybuyamount": {
  19571. "description": "今日采购额(今采购额)",
  19572. "type": "number"
  19573. },
  19574. "todaybuyaverageprice": {
  19575. "description": "今日采购均价",
  19576. "type": "number"
  19577. },
  19578. "todaybuyqty": {
  19579. "description": "今日采购量(今采购量)",
  19580. "type": "number"
  19581. },
  19582. "todayinqty": {
  19583. "description": "今日入库量(今入库量)",
  19584. "type": "number"
  19585. },
  19586. "todayoutqty": {
  19587. "description": "今日出库量(今出库量)",
  19588. "type": "number"
  19589. },
  19590. "todaysellamount": {
  19591. "description": "今日销售额(今销售额)",
  19592. "type": "number"
  19593. },
  19594. "todaysellaverageprice": {
  19595. "description": "今日销售均价",
  19596. "type": "number"
  19597. },
  19598. "todaysellqty": {
  19599. "description": "今日销售量(今销售量)",
  19600. "type": "number"
  19601. },
  19602. "unitid": {
  19603. "description": "品类单位id",
  19604. "type": "integer"
  19605. },
  19606. "unitidname": {
  19607. "description": "品类单位名称",
  19608. "type": "string"
  19609. },
  19610. "updatetime": {
  19611. "description": "更新时间",
  19612. "type": "string"
  19613. },
  19614. "wrfactortypeid": {
  19615. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19616. "type": "integer"
  19617. },
  19618. "wrstandardcode": {
  19619. "description": "品类代码",
  19620. "type": "string"
  19621. },
  19622. "wrstandardid": {
  19623. "description": "现货品类ID",
  19624. "type": "integer"
  19625. },
  19626. "wrstandardname": {
  19627. "description": "品类名称",
  19628. "type": "string"
  19629. }
  19630. }
  19631. },
  19632. "models.Ermcp3AreaStock": {
  19633. "type": "object",
  19634. "required": [
  19635. "userid"
  19636. ],
  19637. "properties": {
  19638. "brandname": {
  19639. "description": "品牌名称",
  19640. "type": "string"
  19641. },
  19642. "curstock": {
  19643. "description": "期末库存量(今日量)",
  19644. "type": "number"
  19645. },
  19646. "deliverygoodscode": {
  19647. "description": "现货品种代码",
  19648. "type": "string"
  19649. },
  19650. "deliverygoodsid": {
  19651. "description": "现货品种id",
  19652. "type": "integer"
  19653. },
  19654. "deliverygoodsname": {
  19655. "description": "现货品种名称",
  19656. "type": "string"
  19657. },
  19658. "enumdicname": {
  19659. "description": "单位名称",
  19660. "type": "string"
  19661. },
  19662. "goodsunitid": {
  19663. "description": "现货商品单位id",
  19664. "type": "integer"
  19665. },
  19666. "oristock": {
  19667. "description": "期初库存量(昨日量)",
  19668. "type": "number"
  19669. },
  19670. "spotgoodsbrandid": {
  19671. "description": "现货品牌ID",
  19672. "type": "integer"
  19673. },
  19674. "todaybuyinqty": {
  19675. "description": "今日采购入库量",
  19676. "type": "number"
  19677. },
  19678. "todayproduceinqty": {
  19679. "description": "今日生产入库量",
  19680. "type": "number"
  19681. },
  19682. "todayproduceoutqty": {
  19683. "description": "今日生产出库量",
  19684. "type": "number"
  19685. },
  19686. "todayselloutqty": {
  19687. "description": "今日销售出库量",
  19688. "type": "number"
  19689. },
  19690. "unitid": {
  19691. "description": "单位id",
  19692. "type": "integer"
  19693. },
  19694. "updatetime": {
  19695. "description": "更新时间",
  19696. "type": "string"
  19697. },
  19698. "userid": {
  19699. "description": "机构ID",
  19700. "type": "integer"
  19701. },
  19702. "username": {
  19703. "description": "机构名称",
  19704. "type": "string"
  19705. },
  19706. "warehousecode": {
  19707. "description": "仓库代码",
  19708. "type": "string"
  19709. },
  19710. "warehouseinfoid": {
  19711. "description": "仓库ID",
  19712. "type": "string"
  19713. },
  19714. "warehousename": {
  19715. "description": "仓库名称",
  19716. "type": "string"
  19717. },
  19718. "warehousetype": {
  19719. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19720. "type": "integer"
  19721. },
  19722. "wrstandardcode": {
  19723. "description": "品类代码",
  19724. "type": "string"
  19725. },
  19726. "wrstandardid": {
  19727. "description": "品类ID",
  19728. "type": "string"
  19729. },
  19730. "wrstandardname": {
  19731. "description": "品类名称",
  19732. "type": "string"
  19733. }
  19734. }
  19735. },
  19736. "models.Ermcp3AreaStockApply": {
  19737. "type": "object",
  19738. "properties": {
  19739. "applyid": {
  19740. "description": "申请人",
  19741. "type": "integer"
  19742. },
  19743. "applyname": {
  19744. "description": "申请人名称",
  19745. "type": "string"
  19746. },
  19747. "applyremark": {
  19748. "description": "申请备注",
  19749. "type": "string"
  19750. },
  19751. "applysrc": {
  19752. "description": "申请来源 - 1:管理端 2:终端",
  19753. "type": "integer"
  19754. },
  19755. "applystatus": {
  19756. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19757. "type": "integer"
  19758. },
  19759. "applytime": {
  19760. "description": "申请时间",
  19761. "type": "string"
  19762. },
  19763. "auditid": {
  19764. "description": "审核人",
  19765. "type": "integer"
  19766. },
  19767. "auditname": {
  19768. "description": "审核人名称",
  19769. "type": "string"
  19770. },
  19771. "auditremark": {
  19772. "description": "审核备注",
  19773. "type": "string"
  19774. },
  19775. "auditsrc": {
  19776. "description": "审核来源 - 1:管理端 2:终端",
  19777. "type": "integer"
  19778. },
  19779. "audittime": {
  19780. "description": "审核时间",
  19781. "type": "string"
  19782. },
  19783. "audittradedate": {
  19784. "description": "审核交易日(yyyyMMdd)",
  19785. "type": "string"
  19786. },
  19787. "brandname": {
  19788. "description": "品牌名称",
  19789. "type": "string"
  19790. },
  19791. "buynickname": {
  19792. "description": "采购方昵称",
  19793. "type": "string"
  19794. },
  19795. "buyuserid": {
  19796. "description": "采购方userid",
  19797. "type": "integer"
  19798. },
  19799. "buyusername": {
  19800. "description": "采购方名称",
  19801. "type": "string"
  19802. },
  19803. "contractno": {
  19804. "description": "合同编号",
  19805. "type": "string"
  19806. },
  19807. "contractqty": {
  19808. "description": "合同量",
  19809. "type": "number"
  19810. },
  19811. "contracttype": {
  19812. "description": "现货合同类型 - 1:采购 -1:销售",
  19813. "type": "integer"
  19814. },
  19815. "deliverygoodscode": {
  19816. "description": "现货品种代码",
  19817. "type": "string"
  19818. },
  19819. "deliverygoodsid": {
  19820. "description": "现货品种id",
  19821. "type": "integer"
  19822. },
  19823. "deliverygoodsname": {
  19824. "description": "现货品种名称",
  19825. "type": "string"
  19826. },
  19827. "detailjson": {
  19828. "description": "明细数据",
  19829. "type": "string"
  19830. },
  19831. "enumdicname": {
  19832. "description": "现货商品单位名称",
  19833. "type": "string"
  19834. },
  19835. "inoutapplyid": {
  19836. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19837. "type": "string"
  19838. },
  19839. "inouttype": {
  19840. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19841. "type": "integer"
  19842. },
  19843. "pricetype": {
  19844. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19845. "type": "integer"
  19846. },
  19847. "qty": {
  19848. "description": "数量",
  19849. "type": "number"
  19850. },
  19851. "sellnickname": {
  19852. "description": "销售方昵称",
  19853. "type": "string"
  19854. },
  19855. "selluserid": {
  19856. "description": "销售方userid",
  19857. "type": "integer"
  19858. },
  19859. "sellusername": {
  19860. "description": "销售方名称",
  19861. "type": "string"
  19862. },
  19863. "spotcontractid": {
  19864. "description": "关联现货合同ID",
  19865. "type": "string"
  19866. },
  19867. "spotgoodsbrandid": {
  19868. "description": "现货品牌ID",
  19869. "type": "integer"
  19870. },
  19871. "unitid": {
  19872. "description": "单位id",
  19873. "type": "integer"
  19874. },
  19875. "userid": {
  19876. "description": "机构ID",
  19877. "type": "integer"
  19878. },
  19879. "warehousecode": {
  19880. "description": "仓库代码",
  19881. "type": "string"
  19882. },
  19883. "warehouseinfoid": {
  19884. "description": "现货仓库ID",
  19885. "type": "string"
  19886. },
  19887. "warehousename": {
  19888. "description": "仓库名称",
  19889. "type": "string"
  19890. },
  19891. "warehousetype": {
  19892. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19893. "type": "integer"
  19894. },
  19895. "wrstandardcode": {
  19896. "description": "品类代码",
  19897. "type": "string"
  19898. },
  19899. "wrstandardid": {
  19900. "description": "品类ID",
  19901. "type": "integer"
  19902. },
  19903. "wrstandardname": {
  19904. "description": "品类名称",
  19905. "type": "string"
  19906. }
  19907. }
  19908. },
  19909. "models.Ermcp3AreaStockApplySum": {
  19910. "type": "object",
  19911. "properties": {
  19912. "brandname": {
  19913. "description": "品牌名称",
  19914. "type": "string"
  19915. },
  19916. "inouttype": {
  19917. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19918. "type": "integer"
  19919. },
  19920. "spotcontractid": {
  19921. "description": "关联现货合同ID",
  19922. "type": "string"
  19923. },
  19924. "spotgoodsbrandid": {
  19925. "description": "品牌id",
  19926. "type": "integer"
  19927. },
  19928. "totalqty": {
  19929. "description": "总数量",
  19930. "type": "number"
  19931. },
  19932. "wrstandardid": {
  19933. "description": "品类id",
  19934. "type": "integer"
  19935. },
  19936. "wrstandardname": {
  19937. "description": "品类名称",
  19938. "type": "string"
  19939. }
  19940. }
  19941. },
  19942. "models.Ermcp3AreaStockReportEx": {
  19943. "type": "object",
  19944. "properties": {
  19945. "begindate": {
  19946. "description": "开始交易日",
  19947. "type": "string"
  19948. },
  19949. "brandname": {
  19950. "description": "品牌名称",
  19951. "type": "string"
  19952. },
  19953. "curstock": {
  19954. "description": "期末库存量",
  19955. "type": "number"
  19956. },
  19957. "cycletime": {
  19958. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19959. "type": "string"
  19960. },
  19961. "cycletype": {
  19962. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19963. "type": "integer"
  19964. },
  19965. "deliverygoodscode": {
  19966. "description": "现货品种代码",
  19967. "type": "string"
  19968. },
  19969. "deliverygoodsid": {
  19970. "description": "现货品种id",
  19971. "type": "integer"
  19972. },
  19973. "deliverygoodsname": {
  19974. "description": "现货品种名称",
  19975. "type": "string"
  19976. },
  19977. "diffqty": {
  19978. "description": "库存变化量 = 期末 - 期初",
  19979. "type": "number"
  19980. },
  19981. "enddate": {
  19982. "description": "结束交易日",
  19983. "type": "string"
  19984. },
  19985. "enumdicname": {
  19986. "description": "单位名称",
  19987. "type": "string"
  19988. },
  19989. "goodsunitid": {
  19990. "description": "现货单位id",
  19991. "type": "integer"
  19992. },
  19993. "oristock": {
  19994. "description": "期初库存量",
  19995. "type": "number"
  19996. },
  19997. "reckondate": {
  19998. "description": "日照时期(yyyyMMdd)",
  19999. "type": "string"
  20000. },
  20001. "spotgoodsbrandid": {
  20002. "description": "现货品牌ID",
  20003. "type": "integer"
  20004. },
  20005. "todaybuyinqty": {
  20006. "description": "今采购入库量",
  20007. "type": "number"
  20008. },
  20009. "todayproduceinqty": {
  20010. "description": "今内部入库量",
  20011. "type": "number"
  20012. },
  20013. "todayproduceoutqty": {
  20014. "description": "今内部出库量",
  20015. "type": "number"
  20016. },
  20017. "todayselloutqty": {
  20018. "description": "今销售出库量",
  20019. "type": "number"
  20020. },
  20021. "unbuyinqty": {
  20022. "description": "采购未入库量(数据库未找到相关字段?)",
  20023. "type": "number"
  20024. },
  20025. "unitid": {
  20026. "description": "品类单位id",
  20027. "type": "integer"
  20028. },
  20029. "unselloutqty": {
  20030. "description": "销售未出库量(数据库未找到相关字段?)",
  20031. "type": "number"
  20032. },
  20033. "updatetime": {
  20034. "description": "更新时间",
  20035. "type": "string"
  20036. },
  20037. "userid": {
  20038. "description": "机构ID",
  20039. "type": "integer"
  20040. },
  20041. "username": {
  20042. "description": "机构名称",
  20043. "type": "string"
  20044. },
  20045. "warehousecode": {
  20046. "description": "仓库代码",
  20047. "type": "string"
  20048. },
  20049. "warehouseinfoid": {
  20050. "description": "仓库ID",
  20051. "type": "string"
  20052. },
  20053. "warehousename": {
  20054. "description": "仓库名称",
  20055. "type": "string"
  20056. },
  20057. "warehousetype": {
  20058. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20059. "type": "integer"
  20060. },
  20061. "wrstandardcode": {
  20062. "description": "品类代码",
  20063. "type": "string"
  20064. },
  20065. "wrstandardid": {
  20066. "description": "品类ID",
  20067. "type": "integer"
  20068. },
  20069. "wrstandardname": {
  20070. "description": "品类名称",
  20071. "type": "string"
  20072. }
  20073. }
  20074. },
  20075. "models.Ermcp3ArealSumPL": {
  20076. "type": "object",
  20077. "properties": {
  20078. "accountname": {
  20079. "description": "机构名称",
  20080. "type": "string"
  20081. },
  20082. "areauserid": {
  20083. "description": "所属机构\\交易用户ID",
  20084. "type": "integer"
  20085. },
  20086. "begindate": {
  20087. "description": "开始交易日",
  20088. "type": "string"
  20089. },
  20090. "currencyid": {
  20091. "description": "结算币种ID",
  20092. "type": "integer"
  20093. },
  20094. "currencyname": {
  20095. "description": "币种名称",
  20096. "type": "string"
  20097. },
  20098. "cycletime": {
  20099. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20100. "type": "string"
  20101. },
  20102. "cycletype": {
  20103. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20104. "type": "integer"
  20105. },
  20106. "enddate": {
  20107. "description": "结束交易日",
  20108. "type": "string"
  20109. },
  20110. "enumdicname": {
  20111. "description": "单位名称(套保品种)",
  20112. "type": "string"
  20113. },
  20114. "futureactualpl": {
  20115. "description": "期货损益",
  20116. "type": "number"
  20117. },
  20118. "futurefloatpl": {
  20119. "description": "期货浮动损益",
  20120. "type": "number"
  20121. },
  20122. "futurespotratio": {
  20123. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20124. "type": "number"
  20125. },
  20126. "goodsunitid": {
  20127. "description": "套保品种单位id",
  20128. "type": "integer"
  20129. },
  20130. "hedgeexposurepl": {
  20131. "description": "套保敞口损益",
  20132. "type": "number"
  20133. },
  20134. "middlegoodscode": {
  20135. "description": "套保品种代码",
  20136. "type": "string"
  20137. },
  20138. "middlegoodsid": {
  20139. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20140. "type": "integer"
  20141. },
  20142. "middlegoodsname": {
  20143. "description": "套保品种名称",
  20144. "type": "string"
  20145. },
  20146. "reckondate": {
  20147. "description": "日照时期(yyyyMMdd)",
  20148. "type": "string"
  20149. },
  20150. "spotactualpl": {
  20151. "description": "现货损益",
  20152. "type": "number"
  20153. },
  20154. "spotfloatpl": {
  20155. "description": "现货浮动损益",
  20156. "type": "number"
  20157. },
  20158. "sumactualpl": {
  20159. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20160. "type": "number"
  20161. },
  20162. "sumpl": {
  20163. "description": "总敞口损益 | 汇总损益",
  20164. "type": "number"
  20165. },
  20166. "totalfutureqty": {
  20167. "description": "期货头寸总量",
  20168. "type": "number"
  20169. },
  20170. "totalneedhedgeqty": {
  20171. "description": "应套保总量",
  20172. "type": "number"
  20173. },
  20174. "totalspotqty": {
  20175. "description": "现货头寸总量",
  20176. "type": "number"
  20177. },
  20178. "updatetime": {
  20179. "description": "更新时间",
  20180. "type": "string"
  20181. }
  20182. }
  20183. },
  20184. "models.Ermcp3Brand": {
  20185. "type": "object",
  20186. "properties": {
  20187. "areauserid": {
  20188. "description": "用户id",
  20189. "type": "integer"
  20190. },
  20191. "brandid": {
  20192. "description": "品牌id",
  20193. "type": "integer"
  20194. },
  20195. "brandname": {
  20196. "description": "品牌名称",
  20197. "type": "string"
  20198. },
  20199. "deliverygoodsid": {
  20200. "description": "品种ID",
  20201. "type": "integer"
  20202. },
  20203. "isvalid": {
  20204. "description": "是否有效",
  20205. "type": "integer"
  20206. }
  20207. }
  20208. },
  20209. "models.Ermcp3Contract": {
  20210. "type": "object",
  20211. "properties": {
  20212. "accountid": {
  20213. "description": "期货账户id",
  20214. "type": "string"
  20215. },
  20216. "amount": {
  20217. "description": "金额 [1:一口价、3:暂定价]",
  20218. "type": "number"
  20219. },
  20220. "attachment": {
  20221. "description": "附件",
  20222. "type": "string"
  20223. },
  20224. "auditremark": {
  20225. "description": "审核意见",
  20226. "type": "string"
  20227. },
  20228. "audittime": {
  20229. "description": "审核时间",
  20230. "type": "string"
  20231. },
  20232. "biztype": {
  20233. "description": "业务类型 1-套保 2-套利",
  20234. "type": "integer"
  20235. },
  20236. "brandname": {
  20237. "description": "品牌名称",
  20238. "type": "string"
  20239. },
  20240. "buynickname": {
  20241. "description": "销售方昵称",
  20242. "type": "string"
  20243. },
  20244. "buyuserid": {
  20245. "description": "采购方ID",
  20246. "type": "integer"
  20247. },
  20248. "buyusername": {
  20249. "description": "采购方名称",
  20250. "type": "string"
  20251. },
  20252. "contracctstatus": {
  20253. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20254. "type": "integer"
  20255. },
  20256. "contractmargin": {
  20257. "description": "合同保证金",
  20258. "type": "number"
  20259. },
  20260. "contractno": {
  20261. "description": "现货合同编号",
  20262. "type": "string"
  20263. },
  20264. "contracttype": {
  20265. "description": "现货合同类型 - 1:采购 -1:销售",
  20266. "type": "integer"
  20267. },
  20268. "convertfactor": {
  20269. "description": "标仓系数(品类)",
  20270. "type": "number"
  20271. },
  20272. "createtime": {
  20273. "description": "创建时间",
  20274. "type": "string"
  20275. },
  20276. "currencyid": {
  20277. "description": "币种id",
  20278. "type": "integer"
  20279. },
  20280. "currencyname": {
  20281. "description": "币种名称",
  20282. "type": "string"
  20283. },
  20284. "deliveryenddate": {
  20285. "description": "交收期(结束)",
  20286. "type": "string"
  20287. },
  20288. "deliverygoodscode": {
  20289. "description": "现货品种代码",
  20290. "type": "string"
  20291. },
  20292. "deliverygoodsid": {
  20293. "description": "现货品种ID",
  20294. "type": "integer"
  20295. },
  20296. "deliverygoodsname": {
  20297. "description": "现货品种名称",
  20298. "type": "string"
  20299. },
  20300. "deliverystartdate": {
  20301. "description": "交收期(开始)",
  20302. "type": "string"
  20303. },
  20304. "enddate": {
  20305. "description": "点价结束日期 [2:点价 3:暂定价]",
  20306. "type": "string"
  20307. },
  20308. "enumdicname": {
  20309. "description": "单位名称",
  20310. "type": "string"
  20311. },
  20312. "goodscode": {
  20313. "description": "点价合约代码",
  20314. "type": "string"
  20315. },
  20316. "goodsid": {
  20317. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20318. "type": "integer"
  20319. },
  20320. "goodsname": {
  20321. "description": "点价商品名称",
  20322. "type": "string"
  20323. },
  20324. "margin": {
  20325. "description": "当前保证金",
  20326. "type": "number"
  20327. },
  20328. "meruserid": {
  20329. "description": "跟单员id",
  20330. "type": "integer"
  20331. },
  20332. "meruserlogincode": {
  20333. "description": "跟单员登录代码",
  20334. "type": "string"
  20335. },
  20336. "merusername": {
  20337. "description": "跟单员名称",
  20338. "type": "string"
  20339. },
  20340. "price": {
  20341. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20342. "type": "number"
  20343. },
  20344. "pricemove": {
  20345. "description": "升贴水 [2:点价 3:暂定价]",
  20346. "type": "number"
  20347. },
  20348. "pricetype": {
  20349. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20350. "type": "integer"
  20351. },
  20352. "producttype": {
  20353. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20354. "type": "integer"
  20355. },
  20356. "qty": {
  20357. "description": "数量",
  20358. "type": "number"
  20359. },
  20360. "remark": {
  20361. "description": "备注",
  20362. "type": "string"
  20363. },
  20364. "saleuserid": {
  20365. "description": "业务员id",
  20366. "type": "integer"
  20367. },
  20368. "saleuserlogincode": {
  20369. "description": "业务员登录代码",
  20370. "type": "string"
  20371. },
  20372. "saleusername": {
  20373. "description": "业务员名称",
  20374. "type": "string"
  20375. },
  20376. "sellnickname": {
  20377. "description": "采购方昵称",
  20378. "type": "string"
  20379. },
  20380. "selluserid": {
  20381. "description": "销售方ID",
  20382. "type": "integer"
  20383. },
  20384. "sellusername": {
  20385. "description": "销售方名称",
  20386. "type": "string"
  20387. },
  20388. "spotcontractid": {
  20389. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20390. "type": "string"
  20391. },
  20392. "spotgoodsbrandid": {
  20393. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20394. "type": "integer"
  20395. },
  20396. "spotgoodsdesc": {
  20397. "description": "商品型号",
  20398. "type": "string"
  20399. },
  20400. "startdate": {
  20401. "description": "点价开始日期 [2:点价 3:暂定价]",
  20402. "type": "string"
  20403. },
  20404. "subjectid": {
  20405. "description": "交易主体ID",
  20406. "type": "string"
  20407. },
  20408. "subjectname": {
  20409. "description": "交易主体名称",
  20410. "type": "string"
  20411. },
  20412. "tradeuserid": {
  20413. "description": "交易员id",
  20414. "type": "integer"
  20415. },
  20416. "tradeuserlogincode": {
  20417. "description": "交易员登录代码",
  20418. "type": "string"
  20419. },
  20420. "tradeusername": {
  20421. "description": "交易员名称",
  20422. "type": "string"
  20423. },
  20424. "unitid": {
  20425. "description": "单位id(取品类上的单位id)",
  20426. "type": "integer"
  20427. },
  20428. "updatetime": {
  20429. "description": "更新时间",
  20430. "type": "string"
  20431. },
  20432. "userid": {
  20433. "description": "所属机构ID",
  20434. "type": "integer"
  20435. },
  20436. "vatrate": {
  20437. "description": "增值税率",
  20438. "type": "number"
  20439. },
  20440. "wrstandardcode": {
  20441. "description": "品类代码",
  20442. "type": "string"
  20443. },
  20444. "wrstandardid": {
  20445. "description": "品类ID",
  20446. "type": "integer"
  20447. },
  20448. "wrstandardname": {
  20449. "description": "品类名称",
  20450. "type": "string"
  20451. }
  20452. }
  20453. },
  20454. "models.Ermcp3ExposureContractDetail": {
  20455. "type": "object",
  20456. "properties": {
  20457. "biztype": {
  20458. "description": "业务类型 1-套保 2-套利",
  20459. "type": "integer"
  20460. },
  20461. "brandname": {
  20462. "description": "品牌名称",
  20463. "type": "string"
  20464. },
  20465. "buyuserid": {
  20466. "description": "采购方id",
  20467. "type": "integer"
  20468. },
  20469. "buyusername": {
  20470. "description": "采购方名称",
  20471. "type": "string"
  20472. },
  20473. "contractno": {
  20474. "description": "合同编号",
  20475. "type": "string"
  20476. },
  20477. "contracttype": {
  20478. "description": "现货合同类型 - 1:采购 -1:销售",
  20479. "type": "integer"
  20480. },
  20481. "convertfactor": {
  20482. "description": "标仓系数",
  20483. "type": "number"
  20484. },
  20485. "convertratio": {
  20486. "description": "折算系数(套保品种)",
  20487. "type": "number"
  20488. },
  20489. "curqty": {
  20490. "description": "今定价量",
  20491. "type": "number"
  20492. },
  20493. "deliverygoodscode": {
  20494. "description": "现货商品代码",
  20495. "type": "string"
  20496. },
  20497. "deliverygoodsid": {
  20498. "description": "现货商品id",
  20499. "type": "integer"
  20500. },
  20501. "deliverygoodsname": {
  20502. "description": "现货商品名称",
  20503. "type": "string"
  20504. },
  20505. "diffhedgeqty": {
  20506. "description": "套保变动量",
  20507. "type": "number"
  20508. },
  20509. "diffneedhedgeqty": {
  20510. "description": "应套保变动量",
  20511. "type": "number"
  20512. },
  20513. "diffqty": {
  20514. "description": "套保品种今变动量",
  20515. "type": "number"
  20516. },
  20517. "enumdicname": {
  20518. "description": "单位名称",
  20519. "type": "string"
  20520. },
  20521. "mgunitname": {
  20522. "description": "套保品种单位名称",
  20523. "type": "string"
  20524. },
  20525. "middlegoodscode": {
  20526. "description": "套保品种代码",
  20527. "type": "string"
  20528. },
  20529. "middlegoodsid": {
  20530. "description": "套保品种id",
  20531. "type": "integer"
  20532. },
  20533. "middlegoodsname": {
  20534. "description": "套保品种名称",
  20535. "type": "string"
  20536. },
  20537. "needarbitrageratio": {
  20538. "description": "应套利比例",
  20539. "type": "number"
  20540. },
  20541. "needhedgeratio": {
  20542. "description": "应套保比例",
  20543. "type": "number"
  20544. },
  20545. "pricedqty": {
  20546. "description": "已定价量",
  20547. "type": "number"
  20548. },
  20549. "qty": {
  20550. "description": "合同量",
  20551. "type": "number"
  20552. },
  20553. "selluserid": {
  20554. "description": "销售方id",
  20555. "type": "integer"
  20556. },
  20557. "sellusername": {
  20558. "description": "销售方名称",
  20559. "type": "string"
  20560. },
  20561. "spotcontractid": {
  20562. "description": "合同id",
  20563. "type": "string"
  20564. },
  20565. "todaypricedqty": {
  20566. "description": "今定价量",
  20567. "type": "number"
  20568. },
  20569. "tradedate": {
  20570. "description": "交易日",
  20571. "type": "string"
  20572. },
  20573. "unitid": {
  20574. "description": "品类单位id",
  20575. "type": "integer"
  20576. },
  20577. "userid": {
  20578. "description": "机构id",
  20579. "type": "integer"
  20580. },
  20581. "username": {
  20582. "description": "交易用户",
  20583. "type": "string"
  20584. },
  20585. "wrstandardcode": {
  20586. "description": "品类代码",
  20587. "type": "string"
  20588. },
  20589. "wrstandardid": {
  20590. "description": "品类id",
  20591. "type": "integer"
  20592. },
  20593. "wrstandardname": {
  20594. "description": "品类名称",
  20595. "type": "string"
  20596. }
  20597. }
  20598. },
  20599. "models.Ermcp3ExposureDetail": {
  20600. "type": "object",
  20601. "properties": {
  20602. "areauserid": {
  20603. "description": "机构ID",
  20604. "type": "integer"
  20605. },
  20606. "changeQty": {
  20607. "description": "套保变动量",
  20608. "type": "number"
  20609. },
  20610. "contracttype": {
  20611. "description": "现货合同类型 - 1:采购 -1:销售",
  20612. "type": "integer"
  20613. },
  20614. "convertfactor": {
  20615. "description": "标仓系数",
  20616. "type": "number"
  20617. },
  20618. "convertratio": {
  20619. "description": "折算系数",
  20620. "type": "number"
  20621. },
  20622. "createtime": {
  20623. "description": "时间",
  20624. "type": "string"
  20625. },
  20626. "enumdicname": {
  20627. "description": "现货商品单位名称",
  20628. "type": "string"
  20629. },
  20630. "logtype": {
  20631. "description": "类型 - 1:套保计划 2:现货合同",
  20632. "type": "integer"
  20633. },
  20634. "mgunitid": {
  20635. "description": "套保品种单位id",
  20636. "type": "integer"
  20637. },
  20638. "mgunitidname": {
  20639. "description": "套保品种单位名称",
  20640. "type": "string"
  20641. },
  20642. "middlegoodsId": {
  20643. "description": "套保商品id",
  20644. "type": "integer"
  20645. },
  20646. "middlegoodscode": {
  20647. "description": "套保商品代码",
  20648. "type": "string"
  20649. },
  20650. "middlegoodsname": {
  20651. "description": "套保商品名称",
  20652. "type": "string"
  20653. },
  20654. "qty": {
  20655. "description": "数量",
  20656. "type": "number"
  20657. },
  20658. "relateNo": {
  20659. "description": "现货合同/套保计划编号",
  20660. "type": "string"
  20661. },
  20662. "unitid": {
  20663. "description": "现货商品单位id",
  20664. "type": "integer"
  20665. },
  20666. "wrstandardcode": {
  20667. "description": "现货商品代码",
  20668. "type": "string"
  20669. },
  20670. "wrstandardid": {
  20671. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20672. "type": "integer"
  20673. },
  20674. "wrstandardname": {
  20675. "description": "现货商品名称",
  20676. "type": "string"
  20677. }
  20678. }
  20679. },
  20680. "models.Ermcp3ExposureFutuDetail": {
  20681. "type": "object",
  20682. "properties": {
  20683. "accountid": {
  20684. "description": "交易账户id",
  20685. "type": "integer"
  20686. },
  20687. "accountname": {
  20688. "description": "交易账户",
  20689. "type": "string"
  20690. },
  20691. "begindate": {
  20692. "description": "开始交易日",
  20693. "type": "string"
  20694. },
  20695. "buyorsell": {
  20696. "description": "方向 0-买 1-卖",
  20697. "type": "integer"
  20698. },
  20699. "diffmgqty": {
  20700. "description": "套保品种今变化量",
  20701. "type": "number"
  20702. },
  20703. "diffneedqty": {
  20704. "description": "应套保总量变化量",
  20705. "type": "number"
  20706. },
  20707. "difftradeqty": {
  20708. "description": "交易品种今变化量",
  20709. "type": "number"
  20710. },
  20711. "enddate": {
  20712. "description": "结束交易日",
  20713. "type": "string"
  20714. },
  20715. "enumdicname": {
  20716. "description": "单位名称",
  20717. "type": "string"
  20718. },
  20719. "goodscode": {
  20720. "description": "商品代码",
  20721. "type": "string"
  20722. },
  20723. "goodsid": {
  20724. "description": "商品id",
  20725. "type": "integer"
  20726. },
  20727. "goodsname": {
  20728. "description": "商品名称",
  20729. "type": "string"
  20730. },
  20731. "holdqty": {
  20732. "description": "期末持仓量",
  20733. "type": "number"
  20734. },
  20735. "middlegoodscode": {
  20736. "description": "套保商品代码",
  20737. "type": "string"
  20738. },
  20739. "middlegoodsid": {
  20740. "description": "套保商品id",
  20741. "type": "integer"
  20742. },
  20743. "middlegoodsname": {
  20744. "description": "套保商品名称",
  20745. "type": "string"
  20746. },
  20747. "oriholdqty": {
  20748. "description": "期初持仓量",
  20749. "type": "number"
  20750. },
  20751. "todaycloseqty": {
  20752. "description": "今平仓量",
  20753. "type": "number"
  20754. },
  20755. "todayopenqty": {
  20756. "description": "今开仓量",
  20757. "type": "number"
  20758. },
  20759. "tradedate": {
  20760. "description": "交易日",
  20761. "type": "string"
  20762. },
  20763. "username": {
  20764. "description": "用户名称(交易用户)",
  20765. "type": "string"
  20766. }
  20767. }
  20768. },
  20769. "models.Ermcp3ExposureHedgeplanDetail": {
  20770. "type": "object",
  20771. "properties": {
  20772. "biztype": {
  20773. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20774. "type": "integer"
  20775. },
  20776. "changqty": {
  20777. "description": "应套保总量变化量",
  20778. "type": "number"
  20779. },
  20780. "contracttype": {
  20781. "description": "计划类型 - 1:采购 -1:销售",
  20782. "type": "integer"
  20783. },
  20784. "convertratio": {
  20785. "description": "折算系数(套保品种)",
  20786. "type": "number"
  20787. },
  20788. "deliverygoodscode": {
  20789. "description": "现货商品代码",
  20790. "type": "string"
  20791. },
  20792. "deliverygoodsid": {
  20793. "description": "现货商品id",
  20794. "type": "integer"
  20795. },
  20796. "deliverygoodsname": {
  20797. "description": "现货商吕名称",
  20798. "type": "string"
  20799. },
  20800. "dgunitid": {
  20801. "description": "现货商品单位id",
  20802. "type": "integer"
  20803. },
  20804. "dgunitidname": {
  20805. "description": "单位名称(现货商品)",
  20806. "type": "string"
  20807. },
  20808. "diffqty": {
  20809. "description": "套保品种今变动量",
  20810. "type": "number"
  20811. },
  20812. "enumdicname": {
  20813. "description": "单位名称(品类)",
  20814. "type": "string"
  20815. },
  20816. "hedgeplanid": {
  20817. "description": "套保计划id",
  20818. "type": "string"
  20819. },
  20820. "hedgeplanno": {
  20821. "description": "套保计划名称",
  20822. "type": "string"
  20823. },
  20824. "hedgeplanstatus": {
  20825. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20826. "type": "integer"
  20827. },
  20828. "mgunitidname": {
  20829. "description": "单位名称(套保商品)",
  20830. "type": "string"
  20831. },
  20832. "middlegoodscode": {
  20833. "description": "套保品种代码",
  20834. "type": "string"
  20835. },
  20836. "middlegoodsid": {
  20837. "description": "套保品种id",
  20838. "type": "integer"
  20839. },
  20840. "middlegoodsname": {
  20841. "description": "套保品种名称",
  20842. "type": "string"
  20843. },
  20844. "needarbitrageratio": {
  20845. "description": "应套利比例",
  20846. "type": "number"
  20847. },
  20848. "needhedgeratio": {
  20849. "description": "应套保比例",
  20850. "type": "number"
  20851. },
  20852. "pricedqty": {
  20853. "description": "已定价量",
  20854. "type": "number"
  20855. },
  20856. "qty": {
  20857. "description": "合同量",
  20858. "type": "number"
  20859. },
  20860. "tradedate": {
  20861. "description": "交易日(登记日)",
  20862. "type": "string"
  20863. },
  20864. "unitid": {
  20865. "description": "品类单位id",
  20866. "type": "integer"
  20867. },
  20868. "userid": {
  20869. "description": "机构id",
  20870. "type": "integer"
  20871. },
  20872. "wrstandardcode": {
  20873. "description": "品类代码",
  20874. "type": "string"
  20875. },
  20876. "wrstandardid": {
  20877. "description": "品类id",
  20878. "type": "integer"
  20879. },
  20880. "wrstandardname": {
  20881. "description": "品类名称",
  20882. "type": "string"
  20883. }
  20884. }
  20885. },
  20886. "models.Ermcp3ExposureParamChLog": {
  20887. "type": "object",
  20888. "properties": {
  20889. "accountid": {
  20890. "description": "期货账户ID (作废, 默认为0)",
  20891. "type": "integer"
  20892. },
  20893. "aftervalue": {
  20894. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20895. "type": "number"
  20896. },
  20897. "areauserid": {
  20898. "description": "所属机构\\交易用户ID",
  20899. "type": "integer"
  20900. },
  20901. "beforevalue": {
  20902. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20903. "type": "number"
  20904. },
  20905. "begindate": {
  20906. "description": "开始交易日",
  20907. "type": "string"
  20908. },
  20909. "changelogtype": {
  20910. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20911. "type": "integer"
  20912. },
  20913. "curvalue": {
  20914. "description": "当前套保\\套利量(套保总量|套利总量)",
  20915. "type": "number"
  20916. },
  20917. "diffvalue": {
  20918. "description": "应套保总量变化量",
  20919. "type": "number"
  20920. },
  20921. "enddate": {
  20922. "description": "结束交易日",
  20923. "type": "string"
  20924. },
  20925. "logdatetime": {
  20926. "description": "流水日期",
  20927. "type": "string"
  20928. },
  20929. "logid": {
  20930. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20931. "type": "string"
  20932. },
  20933. "middlegoodscode": {
  20934. "description": "套保品种代码",
  20935. "type": "string"
  20936. },
  20937. "middlegoodsid": {
  20938. "description": "套保品种",
  20939. "type": "integer"
  20940. },
  20941. "middlegoodsname": {
  20942. "description": "套保品种名称",
  20943. "type": "string"
  20944. },
  20945. "paramaftervalue": {
  20946. "description": "参数变更后(调整后参数值)",
  20947. "type": "number"
  20948. },
  20949. "parambeforevalue": {
  20950. "description": "参数变更前(调整前参数值)",
  20951. "type": "number"
  20952. },
  20953. "tradedate": {
  20954. "description": "交易日(yyyyMMdd)",
  20955. "type": "string"
  20956. }
  20957. }
  20958. },
  20959. "models.Ermcp3ExpourseReport": {
  20960. "type": "object",
  20961. "properties": {
  20962. "accountid": {
  20963. "description": "期货账户ID (作废, 默认为0)",
  20964. "type": "integer"
  20965. },
  20966. "accountname": {
  20967. "description": "机构名称",
  20968. "type": "string"
  20969. },
  20970. "arbitrageqty": {
  20971. "description": "套利量",
  20972. "type": "number"
  20973. },
  20974. "areauserid": {
  20975. "description": "所属机构\\交易用户ID",
  20976. "type": "integer"
  20977. },
  20978. "begindate": {
  20979. "description": "开始交易日",
  20980. "type": "string"
  20981. },
  20982. "buyfutureqty": {
  20983. "description": "买入期货数量",
  20984. "type": "number"
  20985. },
  20986. "buyplanqty": {
  20987. "description": "采购计划数量",
  20988. "type": "number"
  20989. },
  20990. "buypricedqty": {
  20991. "description": "采购合同已定价数量",
  20992. "type": "number"
  20993. },
  20994. "cycletime": {
  20995. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20996. "type": "string"
  20997. },
  20998. "cycletype": {
  20999. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21000. "type": "integer"
  21001. },
  21002. "diffexposure": {
  21003. "description": "变动量(套保敞口)",
  21004. "type": "number"
  21005. },
  21006. "difffutuqty": {
  21007. "description": "变动量(期货)",
  21008. "type": "number"
  21009. },
  21010. "diffhedgeqty": {
  21011. "description": "变动量(现货应套保总量)",
  21012. "type": "number"
  21013. },
  21014. "diffmgqtya": {
  21015. "description": "套保变动量",
  21016. "type": "number"
  21017. },
  21018. "diffmgqtyb": {
  21019. "description": "套利变动量",
  21020. "type": "number"
  21021. },
  21022. "diffqty": {
  21023. "description": "变动量(总敞口)",
  21024. "type": "number"
  21025. },
  21026. "diffspotqty": {
  21027. "description": "变动量(现货)",
  21028. "type": "number"
  21029. },
  21030. "enddate": {
  21031. "description": "结束交易日",
  21032. "type": "string"
  21033. },
  21034. "enumdicname": {
  21035. "description": "单位名称",
  21036. "type": "string"
  21037. },
  21038. "hedgeqty": {
  21039. "description": "套保量",
  21040. "type": "number"
  21041. },
  21042. "mgneedhedgeratio": {
  21043. "description": "套保比例(套保品的)",
  21044. "type": "number"
  21045. },
  21046. "middlegoodsid": {
  21047. "description": "套保品种ID",
  21048. "type": "integer"
  21049. },
  21050. "middlegoodsname": {
  21051. "description": "套保商品名称",
  21052. "type": "string"
  21053. },
  21054. "middlgoodscode": {
  21055. "description": "套保商品代码",
  21056. "type": "string"
  21057. },
  21058. "needarbitrageqty": {
  21059. "description": "应套利量",
  21060. "type": "number"
  21061. },
  21062. "needarbitrageratio": {
  21063. "description": "套利比例(套保品的)",
  21064. "type": "number"
  21065. },
  21066. "needhedgeexposoure": {
  21067. "description": "应套保敞口(套保敞口)",
  21068. "type": "number"
  21069. },
  21070. "needhedgeqty": {
  21071. "description": "应套保量",
  21072. "type": "number"
  21073. },
  21074. "needhedgeratio": {
  21075. "description": "应套保敞口比例",
  21076. "type": "number"
  21077. },
  21078. "oriarbitrageqty": {
  21079. "description": "期初套利量",
  21080. "type": "number"
  21081. },
  21082. "oribuyfutureqty": {
  21083. "description": "期初买入期货数量",
  21084. "type": "number"
  21085. },
  21086. "oribuyplanqty": {
  21087. "description": "期初采购计划数量",
  21088. "type": "number"
  21089. },
  21090. "oribuypricedqty": {
  21091. "description": "期初采购合同已定价数量",
  21092. "type": "number"
  21093. },
  21094. "orihedgeqty": {
  21095. "description": "期初套保量",
  21096. "type": "number"
  21097. },
  21098. "orineedarbitrageqty": {
  21099. "description": "期初应套利量",
  21100. "type": "number"
  21101. },
  21102. "orineedhedgeexposoure": {
  21103. "description": "期初应套保敞口",
  21104. "type": "number"
  21105. },
  21106. "orineedhedgeqty": {
  21107. "description": "期初应套保量",
  21108. "type": "number"
  21109. },
  21110. "orisellfutureqty": {
  21111. "description": "期初卖出期货数量",
  21112. "type": "number"
  21113. },
  21114. "orisellplanqty": {
  21115. "description": "期初销售计划数量",
  21116. "type": "number"
  21117. },
  21118. "orisellpricedqty": {
  21119. "description": "期初销售合同已定价数量",
  21120. "type": "number"
  21121. },
  21122. "oritotalexposure": {
  21123. "description": "期初实时总敞口",
  21124. "type": "number"
  21125. },
  21126. "oritotalfutureqty": {
  21127. "description": "期初期货头寸总量",
  21128. "type": "number"
  21129. },
  21130. "oritotalneedhedgeqty": {
  21131. "description": "期初应套保总量",
  21132. "type": "number"
  21133. },
  21134. "oritotalspotqty": {
  21135. "description": "期初现货头寸总量",
  21136. "type": "number"
  21137. },
  21138. "reckondate": {
  21139. "description": "日照时期(yyyyMMdd)",
  21140. "type": "string"
  21141. },
  21142. "sellfutureqty": {
  21143. "description": "卖出期货数量",
  21144. "type": "number"
  21145. },
  21146. "sellplanqty": {
  21147. "description": "销售计划数量",
  21148. "type": "number"
  21149. },
  21150. "sellpricedqty": {
  21151. "description": "销售合同已定价数量",
  21152. "type": "number"
  21153. },
  21154. "totalexposure": {
  21155. "description": "实时总敞口(总敞口)",
  21156. "type": "number"
  21157. },
  21158. "totalfutureqty": {
  21159. "description": "期货头寸总量(期货总量)",
  21160. "type": "number"
  21161. },
  21162. "totalhedgeratio": {
  21163. "description": "敞口比例",
  21164. "type": "number"
  21165. },
  21166. "totalneedhedgeqty": {
  21167. "description": "应套保总量(现货应套保总量)",
  21168. "type": "number"
  21169. },
  21170. "totalspotqty": {
  21171. "description": "现货头寸总量",
  21172. "type": "number"
  21173. },
  21174. "unitid": {
  21175. "description": "单位id",
  21176. "type": "integer"
  21177. },
  21178. "updatetime": {
  21179. "description": "更新时间",
  21180. "type": "string"
  21181. }
  21182. }
  21183. },
  21184. "models.Ermcp3FinanceReport": {
  21185. "type": "object",
  21186. "properties": {
  21187. "accountname": {
  21188. "description": "机构名称",
  21189. "type": "string"
  21190. },
  21191. "areauserid": {
  21192. "description": "所属机构\\交易用户ID",
  21193. "type": "integer"
  21194. },
  21195. "begindate": {
  21196. "description": "开始交易日",
  21197. "type": "string"
  21198. },
  21199. "biztype": {
  21200. "description": "业务类型 - 1:套保 2:套利",
  21201. "type": "integer"
  21202. },
  21203. "brandname": {
  21204. "description": "品牌名称",
  21205. "type": "string"
  21206. },
  21207. "buypreinvoicedamount": {
  21208. "description": "采购预收票额(预收票额)",
  21209. "type": "number"
  21210. },
  21211. "buyprepaidamount": {
  21212. "description": "采购预付款额(预付货款额)",
  21213. "type": "number"
  21214. },
  21215. "buytodayinvoiceamount": {
  21216. "description": "采购今收票额(今收票额)",
  21217. "type": "number"
  21218. },
  21219. "buytodayrefundamount": {
  21220. "description": "采购今收退款额(今收退款额)",
  21221. "type": "number"
  21222. },
  21223. "buytodaysettleamount": {
  21224. "description": "采购今付款额(今付货款额)",
  21225. "type": "number"
  21226. },
  21227. "buyuninvoicedamount": {
  21228. "description": "采购应收票额(应收票额)",
  21229. "type": "number"
  21230. },
  21231. "buyunpaidamount": {
  21232. "description": "采购应付款额(应付货款额)",
  21233. "type": "number"
  21234. },
  21235. "currencyid": {
  21236. "description": "结算币种ID",
  21237. "type": "integer"
  21238. },
  21239. "currencyname": {
  21240. "description": "币种名称",
  21241. "type": "string"
  21242. },
  21243. "cycletime": {
  21244. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21245. "type": "string"
  21246. },
  21247. "cycletype": {
  21248. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21249. "type": "integer"
  21250. },
  21251. "deliverygoodscode": {
  21252. "description": "现货品种代码",
  21253. "type": "string"
  21254. },
  21255. "deliverygoodsid": {
  21256. "description": "现货品种ID",
  21257. "type": "integer"
  21258. },
  21259. "deliverygoodsname": {
  21260. "description": "现货品种名称",
  21261. "type": "string"
  21262. },
  21263. "enddate": {
  21264. "description": "结束交易日",
  21265. "type": "string"
  21266. },
  21267. "reckondate": {
  21268. "description": "日照时期(yyyyMMdd)",
  21269. "type": "string"
  21270. },
  21271. "sellpreinvoicedamount": {
  21272. "description": "销售预开票额(预开票额)",
  21273. "type": "number"
  21274. },
  21275. "sellprepaidamount": {
  21276. "description": "销售预收款额(预收货款额)",
  21277. "type": "number"
  21278. },
  21279. "selltodayinvoiceamount": {
  21280. "description": "销售今开票额(今开票额)",
  21281. "type": "number"
  21282. },
  21283. "selltodayrefundamount": {
  21284. "description": "销售今付退款额(今付退款额)",
  21285. "type": "number"
  21286. },
  21287. "selltodaysettleamount": {
  21288. "description": "销售今收款额(今收货款额)",
  21289. "type": "number"
  21290. },
  21291. "selluninvoicedamount": {
  21292. "description": "销售应开票额(应开票额)",
  21293. "type": "number"
  21294. },
  21295. "sellunpaidamount": {
  21296. "description": "销售应收款额(应收货款额)",
  21297. "type": "number"
  21298. },
  21299. "spotgoodsbrandid": {
  21300. "description": "现货品牌ID",
  21301. "type": "integer"
  21302. },
  21303. "todaypaysum": {
  21304. "description": "今付款合计",
  21305. "type": "number"
  21306. },
  21307. "todayreceivesum": {
  21308. "description": "今收款合计",
  21309. "type": "number"
  21310. },
  21311. "updatetime": {
  21312. "description": "更新时间",
  21313. "type": "string"
  21314. },
  21315. "wrfactortypeid": {
  21316. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21317. "type": "integer"
  21318. },
  21319. "wrstandardcode": {
  21320. "description": "品类代码",
  21321. "type": "string"
  21322. },
  21323. "wrstandardid": {
  21324. "description": "现货商品ID",
  21325. "type": "integer"
  21326. },
  21327. "wrstandardname": {
  21328. "description": "品类名称",
  21329. "type": "string"
  21330. }
  21331. }
  21332. },
  21333. "models.Ermcp3GoodsGroup": {
  21334. "type": "object",
  21335. "required": [
  21336. "areauserid"
  21337. ],
  21338. "properties": {
  21339. "agreeunit": {
  21340. "description": "合约单位",
  21341. "type": "number"
  21342. },
  21343. "areauserid": {
  21344. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21345. "type": "integer"
  21346. },
  21347. "canshort": {
  21348. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21349. "type": "integer"
  21350. },
  21351. "closepricemode": {
  21352. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21353. "type": "integer"
  21354. },
  21355. "createtime": {
  21356. "description": "创建时间",
  21357. "type": "string"
  21358. },
  21359. "creatorid": {
  21360. "description": "创建人",
  21361. "type": "integer"
  21362. },
  21363. "currencyid": {
  21364. "description": "报价货币ID",
  21365. "type": "integer"
  21366. },
  21367. "decimalplace": {
  21368. "description": "报价小数位",
  21369. "type": "integer"
  21370. },
  21371. "enumdicname": {
  21372. "description": "单位名称",
  21373. "type": "string"
  21374. },
  21375. "exchangefullname": {
  21376. "description": "交易所全称",
  21377. "type": "string"
  21378. },
  21379. "excludecfg": {
  21380. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21381. "type": "integer"
  21382. },
  21383. "exexchangecode": {
  21384. "description": "交易所代码",
  21385. "type": "string"
  21386. },
  21387. "exexchangeid": {
  21388. "description": "外部交易所ID[通道交易]",
  21389. "type": "integer"
  21390. },
  21391. "exexchangename": {
  21392. "description": "交易所名称",
  21393. "type": "string"
  21394. },
  21395. "goodsgroupid": {
  21396. "description": "商品组ID(自增ID)",
  21397. "type": "integer"
  21398. },
  21399. "goodsgroupname": {
  21400. "description": "商品组名称",
  21401. "type": "string"
  21402. },
  21403. "goodsgroupstatus": {
  21404. "description": "商品组状态 - 1:正常 2:注销",
  21405. "type": "integer"
  21406. },
  21407. "goodunitid": {
  21408. "description": "报价单位ID",
  21409. "type": "integer"
  21410. },
  21411. "groupcategroyid": {
  21412. "description": "品种分类ID",
  21413. "type": "integer"
  21414. },
  21415. "innerdealmode": {
  21416. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21417. "type": "integer"
  21418. },
  21419. "marketid": {
  21420. "description": "所属市场ID",
  21421. "type": "integer"
  21422. },
  21423. "modifierid": {
  21424. "description": "修改人",
  21425. "type": "integer"
  21426. },
  21427. "modifytime": {
  21428. "description": "修改时间",
  21429. "type": "string"
  21430. },
  21431. "outerdealmode": {
  21432. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21433. "type": "integer"
  21434. },
  21435. "outergroupcode": {
  21436. "description": "外部商品组代码[通道交易]",
  21437. "type": "string"
  21438. },
  21439. "quoteminunit": {
  21440. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21441. "type": "integer"
  21442. },
  21443. "quotesourcegroupid": {
  21444. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21445. "type": "integer"
  21446. },
  21447. "syncgoodsqty": {
  21448. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21449. "type": "integer"
  21450. }
  21451. }
  21452. },
  21453. "models.Ermcp3HedgePlan": {
  21454. "type": "object",
  21455. "properties": {
  21456. "accountid": {
  21457. "description": "资金账号",
  21458. "type": "integer"
  21459. },
  21460. "areauserid": {
  21461. "description": "用户ID",
  21462. "type": "integer"
  21463. },
  21464. "auditid": {
  21465. "description": "审核id",
  21466. "type": "integer"
  21467. },
  21468. "auditname": {
  21469. "description": "审核人名称",
  21470. "type": "string"
  21471. },
  21472. "auditremark": {
  21473. "description": "审核备注",
  21474. "type": "string"
  21475. },
  21476. "auditsrc": {
  21477. "description": "审核来源 1-管理端 2-终端",
  21478. "type": "integer"
  21479. },
  21480. "audittime": {
  21481. "description": "审核时间",
  21482. "type": "string"
  21483. },
  21484. "contracttype": {
  21485. "description": "计划类型 - 1:采购 -1:销售",
  21486. "type": "integer"
  21487. },
  21488. "convertfactor": {
  21489. "description": "标仓系数",
  21490. "type": "number"
  21491. },
  21492. "createtime": {
  21493. "description": "创建时间",
  21494. "type": "string"
  21495. },
  21496. "currencyid": {
  21497. "description": "币种id",
  21498. "type": "integer"
  21499. },
  21500. "currencyname": {
  21501. "description": "币种名称",
  21502. "type": "string"
  21503. },
  21504. "deliverygoodscode": {
  21505. "description": "现货品种代码",
  21506. "type": "string"
  21507. },
  21508. "deliverygoodsid": {
  21509. "description": "现货品种ID",
  21510. "type": "integer"
  21511. },
  21512. "deliverygoodsname": {
  21513. "description": "现货品种名称",
  21514. "type": "string"
  21515. },
  21516. "enumdicname": {
  21517. "description": "单位名称(现货商品)",
  21518. "type": "string"
  21519. },
  21520. "hedgeplanid": {
  21521. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21522. "type": "string"
  21523. },
  21524. "hedgeplanno": {
  21525. "description": "套保计划编号(名称)",
  21526. "type": "string"
  21527. },
  21528. "hedgeplanstatus": {
  21529. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21530. "type": "integer"
  21531. },
  21532. "planqty": {
  21533. "description": "计划数量",
  21534. "type": "number"
  21535. },
  21536. "plantime": {
  21537. "description": "计划时间",
  21538. "type": "string"
  21539. },
  21540. "producttype": {
  21541. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21542. "type": "integer"
  21543. },
  21544. "remark": {
  21545. "description": "备注",
  21546. "type": "string"
  21547. },
  21548. "spotgoodsdesc": {
  21549. "description": "商品型号",
  21550. "type": "string"
  21551. },
  21552. "taaccountname": {
  21553. "description": "资金账号名称",
  21554. "type": "string"
  21555. },
  21556. "tradeuserid": {
  21557. "description": "交易用户id",
  21558. "type": "integer"
  21559. },
  21560. "tradeusername": {
  21561. "description": "交易用户名称",
  21562. "type": "string"
  21563. },
  21564. "unitid": {
  21565. "description": "单位id(现货商品)",
  21566. "type": "integer"
  21567. },
  21568. "updatetime": {
  21569. "description": "更新时间",
  21570. "type": "string"
  21571. },
  21572. "vatrate": {
  21573. "description": "增值税率",
  21574. "type": "number"
  21575. },
  21576. "wrstandardcode": {
  21577. "description": "品类代码",
  21578. "type": "string"
  21579. },
  21580. "wrstandardid": {
  21581. "description": "品类id",
  21582. "type": "integer"
  21583. },
  21584. "wrstandardname": {
  21585. "description": "品类名称",
  21586. "type": "string"
  21587. },
  21588. "wrunitid": {
  21589. "description": "品类单位id",
  21590. "type": "integer"
  21591. },
  21592. "wrunitidame": {
  21593. "description": "品类单位名称",
  21594. "type": "string"
  21595. }
  21596. }
  21597. },
  21598. "models.Ermcp3InnerTradeLink": {
  21599. "type": "object",
  21600. "properties": {
  21601. "accountid": {
  21602. "description": "期货账号代码 | 资金账号ID",
  21603. "type": "integer"
  21604. },
  21605. "buyorsell": {
  21606. "description": "方向 - 0:买 1:卖",
  21607. "type": "integer"
  21608. },
  21609. "channelbuildtype": {
  21610. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21611. "type": "integer"
  21612. },
  21613. "currencyid": {
  21614. "description": "币种id",
  21615. "type": "integer"
  21616. },
  21617. "currencyname": {
  21618. "description": "结算币种 名称",
  21619. "type": "string"
  21620. },
  21621. "goodscode": {
  21622. "description": "商品代码",
  21623. "type": "string"
  21624. },
  21625. "goodsid": {
  21626. "description": "商品ID",
  21627. "type": "integer"
  21628. },
  21629. "goodsname": {
  21630. "description": "商品名称",
  21631. "type": "string"
  21632. },
  21633. "outtradeid": {
  21634. "description": "外部成交单号",
  21635. "type": "string"
  21636. },
  21637. "taname": {
  21638. "description": "期货账户名称",
  21639. "type": "string"
  21640. },
  21641. "tradeid": {
  21642. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21643. "type": "string"
  21644. },
  21645. "tradeprice": {
  21646. "description": "成交价格",
  21647. "type": "number"
  21648. },
  21649. "tradeqty": {
  21650. "description": "期货成交数量",
  21651. "type": "integer"
  21652. },
  21653. "tradetime": {
  21654. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21655. "type": "string"
  21656. },
  21657. "username": {
  21658. "description": "用户名称",
  21659. "type": "string"
  21660. }
  21661. }
  21662. },
  21663. "models.Ermcp3OutTradeLink": {
  21664. "type": "object",
  21665. "properties": {
  21666. "buyorsell": {
  21667. "description": "买卖方向 - 0:买 1:卖",
  21668. "type": "integer"
  21669. },
  21670. "channelbuildtype": {
  21671. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21672. "type": "integer"
  21673. },
  21674. "currencyname": {
  21675. "description": "币种名称",
  21676. "type": "string"
  21677. },
  21678. "exexchangecode": {
  21679. "description": "交易所代码",
  21680. "type": "string"
  21681. },
  21682. "exexchangename": {
  21683. "description": "交易所名称",
  21684. "type": "string"
  21685. },
  21686. "goodscode": {
  21687. "description": "合约代码",
  21688. "type": "string"
  21689. },
  21690. "goodsid": {
  21691. "description": "合约id",
  21692. "type": "integer"
  21693. },
  21694. "goodsname": {
  21695. "description": "合约名称",
  21696. "type": "string"
  21697. },
  21698. "hasinnerorder": {
  21699. "description": "是否有内部单关联 - 0:无 1:有",
  21700. "type": "integer"
  21701. },
  21702. "hedgeaccountcode": {
  21703. "description": "外部账号 | 对冲账号",
  21704. "type": "string"
  21705. },
  21706. "outtradeid": {
  21707. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21708. "type": "string"
  21709. },
  21710. "tradeprice": {
  21711. "description": "成交价格",
  21712. "type": "number"
  21713. },
  21714. "tradeqty": {
  21715. "description": "成交数量",
  21716. "type": "integer"
  21717. },
  21718. "tradetime": {
  21719. "description": "成交时间",
  21720. "type": "string"
  21721. }
  21722. }
  21723. },
  21724. "models.Ermcp3PaAreaAuditCfg": {
  21725. "type": "object",
  21726. "properties": {
  21727. "areauserid": {
  21728. "description": "用户ID",
  21729. "type": "integer"
  21730. },
  21731. "buyinauditflag": {
  21732. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21733. "type": "integer"
  21734. },
  21735. "costratioauditflag": {
  21736. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21737. "type": "integer"
  21738. },
  21739. "customerauditflag": {
  21740. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21741. "type": "integer"
  21742. },
  21743. "deliveryauditflag": {
  21744. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21745. "type": "integer"
  21746. },
  21747. "invoiceauditflag": {
  21748. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21749. "type": "integer"
  21750. },
  21751. "mgneedhedgeratioauditflag": {
  21752. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21753. "type": "integer"
  21754. },
  21755. "moneyauditflag": {
  21756. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21757. "type": "integer"
  21758. },
  21759. "operatorid": {
  21760. "description": "操作人",
  21761. "type": "integer"
  21762. },
  21763. "operatorsrc": {
  21764. "description": "操作来源 - 1:管理端 2:终端",
  21765. "type": "integer"
  21766. },
  21767. "pointpriceauditflag": {
  21768. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21769. "type": "integer"
  21770. },
  21771. "produceinauditflag": {
  21772. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21773. "type": "integer"
  21774. },
  21775. "produceoutauditflag": {
  21776. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21777. "type": "integer"
  21778. },
  21779. "selloutauditflag": {
  21780. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21781. "type": "integer"
  21782. },
  21783. "sgconvertratioauditflag": {
  21784. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21785. "type": "integer"
  21786. },
  21787. "sgvtaratioauditflag": {
  21788. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21789. "type": "integer"
  21790. },
  21791. "spotcontractauditflag": {
  21792. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21793. "type": "integer"
  21794. },
  21795. "updatetime": {
  21796. "description": "更新时间",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Ermcp3PaAreaSubject": {
  21802. "type": "object",
  21803. "properties": {
  21804. "areauserid": {
  21805. "description": "所属机构",
  21806. "type": "integer"
  21807. },
  21808. "canmodify": {
  21809. "description": "是否可修改 - 0:否 1:是",
  21810. "type": "integer"
  21811. },
  21812. "createtime": {
  21813. "description": "创建时间",
  21814. "type": "string"
  21815. },
  21816. "creatorid": {
  21817. "description": "创建人ID",
  21818. "type": "string"
  21819. },
  21820. "creatorsrc": {
  21821. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21822. "type": "integer"
  21823. },
  21824. "modifierid": {
  21825. "description": "修改人",
  21826. "type": "string"
  21827. },
  21828. "modifiersrc": {
  21829. "description": "修改人来源 - 1:管理端 2:终端",
  21830. "type": "integer"
  21831. },
  21832. "modifytime": {
  21833. "description": "修改时间",
  21834. "type": "string"
  21835. },
  21836. "parentsubjectid": {
  21837. "description": "上级主体ID",
  21838. "type": "string"
  21839. },
  21840. "remark": {
  21841. "description": "备注",
  21842. "type": "string"
  21843. },
  21844. "subjectid": {
  21845. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21846. "type": "integer"
  21847. },
  21848. "subjectname": {
  21849. "description": "主体名称",
  21850. "type": "string"
  21851. },
  21852. "subjectstatus": {
  21853. "description": "主体状态 - 1:正常 2: 停用",
  21854. "type": "integer"
  21855. },
  21856. "subjecttype": {
  21857. "description": "主体类型 - 1:交易主体 2:业务部门",
  21858. "type": "integer"
  21859. }
  21860. }
  21861. },
  21862. "models.Ermcp3PaTradeLink": {
  21863. "type": "object",
  21864. "properties": {
  21865. "accountid": {
  21866. "description": "期货账户代码 | 账号ID",
  21867. "type": "integer"
  21868. },
  21869. "agreeunit": {
  21870. "description": "合约乘数",
  21871. "type": "number"
  21872. },
  21873. "buyorsell": {
  21874. "description": "方向 - 0:买 1:卖",
  21875. "type": "integer"
  21876. },
  21877. "channelbuildtype": {
  21878. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21879. "type": "integer"
  21880. },
  21881. "charge": {
  21882. "description": "手续费",
  21883. "type": "number"
  21884. },
  21885. "closepl": {
  21886. "description": "平仓盈亏",
  21887. "type": "number"
  21888. },
  21889. "closetype": {
  21890. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21891. "type": "integer"
  21892. },
  21893. "convertratio": {
  21894. "description": "折算系数",
  21895. "type": "number"
  21896. },
  21897. "enumdicname": {
  21898. "description": "单位名称",
  21899. "type": "string"
  21900. },
  21901. "executeprice": {
  21902. "description": "执行价 [期权]",
  21903. "type": "integer"
  21904. },
  21905. "goodscode": {
  21906. "description": "合约代码",
  21907. "type": "string"
  21908. },
  21909. "goodsgroupid": {
  21910. "description": "对冲品种ID[期货合约商品组ID]",
  21911. "type": "integer"
  21912. },
  21913. "goodsid": {
  21914. "description": "商品ID",
  21915. "type": "integer"
  21916. },
  21917. "goodsname": {
  21918. "description": "合约名称",
  21919. "type": "string"
  21920. },
  21921. "goodunitid": {
  21922. "description": "单位id",
  21923. "type": "integer"
  21924. },
  21925. "hedgeflag": {
  21926. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21927. "type": "integer"
  21928. },
  21929. "marketid": {
  21930. "description": "市场ID",
  21931. "type": "integer"
  21932. },
  21933. "middlegoodsid": {
  21934. "description": "套保品种ID",
  21935. "type": "integer"
  21936. },
  21937. "middlegoodsqty": {
  21938. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21939. "type": "number"
  21940. },
  21941. "optioncode": {
  21942. "description": "期权代码 [期权]",
  21943. "type": "string"
  21944. },
  21945. "ordertype": {
  21946. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21947. "type": "integer"
  21948. },
  21949. "ordertypename": {
  21950. "description": "订单类型",
  21951. "type": "string"
  21952. },
  21953. "parentaccountid": {
  21954. "description": "所属母账户",
  21955. "type": "integer"
  21956. },
  21957. "premium": {
  21958. "description": "权利金 [期权]",
  21959. "type": "number"
  21960. },
  21961. "relatedlot": {
  21962. "description": "已关联数量(已关联数量手) | db:关联手数",
  21963. "type": "number"
  21964. },
  21965. "relatedouttradeid": {
  21966. "description": "关联外部成交单ID",
  21967. "type": "string"
  21968. },
  21969. "relatedqty": {
  21970. "description": "关联数量",
  21971. "type": "number"
  21972. },
  21973. "spotcontractid": {
  21974. "description": "现货合同ID [4:套期保值\\10\\11]",
  21975. "type": "string"
  21976. },
  21977. "taname": {
  21978. "description": "期货账户名称",
  21979. "type": "string"
  21980. },
  21981. "tradeamount": {
  21982. "description": "成交金额(账户)",
  21983. "type": "number"
  21984. },
  21985. "tradedate": {
  21986. "description": "交易日(yyyyMMdd)",
  21987. "type": "string"
  21988. },
  21989. "tradeid": {
  21990. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21991. "type": "string"
  21992. },
  21993. "tradelot": {
  21994. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21995. "type": "integer"
  21996. },
  21997. "tradeprice": {
  21998. "description": "成交价格",
  21999. "type": "number"
  22000. },
  22001. "tradetime": {
  22002. "description": "时间 | db:成交时间",
  22003. "type": "string"
  22004. },
  22005. "tradetype": {
  22006. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22007. "type": "integer"
  22008. },
  22009. "userid": {
  22010. "description": "所属机构 - 所属母账户的UserID",
  22011. "type": "string"
  22012. },
  22013. "username": {
  22014. "description": "用户名称",
  22015. "type": "string"
  22016. }
  22017. }
  22018. },
  22019. "models.Ermcp3ParamChangeApp": {
  22020. "type": "object",
  22021. "properties": {
  22022. "aftervalue": {
  22023. "description": "变更后",
  22024. "type": "number"
  22025. },
  22026. "applicationid": {
  22027. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22028. "type": "string"
  22029. },
  22030. "applyid": {
  22031. "description": "申请人",
  22032. "type": "string"
  22033. },
  22034. "applyname": {
  22035. "description": "申请人名称(代码)",
  22036. "type": "string"
  22037. },
  22038. "applyremark": {
  22039. "description": "申请备注",
  22040. "type": "string"
  22041. },
  22042. "applysrc": {
  22043. "description": "申请来源 - 1:管理端 2:终端",
  22044. "type": "integer"
  22045. },
  22046. "applystatus": {
  22047. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22048. "type": "integer"
  22049. },
  22050. "applytime": {
  22051. "description": "申请时间",
  22052. "type": "string"
  22053. },
  22054. "areauserid": {
  22055. "description": "所属机构用户ID",
  22056. "type": "integer"
  22057. },
  22058. "auditid": {
  22059. "description": "审核人",
  22060. "type": "string"
  22061. },
  22062. "auditname": {
  22063. "description": "审核人名称(代码)",
  22064. "type": "string"
  22065. },
  22066. "auditremark": {
  22067. "description": "审核备注",
  22068. "type": "string"
  22069. },
  22070. "auditsrc": {
  22071. "description": "审核来源 - 1:管理端 2:终端",
  22072. "type": "integer"
  22073. },
  22074. "audittime": {
  22075. "description": "审核时间",
  22076. "type": "string"
  22077. },
  22078. "audittradedate": {
  22079. "description": "审核交易日(yyyyMMdd)",
  22080. "type": "string"
  22081. },
  22082. "beforevalue": {
  22083. "description": "变更前",
  22084. "type": "number"
  22085. },
  22086. "deliverygoodscode": {
  22087. "description": "品种代码",
  22088. "type": "string"
  22089. },
  22090. "deliverygoodsid": {
  22091. "description": "品种id",
  22092. "type": "integer"
  22093. },
  22094. "deliverygoodsname": {
  22095. "description": "品种名称",
  22096. "type": "string"
  22097. },
  22098. "middlegoodscode": {
  22099. "description": "套保品种代码",
  22100. "type": "string"
  22101. },
  22102. "middlegoodsid": {
  22103. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22104. "type": "integer"
  22105. },
  22106. "middlegoodsname": {
  22107. "description": "套保品种名称",
  22108. "type": "string"
  22109. },
  22110. "operatetype": {
  22111. "description": "操作类型 - 1:新增 2:修改",
  22112. "type": "integer"
  22113. },
  22114. "paramchangetype": {
  22115. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22116. "type": "integer"
  22117. },
  22118. "wrstandardcode": {
  22119. "description": "现货商品代码",
  22120. "type": "string"
  22121. },
  22122. "wrstandardid": {
  22123. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22124. "type": "integer"
  22125. },
  22126. "wrstandardname": {
  22127. "description": "现货商品名称",
  22128. "type": "string"
  22129. }
  22130. }
  22131. },
  22132. "models.Ermcp3RootUserAccount": {
  22133. "type": "object",
  22134. "properties": {
  22135. "accountname": {
  22136. "description": "账户名称(机构名称)",
  22137. "type": "string"
  22138. },
  22139. "accountstatus": {
  22140. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22141. "type": "integer"
  22142. },
  22143. "applysrc": {
  22144. "description": "申请来源 - 1:管理端 2:终端",
  22145. "type": "integer"
  22146. },
  22147. "auditremark": {
  22148. "description": "审核备注",
  22149. "type": "string"
  22150. },
  22151. "auditsrc": {
  22152. "description": "审核来源 - 1:管理端 2:终端",
  22153. "type": "integer"
  22154. },
  22155. "audittime": {
  22156. "description": "审核时间",
  22157. "type": "string"
  22158. },
  22159. "audituserid": {
  22160. "description": "审核人",
  22161. "type": "integer"
  22162. },
  22163. "broker": {
  22164. "description": "所属经纪人ID",
  22165. "type": "integer"
  22166. },
  22167. "canceltime": {
  22168. "description": "销户时间",
  22169. "type": "string"
  22170. },
  22171. "canceluserid": {
  22172. "description": "销户人",
  22173. "type": "integer"
  22174. },
  22175. "canrecommend": {
  22176. "description": "是否可推荐 - 0:不可 1;可",
  22177. "type": "integer"
  22178. },
  22179. "createtime": {
  22180. "description": "创建时间",
  22181. "type": "string"
  22182. },
  22183. "creatorid": {
  22184. "description": "创建人",
  22185. "type": "integer"
  22186. },
  22187. "hasauth": {
  22188. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22189. "type": "integer"
  22190. },
  22191. "isanonymous": {
  22192. "description": "是否匿名下单 - 0:否 1:是",
  22193. "type": "integer"
  22194. },
  22195. "maxinvestornum": {
  22196. "description": "最大用户数(经纪会员下投资者个数)",
  22197. "type": "integer"
  22198. },
  22199. "memberuserid": {
  22200. "description": "所属会员ID",
  22201. "type": "integer"
  22202. },
  22203. "modifierid": {
  22204. "description": "修改人",
  22205. "type": "integer"
  22206. },
  22207. "modifyremark": {
  22208. "description": "变更备注",
  22209. "type": "string"
  22210. },
  22211. "modifystatus": {
  22212. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22213. "type": "integer"
  22214. },
  22215. "modifytime": {
  22216. "description": "修改时间",
  22217. "type": "string"
  22218. },
  22219. "parenttopuser": {
  22220. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22221. "type": "string"
  22222. },
  22223. "parentuserid": {
  22224. "description": "所属机构ID",
  22225. "type": "integer"
  22226. },
  22227. "reckonaccountid": {
  22228. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22229. "type": "integer"
  22230. },
  22231. "refercount": {
  22232. "description": "推荐总人数",
  22233. "type": "integer"
  22234. },
  22235. "refereeuserid": {
  22236. "description": "推荐人ID",
  22237. "type": "integer"
  22238. },
  22239. "refernum": {
  22240. "description": "推荐码",
  22241. "type": "string"
  22242. },
  22243. "rootuserid": {
  22244. "description": "根用户ID",
  22245. "type": "integer"
  22246. },
  22247. "subaccountlevel": {
  22248. "description": "子账户层数",
  22249. "type": "integer"
  22250. },
  22251. "subarealevelpath": {
  22252. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22253. "type": "string"
  22254. },
  22255. "userid": {
  22256. "description": "用户ID",
  22257. "type": "integer"
  22258. },
  22259. "usertype": {
  22260. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22261. "type": "integer"
  22262. }
  22263. }
  22264. },
  22265. "models.Ermcp3SCMiddleGoods": {
  22266. "type": "object",
  22267. "properties": {
  22268. "biztype": {
  22269. "description": "业务类型 1:套保 2:套利",
  22270. "type": "integer"
  22271. },
  22272. "contractno": {
  22273. "description": "合同编号",
  22274. "type": "string"
  22275. },
  22276. "contracttype": {
  22277. "description": "合同类型 1:采购 -1:销售",
  22278. "type": "integer"
  22279. },
  22280. "customername": {
  22281. "description": "对手手名称",
  22282. "type": "string"
  22283. },
  22284. "customeruserid": {
  22285. "description": "对手id",
  22286. "type": "integer"
  22287. },
  22288. "deliverygoodscode": {
  22289. "description": "现货品种代码",
  22290. "type": "string"
  22291. },
  22292. "deliverygoodsid": {
  22293. "description": "现货品种ID",
  22294. "type": "integer"
  22295. },
  22296. "deliverygoodsname": {
  22297. "description": "现货品种名称",
  22298. "type": "string"
  22299. },
  22300. "enumdicname": {
  22301. "description": "现货单位名称",
  22302. "type": "string"
  22303. },
  22304. "middlegoodsid": {
  22305. "description": "套保品种ID",
  22306. "type": "integer"
  22307. },
  22308. "middlegoodspricedqty3": {
  22309. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22310. "type": "number"
  22311. },
  22312. "needhedgeratio": {
  22313. "description": "套保比例",
  22314. "type": "number"
  22315. },
  22316. "pricedqty": {
  22317. "description": "已定价量",
  22318. "type": "number"
  22319. },
  22320. "relatedmiddlegoodsqty": {
  22321. "description": "已关联量(套保品种)(期货)",
  22322. "type": "number"
  22323. },
  22324. "spotcontractid": {
  22325. "description": "合同编号",
  22326. "type": "string"
  22327. },
  22328. "unitid": {
  22329. "description": "现货单位id",
  22330. "type": "integer"
  22331. },
  22332. "userid": {
  22333. "description": "用户id",
  22334. "type": "integer"
  22335. },
  22336. "vatrate": {
  22337. "description": "增值税率",
  22338. "type": "number"
  22339. },
  22340. "wrstandardcode": {
  22341. "description": "现货商品代码",
  22342. "type": "string"
  22343. },
  22344. "wrstandardid": {
  22345. "description": "现货商品id",
  22346. "type": "integer"
  22347. },
  22348. "wrstandardname": {
  22349. "description": "现货商品名称",
  22350. "type": "string"
  22351. }
  22352. }
  22353. },
  22354. "models.Ermcp3SCMiddleGoodsReport": {
  22355. "type": "object",
  22356. "properties": {
  22357. "begindate": {
  22358. "description": "开始交易日",
  22359. "type": "string"
  22360. },
  22361. "contractno": {
  22362. "description": "合同编号",
  22363. "type": "string"
  22364. },
  22365. "contracttype": {
  22366. "description": "合同类型 1:采购 -1:销售",
  22367. "type": "integer"
  22368. },
  22369. "convertratio": {
  22370. "description": "折算系数",
  22371. "type": "number"
  22372. },
  22373. "cycletime": {
  22374. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22375. "type": "string"
  22376. },
  22377. "cycletype": {
  22378. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22379. "type": "integer"
  22380. },
  22381. "deliverygoodscode": {
  22382. "description": "品种代码",
  22383. "type": "string"
  22384. },
  22385. "deliverygoodsid": {
  22386. "description": "现货品种ID",
  22387. "type": "integer"
  22388. },
  22389. "deliverygoodsname": {
  22390. "description": "品种名称",
  22391. "type": "string"
  22392. },
  22393. "diffprice": {
  22394. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22395. "type": "number"
  22396. },
  22397. "diffqty": {
  22398. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22399. "type": "number"
  22400. },
  22401. "enddate": {
  22402. "description": "结束交易日",
  22403. "type": "string"
  22404. },
  22405. "hedgeplanqty": {
  22406. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22407. "type": "number"
  22408. },
  22409. "matchname": {
  22410. "description": "交易对手方(个人:用户名称 企业:简称)",
  22411. "type": "string"
  22412. },
  22413. "middlegoodscode": {
  22414. "description": "套保品种代码",
  22415. "type": "string"
  22416. },
  22417. "middlegoodsid": {
  22418. "description": "套保品种ID",
  22419. "type": "integer"
  22420. },
  22421. "middlegoodsname": {
  22422. "description": "套保品种名称",
  22423. "type": "string"
  22424. },
  22425. "middlegoodspricedqty": {
  22426. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22427. "type": "number"
  22428. },
  22429. "middlegoodspricedqty2": {
  22430. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22431. "type": "number"
  22432. },
  22433. "middlegoodspricedqty3": {
  22434. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22435. "type": "number"
  22436. },
  22437. "needhedgeratio": {
  22438. "description": "套保系数",
  22439. "type": "number"
  22440. },
  22441. "pricedamount": {
  22442. "description": "已定价额(现货)",
  22443. "type": "number"
  22444. },
  22445. "pricedamount2": {
  22446. "description": "已定价额(现货-基价额)",
  22447. "type": "number"
  22448. },
  22449. "pricedqty": {
  22450. "description": "已定价量(现货)",
  22451. "type": "number"
  22452. },
  22453. "reckondate": {
  22454. "description": "日照时期(yyyyMMdd)",
  22455. "type": "string"
  22456. },
  22457. "relatedmiddlegoodsamount": {
  22458. "description": "已关联额(期货)",
  22459. "type": "number"
  22460. },
  22461. "relatedmiddlegoodsqty": {
  22462. "description": "已关联量(套保品种)(期货)",
  22463. "type": "number"
  22464. },
  22465. "spotcontractid": {
  22466. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22467. "type": "string"
  22468. },
  22469. "todayavgfutuprice": {
  22470. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22471. "type": "number"
  22472. },
  22473. "todayavgprice": {
  22474. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22475. "type": "number"
  22476. },
  22477. "todayavgprice2": {
  22478. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22479. "type": "number"
  22480. },
  22481. "todaypricedamount": {
  22482. "description": "今日定价额(现货)",
  22483. "type": "number"
  22484. },
  22485. "todaypricedamount2": {
  22486. "description": "今日定价额(现货-基价额)",
  22487. "type": "number"
  22488. },
  22489. "todaypricedqty": {
  22490. "description": "今日定价量(现货)",
  22491. "type": "number"
  22492. },
  22493. "todayrelatedfutureqty": {
  22494. "description": "今日关联量(期货)",
  22495. "type": "number"
  22496. },
  22497. "todayrelatedmiddlegoodsamount": {
  22498. "description": "今日关联额(期货)",
  22499. "type": "number"
  22500. },
  22501. "todayrelatedmiddlegoodsqty": {
  22502. "description": "今日关联量(套保品-期货)",
  22503. "type": "number"
  22504. },
  22505. "updatetime": {
  22506. "description": "更新时间",
  22507. "type": "string"
  22508. },
  22509. "userid": {
  22510. "description": "合同所属用户id",
  22511. "type": "integer"
  22512. },
  22513. "vatrate": {
  22514. "description": "增值税率",
  22515. "type": "number"
  22516. },
  22517. "wrstandardcode": {
  22518. "description": "商品(品类) 代码",
  22519. "type": "string"
  22520. },
  22521. "wrstandardid": {
  22522. "description": "现货商品ID",
  22523. "type": "integer"
  22524. },
  22525. "wrstandardname": {
  22526. "description": "商品(品类) 名称",
  22527. "type": "string"
  22528. }
  22529. }
  22530. },
  22531. "models.Ermcp3SellBuyContract": {
  22532. "type": "object",
  22533. "properties": {
  22534. "accountid": {
  22535. "description": "期货账户id",
  22536. "type": "string"
  22537. },
  22538. "accountname": {
  22539. "description": "账户名称",
  22540. "type": "string"
  22541. },
  22542. "attachment": {
  22543. "description": "附件",
  22544. "type": "string"
  22545. },
  22546. "audittime": {
  22547. "description": "审核时间",
  22548. "type": "string"
  22549. },
  22550. "biztype": {
  22551. "description": "业务类型 1-套保 2-套利",
  22552. "type": "integer"
  22553. },
  22554. "brandname": {
  22555. "description": "品牌名称",
  22556. "type": "string"
  22557. },
  22558. "contracctstatus": {
  22559. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22560. "type": "integer"
  22561. },
  22562. "contractmargin": {
  22563. "description": "合同保证金",
  22564. "type": "number"
  22565. },
  22566. "contractno": {
  22567. "description": "合同编号",
  22568. "type": "string"
  22569. },
  22570. "contracttype": {
  22571. "description": "合同类型 1-采购, -1-销售",
  22572. "type": "integer"
  22573. },
  22574. "convertfactor": {
  22575. "description": "标仓系数(品类)",
  22576. "type": "number"
  22577. },
  22578. "createtime": {
  22579. "description": "创建时间",
  22580. "type": "string"
  22581. },
  22582. "currencyid": {
  22583. "description": "币种id",
  22584. "type": "integer"
  22585. },
  22586. "currencyname": {
  22587. "description": "币种名称",
  22588. "type": "string"
  22589. },
  22590. "daikaiamount": {
  22591. "description": "应收(开)票额",
  22592. "type": "number"
  22593. },
  22594. "deliveryenddate": {
  22595. "description": "交割结束日",
  22596. "type": "string"
  22597. },
  22598. "deliverygoodscode": {
  22599. "description": "现货品种代码",
  22600. "type": "string"
  22601. },
  22602. "deliverygoodsid": {
  22603. "description": "现货商品ID",
  22604. "type": "integer"
  22605. },
  22606. "deliverygoodsname": {
  22607. "description": "现货品种名称",
  22608. "type": "string"
  22609. },
  22610. "deliverystartdate": {
  22611. "description": "交割开始日",
  22612. "type": "string"
  22613. },
  22614. "enddate": {
  22615. "description": "点价结束日",
  22616. "type": "string"
  22617. },
  22618. "enumdicname": {
  22619. "description": "单位名称",
  22620. "type": "string"
  22621. },
  22622. "goodscode": {
  22623. "description": "点价商品代码",
  22624. "type": "string"
  22625. },
  22626. "goodsid": {
  22627. "description": "点价商品ID",
  22628. "type": "integer"
  22629. },
  22630. "goodsname": {
  22631. "description": "点价商品名称",
  22632. "type": "string"
  22633. },
  22634. "invoiceamount": {
  22635. "description": "已开票额",
  22636. "type": "number"
  22637. },
  22638. "loanamount": {
  22639. "description": "贷款总额=已定价额+调整金额",
  22640. "type": "number"
  22641. },
  22642. "margin": {
  22643. "description": "保证金",
  22644. "type": "number"
  22645. },
  22646. "meruserid": {
  22647. "description": "跟单员id",
  22648. "type": "integer"
  22649. },
  22650. "meruserlogincode": {
  22651. "description": "跟单员登录代码",
  22652. "type": "string"
  22653. },
  22654. "merusername": {
  22655. "description": "跟单员名称",
  22656. "type": "string"
  22657. },
  22658. "nickname": {
  22659. "description": "账户昵称",
  22660. "type": "string"
  22661. },
  22662. "payamount": {
  22663. "description": "已收付额(收款或付款)",
  22664. "type": "number"
  22665. },
  22666. "preinvoiceamount": {
  22667. "description": "预收(开)票额",
  22668. "type": "number"
  22669. },
  22670. "prepayamount": {
  22671. "description": "预收付额",
  22672. "type": "number"
  22673. },
  22674. "price": {
  22675. "description": "价格",
  22676. "type": "number"
  22677. },
  22678. "pricedamount": {
  22679. "description": "已定价额",
  22680. "type": "number"
  22681. },
  22682. "pricedavg": {
  22683. "description": "已点均价",
  22684. "type": "number"
  22685. },
  22686. "pricedqty": {
  22687. "description": "已定价量",
  22688. "type": "number"
  22689. },
  22690. "pricemove": {
  22691. "description": "升贴水",
  22692. "type": "number"
  22693. },
  22694. "pricetype": {
  22695. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22696. "type": "integer"
  22697. },
  22698. "producttype": {
  22699. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22700. "type": "integer"
  22701. },
  22702. "qty": {
  22703. "description": "合同量",
  22704. "type": "number"
  22705. },
  22706. "reckonadjustamount": {
  22707. "description": "调整金额",
  22708. "type": "number"
  22709. },
  22710. "reckonedamount": {
  22711. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22712. "type": "number"
  22713. },
  22714. "reckonotheramount": {
  22715. "description": "其它费用",
  22716. "type": "number"
  22717. },
  22718. "reckonrealqty": {
  22719. "description": "已确定量",
  22720. "type": "number"
  22721. },
  22722. "remark": {
  22723. "description": "备注",
  22724. "type": "string"
  22725. },
  22726. "saleuserid": {
  22727. "description": "业务员id",
  22728. "type": "integer"
  22729. },
  22730. "saleuserlogincode": {
  22731. "description": "业务员登录代码",
  22732. "type": "string"
  22733. },
  22734. "saleusername": {
  22735. "description": "业务员名称",
  22736. "type": "string"
  22737. },
  22738. "spotcontractid": {
  22739. "description": "合同ID",
  22740. "type": "string"
  22741. },
  22742. "spotgoodsbrandid": {
  22743. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22744. "type": "integer"
  22745. },
  22746. "spotgoodsdesc": {
  22747. "description": "商品型号(商品规格)",
  22748. "type": "string"
  22749. },
  22750. "startdate": {
  22751. "description": "点价开始日",
  22752. "type": "string"
  22753. },
  22754. "subjectid": {
  22755. "description": "交易主体ID",
  22756. "type": "string"
  22757. },
  22758. "subjectname": {
  22759. "description": "交易主体名称",
  22760. "type": "string"
  22761. },
  22762. "totalamount": {
  22763. "description": "合计总额",
  22764. "type": "number"
  22765. },
  22766. "tradeuserid": {
  22767. "description": "交易员id",
  22768. "type": "integer"
  22769. },
  22770. "tradeuserlogincode": {
  22771. "description": "交易员登录代码",
  22772. "type": "string"
  22773. },
  22774. "tradeusername": {
  22775. "description": "交易员名称",
  22776. "type": "string"
  22777. },
  22778. "unpayamount": {
  22779. "description": "应收付款额(应支付或应收款)",
  22780. "type": "number"
  22781. },
  22782. "unpricedqty": {
  22783. "description": "未定价量",
  22784. "type": "number"
  22785. },
  22786. "unsureqty": {
  22787. "description": "未确定量",
  22788. "type": "number"
  22789. },
  22790. "userid": {
  22791. "description": "机构ID",
  22792. "type": "integer"
  22793. },
  22794. "vatrate": {
  22795. "description": "增值税率",
  22796. "type": "number"
  22797. },
  22798. "wrstandardcode": {
  22799. "description": "品类代码",
  22800. "type": "string"
  22801. },
  22802. "wrstandardid": {
  22803. "description": "品类ID",
  22804. "type": "integer"
  22805. },
  22806. "wrstandardname": {
  22807. "description": "品类名称",
  22808. "type": "string"
  22809. }
  22810. }
  22811. },
  22812. "models.Ermcp3SpotGoodsPrice": {
  22813. "type": "object",
  22814. "properties": {
  22815. "areauserid": {
  22816. "description": "所属机构id",
  22817. "type": "integer"
  22818. },
  22819. "brandname": {
  22820. "description": "品牌名称",
  22821. "type": "string"
  22822. },
  22823. "currencyid": {
  22824. "description": "报价货币ID",
  22825. "type": "integer"
  22826. },
  22827. "currencyname": {
  22828. "description": "币种名称",
  22829. "type": "string"
  22830. },
  22831. "deliverygoodscode": {
  22832. "description": "现货商品代码",
  22833. "type": "string"
  22834. },
  22835. "deliverygoodsid": {
  22836. "description": "现货商品id",
  22837. "type": "integer"
  22838. },
  22839. "deliverygoodsname": {
  22840. "description": "现货商品名称",
  22841. "type": "string"
  22842. },
  22843. "enumdicname": {
  22844. "description": "现货商品单位名称",
  22845. "type": "string"
  22846. },
  22847. "gbenumdicname": {
  22848. "description": "品类单位名称",
  22849. "type": "string"
  22850. },
  22851. "gmunitid": {
  22852. "description": "品类单位id",
  22853. "type": "integer"
  22854. },
  22855. "isvalid": {
  22856. "description": "是否有效 - 0:无效 1:有效",
  22857. "type": "integer"
  22858. },
  22859. "operateid": {
  22860. "description": "最后操作人",
  22861. "type": "integer"
  22862. },
  22863. "operatesrc": {
  22864. "description": "最后操作来源 - 1:管理端 2:终端",
  22865. "type": "integer"
  22866. },
  22867. "operatetime": {
  22868. "description": "最后操作时间",
  22869. "type": "string"
  22870. },
  22871. "operatorname": {
  22872. "description": "操作人名称",
  22873. "type": "string"
  22874. },
  22875. "spotgoodsbrandid": {
  22876. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22877. "type": "integer"
  22878. },
  22879. "spotgoodsprice": {
  22880. "description": "现货价格",
  22881. "type": "number"
  22882. },
  22883. "tradedate": {
  22884. "description": "交易日(yyyyMMdd)",
  22885. "type": "string"
  22886. },
  22887. "unitid": {
  22888. "description": "现货商品单位id",
  22889. "type": "integer"
  22890. },
  22891. "wrstandardcode": {
  22892. "description": "品类代码",
  22893. "type": "string"
  22894. },
  22895. "wrstandardid": {
  22896. "description": "现货品类ID(通用则为0)",
  22897. "type": "integer"
  22898. },
  22899. "wrstandardname": {
  22900. "description": "品类名称",
  22901. "type": "string"
  22902. }
  22903. }
  22904. },
  22905. "models.Ermcp3SpotGoodsPriceLog": {
  22906. "type": "object",
  22907. "properties": {
  22908. "areauserid": {
  22909. "description": "所属机构id",
  22910. "type": "integer"
  22911. },
  22912. "brandname": {
  22913. "description": "品牌名称",
  22914. "type": "string"
  22915. },
  22916. "currencyid": {
  22917. "description": "报价货币ID",
  22918. "type": "integer"
  22919. },
  22920. "deliverygoodscode": {
  22921. "description": "现货商品代码",
  22922. "type": "string"
  22923. },
  22924. "deliverygoodsid": {
  22925. "description": "现货商品id",
  22926. "type": "integer"
  22927. },
  22928. "deliverygoodsname": {
  22929. "description": "现货商品名称",
  22930. "type": "string"
  22931. },
  22932. "enumdicname": {
  22933. "description": "现货商品单位名称",
  22934. "type": "string"
  22935. },
  22936. "gbenumdicname": {
  22937. "description": "品类单位名称",
  22938. "type": "string"
  22939. },
  22940. "gmunitid": {
  22941. "description": "品类单位id",
  22942. "type": "integer"
  22943. },
  22944. "logid": {
  22945. "description": "日志id",
  22946. "type": "integer"
  22947. },
  22948. "operateid": {
  22949. "description": "最后操作人",
  22950. "type": "integer"
  22951. },
  22952. "operatesrc": {
  22953. "description": "最后操作来源 - 1:管理端 2:终端",
  22954. "type": "integer"
  22955. },
  22956. "operatetime": {
  22957. "description": "最后操作时间",
  22958. "type": "string"
  22959. },
  22960. "operatorname": {
  22961. "description": "操作人名称",
  22962. "type": "string"
  22963. },
  22964. "spotgoodsbrandid": {
  22965. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22966. "type": "integer"
  22967. },
  22968. "spotgoodsprice": {
  22969. "description": "现货价格",
  22970. "type": "number"
  22971. },
  22972. "tradedate": {
  22973. "description": "交易日(yyyyMMdd)",
  22974. "type": "string"
  22975. },
  22976. "unitid": {
  22977. "description": "现货商品单位id",
  22978. "type": "integer"
  22979. },
  22980. "wrstandardcode": {
  22981. "description": "品类代码",
  22982. "type": "string"
  22983. },
  22984. "wrstandardid": {
  22985. "description": "现货品类ID(通用则为0)",
  22986. "type": "integer"
  22987. },
  22988. "wrstandardname": {
  22989. "description": "品类名称",
  22990. "type": "string"
  22991. }
  22992. }
  22993. },
  22994. "models.Ermcp3SubTaaccount": {
  22995. "type": "object",
  22996. "properties": {
  22997. "accountid": {
  22998. "description": "资金账户ID",
  22999. "type": "integer"
  23000. },
  23001. "parentaccountcode": {
  23002. "description": "所属根账号代码(母账号代码)",
  23003. "type": "string"
  23004. },
  23005. "parentaccountid": {
  23006. "description": "所属根账号(母账号)",
  23007. "type": "integer"
  23008. },
  23009. "taname": {
  23010. "description": "资金账号名称",
  23011. "type": "string"
  23012. },
  23013. "tradestatus": {
  23014. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23015. "type": "integer"
  23016. },
  23017. "username": {
  23018. "description": "交易用户",
  23019. "type": "string"
  23020. }
  23021. }
  23022. },
  23023. "models.Ermcp3TaFutuReDataReport": {
  23024. "type": "object",
  23025. "properties": {
  23026. "accountid": {
  23027. "description": "交易账户",
  23028. "type": "integer"
  23029. },
  23030. "accountname": {
  23031. "description": "交易账号名称",
  23032. "type": "string"
  23033. },
  23034. "agreeunit": {
  23035. "description": "商品合约单位",
  23036. "type": "number"
  23037. },
  23038. "begindate": {
  23039. "description": "开始交易日",
  23040. "type": "string"
  23041. },
  23042. "buyorsell": {
  23043. "description": "持仓方向",
  23044. "type": "integer"
  23045. },
  23046. "charge": {
  23047. "description": "手续费",
  23048. "type": "number"
  23049. },
  23050. "closeavgprice": {
  23051. "description": "平仓均价",
  23052. "type": "number"
  23053. },
  23054. "closepl": {
  23055. "description": "平仓损益",
  23056. "type": "number"
  23057. },
  23058. "currencyid": {
  23059. "description": "结算币种ID",
  23060. "type": "integer"
  23061. },
  23062. "currencyname": {
  23063. "description": "币种名称",
  23064. "type": "string"
  23065. },
  23066. "cycletime": {
  23067. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23068. "type": "string"
  23069. },
  23070. "cycletype": {
  23071. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23072. "type": "integer"
  23073. },
  23074. "enddate": {
  23075. "description": "结束交易日",
  23076. "type": "string"
  23077. },
  23078. "enumdicname": {
  23079. "description": "单位名称",
  23080. "type": "string"
  23081. },
  23082. "floatpl": {
  23083. "description": "浮动损益",
  23084. "type": "number"
  23085. },
  23086. "goodscode": {
  23087. "description": "交易合约代码",
  23088. "type": "string"
  23089. },
  23090. "goodsgroupid": {
  23091. "description": "交易品种",
  23092. "type": "integer"
  23093. },
  23094. "goodsgroupname": {
  23095. "description": "交易品种名称",
  23096. "type": "string"
  23097. },
  23098. "goodsgroupspotqty": {
  23099. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23100. "type": "number"
  23101. },
  23102. "goodsid": {
  23103. "description": "交易合约",
  23104. "type": "integer"
  23105. },
  23106. "goodsname": {
  23107. "description": "交易合约名称",
  23108. "type": "string"
  23109. },
  23110. "goodunitid": {
  23111. "description": "交易合约单位id",
  23112. "type": "integer"
  23113. },
  23114. "holdamount": {
  23115. "description": "期末持仓额",
  23116. "type": "number"
  23117. },
  23118. "holdqty": {
  23119. "description": "期末持仓量",
  23120. "type": "number"
  23121. },
  23122. "lastholdamount": {
  23123. "description": "当前持仓额",
  23124. "type": "number"
  23125. },
  23126. "lastprice": {
  23127. "description": "最新价",
  23128. "type": "number"
  23129. },
  23130. "middlegoodsid": {
  23131. "description": "套保品种id",
  23132. "type": "integer"
  23133. },
  23134. "middlegoodsname": {
  23135. "description": "套保商品名称",
  23136. "type": "string"
  23137. },
  23138. "middlegoodsqty": {
  23139. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23140. "type": "number"
  23141. },
  23142. "middlgoodscode": {
  23143. "description": "套保商品代码",
  23144. "type": "string"
  23145. },
  23146. "openamount": {
  23147. "description": "期末开仓额",
  23148. "type": "number"
  23149. },
  23150. "openavgprice": {
  23151. "description": "开仓均价",
  23152. "type": "number"
  23153. },
  23154. "oriholdamount": {
  23155. "description": "期初持仓额",
  23156. "type": "number"
  23157. },
  23158. "oriholdqty": {
  23159. "description": "期初持仓量",
  23160. "type": "number"
  23161. },
  23162. "oriopenamount": {
  23163. "description": "期初开仓额",
  23164. "type": "number"
  23165. },
  23166. "outergroupcode": {
  23167. "description": "交易品种代码",
  23168. "type": "string"
  23169. },
  23170. "qtydecimalplace": {
  23171. "description": "成交量小数位",
  23172. "type": "integer"
  23173. },
  23174. "reckondate": {
  23175. "description": "日照时期(yyyyMMdd)",
  23176. "type": "string"
  23177. },
  23178. "reckonholdamount": {
  23179. "description": "结算持仓额",
  23180. "type": "number"
  23181. },
  23182. "reckonpl": {
  23183. "description": "结算损益",
  23184. "type": "number"
  23185. },
  23186. "reckonpl2": {
  23187. "description": "结算逐笔盈亏",
  23188. "type": "number"
  23189. },
  23190. "reckonprice": {
  23191. "description": "结算价",
  23192. "type": "number"
  23193. },
  23194. "relateduserid": {
  23195. "description": "账户关联用户ID",
  23196. "type": "integer"
  23197. },
  23198. "todaycloseamount": {
  23199. "description": "今平仓额",
  23200. "type": "number"
  23201. },
  23202. "todaycloseqty": {
  23203. "description": "今平仓量",
  23204. "type": "number"
  23205. },
  23206. "todaygoodsgroupspotqty": {
  23207. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23208. "type": "number"
  23209. },
  23210. "todaymiddlegoodsqty": {
  23211. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23212. "type": "number"
  23213. },
  23214. "todayopenamount": {
  23215. "description": "今开仓额",
  23216. "type": "number"
  23217. },
  23218. "todayopenqty": {
  23219. "description": "今开仓量",
  23220. "type": "number"
  23221. },
  23222. "userid": {
  23223. "description": "账户所属用户ID",
  23224. "type": "integer"
  23225. }
  23226. }
  23227. },
  23228. "models.Ermcp3TradeLinkDetail": {
  23229. "type": "object",
  23230. "properties": {
  23231. "accountid": {
  23232. "description": "资金账号",
  23233. "type": "integer"
  23234. },
  23235. "agreeunit": {
  23236. "description": "合约乘数",
  23237. "type": "number"
  23238. },
  23239. "areauserid": {
  23240. "description": "所属机构",
  23241. "type": "string"
  23242. },
  23243. "bizsubjectid": {
  23244. "description": "归属业务部门ID - SubjectID",
  23245. "type": "string"
  23246. },
  23247. "buyorsell": {
  23248. "description": "方向 - 0:买 1:卖",
  23249. "type": "integer"
  23250. },
  23251. "channelbuildtype": {
  23252. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23253. "type": "integer"
  23254. },
  23255. "contractno": {
  23256. "description": "现货编号 (合同编号)",
  23257. "type": "string"
  23258. },
  23259. "convertratio": {
  23260. "description": "折算系数",
  23261. "type": "number"
  23262. },
  23263. "createtime": {
  23264. "description": "关联时间 | 创建时间",
  23265. "type": "string"
  23266. },
  23267. "creatorid": {
  23268. "description": "创建人ID",
  23269. "type": "string"
  23270. },
  23271. "creatorsrc": {
  23272. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23273. "type": "integer"
  23274. },
  23275. "enumdicname": {
  23276. "description": "单位名称",
  23277. "type": "string"
  23278. },
  23279. "goodscode": {
  23280. "description": "合约代码",
  23281. "type": "string"
  23282. },
  23283. "goodsgroupid": {
  23284. "description": "对冲品种ID[期货合约商品组ID]",
  23285. "type": "integer"
  23286. },
  23287. "goodsid": {
  23288. "description": "商品ID",
  23289. "type": "integer"
  23290. },
  23291. "goodsname": {
  23292. "description": "合约名称",
  23293. "type": "string"
  23294. },
  23295. "hedgeflag": {
  23296. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23297. "type": "integer"
  23298. },
  23299. "linkdetailid": {
  23300. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23301. "type": "string"
  23302. },
  23303. "linkstatus": {
  23304. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23305. "type": "integer"
  23306. },
  23307. "middlegoodscode": {
  23308. "description": "套保品种代码",
  23309. "type": "string"
  23310. },
  23311. "middlegoodsid": {
  23312. "description": "套保品种ID",
  23313. "type": "integer"
  23314. },
  23315. "middlegoodsname": {
  23316. "description": "套保品种名称",
  23317. "type": "string"
  23318. },
  23319. "relatedlot": {
  23320. "description": "关联手数",
  23321. "type": "number"
  23322. },
  23323. "relatedmode": {
  23324. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23325. "type": "integer"
  23326. },
  23327. "relatedqty": {
  23328. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23329. "type": "number"
  23330. },
  23331. "retcode": {
  23332. "description": "返回码",
  23333. "type": "integer"
  23334. },
  23335. "saleuserid": {
  23336. "description": "业务员ID",
  23337. "type": "string"
  23338. },
  23339. "spotcontractid": {
  23340. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23341. "type": "string"
  23342. },
  23343. "taname": {
  23344. "description": "期货账户",
  23345. "type": "string"
  23346. },
  23347. "tradedate": {
  23348. "description": "关联交易日(yyyyMMdd)",
  23349. "type": "string"
  23350. },
  23351. "tradeid": {
  23352. "description": "期货订单号 | 内部成交单ID",
  23353. "type": "string"
  23354. },
  23355. "tradelot": {
  23356. "description": "成交数量 | 成交手数",
  23357. "type": "integer"
  23358. },
  23359. "tradeprice": {
  23360. "description": "成交价格",
  23361. "type": "number"
  23362. },
  23363. "tradetime": {
  23364. "description": "期货成交时间",
  23365. "type": "string"
  23366. },
  23367. "tradetradedate": {
  23368. "description": "成交交易日(yyyyMMdd)",
  23369. "type": "string"
  23370. },
  23371. "username": {
  23372. "description": "用户名称",
  23373. "type": "string"
  23374. }
  23375. }
  23376. },
  23377. "models.Ermcp3Wrstandard": {
  23378. "type": "object",
  23379. "properties": {
  23380. "areauserid": {
  23381. "description": "所属机构",
  23382. "type": "integer"
  23383. },
  23384. "cantrade": {
  23385. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23386. "type": "integer"
  23387. },
  23388. "convertfactor": {
  23389. "description": "标仓系数",
  23390. "type": "number"
  23391. },
  23392. "createtime": {
  23393. "description": "创建时间",
  23394. "type": "string"
  23395. },
  23396. "creatorid": {
  23397. "description": "创建人",
  23398. "type": "integer"
  23399. },
  23400. "deliverygoodsid": {
  23401. "description": "现货品种ID",
  23402. "type": "integer"
  23403. },
  23404. "enumdicname": {
  23405. "description": "品类单位名称",
  23406. "type": "string"
  23407. },
  23408. "isvalid": {
  23409. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23410. "type": "integer"
  23411. },
  23412. "minivalue": {
  23413. "description": "最小变动值",
  23414. "type": "integer"
  23415. },
  23416. "minivaluedp": {
  23417. "description": "最小变动值小数位",
  23418. "type": "integer"
  23419. },
  23420. "realminivalue": {
  23421. "description": "实际最小变动值",
  23422. "type": "integer"
  23423. },
  23424. "realminivaluedp": {
  23425. "description": "实际最小变动值小数位",
  23426. "type": "integer"
  23427. },
  23428. "remark": {
  23429. "description": "备注",
  23430. "type": "string"
  23431. },
  23432. "unitid": {
  23433. "description": "品类单位ID",
  23434. "type": "integer"
  23435. },
  23436. "updatetime": {
  23437. "description": "更新时间",
  23438. "type": "string"
  23439. },
  23440. "wrstandardcode": {
  23441. "description": "品类代码",
  23442. "type": "string"
  23443. },
  23444. "wrstandardid": {
  23445. "description": "品类ID(SEQ_WRSTANDARD)",
  23446. "type": "integer"
  23447. },
  23448. "wrstandardname": {
  23449. "description": "品类名称",
  23450. "type": "string"
  23451. }
  23452. }
  23453. },
  23454. "models.ErmcpBizGroupEx": {
  23455. "type": "object",
  23456. "properties": {
  23457. "acclist": {
  23458. "description": "账号列表",
  23459. "type": "array",
  23460. "items": {
  23461. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23462. }
  23463. },
  23464. "bizgroupid": {
  23465. "description": "业务分组id",
  23466. "type": "integer"
  23467. },
  23468. "biztype": {
  23469. "description": "业务类型 1-套保 2-套利",
  23470. "type": "integer"
  23471. },
  23472. "wrlist": {
  23473. "description": "现货商品表",
  23474. "type": "array",
  23475. "items": {
  23476. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23477. }
  23478. }
  23479. }
  23480. },
  23481. "models.ErmcpBizGroupSpotGoods": {
  23482. "type": "object",
  23483. "properties": {
  23484. "areauserid": {
  23485. "description": "所属机构id",
  23486. "type": "integer"
  23487. },
  23488. "bizgroupid": {
  23489. "description": "分组id",
  23490. "type": "integer"
  23491. },
  23492. "biztype": {
  23493. "description": "业务类型 1-套保 2-套利",
  23494. "type": "integer"
  23495. },
  23496. "deliverygoodscode": {
  23497. "description": "现货商品代码",
  23498. "type": "string"
  23499. },
  23500. "deliverygoodsid": {
  23501. "description": "现货商品id",
  23502. "type": "integer"
  23503. },
  23504. "deliverygoodsname": {
  23505. "description": "现货商品名称",
  23506. "type": "string"
  23507. },
  23508. "unitid": {
  23509. "description": "现货商品单位id",
  23510. "type": "integer"
  23511. }
  23512. }
  23513. },
  23514. "models.ErmcpBizGroupTaAccount": {
  23515. "type": "object",
  23516. "properties": {
  23517. "accountid": {
  23518. "description": "账号id",
  23519. "type": "integer"
  23520. },
  23521. "accountname": {
  23522. "description": "账号名称",
  23523. "type": "string"
  23524. },
  23525. "areauserid": {
  23526. "description": "所属机构id",
  23527. "type": "integer"
  23528. },
  23529. "bizgroupid": {
  23530. "description": "业务分组id",
  23531. "type": "integer"
  23532. },
  23533. "ismain": {
  23534. "description": "是否主账号 1-是 0-否",
  23535. "type": "integer"
  23536. }
  23537. }
  23538. },
  23539. "models.ErmcpDGFactoryItem": {
  23540. "type": "object",
  23541. "properties": {
  23542. "areauserid": {
  23543. "description": "用户id",
  23544. "type": "integer"
  23545. },
  23546. "deliverygoodsid": {
  23547. "description": "现货品种ID",
  23548. "type": "integer"
  23549. },
  23550. "dgfactoryitemid": {
  23551. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23552. "type": "integer"
  23553. },
  23554. "dgfactoryitemtypeid": {
  23555. "description": "要素项类型",
  23556. "type": "integer"
  23557. },
  23558. "dgfactoryitemvalue": {
  23559. "description": "要素项值(类型为仓库时填写仓库名称)",
  23560. "type": "string"
  23561. },
  23562. "isvalid": {
  23563. "description": "是否有效 - 0:无效 1:有效",
  23564. "type": "integer"
  23565. },
  23566. "orderindex": {
  23567. "description": "顺序",
  23568. "type": "integer"
  23569. },
  23570. "warehouseid": {
  23571. "description": "仓库ID(类型为仓库时填写)",
  23572. "type": "integer"
  23573. }
  23574. }
  23575. },
  23576. "models.ErmcpDeliveryGoods": {
  23577. "type": "object",
  23578. "properties": {
  23579. "agreeunit": {
  23580. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23581. "type": "integer"
  23582. },
  23583. "areauserid": {
  23584. "description": "所属机构",
  23585. "type": "integer"
  23586. },
  23587. "auditflag": {
  23588. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23589. "type": "integer"
  23590. },
  23591. "categoryid": {
  23592. "description": "类别ID(SEQ_WRCATEGORY)",
  23593. "type": "integer"
  23594. },
  23595. "deliverygoodscode": {
  23596. "description": "现货品种代码",
  23597. "type": "string"
  23598. },
  23599. "deliverygoodsid": {
  23600. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23601. "type": "integer"
  23602. },
  23603. "deliverygoodsname": {
  23604. "description": "现货品种名称",
  23605. "type": "string"
  23606. },
  23607. "deliverygoodstype": {
  23608. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23609. "type": "integer"
  23610. },
  23611. "dgstatus": {
  23612. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23613. "type": "integer"
  23614. },
  23615. "enumdicname": {
  23616. "description": "现货品种单位名称",
  23617. "type": "string"
  23618. },
  23619. "goodsunitid": {
  23620. "description": "现货品种单位ID",
  23621. "type": "integer"
  23622. },
  23623. "isvalid": {
  23624. "description": "是否有效 - 0:无效 1:有效",
  23625. "type": "integer"
  23626. },
  23627. "qtydecimalplace": {
  23628. "description": "成交量小数位",
  23629. "type": "integer"
  23630. },
  23631. "remark": {
  23632. "description": "备注",
  23633. "type": "string"
  23634. },
  23635. "standardqty": {
  23636. "description": "标准数量(库位数量) [标准品特有]",
  23637. "type": "integer"
  23638. },
  23639. "standardqtyrange": {
  23640. "description": "标准数量偏差范围 [标准品特有]",
  23641. "type": "integer"
  23642. }
  23643. }
  23644. },
  23645. "models.ErmcpFuturesCompany": {
  23646. "type": "object",
  23647. "properties": {
  23648. "brokerid": {
  23649. "description": "经纪公司代码",
  23650. "type": "string"
  23651. },
  23652. "channeladdress": {
  23653. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23654. "type": "string"
  23655. },
  23656. "channelid": {
  23657. "description": "对冲渠道ID",
  23658. "type": "string"
  23659. },
  23660. "createtime": {
  23661. "description": "创建时间",
  23662. "type": "string"
  23663. },
  23664. "creatorid": {
  23665. "description": "创建人",
  23666. "type": "string"
  23667. },
  23668. "fcid": {
  23669. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23670. "type": "integer"
  23671. },
  23672. "fcname": {
  23673. "description": "期货公司名称",
  23674. "type": "string"
  23675. },
  23676. "isvalid": {
  23677. "description": "是否有效 - 0:无效 1:有效",
  23678. "type": "integer"
  23679. },
  23680. "mhpaddress": {
  23681. "description": "MHP服务地址(IP:Port)",
  23682. "type": "string"
  23683. },
  23684. "riskrulegroupid": {
  23685. "description": "风控规则组ID",
  23686. "type": "string"
  23687. },
  23688. "tradefeetmpid": {
  23689. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23690. "type": "string"
  23691. },
  23692. "trademargintmpid": {
  23693. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23694. "type": "string"
  23695. },
  23696. "traderatetmpid": {
  23697. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23698. "type": "string"
  23699. },
  23700. "updatetime": {
  23701. "description": "更新时间",
  23702. "type": "string"
  23703. },
  23704. "updatorid": {
  23705. "description": "更新人",
  23706. "type": "string"
  23707. }
  23708. }
  23709. },
  23710. "models.ErmcpGGConvertCfg": {
  23711. "type": "object",
  23712. "properties": {
  23713. "convertratio": {
  23714. "description": "折算系数",
  23715. "type": "number"
  23716. },
  23717. "destgoodsgroupid": {
  23718. "description": "目标品种ID",
  23719. "type": "integer"
  23720. },
  23721. "dstcode": {
  23722. "description": "目录品种代码",
  23723. "type": "string"
  23724. },
  23725. "dstexchangecode": {
  23726. "description": "目标期货交易所",
  23727. "type": "string"
  23728. },
  23729. "dstname": {
  23730. "description": "目标品种名称",
  23731. "type": "string"
  23732. },
  23733. "dstunitid": {
  23734. "description": "目标品种单位ID",
  23735. "type": "integer"
  23736. },
  23737. "dstunitidname": {
  23738. "description": "目标品种单位名称",
  23739. "type": "string"
  23740. },
  23741. "modifytime": {
  23742. "description": "修改时间",
  23743. "type": "string"
  23744. },
  23745. "srccode": {
  23746. "description": "源品种代码",
  23747. "type": "string"
  23748. },
  23749. "srcexchangecode": {
  23750. "description": "源期货交易所",
  23751. "type": "string"
  23752. },
  23753. "srcgoodsgroupid": {
  23754. "description": "源品种ID",
  23755. "type": "integer"
  23756. },
  23757. "srcname": {
  23758. "description": "源品种名称",
  23759. "type": "string"
  23760. },
  23761. "srcunitid": {
  23762. "description": "源品种单位ID",
  23763. "type": "integer"
  23764. },
  23765. "srcunitidname": {
  23766. "description": "源品种单位名称",
  23767. "type": "string"
  23768. }
  23769. }
  23770. },
  23771. "models.ErmcpGoods": {
  23772. "type": "object",
  23773. "required": [
  23774. "goodscode",
  23775. "goodsid",
  23776. "goodsname",
  23777. "marketid"
  23778. ],
  23779. "properties": {
  23780. "agreeunit": {
  23781. "description": "合约单位",
  23782. "type": "number"
  23783. },
  23784. "areauserid": {
  23785. "description": "所属机构",
  23786. "type": "integer"
  23787. },
  23788. "auditaccountid": {
  23789. "description": "审核操作员账号",
  23790. "type": "integer"
  23791. },
  23792. "audittime": {
  23793. "description": "审核时间",
  23794. "type": "string"
  23795. },
  23796. "cancelaccountid": {
  23797. "description": "注销操作员账号",
  23798. "type": "integer"
  23799. },
  23800. "canceltime": {
  23801. "description": "注销时间",
  23802. "type": "string"
  23803. },
  23804. "closepricemode": {
  23805. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23806. "type": "integer"
  23807. },
  23808. "closepriceparam": {
  23809. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23810. "type": "number"
  23811. },
  23812. "createtime": {
  23813. "description": "创建时间",
  23814. "type": "string"
  23815. },
  23816. "creatorid": {
  23817. "description": "创建人",
  23818. "type": "integer"
  23819. },
  23820. "currencyid": {
  23821. "description": "报价货币ID",
  23822. "type": "integer"
  23823. },
  23824. "cutmode": {
  23825. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23826. "type": "integer"
  23827. },
  23828. "decimalplace": {
  23829. "description": "报价小数位",
  23830. "type": "integer"
  23831. },
  23832. "delistingdate": {
  23833. "description": "商品退市时间(状态:退市) -- 已作废",
  23834. "type": "string"
  23835. },
  23836. "delistingmode": {
  23837. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23838. "type": "integer"
  23839. },
  23840. "deliveryflag": {
  23841. "description": "交割标志 - 0:不可交割 1:可交割",
  23842. "type": "integer"
  23843. },
  23844. "enumdicname": {
  23845. "description": "单位名称",
  23846. "type": "string"
  23847. },
  23848. "forceclosemode": {
  23849. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23850. "type": "integer"
  23851. },
  23852. "forceclosevalue": {
  23853. "description": "定期强平参数 [收益权]",
  23854. "type": "integer"
  23855. },
  23856. "goodscode": {
  23857. "description": "商品代码(内部)",
  23858. "type": "string"
  23859. },
  23860. "goodscurrencyid": {
  23861. "description": "合约货币ID",
  23862. "type": "integer"
  23863. },
  23864. "goodsgroupid": {
  23865. "description": "所属商品组ID",
  23866. "type": "integer"
  23867. },
  23868. "goodsid": {
  23869. "description": "商品ID(自增ID SEQ_GOODS)",
  23870. "type": "integer"
  23871. },
  23872. "goodsname": {
  23873. "description": "商品名称",
  23874. "type": "string"
  23875. },
  23876. "goodsquotetype": {
  23877. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23878. "type": "integer"
  23879. },
  23880. "goodsstatus": {
  23881. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23882. "type": "integer"
  23883. },
  23884. "goodstradetype": {
  23885. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23886. "type": "integer"
  23887. },
  23888. "goodunitid": {
  23889. "description": "报价单位ID",
  23890. "type": "integer"
  23891. },
  23892. "hasquoter": {
  23893. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23894. "type": "integer"
  23895. },
  23896. "hqprotecttime": {
  23897. "description": "行情保护时间(秒)",
  23898. "type": "integer"
  23899. },
  23900. "innerdealmode": {
  23901. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23902. "type": "integer"
  23903. },
  23904. "isbuylimited": {
  23905. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23906. "type": "integer"
  23907. },
  23908. "isvisible": {
  23909. "description": "游客是否可见 - 0:不可见 1:可见",
  23910. "type": "integer"
  23911. },
  23912. "lasttradedate": {
  23913. "description": "最后交易日期(状态:待退市)",
  23914. "type": "string"
  23915. },
  23916. "listingdate": {
  23917. "description": "交易开始日期",
  23918. "type": "string"
  23919. },
  23920. "marketid": {
  23921. "description": "所属市场ID",
  23922. "type": "integer"
  23923. },
  23924. "modifierid": {
  23925. "description": "修改人",
  23926. "type": "integer"
  23927. },
  23928. "modifystatus": {
  23929. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23930. "type": "integer"
  23931. },
  23932. "modifytime": {
  23933. "description": "修改时间",
  23934. "type": "string"
  23935. },
  23936. "outerdealmode": {
  23937. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23938. "type": "integer"
  23939. },
  23940. "outgoodscode": {
  23941. "description": "商品代码(外部)",
  23942. "type": "string"
  23943. },
  23944. "pictureurl": {
  23945. "description": "商品图片",
  23946. "type": "string"
  23947. },
  23948. "qtydecimalplace": {
  23949. "description": "成交量小数位",
  23950. "type": "integer"
  23951. },
  23952. "quotegear": {
  23953. "description": "行情档位(1-10)",
  23954. "type": "integer"
  23955. },
  23956. "quoteminunit": {
  23957. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23958. "type": "integer"
  23959. },
  23960. "quoteshowtype": {
  23961. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23962. "type": "integer"
  23963. },
  23964. "quoteshowtypeinterval": {
  23965. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23966. "type": "integer"
  23967. },
  23968. "relatedgoodsid": {
  23969. "description": "关联参考商品ID",
  23970. "type": "integer"
  23971. },
  23972. "remark": {
  23973. "description": "备注",
  23974. "type": "string"
  23975. },
  23976. "trademode": {
  23977. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23978. "type": "integer"
  23979. }
  23980. }
  23981. },
  23982. "models.ErmcpGoodsBrand": {
  23983. "type": "object",
  23984. "properties": {
  23985. "areauserid": {
  23986. "description": "所属机构",
  23987. "type": "integer"
  23988. },
  23989. "brandid": {
  23990. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23991. "type": "integer"
  23992. },
  23993. "brandname": {
  23994. "description": "品牌名称",
  23995. "type": "string"
  23996. },
  23997. "createtime": {
  23998. "description": "创建时间",
  23999. "type": "string"
  24000. },
  24001. "creatorid": {
  24002. "description": "创建人",
  24003. "type": "integer"
  24004. },
  24005. "creatorsrc": {
  24006. "description": "创建人来源 - 1:管理端 2:终端",
  24007. "type": "integer"
  24008. },
  24009. "deliverygoodsid": {
  24010. "description": "现货品种ID",
  24011. "type": "integer"
  24012. },
  24013. "isvalid": {
  24014. "description": "是否有效 - 0:无效 1:有效",
  24015. "type": "integer"
  24016. },
  24017. "updatetime": {
  24018. "description": "更新时间",
  24019. "type": "string"
  24020. },
  24021. "updatorid": {
  24022. "description": "更新人",
  24023. "type": "integer"
  24024. },
  24025. "updatorsrc": {
  24026. "description": "更新人来源 - 1:管理端 2:终端",
  24027. "type": "integer"
  24028. },
  24029. "wrstandardid": {
  24030. "description": "现货商品ID",
  24031. "type": "integer"
  24032. }
  24033. }
  24034. },
  24035. "models.ErmcpGoodsModel": {
  24036. "type": "object",
  24037. "properties": {
  24038. "areauserid": {
  24039. "description": "所属机构",
  24040. "type": "integer"
  24041. },
  24042. "convertfactor": {
  24043. "description": "标仓系数",
  24044. "type": "number"
  24045. },
  24046. "createtime": {
  24047. "description": "创建时间",
  24048. "type": "string"
  24049. },
  24050. "creatorid": {
  24051. "description": "创建人",
  24052. "type": "integer"
  24053. },
  24054. "creatorsrc": {
  24055. "description": "创建人来源 - 1:管理端 2:终端",
  24056. "type": "integer"
  24057. },
  24058. "deliverygoodsid": {
  24059. "description": "现货品种ID",
  24060. "type": "integer"
  24061. },
  24062. "isvalid": {
  24063. "description": "是否有效 - 0:无效 1:有效",
  24064. "type": "integer"
  24065. },
  24066. "modelid": {
  24067. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24068. "type": "integer"
  24069. },
  24070. "modelname": {
  24071. "description": "型号名称",
  24072. "type": "string"
  24073. },
  24074. "updatetime": {
  24075. "description": "更新时间",
  24076. "type": "string"
  24077. },
  24078. "updatorid": {
  24079. "description": "更新人",
  24080. "type": "integer"
  24081. },
  24082. "updatorsrc": {
  24083. "description": "更新人来源 - 1:管理端 2:终端",
  24084. "type": "integer"
  24085. },
  24086. "wrstandardid": {
  24087. "description": "现货商品ID",
  24088. "type": "integer"
  24089. }
  24090. }
  24091. },
  24092. "models.ErmcpHisExposure": {
  24093. "type": "object",
  24094. "properties": {
  24095. "needhedgeexposoure": {
  24096. "description": "应套保敞口",
  24097. "type": "number"
  24098. },
  24099. "reckondate": {
  24100. "description": "日照时期(yyyyMMdd)",
  24101. "type": "string"
  24102. },
  24103. "totalexposure": {
  24104. "description": "总敞口",
  24105. "type": "number"
  24106. }
  24107. }
  24108. },
  24109. "models.ErmcpLoginTaAccount": {
  24110. "type": "object",
  24111. "properties": {
  24112. "accountid": {
  24113. "description": "账号id",
  24114. "type": "integer"
  24115. },
  24116. "accountname": {
  24117. "description": "账号名称",
  24118. "type": "string"
  24119. }
  24120. }
  24121. },
  24122. "models.ErmcpLoginUser": {
  24123. "type": "object",
  24124. "properties": {
  24125. "acclist": {
  24126. "description": "关联资金账号",
  24127. "type": "array",
  24128. "items": {
  24129. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24130. }
  24131. },
  24132. "accountname": {
  24133. "description": "用户名称",
  24134. "type": "string"
  24135. },
  24136. "clientroleid": {
  24137. "description": "角色id(usertype=2)",
  24138. "type": "integer"
  24139. },
  24140. "createtime": {
  24141. "description": "创建时间",
  24142. "type": "string"
  24143. },
  24144. "logincode": {
  24145. "description": "登录代码",
  24146. "type": "string"
  24147. },
  24148. "loginid": {
  24149. "description": "登录id(LOGINID)",
  24150. "type": "integer"
  24151. },
  24152. "loginname": {
  24153. "description": "登录名称(loginaccount表中的accountname字段)",
  24154. "type": "string"
  24155. },
  24156. "loginstatus": {
  24157. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24158. "type": "integer"
  24159. },
  24160. "memberuserid": {
  24161. "description": "所属会员id",
  24162. "type": "integer"
  24163. },
  24164. "mobile": {
  24165. "description": "手机号",
  24166. "type": "string"
  24167. },
  24168. "modifytime": {
  24169. "description": "修改时间",
  24170. "type": "string"
  24171. },
  24172. "password": {
  24173. "description": "密码(不可解密)",
  24174. "type": "string"
  24175. },
  24176. "rolename": {
  24177. "description": "角色名称",
  24178. "type": "string"
  24179. },
  24180. "rolestatus": {
  24181. "description": "角色状态 1-启用 2-停用",
  24182. "type": "integer"
  24183. },
  24184. "roletype": {
  24185. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24186. "type": "string"
  24187. },
  24188. "userid": {
  24189. "description": "用户id",
  24190. "type": "integer"
  24191. },
  24192. "usertype": {
  24193. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24194. "type": "integer"
  24195. }
  24196. }
  24197. },
  24198. "models.ErmcpLoginUserEx": {
  24199. "type": "object",
  24200. "properties": {
  24201. "accountstatus": {
  24202. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24203. "type": "integer"
  24204. },
  24205. "mobile": {
  24206. "description": "手机号",
  24207. "type": "string"
  24208. },
  24209. "querytype": {
  24210. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24211. "type": "integer"
  24212. },
  24213. "roleid": {
  24214. "description": "角色id(交易账户-\u003e用户id)",
  24215. "type": "integer"
  24216. },
  24217. "rolename": {
  24218. "description": "角色名称(交易账户-\u003e用户名称)",
  24219. "type": "string"
  24220. },
  24221. "userlist": {
  24222. "description": "用户列表",
  24223. "type": "array",
  24224. "items": {
  24225. "$ref": "#/definitions/models.ErmcpLoginUser"
  24226. }
  24227. },
  24228. "usertype": {
  24229. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24230. "type": "integer"
  24231. }
  24232. }
  24233. },
  24234. "models.ErmcpMiddleGoodsModel": {
  24235. "type": "object",
  24236. "properties": {
  24237. "areauserid": {
  24238. "description": "机构用户ID",
  24239. "type": "integer"
  24240. },
  24241. "createtime": {
  24242. "description": "修改时间",
  24243. "type": "string"
  24244. },
  24245. "enumdicname": {
  24246. "description": "单位名称",
  24247. "type": "string"
  24248. },
  24249. "evaluateratio": {
  24250. "description": "估价系数",
  24251. "type": "number"
  24252. },
  24253. "goodsgroupid": {
  24254. "description": "关联期货品种ID",
  24255. "type": "integer"
  24256. },
  24257. "goodsunitid": {
  24258. "description": "单位ID",
  24259. "type": "integer"
  24260. },
  24261. "isvalid": {
  24262. "description": "状态 0-无效(停用) 1-有效(正常)",
  24263. "type": "integer"
  24264. },
  24265. "middlegoodscode": {
  24266. "description": "套保品种代码",
  24267. "type": "string"
  24268. },
  24269. "middlegoodsid": {
  24270. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24271. "type": "integer"
  24272. },
  24273. "middlegoodsname": {
  24274. "description": "套保品种名称",
  24275. "type": "string"
  24276. },
  24277. "modifytime": {
  24278. "description": "修改时间",
  24279. "type": "string"
  24280. },
  24281. "needarbitrageratio": {
  24282. "description": "套利比例",
  24283. "type": "number"
  24284. },
  24285. "needhedgeratio": {
  24286. "description": "套保比率",
  24287. "type": "number"
  24288. },
  24289. "qtydecimalplace": {
  24290. "description": "数量小数位",
  24291. "type": "integer"
  24292. },
  24293. "relatedgoodsid": {
  24294. "description": "关联交易商品ID",
  24295. "type": "integer"
  24296. },
  24297. "relatedgoodstype": {
  24298. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24299. "type": "integer"
  24300. },
  24301. "remark": {
  24302. "description": "备注",
  24303. "type": "string"
  24304. }
  24305. }
  24306. },
  24307. "models.ErmcpMiddlegoodsRelateGoods": {
  24308. "type": "object",
  24309. "properties": {
  24310. "agreeunit": {
  24311. "description": "合约乘数",
  24312. "type": "number"
  24313. },
  24314. "convertratio": {
  24315. "description": "折算系数",
  24316. "type": "number"
  24317. },
  24318. "enumdicname": {
  24319. "description": "单位名称(交易商品)",
  24320. "type": "string"
  24321. },
  24322. "goodscode": {
  24323. "description": "交易商品代码",
  24324. "type": "string"
  24325. },
  24326. "goodsgroupid": {
  24327. "description": "交易品种id",
  24328. "type": "integer"
  24329. },
  24330. "goodsid": {
  24331. "description": "商品Id",
  24332. "type": "integer"
  24333. },
  24334. "goodsname": {
  24335. "description": "交易商品名称",
  24336. "type": "string"
  24337. },
  24338. "goodunitid": {
  24339. "description": "交易商品单位id",
  24340. "type": "integer"
  24341. },
  24342. "middlegoodsid": {
  24343. "description": "套保商品id",
  24344. "type": "integer"
  24345. },
  24346. "middlegoodsname": {
  24347. "description": "套保商品名称",
  24348. "type": "string"
  24349. },
  24350. "middlegoodsswcode": {
  24351. "description": "套保商品代码",
  24352. "type": "string"
  24353. },
  24354. "needarbitrageratio": {
  24355. "description": "应套利比例",
  24356. "type": "number"
  24357. },
  24358. "needhedgeratio": {
  24359. "description": "应套保比例",
  24360. "type": "number"
  24361. }
  24362. }
  24363. },
  24364. "models.ErmcpRole": {
  24365. "type": "object",
  24366. "properties": {
  24367. "areauserid": {
  24368. "description": "所属机构",
  24369. "type": "integer"
  24370. },
  24371. "autoid": {
  24372. "description": "角色ID(自增ID)",
  24373. "type": "integer"
  24374. },
  24375. "modifierid": {
  24376. "description": "修改人(创建人)",
  24377. "type": "integer"
  24378. },
  24379. "modifiername": {
  24380. "description": "修改人名称",
  24381. "type": "string"
  24382. },
  24383. "modifytime": {
  24384. "description": "修改时间(创建时间)",
  24385. "type": "string"
  24386. },
  24387. "rolename": {
  24388. "description": "角色名称",
  24389. "type": "string"
  24390. },
  24391. "rolestatus": {
  24392. "description": "角色状态 - 1:启用 2:停用",
  24393. "type": "integer"
  24394. },
  24395. "roletype": {
  24396. "description": "角色类型 - 1- 管理端 2- 交易端",
  24397. "type": "integer"
  24398. }
  24399. }
  24400. },
  24401. "models.ErmcpRoleMenu": {
  24402. "type": "object",
  24403. "properties": {
  24404. "iconame": {
  24405. "description": "菜单图标",
  24406. "type": "string"
  24407. },
  24408. "ishadrole": {
  24409. "description": "是否有权限",
  24410. "type": "boolean"
  24411. },
  24412. "menutype": {
  24413. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24414. "type": "integer"
  24415. },
  24416. "parentcode": {
  24417. "description": "上级资源代码",
  24418. "type": "string"
  24419. },
  24420. "remark": {
  24421. "description": "菜单备注",
  24422. "type": "string"
  24423. },
  24424. "resourcecode": {
  24425. "description": "菜单代码",
  24426. "type": "string"
  24427. },
  24428. "resourcelevel": {
  24429. "description": "级别",
  24430. "type": "integer"
  24431. },
  24432. "resourcename": {
  24433. "description": "菜单名称",
  24434. "type": "string"
  24435. },
  24436. "roleid": {
  24437. "description": "角色id",
  24438. "type": "integer"
  24439. },
  24440. "sort": {
  24441. "description": "排序",
  24442. "type": "integer"
  24443. },
  24444. "url": {
  24445. "description": "URL",
  24446. "type": "string"
  24447. },
  24448. "userid": {
  24449. "description": "用户id",
  24450. "type": "integer"
  24451. }
  24452. }
  24453. },
  24454. "models.ErmcpRoleMenuEx": {
  24455. "type": "object",
  24456. "properties": {
  24457. "menu": {
  24458. "description": "父级菜单",
  24459. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24460. },
  24461. "subMenu": {
  24462. "description": "子级菜单",
  24463. "type": "array",
  24464. "items": {
  24465. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24466. }
  24467. }
  24468. }
  24469. },
  24470. "models.ErmcpTaAccount": {
  24471. "type": "object",
  24472. "properties": {
  24473. "accountid": {
  24474. "description": "账户id",
  24475. "type": "integer"
  24476. },
  24477. "accountname": {
  24478. "description": "账户名称",
  24479. "type": "string"
  24480. },
  24481. "currencyid": {
  24482. "description": "币种id",
  24483. "type": "integer"
  24484. },
  24485. "hedgeaccountcode": {
  24486. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24487. "type": "string"
  24488. },
  24489. "ismain": {
  24490. "description": "是否主账户 0-否 1-是",
  24491. "type": "integer"
  24492. },
  24493. "parentaccountid": {
  24494. "description": "父账户id",
  24495. "type": "integer"
  24496. },
  24497. "relateduserid": {
  24498. "description": "关联userid",
  24499. "type": "integer"
  24500. },
  24501. "tradefeetmpid": {
  24502. "description": "手续费模板id",
  24503. "type": "integer"
  24504. },
  24505. "tradefeetmpname": {
  24506. "description": "手续费模板名称",
  24507. "type": "string"
  24508. },
  24509. "trademargintmpid": {
  24510. "description": "保证金模板id",
  24511. "type": "integer"
  24512. },
  24513. "trademargintmpname": {
  24514. "description": "保证金模板名称",
  24515. "type": "string"
  24516. },
  24517. "traderatetmpid": {
  24518. "description": "汇率模板id",
  24519. "type": "integer"
  24520. },
  24521. "traderatetmpname": {
  24522. "description": "汇率模板名称",
  24523. "type": "string"
  24524. },
  24525. "tradestatus": {
  24526. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24527. "type": "integer"
  24528. },
  24529. "userid": {
  24530. "description": "用户id",
  24531. "type": "integer"
  24532. }
  24533. }
  24534. },
  24535. "models.ErmcpTaAccountEx": {
  24536. "type": "object",
  24537. "properties": {
  24538. "mainAcc": {
  24539. "description": "主账号",
  24540. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24541. },
  24542. "subacclist": {
  24543. "description": "子账号列表",
  24544. "type": "array",
  24545. "items": {
  24546. "$ref": "#/definitions/models.ErmcpTaAccount"
  24547. }
  24548. }
  24549. }
  24550. },
  24551. "models.ErmcpTaAccountInfo": {
  24552. "type": "object",
  24553. "properties": {
  24554. "accountid": {
  24555. "description": "资金账户ID",
  24556. "type": "integer"
  24557. },
  24558. "accountname": {
  24559. "description": "账户名称",
  24560. "type": "string"
  24561. },
  24562. "balance": {
  24563. "description": "期初余额",
  24564. "type": "number"
  24565. },
  24566. "capitalbalance": {
  24567. "description": "本金余额[外部子账户实际出入金余额]",
  24568. "type": "number"
  24569. },
  24570. "closepl": {
  24571. "description": "今日平仓盈亏",
  24572. "type": "number"
  24573. },
  24574. "creditdecrease": {
  24575. "description": "今日授信减少",
  24576. "type": "number"
  24577. },
  24578. "creditincrease": {
  24579. "description": "今日授信增加",
  24580. "type": "number"
  24581. },
  24582. "curdebt": {
  24583. "description": "期末欠款",
  24584. "type": "number"
  24585. },
  24586. "currencyid": {
  24587. "description": "货币ID",
  24588. "type": "integer"
  24589. },
  24590. "currentbalance": {
  24591. "description": "期末余额",
  24592. "type": "number"
  24593. },
  24594. "freezecharge": {
  24595. "description": "手续费冻结",
  24596. "type": "number"
  24597. },
  24598. "freezemargin": {
  24599. "description": "冻结保证金",
  24600. "type": "number"
  24601. },
  24602. "fromaccountid": {
  24603. "description": "所属上级账户",
  24604. "type": "integer"
  24605. },
  24606. "inamount": {
  24607. "description": "今日入金金额(包括三方入金)",
  24608. "type": "number"
  24609. },
  24610. "ismain": {
  24611. "description": "是否母账号 0:不是母账户 1:是母账户",
  24612. "type": "integer"
  24613. },
  24614. "mortgagecredit": {
  24615. "description": "授信金额",
  24616. "type": "number"
  24617. },
  24618. "oridebt": {
  24619. "description": "期初欠款",
  24620. "type": "number"
  24621. },
  24622. "orifreezecharge": {
  24623. "description": "期初手续费冻结",
  24624. "type": "number"
  24625. },
  24626. "orifreezemargin": {
  24627. "description": "期初冻结保证金",
  24628. "type": "number"
  24629. },
  24630. "orimortgagecredit": {
  24631. "description": "期初授信金额",
  24632. "type": "number"
  24633. },
  24634. "oriothercredit": {
  24635. "description": "期初其它授信金额",
  24636. "type": "number"
  24637. },
  24638. "oriotherfreezemargin": {
  24639. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24640. "type": "number"
  24641. },
  24642. "orioutamountfreeze": {
  24643. "description": "期初出金冻结",
  24644. "type": "number"
  24645. },
  24646. "oriusedmargin": {
  24647. "description": "期初占用保证金",
  24648. "type": "number"
  24649. },
  24650. "othercredit": {
  24651. "description": "其它授信金额",
  24652. "type": "number"
  24653. },
  24654. "othercreditdecrease": {
  24655. "description": "今日其它授信减少",
  24656. "type": "number"
  24657. },
  24658. "othercreditincrease": {
  24659. "description": "今日其它授信增加",
  24660. "type": "number"
  24661. },
  24662. "otherfreezemargin": {
  24663. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24664. "type": "number"
  24665. },
  24666. "outamount": {
  24667. "description": "今日出金金额(包括三方出金)",
  24668. "type": "number"
  24669. },
  24670. "outamountfreeze": {
  24671. "description": "出金冻结",
  24672. "type": "number"
  24673. },
  24674. "outthreshold": {
  24675. "description": "出金阈值",
  24676. "type": "number"
  24677. },
  24678. "parentaccountid": {
  24679. "description": "所属根账号",
  24680. "type": "integer"
  24681. },
  24682. "paycharge": {
  24683. "description": "今日手续费支出",
  24684. "type": "number"
  24685. },
  24686. "relateduserid": {
  24687. "description": "关联用户",
  24688. "type": "integer"
  24689. },
  24690. "signstatus": {
  24691. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24692. "type": "integer"
  24693. },
  24694. "sublevelpath": {
  24695. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24696. "type": "string"
  24697. },
  24698. "taaccounttype": {
  24699. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24700. "type": "integer"
  24701. },
  24702. "thirdinamount": {
  24703. "description": "今日三方入金",
  24704. "type": "number"
  24705. },
  24706. "thirdoutamount": {
  24707. "description": "今日三方出金",
  24708. "type": "number"
  24709. },
  24710. "tradestatus": {
  24711. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24712. "type": "integer"
  24713. },
  24714. "transferamount": {
  24715. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24716. "type": "number"
  24717. },
  24718. "usedmargin": {
  24719. "description": "占用保证金",
  24720. "type": "number"
  24721. },
  24722. "userid": {
  24723. "description": "用户ID",
  24724. "type": "integer"
  24725. }
  24726. }
  24727. },
  24728. "models.ErmcpTaAccountM": {
  24729. "type": "object",
  24730. "properties": {
  24731. "accountid": {
  24732. "description": "账户id",
  24733. "type": "integer"
  24734. },
  24735. "accountname": {
  24736. "description": "账户名称",
  24737. "type": "string"
  24738. },
  24739. "currencyid": {
  24740. "description": "币种id",
  24741. "type": "integer"
  24742. },
  24743. "fcid": {
  24744. "description": "期货公司id",
  24745. "type": "integer"
  24746. },
  24747. "fcname": {
  24748. "description": "期货公司代码",
  24749. "type": "string"
  24750. },
  24751. "hedgeaccountcode": {
  24752. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24753. "type": "string"
  24754. },
  24755. "ismain": {
  24756. "description": "是否主账户 0-否 1-是",
  24757. "type": "integer"
  24758. },
  24759. "parentaccountid": {
  24760. "description": "父账户id",
  24761. "type": "integer"
  24762. },
  24763. "relateduserid": {
  24764. "description": "关联userid",
  24765. "type": "integer"
  24766. },
  24767. "tradefeetmpid": {
  24768. "description": "手续费模板id",
  24769. "type": "integer"
  24770. },
  24771. "tradefeetmpname": {
  24772. "description": "手续费模板名称",
  24773. "type": "string"
  24774. },
  24775. "trademargintmpid": {
  24776. "description": "保证金模板id",
  24777. "type": "integer"
  24778. },
  24779. "trademargintmpname": {
  24780. "description": "保证金模板名称",
  24781. "type": "string"
  24782. },
  24783. "traderatetmpid": {
  24784. "description": "汇率模板id",
  24785. "type": "integer"
  24786. },
  24787. "traderatetmpname": {
  24788. "description": "汇率模板名称",
  24789. "type": "string"
  24790. },
  24791. "tradestatus": {
  24792. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24793. "type": "integer"
  24794. },
  24795. "userid": {
  24796. "description": "用户id",
  24797. "type": "integer"
  24798. }
  24799. }
  24800. },
  24801. "models.ErmcpTradeConfigTMP": {
  24802. "type": "object",
  24803. "properties": {
  24804. "areauserid": {
  24805. "description": "所属机构",
  24806. "type": "integer"
  24807. },
  24808. "basiccurrencyid": {
  24809. "description": "基本币种ID[汇率] - 目标币种",
  24810. "type": "integer"
  24811. },
  24812. "mainaccountid": {
  24813. "description": "主账户ID",
  24814. "type": "integer"
  24815. },
  24816. "modifierid": {
  24817. "description": "修改人",
  24818. "type": "integer"
  24819. },
  24820. "remark": {
  24821. "description": "备注",
  24822. "type": "string"
  24823. },
  24824. "tradeconfigtmpid": {
  24825. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24826. "type": "integer"
  24827. },
  24828. "tradeconfigtmpname": {
  24829. "description": "交易配置模板名称",
  24830. "type": "string"
  24831. },
  24832. "tradeconfigtmptype": {
  24833. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24834. "type": "integer"
  24835. },
  24836. "updatetime": {
  24837. "description": "更新时间",
  24838. "type": "string"
  24839. }
  24840. }
  24841. },
  24842. "models.Externalexchange": {
  24843. "type": "object",
  24844. "required": [
  24845. "autoid"
  24846. ],
  24847. "properties": {
  24848. "autoid": {
  24849. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24850. "type": "integer"
  24851. },
  24852. "exchangefullname": {
  24853. "description": "外部交易所全称",
  24854. "type": "string"
  24855. },
  24856. "exexchangecode": {
  24857. "description": "外部交易所代码",
  24858. "type": "string"
  24859. },
  24860. "exexchangename": {
  24861. "description": "外部交易所名称(简称)",
  24862. "type": "string"
  24863. },
  24864. "ismarketprice": {
  24865. "description": "是否支持市价 - 0:不支持 1:支持",
  24866. "type": "integer"
  24867. },
  24868. "quotegear": {
  24869. "description": "行情档位(1-10)",
  24870. "type": "integer"
  24871. },
  24872. "showbrokerflag": {
  24873. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24874. "type": "integer"
  24875. },
  24876. "updatetime": {
  24877. "description": "更新时间",
  24878. "type": "string"
  24879. }
  24880. }
  24881. },
  24882. "models.Funcmenulist": {
  24883. "type": "object",
  24884. "required": [
  24885. "resourcecode"
  24886. ],
  24887. "properties": {
  24888. "iconame": {
  24889. "description": "菜单图标",
  24890. "type": "string"
  24891. },
  24892. "menutype": {
  24893. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24894. "type": "integer"
  24895. },
  24896. "parentcode": {
  24897. "description": "上级资源代码",
  24898. "type": "string"
  24899. },
  24900. "remark": {
  24901. "description": "备注",
  24902. "type": "string"
  24903. },
  24904. "resourcecode": {
  24905. "description": "资源代码",
  24906. "type": "string"
  24907. },
  24908. "resourcelevel": {
  24909. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24910. "type": "integer"
  24911. },
  24912. "resourcename": {
  24913. "description": "资源名",
  24914. "type": "string"
  24915. },
  24916. "sort": {
  24917. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24918. "type": "integer"
  24919. },
  24920. "url": {
  24921. "description": "URL",
  24922. "type": "string"
  24923. }
  24924. }
  24925. },
  24926. "models.Goods": {
  24927. "type": "object",
  24928. "required": [
  24929. "goodscode",
  24930. "goodsid",
  24931. "goodsname",
  24932. "marketid"
  24933. ],
  24934. "properties": {
  24935. "agreeunit": {
  24936. "description": "合约单位",
  24937. "type": "number"
  24938. },
  24939. "areauserid": {
  24940. "description": "所属机构",
  24941. "type": "integer"
  24942. },
  24943. "auditaccountid": {
  24944. "description": "审核操作员账号",
  24945. "type": "integer"
  24946. },
  24947. "audittime": {
  24948. "description": "审核时间",
  24949. "type": "string"
  24950. },
  24951. "cancelaccountid": {
  24952. "description": "注销操作员账号",
  24953. "type": "integer"
  24954. },
  24955. "canceltime": {
  24956. "description": "注销时间",
  24957. "type": "string"
  24958. },
  24959. "closepricemode": {
  24960. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24961. "type": "integer"
  24962. },
  24963. "closepriceparam": {
  24964. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24965. "type": "number"
  24966. },
  24967. "createtime": {
  24968. "description": "创建时间",
  24969. "type": "string"
  24970. },
  24971. "creatorid": {
  24972. "description": "创建人",
  24973. "type": "integer"
  24974. },
  24975. "currencyid": {
  24976. "description": "报价货币ID",
  24977. "type": "integer"
  24978. },
  24979. "cutmode": {
  24980. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24981. "type": "integer"
  24982. },
  24983. "decimalplace": {
  24984. "description": "报价小数位",
  24985. "type": "integer"
  24986. },
  24987. "delistingdate": {
  24988. "description": "商品退市时间(状态:退市) -- 已作废",
  24989. "type": "string"
  24990. },
  24991. "delistingmode": {
  24992. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24993. "type": "integer"
  24994. },
  24995. "deliveryflag": {
  24996. "description": "交割标志 - 0:不可交割 1:可交割",
  24997. "type": "integer"
  24998. },
  24999. "forceclosemode": {
  25000. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25001. "type": "integer"
  25002. },
  25003. "forceclosevalue": {
  25004. "description": "定期强平参数 [收益权]",
  25005. "type": "integer"
  25006. },
  25007. "goodscode": {
  25008. "description": "商品代码(内部)",
  25009. "type": "string"
  25010. },
  25011. "goodscurrencyid": {
  25012. "description": "合约货币ID",
  25013. "type": "integer"
  25014. },
  25015. "goodsgroupid": {
  25016. "description": "所属商品组ID",
  25017. "type": "integer"
  25018. },
  25019. "goodsid": {
  25020. "description": "商品ID(自增ID SEQ_GOODS)",
  25021. "type": "integer"
  25022. },
  25023. "goodsname": {
  25024. "description": "商品名称",
  25025. "type": "string"
  25026. },
  25027. "goodsquotetype": {
  25028. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25029. "type": "integer"
  25030. },
  25031. "goodsstatus": {
  25032. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25033. "type": "integer"
  25034. },
  25035. "goodstradetype": {
  25036. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25037. "type": "integer"
  25038. },
  25039. "goodunitid": {
  25040. "description": "报价单位ID",
  25041. "type": "integer"
  25042. },
  25043. "hasquoter": {
  25044. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25045. "type": "integer"
  25046. },
  25047. "hqprotecttime": {
  25048. "description": "行情保护时间(秒)",
  25049. "type": "integer"
  25050. },
  25051. "innerdealmode": {
  25052. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25053. "type": "integer"
  25054. },
  25055. "isbuylimited": {
  25056. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25057. "type": "integer"
  25058. },
  25059. "isvisible": {
  25060. "description": "游客是否可见 - 0:不可见 1:可见",
  25061. "type": "integer"
  25062. },
  25063. "lasttradedate": {
  25064. "description": "最后交易日期(状态:待退市)",
  25065. "type": "string"
  25066. },
  25067. "listingdate": {
  25068. "description": "交易开始日期",
  25069. "type": "string"
  25070. },
  25071. "marketid": {
  25072. "description": "所属市场ID",
  25073. "type": "integer"
  25074. },
  25075. "modifierid": {
  25076. "description": "修改人",
  25077. "type": "integer"
  25078. },
  25079. "modifystatus": {
  25080. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25081. "type": "integer"
  25082. },
  25083. "modifytime": {
  25084. "description": "修改时间",
  25085. "type": "string"
  25086. },
  25087. "outerdealmode": {
  25088. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25089. "type": "integer"
  25090. },
  25091. "outgoodscode": {
  25092. "description": "商品代码(外部)",
  25093. "type": "string"
  25094. },
  25095. "pictureurl": {
  25096. "description": "商品图片",
  25097. "type": "string"
  25098. },
  25099. "qtydecimalplace": {
  25100. "description": "成交量小数位",
  25101. "type": "integer"
  25102. },
  25103. "quotegear": {
  25104. "description": "行情档位(1-10)",
  25105. "type": "integer"
  25106. },
  25107. "quoteminunit": {
  25108. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25109. "type": "integer"
  25110. },
  25111. "quoteshowtype": {
  25112. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25113. "type": "integer"
  25114. },
  25115. "quoteshowtypeinterval": {
  25116. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25117. "type": "integer"
  25118. },
  25119. "remark": {
  25120. "description": "备注",
  25121. "type": "string"
  25122. }
  25123. }
  25124. },
  25125. "models.GoodsIDAndName": {
  25126. "type": "object",
  25127. "required": [
  25128. "goodscode",
  25129. "goodsid",
  25130. "goodsname",
  25131. "marketid"
  25132. ],
  25133. "properties": {
  25134. "goodscode": {
  25135. "description": "商品代码(内部)",
  25136. "type": "string"
  25137. },
  25138. "goodsid": {
  25139. "description": "商品ID(自增ID SEQ_GOODS)",
  25140. "type": "integer"
  25141. },
  25142. "goodsname": {
  25143. "description": "商品名称",
  25144. "type": "string"
  25145. },
  25146. "marketid": {
  25147. "description": "所属市场ID",
  25148. "type": "integer"
  25149. }
  25150. }
  25151. },
  25152. "models.Goodsgroup": {
  25153. "type": "object",
  25154. "required": [
  25155. "goodsgroupid",
  25156. "goodsgroupname",
  25157. "goodsgroupstatus",
  25158. "marketid"
  25159. ],
  25160. "properties": {
  25161. "agreeunit": {
  25162. "description": "合约单位",
  25163. "type": "number"
  25164. },
  25165. "canshort": {
  25166. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25167. "type": "integer"
  25168. },
  25169. "closepricemode": {
  25170. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25171. "type": "integer"
  25172. },
  25173. "closepriceparam": {
  25174. "description": "强平最新价浮动比例 - 方式为2时使用",
  25175. "type": "number"
  25176. },
  25177. "createtime": {
  25178. "description": "创建时间",
  25179. "type": "string"
  25180. },
  25181. "creatorid": {
  25182. "description": "创建人",
  25183. "type": "integer"
  25184. },
  25185. "currencyid": {
  25186. "description": "报价货币ID",
  25187. "type": "integer"
  25188. },
  25189. "decimalplace": {
  25190. "description": "报价小数位",
  25191. "type": "integer"
  25192. },
  25193. "exercisetype": {
  25194. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25195. "type": "integer"
  25196. },
  25197. "exexchangeid": {
  25198. "description": "外部交易所ID[通道交易]",
  25199. "type": "integer"
  25200. },
  25201. "goodsgroupid": {
  25202. "description": "商品组ID(自增ID)",
  25203. "type": "integer"
  25204. },
  25205. "goodsgroupname": {
  25206. "description": "商品组名称",
  25207. "type": "string"
  25208. },
  25209. "goodsgroupstatus": {
  25210. "description": "商品组状态 - 1:正常 2:注销",
  25211. "type": "integer"
  25212. },
  25213. "goodunitid": {
  25214. "description": "报价单位ID",
  25215. "type": "integer"
  25216. },
  25217. "innerdealmode": {
  25218. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25219. "type": "integer"
  25220. },
  25221. "isbuylimited": {
  25222. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25223. "type": "integer"
  25224. },
  25225. "marketid": {
  25226. "description": "所属市场ID",
  25227. "type": "integer"
  25228. },
  25229. "modifierid": {
  25230. "description": "修改人",
  25231. "type": "integer"
  25232. },
  25233. "modifytime": {
  25234. "description": "修改时间",
  25235. "type": "string"
  25236. },
  25237. "outerdealmode": {
  25238. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25239. "type": "integer"
  25240. },
  25241. "outergroupcode": {
  25242. "description": "外部商品组代码[通道交易]",
  25243. "type": "string"
  25244. },
  25245. "premiumdecimalplace": {
  25246. "description": "权利金小数位[场外期权]",
  25247. "type": "integer"
  25248. },
  25249. "premiumspreadalgorithm": {
  25250. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25251. "type": "integer"
  25252. },
  25253. "premiumspreadvalue": {
  25254. "description": "权利金点差值[场外期权]",
  25255. "type": "number"
  25256. },
  25257. "qtydecimalplace": {
  25258. "description": "成交量小数位",
  25259. "type": "integer"
  25260. },
  25261. "quotegear": {
  25262. "description": "行情档位(1-10)",
  25263. "type": "integer"
  25264. },
  25265. "quoteminunit": {
  25266. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25267. "type": "integer"
  25268. },
  25269. "quoterid": {
  25270. "description": "报价商ID[场外期权]",
  25271. "type": "integer"
  25272. },
  25273. "quotesourcegroupid": {
  25274. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25275. "type": "integer"
  25276. },
  25277. "syncgoodsqty": {
  25278. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25279. "type": "integer"
  25280. }
  25281. }
  25282. },
  25283. "models.Goodssortbypreposition": {
  25284. "type": "object",
  25285. "required": [
  25286. "goodscode",
  25287. "tradedate"
  25288. ],
  25289. "properties": {
  25290. "goodscode": {
  25291. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25292. "type": "string"
  25293. },
  25294. "goodsgroupcode": {
  25295. "description": "品种代码",
  25296. "type": "string"
  25297. },
  25298. "prepositionqty": {
  25299. "description": "昨持仓量",
  25300. "type": "integer"
  25301. },
  25302. "sortindex": {
  25303. "description": "排序",
  25304. "type": "integer"
  25305. },
  25306. "tradedate": {
  25307. "description": "交易日",
  25308. "type": "string"
  25309. },
  25310. "updatetime": {
  25311. "description": "更新时间",
  25312. "type": "string"
  25313. }
  25314. }
  25315. },
  25316. "models.Hedgeinnerholderdetail": {
  25317. "type": "object",
  25318. "required": [
  25319. "buyorsell",
  25320. "tradeid"
  25321. ],
  25322. "properties": {
  25323. "accountid": {
  25324. "description": "账号ID",
  25325. "type": "integer"
  25326. },
  25327. "buyorsell": {
  25328. "description": "方向 - 0:买 1:卖",
  25329. "type": "integer"
  25330. },
  25331. "freezeqty": {
  25332. "description": "冻结数量 - 按单平使用",
  25333. "type": "integer"
  25334. },
  25335. "goodsid": {
  25336. "description": "商品ID",
  25337. "type": "integer"
  25338. },
  25339. "holderamount": {
  25340. "description": "持仓金额 [商品币种]",
  25341. "type": "number"
  25342. },
  25343. "holderdays": {
  25344. "description": "剩余冻结天数",
  25345. "type": "integer"
  25346. },
  25347. "holderprice": {
  25348. "description": "持仓价格",
  25349. "type": "number"
  25350. },
  25351. "holderqty": {
  25352. "description": "持仓数量",
  25353. "type": "integer"
  25354. },
  25355. "marketid": {
  25356. "description": "市场ID",
  25357. "type": "integer"
  25358. },
  25359. "openprice": {
  25360. "description": "建仓价格",
  25361. "type": "number"
  25362. },
  25363. "openqty": {
  25364. "description": "建仓数量",
  25365. "type": "integer"
  25366. },
  25367. "parentaccountid": {
  25368. "description": "所属母账户",
  25369. "type": "integer"
  25370. },
  25371. "releaseamount": {
  25372. "description": "释放持仓金额[商品币种]",
  25373. "type": "number"
  25374. },
  25375. "tradeamount": {
  25376. "description": "成交金额[账户]",
  25377. "type": "number"
  25378. },
  25379. "tradedate": {
  25380. "description": "交易日(yyyyMMdd)",
  25381. "type": "string"
  25382. },
  25383. "tradeid": {
  25384. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25385. "type": "string"
  25386. },
  25387. "tradetime": {
  25388. "description": "交易时间",
  25389. "type": "string"
  25390. }
  25391. }
  25392. },
  25393. "models.Hedgemarketopenlog": {
  25394. "type": "object",
  25395. "required": [
  25396. "accountid"
  25397. ],
  25398. "properties": {
  25399. "accountid": {
  25400. "description": "资金账号[外部母账户]",
  25401. "type": "integer"
  25402. },
  25403. "fcname": {
  25404. "description": "期货公司名称",
  25405. "type": "string"
  25406. },
  25407. "handlestatus": {
  25408. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25409. "type": "integer"
  25410. },
  25411. "marketid": {
  25412. "description": "市场ID",
  25413. "type": "integer"
  25414. },
  25415. "status": {
  25416. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25417. "type": "integer"
  25418. },
  25419. "tradedate": {
  25420. "description": "交易日(yyyyMMdd)",
  25421. "type": "string"
  25422. },
  25423. "updatetime": {
  25424. "description": "更新时间",
  25425. "type": "string"
  25426. }
  25427. }
  25428. },
  25429. "models.HsbyBuyMyPayOrder": {
  25430. "type": "object",
  25431. "required": [
  25432. "goodscode",
  25433. "goodsname",
  25434. "tradeid",
  25435. "trademode"
  25436. ],
  25437. "properties": {
  25438. "agreeunit": {
  25439. "description": "合约单位",
  25440. "type": "number"
  25441. },
  25442. "buyaccountid": {
  25443. "description": "买方账号ID[报价币种]",
  25444. "type": "integer"
  25445. },
  25446. "buyorderid": {
  25447. "description": "买方委托单号",
  25448. "type": "string"
  25449. },
  25450. "createtime": {
  25451. "description": "创建时间",
  25452. "type": "string"
  25453. },
  25454. "currencysign": {
  25455. "description": "货币符号",
  25456. "type": "string"
  25457. },
  25458. "decimalplace": {
  25459. "description": "报价小数位",
  25460. "type": "integer"
  25461. },
  25462. "goodscode": {
  25463. "description": "商品代码(内部)",
  25464. "type": "string"
  25465. },
  25466. "goodsid": {
  25467. "description": "商品ID",
  25468. "type": "integer"
  25469. },
  25470. "goodsname": {
  25471. "description": "商品名称",
  25472. "type": "string"
  25473. },
  25474. "marketid": {
  25475. "description": "市场ID",
  25476. "type": "integer"
  25477. },
  25478. "offamount": {
  25479. "description": "优惠金额",
  25480. "type": "number"
  25481. },
  25482. "originalamount": {
  25483. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25484. "type": "number"
  25485. },
  25486. "payamount": {
  25487. "description": "支付金额 = TradeAmount + TradeCharge",
  25488. "type": "number"
  25489. },
  25490. "payflag": {
  25491. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25492. "type": "integer"
  25493. },
  25494. "paylimitedtime": {
  25495. "description": "支付期限",
  25496. "type": "string"
  25497. },
  25498. "paytime": {
  25499. "description": "付款时间",
  25500. "type": "string"
  25501. },
  25502. "picurls1": {
  25503. "description": "预售商品介绍图片[多张用逗号分隔]",
  25504. "type": "string"
  25505. },
  25506. "picurls2": {
  25507. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25508. "type": "string"
  25509. },
  25510. "sellaccountid": {
  25511. "description": "卖方账号ID[报价币种]",
  25512. "type": "integer"
  25513. },
  25514. "sellorderid": {
  25515. "description": "卖方委托单号",
  25516. "type": "string"
  25517. },
  25518. "tradeamount": {
  25519. "description": "成交金额",
  25520. "type": "number"
  25521. },
  25522. "tradecharge": {
  25523. "description": "成交手续费(买方)",
  25524. "type": "number"
  25525. },
  25526. "tradedate": {
  25527. "description": "交易日(yyyyMMdd)",
  25528. "type": "string"
  25529. },
  25530. "tradeid": {
  25531. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25532. "type": "string"
  25533. },
  25534. "trademode": {
  25535. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25536. "type": "integer"
  25537. },
  25538. "tradeprice": {
  25539. "description": "成交价格",
  25540. "type": "number"
  25541. },
  25542. "tradeqty": {
  25543. "description": "成交数量",
  25544. "type": "integer"
  25545. },
  25546. "vendorname1": {
  25547. "description": "预售商品供应商名称",
  25548. "type": "string"
  25549. },
  25550. "vendorname2": {
  25551. "description": "挂牌商品供应商名称",
  25552. "type": "string"
  25553. }
  25554. }
  25555. },
  25556. "models.HsbyBuyMyTradeDetail": {
  25557. "type": "object",
  25558. "required": [
  25559. "accountid",
  25560. "buyorsell",
  25561. "goodscode",
  25562. "goodsid",
  25563. "goodsname",
  25564. "marketid",
  25565. "orderid",
  25566. "qty",
  25567. "time",
  25568. "trademode"
  25569. ],
  25570. "properties": {
  25571. "accountid": {
  25572. "description": "账户ID[报价币种]",
  25573. "type": "integer"
  25574. },
  25575. "agreeunit": {
  25576. "description": "合约单位",
  25577. "type": "number"
  25578. },
  25579. "amount": {
  25580. "description": "金额 = 价格 * 数量 * 合约单位",
  25581. "type": "number"
  25582. },
  25583. "buyorsell": {
  25584. "description": "买卖 - 0:买 1:卖",
  25585. "type": "integer"
  25586. },
  25587. "currencysign": {
  25588. "description": "货币符号",
  25589. "type": "string"
  25590. },
  25591. "decimalplace": {
  25592. "description": "报价小数位",
  25593. "type": "integer"
  25594. },
  25595. "goodscode": {
  25596. "description": "商品代码(内部)",
  25597. "type": "string"
  25598. },
  25599. "goodsid": {
  25600. "description": "商品ID",
  25601. "type": "integer"
  25602. },
  25603. "goodsname": {
  25604. "description": "商品名称",
  25605. "type": "string"
  25606. },
  25607. "marketid": {
  25608. "description": "市场ID",
  25609. "type": "integer"
  25610. },
  25611. "orderamount": {
  25612. "description": "委托金额",
  25613. "type": "number"
  25614. },
  25615. "orderid": {
  25616. "description": "单号(成交单号)",
  25617. "type": "string"
  25618. },
  25619. "picurls1": {
  25620. "description": "预售商品介绍图片[多张用逗号分隔]",
  25621. "type": "string"
  25622. },
  25623. "picurls2": {
  25624. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25625. "type": "string"
  25626. },
  25627. "price": {
  25628. "description": "价格",
  25629. "type": "number"
  25630. },
  25631. "qty": {
  25632. "description": "数量",
  25633. "type": "integer"
  25634. },
  25635. "time": {
  25636. "description": "时间",
  25637. "type": "string"
  25638. },
  25639. "trademode": {
  25640. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25641. "type": "integer"
  25642. },
  25643. "vendorname1": {
  25644. "description": "预售商品供应商名称",
  25645. "type": "string"
  25646. },
  25647. "vendorname2": {
  25648. "description": "挂牌商品供应商名称",
  25649. "type": "string"
  25650. }
  25651. }
  25652. },
  25653. "models.HsbyGoodsOrderDetail": {
  25654. "type": "object",
  25655. "required": [
  25656. "buyorsell",
  25657. "orderid",
  25658. "ordertime"
  25659. ],
  25660. "properties": {
  25661. "buyorsell": {
  25662. "description": "买卖 - 0:买 1:卖",
  25663. "type": "integer"
  25664. },
  25665. "currencysign": {
  25666. "description": "货币符号",
  25667. "type": "string"
  25668. },
  25669. "customername": {
  25670. "description": "客户名称(企业名称),已脱敏",
  25671. "type": "string"
  25672. },
  25673. "enableqty": {
  25674. "description": "可用数量",
  25675. "type": "integer"
  25676. },
  25677. "goodunit": {
  25678. "description": "报价单位",
  25679. "type": "string"
  25680. },
  25681. "orderid": {
  25682. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25683. "type": "string"
  25684. },
  25685. "orderprice": {
  25686. "description": "委托价格",
  25687. "type": "number"
  25688. },
  25689. "ordertime": {
  25690. "description": "委托时间",
  25691. "type": "string"
  25692. }
  25693. }
  25694. },
  25695. "models.HsbyListingGoodsDetail": {
  25696. "type": "object",
  25697. "required": [
  25698. "goodscode",
  25699. "goodsid",
  25700. "goodsname",
  25701. "marketid",
  25702. "trademode"
  25703. ],
  25704. "properties": {
  25705. "agreeunit": {
  25706. "description": "合约单位",
  25707. "type": "number"
  25708. },
  25709. "buymaxqty": {
  25710. "description": "购买上限 [71] - 0为不限",
  25711. "type": "integer"
  25712. },
  25713. "currency": {
  25714. "description": "货币",
  25715. "type": "string"
  25716. },
  25717. "currencysign": {
  25718. "description": "货币符号",
  25719. "type": "string"
  25720. },
  25721. "decimalplace": {
  25722. "description": "报价小数位",
  25723. "type": "integer"
  25724. },
  25725. "desccityid": {
  25726. "description": "目的地(市)ID",
  25727. "type": "integer"
  25728. },
  25729. "descprovinceid": {
  25730. "description": "目的地(省)ID",
  25731. "type": "integer"
  25732. },
  25733. "goodscode": {
  25734. "description": "商品代码(内部)",
  25735. "type": "string"
  25736. },
  25737. "goodsdesc": {
  25738. "description": "商品详情",
  25739. "type": "string"
  25740. },
  25741. "goodsid": {
  25742. "description": "商品ID(自增ID SEQ_GOODS)",
  25743. "type": "integer"
  25744. },
  25745. "goodsname": {
  25746. "description": "商品名称",
  25747. "type": "string"
  25748. },
  25749. "goodsprice": {
  25750. "description": "商品价格",
  25751. "type": "number"
  25752. },
  25753. "hotindex": {
  25754. "description": "景点热度",
  25755. "type": "integer"
  25756. },
  25757. "last": {
  25758. "description": "现价",
  25759. "type": "number"
  25760. },
  25761. "limitdown": {
  25762. "description": "跌停价",
  25763. "type": "number"
  25764. },
  25765. "limitup": {
  25766. "description": "涨停价",
  25767. "type": "number"
  25768. },
  25769. "lotsize": {
  25770. "description": "手数最小变动单位",
  25771. "type": "integer"
  25772. },
  25773. "marketid": {
  25774. "description": "所属市场ID",
  25775. "type": "integer"
  25776. },
  25777. "picurls": {
  25778. "description": "介绍图片[多张用逗号分隔]",
  25779. "type": "string"
  25780. },
  25781. "quoteminunit": {
  25782. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25783. "type": "integer"
  25784. },
  25785. "stepvalue": {
  25786. "description": "价格最小变动单位",
  25787. "type": "number"
  25788. },
  25789. "trademode": {
  25790. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25791. "type": "integer"
  25792. },
  25793. "vendorattr": {
  25794. "description": "供应商附件(多张,逗号分隔)",
  25795. "type": "string"
  25796. },
  25797. "vendorname": {
  25798. "description": "供应商名称",
  25799. "type": "string"
  25800. },
  25801. "vendorphone": {
  25802. "description": "供应商客服电话",
  25803. "type": "string"
  25804. },
  25805. "videourls": {
  25806. "description": "介绍视频[多张用逗号分隔]",
  25807. "type": "string"
  25808. }
  25809. }
  25810. },
  25811. "models.HsbyMarketGoods": {
  25812. "type": "object",
  25813. "required": [
  25814. "accountid",
  25815. "buyorsell",
  25816. "goodscode",
  25817. "goodsid",
  25818. "goodsname",
  25819. "marketid",
  25820. "orderid",
  25821. "trademode"
  25822. ],
  25823. "properties": {
  25824. "accountid": {
  25825. "description": "账户ID[报价币种]",
  25826. "type": "integer"
  25827. },
  25828. "agreeunit": {
  25829. "description": "合约单位",
  25830. "type": "number"
  25831. },
  25832. "buyorsell": {
  25833. "description": "买卖 - 0:买 1:卖",
  25834. "type": "integer"
  25835. },
  25836. "categoryid": {
  25837. "description": "类别ID(WRCATEGORY)",
  25838. "type": "integer"
  25839. },
  25840. "currency": {
  25841. "description": "货币",
  25842. "type": "string"
  25843. },
  25844. "currencysign": {
  25845. "description": "货币符号",
  25846. "type": "string"
  25847. },
  25848. "customername": {
  25849. "description": "卖家名称",
  25850. "type": "string"
  25851. },
  25852. "decimalplace": {
  25853. "description": "报价小数位",
  25854. "type": "integer"
  25855. },
  25856. "goodscode": {
  25857. "description": "商品代码(内部)",
  25858. "type": "string"
  25859. },
  25860. "goodsid": {
  25861. "description": "商品ID",
  25862. "type": "integer"
  25863. },
  25864. "goodsname": {
  25865. "description": "商品名称",
  25866. "type": "string"
  25867. },
  25868. "goodsprice": {
  25869. "description": "商品价格",
  25870. "type": "number"
  25871. },
  25872. "hascoupon": {
  25873. "description": "是否可用优惠卷",
  25874. "type": "boolean"
  25875. },
  25876. "hotindex": {
  25877. "description": "景点热度",
  25878. "type": "integer"
  25879. },
  25880. "marketid": {
  25881. "description": "市场ID",
  25882. "type": "integer"
  25883. },
  25884. "orderid": {
  25885. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25886. "type": "string"
  25887. },
  25888. "orderprice": {
  25889. "description": "委托价格",
  25890. "type": "number"
  25891. },
  25892. "orderstatus": {
  25893. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25894. "type": "integer"
  25895. },
  25896. "picurls": {
  25897. "description": "介绍图片[多张用逗号分隔]",
  25898. "type": "string"
  25899. },
  25900. "quoteminunit": {
  25901. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25902. "type": "integer"
  25903. },
  25904. "sellUserID": {
  25905. "description": "卖方UserID",
  25906. "type": "integer"
  25907. },
  25908. "trademode": {
  25909. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25910. "type": "integer"
  25911. },
  25912. "videourls": {
  25913. "description": "介绍视频[多张用逗号分隔]",
  25914. "type": "string"
  25915. }
  25916. }
  25917. },
  25918. "models.HsbyMarketGoodsDetail": {
  25919. "type": "object",
  25920. "required": [
  25921. "accountid",
  25922. "buyorsell",
  25923. "goodscode",
  25924. "goodsid",
  25925. "goodsname",
  25926. "marketid",
  25927. "orderid",
  25928. "orderqty",
  25929. "trademode"
  25930. ],
  25931. "properties": {
  25932. "accountid": {
  25933. "description": "账户ID[报价币种]",
  25934. "type": "integer"
  25935. },
  25936. "agreeunit": {
  25937. "description": "合约单位",
  25938. "type": "number"
  25939. },
  25940. "buymaxqty": {
  25941. "description": "购买上限 [71] - 0为不限",
  25942. "type": "integer"
  25943. },
  25944. "buyorsell": {
  25945. "description": "买卖 - 0:买 1:卖",
  25946. "type": "integer"
  25947. },
  25948. "cancelqty": {
  25949. "description": "撤单数量",
  25950. "type": "integer"
  25951. },
  25952. "categoryid": {
  25953. "description": "类别ID(WRCATEGORY)",
  25954. "type": "integer"
  25955. },
  25956. "currency": {
  25957. "description": "货币",
  25958. "type": "string"
  25959. },
  25960. "currencysign": {
  25961. "description": "货币符号",
  25962. "type": "string"
  25963. },
  25964. "customername": {
  25965. "description": "卖家名称",
  25966. "type": "string"
  25967. },
  25968. "decimalplace": {
  25969. "description": "报价小数位",
  25970. "type": "integer"
  25971. },
  25972. "goodscode": {
  25973. "description": "商品代码(内部)",
  25974. "type": "string"
  25975. },
  25976. "goodsdesc": {
  25977. "description": "商品详情",
  25978. "type": "string"
  25979. },
  25980. "goodsid": {
  25981. "description": "商品ID",
  25982. "type": "integer"
  25983. },
  25984. "goodsname": {
  25985. "description": "商品名称",
  25986. "type": "string"
  25987. },
  25988. "goodsprice": {
  25989. "description": "商品价格",
  25990. "type": "number"
  25991. },
  25992. "hotindex": {
  25993. "description": "景点热度",
  25994. "type": "integer"
  25995. },
  25996. "lotsize": {
  25997. "description": "手数最小变动单位",
  25998. "type": "integer"
  25999. },
  26000. "marketid": {
  26001. "description": "市场ID",
  26002. "type": "integer"
  26003. },
  26004. "orderid": {
  26005. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26006. "type": "string"
  26007. },
  26008. "orderprice": {
  26009. "description": "委托价格",
  26010. "type": "number"
  26011. },
  26012. "orderqty": {
  26013. "description": "委托数量",
  26014. "type": "integer"
  26015. },
  26016. "orderstatus": {
  26017. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26018. "type": "integer"
  26019. },
  26020. "picurls": {
  26021. "description": "介绍图片[多张用逗号分隔]",
  26022. "type": "string"
  26023. },
  26024. "quoteminunit": {
  26025. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26026. "type": "integer"
  26027. },
  26028. "sellUserID": {
  26029. "description": "卖方UserID",
  26030. "type": "integer"
  26031. },
  26032. "trademode": {
  26033. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26034. "type": "integer"
  26035. },
  26036. "tradeqty": {
  26037. "description": "成交数量",
  26038. "type": "integer"
  26039. },
  26040. "vendorattr": {
  26041. "description": "供应商附件(多张,逗号分隔)",
  26042. "type": "string"
  26043. },
  26044. "vendorname": {
  26045. "description": "供应商名称",
  26046. "type": "string"
  26047. },
  26048. "vendorphone": {
  26049. "description": "供应商客服电话",
  26050. "type": "string"
  26051. },
  26052. "videourls": {
  26053. "description": "介绍视频[多张用逗号分隔]",
  26054. "type": "string"
  26055. }
  26056. }
  26057. },
  26058. "models.HsbyMarketInfo": {
  26059. "type": "object",
  26060. "required": [
  26061. "marketid",
  26062. "marketstatus",
  26063. "trademode"
  26064. ],
  26065. "properties": {
  26066. "marketid": {
  26067. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26068. "type": "integer"
  26069. },
  26070. "marketname": {
  26071. "description": "市场名称",
  26072. "type": "string"
  26073. },
  26074. "marketstatus": {
  26075. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26076. "type": "integer"
  26077. },
  26078. "trademode": {
  26079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26080. "type": "integer"
  26081. }
  26082. }
  26083. },
  26084. "models.HsbyMyGoods": {
  26085. "type": "object",
  26086. "required": [
  26087. "accountid",
  26088. "goodscode",
  26089. "goodsid",
  26090. "goodsname",
  26091. "marketid",
  26092. "trademode"
  26093. ],
  26094. "properties": {
  26095. "accountid": {
  26096. "description": "账号Id",
  26097. "type": "integer"
  26098. },
  26099. "agreeunit": {
  26100. "description": "合约单位",
  26101. "type": "number"
  26102. },
  26103. "buyaverageprice": {
  26104. "description": "持仓均价",
  26105. "type": "number"
  26106. },
  26107. "buycurholderamount": {
  26108. "description": "买当前持仓总金额[商品币种]",
  26109. "type": "number"
  26110. },
  26111. "buycurpositionqty": {
  26112. "description": "买当前持仓总数量",
  26113. "type": "integer"
  26114. },
  26115. "buymaxqty": {
  26116. "description": "购买上限 [71] - 0为不限",
  26117. "type": "integer"
  26118. },
  26119. "currencysign": {
  26120. "description": "货币符号",
  26121. "type": "string"
  26122. },
  26123. "decimalplace": {
  26124. "description": "报价小数位",
  26125. "type": "integer"
  26126. },
  26127. "enableqty": {
  26128. "description": "可用数量",
  26129. "type": "integer"
  26130. },
  26131. "goodscode": {
  26132. "description": "商品代码(内部)",
  26133. "type": "string"
  26134. },
  26135. "goodsid": {
  26136. "description": "商品Id",
  26137. "type": "integer"
  26138. },
  26139. "goodsname": {
  26140. "description": "商品名称",
  26141. "type": "string"
  26142. },
  26143. "goodsprice": {
  26144. "description": "商品价格",
  26145. "type": "number"
  26146. },
  26147. "goodsstatus": {
  26148. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26149. "type": "integer"
  26150. },
  26151. "last": {
  26152. "description": "现价(仅使用于挂牌点选)",
  26153. "type": "number"
  26154. },
  26155. "limitdown": {
  26156. "description": "跌停价(仅使用于挂牌点选)",
  26157. "type": "number"
  26158. },
  26159. "limitup": {
  26160. "description": "涨停价(仅使用于挂牌点选)",
  26161. "type": "number"
  26162. },
  26163. "lotsize": {
  26164. "description": "手数最小变动单位",
  26165. "type": "integer"
  26166. },
  26167. "marketid": {
  26168. "description": "所属市场ID",
  26169. "type": "integer"
  26170. },
  26171. "picurls": {
  26172. "description": "介绍图片[多张用逗号分隔]",
  26173. "type": "string"
  26174. },
  26175. "quoteminunit": {
  26176. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26177. "type": "integer"
  26178. },
  26179. "stepvalue": {
  26180. "description": "价格最小变动单位",
  26181. "type": "number"
  26182. },
  26183. "trademode": {
  26184. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26185. "type": "integer"
  26186. }
  26187. }
  26188. },
  26189. "models.HsbyMyPackage": {
  26190. "type": "object",
  26191. "required": [
  26192. "goodscode",
  26193. "goodsname",
  26194. "takeorderid",
  26195. "trademode"
  26196. ],
  26197. "properties": {
  26198. "accountid": {
  26199. "description": "账户ID",
  26200. "type": "integer"
  26201. },
  26202. "address": {
  26203. "description": "提货人详细地址",
  26204. "type": "string"
  26205. },
  26206. "agreeunit": {
  26207. "description": "合约单位",
  26208. "type": "number"
  26209. },
  26210. "amount": {
  26211. "description": "提货金额",
  26212. "type": "number"
  26213. },
  26214. "auditer": {
  26215. "description": "审核人",
  26216. "type": "integer"
  26217. },
  26218. "audittime": {
  26219. "description": "审核时间",
  26220. "type": "string"
  26221. },
  26222. "averageprice": {
  26223. "description": "均价",
  26224. "type": "number"
  26225. },
  26226. "cardnum": {
  26227. "description": "提货人证件号码",
  26228. "type": "string"
  26229. },
  26230. "cardtypeid": {
  26231. "description": "提货人证件类型",
  26232. "type": "integer"
  26233. },
  26234. "checkremark": {
  26235. "description": "审核备注",
  26236. "type": "string"
  26237. },
  26238. "currencysign": {
  26239. "description": "货币符号",
  26240. "type": "string"
  26241. },
  26242. "decimalplace": {
  26243. "description": "报价小数位",
  26244. "type": "integer"
  26245. },
  26246. "goodscode": {
  26247. "description": "商品代码(内部)",
  26248. "type": "string"
  26249. },
  26250. "goodsid": {
  26251. "description": "商品ID",
  26252. "type": "integer"
  26253. },
  26254. "goodsname": {
  26255. "description": "商品名称",
  26256. "type": "string"
  26257. },
  26258. "handlestatus": {
  26259. "description": "处理状态",
  26260. "type": "integer"
  26261. },
  26262. "marketid": {
  26263. "description": "市场ID",
  26264. "type": "integer"
  26265. },
  26266. "phonenum": {
  26267. "description": "提货人联系方式",
  26268. "type": "string"
  26269. },
  26270. "picurls": {
  26271. "description": "介绍图片[多张用逗号分隔]",
  26272. "type": "string"
  26273. },
  26274. "qty": {
  26275. "description": "提货数量",
  26276. "type": "number"
  26277. },
  26278. "recivername": {
  26279. "description": "提货人姓名",
  26280. "type": "string"
  26281. },
  26282. "reqtime": {
  26283. "description": "更新时间",
  26284. "type": "string"
  26285. },
  26286. "takemode": {
  26287. "description": "提货方式 - 2:自提 3:配送",
  26288. "type": "integer"
  26289. },
  26290. "takeorderid": {
  26291. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26292. "type": "string"
  26293. },
  26294. "takeorderstatus": {
  26295. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26296. "type": "integer"
  26297. },
  26298. "takeremark": {
  26299. "description": "提货备注",
  26300. "type": "string"
  26301. },
  26302. "tradedate": {
  26303. "description": "交易日(yyyyMMdd)",
  26304. "type": "string"
  26305. },
  26306. "trademode": {
  26307. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26308. "type": "integer"
  26309. },
  26310. "userid": {
  26311. "description": "用户ID",
  26312. "type": "integer"
  26313. },
  26314. "vendorname": {
  26315. "description": "供应商名称",
  26316. "type": "string"
  26317. }
  26318. }
  26319. },
  26320. "models.HsbyPreGoods": {
  26321. "type": "object",
  26322. "required": [
  26323. "goodscode",
  26324. "goodsid",
  26325. "goodsname",
  26326. "marketid",
  26327. "trademode"
  26328. ],
  26329. "properties": {
  26330. "agreeunit": {
  26331. "description": "合约单位",
  26332. "type": "number"
  26333. },
  26334. "currency": {
  26335. "description": "货币",
  26336. "type": "string"
  26337. },
  26338. "currencysign": {
  26339. "description": "货币符号",
  26340. "type": "string"
  26341. },
  26342. "decimalplace": {
  26343. "description": "报价小数位",
  26344. "type": "integer"
  26345. },
  26346. "desccityid": {
  26347. "description": "目的地(市)",
  26348. "type": "integer"
  26349. },
  26350. "descprovinceid": {
  26351. "description": "目的地(省)",
  26352. "type": "integer"
  26353. },
  26354. "enableqty": {
  26355. "description": "剩余数量",
  26356. "type": "integer"
  26357. },
  26358. "goodscode": {
  26359. "description": "商品代码(内部)",
  26360. "type": "string"
  26361. },
  26362. "goodsid": {
  26363. "description": "商品ID(自增ID SEQ_GOODS)",
  26364. "type": "integer"
  26365. },
  26366. "goodsname": {
  26367. "description": "商品名称",
  26368. "type": "string"
  26369. },
  26370. "goodsstatus": {
  26371. "description": "商品状态- 2:未上市 3:上市",
  26372. "type": "integer"
  26373. },
  26374. "lasttradedate": {
  26375. "description": "最后交易日期(状态:待退市)",
  26376. "type": "string"
  26377. },
  26378. "listingdate": {
  26379. "description": "交易开始日期",
  26380. "type": "string"
  26381. },
  26382. "marketid": {
  26383. "description": "所属市场ID",
  26384. "type": "integer"
  26385. },
  26386. "picurls": {
  26387. "description": "介绍图片[多张用逗号分隔]",
  26388. "type": "string"
  26389. },
  26390. "presaledqty": {
  26391. "description": "已预售量(预售结束时更新)",
  26392. "type": "integer"
  26393. },
  26394. "presaleqty": {
  26395. "description": "预售数量",
  26396. "type": "integer"
  26397. },
  26398. "quoteminunit": {
  26399. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26400. "type": "integer"
  26401. },
  26402. "refprice": {
  26403. "description": "参考价格[一口价]",
  26404. "type": "number"
  26405. },
  26406. "relatedgoodsid": {
  26407. "description": "关联交易合约ID",
  26408. "type": "integer"
  26409. },
  26410. "trademode": {
  26411. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26412. "type": "integer"
  26413. },
  26414. "videourls": {
  26415. "description": "介绍视频[多张用逗号分隔]",
  26416. "type": "string"
  26417. }
  26418. }
  26419. },
  26420. "models.HsbyPreGoodsDetail": {
  26421. "type": "object",
  26422. "required": [
  26423. "goodscode",
  26424. "goodsid",
  26425. "goodsname",
  26426. "marketid",
  26427. "trademode"
  26428. ],
  26429. "properties": {
  26430. "agreeunit": {
  26431. "description": "合约单位",
  26432. "type": "number"
  26433. },
  26434. "buymaxqty": {
  26435. "description": "购买上限 [71] - 0为不限",
  26436. "type": "integer"
  26437. },
  26438. "currency": {
  26439. "description": "货币",
  26440. "type": "string"
  26441. },
  26442. "currencysign": {
  26443. "description": "货币符号",
  26444. "type": "string"
  26445. },
  26446. "customername": {
  26447. "description": "发行单位",
  26448. "type": "string"
  26449. },
  26450. "decimalplace": {
  26451. "description": "报价小数位",
  26452. "type": "integer"
  26453. },
  26454. "desccityid": {
  26455. "description": "目的地(市)ID",
  26456. "type": "integer"
  26457. },
  26458. "descprovinceid": {
  26459. "description": "目的地(省)ID",
  26460. "type": "integer"
  26461. },
  26462. "enableqty": {
  26463. "description": "剩余数量",
  26464. "type": "integer"
  26465. },
  26466. "goodscode": {
  26467. "description": "商品代码(内部)",
  26468. "type": "string"
  26469. },
  26470. "goodsdesc": {
  26471. "description": "商品详情",
  26472. "type": "string"
  26473. },
  26474. "goodsid": {
  26475. "description": "商品ID(自增ID SEQ_GOODS)",
  26476. "type": "integer"
  26477. },
  26478. "goodsname": {
  26479. "description": "商品名称",
  26480. "type": "string"
  26481. },
  26482. "goodsstatus": {
  26483. "description": "商品状态- 2:未上市 3:上市",
  26484. "type": "integer"
  26485. },
  26486. "goodunit": {
  26487. "description": "报价单位",
  26488. "type": "string"
  26489. },
  26490. "lasttradedate": {
  26491. "description": "最后交易日期(状态:待退市)",
  26492. "type": "string"
  26493. },
  26494. "listingdate": {
  26495. "description": "交易开始日期",
  26496. "type": "string"
  26497. },
  26498. "lotsize": {
  26499. "description": "手数最小变动单位",
  26500. "type": "integer"
  26501. },
  26502. "marketid": {
  26503. "description": "所属市场ID",
  26504. "type": "integer"
  26505. },
  26506. "picurls": {
  26507. "description": "介绍图片[多张用逗号分隔]",
  26508. "type": "string"
  26509. },
  26510. "presaledqty": {
  26511. "description": "已预售量(预售结束时更新)",
  26512. "type": "integer"
  26513. },
  26514. "presaleqty": {
  26515. "description": "预售数量",
  26516. "type": "integer"
  26517. },
  26518. "quoteminunit": {
  26519. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26520. "type": "integer"
  26521. },
  26522. "refprice": {
  26523. "description": "参考价格[一口价]",
  26524. "type": "number"
  26525. },
  26526. "relatedgoodsid": {
  26527. "description": "关联交易合约ID",
  26528. "type": "integer"
  26529. },
  26530. "stepvalue": {
  26531. "description": "价格最小变动单位",
  26532. "type": "number"
  26533. },
  26534. "trademode": {
  26535. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26536. "type": "integer"
  26537. },
  26538. "vendorattr": {
  26539. "description": "供应商附件(多张,逗号分隔)",
  26540. "type": "string"
  26541. },
  26542. "vendorname": {
  26543. "description": "供应商名称",
  26544. "type": "string"
  26545. },
  26546. "vendorphone": {
  26547. "description": "供应商客服电话",
  26548. "type": "string"
  26549. },
  26550. "videourls": {
  26551. "description": "介绍视频[多张用逗号分隔]",
  26552. "type": "string"
  26553. }
  26554. }
  26555. },
  26556. "models.HsbySellCollectionOrder": {
  26557. "type": "object",
  26558. "required": [
  26559. "goodscode",
  26560. "goodsname",
  26561. "tradeid",
  26562. "trademode"
  26563. ],
  26564. "properties": {
  26565. "agreeunit": {
  26566. "description": "合约单位",
  26567. "type": "number"
  26568. },
  26569. "buyaccountid": {
  26570. "description": "买方账号ID[报价币种]",
  26571. "type": "integer"
  26572. },
  26573. "buyorderid": {
  26574. "description": "买方委托单号",
  26575. "type": "string"
  26576. },
  26577. "createtime": {
  26578. "description": "创建时间",
  26579. "type": "string"
  26580. },
  26581. "currencysign": {
  26582. "description": "货币符号",
  26583. "type": "string"
  26584. },
  26585. "decimalplace": {
  26586. "description": "报价小数位",
  26587. "type": "integer"
  26588. },
  26589. "goodscode": {
  26590. "description": "商品代码(内部)",
  26591. "type": "string"
  26592. },
  26593. "goodsid": {
  26594. "description": "商品ID",
  26595. "type": "integer"
  26596. },
  26597. "goodsname": {
  26598. "description": "商品名称",
  26599. "type": "string"
  26600. },
  26601. "marketid": {
  26602. "description": "市场ID",
  26603. "type": "integer"
  26604. },
  26605. "offamount": {
  26606. "description": "优惠金额",
  26607. "type": "number"
  26608. },
  26609. "payamount": {
  26610. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26611. "type": "number"
  26612. },
  26613. "payflag": {
  26614. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26615. "type": "integer"
  26616. },
  26617. "paylimitedtime": {
  26618. "description": "支付期限",
  26619. "type": "string"
  26620. },
  26621. "paytime": {
  26622. "description": "付款时间",
  26623. "type": "string"
  26624. },
  26625. "picurls": {
  26626. "description": "商品介绍图片[多张用逗号分隔]",
  26627. "type": "string"
  26628. },
  26629. "sellaccountid": {
  26630. "description": "卖方账号ID[报价币种]",
  26631. "type": "integer"
  26632. },
  26633. "sellorderid": {
  26634. "description": "卖方委托单号",
  26635. "type": "string"
  26636. },
  26637. "tradeamount": {
  26638. "description": "成交金额",
  26639. "type": "number"
  26640. },
  26641. "tradecharge": {
  26642. "description": "成交手续费(买方)",
  26643. "type": "number"
  26644. },
  26645. "tradedate": {
  26646. "description": "交易日(yyyyMMdd)",
  26647. "type": "string"
  26648. },
  26649. "tradeid": {
  26650. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26651. "type": "string"
  26652. },
  26653. "trademode": {
  26654. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26655. "type": "integer"
  26656. },
  26657. "tradeprice": {
  26658. "description": "成交价格",
  26659. "type": "number"
  26660. },
  26661. "tradeqty": {
  26662. "description": "成交数量",
  26663. "type": "integer"
  26664. }
  26665. }
  26666. },
  26667. "models.HsbySellMyDetail": {
  26668. "type": "object",
  26669. "required": [
  26670. "accountid",
  26671. "buyorsell",
  26672. "goodscode",
  26673. "goodsid",
  26674. "goodsname",
  26675. "marketid",
  26676. "orderid",
  26677. "time",
  26678. "trademode"
  26679. ],
  26680. "properties": {
  26681. "accountid": {
  26682. "description": "账户ID[报价币种]",
  26683. "type": "integer"
  26684. },
  26685. "agreeunit": {
  26686. "description": "合约单位",
  26687. "type": "number"
  26688. },
  26689. "buyorsell": {
  26690. "description": "买卖 - 0:买 1:卖",
  26691. "type": "integer"
  26692. },
  26693. "currencysign": {
  26694. "description": "货币符号",
  26695. "type": "string"
  26696. },
  26697. "decimalplace": {
  26698. "description": "报价小数位",
  26699. "type": "integer"
  26700. },
  26701. "goodscode": {
  26702. "description": "商品代码(内部)",
  26703. "type": "string"
  26704. },
  26705. "goodsid": {
  26706. "description": "商品ID",
  26707. "type": "integer"
  26708. },
  26709. "goodsname": {
  26710. "description": "商品名称",
  26711. "type": "string"
  26712. },
  26713. "marketid": {
  26714. "description": "市场ID",
  26715. "type": "integer"
  26716. },
  26717. "orderid": {
  26718. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26719. "type": "string"
  26720. },
  26721. "ordertype": {
  26722. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26723. "type": "integer"
  26724. },
  26725. "picurls": {
  26726. "description": "介绍图片[多张用逗号分隔]",
  26727. "type": "string"
  26728. },
  26729. "price": {
  26730. "description": "价格",
  26731. "type": "number"
  26732. },
  26733. "qty": {
  26734. "description": "数量",
  26735. "type": "integer"
  26736. },
  26737. "time": {
  26738. "description": "时间",
  26739. "type": "string"
  26740. },
  26741. "trademode": {
  26742. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26743. "type": "integer"
  26744. },
  26745. "vendorname": {
  26746. "description": "供应商名称",
  26747. "type": "string"
  26748. }
  26749. }
  26750. },
  26751. "models.HsbyTopGoods": {
  26752. "type": "object",
  26753. "required": [
  26754. "goodscode",
  26755. "goodsid",
  26756. "goodsname",
  26757. "marketid",
  26758. "trademode"
  26759. ],
  26760. "properties": {
  26761. "agreeunit": {
  26762. "description": "合约单位",
  26763. "type": "number"
  26764. },
  26765. "currency": {
  26766. "description": "货币",
  26767. "type": "string"
  26768. },
  26769. "currencysign": {
  26770. "description": "货币符号",
  26771. "type": "string"
  26772. },
  26773. "decimalplace": {
  26774. "description": "报价小数位",
  26775. "type": "integer"
  26776. },
  26777. "desccityid": {
  26778. "description": "目的地(市)",
  26779. "type": "integer"
  26780. },
  26781. "descprovinceid": {
  26782. "description": "目的地(省)",
  26783. "type": "integer"
  26784. },
  26785. "goodscode": {
  26786. "description": "商品代码(内部)",
  26787. "type": "string"
  26788. },
  26789. "goodsid": {
  26790. "description": "商品ID(自增ID SEQ_GOODS)",
  26791. "type": "integer"
  26792. },
  26793. "goodsname": {
  26794. "description": "商品名称",
  26795. "type": "string"
  26796. },
  26797. "hotindex": {
  26798. "description": "景点热度",
  26799. "type": "integer"
  26800. },
  26801. "last": {
  26802. "description": "现价",
  26803. "type": "number"
  26804. },
  26805. "marketid": {
  26806. "description": "所属市场ID",
  26807. "type": "integer"
  26808. },
  26809. "picurls": {
  26810. "description": "介绍图片[多张用逗号分隔]",
  26811. "type": "string"
  26812. },
  26813. "quoteminunit": {
  26814. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26815. "type": "integer"
  26816. },
  26817. "trademode": {
  26818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26819. "type": "integer"
  26820. },
  26821. "videourls": {
  26822. "description": "介绍视频[多张用逗号分隔]",
  26823. "type": "string"
  26824. }
  26825. }
  26826. },
  26827. "models.HybsMyBuyOrderDetail": {
  26828. "type": "object",
  26829. "required": [
  26830. "accountid",
  26831. "buyorsell",
  26832. "goodscode",
  26833. "goodsid",
  26834. "goodsname",
  26835. "marketid",
  26836. "orderid",
  26837. "orderqty",
  26838. "ordertime",
  26839. "trademode"
  26840. ],
  26841. "properties": {
  26842. "accountid": {
  26843. "description": "账户ID[报价币种]",
  26844. "type": "integer"
  26845. },
  26846. "agreeunit": {
  26847. "description": "合约单位",
  26848. "type": "number"
  26849. },
  26850. "buyorsell": {
  26851. "description": "买卖 - 0:买 1:卖",
  26852. "type": "integer"
  26853. },
  26854. "cancelqty": {
  26855. "description": "撤单数量",
  26856. "type": "integer"
  26857. },
  26858. "currencysign": {
  26859. "description": "货币符号",
  26860. "type": "string"
  26861. },
  26862. "decimalplace": {
  26863. "description": "报价小数位",
  26864. "type": "integer"
  26865. },
  26866. "goodscode": {
  26867. "description": "商品代码(内部)",
  26868. "type": "string"
  26869. },
  26870. "goodsid": {
  26871. "description": "商品ID",
  26872. "type": "integer"
  26873. },
  26874. "goodsname": {
  26875. "description": "商品名称",
  26876. "type": "string"
  26877. },
  26878. "listingselecttype": {
  26879. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26880. "type": "integer"
  26881. },
  26882. "marketid": {
  26883. "description": "市场ID",
  26884. "type": "integer"
  26885. },
  26886. "mybuystatus": {
  26887. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26888. "type": "integer"
  26889. },
  26890. "orderamount": {
  26891. "description": "委托金额",
  26892. "type": "number"
  26893. },
  26894. "orderid": {
  26895. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26896. "type": "string"
  26897. },
  26898. "orderprice": {
  26899. "description": "委托价格",
  26900. "type": "number"
  26901. },
  26902. "orderqty": {
  26903. "description": "委托数量",
  26904. "type": "integer"
  26905. },
  26906. "orderstatus": {
  26907. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26908. "type": "integer"
  26909. },
  26910. "ordertime": {
  26911. "description": "委托时间",
  26912. "type": "string"
  26913. },
  26914. "picurls1": {
  26915. "description": "预售商品介绍图片[多张用逗号分隔]",
  26916. "type": "string"
  26917. },
  26918. "picurls2": {
  26919. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26920. "type": "string"
  26921. },
  26922. "trademode": {
  26923. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26924. "type": "integer"
  26925. },
  26926. "tradeqty": {
  26927. "description": "成交数量",
  26928. "type": "integer"
  26929. },
  26930. "vendorname1": {
  26931. "description": "预售商品供应商名称",
  26932. "type": "string"
  26933. },
  26934. "vendorname2": {
  26935. "description": "挂牌商品供应商名称",
  26936. "type": "string"
  26937. }
  26938. }
  26939. },
  26940. "models.Loginaccount": {
  26941. "type": "object",
  26942. "required": [
  26943. "loginid"
  26944. ],
  26945. "properties": {
  26946. "accountname": {
  26947. "description": "账户名称",
  26948. "type": "string"
  26949. },
  26950. "canoutin": {
  26951. "description": "是否可出入金 - 0:不可 1:可",
  26952. "type": "integer"
  26953. },
  26954. "clientroleid": {
  26955. "description": "终端角色ID",
  26956. "type": "integer"
  26957. },
  26958. "haslogined": {
  26959. "description": "是否已登录 - 0:未登录 1:已登录",
  26960. "type": "integer"
  26961. },
  26962. "hasupdatedpwd": {
  26963. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26964. "type": "integer"
  26965. },
  26966. "lastloginip": {
  26967. "description": "最新登录地址",
  26968. "type": "string"
  26969. },
  26970. "lastloginmode": {
  26971. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26972. "type": "integer"
  26973. },
  26974. "lastloginremark": {
  26975. "description": "最新登录描述",
  26976. "type": "string"
  26977. },
  26978. "lastlogintime": {
  26979. "description": "最新登录时间",
  26980. "type": "string"
  26981. },
  26982. "logincode": {
  26983. "description": "登录代码",
  26984. "type": "string"
  26985. },
  26986. "loginfailnum": {
  26987. "description": "连续登录失败次数(登录成功时清零)",
  26988. "type": "integer"
  26989. },
  26990. "loginid": {
  26991. "description": "登陆账号",
  26992. "type": "integer"
  26993. },
  26994. "loginport": {
  26995. "description": "最新登录端口",
  26996. "type": "integer"
  26997. },
  26998. "loginstatus": {
  26999. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27000. "type": "integer"
  27001. },
  27002. "loginusertype": {
  27003. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27004. "type": "integer"
  27005. },
  27006. "mobile": {
  27007. "description": "手机号码(加密存储)",
  27008. "type": "string"
  27009. },
  27010. "modifierid": {
  27011. "description": "修改人",
  27012. "type": "integer"
  27013. },
  27014. "modifysrc": {
  27015. "description": "审核来源 - 1:管理端 2:终端",
  27016. "type": "integer"
  27017. },
  27018. "modifytime": {
  27019. "description": "修改时间",
  27020. "type": "string"
  27021. },
  27022. "password": {
  27023. "description": "登陆密码",
  27024. "type": "string"
  27025. },
  27026. "pwdwrongcount": {
  27027. "description": "密码错误次数",
  27028. "type": "integer"
  27029. },
  27030. "relateduserid": {
  27031. "description": "关联用户ID(机构)",
  27032. "type": "integer"
  27033. },
  27034. "taaccountrighttype": {
  27035. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27036. "type": "integer"
  27037. },
  27038. "unfreezetime": {
  27039. "description": "账户解冻时间",
  27040. "type": "string"
  27041. },
  27042. "userid": {
  27043. "description": "用户ID",
  27044. "type": "integer"
  27045. }
  27046. }
  27047. },
  27048. "models.MainAccountInfo": {
  27049. "type": "object",
  27050. "properties": {
  27051. "accountid": {
  27052. "description": "账号id",
  27053. "type": "integer"
  27054. },
  27055. "accountname": {
  27056. "description": "账号名称(taaccount表中的名称)",
  27057. "type": "string"
  27058. },
  27059. "appid": {
  27060. "description": "AppID",
  27061. "type": "string"
  27062. },
  27063. "authcode": {
  27064. "description": "授权码",
  27065. "type": "string"
  27066. },
  27067. "brokerid": {
  27068. "description": "经纪商id",
  27069. "type": "string"
  27070. },
  27071. "fcid": {
  27072. "description": "期货公司id",
  27073. "type": "integer"
  27074. },
  27075. "fcname": {
  27076. "description": "期货公司代码",
  27077. "type": "string"
  27078. },
  27079. "hedgeaccountcode": {
  27080. "description": "外部账号代码(主账号登录代码)",
  27081. "type": "string"
  27082. },
  27083. "hedgeaccountpwd": {
  27084. "description": "密码",
  27085. "type": "string"
  27086. },
  27087. "ismain": {
  27088. "description": "是否主账号",
  27089. "type": "integer"
  27090. },
  27091. "relateduserid": {
  27092. "description": "关联用户id",
  27093. "type": "integer"
  27094. },
  27095. "userid": {
  27096. "description": "关联用户id",
  27097. "type": "integer"
  27098. }
  27099. }
  27100. },
  27101. "models.Market": {
  27102. "type": "object",
  27103. "required": [
  27104. "marketid",
  27105. "marketstatus",
  27106. "openmethod",
  27107. "reckonpricealgorithm",
  27108. "trademode",
  27109. "tradeproperty"
  27110. ],
  27111. "properties": {
  27112. "auctionwrtype": {
  27113. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27114. "type": "integer"
  27115. },
  27116. "canacceptquote": {
  27117. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27118. "type": "integer"
  27119. },
  27120. "cangoodsexercise": {
  27121. "description": "[期权]是否可现货行权- 0:否 1:是",
  27122. "type": "integer"
  27123. },
  27124. "cangoodsexercisetype": {
  27125. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27126. "type": "integer"
  27127. },
  27128. "canmanualquotestrike": {
  27129. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27130. "type": "integer"
  27131. },
  27132. "canmutistage": {
  27133. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27134. "type": "integer"
  27135. },
  27136. "canpreexercise": {
  27137. "description": "[期权]是否可预申报- 0:否 1:是",
  27138. "type": "integer"
  27139. },
  27140. "clearinterval": {
  27141. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27142. "type": "integer"
  27143. },
  27144. "contracttmp": {
  27145. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27146. "type": "string"
  27147. },
  27148. "exchareaid": {
  27149. "description": "所属交易所,可以没有",
  27150. "type": "integer"
  27151. },
  27152. "goodstype": {
  27153. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27154. "type": "integer"
  27155. },
  27156. "hasrebate": {
  27157. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27158. "type": "integer"
  27159. },
  27160. "hastradecredit": {
  27161. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27162. "type": "integer"
  27163. },
  27164. "haswr": {
  27165. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27166. "type": "integer"
  27167. },
  27168. "isdeductmargin": {
  27169. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27170. "type": "integer"
  27171. },
  27172. "isrecordsource": {
  27173. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27174. "type": "integer"
  27175. },
  27176. "isreleasemargin": {
  27177. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27178. "type": "integer"
  27179. },
  27180. "marginformula": {
  27181. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27182. "type": "integer"
  27183. },
  27184. "marginformula2": {
  27185. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27186. "type": "integer"
  27187. },
  27188. "marketid": {
  27189. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27190. "type": "integer"
  27191. },
  27192. "marketname": {
  27193. "description": "市场名称",
  27194. "type": "string"
  27195. },
  27196. "marketserviceid": {
  27197. "description": "市场服务ID",
  27198. "type": "integer"
  27199. },
  27200. "marketstatus": {
  27201. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27202. "type": "integer"
  27203. },
  27204. "markettype": {
  27205. "description": "市场类型- 1:非交易服务 2:交易服务",
  27206. "type": "integer"
  27207. },
  27208. "matchermode": {
  27209. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27210. "type": "integer"
  27211. },
  27212. "openmethod": {
  27213. "description": "开盘模式 - 0 自动 1手动",
  27214. "type": "integer"
  27215. },
  27216. "otcuserid": {
  27217. "description": "场外期权做市商[场外期权]",
  27218. "type": "integer"
  27219. },
  27220. "outersynctime": {
  27221. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27222. "type": "string"
  27223. },
  27224. "pendingflag": {
  27225. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27226. "type": "integer"
  27227. },
  27228. "pendingtime": {
  27229. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27230. "type": "string"
  27231. },
  27232. "performancetempid": {
  27233. "description": "履约计划模板ID - 作废",
  27234. "type": "integer"
  27235. },
  27236. "premiumquotemode": {
  27237. "description": "权利金报价方式 - 1:自动 2:手动",
  27238. "type": "integer"
  27239. },
  27240. "rebateratio": {
  27241. "description": "返利比率[竞价式]",
  27242. "type": "number"
  27243. },
  27244. "reckonorder": {
  27245. "description": "结算顺序",
  27246. "type": "integer"
  27247. },
  27248. "reckonpricealgorithm": {
  27249. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27250. "type": "integer"
  27251. },
  27252. "reckonpriceparam": {
  27253. "description": "结算价参数",
  27254. "type": "integer"
  27255. },
  27256. "reckontime": {
  27257. "description": "结算时间[通道交易-对冲](HH:mm)",
  27258. "type": "string"
  27259. },
  27260. "roleprioritytype": {
  27261. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27262. "type": "integer"
  27263. },
  27264. "selllistingauditflag": {
  27265. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27266. "type": "integer"
  27267. },
  27268. "trademarkettype": {
  27269. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27270. "type": "integer"
  27271. },
  27272. "trademode": {
  27273. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27274. "type": "integer"
  27275. },
  27276. "tradeproperty": {
  27277. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27278. "type": "integer"
  27279. },
  27280. "tradetype": {
  27281. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27282. "type": "integer"
  27283. }
  27284. }
  27285. },
  27286. "models.Marketrun": {
  27287. "type": "object",
  27288. "required": [
  27289. "marketid",
  27290. "nexttradedate",
  27291. "reckonflag",
  27292. "runstatus",
  27293. "tradedate",
  27294. "tradedate2"
  27295. ],
  27296. "properties": {
  27297. "afternexttradedate": {
  27298. "description": "下下交易日",
  27299. "type": "string"
  27300. },
  27301. "clearquoteflag": {
  27302. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27303. "type": "integer"
  27304. },
  27305. "lastreckondate": {
  27306. "description": "最新交易日(结算成功)",
  27307. "type": "string"
  27308. },
  27309. "machinedate": {
  27310. "description": "机器时间",
  27311. "type": "string"
  27312. },
  27313. "manualflag": {
  27314. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27315. "type": "integer"
  27316. },
  27317. "marketid": {
  27318. "description": "市场ID",
  27319. "type": "integer"
  27320. },
  27321. "nexttradedate": {
  27322. "description": "下一交易日",
  27323. "type": "string"
  27324. },
  27325. "pretradedate": {
  27326. "description": "上一交易日",
  27327. "type": "string"
  27328. },
  27329. "reckonflag": {
  27330. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27331. "type": "integer"
  27332. },
  27333. "runstatus": {
  27334. "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.今日免清算",
  27335. "type": "integer"
  27336. },
  27337. "sectionid": {
  27338. "description": "时间段号[多时段时用]",
  27339. "type": "integer"
  27340. },
  27341. "tradedate": {
  27342. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27343. "type": "string"
  27344. },
  27345. "tradedate2": {
  27346. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27347. "type": "string"
  27348. },
  27349. "updatetime": {
  27350. "description": "更新时间",
  27351. "type": "string"
  27352. }
  27353. }
  27354. },
  27355. "models.Messageboard": {
  27356. "type": "object",
  27357. "required": [
  27358. "messageboardid"
  27359. ],
  27360. "properties": {
  27361. "contactnum": {
  27362. "description": "联系电话",
  27363. "type": "string"
  27364. },
  27365. "createtime": {
  27366. "description": "创建时间",
  27367. "type": "string"
  27368. },
  27369. "message": {
  27370. "description": "留言信息",
  27371. "type": "string"
  27372. },
  27373. "messageboardid": {
  27374. "description": "留言簿ID(SEQ_MessageBoard)",
  27375. "type": "integer"
  27376. },
  27377. "userid": {
  27378. "description": "用户ID",
  27379. "type": "integer"
  27380. }
  27381. }
  27382. },
  27383. "models.MyCoupon": {
  27384. "type": "object",
  27385. "required": [
  27386. "accountid",
  27387. "coupontypeid"
  27388. ],
  27389. "properties": {
  27390. "accountid": {
  27391. "description": "资金账户ID",
  27392. "type": "integer"
  27393. },
  27394. "areauserid": {
  27395. "description": "所属机构",
  27396. "type": "integer"
  27397. },
  27398. "conditionvalue": {
  27399. "description": "条件阈值(可为0)",
  27400. "type": "number"
  27401. },
  27402. "couponcategroy": {
  27403. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27404. "type": "integer"
  27405. },
  27406. "couponname": {
  27407. "description": "优惠券名称",
  27408. "type": "string"
  27409. },
  27410. "coupontypeid": {
  27411. "description": "优惠券类型ID",
  27412. "type": "string"
  27413. },
  27414. "couponvalue": {
  27415. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27416. "type": "number"
  27417. },
  27418. "curfreezeqty": {
  27419. "description": "期末冻结数量",
  27420. "type": "integer"
  27421. },
  27422. "curqty": {
  27423. "description": "期末数量",
  27424. "type": "integer"
  27425. },
  27426. "isgeneral": {
  27427. "description": "是否通用券 - 0:否 1:是",
  27428. "type": "integer"
  27429. },
  27430. "isunusable": {
  27431. "description": "是否不可用",
  27432. "type": "boolean"
  27433. },
  27434. "limitedflag": {
  27435. "description": "是否指定商品 - 0:不限 1:限制",
  27436. "type": "integer"
  27437. },
  27438. "limitedgoodsids": {
  27439. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27440. "type": "string"
  27441. },
  27442. "orifreezeqty": {
  27443. "description": "期初冻结数量",
  27444. "type": "integer"
  27445. },
  27446. "oriqty": {
  27447. "description": "期初数量",
  27448. "type": "integer"
  27449. },
  27450. "reasontype": {
  27451. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27452. "type": "integer"
  27453. },
  27454. "todaydecrease": {
  27455. "description": "今日减少",
  27456. "type": "integer"
  27457. },
  27458. "todayincrease": {
  27459. "description": "今日增加",
  27460. "type": "integer"
  27461. },
  27462. "userid": {
  27463. "description": "用户ID",
  27464. "type": "integer"
  27465. },
  27466. "userscope": {
  27467. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27468. "type": "string"
  27469. }
  27470. }
  27471. },
  27472. "models.MyCouponHold": {
  27473. "type": "object",
  27474. "required": [
  27475. "couponholdid"
  27476. ],
  27477. "properties": {
  27478. "accountid": {
  27479. "description": "资金账户ID",
  27480. "type": "integer"
  27481. },
  27482. "conditionvalue": {
  27483. "description": "条件阈值(可为0)",
  27484. "type": "number"
  27485. },
  27486. "couponcategroy": {
  27487. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27488. "type": "integer"
  27489. },
  27490. "couponholdid": {
  27491. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27492. "type": "string"
  27493. },
  27494. "couponname": {
  27495. "description": "优惠券名称",
  27496. "type": "string"
  27497. },
  27498. "coupontypeid": {
  27499. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27500. "type": "string"
  27501. },
  27502. "couponvalue": {
  27503. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27504. "type": "number"
  27505. },
  27506. "createtime": {
  27507. "description": "创建时间",
  27508. "type": "string"
  27509. },
  27510. "enddate": {
  27511. "description": "结束日期",
  27512. "type": "string"
  27513. },
  27514. "giveapplyid": {
  27515. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27516. "type": "integer"
  27517. },
  27518. "holdstatus": {
  27519. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27520. "type": "integer"
  27521. },
  27522. "isgeneral": {
  27523. "description": "是否通用券 - 0:否 1:是",
  27524. "type": "integer"
  27525. },
  27526. "limitedflag": {
  27527. "description": "是否指定商品 - 0:不限 1:限制",
  27528. "type": "integer"
  27529. },
  27530. "limitedgoodsids": {
  27531. "description": "指定商品IDs[逗号分隔]",
  27532. "type": "string"
  27533. },
  27534. "qty": {
  27535. "description": "数量(按1平铺)",
  27536. "type": "integer"
  27537. },
  27538. "startdate": {
  27539. "description": "开始日期",
  27540. "type": "string"
  27541. },
  27542. "userid": {
  27543. "description": "用户ID",
  27544. "type": "integer"
  27545. },
  27546. "userscope": {
  27547. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27548. "type": "string"
  27549. }
  27550. }
  27551. },
  27552. "models.MyUsedCoupon": {
  27553. "type": "object",
  27554. "required": [
  27555. "coupontypeid",
  27556. "orderid"
  27557. ],
  27558. "properties": {
  27559. "accountid": {
  27560. "description": "资金账户ID(买方)",
  27561. "type": "integer"
  27562. },
  27563. "conditionvalue": {
  27564. "description": "条件阈值(可为0)",
  27565. "type": "number"
  27566. },
  27567. "couponcategroy": {
  27568. "description": "种类 - 1:现金券 2:折扣券",
  27569. "type": "integer"
  27570. },
  27571. "couponname": {
  27572. "description": "优惠券名称",
  27573. "type": "string"
  27574. },
  27575. "coupontypeid": {
  27576. "description": "优惠券类型ID(买方)",
  27577. "type": "string"
  27578. },
  27579. "couponvalue": {
  27580. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27581. "type": "number"
  27582. },
  27583. "createtime": {
  27584. "description": "创建时间",
  27585. "type": "string"
  27586. },
  27587. "goodsid": {
  27588. "description": "商品ID",
  27589. "type": "integer"
  27590. },
  27591. "handlestatus": {
  27592. "description": "处理状态",
  27593. "type": "integer"
  27594. },
  27595. "marketid": {
  27596. "description": "市场ID",
  27597. "type": "integer"
  27598. },
  27599. "offamount": {
  27600. "description": "优惠金额",
  27601. "type": "number"
  27602. },
  27603. "orderid": {
  27604. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27605. "type": "string"
  27606. },
  27607. "sellaccountid": {
  27608. "description": "资金账户ID(卖方)",
  27609. "type": "integer"
  27610. },
  27611. "tradeamount": {
  27612. "description": "成交金额",
  27613. "type": "number"
  27614. },
  27615. "tradeid": {
  27616. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27617. "type": "string"
  27618. },
  27619. "usedqty": {
  27620. "description": "使用数量",
  27621. "type": "integer"
  27622. }
  27623. }
  27624. },
  27625. "models.OperationPrimaryMenu": {
  27626. "type": "object",
  27627. "properties": {
  27628. "Children": {
  27629. "description": "二级功能菜单",
  27630. "type": "array",
  27631. "items": {
  27632. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27633. }
  27634. },
  27635. "Key": {
  27636. "description": "菜单KEY",
  27637. "type": "string"
  27638. },
  27639. "Label": {
  27640. "description": "菜单标题",
  27641. "type": "string"
  27642. }
  27643. }
  27644. },
  27645. "models.OperationSecondaryMenu": {
  27646. "type": "object",
  27647. "properties": {
  27648. "Key": {
  27649. "description": "菜单KEY",
  27650. "type": "string"
  27651. },
  27652. "Label": {
  27653. "description": "菜单标题",
  27654. "type": "string"
  27655. },
  27656. "TabList": {
  27657. "description": "三级功能菜单",
  27658. "type": "array",
  27659. "items": {
  27660. "$ref": "#/definitions/models.OperationTabMenu"
  27661. }
  27662. }
  27663. }
  27664. },
  27665. "models.OperationTabMenu": {
  27666. "type": "object",
  27667. "properties": {
  27668. "Key": {
  27669. "description": "菜单KEY",
  27670. "type": "string"
  27671. },
  27672. "Label": {
  27673. "description": "菜单标题",
  27674. "type": "string"
  27675. }
  27676. }
  27677. },
  27678. "models.QhjAccountOutInApply": {
  27679. "type": "object",
  27680. "properties": {
  27681. "accountcode": {
  27682. "description": "资金账号",
  27683. "type": "string"
  27684. },
  27685. "accountname": {
  27686. "description": "用户名称(名称)",
  27687. "type": "string"
  27688. },
  27689. "accountpwd": {
  27690. "description": "资金密码",
  27691. "type": "string"
  27692. },
  27693. "accountticket": {
  27694. "description": "最新账户服务流水号",
  27695. "type": "string"
  27696. },
  27697. "amount": {
  27698. "description": "金额",
  27699. "type": "number"
  27700. },
  27701. "applyremark": {
  27702. "description": "申请备注",
  27703. "type": "string"
  27704. },
  27705. "applystatus": {
  27706. "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: 复审通过,账户冻结金额检查中;",
  27707. "type": "integer"
  27708. },
  27709. "auditid": {
  27710. "description": "审核人",
  27711. "type": "integer"
  27712. },
  27713. "audittime": {
  27714. "description": "审核时间",
  27715. "type": "string"
  27716. },
  27717. "bank_apply_ticket": {
  27718. "description": "银行申请流水",
  27719. "type": "string"
  27720. },
  27721. "bankaccountname": {
  27722. "description": "银行账户名",
  27723. "type": "string"
  27724. },
  27725. "bankaccountno": {
  27726. "description": "银行卡号",
  27727. "type": "string"
  27728. },
  27729. "bankid": {
  27730. "description": "银行编号",
  27731. "type": "string"
  27732. },
  27733. "bankticket": {
  27734. "description": "银行流水",
  27735. "type": "string"
  27736. },
  27737. "branchbankid": {
  27738. "description": "银行支行号",
  27739. "type": "string"
  27740. },
  27741. "branchbankname": {
  27742. "description": "银行支行名称",
  27743. "type": "string"
  27744. },
  27745. "capamountout": {
  27746. "description": "出金(劣后本金) - 外部子账户",
  27747. "type": "number"
  27748. },
  27749. "certificatephotourl": {
  27750. "description": "凭证地址",
  27751. "type": "string"
  27752. },
  27753. "charge": {
  27754. "description": "手续费",
  27755. "type": "number"
  27756. },
  27757. "checkerrorflag": {
  27758. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27759. "type": "integer"
  27760. },
  27761. "currency": {
  27762. "description": "币种",
  27763. "type": "string"
  27764. },
  27765. "cusbankid": {
  27766. "description": "托管银行编号",
  27767. "type": "string"
  27768. },
  27769. "exchticket": {
  27770. "description": "银行服务流水号",
  27771. "type": "string"
  27772. },
  27773. "executetype": {
  27774. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27775. "type": "integer"
  27776. },
  27777. "extendinfo": {
  27778. "description": "扩展信息",
  27779. "type": "string"
  27780. },
  27781. "extoperateid": {
  27782. "description": "交易服务流水号",
  27783. "type": "integer"
  27784. },
  27785. "infamount": {
  27786. "description": "劣后金额(自有)",
  27787. "type": "number"
  27788. },
  27789. "logincode": {
  27790. "description": "登录账号(账号)",
  27791. "type": "string"
  27792. },
  27793. "netaddr": {
  27794. "description": "调转网址",
  27795. "type": "string"
  27796. },
  27797. "priamount": {
  27798. "description": "优先金额(授信)",
  27799. "type": "number"
  27800. },
  27801. "reauditid": {
  27802. "description": "复审人",
  27803. "type": "integer"
  27804. },
  27805. "reauditremark": {
  27806. "description": "复审备注",
  27807. "type": "string"
  27808. },
  27809. "reaudittime": {
  27810. "description": "复审时间",
  27811. "type": "string"
  27812. },
  27813. "relatedorderid": {
  27814. "description": "三方关联ID",
  27815. "type": "string"
  27816. },
  27817. "remark": {
  27818. "description": "备注",
  27819. "type": "string"
  27820. },
  27821. "remark2": {
  27822. "description": "备注(失败原因)",
  27823. "type": "string"
  27824. },
  27825. "soucreamount": {
  27826. "description": "原始出入金金额",
  27827. "type": "number"
  27828. },
  27829. "soucrecurrencyid": {
  27830. "description": "原始出入金币种",
  27831. "type": "integer"
  27832. },
  27833. "tradedate": {
  27834. "description": "交易日(yyyyMMdd)",
  27835. "type": "string"
  27836. },
  27837. "updatetime": {
  27838. "description": "更新时间(申请时间)",
  27839. "type": "string"
  27840. },
  27841. "userid": {
  27842. "description": "用户id",
  27843. "type": "integer"
  27844. },
  27845. "userinfotype": {
  27846. "description": "账户类型 1-个人 2-企业",
  27847. "type": "integer"
  27848. }
  27849. }
  27850. },
  27851. "models.QhjAgreementChangeLog": {
  27852. "type": "object",
  27853. "properties": {
  27854. "agreementcontent": {
  27855. "description": "协议内容",
  27856. "type": "string"
  27857. },
  27858. "agreementfrequency": {
  27859. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27860. "type": "integer"
  27861. },
  27862. "agreementid": {
  27863. "description": "协议ID",
  27864. "type": "integer"
  27865. },
  27866. "agreementname": {
  27867. "description": "协议名称",
  27868. "type": "string"
  27869. },
  27870. "agreementno": {
  27871. "description": "协议编号",
  27872. "type": "string"
  27873. },
  27874. "agreementtype": {
  27875. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27876. "type": "integer"
  27877. },
  27878. "agreementversion": {
  27879. "description": "协议版本号",
  27880. "type": "integer"
  27881. },
  27882. "logid": {
  27883. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27884. "type": "integer"
  27885. },
  27886. "reviserid": {
  27887. "description": "修改人",
  27888. "type": "integer"
  27889. },
  27890. "revisersrc": {
  27891. "description": "修改来源 - 1:管理端 2:终端",
  27892. "type": "integer"
  27893. },
  27894. "updatetime": {
  27895. "description": "更新时间",
  27896. "type": "string"
  27897. }
  27898. }
  27899. },
  27900. "models.QhjAgreementConfig": {
  27901. "type": "object",
  27902. "properties": {
  27903. "agreementcontent": {
  27904. "description": "协议内容",
  27905. "type": "string"
  27906. },
  27907. "agreementfrequency": {
  27908. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27909. "type": "integer"
  27910. },
  27911. "agreementid": {
  27912. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27913. "type": "integer"
  27914. },
  27915. "agreementname": {
  27916. "description": "协议名称",
  27917. "type": "string"
  27918. },
  27919. "agreementno": {
  27920. "description": "协议编号",
  27921. "type": "string"
  27922. },
  27923. "agreementtype": {
  27924. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27925. "type": "integer"
  27926. },
  27927. "agreementversion": {
  27928. "description": "协议版本号(从1开始每次修改加1)",
  27929. "type": "integer"
  27930. },
  27931. "createtime": {
  27932. "description": "创建时间",
  27933. "type": "string"
  27934. },
  27935. "creatorid": {
  27936. "description": "创建人",
  27937. "type": "integer"
  27938. },
  27939. "creatorsrc": {
  27940. "description": "创建来源 - 1:管理端 2:终端",
  27941. "type": "integer"
  27942. },
  27943. "isvalid": {
  27944. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27945. "type": "integer"
  27946. },
  27947. "reviserid": {
  27948. "description": "修改人",
  27949. "type": "integer"
  27950. },
  27951. "revisersrc": {
  27952. "description": "修改来源 - 1:管理端 2:终端",
  27953. "type": "integer"
  27954. },
  27955. "updatetime": {
  27956. "description": "更新时间",
  27957. "type": "string"
  27958. }
  27959. }
  27960. },
  27961. "models.QhjAreaFinanceConfig": {
  27962. "type": "object",
  27963. "properties": {
  27964. "additionalratio": {
  27965. "description": "追加款比例",
  27966. "type": "number"
  27967. },
  27968. "advanceratio": {
  27969. "description": "预付款比例",
  27970. "type": "number"
  27971. },
  27972. "alarmratio": {
  27973. "description": "告警比例",
  27974. "type": "number"
  27975. },
  27976. "consumptiondirectreward": {
  27977. "description": "消费直推奖励值",
  27978. "type": "number"
  27979. },
  27980. "consumptionenabled": {
  27981. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27982. "type": "integer"
  27983. },
  27984. "consumptionindirectreward": {
  27985. "description": "消费间推奖励值",
  27986. "type": "number"
  27987. },
  27988. "consumptionmodel": {
  27989. "description": "消费奖励方式 - 1:比率 2:固定",
  27990. "type": "integer"
  27991. },
  27992. "customerservicenum": {
  27993. "description": "客服电话",
  27994. "type": "string"
  27995. },
  27996. "dayinterestrate": {
  27997. "description": "日利率",
  27998. "type": "number"
  27999. },
  28000. "disableconsumptiontips": {
  28001. "description": "关闭消费奖励提示",
  28002. "type": "string"
  28003. },
  28004. "modifierid": {
  28005. "description": "修改人ID",
  28006. "type": "integer"
  28007. },
  28008. "modifysrc": {
  28009. "description": "审核来源 - 1:管理端 2:终端",
  28010. "type": "integer"
  28011. },
  28012. "modifytime": {
  28013. "description": "修改时间",
  28014. "type": "string"
  28015. },
  28016. "promotionvalue": {
  28017. "description": "推广奖励值(固定)",
  28018. "type": "number"
  28019. },
  28020. "scoreconfigvalue1": {
  28021. "description": "提货积分配置1",
  28022. "type": "integer"
  28023. },
  28024. "scoreconfigvalue2": {
  28025. "description": "提货积分配置2",
  28026. "type": "integer"
  28027. },
  28028. "userid": {
  28029. "description": "机构用户ID其他做市关系,都设置为 1",
  28030. "type": "integer"
  28031. },
  28032. "username": {
  28033. "description": "用户名称",
  28034. "type": "string"
  28035. }
  28036. }
  28037. },
  28038. "models.QhjBankAccountSign": {
  28039. "type": "object",
  28040. "properties": {
  28041. "accountcode": {
  28042. "description": "资金账号",
  28043. "type": "string"
  28044. },
  28045. "accountname": {
  28046. "description": "资金账号对应的账号名(UserName)",
  28047. "type": "string"
  28048. },
  28049. "accountname2": {
  28050. "description": "资金账号对应的账号名(UserName) - 密文",
  28051. "type": "string"
  28052. },
  28053. "accounttype": {
  28054. "description": "账户类型(UserType)",
  28055. "type": "integer"
  28056. },
  28057. "applicationtime": {
  28058. "description": "最后一次更新的时间",
  28059. "type": "string"
  28060. },
  28061. "applyexchticket": {
  28062. "description": "申请流水",
  28063. "type": "string"
  28064. },
  28065. "auditid": {
  28066. "description": "审核人",
  28067. "type": "integer"
  28068. },
  28069. "audittime": {
  28070. "description": "审核时间",
  28071. "type": "string"
  28072. },
  28073. "bankaccountname": {
  28074. "description": "签约银行卡账号名",
  28075. "type": "string"
  28076. },
  28077. "bankaccountname2": {
  28078. "description": "签约银行卡账号名 - 密文",
  28079. "type": "string"
  28080. },
  28081. "bankaccountno": {
  28082. "description": "银行卡号",
  28083. "type": "string"
  28084. },
  28085. "bankaccountno2": {
  28086. "description": "银行卡号 - 密文",
  28087. "type": "string"
  28088. },
  28089. "bankaccounttype": {
  28090. "description": "银行账户类型 - 1-对私; 2-对公",
  28091. "type": "integer"
  28092. },
  28093. "bankcardtype": {
  28094. "description": "银行卡类型",
  28095. "type": "integer"
  28096. },
  28097. "bankchildaccount": {
  28098. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28099. "type": "string"
  28100. },
  28101. "bankcity": {
  28102. "description": "开户行城市",
  28103. "type": "string"
  28104. },
  28105. "bankid": {
  28106. "description": "签约银行ID",
  28107. "type": "string"
  28108. },
  28109. "bankname": {
  28110. "description": "签约银行名称",
  28111. "type": "string"
  28112. },
  28113. "bankprovince": {
  28114. "description": "开户行省份",
  28115. "type": "string"
  28116. },
  28117. "branchbankid": {
  28118. "description": "签约银行支行号",
  28119. "type": "string"
  28120. },
  28121. "branchbankname": {
  28122. "description": "签约银行支行名称",
  28123. "type": "string"
  28124. },
  28125. "cardno": {
  28126. "description": "证件号码",
  28127. "type": "string"
  28128. },
  28129. "cardno2": {
  28130. "description": "证件号码 - 密文",
  28131. "type": "string"
  28132. },
  28133. "cardtype": {
  28134. "description": "证件类型",
  28135. "type": "string"
  28136. },
  28137. "currency": {
  28138. "description": "币种",
  28139. "type": "string"
  28140. },
  28141. "cusbankid": {
  28142. "description": "托管银行编号",
  28143. "type": "string"
  28144. },
  28145. "direct": {
  28146. "description": "方向(可以判断那方先发起的签约)",
  28147. "type": "integer"
  28148. },
  28149. "exchticket": {
  28150. "description": "最后一次签约成功的流水号",
  28151. "type": "string"
  28152. },
  28153. "extendinfo": {
  28154. "description": "扩展信息(JSON字符串)",
  28155. "type": "string"
  28156. },
  28157. "mobilephone": {
  28158. "description": "手机号",
  28159. "type": "string"
  28160. },
  28161. "mobilephone2": {
  28162. "description": "手机号 - 密文",
  28163. "type": "string"
  28164. },
  28165. "netaddr": {
  28166. "description": "调转网址",
  28167. "type": "string"
  28168. },
  28169. "relateduserid": {
  28170. "description": "关联使用者userid",
  28171. "type": "integer"
  28172. },
  28173. "signstatus": {
  28174. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28175. "type": "integer"
  28176. },
  28177. "updatetime": {
  28178. "description": "更新时间(签解约更新时间)",
  28179. "type": "string"
  28180. }
  28181. }
  28182. },
  28183. "models.QhjBankInfo": {
  28184. "type": "object",
  28185. "properties": {
  28186. "bankid": {
  28187. "description": "银行ID",
  28188. "type": "string"
  28189. },
  28190. "bankname": {
  28191. "description": "银行名称",
  28192. "type": "string"
  28193. },
  28194. "clearbankno": {
  28195. "description": "清算系统银行编号",
  28196. "type": "string"
  28197. },
  28198. "orderindex": {
  28199. "description": "排序顺序",
  28200. "type": "integer"
  28201. },
  28202. "status": {
  28203. "description": "状态 - 0:正常 1:注销",
  28204. "type": "integer"
  28205. }
  28206. }
  28207. },
  28208. "models.QhjBrokerApply": {
  28209. "type": "object",
  28210. "properties": {
  28211. "applicantid": {
  28212. "description": "申请人",
  28213. "type": "integer"
  28214. },
  28215. "applysrc": {
  28216. "description": "申请来源 - 1:管理端 2:终端",
  28217. "type": "integer"
  28218. },
  28219. "applystatus": {
  28220. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28221. "type": "integer"
  28222. },
  28223. "applytime": {
  28224. "description": "申请时间",
  28225. "type": "string"
  28226. },
  28227. "auditorid": {
  28228. "description": "审核人",
  28229. "type": "integer"
  28230. },
  28231. "auditremark": {
  28232. "description": "审核备注",
  28233. "type": "string"
  28234. },
  28235. "auditsrc": {
  28236. "description": "审核来源 - 1:管理端 2:终端",
  28237. "type": "integer"
  28238. },
  28239. "audittime": {
  28240. "description": "审核时间",
  28241. "type": "string"
  28242. },
  28243. "audittradedate": {
  28244. "description": "审核交易日(yyyyMMdd)",
  28245. "type": "string"
  28246. },
  28247. "brokerapplyid": {
  28248. "description": "申请ID(SEQ_BROKERAPPLY)",
  28249. "type": "integer"
  28250. },
  28251. "cardbackphotourl": {
  28252. "description": "证件背面图片地址",
  28253. "type": "string"
  28254. },
  28255. "cardfrontphotourl": {
  28256. "description": "证件正面图片地址",
  28257. "type": "string"
  28258. },
  28259. "cardnum": {
  28260. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28261. "type": "string"
  28262. },
  28263. "customername": {
  28264. "description": "姓名",
  28265. "type": "string"
  28266. },
  28267. "logincode": {
  28268. "description": "登录代码",
  28269. "type": "string"
  28270. },
  28271. "mobile": {
  28272. "description": "手机号码",
  28273. "type": "string"
  28274. },
  28275. "parentuserid": {
  28276. "description": "所属机构id",
  28277. "type": "integer"
  28278. },
  28279. "parentusername": {
  28280. "description": "所属机构名称",
  28281. "type": "string"
  28282. },
  28283. "refereeuserid": {
  28284. "description": "推荐人id(经纪人)",
  28285. "type": "integer"
  28286. },
  28287. "refernum": {
  28288. "description": "推荐码",
  28289. "type": "string"
  28290. },
  28291. "remark": {
  28292. "description": "备注",
  28293. "type": "string"
  28294. },
  28295. "subarealevelpath": {
  28296. "description": "层级路径",
  28297. "type": "string"
  28298. },
  28299. "tradedate": {
  28300. "description": "交易日(yyyyMMdd)",
  28301. "type": "string"
  28302. },
  28303. "userid": {
  28304. "description": "申请人用户ID",
  28305. "type": "integer"
  28306. },
  28307. "userinfotype": {
  28308. "description": "用户类型 1-个人 2-企业",
  28309. "type": "integer"
  28310. },
  28311. "username": {
  28312. "description": "用户名称",
  28313. "type": "string"
  28314. }
  28315. }
  28316. },
  28317. "models.QhjBrokerApplyEx": {
  28318. "type": "object",
  28319. "properties": {
  28320. "applylist": {
  28321. "description": "经纪人申请记录(只返回最新一条)",
  28322. "type": "array",
  28323. "items": {
  28324. "$ref": "#/definitions/models.QhjBrokerApply"
  28325. }
  28326. },
  28327. "canrecommend": {
  28328. "description": "是否经纪人 0-不是 1-是",
  28329. "type": "integer"
  28330. },
  28331. "refernum": {
  28332. "description": "推荐码",
  28333. "type": "string"
  28334. },
  28335. "userid": {
  28336. "description": "用户id",
  28337. "type": "integer"
  28338. },
  28339. "userinfotype": {
  28340. "description": "用户类型 1-个人 2-企业",
  28341. "type": "integer"
  28342. }
  28343. }
  28344. },
  28345. "models.QhjBrokerRewardLog": {
  28346. "type": "object",
  28347. "properties": {
  28348. "accountid": {
  28349. "description": "资金账号ID",
  28350. "type": "integer"
  28351. },
  28352. "createtime": {
  28353. "description": "创建时间(时间)",
  28354. "type": "string"
  28355. },
  28356. "handlestatus": {
  28357. "description": "处理状态",
  28358. "type": "integer"
  28359. },
  28360. "logid": {
  28361. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28362. "type": "string"
  28363. },
  28364. "marketid": {
  28365. "description": "市场ID",
  28366. "type": "integer"
  28367. },
  28368. "mmaccountid": {
  28369. "description": "做市商资金账号ID",
  28370. "type": "string"
  28371. },
  28372. "mmuserid": {
  28373. "description": "做市商用户ID",
  28374. "type": "string"
  28375. },
  28376. "rewardamount": {
  28377. "description": "奖励金额",
  28378. "type": "number"
  28379. },
  28380. "rewardmodel": {
  28381. "description": "消费奖励方式 - 1:比率 2:固定",
  28382. "type": "integer"
  28383. },
  28384. "rewardtype": {
  28385. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28386. "type": "integer"
  28387. },
  28388. "rewardvalue": {
  28389. "description": "配置奖励值",
  28390. "type": "number"
  28391. },
  28392. "srcamount": {
  28393. "description": "成交金额 [消费奖励] (金额)",
  28394. "type": "number"
  28395. },
  28396. "srcgoodsid": {
  28397. "description": "来源商品ID [消费奖励]",
  28398. "type": "string"
  28399. },
  28400. "srctime": {
  28401. "description": "来源时间 (成交时间) [消费奖励]",
  28402. "type": "string"
  28403. },
  28404. "srctradeid": {
  28405. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28406. "type": "string"
  28407. },
  28408. "srcuserid": {
  28409. "description": "来源用户ID(推广账户)",
  28410. "type": "string"
  28411. },
  28412. "srcusername": {
  28413. "description": "推广账户名称",
  28414. "type": "string"
  28415. },
  28416. "tradedate": {
  28417. "description": "交易日(yyyyMMdd)",
  28418. "type": "string"
  28419. },
  28420. "userid": {
  28421. "description": "经纪人用户ID",
  28422. "type": "integer"
  28423. }
  28424. }
  28425. },
  28426. "models.QhjContract": {
  28427. "type": "object",
  28428. "properties": {
  28429. "contractconfirmtime": {
  28430. "description": "合同确认时间(时间)",
  28431. "type": "string"
  28432. },
  28433. "currisklevel": {
  28434. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28435. "type": "integer"
  28436. },
  28437. "decimalplace": {
  28438. "description": "商品报价小数位",
  28439. "type": "integer"
  28440. },
  28441. "enumdicname": {
  28442. "description": "单位名称",
  28443. "type": "string"
  28444. },
  28445. "goodscode": {
  28446. "description": "商品代码",
  28447. "type": "string"
  28448. },
  28449. "goodsid": {
  28450. "description": "商品ID [5:融资单]",
  28451. "type": "integer"
  28452. },
  28453. "goodsname": {
  28454. "description": "商品名称",
  28455. "type": "string"
  28456. },
  28457. "goodunitid": {
  28458. "description": "商品单位id",
  28459. "type": "integer"
  28460. },
  28461. "initmargin": {
  28462. "description": "初始保证金(首付款)",
  28463. "type": "number"
  28464. },
  28465. "lenderamount": {
  28466. "description": "贷款金额(总额|订单总额)",
  28467. "type": "number"
  28468. },
  28469. "marginratio": {
  28470. "description": "保证金比率(首付比例)",
  28471. "type": "number"
  28472. },
  28473. "payamount": {
  28474. "description": "已付(已付货款)",
  28475. "type": "number"
  28476. },
  28477. "reckonrecovermargin": {
  28478. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28479. "type": "number"
  28480. },
  28481. "recoveredmargin": {
  28482. "description": "已追缴保证金",
  28483. "type": "number"
  28484. },
  28485. "remainamount": {
  28486. "description": "合同剩余金额(融资额)",
  28487. "type": "number"
  28488. },
  28489. "scfcontractid": {
  28490. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28491. "type": "string"
  28492. },
  28493. "scfcontractstatus": {
  28494. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28495. "type": "integer"
  28496. },
  28497. "scfcontracttype": {
  28498. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28499. "type": "integer"
  28500. },
  28501. "totalinterest": {
  28502. "description": "已计总利息(利息)",
  28503. "type": "number"
  28504. },
  28505. "tradeprice": {
  28506. "description": "成交价格(成本价格)",
  28507. "type": "number"
  28508. },
  28509. "userid": {
  28510. "description": "用户ID",
  28511. "type": "integer"
  28512. },
  28513. "username": {
  28514. "description": "用户名称",
  28515. "type": "string"
  28516. },
  28517. "wrqty": {
  28518. "description": "仓单数量(数量)",
  28519. "type": "number"
  28520. }
  28521. }
  28522. },
  28523. "models.QhjContractLog": {
  28524. "type": "object",
  28525. "properties": {
  28526. "amount": {
  28527. "description": "支付金额",
  28528. "type": "number"
  28529. },
  28530. "amounttype": {
  28531. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28532. "type": "integer"
  28533. },
  28534. "logid": {
  28535. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28536. "type": "string"
  28537. },
  28538. "remainamount": {
  28539. "description": "剩余货款",
  28540. "type": "number"
  28541. },
  28542. "scfcontractid": {
  28543. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28544. "type": "integer"
  28545. },
  28546. "updatetime": {
  28547. "description": "更新时间",
  28548. "type": "string"
  28549. }
  28550. }
  28551. },
  28552. "models.QhjCusBankSignBankEx": {
  28553. "type": "object",
  28554. "properties": {
  28555. "banklst": {
  28556. "description": "银行列表",
  28557. "type": "array",
  28558. "items": {
  28559. "$ref": "#/definitions/models.QhjBankInfo"
  28560. }
  28561. },
  28562. "canallot": {
  28563. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28564. "type": "integer"
  28565. },
  28566. "canallotquery": {
  28567. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28568. "type": "integer"
  28569. },
  28570. "canbindcard": {
  28571. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28572. "type": "integer"
  28573. },
  28574. "caninamount": {
  28575. "description": "是否可入金 - 0:不可 1:可以",
  28576. "type": "integer"
  28577. },
  28578. "caninamount2": {
  28579. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28580. "type": "integer"
  28581. },
  28582. "canmodifybankcard": {
  28583. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28584. "type": "integer"
  28585. },
  28586. "canmodifyphone": {
  28587. "description": "是否可修改手机号 - 0:不可 1:可以",
  28588. "type": "integer"
  28589. },
  28590. "canmodifysigninfo": {
  28591. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28592. "type": "integer"
  28593. },
  28594. "canoutamount": {
  28595. "description": "是否可出金 - 0:不可 1:可以",
  28596. "type": "integer"
  28597. },
  28598. "canoutamount2": {
  28599. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28600. "type": "integer"
  28601. },
  28602. "canrelease": {
  28603. "description": "是否可解约 - 0:不可 1:可以",
  28604. "type": "integer"
  28605. },
  28606. "canrelease2": {
  28607. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28608. "type": "integer"
  28609. },
  28610. "cansign": {
  28611. "description": "是否可签约 - 0:不可 1:可以",
  28612. "type": "integer"
  28613. },
  28614. "cansign2": {
  28615. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28616. "type": "integer"
  28617. },
  28618. "currency": {
  28619. "description": "币种",
  28620. "type": "string"
  28621. },
  28622. "cusbankid": {
  28623. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28624. "type": "string"
  28625. },
  28626. "cusbankname": {
  28627. "description": "银行业务名称",
  28628. "type": "string"
  28629. },
  28630. "cusbankshortname": {
  28631. "description": "银行业务简称",
  28632. "type": "string"
  28633. },
  28634. "exchbankid": {
  28635. "description": "交易所开户银行ID",
  28636. "type": "string"
  28637. },
  28638. "exchpaybankaccname": {
  28639. "description": "交易所支出结算账户户名",
  28640. "type": "string"
  28641. },
  28642. "exchpaybankaccno": {
  28643. "description": "交易所支出结算账户",
  28644. "type": "string"
  28645. },
  28646. "isneedcheck": {
  28647. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28648. "type": "integer"
  28649. },
  28650. "isneedclear": {
  28651. "description": "是否需要清算 - 0:不需要 1:需要",
  28652. "type": "integer"
  28653. },
  28654. "lastcheckstatus": {
  28655. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28656. "type": "integer"
  28657. },
  28658. "lastchecktime": {
  28659. "description": "最后对账时间",
  28660. "type": "string"
  28661. },
  28662. "lastclearstatus": {
  28663. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28664. "type": "integer"
  28665. },
  28666. "lastcleartime": {
  28667. "description": "最后清算时间",
  28668. "type": "string"
  28669. },
  28670. "lastsignintime": {
  28671. "description": "最后签到时间",
  28672. "type": "string"
  28673. },
  28674. "lastsignouttime": {
  28675. "description": "最后签退时间",
  28676. "type": "string"
  28677. },
  28678. "riskinfo": {
  28679. "description": "签约风险提示书",
  28680. "type": "string"
  28681. },
  28682. "signstatus": {
  28683. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28684. "type": "integer"
  28685. },
  28686. "tradedate": {
  28687. "description": "交易日(yyyyMMdd)",
  28688. "type": "string"
  28689. },
  28690. "updatetime": {
  28691. "description": "当前签到/签退更新时间",
  28692. "type": "string"
  28693. }
  28694. }
  28695. },
  28696. "models.QhjCustomer": {
  28697. "type": "object",
  28698. "properties": {
  28699. "address": {
  28700. "description": "通讯地址",
  28701. "type": "string"
  28702. },
  28703. "attachment1": {
  28704. "description": "附件1",
  28705. "type": "string"
  28706. },
  28707. "attachment2": {
  28708. "description": "附件2",
  28709. "type": "string"
  28710. },
  28711. "audittime": {
  28712. "description": "审核时间",
  28713. "type": "string"
  28714. },
  28715. "cardbackphotourl": {
  28716. "description": "证件反面图片地址",
  28717. "type": "string"
  28718. },
  28719. "cardfrontphotourl": {
  28720. "description": "证件正面图片地址",
  28721. "type": "string"
  28722. },
  28723. "cardnum": {
  28724. "description": "证件号码",
  28725. "type": "string"
  28726. },
  28727. "cardtype": {
  28728. "description": "证件类型",
  28729. "type": "integer"
  28730. },
  28731. "cardtypename": {
  28732. "description": "证件类型名称",
  28733. "type": "string"
  28734. },
  28735. "cityid": {
  28736. "description": "市",
  28737. "type": "integer"
  28738. },
  28739. "cityname": {
  28740. "description": "城市名称",
  28741. "type": "string"
  28742. },
  28743. "contactname": {
  28744. "description": "联系人",
  28745. "type": "string"
  28746. },
  28747. "countryid": {
  28748. "description": "国家",
  28749. "type": "integer"
  28750. },
  28751. "countryname": {
  28752. "description": "国家名称",
  28753. "type": "string"
  28754. },
  28755. "createtime": {
  28756. "description": "创建时间",
  28757. "type": "string"
  28758. },
  28759. "customername": {
  28760. "description": "客户名称",
  28761. "type": "string"
  28762. },
  28763. "districtid": {
  28764. "description": "区域",
  28765. "type": "integer"
  28766. },
  28767. "districtname": {
  28768. "description": "地区名称",
  28769. "type": "string"
  28770. },
  28771. "email": {
  28772. "description": "邮件",
  28773. "type": "string"
  28774. },
  28775. "legalpersonname": {
  28776. "description": "法人姓名(企业)",
  28777. "type": "string"
  28778. },
  28779. "logincode": {
  28780. "description": "登录账号(代码)",
  28781. "type": "string"
  28782. },
  28783. "memberuserid": {
  28784. "description": "所属机构ID(所属会员)",
  28785. "type": "integer"
  28786. },
  28787. "memberusername": {
  28788. "description": "所属会员名称",
  28789. "type": "string"
  28790. },
  28791. "mobile": {
  28792. "description": "手机号码",
  28793. "type": "string"
  28794. },
  28795. "modifytime": {
  28796. "description": "修改时间",
  28797. "type": "string"
  28798. },
  28799. "nickname": {
  28800. "description": "昵称",
  28801. "type": "string"
  28802. },
  28803. "parentuserid": {
  28804. "description": "上级机构(所属机构)",
  28805. "type": "integer"
  28806. },
  28807. "parentusername": {
  28808. "description": "所属机构名称",
  28809. "type": "string"
  28810. },
  28811. "provinceid": {
  28812. "description": "省",
  28813. "type": "integer"
  28814. },
  28815. "provincename": {
  28816. "description": "省名称",
  28817. "type": "string"
  28818. },
  28819. "proxystatementurl": {
  28820. "description": "授权委托书",
  28821. "type": "string"
  28822. },
  28823. "remark": {
  28824. "description": "备注",
  28825. "type": "string"
  28826. },
  28827. "status": {
  28828. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28829. "type": "integer"
  28830. },
  28831. "statusdesc": {
  28832. "description": "账户状态中文描述",
  28833. "type": "string"
  28834. },
  28835. "taxpayernum": {
  28836. "description": "纳税人识别号",
  28837. "type": "string"
  28838. },
  28839. "telphone": {
  28840. "description": "联系电话",
  28841. "type": "string"
  28842. },
  28843. "userid": {
  28844. "description": "用户ID",
  28845. "type": "integer"
  28846. },
  28847. "userinfotype": {
  28848. "description": "客户类型 1-个人 2-企业",
  28849. "type": "integer"
  28850. },
  28851. "username": {
  28852. "description": "用户名称",
  28853. "type": "string"
  28854. }
  28855. }
  28856. },
  28857. "models.QhjCustomerSignLog": {
  28858. "type": "object",
  28859. "properties": {
  28860. "agreementcontent": {
  28861. "description": "协议内容",
  28862. "type": "string"
  28863. },
  28864. "agreementid": {
  28865. "description": "协议ID",
  28866. "type": "integer"
  28867. },
  28868. "agreementname": {
  28869. "description": "协议名称",
  28870. "type": "string"
  28871. },
  28872. "agreementno": {
  28873. "description": "协议编号",
  28874. "type": "string"
  28875. },
  28876. "agreementtype": {
  28877. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28878. "type": "integer"
  28879. },
  28880. "agreementversion": {
  28881. "description": "协议版本号",
  28882. "type": "integer"
  28883. },
  28884. "createtime": {
  28885. "description": "创建时间",
  28886. "type": "string"
  28887. },
  28888. "goodscode": {
  28889. "description": "商品代码",
  28890. "type": "string"
  28891. },
  28892. "goodsid": {
  28893. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28894. "type": "integer"
  28895. },
  28896. "goodsname": {
  28897. "description": "商品名称",
  28898. "type": "string"
  28899. },
  28900. "logid": {
  28901. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28902. "type": "integer"
  28903. },
  28904. "nodetype": {
  28905. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28906. "type": "integer"
  28907. },
  28908. "signadressurl": {
  28909. "description": "签约文件地址",
  28910. "type": "string"
  28911. },
  28912. "signtimestamp": {
  28913. "description": "签约状态时间戳",
  28914. "type": "string"
  28915. },
  28916. "userid": {
  28917. "description": "客户ID",
  28918. "type": "integer"
  28919. },
  28920. "username": {
  28921. "description": "客户名称",
  28922. "type": "string"
  28923. }
  28924. }
  28925. },
  28926. "models.QhjCustomerSignStatus": {
  28927. "type": "object",
  28928. "properties": {
  28929. "createtime": {
  28930. "description": "创建时间",
  28931. "type": "string"
  28932. },
  28933. "goodscode": {
  28934. "description": "商品代码",
  28935. "type": "string"
  28936. },
  28937. "goodsid": {
  28938. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28939. "type": "integer"
  28940. },
  28941. "goodsname": {
  28942. "description": "商品名称",
  28943. "type": "string"
  28944. },
  28945. "nodetype": {
  28946. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28947. "type": "integer"
  28948. },
  28949. "signtimestamp": {
  28950. "description": "签约状态时间戳",
  28951. "type": "string"
  28952. },
  28953. "tradedate": {
  28954. "description": "创建交易日(yyyyMMdd)",
  28955. "type": "string"
  28956. },
  28957. "updatetime": {
  28958. "description": "更新时间",
  28959. "type": "string"
  28960. },
  28961. "userid": {
  28962. "description": "客户ID",
  28963. "type": "integer"
  28964. },
  28965. "username": {
  28966. "description": "客户名称",
  28967. "type": "string"
  28968. }
  28969. }
  28970. },
  28971. "models.QhjMgrAccountOutInApply": {
  28972. "type": "object",
  28973. "properties": {
  28974. "accountcode": {
  28975. "description": "资金账号",
  28976. "type": "string"
  28977. },
  28978. "accountname": {
  28979. "description": "用户名称(名称)",
  28980. "type": "string"
  28981. },
  28982. "accountpwd": {
  28983. "description": "资金密码",
  28984. "type": "string"
  28985. },
  28986. "accountticket": {
  28987. "description": "最新账户服务流水号",
  28988. "type": "string"
  28989. },
  28990. "amount": {
  28991. "description": "金额",
  28992. "type": "number"
  28993. },
  28994. "applyremark": {
  28995. "description": "申请备注",
  28996. "type": "string"
  28997. },
  28998. "applystatus": {
  28999. "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: 复审通过,账户冻结金额检查中;",
  29000. "type": "integer"
  29001. },
  29002. "auditid": {
  29003. "description": "审核人",
  29004. "type": "integer"
  29005. },
  29006. "audittime": {
  29007. "description": "审核时间",
  29008. "type": "string"
  29009. },
  29010. "bank_apply_ticket": {
  29011. "description": "银行申请流水",
  29012. "type": "string"
  29013. },
  29014. "bankaccountname": {
  29015. "description": "银行账户名",
  29016. "type": "string"
  29017. },
  29018. "bankaccountno": {
  29019. "description": "银行卡号",
  29020. "type": "string"
  29021. },
  29022. "bankid": {
  29023. "description": "银行编号",
  29024. "type": "string"
  29025. },
  29026. "bankname": {
  29027. "description": "银行名称",
  29028. "type": "string"
  29029. },
  29030. "bankticket": {
  29031. "description": "银行流水",
  29032. "type": "string"
  29033. },
  29034. "branchbankid": {
  29035. "description": "银行支行号",
  29036. "type": "string"
  29037. },
  29038. "branchbankname": {
  29039. "description": "银行支行名称",
  29040. "type": "string"
  29041. },
  29042. "capamountout": {
  29043. "description": "出金(劣后本金) - 外部子账户",
  29044. "type": "number"
  29045. },
  29046. "certificatephotourl": {
  29047. "description": "凭证地址",
  29048. "type": "string"
  29049. },
  29050. "charge": {
  29051. "description": "手续费",
  29052. "type": "number"
  29053. },
  29054. "checkerrorflag": {
  29055. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29056. "type": "integer"
  29057. },
  29058. "currency": {
  29059. "description": "币种",
  29060. "type": "string"
  29061. },
  29062. "cusbankid": {
  29063. "description": "托管银行编号",
  29064. "type": "string"
  29065. },
  29066. "exchticket": {
  29067. "description": "银行服务流水号",
  29068. "type": "string"
  29069. },
  29070. "executetype": {
  29071. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29072. "type": "integer"
  29073. },
  29074. "extendinfo": {
  29075. "description": "扩展信息",
  29076. "type": "string"
  29077. },
  29078. "extoperateid": {
  29079. "description": "交易服务流水号",
  29080. "type": "integer"
  29081. },
  29082. "infamount": {
  29083. "description": "劣后金额(自有)",
  29084. "type": "number"
  29085. },
  29086. "logincode": {
  29087. "description": "登录账号(账号)",
  29088. "type": "string"
  29089. },
  29090. "netaddr": {
  29091. "description": "调转网址",
  29092. "type": "string"
  29093. },
  29094. "priamount": {
  29095. "description": "优先金额(授信)",
  29096. "type": "number"
  29097. },
  29098. "reauditid": {
  29099. "description": "复审人",
  29100. "type": "integer"
  29101. },
  29102. "reauditremark": {
  29103. "description": "复审备注",
  29104. "type": "string"
  29105. },
  29106. "reaudittime": {
  29107. "description": "复审时间",
  29108. "type": "string"
  29109. },
  29110. "relatedorderid": {
  29111. "description": "三方关联ID",
  29112. "type": "string"
  29113. },
  29114. "remark": {
  29115. "description": "备注",
  29116. "type": "string"
  29117. },
  29118. "remark2": {
  29119. "description": "备注(失败原因)",
  29120. "type": "string"
  29121. },
  29122. "soucreamount": {
  29123. "description": "原始出入金金额",
  29124. "type": "number"
  29125. },
  29126. "soucrecurrencyid": {
  29127. "description": "原始出入金币种",
  29128. "type": "integer"
  29129. },
  29130. "tradedate": {
  29131. "description": "交易日(yyyyMMdd)",
  29132. "type": "string"
  29133. },
  29134. "updatetime": {
  29135. "description": "更新时间(申请时间)",
  29136. "type": "string"
  29137. },
  29138. "userid": {
  29139. "description": "用户id",
  29140. "type": "integer"
  29141. },
  29142. "userinfotype": {
  29143. "description": "账户类型 1-个人 2-企业",
  29144. "type": "integer"
  29145. }
  29146. }
  29147. },
  29148. "models.QhjMgrBrokerApply": {
  29149. "type": "object",
  29150. "properties": {
  29151. "applicantid": {
  29152. "description": "申请人",
  29153. "type": "integer"
  29154. },
  29155. "applysrc": {
  29156. "description": "申请来源 - 1:管理端 2:终端",
  29157. "type": "integer"
  29158. },
  29159. "applystatus": {
  29160. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29161. "type": "integer"
  29162. },
  29163. "applytime": {
  29164. "description": "申请时间",
  29165. "type": "string"
  29166. },
  29167. "auditorid": {
  29168. "description": "审核人",
  29169. "type": "integer"
  29170. },
  29171. "auditremark": {
  29172. "description": "审核备注",
  29173. "type": "string"
  29174. },
  29175. "auditsrc": {
  29176. "description": "审核来源 - 1:管理端 2:终端",
  29177. "type": "integer"
  29178. },
  29179. "audittime": {
  29180. "description": "审核时间",
  29181. "type": "string"
  29182. },
  29183. "audittradedate": {
  29184. "description": "审核交易日(yyyyMMdd)",
  29185. "type": "string"
  29186. },
  29187. "brokerapplyid": {
  29188. "description": "申请ID(SEQ_BROKERAPPLY)",
  29189. "type": "integer"
  29190. },
  29191. "cardbackphotourl": {
  29192. "description": "证件背面图片地址",
  29193. "type": "string"
  29194. },
  29195. "cardfrontphotourl": {
  29196. "description": "证件正面图片地址",
  29197. "type": "string"
  29198. },
  29199. "cardnum": {
  29200. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29201. "type": "string"
  29202. },
  29203. "customername": {
  29204. "description": "姓名",
  29205. "type": "string"
  29206. },
  29207. "filterstatus": {
  29208. "description": "筛选条件",
  29209. "type": "string"
  29210. },
  29211. "logincode": {
  29212. "description": "登录代码",
  29213. "type": "string"
  29214. },
  29215. "mobile": {
  29216. "description": "手机号码",
  29217. "type": "string"
  29218. },
  29219. "parentuserid": {
  29220. "description": "所属机构id",
  29221. "type": "integer"
  29222. },
  29223. "parentusername": {
  29224. "description": "所属机构名称",
  29225. "type": "string"
  29226. },
  29227. "refereeuserid": {
  29228. "description": "推荐人id(经纪人)",
  29229. "type": "integer"
  29230. },
  29231. "refernum": {
  29232. "description": "推荐码",
  29233. "type": "string"
  29234. },
  29235. "remark": {
  29236. "description": "备注",
  29237. "type": "string"
  29238. },
  29239. "subarealevelpath": {
  29240. "description": "层级路径",
  29241. "type": "string"
  29242. },
  29243. "tradedate": {
  29244. "description": "交易日(yyyyMMdd)",
  29245. "type": "string"
  29246. },
  29247. "userid": {
  29248. "description": "申请人用户ID",
  29249. "type": "integer"
  29250. },
  29251. "userinfotype": {
  29252. "description": "用户类型 1-个人 2-企业",
  29253. "type": "integer"
  29254. },
  29255. "username": {
  29256. "description": "用户名称",
  29257. "type": "string"
  29258. }
  29259. }
  29260. },
  29261. "models.QhjMgrBrokerRewardReport": {
  29262. "type": "object",
  29263. "properties": {
  29264. "createtime": {
  29265. "description": "创建时间(注册时间)",
  29266. "type": "string"
  29267. },
  29268. "cycletime": {
  29269. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29270. "type": "string"
  29271. },
  29272. "cycletype": {
  29273. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29274. "type": "integer"
  29275. },
  29276. "directtotalnum": {
  29277. "description": "直推总人数【期末】",
  29278. "type": "integer"
  29279. },
  29280. "indirecttotalnum": {
  29281. "description": "间推总人数【期末】",
  29282. "type": "integer"
  29283. },
  29284. "mobile": {
  29285. "description": "电话号码",
  29286. "type": "string"
  29287. },
  29288. "refereeuserid": {
  29289. "description": "推荐人id(经纪人id)",
  29290. "type": "integer"
  29291. },
  29292. "refereeusername": {
  29293. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29294. "type": "string"
  29295. },
  29296. "refernum": {
  29297. "description": "推荐码",
  29298. "type": "string"
  29299. },
  29300. "subarealevelpath": {
  29301. "description": "用户层级路径",
  29302. "type": "string"
  29303. },
  29304. "todayrewardamount": {
  29305. "description": "奖励总金额【汇总】",
  29306. "type": "number"
  29307. },
  29308. "updatetime": {
  29309. "description": "更新时间",
  29310. "type": "string"
  29311. },
  29312. "userid": {
  29313. "description": "经纪人用户ID",
  29314. "type": "integer"
  29315. },
  29316. "userinfotype": {
  29317. "description": "用户类型 1-个人 2-企业",
  29318. "type": "integer"
  29319. },
  29320. "username": {
  29321. "description": "用户名称",
  29322. "type": "string"
  29323. }
  29324. }
  29325. },
  29326. "models.QhjMgrContract": {
  29327. "type": "object",
  29328. "properties": {
  29329. "contractconfirmtime": {
  29330. "description": "合同确认时间(时间)",
  29331. "type": "string"
  29332. },
  29333. "currisklevel": {
  29334. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29335. "type": "integer"
  29336. },
  29337. "decimalplace": {
  29338. "description": "商品报价小数位",
  29339. "type": "integer"
  29340. },
  29341. "enumdicname": {
  29342. "description": "单位名称",
  29343. "type": "string"
  29344. },
  29345. "goodscode": {
  29346. "description": "商品代码",
  29347. "type": "string"
  29348. },
  29349. "goodsid": {
  29350. "description": "商品ID [5:融资单]",
  29351. "type": "integer"
  29352. },
  29353. "goodsname": {
  29354. "description": "商品名称",
  29355. "type": "string"
  29356. },
  29357. "goodunitid": {
  29358. "description": "商品单位id",
  29359. "type": "integer"
  29360. },
  29361. "initmargin": {
  29362. "description": "初始保证金(首付款)",
  29363. "type": "number"
  29364. },
  29365. "lenderamount": {
  29366. "description": "贷款金额(总额|订单总额)",
  29367. "type": "number"
  29368. },
  29369. "logincode": {
  29370. "description": "账号(登录代码)",
  29371. "type": "string"
  29372. },
  29373. "marginratio": {
  29374. "description": "保证金比率(首付比例)",
  29375. "type": "number"
  29376. },
  29377. "mobile": {
  29378. "description": "电话号码(用户资料里的电话)",
  29379. "type": "string"
  29380. },
  29381. "payamount": {
  29382. "description": "已付(已付货款)",
  29383. "type": "number"
  29384. },
  29385. "reckonrecovermargin": {
  29386. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29387. "type": "number"
  29388. },
  29389. "recoveredmargin": {
  29390. "description": "已追缴保证金",
  29391. "type": "number"
  29392. },
  29393. "remainamount": {
  29394. "description": "合同剩余金额(融资额)",
  29395. "type": "number"
  29396. },
  29397. "scfcontractid": {
  29398. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29399. "type": "string"
  29400. },
  29401. "scfcontractstatus": {
  29402. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29403. "type": "integer"
  29404. },
  29405. "scfcontracttype": {
  29406. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29407. "type": "integer"
  29408. },
  29409. "totalinterest": {
  29410. "description": "已计总利息(利息)",
  29411. "type": "number"
  29412. },
  29413. "tradedate": {
  29414. "description": "交易日",
  29415. "type": "string"
  29416. },
  29417. "tradeprice": {
  29418. "description": "成交价格(成本价格)",
  29419. "type": "number"
  29420. },
  29421. "userid": {
  29422. "description": "用户ID",
  29423. "type": "integer"
  29424. },
  29425. "userinfotype": {
  29426. "description": "用户类型 1-个人 2-企业",
  29427. "type": "integer"
  29428. },
  29429. "username": {
  29430. "description": "用户名称",
  29431. "type": "string"
  29432. },
  29433. "wrqty": {
  29434. "description": "仓单数量(数量)",
  29435. "type": "number"
  29436. }
  29437. }
  29438. },
  29439. "models.QhjMgrCustomer": {
  29440. "type": "object",
  29441. "properties": {
  29442. "address": {
  29443. "description": "通讯地址",
  29444. "type": "string"
  29445. },
  29446. "attachment1": {
  29447. "description": "附件1",
  29448. "type": "string"
  29449. },
  29450. "audittime": {
  29451. "description": "审核时间",
  29452. "type": "string"
  29453. },
  29454. "birthday": {
  29455. "description": "生日",
  29456. "type": "string"
  29457. },
  29458. "brokerid": {
  29459. "description": "所属客户经理id",
  29460. "type": "integer"
  29461. },
  29462. "brokername": {
  29463. "description": "所属客户经理名称",
  29464. "type": "string"
  29465. },
  29466. "cardbackphotourl": {
  29467. "description": "证件反面图片地址",
  29468. "type": "string"
  29469. },
  29470. "cardfrontphotourl": {
  29471. "description": "证件正面图片地址",
  29472. "type": "string"
  29473. },
  29474. "cardnum": {
  29475. "description": "证件号码",
  29476. "type": "string"
  29477. },
  29478. "cardtype": {
  29479. "description": "证件类型",
  29480. "type": "integer"
  29481. },
  29482. "cardtypename": {
  29483. "description": "证件类型名称",
  29484. "type": "string"
  29485. },
  29486. "cityid": {
  29487. "description": "市",
  29488. "type": "integer"
  29489. },
  29490. "cityname": {
  29491. "description": "城市名称",
  29492. "type": "string"
  29493. },
  29494. "contactname": {
  29495. "description": "联系人",
  29496. "type": "string"
  29497. },
  29498. "countryid": {
  29499. "description": "国家",
  29500. "type": "integer"
  29501. },
  29502. "countryname": {
  29503. "description": "国家名称",
  29504. "type": "string"
  29505. },
  29506. "createtime": {
  29507. "description": "创建时间",
  29508. "type": "string"
  29509. },
  29510. "customername": {
  29511. "description": "客户名称",
  29512. "type": "string"
  29513. },
  29514. "districtid": {
  29515. "description": "区域",
  29516. "type": "integer"
  29517. },
  29518. "districtname": {
  29519. "description": "地区名称",
  29520. "type": "string"
  29521. },
  29522. "email": {
  29523. "description": "邮件",
  29524. "type": "string"
  29525. },
  29526. "legalpersonname": {
  29527. "description": "法人姓名(企业)",
  29528. "type": "string"
  29529. },
  29530. "logincode": {
  29531. "description": "登录账号(代码)",
  29532. "type": "string"
  29533. },
  29534. "memberuserid": {
  29535. "description": "所属机构ID(所属会员)",
  29536. "type": "integer"
  29537. },
  29538. "memberusername": {
  29539. "description": "所属会员名称",
  29540. "type": "string"
  29541. },
  29542. "mobile": {
  29543. "description": "手机号码",
  29544. "type": "string"
  29545. },
  29546. "modifytime": {
  29547. "description": "修改时间",
  29548. "type": "string"
  29549. },
  29550. "nickname": {
  29551. "description": "昵称",
  29552. "type": "string"
  29553. },
  29554. "parentuserid": {
  29555. "description": "上级机构(所属机构)",
  29556. "type": "integer"
  29557. },
  29558. "parentusername": {
  29559. "description": "所属机构名称",
  29560. "type": "string"
  29561. },
  29562. "provinceid": {
  29563. "description": "省",
  29564. "type": "integer"
  29565. },
  29566. "provincename": {
  29567. "description": "省名称",
  29568. "type": "string"
  29569. },
  29570. "proxystatementurl": {
  29571. "description": "授权委托书",
  29572. "type": "string"
  29573. },
  29574. "querytype": {
  29575. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29576. "type": "integer"
  29577. },
  29578. "remark": {
  29579. "description": "备注",
  29580. "type": "string"
  29581. },
  29582. "sex": {
  29583. "description": "性别 0-女 1-男",
  29584. "type": "integer"
  29585. },
  29586. "status": {
  29587. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29588. "type": "integer"
  29589. },
  29590. "statusdesc": {
  29591. "description": "账户状态中文描述",
  29592. "type": "string"
  29593. },
  29594. "taxpayernum": {
  29595. "description": "纳税人识别号",
  29596. "type": "string"
  29597. },
  29598. "telphone": {
  29599. "description": "联系电话",
  29600. "type": "string"
  29601. },
  29602. "userid": {
  29603. "description": "用户ID",
  29604. "type": "integer"
  29605. },
  29606. "userinfotype": {
  29607. "description": "客户类型 1-个人 2-企业",
  29608. "type": "integer"
  29609. },
  29610. "username": {
  29611. "description": "用户名称",
  29612. "type": "string"
  29613. }
  29614. }
  29615. },
  29616. "models.QhjMgrPickGoods": {
  29617. "type": "object",
  29618. "properties": {
  29619. "enumdicname": {
  29620. "description": "单位名称(提货商品)",
  29621. "type": "string"
  29622. },
  29623. "goodsid": {
  29624. "description": "商品id",
  29625. "type": "integer"
  29626. },
  29627. "imageaddress": {
  29628. "description": "图片",
  29629. "type": "string"
  29630. },
  29631. "modifierid": {
  29632. "description": "修改人",
  29633. "type": "integer"
  29634. },
  29635. "modifiername": {
  29636. "description": "修改人名称",
  29637. "type": "string"
  29638. },
  29639. "modifysrc": {
  29640. "description": "修改来源 - 1:管理端 2:终端",
  29641. "type": "integer"
  29642. },
  29643. "pickupgoodsagreeunit": {
  29644. "description": "合约乘数",
  29645. "type": "number"
  29646. },
  29647. "pickupgoodsdesc": {
  29648. "description": "描述",
  29649. "type": "string"
  29650. },
  29651. "pickupgoodsid": {
  29652. "description": "提货商品ID",
  29653. "type": "string"
  29654. },
  29655. "pickupgoodsname": {
  29656. "description": "提货商品名称",
  29657. "type": "string"
  29658. },
  29659. "pickupgoodsstatus": {
  29660. "description": "状态 - 1:正常 2:停用 3:注销",
  29661. "type": "integer"
  29662. },
  29663. "pickupgoodsunitid": {
  29664. "description": "单位ID",
  29665. "type": "integer"
  29666. },
  29667. "pickupratio": {
  29668. "description": "提货系数",
  29669. "type": "number"
  29670. },
  29671. "preparedays": {
  29672. "description": "备货期(天)",
  29673. "type": "integer"
  29674. },
  29675. "remark": {
  29676. "description": "备注",
  29677. "type": "string"
  29678. },
  29679. "updatetime": {
  29680. "description": "更新时间",
  29681. "type": "string"
  29682. }
  29683. }
  29684. },
  29685. "models.QhjMgrPositionRsp": {
  29686. "type": "object",
  29687. "properties": {
  29688. "accountid": {
  29689. "description": "账号Id",
  29690. "type": "integer"
  29691. },
  29692. "accountname": {
  29693. "description": "用户名称",
  29694. "type": "string"
  29695. },
  29696. "agreeunit": {
  29697. "description": "合约乘数",
  29698. "type": "number"
  29699. },
  29700. "averageprice": {
  29701. "description": "均价",
  29702. "type": "number"
  29703. },
  29704. "avialqty": {
  29705. "description": "可用数量",
  29706. "type": "number"
  29707. },
  29708. "decimalplace": {
  29709. "description": "报价小数位",
  29710. "type": "integer"
  29711. },
  29712. "enumdicname": {
  29713. "description": "单位名称(商品)",
  29714. "type": "string"
  29715. },
  29716. "frozenqty": {
  29717. "description": "冻结数量",
  29718. "type": "number"
  29719. },
  29720. "goodscode": {
  29721. "description": "商品代码(内部)",
  29722. "type": "string"
  29723. },
  29724. "goodsid": {
  29725. "description": "商品Id",
  29726. "type": "integer"
  29727. },
  29728. "goodsname": {
  29729. "description": "商品名称",
  29730. "type": "string"
  29731. },
  29732. "goodunitid": {
  29733. "description": "报价单位ID",
  29734. "type": "integer"
  29735. },
  29736. "holderamount": {
  29737. "description": "金额",
  29738. "type": "number"
  29739. },
  29740. "holderqty": {
  29741. "description": "持有数量",
  29742. "type": "number"
  29743. },
  29744. "holdertype": {
  29745. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29746. "type": "integer"
  29747. },
  29748. "logincode": {
  29749. "description": "登录代码(账户)",
  29750. "type": "string"
  29751. },
  29752. "marketid": {
  29753. "description": "市场id",
  29754. "type": "integer"
  29755. },
  29756. "qtydecimalplace": {
  29757. "description": "成交量小数位",
  29758. "type": "integer"
  29759. },
  29760. "trademode": {
  29761. "description": "交易模式",
  29762. "type": "integer"
  29763. },
  29764. "userid": {
  29765. "description": "用户id",
  29766. "type": "integer"
  29767. },
  29768. "userinfotype": {
  29769. "description": "账户类型 1-个人 2-企业",
  29770. "type": "integer"
  29771. }
  29772. }
  29773. },
  29774. "models.QhjMgrSubArea": {
  29775. "type": "object",
  29776. "properties": {
  29777. "accountname": {
  29778. "description": "账户名称(机构名称)",
  29779. "type": "string"
  29780. },
  29781. "memberuserid": {
  29782. "description": "所属会员ID",
  29783. "type": "integer"
  29784. },
  29785. "parenttopuser": {
  29786. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29787. "type": "string"
  29788. },
  29789. "parentuserid": {
  29790. "description": "所属机构ID",
  29791. "type": "integer"
  29792. },
  29793. "rootuserid": {
  29794. "description": "根用户ID",
  29795. "type": "string"
  29796. },
  29797. "subaccountlevel": {
  29798. "description": "子账户层数",
  29799. "type": "integer"
  29800. },
  29801. "subarealevelpath": {
  29802. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29803. "type": "string"
  29804. },
  29805. "userid": {
  29806. "description": "用户ID",
  29807. "type": "integer"
  29808. },
  29809. "usertype": {
  29810. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29811. "type": "integer"
  29812. }
  29813. }
  29814. },
  29815. "models.QhjMgrTradeDetailRsp": {
  29816. "type": "object",
  29817. "properties": {
  29818. "accountid": {
  29819. "description": "资金账号",
  29820. "type": "integer"
  29821. },
  29822. "accountname": {
  29823. "description": "用户名称",
  29824. "type": "string"
  29825. },
  29826. "agreeunit": {
  29827. "description": "合约乘数",
  29828. "type": "number"
  29829. },
  29830. "buyorsell": {
  29831. "description": "成交类型(方向) 0:买 1:卖",
  29832. "type": "integer"
  29833. },
  29834. "decimalplace": {
  29835. "description": "报价小数位",
  29836. "type": "integer"
  29837. },
  29838. "enumdicname": {
  29839. "description": "单位名称(商品)",
  29840. "type": "string"
  29841. },
  29842. "goodscode": {
  29843. "description": "商品代码(内部)",
  29844. "type": "string"
  29845. },
  29846. "goodsid": {
  29847. "description": "商品id",
  29848. "type": "integer"
  29849. },
  29850. "goodsname": {
  29851. "description": "商品名称",
  29852. "type": "string"
  29853. },
  29854. "goodunitid": {
  29855. "description": "报价单位ID",
  29856. "type": "integer"
  29857. },
  29858. "logincode": {
  29859. "description": "登录代码(账户)",
  29860. "type": "string"
  29861. },
  29862. "marketid": {
  29863. "description": "市场id",
  29864. "type": "integer"
  29865. },
  29866. "orderid": {
  29867. "description": "关联委托单号",
  29868. "type": "string"
  29869. },
  29870. "qtydecimalplace": {
  29871. "description": "成交量小数位",
  29872. "type": "integer"
  29873. },
  29874. "tradeamount": {
  29875. "description": "金额",
  29876. "type": "number"
  29877. },
  29878. "tradedate": {
  29879. "description": "交易日",
  29880. "type": "string"
  29881. },
  29882. "tradeid": {
  29883. "description": "成交单号",
  29884. "type": "string"
  29885. },
  29886. "trademode": {
  29887. "description": "交易模式",
  29888. "type": "integer"
  29889. },
  29890. "tradeprice": {
  29891. "description": "价格",
  29892. "type": "number"
  29893. },
  29894. "tradeqty": {
  29895. "description": "数量",
  29896. "type": "number"
  29897. },
  29898. "tradetime": {
  29899. "description": "成交时间",
  29900. "type": "string"
  29901. },
  29902. "userid": {
  29903. "description": "用户id",
  29904. "type": "integer"
  29905. },
  29906. "userinfotype": {
  29907. "description": "账户类型 1-个人 2-企业",
  29908. "type": "integer"
  29909. }
  29910. }
  29911. },
  29912. "models.QhjMgrTradeOrderDetailRsp": {
  29913. "type": "object",
  29914. "properties": {
  29915. "accountid": {
  29916. "description": "资金账号",
  29917. "type": "integer"
  29918. },
  29919. "accountname": {
  29920. "description": "用户名称",
  29921. "type": "string"
  29922. },
  29923. "agreeunit": {
  29924. "description": "合约乘数",
  29925. "type": "number"
  29926. },
  29927. "amount": {
  29928. "description": "金额",
  29929. "type": "number"
  29930. },
  29931. "decimalplace": {
  29932. "description": "报价小数位",
  29933. "type": "integer"
  29934. },
  29935. "enumdicname": {
  29936. "description": "单位名称(商品)",
  29937. "type": "string"
  29938. },
  29939. "goodscode": {
  29940. "description": "商品代码(内部)",
  29941. "type": "string"
  29942. },
  29943. "goodsid": {
  29944. "description": "商品id",
  29945. "type": "integer"
  29946. },
  29947. "goodsname": {
  29948. "description": "商品名称",
  29949. "type": "string"
  29950. },
  29951. "goodunitid": {
  29952. "description": "报价单位ID",
  29953. "type": "integer"
  29954. },
  29955. "logincode": {
  29956. "description": "登录代码(账户)",
  29957. "type": "string"
  29958. },
  29959. "marketid": {
  29960. "description": "市场id",
  29961. "type": "integer"
  29962. },
  29963. "orderid": {
  29964. "description": "关联委托单号",
  29965. "type": "string"
  29966. },
  29967. "orderprice": {
  29968. "description": "价格",
  29969. "type": "number"
  29970. },
  29971. "orderqty": {
  29972. "description": "数量",
  29973. "type": "number"
  29974. },
  29975. "orderstatus": {
  29976. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29977. "type": "integer"
  29978. },
  29979. "ordertime": {
  29980. "description": "委托时间",
  29981. "type": "string"
  29982. },
  29983. "qtydecimalplace": {
  29984. "description": "成交量小数位",
  29985. "type": "integer"
  29986. },
  29987. "tradedate": {
  29988. "description": "交易日",
  29989. "type": "string"
  29990. },
  29991. "trademode": {
  29992. "description": "交易模式",
  29993. "type": "integer"
  29994. },
  29995. "userid": {
  29996. "description": "用户id",
  29997. "type": "integer"
  29998. },
  29999. "userinfotype": {
  30000. "description": "账户类型 1-个人 2-企业",
  30001. "type": "integer"
  30002. }
  30003. }
  30004. },
  30005. "models.QhjMgrTradePayOrder": {
  30006. "type": "object",
  30007. "properties": {
  30008. "accountname": {
  30009. "description": "用户名称",
  30010. "type": "string"
  30011. },
  30012. "advanceratio": {
  30013. "description": "首付比率",
  30014. "type": "number"
  30015. },
  30016. "agreeunit": {
  30017. "description": "合约乘数",
  30018. "type": "number"
  30019. },
  30020. "buyaccountid": {
  30021. "description": "买方账号ID[报价币种]",
  30022. "type": "integer"
  30023. },
  30024. "buyorderid": {
  30025. "description": "买方委托单号(关联单号)",
  30026. "type": "string"
  30027. },
  30028. "createtime": {
  30029. "description": "创建时间",
  30030. "type": "string"
  30031. },
  30032. "decimalplace": {
  30033. "description": "报价小数位",
  30034. "type": "integer"
  30035. },
  30036. "enumdicname": {
  30037. "description": "单位名称(商品)",
  30038. "type": "string"
  30039. },
  30040. "goodscode": {
  30041. "description": "商品代码(内部)",
  30042. "type": "string"
  30043. },
  30044. "goodsid": {
  30045. "description": "商品ID",
  30046. "type": "integer"
  30047. },
  30048. "goodsname": {
  30049. "description": "商品名称",
  30050. "type": "string"
  30051. },
  30052. "goodunitid": {
  30053. "description": "报价单位ID",
  30054. "type": "integer"
  30055. },
  30056. "logincode": {
  30057. "description": "登录代码(账户)",
  30058. "type": "string"
  30059. },
  30060. "marketid": {
  30061. "description": "市场id",
  30062. "type": "integer"
  30063. },
  30064. "offamount": {
  30065. "description": "优惠金额",
  30066. "type": "number"
  30067. },
  30068. "operatetype": {
  30069. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30070. "type": "integer"
  30071. },
  30072. "payamount": {
  30073. "description": "支付金额(金额)",
  30074. "type": "number"
  30075. },
  30076. "payflag": {
  30077. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30078. "type": "integer"
  30079. },
  30080. "paylimitedtime": {
  30081. "description": "支付期限",
  30082. "type": "string"
  30083. },
  30084. "paytime": {
  30085. "description": "付款时间",
  30086. "type": "string"
  30087. },
  30088. "qtydecimalplace": {
  30089. "description": "成交量小数位",
  30090. "type": "integer"
  30091. },
  30092. "sellaccountid": {
  30093. "description": "卖方账号ID[报价币种]",
  30094. "type": "integer"
  30095. },
  30096. "sellorderid": {
  30097. "description": "卖方委托单号",
  30098. "type": "string"
  30099. },
  30100. "tradeamount": {
  30101. "description": "成交金额(优惠后金额)",
  30102. "type": "number"
  30103. },
  30104. "tradecharge": {
  30105. "description": "成交手续费(买方)",
  30106. "type": "number"
  30107. },
  30108. "tradedate": {
  30109. "description": "交易日(yyyyMMdd)",
  30110. "type": "string"
  30111. },
  30112. "tradeid": {
  30113. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30114. "type": "string"
  30115. },
  30116. "trademode": {
  30117. "description": "交易模式",
  30118. "type": "integer"
  30119. },
  30120. "tradeprice": {
  30121. "description": "成交价格(价格)",
  30122. "type": "number"
  30123. },
  30124. "tradeqty": {
  30125. "description": "成交数量(数量)",
  30126. "type": "number"
  30127. },
  30128. "tradetime": {
  30129. "description": "成交时间",
  30130. "type": "string"
  30131. },
  30132. "userid": {
  30133. "description": "用户id",
  30134. "type": "integer"
  30135. },
  30136. "userinfotype": {
  30137. "description": "账户类型 1-个人 2-企业",
  30138. "type": "integer"
  30139. }
  30140. }
  30141. },
  30142. "models.QhjMyTeamEx": {
  30143. "type": "object",
  30144. "properties": {
  30145. "accountname": {
  30146. "description": "用户名称",
  30147. "type": "string"
  30148. },
  30149. "accountstatus": {
  30150. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30151. "type": "integer"
  30152. },
  30153. "createtime": {
  30154. "description": "创建时间",
  30155. "type": "string"
  30156. },
  30157. "mobile": {
  30158. "description": "手机号码",
  30159. "type": "string"
  30160. },
  30161. "refereeuserid": {
  30162. "description": "推荐人id",
  30163. "type": "integer"
  30164. },
  30165. "refernum": {
  30166. "description": "推荐码",
  30167. "type": "string"
  30168. },
  30169. "subList": {
  30170. "type": "array",
  30171. "items": {
  30172. "$ref": "#/definitions/models.QhjMyTeamEx"
  30173. }
  30174. },
  30175. "userid": {
  30176. "description": "用户id",
  30177. "type": "integer"
  30178. },
  30179. "userinfotype": {
  30180. "description": "用户类型 1-个人 2-企业",
  30181. "type": "integer"
  30182. }
  30183. }
  30184. },
  30185. "models.QhjNodeAgreementConfig": {
  30186. "type": "object",
  30187. "properties": {
  30188. "agreementcontent": {
  30189. "description": "协议内容",
  30190. "type": "string"
  30191. },
  30192. "agreementid": {
  30193. "description": "协议ID",
  30194. "type": "integer"
  30195. },
  30196. "agreementname": {
  30197. "description": "协议名称",
  30198. "type": "string"
  30199. },
  30200. "agreementno": {
  30201. "description": "协议编号",
  30202. "type": "string"
  30203. },
  30204. "agreementtype": {
  30205. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30206. "type": "integer"
  30207. },
  30208. "agreementversion": {
  30209. "description": "协议版本号",
  30210. "type": "integer"
  30211. },
  30212. "configid": {
  30213. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30214. "type": "integer"
  30215. },
  30216. "createtime": {
  30217. "description": "创建时间",
  30218. "type": "string"
  30219. },
  30220. "goodsid": {
  30221. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30222. "type": "integer"
  30223. },
  30224. "nodetype": {
  30225. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30226. "type": "integer"
  30227. }
  30228. }
  30229. },
  30230. "models.QhjParentAreaList": {
  30231. "type": "object",
  30232. "properties": {
  30233. "accountname": {
  30234. "description": "账户名称(机构名称)",
  30235. "type": "string"
  30236. },
  30237. "userid": {
  30238. "description": "用户ID",
  30239. "type": "integer"
  30240. },
  30241. "usertype": {
  30242. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30243. "type": "integer"
  30244. }
  30245. }
  30246. },
  30247. "models.QhjPayOrder": {
  30248. "type": "object",
  30249. "properties": {
  30250. "advanceratio": {
  30251. "description": "首付比率",
  30252. "type": "number"
  30253. },
  30254. "buyaccountid": {
  30255. "description": "买方账号ID[报价币种]",
  30256. "type": "integer"
  30257. },
  30258. "buyorderid": {
  30259. "description": "买方委托单号",
  30260. "type": "string"
  30261. },
  30262. "createtime": {
  30263. "description": "创建时间",
  30264. "type": "string"
  30265. },
  30266. "decimalplace": {
  30267. "description": "商品报价小数位",
  30268. "type": "integer"
  30269. },
  30270. "enumdicname": {
  30271. "description": "单位名称",
  30272. "type": "string"
  30273. },
  30274. "goodscode": {
  30275. "description": "商品代码",
  30276. "type": "string"
  30277. },
  30278. "goodsid": {
  30279. "description": "商品ID",
  30280. "type": "integer"
  30281. },
  30282. "goodsname": {
  30283. "description": "商品名称",
  30284. "type": "string"
  30285. },
  30286. "goodunitid": {
  30287. "description": "商品单位id",
  30288. "type": "integer"
  30289. },
  30290. "marketid": {
  30291. "description": "市场ID",
  30292. "type": "integer"
  30293. },
  30294. "offamount": {
  30295. "description": "优惠金额",
  30296. "type": "number"
  30297. },
  30298. "operatetype": {
  30299. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30300. "type": "integer"
  30301. },
  30302. "payamount": {
  30303. "description": "支付金额",
  30304. "type": "number"
  30305. },
  30306. "payflag": {
  30307. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30308. "type": "integer"
  30309. },
  30310. "paylimitedtime": {
  30311. "description": "支付期限",
  30312. "type": "string"
  30313. },
  30314. "paytime": {
  30315. "description": "付款时间",
  30316. "type": "string"
  30317. },
  30318. "qtydecimalplace": {
  30319. "description": "成交量小数位",
  30320. "type": "integer"
  30321. },
  30322. "sellaccountid": {
  30323. "description": "卖方账号ID[报价币种]",
  30324. "type": "integer"
  30325. },
  30326. "sellorderid": {
  30327. "description": "卖方委托单号",
  30328. "type": "string"
  30329. },
  30330. "tradeamount": {
  30331. "description": "成交金额(优惠后金额)",
  30332. "type": "number"
  30333. },
  30334. "tradecharge": {
  30335. "description": "成交手续费(买方)",
  30336. "type": "number"
  30337. },
  30338. "tradedate": {
  30339. "description": "交易日(yyyyMMdd)",
  30340. "type": "string"
  30341. },
  30342. "tradeid": {
  30343. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30344. "type": "string"
  30345. },
  30346. "tradeprice": {
  30347. "description": "成交价格",
  30348. "type": "number"
  30349. },
  30350. "tradeqty": {
  30351. "description": "成交数量",
  30352. "type": "number"
  30353. }
  30354. }
  30355. },
  30356. "models.QhjPickArea": {
  30357. "type": "object",
  30358. "properties": {
  30359. "address": {
  30360. "description": "详细地址",
  30361. "type": "string"
  30362. },
  30363. "cityid": {
  30364. "description": "市",
  30365. "type": "integer"
  30366. },
  30367. "cityname": {
  30368. "description": "城市名称",
  30369. "type": "string"
  30370. },
  30371. "countryid": {
  30372. "description": "国家",
  30373. "type": "integer"
  30374. },
  30375. "countryname": {
  30376. "description": "国家名称",
  30377. "type": "string"
  30378. },
  30379. "districtid": {
  30380. "description": "地区",
  30381. "type": "integer"
  30382. },
  30383. "districtname": {
  30384. "description": "地区名称",
  30385. "type": "string"
  30386. },
  30387. "fromuserid": {
  30388. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30389. "type": "integer"
  30390. },
  30391. "fromusername": {
  30392. "description": "所属机构名称",
  30393. "type": "string"
  30394. },
  30395. "provinceid": {
  30396. "description": "省",
  30397. "type": "integer"
  30398. },
  30399. "provincename": {
  30400. "description": "省名称",
  30401. "type": "string"
  30402. },
  30403. "suborgtype": {
  30404. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30405. "type": "integer"
  30406. },
  30407. "userid": {
  30408. "description": "机构用户ID 其他做市关系,都设置为 1",
  30409. "type": "integer"
  30410. },
  30411. "username": {
  30412. "description": "机构用户名称(门店门称)",
  30413. "type": "string"
  30414. }
  30415. }
  30416. },
  30417. "models.QhjPickGoods": {
  30418. "type": "object",
  30419. "properties": {
  30420. "enumdicname": {
  30421. "description": "单位名称(提货商品)",
  30422. "type": "string"
  30423. },
  30424. "goodsid": {
  30425. "description": "商品id",
  30426. "type": "integer"
  30427. },
  30428. "imageaddress": {
  30429. "description": "图片",
  30430. "type": "string"
  30431. },
  30432. "modifierid": {
  30433. "description": "修改人",
  30434. "type": "integer"
  30435. },
  30436. "modifiername": {
  30437. "description": "修改人名称",
  30438. "type": "string"
  30439. },
  30440. "modifysrc": {
  30441. "description": "修改来源 - 1:管理端 2:终端",
  30442. "type": "integer"
  30443. },
  30444. "pickupgoodsagreeunit": {
  30445. "description": "合约乘数",
  30446. "type": "number"
  30447. },
  30448. "pickupgoodsdesc": {
  30449. "description": "描述",
  30450. "type": "string"
  30451. },
  30452. "pickupgoodsid": {
  30453. "description": "提货商品ID",
  30454. "type": "string"
  30455. },
  30456. "pickupgoodsname": {
  30457. "description": "提货商品名称",
  30458. "type": "string"
  30459. },
  30460. "pickupgoodsstatus": {
  30461. "description": "状态 - 1:正常 2:停用 3:注销",
  30462. "type": "integer"
  30463. },
  30464. "pickupgoodsunitid": {
  30465. "description": "单位ID",
  30466. "type": "integer"
  30467. },
  30468. "pickupratio": {
  30469. "description": "提货系数",
  30470. "type": "number"
  30471. },
  30472. "preparedays": {
  30473. "description": "备货期(天)",
  30474. "type": "integer"
  30475. },
  30476. "remark": {
  30477. "description": "备注",
  30478. "type": "string"
  30479. },
  30480. "updatetime": {
  30481. "description": "更新时间",
  30482. "type": "string"
  30483. }
  30484. }
  30485. },
  30486. "models.QhjRSTriggerLog": {
  30487. "type": "object",
  30488. "properties": {
  30489. "accountid": {
  30490. "description": "用户资金账户",
  30491. "type": "integer"
  30492. },
  30493. "accountname": {
  30494. "description": "账号名称(ACCOUNTID对应的名称)",
  30495. "type": "string"
  30496. },
  30497. "currencyid": {
  30498. "description": "币种id",
  30499. "type": "integer"
  30500. },
  30501. "currencyname": {
  30502. "description": "币种名称",
  30503. "type": "string"
  30504. },
  30505. "decimalplace": {
  30506. "description": "商品报价小数位",
  30507. "type": "integer"
  30508. },
  30509. "enumdicname": {
  30510. "description": "单位名称",
  30511. "type": "string"
  30512. },
  30513. "goodscode": {
  30514. "description": "定投商品代码",
  30515. "type": "string"
  30516. },
  30517. "goodsid": {
  30518. "description": "定投商品ID",
  30519. "type": "integer"
  30520. },
  30521. "goodsname": {
  30522. "description": "定投商品名称",
  30523. "type": "string"
  30524. },
  30525. "goodunitid": {
  30526. "description": "定投商品单位id",
  30527. "type": "integer"
  30528. },
  30529. "logid": {
  30530. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30531. "type": "string"
  30532. },
  30533. "logincode": {
  30534. "description": "账号(登录代码)",
  30535. "type": "string"
  30536. },
  30537. "qtydecimalplace": {
  30538. "description": "成交量小数位",
  30539. "type": "integer"
  30540. },
  30541. "regularlycycle": {
  30542. "description": "定投频率 - 1:每周 2:每月",
  30543. "type": "integer"
  30544. },
  30545. "regularlycyclevalue": {
  30546. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30547. "type": "string"
  30548. },
  30549. "regularlymode": {
  30550. "description": "定投方式 - 1:按数量 2:按金额",
  30551. "type": "integer"
  30552. },
  30553. "regularlymodevalue": {
  30554. "description": "定投方式值 - 数量或金额",
  30555. "type": "number"
  30556. },
  30557. "regularlystrategyid": {
  30558. "description": "定投策略ID",
  30559. "type": "integer"
  30560. },
  30561. "retcode": {
  30562. "description": "错误码",
  30563. "type": "string"
  30564. },
  30565. "tradeid": {
  30566. "description": "成交单ID",
  30567. "type": "string"
  30568. },
  30569. "triggeramount": {
  30570. "description": "触发金额",
  30571. "type": "number"
  30572. },
  30573. "triggerqty": {
  30574. "description": "触发数量",
  30575. "type": "number"
  30576. },
  30577. "triggerstatus": {
  30578. "description": "触发状态 - 1:成功 2:失败",
  30579. "type": "integer"
  30580. },
  30581. "triggertime": {
  30582. "description": "触发时间",
  30583. "type": "string"
  30584. },
  30585. "triggertradedate": {
  30586. "description": "触发交易日",
  30587. "type": "string"
  30588. },
  30589. "userid": {
  30590. "description": "所属用户ID",
  30591. "type": "integer"
  30592. },
  30593. "userinfotype": {
  30594. "description": "用户类型 1-个人 2-企业",
  30595. "type": "integer"
  30596. },
  30597. "username": {
  30598. "description": "用户名称(userid对应的名称)",
  30599. "type": "string"
  30600. }
  30601. }
  30602. },
  30603. "models.QhjRStrategy": {
  30604. "type": "object",
  30605. "properties": {
  30606. "accountid": {
  30607. "description": "用户资金账户",
  30608. "type": "integer"
  30609. },
  30610. "accountname": {
  30611. "description": "账号名称(ACCOUNTID对应的名称)",
  30612. "type": "string"
  30613. },
  30614. "currencyid": {
  30615. "description": "币种id",
  30616. "type": "integer"
  30617. },
  30618. "currencyname": {
  30619. "description": "币种名称",
  30620. "type": "string"
  30621. },
  30622. "decimalplace": {
  30623. "description": "商品报价小数位",
  30624. "type": "integer"
  30625. },
  30626. "enumdicname": {
  30627. "description": "单位名称",
  30628. "type": "string"
  30629. },
  30630. "goodscode": {
  30631. "description": "定投商品代码",
  30632. "type": "string"
  30633. },
  30634. "goodsid": {
  30635. "description": "定投商品ID",
  30636. "type": "integer"
  30637. },
  30638. "goodsname": {
  30639. "description": "定投商品名称",
  30640. "type": "string"
  30641. },
  30642. "goodunitid": {
  30643. "description": "定投商品单位id",
  30644. "type": "integer"
  30645. },
  30646. "lasteffecttradedate": {
  30647. "description": "最新生效交易日",
  30648. "type": "string"
  30649. },
  30650. "laststoptradedate": {
  30651. "description": "最新暂停交易日",
  30652. "type": "string"
  30653. },
  30654. "lasttriggertradedate": {
  30655. "description": "最新触发交易日",
  30656. "type": "string"
  30657. },
  30658. "logincode": {
  30659. "description": "账号(登录代码)",
  30660. "type": "string"
  30661. },
  30662. "nexttriggeramount": {
  30663. "description": "下次触发金额",
  30664. "type": "number"
  30665. },
  30666. "nexttriggerdate": {
  30667. "description": "下次触发日期",
  30668. "type": "string"
  30669. },
  30670. "nexttriggerqty": {
  30671. "description": "下次触发数量 [按小数位放大值]",
  30672. "type": "number"
  30673. },
  30674. "qtydecimalplace": {
  30675. "description": "成交量小数位",
  30676. "type": "integer"
  30677. },
  30678. "regularlycycle": {
  30679. "description": "定投频率 - 1:每周 2:每月",
  30680. "type": "integer"
  30681. },
  30682. "regularlycyclevalue": {
  30683. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30684. "type": "string"
  30685. },
  30686. "regularlymode": {
  30687. "description": "定投方式 - 1:按数量 2:按金额",
  30688. "type": "integer"
  30689. },
  30690. "regularlymodevalue": {
  30691. "description": "定投方式值 - 数量或金额",
  30692. "type": "number"
  30693. },
  30694. "regularlystrategyid": {
  30695. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30696. "type": "integer"
  30697. },
  30698. "regularlystrategystatus": {
  30699. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30700. "type": "integer"
  30701. },
  30702. "remark": {
  30703. "description": "备注",
  30704. "type": "string"
  30705. },
  30706. "triggersuccesstimes": {
  30707. "description": "累计定投成功次数",
  30708. "type": "string"
  30709. },
  30710. "triggertotalamount": {
  30711. "description": "累计定投金额(成功)",
  30712. "type": "number"
  30713. },
  30714. "triggertotalqty": {
  30715. "description": "累计定投数量(成功) [按小数位放大值]",
  30716. "type": "number"
  30717. },
  30718. "triggertotaltimes": {
  30719. "description": "累计定投总次数",
  30720. "type": "string"
  30721. },
  30722. "updatesrc": {
  30723. "description": "更新来源 - 1:管理端 2:终端",
  30724. "type": "integer"
  30725. },
  30726. "updatetime": {
  30727. "description": "更新时间",
  30728. "type": "string"
  30729. },
  30730. "updatorid": {
  30731. "description": "更新人",
  30732. "type": "string"
  30733. },
  30734. "userid": {
  30735. "description": "所属用户ID",
  30736. "type": "integer"
  30737. },
  30738. "userinfotype": {
  30739. "description": "用户类型 1-个人 2-企业",
  30740. "type": "integer"
  30741. },
  30742. "username": {
  30743. "description": "用户名称(userid对应的名称)",
  30744. "type": "string"
  30745. }
  30746. }
  30747. },
  30748. "models.QhjReckonPriceLog": {
  30749. "type": "object",
  30750. "properties": {
  30751. "decimalplace": {
  30752. "description": "商品报价小数位",
  30753. "type": "integer"
  30754. },
  30755. "goodscode": {
  30756. "description": "商品代码",
  30757. "type": "string"
  30758. },
  30759. "goodsid": {
  30760. "description": "商品ID",
  30761. "type": "integer"
  30762. },
  30763. "goodsname": {
  30764. "description": "商品名称",
  30765. "type": "string"
  30766. },
  30767. "lastreckonprice": {
  30768. "description": "上日结算价",
  30769. "type": "number"
  30770. },
  30771. "nextdnlimitprice": {
  30772. "description": "下个交易日跌停价",
  30773. "type": "number"
  30774. },
  30775. "nexttrade": {
  30776. "description": "下个交易日",
  30777. "type": "string"
  30778. },
  30779. "nextuplimitprice": {
  30780. "description": "下个交易日涨停价",
  30781. "type": "number"
  30782. },
  30783. "reckonprice": {
  30784. "description": "今日结算价(定投价)",
  30785. "type": "number"
  30786. },
  30787. "reckontime": {
  30788. "description": "结算时间",
  30789. "type": "string"
  30790. },
  30791. "totalholderqty": {
  30792. "description": "总持仓数",
  30793. "type": "integer"
  30794. },
  30795. "totalstock": {
  30796. "description": "总库存",
  30797. "type": "integer"
  30798. },
  30799. "tradedate": {
  30800. "description": "交易日",
  30801. "type": "string"
  30802. },
  30803. "updowncount": {
  30804. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30805. "type": "integer"
  30806. },
  30807. "updownflag": {
  30808. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30809. "type": "integer"
  30810. },
  30811. "updownrate": {
  30812. "description": "今日涨跌幅",
  30813. "type": "number"
  30814. },
  30815. "updownrate_2d": {
  30816. "description": "连续两日涨跌幅",
  30817. "type": "number"
  30818. },
  30819. "updownrate_3d": {
  30820. "description": "连续三日涨跌幅",
  30821. "type": "number"
  30822. }
  30823. }
  30824. },
  30825. "models.QhjScoreLog": {
  30826. "type": "object",
  30827. "properties": {
  30828. "accountid": {
  30829. "description": "账户ID",
  30830. "type": "integer"
  30831. },
  30832. "createtime": {
  30833. "description": "创建时间(时间)",
  30834. "type": "string"
  30835. },
  30836. "goodsid": {
  30837. "description": "商品ID",
  30838. "type": "integer"
  30839. },
  30840. "hasuploaded": {
  30841. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30842. "type": "integer"
  30843. },
  30844. "logid": {
  30845. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30846. "type": "string"
  30847. },
  30848. "marketid": {
  30849. "description": "市场ID",
  30850. "type": "integer"
  30851. },
  30852. "relatedamount": {
  30853. "description": "关联金额",
  30854. "type": "number"
  30855. },
  30856. "relatedorderid": {
  30857. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30858. "type": "string"
  30859. },
  30860. "scoreconfigvalue1": {
  30861. "description": "积分配置1",
  30862. "type": "integer"
  30863. },
  30864. "scoreconfigvalue2": {
  30865. "description": "积分配置1",
  30866. "type": "integer"
  30867. },
  30868. "scoretype": {
  30869. "description": "积分类型 - 1:提货积分",
  30870. "type": "integer"
  30871. },
  30872. "scorevalue": {
  30873. "description": "积分",
  30874. "type": "number"
  30875. },
  30876. "tradedate": {
  30877. "description": "交易日(yyyyMMdd)",
  30878. "type": "string"
  30879. },
  30880. "uploadedtime": {
  30881. "description": "同步时间",
  30882. "type": "string"
  30883. },
  30884. "userid": {
  30885. "description": "用户ID",
  30886. "type": "integer"
  30887. }
  30888. }
  30889. },
  30890. "models.QhjSiteColumnDetail": {
  30891. "type": "object",
  30892. "properties": {
  30893. "author": {
  30894. "description": "作者",
  30895. "type": "string"
  30896. },
  30897. "brief": {
  30898. "description": "简介",
  30899. "type": "string"
  30900. },
  30901. "columnid": {
  30902. "description": "所属栏目",
  30903. "type": "integer"
  30904. },
  30905. "context": {
  30906. "description": "内容",
  30907. "type": "string"
  30908. },
  30909. "coverimage": {
  30910. "description": "封面图片",
  30911. "type": "string"
  30912. },
  30913. "creaedate": {
  30914. "description": "创建时间",
  30915. "type": "string"
  30916. },
  30917. "creatorid": {
  30918. "description": "创建人",
  30919. "type": "integer"
  30920. },
  30921. "hits": {
  30922. "description": "点击数",
  30923. "type": "integer"
  30924. },
  30925. "id": {
  30926. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30927. "type": "integer"
  30928. },
  30929. "isshow": {
  30930. "description": "是否展示 - 0:不展示 1:展示",
  30931. "type": "integer"
  30932. },
  30933. "istop": {
  30934. "description": "是否置顶 - 0:不置 1:置顶",
  30935. "type": "integer"
  30936. },
  30937. "modifierid": {
  30938. "description": "操作人",
  30939. "type": "integer"
  30940. },
  30941. "publishdate": {
  30942. "description": "发布日期",
  30943. "type": "string"
  30944. },
  30945. "status": {
  30946. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30947. "type": "integer"
  30948. },
  30949. "title": {
  30950. "description": "标题",
  30951. "type": "string"
  30952. },
  30953. "updatedate": {
  30954. "description": "修改时间",
  30955. "type": "string"
  30956. },
  30957. "userid": {
  30958. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30959. "type": "integer"
  30960. },
  30961. "username": {
  30962. "description": "用户名称",
  30963. "type": "string"
  30964. }
  30965. }
  30966. },
  30967. "models.QhjTeamOrder": {
  30968. "type": "object",
  30969. "properties": {
  30970. "accountid": {
  30971. "description": "账户ID[报价币种]",
  30972. "type": "integer"
  30973. },
  30974. "accountname": {
  30975. "description": "账户名称",
  30976. "type": "string"
  30977. },
  30978. "agreeunit": {
  30979. "description": "合约乘数",
  30980. "type": "number"
  30981. },
  30982. "buyorsell": {
  30983. "description": "方向 - 0:买 1:卖",
  30984. "type": "integer"
  30985. },
  30986. "decimalplace": {
  30987. "description": "报价小数位",
  30988. "type": "integer"
  30989. },
  30990. "enumdicname": {
  30991. "description": "单位名称",
  30992. "type": "string"
  30993. },
  30994. "goodscode": {
  30995. "description": "商品代码(内部)",
  30996. "type": "string"
  30997. },
  30998. "goodsid": {
  30999. "description": "商品ID",
  31000. "type": "integer"
  31001. },
  31002. "goodsname": {
  31003. "description": "商品名称",
  31004. "type": "string"
  31005. },
  31006. "goodunitid": {
  31007. "description": "报价单位ID",
  31008. "type": "integer"
  31009. },
  31010. "marketid": {
  31011. "description": "市场ID",
  31012. "type": "integer"
  31013. },
  31014. "marketname": {
  31015. "description": "市场名称",
  31016. "type": "string"
  31017. },
  31018. "qtydecimalplace": {
  31019. "description": "成交量小数位",
  31020. "type": "integer"
  31021. },
  31022. "refereeuserid": {
  31023. "description": "推荐人ID",
  31024. "type": "integer"
  31025. },
  31026. "tradeamount": {
  31027. "description": "成交金额[账户币种,用于所有权]",
  31028. "type": "number"
  31029. },
  31030. "tradedate": {
  31031. "description": "交易日(yyyyMMdd)",
  31032. "type": "string"
  31033. },
  31034. "trademode": {
  31035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31036. "type": "integer"
  31037. },
  31038. "tradeprice": {
  31039. "description": "成交价格",
  31040. "type": "number"
  31041. },
  31042. "tradeqty": {
  31043. "description": "成交数量",
  31044. "type": "number"
  31045. },
  31046. "tradetime": {
  31047. "description": "成交时间",
  31048. "type": "string"
  31049. },
  31050. "userid": {
  31051. "description": "用户ID",
  31052. "type": "integer"
  31053. }
  31054. }
  31055. },
  31056. "models.QhjTradeGoodsPickup": {
  31057. "type": "object",
  31058. "properties": {
  31059. "accountid": {
  31060. "description": "账户ID",
  31061. "type": "integer"
  31062. },
  31063. "address": {
  31064. "description": "提货人详细地址",
  31065. "type": "string"
  31066. },
  31067. "amount": {
  31068. "description": "提货金额",
  31069. "type": "number"
  31070. },
  31071. "artradedate": {
  31072. "description": "自动收货交易日(yyyyMMdd)",
  31073. "type": "string"
  31074. },
  31075. "auditer": {
  31076. "description": "审核人",
  31077. "type": "integer"
  31078. },
  31079. "auditsrc": {
  31080. "description": "更新来源 - 1:管理端 2:终端",
  31081. "type": "integer"
  31082. },
  31083. "audittime": {
  31084. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31085. "type": "string"
  31086. },
  31087. "audittradedate": {
  31088. "description": "审核交易日(yyyyMMdd)",
  31089. "type": "string"
  31090. },
  31091. "cardnum": {
  31092. "description": "提货人证件号码",
  31093. "type": "string"
  31094. },
  31095. "cardtypeid": {
  31096. "description": "提货人证件类型",
  31097. "type": "integer"
  31098. },
  31099. "checkremark": {
  31100. "description": "审核备注",
  31101. "type": "string"
  31102. },
  31103. "cityid": {
  31104. "description": "市",
  31105. "type": "integer"
  31106. },
  31107. "cityname": {
  31108. "description": "城市名称",
  31109. "type": "string"
  31110. },
  31111. "confirmtime": {
  31112. "description": "取货时间 或 收货时间",
  31113. "type": "string"
  31114. },
  31115. "countryid": {
  31116. "description": "国家",
  31117. "type": "integer"
  31118. },
  31119. "countryname": {
  31120. "description": "国家名称",
  31121. "type": "string"
  31122. },
  31123. "decimalplace": {
  31124. "description": "商品报价小数位",
  31125. "type": "integer"
  31126. },
  31127. "districtid": {
  31128. "description": "地区",
  31129. "type": "integer"
  31130. },
  31131. "districtname": {
  31132. "description": "地区名称",
  31133. "type": "string"
  31134. },
  31135. "enumdicname": {
  31136. "description": "单位名称(提货商品)",
  31137. "type": "string"
  31138. },
  31139. "expresscompany": {
  31140. "description": "物流公司",
  31141. "type": "string"
  31142. },
  31143. "expressnum": {
  31144. "description": "物流单号",
  31145. "type": "string"
  31146. },
  31147. "goodsagreeunit": {
  31148. "description": "交易商品乘数",
  31149. "type": "number"
  31150. },
  31151. "goodscode": {
  31152. "description": "商品代码",
  31153. "type": "string"
  31154. },
  31155. "goodsid": {
  31156. "description": "商品ID",
  31157. "type": "integer"
  31158. },
  31159. "goodsname": {
  31160. "description": "商品名称",
  31161. "type": "string"
  31162. },
  31163. "goodsqty": {
  31164. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31165. "type": "number"
  31166. },
  31167. "handlestatus": {
  31168. "description": "处理状态",
  31169. "type": "integer"
  31170. },
  31171. "logincode": {
  31172. "description": "账号(登录代码, 有可能为空)",
  31173. "type": "string"
  31174. },
  31175. "marketid": {
  31176. "description": "市场ID",
  31177. "type": "integer"
  31178. },
  31179. "phonenum": {
  31180. "description": "提货人联系方式",
  31181. "type": "string"
  31182. },
  31183. "pickupgoodsagreeunit": {
  31184. "description": "提货商品合约乘数",
  31185. "type": "number"
  31186. },
  31187. "pickupgoodsid": {
  31188. "description": "提货商品ID",
  31189. "type": "string"
  31190. },
  31191. "pickupgoodsname": {
  31192. "description": "提货商品名称",
  31193. "type": "string"
  31194. },
  31195. "pickupgoodsqty": {
  31196. "description": "提货商品手数(数量)",
  31197. "type": "number"
  31198. },
  31199. "pickupgoodsunitid": {
  31200. "description": "单位ID(提货商品)",
  31201. "type": "integer"
  31202. },
  31203. "pickupratio": {
  31204. "description": "提货系数",
  31205. "type": "number"
  31206. },
  31207. "preparedays": {
  31208. "description": "备货期(天)-提货单明细表",
  31209. "type": "integer"
  31210. },
  31211. "provinceid": {
  31212. "description": "省",
  31213. "type": "integer"
  31214. },
  31215. "provincename": {
  31216. "description": "省名称",
  31217. "type": "string"
  31218. },
  31219. "qty": {
  31220. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31221. "type": "number"
  31222. },
  31223. "qtydecimalplace": {
  31224. "description": "商品数量小数位",
  31225. "type": "integer"
  31226. },
  31227. "recivername": {
  31228. "description": "提货人姓名",
  31229. "type": "string"
  31230. },
  31231. "reqtime": {
  31232. "description": "提货申请时间",
  31233. "type": "string"
  31234. },
  31235. "storeuserid": {
  31236. "description": "门店用户ID (千海金)",
  31237. "type": "integer"
  31238. },
  31239. "storeusername": {
  31240. "description": "门店用户名称",
  31241. "type": "string"
  31242. },
  31243. "takemode": {
  31244. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31245. "type": "integer"
  31246. },
  31247. "takeorderid": {
  31248. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31249. "type": "string"
  31250. },
  31251. "takeorderstatus": {
  31252. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31253. "type": "integer"
  31254. },
  31255. "takeremark": {
  31256. "description": "提货备注",
  31257. "type": "string"
  31258. },
  31259. "tradedate": {
  31260. "description": "交易日(yyyyMMdd)",
  31261. "type": "string"
  31262. },
  31263. "updatetime": {
  31264. "description": "更新时间",
  31265. "type": "string"
  31266. },
  31267. "userid": {
  31268. "description": "用户ID",
  31269. "type": "integer"
  31270. },
  31271. "userinfotype": {
  31272. "description": "客户类型 1-个人 2-企业",
  31273. "type": "integer"
  31274. },
  31275. "username": {
  31276. "description": "用户名称",
  31277. "type": "string"
  31278. }
  31279. }
  31280. },
  31281. "models.QhjUserNodeCfgAndStatus": {
  31282. "type": "object",
  31283. "properties": {
  31284. "agreementcontent": {
  31285. "description": "协议内容",
  31286. "type": "string"
  31287. },
  31288. "agreementid": {
  31289. "description": "协议ID",
  31290. "type": "integer"
  31291. },
  31292. "agreementname": {
  31293. "description": "协议名称",
  31294. "type": "string"
  31295. },
  31296. "agreementno": {
  31297. "description": "协议编号",
  31298. "type": "string"
  31299. },
  31300. "agreementtype": {
  31301. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31302. "type": "integer"
  31303. },
  31304. "agreementversion": {
  31305. "description": "协议版本号",
  31306. "type": "integer"
  31307. },
  31308. "configid": {
  31309. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31310. "type": "integer"
  31311. },
  31312. "createtime": {
  31313. "description": "创建时间",
  31314. "type": "string"
  31315. },
  31316. "goodsid": {
  31317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31318. "type": "integer"
  31319. },
  31320. "nodetype": {
  31321. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31322. "type": "integer"
  31323. },
  31324. "signtimestamp": {
  31325. "description": "签约状态时间戳(最近一次)",
  31326. "type": "string"
  31327. },
  31328. "tradedate": {
  31329. "description": "签约交易日(yyyyMMdd)",
  31330. "type": "string"
  31331. },
  31332. "userid": {
  31333. "description": "客户ID",
  31334. "type": "integer"
  31335. }
  31336. }
  31337. },
  31338. "models.Qhjgoodsex": {
  31339. "type": "object",
  31340. "properties": {
  31341. "canfinance": {
  31342. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31343. "type": "integer"
  31344. },
  31345. "canregularlybuy": {
  31346. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31347. "type": "integer"
  31348. },
  31349. "defaulttradeuserid": {
  31350. "description": "默认交易用户ID",
  31351. "type": "integer"
  31352. },
  31353. "deliverygoodsid": {
  31354. "description": "现货品种ID",
  31355. "type": "integer"
  31356. },
  31357. "goodsid": {
  31358. "description": "商品ID(自增ID SEQ_GOODS)",
  31359. "type": "integer"
  31360. },
  31361. "minamount": {
  31362. "description": "最小购买金额",
  31363. "type": "number"
  31364. },
  31365. "regularlybuyminamount": {
  31366. "description": "定投最小金额",
  31367. "type": "number"
  31368. },
  31369. "regularlybuyminqty": {
  31370. "description": "定投最小数量",
  31371. "type": "number"
  31372. },
  31373. "spotgoodsbrandid": {
  31374. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31375. "type": "integer"
  31376. },
  31377. "visibilityforenterprise": {
  31378. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31379. "type": "integer"
  31380. },
  31381. "visibilityforpersonal": {
  31382. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31383. "type": "integer"
  31384. },
  31385. "wrstandardid": {
  31386. "description": "现货商品ID",
  31387. "type": "integer"
  31388. }
  31389. }
  31390. },
  31391. "models.QueryErrorInfosRsp": {
  31392. "type": "object",
  31393. "required": [
  31394. "errorid"
  31395. ],
  31396. "properties": {
  31397. "description": {
  31398. "description": "异常描述",
  31399. "type": "string"
  31400. },
  31401. "errorcode": {
  31402. "description": "异常代码",
  31403. "type": "string"
  31404. },
  31405. "errorid": {
  31406. "description": "异常ID",
  31407. "type": "integer"
  31408. },
  31409. "modulecode": {
  31410. "description": "所属模块",
  31411. "type": "string"
  31412. },
  31413. "operatecode": {
  31414. "description": "所属操作",
  31415. "type": "string"
  31416. },
  31417. "rownumber": {
  31418. "description": "行号",
  31419. "type": "string"
  31420. }
  31421. }
  31422. },
  31423. "models.QueryHedgeOrderDetailRsp": {
  31424. "type": "object",
  31425. "properties": {
  31426. "accountid": {
  31427. "description": "账户ID",
  31428. "type": "integer"
  31429. },
  31430. "buyorsell": {
  31431. "description": "买卖 - 0:买 1:卖",
  31432. "type": "integer"
  31433. },
  31434. "cancellogincode": {
  31435. "description": "撤单人",
  31436. "type": "string"
  31437. },
  31438. "channelbuildtype": {
  31439. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31440. "type": "integer"
  31441. },
  31442. "channelinnerorderstatus": {
  31443. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31444. "type": "integer"
  31445. },
  31446. "channeloperatetype": {
  31447. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31448. "type": "integer"
  31449. },
  31450. "closetype": {
  31451. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31452. "type": "integer"
  31453. },
  31454. "curexchangerate": {
  31455. "description": "当前汇率",
  31456. "type": "number"
  31457. },
  31458. "exchangefullname": {
  31459. "description": "外部交易所全称",
  31460. "type": "string"
  31461. },
  31462. "goodscode": {
  31463. "description": "商品代码(内部)",
  31464. "type": "string"
  31465. },
  31466. "goodsid": {
  31467. "description": "商品ID",
  31468. "type": "integer"
  31469. },
  31470. "goodsname": {
  31471. "description": "商品名称",
  31472. "type": "string"
  31473. },
  31474. "marketid": {
  31475. "description": "市场ID",
  31476. "type": "integer"
  31477. },
  31478. "openfreezemargin": {
  31479. "description": "冻结保证金(冻结交易金额)",
  31480. "type": "number"
  31481. },
  31482. "orderid": {
  31483. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31484. "type": "string"
  31485. },
  31486. "orderlogincode": {
  31487. "description": "委托人",
  31488. "type": "string"
  31489. },
  31490. "orderprice": {
  31491. "description": "委托价格(账户)",
  31492. "type": "number"
  31493. },
  31494. "orderqty": {
  31495. "description": "委托数量",
  31496. "type": "integer"
  31497. },
  31498. "ordertime": {
  31499. "description": "委托时间",
  31500. "type": "string"
  31501. },
  31502. "pricemode": {
  31503. "description": "取价方式 - 1:市价 2: 限价",
  31504. "type": "integer"
  31505. },
  31506. "tradedate": {
  31507. "description": "交易日(yyyyMMdd)",
  31508. "type": "string"
  31509. },
  31510. "tradeqty": {
  31511. "description": "成交数量",
  31512. "type": "integer"
  31513. }
  31514. }
  31515. },
  31516. "models.QueryHedgeTradeDetailRsp": {
  31517. "type": "object",
  31518. "properties": {
  31519. "accountid": {
  31520. "description": "账号ID",
  31521. "type": "integer"
  31522. },
  31523. "buyorsell": {
  31524. "description": "方向 - 0:买 1:卖",
  31525. "type": "integer"
  31526. },
  31527. "channelbuildtype": {
  31528. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31529. "type": "integer"
  31530. },
  31531. "closecharge": {
  31532. "description": "平仓手续费(账户)",
  31533. "type": "number"
  31534. },
  31535. "closecharge2": {
  31536. "description": "平仓手续费(商品)",
  31537. "type": "number"
  31538. },
  31539. "closepl": {
  31540. "description": "平仓盈亏(账户)",
  31541. "type": "number"
  31542. },
  31543. "closepl2": {
  31544. "description": "平仓盈亏(商品)",
  31545. "type": "number"
  31546. },
  31547. "closepl3": {
  31548. "description": "平仓盈亏(账户)(逐笔)",
  31549. "type": "number"
  31550. },
  31551. "closepl4": {
  31552. "description": "平仓盈亏(商品)(逐笔)",
  31553. "type": "number"
  31554. },
  31555. "closetype": {
  31556. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31557. "type": "integer"
  31558. },
  31559. "curexchangerate": {
  31560. "description": "当前汇率",
  31561. "type": "number"
  31562. },
  31563. "exchangefullname": {
  31564. "description": "外部交易所全称",
  31565. "type": "string"
  31566. },
  31567. "goodscode": {
  31568. "description": "商品代码(内部)",
  31569. "type": "string"
  31570. },
  31571. "goodsid": {
  31572. "description": "商品ID",
  31573. "type": "integer"
  31574. },
  31575. "goodsname": {
  31576. "description": "商品名称",
  31577. "type": "string"
  31578. },
  31579. "marketid": {
  31580. "description": "市场ID",
  31581. "type": "integer"
  31582. },
  31583. "opencharge": {
  31584. "description": "建仓手续费(账户)",
  31585. "type": "number"
  31586. },
  31587. "opencharge2": {
  31588. "description": "建仓手续费(商品)",
  31589. "type": "number"
  31590. },
  31591. "orderid": {
  31592. "description": "委托单号",
  31593. "type": "string"
  31594. },
  31595. "orderlogincode": {
  31596. "description": "委托人",
  31597. "type": "string"
  31598. },
  31599. "tradeamount": {
  31600. "description": "成交金额(账户)",
  31601. "type": "number"
  31602. },
  31603. "tradedate": {
  31604. "description": "交易日(yyyyMMdd)",
  31605. "type": "string"
  31606. },
  31607. "tradeid": {
  31608. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31609. "type": "string"
  31610. },
  31611. "tradeprice": {
  31612. "description": "成交价格",
  31613. "type": "number"
  31614. },
  31615. "tradeqty": {
  31616. "description": "成交数量",
  31617. "type": "integer"
  31618. },
  31619. "tradetime": {
  31620. "description": "成交时间",
  31621. "type": "string"
  31622. },
  31623. "tradetype": {
  31624. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31625. "type": "integer"
  31626. }
  31627. }
  31628. },
  31629. "models.QuotePrimaryMenu": {
  31630. "type": "object",
  31631. "properties": {
  31632. "Index": {
  31633. "description": "序号",
  31634. "type": "integer"
  31635. },
  31636. "Key": {
  31637. "description": "键名",
  31638. "type": "string"
  31639. },
  31640. "Name": {
  31641. "description": "菜单名称",
  31642. "type": "string"
  31643. },
  31644. "SubMenus": {
  31645. "description": "子菜单",
  31646. "type": "array",
  31647. "items": {
  31648. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31649. }
  31650. },
  31651. "SubTitleType": {
  31652. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31653. "type": "integer"
  31654. },
  31655. "TradeModes": {
  31656. "description": "包含市场交易类型",
  31657. "type": "string"
  31658. }
  31659. }
  31660. },
  31661. "models.QuoteSecondaryMenu": {
  31662. "type": "object",
  31663. "properties": {
  31664. "ExExchangeCode": {
  31665. "description": "外部交易所代码",
  31666. "type": "string"
  31667. },
  31668. "ExExchangeID": {
  31669. "description": "外部交易所ID",
  31670. "type": "integer"
  31671. },
  31672. "GoodsGroupIDs": {
  31673. "description": "商品组ID列表",
  31674. "type": "array",
  31675. "items": {
  31676. "type": "integer"
  31677. }
  31678. },
  31679. "Index": {
  31680. "description": "序号",
  31681. "type": "integer"
  31682. },
  31683. "MarketID": {
  31684. "description": "市场ID",
  31685. "type": "integer"
  31686. },
  31687. "MenuTitle": {
  31688. "description": "菜单标题(市场名称或外部交易所名称)",
  31689. "type": "string"
  31690. },
  31691. "TradeMode": {
  31692. "description": "交易模式",
  31693. "type": "integer"
  31694. }
  31695. }
  31696. },
  31697. "models.RoleMenu": {
  31698. "type": "object",
  31699. "properties": {
  31700. "hasright": {
  31701. "description": "是否有权限 0-没有权限 1-有权限",
  31702. "type": "integer"
  31703. },
  31704. "iconame": {
  31705. "description": "菜单图标",
  31706. "type": "string"
  31707. },
  31708. "menutype": {
  31709. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31710. "type": "integer"
  31711. },
  31712. "parentcode": {
  31713. "description": "上级资源代码",
  31714. "type": "string"
  31715. },
  31716. "remark": {
  31717. "description": "菜单备注",
  31718. "type": "string"
  31719. },
  31720. "resourcecode": {
  31721. "description": "菜单代码",
  31722. "type": "string"
  31723. },
  31724. "resourcelevel": {
  31725. "description": "级别",
  31726. "type": "integer"
  31727. },
  31728. "resourcename": {
  31729. "description": "菜单名称",
  31730. "type": "string"
  31731. },
  31732. "roleid": {
  31733. "description": "角色id",
  31734. "type": "integer"
  31735. },
  31736. "sort": {
  31737. "description": "排序",
  31738. "type": "integer"
  31739. },
  31740. "subMenu": {
  31741. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31742. "type": "array",
  31743. "items": {
  31744. "$ref": "#/definitions/models.RoleMenu"
  31745. }
  31746. },
  31747. "url": {
  31748. "description": "URL",
  31749. "type": "string"
  31750. },
  31751. "userid": {
  31752. "description": "用户id",
  31753. "type": "integer"
  31754. }
  31755. }
  31756. },
  31757. "models.SearchGoods": {
  31758. "type": "object",
  31759. "required": [
  31760. "goodscode",
  31761. "goodsid",
  31762. "goodsname",
  31763. "marketid",
  31764. "trademode"
  31765. ],
  31766. "properties": {
  31767. "goodscode": {
  31768. "description": "商品代码(内部)",
  31769. "type": "string"
  31770. },
  31771. "goodsid": {
  31772. "description": "商品ID(自增ID SEQ_GOODS)",
  31773. "type": "integer"
  31774. },
  31775. "goodsname": {
  31776. "description": "商品名称",
  31777. "type": "string"
  31778. },
  31779. "marketid": {
  31780. "description": "所属市场ID",
  31781. "type": "integer"
  31782. },
  31783. "marketname": {
  31784. "description": "市场名称",
  31785. "type": "string"
  31786. },
  31787. "trademode": {
  31788. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31789. "type": "integer"
  31790. }
  31791. }
  31792. },
  31793. "models.Systemparam": {
  31794. "type": "object",
  31795. "required": [
  31796. "paramcode"
  31797. ],
  31798. "properties": {
  31799. "loginid": {
  31800. "description": "更新用户账号,登录账号",
  31801. "type": "string"
  31802. },
  31803. "modifyflag": {
  31804. "description": "修改标志0 不允许修改 1 允许修改",
  31805. "type": "integer"
  31806. },
  31807. "paramcode": {
  31808. "description": "参数代码",
  31809. "type": "string"
  31810. },
  31811. "paramname": {
  31812. "description": "参数名",
  31813. "type": "string"
  31814. },
  31815. "paramtype": {
  31816. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31817. "type": "integer"
  31818. },
  31819. "paramvalue": {
  31820. "description": "参数值",
  31821. "type": "string"
  31822. },
  31823. "paramvalue2": {
  31824. "description": "参数值(CLOB)",
  31825. "type": "string"
  31826. },
  31827. "regexpress": {
  31828. "description": "正则表达式",
  31829. "type": "string"
  31830. },
  31831. "remark": {
  31832. "description": "备注",
  31833. "type": "string"
  31834. },
  31835. "serverip": {
  31836. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31837. "type": "string"
  31838. },
  31839. "showflag": {
  31840. "description": "是否显示0 不显示 1 显示",
  31841. "type": "integer"
  31842. },
  31843. "updatetime": {
  31844. "description": "更新时间",
  31845. "type": "string"
  31846. },
  31847. "userid": {
  31848. "description": "更新用户ID",
  31849. "type": "integer"
  31850. }
  31851. }
  31852. },
  31853. "models.Szdz3convertconfig": {
  31854. "type": "object",
  31855. "required": [
  31856. "converttype",
  31857. "innergoodsid",
  31858. "outergoodscode"
  31859. ],
  31860. "properties": {
  31861. "canin": {
  31862. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31863. "type": "integer"
  31864. },
  31865. "canout": {
  31866. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31867. "type": "integer"
  31868. },
  31869. "converttype": {
  31870. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31871. "type": "integer"
  31872. },
  31873. "createtime": {
  31874. "description": "创建时间",
  31875. "type": "string"
  31876. },
  31877. "creatorid": {
  31878. "description": "创建人",
  31879. "type": "integer"
  31880. },
  31881. "daymaxvalue": {
  31882. "description": "当日最大转入限制",
  31883. "type": "number"
  31884. },
  31885. "freezedays": {
  31886. "description": "冻结天数 [5:花生米转交易]",
  31887. "type": "integer"
  31888. },
  31889. "innergoodsid": {
  31890. "description": "内部商品ID[交易]",
  31891. "type": "integer"
  31892. },
  31893. "inratio": {
  31894. "description": "目标值",
  31895. "type": "integer"
  31896. },
  31897. "modifierid": {
  31898. "description": "修改人",
  31899. "type": "integer"
  31900. },
  31901. "modifytime": {
  31902. "description": "修改时间",
  31903. "type": "string"
  31904. },
  31905. "outergoodscode": {
  31906. "description": "外部商品代码[JD\\PD]",
  31907. "type": "string"
  31908. },
  31909. "outratio": {
  31910. "description": "源值",
  31911. "type": "integer"
  31912. },
  31913. "pddecimalplace": {
  31914. "description": "PD小数位",
  31915. "type": "integer"
  31916. },
  31917. "timemaxvalue": {
  31918. "description": "单次最大转入限制",
  31919. "type": "number"
  31920. },
  31921. "timeminvalue": {
  31922. "description": "单次最小转入限制",
  31923. "type": "number"
  31924. }
  31925. }
  31926. },
  31927. "models.Szdz3searchwhitelist": {
  31928. "type": "object",
  31929. "required": [
  31930. "userid"
  31931. ],
  31932. "properties": {
  31933. "createtime": {
  31934. "description": "创建时间",
  31935. "type": "string"
  31936. },
  31937. "creatorid": {
  31938. "description": "创建人",
  31939. "type": "integer"
  31940. },
  31941. "modifierid": {
  31942. "description": "修改人",
  31943. "type": "integer"
  31944. },
  31945. "modifytime": {
  31946. "description": "修改时间",
  31947. "type": "string"
  31948. },
  31949. "userid": {
  31950. "description": "用户ID",
  31951. "type": "integer"
  31952. }
  31953. }
  31954. },
  31955. "models.TBGoods": {
  31956. "type": "object",
  31957. "properties": {
  31958. "agreeunit": {
  31959. "description": "合约乘数",
  31960. "type": "number"
  31961. },
  31962. "enumdicname": {
  31963. "description": "单位名称",
  31964. "type": "string"
  31965. },
  31966. "goodscode": {
  31967. "description": "商品代码(内部)",
  31968. "type": "string"
  31969. },
  31970. "goodsid": {
  31971. "description": "商品ID(自增ID SEQ_GOODS)",
  31972. "type": "integer"
  31973. },
  31974. "goodsname": {
  31975. "description": "商品名称",
  31976. "type": "string"
  31977. }
  31978. }
  31979. },
  31980. "models.TBGoodsGroup": {
  31981. "type": "object",
  31982. "properties": {
  31983. "convertratio": {
  31984. "description": "折算系数",
  31985. "type": "number"
  31986. },
  31987. "enumdicname": {
  31988. "description": "单位名称",
  31989. "type": "string"
  31990. },
  31991. "exexchangecode": {
  31992. "description": "交易所代码",
  31993. "type": "string"
  31994. },
  31995. "exexchangename": {
  31996. "description": "交易所名称",
  31997. "type": "string"
  31998. },
  31999. "gdlst": {
  32000. "description": "商品列表",
  32001. "type": "array",
  32002. "items": {
  32003. "$ref": "#/definitions/models.TBGoods"
  32004. }
  32005. },
  32006. "goodsgroupid": {
  32007. "description": "商品组ID(自增ID)",
  32008. "type": "integer"
  32009. },
  32010. "goodsgroupname": {
  32011. "description": "商品组名称",
  32012. "type": "string"
  32013. },
  32014. "goodunitid": {
  32015. "description": "报价单位ID",
  32016. "type": "integer"
  32017. }
  32018. }
  32019. },
  32020. "models.TBMiddleGoods": {
  32021. "type": "object",
  32022. "properties": {
  32023. "areauserid": {
  32024. "description": "机构用户ID",
  32025. "type": "integer"
  32026. },
  32027. "enumdicname": {
  32028. "description": "单位名称",
  32029. "type": "string"
  32030. },
  32031. "goodsunitid": {
  32032. "description": "套保品种单位id",
  32033. "type": "integer"
  32034. },
  32035. "gplst": {
  32036. "description": "期货品种列表",
  32037. "type": "array",
  32038. "items": {
  32039. "$ref": "#/definitions/models.TBGoodsGroup"
  32040. }
  32041. },
  32042. "middlegoodscode": {
  32043. "description": "套保品种代码",
  32044. "type": "string"
  32045. },
  32046. "middlegoodsid": {
  32047. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32048. "type": "integer"
  32049. },
  32050. "middlegoodsname": {
  32051. "description": "套保品种名称",
  32052. "type": "string"
  32053. },
  32054. "needarbitrageratio": {
  32055. "description": "套利比率",
  32056. "type": "number"
  32057. },
  32058. "needhedgeratio": {
  32059. "description": "套保比率",
  32060. "type": "number"
  32061. },
  32062. "wdlst": {
  32063. "description": "商品信息列表(现货品类)",
  32064. "type": "array",
  32065. "items": {
  32066. "$ref": "#/definitions/models.TBWrstandard"
  32067. }
  32068. }
  32069. }
  32070. },
  32071. "models.TBWrstandard": {
  32072. "type": "object",
  32073. "properties": {
  32074. "convertratio": {
  32075. "description": "折算系数",
  32076. "type": "number"
  32077. },
  32078. "deliverygoodsname": {
  32079. "description": "品种名称",
  32080. "type": "string"
  32081. },
  32082. "enumdicname": {
  32083. "description": "单位名称",
  32084. "type": "string"
  32085. },
  32086. "vatrate": {
  32087. "description": "增值税率",
  32088. "type": "number"
  32089. },
  32090. "wrstandardcode": {
  32091. "description": "现货商品代码",
  32092. "type": "string"
  32093. },
  32094. "wrstandardid": {
  32095. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32096. "type": "integer"
  32097. },
  32098. "wrstandardname": {
  32099. "description": "现货商品名称",
  32100. "type": "string"
  32101. }
  32102. }
  32103. },
  32104. "models.Taaccount": {
  32105. "type": "object",
  32106. "required": [
  32107. "accountid",
  32108. "userid"
  32109. ],
  32110. "properties": {
  32111. "accountflag": {
  32112. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32113. "type": "integer"
  32114. },
  32115. "accountid": {
  32116. "description": "资金账户ID",
  32117. "type": "integer"
  32118. },
  32119. "accountname": {
  32120. "description": "账户名称",
  32121. "type": "string"
  32122. },
  32123. "balance": {
  32124. "description": "期初余额",
  32125. "type": "number"
  32126. },
  32127. "capitalbalance": {
  32128. "description": "本金余额[外部子账户实际出入金余额]",
  32129. "type": "number"
  32130. },
  32131. "changeflag": {
  32132. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32133. "type": "integer"
  32134. },
  32135. "changetime": {
  32136. "description": "账户状态变更时间",
  32137. "type": "string"
  32138. },
  32139. "closepl": {
  32140. "description": "今日平仓盈亏",
  32141. "type": "number"
  32142. },
  32143. "creditdecrease": {
  32144. "description": "今日授信减少",
  32145. "type": "number"
  32146. },
  32147. "creditincrease": {
  32148. "description": "今日授信增加",
  32149. "type": "number"
  32150. },
  32151. "curamount": {
  32152. "description": "总市值(从持仓中统计)",
  32153. "type": "number"
  32154. },
  32155. "currencyid": {
  32156. "description": "货币ID",
  32157. "type": "integer"
  32158. },
  32159. "currentbalance": {
  32160. "description": "期末余额",
  32161. "type": "number"
  32162. },
  32163. "freezecharge": {
  32164. "description": "手续费冻结",
  32165. "type": "number"
  32166. },
  32167. "freezemargin": {
  32168. "description": "冻结保证金",
  32169. "type": "number"
  32170. },
  32171. "fromaccountid": {
  32172. "description": "所属上级账户",
  32173. "type": "integer"
  32174. },
  32175. "inamount": {
  32176. "description": "今日入金金额(包括三方入金)",
  32177. "type": "number"
  32178. },
  32179. "ismain": {
  32180. "description": "是否母账号 0:不是母账户 1:是母账户",
  32181. "type": "integer"
  32182. },
  32183. "ismarketaccount": {
  32184. "description": "是否机构接单账号 0:不是 1:是",
  32185. "type": "integer"
  32186. },
  32187. "isreckonaccount": {
  32188. "description": "是否机构分润账号 0:不是 1:是",
  32189. "type": "integer"
  32190. },
  32191. "mortgagecredit": {
  32192. "description": "授信金额",
  32193. "type": "number"
  32194. },
  32195. "orifreezecharge": {
  32196. "description": "期初手续费冻结",
  32197. "type": "number"
  32198. },
  32199. "orifreezemargin": {
  32200. "description": "期初冻结保证金",
  32201. "type": "number"
  32202. },
  32203. "orimortgagecredit": {
  32204. "description": "期初授信金额",
  32205. "type": "number"
  32206. },
  32207. "oriothercredit": {
  32208. "description": "期初其它授信金额",
  32209. "type": "number"
  32210. },
  32211. "oriotherfreezemargin": {
  32212. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32213. "type": "number"
  32214. },
  32215. "orioutamountfreeze": {
  32216. "description": "期初出金冻结",
  32217. "type": "number"
  32218. },
  32219. "oriusedmargin": {
  32220. "description": "期初占用保证金",
  32221. "type": "number"
  32222. },
  32223. "othercredit": {
  32224. "description": "其它授信金额",
  32225. "type": "number"
  32226. },
  32227. "othercreditdecrease": {
  32228. "description": "今日其它授信减少",
  32229. "type": "number"
  32230. },
  32231. "othercreditincrease": {
  32232. "description": "今日其它授信增加",
  32233. "type": "number"
  32234. },
  32235. "otherfreezemargin": {
  32236. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32237. "type": "number"
  32238. },
  32239. "otherincome": {
  32240. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32241. "type": "number"
  32242. },
  32243. "otherpay": {
  32244. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32245. "type": "number"
  32246. },
  32247. "outamount": {
  32248. "description": "今日出金金额(包括三方出金)",
  32249. "type": "number"
  32250. },
  32251. "outamountfreeze": {
  32252. "description": "出金冻结",
  32253. "type": "number"
  32254. },
  32255. "outthreshold": {
  32256. "description": "出金阈值",
  32257. "type": "number"
  32258. },
  32259. "parentaccountid": {
  32260. "description": "所属根账号",
  32261. "type": "integer"
  32262. },
  32263. "paycharge": {
  32264. "description": "今日手续费支出",
  32265. "type": "number"
  32266. },
  32267. "relatedaccountstatus": {
  32268. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32269. "type": "integer"
  32270. },
  32271. "relateduserid": {
  32272. "description": "关联用户",
  32273. "type": "integer"
  32274. },
  32275. "remainamount": {
  32276. "description": "融资额(从融资合同中统计)",
  32277. "type": "number"
  32278. },
  32279. "serivcegroup": {
  32280. "description": "服务分组",
  32281. "type": "integer"
  32282. },
  32283. "signstatus": {
  32284. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32285. "type": "integer"
  32286. },
  32287. "sublevelpath": {
  32288. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32289. "type": "string"
  32290. },
  32291. "taaccounttype": {
  32292. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32293. "type": "integer"
  32294. },
  32295. "thirdinamount": {
  32296. "description": "今日三方入金",
  32297. "type": "number"
  32298. },
  32299. "thirdoutamount": {
  32300. "description": "今日三方出金",
  32301. "type": "number"
  32302. },
  32303. "tradestatus": {
  32304. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32305. "type": "integer"
  32306. },
  32307. "tradestatuschangetime": {
  32308. "description": "激活时间",
  32309. "type": "string"
  32310. },
  32311. "transferamount": {
  32312. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32313. "type": "number"
  32314. },
  32315. "usedmargin": {
  32316. "description": "占用保证金",
  32317. "type": "number"
  32318. },
  32319. "userid": {
  32320. "description": "用户ID",
  32321. "type": "integer"
  32322. }
  32323. }
  32324. },
  32325. "models.Tablecolumnconfig": {
  32326. "type": "object",
  32327. "required": [
  32328. "autoid"
  32329. ],
  32330. "properties": {
  32331. "aligntype": {
  32332. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32333. "type": "integer"
  32334. },
  32335. "autoid": {
  32336. "description": "AutoID",
  32337. "type": "integer"
  32338. },
  32339. "columnfield": {
  32340. "description": "列字段",
  32341. "type": "string"
  32342. },
  32343. "columntitle": {
  32344. "description": "列Title",
  32345. "type": "string"
  32346. },
  32347. "columnwidth": {
  32348. "description": "列宽",
  32349. "type": "string"
  32350. },
  32351. "formatterstring": {
  32352. "description": "格式化字符",
  32353. "type": "string"
  32354. },
  32355. "formattertype": {
  32356. "description": "格式化类型",
  32357. "type": "string"
  32358. },
  32359. "groupname": {
  32360. "description": "表头分组名称",
  32361. "type": "string"
  32362. },
  32363. "isshow": {
  32364. "description": "是否显示 - 0:不显示 1:显示",
  32365. "type": "integer"
  32366. },
  32367. "needsummary": {
  32368. "description": "是否需要汇总 - 0:不需要 1:需要",
  32369. "type": "integer"
  32370. },
  32371. "orderindex": {
  32372. "description": "顺序",
  32373. "type": "integer"
  32374. },
  32375. "remark": {
  32376. "description": "备注",
  32377. "type": "string"
  32378. },
  32379. "summarytype": {
  32380. "description": "汇总类型 - 1:加总 2:最后一个",
  32381. "type": "integer"
  32382. },
  32383. "tablekey": {
  32384. "description": "列表Key",
  32385. "type": "string"
  32386. }
  32387. }
  32388. },
  32389. "models.TjmdQuoteGoods": {
  32390. "type": "object",
  32391. "properties": {
  32392. "buyqty": {
  32393. "description": "买量(暂不做, 无值, 保留字段)",
  32394. "type": "number"
  32395. },
  32396. "goodscode": {
  32397. "description": "合约代码",
  32398. "type": "string"
  32399. },
  32400. "goodsgroupid": {
  32401. "description": "商品组ID(自增ID)",
  32402. "type": "integer"
  32403. },
  32404. "goodsgroupname": {
  32405. "description": "商品组名称",
  32406. "type": "string"
  32407. },
  32408. "goodsid": {
  32409. "description": "合约id",
  32410. "type": "integer"
  32411. },
  32412. "goodsname": {
  32413. "description": "合约名称",
  32414. "type": "string"
  32415. },
  32416. "refgoodscode": {
  32417. "description": "标的合约代码",
  32418. "type": "string"
  32419. },
  32420. "refgoodsid": {
  32421. "description": "标的合约id",
  32422. "type": "integer"
  32423. },
  32424. "refgoodsname": {
  32425. "description": "标的合约名称",
  32426. "type": "string"
  32427. },
  32428. "sellqty": {
  32429. "description": "卖量(暂不做, 无值, 保留字段)",
  32430. "type": "number"
  32431. }
  32432. }
  32433. },
  32434. "models.TjmdTodayAccountMargin": {
  32435. "type": "object",
  32436. "properties": {
  32437. "accountid": {
  32438. "description": "账号ID",
  32439. "type": "integer"
  32440. },
  32441. "goodsid": {
  32442. "description": "商品ID",
  32443. "type": "integer"
  32444. },
  32445. "infoc": {
  32446. "description": "配置参数",
  32447. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32448. },
  32449. "marketid": {
  32450. "description": "市场ID",
  32451. "type": "integer"
  32452. }
  32453. }
  32454. },
  32455. "models.TjmdTradeOrderDetail": {
  32456. "type": "object",
  32457. "properties": {
  32458. "buyorsell": {
  32459. "description": "买卖方向 0-买 1-卖",
  32460. "type": "integer"
  32461. },
  32462. "goodsid": {
  32463. "description": "商品id",
  32464. "type": "integer"
  32465. },
  32466. "marketmaxsub": {
  32467. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32468. "type": "number"
  32469. },
  32470. "orderid": {
  32471. "description": "委托单号",
  32472. "type": "string"
  32473. },
  32474. "orderprice": {
  32475. "description": "委托价格",
  32476. "type": "number"
  32477. },
  32478. "orderqty": {
  32479. "description": "委托数量",
  32480. "type": "integer"
  32481. },
  32482. "pricemode": {
  32483. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32484. "type": "integer"
  32485. },
  32486. "userid": {
  32487. "description": "用户id",
  32488. "type": "integer"
  32489. },
  32490. "username": {
  32491. "description": "用户名称(已脱敏)",
  32492. "type": "string"
  32493. }
  32494. }
  32495. },
  32496. "models.TjmdTransferApply": {
  32497. "type": "object",
  32498. "properties": {
  32499. "applyid": {
  32500. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32501. "type": "integer"
  32502. },
  32503. "applystatus": {
  32504. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32505. "type": "integer"
  32506. },
  32507. "applytime": {
  32508. "description": "申请时间(时间)",
  32509. "type": "string"
  32510. },
  32511. "auditremark": {
  32512. "description": "审核备注(拒绝原因?)",
  32513. "type": "string"
  32514. },
  32515. "buyorsell": {
  32516. "description": "买卖 - 0:买 1:卖",
  32517. "type": "integer"
  32518. },
  32519. "goodscode": {
  32520. "description": "商品代码",
  32521. "type": "string"
  32522. },
  32523. "goodsid": {
  32524. "description": "商品ID",
  32525. "type": "integer"
  32526. },
  32527. "goodsname": {
  32528. "description": "商品名称",
  32529. "type": "string"
  32530. },
  32531. "marketid": {
  32532. "description": "市场ID",
  32533. "type": "integer"
  32534. },
  32535. "qty": {
  32536. "description": "转让数量(数量)",
  32537. "type": "number"
  32538. },
  32539. "tradeid": {
  32540. "description": "成交单号(关联持仓)",
  32541. "type": "string"
  32542. },
  32543. "transferamount": {
  32544. "description": "转让总金额(金额)",
  32545. "type": "number"
  32546. },
  32547. "transferprice": {
  32548. "description": "转让价格(协议价格)",
  32549. "type": "number"
  32550. }
  32551. }
  32552. },
  32553. "models.TradeHolderDetail": {
  32554. "type": "object",
  32555. "properties": {
  32556. "accountid": {
  32557. "description": "账号ID",
  32558. "type": "integer"
  32559. },
  32560. "agreeunit": {
  32561. "description": "合约乘数",
  32562. "type": "number"
  32563. },
  32564. "buyorsell": {
  32565. "description": "方向 - 0:买 1:卖",
  32566. "type": "integer"
  32567. },
  32568. "currencyid": {
  32569. "description": "商品币种id",
  32570. "type": "integer"
  32571. },
  32572. "currencyname": {
  32573. "description": "币种名称",
  32574. "type": "string"
  32575. },
  32576. "decimalplace": {
  32577. "description": "商品价格小数位",
  32578. "type": "integer"
  32579. },
  32580. "enumdicname": {
  32581. "description": "商品单位名称",
  32582. "type": "string"
  32583. },
  32584. "expirecycle": {
  32585. "description": "行权周期(天) - 1:滚动行权时填写",
  32586. "type": "integer"
  32587. },
  32588. "expiredate": {
  32589. "description": "行权日(yyyyMMdd) - 到期日",
  32590. "type": "string"
  32591. },
  32592. "expiretype": {
  32593. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32594. "type": "integer"
  32595. },
  32596. "freezeqty": {
  32597. "description": "冻结数量",
  32598. "type": "number"
  32599. },
  32600. "goodscode": {
  32601. "description": "商品代码",
  32602. "type": "string"
  32603. },
  32604. "goodsid": {
  32605. "description": "商品ID",
  32606. "type": "integer"
  32607. },
  32608. "goodsname": {
  32609. "description": "商品名称",
  32610. "type": "string"
  32611. },
  32612. "goodunitid": {
  32613. "description": "商品单位id",
  32614. "type": "integer"
  32615. },
  32616. "holderamount": {
  32617. "description": "持仓金额",
  32618. "type": "number"
  32619. },
  32620. "holdercredit": {
  32621. "description": "持仓授信金额",
  32622. "type": "number"
  32623. },
  32624. "holderdays": {
  32625. "description": "剩余冻结天数",
  32626. "type": "integer"
  32627. },
  32628. "holderprice": {
  32629. "description": "持仓价格",
  32630. "type": "number"
  32631. },
  32632. "holderqty": {
  32633. "description": "持仓数量",
  32634. "type": "number"
  32635. },
  32636. "isconfirmexercise": {
  32637. "description": "是否确认行权- 0:否 1:是",
  32638. "type": "integer"
  32639. },
  32640. "ispreexercise": {
  32641. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32642. "type": "integer"
  32643. },
  32644. "marketid": {
  32645. "description": "市场id",
  32646. "type": "integer"
  32647. },
  32648. "marketname": {
  32649. "description": "市场名称",
  32650. "type": "string"
  32651. },
  32652. "openprice": {
  32653. "description": "建仓价格",
  32654. "type": "number"
  32655. },
  32656. "openqty": {
  32657. "description": "建仓数量",
  32658. "type": "number"
  32659. },
  32660. "optiontype": {
  32661. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32662. "type": "integer"
  32663. },
  32664. "preexerciseprice": {
  32665. "description": "预申报价格",
  32666. "type": "number"
  32667. },
  32668. "premium": {
  32669. "description": "权利金",
  32670. "type": "number"
  32671. },
  32672. "qtydecimalplace": {
  32673. "description": "商品成交量小数位",
  32674. "type": "integer"
  32675. },
  32676. "refgoodscode": {
  32677. "description": "标的合约代码",
  32678. "type": "string"
  32679. },
  32680. "refgoodsid": {
  32681. "description": "标的合约id",
  32682. "type": "integer"
  32683. },
  32684. "releaseamount": {
  32685. "description": "释放持仓金额",
  32686. "type": "number"
  32687. },
  32688. "releaseholdercredit": {
  32689. "description": "释放持仓授信金额",
  32690. "type": "number"
  32691. },
  32692. "taname": {
  32693. "description": "资金账号名称",
  32694. "type": "string"
  32695. },
  32696. "tradeamount": {
  32697. "description": "成交金额",
  32698. "type": "number"
  32699. },
  32700. "tradedate": {
  32701. "description": "交易日(yyyyMMdd)",
  32702. "type": "string"
  32703. },
  32704. "tradeid": {
  32705. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32706. "type": "string"
  32707. },
  32708. "trademode": {
  32709. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32710. "type": "integer"
  32711. },
  32712. "tradeproperty": {
  32713. "description": "交易属性",
  32714. "type": "integer"
  32715. },
  32716. "tradetime": {
  32717. "description": "交易时间",
  32718. "type": "string"
  32719. },
  32720. "userid": {
  32721. "description": "用户id",
  32722. "type": "integer"
  32723. },
  32724. "username": {
  32725. "description": "用户名称",
  32726. "type": "string"
  32727. }
  32728. }
  32729. },
  32730. "models.UserCollectConfig": {
  32731. "type": "object",
  32732. "properties": {
  32733. "accountstatus": {
  32734. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32735. "type": "integer"
  32736. },
  32737. "collectaccountname": {
  32738. "description": "收款人账户名称",
  32739. "type": "string"
  32740. },
  32741. "collectaccountno": {
  32742. "description": "收款人账户",
  32743. "type": "string"
  32744. },
  32745. "collectbankname": {
  32746. "description": "收款人开户行",
  32747. "type": "string"
  32748. },
  32749. "collectbranchbankname": {
  32750. "description": "收款人开户支行",
  32751. "type": "string"
  32752. },
  32753. "collectconfigid": {
  32754. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32755. "type": "string"
  32756. },
  32757. "remark": {
  32758. "description": "备注",
  32759. "type": "string"
  32760. },
  32761. "userid": {
  32762. "description": "收款人用户ID",
  32763. "type": "integer"
  32764. }
  32765. }
  32766. },
  32767. "models.UserReceiveInfo": {
  32768. "type": "object",
  32769. "properties": {
  32770. "address": {
  32771. "description": "提货人详细地址",
  32772. "type": "string"
  32773. },
  32774. "autoid": {
  32775. "description": "AutoID",
  32776. "type": "integer"
  32777. },
  32778. "cardnum": {
  32779. "description": "证件号码(加密存储)",
  32780. "type": "string"
  32781. },
  32782. "cardtypeid": {
  32783. "description": "证件类型",
  32784. "type": "integer"
  32785. },
  32786. "cityid": {
  32787. "description": "市",
  32788. "type": "integer"
  32789. },
  32790. "cityname": {
  32791. "description": "城市名称",
  32792. "type": "string"
  32793. },
  32794. "countryid": {
  32795. "description": "国家",
  32796. "type": "integer"
  32797. },
  32798. "countryname": {
  32799. "description": "国家名称",
  32800. "type": "string"
  32801. },
  32802. "districtid": {
  32803. "description": "地区",
  32804. "type": "integer"
  32805. },
  32806. "districtname": {
  32807. "description": "地区名称",
  32808. "type": "string"
  32809. },
  32810. "hasencrypt": {
  32811. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32812. "type": "integer"
  32813. },
  32814. "isdefault": {
  32815. "description": "是否默认地址 - 0:否 1:是",
  32816. "type": "integer"
  32817. },
  32818. "phonenum": {
  32819. "description": "提货人联系方式(加密存储)",
  32820. "type": "string"
  32821. },
  32822. "provinceid": {
  32823. "description": "省",
  32824. "type": "integer"
  32825. },
  32826. "provincename": {
  32827. "description": "省名称",
  32828. "type": "string"
  32829. },
  32830. "receivername": {
  32831. "description": "提货人姓名",
  32832. "type": "string"
  32833. },
  32834. "takeremark": {
  32835. "description": "提货备注",
  32836. "type": "string"
  32837. },
  32838. "userid": {
  32839. "description": "用户ID",
  32840. "type": "integer"
  32841. }
  32842. }
  32843. },
  32844. "models.Useraccount": {
  32845. "type": "object",
  32846. "required": [
  32847. "userid"
  32848. ],
  32849. "properties": {
  32850. "accountname": {
  32851. "description": "账户名称(机构名称)",
  32852. "type": "string"
  32853. },
  32854. "accountstatus": {
  32855. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32856. "type": "integer"
  32857. },
  32858. "applysrc": {
  32859. "description": "申请来源 - 1:管理端 2:终端",
  32860. "type": "integer"
  32861. },
  32862. "auditremark": {
  32863. "description": "审核备注",
  32864. "type": "string"
  32865. },
  32866. "auditsrc": {
  32867. "description": "审核来源 - 1:管理端 2:终端",
  32868. "type": "integer"
  32869. },
  32870. "audittime": {
  32871. "description": "审核时间",
  32872. "type": "string"
  32873. },
  32874. "audituserid": {
  32875. "description": "审核人",
  32876. "type": "integer"
  32877. },
  32878. "broker": {
  32879. "description": "所属经纪人ID",
  32880. "type": "integer"
  32881. },
  32882. "canceltime": {
  32883. "description": "销户时间",
  32884. "type": "string"
  32885. },
  32886. "canceluserid": {
  32887. "description": "销户人",
  32888. "type": "integer"
  32889. },
  32890. "canrecommend": {
  32891. "description": "是否可推荐 - 0:不可 1;可",
  32892. "type": "integer"
  32893. },
  32894. "createtime": {
  32895. "description": "创建时间",
  32896. "type": "string"
  32897. },
  32898. "creatorid": {
  32899. "description": "创建人",
  32900. "type": "integer"
  32901. },
  32902. "hasauth": {
  32903. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32904. "type": "integer"
  32905. },
  32906. "isanonymous": {
  32907. "description": "是否匿名下单 - 0:否 1:是",
  32908. "type": "integer"
  32909. },
  32910. "maxinvestornum": {
  32911. "description": "最大用户数(经纪会员下投资者个数)",
  32912. "type": "integer"
  32913. },
  32914. "memberuserid": {
  32915. "description": "所属会员ID",
  32916. "type": "integer"
  32917. },
  32918. "modifierid": {
  32919. "description": "修改人",
  32920. "type": "integer"
  32921. },
  32922. "modifyremark": {
  32923. "description": "变更备注",
  32924. "type": "string"
  32925. },
  32926. "modifystatus": {
  32927. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32928. "type": "integer"
  32929. },
  32930. "modifytime": {
  32931. "description": "修改时间",
  32932. "type": "string"
  32933. },
  32934. "parenttopuser": {
  32935. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32936. "type": "string"
  32937. },
  32938. "parentuserid": {
  32939. "description": "所属机构ID",
  32940. "type": "integer"
  32941. },
  32942. "reckonaccountid": {
  32943. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32944. "type": "integer"
  32945. },
  32946. "refercount": {
  32947. "description": "推荐总人数",
  32948. "type": "integer"
  32949. },
  32950. "refereeuserid": {
  32951. "description": "推荐人ID",
  32952. "type": "integer"
  32953. },
  32954. "refernum": {
  32955. "description": "推荐码",
  32956. "type": "string"
  32957. },
  32958. "rootuserid": {
  32959. "description": "根用户ID",
  32960. "type": "integer"
  32961. },
  32962. "subaccountlevel": {
  32963. "description": "子账户层数",
  32964. "type": "integer"
  32965. },
  32966. "subarealevelpath": {
  32967. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32968. "type": "string"
  32969. },
  32970. "userid": {
  32971. "description": "用户ID",
  32972. "type": "integer"
  32973. },
  32974. "usertype": {
  32975. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32976. "type": "integer"
  32977. }
  32978. }
  32979. },
  32980. "models.Userfavoritegoods": {
  32981. "type": "object",
  32982. "required": [
  32983. "goodsid"
  32984. ],
  32985. "properties": {
  32986. "goodsid": {
  32987. "description": "商品ID",
  32988. "type": "integer"
  32989. }
  32990. }
  32991. },
  32992. "models.Userinfo": {
  32993. "type": "object",
  32994. "required": [
  32995. "userid"
  32996. ],
  32997. "properties": {
  32998. "address": {
  32999. "description": "地址",
  33000. "type": "string"
  33001. },
  33002. "attachment1": {
  33003. "description": "附件1",
  33004. "type": "string"
  33005. },
  33006. "attachment2": {
  33007. "description": "附件2",
  33008. "type": "string"
  33009. },
  33010. "bankaccount": {
  33011. "description": "银行帐号 (加密存储)",
  33012. "type": "string"
  33013. },
  33014. "bankaccountname": {
  33015. "description": "收款人名称",
  33016. "type": "string"
  33017. },
  33018. "bankcardfrontphotourl": {
  33019. "description": "银行卡正面照地址",
  33020. "type": "string"
  33021. },
  33022. "bankid": {
  33023. "description": "银行编码",
  33024. "type": "string"
  33025. },
  33026. "bankname": {
  33027. "description": "银行名称",
  33028. "type": "string"
  33029. },
  33030. "biznature": {
  33031. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33032. "type": "integer"
  33033. },
  33034. "bizscope": {
  33035. "description": "企业经营范围(企业)",
  33036. "type": "string"
  33037. },
  33038. "cardbackphotourl": {
  33039. "description": "证件背面图片地址",
  33040. "type": "string"
  33041. },
  33042. "cardfrontphotourl": {
  33043. "description": "证件正面图片地址",
  33044. "type": "string"
  33045. },
  33046. "cardnum": {
  33047. "description": "证件号码(加密存储)",
  33048. "type": "string"
  33049. },
  33050. "cardtypeid": {
  33051. "description": "证件类型ID",
  33052. "type": "integer"
  33053. },
  33054. "cityid": {
  33055. "description": "市",
  33056. "type": "integer"
  33057. },
  33058. "company": {
  33059. "description": "公司(个人)",
  33060. "type": "string"
  33061. },
  33062. "contactname": {
  33063. "description": "联系人",
  33064. "type": "string"
  33065. },
  33066. "countryid": {
  33067. "description": "国家",
  33068. "type": "integer"
  33069. },
  33070. "createtime": {
  33071. "description": "创建时间",
  33072. "type": "string"
  33073. },
  33074. "creatorid": {
  33075. "description": "创建人",
  33076. "type": "integer"
  33077. },
  33078. "customername": {
  33079. "description": "客户名称(企业名称)",
  33080. "type": "string"
  33081. },
  33082. "districtid": {
  33083. "description": "地区",
  33084. "type": "integer"
  33085. },
  33086. "email": {
  33087. "description": "邮件(加密存储)",
  33088. "type": "string"
  33089. },
  33090. "fax": {
  33091. "description": "传真(加密存储)",
  33092. "type": "string"
  33093. },
  33094. "halfbodyphotourl": {
  33095. "description": "半身照地址",
  33096. "type": "string"
  33097. },
  33098. "hasencrypt": {
  33099. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33100. "type": "integer"
  33101. },
  33102. "headurl": {
  33103. "description": "头像地址",
  33104. "type": "string"
  33105. },
  33106. "legalcardbackphotourl": {
  33107. "description": "法人身份证背面照地址",
  33108. "type": "string"
  33109. },
  33110. "legalcardfrontphotourl": {
  33111. "description": "法人身份证正面照地址",
  33112. "type": "string"
  33113. },
  33114. "legalpersonname": {
  33115. "description": "法人姓名(企业)",
  33116. "type": "string"
  33117. },
  33118. "mobile": {
  33119. "description": "手机号码(加密存储)",
  33120. "type": "string"
  33121. },
  33122. "mobile2": {
  33123. "description": "手机号码[明文-尚志]",
  33124. "type": "string"
  33125. },
  33126. "modifierid": {
  33127. "description": "修改人",
  33128. "type": "integer"
  33129. },
  33130. "modifiertime": {
  33131. "description": "修改时间",
  33132. "type": "string"
  33133. },
  33134. "needinvoice": {
  33135. "description": "是否需要发票 - 0:不需要 1:需要",
  33136. "type": "integer"
  33137. },
  33138. "nickname": {
  33139. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33140. "type": "string"
  33141. },
  33142. "openmode": {
  33143. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33144. "type": "integer"
  33145. },
  33146. "otherurl": {
  33147. "description": "其它图片地址[使用分号分隔]",
  33148. "type": "string"
  33149. },
  33150. "postalcode": {
  33151. "description": "邮政编码",
  33152. "type": "string"
  33153. },
  33154. "provinceid": {
  33155. "description": "省",
  33156. "type": "integer"
  33157. },
  33158. "qq": {
  33159. "description": "QQ(加密存储",
  33160. "type": "string"
  33161. },
  33162. "remark": {
  33163. "description": "备注",
  33164. "type": "string"
  33165. },
  33166. "sex": {
  33167. "description": "用户性别 0: 女 1: 男",
  33168. "type": "integer"
  33169. },
  33170. "signpdfurl": {
  33171. "description": "签约pdf文件",
  33172. "type": "string"
  33173. },
  33174. "telphone": {
  33175. "description": "联系电话(加密存储)",
  33176. "type": "string"
  33177. },
  33178. "userid": {
  33179. "description": "用户ID",
  33180. "type": "integer"
  33181. },
  33182. "userinfotype": {
  33183. "description": "用户信息类型 - 1:个人 2:企业",
  33184. "type": "integer"
  33185. },
  33186. "userstatus": {
  33187. "description": "用户状态 - 1:正常 2:注销",
  33188. "type": "integer"
  33189. },
  33190. "usertype": {
  33191. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33192. "type": "integer"
  33193. },
  33194. "wechat": {
  33195. "description": "微信(加密存储)",
  33196. "type": "string"
  33197. },
  33198. "wskhinfo": {
  33199. "description": "开户申请信息(JSON)",
  33200. "type": "string"
  33201. }
  33202. }
  33203. },
  33204. "models.WRSConverTDetail": {
  33205. "type": "object",
  33206. "properties": {
  33207. "convertratio": {
  33208. "description": "套保系数",
  33209. "type": "number"
  33210. },
  33211. "deliverygoodscode": {
  33212. "description": "现货商品代码",
  33213. "type": "string"
  33214. },
  33215. "deliverygoodsid": {
  33216. "description": "现货品种ID",
  33217. "type": "integer"
  33218. },
  33219. "deliverygoodsname": {
  33220. "description": "现货商品名称",
  33221. "type": "string"
  33222. },
  33223. "enumdicname": {
  33224. "description": "单位名称",
  33225. "type": "string"
  33226. },
  33227. "goodsunitid": {
  33228. "description": "套保品种单位id",
  33229. "type": "integer"
  33230. },
  33231. "middlegoodscode": {
  33232. "description": "套保品种代码",
  33233. "type": "string"
  33234. },
  33235. "middlegoodsid": {
  33236. "description": "套保品种ID",
  33237. "type": "integer"
  33238. },
  33239. "middlegoodsname": {
  33240. "description": "套保品种名称",
  33241. "type": "string"
  33242. },
  33243. "modifytime": {
  33244. "description": "修改时间",
  33245. "type": "string"
  33246. },
  33247. "wrstandardid": {
  33248. "description": "品类ID",
  33249. "type": "integer"
  33250. }
  33251. }
  33252. },
  33253. "models.WRStandardInfo": {
  33254. "type": "object",
  33255. "required": [
  33256. "wrstandardid"
  33257. ],
  33258. "properties": {
  33259. "areauserid": {
  33260. "description": "所属机构",
  33261. "type": "integer"
  33262. },
  33263. "convertfactor": {
  33264. "description": "标仓系数",
  33265. "type": "number"
  33266. },
  33267. "createtime": {
  33268. "description": "创建时间",
  33269. "type": "string"
  33270. },
  33271. "creatorid": {
  33272. "description": "创建人",
  33273. "type": "integer"
  33274. },
  33275. "deliverygoodsid": {
  33276. "description": "品种ID",
  33277. "type": "integer"
  33278. },
  33279. "deliverygoodsname": {
  33280. "description": "交割商品名称",
  33281. "type": "string"
  33282. },
  33283. "factoryitemjson": {
  33284. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33285. "type": "string"
  33286. },
  33287. "isvalid": {
  33288. "description": "是否有效 - 0:无效 1:有效",
  33289. "type": "integer"
  33290. },
  33291. "minivalue": {
  33292. "description": "最小变动值",
  33293. "type": "integer"
  33294. },
  33295. "minivaluedp": {
  33296. "description": "最小变动值小数位",
  33297. "type": "integer"
  33298. },
  33299. "realminivalue": {
  33300. "description": "实际最小变动值",
  33301. "type": "integer"
  33302. },
  33303. "realminivaluedp": {
  33304. "description": "实际最小变动值小数位",
  33305. "type": "integer"
  33306. },
  33307. "remark": {
  33308. "description": "备注",
  33309. "type": "string"
  33310. },
  33311. "unitid": {
  33312. "description": "单位ID",
  33313. "type": "integer"
  33314. },
  33315. "unitname": {
  33316. "description": "单位",
  33317. "type": "string"
  33318. },
  33319. "updatetime": {
  33320. "description": "更新时间",
  33321. "type": "string"
  33322. },
  33323. "updatorid": {
  33324. "description": "更新人",
  33325. "type": "integer"
  33326. },
  33327. "wrsstatus": {
  33328. "description": "状态 - 作废 - 0:未激活 1:正常",
  33329. "type": "integer"
  33330. },
  33331. "wrstandardcode": {
  33332. "description": "现货品类代码",
  33333. "type": "string"
  33334. },
  33335. "wrstandardid": {
  33336. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33337. "type": "integer"
  33338. },
  33339. "wrstandardname": {
  33340. "description": "现货品类名称",
  33341. "type": "string"
  33342. }
  33343. }
  33344. },
  33345. "models.WRTradeBargainApply": {
  33346. "type": "object",
  33347. "properties": {
  33348. "accountid": {
  33349. "description": "摘牌资金账号",
  33350. "type": "integer"
  33351. },
  33352. "applyprice": {
  33353. "description": "申请价格(议价价格)",
  33354. "type": "string"
  33355. },
  33356. "applyqty": {
  33357. "description": "摘牌数量(议价数量)",
  33358. "type": "number"
  33359. },
  33360. "applyremark": {
  33361. "description": "申请备注",
  33362. "type": "string"
  33363. },
  33364. "applystatus": {
  33365. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33366. "type": "integer"
  33367. },
  33368. "applytime": {
  33369. "description": "申请时间(议价时间)",
  33370. "type": "string"
  33371. },
  33372. "buyorsell": {
  33373. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33374. "type": "integer"
  33375. },
  33376. "confirmremark": {
  33377. "description": "确认备注",
  33378. "type": "string"
  33379. },
  33380. "confirmtime": {
  33381. "description": "确认时间",
  33382. "type": "string"
  33383. },
  33384. "confirmuserid": {
  33385. "description": "确认人",
  33386. "type": "integer"
  33387. },
  33388. "deliverygoodscode": {
  33389. "description": "品种代码",
  33390. "type": "string"
  33391. },
  33392. "deliverygoodsid": {
  33393. "description": "品种ID",
  33394. "type": "integer"
  33395. },
  33396. "deliverygoodsname": {
  33397. "description": "品种名称",
  33398. "type": "string"
  33399. },
  33400. "deliverymonth": {
  33401. "description": "交收月",
  33402. "type": "string"
  33403. },
  33404. "enumdicname": {
  33405. "description": "单位名称",
  33406. "type": "string"
  33407. },
  33408. "fixedprice": {
  33409. "description": "挂牌价格",
  33410. "type": "number"
  33411. },
  33412. "handlestatus": {
  33413. "description": "处理状态",
  33414. "type": "integer"
  33415. },
  33416. "marginvalue": {
  33417. "description": "履约保证金比例",
  33418. "type": "number"
  33419. },
  33420. "marketid": {
  33421. "description": "市场ID",
  33422. "type": "integer"
  33423. },
  33424. "matchaccountid": {
  33425. "description": "挂牌方资金账号",
  33426. "type": "integer"
  33427. },
  33428. "matchuserid": {
  33429. "description": "挂牌方用户id",
  33430. "type": "integer"
  33431. },
  33432. "matchusername": {
  33433. "description": "挂牌方用户名称(已脱敏)",
  33434. "type": "string"
  33435. },
  33436. "minivalue": {
  33437. "description": "现货商品最小变动值",
  33438. "type": "integer"
  33439. },
  33440. "optioncompare": {
  33441. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33442. "type": "string"
  33443. },
  33444. "orderqty": {
  33445. "description": "挂牌数量",
  33446. "type": "integer"
  33447. },
  33448. "refprice": {
  33449. "description": "参考价格",
  33450. "type": "string"
  33451. },
  33452. "retcode": {
  33453. "description": "委托返回代码",
  33454. "type": "integer"
  33455. },
  33456. "templatename": {
  33457. "description": "履约方式(履约模板名称)",
  33458. "type": "string"
  33459. },
  33460. "tradedate": {
  33461. "description": "交易日(yyyyMMdd)",
  33462. "type": "string"
  33463. },
  33464. "userid": {
  33465. "description": "摘牌人用户ID(议价人ID)",
  33466. "type": "integer"
  33467. },
  33468. "username": {
  33469. "description": "议价人名字(已脱敏)",
  33470. "type": "string"
  33471. },
  33472. "validtime": {
  33473. "description": "有效期限",
  33474. "type": "string"
  33475. },
  33476. "warehouseid": {
  33477. "description": "仓库ID",
  33478. "type": "integer"
  33479. },
  33480. "warehousename": {
  33481. "description": "仓库名称",
  33482. "type": "string"
  33483. },
  33484. "wrbargainid": {
  33485. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33486. "type": "string"
  33487. },
  33488. "wrfactortypeid": {
  33489. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33490. "type": "string"
  33491. },
  33492. "wrfactortypename": {
  33493. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33494. "type": "string"
  33495. },
  33496. "wrstandardcode": {
  33497. "description": "现货商品代码",
  33498. "type": "string"
  33499. },
  33500. "wrstandardid": {
  33501. "description": "现货商品ID",
  33502. "type": "integer"
  33503. },
  33504. "wrstandardname": {
  33505. "description": "商品名称",
  33506. "type": "string"
  33507. },
  33508. "wrtradeorderid": {
  33509. "description": "关联委托单ID",
  33510. "type": "string"
  33511. },
  33512. "wrtypename": {
  33513. "description": "商品",
  33514. "type": "string"
  33515. }
  33516. }
  33517. },
  33518. "models.Warehouseinfo": {
  33519. "type": "object",
  33520. "required": [
  33521. "autoid",
  33522. "warehousecode"
  33523. ],
  33524. "properties": {
  33525. "address": {
  33526. "description": "详细地址",
  33527. "type": "string"
  33528. },
  33529. "areauserid": {
  33530. "description": "所属机构",
  33531. "type": "integer"
  33532. },
  33533. "autoid": {
  33534. "description": "自增ID",
  33535. "type": "integer"
  33536. },
  33537. "cityid": {
  33538. "description": "市",
  33539. "type": "integer"
  33540. },
  33541. "contactname": {
  33542. "description": "联系人",
  33543. "type": "string"
  33544. },
  33545. "contactnum": {
  33546. "description": "联系电话",
  33547. "type": "string"
  33548. },
  33549. "countryid": {
  33550. "description": "国家",
  33551. "type": "integer"
  33552. },
  33553. "createtime": {
  33554. "description": "创建时间",
  33555. "type": "string"
  33556. },
  33557. "districtid": {
  33558. "description": "区",
  33559. "type": "integer"
  33560. },
  33561. "hasvideo": {
  33562. "description": "是否有视频 - 0:无 1:有",
  33563. "type": "integer"
  33564. },
  33565. "provinceid": {
  33566. "description": "省",
  33567. "type": "integer"
  33568. },
  33569. "remark": {
  33570. "description": "审核备注",
  33571. "type": "string"
  33572. },
  33573. "videourl": {
  33574. "description": "视频地址",
  33575. "type": "string"
  33576. },
  33577. "warehousecode": {
  33578. "description": "仓库代码",
  33579. "type": "string"
  33580. },
  33581. "warehousename": {
  33582. "description": "仓库名称",
  33583. "type": "string"
  33584. },
  33585. "warehousestatus": {
  33586. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33587. "type": "integer"
  33588. },
  33589. "warehousetype": {
  33590. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33591. "type": "integer"
  33592. }
  33593. }
  33594. },
  33595. "models.WrAverageTradePrice": {
  33596. "type": "object",
  33597. "properties": {
  33598. "averageprice": {
  33599. "description": "成交均价",
  33600. "type": "number"
  33601. },
  33602. "tradedate": {
  33603. "description": "交易日yyyymm",
  33604. "type": "string"
  33605. }
  33606. }
  33607. },
  33608. "models.WrBsGoodsInfo": {
  33609. "type": "object",
  33610. "properties": {
  33611. "buyorsell": {
  33612. "description": "买卖方向 0-买 1-卖",
  33613. "type": "integer"
  33614. },
  33615. "goodsid": {
  33616. "description": "交易合约ID",
  33617. "type": "integer"
  33618. },
  33619. "lstitem": {
  33620. "description": "商品信息项",
  33621. "type": "array",
  33622. "items": {
  33623. "$ref": "#/definitions/models.WrTypeItem"
  33624. }
  33625. },
  33626. "lststep": {
  33627. "description": "履约规则",
  33628. "type": "array",
  33629. "items": {
  33630. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33631. }
  33632. }
  33633. }
  33634. },
  33635. "models.WrBuybackDetail": {
  33636. "type": "object",
  33637. "properties": {
  33638. "buybackamount": {
  33639. "description": "回购金额",
  33640. "type": "number"
  33641. },
  33642. "buybackqty": {
  33643. "description": "回购数量",
  33644. "type": "number"
  33645. },
  33646. "buybackreleasemargin": {
  33647. "description": "回购释放保证金",
  33648. "type": "number"
  33649. },
  33650. "buybacktime": {
  33651. "description": "回购时间",
  33652. "type": "string"
  33653. },
  33654. "errordesc": {
  33655. "description": "错误描述",
  33656. "type": "string"
  33657. },
  33658. "handlestatus": {
  33659. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33660. "type": "integer"
  33661. },
  33662. "relatedwrid": {
  33663. "description": "关联仓单ID",
  33664. "type": "integer"
  33665. },
  33666. "scfcontractid": {
  33667. "description": "SCF合同ID",
  33668. "type": "string"
  33669. },
  33670. "scfwrbuybackid": {
  33671. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33672. "type": "integer"
  33673. },
  33674. "tradedate": {
  33675. "description": "交易日(yyyyMMdd)",
  33676. "type": "string"
  33677. }
  33678. }
  33679. },
  33680. "models.WrDeliveryAvalidHoldLB": {
  33681. "type": "object",
  33682. "properties": {
  33683. "accountid": {
  33684. "description": "资金账号",
  33685. "type": "integer"
  33686. },
  33687. "avalidqty": {
  33688. "description": "数量(可点选数量)",
  33689. "type": "number"
  33690. },
  33691. "deliverygoodsid": {
  33692. "description": "品种id",
  33693. "type": "integer"
  33694. },
  33695. "enumdicname": {
  33696. "description": "单位名称",
  33697. "type": "string"
  33698. },
  33699. "goodsid": {
  33700. "description": "x合约商品id",
  33701. "type": "integer"
  33702. },
  33703. "ladingbillid": {
  33704. "description": "提单id",
  33705. "type": "string"
  33706. },
  33707. "pgoodscode": {
  33708. "description": "p商品代码(点价合约)",
  33709. "type": "string"
  33710. },
  33711. "pgoodsid": {
  33712. "description": "p商品id(点价合约)",
  33713. "type": "integer"
  33714. },
  33715. "pgoodsname": {
  33716. "description": "p商品名称(点价合约)",
  33717. "type": "string"
  33718. },
  33719. "pricemove": {
  33720. "description": "升贴水",
  33721. "type": "number"
  33722. },
  33723. "subnum": {
  33724. "description": "提单子id",
  33725. "type": "integer"
  33726. },
  33727. "userid": {
  33728. "description": "用户id",
  33729. "type": "integer"
  33730. },
  33731. "username": {
  33732. "description": "仓单持有人",
  33733. "type": "string"
  33734. },
  33735. "warehousecode": {
  33736. "description": "仓库代码",
  33737. "type": "string"
  33738. },
  33739. "warehouseid": {
  33740. "description": "仓库id",
  33741. "type": "integer"
  33742. },
  33743. "warehousename": {
  33744. "description": "仓库名称",
  33745. "type": "string"
  33746. },
  33747. "wrfactortypeid": {
  33748. "description": "仓单要素id",
  33749. "type": "string"
  33750. },
  33751. "wrstandardcode": {
  33752. "description": "品代码",
  33753. "type": "string"
  33754. },
  33755. "wrstandardid": {
  33756. "description": "品类d",
  33757. "type": "integer"
  33758. },
  33759. "wrstandardname": {
  33760. "description": "品类名称",
  33761. "type": "string"
  33762. },
  33763. "wrtypename": {
  33764. "description": "商品",
  33765. "type": "string"
  33766. },
  33767. "xgoodscode": {
  33768. "description": "x合约代码",
  33769. "type": "string"
  33770. },
  33771. "xgoodsname": {
  33772. "description": "x合约名称",
  33773. "type": "string"
  33774. }
  33775. }
  33776. },
  33777. "models.WrDeliveryDetail": {
  33778. "type": "object",
  33779. "properties": {
  33780. "accountid": {
  33781. "description": "账号ID",
  33782. "type": "integer"
  33783. },
  33784. "averageprice": {
  33785. "description": "交割均价 = 交割金额 / 交割数量",
  33786. "type": "number"
  33787. },
  33788. "buyorsell": {
  33789. "description": "方向 - 0:买 1:卖",
  33790. "type": "integer"
  33791. },
  33792. "deliveryamount": {
  33793. "description": "货款金额(X总货款+P总货款)",
  33794. "type": "number"
  33795. },
  33796. "deliveryid": {
  33797. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33798. "type": "string"
  33799. },
  33800. "deliveryorderid": {
  33801. "description": "申报单号",
  33802. "type": "string"
  33803. },
  33804. "deliverypricemove": {
  33805. "description": "升贴水(升贴水总额)",
  33806. "type": "number"
  33807. },
  33808. "deliveryqty": {
  33809. "description": "交收数量(点选数量)",
  33810. "type": "number"
  33811. },
  33812. "deliverystatus": {
  33813. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33814. "type": "integer"
  33815. },
  33816. "deliverytime": {
  33817. "description": "交割时间",
  33818. "type": "string"
  33819. },
  33820. "deliverytotalamount": {
  33821. "description": "交收金额",
  33822. "type": "number"
  33823. },
  33824. "enumdicname": {
  33825. "description": "单位名称",
  33826. "type": "string"
  33827. },
  33828. "matchaccountid": {
  33829. "description": "对手账号ID",
  33830. "type": "integer"
  33831. },
  33832. "matchusername": {
  33833. "description": "对手方名称(仓单持有人)",
  33834. "type": "string"
  33835. },
  33836. "p1goodsremainamount": {
  33837. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33838. "type": "number"
  33839. },
  33840. "pdeliverycloseqty": {
  33841. "description": "p合约平仓数量",
  33842. "type": "number"
  33843. },
  33844. "pdeliveryprice": {
  33845. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33846. "type": "number"
  33847. },
  33848. "pgoodscode": {
  33849. "description": "商品代码",
  33850. "type": "string"
  33851. },
  33852. "pgoodsid": {
  33853. "description": "p点选合约id",
  33854. "type": "integer"
  33855. },
  33856. "pgoodsname": {
  33857. "description": "商品名称",
  33858. "type": "string"
  33859. },
  33860. "ppricemode": {
  33861. "description": "点价价格方式 - 1:商品价 2:固定值",
  33862. "type": "integer"
  33863. },
  33864. "tradedate": {
  33865. "description": "交易日(yyyymmdd)",
  33866. "type": "string"
  33867. },
  33868. "userid": {
  33869. "description": "用户id",
  33870. "type": "integer"
  33871. },
  33872. "username": {
  33873. "description": "用户名称",
  33874. "type": "string"
  33875. },
  33876. "warehousename": {
  33877. "description": "仓库名称",
  33878. "type": "string"
  33879. },
  33880. "wrfactortypeid": {
  33881. "description": "仓单要素类型ID",
  33882. "type": "string"
  33883. },
  33884. "wrtypename": {
  33885. "description": "商品",
  33886. "type": "string"
  33887. },
  33888. "xdeliverycloseqty": {
  33889. "description": "合约数量",
  33890. "type": "number"
  33891. },
  33892. "xgoodsamount": {
  33893. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33894. "type": "number"
  33895. },
  33896. "xgoodscode": {
  33897. "description": "商品代码",
  33898. "type": "string"
  33899. },
  33900. "xgoodsid": {
  33901. "description": "x交易合约ID",
  33902. "type": "integer"
  33903. },
  33904. "xgoodsname": {
  33905. "description": "商品名称",
  33906. "type": "string"
  33907. }
  33908. }
  33909. },
  33910. "models.WrDeliveryGoodsSection": {
  33911. "type": "object",
  33912. "properties": {
  33913. "dglst": {
  33914. "description": "板块商品列表",
  33915. "type": "array",
  33916. "items": {
  33917. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33918. }
  33919. },
  33920. "imagepath": {
  33921. "description": "图片地址",
  33922. "type": "string"
  33923. },
  33924. "orderindex": {
  33925. "description": "排序",
  33926. "type": "integer"
  33927. },
  33928. "sectionid": {
  33929. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33930. "type": "integer"
  33931. },
  33932. "sectionname": {
  33933. "description": "版块名称",
  33934. "type": "string"
  33935. },
  33936. "sectiontype": {
  33937. "description": "版块类型 - 1:指数版块 2:普通版块",
  33938. "type": "integer"
  33939. }
  33940. }
  33941. },
  33942. "models.WrDeliveryGoodsSectionConfig": {
  33943. "type": "object",
  33944. "properties": {
  33945. "deliverygoodscode": {
  33946. "description": "现货商品代码",
  33947. "type": "string"
  33948. },
  33949. "deliverygoodsid": {
  33950. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33951. "type": "integer"
  33952. },
  33953. "deliverygoodsname": {
  33954. "description": "现货商品名称",
  33955. "type": "string"
  33956. },
  33957. "orderindex": {
  33958. "description": "排序",
  33959. "type": "integer"
  33960. }
  33961. }
  33962. },
  33963. "models.WrFAProductDetail": {
  33964. "type": "object",
  33965. "properties": {
  33966. "accountid": {
  33967. "description": "资金账号",
  33968. "type": "integer"
  33969. },
  33970. "areauserid": {
  33971. "description": "金融机构ID",
  33972. "type": "integer"
  33973. },
  33974. "financingdays": {
  33975. "description": "天数(天)",
  33976. "type": "integer"
  33977. },
  33978. "interestminlen": {
  33979. "description": "最小起息天数",
  33980. "type": "integer"
  33981. },
  33982. "interestrate": {
  33983. "description": "利率",
  33984. "type": "number"
  33985. },
  33986. "interestratemode": {
  33987. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33988. "type": "integer"
  33989. },
  33990. "interestsettlemode": {
  33991. "description": "结息方式 - 1:按日结息 3:按月结息",
  33992. "type": "integer"
  33993. },
  33994. "interestsettlevalue": {
  33995. "description": "结息方式值",
  33996. "type": "integer"
  33997. },
  33998. "isautoloan": {
  33999. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34000. "type": "integer"
  34001. },
  34002. "loantag": {
  34003. "description": "放款标识: \"放款快\" 或者为空",
  34004. "type": "string"
  34005. },
  34006. "marginratio": {
  34007. "description": "保证金比率质押率 - [仓单质押]",
  34008. "type": "number"
  34009. },
  34010. "productdetailid": {
  34011. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34012. "type": "integer"
  34013. },
  34014. "productid": {
  34015. "description": "金融产品ID",
  34016. "type": "integer"
  34017. },
  34018. "productname": {
  34019. "description": "产品名称",
  34020. "type": "string"
  34021. },
  34022. "updatetime": {
  34023. "description": "更新时间",
  34024. "type": "string"
  34025. },
  34026. "username": {
  34027. "description": "融出方",
  34028. "type": "string"
  34029. }
  34030. }
  34031. },
  34032. "models.WrFactorTypeInfo": {
  34033. "type": "object",
  34034. "properties": {
  34035. "deliverygoodscode": {
  34036. "description": "品种代码",
  34037. "type": "string"
  34038. },
  34039. "deliverygoodsname": {
  34040. "description": "品种名称",
  34041. "type": "string"
  34042. },
  34043. "dgfactoryitemid": {
  34044. "description": "选择项id",
  34045. "type": "integer"
  34046. },
  34047. "dgfactoryitemtypeid": {
  34048. "description": "要素选择项ID (1-仓库 2-品牌)",
  34049. "type": "integer"
  34050. },
  34051. "dgfactoryitemvalue": {
  34052. "description": "要素项值",
  34053. "type": "string"
  34054. },
  34055. "itemtypename": {
  34056. "description": "要素项名称",
  34057. "type": "string"
  34058. },
  34059. "optioncompare": {
  34060. "description": "选择比较串",
  34061. "type": "string"
  34062. },
  34063. "warehouseid": {
  34064. "description": "仓库id",
  34065. "type": "integer"
  34066. },
  34067. "wrfactortypeid": {
  34068. "description": "仓单要素ID",
  34069. "type": "string"
  34070. },
  34071. "wrfactortypename": {
  34072. "description": "要素名称",
  34073. "type": "string"
  34074. },
  34075. "wrfactortypename2": {
  34076. "description": "要素名称(不含仓库)",
  34077. "type": "string"
  34078. },
  34079. "wrstandardcode": {
  34080. "description": "品类代码",
  34081. "type": "string"
  34082. },
  34083. "wrstandardid": {
  34084. "description": "品类id",
  34085. "type": "integer"
  34086. },
  34087. "wrstandardname": {
  34088. "description": "品类名称",
  34089. "type": "string"
  34090. }
  34091. }
  34092. },
  34093. "models.WrFilterItem": {
  34094. "type": "object",
  34095. "properties": {
  34096. "itemcode": {
  34097. "description": "代码",
  34098. "type": "string"
  34099. },
  34100. "itemid": {
  34101. "description": "项id",
  34102. "type": "integer"
  34103. },
  34104. "itemname": {
  34105. "description": "名称",
  34106. "type": "string"
  34107. },
  34108. "itemtype": {
  34109. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34110. "type": "integer"
  34111. }
  34112. }
  34113. },
  34114. "models.WrFinanceBuyApply": {
  34115. "type": "object",
  34116. "properties": {
  34117. "applydate": {
  34118. "description": "申请时间",
  34119. "type": "string"
  34120. },
  34121. "applystatus": {
  34122. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34123. "type": "integer"
  34124. },
  34125. "applyuserid": {
  34126. "description": "申请人",
  34127. "type": "integer"
  34128. },
  34129. "auditdate": {
  34130. "description": "审核时间",
  34131. "type": "string"
  34132. },
  34133. "auditremark": {
  34134. "description": "审核备注",
  34135. "type": "string"
  34136. },
  34137. "audituserid": {
  34138. "description": "审核人",
  34139. "type": "integer"
  34140. },
  34141. "buyaccountid": {
  34142. "description": "买方资金账号",
  34143. "type": "integer"
  34144. },
  34145. "buyorsell": {
  34146. "description": "买卖 - 0:买 1:卖",
  34147. "type": "integer"
  34148. },
  34149. "buyuserid": {
  34150. "description": "买方用户ID",
  34151. "type": "integer"
  34152. },
  34153. "buyusername": {
  34154. "description": "买方名称",
  34155. "type": "string"
  34156. },
  34157. "buywrtradeorderid": {
  34158. "description": "融资方买委托单ID",
  34159. "type": "string"
  34160. },
  34161. "deliverygoodscode": {
  34162. "description": "品种代码",
  34163. "type": "string"
  34164. },
  34165. "deliverygoodsid": {
  34166. "description": "品种ID",
  34167. "type": "integer"
  34168. },
  34169. "deliverygoodsname": {
  34170. "description": "品种名称",
  34171. "type": "string"
  34172. },
  34173. "deliverymonth": {
  34174. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34175. "type": "string"
  34176. },
  34177. "enumdicname": {
  34178. "description": "单位名称",
  34179. "type": "string"
  34180. },
  34181. "financeaccountid": {
  34182. "description": "融资方资金帐户ID",
  34183. "type": "integer"
  34184. },
  34185. "financeapplyid": {
  34186. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34187. "type": "string"
  34188. },
  34189. "financeareauserid": {
  34190. "description": "融资方用户ID",
  34191. "type": "string"
  34192. },
  34193. "financename": {
  34194. "description": "融出方名称",
  34195. "type": "string"
  34196. },
  34197. "financetype": {
  34198. "description": "融资类型 1-融资回购",
  34199. "type": "integer"
  34200. },
  34201. "financingdays": {
  34202. "description": "天数(天)",
  34203. "type": "integer"
  34204. },
  34205. "freezebuymargin": {
  34206. "description": "冻结融资保证金(买方)",
  34207. "type": "number"
  34208. },
  34209. "handleremark": {
  34210. "description": "处理备注",
  34211. "type": "string"
  34212. },
  34213. "handlestatus": {
  34214. "description": "处理状态",
  34215. "type": "integer"
  34216. },
  34217. "interestminlen": {
  34218. "description": "最小起息天数",
  34219. "type": "integer"
  34220. },
  34221. "interestrate": {
  34222. "description": "利率",
  34223. "type": "number"
  34224. },
  34225. "interestratemode": {
  34226. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34227. "type": "integer"
  34228. },
  34229. "interestsettlemode": {
  34230. "description": "结息方式 - 1:按日结息 3:按月结息",
  34231. "type": "integer"
  34232. },
  34233. "interestsettlevalue": {
  34234. "description": "结息方式值",
  34235. "type": "integer"
  34236. },
  34237. "isautoloan": {
  34238. "description": "是否自动放款 - 0:手动 1:自动",
  34239. "type": "integer"
  34240. },
  34241. "marginratio": {
  34242. "description": "保证金比率质押率 - [仓单质押]",
  34243. "type": "number"
  34244. },
  34245. "marketid": {
  34246. "description": "市场ID",
  34247. "type": "integer"
  34248. },
  34249. "minivalue": {
  34250. "description": "现货商品最小变动值",
  34251. "type": "integer"
  34252. },
  34253. "optioncompare": {
  34254. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34255. "type": "string"
  34256. },
  34257. "orderqty": {
  34258. "description": "委托数量(商品数量)",
  34259. "type": "number"
  34260. },
  34261. "productdetailid": {
  34262. "description": "产品组合ID",
  34263. "type": "integer"
  34264. },
  34265. "productid": {
  34266. "description": "金融产品ID",
  34267. "type": "integer"
  34268. },
  34269. "productname": {
  34270. "description": "产品名称",
  34271. "type": "string"
  34272. },
  34273. "remark": {
  34274. "description": "备注",
  34275. "type": "string"
  34276. },
  34277. "scfcontractid": {
  34278. "description": "仓单回购合同ID",
  34279. "type": "string"
  34280. },
  34281. "sellaccountid": {
  34282. "description": "卖方资金账号",
  34283. "type": "integer"
  34284. },
  34285. "selluserid": {
  34286. "description": "卖方用户ID",
  34287. "type": "integer"
  34288. },
  34289. "sellwrtradeorderid": {
  34290. "description": "卖方委托单ID",
  34291. "type": "string"
  34292. },
  34293. "tradeamount": {
  34294. "description": "成交金额(借款金额)",
  34295. "type": "number"
  34296. },
  34297. "tradedate": {
  34298. "description": "交易日(yyyyMMdd)",
  34299. "type": "string"
  34300. },
  34301. "tradeprice": {
  34302. "description": "成交价格",
  34303. "type": "number"
  34304. },
  34305. "warehouseid": {
  34306. "description": "仓库ID",
  34307. "type": "integer"
  34308. },
  34309. "warehousename": {
  34310. "description": "仓库名称",
  34311. "type": "string"
  34312. },
  34313. "wrfactortypeid": {
  34314. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34315. "type": "string"
  34316. },
  34317. "wrfactortypename": {
  34318. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34319. "type": "string"
  34320. },
  34321. "wrpricetype": {
  34322. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34323. "type": "integer"
  34324. },
  34325. "wrstandardcode": {
  34326. "description": "现货商品代码",
  34327. "type": "string"
  34328. },
  34329. "wrstandardid": {
  34330. "description": "现货商品ID",
  34331. "type": "integer"
  34332. },
  34333. "wrstandardname": {
  34334. "description": "商品名称",
  34335. "type": "string"
  34336. },
  34337. "wrtypename": {
  34338. "description": "商品",
  34339. "type": "string"
  34340. }
  34341. }
  34342. },
  34343. "models.WrFriendApply": {
  34344. "type": "object",
  34345. "properties": {
  34346. "applicantid": {
  34347. "description": "申请人",
  34348. "type": "integer"
  34349. },
  34350. "applyname": {
  34351. "description": "申请人名称",
  34352. "type": "string"
  34353. },
  34354. "applysrc": {
  34355. "description": "申请来源 - 1:管理端 2:终端",
  34356. "type": "integer"
  34357. },
  34358. "applystatus": {
  34359. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34360. "type": "integer"
  34361. },
  34362. "applytime": {
  34363. "description": "申请时间",
  34364. "type": "string"
  34365. },
  34366. "auditname": {
  34367. "description": "审核人名称",
  34368. "type": "string"
  34369. },
  34370. "auditorid": {
  34371. "description": "审核人",
  34372. "type": "integer"
  34373. },
  34374. "auditremark": {
  34375. "description": "审核备注",
  34376. "type": "string"
  34377. },
  34378. "auditsrc": {
  34379. "description": "审核来源 - 1:管理端 2:终端",
  34380. "type": "integer"
  34381. },
  34382. "audittime": {
  34383. "description": "审核时间",
  34384. "type": "string"
  34385. },
  34386. "friendapplyid": {
  34387. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34388. "type": "string"
  34389. },
  34390. "friendname": {
  34391. "description": "好友名字(已脱敏)",
  34392. "type": "string"
  34393. },
  34394. "frienduserid": {
  34395. "description": "好友用户ID",
  34396. "type": "string"
  34397. },
  34398. "remark": {
  34399. "description": "备注",
  34400. "type": "string"
  34401. },
  34402. "userid": {
  34403. "description": "申请人用户ID",
  34404. "type": "integer"
  34405. }
  34406. }
  34407. },
  34408. "models.WrFtDeliveryGoods": {
  34409. "type": "object",
  34410. "properties": {
  34411. "deliverygoodscode": {
  34412. "description": "品种代码",
  34413. "type": "string"
  34414. },
  34415. "deliverygoodsid": {
  34416. "description": "品种ID",
  34417. "type": "integer"
  34418. },
  34419. "deliverygoodsname": {
  34420. "description": "品种名称",
  34421. "type": "string"
  34422. },
  34423. "wdlst": {
  34424. "description": "商品列表",
  34425. "type": "array",
  34426. "items": {
  34427. "$ref": "#/definitions/models.WrFtWrstandard"
  34428. }
  34429. }
  34430. }
  34431. },
  34432. "models.WrFtWrstandard": {
  34433. "type": "object",
  34434. "properties": {
  34435. "enumdicname": {
  34436. "description": "单位名称",
  34437. "type": "string"
  34438. },
  34439. "minivalue": {
  34440. "description": "最小变动值",
  34441. "type": "integer"
  34442. },
  34443. "wrstandardcode": {
  34444. "description": "现货商品代码",
  34445. "type": "string"
  34446. },
  34447. "wrstandardid": {
  34448. "description": "现货商品ID",
  34449. "type": "integer"
  34450. },
  34451. "wrstandardname": {
  34452. "description": "商品名称",
  34453. "type": "string"
  34454. }
  34455. }
  34456. },
  34457. "models.WrGoodsInfo": {
  34458. "type": "object",
  34459. "properties": {
  34460. "haswr": {
  34461. "description": "0:仓单预售 1:仓单贸易",
  34462. "type": "integer"
  34463. },
  34464. "lstitem": {
  34465. "description": "商品信息项",
  34466. "type": "array",
  34467. "items": {
  34468. "$ref": "#/definitions/models.WrTypeItem"
  34469. }
  34470. },
  34471. "lststep": {
  34472. "description": "履约规则",
  34473. "type": "array",
  34474. "items": {
  34475. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34476. }
  34477. },
  34478. "marketid": {
  34479. "description": "市场id",
  34480. "type": "integer"
  34481. }
  34482. }
  34483. },
  34484. "models.WrGoodsPerformanceStep": {
  34485. "type": "object",
  34486. "properties": {
  34487. "autoid": {
  34488. "description": "AutoID",
  34489. "type": "integer"
  34490. },
  34491. "isauto": {
  34492. "description": "是否自动 - 0:不自动 1:自动",
  34493. "type": "integer"
  34494. },
  34495. "remark": {
  34496. "description": "备注",
  34497. "type": "string"
  34498. },
  34499. "stepdate": {
  34500. "description": "天数信息(T+N)",
  34501. "type": "string"
  34502. },
  34503. "stepdays": {
  34504. "description": "距离上一步天数",
  34505. "type": "integer"
  34506. },
  34507. "stepindex": {
  34508. "description": "步骤序号",
  34509. "type": "integer"
  34510. },
  34511. "stepinfo": {
  34512. "description": "步骤信息(步骤名称+步骤值)",
  34513. "type": "string"
  34514. },
  34515. "steptypeid": {
  34516. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34517. "type": "integer"
  34518. },
  34519. "steptypename": {
  34520. "description": "步骤名称",
  34521. "type": "string"
  34522. },
  34523. "stepvalue": {
  34524. "description": "步骤值",
  34525. "type": "number"
  34526. },
  34527. "templateid": {
  34528. "description": "履约计划模板ID",
  34529. "type": "integer"
  34530. }
  34531. }
  34532. },
  34533. "models.WrHoldLB": {
  34534. "type": "object",
  34535. "properties": {
  34536. "accountid": {
  34537. "description": "持有人帐户ID",
  34538. "type": "integer"
  34539. },
  34540. "createtime": {
  34541. "description": "创建时间(过户时间)",
  34542. "type": "string"
  34543. },
  34544. "deliverygoodscode": {
  34545. "description": "品种代码",
  34546. "type": "string"
  34547. },
  34548. "deliverygoodsid": {
  34549. "description": "品种ID",
  34550. "type": "integer"
  34551. },
  34552. "deliverygoodsname": {
  34553. "description": "品种名称",
  34554. "type": "string"
  34555. },
  34556. "enableqty": {
  34557. "description": "可用数量",
  34558. "type": "number"
  34559. },
  34560. "enumdicname": {
  34561. "description": "单位名称",
  34562. "type": "string"
  34563. },
  34564. "freezerqty": {
  34565. "description": "冻结数量",
  34566. "type": "number"
  34567. },
  34568. "ladingbillid": {
  34569. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34570. "type": "string"
  34571. },
  34572. "minivalue": {
  34573. "description": "现货商品最小变动值",
  34574. "type": "integer"
  34575. },
  34576. "optioncompare": {
  34577. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34578. "type": "string"
  34579. },
  34580. "parentsubnum": {
  34581. "description": "拆分父子单号",
  34582. "type": "integer"
  34583. },
  34584. "pledgeqty": {
  34585. "description": "质押数量",
  34586. "type": "number"
  34587. },
  34588. "qty": {
  34589. "description": "数量",
  34590. "type": "number"
  34591. },
  34592. "subnum": {
  34593. "description": "提单子单号",
  34594. "type": "integer"
  34595. },
  34596. "tradedate": {
  34597. "description": "交易日(yyyyMMdd)",
  34598. "type": "string"
  34599. },
  34600. "userid": {
  34601. "description": "持有人ID",
  34602. "type": "integer"
  34603. },
  34604. "warehouseid": {
  34605. "description": "仓库ID",
  34606. "type": "integer"
  34607. },
  34608. "warehousename": {
  34609. "description": "仓库名称",
  34610. "type": "string"
  34611. },
  34612. "wrfactortypeid": {
  34613. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34614. "type": "string"
  34615. },
  34616. "wrfactortypename": {
  34617. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34618. "type": "string"
  34619. },
  34620. "wrholdeno": {
  34621. "description": "仓单编号",
  34622. "type": "string"
  34623. },
  34624. "wrid": {
  34625. "description": "仓单变更ID",
  34626. "type": "string"
  34627. },
  34628. "wrstandardcode": {
  34629. "description": "现货商品代码",
  34630. "type": "string"
  34631. },
  34632. "wrstandardid": {
  34633. "description": "现货商品ID",
  34634. "type": "integer"
  34635. },
  34636. "wrstandardname": {
  34637. "description": "商品名称",
  34638. "type": "string"
  34639. },
  34640. "wrtypename": {
  34641. "description": "商品",
  34642. "type": "string"
  34643. }
  34644. }
  34645. },
  34646. "models.WrMarketTradeConfig": {
  34647. "type": "object",
  34648. "properties": {
  34649. "basisdownratio": {
  34650. "description": "浮动价基差下限比例(仓单贸易)",
  34651. "type": "number"
  34652. },
  34653. "basisupratio": {
  34654. "description": "浮动价基差上限比例(仓单贸易)",
  34655. "type": "number"
  34656. },
  34657. "buychargealgorithm": {
  34658. "description": "买方手续费收取方式 1:比率 2:固定",
  34659. "type": "integer"
  34660. },
  34661. "buychargealgorithm2": {
  34662. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34663. "type": "integer"
  34664. },
  34665. "buychargealgorithmvalue": {
  34666. "description": "买方手续费设置值(交易所部分)",
  34667. "type": "number"
  34668. },
  34669. "buychargealgorithmvalue2": {
  34670. "description": "买方手续费设置值(会员部分)",
  34671. "type": "number"
  34672. },
  34673. "buychargealgorithmvalue3": {
  34674. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34675. "type": "number"
  34676. },
  34677. "buychargealgorithmvalue4": {
  34678. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34679. "type": "number"
  34680. },
  34681. "buyfirstmarginalgorithm": {
  34682. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34683. "type": "integer"
  34684. },
  34685. "buyfirstmarginvalue": {
  34686. "description": "买方出价保证金设置值 - [竞拍]",
  34687. "type": "number"
  34688. },
  34689. "buymarginalgorithm": {
  34690. "description": "买方保证金方式 - 1:比率 2:固定",
  34691. "type": "integer"
  34692. },
  34693. "buymarginvalue": {
  34694. "description": "买方保证金设置值",
  34695. "type": "number"
  34696. },
  34697. "buyreleaseratio": {
  34698. "description": "买方释放比率[2:分步履约]",
  34699. "type": "number"
  34700. },
  34701. "executemode": {
  34702. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34703. "type": "integer"
  34704. },
  34705. "executeside": {
  34706. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34707. "type": "integer"
  34708. },
  34709. "failedchargealgorithm": {
  34710. "description": "流拍手续费收取方式 1:比率 2:固定",
  34711. "type": "integer"
  34712. },
  34713. "failedchargevalue": {
  34714. "description": "流拍手续费设置值",
  34715. "type": "number"
  34716. },
  34717. "failedchargevalue2": {
  34718. "description": "流拍卖方手续费设置值",
  34719. "type": "number"
  34720. },
  34721. "holddays": {
  34722. "description": "合同期限[2:分步履约]",
  34723. "type": "integer"
  34724. },
  34725. "marketid": {
  34726. "description": "市场ID-仓单贸易、竞拍、预售",
  34727. "type": "integer"
  34728. },
  34729. "minqty": {
  34730. "description": "最小执行量[2:分步履约]",
  34731. "type": "number"
  34732. },
  34733. "modifierid": {
  34734. "description": "修改人",
  34735. "type": "integer"
  34736. },
  34737. "performancetempid": {
  34738. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34739. "type": "integer"
  34740. },
  34741. "performancetempid2": {
  34742. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34743. "type": "integer"
  34744. },
  34745. "performanceway": {
  34746. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34747. "type": "integer"
  34748. },
  34749. "sellchargealgorithm": {
  34750. "description": "卖方手续费收取方式 1:比率 2:固定",
  34751. "type": "integer"
  34752. },
  34753. "sellchargealgorithm2": {
  34754. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34755. "type": "integer"
  34756. },
  34757. "sellchargealgorithmvalue": {
  34758. "description": "卖方手续费设置值(交易所部分)",
  34759. "type": "number"
  34760. },
  34761. "sellchargealgorithmvalue2": {
  34762. "description": "卖方手续费设置值(会员部分)",
  34763. "type": "number"
  34764. },
  34765. "sellchargealgorithmvalue3": {
  34766. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34767. "type": "number"
  34768. },
  34769. "sellchargealgorithmvalue4": {
  34770. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34771. "type": "number"
  34772. },
  34773. "sellmarginalgorithm": {
  34774. "description": "卖方保证金方式 - 1:比率 2:固定",
  34775. "type": "integer"
  34776. },
  34777. "sellmarginvalue": {
  34778. "description": "卖方保证金设置值",
  34779. "type": "number"
  34780. },
  34781. "sellmarginvalue2": {
  34782. "description": "卖方保证金设置值(无仓单)",
  34783. "type": "number"
  34784. },
  34785. "sellreleaseratio": {
  34786. "description": "卖方释放比率[2:分步履约]",
  34787. "type": "number"
  34788. },
  34789. "updatetime": {
  34790. "description": "更新时间",
  34791. "type": "string"
  34792. }
  34793. }
  34794. },
  34795. "models.WrOrderDetail": {
  34796. "type": "object",
  34797. "properties": {
  34798. "accountid": {
  34799. "description": "交易账号(资金账号)",
  34800. "type": "integer"
  34801. },
  34802. "allfriendsflag": {
  34803. "description": "是否全好友可见 - 0:否 1:是",
  34804. "type": "integer"
  34805. },
  34806. "amount": {
  34807. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34808. "type": "number"
  34809. },
  34810. "buyorsell": {
  34811. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34812. "type": "integer"
  34813. },
  34814. "canbargain": {
  34815. "description": "是否可议价 - 0:不可 1:可",
  34816. "type": "integer"
  34817. },
  34818. "cancelqty": {
  34819. "description": "撤销数量",
  34820. "type": "number"
  34821. },
  34822. "canpart": {
  34823. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34824. "type": "integer"
  34825. },
  34826. "delistminqty": {
  34827. "description": "起摘数量",
  34828. "type": "integer"
  34829. },
  34830. "deliverygoodscode": {
  34831. "description": "品种代码",
  34832. "type": "string"
  34833. },
  34834. "deliverygoodsid": {
  34835. "description": "品种ID",
  34836. "type": "integer"
  34837. },
  34838. "deliverygoodsname": {
  34839. "description": "品种名称",
  34840. "type": "string"
  34841. },
  34842. "deliverymonth": {
  34843. "description": "交收月",
  34844. "type": "string"
  34845. },
  34846. "enumdicname": {
  34847. "description": "单位名称",
  34848. "type": "string"
  34849. },
  34850. "fixedprice": {
  34851. "description": "固定价格 - [挂牌]",
  34852. "type": "number"
  34853. },
  34854. "freezemargin": {
  34855. "description": "冻结保证金(保证金)",
  34856. "type": "number"
  34857. },
  34858. "futupricemove": {
  34859. "description": "期货升贴水",
  34860. "type": "number"
  34861. },
  34862. "futushow": {
  34863. "description": "期货合约/升贴水",
  34864. "type": "string"
  34865. },
  34866. "goodscode": {
  34867. "description": "期货合约",
  34868. "type": "string"
  34869. },
  34870. "goodsid": {
  34871. "description": "期货商品id",
  34872. "type": "integer"
  34873. },
  34874. "goodsname": {
  34875. "description": "商品名称",
  34876. "type": "string"
  34877. },
  34878. "haswr": {
  34879. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34880. "type": "integer"
  34881. },
  34882. "isspecified": {
  34883. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34884. "type": "integer"
  34885. },
  34886. "ladingbillid": {
  34887. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34888. "type": "string"
  34889. },
  34890. "marginvalue": {
  34891. "description": "保证金设置值(履约保证金)",
  34892. "type": "number"
  34893. },
  34894. "marketid": {
  34895. "description": "市场ID",
  34896. "type": "integer"
  34897. },
  34898. "matchusername": {
  34899. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34900. "type": "string"
  34901. },
  34902. "minivalue": {
  34903. "description": "现货商品最小变动值",
  34904. "type": "integer"
  34905. },
  34906. "optioncompare": {
  34907. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34908. "type": "string"
  34909. },
  34910. "orderqty": {
  34911. "description": "委托数量",
  34912. "type": "number"
  34913. },
  34914. "ordertime": {
  34915. "description": "委托时间(挂牌时间)",
  34916. "type": "string"
  34917. },
  34918. "performancetemplateid": {
  34919. "description": "履约模板id",
  34920. "type": "integer"
  34921. },
  34922. "pricemove": {
  34923. "description": "升贴水(浮动价时填写) - [挂牌]",
  34924. "type": "number"
  34925. },
  34926. "taname": {
  34927. "description": "交易用户名称(资金账号名称)",
  34928. "type": "string"
  34929. },
  34930. "tradedate": {
  34931. "description": "交易日(yyyyMMdd)",
  34932. "type": "string"
  34933. },
  34934. "tradeprice": {
  34935. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34936. "type": "number"
  34937. },
  34938. "tradeqty": {
  34939. "description": "成交数量",
  34940. "type": "number"
  34941. },
  34942. "userid": {
  34943. "description": "用户ID",
  34944. "type": "integer"
  34945. },
  34946. "validtime": {
  34947. "description": "挂牌有效期",
  34948. "type": "string"
  34949. },
  34950. "warehouseid": {
  34951. "description": "仓库ID",
  34952. "type": "integer"
  34953. },
  34954. "warehousename": {
  34955. "description": "仓库名称",
  34956. "type": "string"
  34957. },
  34958. "wrfactortypeid": {
  34959. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34960. "type": "string"
  34961. },
  34962. "wrfactortypename": {
  34963. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34964. "type": "string"
  34965. },
  34966. "wrpricetype": {
  34967. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34968. "type": "integer"
  34969. },
  34970. "wrstandardcode": {
  34971. "description": "现货商品代码",
  34972. "type": "string"
  34973. },
  34974. "wrstandardid": {
  34975. "description": "现货商品ID",
  34976. "type": "integer"
  34977. },
  34978. "wrstandardname": {
  34979. "description": "商品名称",
  34980. "type": "string"
  34981. },
  34982. "wrtradeorderid": {
  34983. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34984. "type": "string"
  34985. },
  34986. "wrtradeorderstatus": {
  34987. "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:撤单解冻贷款失败",
  34988. "type": "integer"
  34989. },
  34990. "wrtradetype": {
  34991. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34992. "type": "integer"
  34993. },
  34994. "wrtypename": {
  34995. "description": "商品",
  34996. "type": "string"
  34997. }
  34998. }
  34999. },
  35000. "models.WrOrderQuote": {
  35001. "type": "object",
  35002. "properties": {
  35003. "buyprice": {
  35004. "description": "买价",
  35005. "type": "number"
  35006. },
  35007. "buypricemove": {
  35008. "description": "买升贴水(基差)",
  35009. "type": "number"
  35010. },
  35011. "buyqty": {
  35012. "description": "买量",
  35013. "type": "number"
  35014. },
  35015. "deliverygoodscode": {
  35016. "description": "品种代码",
  35017. "type": "string"
  35018. },
  35019. "deliverygoodsid": {
  35020. "description": "品种id",
  35021. "type": "integer"
  35022. },
  35023. "deliverygoodsname": {
  35024. "description": "品种名称",
  35025. "type": "string"
  35026. },
  35027. "deliverymonth": {
  35028. "description": "交收月",
  35029. "type": "string"
  35030. },
  35031. "enumdicname": {
  35032. "description": "单位名称",
  35033. "type": "string"
  35034. },
  35035. "goodscode": {
  35036. "description": "商品合约(浮动价列表才有)",
  35037. "type": "string"
  35038. },
  35039. "goodsid": {
  35040. "description": "商品id(浮动价列表才有)",
  35041. "type": "integer"
  35042. },
  35043. "minivalue": {
  35044. "description": "现货商品最小变动值",
  35045. "type": "integer"
  35046. },
  35047. "sellprice": {
  35048. "description": "卖价",
  35049. "type": "number"
  35050. },
  35051. "sellpricemove": {
  35052. "description": "卖升贴水(基差)",
  35053. "type": "number"
  35054. },
  35055. "sellqty": {
  35056. "description": "卖量",
  35057. "type": "number"
  35058. },
  35059. "warehousecode": {
  35060. "description": "仓库代码",
  35061. "type": "string"
  35062. },
  35063. "warehouseid": {
  35064. "description": "仓库id",
  35065. "type": "integer"
  35066. },
  35067. "warehousename": {
  35068. "description": "仓库名称",
  35069. "type": "string"
  35070. },
  35071. "wrfactortypeid": {
  35072. "description": "仓单要素id",
  35073. "type": "string"
  35074. },
  35075. "wrfactortypename": {
  35076. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35077. "type": "string"
  35078. },
  35079. "wrgoodsname": {
  35080. "description": "商品(商品名称+仓库要素名称 拼接)",
  35081. "type": "string"
  35082. },
  35083. "wrstandardcode": {
  35084. "description": "商品代码",
  35085. "type": "string"
  35086. },
  35087. "wrstandardid": {
  35088. "description": "商品id",
  35089. "type": "integer"
  35090. },
  35091. "wrstandardname": {
  35092. "description": "商品名称",
  35093. "type": "string"
  35094. }
  35095. }
  35096. },
  35097. "models.WrOrderQuoteDetail": {
  35098. "type": "object",
  35099. "properties": {
  35100. "buyorsell": {
  35101. "description": "买卖 - 0:买 1:卖",
  35102. "type": "integer"
  35103. },
  35104. "delistminqty": {
  35105. "description": "起摘数量",
  35106. "type": "number"
  35107. },
  35108. "deliverymonth": {
  35109. "description": "交收月",
  35110. "type": "string"
  35111. },
  35112. "enumdicname": {
  35113. "description": "单位名称",
  35114. "type": "string"
  35115. },
  35116. "fixedprice": {
  35117. "description": "买(卖)价",
  35118. "type": "number"
  35119. },
  35120. "minivalue": {
  35121. "description": "现货商品最小变动值",
  35122. "type": "integer"
  35123. },
  35124. "orderqty": {
  35125. "description": "买(卖)量(=委托量-成交量)",
  35126. "type": "number"
  35127. },
  35128. "ordertime": {
  35129. "description": "委托时间",
  35130. "type": "string"
  35131. },
  35132. "pricemove": {
  35133. "description": "买(卖)升贴水- 基差",
  35134. "type": "number"
  35135. },
  35136. "userid": {
  35137. "description": "购买方(销售方)用户ID",
  35138. "type": "integer"
  35139. },
  35140. "username": {
  35141. "description": "购买方(销售方)",
  35142. "type": "string"
  35143. },
  35144. "wrtradeorderid": {
  35145. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35146. "type": "string"
  35147. }
  35148. }
  35149. },
  35150. "models.WrOutInApply": {
  35151. "type": "object",
  35152. "properties": {
  35153. "applyid": {
  35154. "description": "申请单id",
  35155. "type": "string"
  35156. },
  35157. "applystatus": {
  35158. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35159. "type": "integer"
  35160. },
  35161. "applytime": {
  35162. "description": "申请时间",
  35163. "type": "string"
  35164. },
  35165. "applytype": {
  35166. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35167. "type": "integer"
  35168. },
  35169. "deliverygoodscode": {
  35170. "description": "品种代码",
  35171. "type": "string"
  35172. },
  35173. "deliverygoodsid": {
  35174. "description": "品种ID",
  35175. "type": "integer"
  35176. },
  35177. "deliverygoodsname": {
  35178. "description": "品种名称",
  35179. "type": "string"
  35180. },
  35181. "enumdicname": {
  35182. "description": "单位名称",
  35183. "type": "string"
  35184. },
  35185. "expresscompany": {
  35186. "description": "物流公司",
  35187. "type": "string"
  35188. },
  35189. "expressnum": {
  35190. "description": "物流单号",
  35191. "type": "string"
  35192. },
  35193. "minivalue": {
  35194. "description": "现货商品最小变动值",
  35195. "type": "integer"
  35196. },
  35197. "optioncompare": {
  35198. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35199. "type": "string"
  35200. },
  35201. "qty": {
  35202. "description": "数量",
  35203. "type": "integer"
  35204. },
  35205. "userid": {
  35206. "description": "用户id",
  35207. "type": "integer"
  35208. },
  35209. "warehouseid": {
  35210. "description": "仓库ID",
  35211. "type": "integer"
  35212. },
  35213. "warehousename": {
  35214. "description": "仓库名称",
  35215. "type": "string"
  35216. },
  35217. "wrfactortypeid": {
  35218. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35219. "type": "string"
  35220. },
  35221. "wrfactortypename": {
  35222. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35223. "type": "string"
  35224. },
  35225. "wrstandardcode": {
  35226. "description": "现货商品代码",
  35227. "type": "string"
  35228. },
  35229. "wrstandardid": {
  35230. "description": "现货商品ID",
  35231. "type": "integer"
  35232. },
  35233. "wrstandardname": {
  35234. "description": "商品名称",
  35235. "type": "string"
  35236. },
  35237. "wrtypename": {
  35238. "description": "商品",
  35239. "type": "string"
  35240. }
  35241. }
  35242. },
  35243. "models.WrPerformancePlan": {
  35244. "type": "object",
  35245. "required": [
  35246. "userid"
  35247. ],
  35248. "properties": {
  35249. "activatemonth": {
  35250. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35251. "type": "string"
  35252. },
  35253. "amount": {
  35254. "description": "履约金额(总金额)",
  35255. "type": "number"
  35256. },
  35257. "buyaccountid": {
  35258. "description": "买方账号",
  35259. "type": "integer"
  35260. },
  35261. "buyerfreezeamount": {
  35262. "description": "履约冻结(买履约)",
  35263. "type": "number"
  35264. },
  35265. "buyerfreezeamountremain": {
  35266. "description": "履约冻结剩余(买履约)",
  35267. "type": "number"
  35268. },
  35269. "buyorsell": {
  35270. "description": "买卖方向 0-买 1-卖",
  35271. "type": "integer"
  35272. },
  35273. "buypaidamount": {
  35274. "description": "买方已冻/已扣金额 (已付金额)",
  35275. "type": "number"
  35276. },
  35277. "buyusername": {
  35278. "description": "买方名字",
  35279. "type": "string"
  35280. },
  35281. "contractid": {
  35282. "description": "合同ID",
  35283. "type": "integer"
  35284. },
  35285. "createtime": {
  35286. "description": "创建时间",
  35287. "type": "string"
  35288. },
  35289. "creatorid": {
  35290. "description": "创建人",
  35291. "type": "integer"
  35292. },
  35293. "curstepdeadline": {
  35294. "description": "当前步骤到期时间",
  35295. "type": "string"
  35296. },
  35297. "curstepid": {
  35298. "description": "当前步骤ID",
  35299. "type": "string"
  35300. },
  35301. "curstepname": {
  35302. "description": "当前步骤名称",
  35303. "type": "string"
  35304. },
  35305. "deliverygoodscode": {
  35306. "description": "品种代码",
  35307. "type": "string"
  35308. },
  35309. "deliverygoodsid": {
  35310. "description": "品种ID",
  35311. "type": "integer"
  35312. },
  35313. "deliverygoodsname": {
  35314. "description": "品种名称",
  35315. "type": "string"
  35316. },
  35317. "enumdicname": {
  35318. "description": "单位名称",
  35319. "type": "string"
  35320. },
  35321. "expressfee": {
  35322. "description": "运费",
  35323. "type": "number"
  35324. },
  35325. "expressfeeconfirmed": {
  35326. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35327. "type": "integer"
  35328. },
  35329. "hasovershort": {
  35330. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35331. "type": "integer"
  35332. },
  35333. "haswr": {
  35334. "description": "类型 0-仓单预售 1-仓单贸易",
  35335. "type": "integer"
  35336. },
  35337. "marketid": {
  35338. "description": "市场ID",
  35339. "type": "integer"
  35340. },
  35341. "middleaccountid": {
  35342. "description": "中间商资金账号ID",
  35343. "type": "integer"
  35344. },
  35345. "middleuserid": {
  35346. "description": "中间商用户ID",
  35347. "type": "integer"
  35348. },
  35349. "minivalue": {
  35350. "description": "现货商品最小变动值",
  35351. "type": "integer"
  35352. },
  35353. "optioncompare": {
  35354. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35355. "type": "string"
  35356. },
  35357. "overshortamount": {
  35358. "description": "溢短金额",
  35359. "type": "number"
  35360. },
  35361. "overshortqty": {
  35362. "description": "溢短数量",
  35363. "type": "number"
  35364. },
  35365. "paymenttype": {
  35366. "description": "付款方式 - 1:冻结 2:扣款",
  35367. "type": "integer"
  35368. },
  35369. "performanceplanid": {
  35370. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35371. "type": "string"
  35372. },
  35373. "performancestatus": {
  35374. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35375. "type": "integer"
  35376. },
  35377. "performancetype": {
  35378. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35379. "type": "integer"
  35380. },
  35381. "qty": {
  35382. "description": "履约数量",
  35383. "type": "number"
  35384. },
  35385. "relatedorderid": {
  35386. "description": "关联单号(履约类型的关联单号)",
  35387. "type": "string"
  35388. },
  35389. "remark": {
  35390. "description": "备注",
  35391. "type": "string"
  35392. },
  35393. "sellaccountid": {
  35394. "description": "卖方账号",
  35395. "type": "integer"
  35396. },
  35397. "sellerfreezeamount": {
  35398. "description": "履约冻结(卖履约)",
  35399. "type": "number"
  35400. },
  35401. "sellerfreezeamountremain": {
  35402. "description": "履约冻结剩余(卖履约)",
  35403. "type": "number"
  35404. },
  35405. "sellreceivedamount": {
  35406. "description": "卖方已收金额",
  35407. "type": "number"
  35408. },
  35409. "sellusername": {
  35410. "description": "卖方名字",
  35411. "type": "string"
  35412. },
  35413. "shipremark": {
  35414. "description": "发货备注[物流单号]",
  35415. "type": "string"
  35416. },
  35417. "starttime": {
  35418. "description": "开始时间",
  35419. "type": "string"
  35420. },
  35421. "steptypeid": {
  35422. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35423. "type": "integer"
  35424. },
  35425. "typename": {
  35426. "description": "履约类型 名称",
  35427. "type": "string"
  35428. },
  35429. "unpaidamount": {
  35430. "description": "剩余款(待支付金额)",
  35431. "type": "number"
  35432. },
  35433. "userid": {
  35434. "description": "用户id",
  35435. "type": "integer"
  35436. },
  35437. "warehouseid": {
  35438. "description": "仓库ID",
  35439. "type": "integer"
  35440. },
  35441. "warehousename": {
  35442. "description": "仓库名称",
  35443. "type": "string"
  35444. },
  35445. "wrfactortypeid": {
  35446. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35447. "type": "string"
  35448. },
  35449. "wrfactortypename": {
  35450. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35451. "type": "string"
  35452. },
  35453. "wrstandardcode": {
  35454. "description": "现货商品代码",
  35455. "type": "string"
  35456. },
  35457. "wrstandardid": {
  35458. "description": "现货商品ID",
  35459. "type": "integer"
  35460. },
  35461. "wrstandardname": {
  35462. "description": "商品名称",
  35463. "type": "string"
  35464. },
  35465. "wrtransferuserid": {
  35466. "description": "仓单受让用户",
  35467. "type": "integer"
  35468. },
  35469. "wrtypename": {
  35470. "description": "商品",
  35471. "type": "string"
  35472. }
  35473. }
  35474. },
  35475. "models.WrPerformancePlanStep": {
  35476. "type": "object",
  35477. "properties": {
  35478. "delaydays": {
  35479. "description": "延期申请天数",
  35480. "type": "integer"
  35481. },
  35482. "deliverygoodscode": {
  35483. "description": "品种代码",
  35484. "type": "string"
  35485. },
  35486. "deliverygoodsid": {
  35487. "description": "品种ID",
  35488. "type": "integer"
  35489. },
  35490. "deliverygoodsname": {
  35491. "description": "品种名称",
  35492. "type": "string"
  35493. },
  35494. "endtime": {
  35495. "description": "结束日期",
  35496. "type": "string"
  35497. },
  35498. "enumdicname": {
  35499. "description": "单位名称",
  35500. "type": "string"
  35501. },
  35502. "executeside": {
  35503. "description": "步骤执行方 - 1:买方 2:卖方",
  35504. "type": "integer"
  35505. },
  35506. "handlestatus": {
  35507. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35508. "type": "integer"
  35509. },
  35510. "isauto": {
  35511. "description": "是否自动 - 0:不自动 1:自动",
  35512. "type": "integer"
  35513. },
  35514. "islastreceivestep": {
  35515. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35516. "type": "integer"
  35517. },
  35518. "minivalue": {
  35519. "description": "现货商品最小变动值",
  35520. "type": "integer"
  35521. },
  35522. "optioncompare": {
  35523. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35524. "type": "string"
  35525. },
  35526. "overdays": {
  35527. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35528. "type": "integer"
  35529. },
  35530. "performancestepid": {
  35531. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35532. "type": "string"
  35533. },
  35534. "planid": {
  35535. "description": "所属履约计划ID",
  35536. "type": "string"
  35537. },
  35538. "realamount": {
  35539. "description": "实际完成金额",
  35540. "type": "number"
  35541. },
  35542. "relatedorderid": {
  35543. "description": "关联单号",
  35544. "type": "string"
  35545. },
  35546. "remaindays": {
  35547. "description": "剩余天数",
  35548. "type": "integer"
  35549. },
  35550. "remark": {
  35551. "description": "错误备注",
  35552. "type": "string"
  35553. },
  35554. "starttime": {
  35555. "description": "开始日期",
  35556. "type": "string"
  35557. },
  35558. "stepamount": {
  35559. "description": "步骤金额",
  35560. "type": "number"
  35561. },
  35562. "stepdays": {
  35563. "description": "距离上一步天数(分钟)",
  35564. "type": "integer"
  35565. },
  35566. "stepindex": {
  35567. "description": "步骤序号",
  35568. "type": "integer"
  35569. },
  35570. "steplanchtype": {
  35571. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35572. "type": "integer"
  35573. },
  35574. "stepremark": {
  35575. "description": "步骤备注",
  35576. "type": "string"
  35577. },
  35578. "stepstatus": {
  35579. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35580. "type": "integer"
  35581. },
  35582. "steptypeid": {
  35583. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35584. "type": "integer"
  35585. },
  35586. "steptypename": {
  35587. "description": "步骤名称",
  35588. "type": "string"
  35589. },
  35590. "stepvalue": {
  35591. "description": "步骤值",
  35592. "type": "number"
  35593. },
  35594. "warehouseid": {
  35595. "description": "仓库ID",
  35596. "type": "integer"
  35597. },
  35598. "warehousename": {
  35599. "description": "仓库名称",
  35600. "type": "string"
  35601. },
  35602. "wrfactortypeid": {
  35603. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35604. "type": "string"
  35605. },
  35606. "wrfactortypename": {
  35607. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35608. "type": "string"
  35609. },
  35610. "wrstandardcode": {
  35611. "description": "现货商品代码",
  35612. "type": "string"
  35613. },
  35614. "wrstandardid": {
  35615. "description": "现货商品ID",
  35616. "type": "integer"
  35617. },
  35618. "wrstandardname": {
  35619. "description": "商品名称",
  35620. "type": "string"
  35621. },
  35622. "wrtypename": {
  35623. "description": "商品",
  35624. "type": "string"
  35625. }
  35626. }
  35627. },
  35628. "models.WrPerformanceStepType": {
  35629. "type": "object",
  35630. "properties": {
  35631. "canauto": {
  35632. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35633. "type": "integer"
  35634. },
  35635. "steptypeid": {
  35636. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35637. "type": "integer"
  35638. },
  35639. "steptypename": {
  35640. "description": "步骤类型名称",
  35641. "type": "string"
  35642. }
  35643. }
  35644. },
  35645. "models.WrPerformanceTemplateEx": {
  35646. "type": "object",
  35647. "properties": {
  35648. "autoid": {
  35649. "description": "AutoID 模板id",
  35650. "type": "integer"
  35651. },
  35652. "createtime": {
  35653. "description": "创建时间",
  35654. "type": "string"
  35655. },
  35656. "creatorid": {
  35657. "description": "创建人",
  35658. "type": "integer"
  35659. },
  35660. "lstStep": {
  35661. "description": "步骤信息列表",
  35662. "type": "array",
  35663. "items": {
  35664. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35665. }
  35666. },
  35667. "paymenttype": {
  35668. "description": "支付方式 - 1:冻结 2:扣款",
  35669. "type": "integer"
  35670. },
  35671. "takemode": {
  35672. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35673. "type": "integer"
  35674. },
  35675. "templatename": {
  35676. "description": "模板名称",
  35677. "type": "string"
  35678. },
  35679. "templatetype": {
  35680. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35681. "type": "integer"
  35682. },
  35683. "userid": {
  35684. "description": "所属用户",
  35685. "type": "integer"
  35686. }
  35687. }
  35688. },
  35689. "models.WrPosition": {
  35690. "type": "object",
  35691. "properties": {
  35692. "accountid": {
  35693. "description": "帐户ID",
  35694. "type": "integer"
  35695. },
  35696. "buyexcuteqty": {
  35697. "description": "采购履约中数量",
  35698. "type": "number"
  35699. },
  35700. "creditcurqty": {
  35701. "description": "授信当前数量(预售仓单:预售当前量)",
  35702. "type": "number"
  35703. },
  35704. "creditenableqty": {
  35705. "description": "授信可用数量(预售仓单: 可用数量)",
  35706. "type": "number"
  35707. },
  35708. "creditfreezeqty": {
  35709. "description": "授信冻结数量(预售仓单: 当前数量)",
  35710. "type": "number"
  35711. },
  35712. "credittotalqty": {
  35713. "description": "授信总数量(预售仓单:预售总量)",
  35714. "type": "number"
  35715. },
  35716. "credittradeqty": {
  35717. "description": "授信成交数量(预售仓单:成交总量)",
  35718. "type": "number"
  35719. },
  35720. "deliverygoodscode": {
  35721. "description": "品种代码",
  35722. "type": "string"
  35723. },
  35724. "deliverygoodsid": {
  35725. "description": "品种ID",
  35726. "type": "integer"
  35727. },
  35728. "deliverygoodsname": {
  35729. "description": "品种名称",
  35730. "type": "string"
  35731. },
  35732. "enalbeqty": {
  35733. "description": "可用数量",
  35734. "type": "number"
  35735. },
  35736. "enumdicname": {
  35737. "description": "单位名称",
  35738. "type": "string"
  35739. },
  35740. "freezeqty": {
  35741. "description": "总冻结数量",
  35742. "type": "number"
  35743. },
  35744. "haswr": {
  35745. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35746. "type": "integer"
  35747. },
  35748. "minivalue": {
  35749. "description": "现货商品最小变动值",
  35750. "type": "integer"
  35751. },
  35752. "modifytime": {
  35753. "description": "修改时间(过户时间)",
  35754. "type": "string"
  35755. },
  35756. "optioncompare": {
  35757. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35758. "type": "string"
  35759. },
  35760. "pledgeqty": {
  35761. "description": "质押数量",
  35762. "type": "number"
  35763. },
  35764. "querytype": {
  35765. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35766. "type": "integer"
  35767. },
  35768. "sellexcuteqty": {
  35769. "description": "销售履约中数量",
  35770. "type": "number"
  35771. },
  35772. "totalqty": {
  35773. "description": "总数量(库存数量)",
  35774. "type": "number"
  35775. },
  35776. "warehouseid": {
  35777. "description": "仓库ID",
  35778. "type": "integer"
  35779. },
  35780. "warehousename": {
  35781. "description": "仓库名称",
  35782. "type": "string"
  35783. },
  35784. "wrfactortypeid": {
  35785. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35786. "type": "string"
  35787. },
  35788. "wrfactortypename": {
  35789. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35790. "type": "string"
  35791. },
  35792. "wrpositionid": {
  35793. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35794. "type": "string"
  35795. },
  35796. "wrpositionno": {
  35797. "description": "仓单编号",
  35798. "type": "string"
  35799. },
  35800. "wrstandardcode": {
  35801. "description": "现货商品代码",
  35802. "type": "string"
  35803. },
  35804. "wrstandardid": {
  35805. "description": "现货商品ID",
  35806. "type": "integer"
  35807. },
  35808. "wrstandardname": {
  35809. "description": "商品名称",
  35810. "type": "string"
  35811. },
  35812. "wrtypename": {
  35813. "description": "商品",
  35814. "type": "string"
  35815. },
  35816. "wruserid": {
  35817. "description": "持有人ID",
  35818. "type": "integer"
  35819. }
  35820. }
  35821. },
  35822. "models.WrQuoteOrderMyq": {
  35823. "type": "object",
  35824. "properties": {
  35825. "buyorsell": {
  35826. "description": "买卖 - 0:买 1:卖",
  35827. "type": "integer"
  35828. },
  35829. "canbargain": {
  35830. "description": "是否可议价 - 0:不可 1:可",
  35831. "type": "integer"
  35832. },
  35833. "canpart": {
  35834. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35835. "type": "integer"
  35836. },
  35837. "delistminqty": {
  35838. "description": "起摘数量",
  35839. "type": "number"
  35840. },
  35841. "deliverygoodscode": {
  35842. "description": "品种代码",
  35843. "type": "string"
  35844. },
  35845. "deliverygoodsid": {
  35846. "description": "品种ID",
  35847. "type": "integer"
  35848. },
  35849. "deliverygoodsname": {
  35850. "description": "品种名称",
  35851. "type": "string"
  35852. },
  35853. "deliverymonth": {
  35854. "description": "交收月",
  35855. "type": "string"
  35856. },
  35857. "enumdicname": {
  35858. "description": "单位名称",
  35859. "type": "string"
  35860. },
  35861. "fixedprice": {
  35862. "description": "买(卖)价",
  35863. "type": "number"
  35864. },
  35865. "goodscode": {
  35866. "description": "商品合约代码",
  35867. "type": "string"
  35868. },
  35869. "marginflag": {
  35870. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35871. "type": "integer"
  35872. },
  35873. "marginvalue": {
  35874. "description": "保证金设置值",
  35875. "type": "number"
  35876. },
  35877. "minivalue": {
  35878. "description": "现货商品最小变动值",
  35879. "type": "integer"
  35880. },
  35881. "orderqty": {
  35882. "description": "买(卖)量(=委托量-成交量)",
  35883. "type": "number"
  35884. },
  35885. "ordertime": {
  35886. "description": "委托时间",
  35887. "type": "string"
  35888. },
  35889. "performancetemplateid": {
  35890. "description": "履约模板id",
  35891. "type": "integer"
  35892. },
  35893. "pricemove": {
  35894. "description": "买(卖)升贴水- 基差",
  35895. "type": "number"
  35896. },
  35897. "templatename": {
  35898. "description": "履约模板名称",
  35899. "type": "string"
  35900. },
  35901. "userid": {
  35902. "description": "购买方(销售方)用户ID",
  35903. "type": "integer"
  35904. },
  35905. "username": {
  35906. "description": "购买方(销售方)",
  35907. "type": "string"
  35908. },
  35909. "validtime": {
  35910. "description": "有效期限",
  35911. "type": "string"
  35912. },
  35913. "validtype": {
  35914. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35915. "type": "integer"
  35916. },
  35917. "warehousename": {
  35918. "description": "仓库名称",
  35919. "type": "string"
  35920. },
  35921. "wrfactortypeid": {
  35922. "description": "仓单要素id",
  35923. "type": "string"
  35924. },
  35925. "wrstandardcode": {
  35926. "description": "现货商品代码",
  35927. "type": "string"
  35928. },
  35929. "wrstandardid": {
  35930. "description": "现货商品ID",
  35931. "type": "integer"
  35932. },
  35933. "wrstandardname": {
  35934. "description": "商品名称",
  35935. "type": "string"
  35936. },
  35937. "wrtradeorderid": {
  35938. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35939. "type": "string"
  35940. },
  35941. "wrtypename": {
  35942. "description": "商品",
  35943. "type": "string"
  35944. }
  35945. }
  35946. },
  35947. "models.WrScfContract": {
  35948. "type": "object",
  35949. "properties": {
  35950. "borroweruserid": {
  35951. "description": "借款用户ID",
  35952. "type": "integer"
  35953. },
  35954. "buybackwrpositionqty": {
  35955. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35956. "type": "number"
  35957. },
  35958. "closeinterest": {
  35959. "description": "已结利息 -\u003e 已结费用",
  35960. "type": "number"
  35961. },
  35962. "currisklevel": {
  35963. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35964. "type": "integer"
  35965. },
  35966. "deadline": {
  35967. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35968. "type": "string"
  35969. },
  35970. "deliverygoodscode": {
  35971. "description": "品种代码",
  35972. "type": "string"
  35973. },
  35974. "deliverygoodsid": {
  35975. "description": "品种ID",
  35976. "type": "integer"
  35977. },
  35978. "deliverygoodsname": {
  35979. "description": "品种名称",
  35980. "type": "string"
  35981. },
  35982. "enumdicname": {
  35983. "description": "单位名称",
  35984. "type": "string"
  35985. },
  35986. "financingdays": {
  35987. "description": "天数(天)",
  35988. "type": "integer"
  35989. },
  35990. "initmargin": {
  35991. "description": "保证金 - [仓单回购]",
  35992. "type": "number"
  35993. },
  35994. "interestamount": {
  35995. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35996. "type": "number"
  35997. },
  35998. "interestdebt": {
  35999. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36000. "type": "number"
  36001. },
  36002. "interestminlen": {
  36003. "description": "最小起息天数",
  36004. "type": "integer"
  36005. },
  36006. "interestrate": {
  36007. "description": "利率",
  36008. "type": "number"
  36009. },
  36010. "interestratemode": {
  36011. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36012. "type": "integer"
  36013. },
  36014. "interestsettlemode": {
  36015. "description": "结息方式 - 1:按日结息 3:按月结息",
  36016. "type": "integer"
  36017. },
  36018. "interestsettlevalue": {
  36019. "description": "结息方式值",
  36020. "type": "integer"
  36021. },
  36022. "isautoloan": {
  36023. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36024. "type": "integer"
  36025. },
  36026. "lastcloseinterestday": {
  36027. "description": "最近结息日(yyyyMMdd)",
  36028. "type": "string"
  36029. },
  36030. "lenderamount": {
  36031. "description": "贷款金额 -\u003e 借款金额",
  36032. "type": "number"
  36033. },
  36034. "lenderuserid": {
  36035. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36036. "type": "integer"
  36037. },
  36038. "lenderusername": {
  36039. "description": "融出方",
  36040. "type": "string"
  36041. },
  36042. "marginratio": {
  36043. "description": "保证金比率质押率 - [仓单质押]",
  36044. "type": "number"
  36045. },
  36046. "marketid": {
  36047. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36048. "type": "integer"
  36049. },
  36050. "minivalue": {
  36051. "description": "现货商品最小变动值",
  36052. "type": "integer"
  36053. },
  36054. "optioncompare": {
  36055. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36056. "type": "string"
  36057. },
  36058. "pricemove": {
  36059. "description": "估值升贴水值",
  36060. "type": "number"
  36061. },
  36062. "productdetailid": {
  36063. "description": "产品组合ID",
  36064. "type": "integer"
  36065. },
  36066. "productid": {
  36067. "description": "金融产品ID",
  36068. "type": "integer"
  36069. },
  36070. "productname": {
  36071. "description": "产品名称",
  36072. "type": "string"
  36073. },
  36074. "remainamount": {
  36075. "description": "合同剩余金额 -\u003e 剩余金额",
  36076. "type": "number"
  36077. },
  36078. "remainwrpositionqty": {
  36079. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36080. "type": "number"
  36081. },
  36082. "remark": {
  36083. "description": "备注",
  36084. "type": "string"
  36085. },
  36086. "scfcontractid": {
  36087. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36088. "type": "string"
  36089. },
  36090. "scfcontractstatus": {
  36091. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36092. "type": "integer"
  36093. },
  36094. "scfcontracttype": {
  36095. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36096. "type": "integer"
  36097. },
  36098. "startinterestday": {
  36099. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36100. "type": "string"
  36101. },
  36102. "totalinterest": {
  36103. "description": "已计利息 -\u003e 已计费用",
  36104. "type": "number"
  36105. },
  36106. "unpaidinterest": {
  36107. "description": "未结费用",
  36108. "type": "number"
  36109. },
  36110. "updatetime": {
  36111. "description": "更新时间",
  36112. "type": "string"
  36113. },
  36114. "warehouseid": {
  36115. "description": "仓库ID",
  36116. "type": "integer"
  36117. },
  36118. "warehousename": {
  36119. "description": "仓库名称",
  36120. "type": "string"
  36121. },
  36122. "wrfactortypeid": {
  36123. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36124. "type": "string"
  36125. },
  36126. "wrfactortypename": {
  36127. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36128. "type": "string"
  36129. },
  36130. "wrqty": {
  36131. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36132. "type": "number"
  36133. },
  36134. "wrstandardcode": {
  36135. "description": "现货商品代码",
  36136. "type": "string"
  36137. },
  36138. "wrstandardid": {
  36139. "description": "现货商品ID",
  36140. "type": "integer"
  36141. },
  36142. "wrstandardname": {
  36143. "description": "商品名称",
  36144. "type": "string"
  36145. },
  36146. "wrtypename": {
  36147. "description": "商品",
  36148. "type": "string"
  36149. }
  36150. }
  36151. },
  36152. "models.WrScfContractInterest": {
  36153. "type": "object",
  36154. "properties": {
  36155. "closeinterest": {
  36156. "description": "已结利息",
  36157. "type": "number"
  36158. },
  36159. "closeintereststatus": {
  36160. "description": "结息状态 - 1:未结 2:已结",
  36161. "type": "integer"
  36162. },
  36163. "closetime": {
  36164. "description": "结息时间",
  36165. "type": "string"
  36166. },
  36167. "closetradedate": {
  36168. "description": "结息交易日",
  36169. "type": "string"
  36170. },
  36171. "creatorid": {
  36172. "description": "操作人ID",
  36173. "type": "integer"
  36174. },
  36175. "dayrate": {
  36176. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36177. "type": "number"
  36178. },
  36179. "interest": {
  36180. "description": "利息",
  36181. "type": "number"
  36182. },
  36183. "interestamount": {
  36184. "description": "计息金额",
  36185. "type": "number"
  36186. },
  36187. "interestday": {
  36188. "description": "计息日(yyyyMMdd)",
  36189. "type": "string"
  36190. },
  36191. "scfcontractid": {
  36192. "description": "SCF合同ID",
  36193. "type": "string"
  36194. },
  36195. "scfcontractinterestid": {
  36196. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36197. "type": "integer"
  36198. },
  36199. "updatetime": {
  36200. "description": "更新时间",
  36201. "type": "string"
  36202. }
  36203. }
  36204. },
  36205. "models.WrSiteColumnDetail": {
  36206. "type": "object",
  36207. "properties": {
  36208. "brief": {
  36209. "description": "简介",
  36210. "type": "string"
  36211. },
  36212. "context": {
  36213. "description": "内容",
  36214. "type": "string"
  36215. },
  36216. "coverimage": {
  36217. "description": "封面图片",
  36218. "type": "string"
  36219. },
  36220. "creaedate": {
  36221. "description": "创建时间",
  36222. "type": "string"
  36223. },
  36224. "id": {
  36225. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36226. "type": "integer"
  36227. },
  36228. "istop": {
  36229. "description": "是否置顶 - 0:不置 1:置顶",
  36230. "type": "integer"
  36231. },
  36232. "publishdate": {
  36233. "description": "发布日期",
  36234. "type": "string"
  36235. },
  36236. "title": {
  36237. "description": "标题",
  36238. "type": "string"
  36239. },
  36240. "updatedate": {
  36241. "description": "修改时间",
  36242. "type": "string"
  36243. }
  36244. }
  36245. },
  36246. "models.WrSpecialMatchOrder": {
  36247. "type": "object",
  36248. "properties": {
  36249. "amount": {
  36250. "description": "金额 = 数量 * 价格",
  36251. "type": "number"
  36252. },
  36253. "buyorsell": {
  36254. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36255. "type": "integer"
  36256. },
  36257. "cancelqty": {
  36258. "description": "撤销数量",
  36259. "type": "number"
  36260. },
  36261. "deliverygoodscode": {
  36262. "description": "品种代码",
  36263. "type": "string"
  36264. },
  36265. "deliverygoodsid": {
  36266. "description": "品种ID",
  36267. "type": "integer"
  36268. },
  36269. "deliverygoodsname": {
  36270. "description": "品种名称",
  36271. "type": "string"
  36272. },
  36273. "enumdicname": {
  36274. "description": "单位名称",
  36275. "type": "string"
  36276. },
  36277. "fixedprice": {
  36278. "description": "固定价格(价格)",
  36279. "type": "number"
  36280. },
  36281. "haswr": {
  36282. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36283. "type": "integer"
  36284. },
  36285. "isspecified": {
  36286. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36287. "type": "integer"
  36288. },
  36289. "marketid": {
  36290. "description": "市场ID",
  36291. "type": "integer"
  36292. },
  36293. "matchuserid": {
  36294. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36295. "type": "integer"
  36296. },
  36297. "matchusername": {
  36298. "description": "指定方",
  36299. "type": "string"
  36300. },
  36301. "minivalue": {
  36302. "description": "现货商品最小变动值",
  36303. "type": "integer"
  36304. },
  36305. "optioncompare": {
  36306. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36307. "type": "string"
  36308. },
  36309. "orderqty": {
  36310. "description": "委托数量",
  36311. "type": "number"
  36312. },
  36313. "ordertime": {
  36314. "description": "委托时间",
  36315. "type": "string"
  36316. },
  36317. "pricemove": {
  36318. "description": "升贴水(浮动价时填写) - [挂牌]",
  36319. "type": "number"
  36320. },
  36321. "tradedate": {
  36322. "description": "交易日(yyyyMMdd)",
  36323. "type": "string"
  36324. },
  36325. "tradeprice": {
  36326. "description": "成交价格",
  36327. "type": "number"
  36328. },
  36329. "tradeqty": {
  36330. "description": "成交数量",
  36331. "type": "number"
  36332. },
  36333. "userid": {
  36334. "description": "用户ID",
  36335. "type": "integer"
  36336. },
  36337. "username": {
  36338. "description": "发起方",
  36339. "type": "string"
  36340. },
  36341. "warehouseid": {
  36342. "description": "仓库ID",
  36343. "type": "integer"
  36344. },
  36345. "warehousename": {
  36346. "description": "仓库名称",
  36347. "type": "string"
  36348. },
  36349. "wrfactortypeid": {
  36350. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36351. "type": "string"
  36352. },
  36353. "wrfactortypename": {
  36354. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36355. "type": "string"
  36356. },
  36357. "wrpricetype": {
  36358. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36359. "type": "integer"
  36360. },
  36361. "wrstandardcode": {
  36362. "description": "现货商品代码",
  36363. "type": "string"
  36364. },
  36365. "wrstandardid": {
  36366. "description": "现货商品ID",
  36367. "type": "integer"
  36368. },
  36369. "wrstandardname": {
  36370. "description": "商品名称",
  36371. "type": "string"
  36372. },
  36373. "wrtradeorderid": {
  36374. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36375. "type": "string"
  36376. },
  36377. "wrtradeorderstatus": {
  36378. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36379. "type": "integer"
  36380. },
  36381. "wrtradetype": {
  36382. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36383. "type": "integer"
  36384. },
  36385. "wrtypename": {
  36386. "description": "商品",
  36387. "type": "string"
  36388. }
  36389. }
  36390. },
  36391. "models.WrSpotGroupTradeSum": {
  36392. "type": "object",
  36393. "properties": {
  36394. "deliverygoodscode": {
  36395. "description": "现货品种代码",
  36396. "type": "string"
  36397. },
  36398. "deliverygoodsid": {
  36399. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36400. "type": "integer"
  36401. },
  36402. "deliverygoodsname": {
  36403. "description": "现货品种名称",
  36404. "type": "string"
  36405. },
  36406. "lastavgprice": {
  36407. "description": "上上个交易日价格(前2天价格)",
  36408. "type": "string"
  36409. },
  36410. "lastreckondate": {
  36411. "description": "上上个交易日(前2天交易日)",
  36412. "type": "string"
  36413. },
  36414. "reckondate": {
  36415. "description": "上个交易日(前1天交易日)",
  36416. "type": "string"
  36417. },
  36418. "todayavgprice": {
  36419. "description": "上个交易日价格(前1天价格)",
  36420. "type": "string"
  36421. },
  36422. "updown": {
  36423. "description": "涨跌",
  36424. "type": "string"
  36425. },
  36426. "updownratio": {
  36427. "description": "涨幅(已格式化, 直接显示即可)",
  36428. "type": "string"
  36429. }
  36430. }
  36431. },
  36432. "models.WrSpotGroupTradeSumDetail": {
  36433. "type": "object",
  36434. "properties": {
  36435. "deliverygoodsid": {
  36436. "description": "现货商品id",
  36437. "type": "integer"
  36438. },
  36439. "price": {
  36440. "description": "价格",
  36441. "type": "number"
  36442. },
  36443. "reckondate": {
  36444. "description": "日期(yyymmdd, 如:20211031)",
  36445. "type": "string"
  36446. }
  36447. }
  36448. },
  36449. "models.WrSpotGroupTradeSumEx": {
  36450. "type": "object",
  36451. "properties": {
  36452. "lst": {
  36453. "description": "指数列表",
  36454. "type": "array",
  36455. "items": {
  36456. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36457. }
  36458. },
  36459. "prereckondate": {
  36460. "description": "上上个交易日(yyymmdd)",
  36461. "type": "string"
  36462. },
  36463. "reckondate": {
  36464. "description": "上个交易日(yyyymmdd)",
  36465. "type": "string"
  36466. }
  36467. }
  36468. },
  36469. "models.WrStandardFactoryItem": {
  36470. "type": "object",
  36471. "properties": {
  36472. "dgfactoryitemid": {
  36473. "description": "选择项id",
  36474. "type": "integer"
  36475. },
  36476. "dgfactoryitemvalue": {
  36477. "description": "要素项值",
  36478. "type": "string"
  36479. },
  36480. "warehouseid": {
  36481. "description": "仓库id",
  36482. "type": "integer"
  36483. }
  36484. }
  36485. },
  36486. "models.WrStandardFactoryItemEx": {
  36487. "type": "object",
  36488. "properties": {
  36489. "dgfactoryitemtypeid": {
  36490. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36491. "type": "integer"
  36492. },
  36493. "itemlst": {
  36494. "description": "要素项列表",
  36495. "type": "array",
  36496. "items": {
  36497. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36498. }
  36499. },
  36500. "itemtypename": {
  36501. "description": "要素项类型名称",
  36502. "type": "string"
  36503. },
  36504. "wrstandardid": {
  36505. "description": "品类",
  36506. "type": "integer"
  36507. }
  36508. }
  36509. },
  36510. "models.WrTradeDetail": {
  36511. "type": "object",
  36512. "properties": {
  36513. "accountid": {
  36514. "description": "资金账号",
  36515. "type": "integer"
  36516. },
  36517. "buyorsell": {
  36518. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36519. "type": "integer"
  36520. },
  36521. "chargevalue": {
  36522. "description": "手续费",
  36523. "type": "number"
  36524. },
  36525. "deliverygoodscode": {
  36526. "description": "品种代码",
  36527. "type": "string"
  36528. },
  36529. "deliverygoodsid": {
  36530. "description": "品种ID",
  36531. "type": "integer"
  36532. },
  36533. "deliverygoodsname": {
  36534. "description": "品种名称",
  36535. "type": "string"
  36536. },
  36537. "deliverymonth": {
  36538. "description": "交收月",
  36539. "type": "string"
  36540. },
  36541. "enumdicname": {
  36542. "description": "单位名称",
  36543. "type": "string"
  36544. },
  36545. "haswr": {
  36546. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36547. "type": "integer"
  36548. },
  36549. "marketid": {
  36550. "description": "市场ID",
  36551. "type": "integer"
  36552. },
  36553. "matchaccountid": {
  36554. "description": "对手账号",
  36555. "type": "integer"
  36556. },
  36557. "matchusername": {
  36558. "description": "对手方",
  36559. "type": "string"
  36560. },
  36561. "minivalue": {
  36562. "description": "现货商品最小变动值",
  36563. "type": "integer"
  36564. },
  36565. "optioncompare": {
  36566. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36567. "type": "string"
  36568. },
  36569. "tradedate": {
  36570. "description": "交易日(yyyyMMdd)",
  36571. "type": "string"
  36572. },
  36573. "tradeprice": {
  36574. "description": "成交价格",
  36575. "type": "number"
  36576. },
  36577. "tradeqty": {
  36578. "description": "成交数量",
  36579. "type": "number"
  36580. },
  36581. "tradetime": {
  36582. "description": "成交时间",
  36583. "type": "string"
  36584. },
  36585. "userid": {
  36586. "description": "用户ID",
  36587. "type": "integer"
  36588. },
  36589. "warehouseid": {
  36590. "description": "仓库ID",
  36591. "type": "integer"
  36592. },
  36593. "warehousename": {
  36594. "description": "仓库名称",
  36595. "type": "string"
  36596. },
  36597. "wrfactortypeid": {
  36598. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36599. "type": "string"
  36600. },
  36601. "wrfactortypename": {
  36602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36603. "type": "string"
  36604. },
  36605. "wrstandardcode": {
  36606. "description": "现货商品代码",
  36607. "type": "string"
  36608. },
  36609. "wrstandardid": {
  36610. "description": "现货商品ID",
  36611. "type": "integer"
  36612. },
  36613. "wrstandardname": {
  36614. "description": "商品名称",
  36615. "type": "string"
  36616. },
  36617. "wrtradedetailid": {
  36618. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36619. "type": "string"
  36620. },
  36621. "wrtradetype": {
  36622. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36623. "type": "integer"
  36624. },
  36625. "wrtypename": {
  36626. "description": "商品",
  36627. "type": "string"
  36628. }
  36629. }
  36630. },
  36631. "models.WrTradeOrderDetail": {
  36632. "type": "object",
  36633. "properties": {
  36634. "buyorsell": {
  36635. "description": "买卖方向 0-买 1-卖",
  36636. "type": "integer"
  36637. },
  36638. "goodsid": {
  36639. "description": "商品id",
  36640. "type": "integer"
  36641. },
  36642. "orderid": {
  36643. "description": "委托单号",
  36644. "type": "string"
  36645. },
  36646. "orderprice": {
  36647. "description": "委托价格",
  36648. "type": "number"
  36649. },
  36650. "orderqty": {
  36651. "description": "委托数量",
  36652. "type": "integer"
  36653. },
  36654. "userid": {
  36655. "description": "用户id",
  36656. "type": "integer"
  36657. },
  36658. "username": {
  36659. "description": "用户名称(已脱敏)",
  36660. "type": "string"
  36661. }
  36662. }
  36663. },
  36664. "models.WrTypeItem": {
  36665. "type": "object",
  36666. "properties": {
  36667. "name": {
  36668. "description": "名称",
  36669. "type": "string"
  36670. },
  36671. "value": {
  36672. "description": "值",
  36673. "type": "string"
  36674. }
  36675. }
  36676. },
  36677. "models.WrUserFriend": {
  36678. "type": "object",
  36679. "properties": {
  36680. "friendname": {
  36681. "description": "朋友名称(已脱敏)",
  36682. "type": "string"
  36683. },
  36684. "frienduserid": {
  36685. "description": "朋友id",
  36686. "type": "integer"
  36687. },
  36688. "isfriend": {
  36689. "description": "是否好友 0-不是 1-是",
  36690. "type": "integer"
  36691. },
  36692. "userid": {
  36693. "description": "用户id",
  36694. "type": "integer"
  36695. }
  36696. }
  36697. },
  36698. "models.WrUserReceiptInfo": {
  36699. "type": "object",
  36700. "properties": {
  36701. "address": {
  36702. "description": "地址[发票类型:企业]",
  36703. "type": "string"
  36704. },
  36705. "autoid": {
  36706. "description": "AutoID",
  36707. "type": "integer"
  36708. },
  36709. "contactinfo": {
  36710. "description": "联系方式",
  36711. "type": "string"
  36712. },
  36713. "idnum": {
  36714. "description": "身份证号码[发票类型:个人]",
  36715. "type": "string"
  36716. },
  36717. "isdefault": {
  36718. "description": "是否默认地址 - 0:否 1:是",
  36719. "type": "integer"
  36720. },
  36721. "receiptaccount": {
  36722. "description": "发票帐号[发票类型:企业]",
  36723. "type": "string"
  36724. },
  36725. "receiptbank": {
  36726. "description": "发票开户行[发票类型:企业]",
  36727. "type": "string"
  36728. },
  36729. "receipttype": {
  36730. "description": "发票类型 - 1:个人 2:企业",
  36731. "type": "integer"
  36732. },
  36733. "taxpayerid": {
  36734. "description": "纳税人识别号",
  36735. "type": "string"
  36736. },
  36737. "userid": {
  36738. "description": "用户ID",
  36739. "type": "integer"
  36740. },
  36741. "username": {
  36742. "description": "户名(个人姓名或企业名称)",
  36743. "type": "string"
  36744. }
  36745. }
  36746. },
  36747. "models.XHBRAND": {
  36748. "type": "object",
  36749. "properties": {
  36750. "brandid": {
  36751. "description": "品牌id",
  36752. "type": "integer"
  36753. },
  36754. "brandname": {
  36755. "description": "品牌名称",
  36756. "type": "string"
  36757. },
  36758. "isvalid": {
  36759. "description": "是否有效 0-无效 1-有效",
  36760. "type": "integer"
  36761. }
  36762. }
  36763. },
  36764. "models.XHDeliveryGoods": {
  36765. "type": "object",
  36766. "properties": {
  36767. "areauserid": {
  36768. "description": "所属机构",
  36769. "type": "integer"
  36770. },
  36771. "bdlst": {
  36772. "description": "品牌列表",
  36773. "type": "array",
  36774. "items": {
  36775. "$ref": "#/definitions/models.XHBRAND"
  36776. }
  36777. },
  36778. "deliverygoodscode": {
  36779. "description": "现货品种代码",
  36780. "type": "string"
  36781. },
  36782. "deliverygoodsid": {
  36783. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36784. "type": "integer"
  36785. },
  36786. "deliverygoodsname": {
  36787. "description": "现货品种名称",
  36788. "type": "string"
  36789. },
  36790. "dgstatus": {
  36791. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36792. "type": "integer"
  36793. },
  36794. "isvalid": {
  36795. "description": "是否有效 - 0:无效 1:有效",
  36796. "type": "integer"
  36797. },
  36798. "remark": {
  36799. "description": "备注",
  36800. "type": "string"
  36801. },
  36802. "unitid": {
  36803. "description": "单位id(目前看,数据库中是空值)",
  36804. "type": "integer"
  36805. },
  36806. "wdlst": {
  36807. "description": "品类(现货商品)列表",
  36808. "type": "array",
  36809. "items": {
  36810. "$ref": "#/definitions/models.XHWrstandard"
  36811. }
  36812. }
  36813. }
  36814. },
  36815. "models.XHMiddleGoods": {
  36816. "type": "object",
  36817. "properties": {
  36818. "convertratio": {
  36819. "description": "拆算系数",
  36820. "type": "number"
  36821. },
  36822. "costratio": {
  36823. "description": "成本权重",
  36824. "type": "number"
  36825. },
  36826. "deliverygoodsid": {
  36827. "description": "现货商品id",
  36828. "type": "integer"
  36829. },
  36830. "enumdicname": {
  36831. "description": "单位名称",
  36832. "type": "string"
  36833. },
  36834. "gplst": {
  36835. "description": "期货品种列表",
  36836. "type": "array",
  36837. "items": {
  36838. "$ref": "#/definitions/models.TBGoodsGroup"
  36839. }
  36840. },
  36841. "middlegoodscode": {
  36842. "description": "套保品种代码",
  36843. "type": "string"
  36844. },
  36845. "middlegoodsid": {
  36846. "description": "套保品种id",
  36847. "type": "integer"
  36848. },
  36849. "middlegoodsname": {
  36850. "description": "套保品种名称",
  36851. "type": "string"
  36852. },
  36853. "unitid": {
  36854. "description": "单位id",
  36855. "type": "integer"
  36856. }
  36857. }
  36858. },
  36859. "models.XHWrstandard": {
  36860. "type": "object",
  36861. "properties": {
  36862. "deliverygoodsid": {
  36863. "description": "品种ID",
  36864. "type": "integer"
  36865. },
  36866. "enumdicname": {
  36867. "description": "单位名称",
  36868. "type": "string"
  36869. },
  36870. "mglst": {
  36871. "description": "套保品列表",
  36872. "type": "array",
  36873. "items": {
  36874. "$ref": "#/definitions/models.XHMiddleGoods"
  36875. }
  36876. },
  36877. "unitid": {
  36878. "description": "单位id",
  36879. "type": "integer"
  36880. },
  36881. "vatrate": {
  36882. "description": "增值税率",
  36883. "type": "number"
  36884. },
  36885. "wrstandardcode": {
  36886. "description": "现货商品代码",
  36887. "type": "string"
  36888. },
  36889. "wrstandardid": {
  36890. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36891. "type": "integer"
  36892. },
  36893. "wrstandardname": {
  36894. "description": "现货商品名称",
  36895. "type": "string"
  36896. }
  36897. }
  36898. },
  36899. "order.QueryHisTradeDetailRsp": {
  36900. "type": "object",
  36901. "required": [
  36902. "accountid",
  36903. "buyorsell",
  36904. "goodsid",
  36905. "histradedate",
  36906. "marketid",
  36907. "memberuserid",
  36908. "orderid",
  36909. "tradeamount",
  36910. "tradedate",
  36911. "tradeid",
  36912. "tradeprice",
  36913. "tradeqty",
  36914. "tradetime"
  36915. ],
  36916. "properties": {
  36917. "accountid": {
  36918. "description": "账户ID[报价币种]",
  36919. "type": "integer"
  36920. },
  36921. "advanceratio": {
  36922. "description": "首付比率",
  36923. "type": "number"
  36924. },
  36925. "buildtype": {
  36926. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36927. "type": "integer"
  36928. },
  36929. "buyorsell": {
  36930. "description": "方向 - 0:买 1:卖",
  36931. "type": "integer"
  36932. },
  36933. "charge": {
  36934. "description": "手续费",
  36935. "type": "number"
  36936. },
  36937. "closecharge": {
  36938. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36939. "type": "number"
  36940. },
  36941. "closeexchagechargevalue": {
  36942. "description": "平仓交易所手续费设置值",
  36943. "type": "number"
  36944. },
  36945. "closefeealgorithm": {
  36946. "description": "平仓手续费收取方式 1:比率 2:固定",
  36947. "type": "integer"
  36948. },
  36949. "closememberchargevalue": {
  36950. "description": "平仓会员手续费设置值",
  36951. "type": "number"
  36952. },
  36953. "closepl": {
  36954. "description": "平仓盈亏",
  36955. "type": "number"
  36956. },
  36957. "closepl2": {
  36958. "description": "平仓盈亏[逐笔]",
  36959. "type": "number"
  36960. },
  36961. "closeqty": {
  36962. "description": "平仓数量(先建后平操作 需要记录)",
  36963. "type": "number"
  36964. },
  36965. "creditamount": {
  36966. "description": "授信金额",
  36967. "type": "number"
  36968. },
  36969. "decimalplace": {
  36970. "description": "商品报价小数位",
  36971. "type": "integer"
  36972. },
  36973. "enumdicname": {
  36974. "description": "单位名称",
  36975. "type": "string"
  36976. },
  36977. "gcaccountid": {
  36978. "description": "账户ID[合约币种]",
  36979. "type": "integer"
  36980. },
  36981. "goodscode": {
  36982. "description": "商品代码",
  36983. "type": "string"
  36984. },
  36985. "goodsid": {
  36986. "description": "商品ID",
  36987. "type": "integer"
  36988. },
  36989. "goodsname": {
  36990. "description": "商品名称",
  36991. "type": "string"
  36992. },
  36993. "goodunitid": {
  36994. "description": "商品单位id",
  36995. "type": "integer"
  36996. },
  36997. "histradedate": {
  36998. "description": "历史交易日",
  36999. "type": "string"
  37000. },
  37001. "intclosepl": {
  37002. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37003. "type": "integer"
  37004. },
  37005. "isconfirmexercise": {
  37006. "description": "是否确认行权- 0:否 1:是",
  37007. "type": "integer"
  37008. },
  37009. "ismain": {
  37010. "description": "是否主单 - 0:不是 1:是",
  37011. "type": "integer"
  37012. },
  37013. "ispreexercise": {
  37014. "description": "是否预申报- 0:否 1:是",
  37015. "type": "integer"
  37016. },
  37017. "isreckoned": {
  37018. "description": "是否结算 - 0:未结算 1:已结算",
  37019. "type": "integer"
  37020. },
  37021. "isvaliddata": {
  37022. "description": "是否有效 - 0:无效 1:有效",
  37023. "type": "integer"
  37024. },
  37025. "listingselecttype": {
  37026. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37027. "type": "integer"
  37028. },
  37029. "marketid": {
  37030. "description": "市场ID",
  37031. "type": "integer"
  37032. },
  37033. "marketname": {
  37034. "description": "市场名称",
  37035. "type": "string"
  37036. },
  37037. "matchaccountid": {
  37038. "description": "对手账号id",
  37039. "type": "integer"
  37040. },
  37041. "memberuserid": {
  37042. "description": "会员id 个人投资者 需要填写",
  37043. "type": "integer"
  37044. },
  37045. "opencharge": {
  37046. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37047. "type": "number"
  37048. },
  37049. "openexchagechargevalue": {
  37050. "description": "建仓交易所手续费设置值",
  37051. "type": "number"
  37052. },
  37053. "openfeealgorithm": {
  37054. "description": "建仓手续费收取方式 1:比率 2:固定",
  37055. "type": "integer"
  37056. },
  37057. "openmemberchargevalue": {
  37058. "description": "建仓会员手续费设置值",
  37059. "type": "number"
  37060. },
  37061. "openqty": {
  37062. "description": "开仓数量(先建后平操作 需要记录)",
  37063. "type": "number"
  37064. },
  37065. "optiontype": {
  37066. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37067. "type": "integer"
  37068. },
  37069. "orderid": {
  37070. "description": "委托单号",
  37071. "type": "string"
  37072. },
  37073. "payamount": {
  37074. "description": "支付金额(付款金额)",
  37075. "type": "number"
  37076. },
  37077. "performanceplanid": {
  37078. "description": "履约计划ID[期权]",
  37079. "type": "integer"
  37080. },
  37081. "performancestatus": {
  37082. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37083. "type": "integer"
  37084. },
  37085. "preexerciseprice": {
  37086. "description": "预申报价格",
  37087. "type": "number"
  37088. },
  37089. "premium": {
  37090. "description": "权利金 - [持仓单的权利金]",
  37091. "type": "number"
  37092. },
  37093. "qtydecimalplace": {
  37094. "description": "商品报价小数位",
  37095. "type": "integer"
  37096. },
  37097. "recvamount": {
  37098. "description": "到账金额 = 成交金额 - 手续费",
  37099. "type": "number"
  37100. },
  37101. "relatedouttradeid": {
  37102. "description": "关联外部成交单ID",
  37103. "type": "integer"
  37104. },
  37105. "status": {
  37106. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37107. "type": "integer"
  37108. },
  37109. "totalamount": {
  37110. "description": "订单总额 = 成交金额 + 手续费",
  37111. "type": "number"
  37112. },
  37113. "tradeamount": {
  37114. "description": "成交金额[账户币种,用于所有权]",
  37115. "type": "number"
  37116. },
  37117. "tradedate": {
  37118. "description": "交易日(yyyyMMdd)",
  37119. "type": "string"
  37120. },
  37121. "tradeid": {
  37122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37123. "type": "string"
  37124. },
  37125. "trademode": {
  37126. "description": "交易模式",
  37127. "type": "integer"
  37128. },
  37129. "tradeprice": {
  37130. "description": "成交价格",
  37131. "type": "number"
  37132. },
  37133. "tradeproperty": {
  37134. "description": "交易属性",
  37135. "type": "integer"
  37136. },
  37137. "tradeqty": {
  37138. "description": "成交数量",
  37139. "type": "number"
  37140. },
  37141. "tradetime": {
  37142. "description": "成交时间",
  37143. "type": "string"
  37144. },
  37145. "tradetype": {
  37146. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37147. "type": "integer"
  37148. }
  37149. }
  37150. },
  37151. "order.QueryHisTradeOrderDetailRsp": {
  37152. "type": "object",
  37153. "required": [
  37154. "accountid",
  37155. "buildtype",
  37156. "buyorsell",
  37157. "goodsid",
  37158. "histradedate",
  37159. "marketid",
  37160. "memberuserid",
  37161. "operatetype",
  37162. "orderid",
  37163. "orderqty",
  37164. "ordertime",
  37165. "pricemode",
  37166. "tradedate",
  37167. "validtype"
  37168. ],
  37169. "properties": {
  37170. "accountid": {
  37171. "description": "账户ID[报价币种]",
  37172. "type": "integer"
  37173. },
  37174. "buildtype": {
  37175. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37176. "type": "integer"
  37177. },
  37178. "buyorsell": {
  37179. "description": "买卖 - 0:买 1:卖",
  37180. "type": "integer"
  37181. },
  37182. "cancelorderid": {
  37183. "description": "撤单单号(撤单时填写)",
  37184. "type": "string"
  37185. },
  37186. "cancelqty": {
  37187. "description": "撤单数量",
  37188. "type": "number"
  37189. },
  37190. "clientordertime": {
  37191. "description": "客户端委托时间",
  37192. "type": "string"
  37193. },
  37194. "clientticket": {
  37195. "description": "客户端流水号",
  37196. "type": "string"
  37197. },
  37198. "clienttype": {
  37199. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37200. "type": "integer"
  37201. },
  37202. "closeexchagechargevalue": {
  37203. "description": "平仓交易所手续费设置值",
  37204. "type": "number"
  37205. },
  37206. "closefeealgorithm": {
  37207. "description": "平仓手续费收取方式 1:比率 2:固定",
  37208. "type": "integer"
  37209. },
  37210. "closefreezecharge": {
  37211. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37212. "type": "number"
  37213. },
  37214. "closememberchargevalue": {
  37215. "description": "平仓会员手续费设置值",
  37216. "type": "number"
  37217. },
  37218. "closeqty": {
  37219. "description": "平仓数量(先建后平操作 需要记录)",
  37220. "type": "number"
  37221. },
  37222. "closetradeqty": {
  37223. "description": "平仓成交数量(先建后平操作,需要记录)",
  37224. "type": "number"
  37225. },
  37226. "closeunfreezecharge": {
  37227. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37228. "type": "number"
  37229. },
  37230. "decimalplace": {
  37231. "description": "商品报价小数位",
  37232. "type": "integer"
  37233. },
  37234. "delistingtype": {
  37235. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37236. "type": "integer"
  37237. },
  37238. "enumdicname": {
  37239. "description": "单位名称",
  37240. "type": "string"
  37241. },
  37242. "freezecharge": {
  37243. "description": "冻结手续费",
  37244. "type": "number"
  37245. },
  37246. "freezemargin": {
  37247. "description": "冻结保证金(冻结交易金额)",
  37248. "type": "number"
  37249. },
  37250. "gcaccountid": {
  37251. "description": "账户ID[合约币种]",
  37252. "type": "integer"
  37253. },
  37254. "goodscode": {
  37255. "description": "商品代码",
  37256. "type": "string"
  37257. },
  37258. "goodsid": {
  37259. "description": "商品ID",
  37260. "type": "integer"
  37261. },
  37262. "goodsname": {
  37263. "description": "商品名称",
  37264. "type": "string"
  37265. },
  37266. "goodunitid": {
  37267. "description": "商品单位id",
  37268. "type": "integer"
  37269. },
  37270. "histradedate": {
  37271. "description": "历史交易日",
  37272. "type": "string"
  37273. },
  37274. "isconfirmexercise": {
  37275. "description": "是否确认行权- 0:否 1:是",
  37276. "type": "integer"
  37277. },
  37278. "ispreexercise": {
  37279. "description": "是否预申报- 0:否 1:是",
  37280. "type": "integer"
  37281. },
  37282. "isvaliddata": {
  37283. "description": "是否有效 - 0:无效 1:有效",
  37284. "type": "integer"
  37285. },
  37286. "listingselecttype": {
  37287. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37288. "type": "integer"
  37289. },
  37290. "marginalgorithm": {
  37291. "description": "保证金收取方式 1:比率 2:固定",
  37292. "type": "integer"
  37293. },
  37294. "marginvalue": {
  37295. "description": "即市保证金设置值",
  37296. "type": "number"
  37297. },
  37298. "marketid": {
  37299. "description": "市场ID",
  37300. "type": "integer"
  37301. },
  37302. "marketmaxsub": {
  37303. "description": "市价最大偏移范围",
  37304. "type": "number"
  37305. },
  37306. "marketname": {
  37307. "description": "市场名称",
  37308. "type": "string"
  37309. },
  37310. "memberuserid": {
  37311. "description": "所属会员UserID",
  37312. "type": "integer"
  37313. },
  37314. "openexchagechargevalue": {
  37315. "description": "建仓交易所手续费设置值",
  37316. "type": "number"
  37317. },
  37318. "openfeealgorithm": {
  37319. "description": "建仓手续费收取方式 1:比率 2:固定",
  37320. "type": "integer"
  37321. },
  37322. "openfreezecharge": {
  37323. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37324. "type": "number"
  37325. },
  37326. "openmemberchargevalue": {
  37327. "description": "建仓会员手续费设置值",
  37328. "type": "number"
  37329. },
  37330. "openqty": {
  37331. "description": "开仓数量(先建后平操作,需要记录)",
  37332. "type": "number"
  37333. },
  37334. "opentradeqty": {
  37335. "description": "开仓成交数量(先建后平操作,需要记录)",
  37336. "type": "number"
  37337. },
  37338. "openunfreezecharge": {
  37339. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37340. "type": "number"
  37341. },
  37342. "operatetype": {
  37343. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37344. "type": "integer"
  37345. },
  37346. "operatorid": {
  37347. "description": "登录账号(LoginID)",
  37348. "type": "integer"
  37349. },
  37350. "optiontype": {
  37351. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37352. "type": "integer"
  37353. },
  37354. "orderid": {
  37355. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37356. "type": "string"
  37357. },
  37358. "orderprice": {
  37359. "description": "委托价格",
  37360. "type": "number"
  37361. },
  37362. "orderqty": {
  37363. "description": "委托数量",
  37364. "type": "number"
  37365. },
  37366. "ordersrc": {
  37367. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37368. "type": "integer"
  37369. },
  37370. "orderstatus": {
  37371. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37372. "type": "integer"
  37373. },
  37374. "ordertime": {
  37375. "description": "委托时间",
  37376. "type": "string"
  37377. },
  37378. "preexerciseprice": {
  37379. "description": "预申报价格",
  37380. "type": "number"
  37381. },
  37382. "premium": {
  37383. "description": "权利金",
  37384. "type": "number"
  37385. },
  37386. "preorderid": {
  37387. "description": "关联预埋单号(止盈止损单时填写)",
  37388. "type": "string"
  37389. },
  37390. "pricemode": {
  37391. "description": "取价方式 - 1:市价 2: 限价",
  37392. "type": "integer"
  37393. },
  37394. "qtydecimalplace": {
  37395. "description": "成交量小数位",
  37396. "type": "integer"
  37397. },
  37398. "quoteid": {
  37399. "description": "报价单ID",
  37400. "type": "integer"
  37401. },
  37402. "relatedid": {
  37403. "description": "关联单号(交割单)",
  37404. "type": "string"
  37405. },
  37406. "retcode": {
  37407. "description": "错误代码",
  37408. "type": "integer"
  37409. },
  37410. "sessionid": {
  37411. "description": "会话ID",
  37412. "type": "integer"
  37413. },
  37414. "tradedate": {
  37415. "description": "交易日(yyyyMMdd)",
  37416. "type": "string"
  37417. },
  37418. "trademode": {
  37419. "description": "交易模式",
  37420. "type": "integer"
  37421. },
  37422. "tradeproperty": {
  37423. "description": "交易属性",
  37424. "type": "integer"
  37425. },
  37426. "tradeqty": {
  37427. "description": "成交数量",
  37428. "type": "number"
  37429. },
  37430. "unfreezecharge": {
  37431. "description": "解冻手续费",
  37432. "type": "number"
  37433. },
  37434. "unfreezemargin": {
  37435. "description": "解冻保证金",
  37436. "type": "number"
  37437. },
  37438. "updatetime": {
  37439. "description": "更新时间",
  37440. "type": "string"
  37441. },
  37442. "uuid": {
  37443. "description": "发起端唯一id",
  37444. "type": "string"
  37445. },
  37446. "validtime": {
  37447. "description": "有效期限",
  37448. "type": "string"
  37449. },
  37450. "validtype": {
  37451. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37452. "type": "integer"
  37453. },
  37454. "volumetype": {
  37455. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37456. "type": "integer"
  37457. }
  37458. }
  37459. },
  37460. "order.QueryTradeDetailRsp": {
  37461. "type": "object",
  37462. "required": [
  37463. "accountid",
  37464. "buyorsell",
  37465. "goodsid",
  37466. "marketid",
  37467. "memberuserid",
  37468. "orderid",
  37469. "tradeamount",
  37470. "tradedate",
  37471. "tradeid",
  37472. "tradeprice",
  37473. "tradeqty",
  37474. "tradetime"
  37475. ],
  37476. "properties": {
  37477. "accountid": {
  37478. "description": "账户ID[报价币种]",
  37479. "type": "integer"
  37480. },
  37481. "advanceratio": {
  37482. "description": "首付比率",
  37483. "type": "number"
  37484. },
  37485. "buildtype": {
  37486. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37487. "type": "integer"
  37488. },
  37489. "buyorsell": {
  37490. "description": "方向 - 0:买 1:卖",
  37491. "type": "integer"
  37492. },
  37493. "charge": {
  37494. "description": "手续费",
  37495. "type": "number"
  37496. },
  37497. "closecharge": {
  37498. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37499. "type": "number"
  37500. },
  37501. "closeexchagechargevalue": {
  37502. "description": "平仓交易所手续费设置值",
  37503. "type": "number"
  37504. },
  37505. "closefeealgorithm": {
  37506. "description": "平仓手续费收取方式 1:比率 2:固定",
  37507. "type": "integer"
  37508. },
  37509. "closememberchargevalue": {
  37510. "description": "平仓会员手续费设置值",
  37511. "type": "number"
  37512. },
  37513. "closepl": {
  37514. "description": "平仓盈亏",
  37515. "type": "number"
  37516. },
  37517. "closepl2": {
  37518. "description": "平仓盈亏[逐笔]",
  37519. "type": "number"
  37520. },
  37521. "closeqty": {
  37522. "description": "平仓数量(先建后平操作 需要记录)",
  37523. "type": "number"
  37524. },
  37525. "creditamount": {
  37526. "description": "授信金额",
  37527. "type": "number"
  37528. },
  37529. "decimalplace": {
  37530. "description": "商品报价小数位",
  37531. "type": "integer"
  37532. },
  37533. "enumdicname": {
  37534. "description": "单位名称",
  37535. "type": "string"
  37536. },
  37537. "gcaccountid": {
  37538. "description": "账户ID[合约币种]",
  37539. "type": "integer"
  37540. },
  37541. "goodscode": {
  37542. "description": "商品代码",
  37543. "type": "string"
  37544. },
  37545. "goodsid": {
  37546. "description": "商品ID",
  37547. "type": "integer"
  37548. },
  37549. "goodsname": {
  37550. "description": "商品名称",
  37551. "type": "string"
  37552. },
  37553. "goodunitid": {
  37554. "description": "商品单位id",
  37555. "type": "integer"
  37556. },
  37557. "intclosepl": {
  37558. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37559. "type": "integer"
  37560. },
  37561. "isconfirmexercise": {
  37562. "description": "是否确认行权- 0:否 1:是",
  37563. "type": "integer"
  37564. },
  37565. "ismain": {
  37566. "description": "是否主单 - 0:不是 1:是",
  37567. "type": "integer"
  37568. },
  37569. "ispreexercise": {
  37570. "description": "是否预申报- 0:否 1:是",
  37571. "type": "integer"
  37572. },
  37573. "isreckoned": {
  37574. "description": "是否结算 - 0:未结算 1:已结算",
  37575. "type": "integer"
  37576. },
  37577. "listingselecttype": {
  37578. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37579. "type": "integer"
  37580. },
  37581. "marketid": {
  37582. "description": "市场ID",
  37583. "type": "integer"
  37584. },
  37585. "marketname": {
  37586. "description": "市场名称",
  37587. "type": "string"
  37588. },
  37589. "matchaccountid": {
  37590. "description": "对手账号id",
  37591. "type": "integer"
  37592. },
  37593. "memberuserid": {
  37594. "description": "会员id 个人投资者 需要填写",
  37595. "type": "integer"
  37596. },
  37597. "opencharge": {
  37598. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37599. "type": "number"
  37600. },
  37601. "openexchagechargevalue": {
  37602. "description": "建仓交易所手续费设置值",
  37603. "type": "number"
  37604. },
  37605. "openfeealgorithm": {
  37606. "description": "建仓手续费收取方式 1:比率 2:固定",
  37607. "type": "integer"
  37608. },
  37609. "openmemberchargevalue": {
  37610. "description": "建仓会员手续费设置值",
  37611. "type": "number"
  37612. },
  37613. "openqty": {
  37614. "description": "开仓数量(先建后平操作 需要记录)",
  37615. "type": "number"
  37616. },
  37617. "optiontype": {
  37618. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37619. "type": "integer"
  37620. },
  37621. "orderid": {
  37622. "description": "委托单号",
  37623. "type": "string"
  37624. },
  37625. "payamount": {
  37626. "description": "支付金额(付款金额)",
  37627. "type": "number"
  37628. },
  37629. "performanceplanid": {
  37630. "description": "履约计划ID[期权]",
  37631. "type": "integer"
  37632. },
  37633. "performancestatus": {
  37634. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37635. "type": "integer"
  37636. },
  37637. "preexerciseprice": {
  37638. "description": "预申报价格",
  37639. "type": "number"
  37640. },
  37641. "premium": {
  37642. "description": "权利金 - [持仓单的权利金]",
  37643. "type": "number"
  37644. },
  37645. "qtydecimalplace": {
  37646. "description": "商品报价小数位",
  37647. "type": "integer"
  37648. },
  37649. "recvamount": {
  37650. "description": "到账金额 = 成交金额 - 手续费",
  37651. "type": "number"
  37652. },
  37653. "relatedouttradeid": {
  37654. "description": "关联外部成交单ID",
  37655. "type": "integer"
  37656. },
  37657. "status": {
  37658. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37659. "type": "integer"
  37660. },
  37661. "totalamount": {
  37662. "description": "订单总额 = 成交金额 + 手续费",
  37663. "type": "number"
  37664. },
  37665. "tradeamount": {
  37666. "description": "成交金额[账户币种,用于所有权]",
  37667. "type": "number"
  37668. },
  37669. "tradedate": {
  37670. "description": "交易日(yyyyMMdd)",
  37671. "type": "string"
  37672. },
  37673. "tradeid": {
  37674. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37675. "type": "string"
  37676. },
  37677. "trademode": {
  37678. "description": "交易模式",
  37679. "type": "integer"
  37680. },
  37681. "tradeprice": {
  37682. "description": "成交价格",
  37683. "type": "number"
  37684. },
  37685. "tradeproperty": {
  37686. "description": "交易属性",
  37687. "type": "integer"
  37688. },
  37689. "tradeqty": {
  37690. "description": "成交数量",
  37691. "type": "number"
  37692. },
  37693. "tradetime": {
  37694. "description": "成交时间",
  37695. "type": "string"
  37696. },
  37697. "tradetype": {
  37698. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37699. "type": "integer"
  37700. }
  37701. }
  37702. },
  37703. "order.QueryTradeOrderDetailRsp": {
  37704. "type": "object",
  37705. "required": [
  37706. "accountid",
  37707. "buildtype",
  37708. "buyorsell",
  37709. "goodsid",
  37710. "marketid",
  37711. "operatetype",
  37712. "orderqty",
  37713. "ordertime",
  37714. "pricemode",
  37715. "tradedate",
  37716. "validtype"
  37717. ],
  37718. "properties": {
  37719. "accountid": {
  37720. "description": "账户ID[报价币种]",
  37721. "type": "integer"
  37722. },
  37723. "buildtype": {
  37724. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37725. "type": "integer"
  37726. },
  37727. "buyorsell": {
  37728. "description": "买卖 - 0:买 1:卖",
  37729. "type": "integer"
  37730. },
  37731. "cancelorderid": {
  37732. "description": "撤单单号(撤单时填写)",
  37733. "type": "string"
  37734. },
  37735. "cancelqty": {
  37736. "description": "撤单数量",
  37737. "type": "number"
  37738. },
  37739. "clienttype": {
  37740. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37741. "type": "integer"
  37742. },
  37743. "closefreezecharge": {
  37744. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37745. "type": "number"
  37746. },
  37747. "closeqty": {
  37748. "description": "平仓数量(先建后平操作 需要记录)",
  37749. "type": "number"
  37750. },
  37751. "closetradeqty": {
  37752. "description": "平仓成交数量(先建后平操作,需要记录)",
  37753. "type": "number"
  37754. },
  37755. "closeunfreezecharge": {
  37756. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37757. "type": "number"
  37758. },
  37759. "decimalplace": {
  37760. "description": "商品报价小数位",
  37761. "type": "integer"
  37762. },
  37763. "delistingtype": {
  37764. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37765. "type": "integer"
  37766. },
  37767. "enableqty": {
  37768. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37769. "type": "number"
  37770. },
  37771. "enumdicname": {
  37772. "description": "单位名称",
  37773. "type": "string"
  37774. },
  37775. "freezecharge": {
  37776. "description": "冻结手续费",
  37777. "type": "number"
  37778. },
  37779. "freezemargin": {
  37780. "description": "冻结保证金(冻结交易金额)",
  37781. "type": "number"
  37782. },
  37783. "goodscode": {
  37784. "description": "商品代码",
  37785. "type": "string"
  37786. },
  37787. "goodsid": {
  37788. "description": "商品ID",
  37789. "type": "integer"
  37790. },
  37791. "goodsname": {
  37792. "description": "商品名称",
  37793. "type": "string"
  37794. },
  37795. "goodunitid": {
  37796. "description": "商品单位id",
  37797. "type": "integer"
  37798. },
  37799. "listingselecttype": {
  37800. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37801. "type": "integer"
  37802. },
  37803. "marketid": {
  37804. "description": "市场ID",
  37805. "type": "integer"
  37806. },
  37807. "marketname": {
  37808. "description": "市场名称",
  37809. "type": "string"
  37810. },
  37811. "openfreezecharge": {
  37812. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37813. "type": "number"
  37814. },
  37815. "openqty": {
  37816. "description": "开仓数量(先建后平操作,需要记录)",
  37817. "type": "number"
  37818. },
  37819. "opentradeqty": {
  37820. "description": "开仓成交数量(先建后平操作,需要记录)",
  37821. "type": "number"
  37822. },
  37823. "openunfreezecharge": {
  37824. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37825. "type": "number"
  37826. },
  37827. "operatetype": {
  37828. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37829. "type": "integer"
  37830. },
  37831. "operatorid": {
  37832. "description": "登录账号(LoginID)",
  37833. "type": "integer"
  37834. },
  37835. "orderid": {
  37836. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37837. "type": "string"
  37838. },
  37839. "orderprice": {
  37840. "description": "委托价格",
  37841. "type": "number"
  37842. },
  37843. "orderqty": {
  37844. "description": "委托数量",
  37845. "type": "number"
  37846. },
  37847. "ordersrc": {
  37848. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37849. "type": "integer"
  37850. },
  37851. "orderstatus": {
  37852. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37853. "type": "integer"
  37854. },
  37855. "ordertime": {
  37856. "description": "委托时间",
  37857. "type": "string"
  37858. },
  37859. "preorderid": {
  37860. "description": "关联预埋单号(止盈止损单时填写)",
  37861. "type": "string"
  37862. },
  37863. "pricemode": {
  37864. "description": "取价方式 - 1:市价 2: 限价",
  37865. "type": "integer"
  37866. },
  37867. "qtydecimalplace": {
  37868. "description": "商品报价小数位",
  37869. "type": "integer"
  37870. },
  37871. "relatedid": {
  37872. "description": "关联单号(交割单)",
  37873. "type": "string"
  37874. },
  37875. "tradedate": {
  37876. "description": "交易日(yyyyMMdd)",
  37877. "type": "string"
  37878. },
  37879. "trademode": {
  37880. "description": "交易模式",
  37881. "type": "integer"
  37882. },
  37883. "tradeqty": {
  37884. "description": "成交数量",
  37885. "type": "number"
  37886. },
  37887. "unfreezecharge": {
  37888. "description": "解冻手续费",
  37889. "type": "number"
  37890. },
  37891. "unfreezemargin": {
  37892. "description": "解冻保证金",
  37893. "type": "number"
  37894. },
  37895. "validtime": {
  37896. "description": "有效期限",
  37897. "type": "string"
  37898. },
  37899. "validtype": {
  37900. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37901. "type": "integer"
  37902. },
  37903. "volumetype": {
  37904. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37905. "type": "integer"
  37906. }
  37907. }
  37908. },
  37909. "order.QueryTradePositionRsp": {
  37910. "type": "object",
  37911. "required": [
  37912. "goodsid"
  37913. ],
  37914. "properties": {
  37915. "accountid": {
  37916. "description": "资金账户",
  37917. "type": "integer"
  37918. },
  37919. "agreeunit": {
  37920. "description": "合约单位",
  37921. "type": "number"
  37922. },
  37923. "averageprice": {
  37924. "description": "持仓均价",
  37925. "type": "number"
  37926. },
  37927. "buyorsell": {
  37928. "description": "方向 - 0:买 1:卖",
  37929. "type": "integer"
  37930. },
  37931. "closetotalqty": {
  37932. "description": "平仓总数量",
  37933. "type": "number"
  37934. },
  37935. "curholderamount": {
  37936. "description": "当前持仓总金额[商品币种]",
  37937. "type": "number"
  37938. },
  37939. "curpositionqty": {
  37940. "description": "当前持仓总数量",
  37941. "type": "number"
  37942. },
  37943. "currencyid": {
  37944. "description": "报价货币ID",
  37945. "type": "integer"
  37946. },
  37947. "curtdposition": {
  37948. "description": "期末今日头寸",
  37949. "type": "number"
  37950. },
  37951. "decimalplace": {
  37952. "description": "报价小数位",
  37953. "type": "integer"
  37954. },
  37955. "enableqty": {
  37956. "description": "可用量",
  37957. "type": "number"
  37958. },
  37959. "fretdposition": {
  37960. "description": "冻结今日头寸",
  37961. "type": "number"
  37962. },
  37963. "frozenqty": {
  37964. "description": "持仓冻结数量",
  37965. "type": "number"
  37966. },
  37967. "goodscode": {
  37968. "description": "商品代码",
  37969. "type": "string"
  37970. },
  37971. "goodsid": {
  37972. "description": "商品Id",
  37973. "type": "integer"
  37974. },
  37975. "goodsname": {
  37976. "description": "商品名称",
  37977. "type": "string"
  37978. },
  37979. "goodunit": {
  37980. "description": "报价单位",
  37981. "type": "string"
  37982. },
  37983. "goodunitid": {
  37984. "description": "报价单位ID",
  37985. "type": "integer"
  37986. },
  37987. "holderamount": {
  37988. "description": "期初持仓总金额[商品币种]",
  37989. "type": "number"
  37990. },
  37991. "lastprice": {
  37992. "description": "最新价",
  37993. "type": "number"
  37994. },
  37995. "marketamount": {
  37996. "description": "市值",
  37997. "type": "number"
  37998. },
  37999. "marketid": {
  38000. "description": "所属市场ID",
  38001. "type": "integer"
  38002. },
  38003. "openreqqty": {
  38004. "description": "开仓申请数量(用于比较最大持仓数量)",
  38005. "type": "number"
  38006. },
  38007. "opentotalqty": {
  38008. "description": "开仓总数量",
  38009. "type": "number"
  38010. },
  38011. "otherfrozenqty": {
  38012. "description": "持仓其他冻结数量(交割冻结)",
  38013. "type": "number"
  38014. },
  38015. "positionpl": {
  38016. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38017. "type": "number"
  38018. },
  38019. "positionplrate": {
  38020. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38021. "type": "number"
  38022. },
  38023. "positionqty": {
  38024. "description": "期初持仓数量",
  38025. "type": "number"
  38026. },
  38027. "qtydecimalplace": {
  38028. "description": "成交量小数位",
  38029. "type": "integer"
  38030. },
  38031. "refgoodscode": {
  38032. "description": "参考商品代码",
  38033. "type": "string"
  38034. },
  38035. "refgoodsid": {
  38036. "description": "参考商品ID",
  38037. "type": "integer"
  38038. },
  38039. "tnqty": {
  38040. "description": "T+N冻结总量",
  38041. "type": "number"
  38042. },
  38043. "tnusedqty": {
  38044. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38045. "type": "number"
  38046. },
  38047. "trademode": {
  38048. "description": "交易模式",
  38049. "type": "integer"
  38050. },
  38051. "tradeproperty": {
  38052. "description": "交易属性",
  38053. "type": "integer"
  38054. },
  38055. "usedmargin": {
  38056. "description": "占用保证金[商品币种]",
  38057. "type": "number"
  38058. }
  38059. }
  38060. },
  38061. "pb.GoodsMarginCfgStruct": {
  38062. "type": "object",
  38063. "properties": {
  38064. "CustomerTypeID": {
  38065. "description": "投资者客户类型",
  38066. "type": "integer"
  38067. },
  38068. "GoodsID": {
  38069. "description": "商品ID",
  38070. "type": "integer"
  38071. },
  38072. "IsDefault": {
  38073. "description": "是否默认标志位",
  38074. "type": "integer"
  38075. },
  38076. "LockMarginValue": {
  38077. "description": "锁仓保证金",
  38078. "type": "number"
  38079. },
  38080. "MarginAlgorithm": {
  38081. "description": "保证金计算方式",
  38082. "type": "integer"
  38083. },
  38084. "MarketMarginValue": {
  38085. "description": "即市保证金值",
  38086. "type": "number"
  38087. },
  38088. "RealMarginAlgorithm": {
  38089. "description": "实付保证金计算方式",
  38090. "type": "integer"
  38091. },
  38092. "RealMarginValue": {
  38093. "description": "实付比例",
  38094. "type": "number"
  38095. },
  38096. "ReckonMarginValue": {
  38097. "description": "结算保证金值",
  38098. "type": "number"
  38099. }
  38100. }
  38101. },
  38102. "quote.HistoryData": {
  38103. "type": "object",
  38104. "properties": {
  38105. "c": {
  38106. "description": "收盘价",
  38107. "type": "number"
  38108. },
  38109. "f": {
  38110. "description": "是否补充数据",
  38111. "type": "boolean"
  38112. },
  38113. "h": {
  38114. "description": "最高价",
  38115. "type": "number"
  38116. },
  38117. "hv": {
  38118. "description": "持仓量",
  38119. "type": "integer"
  38120. },
  38121. "l": {
  38122. "description": "最低价",
  38123. "type": "number"
  38124. },
  38125. "o": {
  38126. "description": "开盘价",
  38127. "type": "number"
  38128. },
  38129. "s": {
  38130. "description": "结算价,日线周期(包括)以上才有",
  38131. "type": "number"
  38132. },
  38133. "ts": {
  38134. "description": "时间",
  38135. "type": "string"
  38136. },
  38137. "tt": {
  38138. "description": "总金额",
  38139. "type": "number"
  38140. },
  38141. "tv": {
  38142. "description": "总量(成交量)",
  38143. "type": "integer"
  38144. }
  38145. }
  38146. },
  38147. "quote.HistoryTikData": {
  38148. "type": "object",
  38149. "properties": {
  38150. "AV": {
  38151. "description": "卖量",
  38152. "type": "integer"
  38153. },
  38154. "Ask": {
  38155. "description": "卖价",
  38156. "type": "number"
  38157. },
  38158. "BV": {
  38159. "description": "买量",
  38160. "type": "integer"
  38161. },
  38162. "Bid": {
  38163. "description": "买价",
  38164. "type": "number"
  38165. },
  38166. "HI": {
  38167. "description": "单笔持仓",
  38168. "type": "integer"
  38169. },
  38170. "HV": {
  38171. "description": "持仓量",
  38172. "type": "integer"
  38173. },
  38174. "PE": {
  38175. "description": "现价",
  38176. "type": "number"
  38177. },
  38178. "TDR": {
  38179. "description": "交易方向,0:买 1:卖",
  38180. "type": "integer"
  38181. },
  38182. "TK": {
  38183. "description": "交易类型",
  38184. "type": "integer"
  38185. },
  38186. "TS": {
  38187. "description": "行情时间文本",
  38188. "type": "string"
  38189. },
  38190. "TT": {
  38191. "description": "现金额",
  38192. "type": "number"
  38193. },
  38194. "Vol": {
  38195. "description": "现量",
  38196. "type": "integer"
  38197. }
  38198. }
  38199. },
  38200. "quote.QueryQuoteDayRsp": {
  38201. "type": "object",
  38202. "properties": {
  38203. "ask": {
  38204. "description": "卖1",
  38205. "type": "number"
  38206. },
  38207. "ask10": {
  38208. "description": "卖10",
  38209. "type": "number"
  38210. },
  38211. "ask2": {
  38212. "description": "卖2",
  38213. "type": "number"
  38214. },
  38215. "ask3": {
  38216. "description": "卖3",
  38217. "type": "number"
  38218. },
  38219. "ask4": {
  38220. "description": "卖4",
  38221. "type": "number"
  38222. },
  38223. "ask5": {
  38224. "description": "卖5",
  38225. "type": "number"
  38226. },
  38227. "ask6": {
  38228. "description": "卖6",
  38229. "type": "number"
  38230. },
  38231. "ask7": {
  38232. "description": "卖7",
  38233. "type": "number"
  38234. },
  38235. "ask8": {
  38236. "description": "卖8",
  38237. "type": "number"
  38238. },
  38239. "ask9": {
  38240. "description": "卖9",
  38241. "type": "number"
  38242. },
  38243. "askorderid": {
  38244. "description": "卖单号1",
  38245. "type": "integer"
  38246. },
  38247. "askorderid2": {
  38248. "description": "卖单号2",
  38249. "type": "integer"
  38250. },
  38251. "askorderid3": {
  38252. "description": "卖单号3",
  38253. "type": "integer"
  38254. },
  38255. "askorderid4": {
  38256. "description": "卖单号4",
  38257. "type": "integer"
  38258. },
  38259. "askorderid5": {
  38260. "description": "卖单号5",
  38261. "type": "integer"
  38262. },
  38263. "askordervolume": {
  38264. "description": "卖单量1",
  38265. "type": "integer"
  38266. },
  38267. "askordervolume10": {
  38268. "description": "卖单量10",
  38269. "type": "integer"
  38270. },
  38271. "askordervolume2": {
  38272. "description": "卖单量2",
  38273. "type": "integer"
  38274. },
  38275. "askordervolume3": {
  38276. "description": "卖单量3",
  38277. "type": "integer"
  38278. },
  38279. "askordervolume4": {
  38280. "description": "卖单量4",
  38281. "type": "integer"
  38282. },
  38283. "askordervolume5": {
  38284. "description": "卖单量5",
  38285. "type": "integer"
  38286. },
  38287. "askordervolume6": {
  38288. "description": "卖单量6",
  38289. "type": "integer"
  38290. },
  38291. "askordervolume7": {
  38292. "description": "卖单量7",
  38293. "type": "integer"
  38294. },
  38295. "askordervolume8": {
  38296. "description": "卖单量8",
  38297. "type": "integer"
  38298. },
  38299. "askordervolume9": {
  38300. "description": "卖单量9",
  38301. "type": "integer"
  38302. },
  38303. "askqueueinfo": {
  38304. "description": "大利市卖港股用",
  38305. "type": "string"
  38306. },
  38307. "askvolume": {
  38308. "description": "卖量1",
  38309. "type": "integer"
  38310. },
  38311. "askvolume10": {
  38312. "description": "卖量10",
  38313. "type": "integer"
  38314. },
  38315. "askvolume2": {
  38316. "description": "卖量2",
  38317. "type": "integer"
  38318. },
  38319. "askvolume3": {
  38320. "description": "卖量3",
  38321. "type": "integer"
  38322. },
  38323. "askvolume4": {
  38324. "description": "卖量4",
  38325. "type": "integer"
  38326. },
  38327. "askvolume5": {
  38328. "description": "卖量5",
  38329. "type": "integer"
  38330. },
  38331. "askvolume6": {
  38332. "description": "卖量6",
  38333. "type": "integer"
  38334. },
  38335. "askvolume7": {
  38336. "description": "卖量7",
  38337. "type": "integer"
  38338. },
  38339. "askvolume8": {
  38340. "description": "卖量8",
  38341. "type": "integer"
  38342. },
  38343. "askvolume9": {
  38344. "description": "卖量9",
  38345. "type": "integer"
  38346. },
  38347. "averageprice": {
  38348. "description": "均价",
  38349. "type": "number"
  38350. },
  38351. "bid": {
  38352. "description": "买1",
  38353. "type": "number"
  38354. },
  38355. "bid10": {
  38356. "description": "买10",
  38357. "type": "number"
  38358. },
  38359. "bid2": {
  38360. "description": "买2",
  38361. "type": "number"
  38362. },
  38363. "bid3": {
  38364. "description": "买3",
  38365. "type": "number"
  38366. },
  38367. "bid4": {
  38368. "description": "买4",
  38369. "type": "number"
  38370. },
  38371. "bid5": {
  38372. "description": "买5",
  38373. "type": "number"
  38374. },
  38375. "bid6": {
  38376. "description": "买6",
  38377. "type": "number"
  38378. },
  38379. "bid7": {
  38380. "description": "买7",
  38381. "type": "number"
  38382. },
  38383. "bid8": {
  38384. "description": "买8",
  38385. "type": "number"
  38386. },
  38387. "bid9": {
  38388. "description": "买9",
  38389. "type": "number"
  38390. },
  38391. "bidorderid": {
  38392. "description": "买单号1",
  38393. "type": "integer"
  38394. },
  38395. "bidorderid2": {
  38396. "description": "买单号2",
  38397. "type": "integer"
  38398. },
  38399. "bidorderid3": {
  38400. "description": "买单号3",
  38401. "type": "integer"
  38402. },
  38403. "bidorderid4": {
  38404. "description": "买单号4",
  38405. "type": "integer"
  38406. },
  38407. "bidorderid5": {
  38408. "description": "买单号5",
  38409. "type": "integer"
  38410. },
  38411. "bidordervolume": {
  38412. "description": "买单量1",
  38413. "type": "integer"
  38414. },
  38415. "bidordervolume10": {
  38416. "description": "买单量10",
  38417. "type": "integer"
  38418. },
  38419. "bidordervolume2": {
  38420. "description": "买单量2",
  38421. "type": "integer"
  38422. },
  38423. "bidordervolume3": {
  38424. "description": "买单量3",
  38425. "type": "integer"
  38426. },
  38427. "bidordervolume4": {
  38428. "description": "买单量4",
  38429. "type": "integer"
  38430. },
  38431. "bidordervolume5": {
  38432. "description": "买单量5",
  38433. "type": "integer"
  38434. },
  38435. "bidordervolume6": {
  38436. "description": "买单量6",
  38437. "type": "integer"
  38438. },
  38439. "bidordervolume7": {
  38440. "description": "买单量7",
  38441. "type": "integer"
  38442. },
  38443. "bidordervolume8": {
  38444. "description": "买单量8",
  38445. "type": "integer"
  38446. },
  38447. "bidordervolume9": {
  38448. "description": "买单量9",
  38449. "type": "integer"
  38450. },
  38451. "bidqueueinfo": {
  38452. "description": "大利市买港股用",
  38453. "type": "string"
  38454. },
  38455. "bidvolume": {
  38456. "description": "买量1",
  38457. "type": "integer"
  38458. },
  38459. "bidvolume10": {
  38460. "description": "买量10",
  38461. "type": "integer"
  38462. },
  38463. "bidvolume2": {
  38464. "description": "买量2",
  38465. "type": "integer"
  38466. },
  38467. "bidvolume3": {
  38468. "description": "买量3",
  38469. "type": "integer"
  38470. },
  38471. "bidvolume4": {
  38472. "description": "买量4",
  38473. "type": "integer"
  38474. },
  38475. "bidvolume5": {
  38476. "description": "买量5",
  38477. "type": "integer"
  38478. },
  38479. "bidvolume6": {
  38480. "description": "买量6",
  38481. "type": "integer"
  38482. },
  38483. "bidvolume7": {
  38484. "description": "买量7",
  38485. "type": "integer"
  38486. },
  38487. "bidvolume8": {
  38488. "description": "买量8",
  38489. "type": "integer"
  38490. },
  38491. "bidvolume9": {
  38492. "description": "买量9",
  38493. "type": "integer"
  38494. },
  38495. "calloptionpremiums": {
  38496. "description": "认购期权1",
  38497. "type": "integer"
  38498. },
  38499. "calloptionpremiums2": {
  38500. "description": "认购期权2",
  38501. "type": "integer"
  38502. },
  38503. "calloptionpremiums3": {
  38504. "description": "认购期权3",
  38505. "type": "integer"
  38506. },
  38507. "calloptionpremiums4": {
  38508. "description": "认购期权4",
  38509. "type": "integer"
  38510. },
  38511. "calloptionpremiums5": {
  38512. "description": "认购期权5",
  38513. "type": "integer"
  38514. },
  38515. "cleartime": {
  38516. "description": "清盘时间",
  38517. "type": "integer"
  38518. },
  38519. "exchangecode": {
  38520. "description": "交易所代码",
  38521. "type": "integer"
  38522. },
  38523. "exchangedate": {
  38524. "description": "交易日",
  38525. "type": "integer"
  38526. },
  38527. "goodscode": {
  38528. "description": "商品代码",
  38529. "type": "string"
  38530. },
  38531. "grepmarketprice": {
  38532. "description": "暗盘价 港股专用",
  38533. "type": "number"
  38534. },
  38535. "highest": {
  38536. "description": "最高价",
  38537. "type": "number"
  38538. },
  38539. "holdincrement": {
  38540. "description": "单笔持仓",
  38541. "type": "integer"
  38542. },
  38543. "holdvolume": {
  38544. "description": "持仓",
  38545. "type": "integer"
  38546. },
  38547. "iep": {
  38548. "description": "平衡价 港股专用",
  38549. "type": "number"
  38550. },
  38551. "iev": {
  38552. "description": "平衡量 港股专用",
  38553. "type": "number"
  38554. },
  38555. "inventory": {
  38556. "description": "库存",
  38557. "type": "integer"
  38558. },
  38559. "iscleared": {
  38560. "description": "是否清盘标志",
  38561. "type": "integer"
  38562. },
  38563. "issettled": {
  38564. "description": "是否结算标志",
  38565. "type": "integer"
  38566. },
  38567. "last": {
  38568. "description": "最新价",
  38569. "type": "number"
  38570. },
  38571. "lastlot": {
  38572. "description": "最新成交手数",
  38573. "type": "integer"
  38574. },
  38575. "lasttime": {
  38576. "description": "行情时间(只有现价变化行情时间才变化)",
  38577. "type": "string"
  38578. },
  38579. "lastturnover": {
  38580. "description": "最新成交金额",
  38581. "type": "number"
  38582. },
  38583. "lastvolume": {
  38584. "description": "最新成交量",
  38585. "type": "integer"
  38586. },
  38587. "limitdown": {
  38588. "description": "跌停价",
  38589. "type": "number"
  38590. },
  38591. "limitup": {
  38592. "description": "涨停价",
  38593. "type": "number"
  38594. },
  38595. "lowest": {
  38596. "description": "最低价",
  38597. "type": "number"
  38598. },
  38599. "nontotalholdervolume": {
  38600. "description": "非交易持仓量",
  38601. "type": "integer"
  38602. },
  38603. "nontotallot": {
  38604. "description": "非交易总手数",
  38605. "type": "integer"
  38606. },
  38607. "nontotalturnover": {
  38608. "description": "非交易总金额",
  38609. "type": "integer"
  38610. },
  38611. "nontotalvolume": {
  38612. "description": "非交易总量",
  38613. "type": "integer"
  38614. },
  38615. "opened": {
  38616. "description": "开盘价",
  38617. "type": "number"
  38618. },
  38619. "opentime": {
  38620. "description": "开盘时间",
  38621. "type": "string"
  38622. },
  38623. "orderid": {
  38624. "description": "序号",
  38625. "type": "integer"
  38626. },
  38627. "preclose": {
  38628. "description": "昨收",
  38629. "type": "number"
  38630. },
  38631. "preholdvolume": {
  38632. "description": "昨持仓",
  38633. "type": "integer"
  38634. },
  38635. "presettle": {
  38636. "description": "昨结价",
  38637. "type": "number"
  38638. },
  38639. "publictradetype": {
  38640. "description": "公共交易标志类型 港股专用",
  38641. "type": "string"
  38642. },
  38643. "putoptionpremiums": {
  38644. "description": "认沽期权1",
  38645. "type": "integer"
  38646. },
  38647. "putoptionpremiums2": {
  38648. "description": "认沽期权2",
  38649. "type": "integer"
  38650. },
  38651. "putoptionpremiums3": {
  38652. "description": "认沽期权3",
  38653. "type": "integer"
  38654. },
  38655. "putoptionpremiums4": {
  38656. "description": "认沽期权4",
  38657. "type": "integer"
  38658. },
  38659. "putoptionpremiums5": {
  38660. "description": "认沽期权5",
  38661. "type": "integer"
  38662. },
  38663. "settle": {
  38664. "description": "结算价",
  38665. "type": "number"
  38666. },
  38667. "strikeprice": {
  38668. "description": "发行价",
  38669. "type": "number"
  38670. },
  38671. "totalaskvolume": {
  38672. "description": "内盘",
  38673. "type": "integer"
  38674. },
  38675. "totalbidvolume": {
  38676. "description": "外盘",
  38677. "type": "integer"
  38678. },
  38679. "totallot": {
  38680. "description": "总手数",
  38681. "type": "integer"
  38682. },
  38683. "totalturnover": {
  38684. "description": "总金额",
  38685. "type": "number"
  38686. },
  38687. "totalvolume": {
  38688. "description": "总量",
  38689. "type": "integer"
  38690. },
  38691. "utclasttime": {
  38692. "description": "utc的行情时间",
  38693. "type": "string"
  38694. }
  38695. }
  38696. },
  38697. "quote.QueryTSDataRsp": {
  38698. "type": "object",
  38699. "properties": {
  38700. "Count": {
  38701. "description": "交易日应有数据个数",
  38702. "type": "integer"
  38703. },
  38704. "decimalPlace": {
  38705. "description": "小数位",
  38706. "type": "integer"
  38707. },
  38708. "endTime": {
  38709. "description": "结束时间",
  38710. "type": "string"
  38711. },
  38712. "goodsCode": {
  38713. "description": "商品代码",
  38714. "type": "string"
  38715. },
  38716. "historyDatas": {
  38717. "description": "历史数据",
  38718. "type": "array",
  38719. "items": {
  38720. "$ref": "#/definitions/quote.HistoryData"
  38721. }
  38722. },
  38723. "outGoodsCode": {
  38724. "description": "外部商品代码",
  38725. "type": "string"
  38726. },
  38727. "preSettle": {
  38728. "description": "昨结价",
  38729. "type": "number"
  38730. },
  38731. "runSteps": {
  38732. "description": "交易日开休市计划",
  38733. "type": "array",
  38734. "items": {
  38735. "$ref": "#/definitions/quote.TSDataRunStep"
  38736. }
  38737. },
  38738. "startTime": {
  38739. "description": "开始时间",
  38740. "type": "string"
  38741. },
  38742. "tradeDate": {
  38743. "description": "交易日",
  38744. "type": "string"
  38745. }
  38746. }
  38747. },
  38748. "quote.TSDataRunStep": {
  38749. "type": "object",
  38750. "properties": {
  38751. "end": {
  38752. "description": "真实结束时间",
  38753. "type": "string"
  38754. },
  38755. "endflag": {
  38756. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38757. "type": "integer"
  38758. },
  38759. "endtime": {
  38760. "description": "结束时间(HH:mm)",
  38761. "type": "string"
  38762. },
  38763. "endweekday": {
  38764. "description": "结束周几",
  38765. "type": "integer"
  38766. },
  38767. "groupid": {
  38768. "description": "分组ID",
  38769. "type": "integer"
  38770. },
  38771. "runstep": {
  38772. "description": "运行阶段 - 2:连续交易",
  38773. "type": "integer"
  38774. },
  38775. "sectionid": {
  38776. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38777. "type": "integer"
  38778. },
  38779. "start": {
  38780. "description": "真实开始时间",
  38781. "type": "string"
  38782. },
  38783. "startflag": {
  38784. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38785. "type": "integer"
  38786. },
  38787. "starttime": {
  38788. "description": "起始时间(HH:mm)",
  38789. "type": "string"
  38790. },
  38791. "startweekday": {
  38792. "description": "起始周几",
  38793. "type": "integer"
  38794. },
  38795. "tradeweekday": {
  38796. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38797. "type": "integer"
  38798. }
  38799. }
  38800. },
  38801. "szdz.QueryConvertLogRsp": {
  38802. "type": "object",
  38803. "required": [
  38804. "logid"
  38805. ],
  38806. "properties": {
  38807. "accountid": {
  38808. "description": "资金账户ID",
  38809. "type": "integer"
  38810. },
  38811. "clientticket": {
  38812. "description": "客户端流水号",
  38813. "type": "string"
  38814. },
  38815. "converttype": {
  38816. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38817. "type": "integer"
  38818. },
  38819. "createtime": {
  38820. "description": "记账时间",
  38821. "type": "string"
  38822. },
  38823. "daymaxvalue": {
  38824. "description": "配置当日最大转入限制",
  38825. "type": "number"
  38826. },
  38827. "daymaxvalue2": {
  38828. "description": "配置当日最大转入限制(转入)",
  38829. "type": "number"
  38830. },
  38831. "goodscode": {
  38832. "description": "商品代码",
  38833. "type": "string"
  38834. },
  38835. "goodsname": {
  38836. "description": "商品名称",
  38837. "type": "string"
  38838. },
  38839. "handlestatus": {
  38840. "description": "处理状态",
  38841. "type": "integer"
  38842. },
  38843. "innergoodsid": {
  38844. "description": "内部商品ID",
  38845. "type": "integer"
  38846. },
  38847. "inratio": {
  38848. "description": "配置转入比值",
  38849. "type": "integer"
  38850. },
  38851. "invalue": {
  38852. "description": "目标值",
  38853. "type": "number"
  38854. },
  38855. "logid": {
  38856. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38857. "type": "integer"
  38858. },
  38859. "mobile": {
  38860. "description": "手机号码(加密存储)",
  38861. "type": "string"
  38862. },
  38863. "outergoodscode": {
  38864. "description": "外部商品代码[JD\\PD]",
  38865. "type": "string"
  38866. },
  38867. "outratio": {
  38868. "description": "配置转出比值",
  38869. "type": "integer"
  38870. },
  38871. "outvalue": {
  38872. "description": "源值",
  38873. "type": "number"
  38874. },
  38875. "pddecimalplace": {
  38876. "description": "PD小数位",
  38877. "type": "integer"
  38878. },
  38879. "qty": {
  38880. "description": "数量",
  38881. "type": "string"
  38882. },
  38883. "remark": {
  38884. "description": "备注",
  38885. "type": "string"
  38886. },
  38887. "sessionid": {
  38888. "description": "会话ID",
  38889. "type": "integer"
  38890. },
  38891. "timemaxvalue": {
  38892. "description": "配置单次最大转入限制",
  38893. "type": "number"
  38894. },
  38895. "timemaxvalue2": {
  38896. "description": "配置单次最大转入限制(转入)",
  38897. "type": "number"
  38898. },
  38899. "timeminvalue": {
  38900. "description": "配置单次最小数量限制",
  38901. "type": "number"
  38902. },
  38903. "timeminvalue2": {
  38904. "description": "配置单次最小数量限制(转入)",
  38905. "type": "number"
  38906. },
  38907. "tradedate": {
  38908. "description": "交易日(yyyyMMdd)",
  38909. "type": "string"
  38910. },
  38911. "userid": {
  38912. "description": "用户ID",
  38913. "type": "integer"
  38914. }
  38915. }
  38916. },
  38917. "szdz.QueryGoodsPickupRsp": {
  38918. "type": "object",
  38919. "required": [
  38920. "takeorderid"
  38921. ],
  38922. "properties": {
  38923. "accountid": {
  38924. "description": "账户ID",
  38925. "type": "integer"
  38926. },
  38927. "address": {
  38928. "description": "提货人详细地址",
  38929. "type": "string"
  38930. },
  38931. "auditer": {
  38932. "description": "审核人",
  38933. "type": "integer"
  38934. },
  38935. "audittime": {
  38936. "description": "审核时间",
  38937. "type": "string"
  38938. },
  38939. "cardnum": {
  38940. "description": "提货人证件号码",
  38941. "type": "string"
  38942. },
  38943. "cardtypeid": {
  38944. "description": "提货人证件类型",
  38945. "type": "integer"
  38946. },
  38947. "checkremark": {
  38948. "description": "审核备注",
  38949. "type": "string"
  38950. },
  38951. "goodscode": {
  38952. "description": "商品代码",
  38953. "type": "string"
  38954. },
  38955. "goodsid": {
  38956. "description": "商品ID",
  38957. "type": "integer"
  38958. },
  38959. "goodsname": {
  38960. "description": "商品名称",
  38961. "type": "string"
  38962. },
  38963. "handlestatus": {
  38964. "description": "处理状态",
  38965. "type": "integer"
  38966. },
  38967. "marketid": {
  38968. "description": "市场ID",
  38969. "type": "integer"
  38970. },
  38971. "phonenum": {
  38972. "description": "提货人联系方式",
  38973. "type": "string"
  38974. },
  38975. "qty": {
  38976. "description": "提货数量",
  38977. "type": "number"
  38978. },
  38979. "recivername": {
  38980. "description": "提货人姓名",
  38981. "type": "string"
  38982. },
  38983. "reqtime": {
  38984. "description": "更新时间",
  38985. "type": "string"
  38986. },
  38987. "takemode": {
  38988. "description": "提货方式 - 2:自提 3:配送",
  38989. "type": "integer"
  38990. },
  38991. "takeorderid": {
  38992. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38993. "type": "string"
  38994. },
  38995. "takeorderstatus": {
  38996. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38997. "type": "integer"
  38998. },
  38999. "takeremark": {
  39000. "description": "提货备注",
  39001. "type": "string"
  39002. },
  39003. "tradedate": {
  39004. "description": "交易日(yyyyMMdd)",
  39005. "type": "string"
  39006. },
  39007. "userid": {
  39008. "description": "用户ID",
  39009. "type": "integer"
  39010. }
  39011. }
  39012. },
  39013. "szdz.QueryRecieptOrderRsp": {
  39014. "type": "object",
  39015. "required": [
  39016. "ordertime"
  39017. ],
  39018. "properties": {
  39019. "accountName": {
  39020. "description": "所属账号名称(已脱敏)",
  39021. "type": "string"
  39022. },
  39023. "accountid": {
  39024. "description": "资金账号",
  39025. "type": "integer"
  39026. },
  39027. "buyorsell": {
  39028. "description": "方向 - 0:买 1:卖",
  39029. "type": "integer"
  39030. },
  39031. "enableqty": {
  39032. "description": "可摘数量",
  39033. "type": "integer"
  39034. },
  39035. "goodscode": {
  39036. "description": "商品代码",
  39037. "type": "string"
  39038. },
  39039. "goodsid": {
  39040. "description": "商品ID",
  39041. "type": "integer"
  39042. },
  39043. "goodsname": {
  39044. "description": "商品名称",
  39045. "type": "string"
  39046. },
  39047. "orderid": {
  39048. "description": "委托单号",
  39049. "type": "string"
  39050. },
  39051. "orderprice": {
  39052. "description": "委托价格",
  39053. "type": "number"
  39054. },
  39055. "ordertime": {
  39056. "description": "委托时间",
  39057. "type": "string"
  39058. },
  39059. "tradedate": {
  39060. "description": "交易日(yyyyMMdd)",
  39061. "type": "string"
  39062. }
  39063. }
  39064. },
  39065. "szdz.QuerySZDZTradePositionRsp": {
  39066. "type": "object",
  39067. "properties": {
  39068. "accountid": {
  39069. "description": "账号Id",
  39070. "type": "integer"
  39071. },
  39072. "agreeunit": {
  39073. "description": "合约单位",
  39074. "type": "number"
  39075. },
  39076. "averageprice": {
  39077. "description": "持仓均价",
  39078. "type": "number"
  39079. },
  39080. "buyorsell": {
  39081. "description": "方向 - 0:买 1:卖",
  39082. "type": "integer"
  39083. },
  39084. "closetotalqty": {
  39085. "description": "平仓总数量",
  39086. "type": "integer"
  39087. },
  39088. "curholderamount": {
  39089. "description": "当前持仓总金额",
  39090. "type": "number"
  39091. },
  39092. "curpositionqty": {
  39093. "description": "当前持仓总数量",
  39094. "type": "integer"
  39095. },
  39096. "currencyid": {
  39097. "description": "报价货币ID",
  39098. "type": "integer"
  39099. },
  39100. "curtdposition": {
  39101. "description": "期末今日头寸",
  39102. "type": "integer"
  39103. },
  39104. "decimalplace": {
  39105. "description": "报价小数位",
  39106. "type": "integer"
  39107. },
  39108. "enableqty": {
  39109. "description": "可用量",
  39110. "type": "integer"
  39111. },
  39112. "fretdposition": {
  39113. "description": "冻结今日头寸",
  39114. "type": "integer"
  39115. },
  39116. "frozenqty": {
  39117. "description": "持仓冻结数量",
  39118. "type": "integer"
  39119. },
  39120. "goodscode": {
  39121. "description": "商品代码(内部)",
  39122. "type": "string"
  39123. },
  39124. "goodsid": {
  39125. "description": "商品Id",
  39126. "type": "integer"
  39127. },
  39128. "goodsname": {
  39129. "description": "商品名称",
  39130. "type": "string"
  39131. },
  39132. "goodunit": {
  39133. "description": "报价单位",
  39134. "type": "string"
  39135. },
  39136. "goodunitid": {
  39137. "description": "报价单位ID",
  39138. "type": "integer"
  39139. },
  39140. "holderamount": {
  39141. "description": "期初持仓总金额",
  39142. "type": "number"
  39143. },
  39144. "marketid": {
  39145. "description": "市场ID",
  39146. "type": "integer"
  39147. },
  39148. "openreqqty": {
  39149. "description": "开仓申请数量",
  39150. "type": "integer"
  39151. },
  39152. "opentotalqty": {
  39153. "description": "开仓总数量",
  39154. "type": "integer"
  39155. },
  39156. "otherfrozenqty": {
  39157. "description": "持仓其他冻结数量(交割冻结)",
  39158. "type": "integer"
  39159. },
  39160. "positionqty": {
  39161. "description": "期初持仓数量",
  39162. "type": "integer"
  39163. },
  39164. "szdz3freezqty": {
  39165. "description": "尚志大宗转换冻结总数量",
  39166. "type": "integer"
  39167. },
  39168. "tnqty": {
  39169. "description": "T+N冻结总量",
  39170. "type": "integer"
  39171. },
  39172. "tnusedqty": {
  39173. "description": "T+N使用量",
  39174. "type": "integer"
  39175. },
  39176. "trademode": {
  39177. "description": "交易模式",
  39178. "type": "integer"
  39179. },
  39180. "usedmargin": {
  39181. "description": "占用保证金",
  39182. "type": "number"
  39183. }
  39184. }
  39185. },
  39186. "taaccount.QueryAmountLogRsp": {
  39187. "type": "object",
  39188. "required": [
  39189. "accountid",
  39190. "amount",
  39191. "amountadjusttype",
  39192. "autoid",
  39193. "balance",
  39194. "createtime",
  39195. "currentbalance",
  39196. "operatetype"
  39197. ],
  39198. "properties": {
  39199. "OPERATETYPENAME": {
  39200. "description": "资金操作类型名称",
  39201. "type": "string"
  39202. },
  39203. "accountid": {
  39204. "description": "资金账户ID",
  39205. "type": "integer"
  39206. },
  39207. "agoodscode": {
  39208. "description": "竞拍商品代码",
  39209. "type": "string"
  39210. },
  39211. "agoodsname": {
  39212. "description": "竞拍商品名称",
  39213. "type": "string"
  39214. },
  39215. "amount": {
  39216. "description": "资金金额",
  39217. "type": "number"
  39218. },
  39219. "amountadjusttype": {
  39220. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39221. "type": "integer"
  39222. },
  39223. "autoid": {
  39224. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39225. "type": "integer"
  39226. },
  39227. "balance": {
  39228. "description": "期初余额",
  39229. "type": "number"
  39230. },
  39231. "businesscode": {
  39232. "description": "业务编号",
  39233. "type": "integer"
  39234. },
  39235. "createtime": {
  39236. "description": "发生时间",
  39237. "type": "string"
  39238. },
  39239. "currencyid": {
  39240. "description": "币种ID",
  39241. "type": "integer"
  39242. },
  39243. "currentbalance": {
  39244. "description": "期末余额(变动后金额)",
  39245. "type": "number"
  39246. },
  39247. "dgoodscode": {
  39248. "description": "交割商品代码",
  39249. "type": "string"
  39250. },
  39251. "dgoodsname": {
  39252. "description": "交割商品名称",
  39253. "type": "string"
  39254. },
  39255. "goodscode": {
  39256. "description": "商品代码",
  39257. "type": "string"
  39258. },
  39259. "goodsid": {
  39260. "description": "商品ID",
  39261. "type": "integer"
  39262. },
  39263. "goodsname": {
  39264. "description": "商品名称",
  39265. "type": "string"
  39266. },
  39267. "marketid": {
  39268. "description": "市场ID",
  39269. "type": "integer"
  39270. },
  39271. "marketname": {
  39272. "description": "市场名称",
  39273. "type": "string"
  39274. },
  39275. "moneyticket": {
  39276. "description": "资金流水号:银行端流水号",
  39277. "type": "integer"
  39278. },
  39279. "operatetype": {
  39280. "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:营销收款",
  39281. "type": "integer"
  39282. },
  39283. "relationorderid": {
  39284. "description": "关联单号",
  39285. "type": "string"
  39286. },
  39287. "remark": {
  39288. "description": "备注",
  39289. "type": "string"
  39290. },
  39291. "trademode": {
  39292. "description": "交易模式",
  39293. "type": "integer"
  39294. }
  39295. }
  39296. },
  39297. "taaccount.QueryHisAmountLogRsp": {
  39298. "type": "object",
  39299. "required": [
  39300. "accountid",
  39301. "amount",
  39302. "amountadjusttype",
  39303. "autoid",
  39304. "balance",
  39305. "createtime",
  39306. "currentbalance",
  39307. "histradedate",
  39308. "operatetype"
  39309. ],
  39310. "properties": {
  39311. "OPERATETYPENAME": {
  39312. "description": "资金操作类型名称",
  39313. "type": "string"
  39314. },
  39315. "accountid": {
  39316. "description": "资金账户ID",
  39317. "type": "integer"
  39318. },
  39319. "agoodscode": {
  39320. "description": "竞拍商品代码",
  39321. "type": "string"
  39322. },
  39323. "agoodsname": {
  39324. "description": "竞拍商品名称",
  39325. "type": "string"
  39326. },
  39327. "amount": {
  39328. "description": "资金金额",
  39329. "type": "number"
  39330. },
  39331. "amountadjusttype": {
  39332. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39333. "type": "integer"
  39334. },
  39335. "autoid": {
  39336. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39337. "type": "integer"
  39338. },
  39339. "balance": {
  39340. "description": "期初余额",
  39341. "type": "number"
  39342. },
  39343. "businesscode": {
  39344. "description": "业务编号",
  39345. "type": "integer"
  39346. },
  39347. "createtime": {
  39348. "description": "发生时间",
  39349. "type": "string"
  39350. },
  39351. "currencyid": {
  39352. "description": "币种ID",
  39353. "type": "integer"
  39354. },
  39355. "currentbalance": {
  39356. "description": "期末余额(变动后金额)",
  39357. "type": "number"
  39358. },
  39359. "dgoodscode": {
  39360. "description": "交割商品代码",
  39361. "type": "string"
  39362. },
  39363. "dgoodsname": {
  39364. "description": "交割商品名称",
  39365. "type": "string"
  39366. },
  39367. "goodscode": {
  39368. "description": "商品代码",
  39369. "type": "string"
  39370. },
  39371. "goodsid": {
  39372. "description": "商品ID",
  39373. "type": "integer"
  39374. },
  39375. "goodsname": {
  39376. "description": "商品名称",
  39377. "type": "string"
  39378. },
  39379. "histradedate": {
  39380. "description": "历史交易日",
  39381. "type": "string"
  39382. },
  39383. "isvaliddata": {
  39384. "description": "是否有效 - 0:无效 1:有效",
  39385. "type": "integer"
  39386. },
  39387. "marketid": {
  39388. "description": "市场ID",
  39389. "type": "integer"
  39390. },
  39391. "marketname": {
  39392. "description": "市场名称",
  39393. "type": "string"
  39394. },
  39395. "moneyticket": {
  39396. "description": "资金流水号:银行端流水号",
  39397. "type": "integer"
  39398. },
  39399. "operatetype": {
  39400. "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:营销收款",
  39401. "type": "integer"
  39402. },
  39403. "relationorderid": {
  39404. "description": "关联单号",
  39405. "type": "string"
  39406. },
  39407. "remark": {
  39408. "description": "备注",
  39409. "type": "string"
  39410. },
  39411. "trademode": {
  39412. "description": "交易模式",
  39413. "type": "integer"
  39414. }
  39415. }
  39416. },
  39417. "trade.QueryRecieptOrderRsp": {
  39418. "type": "object",
  39419. "required": [
  39420. "ordertime"
  39421. ],
  39422. "properties": {
  39423. "accountName": {
  39424. "description": "所属账号名称(已脱敏)",
  39425. "type": "string"
  39426. },
  39427. "accountid": {
  39428. "description": "资金账号",
  39429. "type": "integer"
  39430. },
  39431. "buyorsell": {
  39432. "description": "方向 - 0:买 1:卖",
  39433. "type": "integer"
  39434. },
  39435. "enableqty": {
  39436. "description": "可摘数量",
  39437. "type": "integer"
  39438. },
  39439. "goodscode": {
  39440. "description": "商品代码",
  39441. "type": "string"
  39442. },
  39443. "goodsid": {
  39444. "description": "商品ID",
  39445. "type": "integer"
  39446. },
  39447. "goodsname": {
  39448. "description": "商品名称",
  39449. "type": "string"
  39450. },
  39451. "orderid": {
  39452. "description": "委托单号",
  39453. "type": "string"
  39454. },
  39455. "orderprice": {
  39456. "description": "委托价格",
  39457. "type": "number"
  39458. },
  39459. "ordertime": {
  39460. "description": "委托时间",
  39461. "type": "string"
  39462. },
  39463. "tradedate": {
  39464. "description": "交易日(yyyyMMdd)",
  39465. "type": "string"
  39466. }
  39467. }
  39468. },
  39469. "user.LoginQueryRsp": {
  39470. "type": "object",
  39471. "properties": {
  39472. "areaRoles": {
  39473. "description": "所属角色信息",
  39474. "type": "array",
  39475. "items": {
  39476. "$ref": "#/definitions/models.Arearole"
  39477. }
  39478. },
  39479. "externalExchanges": {
  39480. "description": "外部交易所",
  39481. "type": "array",
  39482. "items": {
  39483. "$ref": "#/definitions/models.Externalexchange"
  39484. }
  39485. },
  39486. "goodsgroups": {
  39487. "description": "商品组",
  39488. "type": "array",
  39489. "items": {
  39490. "$ref": "#/definitions/models.Goodsgroup"
  39491. }
  39492. },
  39493. "loginAccount": {
  39494. "description": "登录账号",
  39495. "$ref": "#/definitions/models.Loginaccount"
  39496. },
  39497. "markets": {
  39498. "description": "市场",
  39499. "type": "array",
  39500. "items": {
  39501. "$ref": "#/definitions/models.Market"
  39502. }
  39503. },
  39504. "systemParams": {
  39505. "description": "系统参数",
  39506. "type": "array",
  39507. "items": {
  39508. "$ref": "#/definitions/models.Systemparam"
  39509. }
  39510. },
  39511. "userAccount": {
  39512. "description": "用户账号",
  39513. "$ref": "#/definitions/models.Useraccount"
  39514. },
  39515. "userInfo": {
  39516. "description": "用户信息",
  39517. "$ref": "#/definitions/models.Userinfo"
  39518. },
  39519. "username": {
  39520. "description": "用户姓名",
  39521. "type": "string"
  39522. }
  39523. }
  39524. }
  39525. },
  39526. "securityDefinitions": {
  39527. "ApiKeyAuth": {
  39528. "type": "apiKey",
  39529. "name": "Authorization",
  39530. "in": "header"
  39531. }
  39532. }
  39533. }