swagger.json 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495
  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:失败",
  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. "responses": {
  13608. "200": {
  13609. "description": "OK",
  13610. "schema": {
  13611. "type": "array",
  13612. "items": {
  13613. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13614. }
  13615. }
  13616. },
  13617. "500": {
  13618. "description": "Internal Server Error",
  13619. "schema": {
  13620. "$ref": "#/definitions/app.Response"
  13621. }
  13622. }
  13623. }
  13624. }
  13625. },
  13626. "/WrTrade2/QueryWrStandardFactoryItem": {
  13627. "get": {
  13628. "security": [
  13629. {
  13630. "ApiKeyAuth": []
  13631. }
  13632. ],
  13633. "produces": [
  13634. "application/json"
  13635. ],
  13636. "tags": [
  13637. "仓单贸易v2"
  13638. ],
  13639. "summary": "查询品类要素定义项",
  13640. "parameters": [
  13641. {
  13642. "type": "integer",
  13643. "description": "品类id",
  13644. "name": "wrstandardid",
  13645. "in": "query",
  13646. "required": true
  13647. }
  13648. ],
  13649. "responses": {
  13650. "200": {
  13651. "description": "OK",
  13652. "schema": {
  13653. "type": "array",
  13654. "items": {
  13655. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13656. }
  13657. }
  13658. },
  13659. "500": {
  13660. "description": "Internal Server Error",
  13661. "schema": {
  13662. "$ref": "#/definitions/app.Response"
  13663. }
  13664. }
  13665. }
  13666. }
  13667. },
  13668. "/WrTrade2/QueryWrTradeBargainApply": {
  13669. "get": {
  13670. "security": [
  13671. {
  13672. "ApiKeyAuth": []
  13673. }
  13674. ],
  13675. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13676. "produces": [
  13677. "application/json"
  13678. ],
  13679. "tags": [
  13680. "仓单贸易v2"
  13681. ],
  13682. "summary": "查询议价单",
  13683. "parameters": [
  13684. {
  13685. "type": "integer",
  13686. "description": "议价人id(摘牌方)",
  13687. "name": "userid",
  13688. "in": "query"
  13689. },
  13690. {
  13691. "type": "integer",
  13692. "description": "挂牌方id(查对方议价时,填写此项)",
  13693. "name": "matchuserid",
  13694. "in": "query"
  13695. },
  13696. {
  13697. "type": "integer",
  13698. "description": "关联委托单id",
  13699. "name": "wrtradeorderid",
  13700. "in": "query"
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "0:仓单预售 1:仓单贸易",
  13705. "name": "haswr",
  13706. "in": "query",
  13707. "required": true
  13708. }
  13709. ],
  13710. "responses": {
  13711. "200": {
  13712. "description": "OK",
  13713. "schema": {
  13714. "type": "array",
  13715. "items": {
  13716. "$ref": "#/definitions/models.WRTradeBargainApply"
  13717. }
  13718. }
  13719. },
  13720. "500": {
  13721. "description": "Internal Server Error",
  13722. "schema": {
  13723. "$ref": "#/definitions/app.Response"
  13724. }
  13725. }
  13726. }
  13727. }
  13728. },
  13729. "/WrTrade2/QueryWrTradeDetail": {
  13730. "get": {
  13731. "security": [
  13732. {
  13733. "ApiKeyAuth": []
  13734. }
  13735. ],
  13736. "produces": [
  13737. "application/json"
  13738. ],
  13739. "tags": [
  13740. "仓单贸易v2"
  13741. ],
  13742. "summary": "查询仓单成交明细",
  13743. "parameters": [
  13744. {
  13745. "type": "integer",
  13746. "description": "页码",
  13747. "name": "page",
  13748. "in": "query"
  13749. },
  13750. {
  13751. "type": "integer",
  13752. "description": "每页条数",
  13753. "name": "pagesize",
  13754. "in": "query"
  13755. },
  13756. {
  13757. "type": "integer",
  13758. "description": "用户id",
  13759. "name": "userid",
  13760. "in": "query",
  13761. "required": true
  13762. },
  13763. {
  13764. "type": "integer",
  13765. "description": "仓单贸易市场id",
  13766. "name": "marketid",
  13767. "in": "query"
  13768. },
  13769. {
  13770. "type": "integer",
  13771. "description": "0:仓单预售 1:仓单贸易",
  13772. "name": "haswr",
  13773. "in": "query",
  13774. "required": true
  13775. }
  13776. ],
  13777. "responses": {
  13778. "200": {
  13779. "description": "OK",
  13780. "schema": {
  13781. "type": "array",
  13782. "items": {
  13783. "$ref": "#/definitions/models.WrTradeDetail"
  13784. }
  13785. }
  13786. },
  13787. "500": {
  13788. "description": "Internal Server Error",
  13789. "schema": {
  13790. "$ref": "#/definitions/app.Response"
  13791. }
  13792. }
  13793. }
  13794. }
  13795. },
  13796. "/WrTrade2/QueryWrTradeOrderDetail": {
  13797. "get": {
  13798. "security": [
  13799. {
  13800. "ApiKeyAuth": []
  13801. }
  13802. ],
  13803. "produces": [
  13804. "application/json"
  13805. ],
  13806. "tags": [
  13807. "仓单贸易v2"
  13808. ],
  13809. "summary": "查询合约交易买卖大厅",
  13810. "parameters": [
  13811. {
  13812. "type": "integer",
  13813. "description": "页码",
  13814. "name": "page",
  13815. "in": "query"
  13816. },
  13817. {
  13818. "type": "integer",
  13819. "description": "每页条数",
  13820. "name": "pagesize",
  13821. "in": "query"
  13822. },
  13823. {
  13824. "type": "integer",
  13825. "description": "商品id",
  13826. "name": "goodsid",
  13827. "in": "query",
  13828. "required": true
  13829. },
  13830. {
  13831. "type": "integer",
  13832. "description": "买卖方向 0-买 1-卖",
  13833. "name": "buyorsell",
  13834. "in": "query",
  13835. "required": true
  13836. }
  13837. ],
  13838. "responses": {
  13839. "200": {
  13840. "description": "OK",
  13841. "schema": {
  13842. "type": "array",
  13843. "items": {
  13844. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13845. }
  13846. }
  13847. },
  13848. "500": {
  13849. "description": "Internal Server Error",
  13850. "schema": {
  13851. "$ref": "#/definitions/app.Response"
  13852. }
  13853. }
  13854. }
  13855. }
  13856. },
  13857. "/WrTrade2/QueryWrUserFriend": {
  13858. "get": {
  13859. "security": [
  13860. {
  13861. "ApiKeyAuth": []
  13862. }
  13863. ],
  13864. "produces": [
  13865. "application/json"
  13866. ],
  13867. "tags": [
  13868. "仓单贸易v2"
  13869. ],
  13870. "summary": "查询我的朋友",
  13871. "parameters": [
  13872. {
  13873. "type": "integer",
  13874. "description": "用户id",
  13875. "name": "userid",
  13876. "in": "query",
  13877. "required": true
  13878. },
  13879. {
  13880. "type": "integer",
  13881. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13882. "name": "newuserid",
  13883. "in": "query"
  13884. }
  13885. ],
  13886. "responses": {
  13887. "200": {
  13888. "description": "OK",
  13889. "schema": {
  13890. "type": "array",
  13891. "items": {
  13892. "$ref": "#/definitions/models.WrUserFriend"
  13893. }
  13894. }
  13895. },
  13896. "500": {
  13897. "description": "Internal Server Error",
  13898. "schema": {
  13899. "$ref": "#/definitions/app.Response"
  13900. }
  13901. }
  13902. }
  13903. }
  13904. },
  13905. "/WrTrade2/QueryWrUserReceiptInfo": {
  13906. "get": {
  13907. "security": [
  13908. {
  13909. "ApiKeyAuth": []
  13910. }
  13911. ],
  13912. "produces": [
  13913. "application/json"
  13914. ],
  13915. "tags": [
  13916. "仓单贸易v2"
  13917. ],
  13918. "summary": "查询发票信息",
  13919. "parameters": [
  13920. {
  13921. "type": "integer",
  13922. "description": "用户id",
  13923. "name": "userid",
  13924. "in": "query"
  13925. },
  13926. {
  13927. "type": "integer",
  13928. "description": "发票类型 - 1:个人 2:企业",
  13929. "name": "receipttype",
  13930. "in": "query"
  13931. }
  13932. ],
  13933. "responses": {
  13934. "200": {
  13935. "description": "OK",
  13936. "schema": {
  13937. "type": "array",
  13938. "items": {
  13939. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13940. }
  13941. }
  13942. },
  13943. "500": {
  13944. "description": "Internal Server Error",
  13945. "schema": {
  13946. "$ref": "#/definitions/app.Response"
  13947. }
  13948. }
  13949. }
  13950. }
  13951. },
  13952. "/ZJ/GetBankTip": {
  13953. "get": {
  13954. "produces": [
  13955. "application/json"
  13956. ],
  13957. "tags": [
  13958. "中江"
  13959. ],
  13960. "summary": "获取中江网银端出入金提示信息",
  13961. "responses": {
  13962. "200": {
  13963. "description": "OK",
  13964. "schema": {
  13965. "type": "string"
  13966. }
  13967. },
  13968. "500": {
  13969. "description": "Internal Server Error",
  13970. "schema": {
  13971. "$ref": "#/definitions/app.Response"
  13972. }
  13973. }
  13974. }
  13975. }
  13976. },
  13977. "/ZJ/GetCusBankChannels": {
  13978. "get": {
  13979. "produces": [
  13980. "application/json"
  13981. ],
  13982. "tags": [
  13983. "中江"
  13984. ],
  13985. "summary": "获取中江出入金渠道显示列表",
  13986. "responses": {
  13987. "200": {
  13988. "description": "OK",
  13989. "schema": {
  13990. "type": "array",
  13991. "items": {
  13992. "type": "string"
  13993. }
  13994. }
  13995. },
  13996. "500": {
  13997. "description": "Internal Server Error",
  13998. "schema": {
  13999. "$ref": "#/definitions/app.Response"
  14000. }
  14001. }
  14002. }
  14003. }
  14004. }
  14005. },
  14006. "definitions": {
  14007. "app.Response": {
  14008. "type": "object",
  14009. "properties": {
  14010. "code": {
  14011. "type": "integer"
  14012. },
  14013. "data": {
  14014. "type": "object"
  14015. },
  14016. "msg": {
  14017. "type": "string"
  14018. },
  14019. "page": {
  14020. "description": "页码",
  14021. "type": "integer"
  14022. },
  14023. "pagesize": {
  14024. "description": "每页条数",
  14025. "type": "integer"
  14026. },
  14027. "total": {
  14028. "description": "总条数",
  14029. "type": "integer"
  14030. }
  14031. }
  14032. },
  14033. "common.ClientMenu": {
  14034. "type": "object",
  14035. "properties": {
  14036. "children": {
  14037. "description": "子菜单列表",
  14038. "type": "array",
  14039. "items": {
  14040. "$ref": "#/definitions/common.ClientMenu"
  14041. }
  14042. },
  14043. "code": {
  14044. "description": "ID",
  14045. "type": "string"
  14046. },
  14047. "isshow": {
  14048. "description": "是否显示",
  14049. "type": "boolean"
  14050. },
  14051. "remark": {
  14052. "description": "备注",
  14053. "type": "string"
  14054. },
  14055. "rulekey": {
  14056. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14057. "type": "string"
  14058. },
  14059. "sort": {
  14060. "description": "排序",
  14061. "type": "integer"
  14062. },
  14063. "title": {
  14064. "description": "标题",
  14065. "type": "string"
  14066. },
  14067. "type": {
  14068. "description": "类型,1:菜单 2:按钮",
  14069. "type": "integer"
  14070. },
  14071. "url": {
  14072. "description": "URL",
  14073. "type": "string"
  14074. }
  14075. }
  14076. },
  14077. "common.PCWebMenu": {
  14078. "type": "object",
  14079. "properties": {
  14080. "auth": {
  14081. "description": "页面权限列表",
  14082. "type": "array",
  14083. "items": {
  14084. "$ref": "#/definitions/common.PCWebMenuAuth"
  14085. }
  14086. },
  14087. "children": {
  14088. "description": "子菜单列表",
  14089. "type": "array",
  14090. "items": {
  14091. "$ref": "#/definitions/common.PCWebMenu"
  14092. }
  14093. },
  14094. "code": {
  14095. "description": "ID,新版本中权限KEY也是这个字段",
  14096. "type": "string"
  14097. },
  14098. "component": {
  14099. "description": "路由组件",
  14100. "type": "string"
  14101. },
  14102. "isshow": {
  14103. "description": "是否显示",
  14104. "type": "boolean"
  14105. },
  14106. "path": {
  14107. "description": "路由路径",
  14108. "type": "string"
  14109. },
  14110. "remark": {
  14111. "description": "备注",
  14112. "type": "string"
  14113. },
  14114. "rulekey": {
  14115. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14116. "type": "string"
  14117. },
  14118. "sort": {
  14119. "description": "排序",
  14120. "type": "integer"
  14121. },
  14122. "title": {
  14123. "description": "标题",
  14124. "type": "string"
  14125. },
  14126. "url": {
  14127. "description": "URL",
  14128. "type": "string"
  14129. }
  14130. }
  14131. },
  14132. "common.PCWebMenuAuth": {
  14133. "type": "object",
  14134. "properties": {
  14135. "code": {
  14136. "description": "ID,新版本中权限KEY也是这个字段",
  14137. "type": "string"
  14138. },
  14139. "isshow": {
  14140. "description": "是否显示",
  14141. "type": "boolean"
  14142. },
  14143. "label": {
  14144. "description": "标题",
  14145. "type": "string"
  14146. },
  14147. "remark": {
  14148. "description": "备注",
  14149. "type": "string"
  14150. },
  14151. "rulekey": {
  14152. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14153. "type": "string"
  14154. }
  14155. }
  14156. },
  14157. "common.QueryImageConfigsRsp": {
  14158. "type": "object",
  14159. "required": [
  14160. "configid"
  14161. ],
  14162. "properties": {
  14163. "areauserid": {
  14164. "description": "所属机构ID",
  14165. "type": "integer"
  14166. },
  14167. "configid": {
  14168. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14169. "type": "integer"
  14170. },
  14171. "createdate": {
  14172. "description": "创建时间",
  14173. "type": "string"
  14174. },
  14175. "creatorid": {
  14176. "description": "创建人",
  14177. "type": "integer"
  14178. },
  14179. "imagepath": {
  14180. "description": "图片",
  14181. "type": "string"
  14182. },
  14183. "imagetype": {
  14184. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14185. "type": "integer"
  14186. },
  14187. "isshow": {
  14188. "description": "是否展示 - 0:不展示 1:展示",
  14189. "type": "integer"
  14190. },
  14191. "marketid": {
  14192. "description": "市场ID",
  14193. "type": "integer"
  14194. },
  14195. "modifierid": {
  14196. "description": "操作人",
  14197. "type": "integer"
  14198. },
  14199. "sort": {
  14200. "description": "排序",
  14201. "type": "integer"
  14202. },
  14203. "title": {
  14204. "description": "标题",
  14205. "type": "string"
  14206. },
  14207. "trademode": {
  14208. "description": "交易模式",
  14209. "type": "integer"
  14210. },
  14211. "updatedate": {
  14212. "description": "修改时间",
  14213. "type": "string"
  14214. },
  14215. "url": {
  14216. "description": "链接(地址或商品ID)",
  14217. "type": "string"
  14218. },
  14219. "urltype": {
  14220. "description": "链接类型 - 1:直接地址 2:商品ID",
  14221. "type": "integer"
  14222. }
  14223. }
  14224. },
  14225. "common.QueryNoticeRsp": {
  14226. "type": "object",
  14227. "required": [
  14228. "autoid"
  14229. ],
  14230. "properties": {
  14231. "auditoruserid": {
  14232. "description": "审核人",
  14233. "type": "integer"
  14234. },
  14235. "auditremark": {
  14236. "description": "审核备注",
  14237. "type": "string"
  14238. },
  14239. "audittime": {
  14240. "description": "审核日期",
  14241. "type": "string"
  14242. },
  14243. "autoid": {
  14244. "description": "自增ID",
  14245. "type": "integer"
  14246. },
  14247. "content": {
  14248. "description": "内容",
  14249. "type": "string"
  14250. },
  14251. "createtime": {
  14252. "description": "创建时间",
  14253. "type": "string"
  14254. },
  14255. "creatorid": {
  14256. "description": "建仓人",
  14257. "type": "integer"
  14258. },
  14259. "endtime": {
  14260. "description": "结束时间",
  14261. "type": "string"
  14262. },
  14263. "istop": {
  14264. "description": "是否置顶 - 0:不置顶 1:置顶",
  14265. "type": "integer"
  14266. },
  14267. "msgiconurl": {
  14268. "description": "消息图标Url",
  14269. "type": "string"
  14270. },
  14271. "msgtype": {
  14272. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14273. "type": "integer"
  14274. },
  14275. "publisher": {
  14276. "description": "消息发布者",
  14277. "type": "string"
  14278. },
  14279. "readed": {
  14280. "description": "是否已读",
  14281. "type": "boolean"
  14282. },
  14283. "scheduletime": {
  14284. "description": "计划发送时间",
  14285. "type": "string"
  14286. },
  14287. "sendtype": {
  14288. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14289. "type": "integer"
  14290. },
  14291. "sentstatus": {
  14292. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14293. "type": "integer"
  14294. },
  14295. "title": {
  14296. "description": "标题",
  14297. "type": "string"
  14298. },
  14299. "userid": {
  14300. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14301. "type": "integer"
  14302. }
  14303. }
  14304. },
  14305. "common.QueryProvincesAndCitiesRsp": {
  14306. "type": "object",
  14307. "properties": {
  14308. "cities": {
  14309. "description": "市",
  14310. "type": "array",
  14311. "items": {
  14312. "$ref": "#/definitions/models.Division"
  14313. }
  14314. },
  14315. "province": {
  14316. "description": "省",
  14317. "$ref": "#/definitions/models.Division"
  14318. }
  14319. }
  14320. },
  14321. "common.QueryTableDefineRsp": {
  14322. "type": "object",
  14323. "required": [
  14324. "tablekey"
  14325. ],
  14326. "properties": {
  14327. "columns": {
  14328. "description": "列头信息数组",
  14329. "type": "array",
  14330. "items": {
  14331. "$ref": "#/definitions/models.Tablecolumnconfig"
  14332. }
  14333. },
  14334. "remark": {
  14335. "description": "Remark",
  14336. "type": "string"
  14337. },
  14338. "tabelmenu": {
  14339. "description": "列表菜单",
  14340. "type": "string"
  14341. },
  14342. "tablekey": {
  14343. "description": "列表Key",
  14344. "type": "string"
  14345. },
  14346. "tablename": {
  14347. "description": "列表名称",
  14348. "type": "string"
  14349. },
  14350. "tabletype": {
  14351. "description": "列表类型 - 1:管理端 2:终端",
  14352. "type": "integer"
  14353. }
  14354. }
  14355. },
  14356. "common.QueryTraderMenuRsp": {
  14357. "type": "object",
  14358. "properties": {
  14359. "OperationMenu": {
  14360. "description": "功能菜单",
  14361. "type": "array",
  14362. "items": {
  14363. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14364. }
  14365. },
  14366. "QuoteMenu": {
  14367. "description": "报价牌分类菜单",
  14368. "type": "array",
  14369. "items": {
  14370. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14371. }
  14372. }
  14373. }
  14374. },
  14375. "cptrade.Cptradepositioncancel": {
  14376. "type": "object",
  14377. "required": [
  14378. "cancelid"
  14379. ],
  14380. "properties": {
  14381. "accountid": {
  14382. "description": "申请人账户ID",
  14383. "type": "integer"
  14384. },
  14385. "applystatus": {
  14386. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14387. "type": "integer"
  14388. },
  14389. "applytime": {
  14390. "description": "申请时间",
  14391. "type": "string"
  14392. },
  14393. "cancelid": {
  14394. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14395. "type": "integer"
  14396. },
  14397. "cancelqty": {
  14398. "description": "注销数量",
  14399. "type": "integer"
  14400. },
  14401. "createtime": {
  14402. "description": "创建时间",
  14403. "type": "string"
  14404. },
  14405. "creatorid": {
  14406. "description": "创建人ID",
  14407. "type": "integer"
  14408. },
  14409. "creatorname": {
  14410. "description": "创建人",
  14411. "type": "string"
  14412. },
  14413. "goodscode": {
  14414. "description": "订单商品代码",
  14415. "type": "string"
  14416. },
  14417. "goodsid": {
  14418. "description": "商品ID",
  14419. "type": "integer"
  14420. },
  14421. "goodsname": {
  14422. "description": "订单商品名称",
  14423. "type": "string"
  14424. },
  14425. "goodunit": {
  14426. "description": "报价单位",
  14427. "type": "string"
  14428. },
  14429. "handlestatus": {
  14430. "description": "处理状态",
  14431. "type": "integer"
  14432. },
  14433. "marketid": {
  14434. "description": "市场ID",
  14435. "type": "integer"
  14436. },
  14437. "marketname": {
  14438. "description": "市场名称",
  14439. "type": "string"
  14440. },
  14441. "tradedate": {
  14442. "description": "交易日(yyyyMMdd)",
  14443. "type": "string"
  14444. },
  14445. "userid": {
  14446. "description": "申请人ID",
  14447. "type": "integer"
  14448. }
  14449. }
  14450. },
  14451. "cptrade.Cptradepresaleapply": {
  14452. "type": "object",
  14453. "required": [
  14454. "applyid"
  14455. ],
  14456. "properties": {
  14457. "accountid": {
  14458. "description": "申请人账户ID",
  14459. "type": "integer"
  14460. },
  14461. "applyid": {
  14462. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14463. "type": "integer"
  14464. },
  14465. "applyremark": {
  14466. "description": "申请备注",
  14467. "type": "string"
  14468. },
  14469. "applystatus": {
  14470. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14471. "type": "integer"
  14472. },
  14473. "applytime": {
  14474. "description": "申请时间",
  14475. "type": "string"
  14476. },
  14477. "attachmenturl": {
  14478. "description": "附件地址",
  14479. "type": "string"
  14480. },
  14481. "endtime": {
  14482. "description": "预售结束时间",
  14483. "type": "string"
  14484. },
  14485. "goodscode": {
  14486. "description": "商品代码",
  14487. "type": "string"
  14488. },
  14489. "goodsid": {
  14490. "description": "商品ID",
  14491. "type": "integer"
  14492. },
  14493. "goodsname": {
  14494. "description": "商品名称",
  14495. "type": "string"
  14496. },
  14497. "goodunit": {
  14498. "description": "报价单位",
  14499. "type": "string"
  14500. },
  14501. "handlestatus": {
  14502. "description": "处理状态",
  14503. "type": "integer"
  14504. },
  14505. "marketid": {
  14506. "description": "预售市场ID",
  14507. "type": "integer"
  14508. },
  14509. "marketname": {
  14510. "description": "预售市场名称",
  14511. "type": "string"
  14512. },
  14513. "presaleqty": {
  14514. "description": "预售数量",
  14515. "type": "integer"
  14516. },
  14517. "relatedgoodscode": {
  14518. "description": "关联交易合约代码",
  14519. "type": "string"
  14520. },
  14521. "relatedgoodsid": {
  14522. "description": "关联交易合约ID",
  14523. "type": "integer"
  14524. },
  14525. "relatedgoodsname": {
  14526. "description": "关联交易合约名称",
  14527. "type": "string"
  14528. },
  14529. "starttime": {
  14530. "description": "预售开始时间",
  14531. "type": "string"
  14532. },
  14533. "tradedate": {
  14534. "description": "交易日(yyyyMMdd)",
  14535. "type": "string"
  14536. },
  14537. "trademode": {
  14538. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14539. "type": "integer"
  14540. },
  14541. "userid": {
  14542. "description": "申请人ID",
  14543. "type": "integer"
  14544. }
  14545. }
  14546. },
  14547. "cptrade.Cptradeusergoodsdata": {
  14548. "type": "object",
  14549. "required": [
  14550. "accountid",
  14551. "goodsid"
  14552. ],
  14553. "properties": {
  14554. "EnabledQty": {
  14555. "description": "可用量",
  14556. "type": "integer"
  14557. },
  14558. "GoodsCode": {
  14559. "description": "订单商品代码",
  14560. "type": "string"
  14561. },
  14562. "GoodsName": {
  14563. "description": "订单商品名称",
  14564. "type": "string"
  14565. },
  14566. "WRStandardCode": {
  14567. "description": "仓单标准代码",
  14568. "type": "string"
  14569. },
  14570. "WRStandardName": {
  14571. "description": "仓单标准名称",
  14572. "type": "string"
  14573. },
  14574. "accountid": {
  14575. "description": "账户ID",
  14576. "type": "integer"
  14577. },
  14578. "cancelqty": {
  14579. "description": "注销量",
  14580. "type": "integer"
  14581. },
  14582. "curpresaleqty": {
  14583. "description": "当前预售量",
  14584. "type": "integer"
  14585. },
  14586. "deliveryqty": {
  14587. "description": "交割量",
  14588. "type": "integer"
  14589. },
  14590. "freezeamount": {
  14591. "description": "冻结金额",
  14592. "type": "number"
  14593. },
  14594. "goodsid": {
  14595. "description": "商品ID",
  14596. "type": "integer"
  14597. },
  14598. "goodunit": {
  14599. "description": "报价单位",
  14600. "type": "string"
  14601. },
  14602. "hasspotfreeze": {
  14603. "description": "是否有现货冻结 - 0:否 1:有",
  14604. "type": "integer"
  14605. },
  14606. "inqty": {
  14607. "description": "转入量(总数量)",
  14608. "type": "integer"
  14609. },
  14610. "marketid": {
  14611. "description": "市场ID",
  14612. "type": "integer"
  14613. },
  14614. "presaledamount": {
  14615. "description": "已预售总金额",
  14616. "type": "integer"
  14617. },
  14618. "presaledqty": {
  14619. "description": "已预售量",
  14620. "type": "integer"
  14621. },
  14622. "userid": {
  14623. "description": "用户ID",
  14624. "type": "integer"
  14625. },
  14626. "wrstandardid": {
  14627. "description": "仓单标准ID",
  14628. "type": "integer"
  14629. }
  14630. }
  14631. },
  14632. "cptrade.QueryCPTradeMyBidRsp": {
  14633. "type": "object",
  14634. "required": [
  14635. "accountid",
  14636. "goodsid",
  14637. "marketid",
  14638. "orderid",
  14639. "orderqty",
  14640. "ordertime",
  14641. "tradeprice",
  14642. "tradeqty"
  14643. ],
  14644. "properties": {
  14645. "accountid": {
  14646. "description": "账户ID[报价币种]",
  14647. "type": "integer"
  14648. },
  14649. "goodsid": {
  14650. "description": "商品ID",
  14651. "type": "integer"
  14652. },
  14653. "goodunit": {
  14654. "description": "报价单位",
  14655. "type": "string"
  14656. },
  14657. "marketid": {
  14658. "description": "市场ID",
  14659. "type": "integer"
  14660. },
  14661. "orderid": {
  14662. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14663. "type": "integer"
  14664. },
  14665. "orderprice": {
  14666. "description": "委托价格",
  14667. "type": "number"
  14668. },
  14669. "orderqty": {
  14670. "description": "委托数量",
  14671. "type": "integer"
  14672. },
  14673. "ordertime": {
  14674. "description": "委托时间",
  14675. "type": "string"
  14676. },
  14677. "ordertotalprice": {
  14678. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14679. "type": "number"
  14680. },
  14681. "ordertotalweight": {
  14682. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14683. "type": "integer"
  14684. },
  14685. "totaltotalprice": {
  14686. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14687. "type": "number"
  14688. },
  14689. "tradeprice": {
  14690. "description": "成交价格",
  14691. "type": "number"
  14692. },
  14693. "tradeqty": {
  14694. "description": "成交数量",
  14695. "type": "integer"
  14696. }
  14697. }
  14698. },
  14699. "cptrade.QueryCPTradeOrderDetailRsq": {
  14700. "type": "object",
  14701. "required": [
  14702. "accountid",
  14703. "buildtype",
  14704. "buyorsell",
  14705. "goodsid",
  14706. "marketid",
  14707. "memberuserid",
  14708. "operatetype",
  14709. "orderqty",
  14710. "ordertime",
  14711. "pricemode",
  14712. "strorderid",
  14713. "tradedate",
  14714. "validtype"
  14715. ],
  14716. "properties": {
  14717. "accountid": {
  14718. "description": "账户ID[报价币种]",
  14719. "type": "integer"
  14720. },
  14721. "buildtype": {
  14722. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14723. "type": "integer"
  14724. },
  14725. "buyorsell": {
  14726. "description": "买卖 - 0:买 1:卖",
  14727. "type": "integer"
  14728. },
  14729. "cancelorderid": {
  14730. "description": "撤单单号(撤单时填写)",
  14731. "type": "integer"
  14732. },
  14733. "cancelqty": {
  14734. "description": "撤单数量",
  14735. "type": "integer"
  14736. },
  14737. "clientordertime": {
  14738. "description": "客户端委托时间",
  14739. "type": "string"
  14740. },
  14741. "clientticket": {
  14742. "description": "客户端流水号",
  14743. "type": "string"
  14744. },
  14745. "clienttype": {
  14746. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14747. "type": "integer"
  14748. },
  14749. "closeexchagechargevalue": {
  14750. "description": "平仓交易所手续费设置值",
  14751. "type": "number"
  14752. },
  14753. "closefeealgorithm": {
  14754. "description": "平仓手续费收取方式 1:比率 2:固定",
  14755. "type": "integer"
  14756. },
  14757. "closefreezecharge": {
  14758. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14759. "type": "number"
  14760. },
  14761. "closememberchargevalue": {
  14762. "description": "平仓会员手续费设置值",
  14763. "type": "number"
  14764. },
  14765. "closeqty": {
  14766. "description": "平仓数量(先建后平操作 需要记录)",
  14767. "type": "integer"
  14768. },
  14769. "closetradeqty": {
  14770. "description": "平仓成交数量(先建后平操作,需要记录)",
  14771. "type": "integer"
  14772. },
  14773. "closeunfreezecharge": {
  14774. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14775. "type": "number"
  14776. },
  14777. "delistingtype": {
  14778. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14779. "type": "integer"
  14780. },
  14781. "freezecharge": {
  14782. "description": "冻结手续费",
  14783. "type": "number"
  14784. },
  14785. "freezemargin": {
  14786. "description": "冻结保证金(冻结交易金额)",
  14787. "type": "number"
  14788. },
  14789. "gcaccountid": {
  14790. "description": "账户ID[合约币种]",
  14791. "type": "integer"
  14792. },
  14793. "goodsid": {
  14794. "description": "商品ID",
  14795. "type": "integer"
  14796. },
  14797. "isconfirmexercise": {
  14798. "description": "是否确认行权- 0:否 1:是",
  14799. "type": "integer"
  14800. },
  14801. "ispreexercise": {
  14802. "description": "是否预申报- 0:否 1:是",
  14803. "type": "integer"
  14804. },
  14805. "listingselecttype": {
  14806. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14807. "type": "integer"
  14808. },
  14809. "marginalgorithm": {
  14810. "description": "保证金收取方式 1:比率 2:固定",
  14811. "type": "integer"
  14812. },
  14813. "marginvalue": {
  14814. "description": "即市保证金设置值",
  14815. "type": "number"
  14816. },
  14817. "marketid": {
  14818. "description": "市场ID",
  14819. "type": "integer"
  14820. },
  14821. "marketmaxsub": {
  14822. "description": "市价最大偏移范围",
  14823. "type": "number"
  14824. },
  14825. "memberuserid": {
  14826. "description": "所属会员UserID",
  14827. "type": "integer"
  14828. },
  14829. "openexchagechargevalue": {
  14830. "description": "建仓交易所手续费设置值",
  14831. "type": "number"
  14832. },
  14833. "openfeealgorithm": {
  14834. "description": "建仓手续费收取方式 1:比率 2:固定",
  14835. "type": "integer"
  14836. },
  14837. "openfreezecharge": {
  14838. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14839. "type": "number"
  14840. },
  14841. "openmemberchargevalue": {
  14842. "description": "建仓会员手续费设置值",
  14843. "type": "number"
  14844. },
  14845. "openqty": {
  14846. "description": "开仓数量(先建后平操作,需要记录)",
  14847. "type": "integer"
  14848. },
  14849. "opentradeqty": {
  14850. "description": "开仓成交数量(先建后平操作,需要记录)",
  14851. "type": "integer"
  14852. },
  14853. "openunfreezecharge": {
  14854. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14855. "type": "number"
  14856. },
  14857. "operatetype": {
  14858. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14859. "type": "integer"
  14860. },
  14861. "operatorid": {
  14862. "description": "登录账号(LoginID)",
  14863. "type": "integer"
  14864. },
  14865. "optiontype": {
  14866. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14867. "type": "integer"
  14868. },
  14869. "orderprice": {
  14870. "description": "委托价格",
  14871. "type": "number"
  14872. },
  14873. "orderqty": {
  14874. "description": "委托数量",
  14875. "type": "integer"
  14876. },
  14877. "ordersrc": {
  14878. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14879. "type": "integer"
  14880. },
  14881. "orderstatus": {
  14882. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14883. "type": "integer"
  14884. },
  14885. "ordertime": {
  14886. "description": "委托时间",
  14887. "type": "string"
  14888. },
  14889. "preexerciseprice": {
  14890. "description": "预申报价格",
  14891. "type": "number"
  14892. },
  14893. "premium": {
  14894. "description": "权利金",
  14895. "type": "number"
  14896. },
  14897. "preorderid": {
  14898. "description": "关联预埋单号(止盈止损单时填写)",
  14899. "type": "integer"
  14900. },
  14901. "pricemode": {
  14902. "description": "取价方式 - 1:市价 2: 限价",
  14903. "type": "integer"
  14904. },
  14905. "quoteid": {
  14906. "description": "报价单ID",
  14907. "type": "integer"
  14908. },
  14909. "relatedid": {
  14910. "description": "关联单号(交割单)",
  14911. "type": "integer"
  14912. },
  14913. "retcode": {
  14914. "description": "错误代码",
  14915. "type": "integer"
  14916. },
  14917. "sessionid": {
  14918. "description": "会话ID",
  14919. "type": "integer"
  14920. },
  14921. "strorderid": {
  14922. "description": "委托单号",
  14923. "type": "string"
  14924. },
  14925. "tradedate": {
  14926. "description": "交易日(yyyyMMdd)",
  14927. "type": "string"
  14928. },
  14929. "tradeproperty": {
  14930. "description": "交易属性",
  14931. "type": "integer"
  14932. },
  14933. "tradeqty": {
  14934. "description": "成交数量",
  14935. "type": "integer"
  14936. },
  14937. "unfreezecharge": {
  14938. "description": "解冻手续费",
  14939. "type": "number"
  14940. },
  14941. "unfreezemargin": {
  14942. "description": "解冻保证金",
  14943. "type": "number"
  14944. },
  14945. "updatetime": {
  14946. "description": "更新时间",
  14947. "type": "string"
  14948. },
  14949. "uuid": {
  14950. "description": "发起端唯一id",
  14951. "type": "string"
  14952. },
  14953. "validtime": {
  14954. "description": "有效期限",
  14955. "type": "string"
  14956. },
  14957. "validtype": {
  14958. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14959. "type": "integer"
  14960. },
  14961. "volumetype": {
  14962. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14963. "type": "integer"
  14964. }
  14965. }
  14966. },
  14967. "cptrade.QueryMyCPTradeGoodsRsp": {
  14968. "type": "object",
  14969. "required": [
  14970. "goodscode",
  14971. "goodsid",
  14972. "goodsname",
  14973. "marketid",
  14974. "relatedgoodscode",
  14975. "relatedgoodsname"
  14976. ],
  14977. "properties": {
  14978. "accountid": {
  14979. "description": "卖方账户ID",
  14980. "type": "integer"
  14981. },
  14982. "agreeunit": {
  14983. "description": "合约单位",
  14984. "type": "number"
  14985. },
  14986. "applyid": {
  14987. "description": "关联申请ID",
  14988. "type": "integer"
  14989. },
  14990. "attachmenturl": {
  14991. "description": "附件地址",
  14992. "type": "string"
  14993. },
  14994. "createtime": {
  14995. "description": "创建时间",
  14996. "type": "string"
  14997. },
  14998. "currencyid": {
  14999. "description": "报价货币ID",
  15000. "type": "integer"
  15001. },
  15002. "decimalplace": {
  15003. "description": "报价小数位",
  15004. "type": "integer"
  15005. },
  15006. "endtime": {
  15007. "description": "预售结束时间",
  15008. "type": "string"
  15009. },
  15010. "floorprice": {
  15011. "description": "底价[大宗式竞拍]",
  15012. "type": "number"
  15013. },
  15014. "goodscode": {
  15015. "description": "商品代码(预售)",
  15016. "type": "string"
  15017. },
  15018. "goodsdetail": {
  15019. "description": "详情[大宗]",
  15020. "type": "string"
  15021. },
  15022. "goodsid": {
  15023. "description": "商品ID(自增ID SEQ_GOODS)",
  15024. "type": "integer"
  15025. },
  15026. "goodsname": {
  15027. "description": "商品名称(预售)",
  15028. "type": "string"
  15029. },
  15030. "goodunit": {
  15031. "description": "报价单位",
  15032. "type": "string"
  15033. },
  15034. "goodunitid": {
  15035. "description": "报价单位ID",
  15036. "type": "integer"
  15037. },
  15038. "marketid": {
  15039. "description": "所属市场ID",
  15040. "type": "integer"
  15041. },
  15042. "marketname": {
  15043. "description": "预售市场名称",
  15044. "type": "string"
  15045. },
  15046. "presaledamount": {
  15047. "description": "已预售总金额(预售结束时更新)",
  15048. "type": "number"
  15049. },
  15050. "presaledqty": {
  15051. "description": "已预售量(预售结束时更新)",
  15052. "type": "integer"
  15053. },
  15054. "presalemode": {
  15055. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15056. "type": "integer"
  15057. },
  15058. "presaleqty": {
  15059. "description": "预售数量",
  15060. "type": "integer"
  15061. },
  15062. "refprice": {
  15063. "description": "参考价格[一口价]",
  15064. "type": "number"
  15065. },
  15066. "relatedgoodscode": {
  15067. "description": "商品代码(订单)",
  15068. "type": "string"
  15069. },
  15070. "relatedgoodsid": {
  15071. "description": "关联交易合约ID",
  15072. "type": "integer"
  15073. },
  15074. "relatedgoodsname": {
  15075. "description": "商品名称(订单)",
  15076. "type": "string"
  15077. },
  15078. "relatedmarketid": {
  15079. "description": "关联交易合约市场ID",
  15080. "type": "integer"
  15081. },
  15082. "sellstatus": {
  15083. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15084. "type": "integer"
  15085. },
  15086. "startprice": {
  15087. "description": "起拍价[大宗式竞拍]",
  15088. "type": "number"
  15089. },
  15090. "starttime": {
  15091. "description": "预售开始时间",
  15092. "type": "string"
  15093. },
  15094. "tradedate": {
  15095. "description": "交易日(yyyyMMdd)",
  15096. "type": "string"
  15097. },
  15098. "tradeprice": {
  15099. "description": "成交价[大宗]",
  15100. "type": "number"
  15101. },
  15102. "userid": {
  15103. "description": "卖方用户ID",
  15104. "type": "integer"
  15105. }
  15106. }
  15107. },
  15108. "cptrade.QueryPresaleGoodsExRsp": {
  15109. "type": "object",
  15110. "required": [
  15111. "goodsid"
  15112. ],
  15113. "properties": {
  15114. "attachmenturl": {
  15115. "description": "附件地址",
  15116. "type": "string"
  15117. },
  15118. "createtime": {
  15119. "description": "创建时间",
  15120. "type": "string"
  15121. },
  15122. "endtime": {
  15123. "description": "预售结束时间",
  15124. "type": "string"
  15125. },
  15126. "floorprice": {
  15127. "description": "底价[大宗式竞拍]",
  15128. "type": "number"
  15129. },
  15130. "goodsdetail": {
  15131. "description": "详情[大宗]",
  15132. "type": "string"
  15133. },
  15134. "goodsid": {
  15135. "description": "商品ID(预售)",
  15136. "type": "integer"
  15137. },
  15138. "goodunit": {
  15139. "description": "报价单位",
  15140. "type": "string"
  15141. },
  15142. "marketid": {
  15143. "description": "预售市场ID - 根据预售模式选择市场",
  15144. "type": "integer"
  15145. },
  15146. "presaledamount": {
  15147. "description": "已预售总金额(预售结束时更新)",
  15148. "type": "number"
  15149. },
  15150. "presaledqty": {
  15151. "description": "已预售量(预售结束时更新)",
  15152. "type": "integer"
  15153. },
  15154. "presalemode": {
  15155. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15156. "type": "integer"
  15157. },
  15158. "presaleqty": {
  15159. "description": "预售数量",
  15160. "type": "integer"
  15161. },
  15162. "refprice": {
  15163. "description": "参考价格[一口价]",
  15164. "type": "number"
  15165. },
  15166. "relatedgoodsid": {
  15167. "description": "关联交易合约ID",
  15168. "type": "integer"
  15169. },
  15170. "relatedmarketid": {
  15171. "description": "关联交易合约市场ID",
  15172. "type": "integer"
  15173. },
  15174. "sellstatus": {
  15175. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15176. "type": "integer"
  15177. },
  15178. "startprice": {
  15179. "description": "起拍价[大宗式竞拍]",
  15180. "type": "number"
  15181. },
  15182. "starttime": {
  15183. "description": "预售开始时间",
  15184. "type": "string"
  15185. },
  15186. "tradedate": {
  15187. "description": "交易日(yyyyMMdd)",
  15188. "type": "string"
  15189. },
  15190. "tradeprice": {
  15191. "description": "成交价[大宗]",
  15192. "type": "number"
  15193. }
  15194. }
  15195. },
  15196. "delivery.QueryDeliveryRelationRsp": {
  15197. "type": "object",
  15198. "required": [
  15199. "begindate",
  15200. "enddate",
  15201. "goodsid",
  15202. "mindeliveryqty",
  15203. "xdeliveryratio"
  15204. ],
  15205. "properties": {
  15206. "begindate": {
  15207. "description": "起始日期(yyyyMMdd)",
  15208. "type": "string"
  15209. },
  15210. "buytemplateid": {
  15211. "description": "买履约计划模板ID",
  15212. "type": "integer"
  15213. },
  15214. "deliverygoodscode": {
  15215. "description": "品种代码",
  15216. "type": "string"
  15217. },
  15218. "deliverygoodsid": {
  15219. "description": "交割商品",
  15220. "type": "integer"
  15221. },
  15222. "deliverygoodsname": {
  15223. "description": "品种名称",
  15224. "type": "string"
  15225. },
  15226. "deliverymode": {
  15227. "description": "交割方式 - 1:点选式 2:申报式",
  15228. "type": "integer"
  15229. },
  15230. "deliverypricerule": {
  15231. "description": "交割价规则- 1:行情价 2:建仓价",
  15232. "type": "integer"
  15233. },
  15234. "deliverytype": {
  15235. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15236. "type": "integer"
  15237. },
  15238. "enddate": {
  15239. "description": "结束日期(yyyyMMdd)",
  15240. "type": "string"
  15241. },
  15242. "enumdicname": {
  15243. "description": "品类单位名称",
  15244. "type": "string"
  15245. },
  15246. "goodscode": {
  15247. "description": "商品代码",
  15248. "type": "string"
  15249. },
  15250. "goodsid": {
  15251. "description": "交易合约ID",
  15252. "type": "integer"
  15253. },
  15254. "goodsname": {
  15255. "description": "商品名称",
  15256. "type": "string"
  15257. },
  15258. "marketid": {
  15259. "description": "市场ID",
  15260. "type": "integer"
  15261. },
  15262. "mindeliveryqty": {
  15263. "description": "最小交割系数(K)",
  15264. "type": "integer"
  15265. },
  15266. "p2deliveryprice": {
  15267. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15268. "type": "number"
  15269. },
  15270. "p2deliveryratio": {
  15271. "description": "P2合约系数(p)",
  15272. "type": "integer"
  15273. },
  15274. "p2goodsid": {
  15275. "description": "P2合约ID",
  15276. "type": "integer"
  15277. },
  15278. "p2pricemode": {
  15279. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15280. "type": "integer"
  15281. },
  15282. "pdeliveryprice": {
  15283. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15284. "type": "number"
  15285. },
  15286. "pdeliveryratio": {
  15287. "description": "P合约系数(n)",
  15288. "type": "integer"
  15289. },
  15290. "pgoodscode": {
  15291. "description": "p合约代码",
  15292. "type": "string"
  15293. },
  15294. "pgoodsid": {
  15295. "description": "P合约ID",
  15296. "type": "integer"
  15297. },
  15298. "ppricemode": {
  15299. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15300. "type": "integer"
  15301. },
  15302. "rratio": {
  15303. "description": "兑换系数(R)",
  15304. "type": "integer"
  15305. },
  15306. "rratio1": {
  15307. "description": "兑换系数(交易合约)(R1)",
  15308. "type": "integer"
  15309. },
  15310. "rratio2": {
  15311. "description": "兑换系数(仓单标准)(R2)",
  15312. "type": "integer"
  15313. },
  15314. "selltemplateid": {
  15315. "description": "卖履约计划模板ID",
  15316. "type": "integer"
  15317. },
  15318. "wrstandardid": {
  15319. "description": "仓单标准ID",
  15320. "type": "integer"
  15321. },
  15322. "xdeliveryratio": {
  15323. "description": "交易合约系数(m)",
  15324. "type": "integer"
  15325. }
  15326. }
  15327. },
  15328. "ermcp.ExposureDetailRsp": {
  15329. "type": "object",
  15330. "properties": {
  15331. "areauserid": {
  15332. "description": "机构ID",
  15333. "type": "integer"
  15334. },
  15335. "changeQty": {
  15336. "description": "套保变动量",
  15337. "type": "number"
  15338. },
  15339. "contracttype": {
  15340. "description": "现货合同类型 - 1:采购 -1:销售",
  15341. "type": "integer"
  15342. },
  15343. "convertfactor": {
  15344. "description": "标仓系数",
  15345. "type": "number"
  15346. },
  15347. "convertratio": {
  15348. "description": "套保系数",
  15349. "type": "number"
  15350. },
  15351. "createtime": {
  15352. "description": "时间",
  15353. "type": "string"
  15354. },
  15355. "enumdicname": {
  15356. "description": "现货商品单位名称",
  15357. "type": "string"
  15358. },
  15359. "logtype": {
  15360. "description": "类型 - 1:套保计划 2:现货合同",
  15361. "type": "integer"
  15362. },
  15363. "middlegoodsId": {
  15364. "description": "套保商品id",
  15365. "type": "integer"
  15366. },
  15367. "middlegoodscode": {
  15368. "description": "套保商品代码",
  15369. "type": "string"
  15370. },
  15371. "middlegoodsname": {
  15372. "description": "套保商品名称",
  15373. "type": "string"
  15374. },
  15375. "qty": {
  15376. "description": "数量",
  15377. "type": "number"
  15378. },
  15379. "relateNo": {
  15380. "description": "现货合同/套保计划编号",
  15381. "type": "string"
  15382. },
  15383. "wrstandardcode": {
  15384. "description": "现货商品代码",
  15385. "type": "string"
  15386. },
  15387. "wrstandardid": {
  15388. "description": "现货商品ID",
  15389. "type": "integer"
  15390. },
  15391. "wrstandardname": {
  15392. "description": "现货商品名称",
  15393. "type": "string"
  15394. }
  15395. }
  15396. },
  15397. "ermcp.ExposureHedgePosDetailRsp": {
  15398. "type": "object",
  15399. "properties": {
  15400. "buyorsell": {
  15401. "description": "买卖方向 0-买 1-卖",
  15402. "type": "integer"
  15403. },
  15404. "channelbuildtype": {
  15405. "description": "开平方向 1-建仓 2-平仓",
  15406. "type": "integer"
  15407. },
  15408. "goodscode": {
  15409. "description": "商品代码",
  15410. "type": "string"
  15411. },
  15412. "goodsname": {
  15413. "description": "商品名称",
  15414. "type": "string"
  15415. },
  15416. "hedgegoodsid": {
  15417. "description": "商品id",
  15418. "type": "integer"
  15419. },
  15420. "tradeqty": {
  15421. "description": "数量(成交数量)",
  15422. "type": "integer"
  15423. },
  15424. "tradetime": {
  15425. "description": "时间(成交时间)",
  15426. "type": "string"
  15427. }
  15428. }
  15429. },
  15430. "ermcp.ExposureHedgePositionRsp": {
  15431. "type": "object",
  15432. "properties": {
  15433. "accountid": {
  15434. "description": "资金账号[外部母账户]",
  15435. "type": "integer"
  15436. },
  15437. "curbuyposition": {
  15438. "description": "期末买头寸",
  15439. "type": "integer"
  15440. },
  15441. "cursellposition": {
  15442. "description": "期末卖头寸",
  15443. "type": "integer"
  15444. },
  15445. "curtdbuyposition": {
  15446. "description": "期末今日买头寸",
  15447. "type": "integer"
  15448. },
  15449. "curtdsellposition": {
  15450. "description": "期末今日卖头寸",
  15451. "type": "integer"
  15452. },
  15453. "curydbuyposition": {
  15454. "description": "期末上日买头寸",
  15455. "type": "integer"
  15456. },
  15457. "curydsellposition": {
  15458. "description": "期末上日卖头寸",
  15459. "type": "integer"
  15460. },
  15461. "decreaseqty": {
  15462. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15463. "type": "integer"
  15464. },
  15465. "fretdbuyposition": {
  15466. "description": "冻结今日买头寸",
  15467. "type": "integer"
  15468. },
  15469. "fretdsellposition": {
  15470. "description": "冻结今日卖头寸",
  15471. "type": "integer"
  15472. },
  15473. "freydbuyposition": {
  15474. "description": "冻结上日买头寸",
  15475. "type": "integer"
  15476. },
  15477. "freydsellposition": {
  15478. "description": "冻结上日卖头寸",
  15479. "type": "integer"
  15480. },
  15481. "goodscode": {
  15482. "description": "商品代码",
  15483. "type": "string"
  15484. },
  15485. "goodsid": {
  15486. "description": "商品id",
  15487. "type": "integer"
  15488. },
  15489. "goodsname": {
  15490. "description": "商品名称",
  15491. "type": "string"
  15492. },
  15493. "hedgeaccountcode": {
  15494. "description": "对冲账号",
  15495. "type": "string"
  15496. },
  15497. "hedgegoodsid": {
  15498. "description": "对冲合约ID",
  15499. "type": "integer"
  15500. },
  15501. "increaseqty": {
  15502. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15503. "type": "integer"
  15504. },
  15505. "marketid": {
  15506. "description": "市场ID",
  15507. "type": "integer"
  15508. },
  15509. "relateduserid": {
  15510. "description": "关联用户id",
  15511. "type": "integer"
  15512. },
  15513. "totalcurqty": {
  15514. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15515. "type": "integer"
  15516. },
  15517. "totalydqty": {
  15518. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15519. "type": "integer"
  15520. },
  15521. "tradedate": {
  15522. "description": "交易日(yyyyMMdd)",
  15523. "type": "string"
  15524. },
  15525. "ydbuyposition": {
  15526. "description": "期初买头寸",
  15527. "type": "integer"
  15528. },
  15529. "ydsellposition": {
  15530. "description": "期初卖头寸",
  15531. "type": "integer"
  15532. }
  15533. }
  15534. },
  15535. "ermcp.ExposureSpotDetailRsp": {
  15536. "type": "object",
  15537. "properties": {
  15538. "contracttype": {
  15539. "description": "合同类型 1-采购 -1-销售",
  15540. "type": "integer"
  15541. },
  15542. "createtime": {
  15543. "description": "创建时间",
  15544. "type": "string"
  15545. },
  15546. "enumdicname": {
  15547. "description": "现货商品单位名称",
  15548. "type": "string"
  15549. },
  15550. "logtype": {
  15551. "description": "记录类型 1-套保 2-现货合同",
  15552. "type": "integer"
  15553. },
  15554. "qty": {
  15555. "description": "数量",
  15556. "type": "number"
  15557. },
  15558. "recordname": {
  15559. "description": "类型名称",
  15560. "type": "string"
  15561. },
  15562. "relatedid": {
  15563. "description": "套保计划ID/现货合同ID",
  15564. "type": "string"
  15565. },
  15566. "relatedno": {
  15567. "description": "编号",
  15568. "type": "string"
  15569. },
  15570. "strtime": {
  15571. "description": "时间",
  15572. "type": "string"
  15573. },
  15574. "wrstandardcode": {
  15575. "description": "现货商品代码",
  15576. "type": "string"
  15577. },
  15578. "wrstandardname": {
  15579. "description": "现货商品名称",
  15580. "type": "string"
  15581. }
  15582. }
  15583. },
  15584. "ermcp.ExposureSpotRsp": {
  15585. "type": "object",
  15586. "properties": {
  15587. "areauserid": {
  15588. "description": "所属机构",
  15589. "type": "integer"
  15590. },
  15591. "decreaseqty": {
  15592. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15593. "type": "number"
  15594. },
  15595. "increaseqty": {
  15596. "description": "增加数量=销售计划数量+采购已定价数量",
  15597. "type": "number"
  15598. },
  15599. "oritoalspotqty": {
  15600. "description": "昨日数量",
  15601. "type": "number"
  15602. },
  15603. "totalspotqty": {
  15604. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15605. "type": "number"
  15606. },
  15607. "updatetime": {
  15608. "description": "更新时间",
  15609. "type": "string"
  15610. },
  15611. "wrstandardcode": {
  15612. "description": "现货品种代码",
  15613. "type": "string"
  15614. },
  15615. "wrstandardid": {
  15616. "description": "现货商品ID",
  15617. "type": "integer"
  15618. },
  15619. "wrstandardname": {
  15620. "description": "现货品种",
  15621. "type": "string"
  15622. }
  15623. }
  15624. },
  15625. "ermcp.HisExposureRsp": {
  15626. "type": "object",
  15627. "properties": {
  15628. "data": {
  15629. "description": "历史敞口",
  15630. "type": "array",
  15631. "items": {
  15632. "$ref": "#/definitions/models.ErmcpHisExposure"
  15633. }
  15634. },
  15635. "enumdicname": {
  15636. "description": "单位名称",
  15637. "type": "string"
  15638. },
  15639. "middlegoodscode": {
  15640. "description": "套保品种代码",
  15641. "type": "string"
  15642. },
  15643. "middlegoodsid": {
  15644. "description": "套保品种ID",
  15645. "type": "integer"
  15646. },
  15647. "middlegoodsname": {
  15648. "description": "套保品种名称",
  15649. "type": "string"
  15650. }
  15651. }
  15652. },
  15653. "ermcp.PendingAuditCntRsp": {
  15654. "type": "object",
  15655. "properties": {
  15656. "areastockqty": {
  15657. "description": "待审核数量: 库存申请",
  15658. "type": "integer"
  15659. },
  15660. "businessdjqty": {
  15661. "description": "待审核数量: 点价",
  15662. "type": "integer"
  15663. },
  15664. "businessfpqty": {
  15665. "description": "待审核数量: 发票",
  15666. "type": "integer"
  15667. },
  15668. "businessjsqty": {
  15669. "description": "待审核数量: 结算",
  15670. "type": "integer"
  15671. },
  15672. "businesskxqty": {
  15673. "description": "待审核数量: 款项",
  15674. "type": "integer"
  15675. },
  15676. "hedgeplanqty": {
  15677. "description": "待审核数量: 套保计划",
  15678. "type": "integer"
  15679. },
  15680. "spotcontractqty": {
  15681. "description": "待审核数量: 现货合同",
  15682. "type": "integer"
  15683. },
  15684. "userqty": {
  15685. "description": "待审核数量: 用户",
  15686. "type": "integer"
  15687. }
  15688. }
  15689. },
  15690. "ermcp.QryAvalidGPRsp": {
  15691. "type": "object",
  15692. "properties": {
  15693. "goodsgroupid": {
  15694. "description": "期货品种id",
  15695. "type": "integer"
  15696. },
  15697. "goodsgroupname": {
  15698. "description": "期货品种名称",
  15699. "type": "string"
  15700. },
  15701. "goodunitid": {
  15702. "description": "品种单位id",
  15703. "type": "integer"
  15704. },
  15705. "goodunitname": {
  15706. "description": "品种单位名称",
  15707. "type": "string"
  15708. },
  15709. "outergroupcode": {
  15710. "description": "期货品种代码",
  15711. "type": "string"
  15712. }
  15713. }
  15714. },
  15715. "ermcp.QryBusinessDjRsp": {
  15716. "type": "object",
  15717. "properties": {
  15718. "amount": {
  15719. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15720. "type": "number"
  15721. },
  15722. "applyid": {
  15723. "description": "申请人",
  15724. "type": "string"
  15725. },
  15726. "applyname": {
  15727. "description": "申请人名称",
  15728. "type": "string"
  15729. },
  15730. "applystatus": {
  15731. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15732. "type": "integer"
  15733. },
  15734. "applytime": {
  15735. "description": "申请时间",
  15736. "type": "string"
  15737. },
  15738. "attachurl": {
  15739. "description": "附件",
  15740. "type": "string"
  15741. },
  15742. "auditid": {
  15743. "description": "审核人ID",
  15744. "type": "string"
  15745. },
  15746. "auditname": {
  15747. "description": "审核人名称",
  15748. "type": "string"
  15749. },
  15750. "audittime": {
  15751. "description": "审核时间",
  15752. "type": "string"
  15753. },
  15754. "buyusername": {
  15755. "description": "采购方名称",
  15756. "type": "string"
  15757. },
  15758. "contractno": {
  15759. "description": "合同编号",
  15760. "type": "string"
  15761. },
  15762. "contractstatus": {
  15763. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15764. "type": "integer"
  15765. },
  15766. "contracttype": {
  15767. "description": "现货合同类型 - 1:采购 -1:销售",
  15768. "type": "integer"
  15769. },
  15770. "deliverygoodscode": {
  15771. "description": "现货品种代码",
  15772. "type": "string"
  15773. },
  15774. "deliverygoodsid": {
  15775. "description": "现货商品ID",
  15776. "type": "integer"
  15777. },
  15778. "deliverygoodsname": {
  15779. "description": "现货品种名称",
  15780. "type": "string"
  15781. },
  15782. "enumdicname": {
  15783. "description": "单位名称",
  15784. "type": "string"
  15785. },
  15786. "goodscode": {
  15787. "description": "点价合约",
  15788. "type": "string"
  15789. },
  15790. "goodsname": {
  15791. "description": "商品名称",
  15792. "type": "string"
  15793. },
  15794. "operateapplyid": {
  15795. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15796. "type": "string"
  15797. },
  15798. "operateapplytype": {
  15799. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15800. "type": "integer"
  15801. },
  15802. "pricedPrice": {
  15803. "description": "点价价格(非必填)",
  15804. "type": "number"
  15805. },
  15806. "pricedQty": {
  15807. "description": "点价数量(非必填)",
  15808. "type": "number"
  15809. },
  15810. "pricemove": {
  15811. "description": "升贴水",
  15812. "type": "number"
  15813. },
  15814. "pricetype": {
  15815. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15816. "type": "integer"
  15817. },
  15818. "relatedid": {
  15819. "description": "现货合同ID",
  15820. "type": "string"
  15821. },
  15822. "sellusername": {
  15823. "description": "销售方名字",
  15824. "type": "string"
  15825. },
  15826. "userid": {
  15827. "description": "用户ID",
  15828. "type": "integer"
  15829. },
  15830. "wrstandardcode": {
  15831. "description": "品类代码",
  15832. "type": "string"
  15833. },
  15834. "wrstandardid": {
  15835. "description": "品类id",
  15836. "type": "integer"
  15837. },
  15838. "wrstandardname": {
  15839. "description": "品类名称",
  15840. "type": "string"
  15841. }
  15842. }
  15843. },
  15844. "ermcp.QryBussinessFpRsp": {
  15845. "type": "object",
  15846. "properties": {
  15847. "applyid": {
  15848. "description": "申请人",
  15849. "type": "string"
  15850. },
  15851. "applyname": {
  15852. "description": "申请人名称",
  15853. "type": "string"
  15854. },
  15855. "applystatus": {
  15856. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15857. "type": "integer"
  15858. },
  15859. "applytime": {
  15860. "description": "申请时间",
  15861. "type": "string"
  15862. },
  15863. "attachurl": {
  15864. "description": "附件",
  15865. "type": "string"
  15866. },
  15867. "auditid": {
  15868. "description": "审核人ID",
  15869. "type": "string"
  15870. },
  15871. "auditname": {
  15872. "description": "审核人名称",
  15873. "type": "string"
  15874. },
  15875. "audittime": {
  15876. "description": "审核时间",
  15877. "type": "string"
  15878. },
  15879. "buyusername": {
  15880. "description": "采购方名称",
  15881. "type": "string"
  15882. },
  15883. "contractno": {
  15884. "description": "合同编号",
  15885. "type": "string"
  15886. },
  15887. "contractstatus": {
  15888. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15889. "type": "integer"
  15890. },
  15891. "contracttype": {
  15892. "description": "现货合同类型 - 1:采购 -1:销售",
  15893. "type": "integer"
  15894. },
  15895. "deliverygoodscode": {
  15896. "description": "现货品种代码",
  15897. "type": "string"
  15898. },
  15899. "deliverygoodsid": {
  15900. "description": "现货商品ID",
  15901. "type": "integer"
  15902. },
  15903. "deliverygoodsname": {
  15904. "description": "现货品种名称",
  15905. "type": "string"
  15906. },
  15907. "enumdicname": {
  15908. "description": "单位名称",
  15909. "type": "string"
  15910. },
  15911. "goodscode": {
  15912. "description": "点价合约",
  15913. "type": "string"
  15914. },
  15915. "goodsname": {
  15916. "description": "商品名称",
  15917. "type": "string"
  15918. },
  15919. "invoiceAmount": {
  15920. "description": "已开收票金额(销售为开票,采购为收票)",
  15921. "type": "number"
  15922. },
  15923. "operateapplyid": {
  15924. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15925. "type": "string"
  15926. },
  15927. "operateapplytype": {
  15928. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15929. "type": "integer"
  15930. },
  15931. "pricemove": {
  15932. "description": "升贴水",
  15933. "type": "number"
  15934. },
  15935. "pricetype": {
  15936. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15937. "type": "integer"
  15938. },
  15939. "relatedid": {
  15940. "description": "现货合同ID",
  15941. "type": "string"
  15942. },
  15943. "sellusername": {
  15944. "description": "销售方名字",
  15945. "type": "string"
  15946. },
  15947. "userid": {
  15948. "description": "用户ID",
  15949. "type": "integer"
  15950. },
  15951. "wrstandardcode": {
  15952. "description": "品类代码",
  15953. "type": "string"
  15954. },
  15955. "wrstandardid": {
  15956. "description": "品类id",
  15957. "type": "integer"
  15958. },
  15959. "wrstandardname": {
  15960. "description": "品类名称",
  15961. "type": "string"
  15962. }
  15963. }
  15964. },
  15965. "ermcp.QryBussinessJsExRsp": {
  15966. "type": "object",
  15967. "properties": {
  15968. "applyid": {
  15969. "description": "申请人",
  15970. "type": "string"
  15971. },
  15972. "applyname": {
  15973. "description": "申请人名称",
  15974. "type": "string"
  15975. },
  15976. "applystatus": {
  15977. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15978. "type": "integer"
  15979. },
  15980. "applytime": {
  15981. "description": "申请时间",
  15982. "type": "string"
  15983. },
  15984. "attachurl": {
  15985. "description": "附件",
  15986. "type": "string"
  15987. },
  15988. "auditid": {
  15989. "description": "审核人ID",
  15990. "type": "string"
  15991. },
  15992. "auditname": {
  15993. "description": "审核人名称",
  15994. "type": "string"
  15995. },
  15996. "audittime": {
  15997. "description": "审核时间",
  15998. "type": "string"
  15999. },
  16000. "buyusername": {
  16001. "description": "采购方名称",
  16002. "type": "string"
  16003. },
  16004. "contractno": {
  16005. "description": "合同编号",
  16006. "type": "string"
  16007. },
  16008. "contractstatus": {
  16009. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16010. "type": "integer"
  16011. },
  16012. "contracttype": {
  16013. "description": "现货合同类型 - 1:采购 -1:销售",
  16014. "type": "integer"
  16015. },
  16016. "deliverygoodscode": {
  16017. "description": "现货品种代码",
  16018. "type": "string"
  16019. },
  16020. "deliverygoodsid": {
  16021. "description": "现货商品ID",
  16022. "type": "integer"
  16023. },
  16024. "deliverygoodsname": {
  16025. "description": "现货品种名称",
  16026. "type": "string"
  16027. },
  16028. "enumdicname": {
  16029. "description": "单位名称",
  16030. "type": "string"
  16031. },
  16032. "goodscode": {
  16033. "description": "点价合约",
  16034. "type": "string"
  16035. },
  16036. "goodsname": {
  16037. "description": "商品名称",
  16038. "type": "string"
  16039. },
  16040. "operateapplyid": {
  16041. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16042. "type": "string"
  16043. },
  16044. "operateapplytype": {
  16045. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16046. "type": "integer"
  16047. },
  16048. "pricemove": {
  16049. "description": "升贴水",
  16050. "type": "number"
  16051. },
  16052. "pricetype": {
  16053. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16054. "type": "integer"
  16055. },
  16056. "reckontype": {
  16057. "description": "结算类型",
  16058. "type": "string"
  16059. },
  16060. "reckonvalue": {
  16061. "description": "值",
  16062. "type": "number"
  16063. },
  16064. "relatedid": {
  16065. "description": "现货合同ID",
  16066. "type": "string"
  16067. },
  16068. "sellusername": {
  16069. "description": "销售方名字",
  16070. "type": "string"
  16071. },
  16072. "userid": {
  16073. "description": "用户ID",
  16074. "type": "integer"
  16075. },
  16076. "wrstandardcode": {
  16077. "description": "品类代码",
  16078. "type": "string"
  16079. },
  16080. "wrstandardid": {
  16081. "description": "品类id",
  16082. "type": "integer"
  16083. },
  16084. "wrstandardname": {
  16085. "description": "品类名称",
  16086. "type": "string"
  16087. }
  16088. }
  16089. },
  16090. "ermcp.QryBussinessJsRsp": {
  16091. "type": "object",
  16092. "properties": {
  16093. "addmargin": {
  16094. "description": "追加保证金(非必填)",
  16095. "type": "number"
  16096. },
  16097. "applyid": {
  16098. "description": "申请人",
  16099. "type": "string"
  16100. },
  16101. "applyname": {
  16102. "description": "申请人名称",
  16103. "type": "string"
  16104. },
  16105. "applystatus": {
  16106. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16107. "type": "integer"
  16108. },
  16109. "applytime": {
  16110. "description": "申请时间",
  16111. "type": "string"
  16112. },
  16113. "attachurl": {
  16114. "description": "附件",
  16115. "type": "string"
  16116. },
  16117. "auditid": {
  16118. "description": "审核人ID",
  16119. "type": "string"
  16120. },
  16121. "auditname": {
  16122. "description": "审核人名称",
  16123. "type": "string"
  16124. },
  16125. "audittime": {
  16126. "description": "审核时间",
  16127. "type": "string"
  16128. },
  16129. "buyusername": {
  16130. "description": "采购方名称",
  16131. "type": "string"
  16132. },
  16133. "contractno": {
  16134. "description": "合同编号",
  16135. "type": "string"
  16136. },
  16137. "contractstatus": {
  16138. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16139. "type": "integer"
  16140. },
  16141. "contracttype": {
  16142. "description": "现货合同类型 - 1:采购 -1:销售",
  16143. "type": "integer"
  16144. },
  16145. "decmargin": {
  16146. "description": "减少保证金(非必填)",
  16147. "type": "number"
  16148. },
  16149. "deliverygoodscode": {
  16150. "description": "现货品种代码",
  16151. "type": "string"
  16152. },
  16153. "deliverygoodsid": {
  16154. "description": "现货商品ID",
  16155. "type": "integer"
  16156. },
  16157. "deliverygoodsname": {
  16158. "description": "现货品种名称",
  16159. "type": "string"
  16160. },
  16161. "enumdicname": {
  16162. "description": "单位名称",
  16163. "type": "string"
  16164. },
  16165. "goodscode": {
  16166. "description": "点价合约",
  16167. "type": "string"
  16168. },
  16169. "goodsname": {
  16170. "description": "商品名称",
  16171. "type": "string"
  16172. },
  16173. "operateapplyid": {
  16174. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16175. "type": "string"
  16176. },
  16177. "operateapplytype": {
  16178. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16179. "type": "integer"
  16180. },
  16181. "pricemove": {
  16182. "description": "升贴水",
  16183. "type": "number"
  16184. },
  16185. "pricetype": {
  16186. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16187. "type": "integer"
  16188. },
  16189. "reckonadjustamount": {
  16190. "description": "结算调整金额(非必填)",
  16191. "type": "number"
  16192. },
  16193. "reckonosamount": {
  16194. "description": "结算溢短金额(非必填)",
  16195. "type": "number"
  16196. },
  16197. "reckonotheramount": {
  16198. "description": "结算其他费用(非必填)",
  16199. "type": "number"
  16200. },
  16201. "reckonrealqty": {
  16202. "description": "结算实际数量(非必填)",
  16203. "type": "number"
  16204. },
  16205. "relatedid": {
  16206. "description": "现货合同ID",
  16207. "type": "string"
  16208. },
  16209. "sellusername": {
  16210. "description": "销售方名字",
  16211. "type": "string"
  16212. },
  16213. "userid": {
  16214. "description": "用户ID",
  16215. "type": "integer"
  16216. },
  16217. "wrstandardcode": {
  16218. "description": "品类代码",
  16219. "type": "string"
  16220. },
  16221. "wrstandardid": {
  16222. "description": "品类id",
  16223. "type": "integer"
  16224. },
  16225. "wrstandardname": {
  16226. "description": "品类名称",
  16227. "type": "string"
  16228. }
  16229. }
  16230. },
  16231. "ermcp.QryBussinessKxRsp": {
  16232. "type": "object",
  16233. "properties": {
  16234. "applyid": {
  16235. "description": "申请人",
  16236. "type": "string"
  16237. },
  16238. "applyname": {
  16239. "description": "申请人名称",
  16240. "type": "string"
  16241. },
  16242. "applystatus": {
  16243. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16244. "type": "integer"
  16245. },
  16246. "applytime": {
  16247. "description": "申请时间",
  16248. "type": "string"
  16249. },
  16250. "attachurl": {
  16251. "description": "附件",
  16252. "type": "string"
  16253. },
  16254. "auditid": {
  16255. "description": "审核人ID",
  16256. "type": "string"
  16257. },
  16258. "auditname": {
  16259. "description": "审核人名称",
  16260. "type": "string"
  16261. },
  16262. "audittime": {
  16263. "description": "审核时间",
  16264. "type": "string"
  16265. },
  16266. "buyusername": {
  16267. "description": "采购方名称",
  16268. "type": "string"
  16269. },
  16270. "contractno": {
  16271. "description": "合同编号",
  16272. "type": "string"
  16273. },
  16274. "contractstatus": {
  16275. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16276. "type": "integer"
  16277. },
  16278. "contracttype": {
  16279. "description": "现货合同类型 - 1:采购 -1:销售",
  16280. "type": "integer"
  16281. },
  16282. "deductamount": {
  16283. "description": "退款(非必填)",
  16284. "type": "number"
  16285. },
  16286. "deliverygoodscode": {
  16287. "description": "现货品种代码",
  16288. "type": "string"
  16289. },
  16290. "deliverygoodsid": {
  16291. "description": "现货商品ID",
  16292. "type": "integer"
  16293. },
  16294. "deliverygoodsname": {
  16295. "description": "现货品种名称",
  16296. "type": "string"
  16297. },
  16298. "enumdicname": {
  16299. "description": "单位名称",
  16300. "type": "string"
  16301. },
  16302. "goodscode": {
  16303. "description": "点价合约",
  16304. "type": "string"
  16305. },
  16306. "goodsname": {
  16307. "description": "商品名称",
  16308. "type": "string"
  16309. },
  16310. "kxtype": {
  16311. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16312. "type": "integer"
  16313. },
  16314. "operateapplyid": {
  16315. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16316. "type": "string"
  16317. },
  16318. "operateapplytype": {
  16319. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16320. "type": "integer"
  16321. },
  16322. "payamount": {
  16323. "description": "收付款(非必填)",
  16324. "type": "number"
  16325. },
  16326. "pricemove": {
  16327. "description": "升贴水",
  16328. "type": "number"
  16329. },
  16330. "pricetype": {
  16331. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16332. "type": "integer"
  16333. },
  16334. "relatedid": {
  16335. "description": "现货合同ID",
  16336. "type": "string"
  16337. },
  16338. "sellusername": {
  16339. "description": "销售方名字",
  16340. "type": "string"
  16341. },
  16342. "userid": {
  16343. "description": "用户ID",
  16344. "type": "integer"
  16345. },
  16346. "wrstandardcode": {
  16347. "description": "品类代码",
  16348. "type": "string"
  16349. },
  16350. "wrstandardid": {
  16351. "description": "品类id",
  16352. "type": "integer"
  16353. },
  16354. "wrstandardname": {
  16355. "description": "品类名称",
  16356. "type": "string"
  16357. }
  16358. }
  16359. },
  16360. "ermcp.QryGGCovertCfgRsp": {
  16361. "type": "object",
  16362. "properties": {
  16363. "convertratio": {
  16364. "description": "折算系数",
  16365. "type": "number"
  16366. },
  16367. "destgoodsgroupid": {
  16368. "description": "目标品种ID",
  16369. "type": "integer"
  16370. },
  16371. "dstcode": {
  16372. "description": "目录品种代码",
  16373. "type": "string"
  16374. },
  16375. "dstexchangecode": {
  16376. "description": "目标期货交易所",
  16377. "type": "string"
  16378. },
  16379. "dstname": {
  16380. "description": "目标品种名称",
  16381. "type": "string"
  16382. },
  16383. "dstunitid": {
  16384. "description": "目标品种单位ID",
  16385. "type": "integer"
  16386. },
  16387. "dstunitidname": {
  16388. "description": "目标品种单位名称",
  16389. "type": "string"
  16390. },
  16391. "modifytime": {
  16392. "description": "修改时间",
  16393. "type": "string"
  16394. },
  16395. "srccode": {
  16396. "description": "源品种代码",
  16397. "type": "string"
  16398. },
  16399. "srcexchangecode": {
  16400. "description": "源期货交易所",
  16401. "type": "string"
  16402. },
  16403. "srcgoodsgroupid": {
  16404. "description": "源品种ID",
  16405. "type": "integer"
  16406. },
  16407. "srcname": {
  16408. "description": "源品种名称",
  16409. "type": "string"
  16410. },
  16411. "srcunitid": {
  16412. "description": "源品种单位ID",
  16413. "type": "integer"
  16414. },
  16415. "srcunitidname": {
  16416. "description": "源品种单位名称",
  16417. "type": "string"
  16418. }
  16419. }
  16420. },
  16421. "ermcp.QryMGChangeLogRsp": {
  16422. "type": "object",
  16423. "properties": {
  16424. "aftervalue": {
  16425. "description": "变更后",
  16426. "type": "number"
  16427. },
  16428. "applyid": {
  16429. "description": "操作人",
  16430. "type": "integer"
  16431. },
  16432. "applyname": {
  16433. "description": "操作人名称",
  16434. "type": "string"
  16435. },
  16436. "applysrc": {
  16437. "description": "操作来源 - 1:管理端 2:终端",
  16438. "type": "integer"
  16439. },
  16440. "beforevalue": {
  16441. "description": "变更前",
  16442. "type": "number"
  16443. },
  16444. "changelogtype": {
  16445. "description": "变更流水类型 - 1:套保比率变更",
  16446. "type": "integer"
  16447. },
  16448. "handlestatus": {
  16449. "description": "处理状态",
  16450. "type": "integer"
  16451. },
  16452. "logdatetime": {
  16453. "description": "流水日期",
  16454. "type": "string"
  16455. },
  16456. "logid": {
  16457. "description": "流水ID",
  16458. "type": "integer"
  16459. },
  16460. "logremark": {
  16461. "description": "流水备注",
  16462. "type": "string"
  16463. },
  16464. "middlegoodsid": {
  16465. "description": "套保品种ID",
  16466. "type": "integer"
  16467. },
  16468. "tradedate": {
  16469. "description": "交易日(yyyyMMdd)",
  16470. "type": "string"
  16471. },
  16472. "updatetime": {
  16473. "description": "更新时间",
  16474. "type": "string"
  16475. }
  16476. }
  16477. },
  16478. "ermcp.QryMiddleGoodsDetailRsp": {
  16479. "type": "object",
  16480. "properties": {
  16481. "cvList": {
  16482. "description": "期货品种折算列表",
  16483. "type": "array",
  16484. "items": {
  16485. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16486. }
  16487. },
  16488. "mg": {
  16489. "description": "套保品种基本信息",
  16490. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16491. },
  16492. "wrcList": {
  16493. "description": "现货品种列表(现货商品折算配置)",
  16494. "type": "array",
  16495. "items": {
  16496. "$ref": "#/definitions/models.WRSConverTDetail"
  16497. }
  16498. }
  16499. }
  16500. },
  16501. "ermcp.QryMiddleGoodsRsp": {
  16502. "type": "object",
  16503. "properties": {
  16504. "areauserid": {
  16505. "description": "机构用户ID",
  16506. "type": "integer"
  16507. },
  16508. "createtime": {
  16509. "description": "修改时间",
  16510. "type": "string"
  16511. },
  16512. "enumdicname": {
  16513. "description": "单位名称",
  16514. "type": "string"
  16515. },
  16516. "evaluateratio": {
  16517. "description": "估价系数",
  16518. "type": "number"
  16519. },
  16520. "goodsgroupid": {
  16521. "description": "关联期货品种ID",
  16522. "type": "integer"
  16523. },
  16524. "goodsunitid": {
  16525. "description": "单位ID",
  16526. "type": "integer"
  16527. },
  16528. "isvalid": {
  16529. "description": "状态 0-无效(停用) 1-有效(正常)",
  16530. "type": "integer"
  16531. },
  16532. "middlegoodscode": {
  16533. "description": "套保品种代码",
  16534. "type": "string"
  16535. },
  16536. "middlegoodsid": {
  16537. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16538. "type": "integer"
  16539. },
  16540. "middlegoodsname": {
  16541. "description": "套保品种名称",
  16542. "type": "string"
  16543. },
  16544. "modifytime": {
  16545. "description": "修改时间",
  16546. "type": "string"
  16547. },
  16548. "needarbitrageratio": {
  16549. "description": "套利比例",
  16550. "type": "number"
  16551. },
  16552. "needhedgeratio": {
  16553. "description": "套保比率",
  16554. "type": "number"
  16555. },
  16556. "qtydecimalplace": {
  16557. "description": "数量小数位",
  16558. "type": "integer"
  16559. },
  16560. "relatedgoodsid": {
  16561. "description": "关联交易商品ID",
  16562. "type": "integer"
  16563. },
  16564. "relatedgoodstype": {
  16565. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16566. "type": "integer"
  16567. },
  16568. "remark": {
  16569. "description": "备注",
  16570. "type": "string"
  16571. }
  16572. }
  16573. },
  16574. "ermcp.QryOPLogRsp": {
  16575. "type": "object",
  16576. "properties": {
  16577. "aftervalue": {
  16578. "description": "变更后",
  16579. "type": "number"
  16580. },
  16581. "applyid": {
  16582. "description": "操作人ID",
  16583. "type": "string"
  16584. },
  16585. "applyname": {
  16586. "description": "操作人名称",
  16587. "type": "string"
  16588. },
  16589. "beforevalue": {
  16590. "description": "变更前",
  16591. "type": "number"
  16592. },
  16593. "biztype": {
  16594. "description": "业务类型 - 1:套保计划 2:现货合同",
  16595. "type": "integer"
  16596. },
  16597. "contracttype": {
  16598. "description": "现货合同类型 - 1:采购 -1:销售",
  16599. "type": "integer"
  16600. },
  16601. "logvalue": {
  16602. "description": "数值",
  16603. "type": "number"
  16604. },
  16605. "operatelogtype": {
  16606. "description": "操作流水类型",
  16607. "type": "integer"
  16608. },
  16609. "operatelogtypedesc": {
  16610. "description": "操作流水类型名称",
  16611. "type": "string"
  16612. },
  16613. "relatedid": {
  16614. "description": "现货合同ID\\套保计划",
  16615. "type": "string"
  16616. },
  16617. "updatetime": {
  16618. "description": "更新时间",
  16619. "type": "string"
  16620. }
  16621. }
  16622. },
  16623. "ermcp.QryUserInfoRsp": {
  16624. "type": "object",
  16625. "properties": {
  16626. "address": {
  16627. "description": "通讯地址",
  16628. "type": "string"
  16629. },
  16630. "attachment1": {
  16631. "description": "附件1",
  16632. "type": "string"
  16633. },
  16634. "audittime": {
  16635. "description": "审核时间",
  16636. "type": "string"
  16637. },
  16638. "cardbackphotourl": {
  16639. "description": "证件反面图片地址",
  16640. "type": "string"
  16641. },
  16642. "cardfrontphotourl": {
  16643. "description": "证件正面图片地址",
  16644. "type": "string"
  16645. },
  16646. "cardnum": {
  16647. "description": "证件号码",
  16648. "type": "string"
  16649. },
  16650. "cardtype": {
  16651. "description": "证件类型",
  16652. "type": "integer"
  16653. },
  16654. "cardtypename": {
  16655. "description": "证件类型名称",
  16656. "type": "string"
  16657. },
  16658. "cityid": {
  16659. "description": "市",
  16660. "type": "integer"
  16661. },
  16662. "contactname": {
  16663. "description": "联系人",
  16664. "type": "string"
  16665. },
  16666. "countryid": {
  16667. "description": "国家",
  16668. "type": "integer"
  16669. },
  16670. "createtime": {
  16671. "description": "创建时间",
  16672. "type": "string"
  16673. },
  16674. "customername": {
  16675. "description": "企业名称",
  16676. "type": "string"
  16677. },
  16678. "districtid": {
  16679. "description": "区域",
  16680. "type": "integer"
  16681. },
  16682. "email": {
  16683. "description": "邮件",
  16684. "type": "string"
  16685. },
  16686. "legalpersonname": {
  16687. "description": "法人姓名(企业)",
  16688. "type": "string"
  16689. },
  16690. "memberuserid": {
  16691. "description": "所属机构ID",
  16692. "type": "integer"
  16693. },
  16694. "mobile": {
  16695. "description": "手机号码",
  16696. "type": "string"
  16697. },
  16698. "modifytime": {
  16699. "description": "修改时间",
  16700. "type": "string"
  16701. },
  16702. "nickname": {
  16703. "description": "昵称",
  16704. "type": "string"
  16705. },
  16706. "provinceid": {
  16707. "description": "省",
  16708. "type": "integer"
  16709. },
  16710. "remark": {
  16711. "description": "备注",
  16712. "type": "string"
  16713. },
  16714. "status": {
  16715. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16716. "type": "integer"
  16717. },
  16718. "statusdesc": {
  16719. "description": "账户状态中文描述",
  16720. "type": "string"
  16721. },
  16722. "taxpayernum": {
  16723. "description": "纳税人识别号",
  16724. "type": "string"
  16725. },
  16726. "telphone": {
  16727. "description": "联系电话",
  16728. "type": "string"
  16729. },
  16730. "userid": {
  16731. "description": "用户ID",
  16732. "type": "integer"
  16733. },
  16734. "userinfotype": {
  16735. "description": "客户类型",
  16736. "type": "string"
  16737. }
  16738. }
  16739. },
  16740. "ermcp.QryWarehouseRsp": {
  16741. "type": "object",
  16742. "properties": {
  16743. "address": {
  16744. "description": "详细地址",
  16745. "type": "string"
  16746. },
  16747. "areauserid": {
  16748. "description": "所属机构",
  16749. "type": "integer"
  16750. },
  16751. "autoid": {
  16752. "description": "自增ID(仓库ID)",
  16753. "type": "integer"
  16754. },
  16755. "cityid": {
  16756. "description": "市",
  16757. "type": "integer"
  16758. },
  16759. "contactname": {
  16760. "description": "联系人",
  16761. "type": "string"
  16762. },
  16763. "contactnum": {
  16764. "description": "联系电话",
  16765. "type": "string"
  16766. },
  16767. "countryid": {
  16768. "description": "国家",
  16769. "type": "integer"
  16770. },
  16771. "createtime": {
  16772. "description": "创建时间",
  16773. "type": "string"
  16774. },
  16775. "districtid": {
  16776. "description": "区",
  16777. "type": "integer"
  16778. },
  16779. "hasvideo": {
  16780. "description": "是否有视频 - 0:无 1:有",
  16781. "type": "integer"
  16782. },
  16783. "provinceid": {
  16784. "description": "省",
  16785. "type": "integer"
  16786. },
  16787. "remark": {
  16788. "description": "审核备注",
  16789. "type": "string"
  16790. },
  16791. "videourl": {
  16792. "description": "视频地址",
  16793. "type": "string"
  16794. },
  16795. "warehousecode": {
  16796. "description": "仓库代码",
  16797. "type": "string"
  16798. },
  16799. "warehousename": {
  16800. "description": "仓库名称",
  16801. "type": "string"
  16802. },
  16803. "warehousestatus": {
  16804. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16805. "type": "integer"
  16806. },
  16807. "warehousetype": {
  16808. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16809. "type": "integer"
  16810. }
  16811. }
  16812. },
  16813. "ermcp.QueryErmcpTradePositionRsp": {
  16814. "type": "object",
  16815. "properties": {
  16816. "agreeunit": {
  16817. "description": "合约单位",
  16818. "type": "number"
  16819. },
  16820. "buyorsell": {
  16821. "description": "方向 - 0:买 1:卖",
  16822. "type": "integer"
  16823. },
  16824. "curpositionqty": {
  16825. "description": "持仓(总仓数量, 期末头寸)",
  16826. "type": "integer"
  16827. },
  16828. "curtdposition": {
  16829. "description": "今仓数量(期末今日头寸)",
  16830. "type": "integer"
  16831. },
  16832. "curtdpositionenabled": {
  16833. "description": "今仓可用",
  16834. "type": "integer"
  16835. },
  16836. "decimalplace": {
  16837. "description": "报价小数位",
  16838. "type": "integer"
  16839. },
  16840. "enableqty": {
  16841. "description": "可用(总仓可用)",
  16842. "type": "integer"
  16843. },
  16844. "exexchangename": {
  16845. "description": "外部交易所名称",
  16846. "type": "string"
  16847. },
  16848. "goodscode": {
  16849. "description": "商品代码(内部)",
  16850. "type": "string"
  16851. },
  16852. "goodsid": {
  16853. "description": "商品ID(自增ID SEQ_GOODS)",
  16854. "type": "integer"
  16855. },
  16856. "goodsname": {
  16857. "description": "商品名称",
  16858. "type": "string"
  16859. },
  16860. "last": {
  16861. "description": "现价",
  16862. "type": "number"
  16863. },
  16864. "marketid": {
  16865. "description": "所属市场ID",
  16866. "type": "integer"
  16867. },
  16868. "openaverageprice": {
  16869. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16870. "type": "number"
  16871. },
  16872. "opencost": {
  16873. "description": "开仓成本",
  16874. "type": "number"
  16875. },
  16876. "openpl": {
  16877. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16878. "type": "number"
  16879. },
  16880. "outgoodscode": {
  16881. "description": "商品代码(外部)",
  16882. "type": "string"
  16883. },
  16884. "positionaverageprice": {
  16885. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16886. "type": "number"
  16887. },
  16888. "positioncost": {
  16889. "description": "持仓成本",
  16890. "type": "number"
  16891. },
  16892. "positionpl": {
  16893. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16894. "type": "number"
  16895. },
  16896. "positionplrate": {
  16897. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16898. "type": "number"
  16899. },
  16900. "usedmargin": {
  16901. "description": "占用保证金",
  16902. "type": "number"
  16903. }
  16904. }
  16905. },
  16906. "ermcp.RealtimeExposurePositionRsp": {
  16907. "type": "object",
  16908. "properties": {
  16909. "agreeunit": {
  16910. "description": "合约单位",
  16911. "type": "string"
  16912. },
  16913. "areauserid": {
  16914. "description": "所属机构id",
  16915. "type": "integer"
  16916. },
  16917. "convertratio": {
  16918. "description": "期货品种系数(折算系数)",
  16919. "type": "number"
  16920. },
  16921. "curqty": {
  16922. "description": "当前持仓",
  16923. "type": "integer"
  16924. },
  16925. "diffhedgeqty": {
  16926. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16927. "type": "number"
  16928. },
  16929. "diffqty": {
  16930. "description": "持仓变动量=当前持仓-昨日持仓",
  16931. "type": "integer"
  16932. },
  16933. "goodscode": {
  16934. "description": "商品代码",
  16935. "type": "string"
  16936. },
  16937. "goodsid": {
  16938. "description": "商品id",
  16939. "type": "integer"
  16940. },
  16941. "goodsname": {
  16942. "description": "商品名称",
  16943. "type": "string"
  16944. },
  16945. "middlegoodsid": {
  16946. "description": "套保商品id",
  16947. "type": "integer"
  16948. },
  16949. "ydqty": {
  16950. "description": "昨日持仓",
  16951. "type": "integer"
  16952. }
  16953. }
  16954. },
  16955. "ermcp.RealtimeExposureRsp": {
  16956. "type": "object",
  16957. "properties": {
  16958. "AreaUserID": {
  16959. "description": "所属机构",
  16960. "type": "integer"
  16961. },
  16962. "BuyFutureQty": {
  16963. "description": "买入期货数量",
  16964. "type": "number"
  16965. },
  16966. "BuyPlanQty": {
  16967. "description": "采购计划数量",
  16968. "type": "number"
  16969. },
  16970. "BuyPricedQty": {
  16971. "description": "采购合同已定价数量",
  16972. "type": "number"
  16973. },
  16974. "MiddleGoodsCode": {
  16975. "description": "套保品种代码",
  16976. "type": "string"
  16977. },
  16978. "MiddleGoodsHedgeRatio": {
  16979. "description": "套保比例",
  16980. "type": "number"
  16981. },
  16982. "MiddleGoodsID": {
  16983. "description": "套保品种",
  16984. "type": "integer"
  16985. },
  16986. "MiddleGoodsName": {
  16987. "description": "套保品种名称",
  16988. "type": "string"
  16989. },
  16990. "NeedHedgeExposoure": {
  16991. "description": "应套保敞口(套保敞口)",
  16992. "type": "number"
  16993. },
  16994. "NeedHedgeRatio": {
  16995. "description": "应套保敞口比例",
  16996. "type": "number"
  16997. },
  16998. "OriBuyFutureQty": {
  16999. "description": "期初买入期货数量",
  17000. "type": "number"
  17001. },
  17002. "OriBuyPlanQty": {
  17003. "description": "期初采购计划数量",
  17004. "type": "number"
  17005. },
  17006. "OriBuyPricedQty": {
  17007. "description": "期初采购合同已定价数量",
  17008. "type": "number"
  17009. },
  17010. "OriSellFutureQty": {
  17011. "description": "期初卖出期货数量",
  17012. "type": "number"
  17013. },
  17014. "OriSellPlanQty": {
  17015. "description": "期初销售计划数量",
  17016. "type": "number"
  17017. },
  17018. "OriSellPricedQty": {
  17019. "description": "期初销售合同已定价数量",
  17020. "type": "number"
  17021. },
  17022. "SellFutureQty": {
  17023. "description": "卖出期货数量",
  17024. "type": "number"
  17025. },
  17026. "SellPlanQty": {
  17027. "description": "销售计划数量",
  17028. "type": "number"
  17029. },
  17030. "SellPricedQty": {
  17031. "description": "销售合同已定价数量",
  17032. "type": "number"
  17033. },
  17034. "TotalExposure": {
  17035. "description": "总敞口 平安:净敞口",
  17036. "type": "number"
  17037. },
  17038. "TotalFutureQty": {
  17039. "description": "期货总量 平安:保值净持仓量",
  17040. "type": "number"
  17041. },
  17042. "TotalHedgeRatio": {
  17043. "description": "敞口比例",
  17044. "type": "number"
  17045. },
  17046. "TotalNeedHedgeQty": {
  17047. "description": "应套保总量(现货应套保总量)",
  17048. "type": "number"
  17049. },
  17050. "TotalSpotQty": {
  17051. "description": "现货总量 平安:采销定价净值",
  17052. "type": "number"
  17053. },
  17054. "arbitrageqty": {
  17055. "description": "套利量",
  17056. "type": "number"
  17057. },
  17058. "diffArbitrageQty": {
  17059. "description": "套利变动量",
  17060. "type": "number"
  17061. },
  17062. "diffExposoureQty": {
  17063. "description": "变动量(套保敞口)",
  17064. "type": "number"
  17065. },
  17066. "diffFutuQty": {
  17067. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17068. "type": "number"
  17069. },
  17070. "diffHedgeQty": {
  17071. "description": "套保变动量",
  17072. "type": "number"
  17073. },
  17074. "diffQty": {
  17075. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17076. "type": "number"
  17077. },
  17078. "diffSpotHedgeQty": {
  17079. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17080. "type": "number"
  17081. },
  17082. "diffSpotQty": {
  17083. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17084. "type": "number"
  17085. },
  17086. "enumdicname": {
  17087. "description": "单位名称",
  17088. "type": "string"
  17089. },
  17090. "hedgeqty": {
  17091. "description": "套保量",
  17092. "type": "number"
  17093. },
  17094. "needarbitrageqty": {
  17095. "description": "应套利量",
  17096. "type": "number"
  17097. },
  17098. "needarbitrageratio": {
  17099. "description": "套利比例",
  17100. "type": "number"
  17101. },
  17102. "needhedgeqty": {
  17103. "description": "应套保量",
  17104. "type": "number"
  17105. },
  17106. "oriTotalFutuQty": {
  17107. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17108. "type": "number"
  17109. },
  17110. "oriTotalSpotQty": {
  17111. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17112. "type": "number"
  17113. },
  17114. "oriarbitrageqty": {
  17115. "description": "期初套利量",
  17116. "type": "number"
  17117. },
  17118. "orihedgeqty": {
  17119. "description": "期初套保量",
  17120. "type": "number"
  17121. },
  17122. "orineedhedgeexposoure": {
  17123. "description": "期初套保敞口",
  17124. "type": "number"
  17125. },
  17126. "oritotalexposure": {
  17127. "description": "期初总敞口",
  17128. "type": "number"
  17129. },
  17130. "oritotalfutureqty": {
  17131. "description": "期初期货总量",
  17132. "type": "number"
  17133. },
  17134. "oritotalneedhedgeqty": {
  17135. "description": "期初现货应套保量",
  17136. "type": "number"
  17137. }
  17138. }
  17139. },
  17140. "erms2.QueryArbitrageStrategyRsp": {
  17141. "type": "object",
  17142. "required": [
  17143. "asapplyid"
  17144. ],
  17145. "properties": {
  17146. "applybasis": {
  17147. "description": "申请基差",
  17148. "type": "number"
  17149. },
  17150. "asapplyid": {
  17151. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17152. "type": "string"
  17153. },
  17154. "asname": {
  17155. "description": "策略名称",
  17156. "type": "string"
  17157. },
  17158. "asno": {
  17159. "description": "策略编号",
  17160. "type": "string"
  17161. },
  17162. "basischangepl": {
  17163. "description": "基差变动损益[结算更新]",
  17164. "type": "number"
  17165. },
  17166. "biztype": {
  17167. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17168. "type": "integer"
  17169. },
  17170. "closetradedate": {
  17171. "description": "完结交易日(yyyyMMdd)",
  17172. "type": "string"
  17173. },
  17174. "curbasis": {
  17175. "description": "当前基差[结算更新]",
  17176. "type": "number"
  17177. },
  17178. "deliverygoodsid": {
  17179. "description": "现货品种ID",
  17180. "type": "integer"
  17181. },
  17182. "futureavgprice": {
  17183. "description": "期货建仓均价",
  17184. "type": "number"
  17185. },
  17186. "futurecloseamount": {
  17187. "description": "期货平仓金额",
  17188. "type": "number"
  17189. },
  17190. "futurecloseqty": {
  17191. "description": "期货平仓数量",
  17192. "type": "number"
  17193. },
  17194. "futureopenamount": {
  17195. "description": "期货开仓金额",
  17196. "type": "number"
  17197. },
  17198. "futureopenqty": {
  17199. "description": "期货开仓数量",
  17200. "type": "number"
  17201. },
  17202. "futurepl": {
  17203. "description": "期货总盈亏[结算更新]",
  17204. "type": "number"
  17205. },
  17206. "futureqty": {
  17207. "description": "期货持仓数量",
  17208. "type": "number"
  17209. },
  17210. "futurequote": {
  17211. "description": "期货额度",
  17212. "type": "number"
  17213. },
  17214. "goodsgroupid": {
  17215. "description": "期货品种ID",
  17216. "type": "integer"
  17217. },
  17218. "marketid": {
  17219. "description": "市场ID",
  17220. "type": "integer"
  17221. },
  17222. "netexposure": {
  17223. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17224. "type": "number"
  17225. },
  17226. "netexposurepl": {
  17227. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17228. "type": "number"
  17229. },
  17230. "netexposurerate": {
  17231. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17232. "type": "number"
  17233. },
  17234. "openbasis": {
  17235. "description": "建仓基差",
  17236. "type": "number"
  17237. },
  17238. "pricedspotqty": {
  17239. "description": "已定价现货数量",
  17240. "type": "number"
  17241. },
  17242. "pricedspotqtynotax": {
  17243. "description": "已定价现货不含税数量",
  17244. "type": "number"
  17245. },
  17246. "remark": {
  17247. "description": "备注",
  17248. "type": "string"
  17249. },
  17250. "spotavgprice": {
  17251. "description": "现货均价",
  17252. "type": "number"
  17253. },
  17254. "spotbuyamount": {
  17255. "description": "现货采购金额",
  17256. "type": "number"
  17257. },
  17258. "spotbuyqty": {
  17259. "description": "现货采购数量",
  17260. "type": "number"
  17261. },
  17262. "spotpl": {
  17263. "description": "现货总盈亏[结算更新]",
  17264. "type": "number"
  17265. },
  17266. "spotquota": {
  17267. "description": "现货额度",
  17268. "type": "number"
  17269. },
  17270. "spotsellamount": {
  17271. "description": "现货销售金额",
  17272. "type": "number"
  17273. },
  17274. "spotsellqty": {
  17275. "description": "现货销售数量",
  17276. "type": "number"
  17277. },
  17278. "spotusedquota": {
  17279. "description": "现货占用资金",
  17280. "type": "number"
  17281. },
  17282. "strategystatus": {
  17283. "description": "策略状态 - 0:未结束 1:已结束",
  17284. "type": "integer"
  17285. },
  17286. "totalpl": {
  17287. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17288. "type": "number"
  17289. },
  17290. "tradedate": {
  17291. "description": "交易日(yyyyMMdd)",
  17292. "type": "string"
  17293. },
  17294. "updatetime": {
  17295. "description": "更新时间",
  17296. "type": "string"
  17297. },
  17298. "usedquota": {
  17299. "description": "已占用资金",
  17300. "type": "number"
  17301. },
  17302. "userid": {
  17303. "description": "所属机构",
  17304. "type": "integer"
  17305. }
  17306. }
  17307. },
  17308. "erms2.QueryInnerTradeDetailRsp": {
  17309. "type": "object",
  17310. "required": [
  17311. "asapplyid",
  17312. "buyorsell",
  17313. "goodscode",
  17314. "goodsgroupid",
  17315. "goodsgroupname",
  17316. "goodsname",
  17317. "tradeid"
  17318. ],
  17319. "properties": {
  17320. "accountid": {
  17321. "description": "账号ID",
  17322. "type": "integer"
  17323. },
  17324. "agreeunit": {
  17325. "description": "合约单位",
  17326. "type": "number"
  17327. },
  17328. "asapplyid": {
  17329. "description": "策略申请ID",
  17330. "type": "integer"
  17331. },
  17332. "asname": {
  17333. "description": "策略名称",
  17334. "type": "string"
  17335. },
  17336. "asno": {
  17337. "description": "策略编号",
  17338. "type": "string"
  17339. },
  17340. "buyorsell": {
  17341. "description": "方向 - 0:买 1:卖",
  17342. "type": "integer"
  17343. },
  17344. "channelbuildtype": {
  17345. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17346. "type": "integer"
  17347. },
  17348. "closetype": {
  17349. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17350. "type": "integer"
  17351. },
  17352. "decimalplace": {
  17353. "description": "报价小数位",
  17354. "type": "integer"
  17355. },
  17356. "detailtype": {
  17357. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17358. "type": "integer"
  17359. },
  17360. "exexchangecode": {
  17361. "description": "外部交易所代码",
  17362. "type": "string"
  17363. },
  17364. "exexchangename": {
  17365. "description": "外部交易所名称",
  17366. "type": "string"
  17367. },
  17368. "goodscode": {
  17369. "description": "商品代码(合约)",
  17370. "type": "string"
  17371. },
  17372. "goodsgroupid": {
  17373. "description": "商品组ID(品种ID)",
  17374. "type": "integer"
  17375. },
  17376. "goodsgroupname": {
  17377. "description": "商品组名称(品种)",
  17378. "type": "string"
  17379. },
  17380. "goodsid": {
  17381. "description": "商品ID",
  17382. "type": "integer"
  17383. },
  17384. "goodsname": {
  17385. "description": "商品名称(合约)",
  17386. "type": "string"
  17387. },
  17388. "goodunit": {
  17389. "description": "报价单位",
  17390. "type": "string"
  17391. },
  17392. "marketid": {
  17393. "description": "市场ID",
  17394. "type": "integer"
  17395. },
  17396. "orderid": {
  17397. "description": "委托单号",
  17398. "type": "string"
  17399. },
  17400. "outgoodscode": {
  17401. "description": "商品代码(外部)",
  17402. "type": "string"
  17403. },
  17404. "relatedouttradeid": {
  17405. "description": "关联外部成交单ID",
  17406. "type": "string"
  17407. },
  17408. "remark": {
  17409. "description": "备注",
  17410. "type": "string"
  17411. },
  17412. "spotcontractid": {
  17413. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17414. "type": "integer"
  17415. },
  17416. "spotcontractno": {
  17417. "description": "现货合同编号",
  17418. "type": "string"
  17419. },
  17420. "tradeid": {
  17421. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17422. "type": "string"
  17423. },
  17424. "tradeprice": {
  17425. "description": "成交价格",
  17426. "type": "number"
  17427. },
  17428. "tradeqty": {
  17429. "description": "成交数量",
  17430. "type": "integer"
  17431. },
  17432. "tradetime": {
  17433. "description": "成交时间",
  17434. "type": "string"
  17435. },
  17436. "updatetime": {
  17437. "description": "更新时间",
  17438. "type": "string"
  17439. }
  17440. }
  17441. },
  17442. "erms2.QuerySpotContractRsp": {
  17443. "type": "object",
  17444. "required": [
  17445. "spotcontractid"
  17446. ],
  17447. "properties": {
  17448. "accountid": {
  17449. "description": "资金账户ID",
  17450. "type": "integer"
  17451. },
  17452. "areauserid": {
  17453. "description": "所属机构",
  17454. "type": "integer"
  17455. },
  17456. "closedate": {
  17457. "description": "终止日期",
  17458. "type": "string"
  17459. },
  17460. "closeremark": {
  17461. "description": "结束备注",
  17462. "type": "string"
  17463. },
  17464. "closetradedate": {
  17465. "description": "完结交易日(yyyyMMdd)",
  17466. "type": "string"
  17467. },
  17468. "closetype": {
  17469. "description": "终止类型 - 1:违约 2:提前终止",
  17470. "type": "integer"
  17471. },
  17472. "contractamount": {
  17473. "description": "合同金额",
  17474. "type": "number"
  17475. },
  17476. "contractattachment": {
  17477. "description": "合同附件",
  17478. "type": "string"
  17479. },
  17480. "contractno": {
  17481. "description": "现货合同编号",
  17482. "type": "string"
  17483. },
  17484. "contractqty": {
  17485. "description": "合同数量(数值) (用于计算)",
  17486. "type": "number"
  17487. },
  17488. "contractqtychar": {
  17489. "description": "合同数量\\已订价数量 (用于显示)",
  17490. "type": "string"
  17491. },
  17492. "contractstatus": {
  17493. "description": "合同状态 - 0:未结束 1:已结束",
  17494. "type": "integer"
  17495. },
  17496. "contracttype": {
  17497. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17498. "type": "integer"
  17499. },
  17500. "customeraccountid": {
  17501. "description": "客户资金账户ID",
  17502. "type": "integer"
  17503. },
  17504. "customeruserid": {
  17505. "description": "客户ID",
  17506. "type": "integer"
  17507. },
  17508. "deliverygoodsdesc": {
  17509. "description": "品种说明",
  17510. "type": "string"
  17511. },
  17512. "deliverygoodsid": {
  17513. "description": "现货品种ID",
  17514. "type": "integer"
  17515. },
  17516. "handlestatus": {
  17517. "description": "处理状态",
  17518. "type": "integer"
  17519. },
  17520. "invoiceatt": {
  17521. "description": "发票附件",
  17522. "type": "string"
  17523. },
  17524. "invoicedatetime": {
  17525. "description": "开收票更新时间",
  17526. "type": "string"
  17527. },
  17528. "invoiceopentime": {
  17529. "description": "开票时间",
  17530. "type": "string"
  17531. },
  17532. "invoiceremark": {
  17533. "description": "发票备注",
  17534. "type": "string"
  17535. },
  17536. "invoicestatus": {
  17537. "description": "开收票状态 - 0:未开票 1:已开票",
  17538. "type": "integer"
  17539. },
  17540. "lastdate": {
  17541. "description": "交货时间",
  17542. "type": "string"
  17543. },
  17544. "marketid": {
  17545. "description": "市场ID",
  17546. "type": "integer"
  17547. },
  17548. "paydatetime": {
  17549. "description": "收付款更新时间",
  17550. "type": "string"
  17551. },
  17552. "payremark": {
  17553. "description": "收付款备注",
  17554. "type": "string"
  17555. },
  17556. "paystatus": {
  17557. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17558. "type": "integer"
  17559. },
  17560. "positionqty": {
  17561. "description": "头寸数量 - 合同数量去小数部分",
  17562. "type": "integer"
  17563. },
  17564. "producttype": {
  17565. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17566. "type": "integer"
  17567. },
  17568. "relatedqty": {
  17569. "description": "已关联数量",
  17570. "type": "number"
  17571. },
  17572. "relatedstatus": {
  17573. "description": "关联完结状态 - 0:未结束 1:已结束",
  17574. "type": "integer"
  17575. },
  17576. "remark": {
  17577. "description": "备注",
  17578. "type": "string"
  17579. },
  17580. "signdate": {
  17581. "description": "签订日期",
  17582. "type": "string"
  17583. },
  17584. "spotcontractid": {
  17585. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17586. "type": "string"
  17587. },
  17588. "spotdatetime": {
  17589. "description": "收发货更新时间",
  17590. "type": "string"
  17591. },
  17592. "spotprice": {
  17593. "description": "价格",
  17594. "type": "number"
  17595. },
  17596. "spotremark": {
  17597. "description": "收发货备注",
  17598. "type": "string"
  17599. },
  17600. "spotstatus": {
  17601. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17602. "type": "integer"
  17603. },
  17604. "tradedate": {
  17605. "description": "交易日(yyyyMMdd)",
  17606. "type": "string"
  17607. },
  17608. "userid": {
  17609. "description": "业务员用户ID",
  17610. "type": "integer"
  17611. },
  17612. "warehouseid": {
  17613. "description": "仓库ID",
  17614. "type": "integer"
  17615. },
  17616. "wrfactortypeid": {
  17617. "description": "仓单要素类型ID",
  17618. "type": "integer"
  17619. },
  17620. "wrstandardid": {
  17621. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17622. "type": "integer"
  17623. }
  17624. }
  17625. },
  17626. "erms3.AddErms2ASApplyReq": {
  17627. "type": "object",
  17628. "required": [
  17629. "asapplyid"
  17630. ],
  17631. "properties": {
  17632. "applybasis": {
  17633. "description": "申请基差",
  17634. "type": "number"
  17635. },
  17636. "applystatus": {
  17637. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17638. "type": "integer"
  17639. },
  17640. "asapplyid": {
  17641. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17642. "type": "integer"
  17643. },
  17644. "asname": {
  17645. "description": "策略名称",
  17646. "type": "string"
  17647. },
  17648. "asno": {
  17649. "description": "策略编号",
  17650. "type": "string"
  17651. },
  17652. "auditid": {
  17653. "description": "审核人",
  17654. "type": "integer"
  17655. },
  17656. "auditremark": {
  17657. "description": "审核备注",
  17658. "type": "string"
  17659. },
  17660. "audittime": {
  17661. "description": "审核时间",
  17662. "type": "string"
  17663. },
  17664. "biztype": {
  17665. "description": "业务类型 - 1:正向套利 2:反向套利",
  17666. "type": "integer"
  17667. },
  17668. "createtime": {
  17669. "description": "创建时间",
  17670. "type": "string"
  17671. },
  17672. "creatorid": {
  17673. "description": "创建人",
  17674. "type": "integer"
  17675. },
  17676. "deliverygoodsid": {
  17677. "description": "现货品种ID",
  17678. "type": "integer"
  17679. },
  17680. "futurequote": {
  17681. "description": "期货额度",
  17682. "type": "number"
  17683. },
  17684. "goodsgroupid": {
  17685. "description": "期货品种ID",
  17686. "type": "integer"
  17687. },
  17688. "marketid": {
  17689. "description": "市场ID",
  17690. "type": "integer"
  17691. },
  17692. "remark": {
  17693. "description": "备注",
  17694. "type": "string"
  17695. },
  17696. "spotquota": {
  17697. "description": "现货额度",
  17698. "type": "number"
  17699. },
  17700. "tradedate": {
  17701. "description": "交易日(yyyyMMdd)",
  17702. "type": "string"
  17703. },
  17704. "userid": {
  17705. "description": "所属机构",
  17706. "type": "integer"
  17707. }
  17708. }
  17709. },
  17710. "erms3.AddErms2SpotTradeApplyReq": {
  17711. "type": "object",
  17712. "required": [
  17713. "spottradeid"
  17714. ],
  17715. "properties": {
  17716. "applyjsondetail": {
  17717. "description": "申请明细(JSON)",
  17718. "type": "string"
  17719. },
  17720. "applystatus": {
  17721. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17722. "type": "integer"
  17723. },
  17724. "areauserid": {
  17725. "description": "所属机构",
  17726. "type": "integer"
  17727. },
  17728. "auditid": {
  17729. "description": "审核人",
  17730. "type": "integer"
  17731. },
  17732. "auditremark": {
  17733. "description": "审核备注",
  17734. "type": "string"
  17735. },
  17736. "audittime": {
  17737. "description": "审核时间",
  17738. "type": "string"
  17739. },
  17740. "createtime": {
  17741. "description": "创建时间",
  17742. "type": "string"
  17743. },
  17744. "creatorid": {
  17745. "description": "创建人",
  17746. "type": "integer"
  17747. },
  17748. "deliverygoodsid": {
  17749. "description": "现货品种ID",
  17750. "type": "integer"
  17751. },
  17752. "futureaccountid": {
  17753. "description": "期货资金账户",
  17754. "type": "integer"
  17755. },
  17756. "goodsgroupid": {
  17757. "description": "期货品种",
  17758. "type": "integer"
  17759. },
  17760. "marketid": {
  17761. "description": "市场ID",
  17762. "type": "integer"
  17763. },
  17764. "remark": {
  17765. "description": "备注",
  17766. "type": "string"
  17767. },
  17768. "spotaccountid": {
  17769. "description": "现货资金账户",
  17770. "type": "integer"
  17771. },
  17772. "spottradeid": {
  17773. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17774. "type": "integer"
  17775. },
  17776. "spottradename": {
  17777. "description": "业务名称",
  17778. "type": "string"
  17779. },
  17780. "spottradeno": {
  17781. "description": "业务编号",
  17782. "type": "string"
  17783. },
  17784. "tradedate": {
  17785. "description": "交易日(yyyyMMdd)",
  17786. "type": "string"
  17787. },
  17788. "wrstandardid": {
  17789. "description": "仓单标准ID",
  17790. "type": "integer"
  17791. }
  17792. }
  17793. },
  17794. "erms3.AddSpotContractApplyReq": {
  17795. "type": "object",
  17796. "required": [
  17797. "accountid",
  17798. "areauserid",
  17799. "contractno",
  17800. "contracttype",
  17801. "customeraccountid",
  17802. "customeruserid",
  17803. "details",
  17804. "orimargin",
  17805. "signdate"
  17806. ],
  17807. "properties": {
  17808. "accountid": {
  17809. "description": "资金账户ID",
  17810. "type": "integer"
  17811. },
  17812. "areauserid": {
  17813. "description": "所属机构",
  17814. "type": "integer"
  17815. },
  17816. "contractattachment": {
  17817. "description": "合同附件",
  17818. "type": "string"
  17819. },
  17820. "contractno": {
  17821. "description": "现货合同编号",
  17822. "type": "string"
  17823. },
  17824. "contracttype": {
  17825. "description": "现货合同类型 - 1:采购 -1:销售",
  17826. "type": "integer"
  17827. },
  17828. "creatorid": {
  17829. "description": "申请人",
  17830. "type": "integer"
  17831. },
  17832. "customeraccountid": {
  17833. "description": "客户资金账户ID",
  17834. "type": "integer"
  17835. },
  17836. "customeruserid": {
  17837. "description": "客户ID",
  17838. "type": "integer"
  17839. },
  17840. "details": {
  17841. "description": "明细",
  17842. "type": "array",
  17843. "items": {
  17844. "$ref": "#/definitions/erms3.SoptContractDetail"
  17845. }
  17846. },
  17847. "orimargin": {
  17848. "description": "初始保证金",
  17849. "type": "number"
  17850. },
  17851. "remark": {
  17852. "description": "备注",
  17853. "type": "string"
  17854. },
  17855. "signdate": {
  17856. "description": "签订日期",
  17857. "type": "string"
  17858. }
  17859. }
  17860. },
  17861. "erms3.AddSpotContractApplyRsp": {
  17862. "type": "object",
  17863. "required": [
  17864. "contractno"
  17865. ],
  17866. "properties": {
  17867. "contractno": {
  17868. "description": "现货合同编号",
  17869. "type": "string"
  17870. },
  17871. "spotcontractid": {
  17872. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17873. "type": "integer"
  17874. }
  17875. }
  17876. },
  17877. "erms3.AddUserInfoApplyReq": {
  17878. "type": "object",
  17879. "required": [
  17880. "userid"
  17881. ],
  17882. "properties": {
  17883. "accountid": {
  17884. "description": "交易系统帐号Id (加密存储)",
  17885. "type": "integer"
  17886. },
  17887. "areacode": {
  17888. "description": "机构代码",
  17889. "type": "string"
  17890. },
  17891. "areaid": {
  17892. "description": "机构Id",
  17893. "type": "integer"
  17894. },
  17895. "attachment1": {
  17896. "description": "附件1",
  17897. "type": "string"
  17898. },
  17899. "attachment2": {
  17900. "description": "附件2",
  17901. "type": "string"
  17902. },
  17903. "attachment3": {
  17904. "description": "附件3",
  17905. "type": "string"
  17906. },
  17907. "attachment4": {
  17908. "description": "附件4",
  17909. "type": "string"
  17910. },
  17911. "attachment5": {
  17912. "description": "附件5",
  17913. "type": "string"
  17914. },
  17915. "auditedby": {
  17916. "description": "审核人",
  17917. "type": "string"
  17918. },
  17919. "auditime": {
  17920. "description": "审核时间",
  17921. "type": "string"
  17922. },
  17923. "auditsrc": {
  17924. "description": "审核来源 - 1:管理端 2:终端",
  17925. "type": "integer"
  17926. },
  17927. "bankaccount": {
  17928. "description": "银行帐号 (加密存储)",
  17929. "type": "string"
  17930. },
  17931. "bankaccountname": {
  17932. "description": "收款人名称",
  17933. "type": "string"
  17934. },
  17935. "bankcardbackphotourl": {
  17936. "description": "银行卡背面照地址",
  17937. "type": "string"
  17938. },
  17939. "bankcardfrontphotourl": {
  17940. "description": "银行卡正面照地址",
  17941. "type": "string"
  17942. },
  17943. "bankid": {
  17944. "description": "银行编码",
  17945. "type": "string"
  17946. },
  17947. "bankname": {
  17948. "description": "银行名称",
  17949. "type": "string"
  17950. },
  17951. "bankpictureurl": {
  17952. "description": "银行卡正面地址",
  17953. "type": "string"
  17954. },
  17955. "biznature": {
  17956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17957. "type": "integer"
  17958. },
  17959. "bizscope": {
  17960. "description": "企业经营范围(企业)",
  17961. "type": "string"
  17962. },
  17963. "biztype": {
  17964. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17965. "type": "integer"
  17966. },
  17967. "brokerid": {
  17968. "description": "经纪人ID(加密存储)",
  17969. "type": "string"
  17970. },
  17971. "cardaddress": {
  17972. "description": "证件地址 (加密存储)",
  17973. "type": "string"
  17974. },
  17975. "cardbackphotourl": {
  17976. "description": "背面证件照地址",
  17977. "type": "string"
  17978. },
  17979. "cardfrontphotourl": {
  17980. "description": "正面证件照地址",
  17981. "type": "string"
  17982. },
  17983. "cardnum": {
  17984. "description": "证件号码 (加密存储)",
  17985. "type": "string"
  17986. },
  17987. "cardtype": {
  17988. "description": "证件类型",
  17989. "type": "integer"
  17990. },
  17991. "cityid": {
  17992. "description": "市",
  17993. "type": "integer"
  17994. },
  17995. "company": {
  17996. "description": "公司(个人)",
  17997. "type": "string"
  17998. },
  17999. "contactcardbackphotourl": {
  18000. "description": "联系人证件背面图片地址",
  18001. "type": "string"
  18002. },
  18003. "contactcardfrontphotourl": {
  18004. "description": "联系人证件正面图片地址",
  18005. "type": "string"
  18006. },
  18007. "contactname": {
  18008. "description": "联系人",
  18009. "type": "string"
  18010. },
  18011. "countryid": {
  18012. "description": "国家",
  18013. "type": "integer"
  18014. },
  18015. "createtime": {
  18016. "description": "开户申请时间",
  18017. "type": "string"
  18018. },
  18019. "cusbankid": {
  18020. "description": "签约类型",
  18021. "type": "string"
  18022. },
  18023. "cusbankname": {
  18024. "description": "签约类型名称",
  18025. "type": "string"
  18026. },
  18027. "customername": {
  18028. "description": "客户名称(企业名称)",
  18029. "type": "string"
  18030. },
  18031. "districtid": {
  18032. "description": "地区",
  18033. "type": "integer"
  18034. },
  18035. "email": {
  18036. "description": "Email地址(加密存储)",
  18037. "type": "string"
  18038. },
  18039. "halfbodyphotourl": {
  18040. "description": "半身照地址",
  18041. "type": "string"
  18042. },
  18043. "headurl": {
  18044. "description": "头像地址",
  18045. "type": "string"
  18046. },
  18047. "ipaddress": {
  18048. "description": "IP地址",
  18049. "type": "string"
  18050. },
  18051. "isvalidate": {
  18052. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18053. "type": "string"
  18054. },
  18055. "legalcardbackphotourl": {
  18056. "description": "法人身份证背面照地址",
  18057. "type": "string"
  18058. },
  18059. "legalcardfrontphotourl": {
  18060. "description": "法人身份证正面照地址",
  18061. "type": "string"
  18062. },
  18063. "legalpersonname": {
  18064. "description": "法人姓名(企业)",
  18065. "type": "string"
  18066. },
  18067. "logincode": {
  18068. "description": "登录帐号 (加密存储)",
  18069. "type": "string"
  18070. },
  18071. "memberareaid": {
  18072. "description": "所属会员ID",
  18073. "type": "integer"
  18074. },
  18075. "mobile2": {
  18076. "description": "手机号码[明文-尚志]",
  18077. "type": "string"
  18078. },
  18079. "mobilephone": {
  18080. "description": "手机号码 (加密存储)",
  18081. "type": "string"
  18082. },
  18083. "modifiedby": {
  18084. "description": "修改人帐号",
  18085. "type": "integer"
  18086. },
  18087. "modifiedtime": {
  18088. "description": "修改时间",
  18089. "type": "string"
  18090. },
  18091. "nickname": {
  18092. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18093. "type": "string"
  18094. },
  18095. "openmode": {
  18096. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18097. "type": "integer"
  18098. },
  18099. "otherurl": {
  18100. "description": "其它图片地址[使用分号分隔]",
  18101. "type": "string"
  18102. },
  18103. "postalcode": {
  18104. "description": "邮政编码",
  18105. "type": "string"
  18106. },
  18107. "provinceid": {
  18108. "description": "省",
  18109. "type": "integer"
  18110. },
  18111. "proxystatementurl": {
  18112. "description": "授权委托书",
  18113. "type": "string"
  18114. },
  18115. "qq": {
  18116. "description": "QQ(加密存储",
  18117. "type": "string"
  18118. },
  18119. "referral": {
  18120. "description": "推荐人编码",
  18121. "type": "string"
  18122. },
  18123. "remark": {
  18124. "description": "备注",
  18125. "type": "string"
  18126. },
  18127. "removebeforestatus": {
  18128. "description": "REMOVEBEFORESTATUS",
  18129. "type": "integer"
  18130. },
  18131. "sex": {
  18132. "description": "性别 - 0:女 1:男",
  18133. "type": "integer"
  18134. },
  18135. "signedstatus": {
  18136. "description": "账户一号签签约状态",
  18137. "type": "integer"
  18138. },
  18139. "signpdfurl": {
  18140. "description": "签约pdf文件",
  18141. "type": "string"
  18142. },
  18143. "subbranch": {
  18144. "description": "开户支行",
  18145. "type": "string"
  18146. },
  18147. "taxpayernum": {
  18148. "description": "纳税人识别号",
  18149. "type": "string"
  18150. },
  18151. "telphone": {
  18152. "description": "联系电话(加密存储)",
  18153. "type": "string"
  18154. },
  18155. "userid": {
  18156. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18157. "type": "integer"
  18158. },
  18159. "userinfotype": {
  18160. "description": "用户信息类型 - 1:个人 2:企业",
  18161. "type": "integer"
  18162. },
  18163. "username": {
  18164. "description": "用户姓名",
  18165. "type": "string"
  18166. },
  18167. "userstate": {
  18168. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18169. "type": "integer"
  18170. },
  18171. "usertype": {
  18172. "description": "用户类型 - 1:投资者 2:机构",
  18173. "type": "integer"
  18174. },
  18175. "videourl": {
  18176. "description": "视频地址",
  18177. "type": "string"
  18178. },
  18179. "wechat": {
  18180. "description": "微信号 (加密存储)",
  18181. "type": "string"
  18182. }
  18183. }
  18184. },
  18185. "erms3.CustomerInfo": {
  18186. "type": "object",
  18187. "required": [
  18188. "userid"
  18189. ],
  18190. "properties": {
  18191. "accountids": {
  18192. "description": "资金账户ID列表",
  18193. "type": "array",
  18194. "items": {
  18195. "type": "integer"
  18196. }
  18197. },
  18198. "customername": {
  18199. "description": "名称(企业名称)",
  18200. "type": "string"
  18201. },
  18202. "mobile": {
  18203. "description": "手机号码",
  18204. "type": "string"
  18205. },
  18206. "userid": {
  18207. "description": "用户ID",
  18208. "type": "integer"
  18209. }
  18210. }
  18211. },
  18212. "erms3.ModifyUserInfoApplyReq": {
  18213. "type": "object",
  18214. "required": [
  18215. "userid"
  18216. ],
  18217. "properties": {
  18218. "accountid": {
  18219. "description": "交易系统帐号Id (加密存储)",
  18220. "type": "integer"
  18221. },
  18222. "areacode": {
  18223. "description": "机构代码",
  18224. "type": "string"
  18225. },
  18226. "areaid": {
  18227. "description": "机构Id",
  18228. "type": "integer"
  18229. },
  18230. "attachment1": {
  18231. "description": "附件1",
  18232. "type": "string"
  18233. },
  18234. "attachment2": {
  18235. "description": "附件2",
  18236. "type": "string"
  18237. },
  18238. "attachment3": {
  18239. "description": "附件3",
  18240. "type": "string"
  18241. },
  18242. "attachment4": {
  18243. "description": "附件4",
  18244. "type": "string"
  18245. },
  18246. "attachment5": {
  18247. "description": "附件5",
  18248. "type": "string"
  18249. },
  18250. "auditedby": {
  18251. "description": "审核人",
  18252. "type": "string"
  18253. },
  18254. "auditime": {
  18255. "description": "审核时间",
  18256. "type": "string"
  18257. },
  18258. "auditsrc": {
  18259. "description": "审核来源 - 1:管理端 2:终端",
  18260. "type": "integer"
  18261. },
  18262. "bankaccount": {
  18263. "description": "银行帐号 (加密存储)",
  18264. "type": "string"
  18265. },
  18266. "bankaccountname": {
  18267. "description": "收款人名称",
  18268. "type": "string"
  18269. },
  18270. "bankcardbackphotourl": {
  18271. "description": "银行卡背面照地址",
  18272. "type": "string"
  18273. },
  18274. "bankcardfrontphotourl": {
  18275. "description": "银行卡正面照地址",
  18276. "type": "string"
  18277. },
  18278. "bankid": {
  18279. "description": "银行编码",
  18280. "type": "string"
  18281. },
  18282. "bankname": {
  18283. "description": "银行名称",
  18284. "type": "string"
  18285. },
  18286. "bankpictureurl": {
  18287. "description": "银行卡正面地址",
  18288. "type": "string"
  18289. },
  18290. "biznature": {
  18291. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18292. "type": "integer"
  18293. },
  18294. "bizscope": {
  18295. "description": "企业经营范围(企业)",
  18296. "type": "string"
  18297. },
  18298. "biztype": {
  18299. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18300. "type": "integer"
  18301. },
  18302. "brokerid": {
  18303. "description": "经纪人ID(加密存储)",
  18304. "type": "string"
  18305. },
  18306. "cardaddress": {
  18307. "description": "证件地址 (加密存储)",
  18308. "type": "string"
  18309. },
  18310. "cardbackphotourl": {
  18311. "description": "背面证件照地址",
  18312. "type": "string"
  18313. },
  18314. "cardfrontphotourl": {
  18315. "description": "正面证件照地址",
  18316. "type": "string"
  18317. },
  18318. "cardnum": {
  18319. "description": "证件号码 (加密存储)",
  18320. "type": "string"
  18321. },
  18322. "cardtype": {
  18323. "description": "证件类型",
  18324. "type": "integer"
  18325. },
  18326. "cityid": {
  18327. "description": "市",
  18328. "type": "integer"
  18329. },
  18330. "company": {
  18331. "description": "公司(个人)",
  18332. "type": "string"
  18333. },
  18334. "contactcardbackphotourl": {
  18335. "description": "联系人证件背面图片地址",
  18336. "type": "string"
  18337. },
  18338. "contactcardfrontphotourl": {
  18339. "description": "联系人证件正面图片地址",
  18340. "type": "string"
  18341. },
  18342. "contactname": {
  18343. "description": "联系人",
  18344. "type": "string"
  18345. },
  18346. "countryid": {
  18347. "description": "国家",
  18348. "type": "integer"
  18349. },
  18350. "createtime": {
  18351. "description": "开户申请时间",
  18352. "type": "string"
  18353. },
  18354. "cusbankid": {
  18355. "description": "签约类型",
  18356. "type": "string"
  18357. },
  18358. "cusbankname": {
  18359. "description": "签约类型名称",
  18360. "type": "string"
  18361. },
  18362. "customername": {
  18363. "description": "客户名称(企业名称)",
  18364. "type": "string"
  18365. },
  18366. "districtid": {
  18367. "description": "地区",
  18368. "type": "integer"
  18369. },
  18370. "email": {
  18371. "description": "Email地址(加密存储)",
  18372. "type": "string"
  18373. },
  18374. "halfbodyphotourl": {
  18375. "description": "半身照地址",
  18376. "type": "string"
  18377. },
  18378. "headurl": {
  18379. "description": "头像地址",
  18380. "type": "string"
  18381. },
  18382. "ipaddress": {
  18383. "description": "IP地址",
  18384. "type": "string"
  18385. },
  18386. "isvalidate": {
  18387. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18388. "type": "string"
  18389. },
  18390. "legalcardbackphotourl": {
  18391. "description": "法人身份证背面照地址",
  18392. "type": "string"
  18393. },
  18394. "legalcardfrontphotourl": {
  18395. "description": "法人身份证正面照地址",
  18396. "type": "string"
  18397. },
  18398. "legalpersonname": {
  18399. "description": "法人姓名(企业)",
  18400. "type": "string"
  18401. },
  18402. "logincode": {
  18403. "description": "登录帐号 (加密存储)",
  18404. "type": "string"
  18405. },
  18406. "memberareaid": {
  18407. "description": "所属会员ID",
  18408. "type": "integer"
  18409. },
  18410. "mobile2": {
  18411. "description": "手机号码[明文-尚志]",
  18412. "type": "string"
  18413. },
  18414. "mobilephone": {
  18415. "description": "手机号码 (加密存储)",
  18416. "type": "string"
  18417. },
  18418. "modifiedby": {
  18419. "description": "修改人帐号",
  18420. "type": "integer"
  18421. },
  18422. "modifiedtime": {
  18423. "description": "修改时间",
  18424. "type": "string"
  18425. },
  18426. "nickname": {
  18427. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18428. "type": "string"
  18429. },
  18430. "openmode": {
  18431. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18432. "type": "integer"
  18433. },
  18434. "otherurl": {
  18435. "description": "其它图片地址[使用分号分隔]",
  18436. "type": "string"
  18437. },
  18438. "postalcode": {
  18439. "description": "邮政编码",
  18440. "type": "string"
  18441. },
  18442. "provinceid": {
  18443. "description": "省",
  18444. "type": "integer"
  18445. },
  18446. "proxystatementurl": {
  18447. "description": "授权委托书",
  18448. "type": "string"
  18449. },
  18450. "qq": {
  18451. "description": "QQ(加密存储",
  18452. "type": "string"
  18453. },
  18454. "referral": {
  18455. "description": "推荐人编码",
  18456. "type": "string"
  18457. },
  18458. "remark": {
  18459. "description": "备注",
  18460. "type": "string"
  18461. },
  18462. "removebeforestatus": {
  18463. "description": "REMOVEBEFORESTATUS",
  18464. "type": "integer"
  18465. },
  18466. "sex": {
  18467. "description": "性别 - 0:女 1:男",
  18468. "type": "integer"
  18469. },
  18470. "signedstatus": {
  18471. "description": "账户一号签签约状态",
  18472. "type": "integer"
  18473. },
  18474. "signpdfurl": {
  18475. "description": "签约pdf文件",
  18476. "type": "string"
  18477. },
  18478. "subbranch": {
  18479. "description": "开户支行",
  18480. "type": "string"
  18481. },
  18482. "taxpayernum": {
  18483. "description": "纳税人识别号",
  18484. "type": "string"
  18485. },
  18486. "telphone": {
  18487. "description": "联系电话(加密存储)",
  18488. "type": "string"
  18489. },
  18490. "userid": {
  18491. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18492. "type": "integer"
  18493. },
  18494. "userinfotype": {
  18495. "description": "用户信息类型 - 1:个人 2:企业",
  18496. "type": "integer"
  18497. },
  18498. "username": {
  18499. "description": "用户姓名",
  18500. "type": "string"
  18501. },
  18502. "userstate": {
  18503. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18504. "type": "integer"
  18505. },
  18506. "usertype": {
  18507. "description": "用户类型 - 1:投资者 2:机构",
  18508. "type": "integer"
  18509. },
  18510. "videourl": {
  18511. "description": "视频地址",
  18512. "type": "string"
  18513. },
  18514. "wechat": {
  18515. "description": "微信号 (加密存储)",
  18516. "type": "string"
  18517. }
  18518. }
  18519. },
  18520. "erms3.QryAuditContractRsp": {
  18521. "type": "object",
  18522. "required": [
  18523. "matchcustomername",
  18524. "spotcontractid"
  18525. ],
  18526. "properties": {
  18527. "accountid": {
  18528. "description": "交易员ID",
  18529. "type": "string"
  18530. },
  18531. "applystatus": {
  18532. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18533. "type": "integer"
  18534. },
  18535. "curdeliveryqty": {
  18536. "description": "未交收量",
  18537. "type": "integer"
  18538. },
  18539. "customername": {
  18540. "description": "采购方ID",
  18541. "type": "string"
  18542. },
  18543. "deliverygoodsid": {
  18544. "description": "品种ID",
  18545. "type": "string"
  18546. },
  18547. "deliveryqty": {
  18548. "description": "交收量",
  18549. "type": "integer"
  18550. },
  18551. "enumdicname": {
  18552. "description": "单位名称",
  18553. "type": "string"
  18554. },
  18555. "matchaccountid": {
  18556. "description": "业务员ID",
  18557. "type": "string"
  18558. },
  18559. "matchcustomername": {
  18560. "description": "销售方ID",
  18561. "type": "string"
  18562. },
  18563. "pricedqty": {
  18564. "description": "定价量",
  18565. "type": "number"
  18566. },
  18567. "signdate": {
  18568. "description": "签订日期",
  18569. "type": "string"
  18570. },
  18571. "spotcontractid": {
  18572. "description": "合同ID",
  18573. "type": "string"
  18574. },
  18575. "totaldqty": {
  18576. "description": "合同量",
  18577. "type": "number"
  18578. },
  18579. "unpricedqty": {
  18580. "description": "未定价量",
  18581. "type": "number"
  18582. },
  18583. "wrstandardname": {
  18584. "description": "商品名称",
  18585. "type": "string"
  18586. }
  18587. }
  18588. },
  18589. "erms3.QryPendingBizRsp": {
  18590. "type": "object",
  18591. "properties": {
  18592. "accountid": {
  18593. "description": "现货账户",
  18594. "type": "string"
  18595. },
  18596. "areaname": {
  18597. "description": "所属部门",
  18598. "type": "string"
  18599. },
  18600. "bizid": {
  18601. "description": "业务ID",
  18602. "type": "string"
  18603. },
  18604. "bizname": {
  18605. "description": "业务名称",
  18606. "type": "string"
  18607. },
  18608. "status": {
  18609. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18610. "type": "integer"
  18611. },
  18612. "type": {
  18613. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18614. "type": "integer"
  18615. }
  18616. }
  18617. },
  18618. "erms3.QueryBusinessInfoRsp": {
  18619. "type": "object",
  18620. "properties": {
  18621. "businessid": {
  18622. "description": "业务ID.",
  18623. "type": "integer"
  18624. },
  18625. "buyamount": {
  18626. "description": "采购额.",
  18627. "type": "number"
  18628. },
  18629. "buyqty": {
  18630. "description": "采购量.",
  18631. "type": "string"
  18632. },
  18633. "futurepl": {
  18634. "description": "期货盈亏.",
  18635. "type": "number"
  18636. },
  18637. "futureqty": {
  18638. "description": "期货敞口.",
  18639. "type": "string"
  18640. },
  18641. "goodsid": {
  18642. "description": "商品名称/商品代码.",
  18643. "type": "string"
  18644. },
  18645. "hedgingqty": {
  18646. "description": "套保量.",
  18647. "type": "string"
  18648. },
  18649. "sellamount": {
  18650. "description": "销售额.",
  18651. "type": "number"
  18652. },
  18653. "sellqty": {
  18654. "description": "销售量.",
  18655. "type": "string"
  18656. },
  18657. "spotmarketvalue": {
  18658. "description": "现货市值.",
  18659. "type": "number"
  18660. },
  18661. "spotpl": {
  18662. "description": "浮动权益.",
  18663. "type": "number"
  18664. },
  18665. "spotqty": {
  18666. "description": "现货量.",
  18667. "type": "string"
  18668. },
  18669. "statu": {
  18670. "description": "状态,0-未结束 1-已结束.",
  18671. "type": "integer"
  18672. },
  18673. "totalpl": {
  18674. "description": "总盈亏.",
  18675. "type": "number"
  18676. },
  18677. "totalqty": {
  18678. "description": "总敞口.",
  18679. "type": "string"
  18680. },
  18681. "type": {
  18682. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18683. "type": "integer"
  18684. }
  18685. }
  18686. },
  18687. "erms3.QuerySpotContractAppleFormRsp": {
  18688. "type": "object",
  18689. "properties": {
  18690. "goodses": {
  18691. "description": "合约列表",
  18692. "type": "array",
  18693. "items": {
  18694. "$ref": "#/definitions/models.GoodsIDAndName"
  18695. }
  18696. },
  18697. "oppositeusers": {
  18698. "description": "对方账号列表",
  18699. "type": "array",
  18700. "items": {
  18701. "$ref": "#/definitions/erms3.CustomerInfo"
  18702. }
  18703. },
  18704. "ouruser": {
  18705. "description": "我方账号",
  18706. "$ref": "#/definitions/erms3.CustomerInfo"
  18707. },
  18708. "warehouseinfos": {
  18709. "description": "仓库信息列表",
  18710. "type": "array",
  18711. "items": {
  18712. "$ref": "#/definitions/models.Warehouseinfo"
  18713. }
  18714. },
  18715. "wrstandards": {
  18716. "description": "仓单标准列表",
  18717. "type": "array",
  18718. "items": {
  18719. "$ref": "#/definitions/models.WRStandardInfo"
  18720. }
  18721. }
  18722. }
  18723. },
  18724. "erms3.QuerySpotContractInfoRsp": {
  18725. "type": "object",
  18726. "properties": {
  18727. "accountid": {
  18728. "description": "表示交易员ID.",
  18729. "type": "integer"
  18730. },
  18731. "curdeliveryqty": {
  18732. "description": "表示未交收量.",
  18733. "type": "number"
  18734. },
  18735. "customername": {
  18736. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18737. "type": "string"
  18738. },
  18739. "deliverygoodsid": {
  18740. "description": "表示品种ID.",
  18741. "type": "string"
  18742. },
  18743. "deliveryqty": {
  18744. "description": "表示交收量.",
  18745. "type": "number"
  18746. },
  18747. "matchaccountid": {
  18748. "description": "表示业务员ID.",
  18749. "type": "integer"
  18750. },
  18751. "matchcustomername": {
  18752. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18753. "type": "string"
  18754. },
  18755. "priceqty": {
  18756. "description": "表示定价量.",
  18757. "type": "number"
  18758. },
  18759. "relatedbizid": {
  18760. "description": "表示业务ID.",
  18761. "type": "string"
  18762. },
  18763. "signdate": {
  18764. "description": "表示签订日期.",
  18765. "type": "string"
  18766. },
  18767. "spotcontractid": {
  18768. "description": "合同ID",
  18769. "type": "string"
  18770. },
  18771. "status": {
  18772. "description": "表示状态,0-履约中 1-已完成.",
  18773. "type": "integer"
  18774. },
  18775. "totalqty": {
  18776. "description": "表示合同量.",
  18777. "type": "number"
  18778. },
  18779. "unpricedqty": {
  18780. "description": "表示未定价量.",
  18781. "type": "number"
  18782. },
  18783. "wrstandardname": {
  18784. "description": "表示商品ID.",
  18785. "type": "string"
  18786. }
  18787. }
  18788. },
  18789. "erms3.QueryUserInfoAppliesRsp": {
  18790. "type": "object",
  18791. "required": [
  18792. "userid"
  18793. ],
  18794. "properties": {
  18795. "biznature": {
  18796. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18797. "type": "integer"
  18798. },
  18799. "contactname": {
  18800. "description": "联系人",
  18801. "type": "string"
  18802. },
  18803. "createtime": {
  18804. "description": "开户申请时间",
  18805. "type": "string"
  18806. },
  18807. "userid": {
  18808. "description": "用户ID(自增ID)",
  18809. "type": "integer"
  18810. },
  18811. "userinfotype": {
  18812. "description": "用户信息类型 - 1:个人 2:企业",
  18813. "type": "integer"
  18814. },
  18815. "username": {
  18816. "description": "用户姓名",
  18817. "type": "string"
  18818. },
  18819. "userstate": {
  18820. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18821. "type": "integer"
  18822. }
  18823. }
  18824. },
  18825. "erms3.QueryUserInfosRsp": {
  18826. "type": "object",
  18827. "required": [
  18828. "userid"
  18829. ],
  18830. "properties": {
  18831. "biznature": {
  18832. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18833. "type": "integer"
  18834. },
  18835. "contactname": {
  18836. "description": "联系人",
  18837. "type": "string"
  18838. },
  18839. "customername": {
  18840. "description": "客户名称(企业名称)",
  18841. "type": "string"
  18842. },
  18843. "userid": {
  18844. "description": "用户ID",
  18845. "type": "integer"
  18846. },
  18847. "userinfotype": {
  18848. "description": "用户信息类型 - 1:个人 2:企业",
  18849. "type": "integer"
  18850. },
  18851. "userstatus": {
  18852. "description": "用户状态 - 1:正常 2:注销",
  18853. "type": "integer"
  18854. }
  18855. }
  18856. },
  18857. "erms3.SoptContractDetail": {
  18858. "type": "object",
  18859. "required": [
  18860. "deliverygoodsid",
  18861. "producttype",
  18862. "unitname",
  18863. "warehouseid",
  18864. "wrstandardid",
  18865. "wrstandardname"
  18866. ],
  18867. "properties": {
  18868. "deliverygoodsdesc": {
  18869. "description": "现货品种说明",
  18870. "type": "string"
  18871. },
  18872. "deliverygoodsid": {
  18873. "description": "现货品种ID",
  18874. "type": "integer"
  18875. },
  18876. "deliverygoodsname": {
  18877. "description": "现货品种名称",
  18878. "type": "string"
  18879. },
  18880. "pointdesc": {
  18881. "description": "点价描述",
  18882. "type": "string"
  18883. },
  18884. "producttype": {
  18885. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18886. "type": "integer"
  18887. },
  18888. "producttypename": {
  18889. "description": "产品类型名称",
  18890. "type": "string"
  18891. },
  18892. "spotPointOrderVoList": {
  18893. "description": "点价列表",
  18894. "type": "array",
  18895. "items": {
  18896. "$ref": "#/definitions/erms3.SpotPointOrder"
  18897. }
  18898. },
  18899. "spotPriceOrderList": {
  18900. "description": "定价列表",
  18901. "type": "array",
  18902. "items": {
  18903. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18904. }
  18905. },
  18906. "unitname": {
  18907. "description": "单位名称",
  18908. "type": "string"
  18909. },
  18910. "warehouseid": {
  18911. "description": "仓库ID",
  18912. "type": "integer"
  18913. },
  18914. "warehousename": {
  18915. "description": "仓库名称",
  18916. "type": "string"
  18917. },
  18918. "wrstandardid": {
  18919. "description": "交易标的ID",
  18920. "type": "integer"
  18921. },
  18922. "wrstandardname": {
  18923. "description": "交易标的名称",
  18924. "type": "string"
  18925. }
  18926. }
  18927. },
  18928. "erms3.SpotPointOrder": {
  18929. "type": "object",
  18930. "required": [
  18931. "basic",
  18932. "goodsid",
  18933. "qty"
  18934. ],
  18935. "properties": {
  18936. "basic": {
  18937. "description": "基差",
  18938. "type": "number"
  18939. },
  18940. "deliveryenddate": {
  18941. "description": "交收结束日期",
  18942. "type": "string"
  18943. },
  18944. "deliverystartdate": {
  18945. "description": "交收开始日期",
  18946. "type": "string"
  18947. },
  18948. "enddate": {
  18949. "description": "点价结束日期",
  18950. "type": "string"
  18951. },
  18952. "goodsid": {
  18953. "description": "商品ID",
  18954. "type": "integer"
  18955. },
  18956. "goodsname": {
  18957. "description": "商品名称",
  18958. "type": "string"
  18959. },
  18960. "qty": {
  18961. "description": "数量",
  18962. "type": "number"
  18963. },
  18964. "startdate": {
  18965. "description": "点价开始日期",
  18966. "type": "string"
  18967. }
  18968. }
  18969. },
  18970. "erms3.SpotPriceOrder": {
  18971. "type": "object",
  18972. "required": [
  18973. "amount",
  18974. "price",
  18975. "qty"
  18976. ],
  18977. "properties": {
  18978. "amount": {
  18979. "description": "金额",
  18980. "type": "number"
  18981. },
  18982. "deliveryenddate": {
  18983. "description": "交收结束日期",
  18984. "type": "string"
  18985. },
  18986. "deliverystartdate": {
  18987. "description": "交收开始日期",
  18988. "type": "string"
  18989. },
  18990. "price": {
  18991. "description": "价格",
  18992. "type": "number"
  18993. },
  18994. "qty": {
  18995. "description": "数量",
  18996. "type": "number"
  18997. }
  18998. }
  18999. },
  19000. "hsby.GetHsbyMyCountRsp": {
  19001. "type": "object",
  19002. "properties": {
  19003. "myCouponCount": {
  19004. "description": "我的优惠卷数量",
  19005. "type": "integer"
  19006. },
  19007. "myOrderDetailListingCount": {
  19008. "description": "我的订单求购中数量",
  19009. "type": "integer"
  19010. },
  19011. "myOrderDetailPreCount": {
  19012. "description": "我的订单抢购中数量",
  19013. "type": "integer"
  19014. },
  19015. "myPackageUnReceiveCount": {
  19016. "description": "我的包裹待收货数量",
  19017. "type": "integer"
  19018. },
  19019. "myPackageUnSendCount": {
  19020. "description": "我的包裹待发货数量",
  19021. "type": "integer"
  19022. },
  19023. "myPayOrderCount": {
  19024. "description": "我的订单待付款数量",
  19025. "type": "integer"
  19026. }
  19027. }
  19028. },
  19029. "hsby.QueryProvincesAndCitiesRsp": {
  19030. "type": "object",
  19031. "properties": {
  19032. "cities": {
  19033. "description": "市",
  19034. "type": "array",
  19035. "items": {
  19036. "$ref": "#/definitions/models.Division"
  19037. }
  19038. },
  19039. "province": {
  19040. "description": "省",
  19041. "$ref": "#/definitions/models.Division"
  19042. }
  19043. }
  19044. },
  19045. "models.Arearole": {
  19046. "type": "object",
  19047. "required": [
  19048. "roletype",
  19049. "userid"
  19050. ],
  19051. "properties": {
  19052. "createtime": {
  19053. "description": "创建时间",
  19054. "type": "string"
  19055. },
  19056. "creatorid": {
  19057. "description": "创建人ID",
  19058. "type": "integer"
  19059. },
  19060. "fromuserid": {
  19061. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19062. "type": "integer"
  19063. },
  19064. "isreturnscore": {
  19065. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19066. "type": "integer"
  19067. },
  19068. "modifierid": {
  19069. "description": "修改人ID",
  19070. "type": "integer"
  19071. },
  19072. "modifytime": {
  19073. "description": "修改时间",
  19074. "type": "string"
  19075. },
  19076. "orgtype": {
  19077. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19078. "type": "integer"
  19079. },
  19080. "outuserid": {
  19081. "description": "外部账户[场外期权做市商]",
  19082. "type": "string"
  19083. },
  19084. "parentuserid": {
  19085. "description": "上级组织机构(组织机构)",
  19086. "type": "integer"
  19087. },
  19088. "roletype": {
  19089. "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:门店",
  19090. "type": "integer"
  19091. },
  19092. "rootuserid": {
  19093. "description": "顶级组织机构用户ID(组织机构)",
  19094. "type": "integer"
  19095. },
  19096. "shoppassword": {
  19097. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19098. "type": "string"
  19099. },
  19100. "sublevelpath": {
  19101. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19102. "type": "string"
  19103. },
  19104. "suborgtype": {
  19105. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19106. "type": "integer"
  19107. },
  19108. "tradeaccountid": {
  19109. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19110. "type": "integer"
  19111. },
  19112. "transurl": {
  19113. "description": "物流地址(物流机构)",
  19114. "type": "string"
  19115. },
  19116. "userid": {
  19117. "description": "机构用户ID其他做市关系,都设置为 1",
  19118. "type": "integer"
  19119. }
  19120. }
  19121. },
  19122. "models.Clientfixedadconfig": {
  19123. "type": "object",
  19124. "required": [
  19125. "adsort",
  19126. "adtype"
  19127. ],
  19128. "properties": {
  19129. "adsort": {
  19130. "description": "排序",
  19131. "type": "integer"
  19132. },
  19133. "adtype": {
  19134. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19135. "type": "integer"
  19136. },
  19137. "areauserid": {
  19138. "description": "所属机构ID",
  19139. "type": "integer"
  19140. },
  19141. "createdate": {
  19142. "description": "创建时间",
  19143. "type": "string"
  19144. },
  19145. "creatorid": {
  19146. "description": "创建人",
  19147. "type": "integer"
  19148. },
  19149. "imagepath": {
  19150. "description": "图片",
  19151. "type": "string"
  19152. },
  19153. "isshow": {
  19154. "description": "是否展示 - 0:不展示 1:展示",
  19155. "type": "integer"
  19156. },
  19157. "modifierid": {
  19158. "description": "操作人",
  19159. "type": "integer"
  19160. },
  19161. "recsize": {
  19162. "description": "推荐尺寸",
  19163. "type": "string"
  19164. },
  19165. "title": {
  19166. "description": "标题",
  19167. "type": "string"
  19168. },
  19169. "updatedate": {
  19170. "description": "更新时间",
  19171. "type": "string"
  19172. },
  19173. "urlcontent": {
  19174. "description": "链接(地址或商品ID)",
  19175. "type": "string"
  19176. },
  19177. "urltype": {
  19178. "description": "链接类型 - 1:直接地址 2:商品ID",
  19179. "type": "integer"
  19180. }
  19181. }
  19182. },
  19183. "models.Division": {
  19184. "type": "object",
  19185. "required": [
  19186. "autoid",
  19187. "divisioncode"
  19188. ],
  19189. "properties": {
  19190. "autoid": {
  19191. "description": "自增ID",
  19192. "type": "integer"
  19193. },
  19194. "divisioncode": {
  19195. "description": "行政代码",
  19196. "type": "string"
  19197. },
  19198. "divisionlevel": {
  19199. "description": "行政级别",
  19200. "type": "string"
  19201. },
  19202. "divisionname": {
  19203. "description": "行政名称",
  19204. "type": "string"
  19205. },
  19206. "modifierid": {
  19207. "description": "修改人",
  19208. "type": "integer"
  19209. },
  19210. "modifytime": {
  19211. "description": "修改时间",
  19212. "type": "string"
  19213. },
  19214. "parentcode": {
  19215. "description": "上级行政代码",
  19216. "type": "string"
  19217. },
  19218. "pathname": {
  19219. "description": "路径名称",
  19220. "type": "string"
  19221. },
  19222. "postcode": {
  19223. "description": "邮政编码",
  19224. "type": "string"
  19225. },
  19226. "separablename": {
  19227. "description": "可拆分的全称",
  19228. "type": "string"
  19229. },
  19230. "shortcode": {
  19231. "description": "地区简码",
  19232. "type": "string"
  19233. }
  19234. }
  19235. },
  19236. "models.Enumdicitem": {
  19237. "type": "object",
  19238. "required": [
  19239. "autoid",
  19240. "enumdiccode",
  19241. "enumdicid",
  19242. "enumitemname"
  19243. ],
  19244. "properties": {
  19245. "autoid": {
  19246. "description": "自增ID",
  19247. "type": "integer"
  19248. },
  19249. "bankmappedvalue": {
  19250. "description": "银行服务对应值",
  19251. "type": "string"
  19252. },
  19253. "enumdiccode": {
  19254. "description": "所属枚举代码",
  19255. "type": "string"
  19256. },
  19257. "enumdicid": {
  19258. "description": "所属枚举ID",
  19259. "type": "integer"
  19260. },
  19261. "enumdicname": {
  19262. "description": "枚举项名称",
  19263. "type": "string"
  19264. },
  19265. "enumitemname": {
  19266. "description": "枚举项值",
  19267. "type": "integer"
  19268. },
  19269. "enumitemstatus": {
  19270. "description": "枚举项状态 - 1.启用 2.不启用",
  19271. "type": "integer"
  19272. },
  19273. "enumitemvalue": {
  19274. "description": "通用值 - [币种通用简写]",
  19275. "type": "string"
  19276. },
  19277. "param1": {
  19278. "description": "参数1[币种:币种小数位]",
  19279. "type": "string"
  19280. },
  19281. "param2": {
  19282. "description": "参数1[币种:币种显示单位]",
  19283. "type": "string"
  19284. },
  19285. "remark": {
  19286. "description": "备注",
  19287. "type": "string"
  19288. }
  19289. }
  19290. },
  19291. "models.Ermcp3AreaSpot": {
  19292. "type": "object",
  19293. "properties": {
  19294. "areauserid": {
  19295. "description": "所属机构",
  19296. "type": "integer"
  19297. },
  19298. "convertratio": {
  19299. "description": "套保系数",
  19300. "type": "number"
  19301. },
  19302. "decreaseqty": {
  19303. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19304. "type": "number"
  19305. },
  19306. "enumdicname": {
  19307. "description": "单位名称",
  19308. "type": "string"
  19309. },
  19310. "increaseqty": {
  19311. "description": "增加数量=销售计划数量+采购已定价数量",
  19312. "type": "number"
  19313. },
  19314. "oritoalspotqty": {
  19315. "description": "昨日数量",
  19316. "type": "number"
  19317. },
  19318. "totalspotqty": {
  19319. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19320. "type": "number"
  19321. },
  19322. "unitid": {
  19323. "description": "现货商品单位id",
  19324. "type": "integer"
  19325. },
  19326. "updatetime": {
  19327. "description": "更新时间",
  19328. "type": "string"
  19329. },
  19330. "wrstandardcode": {
  19331. "description": "现货商品代码",
  19332. "type": "string"
  19333. },
  19334. "wrstandardid": {
  19335. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19336. "type": "integer"
  19337. },
  19338. "wrstandardname": {
  19339. "description": "现货商品名称",
  19340. "type": "string"
  19341. }
  19342. }
  19343. },
  19344. "models.Ermcp3AreaSpotDetail": {
  19345. "type": "object",
  19346. "properties": {
  19347. "contracttype": {
  19348. "description": "合同类型 1-采购 -1-销售",
  19349. "type": "integer"
  19350. },
  19351. "createtime": {
  19352. "description": "创建时间",
  19353. "type": "string"
  19354. },
  19355. "enumdicname": {
  19356. "description": "现货商品单位名称",
  19357. "type": "string"
  19358. },
  19359. "logtype": {
  19360. "description": "记录类型 1-套保 2-现货合同",
  19361. "type": "integer"
  19362. },
  19363. "qty": {
  19364. "description": "数量",
  19365. "type": "number"
  19366. },
  19367. "recordname": {
  19368. "description": "类型名称",
  19369. "type": "string"
  19370. },
  19371. "relatedid": {
  19372. "description": "套保计划ID/现货合同ID",
  19373. "type": "string"
  19374. },
  19375. "relatedno": {
  19376. "description": "编号",
  19377. "type": "string"
  19378. },
  19379. "strtime": {
  19380. "description": "时间",
  19381. "type": "string"
  19382. },
  19383. "wrstandardcode": {
  19384. "description": "现货商品代码",
  19385. "type": "string"
  19386. },
  19387. "wrstandardid": {
  19388. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19389. "type": "integer"
  19390. },
  19391. "wrstandardname": {
  19392. "description": "现货商品名称",
  19393. "type": "string"
  19394. }
  19395. }
  19396. },
  19397. "models.Ermcp3AreaSpotPLReport": {
  19398. "type": "object",
  19399. "properties": {
  19400. "accountid": {
  19401. "description": "期货账户ID (作废, 默认为0)",
  19402. "type": "integer"
  19403. },
  19404. "accountname": {
  19405. "description": "机构名称",
  19406. "type": "string"
  19407. },
  19408. "actualpl": {
  19409. "description": "现货损益",
  19410. "type": "number"
  19411. },
  19412. "areauserid": {
  19413. "description": "所属机构\\交易用户ID",
  19414. "type": "integer"
  19415. },
  19416. "begindate": {
  19417. "description": "开始交易日",
  19418. "type": "string"
  19419. },
  19420. "biztype": {
  19421. "description": "业务类型 - 1:套保 2:套利",
  19422. "type": "integer"
  19423. },
  19424. "brandname": {
  19425. "description": "品牌名称",
  19426. "type": "string"
  19427. },
  19428. "curamount": {
  19429. "description": "期末额",
  19430. "type": "number"
  19431. },
  19432. "curaverageprice": {
  19433. "description": "期末均价",
  19434. "type": "number"
  19435. },
  19436. "curbuyamount": {
  19437. "description": "期末采购总额",
  19438. "type": "number"
  19439. },
  19440. "curbuyqty": {
  19441. "description": "期末采购总量",
  19442. "type": "number"
  19443. },
  19444. "curmarketvalue": {
  19445. "description": "参考市值(期末市值)",
  19446. "type": "number"
  19447. },
  19448. "curqty": {
  19449. "description": "期末量",
  19450. "type": "number"
  19451. },
  19452. "currencyid": {
  19453. "description": "结算币种ID【原值】",
  19454. "type": "integer"
  19455. },
  19456. "currencyname": {
  19457. "description": "币种名称",
  19458. "type": "string"
  19459. },
  19460. "cursellamount": {
  19461. "description": "期末销售总额",
  19462. "type": "number"
  19463. },
  19464. "cursellqty": {
  19465. "description": "期末销售总量",
  19466. "type": "number"
  19467. },
  19468. "curspotprice": {
  19469. "description": "参考市价(最新价)",
  19470. "type": "number"
  19471. },
  19472. "cycletime": {
  19473. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19474. "type": "string"
  19475. },
  19476. "cycletype": {
  19477. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19478. "type": "integer"
  19479. },
  19480. "deliverygoodscode": {
  19481. "description": "现货商品代码",
  19482. "type": "string"
  19483. },
  19484. "deliverygoodsid": {
  19485. "description": "现货品种ID",
  19486. "type": "integer"
  19487. },
  19488. "deliverygoodsname": {
  19489. "description": "现货商品名称",
  19490. "type": "string"
  19491. },
  19492. "enddate": {
  19493. "description": "结束交易日",
  19494. "type": "string"
  19495. },
  19496. "enumdicname": {
  19497. "description": "现货商品单位名称",
  19498. "type": "string"
  19499. },
  19500. "floatpl": {
  19501. "description": "浮动损益",
  19502. "type": "number"
  19503. },
  19504. "goodsunitid": {
  19505. "description": "现货商品单位id",
  19506. "type": "integer"
  19507. },
  19508. "oriamount": {
  19509. "description": "期初额",
  19510. "type": "number"
  19511. },
  19512. "oriaverageprice": {
  19513. "description": "期初均价",
  19514. "type": "number"
  19515. },
  19516. "oribuyamount": {
  19517. "description": "期初采购总额",
  19518. "type": "number"
  19519. },
  19520. "oribuyqty": {
  19521. "description": "期初采购总量",
  19522. "type": "number"
  19523. },
  19524. "oriqty": {
  19525. "description": "期初量",
  19526. "type": "number"
  19527. },
  19528. "orisellamount": {
  19529. "description": "期初销售总额",
  19530. "type": "number"
  19531. },
  19532. "orisellqty": {
  19533. "description": "期初销售总量",
  19534. "type": "number"
  19535. },
  19536. "reckondate": {
  19537. "description": "日照时期(yyyyMMdd)",
  19538. "type": "string"
  19539. },
  19540. "spotgoodsbrandid": {
  19541. "description": "现货品牌ID",
  19542. "type": "integer"
  19543. },
  19544. "todaybuyamount": {
  19545. "description": "今日采购额(今采购额)",
  19546. "type": "number"
  19547. },
  19548. "todaybuyaverageprice": {
  19549. "description": "今日采购均价",
  19550. "type": "number"
  19551. },
  19552. "todaybuyqty": {
  19553. "description": "今日采购量(今采购量)",
  19554. "type": "number"
  19555. },
  19556. "todayinqty": {
  19557. "description": "今日入库量(今入库量)",
  19558. "type": "number"
  19559. },
  19560. "todayoutqty": {
  19561. "description": "今日出库量(今出库量)",
  19562. "type": "number"
  19563. },
  19564. "todaysellamount": {
  19565. "description": "今日销售额(今销售额)",
  19566. "type": "number"
  19567. },
  19568. "todaysellaverageprice": {
  19569. "description": "今日销售均价",
  19570. "type": "number"
  19571. },
  19572. "todaysellqty": {
  19573. "description": "今日销售量(今销售量)",
  19574. "type": "number"
  19575. },
  19576. "unitid": {
  19577. "description": "品类单位id",
  19578. "type": "integer"
  19579. },
  19580. "unitidname": {
  19581. "description": "品类单位名称",
  19582. "type": "string"
  19583. },
  19584. "updatetime": {
  19585. "description": "更新时间",
  19586. "type": "string"
  19587. },
  19588. "wrfactortypeid": {
  19589. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19590. "type": "integer"
  19591. },
  19592. "wrstandardcode": {
  19593. "description": "品类代码",
  19594. "type": "string"
  19595. },
  19596. "wrstandardid": {
  19597. "description": "现货品类ID",
  19598. "type": "integer"
  19599. },
  19600. "wrstandardname": {
  19601. "description": "品类名称",
  19602. "type": "string"
  19603. }
  19604. }
  19605. },
  19606. "models.Ermcp3AreaStock": {
  19607. "type": "object",
  19608. "required": [
  19609. "userid"
  19610. ],
  19611. "properties": {
  19612. "brandname": {
  19613. "description": "品牌名称",
  19614. "type": "string"
  19615. },
  19616. "curstock": {
  19617. "description": "期末库存量(今日量)",
  19618. "type": "number"
  19619. },
  19620. "deliverygoodscode": {
  19621. "description": "现货品种代码",
  19622. "type": "string"
  19623. },
  19624. "deliverygoodsid": {
  19625. "description": "现货品种id",
  19626. "type": "integer"
  19627. },
  19628. "deliverygoodsname": {
  19629. "description": "现货品种名称",
  19630. "type": "string"
  19631. },
  19632. "enumdicname": {
  19633. "description": "单位名称",
  19634. "type": "string"
  19635. },
  19636. "goodsunitid": {
  19637. "description": "现货商品单位id",
  19638. "type": "integer"
  19639. },
  19640. "oristock": {
  19641. "description": "期初库存量(昨日量)",
  19642. "type": "number"
  19643. },
  19644. "spotgoodsbrandid": {
  19645. "description": "现货品牌ID",
  19646. "type": "integer"
  19647. },
  19648. "todaybuyinqty": {
  19649. "description": "今日采购入库量",
  19650. "type": "number"
  19651. },
  19652. "todayproduceinqty": {
  19653. "description": "今日生产入库量",
  19654. "type": "number"
  19655. },
  19656. "todayproduceoutqty": {
  19657. "description": "今日生产出库量",
  19658. "type": "number"
  19659. },
  19660. "todayselloutqty": {
  19661. "description": "今日销售出库量",
  19662. "type": "number"
  19663. },
  19664. "unitid": {
  19665. "description": "单位id",
  19666. "type": "integer"
  19667. },
  19668. "updatetime": {
  19669. "description": "更新时间",
  19670. "type": "string"
  19671. },
  19672. "userid": {
  19673. "description": "机构ID",
  19674. "type": "integer"
  19675. },
  19676. "username": {
  19677. "description": "机构名称",
  19678. "type": "string"
  19679. },
  19680. "warehousecode": {
  19681. "description": "仓库代码",
  19682. "type": "string"
  19683. },
  19684. "warehouseinfoid": {
  19685. "description": "仓库ID",
  19686. "type": "string"
  19687. },
  19688. "warehousename": {
  19689. "description": "仓库名称",
  19690. "type": "string"
  19691. },
  19692. "warehousetype": {
  19693. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19694. "type": "integer"
  19695. },
  19696. "wrstandardcode": {
  19697. "description": "品类代码",
  19698. "type": "string"
  19699. },
  19700. "wrstandardid": {
  19701. "description": "品类ID",
  19702. "type": "string"
  19703. },
  19704. "wrstandardname": {
  19705. "description": "品类名称",
  19706. "type": "string"
  19707. }
  19708. }
  19709. },
  19710. "models.Ermcp3AreaStockApply": {
  19711. "type": "object",
  19712. "properties": {
  19713. "applyid": {
  19714. "description": "申请人",
  19715. "type": "integer"
  19716. },
  19717. "applyname": {
  19718. "description": "申请人名称",
  19719. "type": "string"
  19720. },
  19721. "applyremark": {
  19722. "description": "申请备注",
  19723. "type": "string"
  19724. },
  19725. "applysrc": {
  19726. "description": "申请来源 - 1:管理端 2:终端",
  19727. "type": "integer"
  19728. },
  19729. "applystatus": {
  19730. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19731. "type": "integer"
  19732. },
  19733. "applytime": {
  19734. "description": "申请时间",
  19735. "type": "string"
  19736. },
  19737. "auditid": {
  19738. "description": "审核人",
  19739. "type": "integer"
  19740. },
  19741. "auditname": {
  19742. "description": "审核人名称",
  19743. "type": "string"
  19744. },
  19745. "auditremark": {
  19746. "description": "审核备注",
  19747. "type": "string"
  19748. },
  19749. "auditsrc": {
  19750. "description": "审核来源 - 1:管理端 2:终端",
  19751. "type": "integer"
  19752. },
  19753. "audittime": {
  19754. "description": "审核时间",
  19755. "type": "string"
  19756. },
  19757. "audittradedate": {
  19758. "description": "审核交易日(yyyyMMdd)",
  19759. "type": "string"
  19760. },
  19761. "brandname": {
  19762. "description": "品牌名称",
  19763. "type": "string"
  19764. },
  19765. "buynickname": {
  19766. "description": "采购方昵称",
  19767. "type": "string"
  19768. },
  19769. "buyuserid": {
  19770. "description": "采购方userid",
  19771. "type": "integer"
  19772. },
  19773. "buyusername": {
  19774. "description": "采购方名称",
  19775. "type": "string"
  19776. },
  19777. "contractno": {
  19778. "description": "合同编号",
  19779. "type": "string"
  19780. },
  19781. "contractqty": {
  19782. "description": "合同量",
  19783. "type": "number"
  19784. },
  19785. "contracttype": {
  19786. "description": "现货合同类型 - 1:采购 -1:销售",
  19787. "type": "integer"
  19788. },
  19789. "deliverygoodscode": {
  19790. "description": "现货品种代码",
  19791. "type": "string"
  19792. },
  19793. "deliverygoodsid": {
  19794. "description": "现货品种id",
  19795. "type": "integer"
  19796. },
  19797. "deliverygoodsname": {
  19798. "description": "现货品种名称",
  19799. "type": "string"
  19800. },
  19801. "detailjson": {
  19802. "description": "明细数据",
  19803. "type": "string"
  19804. },
  19805. "enumdicname": {
  19806. "description": "现货商品单位名称",
  19807. "type": "string"
  19808. },
  19809. "inoutapplyid": {
  19810. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19811. "type": "string"
  19812. },
  19813. "inouttype": {
  19814. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19815. "type": "integer"
  19816. },
  19817. "pricetype": {
  19818. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19819. "type": "integer"
  19820. },
  19821. "qty": {
  19822. "description": "数量",
  19823. "type": "number"
  19824. },
  19825. "sellnickname": {
  19826. "description": "销售方昵称",
  19827. "type": "string"
  19828. },
  19829. "selluserid": {
  19830. "description": "销售方userid",
  19831. "type": "integer"
  19832. },
  19833. "sellusername": {
  19834. "description": "销售方名称",
  19835. "type": "string"
  19836. },
  19837. "spotcontractid": {
  19838. "description": "关联现货合同ID",
  19839. "type": "string"
  19840. },
  19841. "spotgoodsbrandid": {
  19842. "description": "现货品牌ID",
  19843. "type": "integer"
  19844. },
  19845. "unitid": {
  19846. "description": "单位id",
  19847. "type": "integer"
  19848. },
  19849. "userid": {
  19850. "description": "机构ID",
  19851. "type": "integer"
  19852. },
  19853. "warehousecode": {
  19854. "description": "仓库代码",
  19855. "type": "string"
  19856. },
  19857. "warehouseinfoid": {
  19858. "description": "现货仓库ID",
  19859. "type": "string"
  19860. },
  19861. "warehousename": {
  19862. "description": "仓库名称",
  19863. "type": "string"
  19864. },
  19865. "warehousetype": {
  19866. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19867. "type": "integer"
  19868. },
  19869. "wrstandardcode": {
  19870. "description": "品类代码",
  19871. "type": "string"
  19872. },
  19873. "wrstandardid": {
  19874. "description": "品类ID",
  19875. "type": "integer"
  19876. },
  19877. "wrstandardname": {
  19878. "description": "品类名称",
  19879. "type": "string"
  19880. }
  19881. }
  19882. },
  19883. "models.Ermcp3AreaStockApplySum": {
  19884. "type": "object",
  19885. "properties": {
  19886. "brandname": {
  19887. "description": "品牌名称",
  19888. "type": "string"
  19889. },
  19890. "inouttype": {
  19891. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19892. "type": "integer"
  19893. },
  19894. "spotcontractid": {
  19895. "description": "关联现货合同ID",
  19896. "type": "string"
  19897. },
  19898. "spotgoodsbrandid": {
  19899. "description": "品牌id",
  19900. "type": "integer"
  19901. },
  19902. "totalqty": {
  19903. "description": "总数量",
  19904. "type": "number"
  19905. },
  19906. "wrstandardid": {
  19907. "description": "品类id",
  19908. "type": "integer"
  19909. },
  19910. "wrstandardname": {
  19911. "description": "品类名称",
  19912. "type": "string"
  19913. }
  19914. }
  19915. },
  19916. "models.Ermcp3AreaStockReportEx": {
  19917. "type": "object",
  19918. "properties": {
  19919. "begindate": {
  19920. "description": "开始交易日",
  19921. "type": "string"
  19922. },
  19923. "brandname": {
  19924. "description": "品牌名称",
  19925. "type": "string"
  19926. },
  19927. "curstock": {
  19928. "description": "期末库存量",
  19929. "type": "number"
  19930. },
  19931. "cycletime": {
  19932. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19933. "type": "string"
  19934. },
  19935. "cycletype": {
  19936. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19937. "type": "integer"
  19938. },
  19939. "deliverygoodscode": {
  19940. "description": "现货品种代码",
  19941. "type": "string"
  19942. },
  19943. "deliverygoodsid": {
  19944. "description": "现货品种id",
  19945. "type": "integer"
  19946. },
  19947. "deliverygoodsname": {
  19948. "description": "现货品种名称",
  19949. "type": "string"
  19950. },
  19951. "diffqty": {
  19952. "description": "库存变化量 = 期末 - 期初",
  19953. "type": "number"
  19954. },
  19955. "enddate": {
  19956. "description": "结束交易日",
  19957. "type": "string"
  19958. },
  19959. "enumdicname": {
  19960. "description": "单位名称",
  19961. "type": "string"
  19962. },
  19963. "goodsunitid": {
  19964. "description": "现货单位id",
  19965. "type": "integer"
  19966. },
  19967. "oristock": {
  19968. "description": "期初库存量",
  19969. "type": "number"
  19970. },
  19971. "reckondate": {
  19972. "description": "日照时期(yyyyMMdd)",
  19973. "type": "string"
  19974. },
  19975. "spotgoodsbrandid": {
  19976. "description": "现货品牌ID",
  19977. "type": "integer"
  19978. },
  19979. "todaybuyinqty": {
  19980. "description": "今采购入库量",
  19981. "type": "number"
  19982. },
  19983. "todayproduceinqty": {
  19984. "description": "今内部入库量",
  19985. "type": "number"
  19986. },
  19987. "todayproduceoutqty": {
  19988. "description": "今内部出库量",
  19989. "type": "number"
  19990. },
  19991. "todayselloutqty": {
  19992. "description": "今销售出库量",
  19993. "type": "number"
  19994. },
  19995. "unbuyinqty": {
  19996. "description": "采购未入库量(数据库未找到相关字段?)",
  19997. "type": "number"
  19998. },
  19999. "unitid": {
  20000. "description": "品类单位id",
  20001. "type": "integer"
  20002. },
  20003. "unselloutqty": {
  20004. "description": "销售未出库量(数据库未找到相关字段?)",
  20005. "type": "number"
  20006. },
  20007. "updatetime": {
  20008. "description": "更新时间",
  20009. "type": "string"
  20010. },
  20011. "userid": {
  20012. "description": "机构ID",
  20013. "type": "integer"
  20014. },
  20015. "username": {
  20016. "description": "机构名称",
  20017. "type": "string"
  20018. },
  20019. "warehousecode": {
  20020. "description": "仓库代码",
  20021. "type": "string"
  20022. },
  20023. "warehouseinfoid": {
  20024. "description": "仓库ID",
  20025. "type": "string"
  20026. },
  20027. "warehousename": {
  20028. "description": "仓库名称",
  20029. "type": "string"
  20030. },
  20031. "warehousetype": {
  20032. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20033. "type": "integer"
  20034. },
  20035. "wrstandardcode": {
  20036. "description": "品类代码",
  20037. "type": "string"
  20038. },
  20039. "wrstandardid": {
  20040. "description": "品类ID",
  20041. "type": "integer"
  20042. },
  20043. "wrstandardname": {
  20044. "description": "品类名称",
  20045. "type": "string"
  20046. }
  20047. }
  20048. },
  20049. "models.Ermcp3ArealSumPL": {
  20050. "type": "object",
  20051. "properties": {
  20052. "accountname": {
  20053. "description": "机构名称",
  20054. "type": "string"
  20055. },
  20056. "areauserid": {
  20057. "description": "所属机构\\交易用户ID",
  20058. "type": "integer"
  20059. },
  20060. "begindate": {
  20061. "description": "开始交易日",
  20062. "type": "string"
  20063. },
  20064. "currencyid": {
  20065. "description": "结算币种ID",
  20066. "type": "integer"
  20067. },
  20068. "currencyname": {
  20069. "description": "币种名称",
  20070. "type": "string"
  20071. },
  20072. "cycletime": {
  20073. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20074. "type": "string"
  20075. },
  20076. "cycletype": {
  20077. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20078. "type": "integer"
  20079. },
  20080. "enddate": {
  20081. "description": "结束交易日",
  20082. "type": "string"
  20083. },
  20084. "enumdicname": {
  20085. "description": "单位名称(套保品种)",
  20086. "type": "string"
  20087. },
  20088. "futureactualpl": {
  20089. "description": "期货损益",
  20090. "type": "number"
  20091. },
  20092. "futurefloatpl": {
  20093. "description": "期货浮动损益",
  20094. "type": "number"
  20095. },
  20096. "futurespotratio": {
  20097. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20098. "type": "number"
  20099. },
  20100. "goodsunitid": {
  20101. "description": "套保品种单位id",
  20102. "type": "integer"
  20103. },
  20104. "hedgeexposurepl": {
  20105. "description": "套保敞口损益",
  20106. "type": "number"
  20107. },
  20108. "middlegoodscode": {
  20109. "description": "套保品种代码",
  20110. "type": "string"
  20111. },
  20112. "middlegoodsid": {
  20113. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20114. "type": "integer"
  20115. },
  20116. "middlegoodsname": {
  20117. "description": "套保品种名称",
  20118. "type": "string"
  20119. },
  20120. "reckondate": {
  20121. "description": "日照时期(yyyyMMdd)",
  20122. "type": "string"
  20123. },
  20124. "spotactualpl": {
  20125. "description": "现货损益",
  20126. "type": "number"
  20127. },
  20128. "spotfloatpl": {
  20129. "description": "现货浮动损益",
  20130. "type": "number"
  20131. },
  20132. "sumactualpl": {
  20133. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20134. "type": "number"
  20135. },
  20136. "sumpl": {
  20137. "description": "总敞口损益 | 汇总损益",
  20138. "type": "number"
  20139. },
  20140. "totalfutureqty": {
  20141. "description": "期货头寸总量",
  20142. "type": "number"
  20143. },
  20144. "totalneedhedgeqty": {
  20145. "description": "应套保总量",
  20146. "type": "number"
  20147. },
  20148. "totalspotqty": {
  20149. "description": "现货头寸总量",
  20150. "type": "number"
  20151. },
  20152. "updatetime": {
  20153. "description": "更新时间",
  20154. "type": "string"
  20155. }
  20156. }
  20157. },
  20158. "models.Ermcp3Brand": {
  20159. "type": "object",
  20160. "properties": {
  20161. "areauserid": {
  20162. "description": "用户id",
  20163. "type": "integer"
  20164. },
  20165. "brandid": {
  20166. "description": "品牌id",
  20167. "type": "integer"
  20168. },
  20169. "brandname": {
  20170. "description": "品牌名称",
  20171. "type": "string"
  20172. },
  20173. "deliverygoodsid": {
  20174. "description": "品种ID",
  20175. "type": "integer"
  20176. },
  20177. "isvalid": {
  20178. "description": "是否有效",
  20179. "type": "integer"
  20180. }
  20181. }
  20182. },
  20183. "models.Ermcp3Contract": {
  20184. "type": "object",
  20185. "properties": {
  20186. "accountid": {
  20187. "description": "期货账户id",
  20188. "type": "string"
  20189. },
  20190. "amount": {
  20191. "description": "金额 [1:一口价、3:暂定价]",
  20192. "type": "number"
  20193. },
  20194. "attachment": {
  20195. "description": "附件",
  20196. "type": "string"
  20197. },
  20198. "auditremark": {
  20199. "description": "审核意见",
  20200. "type": "string"
  20201. },
  20202. "audittime": {
  20203. "description": "审核时间",
  20204. "type": "string"
  20205. },
  20206. "biztype": {
  20207. "description": "业务类型 1-套保 2-套利",
  20208. "type": "integer"
  20209. },
  20210. "brandname": {
  20211. "description": "品牌名称",
  20212. "type": "string"
  20213. },
  20214. "buynickname": {
  20215. "description": "销售方昵称",
  20216. "type": "string"
  20217. },
  20218. "buyuserid": {
  20219. "description": "采购方ID",
  20220. "type": "integer"
  20221. },
  20222. "buyusername": {
  20223. "description": "采购方名称",
  20224. "type": "string"
  20225. },
  20226. "contracctstatus": {
  20227. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20228. "type": "integer"
  20229. },
  20230. "contractmargin": {
  20231. "description": "合同保证金",
  20232. "type": "number"
  20233. },
  20234. "contractno": {
  20235. "description": "现货合同编号",
  20236. "type": "string"
  20237. },
  20238. "contracttype": {
  20239. "description": "现货合同类型 - 1:采购 -1:销售",
  20240. "type": "integer"
  20241. },
  20242. "convertfactor": {
  20243. "description": "标仓系数(品类)",
  20244. "type": "number"
  20245. },
  20246. "createtime": {
  20247. "description": "创建时间",
  20248. "type": "string"
  20249. },
  20250. "currencyid": {
  20251. "description": "币种id",
  20252. "type": "integer"
  20253. },
  20254. "currencyname": {
  20255. "description": "币种名称",
  20256. "type": "string"
  20257. },
  20258. "deliveryenddate": {
  20259. "description": "交收期(结束)",
  20260. "type": "string"
  20261. },
  20262. "deliverygoodscode": {
  20263. "description": "现货品种代码",
  20264. "type": "string"
  20265. },
  20266. "deliverygoodsid": {
  20267. "description": "现货品种ID",
  20268. "type": "integer"
  20269. },
  20270. "deliverygoodsname": {
  20271. "description": "现货品种名称",
  20272. "type": "string"
  20273. },
  20274. "deliverystartdate": {
  20275. "description": "交收期(开始)",
  20276. "type": "string"
  20277. },
  20278. "enddate": {
  20279. "description": "点价结束日期 [2:点价 3:暂定价]",
  20280. "type": "string"
  20281. },
  20282. "enumdicname": {
  20283. "description": "单位名称",
  20284. "type": "string"
  20285. },
  20286. "goodscode": {
  20287. "description": "点价合约代码",
  20288. "type": "string"
  20289. },
  20290. "goodsid": {
  20291. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20292. "type": "integer"
  20293. },
  20294. "goodsname": {
  20295. "description": "点价商品名称",
  20296. "type": "string"
  20297. },
  20298. "margin": {
  20299. "description": "当前保证金",
  20300. "type": "number"
  20301. },
  20302. "meruserid": {
  20303. "description": "跟单员id",
  20304. "type": "integer"
  20305. },
  20306. "meruserlogincode": {
  20307. "description": "跟单员登录代码",
  20308. "type": "string"
  20309. },
  20310. "merusername": {
  20311. "description": "跟单员名称",
  20312. "type": "string"
  20313. },
  20314. "price": {
  20315. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20316. "type": "number"
  20317. },
  20318. "pricemove": {
  20319. "description": "升贴水 [2:点价 3:暂定价]",
  20320. "type": "number"
  20321. },
  20322. "pricetype": {
  20323. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20324. "type": "integer"
  20325. },
  20326. "producttype": {
  20327. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20328. "type": "integer"
  20329. },
  20330. "qty": {
  20331. "description": "数量",
  20332. "type": "number"
  20333. },
  20334. "remark": {
  20335. "description": "备注",
  20336. "type": "string"
  20337. },
  20338. "saleuserid": {
  20339. "description": "业务员id",
  20340. "type": "integer"
  20341. },
  20342. "saleuserlogincode": {
  20343. "description": "业务员登录代码",
  20344. "type": "string"
  20345. },
  20346. "saleusername": {
  20347. "description": "业务员名称",
  20348. "type": "string"
  20349. },
  20350. "sellnickname": {
  20351. "description": "采购方昵称",
  20352. "type": "string"
  20353. },
  20354. "selluserid": {
  20355. "description": "销售方ID",
  20356. "type": "integer"
  20357. },
  20358. "sellusername": {
  20359. "description": "销售方名称",
  20360. "type": "string"
  20361. },
  20362. "spotcontractid": {
  20363. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20364. "type": "string"
  20365. },
  20366. "spotgoodsbrandid": {
  20367. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20368. "type": "integer"
  20369. },
  20370. "spotgoodsdesc": {
  20371. "description": "商品型号",
  20372. "type": "string"
  20373. },
  20374. "startdate": {
  20375. "description": "点价开始日期 [2:点价 3:暂定价]",
  20376. "type": "string"
  20377. },
  20378. "subjectid": {
  20379. "description": "交易主体ID",
  20380. "type": "string"
  20381. },
  20382. "subjectname": {
  20383. "description": "交易主体名称",
  20384. "type": "string"
  20385. },
  20386. "tradeuserid": {
  20387. "description": "交易员id",
  20388. "type": "integer"
  20389. },
  20390. "tradeuserlogincode": {
  20391. "description": "交易员登录代码",
  20392. "type": "string"
  20393. },
  20394. "tradeusername": {
  20395. "description": "交易员名称",
  20396. "type": "string"
  20397. },
  20398. "unitid": {
  20399. "description": "单位id(取品类上的单位id)",
  20400. "type": "integer"
  20401. },
  20402. "updatetime": {
  20403. "description": "更新时间",
  20404. "type": "string"
  20405. },
  20406. "userid": {
  20407. "description": "所属机构ID",
  20408. "type": "integer"
  20409. },
  20410. "vatrate": {
  20411. "description": "增值税率",
  20412. "type": "number"
  20413. },
  20414. "wrstandardcode": {
  20415. "description": "品类代码",
  20416. "type": "string"
  20417. },
  20418. "wrstandardid": {
  20419. "description": "品类ID",
  20420. "type": "integer"
  20421. },
  20422. "wrstandardname": {
  20423. "description": "品类名称",
  20424. "type": "string"
  20425. }
  20426. }
  20427. },
  20428. "models.Ermcp3ExposureContractDetail": {
  20429. "type": "object",
  20430. "properties": {
  20431. "biztype": {
  20432. "description": "业务类型 1-套保 2-套利",
  20433. "type": "integer"
  20434. },
  20435. "brandname": {
  20436. "description": "品牌名称",
  20437. "type": "string"
  20438. },
  20439. "buyuserid": {
  20440. "description": "采购方id",
  20441. "type": "integer"
  20442. },
  20443. "buyusername": {
  20444. "description": "采购方名称",
  20445. "type": "string"
  20446. },
  20447. "contractno": {
  20448. "description": "合同编号",
  20449. "type": "string"
  20450. },
  20451. "contracttype": {
  20452. "description": "现货合同类型 - 1:采购 -1:销售",
  20453. "type": "integer"
  20454. },
  20455. "convertfactor": {
  20456. "description": "标仓系数",
  20457. "type": "number"
  20458. },
  20459. "convertratio": {
  20460. "description": "折算系数(套保品种)",
  20461. "type": "number"
  20462. },
  20463. "curqty": {
  20464. "description": "今定价量",
  20465. "type": "number"
  20466. },
  20467. "deliverygoodscode": {
  20468. "description": "现货商品代码",
  20469. "type": "string"
  20470. },
  20471. "deliverygoodsid": {
  20472. "description": "现货商品id",
  20473. "type": "integer"
  20474. },
  20475. "deliverygoodsname": {
  20476. "description": "现货商品名称",
  20477. "type": "string"
  20478. },
  20479. "diffhedgeqty": {
  20480. "description": "套保变动量",
  20481. "type": "number"
  20482. },
  20483. "diffneedhedgeqty": {
  20484. "description": "应套保变动量",
  20485. "type": "number"
  20486. },
  20487. "diffqty": {
  20488. "description": "套保品种今变动量",
  20489. "type": "number"
  20490. },
  20491. "enumdicname": {
  20492. "description": "单位名称",
  20493. "type": "string"
  20494. },
  20495. "mgunitname": {
  20496. "description": "套保品种单位名称",
  20497. "type": "string"
  20498. },
  20499. "middlegoodscode": {
  20500. "description": "套保品种代码",
  20501. "type": "string"
  20502. },
  20503. "middlegoodsid": {
  20504. "description": "套保品种id",
  20505. "type": "integer"
  20506. },
  20507. "middlegoodsname": {
  20508. "description": "套保品种名称",
  20509. "type": "string"
  20510. },
  20511. "needarbitrageratio": {
  20512. "description": "应套利比例",
  20513. "type": "number"
  20514. },
  20515. "needhedgeratio": {
  20516. "description": "应套保比例",
  20517. "type": "number"
  20518. },
  20519. "pricedqty": {
  20520. "description": "已定价量",
  20521. "type": "number"
  20522. },
  20523. "qty": {
  20524. "description": "合同量",
  20525. "type": "number"
  20526. },
  20527. "selluserid": {
  20528. "description": "销售方id",
  20529. "type": "integer"
  20530. },
  20531. "sellusername": {
  20532. "description": "销售方名称",
  20533. "type": "string"
  20534. },
  20535. "spotcontractid": {
  20536. "description": "合同id",
  20537. "type": "string"
  20538. },
  20539. "todaypricedqty": {
  20540. "description": "今定价量",
  20541. "type": "number"
  20542. },
  20543. "tradedate": {
  20544. "description": "交易日",
  20545. "type": "string"
  20546. },
  20547. "unitid": {
  20548. "description": "品类单位id",
  20549. "type": "integer"
  20550. },
  20551. "userid": {
  20552. "description": "机构id",
  20553. "type": "integer"
  20554. },
  20555. "username": {
  20556. "description": "交易用户",
  20557. "type": "string"
  20558. },
  20559. "wrstandardcode": {
  20560. "description": "品类代码",
  20561. "type": "string"
  20562. },
  20563. "wrstandardid": {
  20564. "description": "品类id",
  20565. "type": "integer"
  20566. },
  20567. "wrstandardname": {
  20568. "description": "品类名称",
  20569. "type": "string"
  20570. }
  20571. }
  20572. },
  20573. "models.Ermcp3ExposureDetail": {
  20574. "type": "object",
  20575. "properties": {
  20576. "areauserid": {
  20577. "description": "机构ID",
  20578. "type": "integer"
  20579. },
  20580. "changeQty": {
  20581. "description": "套保变动量",
  20582. "type": "number"
  20583. },
  20584. "contracttype": {
  20585. "description": "现货合同类型 - 1:采购 -1:销售",
  20586. "type": "integer"
  20587. },
  20588. "convertfactor": {
  20589. "description": "标仓系数",
  20590. "type": "number"
  20591. },
  20592. "convertratio": {
  20593. "description": "折算系数",
  20594. "type": "number"
  20595. },
  20596. "createtime": {
  20597. "description": "时间",
  20598. "type": "string"
  20599. },
  20600. "enumdicname": {
  20601. "description": "现货商品单位名称",
  20602. "type": "string"
  20603. },
  20604. "logtype": {
  20605. "description": "类型 - 1:套保计划 2:现货合同",
  20606. "type": "integer"
  20607. },
  20608. "mgunitid": {
  20609. "description": "套保品种单位id",
  20610. "type": "integer"
  20611. },
  20612. "mgunitidname": {
  20613. "description": "套保品种单位名称",
  20614. "type": "string"
  20615. },
  20616. "middlegoodsId": {
  20617. "description": "套保商品id",
  20618. "type": "integer"
  20619. },
  20620. "middlegoodscode": {
  20621. "description": "套保商品代码",
  20622. "type": "string"
  20623. },
  20624. "middlegoodsname": {
  20625. "description": "套保商品名称",
  20626. "type": "string"
  20627. },
  20628. "qty": {
  20629. "description": "数量",
  20630. "type": "number"
  20631. },
  20632. "relateNo": {
  20633. "description": "现货合同/套保计划编号",
  20634. "type": "string"
  20635. },
  20636. "unitid": {
  20637. "description": "现货商品单位id",
  20638. "type": "integer"
  20639. },
  20640. "wrstandardcode": {
  20641. "description": "现货商品代码",
  20642. "type": "string"
  20643. },
  20644. "wrstandardid": {
  20645. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20646. "type": "integer"
  20647. },
  20648. "wrstandardname": {
  20649. "description": "现货商品名称",
  20650. "type": "string"
  20651. }
  20652. }
  20653. },
  20654. "models.Ermcp3ExposureFutuDetail": {
  20655. "type": "object",
  20656. "properties": {
  20657. "accountid": {
  20658. "description": "交易账户id",
  20659. "type": "integer"
  20660. },
  20661. "accountname": {
  20662. "description": "交易账户",
  20663. "type": "string"
  20664. },
  20665. "begindate": {
  20666. "description": "开始交易日",
  20667. "type": "string"
  20668. },
  20669. "buyorsell": {
  20670. "description": "方向 0-买 1-卖",
  20671. "type": "integer"
  20672. },
  20673. "diffmgqty": {
  20674. "description": "套保品种今变化量",
  20675. "type": "number"
  20676. },
  20677. "diffneedqty": {
  20678. "description": "应套保总量变化量",
  20679. "type": "number"
  20680. },
  20681. "difftradeqty": {
  20682. "description": "交易品种今变化量",
  20683. "type": "number"
  20684. },
  20685. "enddate": {
  20686. "description": "结束交易日",
  20687. "type": "string"
  20688. },
  20689. "enumdicname": {
  20690. "description": "单位名称",
  20691. "type": "string"
  20692. },
  20693. "goodscode": {
  20694. "description": "商品代码",
  20695. "type": "string"
  20696. },
  20697. "goodsid": {
  20698. "description": "商品id",
  20699. "type": "integer"
  20700. },
  20701. "goodsname": {
  20702. "description": "商品名称",
  20703. "type": "string"
  20704. },
  20705. "holdqty": {
  20706. "description": "期末持仓量",
  20707. "type": "number"
  20708. },
  20709. "middlegoodscode": {
  20710. "description": "套保商品代码",
  20711. "type": "string"
  20712. },
  20713. "middlegoodsid": {
  20714. "description": "套保商品id",
  20715. "type": "integer"
  20716. },
  20717. "middlegoodsname": {
  20718. "description": "套保商品名称",
  20719. "type": "string"
  20720. },
  20721. "oriholdqty": {
  20722. "description": "期初持仓量",
  20723. "type": "number"
  20724. },
  20725. "todaycloseqty": {
  20726. "description": "今平仓量",
  20727. "type": "number"
  20728. },
  20729. "todayopenqty": {
  20730. "description": "今开仓量",
  20731. "type": "number"
  20732. },
  20733. "tradedate": {
  20734. "description": "交易日",
  20735. "type": "string"
  20736. }
  20737. }
  20738. },
  20739. "models.Ermcp3ExposureHedgeplanDetail": {
  20740. "type": "object",
  20741. "properties": {
  20742. "biztype": {
  20743. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20744. "type": "integer"
  20745. },
  20746. "changqty": {
  20747. "description": "应套保总量变化量",
  20748. "type": "number"
  20749. },
  20750. "contracttype": {
  20751. "description": "计划类型 - 1:采购 -1:销售",
  20752. "type": "integer"
  20753. },
  20754. "convertratio": {
  20755. "description": "折算系数(套保品种)",
  20756. "type": "number"
  20757. },
  20758. "deliverygoodscode": {
  20759. "description": "现货商品代码",
  20760. "type": "string"
  20761. },
  20762. "deliverygoodsid": {
  20763. "description": "现货商品id",
  20764. "type": "integer"
  20765. },
  20766. "deliverygoodsname": {
  20767. "description": "现货商吕名称",
  20768. "type": "string"
  20769. },
  20770. "dgunitid": {
  20771. "description": "现货商品单位id",
  20772. "type": "integer"
  20773. },
  20774. "dgunitidname": {
  20775. "description": "单位名称(现货商品)",
  20776. "type": "string"
  20777. },
  20778. "diffqty": {
  20779. "description": "套保品种今变动量",
  20780. "type": "number"
  20781. },
  20782. "enumdicname": {
  20783. "description": "单位名称(品类)",
  20784. "type": "string"
  20785. },
  20786. "hedgeplanid": {
  20787. "description": "套保计划id",
  20788. "type": "string"
  20789. },
  20790. "hedgeplanno": {
  20791. "description": "套保计划名称",
  20792. "type": "string"
  20793. },
  20794. "hedgeplanstatus": {
  20795. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20796. "type": "integer"
  20797. },
  20798. "mgunitidname": {
  20799. "description": "单位名称(套保商品)",
  20800. "type": "string"
  20801. },
  20802. "middlegoodscode": {
  20803. "description": "套保品种代码",
  20804. "type": "string"
  20805. },
  20806. "middlegoodsid": {
  20807. "description": "套保品种id",
  20808. "type": "integer"
  20809. },
  20810. "middlegoodsname": {
  20811. "description": "套保品种名称",
  20812. "type": "string"
  20813. },
  20814. "needarbitrageratio": {
  20815. "description": "应套利比例",
  20816. "type": "number"
  20817. },
  20818. "needhedgeratio": {
  20819. "description": "应套保比例",
  20820. "type": "number"
  20821. },
  20822. "pricedqty": {
  20823. "description": "已定价量",
  20824. "type": "number"
  20825. },
  20826. "qty": {
  20827. "description": "合同量",
  20828. "type": "number"
  20829. },
  20830. "tradedate": {
  20831. "description": "交易日(登记日)",
  20832. "type": "string"
  20833. },
  20834. "unitid": {
  20835. "description": "品类单位id",
  20836. "type": "integer"
  20837. },
  20838. "userid": {
  20839. "description": "机构id",
  20840. "type": "integer"
  20841. },
  20842. "wrstandardcode": {
  20843. "description": "品类代码",
  20844. "type": "string"
  20845. },
  20846. "wrstandardid": {
  20847. "description": "品类id",
  20848. "type": "integer"
  20849. },
  20850. "wrstandardname": {
  20851. "description": "品类名称",
  20852. "type": "string"
  20853. }
  20854. }
  20855. },
  20856. "models.Ermcp3ExposureParamChLog": {
  20857. "type": "object",
  20858. "properties": {
  20859. "accountid": {
  20860. "description": "期货账户ID (作废, 默认为0)",
  20861. "type": "integer"
  20862. },
  20863. "aftervalue": {
  20864. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20865. "type": "number"
  20866. },
  20867. "areauserid": {
  20868. "description": "所属机构\\交易用户ID",
  20869. "type": "integer"
  20870. },
  20871. "beforevalue": {
  20872. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20873. "type": "number"
  20874. },
  20875. "begindate": {
  20876. "description": "开始交易日",
  20877. "type": "string"
  20878. },
  20879. "changelogtype": {
  20880. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20881. "type": "integer"
  20882. },
  20883. "curvalue": {
  20884. "description": "当前套保\\套利量(套保总量|套利总量)",
  20885. "type": "number"
  20886. },
  20887. "diffvalue": {
  20888. "description": "应套保总量变化量",
  20889. "type": "number"
  20890. },
  20891. "enddate": {
  20892. "description": "结束交易日",
  20893. "type": "string"
  20894. },
  20895. "logdatetime": {
  20896. "description": "流水日期",
  20897. "type": "string"
  20898. },
  20899. "logid": {
  20900. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20901. "type": "string"
  20902. },
  20903. "middlegoodscode": {
  20904. "description": "套保品种代码",
  20905. "type": "string"
  20906. },
  20907. "middlegoodsid": {
  20908. "description": "套保品种",
  20909. "type": "integer"
  20910. },
  20911. "middlegoodsname": {
  20912. "description": "套保品种名称",
  20913. "type": "string"
  20914. },
  20915. "paramaftervalue": {
  20916. "description": "参数变更后(调整后参数值)",
  20917. "type": "number"
  20918. },
  20919. "parambeforevalue": {
  20920. "description": "参数变更前(调整前参数值)",
  20921. "type": "number"
  20922. },
  20923. "tradedate": {
  20924. "description": "交易日(yyyyMMdd)",
  20925. "type": "string"
  20926. }
  20927. }
  20928. },
  20929. "models.Ermcp3ExpourseReport": {
  20930. "type": "object",
  20931. "properties": {
  20932. "accountid": {
  20933. "description": "期货账户ID (作废, 默认为0)",
  20934. "type": "integer"
  20935. },
  20936. "accountname": {
  20937. "description": "机构名称",
  20938. "type": "string"
  20939. },
  20940. "arbitrageqty": {
  20941. "description": "套利量",
  20942. "type": "number"
  20943. },
  20944. "areauserid": {
  20945. "description": "所属机构\\交易用户ID",
  20946. "type": "integer"
  20947. },
  20948. "begindate": {
  20949. "description": "开始交易日",
  20950. "type": "string"
  20951. },
  20952. "buyfutureqty": {
  20953. "description": "买入期货数量",
  20954. "type": "number"
  20955. },
  20956. "buyplanqty": {
  20957. "description": "采购计划数量",
  20958. "type": "number"
  20959. },
  20960. "buypricedqty": {
  20961. "description": "采购合同已定价数量",
  20962. "type": "number"
  20963. },
  20964. "cycletime": {
  20965. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20966. "type": "string"
  20967. },
  20968. "cycletype": {
  20969. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20970. "type": "integer"
  20971. },
  20972. "diffexposure": {
  20973. "description": "变动量(套保敞口)",
  20974. "type": "number"
  20975. },
  20976. "difffutuqty": {
  20977. "description": "变动量(期货)",
  20978. "type": "number"
  20979. },
  20980. "diffhedgeqty": {
  20981. "description": "变动量(现货应套保总量)",
  20982. "type": "number"
  20983. },
  20984. "diffmgqtya": {
  20985. "description": "套保变动量",
  20986. "type": "number"
  20987. },
  20988. "diffmgqtyb": {
  20989. "description": "套利变动量",
  20990. "type": "number"
  20991. },
  20992. "diffqty": {
  20993. "description": "变动量(总敞口)",
  20994. "type": "number"
  20995. },
  20996. "diffspotqty": {
  20997. "description": "变动量(现货)",
  20998. "type": "number"
  20999. },
  21000. "enddate": {
  21001. "description": "结束交易日",
  21002. "type": "string"
  21003. },
  21004. "enumdicname": {
  21005. "description": "单位名称",
  21006. "type": "string"
  21007. },
  21008. "hedgeqty": {
  21009. "description": "套保量",
  21010. "type": "number"
  21011. },
  21012. "mgneedhedgeratio": {
  21013. "description": "套保比例(套保品的)",
  21014. "type": "number"
  21015. },
  21016. "middlegoodsid": {
  21017. "description": "套保品种ID",
  21018. "type": "integer"
  21019. },
  21020. "middlegoodsname": {
  21021. "description": "套保商品名称",
  21022. "type": "string"
  21023. },
  21024. "middlgoodscode": {
  21025. "description": "套保商品代码",
  21026. "type": "string"
  21027. },
  21028. "needarbitrageqty": {
  21029. "description": "应套利量",
  21030. "type": "number"
  21031. },
  21032. "needarbitrageratio": {
  21033. "description": "套利比例(套保品的)",
  21034. "type": "number"
  21035. },
  21036. "needhedgeexposoure": {
  21037. "description": "应套保敞口(套保敞口)",
  21038. "type": "number"
  21039. },
  21040. "needhedgeqty": {
  21041. "description": "应套保量",
  21042. "type": "number"
  21043. },
  21044. "needhedgeratio": {
  21045. "description": "应套保敞口比例",
  21046. "type": "number"
  21047. },
  21048. "oriarbitrageqty": {
  21049. "description": "期初套利量",
  21050. "type": "number"
  21051. },
  21052. "oribuyfutureqty": {
  21053. "description": "期初买入期货数量",
  21054. "type": "number"
  21055. },
  21056. "oribuyplanqty": {
  21057. "description": "期初采购计划数量",
  21058. "type": "number"
  21059. },
  21060. "oribuypricedqty": {
  21061. "description": "期初采购合同已定价数量",
  21062. "type": "number"
  21063. },
  21064. "orihedgeqty": {
  21065. "description": "期初套保量",
  21066. "type": "number"
  21067. },
  21068. "orineedarbitrageqty": {
  21069. "description": "期初应套利量",
  21070. "type": "number"
  21071. },
  21072. "orineedhedgeexposoure": {
  21073. "description": "期初应套保敞口",
  21074. "type": "number"
  21075. },
  21076. "orineedhedgeqty": {
  21077. "description": "期初应套保量",
  21078. "type": "number"
  21079. },
  21080. "orisellfutureqty": {
  21081. "description": "期初卖出期货数量",
  21082. "type": "number"
  21083. },
  21084. "orisellplanqty": {
  21085. "description": "期初销售计划数量",
  21086. "type": "number"
  21087. },
  21088. "orisellpricedqty": {
  21089. "description": "期初销售合同已定价数量",
  21090. "type": "number"
  21091. },
  21092. "oritotalexposure": {
  21093. "description": "期初实时总敞口",
  21094. "type": "number"
  21095. },
  21096. "oritotalfutureqty": {
  21097. "description": "期初期货头寸总量",
  21098. "type": "number"
  21099. },
  21100. "oritotalneedhedgeqty": {
  21101. "description": "期初应套保总量",
  21102. "type": "number"
  21103. },
  21104. "oritotalspotqty": {
  21105. "description": "期初现货头寸总量",
  21106. "type": "number"
  21107. },
  21108. "reckondate": {
  21109. "description": "日照时期(yyyyMMdd)",
  21110. "type": "string"
  21111. },
  21112. "sellfutureqty": {
  21113. "description": "卖出期货数量",
  21114. "type": "number"
  21115. },
  21116. "sellplanqty": {
  21117. "description": "销售计划数量",
  21118. "type": "number"
  21119. },
  21120. "sellpricedqty": {
  21121. "description": "销售合同已定价数量",
  21122. "type": "number"
  21123. },
  21124. "totalexposure": {
  21125. "description": "实时总敞口(总敞口)",
  21126. "type": "number"
  21127. },
  21128. "totalfutureqty": {
  21129. "description": "期货头寸总量(期货总量)",
  21130. "type": "number"
  21131. },
  21132. "totalhedgeratio": {
  21133. "description": "敞口比例",
  21134. "type": "number"
  21135. },
  21136. "totalneedhedgeqty": {
  21137. "description": "应套保总量(现货应套保总量)",
  21138. "type": "number"
  21139. },
  21140. "totalspotqty": {
  21141. "description": "现货头寸总量",
  21142. "type": "number"
  21143. },
  21144. "unitid": {
  21145. "description": "单位id",
  21146. "type": "integer"
  21147. },
  21148. "updatetime": {
  21149. "description": "更新时间",
  21150. "type": "string"
  21151. }
  21152. }
  21153. },
  21154. "models.Ermcp3FinanceReport": {
  21155. "type": "object",
  21156. "properties": {
  21157. "accountname": {
  21158. "description": "机构名称",
  21159. "type": "string"
  21160. },
  21161. "areauserid": {
  21162. "description": "所属机构\\交易用户ID",
  21163. "type": "integer"
  21164. },
  21165. "begindate": {
  21166. "description": "开始交易日",
  21167. "type": "string"
  21168. },
  21169. "biztype": {
  21170. "description": "业务类型 - 1:套保 2:套利",
  21171. "type": "integer"
  21172. },
  21173. "brandname": {
  21174. "description": "品牌名称",
  21175. "type": "string"
  21176. },
  21177. "buypreinvoicedamount": {
  21178. "description": "采购预收票额(预收票额)",
  21179. "type": "number"
  21180. },
  21181. "buyprepaidamount": {
  21182. "description": "采购预付款额(预付货款额)",
  21183. "type": "number"
  21184. },
  21185. "buytodayinvoiceamount": {
  21186. "description": "采购今收票额(今收票额)",
  21187. "type": "number"
  21188. },
  21189. "buytodayrefundamount": {
  21190. "description": "采购今收退款额(今收退款额)",
  21191. "type": "number"
  21192. },
  21193. "buytodaysettleamount": {
  21194. "description": "采购今付款额(今付货款额)",
  21195. "type": "number"
  21196. },
  21197. "buyuninvoicedamount": {
  21198. "description": "采购应收票额(应收票额)",
  21199. "type": "number"
  21200. },
  21201. "buyunpaidamount": {
  21202. "description": "采购应付款额(应付货款额)",
  21203. "type": "number"
  21204. },
  21205. "currencyid": {
  21206. "description": "结算币种ID",
  21207. "type": "integer"
  21208. },
  21209. "currencyname": {
  21210. "description": "币种名称",
  21211. "type": "string"
  21212. },
  21213. "cycletime": {
  21214. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21215. "type": "string"
  21216. },
  21217. "cycletype": {
  21218. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21219. "type": "integer"
  21220. },
  21221. "deliverygoodscode": {
  21222. "description": "现货品种代码",
  21223. "type": "string"
  21224. },
  21225. "deliverygoodsid": {
  21226. "description": "现货品种ID",
  21227. "type": "integer"
  21228. },
  21229. "deliverygoodsname": {
  21230. "description": "现货品种名称",
  21231. "type": "string"
  21232. },
  21233. "enddate": {
  21234. "description": "结束交易日",
  21235. "type": "string"
  21236. },
  21237. "reckondate": {
  21238. "description": "日照时期(yyyyMMdd)",
  21239. "type": "string"
  21240. },
  21241. "sellpreinvoicedamount": {
  21242. "description": "销售预开票额(预开票额)",
  21243. "type": "number"
  21244. },
  21245. "sellprepaidamount": {
  21246. "description": "销售预收款额(预收货款额)",
  21247. "type": "number"
  21248. },
  21249. "selltodayinvoiceamount": {
  21250. "description": "销售今开票额(今开票额)",
  21251. "type": "number"
  21252. },
  21253. "selltodayrefundamount": {
  21254. "description": "销售今付退款额(今付退款额)",
  21255. "type": "number"
  21256. },
  21257. "selltodaysettleamount": {
  21258. "description": "销售今收款额(今收货款额)",
  21259. "type": "number"
  21260. },
  21261. "selluninvoicedamount": {
  21262. "description": "销售应开票额(应开票额)",
  21263. "type": "number"
  21264. },
  21265. "sellunpaidamount": {
  21266. "description": "销售应收款额(应收货款额)",
  21267. "type": "number"
  21268. },
  21269. "spotgoodsbrandid": {
  21270. "description": "现货品牌ID",
  21271. "type": "integer"
  21272. },
  21273. "todaypaysum": {
  21274. "description": "今付款合计",
  21275. "type": "number"
  21276. },
  21277. "todayreceivesum": {
  21278. "description": "今收款合计",
  21279. "type": "number"
  21280. },
  21281. "updatetime": {
  21282. "description": "更新时间",
  21283. "type": "string"
  21284. },
  21285. "wrfactortypeid": {
  21286. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21287. "type": "integer"
  21288. },
  21289. "wrstandardcode": {
  21290. "description": "品类代码",
  21291. "type": "string"
  21292. },
  21293. "wrstandardid": {
  21294. "description": "现货商品ID",
  21295. "type": "integer"
  21296. },
  21297. "wrstandardname": {
  21298. "description": "品类名称",
  21299. "type": "string"
  21300. }
  21301. }
  21302. },
  21303. "models.Ermcp3GoodsGroup": {
  21304. "type": "object",
  21305. "required": [
  21306. "areauserid"
  21307. ],
  21308. "properties": {
  21309. "agreeunit": {
  21310. "description": "合约单位",
  21311. "type": "number"
  21312. },
  21313. "areauserid": {
  21314. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21315. "type": "integer"
  21316. },
  21317. "canshort": {
  21318. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21319. "type": "integer"
  21320. },
  21321. "closepricemode": {
  21322. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21323. "type": "integer"
  21324. },
  21325. "createtime": {
  21326. "description": "创建时间",
  21327. "type": "string"
  21328. },
  21329. "creatorid": {
  21330. "description": "创建人",
  21331. "type": "integer"
  21332. },
  21333. "currencyid": {
  21334. "description": "报价货币ID",
  21335. "type": "integer"
  21336. },
  21337. "decimalplace": {
  21338. "description": "报价小数位",
  21339. "type": "integer"
  21340. },
  21341. "enumdicname": {
  21342. "description": "单位名称",
  21343. "type": "string"
  21344. },
  21345. "exchangefullname": {
  21346. "description": "交易所全称",
  21347. "type": "string"
  21348. },
  21349. "excludecfg": {
  21350. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21351. "type": "integer"
  21352. },
  21353. "exexchangecode": {
  21354. "description": "交易所代码",
  21355. "type": "string"
  21356. },
  21357. "exexchangeid": {
  21358. "description": "外部交易所ID[通道交易]",
  21359. "type": "integer"
  21360. },
  21361. "exexchangename": {
  21362. "description": "交易所名称",
  21363. "type": "string"
  21364. },
  21365. "goodsgroupid": {
  21366. "description": "商品组ID(自增ID)",
  21367. "type": "integer"
  21368. },
  21369. "goodsgroupname": {
  21370. "description": "商品组名称",
  21371. "type": "string"
  21372. },
  21373. "goodsgroupstatus": {
  21374. "description": "商品组状态 - 1:正常 2:注销",
  21375. "type": "integer"
  21376. },
  21377. "goodunitid": {
  21378. "description": "报价单位ID",
  21379. "type": "integer"
  21380. },
  21381. "groupcategroyid": {
  21382. "description": "品种分类ID",
  21383. "type": "integer"
  21384. },
  21385. "innerdealmode": {
  21386. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21387. "type": "integer"
  21388. },
  21389. "marketid": {
  21390. "description": "所属市场ID",
  21391. "type": "integer"
  21392. },
  21393. "modifierid": {
  21394. "description": "修改人",
  21395. "type": "integer"
  21396. },
  21397. "modifytime": {
  21398. "description": "修改时间",
  21399. "type": "string"
  21400. },
  21401. "outerdealmode": {
  21402. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21403. "type": "integer"
  21404. },
  21405. "outergroupcode": {
  21406. "description": "外部商品组代码[通道交易]",
  21407. "type": "string"
  21408. },
  21409. "quoteminunit": {
  21410. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21411. "type": "integer"
  21412. },
  21413. "quotesourcegroupid": {
  21414. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21415. "type": "integer"
  21416. },
  21417. "syncgoodsqty": {
  21418. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21419. "type": "integer"
  21420. }
  21421. }
  21422. },
  21423. "models.Ermcp3HedgePlan": {
  21424. "type": "object",
  21425. "properties": {
  21426. "accountid": {
  21427. "description": "资金账号",
  21428. "type": "integer"
  21429. },
  21430. "areauserid": {
  21431. "description": "用户ID",
  21432. "type": "integer"
  21433. },
  21434. "auditid": {
  21435. "description": "审核id",
  21436. "type": "integer"
  21437. },
  21438. "auditname": {
  21439. "description": "审核人名称",
  21440. "type": "string"
  21441. },
  21442. "auditremark": {
  21443. "description": "审核备注",
  21444. "type": "string"
  21445. },
  21446. "auditsrc": {
  21447. "description": "审核来源 1-管理端 2-终端",
  21448. "type": "integer"
  21449. },
  21450. "audittime": {
  21451. "description": "审核时间",
  21452. "type": "string"
  21453. },
  21454. "contracttype": {
  21455. "description": "计划类型 - 1:采购 -1:销售",
  21456. "type": "integer"
  21457. },
  21458. "convertfactor": {
  21459. "description": "标仓系数",
  21460. "type": "number"
  21461. },
  21462. "createtime": {
  21463. "description": "创建时间",
  21464. "type": "string"
  21465. },
  21466. "currencyid": {
  21467. "description": "币种id",
  21468. "type": "integer"
  21469. },
  21470. "currencyname": {
  21471. "description": "币种名称",
  21472. "type": "string"
  21473. },
  21474. "deliverygoodscode": {
  21475. "description": "现货品种代码",
  21476. "type": "string"
  21477. },
  21478. "deliverygoodsid": {
  21479. "description": "现货品种ID",
  21480. "type": "integer"
  21481. },
  21482. "deliverygoodsname": {
  21483. "description": "现货品种名称",
  21484. "type": "string"
  21485. },
  21486. "enumdicname": {
  21487. "description": "单位名称(现货商品)",
  21488. "type": "string"
  21489. },
  21490. "hedgeplanid": {
  21491. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21492. "type": "string"
  21493. },
  21494. "hedgeplanno": {
  21495. "description": "套保计划编号(名称)",
  21496. "type": "string"
  21497. },
  21498. "hedgeplanstatus": {
  21499. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21500. "type": "integer"
  21501. },
  21502. "planqty": {
  21503. "description": "计划数量",
  21504. "type": "number"
  21505. },
  21506. "plantime": {
  21507. "description": "计划时间",
  21508. "type": "string"
  21509. },
  21510. "producttype": {
  21511. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21512. "type": "integer"
  21513. },
  21514. "remark": {
  21515. "description": "备注",
  21516. "type": "string"
  21517. },
  21518. "spotgoodsdesc": {
  21519. "description": "商品型号",
  21520. "type": "string"
  21521. },
  21522. "taaccountname": {
  21523. "description": "资金账号名称",
  21524. "type": "string"
  21525. },
  21526. "tradeuserid": {
  21527. "description": "交易用户id",
  21528. "type": "integer"
  21529. },
  21530. "tradeusername": {
  21531. "description": "交易用户名称",
  21532. "type": "string"
  21533. },
  21534. "unitid": {
  21535. "description": "单位id(现货商品)",
  21536. "type": "integer"
  21537. },
  21538. "updatetime": {
  21539. "description": "更新时间",
  21540. "type": "string"
  21541. },
  21542. "vatrate": {
  21543. "description": "增值税率",
  21544. "type": "number"
  21545. },
  21546. "wrstandardcode": {
  21547. "description": "品类代码",
  21548. "type": "string"
  21549. },
  21550. "wrstandardid": {
  21551. "description": "品类id",
  21552. "type": "integer"
  21553. },
  21554. "wrstandardname": {
  21555. "description": "品类名称",
  21556. "type": "string"
  21557. },
  21558. "wrunitid": {
  21559. "description": "品类单位id",
  21560. "type": "integer"
  21561. },
  21562. "wrunitidame": {
  21563. "description": "品类单位名称",
  21564. "type": "string"
  21565. }
  21566. }
  21567. },
  21568. "models.Ermcp3InnerTradeLink": {
  21569. "type": "object",
  21570. "properties": {
  21571. "accountid": {
  21572. "description": "期货账号代码 | 资金账号ID",
  21573. "type": "integer"
  21574. },
  21575. "buyorsell": {
  21576. "description": "方向 - 0:买 1:卖",
  21577. "type": "integer"
  21578. },
  21579. "channelbuildtype": {
  21580. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21581. "type": "integer"
  21582. },
  21583. "currencyid": {
  21584. "description": "币种id",
  21585. "type": "integer"
  21586. },
  21587. "currencyname": {
  21588. "description": "结算币种 名称",
  21589. "type": "string"
  21590. },
  21591. "goodscode": {
  21592. "description": "商品代码",
  21593. "type": "string"
  21594. },
  21595. "goodsid": {
  21596. "description": "商品ID",
  21597. "type": "integer"
  21598. },
  21599. "goodsname": {
  21600. "description": "商品名称",
  21601. "type": "string"
  21602. },
  21603. "outtradeid": {
  21604. "description": "外部成交单号",
  21605. "type": "string"
  21606. },
  21607. "taname": {
  21608. "description": "期货账户名称",
  21609. "type": "string"
  21610. },
  21611. "tradeid": {
  21612. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21613. "type": "string"
  21614. },
  21615. "tradeprice": {
  21616. "description": "成交价格",
  21617. "type": "number"
  21618. },
  21619. "tradeqty": {
  21620. "description": "期货成交数量",
  21621. "type": "integer"
  21622. },
  21623. "tradetime": {
  21624. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21625. "type": "string"
  21626. },
  21627. "username": {
  21628. "description": "用户名称",
  21629. "type": "string"
  21630. }
  21631. }
  21632. },
  21633. "models.Ermcp3OutTradeLink": {
  21634. "type": "object",
  21635. "properties": {
  21636. "buyorsell": {
  21637. "description": "买卖方向 - 0:买 1:卖",
  21638. "type": "integer"
  21639. },
  21640. "channelbuildtype": {
  21641. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21642. "type": "integer"
  21643. },
  21644. "currencyname": {
  21645. "description": "币种名称",
  21646. "type": "string"
  21647. },
  21648. "exexchangecode": {
  21649. "description": "交易所代码",
  21650. "type": "string"
  21651. },
  21652. "exexchangename": {
  21653. "description": "交易所名称",
  21654. "type": "string"
  21655. },
  21656. "goodscode": {
  21657. "description": "合约代码",
  21658. "type": "string"
  21659. },
  21660. "goodsid": {
  21661. "description": "合约id",
  21662. "type": "integer"
  21663. },
  21664. "goodsname": {
  21665. "description": "合约名称",
  21666. "type": "string"
  21667. },
  21668. "hasinnerorder": {
  21669. "description": "是否有内部单关联 - 0:无 1:有",
  21670. "type": "integer"
  21671. },
  21672. "hedgeaccountcode": {
  21673. "description": "外部账号 | 对冲账号",
  21674. "type": "string"
  21675. },
  21676. "outtradeid": {
  21677. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21678. "type": "string"
  21679. },
  21680. "tradeprice": {
  21681. "description": "成交价格",
  21682. "type": "number"
  21683. },
  21684. "tradeqty": {
  21685. "description": "成交数量",
  21686. "type": "integer"
  21687. },
  21688. "tradetime": {
  21689. "description": "成交时间",
  21690. "type": "string"
  21691. }
  21692. }
  21693. },
  21694. "models.Ermcp3PaAreaAuditCfg": {
  21695. "type": "object",
  21696. "properties": {
  21697. "areauserid": {
  21698. "description": "用户ID",
  21699. "type": "integer"
  21700. },
  21701. "buyinauditflag": {
  21702. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21703. "type": "integer"
  21704. },
  21705. "costratioauditflag": {
  21706. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21707. "type": "integer"
  21708. },
  21709. "customerauditflag": {
  21710. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21711. "type": "integer"
  21712. },
  21713. "deliveryauditflag": {
  21714. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21715. "type": "integer"
  21716. },
  21717. "invoiceauditflag": {
  21718. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21719. "type": "integer"
  21720. },
  21721. "mgneedhedgeratioauditflag": {
  21722. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21723. "type": "integer"
  21724. },
  21725. "moneyauditflag": {
  21726. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21727. "type": "integer"
  21728. },
  21729. "operatorid": {
  21730. "description": "操作人",
  21731. "type": "integer"
  21732. },
  21733. "operatorsrc": {
  21734. "description": "操作来源 - 1:管理端 2:终端",
  21735. "type": "integer"
  21736. },
  21737. "pointpriceauditflag": {
  21738. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21739. "type": "integer"
  21740. },
  21741. "produceinauditflag": {
  21742. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21743. "type": "integer"
  21744. },
  21745. "produceoutauditflag": {
  21746. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21747. "type": "integer"
  21748. },
  21749. "selloutauditflag": {
  21750. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21751. "type": "integer"
  21752. },
  21753. "sgconvertratioauditflag": {
  21754. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21755. "type": "integer"
  21756. },
  21757. "sgvtaratioauditflag": {
  21758. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21759. "type": "integer"
  21760. },
  21761. "spotcontractauditflag": {
  21762. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21763. "type": "integer"
  21764. },
  21765. "updatetime": {
  21766. "description": "更新时间",
  21767. "type": "string"
  21768. }
  21769. }
  21770. },
  21771. "models.Ermcp3PaAreaSubject": {
  21772. "type": "object",
  21773. "properties": {
  21774. "areauserid": {
  21775. "description": "所属机构",
  21776. "type": "integer"
  21777. },
  21778. "canmodify": {
  21779. "description": "是否可修改 - 0:否 1:是",
  21780. "type": "integer"
  21781. },
  21782. "createtime": {
  21783. "description": "创建时间",
  21784. "type": "string"
  21785. },
  21786. "creatorid": {
  21787. "description": "创建人ID",
  21788. "type": "string"
  21789. },
  21790. "creatorsrc": {
  21791. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21792. "type": "integer"
  21793. },
  21794. "modifierid": {
  21795. "description": "修改人",
  21796. "type": "string"
  21797. },
  21798. "modifiersrc": {
  21799. "description": "修改人来源 - 1:管理端 2:终端",
  21800. "type": "integer"
  21801. },
  21802. "modifytime": {
  21803. "description": "修改时间",
  21804. "type": "string"
  21805. },
  21806. "parentsubjectid": {
  21807. "description": "上级主体ID",
  21808. "type": "string"
  21809. },
  21810. "remark": {
  21811. "description": "备注",
  21812. "type": "string"
  21813. },
  21814. "subjectid": {
  21815. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21816. "type": "integer"
  21817. },
  21818. "subjectname": {
  21819. "description": "主体名称",
  21820. "type": "string"
  21821. },
  21822. "subjectstatus": {
  21823. "description": "主体状态 - 1:正常 2: 停用",
  21824. "type": "integer"
  21825. },
  21826. "subjecttype": {
  21827. "description": "主体类型 - 1:交易主体 2:业务部门",
  21828. "type": "integer"
  21829. }
  21830. }
  21831. },
  21832. "models.Ermcp3PaTradeLink": {
  21833. "type": "object",
  21834. "properties": {
  21835. "accountid": {
  21836. "description": "期货账户代码 | 账号ID",
  21837. "type": "integer"
  21838. },
  21839. "agreeunit": {
  21840. "description": "合约乘数",
  21841. "type": "number"
  21842. },
  21843. "buyorsell": {
  21844. "description": "方向 - 0:买 1:卖",
  21845. "type": "integer"
  21846. },
  21847. "channelbuildtype": {
  21848. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21849. "type": "integer"
  21850. },
  21851. "charge": {
  21852. "description": "手续费",
  21853. "type": "number"
  21854. },
  21855. "closepl": {
  21856. "description": "平仓盈亏",
  21857. "type": "number"
  21858. },
  21859. "closetype": {
  21860. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21861. "type": "integer"
  21862. },
  21863. "convertratio": {
  21864. "description": "折算系数",
  21865. "type": "number"
  21866. },
  21867. "enumdicname": {
  21868. "description": "单位名称",
  21869. "type": "string"
  21870. },
  21871. "executeprice": {
  21872. "description": "执行价 [期权]",
  21873. "type": "integer"
  21874. },
  21875. "goodscode": {
  21876. "description": "合约代码",
  21877. "type": "string"
  21878. },
  21879. "goodsgroupid": {
  21880. "description": "对冲品种ID[期货合约商品组ID]",
  21881. "type": "integer"
  21882. },
  21883. "goodsid": {
  21884. "description": "商品ID",
  21885. "type": "integer"
  21886. },
  21887. "goodsname": {
  21888. "description": "合约名称",
  21889. "type": "string"
  21890. },
  21891. "goodunitid": {
  21892. "description": "单位id",
  21893. "type": "integer"
  21894. },
  21895. "hedgeflag": {
  21896. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21897. "type": "integer"
  21898. },
  21899. "marketid": {
  21900. "description": "市场ID",
  21901. "type": "integer"
  21902. },
  21903. "middlegoodsid": {
  21904. "description": "套保品种ID",
  21905. "type": "integer"
  21906. },
  21907. "middlegoodsqty": {
  21908. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21909. "type": "number"
  21910. },
  21911. "optioncode": {
  21912. "description": "期权代码 [期权]",
  21913. "type": "string"
  21914. },
  21915. "ordertype": {
  21916. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21917. "type": "integer"
  21918. },
  21919. "ordertypename": {
  21920. "description": "订单类型",
  21921. "type": "string"
  21922. },
  21923. "parentaccountid": {
  21924. "description": "所属母账户",
  21925. "type": "integer"
  21926. },
  21927. "premium": {
  21928. "description": "权利金 [期权]",
  21929. "type": "number"
  21930. },
  21931. "relatedlot": {
  21932. "description": "已关联数量(已关联数量手) | db:关联手数",
  21933. "type": "number"
  21934. },
  21935. "relatedouttradeid": {
  21936. "description": "关联外部成交单ID",
  21937. "type": "string"
  21938. },
  21939. "relatedqty": {
  21940. "description": "关联数量",
  21941. "type": "number"
  21942. },
  21943. "spotcontractid": {
  21944. "description": "现货合同ID [4:套期保值\\10\\11]",
  21945. "type": "string"
  21946. },
  21947. "taname": {
  21948. "description": "期货账户名称",
  21949. "type": "string"
  21950. },
  21951. "tradeamount": {
  21952. "description": "成交金额(账户)",
  21953. "type": "number"
  21954. },
  21955. "tradedate": {
  21956. "description": "交易日(yyyyMMdd)",
  21957. "type": "string"
  21958. },
  21959. "tradeid": {
  21960. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21961. "type": "string"
  21962. },
  21963. "tradelot": {
  21964. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21965. "type": "integer"
  21966. },
  21967. "tradeprice": {
  21968. "description": "成交价格",
  21969. "type": "number"
  21970. },
  21971. "tradetime": {
  21972. "description": "时间 | db:成交时间",
  21973. "type": "string"
  21974. },
  21975. "tradetype": {
  21976. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21977. "type": "integer"
  21978. },
  21979. "userid": {
  21980. "description": "所属机构 - 所属母账户的UserID",
  21981. "type": "string"
  21982. },
  21983. "username": {
  21984. "description": "用户名称",
  21985. "type": "string"
  21986. }
  21987. }
  21988. },
  21989. "models.Ermcp3ParamChangeApp": {
  21990. "type": "object",
  21991. "properties": {
  21992. "aftervalue": {
  21993. "description": "变更后",
  21994. "type": "number"
  21995. },
  21996. "applicationid": {
  21997. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  21998. "type": "string"
  21999. },
  22000. "applyid": {
  22001. "description": "申请人",
  22002. "type": "string"
  22003. },
  22004. "applyname": {
  22005. "description": "申请人名称(代码)",
  22006. "type": "string"
  22007. },
  22008. "applyremark": {
  22009. "description": "申请备注",
  22010. "type": "string"
  22011. },
  22012. "applysrc": {
  22013. "description": "申请来源 - 1:管理端 2:终端",
  22014. "type": "integer"
  22015. },
  22016. "applystatus": {
  22017. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22018. "type": "integer"
  22019. },
  22020. "applytime": {
  22021. "description": "申请时间",
  22022. "type": "string"
  22023. },
  22024. "areauserid": {
  22025. "description": "所属机构用户ID",
  22026. "type": "integer"
  22027. },
  22028. "auditid": {
  22029. "description": "审核人",
  22030. "type": "string"
  22031. },
  22032. "auditname": {
  22033. "description": "审核人名称(代码)",
  22034. "type": "string"
  22035. },
  22036. "auditremark": {
  22037. "description": "审核备注",
  22038. "type": "string"
  22039. },
  22040. "auditsrc": {
  22041. "description": "审核来源 - 1:管理端 2:终端",
  22042. "type": "integer"
  22043. },
  22044. "audittime": {
  22045. "description": "审核时间",
  22046. "type": "string"
  22047. },
  22048. "audittradedate": {
  22049. "description": "审核交易日(yyyyMMdd)",
  22050. "type": "string"
  22051. },
  22052. "beforevalue": {
  22053. "description": "变更前",
  22054. "type": "number"
  22055. },
  22056. "deliverygoodscode": {
  22057. "description": "品种代码",
  22058. "type": "string"
  22059. },
  22060. "deliverygoodsid": {
  22061. "description": "品种id",
  22062. "type": "integer"
  22063. },
  22064. "deliverygoodsname": {
  22065. "description": "品种名称",
  22066. "type": "string"
  22067. },
  22068. "middlegoodscode": {
  22069. "description": "套保品种代码",
  22070. "type": "string"
  22071. },
  22072. "middlegoodsid": {
  22073. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22074. "type": "integer"
  22075. },
  22076. "middlegoodsname": {
  22077. "description": "套保品种名称",
  22078. "type": "string"
  22079. },
  22080. "operatetype": {
  22081. "description": "操作类型 - 1:新增 2:修改",
  22082. "type": "integer"
  22083. },
  22084. "paramchangetype": {
  22085. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22086. "type": "integer"
  22087. },
  22088. "wrstandardcode": {
  22089. "description": "现货商品代码",
  22090. "type": "string"
  22091. },
  22092. "wrstandardid": {
  22093. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22094. "type": "integer"
  22095. },
  22096. "wrstandardname": {
  22097. "description": "现货商品名称",
  22098. "type": "string"
  22099. }
  22100. }
  22101. },
  22102. "models.Ermcp3RootUserAccount": {
  22103. "type": "object",
  22104. "properties": {
  22105. "accountname": {
  22106. "description": "账户名称(机构名称)",
  22107. "type": "string"
  22108. },
  22109. "accountstatus": {
  22110. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22111. "type": "integer"
  22112. },
  22113. "applysrc": {
  22114. "description": "申请来源 - 1:管理端 2:终端",
  22115. "type": "integer"
  22116. },
  22117. "auditremark": {
  22118. "description": "审核备注",
  22119. "type": "string"
  22120. },
  22121. "auditsrc": {
  22122. "description": "审核来源 - 1:管理端 2:终端",
  22123. "type": "integer"
  22124. },
  22125. "audittime": {
  22126. "description": "审核时间",
  22127. "type": "string"
  22128. },
  22129. "audituserid": {
  22130. "description": "审核人",
  22131. "type": "integer"
  22132. },
  22133. "broker": {
  22134. "description": "所属经纪人ID",
  22135. "type": "integer"
  22136. },
  22137. "canceltime": {
  22138. "description": "销户时间",
  22139. "type": "string"
  22140. },
  22141. "canceluserid": {
  22142. "description": "销户人",
  22143. "type": "integer"
  22144. },
  22145. "canrecommend": {
  22146. "description": "是否可推荐 - 0:不可 1;可",
  22147. "type": "integer"
  22148. },
  22149. "createtime": {
  22150. "description": "创建时间",
  22151. "type": "string"
  22152. },
  22153. "creatorid": {
  22154. "description": "创建人",
  22155. "type": "integer"
  22156. },
  22157. "hasauth": {
  22158. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22159. "type": "integer"
  22160. },
  22161. "isanonymous": {
  22162. "description": "是否匿名下单 - 0:否 1:是",
  22163. "type": "integer"
  22164. },
  22165. "maxinvestornum": {
  22166. "description": "最大用户数(经纪会员下投资者个数)",
  22167. "type": "integer"
  22168. },
  22169. "memberuserid": {
  22170. "description": "所属会员ID",
  22171. "type": "integer"
  22172. },
  22173. "modifierid": {
  22174. "description": "修改人",
  22175. "type": "integer"
  22176. },
  22177. "modifyremark": {
  22178. "description": "变更备注",
  22179. "type": "string"
  22180. },
  22181. "modifystatus": {
  22182. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22183. "type": "integer"
  22184. },
  22185. "modifytime": {
  22186. "description": "修改时间",
  22187. "type": "string"
  22188. },
  22189. "parenttopuser": {
  22190. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22191. "type": "string"
  22192. },
  22193. "parentuserid": {
  22194. "description": "所属机构ID",
  22195. "type": "integer"
  22196. },
  22197. "reckonaccountid": {
  22198. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22199. "type": "integer"
  22200. },
  22201. "refercount": {
  22202. "description": "推荐总人数",
  22203. "type": "integer"
  22204. },
  22205. "refereeuserid": {
  22206. "description": "推荐人ID",
  22207. "type": "integer"
  22208. },
  22209. "refernum": {
  22210. "description": "推荐码",
  22211. "type": "string"
  22212. },
  22213. "rootuserid": {
  22214. "description": "根用户ID",
  22215. "type": "integer"
  22216. },
  22217. "subaccountlevel": {
  22218. "description": "子账户层数",
  22219. "type": "integer"
  22220. },
  22221. "subarealevelpath": {
  22222. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22223. "type": "string"
  22224. },
  22225. "userid": {
  22226. "description": "用户ID",
  22227. "type": "integer"
  22228. },
  22229. "usertype": {
  22230. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22231. "type": "integer"
  22232. }
  22233. }
  22234. },
  22235. "models.Ermcp3SCMiddleGoods": {
  22236. "type": "object",
  22237. "properties": {
  22238. "biztype": {
  22239. "description": "业务类型 1:套保 2:套利",
  22240. "type": "integer"
  22241. },
  22242. "contractno": {
  22243. "description": "合同编号",
  22244. "type": "string"
  22245. },
  22246. "contracttype": {
  22247. "description": "合同类型 1:采购 -1:销售",
  22248. "type": "integer"
  22249. },
  22250. "customername": {
  22251. "description": "对手手名称",
  22252. "type": "string"
  22253. },
  22254. "customeruserid": {
  22255. "description": "对手id",
  22256. "type": "integer"
  22257. },
  22258. "deliverygoodscode": {
  22259. "description": "现货品种代码",
  22260. "type": "string"
  22261. },
  22262. "deliverygoodsid": {
  22263. "description": "现货品种ID",
  22264. "type": "integer"
  22265. },
  22266. "deliverygoodsname": {
  22267. "description": "现货品种名称",
  22268. "type": "string"
  22269. },
  22270. "enumdicname": {
  22271. "description": "现货单位名称",
  22272. "type": "string"
  22273. },
  22274. "middlegoodsid": {
  22275. "description": "套保品种ID",
  22276. "type": "integer"
  22277. },
  22278. "middlegoodspricedqty3": {
  22279. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22280. "type": "number"
  22281. },
  22282. "needhedgeratio": {
  22283. "description": "套保比例",
  22284. "type": "number"
  22285. },
  22286. "pricedqty": {
  22287. "description": "已定价量",
  22288. "type": "number"
  22289. },
  22290. "relatedmiddlegoodsqty": {
  22291. "description": "已关联量(套保品种)(期货)",
  22292. "type": "number"
  22293. },
  22294. "spotcontractid": {
  22295. "description": "合同编号",
  22296. "type": "string"
  22297. },
  22298. "unitid": {
  22299. "description": "现货单位id",
  22300. "type": "integer"
  22301. },
  22302. "userid": {
  22303. "description": "用户id",
  22304. "type": "integer"
  22305. },
  22306. "vatrate": {
  22307. "description": "增值税率",
  22308. "type": "number"
  22309. },
  22310. "wrstandardcode": {
  22311. "description": "现货商品代码",
  22312. "type": "string"
  22313. },
  22314. "wrstandardid": {
  22315. "description": "现货商品id",
  22316. "type": "integer"
  22317. },
  22318. "wrstandardname": {
  22319. "description": "现货商品名称",
  22320. "type": "string"
  22321. }
  22322. }
  22323. },
  22324. "models.Ermcp3SCMiddleGoodsReport": {
  22325. "type": "object",
  22326. "properties": {
  22327. "begindate": {
  22328. "description": "开始交易日",
  22329. "type": "string"
  22330. },
  22331. "contractno": {
  22332. "description": "合同编号",
  22333. "type": "string"
  22334. },
  22335. "contracttype": {
  22336. "description": "合同类型 1:采购 -1:销售",
  22337. "type": "integer"
  22338. },
  22339. "convertratio": {
  22340. "description": "折算系数",
  22341. "type": "number"
  22342. },
  22343. "cycletime": {
  22344. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22345. "type": "string"
  22346. },
  22347. "cycletype": {
  22348. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22349. "type": "integer"
  22350. },
  22351. "deliverygoodscode": {
  22352. "description": "品种代码",
  22353. "type": "string"
  22354. },
  22355. "deliverygoodsid": {
  22356. "description": "现货品种ID",
  22357. "type": "integer"
  22358. },
  22359. "deliverygoodsname": {
  22360. "description": "品种名称",
  22361. "type": "string"
  22362. },
  22363. "diffprice": {
  22364. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22365. "type": "number"
  22366. },
  22367. "diffqty": {
  22368. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22369. "type": "number"
  22370. },
  22371. "enddate": {
  22372. "description": "结束交易日",
  22373. "type": "string"
  22374. },
  22375. "hedgeplanqty": {
  22376. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22377. "type": "number"
  22378. },
  22379. "matchname": {
  22380. "description": "交易对手方(个人:用户名称 企业:简称)",
  22381. "type": "string"
  22382. },
  22383. "middlegoodscode": {
  22384. "description": "套保品种代码",
  22385. "type": "string"
  22386. },
  22387. "middlegoodsid": {
  22388. "description": "套保品种ID",
  22389. "type": "integer"
  22390. },
  22391. "middlegoodsname": {
  22392. "description": "套保品种名称",
  22393. "type": "string"
  22394. },
  22395. "middlegoodspricedqty": {
  22396. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22397. "type": "number"
  22398. },
  22399. "middlegoodspricedqty2": {
  22400. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22401. "type": "number"
  22402. },
  22403. "middlegoodspricedqty3": {
  22404. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22405. "type": "number"
  22406. },
  22407. "needhedgeratio": {
  22408. "description": "套保系数",
  22409. "type": "number"
  22410. },
  22411. "pricedamount": {
  22412. "description": "已定价额(现货)",
  22413. "type": "number"
  22414. },
  22415. "pricedamount2": {
  22416. "description": "已定价额(现货-基价额)",
  22417. "type": "number"
  22418. },
  22419. "pricedqty": {
  22420. "description": "已定价量(现货)",
  22421. "type": "number"
  22422. },
  22423. "reckondate": {
  22424. "description": "日照时期(yyyyMMdd)",
  22425. "type": "string"
  22426. },
  22427. "relatedmiddlegoodsamount": {
  22428. "description": "已关联额(期货)",
  22429. "type": "number"
  22430. },
  22431. "relatedmiddlegoodsqty": {
  22432. "description": "已关联量(套保品种)(期货)",
  22433. "type": "number"
  22434. },
  22435. "spotcontractid": {
  22436. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22437. "type": "string"
  22438. },
  22439. "todayavgfutuprice": {
  22440. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22441. "type": "number"
  22442. },
  22443. "todayavgprice": {
  22444. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22445. "type": "number"
  22446. },
  22447. "todayavgprice2": {
  22448. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22449. "type": "number"
  22450. },
  22451. "todaypricedamount": {
  22452. "description": "今日定价额(现货)",
  22453. "type": "number"
  22454. },
  22455. "todaypricedamount2": {
  22456. "description": "今日定价额(现货-基价额)",
  22457. "type": "number"
  22458. },
  22459. "todaypricedqty": {
  22460. "description": "今日定价量(现货)",
  22461. "type": "number"
  22462. },
  22463. "todayrelatedmiddlegoodsamount": {
  22464. "description": "今日关联额(期货)",
  22465. "type": "number"
  22466. },
  22467. "todayrelatedmiddlegoodsqty": {
  22468. "description": "今日关联量(期货)",
  22469. "type": "number"
  22470. },
  22471. "updatetime": {
  22472. "description": "更新时间",
  22473. "type": "string"
  22474. },
  22475. "userid": {
  22476. "description": "合同所属用户id",
  22477. "type": "integer"
  22478. },
  22479. "vatrate": {
  22480. "description": "增值税率",
  22481. "type": "number"
  22482. },
  22483. "wrstandardcode": {
  22484. "description": "商品(品类) 代码",
  22485. "type": "string"
  22486. },
  22487. "wrstandardid": {
  22488. "description": "现货商品ID",
  22489. "type": "integer"
  22490. },
  22491. "wrstandardname": {
  22492. "description": "商品(品类) 名称",
  22493. "type": "string"
  22494. }
  22495. }
  22496. },
  22497. "models.Ermcp3SellBuyContract": {
  22498. "type": "object",
  22499. "properties": {
  22500. "accountid": {
  22501. "description": "期货账户id",
  22502. "type": "string"
  22503. },
  22504. "accountname": {
  22505. "description": "账户名称",
  22506. "type": "string"
  22507. },
  22508. "attachment": {
  22509. "description": "附件",
  22510. "type": "string"
  22511. },
  22512. "audittime": {
  22513. "description": "审核时间",
  22514. "type": "string"
  22515. },
  22516. "biztype": {
  22517. "description": "业务类型 1-套保 2-套利",
  22518. "type": "integer"
  22519. },
  22520. "brandname": {
  22521. "description": "品牌名称",
  22522. "type": "string"
  22523. },
  22524. "contracctstatus": {
  22525. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22526. "type": "integer"
  22527. },
  22528. "contractmargin": {
  22529. "description": "合同保证金",
  22530. "type": "number"
  22531. },
  22532. "contractno": {
  22533. "description": "合同编号",
  22534. "type": "string"
  22535. },
  22536. "contracttype": {
  22537. "description": "合同类型 1-采购, -1-销售",
  22538. "type": "integer"
  22539. },
  22540. "convertfactor": {
  22541. "description": "标仓系数(品类)",
  22542. "type": "number"
  22543. },
  22544. "createtime": {
  22545. "description": "创建时间",
  22546. "type": "string"
  22547. },
  22548. "currencyid": {
  22549. "description": "币种id",
  22550. "type": "integer"
  22551. },
  22552. "currencyname": {
  22553. "description": "币种名称",
  22554. "type": "string"
  22555. },
  22556. "daikaiamount": {
  22557. "description": "应收(开)票额",
  22558. "type": "number"
  22559. },
  22560. "deliveryenddate": {
  22561. "description": "交割结束日",
  22562. "type": "string"
  22563. },
  22564. "deliverygoodscode": {
  22565. "description": "现货品种代码",
  22566. "type": "string"
  22567. },
  22568. "deliverygoodsid": {
  22569. "description": "现货商品ID",
  22570. "type": "integer"
  22571. },
  22572. "deliverygoodsname": {
  22573. "description": "现货品种名称",
  22574. "type": "string"
  22575. },
  22576. "deliverystartdate": {
  22577. "description": "交割开始日",
  22578. "type": "string"
  22579. },
  22580. "enddate": {
  22581. "description": "点价结束日",
  22582. "type": "string"
  22583. },
  22584. "enumdicname": {
  22585. "description": "单位名称",
  22586. "type": "string"
  22587. },
  22588. "goodscode": {
  22589. "description": "点价商品代码",
  22590. "type": "string"
  22591. },
  22592. "goodsid": {
  22593. "description": "点价商品ID",
  22594. "type": "integer"
  22595. },
  22596. "goodsname": {
  22597. "description": "点价商品名称",
  22598. "type": "string"
  22599. },
  22600. "invoiceamount": {
  22601. "description": "已开票额",
  22602. "type": "number"
  22603. },
  22604. "loanamount": {
  22605. "description": "贷款总额=已定价额+调整金额",
  22606. "type": "number"
  22607. },
  22608. "margin": {
  22609. "description": "保证金",
  22610. "type": "number"
  22611. },
  22612. "meruserid": {
  22613. "description": "跟单员id",
  22614. "type": "integer"
  22615. },
  22616. "meruserlogincode": {
  22617. "description": "跟单员登录代码",
  22618. "type": "string"
  22619. },
  22620. "merusername": {
  22621. "description": "跟单员名称",
  22622. "type": "string"
  22623. },
  22624. "nickname": {
  22625. "description": "账户昵称",
  22626. "type": "string"
  22627. },
  22628. "payamount": {
  22629. "description": "已收付额(收款或付款)",
  22630. "type": "number"
  22631. },
  22632. "preinvoiceamount": {
  22633. "description": "预收(开)票额",
  22634. "type": "number"
  22635. },
  22636. "prepayamount": {
  22637. "description": "预收付额",
  22638. "type": "number"
  22639. },
  22640. "price": {
  22641. "description": "价格",
  22642. "type": "number"
  22643. },
  22644. "pricedamount": {
  22645. "description": "已定价额",
  22646. "type": "number"
  22647. },
  22648. "pricedavg": {
  22649. "description": "已点均价",
  22650. "type": "number"
  22651. },
  22652. "pricedqty": {
  22653. "description": "已定价量",
  22654. "type": "number"
  22655. },
  22656. "pricemove": {
  22657. "description": "升贴水",
  22658. "type": "number"
  22659. },
  22660. "pricetype": {
  22661. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22662. "type": "integer"
  22663. },
  22664. "producttype": {
  22665. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22666. "type": "integer"
  22667. },
  22668. "qty": {
  22669. "description": "合同量",
  22670. "type": "number"
  22671. },
  22672. "reckonadjustamount": {
  22673. "description": "调整金额",
  22674. "type": "number"
  22675. },
  22676. "reckonedamount": {
  22677. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22678. "type": "number"
  22679. },
  22680. "reckonotheramount": {
  22681. "description": "其它费用",
  22682. "type": "number"
  22683. },
  22684. "reckonrealqty": {
  22685. "description": "已确定量",
  22686. "type": "number"
  22687. },
  22688. "remark": {
  22689. "description": "备注",
  22690. "type": "string"
  22691. },
  22692. "saleuserid": {
  22693. "description": "业务员id",
  22694. "type": "integer"
  22695. },
  22696. "saleuserlogincode": {
  22697. "description": "业务员登录代码",
  22698. "type": "string"
  22699. },
  22700. "saleusername": {
  22701. "description": "业务员名称",
  22702. "type": "string"
  22703. },
  22704. "spotcontractid": {
  22705. "description": "合同ID",
  22706. "type": "string"
  22707. },
  22708. "spotgoodsbrandid": {
  22709. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22710. "type": "integer"
  22711. },
  22712. "spotgoodsdesc": {
  22713. "description": "商品型号(商品规格)",
  22714. "type": "string"
  22715. },
  22716. "startdate": {
  22717. "description": "点价开始日",
  22718. "type": "string"
  22719. },
  22720. "subjectid": {
  22721. "description": "交易主体ID",
  22722. "type": "string"
  22723. },
  22724. "subjectname": {
  22725. "description": "交易主体名称",
  22726. "type": "string"
  22727. },
  22728. "totalamount": {
  22729. "description": "合计总额",
  22730. "type": "number"
  22731. },
  22732. "tradeuserid": {
  22733. "description": "交易员id",
  22734. "type": "integer"
  22735. },
  22736. "tradeuserlogincode": {
  22737. "description": "交易员登录代码",
  22738. "type": "string"
  22739. },
  22740. "tradeusername": {
  22741. "description": "交易员名称",
  22742. "type": "string"
  22743. },
  22744. "unpayamount": {
  22745. "description": "应收付款额(应支付或应收款)",
  22746. "type": "number"
  22747. },
  22748. "unpricedqty": {
  22749. "description": "未定价量",
  22750. "type": "number"
  22751. },
  22752. "unsureqty": {
  22753. "description": "未确定量",
  22754. "type": "number"
  22755. },
  22756. "userid": {
  22757. "description": "机构ID",
  22758. "type": "integer"
  22759. },
  22760. "vatrate": {
  22761. "description": "增值税率",
  22762. "type": "number"
  22763. },
  22764. "wrstandardcode": {
  22765. "description": "品类代码",
  22766. "type": "string"
  22767. },
  22768. "wrstandardid": {
  22769. "description": "品类ID",
  22770. "type": "integer"
  22771. },
  22772. "wrstandardname": {
  22773. "description": "品类名称",
  22774. "type": "string"
  22775. }
  22776. }
  22777. },
  22778. "models.Ermcp3SpotGoodsPrice": {
  22779. "type": "object",
  22780. "properties": {
  22781. "areauserid": {
  22782. "description": "所属机构id",
  22783. "type": "integer"
  22784. },
  22785. "brandname": {
  22786. "description": "品牌名称",
  22787. "type": "string"
  22788. },
  22789. "currencyid": {
  22790. "description": "报价货币ID",
  22791. "type": "integer"
  22792. },
  22793. "currencyname": {
  22794. "description": "币种名称",
  22795. "type": "string"
  22796. },
  22797. "deliverygoodscode": {
  22798. "description": "现货商品代码",
  22799. "type": "string"
  22800. },
  22801. "deliverygoodsid": {
  22802. "description": "现货商品id",
  22803. "type": "integer"
  22804. },
  22805. "deliverygoodsname": {
  22806. "description": "现货商品名称",
  22807. "type": "string"
  22808. },
  22809. "enumdicname": {
  22810. "description": "现货商品单位名称",
  22811. "type": "string"
  22812. },
  22813. "gbenumdicname": {
  22814. "description": "品类单位名称",
  22815. "type": "string"
  22816. },
  22817. "gmunitid": {
  22818. "description": "品类单位id",
  22819. "type": "integer"
  22820. },
  22821. "isvalid": {
  22822. "description": "是否有效 - 0:无效 1:有效",
  22823. "type": "integer"
  22824. },
  22825. "operateid": {
  22826. "description": "最后操作人",
  22827. "type": "integer"
  22828. },
  22829. "operatesrc": {
  22830. "description": "最后操作来源 - 1:管理端 2:终端",
  22831. "type": "integer"
  22832. },
  22833. "operatetime": {
  22834. "description": "最后操作时间",
  22835. "type": "string"
  22836. },
  22837. "operatorname": {
  22838. "description": "操作人名称",
  22839. "type": "string"
  22840. },
  22841. "spotgoodsbrandid": {
  22842. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22843. "type": "integer"
  22844. },
  22845. "spotgoodsprice": {
  22846. "description": "现货价格",
  22847. "type": "number"
  22848. },
  22849. "tradedate": {
  22850. "description": "交易日(yyyyMMdd)",
  22851. "type": "string"
  22852. },
  22853. "unitid": {
  22854. "description": "现货商品单位id",
  22855. "type": "integer"
  22856. },
  22857. "wrstandardcode": {
  22858. "description": "品类代码",
  22859. "type": "string"
  22860. },
  22861. "wrstandardid": {
  22862. "description": "现货品类ID(通用则为0)",
  22863. "type": "integer"
  22864. },
  22865. "wrstandardname": {
  22866. "description": "品类名称",
  22867. "type": "string"
  22868. }
  22869. }
  22870. },
  22871. "models.Ermcp3SpotGoodsPriceLog": {
  22872. "type": "object",
  22873. "properties": {
  22874. "areauserid": {
  22875. "description": "所属机构id",
  22876. "type": "integer"
  22877. },
  22878. "brandname": {
  22879. "description": "品牌名称",
  22880. "type": "string"
  22881. },
  22882. "currencyid": {
  22883. "description": "报价货币ID",
  22884. "type": "integer"
  22885. },
  22886. "deliverygoodscode": {
  22887. "description": "现货商品代码",
  22888. "type": "string"
  22889. },
  22890. "deliverygoodsid": {
  22891. "description": "现货商品id",
  22892. "type": "integer"
  22893. },
  22894. "deliverygoodsname": {
  22895. "description": "现货商品名称",
  22896. "type": "string"
  22897. },
  22898. "enumdicname": {
  22899. "description": "现货商品单位名称",
  22900. "type": "string"
  22901. },
  22902. "gbenumdicname": {
  22903. "description": "品类单位名称",
  22904. "type": "string"
  22905. },
  22906. "gmunitid": {
  22907. "description": "品类单位id",
  22908. "type": "integer"
  22909. },
  22910. "logid": {
  22911. "description": "日志id",
  22912. "type": "integer"
  22913. },
  22914. "operateid": {
  22915. "description": "最后操作人",
  22916. "type": "integer"
  22917. },
  22918. "operatesrc": {
  22919. "description": "最后操作来源 - 1:管理端 2:终端",
  22920. "type": "integer"
  22921. },
  22922. "operatetime": {
  22923. "description": "最后操作时间",
  22924. "type": "string"
  22925. },
  22926. "operatorname": {
  22927. "description": "操作人名称",
  22928. "type": "string"
  22929. },
  22930. "spotgoodsbrandid": {
  22931. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22932. "type": "integer"
  22933. },
  22934. "spotgoodsprice": {
  22935. "description": "现货价格",
  22936. "type": "number"
  22937. },
  22938. "tradedate": {
  22939. "description": "交易日(yyyyMMdd)",
  22940. "type": "string"
  22941. },
  22942. "unitid": {
  22943. "description": "现货商品单位id",
  22944. "type": "integer"
  22945. },
  22946. "wrstandardcode": {
  22947. "description": "品类代码",
  22948. "type": "string"
  22949. },
  22950. "wrstandardid": {
  22951. "description": "现货品类ID(通用则为0)",
  22952. "type": "integer"
  22953. },
  22954. "wrstandardname": {
  22955. "description": "品类名称",
  22956. "type": "string"
  22957. }
  22958. }
  22959. },
  22960. "models.Ermcp3SubTaaccount": {
  22961. "type": "object",
  22962. "properties": {
  22963. "accountid": {
  22964. "description": "资金账户ID",
  22965. "type": "integer"
  22966. },
  22967. "parentaccountcode": {
  22968. "description": "所属根账号代码(母账号代码)",
  22969. "type": "string"
  22970. },
  22971. "parentaccountid": {
  22972. "description": "所属根账号(母账号)",
  22973. "type": "integer"
  22974. },
  22975. "taname": {
  22976. "description": "资金账号名称",
  22977. "type": "string"
  22978. },
  22979. "tradestatus": {
  22980. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22981. "type": "integer"
  22982. },
  22983. "username": {
  22984. "description": "交易用户",
  22985. "type": "string"
  22986. }
  22987. }
  22988. },
  22989. "models.Ermcp3TaFutuReDataReport": {
  22990. "type": "object",
  22991. "properties": {
  22992. "accountid": {
  22993. "description": "交易账户",
  22994. "type": "integer"
  22995. },
  22996. "accountname": {
  22997. "description": "交易账号名称",
  22998. "type": "string"
  22999. },
  23000. "agreeunit": {
  23001. "description": "商品合约单位",
  23002. "type": "number"
  23003. },
  23004. "begindate": {
  23005. "description": "开始交易日",
  23006. "type": "string"
  23007. },
  23008. "buyorsell": {
  23009. "description": "持仓方向",
  23010. "type": "integer"
  23011. },
  23012. "charge": {
  23013. "description": "手续费",
  23014. "type": "number"
  23015. },
  23016. "closeavgprice": {
  23017. "description": "平仓均价",
  23018. "type": "number"
  23019. },
  23020. "closepl": {
  23021. "description": "平仓损益",
  23022. "type": "number"
  23023. },
  23024. "currencyid": {
  23025. "description": "结算币种ID",
  23026. "type": "integer"
  23027. },
  23028. "currencyname": {
  23029. "description": "币种名称",
  23030. "type": "string"
  23031. },
  23032. "cycletime": {
  23033. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23034. "type": "string"
  23035. },
  23036. "cycletype": {
  23037. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23038. "type": "integer"
  23039. },
  23040. "enddate": {
  23041. "description": "结束交易日",
  23042. "type": "string"
  23043. },
  23044. "enumdicname": {
  23045. "description": "单位名称",
  23046. "type": "string"
  23047. },
  23048. "floatpl": {
  23049. "description": "浮动损益",
  23050. "type": "number"
  23051. },
  23052. "goodscode": {
  23053. "description": "交易合约代码",
  23054. "type": "string"
  23055. },
  23056. "goodsgroupid": {
  23057. "description": "交易品种",
  23058. "type": "integer"
  23059. },
  23060. "goodsgroupname": {
  23061. "description": "交易品种名称",
  23062. "type": "string"
  23063. },
  23064. "goodsgroupspotqty": {
  23065. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23066. "type": "number"
  23067. },
  23068. "goodsid": {
  23069. "description": "交易合约",
  23070. "type": "integer"
  23071. },
  23072. "goodsname": {
  23073. "description": "交易合约名称",
  23074. "type": "string"
  23075. },
  23076. "goodunitid": {
  23077. "description": "交易合约单位id",
  23078. "type": "integer"
  23079. },
  23080. "holdamount": {
  23081. "description": "期末持仓额",
  23082. "type": "number"
  23083. },
  23084. "holdqty": {
  23085. "description": "期末持仓量",
  23086. "type": "number"
  23087. },
  23088. "lastholdamount": {
  23089. "description": "当前持仓额",
  23090. "type": "number"
  23091. },
  23092. "lastprice": {
  23093. "description": "最新价",
  23094. "type": "number"
  23095. },
  23096. "middlegoodsid": {
  23097. "description": "套保品种id",
  23098. "type": "integer"
  23099. },
  23100. "middlegoodsname": {
  23101. "description": "套保商品名称",
  23102. "type": "string"
  23103. },
  23104. "middlegoodsqty": {
  23105. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23106. "type": "number"
  23107. },
  23108. "middlgoodscode": {
  23109. "description": "套保商品代码",
  23110. "type": "string"
  23111. },
  23112. "openamount": {
  23113. "description": "期末开仓额",
  23114. "type": "number"
  23115. },
  23116. "openavgprice": {
  23117. "description": "开仓均价",
  23118. "type": "number"
  23119. },
  23120. "oriholdamount": {
  23121. "description": "期初持仓额",
  23122. "type": "number"
  23123. },
  23124. "oriholdqty": {
  23125. "description": "期初持仓量",
  23126. "type": "number"
  23127. },
  23128. "oriopenamount": {
  23129. "description": "期初开仓额",
  23130. "type": "number"
  23131. },
  23132. "outergroupcode": {
  23133. "description": "交易品种代码",
  23134. "type": "string"
  23135. },
  23136. "qtydecimalplace": {
  23137. "description": "成交量小数位",
  23138. "type": "integer"
  23139. },
  23140. "reckondate": {
  23141. "description": "日照时期(yyyyMMdd)",
  23142. "type": "string"
  23143. },
  23144. "reckonholdamount": {
  23145. "description": "结算持仓额",
  23146. "type": "number"
  23147. },
  23148. "reckonpl": {
  23149. "description": "结算损益",
  23150. "type": "number"
  23151. },
  23152. "reckonpl2": {
  23153. "description": "结算逐笔盈亏",
  23154. "type": "number"
  23155. },
  23156. "reckonprice": {
  23157. "description": "结算价",
  23158. "type": "number"
  23159. },
  23160. "relateduserid": {
  23161. "description": "账户关联用户ID",
  23162. "type": "integer"
  23163. },
  23164. "todaycloseamount": {
  23165. "description": "今平仓额",
  23166. "type": "number"
  23167. },
  23168. "todaycloseqty": {
  23169. "description": "今平仓量",
  23170. "type": "number"
  23171. },
  23172. "todaygoodsgroupspotqty": {
  23173. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23174. "type": "number"
  23175. },
  23176. "todaymiddlegoodsqty": {
  23177. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23178. "type": "number"
  23179. },
  23180. "todayopenamount": {
  23181. "description": "今开仓额",
  23182. "type": "number"
  23183. },
  23184. "todayopenqty": {
  23185. "description": "今开仓量",
  23186. "type": "number"
  23187. },
  23188. "userid": {
  23189. "description": "账户所属用户ID",
  23190. "type": "integer"
  23191. }
  23192. }
  23193. },
  23194. "models.Ermcp3TradeLinkDetail": {
  23195. "type": "object",
  23196. "properties": {
  23197. "accountid": {
  23198. "description": "资金账号",
  23199. "type": "integer"
  23200. },
  23201. "agreeunit": {
  23202. "description": "合约乘数",
  23203. "type": "number"
  23204. },
  23205. "areauserid": {
  23206. "description": "所属机构",
  23207. "type": "string"
  23208. },
  23209. "bizsubjectid": {
  23210. "description": "归属业务部门ID - SubjectID",
  23211. "type": "string"
  23212. },
  23213. "buyorsell": {
  23214. "description": "方向 - 0:买 1:卖",
  23215. "type": "integer"
  23216. },
  23217. "channelbuildtype": {
  23218. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23219. "type": "integer"
  23220. },
  23221. "contractno": {
  23222. "description": "现货编号 (合同编号)",
  23223. "type": "string"
  23224. },
  23225. "convertratio": {
  23226. "description": "折算系数",
  23227. "type": "number"
  23228. },
  23229. "createtime": {
  23230. "description": "关联时间 | 创建时间",
  23231. "type": "string"
  23232. },
  23233. "creatorid": {
  23234. "description": "创建人ID",
  23235. "type": "string"
  23236. },
  23237. "creatorsrc": {
  23238. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23239. "type": "integer"
  23240. },
  23241. "enumdicname": {
  23242. "description": "单位名称",
  23243. "type": "string"
  23244. },
  23245. "goodscode": {
  23246. "description": "合约代码",
  23247. "type": "string"
  23248. },
  23249. "goodsgroupid": {
  23250. "description": "对冲品种ID[期货合约商品组ID]",
  23251. "type": "integer"
  23252. },
  23253. "goodsid": {
  23254. "description": "商品ID",
  23255. "type": "integer"
  23256. },
  23257. "goodsname": {
  23258. "description": "合约名称",
  23259. "type": "string"
  23260. },
  23261. "hedgeflag": {
  23262. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23263. "type": "integer"
  23264. },
  23265. "linkdetailid": {
  23266. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23267. "type": "string"
  23268. },
  23269. "linkstatus": {
  23270. "description": "关联状态 - 1:成功 2:失败",
  23271. "type": "integer"
  23272. },
  23273. "middlegoodscode": {
  23274. "description": "套保品种代码",
  23275. "type": "string"
  23276. },
  23277. "middlegoodsid": {
  23278. "description": "套保品种ID",
  23279. "type": "integer"
  23280. },
  23281. "middlegoodsname": {
  23282. "description": "套保品种名称",
  23283. "type": "string"
  23284. },
  23285. "relatedlot": {
  23286. "description": "关联手数",
  23287. "type": "number"
  23288. },
  23289. "relatedmode": {
  23290. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23291. "type": "integer"
  23292. },
  23293. "relatedqty": {
  23294. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23295. "type": "number"
  23296. },
  23297. "retcode": {
  23298. "description": "返回码",
  23299. "type": "integer"
  23300. },
  23301. "saleuserid": {
  23302. "description": "业务员ID",
  23303. "type": "string"
  23304. },
  23305. "spotcontractid": {
  23306. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23307. "type": "string"
  23308. },
  23309. "taname": {
  23310. "description": "期货账户",
  23311. "type": "string"
  23312. },
  23313. "tradedate": {
  23314. "description": "关联交易日(yyyyMMdd)",
  23315. "type": "string"
  23316. },
  23317. "tradeid": {
  23318. "description": "期货订单号 | 内部成交单ID",
  23319. "type": "string"
  23320. },
  23321. "tradelot": {
  23322. "description": "成交数量 | 成交手数",
  23323. "type": "integer"
  23324. },
  23325. "tradeprice": {
  23326. "description": "成交价格",
  23327. "type": "number"
  23328. },
  23329. "tradetime": {
  23330. "description": "期货成交时间",
  23331. "type": "string"
  23332. },
  23333. "tradetradedate": {
  23334. "description": "成交交易日(yyyyMMdd)",
  23335. "type": "string"
  23336. },
  23337. "username": {
  23338. "description": "用户名称",
  23339. "type": "string"
  23340. }
  23341. }
  23342. },
  23343. "models.Ermcp3Wrstandard": {
  23344. "type": "object",
  23345. "properties": {
  23346. "areauserid": {
  23347. "description": "所属机构",
  23348. "type": "integer"
  23349. },
  23350. "cantrade": {
  23351. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23352. "type": "integer"
  23353. },
  23354. "convertfactor": {
  23355. "description": "标仓系数",
  23356. "type": "number"
  23357. },
  23358. "createtime": {
  23359. "description": "创建时间",
  23360. "type": "string"
  23361. },
  23362. "creatorid": {
  23363. "description": "创建人",
  23364. "type": "integer"
  23365. },
  23366. "deliverygoodsid": {
  23367. "description": "现货品种ID",
  23368. "type": "integer"
  23369. },
  23370. "enumdicname": {
  23371. "description": "品类单位名称",
  23372. "type": "string"
  23373. },
  23374. "isvalid": {
  23375. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23376. "type": "integer"
  23377. },
  23378. "minivalue": {
  23379. "description": "最小变动值",
  23380. "type": "integer"
  23381. },
  23382. "minivaluedp": {
  23383. "description": "最小变动值小数位",
  23384. "type": "integer"
  23385. },
  23386. "realminivalue": {
  23387. "description": "实际最小变动值",
  23388. "type": "integer"
  23389. },
  23390. "realminivaluedp": {
  23391. "description": "实际最小变动值小数位",
  23392. "type": "integer"
  23393. },
  23394. "remark": {
  23395. "description": "备注",
  23396. "type": "string"
  23397. },
  23398. "unitid": {
  23399. "description": "品类单位ID",
  23400. "type": "integer"
  23401. },
  23402. "updatetime": {
  23403. "description": "更新时间",
  23404. "type": "string"
  23405. },
  23406. "wrstandardcode": {
  23407. "description": "品类代码",
  23408. "type": "string"
  23409. },
  23410. "wrstandardid": {
  23411. "description": "品类ID(SEQ_WRSTANDARD)",
  23412. "type": "integer"
  23413. },
  23414. "wrstandardname": {
  23415. "description": "品类名称",
  23416. "type": "string"
  23417. }
  23418. }
  23419. },
  23420. "models.ErmcpBizGroupEx": {
  23421. "type": "object",
  23422. "properties": {
  23423. "acclist": {
  23424. "description": "账号列表",
  23425. "type": "array",
  23426. "items": {
  23427. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23428. }
  23429. },
  23430. "bizgroupid": {
  23431. "description": "业务分组id",
  23432. "type": "integer"
  23433. },
  23434. "biztype": {
  23435. "description": "业务类型 1-套保 2-套利",
  23436. "type": "integer"
  23437. },
  23438. "wrlist": {
  23439. "description": "现货商品表",
  23440. "type": "array",
  23441. "items": {
  23442. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23443. }
  23444. }
  23445. }
  23446. },
  23447. "models.ErmcpBizGroupSpotGoods": {
  23448. "type": "object",
  23449. "properties": {
  23450. "areauserid": {
  23451. "description": "所属机构id",
  23452. "type": "integer"
  23453. },
  23454. "bizgroupid": {
  23455. "description": "分组id",
  23456. "type": "integer"
  23457. },
  23458. "biztype": {
  23459. "description": "业务类型 1-套保 2-套利",
  23460. "type": "integer"
  23461. },
  23462. "deliverygoodscode": {
  23463. "description": "现货商品代码",
  23464. "type": "string"
  23465. },
  23466. "deliverygoodsid": {
  23467. "description": "现货商品id",
  23468. "type": "integer"
  23469. },
  23470. "deliverygoodsname": {
  23471. "description": "现货商品名称",
  23472. "type": "string"
  23473. },
  23474. "unitid": {
  23475. "description": "现货商品单位id",
  23476. "type": "integer"
  23477. }
  23478. }
  23479. },
  23480. "models.ErmcpBizGroupTaAccount": {
  23481. "type": "object",
  23482. "properties": {
  23483. "accountid": {
  23484. "description": "账号id",
  23485. "type": "integer"
  23486. },
  23487. "accountname": {
  23488. "description": "账号名称",
  23489. "type": "string"
  23490. },
  23491. "areauserid": {
  23492. "description": "所属机构id",
  23493. "type": "integer"
  23494. },
  23495. "bizgroupid": {
  23496. "description": "业务分组id",
  23497. "type": "integer"
  23498. },
  23499. "ismain": {
  23500. "description": "是否主账号 1-是 0-否",
  23501. "type": "integer"
  23502. }
  23503. }
  23504. },
  23505. "models.ErmcpDGFactoryItem": {
  23506. "type": "object",
  23507. "properties": {
  23508. "areauserid": {
  23509. "description": "用户id",
  23510. "type": "integer"
  23511. },
  23512. "deliverygoodsid": {
  23513. "description": "现货品种ID",
  23514. "type": "integer"
  23515. },
  23516. "dgfactoryitemid": {
  23517. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23518. "type": "integer"
  23519. },
  23520. "dgfactoryitemtypeid": {
  23521. "description": "要素项类型",
  23522. "type": "integer"
  23523. },
  23524. "dgfactoryitemvalue": {
  23525. "description": "要素项值(类型为仓库时填写仓库名称)",
  23526. "type": "string"
  23527. },
  23528. "isvalid": {
  23529. "description": "是否有效 - 0:无效 1:有效",
  23530. "type": "integer"
  23531. },
  23532. "orderindex": {
  23533. "description": "顺序",
  23534. "type": "integer"
  23535. },
  23536. "warehouseid": {
  23537. "description": "仓库ID(类型为仓库时填写)",
  23538. "type": "integer"
  23539. }
  23540. }
  23541. },
  23542. "models.ErmcpDeliveryGoods": {
  23543. "type": "object",
  23544. "properties": {
  23545. "agreeunit": {
  23546. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23547. "type": "integer"
  23548. },
  23549. "areauserid": {
  23550. "description": "所属机构",
  23551. "type": "integer"
  23552. },
  23553. "auditflag": {
  23554. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23555. "type": "integer"
  23556. },
  23557. "categoryid": {
  23558. "description": "类别ID(SEQ_WRCATEGORY)",
  23559. "type": "integer"
  23560. },
  23561. "deliverygoodscode": {
  23562. "description": "现货品种代码",
  23563. "type": "string"
  23564. },
  23565. "deliverygoodsid": {
  23566. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23567. "type": "integer"
  23568. },
  23569. "deliverygoodsname": {
  23570. "description": "现货品种名称",
  23571. "type": "string"
  23572. },
  23573. "deliverygoodstype": {
  23574. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23575. "type": "integer"
  23576. },
  23577. "dgstatus": {
  23578. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23579. "type": "integer"
  23580. },
  23581. "enumdicname": {
  23582. "description": "现货品种单位名称",
  23583. "type": "string"
  23584. },
  23585. "goodsunitid": {
  23586. "description": "现货品种单位ID",
  23587. "type": "integer"
  23588. },
  23589. "isvalid": {
  23590. "description": "是否有效 - 0:无效 1:有效",
  23591. "type": "integer"
  23592. },
  23593. "qtydecimalplace": {
  23594. "description": "成交量小数位",
  23595. "type": "integer"
  23596. },
  23597. "remark": {
  23598. "description": "备注",
  23599. "type": "string"
  23600. },
  23601. "standardqty": {
  23602. "description": "标准数量(库位数量) [标准品特有]",
  23603. "type": "integer"
  23604. },
  23605. "standardqtyrange": {
  23606. "description": "标准数量偏差范围 [标准品特有]",
  23607. "type": "integer"
  23608. }
  23609. }
  23610. },
  23611. "models.ErmcpFuturesCompany": {
  23612. "type": "object",
  23613. "properties": {
  23614. "brokerid": {
  23615. "description": "经纪公司代码",
  23616. "type": "string"
  23617. },
  23618. "channeladdress": {
  23619. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23620. "type": "string"
  23621. },
  23622. "channelid": {
  23623. "description": "对冲渠道ID",
  23624. "type": "string"
  23625. },
  23626. "createtime": {
  23627. "description": "创建时间",
  23628. "type": "string"
  23629. },
  23630. "creatorid": {
  23631. "description": "创建人",
  23632. "type": "string"
  23633. },
  23634. "fcid": {
  23635. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23636. "type": "integer"
  23637. },
  23638. "fcname": {
  23639. "description": "期货公司名称",
  23640. "type": "string"
  23641. },
  23642. "isvalid": {
  23643. "description": "是否有效 - 0:无效 1:有效",
  23644. "type": "integer"
  23645. },
  23646. "mhpaddress": {
  23647. "description": "MHP服务地址(IP:Port)",
  23648. "type": "string"
  23649. },
  23650. "riskrulegroupid": {
  23651. "description": "风控规则组ID",
  23652. "type": "string"
  23653. },
  23654. "tradefeetmpid": {
  23655. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23656. "type": "string"
  23657. },
  23658. "trademargintmpid": {
  23659. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23660. "type": "string"
  23661. },
  23662. "traderatetmpid": {
  23663. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23664. "type": "string"
  23665. },
  23666. "updatetime": {
  23667. "description": "更新时间",
  23668. "type": "string"
  23669. },
  23670. "updatorid": {
  23671. "description": "更新人",
  23672. "type": "string"
  23673. }
  23674. }
  23675. },
  23676. "models.ErmcpGGConvertCfg": {
  23677. "type": "object",
  23678. "properties": {
  23679. "convertratio": {
  23680. "description": "折算系数",
  23681. "type": "number"
  23682. },
  23683. "destgoodsgroupid": {
  23684. "description": "目标品种ID",
  23685. "type": "integer"
  23686. },
  23687. "dstcode": {
  23688. "description": "目录品种代码",
  23689. "type": "string"
  23690. },
  23691. "dstexchangecode": {
  23692. "description": "目标期货交易所",
  23693. "type": "string"
  23694. },
  23695. "dstname": {
  23696. "description": "目标品种名称",
  23697. "type": "string"
  23698. },
  23699. "dstunitid": {
  23700. "description": "目标品种单位ID",
  23701. "type": "integer"
  23702. },
  23703. "dstunitidname": {
  23704. "description": "目标品种单位名称",
  23705. "type": "string"
  23706. },
  23707. "modifytime": {
  23708. "description": "修改时间",
  23709. "type": "string"
  23710. },
  23711. "srccode": {
  23712. "description": "源品种代码",
  23713. "type": "string"
  23714. },
  23715. "srcexchangecode": {
  23716. "description": "源期货交易所",
  23717. "type": "string"
  23718. },
  23719. "srcgoodsgroupid": {
  23720. "description": "源品种ID",
  23721. "type": "integer"
  23722. },
  23723. "srcname": {
  23724. "description": "源品种名称",
  23725. "type": "string"
  23726. },
  23727. "srcunitid": {
  23728. "description": "源品种单位ID",
  23729. "type": "integer"
  23730. },
  23731. "srcunitidname": {
  23732. "description": "源品种单位名称",
  23733. "type": "string"
  23734. }
  23735. }
  23736. },
  23737. "models.ErmcpGoods": {
  23738. "type": "object",
  23739. "required": [
  23740. "goodscode",
  23741. "goodsid",
  23742. "goodsname",
  23743. "marketid"
  23744. ],
  23745. "properties": {
  23746. "agreeunit": {
  23747. "description": "合约单位",
  23748. "type": "number"
  23749. },
  23750. "areauserid": {
  23751. "description": "所属机构",
  23752. "type": "integer"
  23753. },
  23754. "auditaccountid": {
  23755. "description": "审核操作员账号",
  23756. "type": "integer"
  23757. },
  23758. "audittime": {
  23759. "description": "审核时间",
  23760. "type": "string"
  23761. },
  23762. "cancelaccountid": {
  23763. "description": "注销操作员账号",
  23764. "type": "integer"
  23765. },
  23766. "canceltime": {
  23767. "description": "注销时间",
  23768. "type": "string"
  23769. },
  23770. "closepricemode": {
  23771. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23772. "type": "integer"
  23773. },
  23774. "closepriceparam": {
  23775. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23776. "type": "number"
  23777. },
  23778. "createtime": {
  23779. "description": "创建时间",
  23780. "type": "string"
  23781. },
  23782. "creatorid": {
  23783. "description": "创建人",
  23784. "type": "integer"
  23785. },
  23786. "currencyid": {
  23787. "description": "报价货币ID",
  23788. "type": "integer"
  23789. },
  23790. "cutmode": {
  23791. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23792. "type": "integer"
  23793. },
  23794. "decimalplace": {
  23795. "description": "报价小数位",
  23796. "type": "integer"
  23797. },
  23798. "delistingdate": {
  23799. "description": "商品退市时间(状态:退市) -- 已作废",
  23800. "type": "string"
  23801. },
  23802. "delistingmode": {
  23803. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23804. "type": "integer"
  23805. },
  23806. "deliveryflag": {
  23807. "description": "交割标志 - 0:不可交割 1:可交割",
  23808. "type": "integer"
  23809. },
  23810. "enumdicname": {
  23811. "description": "单位名称",
  23812. "type": "string"
  23813. },
  23814. "forceclosemode": {
  23815. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23816. "type": "integer"
  23817. },
  23818. "forceclosevalue": {
  23819. "description": "定期强平参数 [收益权]",
  23820. "type": "integer"
  23821. },
  23822. "goodscode": {
  23823. "description": "商品代码(内部)",
  23824. "type": "string"
  23825. },
  23826. "goodscurrencyid": {
  23827. "description": "合约货币ID",
  23828. "type": "integer"
  23829. },
  23830. "goodsgroupid": {
  23831. "description": "所属商品组ID",
  23832. "type": "integer"
  23833. },
  23834. "goodsid": {
  23835. "description": "商品ID(自增ID SEQ_GOODS)",
  23836. "type": "integer"
  23837. },
  23838. "goodsname": {
  23839. "description": "商品名称",
  23840. "type": "string"
  23841. },
  23842. "goodsquotetype": {
  23843. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23844. "type": "integer"
  23845. },
  23846. "goodsstatus": {
  23847. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23848. "type": "integer"
  23849. },
  23850. "goodstradetype": {
  23851. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23852. "type": "integer"
  23853. },
  23854. "goodunitid": {
  23855. "description": "报价单位ID",
  23856. "type": "integer"
  23857. },
  23858. "hasquoter": {
  23859. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23860. "type": "integer"
  23861. },
  23862. "hqprotecttime": {
  23863. "description": "行情保护时间(秒)",
  23864. "type": "integer"
  23865. },
  23866. "innerdealmode": {
  23867. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23868. "type": "integer"
  23869. },
  23870. "isbuylimited": {
  23871. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23872. "type": "integer"
  23873. },
  23874. "isvisible": {
  23875. "description": "游客是否可见 - 0:不可见 1:可见",
  23876. "type": "integer"
  23877. },
  23878. "lasttradedate": {
  23879. "description": "最后交易日期(状态:待退市)",
  23880. "type": "string"
  23881. },
  23882. "listingdate": {
  23883. "description": "交易开始日期",
  23884. "type": "string"
  23885. },
  23886. "marketid": {
  23887. "description": "所属市场ID",
  23888. "type": "integer"
  23889. },
  23890. "modifierid": {
  23891. "description": "修改人",
  23892. "type": "integer"
  23893. },
  23894. "modifystatus": {
  23895. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23896. "type": "integer"
  23897. },
  23898. "modifytime": {
  23899. "description": "修改时间",
  23900. "type": "string"
  23901. },
  23902. "outerdealmode": {
  23903. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23904. "type": "integer"
  23905. },
  23906. "outgoodscode": {
  23907. "description": "商品代码(外部)",
  23908. "type": "string"
  23909. },
  23910. "pictureurl": {
  23911. "description": "商品图片",
  23912. "type": "string"
  23913. },
  23914. "qtydecimalplace": {
  23915. "description": "成交量小数位",
  23916. "type": "integer"
  23917. },
  23918. "quotegear": {
  23919. "description": "行情档位(1-10)",
  23920. "type": "integer"
  23921. },
  23922. "quoteminunit": {
  23923. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23924. "type": "integer"
  23925. },
  23926. "quoteshowtype": {
  23927. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23928. "type": "integer"
  23929. },
  23930. "quoteshowtypeinterval": {
  23931. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23932. "type": "integer"
  23933. },
  23934. "relatedgoodsid": {
  23935. "description": "关联参考商品ID",
  23936. "type": "integer"
  23937. },
  23938. "remark": {
  23939. "description": "备注",
  23940. "type": "string"
  23941. },
  23942. "trademode": {
  23943. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23944. "type": "integer"
  23945. }
  23946. }
  23947. },
  23948. "models.ErmcpGoodsBrand": {
  23949. "type": "object",
  23950. "properties": {
  23951. "areauserid": {
  23952. "description": "所属机构",
  23953. "type": "integer"
  23954. },
  23955. "brandid": {
  23956. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23957. "type": "integer"
  23958. },
  23959. "brandname": {
  23960. "description": "品牌名称",
  23961. "type": "string"
  23962. },
  23963. "createtime": {
  23964. "description": "创建时间",
  23965. "type": "string"
  23966. },
  23967. "creatorid": {
  23968. "description": "创建人",
  23969. "type": "integer"
  23970. },
  23971. "creatorsrc": {
  23972. "description": "创建人来源 - 1:管理端 2:终端",
  23973. "type": "integer"
  23974. },
  23975. "deliverygoodsid": {
  23976. "description": "现货品种ID",
  23977. "type": "integer"
  23978. },
  23979. "isvalid": {
  23980. "description": "是否有效 - 0:无效 1:有效",
  23981. "type": "integer"
  23982. },
  23983. "updatetime": {
  23984. "description": "更新时间",
  23985. "type": "string"
  23986. },
  23987. "updatorid": {
  23988. "description": "更新人",
  23989. "type": "integer"
  23990. },
  23991. "updatorsrc": {
  23992. "description": "更新人来源 - 1:管理端 2:终端",
  23993. "type": "integer"
  23994. },
  23995. "wrstandardid": {
  23996. "description": "现货商品ID",
  23997. "type": "integer"
  23998. }
  23999. }
  24000. },
  24001. "models.ErmcpGoodsModel": {
  24002. "type": "object",
  24003. "properties": {
  24004. "areauserid": {
  24005. "description": "所属机构",
  24006. "type": "integer"
  24007. },
  24008. "convertfactor": {
  24009. "description": "标仓系数",
  24010. "type": "number"
  24011. },
  24012. "createtime": {
  24013. "description": "创建时间",
  24014. "type": "string"
  24015. },
  24016. "creatorid": {
  24017. "description": "创建人",
  24018. "type": "integer"
  24019. },
  24020. "creatorsrc": {
  24021. "description": "创建人来源 - 1:管理端 2:终端",
  24022. "type": "integer"
  24023. },
  24024. "deliverygoodsid": {
  24025. "description": "现货品种ID",
  24026. "type": "integer"
  24027. },
  24028. "isvalid": {
  24029. "description": "是否有效 - 0:无效 1:有效",
  24030. "type": "integer"
  24031. },
  24032. "modelid": {
  24033. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24034. "type": "integer"
  24035. },
  24036. "modelname": {
  24037. "description": "型号名称",
  24038. "type": "string"
  24039. },
  24040. "updatetime": {
  24041. "description": "更新时间",
  24042. "type": "string"
  24043. },
  24044. "updatorid": {
  24045. "description": "更新人",
  24046. "type": "integer"
  24047. },
  24048. "updatorsrc": {
  24049. "description": "更新人来源 - 1:管理端 2:终端",
  24050. "type": "integer"
  24051. },
  24052. "wrstandardid": {
  24053. "description": "现货商品ID",
  24054. "type": "integer"
  24055. }
  24056. }
  24057. },
  24058. "models.ErmcpHisExposure": {
  24059. "type": "object",
  24060. "properties": {
  24061. "needhedgeexposoure": {
  24062. "description": "应套保敞口",
  24063. "type": "number"
  24064. },
  24065. "reckondate": {
  24066. "description": "日照时期(yyyyMMdd)",
  24067. "type": "string"
  24068. },
  24069. "totalexposure": {
  24070. "description": "总敞口",
  24071. "type": "number"
  24072. }
  24073. }
  24074. },
  24075. "models.ErmcpLoginTaAccount": {
  24076. "type": "object",
  24077. "properties": {
  24078. "accountid": {
  24079. "description": "账号id",
  24080. "type": "integer"
  24081. },
  24082. "accountname": {
  24083. "description": "账号名称",
  24084. "type": "string"
  24085. }
  24086. }
  24087. },
  24088. "models.ErmcpLoginUser": {
  24089. "type": "object",
  24090. "properties": {
  24091. "acclist": {
  24092. "description": "关联资金账号",
  24093. "type": "array",
  24094. "items": {
  24095. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24096. }
  24097. },
  24098. "accountname": {
  24099. "description": "用户名称",
  24100. "type": "string"
  24101. },
  24102. "clientroleid": {
  24103. "description": "角色id(usertype=2)",
  24104. "type": "integer"
  24105. },
  24106. "createtime": {
  24107. "description": "创建时间",
  24108. "type": "string"
  24109. },
  24110. "logincode": {
  24111. "description": "登录代码",
  24112. "type": "string"
  24113. },
  24114. "loginid": {
  24115. "description": "登录id(LOGINID)",
  24116. "type": "integer"
  24117. },
  24118. "loginname": {
  24119. "description": "登录名称(loginaccount表中的accountname字段)",
  24120. "type": "string"
  24121. },
  24122. "loginstatus": {
  24123. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24124. "type": "integer"
  24125. },
  24126. "memberuserid": {
  24127. "description": "所属会员id",
  24128. "type": "integer"
  24129. },
  24130. "mobile": {
  24131. "description": "手机号",
  24132. "type": "string"
  24133. },
  24134. "modifytime": {
  24135. "description": "修改时间",
  24136. "type": "string"
  24137. },
  24138. "password": {
  24139. "description": "密码(不可解密)",
  24140. "type": "string"
  24141. },
  24142. "rolename": {
  24143. "description": "角色名称",
  24144. "type": "string"
  24145. },
  24146. "rolestatus": {
  24147. "description": "角色状态 1-启用 2-停用",
  24148. "type": "integer"
  24149. },
  24150. "roletype": {
  24151. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24152. "type": "string"
  24153. },
  24154. "userid": {
  24155. "description": "用户id",
  24156. "type": "integer"
  24157. },
  24158. "usertype": {
  24159. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24160. "type": "integer"
  24161. }
  24162. }
  24163. },
  24164. "models.ErmcpLoginUserEx": {
  24165. "type": "object",
  24166. "properties": {
  24167. "accountstatus": {
  24168. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24169. "type": "integer"
  24170. },
  24171. "mobile": {
  24172. "description": "手机号",
  24173. "type": "string"
  24174. },
  24175. "querytype": {
  24176. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24177. "type": "integer"
  24178. },
  24179. "roleid": {
  24180. "description": "角色id(交易账户-\u003e用户id)",
  24181. "type": "integer"
  24182. },
  24183. "rolename": {
  24184. "description": "角色名称(交易账户-\u003e用户名称)",
  24185. "type": "string"
  24186. },
  24187. "userlist": {
  24188. "description": "用户列表",
  24189. "type": "array",
  24190. "items": {
  24191. "$ref": "#/definitions/models.ErmcpLoginUser"
  24192. }
  24193. },
  24194. "usertype": {
  24195. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24196. "type": "integer"
  24197. }
  24198. }
  24199. },
  24200. "models.ErmcpMiddleGoodsModel": {
  24201. "type": "object",
  24202. "properties": {
  24203. "areauserid": {
  24204. "description": "机构用户ID",
  24205. "type": "integer"
  24206. },
  24207. "createtime": {
  24208. "description": "修改时间",
  24209. "type": "string"
  24210. },
  24211. "enumdicname": {
  24212. "description": "单位名称",
  24213. "type": "string"
  24214. },
  24215. "evaluateratio": {
  24216. "description": "估价系数",
  24217. "type": "number"
  24218. },
  24219. "goodsgroupid": {
  24220. "description": "关联期货品种ID",
  24221. "type": "integer"
  24222. },
  24223. "goodsunitid": {
  24224. "description": "单位ID",
  24225. "type": "integer"
  24226. },
  24227. "isvalid": {
  24228. "description": "状态 0-无效(停用) 1-有效(正常)",
  24229. "type": "integer"
  24230. },
  24231. "middlegoodscode": {
  24232. "description": "套保品种代码",
  24233. "type": "string"
  24234. },
  24235. "middlegoodsid": {
  24236. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24237. "type": "integer"
  24238. },
  24239. "middlegoodsname": {
  24240. "description": "套保品种名称",
  24241. "type": "string"
  24242. },
  24243. "modifytime": {
  24244. "description": "修改时间",
  24245. "type": "string"
  24246. },
  24247. "needarbitrageratio": {
  24248. "description": "套利比例",
  24249. "type": "number"
  24250. },
  24251. "needhedgeratio": {
  24252. "description": "套保比率",
  24253. "type": "number"
  24254. },
  24255. "qtydecimalplace": {
  24256. "description": "数量小数位",
  24257. "type": "integer"
  24258. },
  24259. "relatedgoodsid": {
  24260. "description": "关联交易商品ID",
  24261. "type": "integer"
  24262. },
  24263. "relatedgoodstype": {
  24264. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24265. "type": "integer"
  24266. },
  24267. "remark": {
  24268. "description": "备注",
  24269. "type": "string"
  24270. }
  24271. }
  24272. },
  24273. "models.ErmcpMiddlegoodsRelateGoods": {
  24274. "type": "object",
  24275. "properties": {
  24276. "agreeunit": {
  24277. "description": "合约乘数",
  24278. "type": "number"
  24279. },
  24280. "convertratio": {
  24281. "description": "折算系数",
  24282. "type": "number"
  24283. },
  24284. "enumdicname": {
  24285. "description": "单位名称(交易商品)",
  24286. "type": "string"
  24287. },
  24288. "goodscode": {
  24289. "description": "交易商品代码",
  24290. "type": "string"
  24291. },
  24292. "goodsgroupid": {
  24293. "description": "交易品种id",
  24294. "type": "integer"
  24295. },
  24296. "goodsid": {
  24297. "description": "商品Id",
  24298. "type": "integer"
  24299. },
  24300. "goodsname": {
  24301. "description": "交易商品名称",
  24302. "type": "string"
  24303. },
  24304. "goodunitid": {
  24305. "description": "交易商品单位id",
  24306. "type": "integer"
  24307. },
  24308. "middlegoodsid": {
  24309. "description": "套保商品id",
  24310. "type": "integer"
  24311. },
  24312. "middlegoodsname": {
  24313. "description": "套保商品名称",
  24314. "type": "string"
  24315. },
  24316. "middlegoodsswcode": {
  24317. "description": "套保商品代码",
  24318. "type": "string"
  24319. },
  24320. "needarbitrageratio": {
  24321. "description": "应套利比例",
  24322. "type": "number"
  24323. },
  24324. "needhedgeratio": {
  24325. "description": "应套保比例",
  24326. "type": "number"
  24327. }
  24328. }
  24329. },
  24330. "models.ErmcpRole": {
  24331. "type": "object",
  24332. "properties": {
  24333. "areauserid": {
  24334. "description": "所属机构",
  24335. "type": "integer"
  24336. },
  24337. "autoid": {
  24338. "description": "角色ID(自增ID)",
  24339. "type": "integer"
  24340. },
  24341. "modifierid": {
  24342. "description": "修改人(创建人)",
  24343. "type": "integer"
  24344. },
  24345. "modifiername": {
  24346. "description": "修改人名称",
  24347. "type": "string"
  24348. },
  24349. "modifytime": {
  24350. "description": "修改时间(创建时间)",
  24351. "type": "string"
  24352. },
  24353. "rolename": {
  24354. "description": "角色名称",
  24355. "type": "string"
  24356. },
  24357. "rolestatus": {
  24358. "description": "角色状态 - 1:启用 2:停用",
  24359. "type": "integer"
  24360. },
  24361. "roletype": {
  24362. "description": "角色类型 - 1- 管理端 2- 交易端",
  24363. "type": "integer"
  24364. }
  24365. }
  24366. },
  24367. "models.ErmcpRoleMenu": {
  24368. "type": "object",
  24369. "properties": {
  24370. "iconame": {
  24371. "description": "菜单图标",
  24372. "type": "string"
  24373. },
  24374. "ishadrole": {
  24375. "description": "是否有权限",
  24376. "type": "boolean"
  24377. },
  24378. "menutype": {
  24379. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24380. "type": "integer"
  24381. },
  24382. "parentcode": {
  24383. "description": "上级资源代码",
  24384. "type": "string"
  24385. },
  24386. "remark": {
  24387. "description": "菜单备注",
  24388. "type": "string"
  24389. },
  24390. "resourcecode": {
  24391. "description": "菜单代码",
  24392. "type": "string"
  24393. },
  24394. "resourcelevel": {
  24395. "description": "级别",
  24396. "type": "integer"
  24397. },
  24398. "resourcename": {
  24399. "description": "菜单名称",
  24400. "type": "string"
  24401. },
  24402. "roleid": {
  24403. "description": "角色id",
  24404. "type": "integer"
  24405. },
  24406. "sort": {
  24407. "description": "排序",
  24408. "type": "integer"
  24409. },
  24410. "url": {
  24411. "description": "URL",
  24412. "type": "string"
  24413. },
  24414. "userid": {
  24415. "description": "用户id",
  24416. "type": "integer"
  24417. }
  24418. }
  24419. },
  24420. "models.ErmcpRoleMenuEx": {
  24421. "type": "object",
  24422. "properties": {
  24423. "menu": {
  24424. "description": "父级菜单",
  24425. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24426. },
  24427. "subMenu": {
  24428. "description": "子级菜单",
  24429. "type": "array",
  24430. "items": {
  24431. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24432. }
  24433. }
  24434. }
  24435. },
  24436. "models.ErmcpTaAccount": {
  24437. "type": "object",
  24438. "properties": {
  24439. "accountid": {
  24440. "description": "账户id",
  24441. "type": "integer"
  24442. },
  24443. "accountname": {
  24444. "description": "账户名称",
  24445. "type": "string"
  24446. },
  24447. "currencyid": {
  24448. "description": "币种id",
  24449. "type": "integer"
  24450. },
  24451. "hedgeaccountcode": {
  24452. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24453. "type": "string"
  24454. },
  24455. "ismain": {
  24456. "description": "是否主账户 0-否 1-是",
  24457. "type": "integer"
  24458. },
  24459. "parentaccountid": {
  24460. "description": "父账户id",
  24461. "type": "integer"
  24462. },
  24463. "relateduserid": {
  24464. "description": "关联userid",
  24465. "type": "integer"
  24466. },
  24467. "tradefeetmpid": {
  24468. "description": "手续费模板id",
  24469. "type": "integer"
  24470. },
  24471. "tradefeetmpname": {
  24472. "description": "手续费模板名称",
  24473. "type": "string"
  24474. },
  24475. "trademargintmpid": {
  24476. "description": "保证金模板id",
  24477. "type": "integer"
  24478. },
  24479. "trademargintmpname": {
  24480. "description": "保证金模板名称",
  24481. "type": "string"
  24482. },
  24483. "traderatetmpid": {
  24484. "description": "汇率模板id",
  24485. "type": "integer"
  24486. },
  24487. "traderatetmpname": {
  24488. "description": "汇率模板名称",
  24489. "type": "string"
  24490. },
  24491. "tradestatus": {
  24492. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24493. "type": "integer"
  24494. },
  24495. "userid": {
  24496. "description": "用户id",
  24497. "type": "integer"
  24498. }
  24499. }
  24500. },
  24501. "models.ErmcpTaAccountEx": {
  24502. "type": "object",
  24503. "properties": {
  24504. "mainAcc": {
  24505. "description": "主账号",
  24506. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24507. },
  24508. "subacclist": {
  24509. "description": "子账号列表",
  24510. "type": "array",
  24511. "items": {
  24512. "$ref": "#/definitions/models.ErmcpTaAccount"
  24513. }
  24514. }
  24515. }
  24516. },
  24517. "models.ErmcpTaAccountInfo": {
  24518. "type": "object",
  24519. "properties": {
  24520. "accountid": {
  24521. "description": "资金账户ID",
  24522. "type": "integer"
  24523. },
  24524. "accountname": {
  24525. "description": "账户名称",
  24526. "type": "string"
  24527. },
  24528. "balance": {
  24529. "description": "期初余额",
  24530. "type": "number"
  24531. },
  24532. "capitalbalance": {
  24533. "description": "本金余额[外部子账户实际出入金余额]",
  24534. "type": "number"
  24535. },
  24536. "closepl": {
  24537. "description": "今日平仓盈亏",
  24538. "type": "number"
  24539. },
  24540. "creditdecrease": {
  24541. "description": "今日授信减少",
  24542. "type": "number"
  24543. },
  24544. "creditincrease": {
  24545. "description": "今日授信增加",
  24546. "type": "number"
  24547. },
  24548. "curdebt": {
  24549. "description": "期末欠款",
  24550. "type": "number"
  24551. },
  24552. "currencyid": {
  24553. "description": "货币ID",
  24554. "type": "integer"
  24555. },
  24556. "currentbalance": {
  24557. "description": "期末余额",
  24558. "type": "number"
  24559. },
  24560. "freezecharge": {
  24561. "description": "手续费冻结",
  24562. "type": "number"
  24563. },
  24564. "freezemargin": {
  24565. "description": "冻结保证金",
  24566. "type": "number"
  24567. },
  24568. "fromaccountid": {
  24569. "description": "所属上级账户",
  24570. "type": "integer"
  24571. },
  24572. "inamount": {
  24573. "description": "今日入金金额(包括三方入金)",
  24574. "type": "number"
  24575. },
  24576. "ismain": {
  24577. "description": "是否母账号 0:不是母账户 1:是母账户",
  24578. "type": "integer"
  24579. },
  24580. "mortgagecredit": {
  24581. "description": "授信金额",
  24582. "type": "number"
  24583. },
  24584. "oridebt": {
  24585. "description": "期初欠款",
  24586. "type": "number"
  24587. },
  24588. "orifreezecharge": {
  24589. "description": "期初手续费冻结",
  24590. "type": "number"
  24591. },
  24592. "orifreezemargin": {
  24593. "description": "期初冻结保证金",
  24594. "type": "number"
  24595. },
  24596. "orimortgagecredit": {
  24597. "description": "期初授信金额",
  24598. "type": "number"
  24599. },
  24600. "oriothercredit": {
  24601. "description": "期初其它授信金额",
  24602. "type": "number"
  24603. },
  24604. "oriotherfreezemargin": {
  24605. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24606. "type": "number"
  24607. },
  24608. "orioutamountfreeze": {
  24609. "description": "期初出金冻结",
  24610. "type": "number"
  24611. },
  24612. "oriusedmargin": {
  24613. "description": "期初占用保证金",
  24614. "type": "number"
  24615. },
  24616. "othercredit": {
  24617. "description": "其它授信金额",
  24618. "type": "number"
  24619. },
  24620. "othercreditdecrease": {
  24621. "description": "今日其它授信减少",
  24622. "type": "number"
  24623. },
  24624. "othercreditincrease": {
  24625. "description": "今日其它授信增加",
  24626. "type": "number"
  24627. },
  24628. "otherfreezemargin": {
  24629. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24630. "type": "number"
  24631. },
  24632. "outamount": {
  24633. "description": "今日出金金额(包括三方出金)",
  24634. "type": "number"
  24635. },
  24636. "outamountfreeze": {
  24637. "description": "出金冻结",
  24638. "type": "number"
  24639. },
  24640. "outthreshold": {
  24641. "description": "出金阈值",
  24642. "type": "number"
  24643. },
  24644. "parentaccountid": {
  24645. "description": "所属根账号",
  24646. "type": "integer"
  24647. },
  24648. "paycharge": {
  24649. "description": "今日手续费支出",
  24650. "type": "number"
  24651. },
  24652. "relateduserid": {
  24653. "description": "关联用户",
  24654. "type": "integer"
  24655. },
  24656. "signstatus": {
  24657. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24658. "type": "integer"
  24659. },
  24660. "sublevelpath": {
  24661. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24662. "type": "string"
  24663. },
  24664. "taaccounttype": {
  24665. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24666. "type": "integer"
  24667. },
  24668. "thirdinamount": {
  24669. "description": "今日三方入金",
  24670. "type": "number"
  24671. },
  24672. "thirdoutamount": {
  24673. "description": "今日三方出金",
  24674. "type": "number"
  24675. },
  24676. "tradestatus": {
  24677. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24678. "type": "integer"
  24679. },
  24680. "transferamount": {
  24681. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24682. "type": "number"
  24683. },
  24684. "usedmargin": {
  24685. "description": "占用保证金",
  24686. "type": "number"
  24687. },
  24688. "userid": {
  24689. "description": "用户ID",
  24690. "type": "integer"
  24691. }
  24692. }
  24693. },
  24694. "models.ErmcpTaAccountM": {
  24695. "type": "object",
  24696. "properties": {
  24697. "accountid": {
  24698. "description": "账户id",
  24699. "type": "integer"
  24700. },
  24701. "accountname": {
  24702. "description": "账户名称",
  24703. "type": "string"
  24704. },
  24705. "currencyid": {
  24706. "description": "币种id",
  24707. "type": "integer"
  24708. },
  24709. "fcid": {
  24710. "description": "期货公司id",
  24711. "type": "integer"
  24712. },
  24713. "fcname": {
  24714. "description": "期货公司代码",
  24715. "type": "string"
  24716. },
  24717. "hedgeaccountcode": {
  24718. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24719. "type": "string"
  24720. },
  24721. "ismain": {
  24722. "description": "是否主账户 0-否 1-是",
  24723. "type": "integer"
  24724. },
  24725. "parentaccountid": {
  24726. "description": "父账户id",
  24727. "type": "integer"
  24728. },
  24729. "relateduserid": {
  24730. "description": "关联userid",
  24731. "type": "integer"
  24732. },
  24733. "tradefeetmpid": {
  24734. "description": "手续费模板id",
  24735. "type": "integer"
  24736. },
  24737. "tradefeetmpname": {
  24738. "description": "手续费模板名称",
  24739. "type": "string"
  24740. },
  24741. "trademargintmpid": {
  24742. "description": "保证金模板id",
  24743. "type": "integer"
  24744. },
  24745. "trademargintmpname": {
  24746. "description": "保证金模板名称",
  24747. "type": "string"
  24748. },
  24749. "traderatetmpid": {
  24750. "description": "汇率模板id",
  24751. "type": "integer"
  24752. },
  24753. "traderatetmpname": {
  24754. "description": "汇率模板名称",
  24755. "type": "string"
  24756. },
  24757. "tradestatus": {
  24758. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24759. "type": "integer"
  24760. },
  24761. "userid": {
  24762. "description": "用户id",
  24763. "type": "integer"
  24764. }
  24765. }
  24766. },
  24767. "models.ErmcpTradeConfigTMP": {
  24768. "type": "object",
  24769. "properties": {
  24770. "areauserid": {
  24771. "description": "所属机构",
  24772. "type": "integer"
  24773. },
  24774. "basiccurrencyid": {
  24775. "description": "基本币种ID[汇率] - 目标币种",
  24776. "type": "integer"
  24777. },
  24778. "mainaccountid": {
  24779. "description": "主账户ID",
  24780. "type": "integer"
  24781. },
  24782. "modifierid": {
  24783. "description": "修改人",
  24784. "type": "integer"
  24785. },
  24786. "remark": {
  24787. "description": "备注",
  24788. "type": "string"
  24789. },
  24790. "tradeconfigtmpid": {
  24791. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24792. "type": "integer"
  24793. },
  24794. "tradeconfigtmpname": {
  24795. "description": "交易配置模板名称",
  24796. "type": "string"
  24797. },
  24798. "tradeconfigtmptype": {
  24799. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24800. "type": "integer"
  24801. },
  24802. "updatetime": {
  24803. "description": "更新时间",
  24804. "type": "string"
  24805. }
  24806. }
  24807. },
  24808. "models.Externalexchange": {
  24809. "type": "object",
  24810. "required": [
  24811. "autoid"
  24812. ],
  24813. "properties": {
  24814. "autoid": {
  24815. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24816. "type": "integer"
  24817. },
  24818. "exchangefullname": {
  24819. "description": "外部交易所全称",
  24820. "type": "string"
  24821. },
  24822. "exexchangecode": {
  24823. "description": "外部交易所代码",
  24824. "type": "string"
  24825. },
  24826. "exexchangename": {
  24827. "description": "外部交易所名称(简称)",
  24828. "type": "string"
  24829. },
  24830. "ismarketprice": {
  24831. "description": "是否支持市价 - 0:不支持 1:支持",
  24832. "type": "integer"
  24833. },
  24834. "quotegear": {
  24835. "description": "行情档位(1-10)",
  24836. "type": "integer"
  24837. },
  24838. "showbrokerflag": {
  24839. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24840. "type": "integer"
  24841. },
  24842. "updatetime": {
  24843. "description": "更新时间",
  24844. "type": "string"
  24845. }
  24846. }
  24847. },
  24848. "models.Funcmenulist": {
  24849. "type": "object",
  24850. "required": [
  24851. "resourcecode"
  24852. ],
  24853. "properties": {
  24854. "iconame": {
  24855. "description": "菜单图标",
  24856. "type": "string"
  24857. },
  24858. "menutype": {
  24859. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24860. "type": "integer"
  24861. },
  24862. "parentcode": {
  24863. "description": "上级资源代码",
  24864. "type": "string"
  24865. },
  24866. "remark": {
  24867. "description": "备注",
  24868. "type": "string"
  24869. },
  24870. "resourcecode": {
  24871. "description": "资源代码",
  24872. "type": "string"
  24873. },
  24874. "resourcelevel": {
  24875. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24876. "type": "integer"
  24877. },
  24878. "resourcename": {
  24879. "description": "资源名",
  24880. "type": "string"
  24881. },
  24882. "sort": {
  24883. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24884. "type": "integer"
  24885. },
  24886. "url": {
  24887. "description": "URL",
  24888. "type": "string"
  24889. }
  24890. }
  24891. },
  24892. "models.Goods": {
  24893. "type": "object",
  24894. "required": [
  24895. "goodscode",
  24896. "goodsid",
  24897. "goodsname",
  24898. "marketid"
  24899. ],
  24900. "properties": {
  24901. "agreeunit": {
  24902. "description": "合约单位",
  24903. "type": "number"
  24904. },
  24905. "areauserid": {
  24906. "description": "所属机构",
  24907. "type": "integer"
  24908. },
  24909. "auditaccountid": {
  24910. "description": "审核操作员账号",
  24911. "type": "integer"
  24912. },
  24913. "audittime": {
  24914. "description": "审核时间",
  24915. "type": "string"
  24916. },
  24917. "cancelaccountid": {
  24918. "description": "注销操作员账号",
  24919. "type": "integer"
  24920. },
  24921. "canceltime": {
  24922. "description": "注销时间",
  24923. "type": "string"
  24924. },
  24925. "closepricemode": {
  24926. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24927. "type": "integer"
  24928. },
  24929. "closepriceparam": {
  24930. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24931. "type": "number"
  24932. },
  24933. "createtime": {
  24934. "description": "创建时间",
  24935. "type": "string"
  24936. },
  24937. "creatorid": {
  24938. "description": "创建人",
  24939. "type": "integer"
  24940. },
  24941. "currencyid": {
  24942. "description": "报价货币ID",
  24943. "type": "integer"
  24944. },
  24945. "cutmode": {
  24946. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24947. "type": "integer"
  24948. },
  24949. "decimalplace": {
  24950. "description": "报价小数位",
  24951. "type": "integer"
  24952. },
  24953. "delistingdate": {
  24954. "description": "商品退市时间(状态:退市) -- 已作废",
  24955. "type": "string"
  24956. },
  24957. "delistingmode": {
  24958. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24959. "type": "integer"
  24960. },
  24961. "deliveryflag": {
  24962. "description": "交割标志 - 0:不可交割 1:可交割",
  24963. "type": "integer"
  24964. },
  24965. "forceclosemode": {
  24966. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24967. "type": "integer"
  24968. },
  24969. "forceclosevalue": {
  24970. "description": "定期强平参数 [收益权]",
  24971. "type": "integer"
  24972. },
  24973. "goodscode": {
  24974. "description": "商品代码(内部)",
  24975. "type": "string"
  24976. },
  24977. "goodscurrencyid": {
  24978. "description": "合约货币ID",
  24979. "type": "integer"
  24980. },
  24981. "goodsgroupid": {
  24982. "description": "所属商品组ID",
  24983. "type": "integer"
  24984. },
  24985. "goodsid": {
  24986. "description": "商品ID(自增ID SEQ_GOODS)",
  24987. "type": "integer"
  24988. },
  24989. "goodsname": {
  24990. "description": "商品名称",
  24991. "type": "string"
  24992. },
  24993. "goodsquotetype": {
  24994. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24995. "type": "integer"
  24996. },
  24997. "goodsstatus": {
  24998. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24999. "type": "integer"
  25000. },
  25001. "goodstradetype": {
  25002. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25003. "type": "integer"
  25004. },
  25005. "goodunitid": {
  25006. "description": "报价单位ID",
  25007. "type": "integer"
  25008. },
  25009. "hasquoter": {
  25010. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25011. "type": "integer"
  25012. },
  25013. "hqprotecttime": {
  25014. "description": "行情保护时间(秒)",
  25015. "type": "integer"
  25016. },
  25017. "innerdealmode": {
  25018. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25019. "type": "integer"
  25020. },
  25021. "isbuylimited": {
  25022. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25023. "type": "integer"
  25024. },
  25025. "isvisible": {
  25026. "description": "游客是否可见 - 0:不可见 1:可见",
  25027. "type": "integer"
  25028. },
  25029. "lasttradedate": {
  25030. "description": "最后交易日期(状态:待退市)",
  25031. "type": "string"
  25032. },
  25033. "listingdate": {
  25034. "description": "交易开始日期",
  25035. "type": "string"
  25036. },
  25037. "marketid": {
  25038. "description": "所属市场ID",
  25039. "type": "integer"
  25040. },
  25041. "modifierid": {
  25042. "description": "修改人",
  25043. "type": "integer"
  25044. },
  25045. "modifystatus": {
  25046. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25047. "type": "integer"
  25048. },
  25049. "modifytime": {
  25050. "description": "修改时间",
  25051. "type": "string"
  25052. },
  25053. "outerdealmode": {
  25054. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25055. "type": "integer"
  25056. },
  25057. "outgoodscode": {
  25058. "description": "商品代码(外部)",
  25059. "type": "string"
  25060. },
  25061. "pictureurl": {
  25062. "description": "商品图片",
  25063. "type": "string"
  25064. },
  25065. "qtydecimalplace": {
  25066. "description": "成交量小数位",
  25067. "type": "integer"
  25068. },
  25069. "quotegear": {
  25070. "description": "行情档位(1-10)",
  25071. "type": "integer"
  25072. },
  25073. "quoteminunit": {
  25074. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25075. "type": "integer"
  25076. },
  25077. "quoteshowtype": {
  25078. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25079. "type": "integer"
  25080. },
  25081. "quoteshowtypeinterval": {
  25082. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25083. "type": "integer"
  25084. },
  25085. "remark": {
  25086. "description": "备注",
  25087. "type": "string"
  25088. }
  25089. }
  25090. },
  25091. "models.GoodsIDAndName": {
  25092. "type": "object",
  25093. "required": [
  25094. "goodscode",
  25095. "goodsid",
  25096. "goodsname",
  25097. "marketid"
  25098. ],
  25099. "properties": {
  25100. "goodscode": {
  25101. "description": "商品代码(内部)",
  25102. "type": "string"
  25103. },
  25104. "goodsid": {
  25105. "description": "商品ID(自增ID SEQ_GOODS)",
  25106. "type": "integer"
  25107. },
  25108. "goodsname": {
  25109. "description": "商品名称",
  25110. "type": "string"
  25111. },
  25112. "marketid": {
  25113. "description": "所属市场ID",
  25114. "type": "integer"
  25115. }
  25116. }
  25117. },
  25118. "models.Goodsgroup": {
  25119. "type": "object",
  25120. "required": [
  25121. "goodsgroupid",
  25122. "goodsgroupname",
  25123. "goodsgroupstatus",
  25124. "marketid"
  25125. ],
  25126. "properties": {
  25127. "agreeunit": {
  25128. "description": "合约单位",
  25129. "type": "number"
  25130. },
  25131. "canshort": {
  25132. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25133. "type": "integer"
  25134. },
  25135. "closepricemode": {
  25136. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25137. "type": "integer"
  25138. },
  25139. "closepriceparam": {
  25140. "description": "强平最新价浮动比例 - 方式为2时使用",
  25141. "type": "number"
  25142. },
  25143. "createtime": {
  25144. "description": "创建时间",
  25145. "type": "string"
  25146. },
  25147. "creatorid": {
  25148. "description": "创建人",
  25149. "type": "integer"
  25150. },
  25151. "currencyid": {
  25152. "description": "报价货币ID",
  25153. "type": "integer"
  25154. },
  25155. "decimalplace": {
  25156. "description": "报价小数位",
  25157. "type": "integer"
  25158. },
  25159. "exercisetype": {
  25160. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25161. "type": "integer"
  25162. },
  25163. "exexchangeid": {
  25164. "description": "外部交易所ID[通道交易]",
  25165. "type": "integer"
  25166. },
  25167. "goodsgroupid": {
  25168. "description": "商品组ID(自增ID)",
  25169. "type": "integer"
  25170. },
  25171. "goodsgroupname": {
  25172. "description": "商品组名称",
  25173. "type": "string"
  25174. },
  25175. "goodsgroupstatus": {
  25176. "description": "商品组状态 - 1:正常 2:注销",
  25177. "type": "integer"
  25178. },
  25179. "goodunitid": {
  25180. "description": "报价单位ID",
  25181. "type": "integer"
  25182. },
  25183. "innerdealmode": {
  25184. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25185. "type": "integer"
  25186. },
  25187. "isbuylimited": {
  25188. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25189. "type": "integer"
  25190. },
  25191. "marketid": {
  25192. "description": "所属市场ID",
  25193. "type": "integer"
  25194. },
  25195. "modifierid": {
  25196. "description": "修改人",
  25197. "type": "integer"
  25198. },
  25199. "modifytime": {
  25200. "description": "修改时间",
  25201. "type": "string"
  25202. },
  25203. "outerdealmode": {
  25204. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25205. "type": "integer"
  25206. },
  25207. "outergroupcode": {
  25208. "description": "外部商品组代码[通道交易]",
  25209. "type": "string"
  25210. },
  25211. "premiumdecimalplace": {
  25212. "description": "权利金小数位[场外期权]",
  25213. "type": "integer"
  25214. },
  25215. "premiumspreadalgorithm": {
  25216. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25217. "type": "integer"
  25218. },
  25219. "premiumspreadvalue": {
  25220. "description": "权利金点差值[场外期权]",
  25221. "type": "number"
  25222. },
  25223. "qtydecimalplace": {
  25224. "description": "成交量小数位",
  25225. "type": "integer"
  25226. },
  25227. "quotegear": {
  25228. "description": "行情档位(1-10)",
  25229. "type": "integer"
  25230. },
  25231. "quoteminunit": {
  25232. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25233. "type": "integer"
  25234. },
  25235. "quoterid": {
  25236. "description": "报价商ID[场外期权]",
  25237. "type": "integer"
  25238. },
  25239. "quotesourcegroupid": {
  25240. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25241. "type": "integer"
  25242. },
  25243. "syncgoodsqty": {
  25244. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25245. "type": "integer"
  25246. }
  25247. }
  25248. },
  25249. "models.Goodssortbypreposition": {
  25250. "type": "object",
  25251. "required": [
  25252. "goodscode",
  25253. "tradedate"
  25254. ],
  25255. "properties": {
  25256. "goodscode": {
  25257. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25258. "type": "string"
  25259. },
  25260. "goodsgroupcode": {
  25261. "description": "品种代码",
  25262. "type": "string"
  25263. },
  25264. "prepositionqty": {
  25265. "description": "昨持仓量",
  25266. "type": "integer"
  25267. },
  25268. "sortindex": {
  25269. "description": "排序",
  25270. "type": "integer"
  25271. },
  25272. "tradedate": {
  25273. "description": "交易日",
  25274. "type": "string"
  25275. },
  25276. "updatetime": {
  25277. "description": "更新时间",
  25278. "type": "string"
  25279. }
  25280. }
  25281. },
  25282. "models.Hedgeinnerholderdetail": {
  25283. "type": "object",
  25284. "required": [
  25285. "buyorsell",
  25286. "tradeid"
  25287. ],
  25288. "properties": {
  25289. "accountid": {
  25290. "description": "账号ID",
  25291. "type": "integer"
  25292. },
  25293. "buyorsell": {
  25294. "description": "方向 - 0:买 1:卖",
  25295. "type": "integer"
  25296. },
  25297. "freezeqty": {
  25298. "description": "冻结数量 - 按单平使用",
  25299. "type": "integer"
  25300. },
  25301. "goodsid": {
  25302. "description": "商品ID",
  25303. "type": "integer"
  25304. },
  25305. "holderamount": {
  25306. "description": "持仓金额 [商品币种]",
  25307. "type": "number"
  25308. },
  25309. "holderdays": {
  25310. "description": "剩余冻结天数",
  25311. "type": "integer"
  25312. },
  25313. "holderprice": {
  25314. "description": "持仓价格",
  25315. "type": "number"
  25316. },
  25317. "holderqty": {
  25318. "description": "持仓数量",
  25319. "type": "integer"
  25320. },
  25321. "marketid": {
  25322. "description": "市场ID",
  25323. "type": "integer"
  25324. },
  25325. "openprice": {
  25326. "description": "建仓价格",
  25327. "type": "number"
  25328. },
  25329. "openqty": {
  25330. "description": "建仓数量",
  25331. "type": "integer"
  25332. },
  25333. "parentaccountid": {
  25334. "description": "所属母账户",
  25335. "type": "integer"
  25336. },
  25337. "releaseamount": {
  25338. "description": "释放持仓金额[商品币种]",
  25339. "type": "number"
  25340. },
  25341. "tradeamount": {
  25342. "description": "成交金额[账户]",
  25343. "type": "number"
  25344. },
  25345. "tradedate": {
  25346. "description": "交易日(yyyyMMdd)",
  25347. "type": "string"
  25348. },
  25349. "tradeid": {
  25350. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25351. "type": "string"
  25352. },
  25353. "tradetime": {
  25354. "description": "交易时间",
  25355. "type": "string"
  25356. }
  25357. }
  25358. },
  25359. "models.Hedgemarketopenlog": {
  25360. "type": "object",
  25361. "required": [
  25362. "accountid"
  25363. ],
  25364. "properties": {
  25365. "accountid": {
  25366. "description": "资金账号[外部母账户]",
  25367. "type": "integer"
  25368. },
  25369. "fcname": {
  25370. "description": "期货公司名称",
  25371. "type": "string"
  25372. },
  25373. "handlestatus": {
  25374. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25375. "type": "integer"
  25376. },
  25377. "marketid": {
  25378. "description": "市场ID",
  25379. "type": "integer"
  25380. },
  25381. "status": {
  25382. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25383. "type": "integer"
  25384. },
  25385. "tradedate": {
  25386. "description": "交易日(yyyyMMdd)",
  25387. "type": "string"
  25388. },
  25389. "updatetime": {
  25390. "description": "更新时间",
  25391. "type": "string"
  25392. }
  25393. }
  25394. },
  25395. "models.HsbyBuyMyPayOrder": {
  25396. "type": "object",
  25397. "required": [
  25398. "goodscode",
  25399. "goodsname",
  25400. "tradeid",
  25401. "trademode"
  25402. ],
  25403. "properties": {
  25404. "agreeunit": {
  25405. "description": "合约单位",
  25406. "type": "number"
  25407. },
  25408. "buyaccountid": {
  25409. "description": "买方账号ID[报价币种]",
  25410. "type": "integer"
  25411. },
  25412. "buyorderid": {
  25413. "description": "买方委托单号",
  25414. "type": "string"
  25415. },
  25416. "createtime": {
  25417. "description": "创建时间",
  25418. "type": "string"
  25419. },
  25420. "currencysign": {
  25421. "description": "货币符号",
  25422. "type": "string"
  25423. },
  25424. "decimalplace": {
  25425. "description": "报价小数位",
  25426. "type": "integer"
  25427. },
  25428. "goodscode": {
  25429. "description": "商品代码(内部)",
  25430. "type": "string"
  25431. },
  25432. "goodsid": {
  25433. "description": "商品ID",
  25434. "type": "integer"
  25435. },
  25436. "goodsname": {
  25437. "description": "商品名称",
  25438. "type": "string"
  25439. },
  25440. "marketid": {
  25441. "description": "市场ID",
  25442. "type": "integer"
  25443. },
  25444. "offamount": {
  25445. "description": "优惠金额",
  25446. "type": "number"
  25447. },
  25448. "originalamount": {
  25449. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25450. "type": "number"
  25451. },
  25452. "payamount": {
  25453. "description": "支付金额 = TradeAmount + TradeCharge",
  25454. "type": "number"
  25455. },
  25456. "payflag": {
  25457. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25458. "type": "integer"
  25459. },
  25460. "paylimitedtime": {
  25461. "description": "支付期限",
  25462. "type": "string"
  25463. },
  25464. "paytime": {
  25465. "description": "付款时间",
  25466. "type": "string"
  25467. },
  25468. "picurls1": {
  25469. "description": "预售商品介绍图片[多张用逗号分隔]",
  25470. "type": "string"
  25471. },
  25472. "picurls2": {
  25473. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25474. "type": "string"
  25475. },
  25476. "sellaccountid": {
  25477. "description": "卖方账号ID[报价币种]",
  25478. "type": "integer"
  25479. },
  25480. "sellorderid": {
  25481. "description": "卖方委托单号",
  25482. "type": "string"
  25483. },
  25484. "tradeamount": {
  25485. "description": "成交金额",
  25486. "type": "number"
  25487. },
  25488. "tradecharge": {
  25489. "description": "成交手续费(买方)",
  25490. "type": "number"
  25491. },
  25492. "tradedate": {
  25493. "description": "交易日(yyyyMMdd)",
  25494. "type": "string"
  25495. },
  25496. "tradeid": {
  25497. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25498. "type": "string"
  25499. },
  25500. "trademode": {
  25501. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25502. "type": "integer"
  25503. },
  25504. "tradeprice": {
  25505. "description": "成交价格",
  25506. "type": "number"
  25507. },
  25508. "tradeqty": {
  25509. "description": "成交数量",
  25510. "type": "integer"
  25511. },
  25512. "vendorname1": {
  25513. "description": "预售商品供应商名称",
  25514. "type": "string"
  25515. },
  25516. "vendorname2": {
  25517. "description": "挂牌商品供应商名称",
  25518. "type": "string"
  25519. }
  25520. }
  25521. },
  25522. "models.HsbyBuyMyTradeDetail": {
  25523. "type": "object",
  25524. "required": [
  25525. "accountid",
  25526. "buyorsell",
  25527. "goodscode",
  25528. "goodsid",
  25529. "goodsname",
  25530. "marketid",
  25531. "orderid",
  25532. "qty",
  25533. "time",
  25534. "trademode"
  25535. ],
  25536. "properties": {
  25537. "accountid": {
  25538. "description": "账户ID[报价币种]",
  25539. "type": "integer"
  25540. },
  25541. "agreeunit": {
  25542. "description": "合约单位",
  25543. "type": "number"
  25544. },
  25545. "amount": {
  25546. "description": "金额 = 价格 * 数量 * 合约单位",
  25547. "type": "number"
  25548. },
  25549. "buyorsell": {
  25550. "description": "买卖 - 0:买 1:卖",
  25551. "type": "integer"
  25552. },
  25553. "currencysign": {
  25554. "description": "货币符号",
  25555. "type": "string"
  25556. },
  25557. "decimalplace": {
  25558. "description": "报价小数位",
  25559. "type": "integer"
  25560. },
  25561. "goodscode": {
  25562. "description": "商品代码(内部)",
  25563. "type": "string"
  25564. },
  25565. "goodsid": {
  25566. "description": "商品ID",
  25567. "type": "integer"
  25568. },
  25569. "goodsname": {
  25570. "description": "商品名称",
  25571. "type": "string"
  25572. },
  25573. "marketid": {
  25574. "description": "市场ID",
  25575. "type": "integer"
  25576. },
  25577. "orderamount": {
  25578. "description": "委托金额",
  25579. "type": "number"
  25580. },
  25581. "orderid": {
  25582. "description": "单号(成交单号)",
  25583. "type": "string"
  25584. },
  25585. "picurls1": {
  25586. "description": "预售商品介绍图片[多张用逗号分隔]",
  25587. "type": "string"
  25588. },
  25589. "picurls2": {
  25590. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25591. "type": "string"
  25592. },
  25593. "price": {
  25594. "description": "价格",
  25595. "type": "number"
  25596. },
  25597. "qty": {
  25598. "description": "数量",
  25599. "type": "integer"
  25600. },
  25601. "time": {
  25602. "description": "时间",
  25603. "type": "string"
  25604. },
  25605. "trademode": {
  25606. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25607. "type": "integer"
  25608. },
  25609. "vendorname1": {
  25610. "description": "预售商品供应商名称",
  25611. "type": "string"
  25612. },
  25613. "vendorname2": {
  25614. "description": "挂牌商品供应商名称",
  25615. "type": "string"
  25616. }
  25617. }
  25618. },
  25619. "models.HsbyGoodsOrderDetail": {
  25620. "type": "object",
  25621. "required": [
  25622. "buyorsell",
  25623. "orderid",
  25624. "ordertime"
  25625. ],
  25626. "properties": {
  25627. "buyorsell": {
  25628. "description": "买卖 - 0:买 1:卖",
  25629. "type": "integer"
  25630. },
  25631. "currencysign": {
  25632. "description": "货币符号",
  25633. "type": "string"
  25634. },
  25635. "customername": {
  25636. "description": "客户名称(企业名称),已脱敏",
  25637. "type": "string"
  25638. },
  25639. "enableqty": {
  25640. "description": "可用数量",
  25641. "type": "integer"
  25642. },
  25643. "goodunit": {
  25644. "description": "报价单位",
  25645. "type": "string"
  25646. },
  25647. "orderid": {
  25648. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25649. "type": "string"
  25650. },
  25651. "orderprice": {
  25652. "description": "委托价格",
  25653. "type": "number"
  25654. },
  25655. "ordertime": {
  25656. "description": "委托时间",
  25657. "type": "string"
  25658. }
  25659. }
  25660. },
  25661. "models.HsbyListingGoodsDetail": {
  25662. "type": "object",
  25663. "required": [
  25664. "goodscode",
  25665. "goodsid",
  25666. "goodsname",
  25667. "marketid",
  25668. "trademode"
  25669. ],
  25670. "properties": {
  25671. "agreeunit": {
  25672. "description": "合约单位",
  25673. "type": "number"
  25674. },
  25675. "buymaxqty": {
  25676. "description": "购买上限 [71] - 0为不限",
  25677. "type": "integer"
  25678. },
  25679. "currency": {
  25680. "description": "货币",
  25681. "type": "string"
  25682. },
  25683. "currencysign": {
  25684. "description": "货币符号",
  25685. "type": "string"
  25686. },
  25687. "decimalplace": {
  25688. "description": "报价小数位",
  25689. "type": "integer"
  25690. },
  25691. "desccityid": {
  25692. "description": "目的地(市)ID",
  25693. "type": "integer"
  25694. },
  25695. "descprovinceid": {
  25696. "description": "目的地(省)ID",
  25697. "type": "integer"
  25698. },
  25699. "goodscode": {
  25700. "description": "商品代码(内部)",
  25701. "type": "string"
  25702. },
  25703. "goodsdesc": {
  25704. "description": "商品详情",
  25705. "type": "string"
  25706. },
  25707. "goodsid": {
  25708. "description": "商品ID(自增ID SEQ_GOODS)",
  25709. "type": "integer"
  25710. },
  25711. "goodsname": {
  25712. "description": "商品名称",
  25713. "type": "string"
  25714. },
  25715. "goodsprice": {
  25716. "description": "商品价格",
  25717. "type": "number"
  25718. },
  25719. "hotindex": {
  25720. "description": "景点热度",
  25721. "type": "integer"
  25722. },
  25723. "last": {
  25724. "description": "现价",
  25725. "type": "number"
  25726. },
  25727. "limitdown": {
  25728. "description": "跌停价",
  25729. "type": "number"
  25730. },
  25731. "limitup": {
  25732. "description": "涨停价",
  25733. "type": "number"
  25734. },
  25735. "lotsize": {
  25736. "description": "手数最小变动单位",
  25737. "type": "integer"
  25738. },
  25739. "marketid": {
  25740. "description": "所属市场ID",
  25741. "type": "integer"
  25742. },
  25743. "picurls": {
  25744. "description": "介绍图片[多张用逗号分隔]",
  25745. "type": "string"
  25746. },
  25747. "quoteminunit": {
  25748. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25749. "type": "integer"
  25750. },
  25751. "stepvalue": {
  25752. "description": "价格最小变动单位",
  25753. "type": "number"
  25754. },
  25755. "trademode": {
  25756. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25757. "type": "integer"
  25758. },
  25759. "vendorattr": {
  25760. "description": "供应商附件(多张,逗号分隔)",
  25761. "type": "string"
  25762. },
  25763. "vendorname": {
  25764. "description": "供应商名称",
  25765. "type": "string"
  25766. },
  25767. "vendorphone": {
  25768. "description": "供应商客服电话",
  25769. "type": "string"
  25770. },
  25771. "videourls": {
  25772. "description": "介绍视频[多张用逗号分隔]",
  25773. "type": "string"
  25774. }
  25775. }
  25776. },
  25777. "models.HsbyMarketGoods": {
  25778. "type": "object",
  25779. "required": [
  25780. "accountid",
  25781. "buyorsell",
  25782. "goodscode",
  25783. "goodsid",
  25784. "goodsname",
  25785. "marketid",
  25786. "orderid",
  25787. "trademode"
  25788. ],
  25789. "properties": {
  25790. "accountid": {
  25791. "description": "账户ID[报价币种]",
  25792. "type": "integer"
  25793. },
  25794. "agreeunit": {
  25795. "description": "合约单位",
  25796. "type": "number"
  25797. },
  25798. "buyorsell": {
  25799. "description": "买卖 - 0:买 1:卖",
  25800. "type": "integer"
  25801. },
  25802. "categoryid": {
  25803. "description": "类别ID(WRCATEGORY)",
  25804. "type": "integer"
  25805. },
  25806. "currency": {
  25807. "description": "货币",
  25808. "type": "string"
  25809. },
  25810. "currencysign": {
  25811. "description": "货币符号",
  25812. "type": "string"
  25813. },
  25814. "customername": {
  25815. "description": "卖家名称",
  25816. "type": "string"
  25817. },
  25818. "decimalplace": {
  25819. "description": "报价小数位",
  25820. "type": "integer"
  25821. },
  25822. "goodscode": {
  25823. "description": "商品代码(内部)",
  25824. "type": "string"
  25825. },
  25826. "goodsid": {
  25827. "description": "商品ID",
  25828. "type": "integer"
  25829. },
  25830. "goodsname": {
  25831. "description": "商品名称",
  25832. "type": "string"
  25833. },
  25834. "goodsprice": {
  25835. "description": "商品价格",
  25836. "type": "number"
  25837. },
  25838. "hascoupon": {
  25839. "description": "是否可用优惠卷",
  25840. "type": "boolean"
  25841. },
  25842. "hotindex": {
  25843. "description": "景点热度",
  25844. "type": "integer"
  25845. },
  25846. "marketid": {
  25847. "description": "市场ID",
  25848. "type": "integer"
  25849. },
  25850. "orderid": {
  25851. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25852. "type": "string"
  25853. },
  25854. "orderprice": {
  25855. "description": "委托价格",
  25856. "type": "number"
  25857. },
  25858. "orderstatus": {
  25859. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25860. "type": "integer"
  25861. },
  25862. "picurls": {
  25863. "description": "介绍图片[多张用逗号分隔]",
  25864. "type": "string"
  25865. },
  25866. "quoteminunit": {
  25867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25868. "type": "integer"
  25869. },
  25870. "sellUserID": {
  25871. "description": "卖方UserID",
  25872. "type": "integer"
  25873. },
  25874. "trademode": {
  25875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25876. "type": "integer"
  25877. },
  25878. "videourls": {
  25879. "description": "介绍视频[多张用逗号分隔]",
  25880. "type": "string"
  25881. }
  25882. }
  25883. },
  25884. "models.HsbyMarketGoodsDetail": {
  25885. "type": "object",
  25886. "required": [
  25887. "accountid",
  25888. "buyorsell",
  25889. "goodscode",
  25890. "goodsid",
  25891. "goodsname",
  25892. "marketid",
  25893. "orderid",
  25894. "orderqty",
  25895. "trademode"
  25896. ],
  25897. "properties": {
  25898. "accountid": {
  25899. "description": "账户ID[报价币种]",
  25900. "type": "integer"
  25901. },
  25902. "agreeunit": {
  25903. "description": "合约单位",
  25904. "type": "number"
  25905. },
  25906. "buymaxqty": {
  25907. "description": "购买上限 [71] - 0为不限",
  25908. "type": "integer"
  25909. },
  25910. "buyorsell": {
  25911. "description": "买卖 - 0:买 1:卖",
  25912. "type": "integer"
  25913. },
  25914. "cancelqty": {
  25915. "description": "撤单数量",
  25916. "type": "integer"
  25917. },
  25918. "categoryid": {
  25919. "description": "类别ID(WRCATEGORY)",
  25920. "type": "integer"
  25921. },
  25922. "currency": {
  25923. "description": "货币",
  25924. "type": "string"
  25925. },
  25926. "currencysign": {
  25927. "description": "货币符号",
  25928. "type": "string"
  25929. },
  25930. "customername": {
  25931. "description": "卖家名称",
  25932. "type": "string"
  25933. },
  25934. "decimalplace": {
  25935. "description": "报价小数位",
  25936. "type": "integer"
  25937. },
  25938. "goodscode": {
  25939. "description": "商品代码(内部)",
  25940. "type": "string"
  25941. },
  25942. "goodsdesc": {
  25943. "description": "商品详情",
  25944. "type": "string"
  25945. },
  25946. "goodsid": {
  25947. "description": "商品ID",
  25948. "type": "integer"
  25949. },
  25950. "goodsname": {
  25951. "description": "商品名称",
  25952. "type": "string"
  25953. },
  25954. "goodsprice": {
  25955. "description": "商品价格",
  25956. "type": "number"
  25957. },
  25958. "hotindex": {
  25959. "description": "景点热度",
  25960. "type": "integer"
  25961. },
  25962. "lotsize": {
  25963. "description": "手数最小变动单位",
  25964. "type": "integer"
  25965. },
  25966. "marketid": {
  25967. "description": "市场ID",
  25968. "type": "integer"
  25969. },
  25970. "orderid": {
  25971. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25972. "type": "string"
  25973. },
  25974. "orderprice": {
  25975. "description": "委托价格",
  25976. "type": "number"
  25977. },
  25978. "orderqty": {
  25979. "description": "委托数量",
  25980. "type": "integer"
  25981. },
  25982. "orderstatus": {
  25983. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25984. "type": "integer"
  25985. },
  25986. "picurls": {
  25987. "description": "介绍图片[多张用逗号分隔]",
  25988. "type": "string"
  25989. },
  25990. "quoteminunit": {
  25991. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25992. "type": "integer"
  25993. },
  25994. "sellUserID": {
  25995. "description": "卖方UserID",
  25996. "type": "integer"
  25997. },
  25998. "trademode": {
  25999. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26000. "type": "integer"
  26001. },
  26002. "tradeqty": {
  26003. "description": "成交数量",
  26004. "type": "integer"
  26005. },
  26006. "vendorattr": {
  26007. "description": "供应商附件(多张,逗号分隔)",
  26008. "type": "string"
  26009. },
  26010. "vendorname": {
  26011. "description": "供应商名称",
  26012. "type": "string"
  26013. },
  26014. "vendorphone": {
  26015. "description": "供应商客服电话",
  26016. "type": "string"
  26017. },
  26018. "videourls": {
  26019. "description": "介绍视频[多张用逗号分隔]",
  26020. "type": "string"
  26021. }
  26022. }
  26023. },
  26024. "models.HsbyMarketInfo": {
  26025. "type": "object",
  26026. "required": [
  26027. "marketid",
  26028. "marketstatus",
  26029. "trademode"
  26030. ],
  26031. "properties": {
  26032. "marketid": {
  26033. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26034. "type": "integer"
  26035. },
  26036. "marketname": {
  26037. "description": "市场名称",
  26038. "type": "string"
  26039. },
  26040. "marketstatus": {
  26041. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26042. "type": "integer"
  26043. },
  26044. "trademode": {
  26045. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26046. "type": "integer"
  26047. }
  26048. }
  26049. },
  26050. "models.HsbyMyGoods": {
  26051. "type": "object",
  26052. "required": [
  26053. "accountid",
  26054. "goodscode",
  26055. "goodsid",
  26056. "goodsname",
  26057. "marketid",
  26058. "trademode"
  26059. ],
  26060. "properties": {
  26061. "accountid": {
  26062. "description": "账号Id",
  26063. "type": "integer"
  26064. },
  26065. "agreeunit": {
  26066. "description": "合约单位",
  26067. "type": "number"
  26068. },
  26069. "buyaverageprice": {
  26070. "description": "持仓均价",
  26071. "type": "number"
  26072. },
  26073. "buycurholderamount": {
  26074. "description": "买当前持仓总金额[商品币种]",
  26075. "type": "number"
  26076. },
  26077. "buycurpositionqty": {
  26078. "description": "买当前持仓总数量",
  26079. "type": "integer"
  26080. },
  26081. "buymaxqty": {
  26082. "description": "购买上限 [71] - 0为不限",
  26083. "type": "integer"
  26084. },
  26085. "currencysign": {
  26086. "description": "货币符号",
  26087. "type": "string"
  26088. },
  26089. "decimalplace": {
  26090. "description": "报价小数位",
  26091. "type": "integer"
  26092. },
  26093. "enableqty": {
  26094. "description": "可用数量",
  26095. "type": "integer"
  26096. },
  26097. "goodscode": {
  26098. "description": "商品代码(内部)",
  26099. "type": "string"
  26100. },
  26101. "goodsid": {
  26102. "description": "商品Id",
  26103. "type": "integer"
  26104. },
  26105. "goodsname": {
  26106. "description": "商品名称",
  26107. "type": "string"
  26108. },
  26109. "goodsprice": {
  26110. "description": "商品价格",
  26111. "type": "number"
  26112. },
  26113. "goodsstatus": {
  26114. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26115. "type": "integer"
  26116. },
  26117. "last": {
  26118. "description": "现价(仅使用于挂牌点选)",
  26119. "type": "number"
  26120. },
  26121. "limitdown": {
  26122. "description": "跌停价(仅使用于挂牌点选)",
  26123. "type": "number"
  26124. },
  26125. "limitup": {
  26126. "description": "涨停价(仅使用于挂牌点选)",
  26127. "type": "number"
  26128. },
  26129. "lotsize": {
  26130. "description": "手数最小变动单位",
  26131. "type": "integer"
  26132. },
  26133. "marketid": {
  26134. "description": "所属市场ID",
  26135. "type": "integer"
  26136. },
  26137. "picurls": {
  26138. "description": "介绍图片[多张用逗号分隔]",
  26139. "type": "string"
  26140. },
  26141. "quoteminunit": {
  26142. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26143. "type": "integer"
  26144. },
  26145. "stepvalue": {
  26146. "description": "价格最小变动单位",
  26147. "type": "number"
  26148. },
  26149. "trademode": {
  26150. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26151. "type": "integer"
  26152. }
  26153. }
  26154. },
  26155. "models.HsbyMyPackage": {
  26156. "type": "object",
  26157. "required": [
  26158. "goodscode",
  26159. "goodsname",
  26160. "takeorderid",
  26161. "trademode"
  26162. ],
  26163. "properties": {
  26164. "accountid": {
  26165. "description": "账户ID",
  26166. "type": "integer"
  26167. },
  26168. "address": {
  26169. "description": "提货人详细地址",
  26170. "type": "string"
  26171. },
  26172. "agreeunit": {
  26173. "description": "合约单位",
  26174. "type": "number"
  26175. },
  26176. "amount": {
  26177. "description": "提货金额",
  26178. "type": "number"
  26179. },
  26180. "auditer": {
  26181. "description": "审核人",
  26182. "type": "integer"
  26183. },
  26184. "audittime": {
  26185. "description": "审核时间",
  26186. "type": "string"
  26187. },
  26188. "averageprice": {
  26189. "description": "均价",
  26190. "type": "number"
  26191. },
  26192. "cardnum": {
  26193. "description": "提货人证件号码",
  26194. "type": "string"
  26195. },
  26196. "cardtypeid": {
  26197. "description": "提货人证件类型",
  26198. "type": "integer"
  26199. },
  26200. "checkremark": {
  26201. "description": "审核备注",
  26202. "type": "string"
  26203. },
  26204. "currencysign": {
  26205. "description": "货币符号",
  26206. "type": "string"
  26207. },
  26208. "decimalplace": {
  26209. "description": "报价小数位",
  26210. "type": "integer"
  26211. },
  26212. "goodscode": {
  26213. "description": "商品代码(内部)",
  26214. "type": "string"
  26215. },
  26216. "goodsid": {
  26217. "description": "商品ID",
  26218. "type": "integer"
  26219. },
  26220. "goodsname": {
  26221. "description": "商品名称",
  26222. "type": "string"
  26223. },
  26224. "handlestatus": {
  26225. "description": "处理状态",
  26226. "type": "integer"
  26227. },
  26228. "marketid": {
  26229. "description": "市场ID",
  26230. "type": "integer"
  26231. },
  26232. "phonenum": {
  26233. "description": "提货人联系方式",
  26234. "type": "string"
  26235. },
  26236. "picurls": {
  26237. "description": "介绍图片[多张用逗号分隔]",
  26238. "type": "string"
  26239. },
  26240. "qty": {
  26241. "description": "提货数量",
  26242. "type": "number"
  26243. },
  26244. "recivername": {
  26245. "description": "提货人姓名",
  26246. "type": "string"
  26247. },
  26248. "reqtime": {
  26249. "description": "更新时间",
  26250. "type": "string"
  26251. },
  26252. "takemode": {
  26253. "description": "提货方式 - 2:自提 3:配送",
  26254. "type": "integer"
  26255. },
  26256. "takeorderid": {
  26257. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26258. "type": "string"
  26259. },
  26260. "takeorderstatus": {
  26261. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26262. "type": "integer"
  26263. },
  26264. "takeremark": {
  26265. "description": "提货备注",
  26266. "type": "string"
  26267. },
  26268. "tradedate": {
  26269. "description": "交易日(yyyyMMdd)",
  26270. "type": "string"
  26271. },
  26272. "trademode": {
  26273. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26274. "type": "integer"
  26275. },
  26276. "userid": {
  26277. "description": "用户ID",
  26278. "type": "integer"
  26279. },
  26280. "vendorname": {
  26281. "description": "供应商名称",
  26282. "type": "string"
  26283. }
  26284. }
  26285. },
  26286. "models.HsbyPreGoods": {
  26287. "type": "object",
  26288. "required": [
  26289. "goodscode",
  26290. "goodsid",
  26291. "goodsname",
  26292. "marketid",
  26293. "trademode"
  26294. ],
  26295. "properties": {
  26296. "agreeunit": {
  26297. "description": "合约单位",
  26298. "type": "number"
  26299. },
  26300. "currency": {
  26301. "description": "货币",
  26302. "type": "string"
  26303. },
  26304. "currencysign": {
  26305. "description": "货币符号",
  26306. "type": "string"
  26307. },
  26308. "decimalplace": {
  26309. "description": "报价小数位",
  26310. "type": "integer"
  26311. },
  26312. "desccityid": {
  26313. "description": "目的地(市)",
  26314. "type": "integer"
  26315. },
  26316. "descprovinceid": {
  26317. "description": "目的地(省)",
  26318. "type": "integer"
  26319. },
  26320. "enableqty": {
  26321. "description": "剩余数量",
  26322. "type": "integer"
  26323. },
  26324. "goodscode": {
  26325. "description": "商品代码(内部)",
  26326. "type": "string"
  26327. },
  26328. "goodsid": {
  26329. "description": "商品ID(自增ID SEQ_GOODS)",
  26330. "type": "integer"
  26331. },
  26332. "goodsname": {
  26333. "description": "商品名称",
  26334. "type": "string"
  26335. },
  26336. "goodsstatus": {
  26337. "description": "商品状态- 2:未上市 3:上市",
  26338. "type": "integer"
  26339. },
  26340. "lasttradedate": {
  26341. "description": "最后交易日期(状态:待退市)",
  26342. "type": "string"
  26343. },
  26344. "listingdate": {
  26345. "description": "交易开始日期",
  26346. "type": "string"
  26347. },
  26348. "marketid": {
  26349. "description": "所属市场ID",
  26350. "type": "integer"
  26351. },
  26352. "picurls": {
  26353. "description": "介绍图片[多张用逗号分隔]",
  26354. "type": "string"
  26355. },
  26356. "presaledqty": {
  26357. "description": "已预售量(预售结束时更新)",
  26358. "type": "integer"
  26359. },
  26360. "presaleqty": {
  26361. "description": "预售数量",
  26362. "type": "integer"
  26363. },
  26364. "quoteminunit": {
  26365. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26366. "type": "integer"
  26367. },
  26368. "refprice": {
  26369. "description": "参考价格[一口价]",
  26370. "type": "number"
  26371. },
  26372. "relatedgoodsid": {
  26373. "description": "关联交易合约ID",
  26374. "type": "integer"
  26375. },
  26376. "trademode": {
  26377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26378. "type": "integer"
  26379. },
  26380. "videourls": {
  26381. "description": "介绍视频[多张用逗号分隔]",
  26382. "type": "string"
  26383. }
  26384. }
  26385. },
  26386. "models.HsbyPreGoodsDetail": {
  26387. "type": "object",
  26388. "required": [
  26389. "goodscode",
  26390. "goodsid",
  26391. "goodsname",
  26392. "marketid",
  26393. "trademode"
  26394. ],
  26395. "properties": {
  26396. "agreeunit": {
  26397. "description": "合约单位",
  26398. "type": "number"
  26399. },
  26400. "buymaxqty": {
  26401. "description": "购买上限 [71] - 0为不限",
  26402. "type": "integer"
  26403. },
  26404. "currency": {
  26405. "description": "货币",
  26406. "type": "string"
  26407. },
  26408. "currencysign": {
  26409. "description": "货币符号",
  26410. "type": "string"
  26411. },
  26412. "customername": {
  26413. "description": "发行单位",
  26414. "type": "string"
  26415. },
  26416. "decimalplace": {
  26417. "description": "报价小数位",
  26418. "type": "integer"
  26419. },
  26420. "desccityid": {
  26421. "description": "目的地(市)ID",
  26422. "type": "integer"
  26423. },
  26424. "descprovinceid": {
  26425. "description": "目的地(省)ID",
  26426. "type": "integer"
  26427. },
  26428. "enableqty": {
  26429. "description": "剩余数量",
  26430. "type": "integer"
  26431. },
  26432. "goodscode": {
  26433. "description": "商品代码(内部)",
  26434. "type": "string"
  26435. },
  26436. "goodsdesc": {
  26437. "description": "商品详情",
  26438. "type": "string"
  26439. },
  26440. "goodsid": {
  26441. "description": "商品ID(自增ID SEQ_GOODS)",
  26442. "type": "integer"
  26443. },
  26444. "goodsname": {
  26445. "description": "商品名称",
  26446. "type": "string"
  26447. },
  26448. "goodsstatus": {
  26449. "description": "商品状态- 2:未上市 3:上市",
  26450. "type": "integer"
  26451. },
  26452. "goodunit": {
  26453. "description": "报价单位",
  26454. "type": "string"
  26455. },
  26456. "lasttradedate": {
  26457. "description": "最后交易日期(状态:待退市)",
  26458. "type": "string"
  26459. },
  26460. "listingdate": {
  26461. "description": "交易开始日期",
  26462. "type": "string"
  26463. },
  26464. "lotsize": {
  26465. "description": "手数最小变动单位",
  26466. "type": "integer"
  26467. },
  26468. "marketid": {
  26469. "description": "所属市场ID",
  26470. "type": "integer"
  26471. },
  26472. "picurls": {
  26473. "description": "介绍图片[多张用逗号分隔]",
  26474. "type": "string"
  26475. },
  26476. "presaledqty": {
  26477. "description": "已预售量(预售结束时更新)",
  26478. "type": "integer"
  26479. },
  26480. "presaleqty": {
  26481. "description": "预售数量",
  26482. "type": "integer"
  26483. },
  26484. "quoteminunit": {
  26485. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26486. "type": "integer"
  26487. },
  26488. "refprice": {
  26489. "description": "参考价格[一口价]",
  26490. "type": "number"
  26491. },
  26492. "relatedgoodsid": {
  26493. "description": "关联交易合约ID",
  26494. "type": "integer"
  26495. },
  26496. "stepvalue": {
  26497. "description": "价格最小变动单位",
  26498. "type": "number"
  26499. },
  26500. "trademode": {
  26501. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26502. "type": "integer"
  26503. },
  26504. "vendorattr": {
  26505. "description": "供应商附件(多张,逗号分隔)",
  26506. "type": "string"
  26507. },
  26508. "vendorname": {
  26509. "description": "供应商名称",
  26510. "type": "string"
  26511. },
  26512. "vendorphone": {
  26513. "description": "供应商客服电话",
  26514. "type": "string"
  26515. },
  26516. "videourls": {
  26517. "description": "介绍视频[多张用逗号分隔]",
  26518. "type": "string"
  26519. }
  26520. }
  26521. },
  26522. "models.HsbySellCollectionOrder": {
  26523. "type": "object",
  26524. "required": [
  26525. "goodscode",
  26526. "goodsname",
  26527. "tradeid",
  26528. "trademode"
  26529. ],
  26530. "properties": {
  26531. "agreeunit": {
  26532. "description": "合约单位",
  26533. "type": "number"
  26534. },
  26535. "buyaccountid": {
  26536. "description": "买方账号ID[报价币种]",
  26537. "type": "integer"
  26538. },
  26539. "buyorderid": {
  26540. "description": "买方委托单号",
  26541. "type": "string"
  26542. },
  26543. "createtime": {
  26544. "description": "创建时间",
  26545. "type": "string"
  26546. },
  26547. "currencysign": {
  26548. "description": "货币符号",
  26549. "type": "string"
  26550. },
  26551. "decimalplace": {
  26552. "description": "报价小数位",
  26553. "type": "integer"
  26554. },
  26555. "goodscode": {
  26556. "description": "商品代码(内部)",
  26557. "type": "string"
  26558. },
  26559. "goodsid": {
  26560. "description": "商品ID",
  26561. "type": "integer"
  26562. },
  26563. "goodsname": {
  26564. "description": "商品名称",
  26565. "type": "string"
  26566. },
  26567. "marketid": {
  26568. "description": "市场ID",
  26569. "type": "integer"
  26570. },
  26571. "offamount": {
  26572. "description": "优惠金额",
  26573. "type": "number"
  26574. },
  26575. "payamount": {
  26576. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26577. "type": "number"
  26578. },
  26579. "payflag": {
  26580. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26581. "type": "integer"
  26582. },
  26583. "paylimitedtime": {
  26584. "description": "支付期限",
  26585. "type": "string"
  26586. },
  26587. "paytime": {
  26588. "description": "付款时间",
  26589. "type": "string"
  26590. },
  26591. "picurls": {
  26592. "description": "商品介绍图片[多张用逗号分隔]",
  26593. "type": "string"
  26594. },
  26595. "sellaccountid": {
  26596. "description": "卖方账号ID[报价币种]",
  26597. "type": "integer"
  26598. },
  26599. "sellorderid": {
  26600. "description": "卖方委托单号",
  26601. "type": "string"
  26602. },
  26603. "tradeamount": {
  26604. "description": "成交金额",
  26605. "type": "number"
  26606. },
  26607. "tradecharge": {
  26608. "description": "成交手续费(买方)",
  26609. "type": "number"
  26610. },
  26611. "tradedate": {
  26612. "description": "交易日(yyyyMMdd)",
  26613. "type": "string"
  26614. },
  26615. "tradeid": {
  26616. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26617. "type": "string"
  26618. },
  26619. "trademode": {
  26620. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26621. "type": "integer"
  26622. },
  26623. "tradeprice": {
  26624. "description": "成交价格",
  26625. "type": "number"
  26626. },
  26627. "tradeqty": {
  26628. "description": "成交数量",
  26629. "type": "integer"
  26630. }
  26631. }
  26632. },
  26633. "models.HsbySellMyDetail": {
  26634. "type": "object",
  26635. "required": [
  26636. "accountid",
  26637. "buyorsell",
  26638. "goodscode",
  26639. "goodsid",
  26640. "goodsname",
  26641. "marketid",
  26642. "orderid",
  26643. "time",
  26644. "trademode"
  26645. ],
  26646. "properties": {
  26647. "accountid": {
  26648. "description": "账户ID[报价币种]",
  26649. "type": "integer"
  26650. },
  26651. "agreeunit": {
  26652. "description": "合约单位",
  26653. "type": "number"
  26654. },
  26655. "buyorsell": {
  26656. "description": "买卖 - 0:买 1:卖",
  26657. "type": "integer"
  26658. },
  26659. "currencysign": {
  26660. "description": "货币符号",
  26661. "type": "string"
  26662. },
  26663. "decimalplace": {
  26664. "description": "报价小数位",
  26665. "type": "integer"
  26666. },
  26667. "goodscode": {
  26668. "description": "商品代码(内部)",
  26669. "type": "string"
  26670. },
  26671. "goodsid": {
  26672. "description": "商品ID",
  26673. "type": "integer"
  26674. },
  26675. "goodsname": {
  26676. "description": "商品名称",
  26677. "type": "string"
  26678. },
  26679. "marketid": {
  26680. "description": "市场ID",
  26681. "type": "integer"
  26682. },
  26683. "orderid": {
  26684. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26685. "type": "string"
  26686. },
  26687. "ordertype": {
  26688. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26689. "type": "integer"
  26690. },
  26691. "picurls": {
  26692. "description": "介绍图片[多张用逗号分隔]",
  26693. "type": "string"
  26694. },
  26695. "price": {
  26696. "description": "价格",
  26697. "type": "number"
  26698. },
  26699. "qty": {
  26700. "description": "数量",
  26701. "type": "integer"
  26702. },
  26703. "time": {
  26704. "description": "时间",
  26705. "type": "string"
  26706. },
  26707. "trademode": {
  26708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26709. "type": "integer"
  26710. },
  26711. "vendorname": {
  26712. "description": "供应商名称",
  26713. "type": "string"
  26714. }
  26715. }
  26716. },
  26717. "models.HsbyTopGoods": {
  26718. "type": "object",
  26719. "required": [
  26720. "goodscode",
  26721. "goodsid",
  26722. "goodsname",
  26723. "marketid",
  26724. "trademode"
  26725. ],
  26726. "properties": {
  26727. "agreeunit": {
  26728. "description": "合约单位",
  26729. "type": "number"
  26730. },
  26731. "currency": {
  26732. "description": "货币",
  26733. "type": "string"
  26734. },
  26735. "currencysign": {
  26736. "description": "货币符号",
  26737. "type": "string"
  26738. },
  26739. "decimalplace": {
  26740. "description": "报价小数位",
  26741. "type": "integer"
  26742. },
  26743. "desccityid": {
  26744. "description": "目的地(市)",
  26745. "type": "integer"
  26746. },
  26747. "descprovinceid": {
  26748. "description": "目的地(省)",
  26749. "type": "integer"
  26750. },
  26751. "goodscode": {
  26752. "description": "商品代码(内部)",
  26753. "type": "string"
  26754. },
  26755. "goodsid": {
  26756. "description": "商品ID(自增ID SEQ_GOODS)",
  26757. "type": "integer"
  26758. },
  26759. "goodsname": {
  26760. "description": "商品名称",
  26761. "type": "string"
  26762. },
  26763. "hotindex": {
  26764. "description": "景点热度",
  26765. "type": "integer"
  26766. },
  26767. "last": {
  26768. "description": "现价",
  26769. "type": "number"
  26770. },
  26771. "marketid": {
  26772. "description": "所属市场ID",
  26773. "type": "integer"
  26774. },
  26775. "picurls": {
  26776. "description": "介绍图片[多张用逗号分隔]",
  26777. "type": "string"
  26778. },
  26779. "quoteminunit": {
  26780. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26781. "type": "integer"
  26782. },
  26783. "trademode": {
  26784. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26785. "type": "integer"
  26786. },
  26787. "videourls": {
  26788. "description": "介绍视频[多张用逗号分隔]",
  26789. "type": "string"
  26790. }
  26791. }
  26792. },
  26793. "models.HybsMyBuyOrderDetail": {
  26794. "type": "object",
  26795. "required": [
  26796. "accountid",
  26797. "buyorsell",
  26798. "goodscode",
  26799. "goodsid",
  26800. "goodsname",
  26801. "marketid",
  26802. "orderid",
  26803. "orderqty",
  26804. "ordertime",
  26805. "trademode"
  26806. ],
  26807. "properties": {
  26808. "accountid": {
  26809. "description": "账户ID[报价币种]",
  26810. "type": "integer"
  26811. },
  26812. "agreeunit": {
  26813. "description": "合约单位",
  26814. "type": "number"
  26815. },
  26816. "buyorsell": {
  26817. "description": "买卖 - 0:买 1:卖",
  26818. "type": "integer"
  26819. },
  26820. "cancelqty": {
  26821. "description": "撤单数量",
  26822. "type": "integer"
  26823. },
  26824. "currencysign": {
  26825. "description": "货币符号",
  26826. "type": "string"
  26827. },
  26828. "decimalplace": {
  26829. "description": "报价小数位",
  26830. "type": "integer"
  26831. },
  26832. "goodscode": {
  26833. "description": "商品代码(内部)",
  26834. "type": "string"
  26835. },
  26836. "goodsid": {
  26837. "description": "商品ID",
  26838. "type": "integer"
  26839. },
  26840. "goodsname": {
  26841. "description": "商品名称",
  26842. "type": "string"
  26843. },
  26844. "listingselecttype": {
  26845. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26846. "type": "integer"
  26847. },
  26848. "marketid": {
  26849. "description": "市场ID",
  26850. "type": "integer"
  26851. },
  26852. "mybuystatus": {
  26853. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26854. "type": "integer"
  26855. },
  26856. "orderamount": {
  26857. "description": "委托金额",
  26858. "type": "number"
  26859. },
  26860. "orderid": {
  26861. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26862. "type": "string"
  26863. },
  26864. "orderprice": {
  26865. "description": "委托价格",
  26866. "type": "number"
  26867. },
  26868. "orderqty": {
  26869. "description": "委托数量",
  26870. "type": "integer"
  26871. },
  26872. "orderstatus": {
  26873. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26874. "type": "integer"
  26875. },
  26876. "ordertime": {
  26877. "description": "委托时间",
  26878. "type": "string"
  26879. },
  26880. "picurls1": {
  26881. "description": "预售商品介绍图片[多张用逗号分隔]",
  26882. "type": "string"
  26883. },
  26884. "picurls2": {
  26885. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26886. "type": "string"
  26887. },
  26888. "trademode": {
  26889. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26890. "type": "integer"
  26891. },
  26892. "tradeqty": {
  26893. "description": "成交数量",
  26894. "type": "integer"
  26895. },
  26896. "vendorname1": {
  26897. "description": "预售商品供应商名称",
  26898. "type": "string"
  26899. },
  26900. "vendorname2": {
  26901. "description": "挂牌商品供应商名称",
  26902. "type": "string"
  26903. }
  26904. }
  26905. },
  26906. "models.Loginaccount": {
  26907. "type": "object",
  26908. "required": [
  26909. "loginid"
  26910. ],
  26911. "properties": {
  26912. "accountname": {
  26913. "description": "账户名称",
  26914. "type": "string"
  26915. },
  26916. "canoutin": {
  26917. "description": "是否可出入金 - 0:不可 1:可",
  26918. "type": "integer"
  26919. },
  26920. "clientroleid": {
  26921. "description": "终端角色ID",
  26922. "type": "integer"
  26923. },
  26924. "haslogined": {
  26925. "description": "是否已登录 - 0:未登录 1:已登录",
  26926. "type": "integer"
  26927. },
  26928. "hasupdatedpwd": {
  26929. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26930. "type": "integer"
  26931. },
  26932. "lastloginip": {
  26933. "description": "最新登录地址",
  26934. "type": "string"
  26935. },
  26936. "lastloginmode": {
  26937. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26938. "type": "integer"
  26939. },
  26940. "lastloginremark": {
  26941. "description": "最新登录描述",
  26942. "type": "string"
  26943. },
  26944. "lastlogintime": {
  26945. "description": "最新登录时间",
  26946. "type": "string"
  26947. },
  26948. "logincode": {
  26949. "description": "登录代码",
  26950. "type": "string"
  26951. },
  26952. "loginfailnum": {
  26953. "description": "连续登录失败次数(登录成功时清零)",
  26954. "type": "integer"
  26955. },
  26956. "loginid": {
  26957. "description": "登陆账号",
  26958. "type": "integer"
  26959. },
  26960. "loginport": {
  26961. "description": "最新登录端口",
  26962. "type": "integer"
  26963. },
  26964. "loginstatus": {
  26965. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26966. "type": "integer"
  26967. },
  26968. "loginusertype": {
  26969. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26970. "type": "integer"
  26971. },
  26972. "mobile": {
  26973. "description": "手机号码(加密存储)",
  26974. "type": "string"
  26975. },
  26976. "modifierid": {
  26977. "description": "修改人",
  26978. "type": "integer"
  26979. },
  26980. "modifysrc": {
  26981. "description": "审核来源 - 1:管理端 2:终端",
  26982. "type": "integer"
  26983. },
  26984. "modifytime": {
  26985. "description": "修改时间",
  26986. "type": "string"
  26987. },
  26988. "password": {
  26989. "description": "登陆密码",
  26990. "type": "string"
  26991. },
  26992. "pwdwrongcount": {
  26993. "description": "密码错误次数",
  26994. "type": "integer"
  26995. },
  26996. "relateduserid": {
  26997. "description": "关联用户ID(机构)",
  26998. "type": "integer"
  26999. },
  27000. "taaccountrighttype": {
  27001. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27002. "type": "integer"
  27003. },
  27004. "unfreezetime": {
  27005. "description": "账户解冻时间",
  27006. "type": "string"
  27007. },
  27008. "userid": {
  27009. "description": "用户ID",
  27010. "type": "integer"
  27011. }
  27012. }
  27013. },
  27014. "models.MainAccountInfo": {
  27015. "type": "object",
  27016. "properties": {
  27017. "accountid": {
  27018. "description": "账号id",
  27019. "type": "integer"
  27020. },
  27021. "accountname": {
  27022. "description": "账号名称(taaccount表中的名称)",
  27023. "type": "string"
  27024. },
  27025. "appid": {
  27026. "description": "AppID",
  27027. "type": "string"
  27028. },
  27029. "authcode": {
  27030. "description": "授权码",
  27031. "type": "string"
  27032. },
  27033. "brokerid": {
  27034. "description": "经纪商id",
  27035. "type": "string"
  27036. },
  27037. "fcid": {
  27038. "description": "期货公司id",
  27039. "type": "integer"
  27040. },
  27041. "fcname": {
  27042. "description": "期货公司代码",
  27043. "type": "string"
  27044. },
  27045. "hedgeaccountcode": {
  27046. "description": "外部账号代码(主账号登录代码)",
  27047. "type": "string"
  27048. },
  27049. "hedgeaccountpwd": {
  27050. "description": "密码",
  27051. "type": "string"
  27052. },
  27053. "ismain": {
  27054. "description": "是否主账号",
  27055. "type": "integer"
  27056. },
  27057. "relateduserid": {
  27058. "description": "关联用户id",
  27059. "type": "integer"
  27060. },
  27061. "userid": {
  27062. "description": "关联用户id",
  27063. "type": "integer"
  27064. }
  27065. }
  27066. },
  27067. "models.Market": {
  27068. "type": "object",
  27069. "required": [
  27070. "marketid",
  27071. "marketstatus",
  27072. "openmethod",
  27073. "reckonpricealgorithm",
  27074. "trademode",
  27075. "tradeproperty"
  27076. ],
  27077. "properties": {
  27078. "auctionwrtype": {
  27079. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27080. "type": "integer"
  27081. },
  27082. "canacceptquote": {
  27083. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27084. "type": "integer"
  27085. },
  27086. "cangoodsexercise": {
  27087. "description": "[期权]是否可现货行权- 0:否 1:是",
  27088. "type": "integer"
  27089. },
  27090. "cangoodsexercisetype": {
  27091. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27092. "type": "integer"
  27093. },
  27094. "canmanualquotestrike": {
  27095. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27096. "type": "integer"
  27097. },
  27098. "canmutistage": {
  27099. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27100. "type": "integer"
  27101. },
  27102. "canpreexercise": {
  27103. "description": "[期权]是否可预申报- 0:否 1:是",
  27104. "type": "integer"
  27105. },
  27106. "clearinterval": {
  27107. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27108. "type": "integer"
  27109. },
  27110. "contracttmp": {
  27111. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27112. "type": "string"
  27113. },
  27114. "exchareaid": {
  27115. "description": "所属交易所,可以没有",
  27116. "type": "integer"
  27117. },
  27118. "goodstype": {
  27119. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27120. "type": "integer"
  27121. },
  27122. "hasrebate": {
  27123. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27124. "type": "integer"
  27125. },
  27126. "hastradecredit": {
  27127. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27128. "type": "integer"
  27129. },
  27130. "haswr": {
  27131. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27132. "type": "integer"
  27133. },
  27134. "isdeductmargin": {
  27135. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27136. "type": "integer"
  27137. },
  27138. "isrecordsource": {
  27139. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27140. "type": "integer"
  27141. },
  27142. "isreleasemargin": {
  27143. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27144. "type": "integer"
  27145. },
  27146. "marginformula": {
  27147. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27148. "type": "integer"
  27149. },
  27150. "marginformula2": {
  27151. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27152. "type": "integer"
  27153. },
  27154. "marketid": {
  27155. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27156. "type": "integer"
  27157. },
  27158. "marketname": {
  27159. "description": "市场名称",
  27160. "type": "string"
  27161. },
  27162. "marketserviceid": {
  27163. "description": "市场服务ID",
  27164. "type": "integer"
  27165. },
  27166. "marketstatus": {
  27167. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27168. "type": "integer"
  27169. },
  27170. "markettype": {
  27171. "description": "市场类型- 1:非交易服务 2:交易服务",
  27172. "type": "integer"
  27173. },
  27174. "matchermode": {
  27175. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27176. "type": "integer"
  27177. },
  27178. "openmethod": {
  27179. "description": "开盘模式 - 0 自动 1手动",
  27180. "type": "integer"
  27181. },
  27182. "otcuserid": {
  27183. "description": "场外期权做市商[场外期权]",
  27184. "type": "integer"
  27185. },
  27186. "outersynctime": {
  27187. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27188. "type": "string"
  27189. },
  27190. "pendingflag": {
  27191. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27192. "type": "integer"
  27193. },
  27194. "pendingtime": {
  27195. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27196. "type": "string"
  27197. },
  27198. "performancetempid": {
  27199. "description": "履约计划模板ID - 作废",
  27200. "type": "integer"
  27201. },
  27202. "premiumquotemode": {
  27203. "description": "权利金报价方式 - 1:自动 2:手动",
  27204. "type": "integer"
  27205. },
  27206. "rebateratio": {
  27207. "description": "返利比率[竞价式]",
  27208. "type": "number"
  27209. },
  27210. "reckonorder": {
  27211. "description": "结算顺序",
  27212. "type": "integer"
  27213. },
  27214. "reckonpricealgorithm": {
  27215. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27216. "type": "integer"
  27217. },
  27218. "reckonpriceparam": {
  27219. "description": "结算价参数",
  27220. "type": "integer"
  27221. },
  27222. "reckontime": {
  27223. "description": "结算时间[通道交易-对冲](HH:mm)",
  27224. "type": "string"
  27225. },
  27226. "roleprioritytype": {
  27227. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27228. "type": "integer"
  27229. },
  27230. "selllistingauditflag": {
  27231. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27232. "type": "integer"
  27233. },
  27234. "trademarkettype": {
  27235. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27236. "type": "integer"
  27237. },
  27238. "trademode": {
  27239. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27240. "type": "integer"
  27241. },
  27242. "tradeproperty": {
  27243. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27244. "type": "integer"
  27245. },
  27246. "tradetype": {
  27247. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27248. "type": "integer"
  27249. }
  27250. }
  27251. },
  27252. "models.Marketrun": {
  27253. "type": "object",
  27254. "required": [
  27255. "marketid",
  27256. "nexttradedate",
  27257. "reckonflag",
  27258. "runstatus",
  27259. "tradedate",
  27260. "tradedate2"
  27261. ],
  27262. "properties": {
  27263. "afternexttradedate": {
  27264. "description": "下下交易日",
  27265. "type": "string"
  27266. },
  27267. "clearquoteflag": {
  27268. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27269. "type": "integer"
  27270. },
  27271. "lastreckondate": {
  27272. "description": "最新交易日(结算成功)",
  27273. "type": "string"
  27274. },
  27275. "machinedate": {
  27276. "description": "机器时间",
  27277. "type": "string"
  27278. },
  27279. "manualflag": {
  27280. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27281. "type": "integer"
  27282. },
  27283. "marketid": {
  27284. "description": "市场ID",
  27285. "type": "integer"
  27286. },
  27287. "nexttradedate": {
  27288. "description": "下一交易日",
  27289. "type": "string"
  27290. },
  27291. "pretradedate": {
  27292. "description": "上一交易日",
  27293. "type": "string"
  27294. },
  27295. "reckonflag": {
  27296. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27297. "type": "integer"
  27298. },
  27299. "runstatus": {
  27300. "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.今日免清算",
  27301. "type": "integer"
  27302. },
  27303. "sectionid": {
  27304. "description": "时间段号[多时段时用]",
  27305. "type": "integer"
  27306. },
  27307. "tradedate": {
  27308. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27309. "type": "string"
  27310. },
  27311. "tradedate2": {
  27312. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27313. "type": "string"
  27314. },
  27315. "updatetime": {
  27316. "description": "更新时间",
  27317. "type": "string"
  27318. }
  27319. }
  27320. },
  27321. "models.Messageboard": {
  27322. "type": "object",
  27323. "required": [
  27324. "messageboardid"
  27325. ],
  27326. "properties": {
  27327. "contactnum": {
  27328. "description": "联系电话",
  27329. "type": "string"
  27330. },
  27331. "createtime": {
  27332. "description": "创建时间",
  27333. "type": "string"
  27334. },
  27335. "message": {
  27336. "description": "留言信息",
  27337. "type": "string"
  27338. },
  27339. "messageboardid": {
  27340. "description": "留言簿ID(SEQ_MessageBoard)",
  27341. "type": "integer"
  27342. },
  27343. "userid": {
  27344. "description": "用户ID",
  27345. "type": "integer"
  27346. }
  27347. }
  27348. },
  27349. "models.MyCoupon": {
  27350. "type": "object",
  27351. "required": [
  27352. "accountid",
  27353. "coupontypeid"
  27354. ],
  27355. "properties": {
  27356. "accountid": {
  27357. "description": "资金账户ID",
  27358. "type": "integer"
  27359. },
  27360. "areauserid": {
  27361. "description": "所属机构",
  27362. "type": "integer"
  27363. },
  27364. "conditionvalue": {
  27365. "description": "条件阈值(可为0)",
  27366. "type": "number"
  27367. },
  27368. "couponcategroy": {
  27369. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27370. "type": "integer"
  27371. },
  27372. "couponname": {
  27373. "description": "优惠券名称",
  27374. "type": "string"
  27375. },
  27376. "coupontypeid": {
  27377. "description": "优惠券类型ID",
  27378. "type": "string"
  27379. },
  27380. "couponvalue": {
  27381. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27382. "type": "number"
  27383. },
  27384. "curfreezeqty": {
  27385. "description": "期末冻结数量",
  27386. "type": "integer"
  27387. },
  27388. "curqty": {
  27389. "description": "期末数量",
  27390. "type": "integer"
  27391. },
  27392. "isgeneral": {
  27393. "description": "是否通用券 - 0:否 1:是",
  27394. "type": "integer"
  27395. },
  27396. "isunusable": {
  27397. "description": "是否不可用",
  27398. "type": "boolean"
  27399. },
  27400. "limitedflag": {
  27401. "description": "是否指定商品 - 0:不限 1:限制",
  27402. "type": "integer"
  27403. },
  27404. "limitedgoodsids": {
  27405. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27406. "type": "string"
  27407. },
  27408. "orifreezeqty": {
  27409. "description": "期初冻结数量",
  27410. "type": "integer"
  27411. },
  27412. "oriqty": {
  27413. "description": "期初数量",
  27414. "type": "integer"
  27415. },
  27416. "reasontype": {
  27417. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27418. "type": "integer"
  27419. },
  27420. "todaydecrease": {
  27421. "description": "今日减少",
  27422. "type": "integer"
  27423. },
  27424. "todayincrease": {
  27425. "description": "今日增加",
  27426. "type": "integer"
  27427. },
  27428. "userid": {
  27429. "description": "用户ID",
  27430. "type": "integer"
  27431. },
  27432. "userscope": {
  27433. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27434. "type": "string"
  27435. }
  27436. }
  27437. },
  27438. "models.MyCouponHold": {
  27439. "type": "object",
  27440. "required": [
  27441. "couponholdid"
  27442. ],
  27443. "properties": {
  27444. "accountid": {
  27445. "description": "资金账户ID",
  27446. "type": "integer"
  27447. },
  27448. "conditionvalue": {
  27449. "description": "条件阈值(可为0)",
  27450. "type": "number"
  27451. },
  27452. "couponcategroy": {
  27453. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27454. "type": "integer"
  27455. },
  27456. "couponholdid": {
  27457. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27458. "type": "string"
  27459. },
  27460. "couponname": {
  27461. "description": "优惠券名称",
  27462. "type": "string"
  27463. },
  27464. "coupontypeid": {
  27465. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27466. "type": "string"
  27467. },
  27468. "couponvalue": {
  27469. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27470. "type": "number"
  27471. },
  27472. "createtime": {
  27473. "description": "创建时间",
  27474. "type": "string"
  27475. },
  27476. "enddate": {
  27477. "description": "结束日期",
  27478. "type": "string"
  27479. },
  27480. "giveapplyid": {
  27481. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27482. "type": "integer"
  27483. },
  27484. "holdstatus": {
  27485. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27486. "type": "integer"
  27487. },
  27488. "isgeneral": {
  27489. "description": "是否通用券 - 0:否 1:是",
  27490. "type": "integer"
  27491. },
  27492. "limitedflag": {
  27493. "description": "是否指定商品 - 0:不限 1:限制",
  27494. "type": "integer"
  27495. },
  27496. "limitedgoodsids": {
  27497. "description": "指定商品IDs[逗号分隔]",
  27498. "type": "string"
  27499. },
  27500. "qty": {
  27501. "description": "数量(按1平铺)",
  27502. "type": "integer"
  27503. },
  27504. "startdate": {
  27505. "description": "开始日期",
  27506. "type": "string"
  27507. },
  27508. "userid": {
  27509. "description": "用户ID",
  27510. "type": "integer"
  27511. },
  27512. "userscope": {
  27513. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27514. "type": "string"
  27515. }
  27516. }
  27517. },
  27518. "models.MyUsedCoupon": {
  27519. "type": "object",
  27520. "required": [
  27521. "coupontypeid",
  27522. "orderid"
  27523. ],
  27524. "properties": {
  27525. "accountid": {
  27526. "description": "资金账户ID(买方)",
  27527. "type": "integer"
  27528. },
  27529. "conditionvalue": {
  27530. "description": "条件阈值(可为0)",
  27531. "type": "number"
  27532. },
  27533. "couponcategroy": {
  27534. "description": "种类 - 1:现金券 2:折扣券",
  27535. "type": "integer"
  27536. },
  27537. "couponname": {
  27538. "description": "优惠券名称",
  27539. "type": "string"
  27540. },
  27541. "coupontypeid": {
  27542. "description": "优惠券类型ID(买方)",
  27543. "type": "string"
  27544. },
  27545. "couponvalue": {
  27546. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27547. "type": "number"
  27548. },
  27549. "createtime": {
  27550. "description": "创建时间",
  27551. "type": "string"
  27552. },
  27553. "goodsid": {
  27554. "description": "商品ID",
  27555. "type": "integer"
  27556. },
  27557. "handlestatus": {
  27558. "description": "处理状态",
  27559. "type": "integer"
  27560. },
  27561. "marketid": {
  27562. "description": "市场ID",
  27563. "type": "integer"
  27564. },
  27565. "offamount": {
  27566. "description": "优惠金额",
  27567. "type": "number"
  27568. },
  27569. "orderid": {
  27570. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27571. "type": "string"
  27572. },
  27573. "sellaccountid": {
  27574. "description": "资金账户ID(卖方)",
  27575. "type": "integer"
  27576. },
  27577. "tradeamount": {
  27578. "description": "成交金额",
  27579. "type": "number"
  27580. },
  27581. "tradeid": {
  27582. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27583. "type": "string"
  27584. },
  27585. "usedqty": {
  27586. "description": "使用数量",
  27587. "type": "integer"
  27588. }
  27589. }
  27590. },
  27591. "models.OperationPrimaryMenu": {
  27592. "type": "object",
  27593. "properties": {
  27594. "Children": {
  27595. "description": "二级功能菜单",
  27596. "type": "array",
  27597. "items": {
  27598. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27599. }
  27600. },
  27601. "Key": {
  27602. "description": "菜单KEY",
  27603. "type": "string"
  27604. },
  27605. "Label": {
  27606. "description": "菜单标题",
  27607. "type": "string"
  27608. }
  27609. }
  27610. },
  27611. "models.OperationSecondaryMenu": {
  27612. "type": "object",
  27613. "properties": {
  27614. "Key": {
  27615. "description": "菜单KEY",
  27616. "type": "string"
  27617. },
  27618. "Label": {
  27619. "description": "菜单标题",
  27620. "type": "string"
  27621. },
  27622. "TabList": {
  27623. "description": "三级功能菜单",
  27624. "type": "array",
  27625. "items": {
  27626. "$ref": "#/definitions/models.OperationTabMenu"
  27627. }
  27628. }
  27629. }
  27630. },
  27631. "models.OperationTabMenu": {
  27632. "type": "object",
  27633. "properties": {
  27634. "Key": {
  27635. "description": "菜单KEY",
  27636. "type": "string"
  27637. },
  27638. "Label": {
  27639. "description": "菜单标题",
  27640. "type": "string"
  27641. }
  27642. }
  27643. },
  27644. "models.QhjAccountOutInApply": {
  27645. "type": "object",
  27646. "properties": {
  27647. "accountcode": {
  27648. "description": "资金账号",
  27649. "type": "string"
  27650. },
  27651. "accountname": {
  27652. "description": "用户名称(名称)",
  27653. "type": "string"
  27654. },
  27655. "accountpwd": {
  27656. "description": "资金密码",
  27657. "type": "string"
  27658. },
  27659. "accountticket": {
  27660. "description": "最新账户服务流水号",
  27661. "type": "string"
  27662. },
  27663. "amount": {
  27664. "description": "金额",
  27665. "type": "number"
  27666. },
  27667. "applyremark": {
  27668. "description": "申请备注",
  27669. "type": "string"
  27670. },
  27671. "applystatus": {
  27672. "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: 复审通过,账户冻结金额检查中;",
  27673. "type": "integer"
  27674. },
  27675. "auditid": {
  27676. "description": "审核人",
  27677. "type": "integer"
  27678. },
  27679. "audittime": {
  27680. "description": "审核时间",
  27681. "type": "string"
  27682. },
  27683. "bank_apply_ticket": {
  27684. "description": "银行申请流水",
  27685. "type": "string"
  27686. },
  27687. "bankaccountname": {
  27688. "description": "银行账户名",
  27689. "type": "string"
  27690. },
  27691. "bankaccountno": {
  27692. "description": "银行卡号",
  27693. "type": "string"
  27694. },
  27695. "bankid": {
  27696. "description": "银行编号",
  27697. "type": "string"
  27698. },
  27699. "bankticket": {
  27700. "description": "银行流水",
  27701. "type": "string"
  27702. },
  27703. "branchbankid": {
  27704. "description": "银行支行号",
  27705. "type": "string"
  27706. },
  27707. "branchbankname": {
  27708. "description": "银行支行名称",
  27709. "type": "string"
  27710. },
  27711. "capamountout": {
  27712. "description": "出金(劣后本金) - 外部子账户",
  27713. "type": "number"
  27714. },
  27715. "certificatephotourl": {
  27716. "description": "凭证地址",
  27717. "type": "string"
  27718. },
  27719. "charge": {
  27720. "description": "手续费",
  27721. "type": "number"
  27722. },
  27723. "checkerrorflag": {
  27724. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27725. "type": "integer"
  27726. },
  27727. "currency": {
  27728. "description": "币种",
  27729. "type": "string"
  27730. },
  27731. "cusbankid": {
  27732. "description": "托管银行编号",
  27733. "type": "string"
  27734. },
  27735. "exchticket": {
  27736. "description": "银行服务流水号",
  27737. "type": "string"
  27738. },
  27739. "executetype": {
  27740. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27741. "type": "integer"
  27742. },
  27743. "extendinfo": {
  27744. "description": "扩展信息",
  27745. "type": "string"
  27746. },
  27747. "extoperateid": {
  27748. "description": "交易服务流水号",
  27749. "type": "integer"
  27750. },
  27751. "infamount": {
  27752. "description": "劣后金额(自有)",
  27753. "type": "number"
  27754. },
  27755. "logincode": {
  27756. "description": "登录账号(账号)",
  27757. "type": "string"
  27758. },
  27759. "netaddr": {
  27760. "description": "调转网址",
  27761. "type": "string"
  27762. },
  27763. "priamount": {
  27764. "description": "优先金额(授信)",
  27765. "type": "number"
  27766. },
  27767. "reauditid": {
  27768. "description": "复审人",
  27769. "type": "integer"
  27770. },
  27771. "reauditremark": {
  27772. "description": "复审备注",
  27773. "type": "string"
  27774. },
  27775. "reaudittime": {
  27776. "description": "复审时间",
  27777. "type": "string"
  27778. },
  27779. "relatedorderid": {
  27780. "description": "三方关联ID",
  27781. "type": "string"
  27782. },
  27783. "remark": {
  27784. "description": "备注",
  27785. "type": "string"
  27786. },
  27787. "remark2": {
  27788. "description": "备注(失败原因)",
  27789. "type": "string"
  27790. },
  27791. "soucreamount": {
  27792. "description": "原始出入金金额",
  27793. "type": "number"
  27794. },
  27795. "soucrecurrencyid": {
  27796. "description": "原始出入金币种",
  27797. "type": "integer"
  27798. },
  27799. "tradedate": {
  27800. "description": "交易日(yyyyMMdd)",
  27801. "type": "string"
  27802. },
  27803. "updatetime": {
  27804. "description": "更新时间(申请时间)",
  27805. "type": "string"
  27806. },
  27807. "userid": {
  27808. "description": "用户id",
  27809. "type": "integer"
  27810. },
  27811. "userinfotype": {
  27812. "description": "账户类型 1-个人 2-企业",
  27813. "type": "integer"
  27814. }
  27815. }
  27816. },
  27817. "models.QhjAgreementChangeLog": {
  27818. "type": "object",
  27819. "properties": {
  27820. "agreementcontent": {
  27821. "description": "协议内容",
  27822. "type": "string"
  27823. },
  27824. "agreementfrequency": {
  27825. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27826. "type": "integer"
  27827. },
  27828. "agreementid": {
  27829. "description": "协议ID",
  27830. "type": "integer"
  27831. },
  27832. "agreementname": {
  27833. "description": "协议名称",
  27834. "type": "string"
  27835. },
  27836. "agreementno": {
  27837. "description": "协议编号",
  27838. "type": "string"
  27839. },
  27840. "agreementtype": {
  27841. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27842. "type": "integer"
  27843. },
  27844. "agreementversion": {
  27845. "description": "协议版本号",
  27846. "type": "integer"
  27847. },
  27848. "logid": {
  27849. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27850. "type": "integer"
  27851. },
  27852. "reviserid": {
  27853. "description": "修改人",
  27854. "type": "integer"
  27855. },
  27856. "revisersrc": {
  27857. "description": "修改来源 - 1:管理端 2:终端",
  27858. "type": "integer"
  27859. },
  27860. "updatetime": {
  27861. "description": "更新时间",
  27862. "type": "string"
  27863. }
  27864. }
  27865. },
  27866. "models.QhjAgreementConfig": {
  27867. "type": "object",
  27868. "properties": {
  27869. "agreementcontent": {
  27870. "description": "协议内容",
  27871. "type": "string"
  27872. },
  27873. "agreementfrequency": {
  27874. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27875. "type": "integer"
  27876. },
  27877. "agreementid": {
  27878. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27879. "type": "integer"
  27880. },
  27881. "agreementname": {
  27882. "description": "协议名称",
  27883. "type": "string"
  27884. },
  27885. "agreementno": {
  27886. "description": "协议编号",
  27887. "type": "string"
  27888. },
  27889. "agreementtype": {
  27890. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27891. "type": "integer"
  27892. },
  27893. "agreementversion": {
  27894. "description": "协议版本号(从1开始每次修改加1)",
  27895. "type": "integer"
  27896. },
  27897. "createtime": {
  27898. "description": "创建时间",
  27899. "type": "string"
  27900. },
  27901. "creatorid": {
  27902. "description": "创建人",
  27903. "type": "integer"
  27904. },
  27905. "creatorsrc": {
  27906. "description": "创建来源 - 1:管理端 2:终端",
  27907. "type": "integer"
  27908. },
  27909. "isvalid": {
  27910. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27911. "type": "integer"
  27912. },
  27913. "reviserid": {
  27914. "description": "修改人",
  27915. "type": "integer"
  27916. },
  27917. "revisersrc": {
  27918. "description": "修改来源 - 1:管理端 2:终端",
  27919. "type": "integer"
  27920. },
  27921. "updatetime": {
  27922. "description": "更新时间",
  27923. "type": "string"
  27924. }
  27925. }
  27926. },
  27927. "models.QhjAreaFinanceConfig": {
  27928. "type": "object",
  27929. "properties": {
  27930. "additionalratio": {
  27931. "description": "追加款比例",
  27932. "type": "number"
  27933. },
  27934. "advanceratio": {
  27935. "description": "预付款比例",
  27936. "type": "number"
  27937. },
  27938. "alarmratio": {
  27939. "description": "告警比例",
  27940. "type": "number"
  27941. },
  27942. "consumptiondirectreward": {
  27943. "description": "消费直推奖励值",
  27944. "type": "number"
  27945. },
  27946. "consumptionenabled": {
  27947. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27948. "type": "integer"
  27949. },
  27950. "consumptionindirectreward": {
  27951. "description": "消费间推奖励值",
  27952. "type": "number"
  27953. },
  27954. "consumptionmodel": {
  27955. "description": "消费奖励方式 - 1:比率 2:固定",
  27956. "type": "integer"
  27957. },
  27958. "customerservicenum": {
  27959. "description": "客服电话",
  27960. "type": "string"
  27961. },
  27962. "dayinterestrate": {
  27963. "description": "日利率",
  27964. "type": "number"
  27965. },
  27966. "disableconsumptiontips": {
  27967. "description": "关闭消费奖励提示",
  27968. "type": "string"
  27969. },
  27970. "modifierid": {
  27971. "description": "修改人ID",
  27972. "type": "integer"
  27973. },
  27974. "modifysrc": {
  27975. "description": "审核来源 - 1:管理端 2:终端",
  27976. "type": "integer"
  27977. },
  27978. "modifytime": {
  27979. "description": "修改时间",
  27980. "type": "string"
  27981. },
  27982. "promotionvalue": {
  27983. "description": "推广奖励值(固定)",
  27984. "type": "number"
  27985. },
  27986. "scoreconfigvalue1": {
  27987. "description": "提货积分配置1",
  27988. "type": "integer"
  27989. },
  27990. "scoreconfigvalue2": {
  27991. "description": "提货积分配置2",
  27992. "type": "integer"
  27993. },
  27994. "userid": {
  27995. "description": "机构用户ID其他做市关系,都设置为 1",
  27996. "type": "integer"
  27997. },
  27998. "username": {
  27999. "description": "用户名称",
  28000. "type": "string"
  28001. }
  28002. }
  28003. },
  28004. "models.QhjBankAccountSign": {
  28005. "type": "object",
  28006. "properties": {
  28007. "accountcode": {
  28008. "description": "资金账号",
  28009. "type": "string"
  28010. },
  28011. "accountname": {
  28012. "description": "资金账号对应的账号名(UserName)",
  28013. "type": "string"
  28014. },
  28015. "accountname2": {
  28016. "description": "资金账号对应的账号名(UserName) - 密文",
  28017. "type": "string"
  28018. },
  28019. "accounttype": {
  28020. "description": "账户类型(UserType)",
  28021. "type": "integer"
  28022. },
  28023. "applicationtime": {
  28024. "description": "最后一次更新的时间",
  28025. "type": "string"
  28026. },
  28027. "applyexchticket": {
  28028. "description": "申请流水",
  28029. "type": "string"
  28030. },
  28031. "auditid": {
  28032. "description": "审核人",
  28033. "type": "integer"
  28034. },
  28035. "audittime": {
  28036. "description": "审核时间",
  28037. "type": "string"
  28038. },
  28039. "bankaccountname": {
  28040. "description": "签约银行卡账号名",
  28041. "type": "string"
  28042. },
  28043. "bankaccountname2": {
  28044. "description": "签约银行卡账号名 - 密文",
  28045. "type": "string"
  28046. },
  28047. "bankaccountno": {
  28048. "description": "银行卡号",
  28049. "type": "string"
  28050. },
  28051. "bankaccountno2": {
  28052. "description": "银行卡号 - 密文",
  28053. "type": "string"
  28054. },
  28055. "bankaccounttype": {
  28056. "description": "银行账户类型 - 1-对私; 2-对公",
  28057. "type": "integer"
  28058. },
  28059. "bankcardtype": {
  28060. "description": "银行卡类型",
  28061. "type": "integer"
  28062. },
  28063. "bankchildaccount": {
  28064. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28065. "type": "string"
  28066. },
  28067. "bankcity": {
  28068. "description": "开户行城市",
  28069. "type": "string"
  28070. },
  28071. "bankid": {
  28072. "description": "签约银行ID",
  28073. "type": "string"
  28074. },
  28075. "bankname": {
  28076. "description": "签约银行名称",
  28077. "type": "string"
  28078. },
  28079. "bankprovince": {
  28080. "description": "开户行省份",
  28081. "type": "string"
  28082. },
  28083. "branchbankid": {
  28084. "description": "签约银行支行号",
  28085. "type": "string"
  28086. },
  28087. "branchbankname": {
  28088. "description": "签约银行支行名称",
  28089. "type": "string"
  28090. },
  28091. "cardno": {
  28092. "description": "证件号码",
  28093. "type": "string"
  28094. },
  28095. "cardno2": {
  28096. "description": "证件号码 - 密文",
  28097. "type": "string"
  28098. },
  28099. "cardtype": {
  28100. "description": "证件类型",
  28101. "type": "string"
  28102. },
  28103. "currency": {
  28104. "description": "币种",
  28105. "type": "string"
  28106. },
  28107. "cusbankid": {
  28108. "description": "托管银行编号",
  28109. "type": "string"
  28110. },
  28111. "direct": {
  28112. "description": "方向(可以判断那方先发起的签约)",
  28113. "type": "integer"
  28114. },
  28115. "exchticket": {
  28116. "description": "最后一次签约成功的流水号",
  28117. "type": "string"
  28118. },
  28119. "extendinfo": {
  28120. "description": "扩展信息(JSON字符串)",
  28121. "type": "string"
  28122. },
  28123. "mobilephone": {
  28124. "description": "手机号",
  28125. "type": "string"
  28126. },
  28127. "mobilephone2": {
  28128. "description": "手机号 - 密文",
  28129. "type": "string"
  28130. },
  28131. "netaddr": {
  28132. "description": "调转网址",
  28133. "type": "string"
  28134. },
  28135. "relateduserid": {
  28136. "description": "关联使用者userid",
  28137. "type": "integer"
  28138. },
  28139. "signstatus": {
  28140. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28141. "type": "integer"
  28142. },
  28143. "updatetime": {
  28144. "description": "更新时间(签解约更新时间)",
  28145. "type": "string"
  28146. }
  28147. }
  28148. },
  28149. "models.QhjBankInfo": {
  28150. "type": "object",
  28151. "properties": {
  28152. "bankid": {
  28153. "description": "银行ID",
  28154. "type": "string"
  28155. },
  28156. "bankname": {
  28157. "description": "银行名称",
  28158. "type": "string"
  28159. },
  28160. "clearbankno": {
  28161. "description": "清算系统银行编号",
  28162. "type": "string"
  28163. },
  28164. "orderindex": {
  28165. "description": "排序顺序",
  28166. "type": "integer"
  28167. },
  28168. "status": {
  28169. "description": "状态 - 0:正常 1:注销",
  28170. "type": "integer"
  28171. }
  28172. }
  28173. },
  28174. "models.QhjBrokerApply": {
  28175. "type": "object",
  28176. "properties": {
  28177. "applicantid": {
  28178. "description": "申请人",
  28179. "type": "integer"
  28180. },
  28181. "applysrc": {
  28182. "description": "申请来源 - 1:管理端 2:终端",
  28183. "type": "integer"
  28184. },
  28185. "applystatus": {
  28186. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28187. "type": "integer"
  28188. },
  28189. "applytime": {
  28190. "description": "申请时间",
  28191. "type": "string"
  28192. },
  28193. "auditorid": {
  28194. "description": "审核人",
  28195. "type": "integer"
  28196. },
  28197. "auditremark": {
  28198. "description": "审核备注",
  28199. "type": "string"
  28200. },
  28201. "auditsrc": {
  28202. "description": "审核来源 - 1:管理端 2:终端",
  28203. "type": "integer"
  28204. },
  28205. "audittime": {
  28206. "description": "审核时间",
  28207. "type": "string"
  28208. },
  28209. "audittradedate": {
  28210. "description": "审核交易日(yyyyMMdd)",
  28211. "type": "string"
  28212. },
  28213. "brokerapplyid": {
  28214. "description": "申请ID(SEQ_BROKERAPPLY)",
  28215. "type": "integer"
  28216. },
  28217. "cardbackphotourl": {
  28218. "description": "证件背面图片地址",
  28219. "type": "string"
  28220. },
  28221. "cardfrontphotourl": {
  28222. "description": "证件正面图片地址",
  28223. "type": "string"
  28224. },
  28225. "cardnum": {
  28226. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28227. "type": "string"
  28228. },
  28229. "customername": {
  28230. "description": "姓名",
  28231. "type": "string"
  28232. },
  28233. "logincode": {
  28234. "description": "登录代码",
  28235. "type": "string"
  28236. },
  28237. "mobile": {
  28238. "description": "手机号码",
  28239. "type": "string"
  28240. },
  28241. "parentuserid": {
  28242. "description": "所属机构id",
  28243. "type": "integer"
  28244. },
  28245. "parentusername": {
  28246. "description": "所属机构名称",
  28247. "type": "string"
  28248. },
  28249. "refereeuserid": {
  28250. "description": "推荐人id(经纪人)",
  28251. "type": "integer"
  28252. },
  28253. "refernum": {
  28254. "description": "推荐码",
  28255. "type": "string"
  28256. },
  28257. "remark": {
  28258. "description": "备注",
  28259. "type": "string"
  28260. },
  28261. "subarealevelpath": {
  28262. "description": "层级路径",
  28263. "type": "string"
  28264. },
  28265. "tradedate": {
  28266. "description": "交易日(yyyyMMdd)",
  28267. "type": "string"
  28268. },
  28269. "userid": {
  28270. "description": "申请人用户ID",
  28271. "type": "integer"
  28272. },
  28273. "userinfotype": {
  28274. "description": "用户类型 1-个人 2-企业",
  28275. "type": "integer"
  28276. },
  28277. "username": {
  28278. "description": "用户名称",
  28279. "type": "string"
  28280. }
  28281. }
  28282. },
  28283. "models.QhjBrokerApplyEx": {
  28284. "type": "object",
  28285. "properties": {
  28286. "applylist": {
  28287. "description": "经纪人申请记录(只返回最新一条)",
  28288. "type": "array",
  28289. "items": {
  28290. "$ref": "#/definitions/models.QhjBrokerApply"
  28291. }
  28292. },
  28293. "canrecommend": {
  28294. "description": "是否经纪人 0-不是 1-是",
  28295. "type": "integer"
  28296. },
  28297. "refernum": {
  28298. "description": "推荐码",
  28299. "type": "string"
  28300. },
  28301. "userid": {
  28302. "description": "用户id",
  28303. "type": "integer"
  28304. },
  28305. "userinfotype": {
  28306. "description": "用户类型 1-个人 2-企业",
  28307. "type": "integer"
  28308. }
  28309. }
  28310. },
  28311. "models.QhjBrokerRewardLog": {
  28312. "type": "object",
  28313. "properties": {
  28314. "accountid": {
  28315. "description": "资金账号ID",
  28316. "type": "integer"
  28317. },
  28318. "createtime": {
  28319. "description": "创建时间(时间)",
  28320. "type": "string"
  28321. },
  28322. "handlestatus": {
  28323. "description": "处理状态",
  28324. "type": "integer"
  28325. },
  28326. "logid": {
  28327. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28328. "type": "string"
  28329. },
  28330. "marketid": {
  28331. "description": "市场ID",
  28332. "type": "integer"
  28333. },
  28334. "mmaccountid": {
  28335. "description": "做市商资金账号ID",
  28336. "type": "string"
  28337. },
  28338. "mmuserid": {
  28339. "description": "做市商用户ID",
  28340. "type": "string"
  28341. },
  28342. "rewardamount": {
  28343. "description": "奖励金额",
  28344. "type": "number"
  28345. },
  28346. "rewardmodel": {
  28347. "description": "消费奖励方式 - 1:比率 2:固定",
  28348. "type": "integer"
  28349. },
  28350. "rewardtype": {
  28351. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28352. "type": "integer"
  28353. },
  28354. "rewardvalue": {
  28355. "description": "配置奖励值",
  28356. "type": "number"
  28357. },
  28358. "srcamount": {
  28359. "description": "成交金额 [消费奖励] (金额)",
  28360. "type": "number"
  28361. },
  28362. "srcgoodsid": {
  28363. "description": "来源商品ID [消费奖励]",
  28364. "type": "string"
  28365. },
  28366. "srctime": {
  28367. "description": "来源时间 (成交时间) [消费奖励]",
  28368. "type": "string"
  28369. },
  28370. "srctradeid": {
  28371. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28372. "type": "string"
  28373. },
  28374. "srcuserid": {
  28375. "description": "来源用户ID(推广账户)",
  28376. "type": "string"
  28377. },
  28378. "srcusername": {
  28379. "description": "推广账户名称",
  28380. "type": "string"
  28381. },
  28382. "tradedate": {
  28383. "description": "交易日(yyyyMMdd)",
  28384. "type": "string"
  28385. },
  28386. "userid": {
  28387. "description": "经纪人用户ID",
  28388. "type": "integer"
  28389. }
  28390. }
  28391. },
  28392. "models.QhjContract": {
  28393. "type": "object",
  28394. "properties": {
  28395. "contractconfirmtime": {
  28396. "description": "合同确认时间(时间)",
  28397. "type": "string"
  28398. },
  28399. "currisklevel": {
  28400. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28401. "type": "integer"
  28402. },
  28403. "decimalplace": {
  28404. "description": "商品报价小数位",
  28405. "type": "integer"
  28406. },
  28407. "enumdicname": {
  28408. "description": "单位名称",
  28409. "type": "string"
  28410. },
  28411. "goodscode": {
  28412. "description": "商品代码",
  28413. "type": "string"
  28414. },
  28415. "goodsid": {
  28416. "description": "商品ID [5:融资单]",
  28417. "type": "integer"
  28418. },
  28419. "goodsname": {
  28420. "description": "商品名称",
  28421. "type": "string"
  28422. },
  28423. "goodunitid": {
  28424. "description": "商品单位id",
  28425. "type": "integer"
  28426. },
  28427. "initmargin": {
  28428. "description": "初始保证金(首付款)",
  28429. "type": "number"
  28430. },
  28431. "lenderamount": {
  28432. "description": "贷款金额(总额|订单总额)",
  28433. "type": "number"
  28434. },
  28435. "marginratio": {
  28436. "description": "保证金比率(首付比例)",
  28437. "type": "number"
  28438. },
  28439. "payamount": {
  28440. "description": "已付(已付货款)",
  28441. "type": "number"
  28442. },
  28443. "reckonrecovermargin": {
  28444. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28445. "type": "number"
  28446. },
  28447. "recoveredmargin": {
  28448. "description": "已追缴保证金",
  28449. "type": "number"
  28450. },
  28451. "remainamount": {
  28452. "description": "合同剩余金额(融资额)",
  28453. "type": "number"
  28454. },
  28455. "scfcontractid": {
  28456. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28457. "type": "string"
  28458. },
  28459. "scfcontractstatus": {
  28460. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28461. "type": "integer"
  28462. },
  28463. "scfcontracttype": {
  28464. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28465. "type": "integer"
  28466. },
  28467. "totalinterest": {
  28468. "description": "已计总利息(利息)",
  28469. "type": "number"
  28470. },
  28471. "tradeprice": {
  28472. "description": "成交价格(成本价格)",
  28473. "type": "number"
  28474. },
  28475. "userid": {
  28476. "description": "用户ID",
  28477. "type": "integer"
  28478. },
  28479. "username": {
  28480. "description": "用户名称",
  28481. "type": "string"
  28482. },
  28483. "wrqty": {
  28484. "description": "仓单数量(数量)",
  28485. "type": "number"
  28486. }
  28487. }
  28488. },
  28489. "models.QhjContractLog": {
  28490. "type": "object",
  28491. "properties": {
  28492. "amount": {
  28493. "description": "支付金额",
  28494. "type": "number"
  28495. },
  28496. "amounttype": {
  28497. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28498. "type": "integer"
  28499. },
  28500. "logid": {
  28501. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28502. "type": "string"
  28503. },
  28504. "remainamount": {
  28505. "description": "剩余货款",
  28506. "type": "number"
  28507. },
  28508. "scfcontractid": {
  28509. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28510. "type": "integer"
  28511. },
  28512. "updatetime": {
  28513. "description": "更新时间",
  28514. "type": "string"
  28515. }
  28516. }
  28517. },
  28518. "models.QhjCusBankSignBankEx": {
  28519. "type": "object",
  28520. "properties": {
  28521. "banklst": {
  28522. "description": "银行列表",
  28523. "type": "array",
  28524. "items": {
  28525. "$ref": "#/definitions/models.QhjBankInfo"
  28526. }
  28527. },
  28528. "canallot": {
  28529. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28530. "type": "integer"
  28531. },
  28532. "canallotquery": {
  28533. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28534. "type": "integer"
  28535. },
  28536. "canbindcard": {
  28537. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28538. "type": "integer"
  28539. },
  28540. "caninamount": {
  28541. "description": "是否可入金 - 0:不可 1:可以",
  28542. "type": "integer"
  28543. },
  28544. "caninamount2": {
  28545. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28546. "type": "integer"
  28547. },
  28548. "canmodifybankcard": {
  28549. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28550. "type": "integer"
  28551. },
  28552. "canmodifyphone": {
  28553. "description": "是否可修改手机号 - 0:不可 1:可以",
  28554. "type": "integer"
  28555. },
  28556. "canmodifysigninfo": {
  28557. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28558. "type": "integer"
  28559. },
  28560. "canoutamount": {
  28561. "description": "是否可出金 - 0:不可 1:可以",
  28562. "type": "integer"
  28563. },
  28564. "canoutamount2": {
  28565. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28566. "type": "integer"
  28567. },
  28568. "canrelease": {
  28569. "description": "是否可解约 - 0:不可 1:可以",
  28570. "type": "integer"
  28571. },
  28572. "canrelease2": {
  28573. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28574. "type": "integer"
  28575. },
  28576. "cansign": {
  28577. "description": "是否可签约 - 0:不可 1:可以",
  28578. "type": "integer"
  28579. },
  28580. "cansign2": {
  28581. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28582. "type": "integer"
  28583. },
  28584. "currency": {
  28585. "description": "币种",
  28586. "type": "string"
  28587. },
  28588. "cusbankid": {
  28589. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28590. "type": "string"
  28591. },
  28592. "cusbankname": {
  28593. "description": "银行业务名称",
  28594. "type": "string"
  28595. },
  28596. "cusbankshortname": {
  28597. "description": "银行业务简称",
  28598. "type": "string"
  28599. },
  28600. "exchbankid": {
  28601. "description": "交易所开户银行ID",
  28602. "type": "string"
  28603. },
  28604. "exchpaybankaccname": {
  28605. "description": "交易所支出结算账户户名",
  28606. "type": "string"
  28607. },
  28608. "exchpaybankaccno": {
  28609. "description": "交易所支出结算账户",
  28610. "type": "string"
  28611. },
  28612. "isneedcheck": {
  28613. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28614. "type": "integer"
  28615. },
  28616. "isneedclear": {
  28617. "description": "是否需要清算 - 0:不需要 1:需要",
  28618. "type": "integer"
  28619. },
  28620. "lastcheckstatus": {
  28621. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28622. "type": "integer"
  28623. },
  28624. "lastchecktime": {
  28625. "description": "最后对账时间",
  28626. "type": "string"
  28627. },
  28628. "lastclearstatus": {
  28629. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28630. "type": "integer"
  28631. },
  28632. "lastcleartime": {
  28633. "description": "最后清算时间",
  28634. "type": "string"
  28635. },
  28636. "lastsignintime": {
  28637. "description": "最后签到时间",
  28638. "type": "string"
  28639. },
  28640. "lastsignouttime": {
  28641. "description": "最后签退时间",
  28642. "type": "string"
  28643. },
  28644. "riskinfo": {
  28645. "description": "签约风险提示书",
  28646. "type": "string"
  28647. },
  28648. "signstatus": {
  28649. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28650. "type": "integer"
  28651. },
  28652. "tradedate": {
  28653. "description": "交易日(yyyyMMdd)",
  28654. "type": "string"
  28655. },
  28656. "updatetime": {
  28657. "description": "当前签到/签退更新时间",
  28658. "type": "string"
  28659. }
  28660. }
  28661. },
  28662. "models.QhjCustomer": {
  28663. "type": "object",
  28664. "properties": {
  28665. "address": {
  28666. "description": "通讯地址",
  28667. "type": "string"
  28668. },
  28669. "attachment1": {
  28670. "description": "附件1",
  28671. "type": "string"
  28672. },
  28673. "attachment2": {
  28674. "description": "附件2",
  28675. "type": "string"
  28676. },
  28677. "audittime": {
  28678. "description": "审核时间",
  28679. "type": "string"
  28680. },
  28681. "cardbackphotourl": {
  28682. "description": "证件反面图片地址",
  28683. "type": "string"
  28684. },
  28685. "cardfrontphotourl": {
  28686. "description": "证件正面图片地址",
  28687. "type": "string"
  28688. },
  28689. "cardnum": {
  28690. "description": "证件号码",
  28691. "type": "string"
  28692. },
  28693. "cardtype": {
  28694. "description": "证件类型",
  28695. "type": "integer"
  28696. },
  28697. "cardtypename": {
  28698. "description": "证件类型名称",
  28699. "type": "string"
  28700. },
  28701. "cityid": {
  28702. "description": "市",
  28703. "type": "integer"
  28704. },
  28705. "cityname": {
  28706. "description": "城市名称",
  28707. "type": "string"
  28708. },
  28709. "contactname": {
  28710. "description": "联系人",
  28711. "type": "string"
  28712. },
  28713. "countryid": {
  28714. "description": "国家",
  28715. "type": "integer"
  28716. },
  28717. "countryname": {
  28718. "description": "国家名称",
  28719. "type": "string"
  28720. },
  28721. "createtime": {
  28722. "description": "创建时间",
  28723. "type": "string"
  28724. },
  28725. "customername": {
  28726. "description": "客户名称",
  28727. "type": "string"
  28728. },
  28729. "districtid": {
  28730. "description": "区域",
  28731. "type": "integer"
  28732. },
  28733. "districtname": {
  28734. "description": "地区名称",
  28735. "type": "string"
  28736. },
  28737. "email": {
  28738. "description": "邮件",
  28739. "type": "string"
  28740. },
  28741. "legalpersonname": {
  28742. "description": "法人姓名(企业)",
  28743. "type": "string"
  28744. },
  28745. "logincode": {
  28746. "description": "登录账号(代码)",
  28747. "type": "string"
  28748. },
  28749. "memberuserid": {
  28750. "description": "所属机构ID(所属会员)",
  28751. "type": "integer"
  28752. },
  28753. "memberusername": {
  28754. "description": "所属会员名称",
  28755. "type": "string"
  28756. },
  28757. "mobile": {
  28758. "description": "手机号码",
  28759. "type": "string"
  28760. },
  28761. "modifytime": {
  28762. "description": "修改时间",
  28763. "type": "string"
  28764. },
  28765. "nickname": {
  28766. "description": "昵称",
  28767. "type": "string"
  28768. },
  28769. "parentuserid": {
  28770. "description": "上级机构(所属机构)",
  28771. "type": "integer"
  28772. },
  28773. "parentusername": {
  28774. "description": "所属机构名称",
  28775. "type": "string"
  28776. },
  28777. "provinceid": {
  28778. "description": "省",
  28779. "type": "integer"
  28780. },
  28781. "provincename": {
  28782. "description": "省名称",
  28783. "type": "string"
  28784. },
  28785. "proxystatementurl": {
  28786. "description": "授权委托书",
  28787. "type": "string"
  28788. },
  28789. "remark": {
  28790. "description": "备注",
  28791. "type": "string"
  28792. },
  28793. "status": {
  28794. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28795. "type": "integer"
  28796. },
  28797. "statusdesc": {
  28798. "description": "账户状态中文描述",
  28799. "type": "string"
  28800. },
  28801. "taxpayernum": {
  28802. "description": "纳税人识别号",
  28803. "type": "string"
  28804. },
  28805. "telphone": {
  28806. "description": "联系电话",
  28807. "type": "string"
  28808. },
  28809. "userid": {
  28810. "description": "用户ID",
  28811. "type": "integer"
  28812. },
  28813. "userinfotype": {
  28814. "description": "客户类型 1-个人 2-企业",
  28815. "type": "integer"
  28816. },
  28817. "username": {
  28818. "description": "用户名称",
  28819. "type": "string"
  28820. }
  28821. }
  28822. },
  28823. "models.QhjCustomerSignLog": {
  28824. "type": "object",
  28825. "properties": {
  28826. "agreementcontent": {
  28827. "description": "协议内容",
  28828. "type": "string"
  28829. },
  28830. "agreementid": {
  28831. "description": "协议ID",
  28832. "type": "integer"
  28833. },
  28834. "agreementname": {
  28835. "description": "协议名称",
  28836. "type": "string"
  28837. },
  28838. "agreementno": {
  28839. "description": "协议编号",
  28840. "type": "string"
  28841. },
  28842. "agreementtype": {
  28843. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28844. "type": "integer"
  28845. },
  28846. "agreementversion": {
  28847. "description": "协议版本号",
  28848. "type": "integer"
  28849. },
  28850. "createtime": {
  28851. "description": "创建时间",
  28852. "type": "string"
  28853. },
  28854. "goodscode": {
  28855. "description": "商品代码",
  28856. "type": "string"
  28857. },
  28858. "goodsid": {
  28859. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28860. "type": "integer"
  28861. },
  28862. "goodsname": {
  28863. "description": "商品名称",
  28864. "type": "string"
  28865. },
  28866. "logid": {
  28867. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28868. "type": "integer"
  28869. },
  28870. "nodetype": {
  28871. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28872. "type": "integer"
  28873. },
  28874. "signadressurl": {
  28875. "description": "签约文件地址",
  28876. "type": "string"
  28877. },
  28878. "signtimestamp": {
  28879. "description": "签约状态时间戳",
  28880. "type": "string"
  28881. },
  28882. "userid": {
  28883. "description": "客户ID",
  28884. "type": "integer"
  28885. },
  28886. "username": {
  28887. "description": "客户名称",
  28888. "type": "string"
  28889. }
  28890. }
  28891. },
  28892. "models.QhjCustomerSignStatus": {
  28893. "type": "object",
  28894. "properties": {
  28895. "createtime": {
  28896. "description": "创建时间",
  28897. "type": "string"
  28898. },
  28899. "goodscode": {
  28900. "description": "商品代码",
  28901. "type": "string"
  28902. },
  28903. "goodsid": {
  28904. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28905. "type": "integer"
  28906. },
  28907. "goodsname": {
  28908. "description": "商品名称",
  28909. "type": "string"
  28910. },
  28911. "nodetype": {
  28912. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28913. "type": "integer"
  28914. },
  28915. "signtimestamp": {
  28916. "description": "签约状态时间戳",
  28917. "type": "string"
  28918. },
  28919. "tradedate": {
  28920. "description": "创建交易日(yyyyMMdd)",
  28921. "type": "string"
  28922. },
  28923. "updatetime": {
  28924. "description": "更新时间",
  28925. "type": "string"
  28926. },
  28927. "userid": {
  28928. "description": "客户ID",
  28929. "type": "integer"
  28930. },
  28931. "username": {
  28932. "description": "客户名称",
  28933. "type": "string"
  28934. }
  28935. }
  28936. },
  28937. "models.QhjMgrAccountOutInApply": {
  28938. "type": "object",
  28939. "properties": {
  28940. "accountcode": {
  28941. "description": "资金账号",
  28942. "type": "string"
  28943. },
  28944. "accountname": {
  28945. "description": "用户名称(名称)",
  28946. "type": "string"
  28947. },
  28948. "accountpwd": {
  28949. "description": "资金密码",
  28950. "type": "string"
  28951. },
  28952. "accountticket": {
  28953. "description": "最新账户服务流水号",
  28954. "type": "string"
  28955. },
  28956. "amount": {
  28957. "description": "金额",
  28958. "type": "number"
  28959. },
  28960. "applyremark": {
  28961. "description": "申请备注",
  28962. "type": "string"
  28963. },
  28964. "applystatus": {
  28965. "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: 复审通过,账户冻结金额检查中;",
  28966. "type": "integer"
  28967. },
  28968. "auditid": {
  28969. "description": "审核人",
  28970. "type": "integer"
  28971. },
  28972. "audittime": {
  28973. "description": "审核时间",
  28974. "type": "string"
  28975. },
  28976. "bank_apply_ticket": {
  28977. "description": "银行申请流水",
  28978. "type": "string"
  28979. },
  28980. "bankaccountname": {
  28981. "description": "银行账户名",
  28982. "type": "string"
  28983. },
  28984. "bankaccountno": {
  28985. "description": "银行卡号",
  28986. "type": "string"
  28987. },
  28988. "bankid": {
  28989. "description": "银行编号",
  28990. "type": "string"
  28991. },
  28992. "bankname": {
  28993. "description": "银行名称",
  28994. "type": "string"
  28995. },
  28996. "bankticket": {
  28997. "description": "银行流水",
  28998. "type": "string"
  28999. },
  29000. "branchbankid": {
  29001. "description": "银行支行号",
  29002. "type": "string"
  29003. },
  29004. "branchbankname": {
  29005. "description": "银行支行名称",
  29006. "type": "string"
  29007. },
  29008. "capamountout": {
  29009. "description": "出金(劣后本金) - 外部子账户",
  29010. "type": "number"
  29011. },
  29012. "certificatephotourl": {
  29013. "description": "凭证地址",
  29014. "type": "string"
  29015. },
  29016. "charge": {
  29017. "description": "手续费",
  29018. "type": "number"
  29019. },
  29020. "checkerrorflag": {
  29021. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29022. "type": "integer"
  29023. },
  29024. "currency": {
  29025. "description": "币种",
  29026. "type": "string"
  29027. },
  29028. "cusbankid": {
  29029. "description": "托管银行编号",
  29030. "type": "string"
  29031. },
  29032. "exchticket": {
  29033. "description": "银行服务流水号",
  29034. "type": "string"
  29035. },
  29036. "executetype": {
  29037. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29038. "type": "integer"
  29039. },
  29040. "extendinfo": {
  29041. "description": "扩展信息",
  29042. "type": "string"
  29043. },
  29044. "extoperateid": {
  29045. "description": "交易服务流水号",
  29046. "type": "integer"
  29047. },
  29048. "infamount": {
  29049. "description": "劣后金额(自有)",
  29050. "type": "number"
  29051. },
  29052. "logincode": {
  29053. "description": "登录账号(账号)",
  29054. "type": "string"
  29055. },
  29056. "netaddr": {
  29057. "description": "调转网址",
  29058. "type": "string"
  29059. },
  29060. "priamount": {
  29061. "description": "优先金额(授信)",
  29062. "type": "number"
  29063. },
  29064. "reauditid": {
  29065. "description": "复审人",
  29066. "type": "integer"
  29067. },
  29068. "reauditremark": {
  29069. "description": "复审备注",
  29070. "type": "string"
  29071. },
  29072. "reaudittime": {
  29073. "description": "复审时间",
  29074. "type": "string"
  29075. },
  29076. "relatedorderid": {
  29077. "description": "三方关联ID",
  29078. "type": "string"
  29079. },
  29080. "remark": {
  29081. "description": "备注",
  29082. "type": "string"
  29083. },
  29084. "remark2": {
  29085. "description": "备注(失败原因)",
  29086. "type": "string"
  29087. },
  29088. "soucreamount": {
  29089. "description": "原始出入金金额",
  29090. "type": "number"
  29091. },
  29092. "soucrecurrencyid": {
  29093. "description": "原始出入金币种",
  29094. "type": "integer"
  29095. },
  29096. "tradedate": {
  29097. "description": "交易日(yyyyMMdd)",
  29098. "type": "string"
  29099. },
  29100. "updatetime": {
  29101. "description": "更新时间(申请时间)",
  29102. "type": "string"
  29103. },
  29104. "userid": {
  29105. "description": "用户id",
  29106. "type": "integer"
  29107. },
  29108. "userinfotype": {
  29109. "description": "账户类型 1-个人 2-企业",
  29110. "type": "integer"
  29111. }
  29112. }
  29113. },
  29114. "models.QhjMgrBrokerApply": {
  29115. "type": "object",
  29116. "properties": {
  29117. "applicantid": {
  29118. "description": "申请人",
  29119. "type": "integer"
  29120. },
  29121. "applysrc": {
  29122. "description": "申请来源 - 1:管理端 2:终端",
  29123. "type": "integer"
  29124. },
  29125. "applystatus": {
  29126. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29127. "type": "integer"
  29128. },
  29129. "applytime": {
  29130. "description": "申请时间",
  29131. "type": "string"
  29132. },
  29133. "auditorid": {
  29134. "description": "审核人",
  29135. "type": "integer"
  29136. },
  29137. "auditremark": {
  29138. "description": "审核备注",
  29139. "type": "string"
  29140. },
  29141. "auditsrc": {
  29142. "description": "审核来源 - 1:管理端 2:终端",
  29143. "type": "integer"
  29144. },
  29145. "audittime": {
  29146. "description": "审核时间",
  29147. "type": "string"
  29148. },
  29149. "audittradedate": {
  29150. "description": "审核交易日(yyyyMMdd)",
  29151. "type": "string"
  29152. },
  29153. "brokerapplyid": {
  29154. "description": "申请ID(SEQ_BROKERAPPLY)",
  29155. "type": "integer"
  29156. },
  29157. "cardbackphotourl": {
  29158. "description": "证件背面图片地址",
  29159. "type": "string"
  29160. },
  29161. "cardfrontphotourl": {
  29162. "description": "证件正面图片地址",
  29163. "type": "string"
  29164. },
  29165. "cardnum": {
  29166. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29167. "type": "string"
  29168. },
  29169. "customername": {
  29170. "description": "姓名",
  29171. "type": "string"
  29172. },
  29173. "filterstatus": {
  29174. "description": "筛选条件",
  29175. "type": "string"
  29176. },
  29177. "logincode": {
  29178. "description": "登录代码",
  29179. "type": "string"
  29180. },
  29181. "mobile": {
  29182. "description": "手机号码",
  29183. "type": "string"
  29184. },
  29185. "parentuserid": {
  29186. "description": "所属机构id",
  29187. "type": "integer"
  29188. },
  29189. "parentusername": {
  29190. "description": "所属机构名称",
  29191. "type": "string"
  29192. },
  29193. "refereeuserid": {
  29194. "description": "推荐人id(经纪人)",
  29195. "type": "integer"
  29196. },
  29197. "refernum": {
  29198. "description": "推荐码",
  29199. "type": "string"
  29200. },
  29201. "remark": {
  29202. "description": "备注",
  29203. "type": "string"
  29204. },
  29205. "subarealevelpath": {
  29206. "description": "层级路径",
  29207. "type": "string"
  29208. },
  29209. "tradedate": {
  29210. "description": "交易日(yyyyMMdd)",
  29211. "type": "string"
  29212. },
  29213. "userid": {
  29214. "description": "申请人用户ID",
  29215. "type": "integer"
  29216. },
  29217. "userinfotype": {
  29218. "description": "用户类型 1-个人 2-企业",
  29219. "type": "integer"
  29220. },
  29221. "username": {
  29222. "description": "用户名称",
  29223. "type": "string"
  29224. }
  29225. }
  29226. },
  29227. "models.QhjMgrBrokerRewardReport": {
  29228. "type": "object",
  29229. "properties": {
  29230. "createtime": {
  29231. "description": "创建时间(注册时间)",
  29232. "type": "string"
  29233. },
  29234. "cycletime": {
  29235. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29236. "type": "string"
  29237. },
  29238. "cycletype": {
  29239. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29240. "type": "integer"
  29241. },
  29242. "directtotalnum": {
  29243. "description": "直推总人数【期末】",
  29244. "type": "integer"
  29245. },
  29246. "indirecttotalnum": {
  29247. "description": "间推总人数【期末】",
  29248. "type": "integer"
  29249. },
  29250. "mobile": {
  29251. "description": "电话号码",
  29252. "type": "string"
  29253. },
  29254. "refereeuserid": {
  29255. "description": "推荐人id(经纪人id)",
  29256. "type": "integer"
  29257. },
  29258. "refereeusername": {
  29259. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29260. "type": "string"
  29261. },
  29262. "refernum": {
  29263. "description": "推荐码",
  29264. "type": "string"
  29265. },
  29266. "subarealevelpath": {
  29267. "description": "用户层级路径",
  29268. "type": "string"
  29269. },
  29270. "todayrewardamount": {
  29271. "description": "奖励总金额【汇总】",
  29272. "type": "number"
  29273. },
  29274. "updatetime": {
  29275. "description": "更新时间",
  29276. "type": "string"
  29277. },
  29278. "userid": {
  29279. "description": "经纪人用户ID",
  29280. "type": "integer"
  29281. },
  29282. "userinfotype": {
  29283. "description": "用户类型 1-个人 2-企业",
  29284. "type": "integer"
  29285. },
  29286. "username": {
  29287. "description": "用户名称",
  29288. "type": "string"
  29289. }
  29290. }
  29291. },
  29292. "models.QhjMgrContract": {
  29293. "type": "object",
  29294. "properties": {
  29295. "contractconfirmtime": {
  29296. "description": "合同确认时间(时间)",
  29297. "type": "string"
  29298. },
  29299. "currisklevel": {
  29300. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29301. "type": "integer"
  29302. },
  29303. "decimalplace": {
  29304. "description": "商品报价小数位",
  29305. "type": "integer"
  29306. },
  29307. "enumdicname": {
  29308. "description": "单位名称",
  29309. "type": "string"
  29310. },
  29311. "goodscode": {
  29312. "description": "商品代码",
  29313. "type": "string"
  29314. },
  29315. "goodsid": {
  29316. "description": "商品ID [5:融资单]",
  29317. "type": "integer"
  29318. },
  29319. "goodsname": {
  29320. "description": "商品名称",
  29321. "type": "string"
  29322. },
  29323. "goodunitid": {
  29324. "description": "商品单位id",
  29325. "type": "integer"
  29326. },
  29327. "initmargin": {
  29328. "description": "初始保证金(首付款)",
  29329. "type": "number"
  29330. },
  29331. "lenderamount": {
  29332. "description": "贷款金额(总额|订单总额)",
  29333. "type": "number"
  29334. },
  29335. "logincode": {
  29336. "description": "账号(登录代码)",
  29337. "type": "string"
  29338. },
  29339. "marginratio": {
  29340. "description": "保证金比率(首付比例)",
  29341. "type": "number"
  29342. },
  29343. "mobile": {
  29344. "description": "电话号码(用户资料里的电话)",
  29345. "type": "string"
  29346. },
  29347. "payamount": {
  29348. "description": "已付(已付货款)",
  29349. "type": "number"
  29350. },
  29351. "reckonrecovermargin": {
  29352. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29353. "type": "number"
  29354. },
  29355. "recoveredmargin": {
  29356. "description": "已追缴保证金",
  29357. "type": "number"
  29358. },
  29359. "remainamount": {
  29360. "description": "合同剩余金额(融资额)",
  29361. "type": "number"
  29362. },
  29363. "scfcontractid": {
  29364. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29365. "type": "string"
  29366. },
  29367. "scfcontractstatus": {
  29368. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29369. "type": "integer"
  29370. },
  29371. "scfcontracttype": {
  29372. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29373. "type": "integer"
  29374. },
  29375. "totalinterest": {
  29376. "description": "已计总利息(利息)",
  29377. "type": "number"
  29378. },
  29379. "tradedate": {
  29380. "description": "交易日",
  29381. "type": "string"
  29382. },
  29383. "tradeprice": {
  29384. "description": "成交价格(成本价格)",
  29385. "type": "number"
  29386. },
  29387. "userid": {
  29388. "description": "用户ID",
  29389. "type": "integer"
  29390. },
  29391. "userinfotype": {
  29392. "description": "用户类型 1-个人 2-企业",
  29393. "type": "integer"
  29394. },
  29395. "username": {
  29396. "description": "用户名称",
  29397. "type": "string"
  29398. },
  29399. "wrqty": {
  29400. "description": "仓单数量(数量)",
  29401. "type": "number"
  29402. }
  29403. }
  29404. },
  29405. "models.QhjMgrCustomer": {
  29406. "type": "object",
  29407. "properties": {
  29408. "address": {
  29409. "description": "通讯地址",
  29410. "type": "string"
  29411. },
  29412. "attachment1": {
  29413. "description": "附件1",
  29414. "type": "string"
  29415. },
  29416. "audittime": {
  29417. "description": "审核时间",
  29418. "type": "string"
  29419. },
  29420. "birthday": {
  29421. "description": "生日",
  29422. "type": "string"
  29423. },
  29424. "brokerid": {
  29425. "description": "所属客户经理id",
  29426. "type": "integer"
  29427. },
  29428. "brokername": {
  29429. "description": "所属客户经理名称",
  29430. "type": "string"
  29431. },
  29432. "cardbackphotourl": {
  29433. "description": "证件反面图片地址",
  29434. "type": "string"
  29435. },
  29436. "cardfrontphotourl": {
  29437. "description": "证件正面图片地址",
  29438. "type": "string"
  29439. },
  29440. "cardnum": {
  29441. "description": "证件号码",
  29442. "type": "string"
  29443. },
  29444. "cardtype": {
  29445. "description": "证件类型",
  29446. "type": "integer"
  29447. },
  29448. "cardtypename": {
  29449. "description": "证件类型名称",
  29450. "type": "string"
  29451. },
  29452. "cityid": {
  29453. "description": "市",
  29454. "type": "integer"
  29455. },
  29456. "cityname": {
  29457. "description": "城市名称",
  29458. "type": "string"
  29459. },
  29460. "contactname": {
  29461. "description": "联系人",
  29462. "type": "string"
  29463. },
  29464. "countryid": {
  29465. "description": "国家",
  29466. "type": "integer"
  29467. },
  29468. "countryname": {
  29469. "description": "国家名称",
  29470. "type": "string"
  29471. },
  29472. "createtime": {
  29473. "description": "创建时间",
  29474. "type": "string"
  29475. },
  29476. "customername": {
  29477. "description": "客户名称",
  29478. "type": "string"
  29479. },
  29480. "districtid": {
  29481. "description": "区域",
  29482. "type": "integer"
  29483. },
  29484. "districtname": {
  29485. "description": "地区名称",
  29486. "type": "string"
  29487. },
  29488. "email": {
  29489. "description": "邮件",
  29490. "type": "string"
  29491. },
  29492. "legalpersonname": {
  29493. "description": "法人姓名(企业)",
  29494. "type": "string"
  29495. },
  29496. "logincode": {
  29497. "description": "登录账号(代码)",
  29498. "type": "string"
  29499. },
  29500. "memberuserid": {
  29501. "description": "所属机构ID(所属会员)",
  29502. "type": "integer"
  29503. },
  29504. "memberusername": {
  29505. "description": "所属会员名称",
  29506. "type": "string"
  29507. },
  29508. "mobile": {
  29509. "description": "手机号码",
  29510. "type": "string"
  29511. },
  29512. "modifytime": {
  29513. "description": "修改时间",
  29514. "type": "string"
  29515. },
  29516. "nickname": {
  29517. "description": "昵称",
  29518. "type": "string"
  29519. },
  29520. "parentuserid": {
  29521. "description": "上级机构(所属机构)",
  29522. "type": "integer"
  29523. },
  29524. "parentusername": {
  29525. "description": "所属机构名称",
  29526. "type": "string"
  29527. },
  29528. "provinceid": {
  29529. "description": "省",
  29530. "type": "integer"
  29531. },
  29532. "provincename": {
  29533. "description": "省名称",
  29534. "type": "string"
  29535. },
  29536. "proxystatementurl": {
  29537. "description": "授权委托书",
  29538. "type": "string"
  29539. },
  29540. "querytype": {
  29541. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29542. "type": "integer"
  29543. },
  29544. "remark": {
  29545. "description": "备注",
  29546. "type": "string"
  29547. },
  29548. "sex": {
  29549. "description": "性别 0-女 1-男",
  29550. "type": "integer"
  29551. },
  29552. "status": {
  29553. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29554. "type": "integer"
  29555. },
  29556. "statusdesc": {
  29557. "description": "账户状态中文描述",
  29558. "type": "string"
  29559. },
  29560. "taxpayernum": {
  29561. "description": "纳税人识别号",
  29562. "type": "string"
  29563. },
  29564. "telphone": {
  29565. "description": "联系电话",
  29566. "type": "string"
  29567. },
  29568. "userid": {
  29569. "description": "用户ID",
  29570. "type": "integer"
  29571. },
  29572. "userinfotype": {
  29573. "description": "客户类型 1-个人 2-企业",
  29574. "type": "integer"
  29575. },
  29576. "username": {
  29577. "description": "用户名称",
  29578. "type": "string"
  29579. }
  29580. }
  29581. },
  29582. "models.QhjMgrPickGoods": {
  29583. "type": "object",
  29584. "properties": {
  29585. "enumdicname": {
  29586. "description": "单位名称(提货商品)",
  29587. "type": "string"
  29588. },
  29589. "goodsid": {
  29590. "description": "商品id",
  29591. "type": "integer"
  29592. },
  29593. "imageaddress": {
  29594. "description": "图片",
  29595. "type": "string"
  29596. },
  29597. "modifierid": {
  29598. "description": "修改人",
  29599. "type": "integer"
  29600. },
  29601. "modifiername": {
  29602. "description": "修改人名称",
  29603. "type": "string"
  29604. },
  29605. "modifysrc": {
  29606. "description": "修改来源 - 1:管理端 2:终端",
  29607. "type": "integer"
  29608. },
  29609. "pickupgoodsagreeunit": {
  29610. "description": "合约乘数",
  29611. "type": "number"
  29612. },
  29613. "pickupgoodsdesc": {
  29614. "description": "描述",
  29615. "type": "string"
  29616. },
  29617. "pickupgoodsid": {
  29618. "description": "提货商品ID",
  29619. "type": "string"
  29620. },
  29621. "pickupgoodsname": {
  29622. "description": "提货商品名称",
  29623. "type": "string"
  29624. },
  29625. "pickupgoodsstatus": {
  29626. "description": "状态 - 1:正常 2:停用 3:注销",
  29627. "type": "integer"
  29628. },
  29629. "pickupgoodsunitid": {
  29630. "description": "单位ID",
  29631. "type": "integer"
  29632. },
  29633. "pickupratio": {
  29634. "description": "提货系数",
  29635. "type": "number"
  29636. },
  29637. "preparedays": {
  29638. "description": "备货期(天)",
  29639. "type": "integer"
  29640. },
  29641. "remark": {
  29642. "description": "备注",
  29643. "type": "string"
  29644. },
  29645. "updatetime": {
  29646. "description": "更新时间",
  29647. "type": "string"
  29648. }
  29649. }
  29650. },
  29651. "models.QhjMgrPositionRsp": {
  29652. "type": "object",
  29653. "properties": {
  29654. "accountid": {
  29655. "description": "账号Id",
  29656. "type": "integer"
  29657. },
  29658. "accountname": {
  29659. "description": "用户名称",
  29660. "type": "string"
  29661. },
  29662. "agreeunit": {
  29663. "description": "合约乘数",
  29664. "type": "number"
  29665. },
  29666. "averageprice": {
  29667. "description": "均价",
  29668. "type": "number"
  29669. },
  29670. "avialqty": {
  29671. "description": "可用数量",
  29672. "type": "number"
  29673. },
  29674. "decimalplace": {
  29675. "description": "报价小数位",
  29676. "type": "integer"
  29677. },
  29678. "enumdicname": {
  29679. "description": "单位名称(商品)",
  29680. "type": "string"
  29681. },
  29682. "frozenqty": {
  29683. "description": "冻结数量",
  29684. "type": "number"
  29685. },
  29686. "goodscode": {
  29687. "description": "商品代码(内部)",
  29688. "type": "string"
  29689. },
  29690. "goodsid": {
  29691. "description": "商品Id",
  29692. "type": "integer"
  29693. },
  29694. "goodsname": {
  29695. "description": "商品名称",
  29696. "type": "string"
  29697. },
  29698. "goodunitid": {
  29699. "description": "报价单位ID",
  29700. "type": "integer"
  29701. },
  29702. "holderamount": {
  29703. "description": "金额",
  29704. "type": "number"
  29705. },
  29706. "holderqty": {
  29707. "description": "持有数量",
  29708. "type": "number"
  29709. },
  29710. "holdertype": {
  29711. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29712. "type": "integer"
  29713. },
  29714. "logincode": {
  29715. "description": "登录代码(账户)",
  29716. "type": "string"
  29717. },
  29718. "marketid": {
  29719. "description": "市场id",
  29720. "type": "integer"
  29721. },
  29722. "qtydecimalplace": {
  29723. "description": "成交量小数位",
  29724. "type": "integer"
  29725. },
  29726. "trademode": {
  29727. "description": "交易模式",
  29728. "type": "integer"
  29729. },
  29730. "userid": {
  29731. "description": "用户id",
  29732. "type": "integer"
  29733. },
  29734. "userinfotype": {
  29735. "description": "账户类型 1-个人 2-企业",
  29736. "type": "integer"
  29737. }
  29738. }
  29739. },
  29740. "models.QhjMgrSubArea": {
  29741. "type": "object",
  29742. "properties": {
  29743. "accountname": {
  29744. "description": "账户名称(机构名称)",
  29745. "type": "string"
  29746. },
  29747. "memberuserid": {
  29748. "description": "所属会员ID",
  29749. "type": "integer"
  29750. },
  29751. "parenttopuser": {
  29752. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29753. "type": "string"
  29754. },
  29755. "parentuserid": {
  29756. "description": "所属机构ID",
  29757. "type": "integer"
  29758. },
  29759. "rootuserid": {
  29760. "description": "根用户ID",
  29761. "type": "string"
  29762. },
  29763. "subaccountlevel": {
  29764. "description": "子账户层数",
  29765. "type": "integer"
  29766. },
  29767. "subarealevelpath": {
  29768. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29769. "type": "string"
  29770. },
  29771. "userid": {
  29772. "description": "用户ID",
  29773. "type": "integer"
  29774. },
  29775. "usertype": {
  29776. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29777. "type": "integer"
  29778. }
  29779. }
  29780. },
  29781. "models.QhjMgrTradeDetailRsp": {
  29782. "type": "object",
  29783. "properties": {
  29784. "accountid": {
  29785. "description": "资金账号",
  29786. "type": "integer"
  29787. },
  29788. "accountname": {
  29789. "description": "用户名称",
  29790. "type": "string"
  29791. },
  29792. "agreeunit": {
  29793. "description": "合约乘数",
  29794. "type": "number"
  29795. },
  29796. "buyorsell": {
  29797. "description": "成交类型(方向) 0:买 1:卖",
  29798. "type": "integer"
  29799. },
  29800. "decimalplace": {
  29801. "description": "报价小数位",
  29802. "type": "integer"
  29803. },
  29804. "enumdicname": {
  29805. "description": "单位名称(商品)",
  29806. "type": "string"
  29807. },
  29808. "goodscode": {
  29809. "description": "商品代码(内部)",
  29810. "type": "string"
  29811. },
  29812. "goodsid": {
  29813. "description": "商品id",
  29814. "type": "integer"
  29815. },
  29816. "goodsname": {
  29817. "description": "商品名称",
  29818. "type": "string"
  29819. },
  29820. "goodunitid": {
  29821. "description": "报价单位ID",
  29822. "type": "integer"
  29823. },
  29824. "logincode": {
  29825. "description": "登录代码(账户)",
  29826. "type": "string"
  29827. },
  29828. "marketid": {
  29829. "description": "市场id",
  29830. "type": "integer"
  29831. },
  29832. "orderid": {
  29833. "description": "关联委托单号",
  29834. "type": "string"
  29835. },
  29836. "qtydecimalplace": {
  29837. "description": "成交量小数位",
  29838. "type": "integer"
  29839. },
  29840. "tradeamount": {
  29841. "description": "金额",
  29842. "type": "number"
  29843. },
  29844. "tradedate": {
  29845. "description": "交易日",
  29846. "type": "string"
  29847. },
  29848. "tradeid": {
  29849. "description": "成交单号",
  29850. "type": "string"
  29851. },
  29852. "trademode": {
  29853. "description": "交易模式",
  29854. "type": "integer"
  29855. },
  29856. "tradeprice": {
  29857. "description": "价格",
  29858. "type": "number"
  29859. },
  29860. "tradeqty": {
  29861. "description": "数量",
  29862. "type": "number"
  29863. },
  29864. "tradetime": {
  29865. "description": "成交时间",
  29866. "type": "string"
  29867. },
  29868. "userid": {
  29869. "description": "用户id",
  29870. "type": "integer"
  29871. },
  29872. "userinfotype": {
  29873. "description": "账户类型 1-个人 2-企业",
  29874. "type": "integer"
  29875. }
  29876. }
  29877. },
  29878. "models.QhjMgrTradeOrderDetailRsp": {
  29879. "type": "object",
  29880. "properties": {
  29881. "accountid": {
  29882. "description": "资金账号",
  29883. "type": "integer"
  29884. },
  29885. "accountname": {
  29886. "description": "用户名称",
  29887. "type": "string"
  29888. },
  29889. "agreeunit": {
  29890. "description": "合约乘数",
  29891. "type": "number"
  29892. },
  29893. "amount": {
  29894. "description": "金额",
  29895. "type": "number"
  29896. },
  29897. "decimalplace": {
  29898. "description": "报价小数位",
  29899. "type": "integer"
  29900. },
  29901. "enumdicname": {
  29902. "description": "单位名称(商品)",
  29903. "type": "string"
  29904. },
  29905. "goodscode": {
  29906. "description": "商品代码(内部)",
  29907. "type": "string"
  29908. },
  29909. "goodsid": {
  29910. "description": "商品id",
  29911. "type": "integer"
  29912. },
  29913. "goodsname": {
  29914. "description": "商品名称",
  29915. "type": "string"
  29916. },
  29917. "goodunitid": {
  29918. "description": "报价单位ID",
  29919. "type": "integer"
  29920. },
  29921. "logincode": {
  29922. "description": "登录代码(账户)",
  29923. "type": "string"
  29924. },
  29925. "marketid": {
  29926. "description": "市场id",
  29927. "type": "integer"
  29928. },
  29929. "orderid": {
  29930. "description": "关联委托单号",
  29931. "type": "string"
  29932. },
  29933. "orderprice": {
  29934. "description": "价格",
  29935. "type": "number"
  29936. },
  29937. "orderqty": {
  29938. "description": "数量",
  29939. "type": "number"
  29940. },
  29941. "orderstatus": {
  29942. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29943. "type": "integer"
  29944. },
  29945. "ordertime": {
  29946. "description": "委托时间",
  29947. "type": "string"
  29948. },
  29949. "qtydecimalplace": {
  29950. "description": "成交量小数位",
  29951. "type": "integer"
  29952. },
  29953. "tradedate": {
  29954. "description": "交易日",
  29955. "type": "string"
  29956. },
  29957. "trademode": {
  29958. "description": "交易模式",
  29959. "type": "integer"
  29960. },
  29961. "userid": {
  29962. "description": "用户id",
  29963. "type": "integer"
  29964. },
  29965. "userinfotype": {
  29966. "description": "账户类型 1-个人 2-企业",
  29967. "type": "integer"
  29968. }
  29969. }
  29970. },
  29971. "models.QhjMgrTradePayOrder": {
  29972. "type": "object",
  29973. "properties": {
  29974. "accountname": {
  29975. "description": "用户名称",
  29976. "type": "string"
  29977. },
  29978. "advanceratio": {
  29979. "description": "首付比率",
  29980. "type": "number"
  29981. },
  29982. "agreeunit": {
  29983. "description": "合约乘数",
  29984. "type": "number"
  29985. },
  29986. "buyaccountid": {
  29987. "description": "买方账号ID[报价币种]",
  29988. "type": "integer"
  29989. },
  29990. "buyorderid": {
  29991. "description": "买方委托单号(关联单号)",
  29992. "type": "string"
  29993. },
  29994. "createtime": {
  29995. "description": "创建时间",
  29996. "type": "string"
  29997. },
  29998. "decimalplace": {
  29999. "description": "报价小数位",
  30000. "type": "integer"
  30001. },
  30002. "enumdicname": {
  30003. "description": "单位名称(商品)",
  30004. "type": "string"
  30005. },
  30006. "goodscode": {
  30007. "description": "商品代码(内部)",
  30008. "type": "string"
  30009. },
  30010. "goodsid": {
  30011. "description": "商品ID",
  30012. "type": "integer"
  30013. },
  30014. "goodsname": {
  30015. "description": "商品名称",
  30016. "type": "string"
  30017. },
  30018. "goodunitid": {
  30019. "description": "报价单位ID",
  30020. "type": "integer"
  30021. },
  30022. "logincode": {
  30023. "description": "登录代码(账户)",
  30024. "type": "string"
  30025. },
  30026. "marketid": {
  30027. "description": "市场id",
  30028. "type": "integer"
  30029. },
  30030. "offamount": {
  30031. "description": "优惠金额",
  30032. "type": "number"
  30033. },
  30034. "operatetype": {
  30035. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30036. "type": "integer"
  30037. },
  30038. "payamount": {
  30039. "description": "支付金额(金额)",
  30040. "type": "number"
  30041. },
  30042. "payflag": {
  30043. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30044. "type": "integer"
  30045. },
  30046. "paylimitedtime": {
  30047. "description": "支付期限",
  30048. "type": "string"
  30049. },
  30050. "paytime": {
  30051. "description": "付款时间",
  30052. "type": "string"
  30053. },
  30054. "qtydecimalplace": {
  30055. "description": "成交量小数位",
  30056. "type": "integer"
  30057. },
  30058. "sellaccountid": {
  30059. "description": "卖方账号ID[报价币种]",
  30060. "type": "integer"
  30061. },
  30062. "sellorderid": {
  30063. "description": "卖方委托单号",
  30064. "type": "string"
  30065. },
  30066. "tradeamount": {
  30067. "description": "成交金额(优惠后金额)",
  30068. "type": "number"
  30069. },
  30070. "tradecharge": {
  30071. "description": "成交手续费(买方)",
  30072. "type": "number"
  30073. },
  30074. "tradedate": {
  30075. "description": "交易日(yyyyMMdd)",
  30076. "type": "string"
  30077. },
  30078. "tradeid": {
  30079. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30080. "type": "string"
  30081. },
  30082. "trademode": {
  30083. "description": "交易模式",
  30084. "type": "integer"
  30085. },
  30086. "tradeprice": {
  30087. "description": "成交价格(价格)",
  30088. "type": "number"
  30089. },
  30090. "tradeqty": {
  30091. "description": "成交数量(数量)",
  30092. "type": "number"
  30093. },
  30094. "tradetime": {
  30095. "description": "成交时间",
  30096. "type": "string"
  30097. },
  30098. "userid": {
  30099. "description": "用户id",
  30100. "type": "integer"
  30101. },
  30102. "userinfotype": {
  30103. "description": "账户类型 1-个人 2-企业",
  30104. "type": "integer"
  30105. }
  30106. }
  30107. },
  30108. "models.QhjMyTeamEx": {
  30109. "type": "object",
  30110. "properties": {
  30111. "accountname": {
  30112. "description": "用户名称",
  30113. "type": "string"
  30114. },
  30115. "accountstatus": {
  30116. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30117. "type": "integer"
  30118. },
  30119. "createtime": {
  30120. "description": "创建时间",
  30121. "type": "string"
  30122. },
  30123. "mobile": {
  30124. "description": "手机号码",
  30125. "type": "string"
  30126. },
  30127. "refereeuserid": {
  30128. "description": "推荐人id",
  30129. "type": "integer"
  30130. },
  30131. "refernum": {
  30132. "description": "推荐码",
  30133. "type": "string"
  30134. },
  30135. "subList": {
  30136. "type": "array",
  30137. "items": {
  30138. "$ref": "#/definitions/models.QhjMyTeamEx"
  30139. }
  30140. },
  30141. "userid": {
  30142. "description": "用户id",
  30143. "type": "integer"
  30144. },
  30145. "userinfotype": {
  30146. "description": "用户类型 1-个人 2-企业",
  30147. "type": "integer"
  30148. }
  30149. }
  30150. },
  30151. "models.QhjNodeAgreementConfig": {
  30152. "type": "object",
  30153. "properties": {
  30154. "agreementcontent": {
  30155. "description": "协议内容",
  30156. "type": "string"
  30157. },
  30158. "agreementid": {
  30159. "description": "协议ID",
  30160. "type": "integer"
  30161. },
  30162. "agreementname": {
  30163. "description": "协议名称",
  30164. "type": "string"
  30165. },
  30166. "agreementno": {
  30167. "description": "协议编号",
  30168. "type": "string"
  30169. },
  30170. "agreementtype": {
  30171. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30172. "type": "integer"
  30173. },
  30174. "agreementversion": {
  30175. "description": "协议版本号",
  30176. "type": "integer"
  30177. },
  30178. "configid": {
  30179. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30180. "type": "integer"
  30181. },
  30182. "createtime": {
  30183. "description": "创建时间",
  30184. "type": "string"
  30185. },
  30186. "goodsid": {
  30187. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30188. "type": "integer"
  30189. },
  30190. "nodetype": {
  30191. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30192. "type": "integer"
  30193. }
  30194. }
  30195. },
  30196. "models.QhjParentAreaList": {
  30197. "type": "object",
  30198. "properties": {
  30199. "accountname": {
  30200. "description": "账户名称(机构名称)",
  30201. "type": "string"
  30202. },
  30203. "userid": {
  30204. "description": "用户ID",
  30205. "type": "integer"
  30206. },
  30207. "usertype": {
  30208. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30209. "type": "integer"
  30210. }
  30211. }
  30212. },
  30213. "models.QhjPayOrder": {
  30214. "type": "object",
  30215. "properties": {
  30216. "advanceratio": {
  30217. "description": "首付比率",
  30218. "type": "number"
  30219. },
  30220. "buyaccountid": {
  30221. "description": "买方账号ID[报价币种]",
  30222. "type": "integer"
  30223. },
  30224. "buyorderid": {
  30225. "description": "买方委托单号",
  30226. "type": "string"
  30227. },
  30228. "createtime": {
  30229. "description": "创建时间",
  30230. "type": "string"
  30231. },
  30232. "decimalplace": {
  30233. "description": "商品报价小数位",
  30234. "type": "integer"
  30235. },
  30236. "enumdicname": {
  30237. "description": "单位名称",
  30238. "type": "string"
  30239. },
  30240. "goodscode": {
  30241. "description": "商品代码",
  30242. "type": "string"
  30243. },
  30244. "goodsid": {
  30245. "description": "商品ID",
  30246. "type": "integer"
  30247. },
  30248. "goodsname": {
  30249. "description": "商品名称",
  30250. "type": "string"
  30251. },
  30252. "goodunitid": {
  30253. "description": "商品单位id",
  30254. "type": "integer"
  30255. },
  30256. "marketid": {
  30257. "description": "市场ID",
  30258. "type": "integer"
  30259. },
  30260. "offamount": {
  30261. "description": "优惠金额",
  30262. "type": "number"
  30263. },
  30264. "operatetype": {
  30265. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30266. "type": "integer"
  30267. },
  30268. "payamount": {
  30269. "description": "支付金额",
  30270. "type": "number"
  30271. },
  30272. "payflag": {
  30273. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30274. "type": "integer"
  30275. },
  30276. "paylimitedtime": {
  30277. "description": "支付期限",
  30278. "type": "string"
  30279. },
  30280. "paytime": {
  30281. "description": "付款时间",
  30282. "type": "string"
  30283. },
  30284. "qtydecimalplace": {
  30285. "description": "成交量小数位",
  30286. "type": "integer"
  30287. },
  30288. "sellaccountid": {
  30289. "description": "卖方账号ID[报价币种]",
  30290. "type": "integer"
  30291. },
  30292. "sellorderid": {
  30293. "description": "卖方委托单号",
  30294. "type": "string"
  30295. },
  30296. "tradeamount": {
  30297. "description": "成交金额(优惠后金额)",
  30298. "type": "number"
  30299. },
  30300. "tradecharge": {
  30301. "description": "成交手续费(买方)",
  30302. "type": "number"
  30303. },
  30304. "tradedate": {
  30305. "description": "交易日(yyyyMMdd)",
  30306. "type": "string"
  30307. },
  30308. "tradeid": {
  30309. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30310. "type": "string"
  30311. },
  30312. "tradeprice": {
  30313. "description": "成交价格",
  30314. "type": "number"
  30315. },
  30316. "tradeqty": {
  30317. "description": "成交数量",
  30318. "type": "number"
  30319. }
  30320. }
  30321. },
  30322. "models.QhjPickArea": {
  30323. "type": "object",
  30324. "properties": {
  30325. "address": {
  30326. "description": "详细地址",
  30327. "type": "string"
  30328. },
  30329. "cityid": {
  30330. "description": "市",
  30331. "type": "integer"
  30332. },
  30333. "cityname": {
  30334. "description": "城市名称",
  30335. "type": "string"
  30336. },
  30337. "countryid": {
  30338. "description": "国家",
  30339. "type": "integer"
  30340. },
  30341. "countryname": {
  30342. "description": "国家名称",
  30343. "type": "string"
  30344. },
  30345. "districtid": {
  30346. "description": "地区",
  30347. "type": "integer"
  30348. },
  30349. "districtname": {
  30350. "description": "地区名称",
  30351. "type": "string"
  30352. },
  30353. "fromuserid": {
  30354. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30355. "type": "integer"
  30356. },
  30357. "fromusername": {
  30358. "description": "所属机构名称",
  30359. "type": "string"
  30360. },
  30361. "provinceid": {
  30362. "description": "省",
  30363. "type": "integer"
  30364. },
  30365. "provincename": {
  30366. "description": "省名称",
  30367. "type": "string"
  30368. },
  30369. "suborgtype": {
  30370. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30371. "type": "integer"
  30372. },
  30373. "userid": {
  30374. "description": "机构用户ID 其他做市关系,都设置为 1",
  30375. "type": "integer"
  30376. },
  30377. "username": {
  30378. "description": "机构用户名称(门店门称)",
  30379. "type": "string"
  30380. }
  30381. }
  30382. },
  30383. "models.QhjPickGoods": {
  30384. "type": "object",
  30385. "properties": {
  30386. "enumdicname": {
  30387. "description": "单位名称(提货商品)",
  30388. "type": "string"
  30389. },
  30390. "goodsid": {
  30391. "description": "商品id",
  30392. "type": "integer"
  30393. },
  30394. "imageaddress": {
  30395. "description": "图片",
  30396. "type": "string"
  30397. },
  30398. "modifierid": {
  30399. "description": "修改人",
  30400. "type": "integer"
  30401. },
  30402. "modifiername": {
  30403. "description": "修改人名称",
  30404. "type": "string"
  30405. },
  30406. "modifysrc": {
  30407. "description": "修改来源 - 1:管理端 2:终端",
  30408. "type": "integer"
  30409. },
  30410. "pickupgoodsagreeunit": {
  30411. "description": "合约乘数",
  30412. "type": "number"
  30413. },
  30414. "pickupgoodsdesc": {
  30415. "description": "描述",
  30416. "type": "string"
  30417. },
  30418. "pickupgoodsid": {
  30419. "description": "提货商品ID",
  30420. "type": "string"
  30421. },
  30422. "pickupgoodsname": {
  30423. "description": "提货商品名称",
  30424. "type": "string"
  30425. },
  30426. "pickupgoodsstatus": {
  30427. "description": "状态 - 1:正常 2:停用 3:注销",
  30428. "type": "integer"
  30429. },
  30430. "pickupgoodsunitid": {
  30431. "description": "单位ID",
  30432. "type": "integer"
  30433. },
  30434. "pickupratio": {
  30435. "description": "提货系数",
  30436. "type": "number"
  30437. },
  30438. "preparedays": {
  30439. "description": "备货期(天)",
  30440. "type": "integer"
  30441. },
  30442. "remark": {
  30443. "description": "备注",
  30444. "type": "string"
  30445. },
  30446. "updatetime": {
  30447. "description": "更新时间",
  30448. "type": "string"
  30449. }
  30450. }
  30451. },
  30452. "models.QhjRSTriggerLog": {
  30453. "type": "object",
  30454. "properties": {
  30455. "accountid": {
  30456. "description": "用户资金账户",
  30457. "type": "integer"
  30458. },
  30459. "accountname": {
  30460. "description": "账号名称(ACCOUNTID对应的名称)",
  30461. "type": "string"
  30462. },
  30463. "currencyid": {
  30464. "description": "币种id",
  30465. "type": "integer"
  30466. },
  30467. "currencyname": {
  30468. "description": "币种名称",
  30469. "type": "string"
  30470. },
  30471. "decimalplace": {
  30472. "description": "商品报价小数位",
  30473. "type": "integer"
  30474. },
  30475. "enumdicname": {
  30476. "description": "单位名称",
  30477. "type": "string"
  30478. },
  30479. "goodscode": {
  30480. "description": "定投商品代码",
  30481. "type": "string"
  30482. },
  30483. "goodsid": {
  30484. "description": "定投商品ID",
  30485. "type": "integer"
  30486. },
  30487. "goodsname": {
  30488. "description": "定投商品名称",
  30489. "type": "string"
  30490. },
  30491. "goodunitid": {
  30492. "description": "定投商品单位id",
  30493. "type": "integer"
  30494. },
  30495. "logid": {
  30496. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30497. "type": "string"
  30498. },
  30499. "logincode": {
  30500. "description": "账号(登录代码)",
  30501. "type": "string"
  30502. },
  30503. "qtydecimalplace": {
  30504. "description": "成交量小数位",
  30505. "type": "integer"
  30506. },
  30507. "regularlycycle": {
  30508. "description": "定投频率 - 1:每周 2:每月",
  30509. "type": "integer"
  30510. },
  30511. "regularlycyclevalue": {
  30512. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30513. "type": "string"
  30514. },
  30515. "regularlymode": {
  30516. "description": "定投方式 - 1:按数量 2:按金额",
  30517. "type": "integer"
  30518. },
  30519. "regularlymodevalue": {
  30520. "description": "定投方式值 - 数量或金额",
  30521. "type": "number"
  30522. },
  30523. "regularlystrategyid": {
  30524. "description": "定投策略ID",
  30525. "type": "integer"
  30526. },
  30527. "retcode": {
  30528. "description": "错误码",
  30529. "type": "string"
  30530. },
  30531. "tradeid": {
  30532. "description": "成交单ID",
  30533. "type": "string"
  30534. },
  30535. "triggeramount": {
  30536. "description": "触发金额",
  30537. "type": "number"
  30538. },
  30539. "triggerqty": {
  30540. "description": "触发数量",
  30541. "type": "number"
  30542. },
  30543. "triggerstatus": {
  30544. "description": "触发状态 - 1:成功 2:失败",
  30545. "type": "integer"
  30546. },
  30547. "triggertime": {
  30548. "description": "触发时间",
  30549. "type": "string"
  30550. },
  30551. "triggertradedate": {
  30552. "description": "触发交易日",
  30553. "type": "string"
  30554. },
  30555. "userid": {
  30556. "description": "所属用户ID",
  30557. "type": "integer"
  30558. },
  30559. "userinfotype": {
  30560. "description": "用户类型 1-个人 2-企业",
  30561. "type": "integer"
  30562. },
  30563. "username": {
  30564. "description": "用户名称(userid对应的名称)",
  30565. "type": "string"
  30566. }
  30567. }
  30568. },
  30569. "models.QhjRStrategy": {
  30570. "type": "object",
  30571. "properties": {
  30572. "accountid": {
  30573. "description": "用户资金账户",
  30574. "type": "integer"
  30575. },
  30576. "accountname": {
  30577. "description": "账号名称(ACCOUNTID对应的名称)",
  30578. "type": "string"
  30579. },
  30580. "currencyid": {
  30581. "description": "币种id",
  30582. "type": "integer"
  30583. },
  30584. "currencyname": {
  30585. "description": "币种名称",
  30586. "type": "string"
  30587. },
  30588. "decimalplace": {
  30589. "description": "商品报价小数位",
  30590. "type": "integer"
  30591. },
  30592. "enumdicname": {
  30593. "description": "单位名称",
  30594. "type": "string"
  30595. },
  30596. "goodscode": {
  30597. "description": "定投商品代码",
  30598. "type": "string"
  30599. },
  30600. "goodsid": {
  30601. "description": "定投商品ID",
  30602. "type": "integer"
  30603. },
  30604. "goodsname": {
  30605. "description": "定投商品名称",
  30606. "type": "string"
  30607. },
  30608. "goodunitid": {
  30609. "description": "定投商品单位id",
  30610. "type": "integer"
  30611. },
  30612. "lasteffecttradedate": {
  30613. "description": "最新生效交易日",
  30614. "type": "string"
  30615. },
  30616. "laststoptradedate": {
  30617. "description": "最新暂停交易日",
  30618. "type": "string"
  30619. },
  30620. "lasttriggertradedate": {
  30621. "description": "最新触发交易日",
  30622. "type": "string"
  30623. },
  30624. "logincode": {
  30625. "description": "账号(登录代码)",
  30626. "type": "string"
  30627. },
  30628. "nexttriggeramount": {
  30629. "description": "下次触发金额",
  30630. "type": "number"
  30631. },
  30632. "nexttriggerdate": {
  30633. "description": "下次触发日期",
  30634. "type": "string"
  30635. },
  30636. "nexttriggerqty": {
  30637. "description": "下次触发数量 [按小数位放大值]",
  30638. "type": "number"
  30639. },
  30640. "qtydecimalplace": {
  30641. "description": "成交量小数位",
  30642. "type": "integer"
  30643. },
  30644. "regularlycycle": {
  30645. "description": "定投频率 - 1:每周 2:每月",
  30646. "type": "integer"
  30647. },
  30648. "regularlycyclevalue": {
  30649. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30650. "type": "string"
  30651. },
  30652. "regularlymode": {
  30653. "description": "定投方式 - 1:按数量 2:按金额",
  30654. "type": "integer"
  30655. },
  30656. "regularlymodevalue": {
  30657. "description": "定投方式值 - 数量或金额",
  30658. "type": "number"
  30659. },
  30660. "regularlystrategyid": {
  30661. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30662. "type": "integer"
  30663. },
  30664. "regularlystrategystatus": {
  30665. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30666. "type": "integer"
  30667. },
  30668. "remark": {
  30669. "description": "备注",
  30670. "type": "string"
  30671. },
  30672. "triggersuccesstimes": {
  30673. "description": "累计定投成功次数",
  30674. "type": "string"
  30675. },
  30676. "triggertotalamount": {
  30677. "description": "累计定投金额(成功)",
  30678. "type": "number"
  30679. },
  30680. "triggertotalqty": {
  30681. "description": "累计定投数量(成功) [按小数位放大值]",
  30682. "type": "number"
  30683. },
  30684. "triggertotaltimes": {
  30685. "description": "累计定投总次数",
  30686. "type": "string"
  30687. },
  30688. "updatesrc": {
  30689. "description": "更新来源 - 1:管理端 2:终端",
  30690. "type": "integer"
  30691. },
  30692. "updatetime": {
  30693. "description": "更新时间",
  30694. "type": "string"
  30695. },
  30696. "updatorid": {
  30697. "description": "更新人",
  30698. "type": "string"
  30699. },
  30700. "userid": {
  30701. "description": "所属用户ID",
  30702. "type": "integer"
  30703. },
  30704. "userinfotype": {
  30705. "description": "用户类型 1-个人 2-企业",
  30706. "type": "integer"
  30707. },
  30708. "username": {
  30709. "description": "用户名称(userid对应的名称)",
  30710. "type": "string"
  30711. }
  30712. }
  30713. },
  30714. "models.QhjReckonPriceLog": {
  30715. "type": "object",
  30716. "properties": {
  30717. "decimalplace": {
  30718. "description": "商品报价小数位",
  30719. "type": "integer"
  30720. },
  30721. "goodscode": {
  30722. "description": "商品代码",
  30723. "type": "string"
  30724. },
  30725. "goodsid": {
  30726. "description": "商品ID",
  30727. "type": "integer"
  30728. },
  30729. "goodsname": {
  30730. "description": "商品名称",
  30731. "type": "string"
  30732. },
  30733. "lastreckonprice": {
  30734. "description": "上日结算价",
  30735. "type": "number"
  30736. },
  30737. "nextdnlimitprice": {
  30738. "description": "下个交易日跌停价",
  30739. "type": "number"
  30740. },
  30741. "nexttrade": {
  30742. "description": "下个交易日",
  30743. "type": "string"
  30744. },
  30745. "nextuplimitprice": {
  30746. "description": "下个交易日涨停价",
  30747. "type": "number"
  30748. },
  30749. "reckonprice": {
  30750. "description": "今日结算价(定投价)",
  30751. "type": "number"
  30752. },
  30753. "reckontime": {
  30754. "description": "结算时间",
  30755. "type": "string"
  30756. },
  30757. "totalholderqty": {
  30758. "description": "总持仓数",
  30759. "type": "integer"
  30760. },
  30761. "totalstock": {
  30762. "description": "总库存",
  30763. "type": "integer"
  30764. },
  30765. "tradedate": {
  30766. "description": "交易日",
  30767. "type": "string"
  30768. },
  30769. "updowncount": {
  30770. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30771. "type": "integer"
  30772. },
  30773. "updownflag": {
  30774. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30775. "type": "integer"
  30776. },
  30777. "updownrate": {
  30778. "description": "今日涨跌幅",
  30779. "type": "number"
  30780. },
  30781. "updownrate_2d": {
  30782. "description": "连续两日涨跌幅",
  30783. "type": "number"
  30784. },
  30785. "updownrate_3d": {
  30786. "description": "连续三日涨跌幅",
  30787. "type": "number"
  30788. }
  30789. }
  30790. },
  30791. "models.QhjScoreLog": {
  30792. "type": "object",
  30793. "properties": {
  30794. "accountid": {
  30795. "description": "账户ID",
  30796. "type": "integer"
  30797. },
  30798. "createtime": {
  30799. "description": "创建时间(时间)",
  30800. "type": "string"
  30801. },
  30802. "goodsid": {
  30803. "description": "商品ID",
  30804. "type": "integer"
  30805. },
  30806. "hasuploaded": {
  30807. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30808. "type": "integer"
  30809. },
  30810. "logid": {
  30811. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30812. "type": "string"
  30813. },
  30814. "marketid": {
  30815. "description": "市场ID",
  30816. "type": "integer"
  30817. },
  30818. "relatedamount": {
  30819. "description": "关联金额",
  30820. "type": "number"
  30821. },
  30822. "relatedorderid": {
  30823. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30824. "type": "string"
  30825. },
  30826. "scoreconfigvalue1": {
  30827. "description": "积分配置1",
  30828. "type": "integer"
  30829. },
  30830. "scoreconfigvalue2": {
  30831. "description": "积分配置1",
  30832. "type": "integer"
  30833. },
  30834. "scoretype": {
  30835. "description": "积分类型 - 1:提货积分",
  30836. "type": "integer"
  30837. },
  30838. "scorevalue": {
  30839. "description": "积分",
  30840. "type": "number"
  30841. },
  30842. "tradedate": {
  30843. "description": "交易日(yyyyMMdd)",
  30844. "type": "string"
  30845. },
  30846. "uploadedtime": {
  30847. "description": "同步时间",
  30848. "type": "string"
  30849. },
  30850. "userid": {
  30851. "description": "用户ID",
  30852. "type": "integer"
  30853. }
  30854. }
  30855. },
  30856. "models.QhjSiteColumnDetail": {
  30857. "type": "object",
  30858. "properties": {
  30859. "author": {
  30860. "description": "作者",
  30861. "type": "string"
  30862. },
  30863. "brief": {
  30864. "description": "简介",
  30865. "type": "string"
  30866. },
  30867. "columnid": {
  30868. "description": "所属栏目",
  30869. "type": "integer"
  30870. },
  30871. "context": {
  30872. "description": "内容",
  30873. "type": "string"
  30874. },
  30875. "coverimage": {
  30876. "description": "封面图片",
  30877. "type": "string"
  30878. },
  30879. "creaedate": {
  30880. "description": "创建时间",
  30881. "type": "string"
  30882. },
  30883. "creatorid": {
  30884. "description": "创建人",
  30885. "type": "integer"
  30886. },
  30887. "hits": {
  30888. "description": "点击数",
  30889. "type": "integer"
  30890. },
  30891. "id": {
  30892. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30893. "type": "integer"
  30894. },
  30895. "isshow": {
  30896. "description": "是否展示 - 0:不展示 1:展示",
  30897. "type": "integer"
  30898. },
  30899. "istop": {
  30900. "description": "是否置顶 - 0:不置 1:置顶",
  30901. "type": "integer"
  30902. },
  30903. "modifierid": {
  30904. "description": "操作人",
  30905. "type": "integer"
  30906. },
  30907. "publishdate": {
  30908. "description": "发布日期",
  30909. "type": "string"
  30910. },
  30911. "status": {
  30912. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30913. "type": "integer"
  30914. },
  30915. "title": {
  30916. "description": "标题",
  30917. "type": "string"
  30918. },
  30919. "updatedate": {
  30920. "description": "修改时间",
  30921. "type": "string"
  30922. },
  30923. "userid": {
  30924. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30925. "type": "integer"
  30926. },
  30927. "username": {
  30928. "description": "用户名称",
  30929. "type": "string"
  30930. }
  30931. }
  30932. },
  30933. "models.QhjTeamOrder": {
  30934. "type": "object",
  30935. "properties": {
  30936. "accountid": {
  30937. "description": "账户ID[报价币种]",
  30938. "type": "integer"
  30939. },
  30940. "accountname": {
  30941. "description": "账户名称",
  30942. "type": "string"
  30943. },
  30944. "agreeunit": {
  30945. "description": "合约乘数",
  30946. "type": "number"
  30947. },
  30948. "buyorsell": {
  30949. "description": "方向 - 0:买 1:卖",
  30950. "type": "integer"
  30951. },
  30952. "decimalplace": {
  30953. "description": "报价小数位",
  30954. "type": "integer"
  30955. },
  30956. "enumdicname": {
  30957. "description": "单位名称",
  30958. "type": "string"
  30959. },
  30960. "goodscode": {
  30961. "description": "商品代码(内部)",
  30962. "type": "string"
  30963. },
  30964. "goodsid": {
  30965. "description": "商品ID",
  30966. "type": "integer"
  30967. },
  30968. "goodsname": {
  30969. "description": "商品名称",
  30970. "type": "string"
  30971. },
  30972. "goodunitid": {
  30973. "description": "报价单位ID",
  30974. "type": "integer"
  30975. },
  30976. "marketid": {
  30977. "description": "市场ID",
  30978. "type": "integer"
  30979. },
  30980. "marketname": {
  30981. "description": "市场名称",
  30982. "type": "string"
  30983. },
  30984. "qtydecimalplace": {
  30985. "description": "成交量小数位",
  30986. "type": "integer"
  30987. },
  30988. "refereeuserid": {
  30989. "description": "推荐人ID",
  30990. "type": "integer"
  30991. },
  30992. "tradeamount": {
  30993. "description": "成交金额[账户币种,用于所有权]",
  30994. "type": "number"
  30995. },
  30996. "tradedate": {
  30997. "description": "交易日(yyyyMMdd)",
  30998. "type": "string"
  30999. },
  31000. "trademode": {
  31001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31002. "type": "integer"
  31003. },
  31004. "tradeprice": {
  31005. "description": "成交价格",
  31006. "type": "number"
  31007. },
  31008. "tradeqty": {
  31009. "description": "成交数量",
  31010. "type": "number"
  31011. },
  31012. "tradetime": {
  31013. "description": "成交时间",
  31014. "type": "string"
  31015. },
  31016. "userid": {
  31017. "description": "用户ID",
  31018. "type": "integer"
  31019. }
  31020. }
  31021. },
  31022. "models.QhjTradeGoodsPickup": {
  31023. "type": "object",
  31024. "properties": {
  31025. "accountid": {
  31026. "description": "账户ID",
  31027. "type": "integer"
  31028. },
  31029. "address": {
  31030. "description": "提货人详细地址",
  31031. "type": "string"
  31032. },
  31033. "amount": {
  31034. "description": "提货金额",
  31035. "type": "number"
  31036. },
  31037. "artradedate": {
  31038. "description": "自动收货交易日(yyyyMMdd)",
  31039. "type": "string"
  31040. },
  31041. "auditer": {
  31042. "description": "审核人",
  31043. "type": "integer"
  31044. },
  31045. "auditsrc": {
  31046. "description": "更新来源 - 1:管理端 2:终端",
  31047. "type": "integer"
  31048. },
  31049. "audittime": {
  31050. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31051. "type": "string"
  31052. },
  31053. "audittradedate": {
  31054. "description": "审核交易日(yyyyMMdd)",
  31055. "type": "string"
  31056. },
  31057. "cardnum": {
  31058. "description": "提货人证件号码",
  31059. "type": "string"
  31060. },
  31061. "cardtypeid": {
  31062. "description": "提货人证件类型",
  31063. "type": "integer"
  31064. },
  31065. "checkremark": {
  31066. "description": "审核备注",
  31067. "type": "string"
  31068. },
  31069. "cityid": {
  31070. "description": "市",
  31071. "type": "integer"
  31072. },
  31073. "cityname": {
  31074. "description": "城市名称",
  31075. "type": "string"
  31076. },
  31077. "confirmtime": {
  31078. "description": "取货时间 或 收货时间",
  31079. "type": "string"
  31080. },
  31081. "countryid": {
  31082. "description": "国家",
  31083. "type": "integer"
  31084. },
  31085. "countryname": {
  31086. "description": "国家名称",
  31087. "type": "string"
  31088. },
  31089. "decimalplace": {
  31090. "description": "商品报价小数位",
  31091. "type": "integer"
  31092. },
  31093. "districtid": {
  31094. "description": "地区",
  31095. "type": "integer"
  31096. },
  31097. "districtname": {
  31098. "description": "地区名称",
  31099. "type": "string"
  31100. },
  31101. "enumdicname": {
  31102. "description": "单位名称(提货商品)",
  31103. "type": "string"
  31104. },
  31105. "expresscompany": {
  31106. "description": "物流公司",
  31107. "type": "string"
  31108. },
  31109. "expressnum": {
  31110. "description": "物流单号",
  31111. "type": "string"
  31112. },
  31113. "goodsagreeunit": {
  31114. "description": "交易商品乘数",
  31115. "type": "number"
  31116. },
  31117. "goodscode": {
  31118. "description": "商品代码",
  31119. "type": "string"
  31120. },
  31121. "goodsid": {
  31122. "description": "商品ID",
  31123. "type": "integer"
  31124. },
  31125. "goodsname": {
  31126. "description": "商品名称",
  31127. "type": "string"
  31128. },
  31129. "goodsqty": {
  31130. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31131. "type": "number"
  31132. },
  31133. "handlestatus": {
  31134. "description": "处理状态",
  31135. "type": "integer"
  31136. },
  31137. "logincode": {
  31138. "description": "账号(登录代码, 有可能为空)",
  31139. "type": "string"
  31140. },
  31141. "marketid": {
  31142. "description": "市场ID",
  31143. "type": "integer"
  31144. },
  31145. "phonenum": {
  31146. "description": "提货人联系方式",
  31147. "type": "string"
  31148. },
  31149. "pickupgoodsagreeunit": {
  31150. "description": "提货商品合约乘数",
  31151. "type": "number"
  31152. },
  31153. "pickupgoodsid": {
  31154. "description": "提货商品ID",
  31155. "type": "string"
  31156. },
  31157. "pickupgoodsname": {
  31158. "description": "提货商品名称",
  31159. "type": "string"
  31160. },
  31161. "pickupgoodsqty": {
  31162. "description": "提货商品手数(数量)",
  31163. "type": "number"
  31164. },
  31165. "pickupgoodsunitid": {
  31166. "description": "单位ID(提货商品)",
  31167. "type": "integer"
  31168. },
  31169. "pickupratio": {
  31170. "description": "提货系数",
  31171. "type": "number"
  31172. },
  31173. "preparedays": {
  31174. "description": "备货期(天)-提货单明细表",
  31175. "type": "integer"
  31176. },
  31177. "provinceid": {
  31178. "description": "省",
  31179. "type": "integer"
  31180. },
  31181. "provincename": {
  31182. "description": "省名称",
  31183. "type": "string"
  31184. },
  31185. "qty": {
  31186. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31187. "type": "number"
  31188. },
  31189. "qtydecimalplace": {
  31190. "description": "商品数量小数位",
  31191. "type": "integer"
  31192. },
  31193. "recivername": {
  31194. "description": "提货人姓名",
  31195. "type": "string"
  31196. },
  31197. "reqtime": {
  31198. "description": "提货申请时间",
  31199. "type": "string"
  31200. },
  31201. "storeuserid": {
  31202. "description": "门店用户ID (千海金)",
  31203. "type": "integer"
  31204. },
  31205. "storeusername": {
  31206. "description": "门店用户名称",
  31207. "type": "string"
  31208. },
  31209. "takemode": {
  31210. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31211. "type": "integer"
  31212. },
  31213. "takeorderid": {
  31214. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31215. "type": "string"
  31216. },
  31217. "takeorderstatus": {
  31218. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31219. "type": "integer"
  31220. },
  31221. "takeremark": {
  31222. "description": "提货备注",
  31223. "type": "string"
  31224. },
  31225. "tradedate": {
  31226. "description": "交易日(yyyyMMdd)",
  31227. "type": "string"
  31228. },
  31229. "updatetime": {
  31230. "description": "更新时间",
  31231. "type": "string"
  31232. },
  31233. "userid": {
  31234. "description": "用户ID",
  31235. "type": "integer"
  31236. },
  31237. "userinfotype": {
  31238. "description": "客户类型 1-个人 2-企业",
  31239. "type": "integer"
  31240. },
  31241. "username": {
  31242. "description": "用户名称",
  31243. "type": "string"
  31244. }
  31245. }
  31246. },
  31247. "models.QhjUserNodeCfgAndStatus": {
  31248. "type": "object",
  31249. "properties": {
  31250. "agreementcontent": {
  31251. "description": "协议内容",
  31252. "type": "string"
  31253. },
  31254. "agreementid": {
  31255. "description": "协议ID",
  31256. "type": "integer"
  31257. },
  31258. "agreementname": {
  31259. "description": "协议名称",
  31260. "type": "string"
  31261. },
  31262. "agreementno": {
  31263. "description": "协议编号",
  31264. "type": "string"
  31265. },
  31266. "agreementtype": {
  31267. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31268. "type": "integer"
  31269. },
  31270. "agreementversion": {
  31271. "description": "协议版本号",
  31272. "type": "integer"
  31273. },
  31274. "configid": {
  31275. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31276. "type": "integer"
  31277. },
  31278. "createtime": {
  31279. "description": "创建时间",
  31280. "type": "string"
  31281. },
  31282. "goodsid": {
  31283. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31284. "type": "integer"
  31285. },
  31286. "nodetype": {
  31287. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31288. "type": "integer"
  31289. },
  31290. "signtimestamp": {
  31291. "description": "签约状态时间戳(最近一次)",
  31292. "type": "string"
  31293. },
  31294. "tradedate": {
  31295. "description": "签约交易日(yyyyMMdd)",
  31296. "type": "string"
  31297. },
  31298. "userid": {
  31299. "description": "客户ID",
  31300. "type": "integer"
  31301. }
  31302. }
  31303. },
  31304. "models.Qhjgoodsex": {
  31305. "type": "object",
  31306. "properties": {
  31307. "canfinance": {
  31308. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31309. "type": "integer"
  31310. },
  31311. "canregularlybuy": {
  31312. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31313. "type": "integer"
  31314. },
  31315. "defaulttradeuserid": {
  31316. "description": "默认交易用户ID",
  31317. "type": "integer"
  31318. },
  31319. "deliverygoodsid": {
  31320. "description": "现货品种ID",
  31321. "type": "integer"
  31322. },
  31323. "goodsid": {
  31324. "description": "商品ID(自增ID SEQ_GOODS)",
  31325. "type": "integer"
  31326. },
  31327. "minamount": {
  31328. "description": "最小购买金额",
  31329. "type": "number"
  31330. },
  31331. "regularlybuyminamount": {
  31332. "description": "定投最小金额",
  31333. "type": "number"
  31334. },
  31335. "regularlybuyminqty": {
  31336. "description": "定投最小数量",
  31337. "type": "number"
  31338. },
  31339. "spotgoodsbrandid": {
  31340. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31341. "type": "integer"
  31342. },
  31343. "visibilityforenterprise": {
  31344. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31345. "type": "integer"
  31346. },
  31347. "visibilityforpersonal": {
  31348. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31349. "type": "integer"
  31350. },
  31351. "wrstandardid": {
  31352. "description": "现货商品ID",
  31353. "type": "integer"
  31354. }
  31355. }
  31356. },
  31357. "models.QueryErrorInfosRsp": {
  31358. "type": "object",
  31359. "required": [
  31360. "errorid"
  31361. ],
  31362. "properties": {
  31363. "description": {
  31364. "description": "异常描述",
  31365. "type": "string"
  31366. },
  31367. "errorcode": {
  31368. "description": "异常代码",
  31369. "type": "string"
  31370. },
  31371. "errorid": {
  31372. "description": "异常ID",
  31373. "type": "integer"
  31374. },
  31375. "modulecode": {
  31376. "description": "所属模块",
  31377. "type": "string"
  31378. },
  31379. "operatecode": {
  31380. "description": "所属操作",
  31381. "type": "string"
  31382. },
  31383. "rownumber": {
  31384. "description": "行号",
  31385. "type": "string"
  31386. }
  31387. }
  31388. },
  31389. "models.QueryHedgeOrderDetailRsp": {
  31390. "type": "object",
  31391. "properties": {
  31392. "accountid": {
  31393. "description": "账户ID",
  31394. "type": "integer"
  31395. },
  31396. "buyorsell": {
  31397. "description": "买卖 - 0:买 1:卖",
  31398. "type": "integer"
  31399. },
  31400. "cancellogincode": {
  31401. "description": "撤单人",
  31402. "type": "string"
  31403. },
  31404. "channelbuildtype": {
  31405. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31406. "type": "integer"
  31407. },
  31408. "channelinnerorderstatus": {
  31409. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31410. "type": "integer"
  31411. },
  31412. "channeloperatetype": {
  31413. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31414. "type": "integer"
  31415. },
  31416. "closetype": {
  31417. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31418. "type": "integer"
  31419. },
  31420. "curexchangerate": {
  31421. "description": "当前汇率",
  31422. "type": "number"
  31423. },
  31424. "exchangefullname": {
  31425. "description": "外部交易所全称",
  31426. "type": "string"
  31427. },
  31428. "goodscode": {
  31429. "description": "商品代码(内部)",
  31430. "type": "string"
  31431. },
  31432. "goodsid": {
  31433. "description": "商品ID",
  31434. "type": "integer"
  31435. },
  31436. "goodsname": {
  31437. "description": "商品名称",
  31438. "type": "string"
  31439. },
  31440. "marketid": {
  31441. "description": "市场ID",
  31442. "type": "integer"
  31443. },
  31444. "openfreezemargin": {
  31445. "description": "冻结保证金(冻结交易金额)",
  31446. "type": "number"
  31447. },
  31448. "orderid": {
  31449. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31450. "type": "string"
  31451. },
  31452. "orderlogincode": {
  31453. "description": "委托人",
  31454. "type": "string"
  31455. },
  31456. "orderprice": {
  31457. "description": "委托价格(账户)",
  31458. "type": "number"
  31459. },
  31460. "orderqty": {
  31461. "description": "委托数量",
  31462. "type": "integer"
  31463. },
  31464. "ordertime": {
  31465. "description": "委托时间",
  31466. "type": "string"
  31467. },
  31468. "pricemode": {
  31469. "description": "取价方式 - 1:市价 2: 限价",
  31470. "type": "integer"
  31471. },
  31472. "tradedate": {
  31473. "description": "交易日(yyyyMMdd)",
  31474. "type": "string"
  31475. },
  31476. "tradeqty": {
  31477. "description": "成交数量",
  31478. "type": "integer"
  31479. }
  31480. }
  31481. },
  31482. "models.QueryHedgeTradeDetailRsp": {
  31483. "type": "object",
  31484. "properties": {
  31485. "accountid": {
  31486. "description": "账号ID",
  31487. "type": "integer"
  31488. },
  31489. "buyorsell": {
  31490. "description": "方向 - 0:买 1:卖",
  31491. "type": "integer"
  31492. },
  31493. "channelbuildtype": {
  31494. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31495. "type": "integer"
  31496. },
  31497. "closecharge": {
  31498. "description": "平仓手续费(账户)",
  31499. "type": "number"
  31500. },
  31501. "closecharge2": {
  31502. "description": "平仓手续费(商品)",
  31503. "type": "number"
  31504. },
  31505. "closepl": {
  31506. "description": "平仓盈亏(账户)",
  31507. "type": "number"
  31508. },
  31509. "closepl2": {
  31510. "description": "平仓盈亏(商品)",
  31511. "type": "number"
  31512. },
  31513. "closepl3": {
  31514. "description": "平仓盈亏(账户)(逐笔)",
  31515. "type": "number"
  31516. },
  31517. "closepl4": {
  31518. "description": "平仓盈亏(商品)(逐笔)",
  31519. "type": "number"
  31520. },
  31521. "closetype": {
  31522. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31523. "type": "integer"
  31524. },
  31525. "curexchangerate": {
  31526. "description": "当前汇率",
  31527. "type": "number"
  31528. },
  31529. "exchangefullname": {
  31530. "description": "外部交易所全称",
  31531. "type": "string"
  31532. },
  31533. "goodscode": {
  31534. "description": "商品代码(内部)",
  31535. "type": "string"
  31536. },
  31537. "goodsid": {
  31538. "description": "商品ID",
  31539. "type": "integer"
  31540. },
  31541. "goodsname": {
  31542. "description": "商品名称",
  31543. "type": "string"
  31544. },
  31545. "marketid": {
  31546. "description": "市场ID",
  31547. "type": "integer"
  31548. },
  31549. "opencharge": {
  31550. "description": "建仓手续费(账户)",
  31551. "type": "number"
  31552. },
  31553. "opencharge2": {
  31554. "description": "建仓手续费(商品)",
  31555. "type": "number"
  31556. },
  31557. "orderid": {
  31558. "description": "委托单号",
  31559. "type": "string"
  31560. },
  31561. "orderlogincode": {
  31562. "description": "委托人",
  31563. "type": "string"
  31564. },
  31565. "tradeamount": {
  31566. "description": "成交金额(账户)",
  31567. "type": "number"
  31568. },
  31569. "tradedate": {
  31570. "description": "交易日(yyyyMMdd)",
  31571. "type": "string"
  31572. },
  31573. "tradeid": {
  31574. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31575. "type": "string"
  31576. },
  31577. "tradeprice": {
  31578. "description": "成交价格",
  31579. "type": "number"
  31580. },
  31581. "tradeqty": {
  31582. "description": "成交数量",
  31583. "type": "integer"
  31584. },
  31585. "tradetime": {
  31586. "description": "成交时间",
  31587. "type": "string"
  31588. },
  31589. "tradetype": {
  31590. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31591. "type": "integer"
  31592. }
  31593. }
  31594. },
  31595. "models.QuotePrimaryMenu": {
  31596. "type": "object",
  31597. "properties": {
  31598. "Index": {
  31599. "description": "序号",
  31600. "type": "integer"
  31601. },
  31602. "Key": {
  31603. "description": "键名",
  31604. "type": "string"
  31605. },
  31606. "Name": {
  31607. "description": "菜单名称",
  31608. "type": "string"
  31609. },
  31610. "SubMenus": {
  31611. "description": "子菜单",
  31612. "type": "array",
  31613. "items": {
  31614. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31615. }
  31616. },
  31617. "SubTitleType": {
  31618. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31619. "type": "integer"
  31620. },
  31621. "TradeModes": {
  31622. "description": "包含市场交易类型",
  31623. "type": "string"
  31624. }
  31625. }
  31626. },
  31627. "models.QuoteSecondaryMenu": {
  31628. "type": "object",
  31629. "properties": {
  31630. "ExExchangeCode": {
  31631. "description": "外部交易所代码",
  31632. "type": "string"
  31633. },
  31634. "ExExchangeID": {
  31635. "description": "外部交易所ID",
  31636. "type": "integer"
  31637. },
  31638. "GoodsGroupIDs": {
  31639. "description": "商品组ID列表",
  31640. "type": "array",
  31641. "items": {
  31642. "type": "integer"
  31643. }
  31644. },
  31645. "Index": {
  31646. "description": "序号",
  31647. "type": "integer"
  31648. },
  31649. "MarketID": {
  31650. "description": "市场ID",
  31651. "type": "integer"
  31652. },
  31653. "MenuTitle": {
  31654. "description": "菜单标题(市场名称或外部交易所名称)",
  31655. "type": "string"
  31656. },
  31657. "TradeMode": {
  31658. "description": "交易模式",
  31659. "type": "integer"
  31660. }
  31661. }
  31662. },
  31663. "models.RoleMenu": {
  31664. "type": "object",
  31665. "properties": {
  31666. "hasright": {
  31667. "description": "是否有权限 0-没有权限 1-有权限",
  31668. "type": "integer"
  31669. },
  31670. "iconame": {
  31671. "description": "菜单图标",
  31672. "type": "string"
  31673. },
  31674. "menutype": {
  31675. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31676. "type": "integer"
  31677. },
  31678. "parentcode": {
  31679. "description": "上级资源代码",
  31680. "type": "string"
  31681. },
  31682. "remark": {
  31683. "description": "菜单备注",
  31684. "type": "string"
  31685. },
  31686. "resourcecode": {
  31687. "description": "菜单代码",
  31688. "type": "string"
  31689. },
  31690. "resourcelevel": {
  31691. "description": "级别",
  31692. "type": "integer"
  31693. },
  31694. "resourcename": {
  31695. "description": "菜单名称",
  31696. "type": "string"
  31697. },
  31698. "roleid": {
  31699. "description": "角色id",
  31700. "type": "integer"
  31701. },
  31702. "sort": {
  31703. "description": "排序",
  31704. "type": "integer"
  31705. },
  31706. "subMenu": {
  31707. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31708. "type": "array",
  31709. "items": {
  31710. "$ref": "#/definitions/models.RoleMenu"
  31711. }
  31712. },
  31713. "url": {
  31714. "description": "URL",
  31715. "type": "string"
  31716. },
  31717. "userid": {
  31718. "description": "用户id",
  31719. "type": "integer"
  31720. }
  31721. }
  31722. },
  31723. "models.SearchGoods": {
  31724. "type": "object",
  31725. "required": [
  31726. "goodscode",
  31727. "goodsid",
  31728. "goodsname",
  31729. "marketid",
  31730. "trademode"
  31731. ],
  31732. "properties": {
  31733. "goodscode": {
  31734. "description": "商品代码(内部)",
  31735. "type": "string"
  31736. },
  31737. "goodsid": {
  31738. "description": "商品ID(自增ID SEQ_GOODS)",
  31739. "type": "integer"
  31740. },
  31741. "goodsname": {
  31742. "description": "商品名称",
  31743. "type": "string"
  31744. },
  31745. "marketid": {
  31746. "description": "所属市场ID",
  31747. "type": "integer"
  31748. },
  31749. "marketname": {
  31750. "description": "市场名称",
  31751. "type": "string"
  31752. },
  31753. "trademode": {
  31754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31755. "type": "integer"
  31756. }
  31757. }
  31758. },
  31759. "models.Systemparam": {
  31760. "type": "object",
  31761. "required": [
  31762. "paramcode"
  31763. ],
  31764. "properties": {
  31765. "loginid": {
  31766. "description": "更新用户账号,登录账号",
  31767. "type": "string"
  31768. },
  31769. "modifyflag": {
  31770. "description": "修改标志0 不允许修改 1 允许修改",
  31771. "type": "integer"
  31772. },
  31773. "paramcode": {
  31774. "description": "参数代码",
  31775. "type": "string"
  31776. },
  31777. "paramname": {
  31778. "description": "参数名",
  31779. "type": "string"
  31780. },
  31781. "paramtype": {
  31782. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31783. "type": "integer"
  31784. },
  31785. "paramvalue": {
  31786. "description": "参数值",
  31787. "type": "string"
  31788. },
  31789. "paramvalue2": {
  31790. "description": "参数值(CLOB)",
  31791. "type": "string"
  31792. },
  31793. "regexpress": {
  31794. "description": "正则表达式",
  31795. "type": "string"
  31796. },
  31797. "remark": {
  31798. "description": "备注",
  31799. "type": "string"
  31800. },
  31801. "serverip": {
  31802. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31803. "type": "string"
  31804. },
  31805. "showflag": {
  31806. "description": "是否显示0 不显示 1 显示",
  31807. "type": "integer"
  31808. },
  31809. "updatetime": {
  31810. "description": "更新时间",
  31811. "type": "string"
  31812. },
  31813. "userid": {
  31814. "description": "更新用户ID",
  31815. "type": "integer"
  31816. }
  31817. }
  31818. },
  31819. "models.Szdz3convertconfig": {
  31820. "type": "object",
  31821. "required": [
  31822. "converttype",
  31823. "innergoodsid",
  31824. "outergoodscode"
  31825. ],
  31826. "properties": {
  31827. "canin": {
  31828. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31829. "type": "integer"
  31830. },
  31831. "canout": {
  31832. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31833. "type": "integer"
  31834. },
  31835. "converttype": {
  31836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31837. "type": "integer"
  31838. },
  31839. "createtime": {
  31840. "description": "创建时间",
  31841. "type": "string"
  31842. },
  31843. "creatorid": {
  31844. "description": "创建人",
  31845. "type": "integer"
  31846. },
  31847. "daymaxvalue": {
  31848. "description": "当日最大转入限制",
  31849. "type": "number"
  31850. },
  31851. "freezedays": {
  31852. "description": "冻结天数 [5:花生米转交易]",
  31853. "type": "integer"
  31854. },
  31855. "innergoodsid": {
  31856. "description": "内部商品ID[交易]",
  31857. "type": "integer"
  31858. },
  31859. "inratio": {
  31860. "description": "目标值",
  31861. "type": "integer"
  31862. },
  31863. "modifierid": {
  31864. "description": "修改人",
  31865. "type": "integer"
  31866. },
  31867. "modifytime": {
  31868. "description": "修改时间",
  31869. "type": "string"
  31870. },
  31871. "outergoodscode": {
  31872. "description": "外部商品代码[JD\\PD]",
  31873. "type": "string"
  31874. },
  31875. "outratio": {
  31876. "description": "源值",
  31877. "type": "integer"
  31878. },
  31879. "pddecimalplace": {
  31880. "description": "PD小数位",
  31881. "type": "integer"
  31882. },
  31883. "timemaxvalue": {
  31884. "description": "单次最大转入限制",
  31885. "type": "number"
  31886. },
  31887. "timeminvalue": {
  31888. "description": "单次最小转入限制",
  31889. "type": "number"
  31890. }
  31891. }
  31892. },
  31893. "models.Szdz3searchwhitelist": {
  31894. "type": "object",
  31895. "required": [
  31896. "userid"
  31897. ],
  31898. "properties": {
  31899. "createtime": {
  31900. "description": "创建时间",
  31901. "type": "string"
  31902. },
  31903. "creatorid": {
  31904. "description": "创建人",
  31905. "type": "integer"
  31906. },
  31907. "modifierid": {
  31908. "description": "修改人",
  31909. "type": "integer"
  31910. },
  31911. "modifytime": {
  31912. "description": "修改时间",
  31913. "type": "string"
  31914. },
  31915. "userid": {
  31916. "description": "用户ID",
  31917. "type": "integer"
  31918. }
  31919. }
  31920. },
  31921. "models.TBGoods": {
  31922. "type": "object",
  31923. "properties": {
  31924. "agreeunit": {
  31925. "description": "合约乘数",
  31926. "type": "number"
  31927. },
  31928. "enumdicname": {
  31929. "description": "单位名称",
  31930. "type": "string"
  31931. },
  31932. "goodscode": {
  31933. "description": "商品代码(内部)",
  31934. "type": "string"
  31935. },
  31936. "goodsid": {
  31937. "description": "商品ID(自增ID SEQ_GOODS)",
  31938. "type": "integer"
  31939. },
  31940. "goodsname": {
  31941. "description": "商品名称",
  31942. "type": "string"
  31943. }
  31944. }
  31945. },
  31946. "models.TBGoodsGroup": {
  31947. "type": "object",
  31948. "properties": {
  31949. "convertratio": {
  31950. "description": "折算系数",
  31951. "type": "number"
  31952. },
  31953. "enumdicname": {
  31954. "description": "单位名称",
  31955. "type": "string"
  31956. },
  31957. "exexchangecode": {
  31958. "description": "交易所代码",
  31959. "type": "string"
  31960. },
  31961. "exexchangename": {
  31962. "description": "交易所名称",
  31963. "type": "string"
  31964. },
  31965. "gdlst": {
  31966. "description": "商品列表",
  31967. "type": "array",
  31968. "items": {
  31969. "$ref": "#/definitions/models.TBGoods"
  31970. }
  31971. },
  31972. "goodsgroupid": {
  31973. "description": "商品组ID(自增ID)",
  31974. "type": "integer"
  31975. },
  31976. "goodsgroupname": {
  31977. "description": "商品组名称",
  31978. "type": "string"
  31979. },
  31980. "goodunitid": {
  31981. "description": "报价单位ID",
  31982. "type": "integer"
  31983. }
  31984. }
  31985. },
  31986. "models.TBMiddleGoods": {
  31987. "type": "object",
  31988. "properties": {
  31989. "areauserid": {
  31990. "description": "机构用户ID",
  31991. "type": "integer"
  31992. },
  31993. "enumdicname": {
  31994. "description": "单位名称",
  31995. "type": "string"
  31996. },
  31997. "goodsunitid": {
  31998. "description": "套保品种单位id",
  31999. "type": "integer"
  32000. },
  32001. "gplst": {
  32002. "description": "期货品种列表",
  32003. "type": "array",
  32004. "items": {
  32005. "$ref": "#/definitions/models.TBGoodsGroup"
  32006. }
  32007. },
  32008. "middlegoodscode": {
  32009. "description": "套保品种代码",
  32010. "type": "string"
  32011. },
  32012. "middlegoodsid": {
  32013. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32014. "type": "integer"
  32015. },
  32016. "middlegoodsname": {
  32017. "description": "套保品种名称",
  32018. "type": "string"
  32019. },
  32020. "needarbitrageratio": {
  32021. "description": "套利比率",
  32022. "type": "number"
  32023. },
  32024. "needhedgeratio": {
  32025. "description": "套保比率",
  32026. "type": "number"
  32027. },
  32028. "wdlst": {
  32029. "description": "商品信息列表(现货品类)",
  32030. "type": "array",
  32031. "items": {
  32032. "$ref": "#/definitions/models.TBWrstandard"
  32033. }
  32034. }
  32035. }
  32036. },
  32037. "models.TBWrstandard": {
  32038. "type": "object",
  32039. "properties": {
  32040. "convertratio": {
  32041. "description": "折算系数",
  32042. "type": "number"
  32043. },
  32044. "deliverygoodsname": {
  32045. "description": "品种名称",
  32046. "type": "string"
  32047. },
  32048. "enumdicname": {
  32049. "description": "单位名称",
  32050. "type": "string"
  32051. },
  32052. "vatrate": {
  32053. "description": "增值税率",
  32054. "type": "number"
  32055. },
  32056. "wrstandardcode": {
  32057. "description": "现货商品代码",
  32058. "type": "string"
  32059. },
  32060. "wrstandardid": {
  32061. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32062. "type": "integer"
  32063. },
  32064. "wrstandardname": {
  32065. "description": "现货商品名称",
  32066. "type": "string"
  32067. }
  32068. }
  32069. },
  32070. "models.Taaccount": {
  32071. "type": "object",
  32072. "required": [
  32073. "accountid",
  32074. "userid"
  32075. ],
  32076. "properties": {
  32077. "accountflag": {
  32078. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32079. "type": "integer"
  32080. },
  32081. "accountid": {
  32082. "description": "资金账户ID",
  32083. "type": "integer"
  32084. },
  32085. "accountname": {
  32086. "description": "账户名称",
  32087. "type": "string"
  32088. },
  32089. "balance": {
  32090. "description": "期初余额",
  32091. "type": "number"
  32092. },
  32093. "capitalbalance": {
  32094. "description": "本金余额[外部子账户实际出入金余额]",
  32095. "type": "number"
  32096. },
  32097. "changeflag": {
  32098. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32099. "type": "integer"
  32100. },
  32101. "changetime": {
  32102. "description": "账户状态变更时间",
  32103. "type": "string"
  32104. },
  32105. "closepl": {
  32106. "description": "今日平仓盈亏",
  32107. "type": "number"
  32108. },
  32109. "creditdecrease": {
  32110. "description": "今日授信减少",
  32111. "type": "number"
  32112. },
  32113. "creditincrease": {
  32114. "description": "今日授信增加",
  32115. "type": "number"
  32116. },
  32117. "curamount": {
  32118. "description": "总市值(从持仓中统计)",
  32119. "type": "number"
  32120. },
  32121. "currencyid": {
  32122. "description": "货币ID",
  32123. "type": "integer"
  32124. },
  32125. "currentbalance": {
  32126. "description": "期末余额",
  32127. "type": "number"
  32128. },
  32129. "freezecharge": {
  32130. "description": "手续费冻结",
  32131. "type": "number"
  32132. },
  32133. "freezemargin": {
  32134. "description": "冻结保证金",
  32135. "type": "number"
  32136. },
  32137. "fromaccountid": {
  32138. "description": "所属上级账户",
  32139. "type": "integer"
  32140. },
  32141. "inamount": {
  32142. "description": "今日入金金额(包括三方入金)",
  32143. "type": "number"
  32144. },
  32145. "ismain": {
  32146. "description": "是否母账号 0:不是母账户 1:是母账户",
  32147. "type": "integer"
  32148. },
  32149. "ismarketaccount": {
  32150. "description": "是否机构接单账号 0:不是 1:是",
  32151. "type": "integer"
  32152. },
  32153. "isreckonaccount": {
  32154. "description": "是否机构分润账号 0:不是 1:是",
  32155. "type": "integer"
  32156. },
  32157. "mortgagecredit": {
  32158. "description": "授信金额",
  32159. "type": "number"
  32160. },
  32161. "orifreezecharge": {
  32162. "description": "期初手续费冻结",
  32163. "type": "number"
  32164. },
  32165. "orifreezemargin": {
  32166. "description": "期初冻结保证金",
  32167. "type": "number"
  32168. },
  32169. "orimortgagecredit": {
  32170. "description": "期初授信金额",
  32171. "type": "number"
  32172. },
  32173. "oriothercredit": {
  32174. "description": "期初其它授信金额",
  32175. "type": "number"
  32176. },
  32177. "oriotherfreezemargin": {
  32178. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32179. "type": "number"
  32180. },
  32181. "orioutamountfreeze": {
  32182. "description": "期初出金冻结",
  32183. "type": "number"
  32184. },
  32185. "oriusedmargin": {
  32186. "description": "期初占用保证金",
  32187. "type": "number"
  32188. },
  32189. "othercredit": {
  32190. "description": "其它授信金额",
  32191. "type": "number"
  32192. },
  32193. "othercreditdecrease": {
  32194. "description": "今日其它授信减少",
  32195. "type": "number"
  32196. },
  32197. "othercreditincrease": {
  32198. "description": "今日其它授信增加",
  32199. "type": "number"
  32200. },
  32201. "otherfreezemargin": {
  32202. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32203. "type": "number"
  32204. },
  32205. "otherincome": {
  32206. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32207. "type": "number"
  32208. },
  32209. "otherpay": {
  32210. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32211. "type": "number"
  32212. },
  32213. "outamount": {
  32214. "description": "今日出金金额(包括三方出金)",
  32215. "type": "number"
  32216. },
  32217. "outamountfreeze": {
  32218. "description": "出金冻结",
  32219. "type": "number"
  32220. },
  32221. "outthreshold": {
  32222. "description": "出金阈值",
  32223. "type": "number"
  32224. },
  32225. "parentaccountid": {
  32226. "description": "所属根账号",
  32227. "type": "integer"
  32228. },
  32229. "paycharge": {
  32230. "description": "今日手续费支出",
  32231. "type": "number"
  32232. },
  32233. "relatedaccountstatus": {
  32234. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32235. "type": "integer"
  32236. },
  32237. "relateduserid": {
  32238. "description": "关联用户",
  32239. "type": "integer"
  32240. },
  32241. "remainamount": {
  32242. "description": "融资额(从融资合同中统计)",
  32243. "type": "number"
  32244. },
  32245. "serivcegroup": {
  32246. "description": "服务分组",
  32247. "type": "integer"
  32248. },
  32249. "signstatus": {
  32250. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32251. "type": "integer"
  32252. },
  32253. "sublevelpath": {
  32254. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32255. "type": "string"
  32256. },
  32257. "taaccounttype": {
  32258. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32259. "type": "integer"
  32260. },
  32261. "thirdinamount": {
  32262. "description": "今日三方入金",
  32263. "type": "number"
  32264. },
  32265. "thirdoutamount": {
  32266. "description": "今日三方出金",
  32267. "type": "number"
  32268. },
  32269. "tradestatus": {
  32270. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32271. "type": "integer"
  32272. },
  32273. "tradestatuschangetime": {
  32274. "description": "激活时间",
  32275. "type": "string"
  32276. },
  32277. "transferamount": {
  32278. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32279. "type": "number"
  32280. },
  32281. "usedmargin": {
  32282. "description": "占用保证金",
  32283. "type": "number"
  32284. },
  32285. "userid": {
  32286. "description": "用户ID",
  32287. "type": "integer"
  32288. }
  32289. }
  32290. },
  32291. "models.Tablecolumnconfig": {
  32292. "type": "object",
  32293. "required": [
  32294. "autoid"
  32295. ],
  32296. "properties": {
  32297. "aligntype": {
  32298. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32299. "type": "integer"
  32300. },
  32301. "autoid": {
  32302. "description": "AutoID",
  32303. "type": "integer"
  32304. },
  32305. "columnfield": {
  32306. "description": "列字段",
  32307. "type": "string"
  32308. },
  32309. "columntitle": {
  32310. "description": "列Title",
  32311. "type": "string"
  32312. },
  32313. "columnwidth": {
  32314. "description": "列宽",
  32315. "type": "string"
  32316. },
  32317. "formatterstring": {
  32318. "description": "格式化字符",
  32319. "type": "string"
  32320. },
  32321. "formattertype": {
  32322. "description": "格式化类型",
  32323. "type": "string"
  32324. },
  32325. "groupname": {
  32326. "description": "表头分组名称",
  32327. "type": "string"
  32328. },
  32329. "isshow": {
  32330. "description": "是否显示 - 0:不显示 1:显示",
  32331. "type": "integer"
  32332. },
  32333. "needsummary": {
  32334. "description": "是否需要汇总 - 0:不需要 1:需要",
  32335. "type": "integer"
  32336. },
  32337. "orderindex": {
  32338. "description": "顺序",
  32339. "type": "integer"
  32340. },
  32341. "remark": {
  32342. "description": "备注",
  32343. "type": "string"
  32344. },
  32345. "summarytype": {
  32346. "description": "汇总类型 - 1:加总 2:最后一个",
  32347. "type": "integer"
  32348. },
  32349. "tablekey": {
  32350. "description": "列表Key",
  32351. "type": "string"
  32352. }
  32353. }
  32354. },
  32355. "models.TjmdQuoteGoods": {
  32356. "type": "object",
  32357. "properties": {
  32358. "buyqty": {
  32359. "description": "买量(暂不做, 无值, 保留字段)",
  32360. "type": "number"
  32361. },
  32362. "goodscode": {
  32363. "description": "合约代码",
  32364. "type": "string"
  32365. },
  32366. "goodsgroupid": {
  32367. "description": "商品组ID(自增ID)",
  32368. "type": "integer"
  32369. },
  32370. "goodsgroupname": {
  32371. "description": "商品组名称",
  32372. "type": "string"
  32373. },
  32374. "goodsid": {
  32375. "description": "合约id",
  32376. "type": "integer"
  32377. },
  32378. "goodsname": {
  32379. "description": "合约名称",
  32380. "type": "string"
  32381. },
  32382. "refgoodscode": {
  32383. "description": "标的合约代码",
  32384. "type": "string"
  32385. },
  32386. "refgoodsid": {
  32387. "description": "标的合约id",
  32388. "type": "integer"
  32389. },
  32390. "refgoodsname": {
  32391. "description": "标的合约名称",
  32392. "type": "string"
  32393. },
  32394. "sellqty": {
  32395. "description": "卖量(暂不做, 无值, 保留字段)",
  32396. "type": "number"
  32397. }
  32398. }
  32399. },
  32400. "models.TjmdTodayAccountMargin": {
  32401. "type": "object",
  32402. "properties": {
  32403. "accountid": {
  32404. "description": "账号ID",
  32405. "type": "integer"
  32406. },
  32407. "goodsid": {
  32408. "description": "商品ID",
  32409. "type": "integer"
  32410. },
  32411. "infoc": {
  32412. "description": "配置参数",
  32413. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32414. },
  32415. "marketid": {
  32416. "description": "市场ID",
  32417. "type": "integer"
  32418. }
  32419. }
  32420. },
  32421. "models.TjmdTradeOrderDetail": {
  32422. "type": "object",
  32423. "properties": {
  32424. "buyorsell": {
  32425. "description": "买卖方向 0-买 1-卖",
  32426. "type": "integer"
  32427. },
  32428. "goodsid": {
  32429. "description": "商品id",
  32430. "type": "integer"
  32431. },
  32432. "marketmaxsub": {
  32433. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32434. "type": "number"
  32435. },
  32436. "orderid": {
  32437. "description": "委托单号",
  32438. "type": "string"
  32439. },
  32440. "orderprice": {
  32441. "description": "委托价格",
  32442. "type": "number"
  32443. },
  32444. "orderqty": {
  32445. "description": "委托数量",
  32446. "type": "integer"
  32447. },
  32448. "pricemode": {
  32449. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32450. "type": "integer"
  32451. },
  32452. "userid": {
  32453. "description": "用户id",
  32454. "type": "integer"
  32455. },
  32456. "username": {
  32457. "description": "用户名称(已脱敏)",
  32458. "type": "string"
  32459. }
  32460. }
  32461. },
  32462. "models.TjmdTransferApply": {
  32463. "type": "object",
  32464. "properties": {
  32465. "applyid": {
  32466. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32467. "type": "integer"
  32468. },
  32469. "applystatus": {
  32470. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32471. "type": "integer"
  32472. },
  32473. "applytime": {
  32474. "description": "申请时间(时间)",
  32475. "type": "string"
  32476. },
  32477. "auditremark": {
  32478. "description": "审核备注(拒绝原因?)",
  32479. "type": "string"
  32480. },
  32481. "buyorsell": {
  32482. "description": "买卖 - 0:买 1:卖",
  32483. "type": "integer"
  32484. },
  32485. "goodscode": {
  32486. "description": "商品代码",
  32487. "type": "string"
  32488. },
  32489. "goodsid": {
  32490. "description": "商品ID",
  32491. "type": "integer"
  32492. },
  32493. "goodsname": {
  32494. "description": "商品名称",
  32495. "type": "string"
  32496. },
  32497. "marketid": {
  32498. "description": "市场ID",
  32499. "type": "integer"
  32500. },
  32501. "qty": {
  32502. "description": "转让数量(数量)",
  32503. "type": "number"
  32504. },
  32505. "tradeid": {
  32506. "description": "成交单号(关联持仓)",
  32507. "type": "string"
  32508. },
  32509. "transferamount": {
  32510. "description": "转让总金额(金额)",
  32511. "type": "number"
  32512. },
  32513. "transferprice": {
  32514. "description": "转让价格(协议价格)",
  32515. "type": "number"
  32516. }
  32517. }
  32518. },
  32519. "models.TradeHolderDetail": {
  32520. "type": "object",
  32521. "properties": {
  32522. "accountid": {
  32523. "description": "账号ID",
  32524. "type": "integer"
  32525. },
  32526. "agreeunit": {
  32527. "description": "合约乘数",
  32528. "type": "number"
  32529. },
  32530. "buyorsell": {
  32531. "description": "方向 - 0:买 1:卖",
  32532. "type": "integer"
  32533. },
  32534. "currencyid": {
  32535. "description": "商品币种id",
  32536. "type": "integer"
  32537. },
  32538. "currencyname": {
  32539. "description": "币种名称",
  32540. "type": "string"
  32541. },
  32542. "decimalplace": {
  32543. "description": "商品价格小数位",
  32544. "type": "integer"
  32545. },
  32546. "enumdicname": {
  32547. "description": "商品单位名称",
  32548. "type": "string"
  32549. },
  32550. "expirecycle": {
  32551. "description": "行权周期(天) - 1:滚动行权时填写",
  32552. "type": "integer"
  32553. },
  32554. "expiredate": {
  32555. "description": "行权日(yyyyMMdd) - 到期日",
  32556. "type": "string"
  32557. },
  32558. "expiretype": {
  32559. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32560. "type": "integer"
  32561. },
  32562. "freezeqty": {
  32563. "description": "冻结数量",
  32564. "type": "number"
  32565. },
  32566. "goodscode": {
  32567. "description": "商品代码",
  32568. "type": "string"
  32569. },
  32570. "goodsid": {
  32571. "description": "商品ID",
  32572. "type": "integer"
  32573. },
  32574. "goodsname": {
  32575. "description": "商品名称",
  32576. "type": "string"
  32577. },
  32578. "goodunitid": {
  32579. "description": "商品单位id",
  32580. "type": "integer"
  32581. },
  32582. "holderamount": {
  32583. "description": "持仓金额",
  32584. "type": "number"
  32585. },
  32586. "holdercredit": {
  32587. "description": "持仓授信金额",
  32588. "type": "number"
  32589. },
  32590. "holderdays": {
  32591. "description": "剩余冻结天数",
  32592. "type": "integer"
  32593. },
  32594. "holderprice": {
  32595. "description": "持仓价格",
  32596. "type": "number"
  32597. },
  32598. "holderqty": {
  32599. "description": "持仓数量",
  32600. "type": "number"
  32601. },
  32602. "isconfirmexercise": {
  32603. "description": "是否确认行权- 0:否 1:是",
  32604. "type": "integer"
  32605. },
  32606. "ispreexercise": {
  32607. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32608. "type": "integer"
  32609. },
  32610. "marketid": {
  32611. "description": "市场id",
  32612. "type": "integer"
  32613. },
  32614. "marketname": {
  32615. "description": "市场名称",
  32616. "type": "string"
  32617. },
  32618. "openprice": {
  32619. "description": "建仓价格",
  32620. "type": "number"
  32621. },
  32622. "openqty": {
  32623. "description": "建仓数量",
  32624. "type": "number"
  32625. },
  32626. "optiontype": {
  32627. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32628. "type": "integer"
  32629. },
  32630. "preexerciseprice": {
  32631. "description": "预申报价格",
  32632. "type": "number"
  32633. },
  32634. "premium": {
  32635. "description": "权利金",
  32636. "type": "number"
  32637. },
  32638. "qtydecimalplace": {
  32639. "description": "商品成交量小数位",
  32640. "type": "integer"
  32641. },
  32642. "refgoodscode": {
  32643. "description": "标的合约代码",
  32644. "type": "string"
  32645. },
  32646. "refgoodsid": {
  32647. "description": "标的合约id",
  32648. "type": "integer"
  32649. },
  32650. "releaseamount": {
  32651. "description": "释放持仓金额",
  32652. "type": "number"
  32653. },
  32654. "releaseholdercredit": {
  32655. "description": "释放持仓授信金额",
  32656. "type": "number"
  32657. },
  32658. "taname": {
  32659. "description": "资金账号名称",
  32660. "type": "string"
  32661. },
  32662. "tradeamount": {
  32663. "description": "成交金额",
  32664. "type": "number"
  32665. },
  32666. "tradedate": {
  32667. "description": "交易日(yyyyMMdd)",
  32668. "type": "string"
  32669. },
  32670. "tradeid": {
  32671. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32672. "type": "string"
  32673. },
  32674. "trademode": {
  32675. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32676. "type": "integer"
  32677. },
  32678. "tradeproperty": {
  32679. "description": "交易属性",
  32680. "type": "integer"
  32681. },
  32682. "tradetime": {
  32683. "description": "交易时间",
  32684. "type": "string"
  32685. },
  32686. "userid": {
  32687. "description": "用户id",
  32688. "type": "integer"
  32689. },
  32690. "username": {
  32691. "description": "用户名称",
  32692. "type": "string"
  32693. }
  32694. }
  32695. },
  32696. "models.UserCollectConfig": {
  32697. "type": "object",
  32698. "properties": {
  32699. "accountstatus": {
  32700. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32701. "type": "integer"
  32702. },
  32703. "collectaccountname": {
  32704. "description": "收款人账户名称",
  32705. "type": "string"
  32706. },
  32707. "collectaccountno": {
  32708. "description": "收款人账户",
  32709. "type": "string"
  32710. },
  32711. "collectbankname": {
  32712. "description": "收款人开户行",
  32713. "type": "string"
  32714. },
  32715. "collectbranchbankname": {
  32716. "description": "收款人开户支行",
  32717. "type": "string"
  32718. },
  32719. "collectconfigid": {
  32720. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32721. "type": "string"
  32722. },
  32723. "remark": {
  32724. "description": "备注",
  32725. "type": "string"
  32726. },
  32727. "userid": {
  32728. "description": "收款人用户ID",
  32729. "type": "integer"
  32730. }
  32731. }
  32732. },
  32733. "models.UserReceiveInfo": {
  32734. "type": "object",
  32735. "properties": {
  32736. "address": {
  32737. "description": "提货人详细地址",
  32738. "type": "string"
  32739. },
  32740. "autoid": {
  32741. "description": "AutoID",
  32742. "type": "integer"
  32743. },
  32744. "cardnum": {
  32745. "description": "证件号码(加密存储)",
  32746. "type": "string"
  32747. },
  32748. "cardtypeid": {
  32749. "description": "证件类型",
  32750. "type": "integer"
  32751. },
  32752. "cityid": {
  32753. "description": "市",
  32754. "type": "integer"
  32755. },
  32756. "cityname": {
  32757. "description": "城市名称",
  32758. "type": "string"
  32759. },
  32760. "countryid": {
  32761. "description": "国家",
  32762. "type": "integer"
  32763. },
  32764. "countryname": {
  32765. "description": "国家名称",
  32766. "type": "string"
  32767. },
  32768. "districtid": {
  32769. "description": "地区",
  32770. "type": "integer"
  32771. },
  32772. "districtname": {
  32773. "description": "地区名称",
  32774. "type": "string"
  32775. },
  32776. "hasencrypt": {
  32777. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32778. "type": "integer"
  32779. },
  32780. "isdefault": {
  32781. "description": "是否默认地址 - 0:否 1:是",
  32782. "type": "integer"
  32783. },
  32784. "phonenum": {
  32785. "description": "提货人联系方式(加密存储)",
  32786. "type": "string"
  32787. },
  32788. "provinceid": {
  32789. "description": "省",
  32790. "type": "integer"
  32791. },
  32792. "provincename": {
  32793. "description": "省名称",
  32794. "type": "string"
  32795. },
  32796. "receivername": {
  32797. "description": "提货人姓名",
  32798. "type": "string"
  32799. },
  32800. "takeremark": {
  32801. "description": "提货备注",
  32802. "type": "string"
  32803. },
  32804. "userid": {
  32805. "description": "用户ID",
  32806. "type": "integer"
  32807. }
  32808. }
  32809. },
  32810. "models.Useraccount": {
  32811. "type": "object",
  32812. "required": [
  32813. "userid"
  32814. ],
  32815. "properties": {
  32816. "accountname": {
  32817. "description": "账户名称(机构名称)",
  32818. "type": "string"
  32819. },
  32820. "accountstatus": {
  32821. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32822. "type": "integer"
  32823. },
  32824. "applysrc": {
  32825. "description": "申请来源 - 1:管理端 2:终端",
  32826. "type": "integer"
  32827. },
  32828. "auditremark": {
  32829. "description": "审核备注",
  32830. "type": "string"
  32831. },
  32832. "auditsrc": {
  32833. "description": "审核来源 - 1:管理端 2:终端",
  32834. "type": "integer"
  32835. },
  32836. "audittime": {
  32837. "description": "审核时间",
  32838. "type": "string"
  32839. },
  32840. "audituserid": {
  32841. "description": "审核人",
  32842. "type": "integer"
  32843. },
  32844. "broker": {
  32845. "description": "所属经纪人ID",
  32846. "type": "integer"
  32847. },
  32848. "canceltime": {
  32849. "description": "销户时间",
  32850. "type": "string"
  32851. },
  32852. "canceluserid": {
  32853. "description": "销户人",
  32854. "type": "integer"
  32855. },
  32856. "canrecommend": {
  32857. "description": "是否可推荐 - 0:不可 1;可",
  32858. "type": "integer"
  32859. },
  32860. "createtime": {
  32861. "description": "创建时间",
  32862. "type": "string"
  32863. },
  32864. "creatorid": {
  32865. "description": "创建人",
  32866. "type": "integer"
  32867. },
  32868. "hasauth": {
  32869. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32870. "type": "integer"
  32871. },
  32872. "isanonymous": {
  32873. "description": "是否匿名下单 - 0:否 1:是",
  32874. "type": "integer"
  32875. },
  32876. "maxinvestornum": {
  32877. "description": "最大用户数(经纪会员下投资者个数)",
  32878. "type": "integer"
  32879. },
  32880. "memberuserid": {
  32881. "description": "所属会员ID",
  32882. "type": "integer"
  32883. },
  32884. "modifierid": {
  32885. "description": "修改人",
  32886. "type": "integer"
  32887. },
  32888. "modifyremark": {
  32889. "description": "变更备注",
  32890. "type": "string"
  32891. },
  32892. "modifystatus": {
  32893. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32894. "type": "integer"
  32895. },
  32896. "modifytime": {
  32897. "description": "修改时间",
  32898. "type": "string"
  32899. },
  32900. "parenttopuser": {
  32901. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32902. "type": "string"
  32903. },
  32904. "parentuserid": {
  32905. "description": "所属机构ID",
  32906. "type": "integer"
  32907. },
  32908. "reckonaccountid": {
  32909. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32910. "type": "integer"
  32911. },
  32912. "refercount": {
  32913. "description": "推荐总人数",
  32914. "type": "integer"
  32915. },
  32916. "refereeuserid": {
  32917. "description": "推荐人ID",
  32918. "type": "integer"
  32919. },
  32920. "refernum": {
  32921. "description": "推荐码",
  32922. "type": "string"
  32923. },
  32924. "rootuserid": {
  32925. "description": "根用户ID",
  32926. "type": "integer"
  32927. },
  32928. "subaccountlevel": {
  32929. "description": "子账户层数",
  32930. "type": "integer"
  32931. },
  32932. "subarealevelpath": {
  32933. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32934. "type": "string"
  32935. },
  32936. "userid": {
  32937. "description": "用户ID",
  32938. "type": "integer"
  32939. },
  32940. "usertype": {
  32941. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32942. "type": "integer"
  32943. }
  32944. }
  32945. },
  32946. "models.Userfavoritegoods": {
  32947. "type": "object",
  32948. "required": [
  32949. "goodsid"
  32950. ],
  32951. "properties": {
  32952. "goodsid": {
  32953. "description": "商品ID",
  32954. "type": "integer"
  32955. }
  32956. }
  32957. },
  32958. "models.Userinfo": {
  32959. "type": "object",
  32960. "required": [
  32961. "userid"
  32962. ],
  32963. "properties": {
  32964. "address": {
  32965. "description": "地址",
  32966. "type": "string"
  32967. },
  32968. "attachment1": {
  32969. "description": "附件1",
  32970. "type": "string"
  32971. },
  32972. "attachment2": {
  32973. "description": "附件2",
  32974. "type": "string"
  32975. },
  32976. "bankaccount": {
  32977. "description": "银行帐号 (加密存储)",
  32978. "type": "string"
  32979. },
  32980. "bankaccountname": {
  32981. "description": "收款人名称",
  32982. "type": "string"
  32983. },
  32984. "bankcardfrontphotourl": {
  32985. "description": "银行卡正面照地址",
  32986. "type": "string"
  32987. },
  32988. "bankid": {
  32989. "description": "银行编码",
  32990. "type": "string"
  32991. },
  32992. "bankname": {
  32993. "description": "银行名称",
  32994. "type": "string"
  32995. },
  32996. "biznature": {
  32997. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32998. "type": "integer"
  32999. },
  33000. "bizscope": {
  33001. "description": "企业经营范围(企业)",
  33002. "type": "string"
  33003. },
  33004. "cardbackphotourl": {
  33005. "description": "证件背面图片地址",
  33006. "type": "string"
  33007. },
  33008. "cardfrontphotourl": {
  33009. "description": "证件正面图片地址",
  33010. "type": "string"
  33011. },
  33012. "cardnum": {
  33013. "description": "证件号码(加密存储)",
  33014. "type": "string"
  33015. },
  33016. "cardtypeid": {
  33017. "description": "证件类型ID",
  33018. "type": "integer"
  33019. },
  33020. "cityid": {
  33021. "description": "市",
  33022. "type": "integer"
  33023. },
  33024. "company": {
  33025. "description": "公司(个人)",
  33026. "type": "string"
  33027. },
  33028. "contactname": {
  33029. "description": "联系人",
  33030. "type": "string"
  33031. },
  33032. "countryid": {
  33033. "description": "国家",
  33034. "type": "integer"
  33035. },
  33036. "createtime": {
  33037. "description": "创建时间",
  33038. "type": "string"
  33039. },
  33040. "creatorid": {
  33041. "description": "创建人",
  33042. "type": "integer"
  33043. },
  33044. "customername": {
  33045. "description": "客户名称(企业名称)",
  33046. "type": "string"
  33047. },
  33048. "districtid": {
  33049. "description": "地区",
  33050. "type": "integer"
  33051. },
  33052. "email": {
  33053. "description": "邮件(加密存储)",
  33054. "type": "string"
  33055. },
  33056. "fax": {
  33057. "description": "传真(加密存储)",
  33058. "type": "string"
  33059. },
  33060. "halfbodyphotourl": {
  33061. "description": "半身照地址",
  33062. "type": "string"
  33063. },
  33064. "hasencrypt": {
  33065. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33066. "type": "integer"
  33067. },
  33068. "headurl": {
  33069. "description": "头像地址",
  33070. "type": "string"
  33071. },
  33072. "legalcardbackphotourl": {
  33073. "description": "法人身份证背面照地址",
  33074. "type": "string"
  33075. },
  33076. "legalcardfrontphotourl": {
  33077. "description": "法人身份证正面照地址",
  33078. "type": "string"
  33079. },
  33080. "legalpersonname": {
  33081. "description": "法人姓名(企业)",
  33082. "type": "string"
  33083. },
  33084. "mobile": {
  33085. "description": "手机号码(加密存储)",
  33086. "type": "string"
  33087. },
  33088. "mobile2": {
  33089. "description": "手机号码[明文-尚志]",
  33090. "type": "string"
  33091. },
  33092. "modifierid": {
  33093. "description": "修改人",
  33094. "type": "integer"
  33095. },
  33096. "modifiertime": {
  33097. "description": "修改时间",
  33098. "type": "string"
  33099. },
  33100. "needinvoice": {
  33101. "description": "是否需要发票 - 0:不需要 1:需要",
  33102. "type": "integer"
  33103. },
  33104. "nickname": {
  33105. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33106. "type": "string"
  33107. },
  33108. "openmode": {
  33109. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33110. "type": "integer"
  33111. },
  33112. "otherurl": {
  33113. "description": "其它图片地址[使用分号分隔]",
  33114. "type": "string"
  33115. },
  33116. "postalcode": {
  33117. "description": "邮政编码",
  33118. "type": "string"
  33119. },
  33120. "provinceid": {
  33121. "description": "省",
  33122. "type": "integer"
  33123. },
  33124. "qq": {
  33125. "description": "QQ(加密存储",
  33126. "type": "string"
  33127. },
  33128. "remark": {
  33129. "description": "备注",
  33130. "type": "string"
  33131. },
  33132. "sex": {
  33133. "description": "用户性别 0: 女 1: 男",
  33134. "type": "integer"
  33135. },
  33136. "signpdfurl": {
  33137. "description": "签约pdf文件",
  33138. "type": "string"
  33139. },
  33140. "telphone": {
  33141. "description": "联系电话(加密存储)",
  33142. "type": "string"
  33143. },
  33144. "userid": {
  33145. "description": "用户ID",
  33146. "type": "integer"
  33147. },
  33148. "userinfotype": {
  33149. "description": "用户信息类型 - 1:个人 2:企业",
  33150. "type": "integer"
  33151. },
  33152. "userstatus": {
  33153. "description": "用户状态 - 1:正常 2:注销",
  33154. "type": "integer"
  33155. },
  33156. "usertype": {
  33157. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33158. "type": "integer"
  33159. },
  33160. "wechat": {
  33161. "description": "微信(加密存储)",
  33162. "type": "string"
  33163. },
  33164. "wskhinfo": {
  33165. "description": "开户申请信息(JSON)",
  33166. "type": "string"
  33167. }
  33168. }
  33169. },
  33170. "models.WRSConverTDetail": {
  33171. "type": "object",
  33172. "properties": {
  33173. "convertratio": {
  33174. "description": "套保系数",
  33175. "type": "number"
  33176. },
  33177. "deliverygoodscode": {
  33178. "description": "现货商品代码",
  33179. "type": "string"
  33180. },
  33181. "deliverygoodsid": {
  33182. "description": "现货品种ID",
  33183. "type": "integer"
  33184. },
  33185. "deliverygoodsname": {
  33186. "description": "现货商品名称",
  33187. "type": "string"
  33188. },
  33189. "enumdicname": {
  33190. "description": "单位名称",
  33191. "type": "string"
  33192. },
  33193. "goodsunitid": {
  33194. "description": "套保品种单位id",
  33195. "type": "integer"
  33196. },
  33197. "middlegoodscode": {
  33198. "description": "套保品种代码",
  33199. "type": "string"
  33200. },
  33201. "middlegoodsid": {
  33202. "description": "套保品种ID",
  33203. "type": "integer"
  33204. },
  33205. "middlegoodsname": {
  33206. "description": "套保品种名称",
  33207. "type": "string"
  33208. },
  33209. "modifytime": {
  33210. "description": "修改时间",
  33211. "type": "string"
  33212. },
  33213. "wrstandardid": {
  33214. "description": "品类ID",
  33215. "type": "integer"
  33216. }
  33217. }
  33218. },
  33219. "models.WRStandardInfo": {
  33220. "type": "object",
  33221. "required": [
  33222. "wrstandardid"
  33223. ],
  33224. "properties": {
  33225. "areauserid": {
  33226. "description": "所属机构",
  33227. "type": "integer"
  33228. },
  33229. "convertfactor": {
  33230. "description": "标仓系数",
  33231. "type": "number"
  33232. },
  33233. "createtime": {
  33234. "description": "创建时间",
  33235. "type": "string"
  33236. },
  33237. "creatorid": {
  33238. "description": "创建人",
  33239. "type": "integer"
  33240. },
  33241. "deliverygoodsid": {
  33242. "description": "品种ID",
  33243. "type": "integer"
  33244. },
  33245. "deliverygoodsname": {
  33246. "description": "交割商品名称",
  33247. "type": "string"
  33248. },
  33249. "factoryitemjson": {
  33250. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33251. "type": "string"
  33252. },
  33253. "isvalid": {
  33254. "description": "是否有效 - 0:无效 1:有效",
  33255. "type": "integer"
  33256. },
  33257. "minivalue": {
  33258. "description": "最小变动值",
  33259. "type": "integer"
  33260. },
  33261. "minivaluedp": {
  33262. "description": "最小变动值小数位",
  33263. "type": "integer"
  33264. },
  33265. "realminivalue": {
  33266. "description": "实际最小变动值",
  33267. "type": "integer"
  33268. },
  33269. "realminivaluedp": {
  33270. "description": "实际最小变动值小数位",
  33271. "type": "integer"
  33272. },
  33273. "remark": {
  33274. "description": "备注",
  33275. "type": "string"
  33276. },
  33277. "unitid": {
  33278. "description": "单位ID",
  33279. "type": "integer"
  33280. },
  33281. "unitname": {
  33282. "description": "单位",
  33283. "type": "string"
  33284. },
  33285. "updatetime": {
  33286. "description": "更新时间",
  33287. "type": "string"
  33288. },
  33289. "updatorid": {
  33290. "description": "更新人",
  33291. "type": "integer"
  33292. },
  33293. "wrsstatus": {
  33294. "description": "状态 - 作废 - 0:未激活 1:正常",
  33295. "type": "integer"
  33296. },
  33297. "wrstandardcode": {
  33298. "description": "现货品类代码",
  33299. "type": "string"
  33300. },
  33301. "wrstandardid": {
  33302. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33303. "type": "integer"
  33304. },
  33305. "wrstandardname": {
  33306. "description": "现货品类名称",
  33307. "type": "string"
  33308. }
  33309. }
  33310. },
  33311. "models.WRTradeBargainApply": {
  33312. "type": "object",
  33313. "properties": {
  33314. "accountid": {
  33315. "description": "摘牌资金账号",
  33316. "type": "integer"
  33317. },
  33318. "applyprice": {
  33319. "description": "申请价格(议价价格)",
  33320. "type": "string"
  33321. },
  33322. "applyqty": {
  33323. "description": "摘牌数量(议价数量)",
  33324. "type": "number"
  33325. },
  33326. "applyremark": {
  33327. "description": "申请备注",
  33328. "type": "string"
  33329. },
  33330. "applystatus": {
  33331. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33332. "type": "integer"
  33333. },
  33334. "applytime": {
  33335. "description": "申请时间(议价时间)",
  33336. "type": "string"
  33337. },
  33338. "buyorsell": {
  33339. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33340. "type": "integer"
  33341. },
  33342. "confirmremark": {
  33343. "description": "确认备注",
  33344. "type": "string"
  33345. },
  33346. "confirmtime": {
  33347. "description": "确认时间",
  33348. "type": "string"
  33349. },
  33350. "confirmuserid": {
  33351. "description": "确认人",
  33352. "type": "integer"
  33353. },
  33354. "deliverygoodscode": {
  33355. "description": "品种代码",
  33356. "type": "string"
  33357. },
  33358. "deliverygoodsid": {
  33359. "description": "品种ID",
  33360. "type": "integer"
  33361. },
  33362. "deliverygoodsname": {
  33363. "description": "品种名称",
  33364. "type": "string"
  33365. },
  33366. "deliverymonth": {
  33367. "description": "交收月",
  33368. "type": "string"
  33369. },
  33370. "enumdicname": {
  33371. "description": "单位名称",
  33372. "type": "string"
  33373. },
  33374. "fixedprice": {
  33375. "description": "挂牌价格",
  33376. "type": "number"
  33377. },
  33378. "handlestatus": {
  33379. "description": "处理状态",
  33380. "type": "integer"
  33381. },
  33382. "marginvalue": {
  33383. "description": "履约保证金比例",
  33384. "type": "number"
  33385. },
  33386. "marketid": {
  33387. "description": "市场ID",
  33388. "type": "integer"
  33389. },
  33390. "matchaccountid": {
  33391. "description": "挂牌方资金账号",
  33392. "type": "integer"
  33393. },
  33394. "matchuserid": {
  33395. "description": "挂牌方用户id",
  33396. "type": "integer"
  33397. },
  33398. "matchusername": {
  33399. "description": "挂牌方用户名称(已脱敏)",
  33400. "type": "string"
  33401. },
  33402. "minivalue": {
  33403. "description": "现货商品最小变动值",
  33404. "type": "integer"
  33405. },
  33406. "optioncompare": {
  33407. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33408. "type": "string"
  33409. },
  33410. "orderqty": {
  33411. "description": "挂牌数量",
  33412. "type": "integer"
  33413. },
  33414. "refprice": {
  33415. "description": "参考价格",
  33416. "type": "string"
  33417. },
  33418. "retcode": {
  33419. "description": "委托返回代码",
  33420. "type": "integer"
  33421. },
  33422. "templatename": {
  33423. "description": "履约方式(履约模板名称)",
  33424. "type": "string"
  33425. },
  33426. "tradedate": {
  33427. "description": "交易日(yyyyMMdd)",
  33428. "type": "string"
  33429. },
  33430. "userid": {
  33431. "description": "摘牌人用户ID(议价人ID)",
  33432. "type": "integer"
  33433. },
  33434. "username": {
  33435. "description": "议价人名字(已脱敏)",
  33436. "type": "string"
  33437. },
  33438. "validtime": {
  33439. "description": "有效期限",
  33440. "type": "string"
  33441. },
  33442. "warehouseid": {
  33443. "description": "仓库ID",
  33444. "type": "integer"
  33445. },
  33446. "warehousename": {
  33447. "description": "仓库名称",
  33448. "type": "string"
  33449. },
  33450. "wrbargainid": {
  33451. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33452. "type": "string"
  33453. },
  33454. "wrfactortypeid": {
  33455. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33456. "type": "string"
  33457. },
  33458. "wrfactortypename": {
  33459. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33460. "type": "string"
  33461. },
  33462. "wrstandardcode": {
  33463. "description": "现货商品代码",
  33464. "type": "string"
  33465. },
  33466. "wrstandardid": {
  33467. "description": "现货商品ID",
  33468. "type": "integer"
  33469. },
  33470. "wrstandardname": {
  33471. "description": "商品名称",
  33472. "type": "string"
  33473. },
  33474. "wrtradeorderid": {
  33475. "description": "关联委托单ID",
  33476. "type": "string"
  33477. },
  33478. "wrtypename": {
  33479. "description": "商品",
  33480. "type": "string"
  33481. }
  33482. }
  33483. },
  33484. "models.Warehouseinfo": {
  33485. "type": "object",
  33486. "required": [
  33487. "autoid",
  33488. "warehousecode"
  33489. ],
  33490. "properties": {
  33491. "address": {
  33492. "description": "详细地址",
  33493. "type": "string"
  33494. },
  33495. "areauserid": {
  33496. "description": "所属机构",
  33497. "type": "integer"
  33498. },
  33499. "autoid": {
  33500. "description": "自增ID",
  33501. "type": "integer"
  33502. },
  33503. "cityid": {
  33504. "description": "市",
  33505. "type": "integer"
  33506. },
  33507. "contactname": {
  33508. "description": "联系人",
  33509. "type": "string"
  33510. },
  33511. "contactnum": {
  33512. "description": "联系电话",
  33513. "type": "string"
  33514. },
  33515. "countryid": {
  33516. "description": "国家",
  33517. "type": "integer"
  33518. },
  33519. "createtime": {
  33520. "description": "创建时间",
  33521. "type": "string"
  33522. },
  33523. "districtid": {
  33524. "description": "区",
  33525. "type": "integer"
  33526. },
  33527. "hasvideo": {
  33528. "description": "是否有视频 - 0:无 1:有",
  33529. "type": "integer"
  33530. },
  33531. "provinceid": {
  33532. "description": "省",
  33533. "type": "integer"
  33534. },
  33535. "remark": {
  33536. "description": "审核备注",
  33537. "type": "string"
  33538. },
  33539. "videourl": {
  33540. "description": "视频地址",
  33541. "type": "string"
  33542. },
  33543. "warehousecode": {
  33544. "description": "仓库代码",
  33545. "type": "string"
  33546. },
  33547. "warehousename": {
  33548. "description": "仓库名称",
  33549. "type": "string"
  33550. },
  33551. "warehousestatus": {
  33552. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33553. "type": "integer"
  33554. },
  33555. "warehousetype": {
  33556. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33557. "type": "integer"
  33558. }
  33559. }
  33560. },
  33561. "models.WrAverageTradePrice": {
  33562. "type": "object",
  33563. "properties": {
  33564. "averageprice": {
  33565. "description": "成交均价",
  33566. "type": "number"
  33567. },
  33568. "tradedate": {
  33569. "description": "交易日yyyymm",
  33570. "type": "string"
  33571. }
  33572. }
  33573. },
  33574. "models.WrBsGoodsInfo": {
  33575. "type": "object",
  33576. "properties": {
  33577. "buyorsell": {
  33578. "description": "买卖方向 0-买 1-卖",
  33579. "type": "integer"
  33580. },
  33581. "goodsid": {
  33582. "description": "交易合约ID",
  33583. "type": "integer"
  33584. },
  33585. "lstitem": {
  33586. "description": "商品信息项",
  33587. "type": "array",
  33588. "items": {
  33589. "$ref": "#/definitions/models.WrTypeItem"
  33590. }
  33591. },
  33592. "lststep": {
  33593. "description": "履约规则",
  33594. "type": "array",
  33595. "items": {
  33596. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33597. }
  33598. }
  33599. }
  33600. },
  33601. "models.WrBuybackDetail": {
  33602. "type": "object",
  33603. "properties": {
  33604. "buybackamount": {
  33605. "description": "回购金额",
  33606. "type": "number"
  33607. },
  33608. "buybackqty": {
  33609. "description": "回购数量",
  33610. "type": "number"
  33611. },
  33612. "buybackreleasemargin": {
  33613. "description": "回购释放保证金",
  33614. "type": "number"
  33615. },
  33616. "buybacktime": {
  33617. "description": "回购时间",
  33618. "type": "string"
  33619. },
  33620. "errordesc": {
  33621. "description": "错误描述",
  33622. "type": "string"
  33623. },
  33624. "handlestatus": {
  33625. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33626. "type": "integer"
  33627. },
  33628. "relatedwrid": {
  33629. "description": "关联仓单ID",
  33630. "type": "integer"
  33631. },
  33632. "scfcontractid": {
  33633. "description": "SCF合同ID",
  33634. "type": "string"
  33635. },
  33636. "scfwrbuybackid": {
  33637. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33638. "type": "integer"
  33639. },
  33640. "tradedate": {
  33641. "description": "交易日(yyyyMMdd)",
  33642. "type": "string"
  33643. }
  33644. }
  33645. },
  33646. "models.WrDeliveryAvalidHoldLB": {
  33647. "type": "object",
  33648. "properties": {
  33649. "accountid": {
  33650. "description": "资金账号",
  33651. "type": "integer"
  33652. },
  33653. "avalidqty": {
  33654. "description": "数量(可点选数量)",
  33655. "type": "number"
  33656. },
  33657. "deliverygoodsid": {
  33658. "description": "品种id",
  33659. "type": "integer"
  33660. },
  33661. "enumdicname": {
  33662. "description": "单位名称",
  33663. "type": "string"
  33664. },
  33665. "goodsid": {
  33666. "description": "x合约商品id",
  33667. "type": "integer"
  33668. },
  33669. "ladingbillid": {
  33670. "description": "提单id",
  33671. "type": "string"
  33672. },
  33673. "pgoodscode": {
  33674. "description": "p商品代码(点价合约)",
  33675. "type": "string"
  33676. },
  33677. "pgoodsid": {
  33678. "description": "p商品id(点价合约)",
  33679. "type": "integer"
  33680. },
  33681. "pgoodsname": {
  33682. "description": "p商品名称(点价合约)",
  33683. "type": "string"
  33684. },
  33685. "pricemove": {
  33686. "description": "升贴水",
  33687. "type": "number"
  33688. },
  33689. "subnum": {
  33690. "description": "提单子id",
  33691. "type": "integer"
  33692. },
  33693. "userid": {
  33694. "description": "用户id",
  33695. "type": "integer"
  33696. },
  33697. "username": {
  33698. "description": "仓单持有人",
  33699. "type": "string"
  33700. },
  33701. "warehousecode": {
  33702. "description": "仓库代码",
  33703. "type": "string"
  33704. },
  33705. "warehouseid": {
  33706. "description": "仓库id",
  33707. "type": "integer"
  33708. },
  33709. "warehousename": {
  33710. "description": "仓库名称",
  33711. "type": "string"
  33712. },
  33713. "wrfactortypeid": {
  33714. "description": "仓单要素id",
  33715. "type": "string"
  33716. },
  33717. "wrstandardcode": {
  33718. "description": "品代码",
  33719. "type": "string"
  33720. },
  33721. "wrstandardid": {
  33722. "description": "品类d",
  33723. "type": "integer"
  33724. },
  33725. "wrstandardname": {
  33726. "description": "品类名称",
  33727. "type": "string"
  33728. },
  33729. "wrtypename": {
  33730. "description": "商品",
  33731. "type": "string"
  33732. },
  33733. "xgoodscode": {
  33734. "description": "x合约代码",
  33735. "type": "string"
  33736. },
  33737. "xgoodsname": {
  33738. "description": "x合约名称",
  33739. "type": "string"
  33740. }
  33741. }
  33742. },
  33743. "models.WrDeliveryDetail": {
  33744. "type": "object",
  33745. "properties": {
  33746. "accountid": {
  33747. "description": "账号ID",
  33748. "type": "integer"
  33749. },
  33750. "averageprice": {
  33751. "description": "交割均价 = 交割金额 / 交割数量",
  33752. "type": "number"
  33753. },
  33754. "buyorsell": {
  33755. "description": "方向 - 0:买 1:卖",
  33756. "type": "integer"
  33757. },
  33758. "deliveryamount": {
  33759. "description": "货款金额(X总货款+P总货款)",
  33760. "type": "number"
  33761. },
  33762. "deliveryid": {
  33763. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33764. "type": "string"
  33765. },
  33766. "deliveryorderid": {
  33767. "description": "申报单号",
  33768. "type": "string"
  33769. },
  33770. "deliverypricemove": {
  33771. "description": "升贴水(升贴水总额)",
  33772. "type": "number"
  33773. },
  33774. "deliveryqty": {
  33775. "description": "交收数量(点选数量)",
  33776. "type": "number"
  33777. },
  33778. "deliverystatus": {
  33779. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33780. "type": "integer"
  33781. },
  33782. "deliverytime": {
  33783. "description": "交割时间",
  33784. "type": "string"
  33785. },
  33786. "deliverytotalamount": {
  33787. "description": "交收金额",
  33788. "type": "number"
  33789. },
  33790. "enumdicname": {
  33791. "description": "单位名称",
  33792. "type": "string"
  33793. },
  33794. "matchaccountid": {
  33795. "description": "对手账号ID",
  33796. "type": "integer"
  33797. },
  33798. "matchusername": {
  33799. "description": "对手方名称(仓单持有人)",
  33800. "type": "string"
  33801. },
  33802. "p1goodsremainamount": {
  33803. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33804. "type": "number"
  33805. },
  33806. "pdeliverycloseqty": {
  33807. "description": "p合约平仓数量",
  33808. "type": "number"
  33809. },
  33810. "pdeliveryprice": {
  33811. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33812. "type": "number"
  33813. },
  33814. "pgoodscode": {
  33815. "description": "商品代码",
  33816. "type": "string"
  33817. },
  33818. "pgoodsid": {
  33819. "description": "p点选合约id",
  33820. "type": "integer"
  33821. },
  33822. "pgoodsname": {
  33823. "description": "商品名称",
  33824. "type": "string"
  33825. },
  33826. "ppricemode": {
  33827. "description": "点价价格方式 - 1:商品价 2:固定值",
  33828. "type": "integer"
  33829. },
  33830. "tradedate": {
  33831. "description": "交易日(yyyymmdd)",
  33832. "type": "string"
  33833. },
  33834. "userid": {
  33835. "description": "用户id",
  33836. "type": "integer"
  33837. },
  33838. "username": {
  33839. "description": "用户名称",
  33840. "type": "string"
  33841. },
  33842. "warehousename": {
  33843. "description": "仓库名称",
  33844. "type": "string"
  33845. },
  33846. "wrfactortypeid": {
  33847. "description": "仓单要素类型ID",
  33848. "type": "string"
  33849. },
  33850. "wrtypename": {
  33851. "description": "商品",
  33852. "type": "string"
  33853. },
  33854. "xdeliverycloseqty": {
  33855. "description": "合约数量",
  33856. "type": "number"
  33857. },
  33858. "xgoodsamount": {
  33859. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33860. "type": "number"
  33861. },
  33862. "xgoodscode": {
  33863. "description": "商品代码",
  33864. "type": "string"
  33865. },
  33866. "xgoodsid": {
  33867. "description": "x交易合约ID",
  33868. "type": "integer"
  33869. },
  33870. "xgoodsname": {
  33871. "description": "商品名称",
  33872. "type": "string"
  33873. }
  33874. }
  33875. },
  33876. "models.WrDeliveryGoodsSection": {
  33877. "type": "object",
  33878. "properties": {
  33879. "dglst": {
  33880. "description": "板块商品列表",
  33881. "type": "array",
  33882. "items": {
  33883. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33884. }
  33885. },
  33886. "imagepath": {
  33887. "description": "图片地址",
  33888. "type": "string"
  33889. },
  33890. "orderindex": {
  33891. "description": "排序",
  33892. "type": "integer"
  33893. },
  33894. "sectionid": {
  33895. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33896. "type": "integer"
  33897. },
  33898. "sectionname": {
  33899. "description": "版块名称",
  33900. "type": "string"
  33901. },
  33902. "sectiontype": {
  33903. "description": "版块类型 - 1:指数版块 2:普通版块",
  33904. "type": "integer"
  33905. }
  33906. }
  33907. },
  33908. "models.WrDeliveryGoodsSectionConfig": {
  33909. "type": "object",
  33910. "properties": {
  33911. "deliverygoodscode": {
  33912. "description": "现货商品代码",
  33913. "type": "string"
  33914. },
  33915. "deliverygoodsid": {
  33916. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33917. "type": "integer"
  33918. },
  33919. "deliverygoodsname": {
  33920. "description": "现货商品名称",
  33921. "type": "string"
  33922. },
  33923. "orderindex": {
  33924. "description": "排序",
  33925. "type": "integer"
  33926. }
  33927. }
  33928. },
  33929. "models.WrFAProductDetail": {
  33930. "type": "object",
  33931. "properties": {
  33932. "accountid": {
  33933. "description": "资金账号",
  33934. "type": "integer"
  33935. },
  33936. "areauserid": {
  33937. "description": "金融机构ID",
  33938. "type": "integer"
  33939. },
  33940. "financingdays": {
  33941. "description": "天数(天)",
  33942. "type": "integer"
  33943. },
  33944. "interestminlen": {
  33945. "description": "最小起息天数",
  33946. "type": "integer"
  33947. },
  33948. "interestrate": {
  33949. "description": "利率",
  33950. "type": "number"
  33951. },
  33952. "interestratemode": {
  33953. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33954. "type": "integer"
  33955. },
  33956. "interestsettlemode": {
  33957. "description": "结息方式 - 1:按日结息 3:按月结息",
  33958. "type": "integer"
  33959. },
  33960. "interestsettlevalue": {
  33961. "description": "结息方式值",
  33962. "type": "integer"
  33963. },
  33964. "isautoloan": {
  33965. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33966. "type": "integer"
  33967. },
  33968. "loantag": {
  33969. "description": "放款标识: \"放款快\" 或者为空",
  33970. "type": "string"
  33971. },
  33972. "marginratio": {
  33973. "description": "保证金比率质押率 - [仓单质押]",
  33974. "type": "number"
  33975. },
  33976. "productdetailid": {
  33977. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33978. "type": "integer"
  33979. },
  33980. "productid": {
  33981. "description": "金融产品ID",
  33982. "type": "integer"
  33983. },
  33984. "productname": {
  33985. "description": "产品名称",
  33986. "type": "string"
  33987. },
  33988. "updatetime": {
  33989. "description": "更新时间",
  33990. "type": "string"
  33991. },
  33992. "username": {
  33993. "description": "融出方",
  33994. "type": "string"
  33995. }
  33996. }
  33997. },
  33998. "models.WrFactorTypeInfo": {
  33999. "type": "object",
  34000. "properties": {
  34001. "deliverygoodscode": {
  34002. "description": "品种代码",
  34003. "type": "string"
  34004. },
  34005. "deliverygoodsname": {
  34006. "description": "品种名称",
  34007. "type": "string"
  34008. },
  34009. "dgfactoryitemid": {
  34010. "description": "选择项id",
  34011. "type": "integer"
  34012. },
  34013. "dgfactoryitemtypeid": {
  34014. "description": "要素选择项ID (1-仓库 2-品牌)",
  34015. "type": "integer"
  34016. },
  34017. "dgfactoryitemvalue": {
  34018. "description": "要素项值",
  34019. "type": "string"
  34020. },
  34021. "itemtypename": {
  34022. "description": "要素项名称",
  34023. "type": "string"
  34024. },
  34025. "optioncompare": {
  34026. "description": "选择比较串",
  34027. "type": "string"
  34028. },
  34029. "warehouseid": {
  34030. "description": "仓库id",
  34031. "type": "integer"
  34032. },
  34033. "wrfactortypeid": {
  34034. "description": "仓单要素ID",
  34035. "type": "string"
  34036. },
  34037. "wrfactortypename": {
  34038. "description": "要素名称",
  34039. "type": "string"
  34040. },
  34041. "wrfactortypename2": {
  34042. "description": "要素名称(不含仓库)",
  34043. "type": "string"
  34044. },
  34045. "wrstandardcode": {
  34046. "description": "品类代码",
  34047. "type": "string"
  34048. },
  34049. "wrstandardid": {
  34050. "description": "品类id",
  34051. "type": "integer"
  34052. },
  34053. "wrstandardname": {
  34054. "description": "品类名称",
  34055. "type": "string"
  34056. }
  34057. }
  34058. },
  34059. "models.WrFilterItem": {
  34060. "type": "object",
  34061. "properties": {
  34062. "itemcode": {
  34063. "description": "代码",
  34064. "type": "string"
  34065. },
  34066. "itemid": {
  34067. "description": "项id",
  34068. "type": "integer"
  34069. },
  34070. "itemname": {
  34071. "description": "名称",
  34072. "type": "string"
  34073. },
  34074. "itemtype": {
  34075. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34076. "type": "integer"
  34077. }
  34078. }
  34079. },
  34080. "models.WrFinanceBuyApply": {
  34081. "type": "object",
  34082. "properties": {
  34083. "applydate": {
  34084. "description": "申请时间",
  34085. "type": "string"
  34086. },
  34087. "applystatus": {
  34088. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34089. "type": "integer"
  34090. },
  34091. "applyuserid": {
  34092. "description": "申请人",
  34093. "type": "integer"
  34094. },
  34095. "auditdate": {
  34096. "description": "审核时间",
  34097. "type": "string"
  34098. },
  34099. "auditremark": {
  34100. "description": "审核备注",
  34101. "type": "string"
  34102. },
  34103. "audituserid": {
  34104. "description": "审核人",
  34105. "type": "integer"
  34106. },
  34107. "buyaccountid": {
  34108. "description": "买方资金账号",
  34109. "type": "integer"
  34110. },
  34111. "buyorsell": {
  34112. "description": "买卖 - 0:买 1:卖",
  34113. "type": "integer"
  34114. },
  34115. "buyuserid": {
  34116. "description": "买方用户ID",
  34117. "type": "integer"
  34118. },
  34119. "buyusername": {
  34120. "description": "买方名称",
  34121. "type": "string"
  34122. },
  34123. "buywrtradeorderid": {
  34124. "description": "融资方买委托单ID",
  34125. "type": "string"
  34126. },
  34127. "deliverygoodscode": {
  34128. "description": "品种代码",
  34129. "type": "string"
  34130. },
  34131. "deliverygoodsid": {
  34132. "description": "品种ID",
  34133. "type": "integer"
  34134. },
  34135. "deliverygoodsname": {
  34136. "description": "品种名称",
  34137. "type": "string"
  34138. },
  34139. "deliverymonth": {
  34140. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34141. "type": "string"
  34142. },
  34143. "enumdicname": {
  34144. "description": "单位名称",
  34145. "type": "string"
  34146. },
  34147. "financeaccountid": {
  34148. "description": "融资方资金帐户ID",
  34149. "type": "integer"
  34150. },
  34151. "financeapplyid": {
  34152. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34153. "type": "string"
  34154. },
  34155. "financeareauserid": {
  34156. "description": "融资方用户ID",
  34157. "type": "string"
  34158. },
  34159. "financename": {
  34160. "description": "融出方名称",
  34161. "type": "string"
  34162. },
  34163. "financetype": {
  34164. "description": "融资类型 1-融资回购",
  34165. "type": "integer"
  34166. },
  34167. "financingdays": {
  34168. "description": "天数(天)",
  34169. "type": "integer"
  34170. },
  34171. "freezebuymargin": {
  34172. "description": "冻结融资保证金(买方)",
  34173. "type": "number"
  34174. },
  34175. "handleremark": {
  34176. "description": "处理备注",
  34177. "type": "string"
  34178. },
  34179. "handlestatus": {
  34180. "description": "处理状态",
  34181. "type": "integer"
  34182. },
  34183. "interestminlen": {
  34184. "description": "最小起息天数",
  34185. "type": "integer"
  34186. },
  34187. "interestrate": {
  34188. "description": "利率",
  34189. "type": "number"
  34190. },
  34191. "interestratemode": {
  34192. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34193. "type": "integer"
  34194. },
  34195. "interestsettlemode": {
  34196. "description": "结息方式 - 1:按日结息 3:按月结息",
  34197. "type": "integer"
  34198. },
  34199. "interestsettlevalue": {
  34200. "description": "结息方式值",
  34201. "type": "integer"
  34202. },
  34203. "isautoloan": {
  34204. "description": "是否自动放款 - 0:手动 1:自动",
  34205. "type": "integer"
  34206. },
  34207. "marginratio": {
  34208. "description": "保证金比率质押率 - [仓单质押]",
  34209. "type": "number"
  34210. },
  34211. "marketid": {
  34212. "description": "市场ID",
  34213. "type": "integer"
  34214. },
  34215. "minivalue": {
  34216. "description": "现货商品最小变动值",
  34217. "type": "integer"
  34218. },
  34219. "optioncompare": {
  34220. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34221. "type": "string"
  34222. },
  34223. "orderqty": {
  34224. "description": "委托数量(商品数量)",
  34225. "type": "number"
  34226. },
  34227. "productdetailid": {
  34228. "description": "产品组合ID",
  34229. "type": "integer"
  34230. },
  34231. "productid": {
  34232. "description": "金融产品ID",
  34233. "type": "integer"
  34234. },
  34235. "productname": {
  34236. "description": "产品名称",
  34237. "type": "string"
  34238. },
  34239. "remark": {
  34240. "description": "备注",
  34241. "type": "string"
  34242. },
  34243. "scfcontractid": {
  34244. "description": "仓单回购合同ID",
  34245. "type": "string"
  34246. },
  34247. "sellaccountid": {
  34248. "description": "卖方资金账号",
  34249. "type": "integer"
  34250. },
  34251. "selluserid": {
  34252. "description": "卖方用户ID",
  34253. "type": "integer"
  34254. },
  34255. "sellwrtradeorderid": {
  34256. "description": "卖方委托单ID",
  34257. "type": "string"
  34258. },
  34259. "tradeamount": {
  34260. "description": "成交金额(借款金额)",
  34261. "type": "number"
  34262. },
  34263. "tradedate": {
  34264. "description": "交易日(yyyyMMdd)",
  34265. "type": "string"
  34266. },
  34267. "tradeprice": {
  34268. "description": "成交价格",
  34269. "type": "number"
  34270. },
  34271. "warehouseid": {
  34272. "description": "仓库ID",
  34273. "type": "integer"
  34274. },
  34275. "warehousename": {
  34276. "description": "仓库名称",
  34277. "type": "string"
  34278. },
  34279. "wrfactortypeid": {
  34280. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34281. "type": "string"
  34282. },
  34283. "wrfactortypename": {
  34284. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34285. "type": "string"
  34286. },
  34287. "wrpricetype": {
  34288. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34289. "type": "integer"
  34290. },
  34291. "wrstandardcode": {
  34292. "description": "现货商品代码",
  34293. "type": "string"
  34294. },
  34295. "wrstandardid": {
  34296. "description": "现货商品ID",
  34297. "type": "integer"
  34298. },
  34299. "wrstandardname": {
  34300. "description": "商品名称",
  34301. "type": "string"
  34302. },
  34303. "wrtypename": {
  34304. "description": "商品",
  34305. "type": "string"
  34306. }
  34307. }
  34308. },
  34309. "models.WrFriendApply": {
  34310. "type": "object",
  34311. "properties": {
  34312. "applicantid": {
  34313. "description": "申请人",
  34314. "type": "integer"
  34315. },
  34316. "applyname": {
  34317. "description": "申请人名称",
  34318. "type": "string"
  34319. },
  34320. "applysrc": {
  34321. "description": "申请来源 - 1:管理端 2:终端",
  34322. "type": "integer"
  34323. },
  34324. "applystatus": {
  34325. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34326. "type": "integer"
  34327. },
  34328. "applytime": {
  34329. "description": "申请时间",
  34330. "type": "string"
  34331. },
  34332. "auditname": {
  34333. "description": "审核人名称",
  34334. "type": "string"
  34335. },
  34336. "auditorid": {
  34337. "description": "审核人",
  34338. "type": "integer"
  34339. },
  34340. "auditremark": {
  34341. "description": "审核备注",
  34342. "type": "string"
  34343. },
  34344. "auditsrc": {
  34345. "description": "审核来源 - 1:管理端 2:终端",
  34346. "type": "integer"
  34347. },
  34348. "audittime": {
  34349. "description": "审核时间",
  34350. "type": "string"
  34351. },
  34352. "friendapplyid": {
  34353. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34354. "type": "string"
  34355. },
  34356. "friendname": {
  34357. "description": "好友名字(已脱敏)",
  34358. "type": "string"
  34359. },
  34360. "frienduserid": {
  34361. "description": "好友用户ID",
  34362. "type": "string"
  34363. },
  34364. "remark": {
  34365. "description": "备注",
  34366. "type": "string"
  34367. },
  34368. "userid": {
  34369. "description": "申请人用户ID",
  34370. "type": "integer"
  34371. }
  34372. }
  34373. },
  34374. "models.WrFtDeliveryGoods": {
  34375. "type": "object",
  34376. "properties": {
  34377. "deliverygoodscode": {
  34378. "description": "品种代码",
  34379. "type": "string"
  34380. },
  34381. "deliverygoodsid": {
  34382. "description": "品种ID",
  34383. "type": "integer"
  34384. },
  34385. "deliverygoodsname": {
  34386. "description": "品种名称",
  34387. "type": "string"
  34388. },
  34389. "wdlst": {
  34390. "description": "商品列表",
  34391. "type": "array",
  34392. "items": {
  34393. "$ref": "#/definitions/models.WrFtWrstandard"
  34394. }
  34395. }
  34396. }
  34397. },
  34398. "models.WrFtWrstandard": {
  34399. "type": "object",
  34400. "properties": {
  34401. "enumdicname": {
  34402. "description": "单位名称",
  34403. "type": "string"
  34404. },
  34405. "minivalue": {
  34406. "description": "最小变动值",
  34407. "type": "integer"
  34408. },
  34409. "wrstandardcode": {
  34410. "description": "现货商品代码",
  34411. "type": "string"
  34412. },
  34413. "wrstandardid": {
  34414. "description": "现货商品ID",
  34415. "type": "integer"
  34416. },
  34417. "wrstandardname": {
  34418. "description": "商品名称",
  34419. "type": "string"
  34420. }
  34421. }
  34422. },
  34423. "models.WrGoodsInfo": {
  34424. "type": "object",
  34425. "properties": {
  34426. "haswr": {
  34427. "description": "0:仓单预售 1:仓单贸易",
  34428. "type": "integer"
  34429. },
  34430. "lstitem": {
  34431. "description": "商品信息项",
  34432. "type": "array",
  34433. "items": {
  34434. "$ref": "#/definitions/models.WrTypeItem"
  34435. }
  34436. },
  34437. "lststep": {
  34438. "description": "履约规则",
  34439. "type": "array",
  34440. "items": {
  34441. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34442. }
  34443. },
  34444. "marketid": {
  34445. "description": "市场id",
  34446. "type": "integer"
  34447. }
  34448. }
  34449. },
  34450. "models.WrGoodsPerformanceStep": {
  34451. "type": "object",
  34452. "properties": {
  34453. "autoid": {
  34454. "description": "AutoID",
  34455. "type": "integer"
  34456. },
  34457. "isauto": {
  34458. "description": "是否自动 - 0:不自动 1:自动",
  34459. "type": "integer"
  34460. },
  34461. "remark": {
  34462. "description": "备注",
  34463. "type": "string"
  34464. },
  34465. "stepdate": {
  34466. "description": "天数信息(T+N)",
  34467. "type": "string"
  34468. },
  34469. "stepdays": {
  34470. "description": "距离上一步天数",
  34471. "type": "integer"
  34472. },
  34473. "stepindex": {
  34474. "description": "步骤序号",
  34475. "type": "integer"
  34476. },
  34477. "stepinfo": {
  34478. "description": "步骤信息(步骤名称+步骤值)",
  34479. "type": "string"
  34480. },
  34481. "steptypeid": {
  34482. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34483. "type": "integer"
  34484. },
  34485. "steptypename": {
  34486. "description": "步骤名称",
  34487. "type": "string"
  34488. },
  34489. "stepvalue": {
  34490. "description": "步骤值",
  34491. "type": "number"
  34492. },
  34493. "templateid": {
  34494. "description": "履约计划模板ID",
  34495. "type": "integer"
  34496. }
  34497. }
  34498. },
  34499. "models.WrHoldLB": {
  34500. "type": "object",
  34501. "properties": {
  34502. "accountid": {
  34503. "description": "持有人帐户ID",
  34504. "type": "integer"
  34505. },
  34506. "createtime": {
  34507. "description": "创建时间(过户时间)",
  34508. "type": "string"
  34509. },
  34510. "deliverygoodscode": {
  34511. "description": "品种代码",
  34512. "type": "string"
  34513. },
  34514. "deliverygoodsid": {
  34515. "description": "品种ID",
  34516. "type": "integer"
  34517. },
  34518. "deliverygoodsname": {
  34519. "description": "品种名称",
  34520. "type": "string"
  34521. },
  34522. "enableqty": {
  34523. "description": "可用数量",
  34524. "type": "number"
  34525. },
  34526. "enumdicname": {
  34527. "description": "单位名称",
  34528. "type": "string"
  34529. },
  34530. "freezerqty": {
  34531. "description": "冻结数量",
  34532. "type": "number"
  34533. },
  34534. "ladingbillid": {
  34535. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34536. "type": "string"
  34537. },
  34538. "minivalue": {
  34539. "description": "现货商品最小变动值",
  34540. "type": "integer"
  34541. },
  34542. "optioncompare": {
  34543. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34544. "type": "string"
  34545. },
  34546. "parentsubnum": {
  34547. "description": "拆分父子单号",
  34548. "type": "integer"
  34549. },
  34550. "pledgeqty": {
  34551. "description": "质押数量",
  34552. "type": "number"
  34553. },
  34554. "qty": {
  34555. "description": "数量",
  34556. "type": "number"
  34557. },
  34558. "subnum": {
  34559. "description": "提单子单号",
  34560. "type": "integer"
  34561. },
  34562. "tradedate": {
  34563. "description": "交易日(yyyyMMdd)",
  34564. "type": "string"
  34565. },
  34566. "userid": {
  34567. "description": "持有人ID",
  34568. "type": "integer"
  34569. },
  34570. "warehouseid": {
  34571. "description": "仓库ID",
  34572. "type": "integer"
  34573. },
  34574. "warehousename": {
  34575. "description": "仓库名称",
  34576. "type": "string"
  34577. },
  34578. "wrfactortypeid": {
  34579. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34580. "type": "string"
  34581. },
  34582. "wrfactortypename": {
  34583. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34584. "type": "string"
  34585. },
  34586. "wrholdeno": {
  34587. "description": "仓单编号",
  34588. "type": "string"
  34589. },
  34590. "wrid": {
  34591. "description": "仓单变更ID",
  34592. "type": "string"
  34593. },
  34594. "wrstandardcode": {
  34595. "description": "现货商品代码",
  34596. "type": "string"
  34597. },
  34598. "wrstandardid": {
  34599. "description": "现货商品ID",
  34600. "type": "integer"
  34601. },
  34602. "wrstandardname": {
  34603. "description": "商品名称",
  34604. "type": "string"
  34605. },
  34606. "wrtypename": {
  34607. "description": "商品",
  34608. "type": "string"
  34609. }
  34610. }
  34611. },
  34612. "models.WrMarketTradeConfig": {
  34613. "type": "object",
  34614. "properties": {
  34615. "basisdownratio": {
  34616. "description": "浮动价基差下限比例(仓单贸易)",
  34617. "type": "number"
  34618. },
  34619. "basisupratio": {
  34620. "description": "浮动价基差上限比例(仓单贸易)",
  34621. "type": "number"
  34622. },
  34623. "buychargealgorithm": {
  34624. "description": "买方手续费收取方式 1:比率 2:固定",
  34625. "type": "integer"
  34626. },
  34627. "buychargealgorithm2": {
  34628. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34629. "type": "integer"
  34630. },
  34631. "buychargealgorithmvalue": {
  34632. "description": "买方手续费设置值(交易所部分)",
  34633. "type": "number"
  34634. },
  34635. "buychargealgorithmvalue2": {
  34636. "description": "买方手续费设置值(会员部分)",
  34637. "type": "number"
  34638. },
  34639. "buychargealgorithmvalue3": {
  34640. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34641. "type": "number"
  34642. },
  34643. "buychargealgorithmvalue4": {
  34644. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34645. "type": "number"
  34646. },
  34647. "buyfirstmarginalgorithm": {
  34648. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34649. "type": "integer"
  34650. },
  34651. "buyfirstmarginvalue": {
  34652. "description": "买方出价保证金设置值 - [竞拍]",
  34653. "type": "number"
  34654. },
  34655. "buymarginalgorithm": {
  34656. "description": "买方保证金方式 - 1:比率 2:固定",
  34657. "type": "integer"
  34658. },
  34659. "buymarginvalue": {
  34660. "description": "买方保证金设置值",
  34661. "type": "number"
  34662. },
  34663. "buyreleaseratio": {
  34664. "description": "买方释放比率[2:分步履约]",
  34665. "type": "number"
  34666. },
  34667. "executemode": {
  34668. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34669. "type": "integer"
  34670. },
  34671. "executeside": {
  34672. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34673. "type": "integer"
  34674. },
  34675. "failedchargealgorithm": {
  34676. "description": "流拍手续费收取方式 1:比率 2:固定",
  34677. "type": "integer"
  34678. },
  34679. "failedchargevalue": {
  34680. "description": "流拍手续费设置值",
  34681. "type": "number"
  34682. },
  34683. "failedchargevalue2": {
  34684. "description": "流拍卖方手续费设置值",
  34685. "type": "number"
  34686. },
  34687. "holddays": {
  34688. "description": "合同期限[2:分步履约]",
  34689. "type": "integer"
  34690. },
  34691. "marketid": {
  34692. "description": "市场ID-仓单贸易、竞拍、预售",
  34693. "type": "integer"
  34694. },
  34695. "minqty": {
  34696. "description": "最小执行量[2:分步履约]",
  34697. "type": "number"
  34698. },
  34699. "modifierid": {
  34700. "description": "修改人",
  34701. "type": "integer"
  34702. },
  34703. "performancetempid": {
  34704. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34705. "type": "integer"
  34706. },
  34707. "performancetempid2": {
  34708. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34709. "type": "integer"
  34710. },
  34711. "performanceway": {
  34712. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34713. "type": "integer"
  34714. },
  34715. "sellchargealgorithm": {
  34716. "description": "卖方手续费收取方式 1:比率 2:固定",
  34717. "type": "integer"
  34718. },
  34719. "sellchargealgorithm2": {
  34720. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34721. "type": "integer"
  34722. },
  34723. "sellchargealgorithmvalue": {
  34724. "description": "卖方手续费设置值(交易所部分)",
  34725. "type": "number"
  34726. },
  34727. "sellchargealgorithmvalue2": {
  34728. "description": "卖方手续费设置值(会员部分)",
  34729. "type": "number"
  34730. },
  34731. "sellchargealgorithmvalue3": {
  34732. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34733. "type": "number"
  34734. },
  34735. "sellchargealgorithmvalue4": {
  34736. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34737. "type": "number"
  34738. },
  34739. "sellmarginalgorithm": {
  34740. "description": "卖方保证金方式 - 1:比率 2:固定",
  34741. "type": "integer"
  34742. },
  34743. "sellmarginvalue": {
  34744. "description": "卖方保证金设置值",
  34745. "type": "number"
  34746. },
  34747. "sellmarginvalue2": {
  34748. "description": "卖方保证金设置值(无仓单)",
  34749. "type": "number"
  34750. },
  34751. "sellreleaseratio": {
  34752. "description": "卖方释放比率[2:分步履约]",
  34753. "type": "number"
  34754. },
  34755. "updatetime": {
  34756. "description": "更新时间",
  34757. "type": "string"
  34758. }
  34759. }
  34760. },
  34761. "models.WrOrderDetail": {
  34762. "type": "object",
  34763. "properties": {
  34764. "accountid": {
  34765. "description": "交易账号(资金账号)",
  34766. "type": "integer"
  34767. },
  34768. "allfriendsflag": {
  34769. "description": "是否全好友可见 - 0:否 1:是",
  34770. "type": "integer"
  34771. },
  34772. "amount": {
  34773. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34774. "type": "number"
  34775. },
  34776. "buyorsell": {
  34777. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34778. "type": "integer"
  34779. },
  34780. "canbargain": {
  34781. "description": "是否可议价 - 0:不可 1:可",
  34782. "type": "integer"
  34783. },
  34784. "cancelqty": {
  34785. "description": "撤销数量",
  34786. "type": "number"
  34787. },
  34788. "canpart": {
  34789. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34790. "type": "integer"
  34791. },
  34792. "delistminqty": {
  34793. "description": "起摘数量",
  34794. "type": "integer"
  34795. },
  34796. "deliverygoodscode": {
  34797. "description": "品种代码",
  34798. "type": "string"
  34799. },
  34800. "deliverygoodsid": {
  34801. "description": "品种ID",
  34802. "type": "integer"
  34803. },
  34804. "deliverygoodsname": {
  34805. "description": "品种名称",
  34806. "type": "string"
  34807. },
  34808. "deliverymonth": {
  34809. "description": "交收月",
  34810. "type": "string"
  34811. },
  34812. "enumdicname": {
  34813. "description": "单位名称",
  34814. "type": "string"
  34815. },
  34816. "fixedprice": {
  34817. "description": "固定价格 - [挂牌]",
  34818. "type": "number"
  34819. },
  34820. "freezemargin": {
  34821. "description": "冻结保证金(保证金)",
  34822. "type": "number"
  34823. },
  34824. "futupricemove": {
  34825. "description": "期货升贴水",
  34826. "type": "number"
  34827. },
  34828. "futushow": {
  34829. "description": "期货合约/升贴水",
  34830. "type": "string"
  34831. },
  34832. "goodscode": {
  34833. "description": "期货合约",
  34834. "type": "string"
  34835. },
  34836. "goodsid": {
  34837. "description": "期货商品id",
  34838. "type": "integer"
  34839. },
  34840. "goodsname": {
  34841. "description": "商品名称",
  34842. "type": "string"
  34843. },
  34844. "haswr": {
  34845. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34846. "type": "integer"
  34847. },
  34848. "isspecified": {
  34849. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34850. "type": "integer"
  34851. },
  34852. "ladingbillid": {
  34853. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34854. "type": "string"
  34855. },
  34856. "marginvalue": {
  34857. "description": "保证金设置值(履约保证金)",
  34858. "type": "number"
  34859. },
  34860. "marketid": {
  34861. "description": "市场ID",
  34862. "type": "integer"
  34863. },
  34864. "matchusername": {
  34865. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34866. "type": "string"
  34867. },
  34868. "minivalue": {
  34869. "description": "现货商品最小变动值",
  34870. "type": "integer"
  34871. },
  34872. "optioncompare": {
  34873. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34874. "type": "string"
  34875. },
  34876. "orderqty": {
  34877. "description": "委托数量",
  34878. "type": "number"
  34879. },
  34880. "ordertime": {
  34881. "description": "委托时间(挂牌时间)",
  34882. "type": "string"
  34883. },
  34884. "performancetemplateid": {
  34885. "description": "履约模板id",
  34886. "type": "integer"
  34887. },
  34888. "pricemove": {
  34889. "description": "升贴水(浮动价时填写) - [挂牌]",
  34890. "type": "number"
  34891. },
  34892. "taname": {
  34893. "description": "交易用户名称(资金账号名称)",
  34894. "type": "string"
  34895. },
  34896. "tradedate": {
  34897. "description": "交易日(yyyyMMdd)",
  34898. "type": "string"
  34899. },
  34900. "tradeprice": {
  34901. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34902. "type": "number"
  34903. },
  34904. "tradeqty": {
  34905. "description": "成交数量",
  34906. "type": "number"
  34907. },
  34908. "userid": {
  34909. "description": "用户ID",
  34910. "type": "integer"
  34911. },
  34912. "validtime": {
  34913. "description": "挂牌有效期",
  34914. "type": "string"
  34915. },
  34916. "warehouseid": {
  34917. "description": "仓库ID",
  34918. "type": "integer"
  34919. },
  34920. "warehousename": {
  34921. "description": "仓库名称",
  34922. "type": "string"
  34923. },
  34924. "wrfactortypeid": {
  34925. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34926. "type": "string"
  34927. },
  34928. "wrfactortypename": {
  34929. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34930. "type": "string"
  34931. },
  34932. "wrpricetype": {
  34933. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34934. "type": "integer"
  34935. },
  34936. "wrstandardcode": {
  34937. "description": "现货商品代码",
  34938. "type": "string"
  34939. },
  34940. "wrstandardid": {
  34941. "description": "现货商品ID",
  34942. "type": "integer"
  34943. },
  34944. "wrstandardname": {
  34945. "description": "商品名称",
  34946. "type": "string"
  34947. },
  34948. "wrtradeorderid": {
  34949. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34950. "type": "string"
  34951. },
  34952. "wrtradeorderstatus": {
  34953. "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:撤单解冻贷款失败",
  34954. "type": "integer"
  34955. },
  34956. "wrtradetype": {
  34957. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34958. "type": "integer"
  34959. },
  34960. "wrtypename": {
  34961. "description": "商品",
  34962. "type": "string"
  34963. }
  34964. }
  34965. },
  34966. "models.WrOrderQuote": {
  34967. "type": "object",
  34968. "properties": {
  34969. "buyprice": {
  34970. "description": "买价",
  34971. "type": "number"
  34972. },
  34973. "buypricemove": {
  34974. "description": "买升贴水(基差)",
  34975. "type": "number"
  34976. },
  34977. "buyqty": {
  34978. "description": "买量",
  34979. "type": "number"
  34980. },
  34981. "deliverygoodscode": {
  34982. "description": "品种代码",
  34983. "type": "string"
  34984. },
  34985. "deliverygoodsid": {
  34986. "description": "品种id",
  34987. "type": "integer"
  34988. },
  34989. "deliverygoodsname": {
  34990. "description": "品种名称",
  34991. "type": "string"
  34992. },
  34993. "deliverymonth": {
  34994. "description": "交收月",
  34995. "type": "string"
  34996. },
  34997. "enumdicname": {
  34998. "description": "单位名称",
  34999. "type": "string"
  35000. },
  35001. "goodscode": {
  35002. "description": "商品合约(浮动价列表才有)",
  35003. "type": "string"
  35004. },
  35005. "goodsid": {
  35006. "description": "商品id(浮动价列表才有)",
  35007. "type": "integer"
  35008. },
  35009. "minivalue": {
  35010. "description": "现货商品最小变动值",
  35011. "type": "integer"
  35012. },
  35013. "sellprice": {
  35014. "description": "卖价",
  35015. "type": "number"
  35016. },
  35017. "sellpricemove": {
  35018. "description": "卖升贴水(基差)",
  35019. "type": "number"
  35020. },
  35021. "sellqty": {
  35022. "description": "卖量",
  35023. "type": "number"
  35024. },
  35025. "warehousecode": {
  35026. "description": "仓库代码",
  35027. "type": "string"
  35028. },
  35029. "warehouseid": {
  35030. "description": "仓库id",
  35031. "type": "integer"
  35032. },
  35033. "warehousename": {
  35034. "description": "仓库名称",
  35035. "type": "string"
  35036. },
  35037. "wrfactortypeid": {
  35038. "description": "仓单要素id",
  35039. "type": "string"
  35040. },
  35041. "wrfactortypename": {
  35042. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35043. "type": "string"
  35044. },
  35045. "wrgoodsname": {
  35046. "description": "商品(商品名称+仓库要素名称 拼接)",
  35047. "type": "string"
  35048. },
  35049. "wrstandardcode": {
  35050. "description": "商品代码",
  35051. "type": "string"
  35052. },
  35053. "wrstandardid": {
  35054. "description": "商品id",
  35055. "type": "integer"
  35056. },
  35057. "wrstandardname": {
  35058. "description": "商品名称",
  35059. "type": "string"
  35060. }
  35061. }
  35062. },
  35063. "models.WrOrderQuoteDetail": {
  35064. "type": "object",
  35065. "properties": {
  35066. "buyorsell": {
  35067. "description": "买卖 - 0:买 1:卖",
  35068. "type": "integer"
  35069. },
  35070. "delistminqty": {
  35071. "description": "起摘数量",
  35072. "type": "number"
  35073. },
  35074. "deliverymonth": {
  35075. "description": "交收月",
  35076. "type": "string"
  35077. },
  35078. "enumdicname": {
  35079. "description": "单位名称",
  35080. "type": "string"
  35081. },
  35082. "fixedprice": {
  35083. "description": "买(卖)价",
  35084. "type": "number"
  35085. },
  35086. "minivalue": {
  35087. "description": "现货商品最小变动值",
  35088. "type": "integer"
  35089. },
  35090. "orderqty": {
  35091. "description": "买(卖)量(=委托量-成交量)",
  35092. "type": "number"
  35093. },
  35094. "ordertime": {
  35095. "description": "委托时间",
  35096. "type": "string"
  35097. },
  35098. "pricemove": {
  35099. "description": "买(卖)升贴水- 基差",
  35100. "type": "number"
  35101. },
  35102. "userid": {
  35103. "description": "购买方(销售方)用户ID",
  35104. "type": "integer"
  35105. },
  35106. "username": {
  35107. "description": "购买方(销售方)",
  35108. "type": "string"
  35109. },
  35110. "wrtradeorderid": {
  35111. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35112. "type": "string"
  35113. }
  35114. }
  35115. },
  35116. "models.WrOutInApply": {
  35117. "type": "object",
  35118. "properties": {
  35119. "applyid": {
  35120. "description": "申请单id",
  35121. "type": "string"
  35122. },
  35123. "applystatus": {
  35124. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35125. "type": "integer"
  35126. },
  35127. "applytime": {
  35128. "description": "申请时间",
  35129. "type": "string"
  35130. },
  35131. "applytype": {
  35132. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35133. "type": "integer"
  35134. },
  35135. "deliverygoodscode": {
  35136. "description": "品种代码",
  35137. "type": "string"
  35138. },
  35139. "deliverygoodsid": {
  35140. "description": "品种ID",
  35141. "type": "integer"
  35142. },
  35143. "deliverygoodsname": {
  35144. "description": "品种名称",
  35145. "type": "string"
  35146. },
  35147. "enumdicname": {
  35148. "description": "单位名称",
  35149. "type": "string"
  35150. },
  35151. "expresscompany": {
  35152. "description": "物流公司",
  35153. "type": "string"
  35154. },
  35155. "expressnum": {
  35156. "description": "物流单号",
  35157. "type": "string"
  35158. },
  35159. "minivalue": {
  35160. "description": "现货商品最小变动值",
  35161. "type": "integer"
  35162. },
  35163. "optioncompare": {
  35164. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35165. "type": "string"
  35166. },
  35167. "qty": {
  35168. "description": "数量",
  35169. "type": "integer"
  35170. },
  35171. "userid": {
  35172. "description": "用户id",
  35173. "type": "integer"
  35174. },
  35175. "warehouseid": {
  35176. "description": "仓库ID",
  35177. "type": "integer"
  35178. },
  35179. "warehousename": {
  35180. "description": "仓库名称",
  35181. "type": "string"
  35182. },
  35183. "wrfactortypeid": {
  35184. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35185. "type": "string"
  35186. },
  35187. "wrfactortypename": {
  35188. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35189. "type": "string"
  35190. },
  35191. "wrstandardcode": {
  35192. "description": "现货商品代码",
  35193. "type": "string"
  35194. },
  35195. "wrstandardid": {
  35196. "description": "现货商品ID",
  35197. "type": "integer"
  35198. },
  35199. "wrstandardname": {
  35200. "description": "商品名称",
  35201. "type": "string"
  35202. },
  35203. "wrtypename": {
  35204. "description": "商品",
  35205. "type": "string"
  35206. }
  35207. }
  35208. },
  35209. "models.WrPerformancePlan": {
  35210. "type": "object",
  35211. "required": [
  35212. "userid"
  35213. ],
  35214. "properties": {
  35215. "activatemonth": {
  35216. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35217. "type": "string"
  35218. },
  35219. "amount": {
  35220. "description": "履约金额(总金额)",
  35221. "type": "number"
  35222. },
  35223. "buyaccountid": {
  35224. "description": "买方账号",
  35225. "type": "integer"
  35226. },
  35227. "buyerfreezeamount": {
  35228. "description": "履约冻结(买履约)",
  35229. "type": "number"
  35230. },
  35231. "buyerfreezeamountremain": {
  35232. "description": "履约冻结剩余(买履约)",
  35233. "type": "number"
  35234. },
  35235. "buyorsell": {
  35236. "description": "买卖方向 0-买 1-卖",
  35237. "type": "integer"
  35238. },
  35239. "buypaidamount": {
  35240. "description": "买方已冻/已扣金额 (已付金额)",
  35241. "type": "number"
  35242. },
  35243. "buyusername": {
  35244. "description": "买方名字",
  35245. "type": "string"
  35246. },
  35247. "contractid": {
  35248. "description": "合同ID",
  35249. "type": "integer"
  35250. },
  35251. "createtime": {
  35252. "description": "创建时间",
  35253. "type": "string"
  35254. },
  35255. "creatorid": {
  35256. "description": "创建人",
  35257. "type": "integer"
  35258. },
  35259. "curstepdeadline": {
  35260. "description": "当前步骤到期时间",
  35261. "type": "string"
  35262. },
  35263. "curstepid": {
  35264. "description": "当前步骤ID",
  35265. "type": "string"
  35266. },
  35267. "curstepname": {
  35268. "description": "当前步骤名称",
  35269. "type": "string"
  35270. },
  35271. "deliverygoodscode": {
  35272. "description": "品种代码",
  35273. "type": "string"
  35274. },
  35275. "deliverygoodsid": {
  35276. "description": "品种ID",
  35277. "type": "integer"
  35278. },
  35279. "deliverygoodsname": {
  35280. "description": "品种名称",
  35281. "type": "string"
  35282. },
  35283. "enumdicname": {
  35284. "description": "单位名称",
  35285. "type": "string"
  35286. },
  35287. "expressfee": {
  35288. "description": "运费",
  35289. "type": "number"
  35290. },
  35291. "expressfeeconfirmed": {
  35292. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35293. "type": "integer"
  35294. },
  35295. "hasovershort": {
  35296. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35297. "type": "integer"
  35298. },
  35299. "haswr": {
  35300. "description": "类型 0-仓单预售 1-仓单贸易",
  35301. "type": "integer"
  35302. },
  35303. "marketid": {
  35304. "description": "市场ID",
  35305. "type": "integer"
  35306. },
  35307. "middleaccountid": {
  35308. "description": "中间商资金账号ID",
  35309. "type": "integer"
  35310. },
  35311. "middleuserid": {
  35312. "description": "中间商用户ID",
  35313. "type": "integer"
  35314. },
  35315. "minivalue": {
  35316. "description": "现货商品最小变动值",
  35317. "type": "integer"
  35318. },
  35319. "optioncompare": {
  35320. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35321. "type": "string"
  35322. },
  35323. "overshortamount": {
  35324. "description": "溢短金额",
  35325. "type": "number"
  35326. },
  35327. "overshortqty": {
  35328. "description": "溢短数量",
  35329. "type": "number"
  35330. },
  35331. "paymenttype": {
  35332. "description": "付款方式 - 1:冻结 2:扣款",
  35333. "type": "integer"
  35334. },
  35335. "performanceplanid": {
  35336. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35337. "type": "string"
  35338. },
  35339. "performancestatus": {
  35340. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35341. "type": "integer"
  35342. },
  35343. "performancetype": {
  35344. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35345. "type": "integer"
  35346. },
  35347. "qty": {
  35348. "description": "履约数量",
  35349. "type": "number"
  35350. },
  35351. "relatedorderid": {
  35352. "description": "关联单号(履约类型的关联单号)",
  35353. "type": "string"
  35354. },
  35355. "remark": {
  35356. "description": "备注",
  35357. "type": "string"
  35358. },
  35359. "sellaccountid": {
  35360. "description": "卖方账号",
  35361. "type": "integer"
  35362. },
  35363. "sellerfreezeamount": {
  35364. "description": "履约冻结(卖履约)",
  35365. "type": "number"
  35366. },
  35367. "sellerfreezeamountremain": {
  35368. "description": "履约冻结剩余(卖履约)",
  35369. "type": "number"
  35370. },
  35371. "sellreceivedamount": {
  35372. "description": "卖方已收金额",
  35373. "type": "number"
  35374. },
  35375. "sellusername": {
  35376. "description": "卖方名字",
  35377. "type": "string"
  35378. },
  35379. "shipremark": {
  35380. "description": "发货备注[物流单号]",
  35381. "type": "string"
  35382. },
  35383. "starttime": {
  35384. "description": "开始时间",
  35385. "type": "string"
  35386. },
  35387. "steptypeid": {
  35388. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35389. "type": "integer"
  35390. },
  35391. "typename": {
  35392. "description": "履约类型 名称",
  35393. "type": "string"
  35394. },
  35395. "unpaidamount": {
  35396. "description": "剩余款(待支付金额)",
  35397. "type": "number"
  35398. },
  35399. "userid": {
  35400. "description": "用户id",
  35401. "type": "integer"
  35402. },
  35403. "warehouseid": {
  35404. "description": "仓库ID",
  35405. "type": "integer"
  35406. },
  35407. "warehousename": {
  35408. "description": "仓库名称",
  35409. "type": "string"
  35410. },
  35411. "wrfactortypeid": {
  35412. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35413. "type": "string"
  35414. },
  35415. "wrfactortypename": {
  35416. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35417. "type": "string"
  35418. },
  35419. "wrstandardcode": {
  35420. "description": "现货商品代码",
  35421. "type": "string"
  35422. },
  35423. "wrstandardid": {
  35424. "description": "现货商品ID",
  35425. "type": "integer"
  35426. },
  35427. "wrstandardname": {
  35428. "description": "商品名称",
  35429. "type": "string"
  35430. },
  35431. "wrtransferuserid": {
  35432. "description": "仓单受让用户",
  35433. "type": "integer"
  35434. },
  35435. "wrtypename": {
  35436. "description": "商品",
  35437. "type": "string"
  35438. }
  35439. }
  35440. },
  35441. "models.WrPerformancePlanStep": {
  35442. "type": "object",
  35443. "properties": {
  35444. "delaydays": {
  35445. "description": "延期申请天数",
  35446. "type": "integer"
  35447. },
  35448. "deliverygoodscode": {
  35449. "description": "品种代码",
  35450. "type": "string"
  35451. },
  35452. "deliverygoodsid": {
  35453. "description": "品种ID",
  35454. "type": "integer"
  35455. },
  35456. "deliverygoodsname": {
  35457. "description": "品种名称",
  35458. "type": "string"
  35459. },
  35460. "endtime": {
  35461. "description": "结束日期",
  35462. "type": "string"
  35463. },
  35464. "enumdicname": {
  35465. "description": "单位名称",
  35466. "type": "string"
  35467. },
  35468. "executeside": {
  35469. "description": "步骤执行方 - 1:买方 2:卖方",
  35470. "type": "integer"
  35471. },
  35472. "handlestatus": {
  35473. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35474. "type": "integer"
  35475. },
  35476. "isauto": {
  35477. "description": "是否自动 - 0:不自动 1:自动",
  35478. "type": "integer"
  35479. },
  35480. "islastreceivestep": {
  35481. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35482. "type": "integer"
  35483. },
  35484. "minivalue": {
  35485. "description": "现货商品最小变动值",
  35486. "type": "integer"
  35487. },
  35488. "optioncompare": {
  35489. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35490. "type": "string"
  35491. },
  35492. "overdays": {
  35493. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35494. "type": "integer"
  35495. },
  35496. "performancestepid": {
  35497. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35498. "type": "string"
  35499. },
  35500. "planid": {
  35501. "description": "所属履约计划ID",
  35502. "type": "string"
  35503. },
  35504. "realamount": {
  35505. "description": "实际完成金额",
  35506. "type": "number"
  35507. },
  35508. "relatedorderid": {
  35509. "description": "关联单号",
  35510. "type": "string"
  35511. },
  35512. "remaindays": {
  35513. "description": "剩余天数",
  35514. "type": "integer"
  35515. },
  35516. "remark": {
  35517. "description": "错误备注",
  35518. "type": "string"
  35519. },
  35520. "starttime": {
  35521. "description": "开始日期",
  35522. "type": "string"
  35523. },
  35524. "stepamount": {
  35525. "description": "步骤金额",
  35526. "type": "number"
  35527. },
  35528. "stepdays": {
  35529. "description": "距离上一步天数(分钟)",
  35530. "type": "integer"
  35531. },
  35532. "stepindex": {
  35533. "description": "步骤序号",
  35534. "type": "integer"
  35535. },
  35536. "steplanchtype": {
  35537. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35538. "type": "integer"
  35539. },
  35540. "stepremark": {
  35541. "description": "步骤备注",
  35542. "type": "string"
  35543. },
  35544. "stepstatus": {
  35545. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35546. "type": "integer"
  35547. },
  35548. "steptypeid": {
  35549. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35550. "type": "integer"
  35551. },
  35552. "steptypename": {
  35553. "description": "步骤名称",
  35554. "type": "string"
  35555. },
  35556. "stepvalue": {
  35557. "description": "步骤值",
  35558. "type": "number"
  35559. },
  35560. "warehouseid": {
  35561. "description": "仓库ID",
  35562. "type": "integer"
  35563. },
  35564. "warehousename": {
  35565. "description": "仓库名称",
  35566. "type": "string"
  35567. },
  35568. "wrfactortypeid": {
  35569. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35570. "type": "string"
  35571. },
  35572. "wrfactortypename": {
  35573. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35574. "type": "string"
  35575. },
  35576. "wrstandardcode": {
  35577. "description": "现货商品代码",
  35578. "type": "string"
  35579. },
  35580. "wrstandardid": {
  35581. "description": "现货商品ID",
  35582. "type": "integer"
  35583. },
  35584. "wrstandardname": {
  35585. "description": "商品名称",
  35586. "type": "string"
  35587. },
  35588. "wrtypename": {
  35589. "description": "商品",
  35590. "type": "string"
  35591. }
  35592. }
  35593. },
  35594. "models.WrPerformanceStepType": {
  35595. "type": "object",
  35596. "properties": {
  35597. "canauto": {
  35598. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35599. "type": "integer"
  35600. },
  35601. "steptypeid": {
  35602. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35603. "type": "integer"
  35604. },
  35605. "steptypename": {
  35606. "description": "步骤类型名称",
  35607. "type": "string"
  35608. }
  35609. }
  35610. },
  35611. "models.WrPerformanceTemplateEx": {
  35612. "type": "object",
  35613. "properties": {
  35614. "autoid": {
  35615. "description": "AutoID 模板id",
  35616. "type": "integer"
  35617. },
  35618. "createtime": {
  35619. "description": "创建时间",
  35620. "type": "string"
  35621. },
  35622. "creatorid": {
  35623. "description": "创建人",
  35624. "type": "integer"
  35625. },
  35626. "lstStep": {
  35627. "description": "步骤信息列表",
  35628. "type": "array",
  35629. "items": {
  35630. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35631. }
  35632. },
  35633. "paymenttype": {
  35634. "description": "支付方式 - 1:冻结 2:扣款",
  35635. "type": "integer"
  35636. },
  35637. "takemode": {
  35638. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35639. "type": "integer"
  35640. },
  35641. "templatename": {
  35642. "description": "模板名称",
  35643. "type": "string"
  35644. },
  35645. "templatetype": {
  35646. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35647. "type": "integer"
  35648. },
  35649. "userid": {
  35650. "description": "所属用户",
  35651. "type": "integer"
  35652. }
  35653. }
  35654. },
  35655. "models.WrPosition": {
  35656. "type": "object",
  35657. "properties": {
  35658. "accountid": {
  35659. "description": "帐户ID",
  35660. "type": "integer"
  35661. },
  35662. "buyexcuteqty": {
  35663. "description": "采购履约中数量",
  35664. "type": "number"
  35665. },
  35666. "creditcurqty": {
  35667. "description": "授信当前数量(预售仓单:预售当前量)",
  35668. "type": "number"
  35669. },
  35670. "creditenableqty": {
  35671. "description": "授信可用数量(预售仓单: 可用数量)",
  35672. "type": "number"
  35673. },
  35674. "creditfreezeqty": {
  35675. "description": "授信冻结数量(预售仓单: 当前数量)",
  35676. "type": "number"
  35677. },
  35678. "credittotalqty": {
  35679. "description": "授信总数量(预售仓单:预售总量)",
  35680. "type": "number"
  35681. },
  35682. "credittradeqty": {
  35683. "description": "授信成交数量(预售仓单:成交总量)",
  35684. "type": "number"
  35685. },
  35686. "deliverygoodscode": {
  35687. "description": "品种代码",
  35688. "type": "string"
  35689. },
  35690. "deliverygoodsid": {
  35691. "description": "品种ID",
  35692. "type": "integer"
  35693. },
  35694. "deliverygoodsname": {
  35695. "description": "品种名称",
  35696. "type": "string"
  35697. },
  35698. "enalbeqty": {
  35699. "description": "可用数量",
  35700. "type": "number"
  35701. },
  35702. "enumdicname": {
  35703. "description": "单位名称",
  35704. "type": "string"
  35705. },
  35706. "freezeqty": {
  35707. "description": "总冻结数量",
  35708. "type": "number"
  35709. },
  35710. "haswr": {
  35711. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35712. "type": "integer"
  35713. },
  35714. "minivalue": {
  35715. "description": "现货商品最小变动值",
  35716. "type": "integer"
  35717. },
  35718. "modifytime": {
  35719. "description": "修改时间(过户时间)",
  35720. "type": "string"
  35721. },
  35722. "optioncompare": {
  35723. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35724. "type": "string"
  35725. },
  35726. "pledgeqty": {
  35727. "description": "质押数量",
  35728. "type": "number"
  35729. },
  35730. "querytype": {
  35731. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35732. "type": "integer"
  35733. },
  35734. "sellexcuteqty": {
  35735. "description": "销售履约中数量",
  35736. "type": "number"
  35737. },
  35738. "totalqty": {
  35739. "description": "总数量(库存数量)",
  35740. "type": "number"
  35741. },
  35742. "warehouseid": {
  35743. "description": "仓库ID",
  35744. "type": "integer"
  35745. },
  35746. "warehousename": {
  35747. "description": "仓库名称",
  35748. "type": "string"
  35749. },
  35750. "wrfactortypeid": {
  35751. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35752. "type": "string"
  35753. },
  35754. "wrfactortypename": {
  35755. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35756. "type": "string"
  35757. },
  35758. "wrpositionid": {
  35759. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35760. "type": "string"
  35761. },
  35762. "wrpositionno": {
  35763. "description": "仓单编号",
  35764. "type": "string"
  35765. },
  35766. "wrstandardcode": {
  35767. "description": "现货商品代码",
  35768. "type": "string"
  35769. },
  35770. "wrstandardid": {
  35771. "description": "现货商品ID",
  35772. "type": "integer"
  35773. },
  35774. "wrstandardname": {
  35775. "description": "商品名称",
  35776. "type": "string"
  35777. },
  35778. "wrtypename": {
  35779. "description": "商品",
  35780. "type": "string"
  35781. },
  35782. "wruserid": {
  35783. "description": "持有人ID",
  35784. "type": "integer"
  35785. }
  35786. }
  35787. },
  35788. "models.WrQuoteOrderMyq": {
  35789. "type": "object",
  35790. "properties": {
  35791. "buyorsell": {
  35792. "description": "买卖 - 0:买 1:卖",
  35793. "type": "integer"
  35794. },
  35795. "canbargain": {
  35796. "description": "是否可议价 - 0:不可 1:可",
  35797. "type": "integer"
  35798. },
  35799. "canpart": {
  35800. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35801. "type": "integer"
  35802. },
  35803. "delistminqty": {
  35804. "description": "起摘数量",
  35805. "type": "number"
  35806. },
  35807. "deliverygoodscode": {
  35808. "description": "品种代码",
  35809. "type": "string"
  35810. },
  35811. "deliverygoodsid": {
  35812. "description": "品种ID",
  35813. "type": "integer"
  35814. },
  35815. "deliverygoodsname": {
  35816. "description": "品种名称",
  35817. "type": "string"
  35818. },
  35819. "deliverymonth": {
  35820. "description": "交收月",
  35821. "type": "string"
  35822. },
  35823. "enumdicname": {
  35824. "description": "单位名称",
  35825. "type": "string"
  35826. },
  35827. "fixedprice": {
  35828. "description": "买(卖)价",
  35829. "type": "number"
  35830. },
  35831. "goodscode": {
  35832. "description": "商品合约代码",
  35833. "type": "string"
  35834. },
  35835. "marginflag": {
  35836. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35837. "type": "integer"
  35838. },
  35839. "marginvalue": {
  35840. "description": "保证金设置值",
  35841. "type": "number"
  35842. },
  35843. "minivalue": {
  35844. "description": "现货商品最小变动值",
  35845. "type": "integer"
  35846. },
  35847. "orderqty": {
  35848. "description": "买(卖)量(=委托量-成交量)",
  35849. "type": "number"
  35850. },
  35851. "ordertime": {
  35852. "description": "委托时间",
  35853. "type": "string"
  35854. },
  35855. "performancetemplateid": {
  35856. "description": "履约模板id",
  35857. "type": "integer"
  35858. },
  35859. "pricemove": {
  35860. "description": "买(卖)升贴水- 基差",
  35861. "type": "number"
  35862. },
  35863. "templatename": {
  35864. "description": "履约模板名称",
  35865. "type": "string"
  35866. },
  35867. "userid": {
  35868. "description": "购买方(销售方)用户ID",
  35869. "type": "integer"
  35870. },
  35871. "username": {
  35872. "description": "购买方(销售方)",
  35873. "type": "string"
  35874. },
  35875. "validtime": {
  35876. "description": "有效期限",
  35877. "type": "string"
  35878. },
  35879. "validtype": {
  35880. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35881. "type": "integer"
  35882. },
  35883. "warehousename": {
  35884. "description": "仓库名称",
  35885. "type": "string"
  35886. },
  35887. "wrfactortypeid": {
  35888. "description": "仓单要素id",
  35889. "type": "string"
  35890. },
  35891. "wrstandardcode": {
  35892. "description": "现货商品代码",
  35893. "type": "string"
  35894. },
  35895. "wrstandardid": {
  35896. "description": "现货商品ID",
  35897. "type": "integer"
  35898. },
  35899. "wrstandardname": {
  35900. "description": "商品名称",
  35901. "type": "string"
  35902. },
  35903. "wrtradeorderid": {
  35904. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35905. "type": "string"
  35906. },
  35907. "wrtypename": {
  35908. "description": "商品",
  35909. "type": "string"
  35910. }
  35911. }
  35912. },
  35913. "models.WrScfContract": {
  35914. "type": "object",
  35915. "properties": {
  35916. "borroweruserid": {
  35917. "description": "借款用户ID",
  35918. "type": "integer"
  35919. },
  35920. "buybackwrpositionqty": {
  35921. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35922. "type": "number"
  35923. },
  35924. "closeinterest": {
  35925. "description": "已结利息 -\u003e 已结费用",
  35926. "type": "number"
  35927. },
  35928. "currisklevel": {
  35929. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35930. "type": "integer"
  35931. },
  35932. "deadline": {
  35933. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35934. "type": "string"
  35935. },
  35936. "deliverygoodscode": {
  35937. "description": "品种代码",
  35938. "type": "string"
  35939. },
  35940. "deliverygoodsid": {
  35941. "description": "品种ID",
  35942. "type": "integer"
  35943. },
  35944. "deliverygoodsname": {
  35945. "description": "品种名称",
  35946. "type": "string"
  35947. },
  35948. "enumdicname": {
  35949. "description": "单位名称",
  35950. "type": "string"
  35951. },
  35952. "financingdays": {
  35953. "description": "天数(天)",
  35954. "type": "integer"
  35955. },
  35956. "initmargin": {
  35957. "description": "保证金 - [仓单回购]",
  35958. "type": "number"
  35959. },
  35960. "interestamount": {
  35961. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35962. "type": "number"
  35963. },
  35964. "interestdebt": {
  35965. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35966. "type": "number"
  35967. },
  35968. "interestminlen": {
  35969. "description": "最小起息天数",
  35970. "type": "integer"
  35971. },
  35972. "interestrate": {
  35973. "description": "利率",
  35974. "type": "number"
  35975. },
  35976. "interestratemode": {
  35977. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35978. "type": "integer"
  35979. },
  35980. "interestsettlemode": {
  35981. "description": "结息方式 - 1:按日结息 3:按月结息",
  35982. "type": "integer"
  35983. },
  35984. "interestsettlevalue": {
  35985. "description": "结息方式值",
  35986. "type": "integer"
  35987. },
  35988. "isautoloan": {
  35989. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35990. "type": "integer"
  35991. },
  35992. "lastcloseinterestday": {
  35993. "description": "最近结息日(yyyyMMdd)",
  35994. "type": "string"
  35995. },
  35996. "lenderamount": {
  35997. "description": "贷款金额 -\u003e 借款金额",
  35998. "type": "number"
  35999. },
  36000. "lenderuserid": {
  36001. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36002. "type": "integer"
  36003. },
  36004. "lenderusername": {
  36005. "description": "融出方",
  36006. "type": "string"
  36007. },
  36008. "marginratio": {
  36009. "description": "保证金比率质押率 - [仓单质押]",
  36010. "type": "number"
  36011. },
  36012. "marketid": {
  36013. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36014. "type": "integer"
  36015. },
  36016. "minivalue": {
  36017. "description": "现货商品最小变动值",
  36018. "type": "integer"
  36019. },
  36020. "optioncompare": {
  36021. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36022. "type": "string"
  36023. },
  36024. "pricemove": {
  36025. "description": "估值升贴水值",
  36026. "type": "number"
  36027. },
  36028. "productdetailid": {
  36029. "description": "产品组合ID",
  36030. "type": "integer"
  36031. },
  36032. "productid": {
  36033. "description": "金融产品ID",
  36034. "type": "integer"
  36035. },
  36036. "productname": {
  36037. "description": "产品名称",
  36038. "type": "string"
  36039. },
  36040. "remainamount": {
  36041. "description": "合同剩余金额 -\u003e 剩余金额",
  36042. "type": "number"
  36043. },
  36044. "remainwrpositionqty": {
  36045. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36046. "type": "number"
  36047. },
  36048. "remark": {
  36049. "description": "备注",
  36050. "type": "string"
  36051. },
  36052. "scfcontractid": {
  36053. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36054. "type": "string"
  36055. },
  36056. "scfcontractstatus": {
  36057. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36058. "type": "integer"
  36059. },
  36060. "scfcontracttype": {
  36061. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36062. "type": "integer"
  36063. },
  36064. "startinterestday": {
  36065. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36066. "type": "string"
  36067. },
  36068. "totalinterest": {
  36069. "description": "已计利息 -\u003e 已计费用",
  36070. "type": "number"
  36071. },
  36072. "unpaidinterest": {
  36073. "description": "未结费用",
  36074. "type": "number"
  36075. },
  36076. "updatetime": {
  36077. "description": "更新时间",
  36078. "type": "string"
  36079. },
  36080. "warehouseid": {
  36081. "description": "仓库ID",
  36082. "type": "integer"
  36083. },
  36084. "warehousename": {
  36085. "description": "仓库名称",
  36086. "type": "string"
  36087. },
  36088. "wrfactortypeid": {
  36089. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36090. "type": "string"
  36091. },
  36092. "wrfactortypename": {
  36093. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36094. "type": "string"
  36095. },
  36096. "wrqty": {
  36097. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36098. "type": "number"
  36099. },
  36100. "wrstandardcode": {
  36101. "description": "现货商品代码",
  36102. "type": "string"
  36103. },
  36104. "wrstandardid": {
  36105. "description": "现货商品ID",
  36106. "type": "integer"
  36107. },
  36108. "wrstandardname": {
  36109. "description": "商品名称",
  36110. "type": "string"
  36111. },
  36112. "wrtypename": {
  36113. "description": "商品",
  36114. "type": "string"
  36115. }
  36116. }
  36117. },
  36118. "models.WrScfContractInterest": {
  36119. "type": "object",
  36120. "properties": {
  36121. "closeinterest": {
  36122. "description": "已结利息",
  36123. "type": "number"
  36124. },
  36125. "closeintereststatus": {
  36126. "description": "结息状态 - 1:未结 2:已结",
  36127. "type": "integer"
  36128. },
  36129. "closetime": {
  36130. "description": "结息时间",
  36131. "type": "string"
  36132. },
  36133. "closetradedate": {
  36134. "description": "结息交易日",
  36135. "type": "string"
  36136. },
  36137. "creatorid": {
  36138. "description": "操作人ID",
  36139. "type": "integer"
  36140. },
  36141. "dayrate": {
  36142. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36143. "type": "number"
  36144. },
  36145. "interest": {
  36146. "description": "利息",
  36147. "type": "number"
  36148. },
  36149. "interestamount": {
  36150. "description": "计息金额",
  36151. "type": "number"
  36152. },
  36153. "interestday": {
  36154. "description": "计息日(yyyyMMdd)",
  36155. "type": "string"
  36156. },
  36157. "scfcontractid": {
  36158. "description": "SCF合同ID",
  36159. "type": "string"
  36160. },
  36161. "scfcontractinterestid": {
  36162. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36163. "type": "integer"
  36164. },
  36165. "updatetime": {
  36166. "description": "更新时间",
  36167. "type": "string"
  36168. }
  36169. }
  36170. },
  36171. "models.WrSiteColumnDetail": {
  36172. "type": "object",
  36173. "properties": {
  36174. "brief": {
  36175. "description": "简介",
  36176. "type": "string"
  36177. },
  36178. "context": {
  36179. "description": "内容",
  36180. "type": "string"
  36181. },
  36182. "coverimage": {
  36183. "description": "封面图片",
  36184. "type": "string"
  36185. },
  36186. "creaedate": {
  36187. "description": "创建时间",
  36188. "type": "string"
  36189. },
  36190. "id": {
  36191. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36192. "type": "integer"
  36193. },
  36194. "istop": {
  36195. "description": "是否置顶 - 0:不置 1:置顶",
  36196. "type": "integer"
  36197. },
  36198. "publishdate": {
  36199. "description": "发布日期",
  36200. "type": "string"
  36201. },
  36202. "title": {
  36203. "description": "标题",
  36204. "type": "string"
  36205. },
  36206. "updatedate": {
  36207. "description": "修改时间",
  36208. "type": "string"
  36209. }
  36210. }
  36211. },
  36212. "models.WrSpecialMatchOrder": {
  36213. "type": "object",
  36214. "properties": {
  36215. "amount": {
  36216. "description": "金额 = 数量 * 价格",
  36217. "type": "number"
  36218. },
  36219. "buyorsell": {
  36220. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36221. "type": "integer"
  36222. },
  36223. "cancelqty": {
  36224. "description": "撤销数量",
  36225. "type": "number"
  36226. },
  36227. "deliverygoodscode": {
  36228. "description": "品种代码",
  36229. "type": "string"
  36230. },
  36231. "deliverygoodsid": {
  36232. "description": "品种ID",
  36233. "type": "integer"
  36234. },
  36235. "deliverygoodsname": {
  36236. "description": "品种名称",
  36237. "type": "string"
  36238. },
  36239. "enumdicname": {
  36240. "description": "单位名称",
  36241. "type": "string"
  36242. },
  36243. "fixedprice": {
  36244. "description": "固定价格(价格)",
  36245. "type": "number"
  36246. },
  36247. "haswr": {
  36248. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36249. "type": "integer"
  36250. },
  36251. "marketid": {
  36252. "description": "市场ID",
  36253. "type": "integer"
  36254. },
  36255. "matchuserid": {
  36256. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36257. "type": "integer"
  36258. },
  36259. "matchusername": {
  36260. "description": "指定方",
  36261. "type": "string"
  36262. },
  36263. "minivalue": {
  36264. "description": "现货商品最小变动值",
  36265. "type": "integer"
  36266. },
  36267. "optioncompare": {
  36268. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36269. "type": "string"
  36270. },
  36271. "orderqty": {
  36272. "description": "委托数量",
  36273. "type": "number"
  36274. },
  36275. "ordertime": {
  36276. "description": "委托时间",
  36277. "type": "string"
  36278. },
  36279. "pricemove": {
  36280. "description": "升贴水(浮动价时填写) - [挂牌]",
  36281. "type": "number"
  36282. },
  36283. "tradedate": {
  36284. "description": "交易日(yyyyMMdd)",
  36285. "type": "string"
  36286. },
  36287. "tradeprice": {
  36288. "description": "成交价格",
  36289. "type": "number"
  36290. },
  36291. "tradeqty": {
  36292. "description": "成交数量",
  36293. "type": "number"
  36294. },
  36295. "userid": {
  36296. "description": "用户ID",
  36297. "type": "integer"
  36298. },
  36299. "username": {
  36300. "description": "发起方",
  36301. "type": "string"
  36302. },
  36303. "warehouseid": {
  36304. "description": "仓库ID",
  36305. "type": "integer"
  36306. },
  36307. "warehousename": {
  36308. "description": "仓库名称",
  36309. "type": "string"
  36310. },
  36311. "wrfactortypeid": {
  36312. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36313. "type": "string"
  36314. },
  36315. "wrfactortypename": {
  36316. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36317. "type": "string"
  36318. },
  36319. "wrpricetype": {
  36320. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36321. "type": "integer"
  36322. },
  36323. "wrstandardcode": {
  36324. "description": "现货商品代码",
  36325. "type": "string"
  36326. },
  36327. "wrstandardid": {
  36328. "description": "现货商品ID",
  36329. "type": "integer"
  36330. },
  36331. "wrstandardname": {
  36332. "description": "商品名称",
  36333. "type": "string"
  36334. },
  36335. "wrtradeorderid": {
  36336. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36337. "type": "string"
  36338. },
  36339. "wrtradeorderstatus": {
  36340. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36341. "type": "integer"
  36342. },
  36343. "wrtradetype": {
  36344. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36345. "type": "integer"
  36346. },
  36347. "wrtypename": {
  36348. "description": "商品",
  36349. "type": "string"
  36350. }
  36351. }
  36352. },
  36353. "models.WrSpotGroupTradeSum": {
  36354. "type": "object",
  36355. "properties": {
  36356. "deliverygoodscode": {
  36357. "description": "现货品种代码",
  36358. "type": "string"
  36359. },
  36360. "deliverygoodsid": {
  36361. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36362. "type": "integer"
  36363. },
  36364. "deliverygoodsname": {
  36365. "description": "现货品种名称",
  36366. "type": "string"
  36367. },
  36368. "lastavgprice": {
  36369. "description": "上上个交易日价格(前2天价格)",
  36370. "type": "string"
  36371. },
  36372. "lastreckondate": {
  36373. "description": "上上个交易日(前2天交易日)",
  36374. "type": "string"
  36375. },
  36376. "reckondate": {
  36377. "description": "上个交易日(前1天交易日)",
  36378. "type": "string"
  36379. },
  36380. "todayavgprice": {
  36381. "description": "上个交易日价格(前1天价格)",
  36382. "type": "string"
  36383. },
  36384. "updown": {
  36385. "description": "涨跌",
  36386. "type": "string"
  36387. },
  36388. "updownratio": {
  36389. "description": "涨幅(已格式化, 直接显示即可)",
  36390. "type": "string"
  36391. }
  36392. }
  36393. },
  36394. "models.WrSpotGroupTradeSumDetail": {
  36395. "type": "object",
  36396. "properties": {
  36397. "deliverygoodsid": {
  36398. "description": "现货商品id",
  36399. "type": "integer"
  36400. },
  36401. "price": {
  36402. "description": "价格",
  36403. "type": "number"
  36404. },
  36405. "reckondate": {
  36406. "description": "日期(yyymmdd, 如:20211031)",
  36407. "type": "string"
  36408. }
  36409. }
  36410. },
  36411. "models.WrSpotGroupTradeSumEx": {
  36412. "type": "object",
  36413. "properties": {
  36414. "lst": {
  36415. "description": "指数列表",
  36416. "type": "array",
  36417. "items": {
  36418. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36419. }
  36420. },
  36421. "prereckondate": {
  36422. "description": "上上个交易日(yyymmdd)",
  36423. "type": "string"
  36424. },
  36425. "reckondate": {
  36426. "description": "上个交易日(yyyymmdd)",
  36427. "type": "string"
  36428. }
  36429. }
  36430. },
  36431. "models.WrStandardFactoryItem": {
  36432. "type": "object",
  36433. "properties": {
  36434. "dgfactoryitemid": {
  36435. "description": "选择项id",
  36436. "type": "integer"
  36437. },
  36438. "dgfactoryitemvalue": {
  36439. "description": "要素项值",
  36440. "type": "string"
  36441. },
  36442. "warehouseid": {
  36443. "description": "仓库id",
  36444. "type": "integer"
  36445. }
  36446. }
  36447. },
  36448. "models.WrStandardFactoryItemEx": {
  36449. "type": "object",
  36450. "properties": {
  36451. "dgfactoryitemtypeid": {
  36452. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36453. "type": "integer"
  36454. },
  36455. "itemlst": {
  36456. "description": "要素项列表",
  36457. "type": "array",
  36458. "items": {
  36459. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36460. }
  36461. },
  36462. "itemtypename": {
  36463. "description": "要素项类型名称",
  36464. "type": "string"
  36465. },
  36466. "wrstandardid": {
  36467. "description": "品类",
  36468. "type": "integer"
  36469. }
  36470. }
  36471. },
  36472. "models.WrTradeDetail": {
  36473. "type": "object",
  36474. "properties": {
  36475. "accountid": {
  36476. "description": "资金账号",
  36477. "type": "integer"
  36478. },
  36479. "buyorsell": {
  36480. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36481. "type": "integer"
  36482. },
  36483. "chargevalue": {
  36484. "description": "手续费",
  36485. "type": "number"
  36486. },
  36487. "deliverygoodscode": {
  36488. "description": "品种代码",
  36489. "type": "string"
  36490. },
  36491. "deliverygoodsid": {
  36492. "description": "品种ID",
  36493. "type": "integer"
  36494. },
  36495. "deliverygoodsname": {
  36496. "description": "品种名称",
  36497. "type": "string"
  36498. },
  36499. "deliverymonth": {
  36500. "description": "交收月",
  36501. "type": "string"
  36502. },
  36503. "enumdicname": {
  36504. "description": "单位名称",
  36505. "type": "string"
  36506. },
  36507. "haswr": {
  36508. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36509. "type": "integer"
  36510. },
  36511. "marketid": {
  36512. "description": "市场ID",
  36513. "type": "integer"
  36514. },
  36515. "matchaccountid": {
  36516. "description": "对手账号",
  36517. "type": "integer"
  36518. },
  36519. "matchusername": {
  36520. "description": "对手方",
  36521. "type": "string"
  36522. },
  36523. "minivalue": {
  36524. "description": "现货商品最小变动值",
  36525. "type": "integer"
  36526. },
  36527. "optioncompare": {
  36528. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36529. "type": "string"
  36530. },
  36531. "tradedate": {
  36532. "description": "交易日(yyyyMMdd)",
  36533. "type": "string"
  36534. },
  36535. "tradeprice": {
  36536. "description": "成交价格",
  36537. "type": "number"
  36538. },
  36539. "tradeqty": {
  36540. "description": "成交数量",
  36541. "type": "number"
  36542. },
  36543. "tradetime": {
  36544. "description": "成交时间",
  36545. "type": "string"
  36546. },
  36547. "userid": {
  36548. "description": "用户ID",
  36549. "type": "integer"
  36550. },
  36551. "warehouseid": {
  36552. "description": "仓库ID",
  36553. "type": "integer"
  36554. },
  36555. "warehousename": {
  36556. "description": "仓库名称",
  36557. "type": "string"
  36558. },
  36559. "wrfactortypeid": {
  36560. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36561. "type": "string"
  36562. },
  36563. "wrfactortypename": {
  36564. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36565. "type": "string"
  36566. },
  36567. "wrstandardcode": {
  36568. "description": "现货商品代码",
  36569. "type": "string"
  36570. },
  36571. "wrstandardid": {
  36572. "description": "现货商品ID",
  36573. "type": "integer"
  36574. },
  36575. "wrstandardname": {
  36576. "description": "商品名称",
  36577. "type": "string"
  36578. },
  36579. "wrtradedetailid": {
  36580. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36581. "type": "string"
  36582. },
  36583. "wrtradetype": {
  36584. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36585. "type": "integer"
  36586. },
  36587. "wrtypename": {
  36588. "description": "商品",
  36589. "type": "string"
  36590. }
  36591. }
  36592. },
  36593. "models.WrTradeOrderDetail": {
  36594. "type": "object",
  36595. "properties": {
  36596. "buyorsell": {
  36597. "description": "买卖方向 0-买 1-卖",
  36598. "type": "integer"
  36599. },
  36600. "goodsid": {
  36601. "description": "商品id",
  36602. "type": "integer"
  36603. },
  36604. "orderid": {
  36605. "description": "委托单号",
  36606. "type": "string"
  36607. },
  36608. "orderprice": {
  36609. "description": "委托价格",
  36610. "type": "number"
  36611. },
  36612. "orderqty": {
  36613. "description": "委托数量",
  36614. "type": "integer"
  36615. },
  36616. "userid": {
  36617. "description": "用户id",
  36618. "type": "integer"
  36619. },
  36620. "username": {
  36621. "description": "用户名称(已脱敏)",
  36622. "type": "string"
  36623. }
  36624. }
  36625. },
  36626. "models.WrTypeItem": {
  36627. "type": "object",
  36628. "properties": {
  36629. "name": {
  36630. "description": "名称",
  36631. "type": "string"
  36632. },
  36633. "value": {
  36634. "description": "值",
  36635. "type": "string"
  36636. }
  36637. }
  36638. },
  36639. "models.WrUserFriend": {
  36640. "type": "object",
  36641. "properties": {
  36642. "friendname": {
  36643. "description": "朋友名称(已脱敏)",
  36644. "type": "string"
  36645. },
  36646. "frienduserid": {
  36647. "description": "朋友id",
  36648. "type": "integer"
  36649. },
  36650. "isfriend": {
  36651. "description": "是否好友 0-不是 1-是",
  36652. "type": "integer"
  36653. },
  36654. "userid": {
  36655. "description": "用户id",
  36656. "type": "integer"
  36657. }
  36658. }
  36659. },
  36660. "models.WrUserReceiptInfo": {
  36661. "type": "object",
  36662. "properties": {
  36663. "address": {
  36664. "description": "地址[发票类型:企业]",
  36665. "type": "string"
  36666. },
  36667. "autoid": {
  36668. "description": "AutoID",
  36669. "type": "integer"
  36670. },
  36671. "contactinfo": {
  36672. "description": "联系方式",
  36673. "type": "string"
  36674. },
  36675. "idnum": {
  36676. "description": "身份证号码[发票类型:个人]",
  36677. "type": "string"
  36678. },
  36679. "isdefault": {
  36680. "description": "是否默认地址 - 0:否 1:是",
  36681. "type": "integer"
  36682. },
  36683. "receiptaccount": {
  36684. "description": "发票帐号[发票类型:企业]",
  36685. "type": "string"
  36686. },
  36687. "receiptbank": {
  36688. "description": "发票开户行[发票类型:企业]",
  36689. "type": "string"
  36690. },
  36691. "receipttype": {
  36692. "description": "发票类型 - 1:个人 2:企业",
  36693. "type": "integer"
  36694. },
  36695. "taxpayerid": {
  36696. "description": "纳税人识别号",
  36697. "type": "string"
  36698. },
  36699. "userid": {
  36700. "description": "用户ID",
  36701. "type": "integer"
  36702. },
  36703. "username": {
  36704. "description": "户名(个人姓名或企业名称)",
  36705. "type": "string"
  36706. }
  36707. }
  36708. },
  36709. "models.XHBRAND": {
  36710. "type": "object",
  36711. "properties": {
  36712. "brandid": {
  36713. "description": "品牌id",
  36714. "type": "integer"
  36715. },
  36716. "brandname": {
  36717. "description": "品牌名称",
  36718. "type": "string"
  36719. },
  36720. "isvalid": {
  36721. "description": "是否有效 0-无效 1-有效",
  36722. "type": "integer"
  36723. }
  36724. }
  36725. },
  36726. "models.XHDeliveryGoods": {
  36727. "type": "object",
  36728. "properties": {
  36729. "areauserid": {
  36730. "description": "所属机构",
  36731. "type": "integer"
  36732. },
  36733. "bdlst": {
  36734. "description": "品牌列表",
  36735. "type": "array",
  36736. "items": {
  36737. "$ref": "#/definitions/models.XHBRAND"
  36738. }
  36739. },
  36740. "deliverygoodscode": {
  36741. "description": "现货品种代码",
  36742. "type": "string"
  36743. },
  36744. "deliverygoodsid": {
  36745. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36746. "type": "integer"
  36747. },
  36748. "deliverygoodsname": {
  36749. "description": "现货品种名称",
  36750. "type": "string"
  36751. },
  36752. "dgstatus": {
  36753. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36754. "type": "integer"
  36755. },
  36756. "isvalid": {
  36757. "description": "是否有效 - 0:无效 1:有效",
  36758. "type": "integer"
  36759. },
  36760. "remark": {
  36761. "description": "备注",
  36762. "type": "string"
  36763. },
  36764. "unitid": {
  36765. "description": "单位id(目前看,数据库中是空值)",
  36766. "type": "integer"
  36767. },
  36768. "wdlst": {
  36769. "description": "品类(现货商品)列表",
  36770. "type": "array",
  36771. "items": {
  36772. "$ref": "#/definitions/models.XHWrstandard"
  36773. }
  36774. }
  36775. }
  36776. },
  36777. "models.XHMiddleGoods": {
  36778. "type": "object",
  36779. "properties": {
  36780. "convertratio": {
  36781. "description": "拆算系数",
  36782. "type": "number"
  36783. },
  36784. "costratio": {
  36785. "description": "成本权重",
  36786. "type": "number"
  36787. },
  36788. "deliverygoodsid": {
  36789. "description": "现货商品id",
  36790. "type": "integer"
  36791. },
  36792. "enumdicname": {
  36793. "description": "单位名称",
  36794. "type": "string"
  36795. },
  36796. "gplst": {
  36797. "description": "期货品种列表",
  36798. "type": "array",
  36799. "items": {
  36800. "$ref": "#/definitions/models.TBGoodsGroup"
  36801. }
  36802. },
  36803. "middlegoodscode": {
  36804. "description": "套保品种代码",
  36805. "type": "string"
  36806. },
  36807. "middlegoodsid": {
  36808. "description": "套保品种id",
  36809. "type": "integer"
  36810. },
  36811. "middlegoodsname": {
  36812. "description": "套保品种名称",
  36813. "type": "string"
  36814. },
  36815. "unitid": {
  36816. "description": "单位id",
  36817. "type": "integer"
  36818. }
  36819. }
  36820. },
  36821. "models.XHWrstandard": {
  36822. "type": "object",
  36823. "properties": {
  36824. "deliverygoodsid": {
  36825. "description": "品种ID",
  36826. "type": "integer"
  36827. },
  36828. "enumdicname": {
  36829. "description": "单位名称",
  36830. "type": "string"
  36831. },
  36832. "mglst": {
  36833. "description": "套保品列表",
  36834. "type": "array",
  36835. "items": {
  36836. "$ref": "#/definitions/models.XHMiddleGoods"
  36837. }
  36838. },
  36839. "unitid": {
  36840. "description": "单位id",
  36841. "type": "integer"
  36842. },
  36843. "vatrate": {
  36844. "description": "增值税率",
  36845. "type": "number"
  36846. },
  36847. "wrstandardcode": {
  36848. "description": "现货商品代码",
  36849. "type": "string"
  36850. },
  36851. "wrstandardid": {
  36852. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36853. "type": "integer"
  36854. },
  36855. "wrstandardname": {
  36856. "description": "现货商品名称",
  36857. "type": "string"
  36858. }
  36859. }
  36860. },
  36861. "order.QueryHisTradeDetailRsp": {
  36862. "type": "object",
  36863. "required": [
  36864. "accountid",
  36865. "buyorsell",
  36866. "goodsid",
  36867. "histradedate",
  36868. "marketid",
  36869. "memberuserid",
  36870. "orderid",
  36871. "tradeamount",
  36872. "tradedate",
  36873. "tradeid",
  36874. "tradeprice",
  36875. "tradeqty",
  36876. "tradetime"
  36877. ],
  36878. "properties": {
  36879. "accountid": {
  36880. "description": "账户ID[报价币种]",
  36881. "type": "integer"
  36882. },
  36883. "advanceratio": {
  36884. "description": "首付比率",
  36885. "type": "number"
  36886. },
  36887. "buildtype": {
  36888. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36889. "type": "integer"
  36890. },
  36891. "buyorsell": {
  36892. "description": "方向 - 0:买 1:卖",
  36893. "type": "integer"
  36894. },
  36895. "charge": {
  36896. "description": "手续费",
  36897. "type": "number"
  36898. },
  36899. "closecharge": {
  36900. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36901. "type": "number"
  36902. },
  36903. "closeexchagechargevalue": {
  36904. "description": "平仓交易所手续费设置值",
  36905. "type": "number"
  36906. },
  36907. "closefeealgorithm": {
  36908. "description": "平仓手续费收取方式 1:比率 2:固定",
  36909. "type": "integer"
  36910. },
  36911. "closememberchargevalue": {
  36912. "description": "平仓会员手续费设置值",
  36913. "type": "number"
  36914. },
  36915. "closepl": {
  36916. "description": "平仓盈亏",
  36917. "type": "number"
  36918. },
  36919. "closepl2": {
  36920. "description": "平仓盈亏[逐笔]",
  36921. "type": "number"
  36922. },
  36923. "closeqty": {
  36924. "description": "平仓数量(先建后平操作 需要记录)",
  36925. "type": "number"
  36926. },
  36927. "creditamount": {
  36928. "description": "授信金额",
  36929. "type": "number"
  36930. },
  36931. "decimalplace": {
  36932. "description": "商品报价小数位",
  36933. "type": "integer"
  36934. },
  36935. "enumdicname": {
  36936. "description": "单位名称",
  36937. "type": "string"
  36938. },
  36939. "gcaccountid": {
  36940. "description": "账户ID[合约币种]",
  36941. "type": "integer"
  36942. },
  36943. "goodscode": {
  36944. "description": "商品代码",
  36945. "type": "string"
  36946. },
  36947. "goodsid": {
  36948. "description": "商品ID",
  36949. "type": "integer"
  36950. },
  36951. "goodsname": {
  36952. "description": "商品名称",
  36953. "type": "string"
  36954. },
  36955. "goodunitid": {
  36956. "description": "商品单位id",
  36957. "type": "integer"
  36958. },
  36959. "histradedate": {
  36960. "description": "历史交易日",
  36961. "type": "string"
  36962. },
  36963. "intclosepl": {
  36964. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36965. "type": "integer"
  36966. },
  36967. "isconfirmexercise": {
  36968. "description": "是否确认行权- 0:否 1:是",
  36969. "type": "integer"
  36970. },
  36971. "ismain": {
  36972. "description": "是否主单 - 0:不是 1:是",
  36973. "type": "integer"
  36974. },
  36975. "ispreexercise": {
  36976. "description": "是否预申报- 0:否 1:是",
  36977. "type": "integer"
  36978. },
  36979. "isreckoned": {
  36980. "description": "是否结算 - 0:未结算 1:已结算",
  36981. "type": "integer"
  36982. },
  36983. "isvaliddata": {
  36984. "description": "是否有效 - 0:无效 1:有效",
  36985. "type": "integer"
  36986. },
  36987. "listingselecttype": {
  36988. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36989. "type": "integer"
  36990. },
  36991. "marketid": {
  36992. "description": "市场ID",
  36993. "type": "integer"
  36994. },
  36995. "marketname": {
  36996. "description": "市场名称",
  36997. "type": "string"
  36998. },
  36999. "matchaccountid": {
  37000. "description": "对手账号id",
  37001. "type": "integer"
  37002. },
  37003. "memberuserid": {
  37004. "description": "会员id 个人投资者 需要填写",
  37005. "type": "integer"
  37006. },
  37007. "opencharge": {
  37008. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37009. "type": "number"
  37010. },
  37011. "openexchagechargevalue": {
  37012. "description": "建仓交易所手续费设置值",
  37013. "type": "number"
  37014. },
  37015. "openfeealgorithm": {
  37016. "description": "建仓手续费收取方式 1:比率 2:固定",
  37017. "type": "integer"
  37018. },
  37019. "openmemberchargevalue": {
  37020. "description": "建仓会员手续费设置值",
  37021. "type": "number"
  37022. },
  37023. "openqty": {
  37024. "description": "开仓数量(先建后平操作 需要记录)",
  37025. "type": "number"
  37026. },
  37027. "optiontype": {
  37028. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37029. "type": "integer"
  37030. },
  37031. "orderid": {
  37032. "description": "委托单号",
  37033. "type": "string"
  37034. },
  37035. "payamount": {
  37036. "description": "支付金额(付款金额)",
  37037. "type": "number"
  37038. },
  37039. "performanceplanid": {
  37040. "description": "履约计划ID[期权]",
  37041. "type": "integer"
  37042. },
  37043. "performancestatus": {
  37044. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37045. "type": "integer"
  37046. },
  37047. "preexerciseprice": {
  37048. "description": "预申报价格",
  37049. "type": "number"
  37050. },
  37051. "premium": {
  37052. "description": "权利金 - [持仓单的权利金]",
  37053. "type": "number"
  37054. },
  37055. "qtydecimalplace": {
  37056. "description": "商品报价小数位",
  37057. "type": "integer"
  37058. },
  37059. "recvamount": {
  37060. "description": "到账金额 = 成交金额 - 手续费",
  37061. "type": "number"
  37062. },
  37063. "relatedouttradeid": {
  37064. "description": "关联外部成交单ID",
  37065. "type": "integer"
  37066. },
  37067. "status": {
  37068. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37069. "type": "integer"
  37070. },
  37071. "totalamount": {
  37072. "description": "订单总额 = 成交金额 + 手续费",
  37073. "type": "number"
  37074. },
  37075. "tradeamount": {
  37076. "description": "成交金额[账户币种,用于所有权]",
  37077. "type": "number"
  37078. },
  37079. "tradedate": {
  37080. "description": "交易日(yyyyMMdd)",
  37081. "type": "string"
  37082. },
  37083. "tradeid": {
  37084. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37085. "type": "string"
  37086. },
  37087. "trademode": {
  37088. "description": "交易模式",
  37089. "type": "integer"
  37090. },
  37091. "tradeprice": {
  37092. "description": "成交价格",
  37093. "type": "number"
  37094. },
  37095. "tradeproperty": {
  37096. "description": "交易属性",
  37097. "type": "integer"
  37098. },
  37099. "tradeqty": {
  37100. "description": "成交数量",
  37101. "type": "number"
  37102. },
  37103. "tradetime": {
  37104. "description": "成交时间",
  37105. "type": "string"
  37106. },
  37107. "tradetype": {
  37108. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37109. "type": "integer"
  37110. }
  37111. }
  37112. },
  37113. "order.QueryHisTradeOrderDetailRsp": {
  37114. "type": "object",
  37115. "required": [
  37116. "accountid",
  37117. "buildtype",
  37118. "buyorsell",
  37119. "goodsid",
  37120. "histradedate",
  37121. "marketid",
  37122. "memberuserid",
  37123. "operatetype",
  37124. "orderid",
  37125. "orderqty",
  37126. "ordertime",
  37127. "pricemode",
  37128. "tradedate",
  37129. "validtype"
  37130. ],
  37131. "properties": {
  37132. "accountid": {
  37133. "description": "账户ID[报价币种]",
  37134. "type": "integer"
  37135. },
  37136. "buildtype": {
  37137. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37138. "type": "integer"
  37139. },
  37140. "buyorsell": {
  37141. "description": "买卖 - 0:买 1:卖",
  37142. "type": "integer"
  37143. },
  37144. "cancelorderid": {
  37145. "description": "撤单单号(撤单时填写)",
  37146. "type": "string"
  37147. },
  37148. "cancelqty": {
  37149. "description": "撤单数量",
  37150. "type": "number"
  37151. },
  37152. "clientordertime": {
  37153. "description": "客户端委托时间",
  37154. "type": "string"
  37155. },
  37156. "clientticket": {
  37157. "description": "客户端流水号",
  37158. "type": "string"
  37159. },
  37160. "clienttype": {
  37161. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37162. "type": "integer"
  37163. },
  37164. "closeexchagechargevalue": {
  37165. "description": "平仓交易所手续费设置值",
  37166. "type": "number"
  37167. },
  37168. "closefeealgorithm": {
  37169. "description": "平仓手续费收取方式 1:比率 2:固定",
  37170. "type": "integer"
  37171. },
  37172. "closefreezecharge": {
  37173. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37174. "type": "number"
  37175. },
  37176. "closememberchargevalue": {
  37177. "description": "平仓会员手续费设置值",
  37178. "type": "number"
  37179. },
  37180. "closeqty": {
  37181. "description": "平仓数量(先建后平操作 需要记录)",
  37182. "type": "number"
  37183. },
  37184. "closetradeqty": {
  37185. "description": "平仓成交数量(先建后平操作,需要记录)",
  37186. "type": "number"
  37187. },
  37188. "closeunfreezecharge": {
  37189. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37190. "type": "number"
  37191. },
  37192. "decimalplace": {
  37193. "description": "商品报价小数位",
  37194. "type": "integer"
  37195. },
  37196. "delistingtype": {
  37197. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37198. "type": "integer"
  37199. },
  37200. "enumdicname": {
  37201. "description": "单位名称",
  37202. "type": "string"
  37203. },
  37204. "freezecharge": {
  37205. "description": "冻结手续费",
  37206. "type": "number"
  37207. },
  37208. "freezemargin": {
  37209. "description": "冻结保证金(冻结交易金额)",
  37210. "type": "number"
  37211. },
  37212. "gcaccountid": {
  37213. "description": "账户ID[合约币种]",
  37214. "type": "integer"
  37215. },
  37216. "goodscode": {
  37217. "description": "商品代码",
  37218. "type": "string"
  37219. },
  37220. "goodsid": {
  37221. "description": "商品ID",
  37222. "type": "integer"
  37223. },
  37224. "goodsname": {
  37225. "description": "商品名称",
  37226. "type": "string"
  37227. },
  37228. "goodunitid": {
  37229. "description": "商品单位id",
  37230. "type": "integer"
  37231. },
  37232. "histradedate": {
  37233. "description": "历史交易日",
  37234. "type": "string"
  37235. },
  37236. "isconfirmexercise": {
  37237. "description": "是否确认行权- 0:否 1:是",
  37238. "type": "integer"
  37239. },
  37240. "ispreexercise": {
  37241. "description": "是否预申报- 0:否 1:是",
  37242. "type": "integer"
  37243. },
  37244. "isvaliddata": {
  37245. "description": "是否有效 - 0:无效 1:有效",
  37246. "type": "integer"
  37247. },
  37248. "listingselecttype": {
  37249. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37250. "type": "integer"
  37251. },
  37252. "marginalgorithm": {
  37253. "description": "保证金收取方式 1:比率 2:固定",
  37254. "type": "integer"
  37255. },
  37256. "marginvalue": {
  37257. "description": "即市保证金设置值",
  37258. "type": "number"
  37259. },
  37260. "marketid": {
  37261. "description": "市场ID",
  37262. "type": "integer"
  37263. },
  37264. "marketmaxsub": {
  37265. "description": "市价最大偏移范围",
  37266. "type": "number"
  37267. },
  37268. "marketname": {
  37269. "description": "市场名称",
  37270. "type": "string"
  37271. },
  37272. "memberuserid": {
  37273. "description": "所属会员UserID",
  37274. "type": "integer"
  37275. },
  37276. "openexchagechargevalue": {
  37277. "description": "建仓交易所手续费设置值",
  37278. "type": "number"
  37279. },
  37280. "openfeealgorithm": {
  37281. "description": "建仓手续费收取方式 1:比率 2:固定",
  37282. "type": "integer"
  37283. },
  37284. "openfreezecharge": {
  37285. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37286. "type": "number"
  37287. },
  37288. "openmemberchargevalue": {
  37289. "description": "建仓会员手续费设置值",
  37290. "type": "number"
  37291. },
  37292. "openqty": {
  37293. "description": "开仓数量(先建后平操作,需要记录)",
  37294. "type": "number"
  37295. },
  37296. "opentradeqty": {
  37297. "description": "开仓成交数量(先建后平操作,需要记录)",
  37298. "type": "number"
  37299. },
  37300. "openunfreezecharge": {
  37301. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37302. "type": "number"
  37303. },
  37304. "operatetype": {
  37305. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37306. "type": "integer"
  37307. },
  37308. "operatorid": {
  37309. "description": "登录账号(LoginID)",
  37310. "type": "integer"
  37311. },
  37312. "optiontype": {
  37313. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37314. "type": "integer"
  37315. },
  37316. "orderid": {
  37317. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37318. "type": "string"
  37319. },
  37320. "orderprice": {
  37321. "description": "委托价格",
  37322. "type": "number"
  37323. },
  37324. "orderqty": {
  37325. "description": "委托数量",
  37326. "type": "number"
  37327. },
  37328. "ordersrc": {
  37329. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37330. "type": "integer"
  37331. },
  37332. "orderstatus": {
  37333. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37334. "type": "integer"
  37335. },
  37336. "ordertime": {
  37337. "description": "委托时间",
  37338. "type": "string"
  37339. },
  37340. "preexerciseprice": {
  37341. "description": "预申报价格",
  37342. "type": "number"
  37343. },
  37344. "premium": {
  37345. "description": "权利金",
  37346. "type": "number"
  37347. },
  37348. "preorderid": {
  37349. "description": "关联预埋单号(止盈止损单时填写)",
  37350. "type": "string"
  37351. },
  37352. "pricemode": {
  37353. "description": "取价方式 - 1:市价 2: 限价",
  37354. "type": "integer"
  37355. },
  37356. "qtydecimalplace": {
  37357. "description": "成交量小数位",
  37358. "type": "integer"
  37359. },
  37360. "quoteid": {
  37361. "description": "报价单ID",
  37362. "type": "integer"
  37363. },
  37364. "relatedid": {
  37365. "description": "关联单号(交割单)",
  37366. "type": "string"
  37367. },
  37368. "retcode": {
  37369. "description": "错误代码",
  37370. "type": "integer"
  37371. },
  37372. "sessionid": {
  37373. "description": "会话ID",
  37374. "type": "integer"
  37375. },
  37376. "tradedate": {
  37377. "description": "交易日(yyyyMMdd)",
  37378. "type": "string"
  37379. },
  37380. "trademode": {
  37381. "description": "交易模式",
  37382. "type": "integer"
  37383. },
  37384. "tradeproperty": {
  37385. "description": "交易属性",
  37386. "type": "integer"
  37387. },
  37388. "tradeqty": {
  37389. "description": "成交数量",
  37390. "type": "number"
  37391. },
  37392. "unfreezecharge": {
  37393. "description": "解冻手续费",
  37394. "type": "number"
  37395. },
  37396. "unfreezemargin": {
  37397. "description": "解冻保证金",
  37398. "type": "number"
  37399. },
  37400. "updatetime": {
  37401. "description": "更新时间",
  37402. "type": "string"
  37403. },
  37404. "uuid": {
  37405. "description": "发起端唯一id",
  37406. "type": "string"
  37407. },
  37408. "validtime": {
  37409. "description": "有效期限",
  37410. "type": "string"
  37411. },
  37412. "validtype": {
  37413. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37414. "type": "integer"
  37415. },
  37416. "volumetype": {
  37417. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37418. "type": "integer"
  37419. }
  37420. }
  37421. },
  37422. "order.QueryTradeDetailRsp": {
  37423. "type": "object",
  37424. "required": [
  37425. "accountid",
  37426. "buyorsell",
  37427. "goodsid",
  37428. "marketid",
  37429. "memberuserid",
  37430. "orderid",
  37431. "tradeamount",
  37432. "tradedate",
  37433. "tradeid",
  37434. "tradeprice",
  37435. "tradeqty",
  37436. "tradetime"
  37437. ],
  37438. "properties": {
  37439. "accountid": {
  37440. "description": "账户ID[报价币种]",
  37441. "type": "integer"
  37442. },
  37443. "advanceratio": {
  37444. "description": "首付比率",
  37445. "type": "number"
  37446. },
  37447. "buildtype": {
  37448. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37449. "type": "integer"
  37450. },
  37451. "buyorsell": {
  37452. "description": "方向 - 0:买 1:卖",
  37453. "type": "integer"
  37454. },
  37455. "charge": {
  37456. "description": "手续费",
  37457. "type": "number"
  37458. },
  37459. "closecharge": {
  37460. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37461. "type": "number"
  37462. },
  37463. "closeexchagechargevalue": {
  37464. "description": "平仓交易所手续费设置值",
  37465. "type": "number"
  37466. },
  37467. "closefeealgorithm": {
  37468. "description": "平仓手续费收取方式 1:比率 2:固定",
  37469. "type": "integer"
  37470. },
  37471. "closememberchargevalue": {
  37472. "description": "平仓会员手续费设置值",
  37473. "type": "number"
  37474. },
  37475. "closepl": {
  37476. "description": "平仓盈亏",
  37477. "type": "number"
  37478. },
  37479. "closepl2": {
  37480. "description": "平仓盈亏[逐笔]",
  37481. "type": "number"
  37482. },
  37483. "closeqty": {
  37484. "description": "平仓数量(先建后平操作 需要记录)",
  37485. "type": "number"
  37486. },
  37487. "creditamount": {
  37488. "description": "授信金额",
  37489. "type": "number"
  37490. },
  37491. "decimalplace": {
  37492. "description": "商品报价小数位",
  37493. "type": "integer"
  37494. },
  37495. "enumdicname": {
  37496. "description": "单位名称",
  37497. "type": "string"
  37498. },
  37499. "gcaccountid": {
  37500. "description": "账户ID[合约币种]",
  37501. "type": "integer"
  37502. },
  37503. "goodscode": {
  37504. "description": "商品代码",
  37505. "type": "string"
  37506. },
  37507. "goodsid": {
  37508. "description": "商品ID",
  37509. "type": "integer"
  37510. },
  37511. "goodsname": {
  37512. "description": "商品名称",
  37513. "type": "string"
  37514. },
  37515. "goodunitid": {
  37516. "description": "商品单位id",
  37517. "type": "integer"
  37518. },
  37519. "intclosepl": {
  37520. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37521. "type": "integer"
  37522. },
  37523. "isconfirmexercise": {
  37524. "description": "是否确认行权- 0:否 1:是",
  37525. "type": "integer"
  37526. },
  37527. "ismain": {
  37528. "description": "是否主单 - 0:不是 1:是",
  37529. "type": "integer"
  37530. },
  37531. "ispreexercise": {
  37532. "description": "是否预申报- 0:否 1:是",
  37533. "type": "integer"
  37534. },
  37535. "isreckoned": {
  37536. "description": "是否结算 - 0:未结算 1:已结算",
  37537. "type": "integer"
  37538. },
  37539. "listingselecttype": {
  37540. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37541. "type": "integer"
  37542. },
  37543. "marketid": {
  37544. "description": "市场ID",
  37545. "type": "integer"
  37546. },
  37547. "marketname": {
  37548. "description": "市场名称",
  37549. "type": "string"
  37550. },
  37551. "matchaccountid": {
  37552. "description": "对手账号id",
  37553. "type": "integer"
  37554. },
  37555. "memberuserid": {
  37556. "description": "会员id 个人投资者 需要填写",
  37557. "type": "integer"
  37558. },
  37559. "opencharge": {
  37560. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37561. "type": "number"
  37562. },
  37563. "openexchagechargevalue": {
  37564. "description": "建仓交易所手续费设置值",
  37565. "type": "number"
  37566. },
  37567. "openfeealgorithm": {
  37568. "description": "建仓手续费收取方式 1:比率 2:固定",
  37569. "type": "integer"
  37570. },
  37571. "openmemberchargevalue": {
  37572. "description": "建仓会员手续费设置值",
  37573. "type": "number"
  37574. },
  37575. "openqty": {
  37576. "description": "开仓数量(先建后平操作 需要记录)",
  37577. "type": "number"
  37578. },
  37579. "optiontype": {
  37580. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37581. "type": "integer"
  37582. },
  37583. "orderid": {
  37584. "description": "委托单号",
  37585. "type": "string"
  37586. },
  37587. "payamount": {
  37588. "description": "支付金额(付款金额)",
  37589. "type": "number"
  37590. },
  37591. "performanceplanid": {
  37592. "description": "履约计划ID[期权]",
  37593. "type": "integer"
  37594. },
  37595. "performancestatus": {
  37596. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37597. "type": "integer"
  37598. },
  37599. "preexerciseprice": {
  37600. "description": "预申报价格",
  37601. "type": "number"
  37602. },
  37603. "premium": {
  37604. "description": "权利金 - [持仓单的权利金]",
  37605. "type": "number"
  37606. },
  37607. "qtydecimalplace": {
  37608. "description": "商品报价小数位",
  37609. "type": "integer"
  37610. },
  37611. "recvamount": {
  37612. "description": "到账金额 = 成交金额 - 手续费",
  37613. "type": "number"
  37614. },
  37615. "relatedouttradeid": {
  37616. "description": "关联外部成交单ID",
  37617. "type": "integer"
  37618. },
  37619. "status": {
  37620. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37621. "type": "integer"
  37622. },
  37623. "totalamount": {
  37624. "description": "订单总额 = 成交金额 + 手续费",
  37625. "type": "number"
  37626. },
  37627. "tradeamount": {
  37628. "description": "成交金额[账户币种,用于所有权]",
  37629. "type": "number"
  37630. },
  37631. "tradedate": {
  37632. "description": "交易日(yyyyMMdd)",
  37633. "type": "string"
  37634. },
  37635. "tradeid": {
  37636. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37637. "type": "string"
  37638. },
  37639. "trademode": {
  37640. "description": "交易模式",
  37641. "type": "integer"
  37642. },
  37643. "tradeprice": {
  37644. "description": "成交价格",
  37645. "type": "number"
  37646. },
  37647. "tradeproperty": {
  37648. "description": "交易属性",
  37649. "type": "integer"
  37650. },
  37651. "tradeqty": {
  37652. "description": "成交数量",
  37653. "type": "number"
  37654. },
  37655. "tradetime": {
  37656. "description": "成交时间",
  37657. "type": "string"
  37658. },
  37659. "tradetype": {
  37660. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37661. "type": "integer"
  37662. }
  37663. }
  37664. },
  37665. "order.QueryTradeOrderDetailRsp": {
  37666. "type": "object",
  37667. "required": [
  37668. "accountid",
  37669. "buildtype",
  37670. "buyorsell",
  37671. "goodsid",
  37672. "marketid",
  37673. "operatetype",
  37674. "orderqty",
  37675. "ordertime",
  37676. "pricemode",
  37677. "tradedate",
  37678. "validtype"
  37679. ],
  37680. "properties": {
  37681. "accountid": {
  37682. "description": "账户ID[报价币种]",
  37683. "type": "integer"
  37684. },
  37685. "buildtype": {
  37686. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37687. "type": "integer"
  37688. },
  37689. "buyorsell": {
  37690. "description": "买卖 - 0:买 1:卖",
  37691. "type": "integer"
  37692. },
  37693. "cancelorderid": {
  37694. "description": "撤单单号(撤单时填写)",
  37695. "type": "string"
  37696. },
  37697. "cancelqty": {
  37698. "description": "撤单数量",
  37699. "type": "number"
  37700. },
  37701. "clienttype": {
  37702. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37703. "type": "integer"
  37704. },
  37705. "closefreezecharge": {
  37706. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37707. "type": "number"
  37708. },
  37709. "closeqty": {
  37710. "description": "平仓数量(先建后平操作 需要记录)",
  37711. "type": "number"
  37712. },
  37713. "closetradeqty": {
  37714. "description": "平仓成交数量(先建后平操作,需要记录)",
  37715. "type": "number"
  37716. },
  37717. "closeunfreezecharge": {
  37718. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37719. "type": "number"
  37720. },
  37721. "decimalplace": {
  37722. "description": "商品报价小数位",
  37723. "type": "integer"
  37724. },
  37725. "delistingtype": {
  37726. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37727. "type": "integer"
  37728. },
  37729. "enableqty": {
  37730. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37731. "type": "number"
  37732. },
  37733. "enumdicname": {
  37734. "description": "单位名称",
  37735. "type": "string"
  37736. },
  37737. "freezecharge": {
  37738. "description": "冻结手续费",
  37739. "type": "number"
  37740. },
  37741. "freezemargin": {
  37742. "description": "冻结保证金(冻结交易金额)",
  37743. "type": "number"
  37744. },
  37745. "goodscode": {
  37746. "description": "商品代码",
  37747. "type": "string"
  37748. },
  37749. "goodsid": {
  37750. "description": "商品ID",
  37751. "type": "integer"
  37752. },
  37753. "goodsname": {
  37754. "description": "商品名称",
  37755. "type": "string"
  37756. },
  37757. "goodunitid": {
  37758. "description": "商品单位id",
  37759. "type": "integer"
  37760. },
  37761. "listingselecttype": {
  37762. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37763. "type": "integer"
  37764. },
  37765. "marketid": {
  37766. "description": "市场ID",
  37767. "type": "integer"
  37768. },
  37769. "marketname": {
  37770. "description": "市场名称",
  37771. "type": "string"
  37772. },
  37773. "openfreezecharge": {
  37774. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37775. "type": "number"
  37776. },
  37777. "openqty": {
  37778. "description": "开仓数量(先建后平操作,需要记录)",
  37779. "type": "number"
  37780. },
  37781. "opentradeqty": {
  37782. "description": "开仓成交数量(先建后平操作,需要记录)",
  37783. "type": "number"
  37784. },
  37785. "openunfreezecharge": {
  37786. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37787. "type": "number"
  37788. },
  37789. "operatetype": {
  37790. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37791. "type": "integer"
  37792. },
  37793. "operatorid": {
  37794. "description": "登录账号(LoginID)",
  37795. "type": "integer"
  37796. },
  37797. "orderid": {
  37798. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37799. "type": "string"
  37800. },
  37801. "orderprice": {
  37802. "description": "委托价格",
  37803. "type": "number"
  37804. },
  37805. "orderqty": {
  37806. "description": "委托数量",
  37807. "type": "number"
  37808. },
  37809. "ordersrc": {
  37810. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37811. "type": "integer"
  37812. },
  37813. "orderstatus": {
  37814. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37815. "type": "integer"
  37816. },
  37817. "ordertime": {
  37818. "description": "委托时间",
  37819. "type": "string"
  37820. },
  37821. "preorderid": {
  37822. "description": "关联预埋单号(止盈止损单时填写)",
  37823. "type": "string"
  37824. },
  37825. "pricemode": {
  37826. "description": "取价方式 - 1:市价 2: 限价",
  37827. "type": "integer"
  37828. },
  37829. "qtydecimalplace": {
  37830. "description": "商品报价小数位",
  37831. "type": "integer"
  37832. },
  37833. "relatedid": {
  37834. "description": "关联单号(交割单)",
  37835. "type": "string"
  37836. },
  37837. "tradedate": {
  37838. "description": "交易日(yyyyMMdd)",
  37839. "type": "string"
  37840. },
  37841. "trademode": {
  37842. "description": "交易模式",
  37843. "type": "integer"
  37844. },
  37845. "tradeqty": {
  37846. "description": "成交数量",
  37847. "type": "number"
  37848. },
  37849. "unfreezecharge": {
  37850. "description": "解冻手续费",
  37851. "type": "number"
  37852. },
  37853. "unfreezemargin": {
  37854. "description": "解冻保证金",
  37855. "type": "number"
  37856. },
  37857. "validtime": {
  37858. "description": "有效期限",
  37859. "type": "string"
  37860. },
  37861. "validtype": {
  37862. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37863. "type": "integer"
  37864. },
  37865. "volumetype": {
  37866. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37867. "type": "integer"
  37868. }
  37869. }
  37870. },
  37871. "order.QueryTradePositionRsp": {
  37872. "type": "object",
  37873. "required": [
  37874. "goodsid"
  37875. ],
  37876. "properties": {
  37877. "accountid": {
  37878. "description": "资金账户",
  37879. "type": "integer"
  37880. },
  37881. "agreeunit": {
  37882. "description": "合约单位",
  37883. "type": "number"
  37884. },
  37885. "averageprice": {
  37886. "description": "持仓均价",
  37887. "type": "number"
  37888. },
  37889. "buyorsell": {
  37890. "description": "方向 - 0:买 1:卖",
  37891. "type": "integer"
  37892. },
  37893. "closetotalqty": {
  37894. "description": "平仓总数量",
  37895. "type": "number"
  37896. },
  37897. "curholderamount": {
  37898. "description": "当前持仓总金额[商品币种]",
  37899. "type": "number"
  37900. },
  37901. "curpositionqty": {
  37902. "description": "当前持仓总数量",
  37903. "type": "number"
  37904. },
  37905. "currencyid": {
  37906. "description": "报价货币ID",
  37907. "type": "integer"
  37908. },
  37909. "curtdposition": {
  37910. "description": "期末今日头寸",
  37911. "type": "number"
  37912. },
  37913. "decimalplace": {
  37914. "description": "报价小数位",
  37915. "type": "integer"
  37916. },
  37917. "enableqty": {
  37918. "description": "可用量",
  37919. "type": "number"
  37920. },
  37921. "fretdposition": {
  37922. "description": "冻结今日头寸",
  37923. "type": "number"
  37924. },
  37925. "frozenqty": {
  37926. "description": "持仓冻结数量",
  37927. "type": "number"
  37928. },
  37929. "goodscode": {
  37930. "description": "商品代码",
  37931. "type": "string"
  37932. },
  37933. "goodsid": {
  37934. "description": "商品Id",
  37935. "type": "integer"
  37936. },
  37937. "goodsname": {
  37938. "description": "商品名称",
  37939. "type": "string"
  37940. },
  37941. "goodunit": {
  37942. "description": "报价单位",
  37943. "type": "string"
  37944. },
  37945. "goodunitid": {
  37946. "description": "报价单位ID",
  37947. "type": "integer"
  37948. },
  37949. "holderamount": {
  37950. "description": "期初持仓总金额[商品币种]",
  37951. "type": "number"
  37952. },
  37953. "lastprice": {
  37954. "description": "最新价",
  37955. "type": "number"
  37956. },
  37957. "marketamount": {
  37958. "description": "市值",
  37959. "type": "number"
  37960. },
  37961. "marketid": {
  37962. "description": "所属市场ID",
  37963. "type": "integer"
  37964. },
  37965. "openreqqty": {
  37966. "description": "开仓申请数量(用于比较最大持仓数量)",
  37967. "type": "number"
  37968. },
  37969. "opentotalqty": {
  37970. "description": "开仓总数量",
  37971. "type": "number"
  37972. },
  37973. "otherfrozenqty": {
  37974. "description": "持仓其他冻结数量(交割冻结)",
  37975. "type": "number"
  37976. },
  37977. "positionpl": {
  37978. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37979. "type": "number"
  37980. },
  37981. "positionplrate": {
  37982. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37983. "type": "number"
  37984. },
  37985. "positionqty": {
  37986. "description": "期初持仓数量",
  37987. "type": "number"
  37988. },
  37989. "qtydecimalplace": {
  37990. "description": "成交量小数位",
  37991. "type": "integer"
  37992. },
  37993. "refgoodscode": {
  37994. "description": "参考商品代码",
  37995. "type": "string"
  37996. },
  37997. "refgoodsid": {
  37998. "description": "参考商品ID",
  37999. "type": "integer"
  38000. },
  38001. "tnqty": {
  38002. "description": "T+N冻结总量",
  38003. "type": "number"
  38004. },
  38005. "tnusedqty": {
  38006. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38007. "type": "number"
  38008. },
  38009. "trademode": {
  38010. "description": "交易模式",
  38011. "type": "integer"
  38012. },
  38013. "tradeproperty": {
  38014. "description": "交易属性",
  38015. "type": "integer"
  38016. },
  38017. "usedmargin": {
  38018. "description": "占用保证金[商品币种]",
  38019. "type": "number"
  38020. }
  38021. }
  38022. },
  38023. "pb.GoodsMarginCfgStruct": {
  38024. "type": "object",
  38025. "properties": {
  38026. "CustomerTypeID": {
  38027. "description": "投资者客户类型",
  38028. "type": "integer"
  38029. },
  38030. "GoodsID": {
  38031. "description": "商品ID",
  38032. "type": "integer"
  38033. },
  38034. "IsDefault": {
  38035. "description": "是否默认标志位",
  38036. "type": "integer"
  38037. },
  38038. "LockMarginValue": {
  38039. "description": "锁仓保证金",
  38040. "type": "number"
  38041. },
  38042. "MarginAlgorithm": {
  38043. "description": "保证金计算方式",
  38044. "type": "integer"
  38045. },
  38046. "MarketMarginValue": {
  38047. "description": "即市保证金值",
  38048. "type": "number"
  38049. },
  38050. "RealMarginAlgorithm": {
  38051. "description": "实付保证金计算方式",
  38052. "type": "integer"
  38053. },
  38054. "RealMarginValue": {
  38055. "description": "实付比例",
  38056. "type": "number"
  38057. },
  38058. "ReckonMarginValue": {
  38059. "description": "结算保证金值",
  38060. "type": "number"
  38061. }
  38062. }
  38063. },
  38064. "quote.HistoryData": {
  38065. "type": "object",
  38066. "properties": {
  38067. "c": {
  38068. "description": "收盘价",
  38069. "type": "number"
  38070. },
  38071. "f": {
  38072. "description": "是否补充数据",
  38073. "type": "boolean"
  38074. },
  38075. "h": {
  38076. "description": "最高价",
  38077. "type": "number"
  38078. },
  38079. "hv": {
  38080. "description": "持仓量",
  38081. "type": "integer"
  38082. },
  38083. "l": {
  38084. "description": "最低价",
  38085. "type": "number"
  38086. },
  38087. "o": {
  38088. "description": "开盘价",
  38089. "type": "number"
  38090. },
  38091. "s": {
  38092. "description": "结算价,日线周期(包括)以上才有",
  38093. "type": "number"
  38094. },
  38095. "ts": {
  38096. "description": "时间",
  38097. "type": "string"
  38098. },
  38099. "tt": {
  38100. "description": "总金额",
  38101. "type": "number"
  38102. },
  38103. "tv": {
  38104. "description": "总量(成交量)",
  38105. "type": "integer"
  38106. }
  38107. }
  38108. },
  38109. "quote.HistoryTikData": {
  38110. "type": "object",
  38111. "properties": {
  38112. "AV": {
  38113. "description": "卖量",
  38114. "type": "integer"
  38115. },
  38116. "Ask": {
  38117. "description": "卖价",
  38118. "type": "number"
  38119. },
  38120. "BV": {
  38121. "description": "买量",
  38122. "type": "integer"
  38123. },
  38124. "Bid": {
  38125. "description": "买价",
  38126. "type": "number"
  38127. },
  38128. "HI": {
  38129. "description": "单笔持仓",
  38130. "type": "integer"
  38131. },
  38132. "HV": {
  38133. "description": "持仓量",
  38134. "type": "integer"
  38135. },
  38136. "PE": {
  38137. "description": "现价",
  38138. "type": "number"
  38139. },
  38140. "TDR": {
  38141. "description": "交易方向,0:买 1:卖",
  38142. "type": "integer"
  38143. },
  38144. "TK": {
  38145. "description": "交易类型",
  38146. "type": "integer"
  38147. },
  38148. "TS": {
  38149. "description": "行情时间文本",
  38150. "type": "string"
  38151. },
  38152. "TT": {
  38153. "description": "现金额",
  38154. "type": "number"
  38155. },
  38156. "Vol": {
  38157. "description": "现量",
  38158. "type": "integer"
  38159. }
  38160. }
  38161. },
  38162. "quote.QueryQuoteDayRsp": {
  38163. "type": "object",
  38164. "properties": {
  38165. "ask": {
  38166. "description": "卖1",
  38167. "type": "number"
  38168. },
  38169. "ask10": {
  38170. "description": "卖10",
  38171. "type": "number"
  38172. },
  38173. "ask2": {
  38174. "description": "卖2",
  38175. "type": "number"
  38176. },
  38177. "ask3": {
  38178. "description": "卖3",
  38179. "type": "number"
  38180. },
  38181. "ask4": {
  38182. "description": "卖4",
  38183. "type": "number"
  38184. },
  38185. "ask5": {
  38186. "description": "卖5",
  38187. "type": "number"
  38188. },
  38189. "ask6": {
  38190. "description": "卖6",
  38191. "type": "number"
  38192. },
  38193. "ask7": {
  38194. "description": "卖7",
  38195. "type": "number"
  38196. },
  38197. "ask8": {
  38198. "description": "卖8",
  38199. "type": "number"
  38200. },
  38201. "ask9": {
  38202. "description": "卖9",
  38203. "type": "number"
  38204. },
  38205. "askorderid": {
  38206. "description": "卖单号1",
  38207. "type": "integer"
  38208. },
  38209. "askorderid2": {
  38210. "description": "卖单号2",
  38211. "type": "integer"
  38212. },
  38213. "askorderid3": {
  38214. "description": "卖单号3",
  38215. "type": "integer"
  38216. },
  38217. "askorderid4": {
  38218. "description": "卖单号4",
  38219. "type": "integer"
  38220. },
  38221. "askorderid5": {
  38222. "description": "卖单号5",
  38223. "type": "integer"
  38224. },
  38225. "askordervolume": {
  38226. "description": "卖单量1",
  38227. "type": "integer"
  38228. },
  38229. "askordervolume10": {
  38230. "description": "卖单量10",
  38231. "type": "integer"
  38232. },
  38233. "askordervolume2": {
  38234. "description": "卖单量2",
  38235. "type": "integer"
  38236. },
  38237. "askordervolume3": {
  38238. "description": "卖单量3",
  38239. "type": "integer"
  38240. },
  38241. "askordervolume4": {
  38242. "description": "卖单量4",
  38243. "type": "integer"
  38244. },
  38245. "askordervolume5": {
  38246. "description": "卖单量5",
  38247. "type": "integer"
  38248. },
  38249. "askordervolume6": {
  38250. "description": "卖单量6",
  38251. "type": "integer"
  38252. },
  38253. "askordervolume7": {
  38254. "description": "卖单量7",
  38255. "type": "integer"
  38256. },
  38257. "askordervolume8": {
  38258. "description": "卖单量8",
  38259. "type": "integer"
  38260. },
  38261. "askordervolume9": {
  38262. "description": "卖单量9",
  38263. "type": "integer"
  38264. },
  38265. "askqueueinfo": {
  38266. "description": "大利市卖港股用",
  38267. "type": "string"
  38268. },
  38269. "askvolume": {
  38270. "description": "卖量1",
  38271. "type": "integer"
  38272. },
  38273. "askvolume10": {
  38274. "description": "卖量10",
  38275. "type": "integer"
  38276. },
  38277. "askvolume2": {
  38278. "description": "卖量2",
  38279. "type": "integer"
  38280. },
  38281. "askvolume3": {
  38282. "description": "卖量3",
  38283. "type": "integer"
  38284. },
  38285. "askvolume4": {
  38286. "description": "卖量4",
  38287. "type": "integer"
  38288. },
  38289. "askvolume5": {
  38290. "description": "卖量5",
  38291. "type": "integer"
  38292. },
  38293. "askvolume6": {
  38294. "description": "卖量6",
  38295. "type": "integer"
  38296. },
  38297. "askvolume7": {
  38298. "description": "卖量7",
  38299. "type": "integer"
  38300. },
  38301. "askvolume8": {
  38302. "description": "卖量8",
  38303. "type": "integer"
  38304. },
  38305. "askvolume9": {
  38306. "description": "卖量9",
  38307. "type": "integer"
  38308. },
  38309. "averageprice": {
  38310. "description": "均价",
  38311. "type": "number"
  38312. },
  38313. "bid": {
  38314. "description": "买1",
  38315. "type": "number"
  38316. },
  38317. "bid10": {
  38318. "description": "买10",
  38319. "type": "number"
  38320. },
  38321. "bid2": {
  38322. "description": "买2",
  38323. "type": "number"
  38324. },
  38325. "bid3": {
  38326. "description": "买3",
  38327. "type": "number"
  38328. },
  38329. "bid4": {
  38330. "description": "买4",
  38331. "type": "number"
  38332. },
  38333. "bid5": {
  38334. "description": "买5",
  38335. "type": "number"
  38336. },
  38337. "bid6": {
  38338. "description": "买6",
  38339. "type": "number"
  38340. },
  38341. "bid7": {
  38342. "description": "买7",
  38343. "type": "number"
  38344. },
  38345. "bid8": {
  38346. "description": "买8",
  38347. "type": "number"
  38348. },
  38349. "bid9": {
  38350. "description": "买9",
  38351. "type": "number"
  38352. },
  38353. "bidorderid": {
  38354. "description": "买单号1",
  38355. "type": "integer"
  38356. },
  38357. "bidorderid2": {
  38358. "description": "买单号2",
  38359. "type": "integer"
  38360. },
  38361. "bidorderid3": {
  38362. "description": "买单号3",
  38363. "type": "integer"
  38364. },
  38365. "bidorderid4": {
  38366. "description": "买单号4",
  38367. "type": "integer"
  38368. },
  38369. "bidorderid5": {
  38370. "description": "买单号5",
  38371. "type": "integer"
  38372. },
  38373. "bidordervolume": {
  38374. "description": "买单量1",
  38375. "type": "integer"
  38376. },
  38377. "bidordervolume10": {
  38378. "description": "买单量10",
  38379. "type": "integer"
  38380. },
  38381. "bidordervolume2": {
  38382. "description": "买单量2",
  38383. "type": "integer"
  38384. },
  38385. "bidordervolume3": {
  38386. "description": "买单量3",
  38387. "type": "integer"
  38388. },
  38389. "bidordervolume4": {
  38390. "description": "买单量4",
  38391. "type": "integer"
  38392. },
  38393. "bidordervolume5": {
  38394. "description": "买单量5",
  38395. "type": "integer"
  38396. },
  38397. "bidordervolume6": {
  38398. "description": "买单量6",
  38399. "type": "integer"
  38400. },
  38401. "bidordervolume7": {
  38402. "description": "买单量7",
  38403. "type": "integer"
  38404. },
  38405. "bidordervolume8": {
  38406. "description": "买单量8",
  38407. "type": "integer"
  38408. },
  38409. "bidordervolume9": {
  38410. "description": "买单量9",
  38411. "type": "integer"
  38412. },
  38413. "bidqueueinfo": {
  38414. "description": "大利市买港股用",
  38415. "type": "string"
  38416. },
  38417. "bidvolume": {
  38418. "description": "买量1",
  38419. "type": "integer"
  38420. },
  38421. "bidvolume10": {
  38422. "description": "买量10",
  38423. "type": "integer"
  38424. },
  38425. "bidvolume2": {
  38426. "description": "买量2",
  38427. "type": "integer"
  38428. },
  38429. "bidvolume3": {
  38430. "description": "买量3",
  38431. "type": "integer"
  38432. },
  38433. "bidvolume4": {
  38434. "description": "买量4",
  38435. "type": "integer"
  38436. },
  38437. "bidvolume5": {
  38438. "description": "买量5",
  38439. "type": "integer"
  38440. },
  38441. "bidvolume6": {
  38442. "description": "买量6",
  38443. "type": "integer"
  38444. },
  38445. "bidvolume7": {
  38446. "description": "买量7",
  38447. "type": "integer"
  38448. },
  38449. "bidvolume8": {
  38450. "description": "买量8",
  38451. "type": "integer"
  38452. },
  38453. "bidvolume9": {
  38454. "description": "买量9",
  38455. "type": "integer"
  38456. },
  38457. "calloptionpremiums": {
  38458. "description": "认购期权1",
  38459. "type": "integer"
  38460. },
  38461. "calloptionpremiums2": {
  38462. "description": "认购期权2",
  38463. "type": "integer"
  38464. },
  38465. "calloptionpremiums3": {
  38466. "description": "认购期权3",
  38467. "type": "integer"
  38468. },
  38469. "calloptionpremiums4": {
  38470. "description": "认购期权4",
  38471. "type": "integer"
  38472. },
  38473. "calloptionpremiums5": {
  38474. "description": "认购期权5",
  38475. "type": "integer"
  38476. },
  38477. "cleartime": {
  38478. "description": "清盘时间",
  38479. "type": "integer"
  38480. },
  38481. "exchangecode": {
  38482. "description": "交易所代码",
  38483. "type": "integer"
  38484. },
  38485. "exchangedate": {
  38486. "description": "交易日",
  38487. "type": "integer"
  38488. },
  38489. "goodscode": {
  38490. "description": "商品代码",
  38491. "type": "string"
  38492. },
  38493. "grepmarketprice": {
  38494. "description": "暗盘价 港股专用",
  38495. "type": "number"
  38496. },
  38497. "highest": {
  38498. "description": "最高价",
  38499. "type": "number"
  38500. },
  38501. "holdincrement": {
  38502. "description": "单笔持仓",
  38503. "type": "integer"
  38504. },
  38505. "holdvolume": {
  38506. "description": "持仓",
  38507. "type": "integer"
  38508. },
  38509. "iep": {
  38510. "description": "平衡价 港股专用",
  38511. "type": "number"
  38512. },
  38513. "iev": {
  38514. "description": "平衡量 港股专用",
  38515. "type": "number"
  38516. },
  38517. "inventory": {
  38518. "description": "库存",
  38519. "type": "integer"
  38520. },
  38521. "iscleared": {
  38522. "description": "是否清盘标志",
  38523. "type": "integer"
  38524. },
  38525. "issettled": {
  38526. "description": "是否结算标志",
  38527. "type": "integer"
  38528. },
  38529. "last": {
  38530. "description": "最新价",
  38531. "type": "number"
  38532. },
  38533. "lastlot": {
  38534. "description": "最新成交手数",
  38535. "type": "integer"
  38536. },
  38537. "lasttime": {
  38538. "description": "行情时间(只有现价变化行情时间才变化)",
  38539. "type": "string"
  38540. },
  38541. "lastturnover": {
  38542. "description": "最新成交金额",
  38543. "type": "number"
  38544. },
  38545. "lastvolume": {
  38546. "description": "最新成交量",
  38547. "type": "integer"
  38548. },
  38549. "limitdown": {
  38550. "description": "跌停价",
  38551. "type": "number"
  38552. },
  38553. "limitup": {
  38554. "description": "涨停价",
  38555. "type": "number"
  38556. },
  38557. "lowest": {
  38558. "description": "最低价",
  38559. "type": "number"
  38560. },
  38561. "nontotalholdervolume": {
  38562. "description": "非交易持仓量",
  38563. "type": "integer"
  38564. },
  38565. "nontotallot": {
  38566. "description": "非交易总手数",
  38567. "type": "integer"
  38568. },
  38569. "nontotalturnover": {
  38570. "description": "非交易总金额",
  38571. "type": "integer"
  38572. },
  38573. "nontotalvolume": {
  38574. "description": "非交易总量",
  38575. "type": "integer"
  38576. },
  38577. "opened": {
  38578. "description": "开盘价",
  38579. "type": "number"
  38580. },
  38581. "opentime": {
  38582. "description": "开盘时间",
  38583. "type": "string"
  38584. },
  38585. "orderid": {
  38586. "description": "序号",
  38587. "type": "integer"
  38588. },
  38589. "preclose": {
  38590. "description": "昨收",
  38591. "type": "number"
  38592. },
  38593. "preholdvolume": {
  38594. "description": "昨持仓",
  38595. "type": "integer"
  38596. },
  38597. "presettle": {
  38598. "description": "昨结价",
  38599. "type": "number"
  38600. },
  38601. "publictradetype": {
  38602. "description": "公共交易标志类型 港股专用",
  38603. "type": "string"
  38604. },
  38605. "putoptionpremiums": {
  38606. "description": "认沽期权1",
  38607. "type": "integer"
  38608. },
  38609. "putoptionpremiums2": {
  38610. "description": "认沽期权2",
  38611. "type": "integer"
  38612. },
  38613. "putoptionpremiums3": {
  38614. "description": "认沽期权3",
  38615. "type": "integer"
  38616. },
  38617. "putoptionpremiums4": {
  38618. "description": "认沽期权4",
  38619. "type": "integer"
  38620. },
  38621. "putoptionpremiums5": {
  38622. "description": "认沽期权5",
  38623. "type": "integer"
  38624. },
  38625. "settle": {
  38626. "description": "结算价",
  38627. "type": "number"
  38628. },
  38629. "strikeprice": {
  38630. "description": "发行价",
  38631. "type": "number"
  38632. },
  38633. "totalaskvolume": {
  38634. "description": "内盘",
  38635. "type": "integer"
  38636. },
  38637. "totalbidvolume": {
  38638. "description": "外盘",
  38639. "type": "integer"
  38640. },
  38641. "totallot": {
  38642. "description": "总手数",
  38643. "type": "integer"
  38644. },
  38645. "totalturnover": {
  38646. "description": "总金额",
  38647. "type": "number"
  38648. },
  38649. "totalvolume": {
  38650. "description": "总量",
  38651. "type": "integer"
  38652. },
  38653. "utclasttime": {
  38654. "description": "utc的行情时间",
  38655. "type": "string"
  38656. }
  38657. }
  38658. },
  38659. "quote.QueryTSDataRsp": {
  38660. "type": "object",
  38661. "properties": {
  38662. "Count": {
  38663. "description": "交易日应有数据个数",
  38664. "type": "integer"
  38665. },
  38666. "decimalPlace": {
  38667. "description": "小数位",
  38668. "type": "integer"
  38669. },
  38670. "endTime": {
  38671. "description": "结束时间",
  38672. "type": "string"
  38673. },
  38674. "goodsCode": {
  38675. "description": "商品代码",
  38676. "type": "string"
  38677. },
  38678. "historyDatas": {
  38679. "description": "历史数据",
  38680. "type": "array",
  38681. "items": {
  38682. "$ref": "#/definitions/quote.HistoryData"
  38683. }
  38684. },
  38685. "outGoodsCode": {
  38686. "description": "外部商品代码",
  38687. "type": "string"
  38688. },
  38689. "preSettle": {
  38690. "description": "昨结价",
  38691. "type": "number"
  38692. },
  38693. "runSteps": {
  38694. "description": "交易日开休市计划",
  38695. "type": "array",
  38696. "items": {
  38697. "$ref": "#/definitions/quote.TSDataRunStep"
  38698. }
  38699. },
  38700. "startTime": {
  38701. "description": "开始时间",
  38702. "type": "string"
  38703. },
  38704. "tradeDate": {
  38705. "description": "交易日",
  38706. "type": "string"
  38707. }
  38708. }
  38709. },
  38710. "quote.TSDataRunStep": {
  38711. "type": "object",
  38712. "properties": {
  38713. "end": {
  38714. "description": "真实结束时间",
  38715. "type": "string"
  38716. },
  38717. "endflag": {
  38718. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38719. "type": "integer"
  38720. },
  38721. "endtime": {
  38722. "description": "结束时间(HH:mm)",
  38723. "type": "string"
  38724. },
  38725. "endweekday": {
  38726. "description": "结束周几",
  38727. "type": "integer"
  38728. },
  38729. "groupid": {
  38730. "description": "分组ID",
  38731. "type": "integer"
  38732. },
  38733. "runstep": {
  38734. "description": "运行阶段 - 2:连续交易",
  38735. "type": "integer"
  38736. },
  38737. "sectionid": {
  38738. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38739. "type": "integer"
  38740. },
  38741. "start": {
  38742. "description": "真实开始时间",
  38743. "type": "string"
  38744. },
  38745. "startflag": {
  38746. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38747. "type": "integer"
  38748. },
  38749. "starttime": {
  38750. "description": "起始时间(HH:mm)",
  38751. "type": "string"
  38752. },
  38753. "startweekday": {
  38754. "description": "起始周几",
  38755. "type": "integer"
  38756. },
  38757. "tradeweekday": {
  38758. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38759. "type": "integer"
  38760. }
  38761. }
  38762. },
  38763. "szdz.QueryConvertLogRsp": {
  38764. "type": "object",
  38765. "required": [
  38766. "logid"
  38767. ],
  38768. "properties": {
  38769. "accountid": {
  38770. "description": "资金账户ID",
  38771. "type": "integer"
  38772. },
  38773. "clientticket": {
  38774. "description": "客户端流水号",
  38775. "type": "string"
  38776. },
  38777. "converttype": {
  38778. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38779. "type": "integer"
  38780. },
  38781. "createtime": {
  38782. "description": "记账时间",
  38783. "type": "string"
  38784. },
  38785. "daymaxvalue": {
  38786. "description": "配置当日最大转入限制",
  38787. "type": "number"
  38788. },
  38789. "daymaxvalue2": {
  38790. "description": "配置当日最大转入限制(转入)",
  38791. "type": "number"
  38792. },
  38793. "goodscode": {
  38794. "description": "商品代码",
  38795. "type": "string"
  38796. },
  38797. "goodsname": {
  38798. "description": "商品名称",
  38799. "type": "string"
  38800. },
  38801. "handlestatus": {
  38802. "description": "处理状态",
  38803. "type": "integer"
  38804. },
  38805. "innergoodsid": {
  38806. "description": "内部商品ID",
  38807. "type": "integer"
  38808. },
  38809. "inratio": {
  38810. "description": "配置转入比值",
  38811. "type": "integer"
  38812. },
  38813. "invalue": {
  38814. "description": "目标值",
  38815. "type": "number"
  38816. },
  38817. "logid": {
  38818. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38819. "type": "integer"
  38820. },
  38821. "mobile": {
  38822. "description": "手机号码(加密存储)",
  38823. "type": "string"
  38824. },
  38825. "outergoodscode": {
  38826. "description": "外部商品代码[JD\\PD]",
  38827. "type": "string"
  38828. },
  38829. "outratio": {
  38830. "description": "配置转出比值",
  38831. "type": "integer"
  38832. },
  38833. "outvalue": {
  38834. "description": "源值",
  38835. "type": "number"
  38836. },
  38837. "pddecimalplace": {
  38838. "description": "PD小数位",
  38839. "type": "integer"
  38840. },
  38841. "qty": {
  38842. "description": "数量",
  38843. "type": "string"
  38844. },
  38845. "remark": {
  38846. "description": "备注",
  38847. "type": "string"
  38848. },
  38849. "sessionid": {
  38850. "description": "会话ID",
  38851. "type": "integer"
  38852. },
  38853. "timemaxvalue": {
  38854. "description": "配置单次最大转入限制",
  38855. "type": "number"
  38856. },
  38857. "timemaxvalue2": {
  38858. "description": "配置单次最大转入限制(转入)",
  38859. "type": "number"
  38860. },
  38861. "timeminvalue": {
  38862. "description": "配置单次最小数量限制",
  38863. "type": "number"
  38864. },
  38865. "timeminvalue2": {
  38866. "description": "配置单次最小数量限制(转入)",
  38867. "type": "number"
  38868. },
  38869. "tradedate": {
  38870. "description": "交易日(yyyyMMdd)",
  38871. "type": "string"
  38872. },
  38873. "userid": {
  38874. "description": "用户ID",
  38875. "type": "integer"
  38876. }
  38877. }
  38878. },
  38879. "szdz.QueryGoodsPickupRsp": {
  38880. "type": "object",
  38881. "required": [
  38882. "takeorderid"
  38883. ],
  38884. "properties": {
  38885. "accountid": {
  38886. "description": "账户ID",
  38887. "type": "integer"
  38888. },
  38889. "address": {
  38890. "description": "提货人详细地址",
  38891. "type": "string"
  38892. },
  38893. "auditer": {
  38894. "description": "审核人",
  38895. "type": "integer"
  38896. },
  38897. "audittime": {
  38898. "description": "审核时间",
  38899. "type": "string"
  38900. },
  38901. "cardnum": {
  38902. "description": "提货人证件号码",
  38903. "type": "string"
  38904. },
  38905. "cardtypeid": {
  38906. "description": "提货人证件类型",
  38907. "type": "integer"
  38908. },
  38909. "checkremark": {
  38910. "description": "审核备注",
  38911. "type": "string"
  38912. },
  38913. "goodscode": {
  38914. "description": "商品代码",
  38915. "type": "string"
  38916. },
  38917. "goodsid": {
  38918. "description": "商品ID",
  38919. "type": "integer"
  38920. },
  38921. "goodsname": {
  38922. "description": "商品名称",
  38923. "type": "string"
  38924. },
  38925. "handlestatus": {
  38926. "description": "处理状态",
  38927. "type": "integer"
  38928. },
  38929. "marketid": {
  38930. "description": "市场ID",
  38931. "type": "integer"
  38932. },
  38933. "phonenum": {
  38934. "description": "提货人联系方式",
  38935. "type": "string"
  38936. },
  38937. "qty": {
  38938. "description": "提货数量",
  38939. "type": "number"
  38940. },
  38941. "recivername": {
  38942. "description": "提货人姓名",
  38943. "type": "string"
  38944. },
  38945. "reqtime": {
  38946. "description": "更新时间",
  38947. "type": "string"
  38948. },
  38949. "takemode": {
  38950. "description": "提货方式 - 2:自提 3:配送",
  38951. "type": "integer"
  38952. },
  38953. "takeorderid": {
  38954. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38955. "type": "string"
  38956. },
  38957. "takeorderstatus": {
  38958. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38959. "type": "integer"
  38960. },
  38961. "takeremark": {
  38962. "description": "提货备注",
  38963. "type": "string"
  38964. },
  38965. "tradedate": {
  38966. "description": "交易日(yyyyMMdd)",
  38967. "type": "string"
  38968. },
  38969. "userid": {
  38970. "description": "用户ID",
  38971. "type": "integer"
  38972. }
  38973. }
  38974. },
  38975. "szdz.QueryRecieptOrderRsp": {
  38976. "type": "object",
  38977. "required": [
  38978. "ordertime"
  38979. ],
  38980. "properties": {
  38981. "accountName": {
  38982. "description": "所属账号名称(已脱敏)",
  38983. "type": "string"
  38984. },
  38985. "accountid": {
  38986. "description": "资金账号",
  38987. "type": "integer"
  38988. },
  38989. "buyorsell": {
  38990. "description": "方向 - 0:买 1:卖",
  38991. "type": "integer"
  38992. },
  38993. "enableqty": {
  38994. "description": "可摘数量",
  38995. "type": "integer"
  38996. },
  38997. "goodscode": {
  38998. "description": "商品代码",
  38999. "type": "string"
  39000. },
  39001. "goodsid": {
  39002. "description": "商品ID",
  39003. "type": "integer"
  39004. },
  39005. "goodsname": {
  39006. "description": "商品名称",
  39007. "type": "string"
  39008. },
  39009. "orderid": {
  39010. "description": "委托单号",
  39011. "type": "string"
  39012. },
  39013. "orderprice": {
  39014. "description": "委托价格",
  39015. "type": "number"
  39016. },
  39017. "ordertime": {
  39018. "description": "委托时间",
  39019. "type": "string"
  39020. },
  39021. "tradedate": {
  39022. "description": "交易日(yyyyMMdd)",
  39023. "type": "string"
  39024. }
  39025. }
  39026. },
  39027. "szdz.QuerySZDZTradePositionRsp": {
  39028. "type": "object",
  39029. "properties": {
  39030. "accountid": {
  39031. "description": "账号Id",
  39032. "type": "integer"
  39033. },
  39034. "agreeunit": {
  39035. "description": "合约单位",
  39036. "type": "number"
  39037. },
  39038. "averageprice": {
  39039. "description": "持仓均价",
  39040. "type": "number"
  39041. },
  39042. "buyorsell": {
  39043. "description": "方向 - 0:买 1:卖",
  39044. "type": "integer"
  39045. },
  39046. "closetotalqty": {
  39047. "description": "平仓总数量",
  39048. "type": "integer"
  39049. },
  39050. "curholderamount": {
  39051. "description": "当前持仓总金额",
  39052. "type": "number"
  39053. },
  39054. "curpositionqty": {
  39055. "description": "当前持仓总数量",
  39056. "type": "integer"
  39057. },
  39058. "currencyid": {
  39059. "description": "报价货币ID",
  39060. "type": "integer"
  39061. },
  39062. "curtdposition": {
  39063. "description": "期末今日头寸",
  39064. "type": "integer"
  39065. },
  39066. "decimalplace": {
  39067. "description": "报价小数位",
  39068. "type": "integer"
  39069. },
  39070. "enableqty": {
  39071. "description": "可用量",
  39072. "type": "integer"
  39073. },
  39074. "fretdposition": {
  39075. "description": "冻结今日头寸",
  39076. "type": "integer"
  39077. },
  39078. "frozenqty": {
  39079. "description": "持仓冻结数量",
  39080. "type": "integer"
  39081. },
  39082. "goodscode": {
  39083. "description": "商品代码(内部)",
  39084. "type": "string"
  39085. },
  39086. "goodsid": {
  39087. "description": "商品Id",
  39088. "type": "integer"
  39089. },
  39090. "goodsname": {
  39091. "description": "商品名称",
  39092. "type": "string"
  39093. },
  39094. "goodunit": {
  39095. "description": "报价单位",
  39096. "type": "string"
  39097. },
  39098. "goodunitid": {
  39099. "description": "报价单位ID",
  39100. "type": "integer"
  39101. },
  39102. "holderamount": {
  39103. "description": "期初持仓总金额",
  39104. "type": "number"
  39105. },
  39106. "marketid": {
  39107. "description": "市场ID",
  39108. "type": "integer"
  39109. },
  39110. "openreqqty": {
  39111. "description": "开仓申请数量",
  39112. "type": "integer"
  39113. },
  39114. "opentotalqty": {
  39115. "description": "开仓总数量",
  39116. "type": "integer"
  39117. },
  39118. "otherfrozenqty": {
  39119. "description": "持仓其他冻结数量(交割冻结)",
  39120. "type": "integer"
  39121. },
  39122. "positionqty": {
  39123. "description": "期初持仓数量",
  39124. "type": "integer"
  39125. },
  39126. "szdz3freezqty": {
  39127. "description": "尚志大宗转换冻结总数量",
  39128. "type": "integer"
  39129. },
  39130. "tnqty": {
  39131. "description": "T+N冻结总量",
  39132. "type": "integer"
  39133. },
  39134. "tnusedqty": {
  39135. "description": "T+N使用量",
  39136. "type": "integer"
  39137. },
  39138. "trademode": {
  39139. "description": "交易模式",
  39140. "type": "integer"
  39141. },
  39142. "usedmargin": {
  39143. "description": "占用保证金",
  39144. "type": "number"
  39145. }
  39146. }
  39147. },
  39148. "taaccount.QueryAmountLogRsp": {
  39149. "type": "object",
  39150. "required": [
  39151. "accountid",
  39152. "amount",
  39153. "amountadjusttype",
  39154. "autoid",
  39155. "balance",
  39156. "createtime",
  39157. "currentbalance",
  39158. "operatetype"
  39159. ],
  39160. "properties": {
  39161. "OPERATETYPENAME": {
  39162. "description": "资金操作类型名称",
  39163. "type": "string"
  39164. },
  39165. "accountid": {
  39166. "description": "资金账户ID",
  39167. "type": "integer"
  39168. },
  39169. "agoodscode": {
  39170. "description": "竞拍商品代码",
  39171. "type": "string"
  39172. },
  39173. "agoodsname": {
  39174. "description": "竞拍商品名称",
  39175. "type": "string"
  39176. },
  39177. "amount": {
  39178. "description": "资金金额",
  39179. "type": "number"
  39180. },
  39181. "amountadjusttype": {
  39182. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39183. "type": "integer"
  39184. },
  39185. "autoid": {
  39186. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39187. "type": "integer"
  39188. },
  39189. "balance": {
  39190. "description": "期初余额",
  39191. "type": "number"
  39192. },
  39193. "businesscode": {
  39194. "description": "业务编号",
  39195. "type": "integer"
  39196. },
  39197. "createtime": {
  39198. "description": "发生时间",
  39199. "type": "string"
  39200. },
  39201. "currencyid": {
  39202. "description": "币种ID",
  39203. "type": "integer"
  39204. },
  39205. "currentbalance": {
  39206. "description": "期末余额(变动后金额)",
  39207. "type": "number"
  39208. },
  39209. "dgoodscode": {
  39210. "description": "交割商品代码",
  39211. "type": "string"
  39212. },
  39213. "dgoodsname": {
  39214. "description": "交割商品名称",
  39215. "type": "string"
  39216. },
  39217. "goodscode": {
  39218. "description": "商品代码",
  39219. "type": "string"
  39220. },
  39221. "goodsid": {
  39222. "description": "商品ID",
  39223. "type": "integer"
  39224. },
  39225. "goodsname": {
  39226. "description": "商品名称",
  39227. "type": "string"
  39228. },
  39229. "marketid": {
  39230. "description": "市场ID",
  39231. "type": "integer"
  39232. },
  39233. "marketname": {
  39234. "description": "市场名称",
  39235. "type": "string"
  39236. },
  39237. "moneyticket": {
  39238. "description": "资金流水号:银行端流水号",
  39239. "type": "integer"
  39240. },
  39241. "operatetype": {
  39242. "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:营销收款",
  39243. "type": "integer"
  39244. },
  39245. "relationorderid": {
  39246. "description": "关联单号",
  39247. "type": "string"
  39248. },
  39249. "remark": {
  39250. "description": "备注",
  39251. "type": "string"
  39252. },
  39253. "trademode": {
  39254. "description": "交易模式",
  39255. "type": "integer"
  39256. }
  39257. }
  39258. },
  39259. "taaccount.QueryHisAmountLogRsp": {
  39260. "type": "object",
  39261. "required": [
  39262. "accountid",
  39263. "amount",
  39264. "amountadjusttype",
  39265. "autoid",
  39266. "balance",
  39267. "createtime",
  39268. "currentbalance",
  39269. "histradedate",
  39270. "operatetype"
  39271. ],
  39272. "properties": {
  39273. "OPERATETYPENAME": {
  39274. "description": "资金操作类型名称",
  39275. "type": "string"
  39276. },
  39277. "accountid": {
  39278. "description": "资金账户ID",
  39279. "type": "integer"
  39280. },
  39281. "agoodscode": {
  39282. "description": "竞拍商品代码",
  39283. "type": "string"
  39284. },
  39285. "agoodsname": {
  39286. "description": "竞拍商品名称",
  39287. "type": "string"
  39288. },
  39289. "amount": {
  39290. "description": "资金金额",
  39291. "type": "number"
  39292. },
  39293. "amountadjusttype": {
  39294. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39295. "type": "integer"
  39296. },
  39297. "autoid": {
  39298. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39299. "type": "integer"
  39300. },
  39301. "balance": {
  39302. "description": "期初余额",
  39303. "type": "number"
  39304. },
  39305. "businesscode": {
  39306. "description": "业务编号",
  39307. "type": "integer"
  39308. },
  39309. "createtime": {
  39310. "description": "发生时间",
  39311. "type": "string"
  39312. },
  39313. "currencyid": {
  39314. "description": "币种ID",
  39315. "type": "integer"
  39316. },
  39317. "currentbalance": {
  39318. "description": "期末余额(变动后金额)",
  39319. "type": "number"
  39320. },
  39321. "dgoodscode": {
  39322. "description": "交割商品代码",
  39323. "type": "string"
  39324. },
  39325. "dgoodsname": {
  39326. "description": "交割商品名称",
  39327. "type": "string"
  39328. },
  39329. "goodscode": {
  39330. "description": "商品代码",
  39331. "type": "string"
  39332. },
  39333. "goodsid": {
  39334. "description": "商品ID",
  39335. "type": "integer"
  39336. },
  39337. "goodsname": {
  39338. "description": "商品名称",
  39339. "type": "string"
  39340. },
  39341. "histradedate": {
  39342. "description": "历史交易日",
  39343. "type": "string"
  39344. },
  39345. "isvaliddata": {
  39346. "description": "是否有效 - 0:无效 1:有效",
  39347. "type": "integer"
  39348. },
  39349. "marketid": {
  39350. "description": "市场ID",
  39351. "type": "integer"
  39352. },
  39353. "marketname": {
  39354. "description": "市场名称",
  39355. "type": "string"
  39356. },
  39357. "moneyticket": {
  39358. "description": "资金流水号:银行端流水号",
  39359. "type": "integer"
  39360. },
  39361. "operatetype": {
  39362. "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:营销收款",
  39363. "type": "integer"
  39364. },
  39365. "relationorderid": {
  39366. "description": "关联单号",
  39367. "type": "string"
  39368. },
  39369. "remark": {
  39370. "description": "备注",
  39371. "type": "string"
  39372. },
  39373. "trademode": {
  39374. "description": "交易模式",
  39375. "type": "integer"
  39376. }
  39377. }
  39378. },
  39379. "trade.QueryRecieptOrderRsp": {
  39380. "type": "object",
  39381. "required": [
  39382. "ordertime"
  39383. ],
  39384. "properties": {
  39385. "accountName": {
  39386. "description": "所属账号名称(已脱敏)",
  39387. "type": "string"
  39388. },
  39389. "accountid": {
  39390. "description": "资金账号",
  39391. "type": "integer"
  39392. },
  39393. "buyorsell": {
  39394. "description": "方向 - 0:买 1:卖",
  39395. "type": "integer"
  39396. },
  39397. "enableqty": {
  39398. "description": "可摘数量",
  39399. "type": "integer"
  39400. },
  39401. "goodscode": {
  39402. "description": "商品代码",
  39403. "type": "string"
  39404. },
  39405. "goodsid": {
  39406. "description": "商品ID",
  39407. "type": "integer"
  39408. },
  39409. "goodsname": {
  39410. "description": "商品名称",
  39411. "type": "string"
  39412. },
  39413. "orderid": {
  39414. "description": "委托单号",
  39415. "type": "string"
  39416. },
  39417. "orderprice": {
  39418. "description": "委托价格",
  39419. "type": "number"
  39420. },
  39421. "ordertime": {
  39422. "description": "委托时间",
  39423. "type": "string"
  39424. },
  39425. "tradedate": {
  39426. "description": "交易日(yyyyMMdd)",
  39427. "type": "string"
  39428. }
  39429. }
  39430. },
  39431. "user.LoginQueryRsp": {
  39432. "type": "object",
  39433. "properties": {
  39434. "areaRoles": {
  39435. "description": "所属角色信息",
  39436. "type": "array",
  39437. "items": {
  39438. "$ref": "#/definitions/models.Arearole"
  39439. }
  39440. },
  39441. "externalExchanges": {
  39442. "description": "外部交易所",
  39443. "type": "array",
  39444. "items": {
  39445. "$ref": "#/definitions/models.Externalexchange"
  39446. }
  39447. },
  39448. "goodsgroups": {
  39449. "description": "商品组",
  39450. "type": "array",
  39451. "items": {
  39452. "$ref": "#/definitions/models.Goodsgroup"
  39453. }
  39454. },
  39455. "loginAccount": {
  39456. "description": "登录账号",
  39457. "$ref": "#/definitions/models.Loginaccount"
  39458. },
  39459. "markets": {
  39460. "description": "市场",
  39461. "type": "array",
  39462. "items": {
  39463. "$ref": "#/definitions/models.Market"
  39464. }
  39465. },
  39466. "systemParams": {
  39467. "description": "系统参数",
  39468. "type": "array",
  39469. "items": {
  39470. "$ref": "#/definitions/models.Systemparam"
  39471. }
  39472. },
  39473. "userAccount": {
  39474. "description": "用户账号",
  39475. "$ref": "#/definitions/models.Useraccount"
  39476. },
  39477. "userInfo": {
  39478. "description": "用户信息",
  39479. "$ref": "#/definitions/models.Userinfo"
  39480. },
  39481. "username": {
  39482. "description": "用户姓名",
  39483. "type": "string"
  39484. }
  39485. }
  39486. }
  39487. },
  39488. "securityDefinitions": {
  39489. "ApiKeyAuth": {
  39490. "type": "apiKey",
  39491. "name": "Authorization",
  39492. "in": "header"
  39493. }
  39494. }
  39495. }